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 details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for muchspace-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6f52c7d2d00943e11f88c890ebce397062453ad7b58dd6d1136e6b31dfc3b28c
MD5 f5f4aa266c80519edfde2a456b1e8d3b
BLAKE2b-256 8bc105b13e7f43f42058392000f03349c2a78e9e666296bbe766d4aa6c4d84da

See more details on using hashes here.

Supported by

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