Skip to main content

A CLI utility in python3 to calulate total disk space required for media links

Project description

muchspace

muchspace is python tool to calculate the space required to download media links in a file.

muchspace uses Google’s Fire module to make the command line interface. Refer their docs for more info.

Modules

muchspace uses a number of open source python modules:

  • fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

  • requests - Requests is the only Non-GMO HTTP library for Python, safe for human consumption.

  • multiprocessing - Process-based parallelism, multiprocessing is a package that supports spawning processes using an API similar to the threading module.

  • more-itertools - Python’s itertools library is a gem - you can compose elegant solutions for a variety of problems with the functions it provides.

Install

$ pip install muchspace

Usage

$ muchspace getfilefrom <FILE PATH> [--report]
$ muchspace
  muchspace v2 - Pre-Alpha
  muchspace: The link status checking CLI.
  Type:        MuchSpace
  String form: <muchspace.muchspace.MuchSpace object at 0x7f0b405449e8>
  Docstring:   Fire Class for muchspace Operations
  Author: abhiigatty
  Email: abhiigatty@gmail.com
  muchspace: The link status checking CLI.
  Example usage:
  muchspace grabinfo <FILE_PATH> or
  muchspace grabinfo <FILE_PATH> --report # The --report will generate a json report
  i.e
  muchspace grabinfo --file-path <FILE_PATH> [--report]

  Usage:       muchspace
               muchspace grabinfo

Development

Want to contribute? Great! To contribute to the project, Please take up the tasks specified in the issues. Add a comment in the issues if you are taking up one. check out contributing for more details.

Todos

  • Better working with async mode

License

MIT

Free Software ❤️️, Hell Yeah!🍺

History

0.1.3 (09-06-2018)

  • First release on PyPI.

0.2.0 (10-06-2018)

  • First Working release.

0.3.1 (12-06-2018)

  • First stable release with feature support.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muchspace-0.3.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page