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.2.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file muchspace-0.3.2.tar.gz.

File metadata

  • Download URL: muchspace-0.3.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for muchspace-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e66058c468ebd0fc4c091f0c6026c5b538a52c8514204b05e008e3cf4a795163
MD5 b3a092f7c28b2eaf38ee55c50767c4fd
BLAKE2b-256 98b42ab3806e538bffee54a62d0e702977a9518ed82c03ca660d0b4707c6dcd5

See more details on using hashes here.

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