Skip to main content

Content consumption analyzer CLI

Project description

consumo

Content consumption analyzer CLI

Summary

consumo is a CLI built with Typer that calculates the time to consume some form of content using the Medium formula.

Supported Arguments

consumo is meant to primarily be used with a text file full of URLs, through the list subcommand. Basically, files that look like this:

https://github.com/gbr-ufs/pf
https://github.com/gbr-ufs/cses
https://github.com/gbr-ufs/notes
https://github.com/gbr-ufs/ies
https://github.com/gbr-ufs/hack-ia-mockup
https://github.com/gbr-ufs/probabilidade-detran-se
https://github.com/gbr-ufs/hello-r-markdown

File Types

URLs

consumo supports any kind of URL. YouTube links are treated differently: passing a YouTube link to consumo returns its length.

Usage

consumo file FILE --output FILE --sort
consumo list FILE --output FILE --sort
consumo url TEXT --output FILE --sort

Skills

By developing this project, I demonstrate that I know:

Python

Additional Skills

Philosophies

[^1]: Used for the HTML variant of calculate_consumption_time so the URL variant can reuse it. This is done in the video_duration_resolver parameter. [^2]: Beck, K. (2003) Test-driven development: By example. Boston: Addison-Wesley (The Addison-Wesley signature series).

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

consumo-0.1.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

consumo-0.1.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file consumo-0.1.0.tar.gz.

File metadata

  • Download URL: consumo-0.1.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for consumo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 991b4bfd8da95e81268eb60ff060141768ed660b321102167b325860c741065b
MD5 c6cdf77a17ea6eee4d16a8cfb14dc9af
BLAKE2b-256 18aafbeb2824bcbbbbeda91bbb3e912097e6119c751b3e043305d04499303410

See more details on using hashes here.

File details

Details for the file consumo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: consumo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for consumo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87f71bf9ea8adf760f33a8a7bd66c814fd1b3df21780750ab7202fe266720618
MD5 189d8f5f39ecbb081bb5e429c86db8f0
BLAKE2b-256 277addd6c699762e17afe8af7835f66f154d550cc1fbece92a9bd81bd3d3f5aa

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