Giter VIP home page Giter VIP logo

checksumdir's People

Contributors

baterflyrity avatar gpiccinni avatar idahogray avatar keith-gray-powereng avatar kevin-brown avatar romdr avatar to-mc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

checksumdir's Issues

Add type annotations

It would be great to have type annotations added so this library can be integrated into a project using mypy without having to ignore missing imports for it.

any plan for supporting windows?

Hi @cakepietoast ,
I tried this library for testing my own hashsum script if it works correctly.
But there were mismatches in various situations.
I found it encodes hash values in UTF-8 which is not a default option in Windows.
I wonder you already knew this issue.

Thanks.

Checksum for a single file

Please, implement a possibility to calculate a checksum for a single file. I know that there are other tools for that, but there are no utilities which can do a checksum both for a file and a directory.

Replace pkg_resources

I am trying to package an app utilizing this library using PyOxidizer. PyOxidizer doesn't support pkg_resources per issue.

If you are interested in changing to something else, I would be willing to research it and submit a PR.

Different Results on Mac vs PC

I'm not sure why, but I have noticed the same file gets a different hash result when run on Mac vs PC. I am transferring them using Dropbox, and not saving or otherwise editing them in between hashing.

I checked the checksumdir source and it is using 'rb' mode on open. Could there be something else causing this? Thanks!

excluding directories

Hi,

Your tool is helpful for us which extends the functionality of default hash tools in Linux which is just for files.
We need an additional functionality as a favor by which we can exclude directories also not only files.

Add crc32

crc32 is faster than other included hashes and often it is good enough.

Why ignore hidden files?

It seems that checksumdir ignores hidden file (.*). Is there any reason for this? How would I hash my dotfile diretory?

Is this lib unsupported?

Hello there @cakepietoast,

I just want to know if there are plans to support currently opened issues & PR or this lib will continue unsupported.

Thanks

excluded_extensions is ignored if "--ignore-hidden" is False (the default)

excluded_extensions is not used when "--ignore-hidden" is False.

I verified this by getting the sha256 checksum on one of my Python libraries. I want to exclude the pyc files. However, I noticed the result changed every time I deleted one of the pyc files in the library.

I reviewed the code and it appears that this possibly got left out after the --ignore-hidden option was added.

Thank you

I just wanted to say thank you for this project. I am using it in my own project and it does exactly what I need it to. I know that releasing open source is not free. It takes time and energy. Thank you.

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.