Coder Social home page Coder Social logo

andhus / scantree Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 7.0 66 KB

Flexible recursive directory iterator: `scandir` meets `glob("**", recursive=True)`

License: MIT License

Python 100.00%
filesystem directory-tree scandir pathlib filesystem-utils wildcard

scantree's People

Contributors

andhus avatar frichtarik avatar gaby avatar iurisilvio avatar tomasaschan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scantree's Issues

ModuleNotFoundError: No module named 'posix'

Hi,
I'm having issues running dirhash in python3.7. upon trying to hash a directory, I get this error message:

Traceback (most recent call last):
  File "C:\Users\User\Anaconda3\Lib\site-packages\scantree\compat.py", line 20, in <module>
    from posix import DirEntry
ModuleNotFoundError: No module named 'posix'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "d:\Codes\ols\python\test_beds\testbed_stuff.py", line 12, in <module>
    from dirhash import dirhash
  File "C:\Users\User\Anaconda3\Lib\site-packages\dirhash\__init__.py", line 13, in <module>
    from scantree import (
  File "C:\Users\User\Anaconda3\Lib\site-packages\scantree\__init__.py", line 3, in <module>
    from ._path import (
  File "C:\Users\User\Anaconda3\Lib\site-packages\scantree\_path.py", line 7, in <module>
    from .compat import (
  File "C:\Users\User\Anaconda3\Lib\site-packages\scantree\compat.py", line 22, in <module>
    from scandir import scandir as _scandir
ModuleNotFoundError: No module named 'scandir'

Is this compatible with windows10?
Whats the issue here?

Duplicate (and misleading) testing of different python versions in GitHub workflows + tox

In fact, I think we should pull out tox and rely on GitHub workflows for the "matrix" of different python versions (which is primarily what it is used for). Right now (after the merge of this PR) we test multiple python version multiple times (because tox matrix is run for each workflow python version) which is unnecessary and misleading if there is a failure, see: https://github.com/andhus/scantree/actions/runs/7415433113/job/20178552710#step:6:32 and compare with job name :/

Originally posted by @andhus in #11 (comment)

Project Status

Hello @andhus

What is the status of this project? Any plans to merge the open PR's and add support for newer Python versions? or are you looking for someone to takeover ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.