Filter and write pypi statistics
Project description
About The Project
write-pypistat collects, sorts and writes PyPI statistics into csv files or on the console.
Installation
write-pypistat requires pypistats
and pandas
packages.
pip install write-pypistat
Usage
from writepypistat import WritePypiStat
package = "ipyvizzu"
outdir = "_stat_veghdev_write-pypistat" # optional
write_pypistat = WritePypiStat(package, outdir)
write_pypistat.drop_percent_column = True
write_pypistat.drop_total_row = True
# stat_type: overall, python_major, python_minor, system
write_pypistat.write_pypistat(stat_type="system")
# date_period: None, month, day
# start_date: 2022 | 2022-01 | 2022-01-01 -> 2022-01-01
# end_date: 2022 | 2022-12 | 2022-12-31 -> 2022-12-31
write_pypistat.write_pypistat(stat_type="overall", date_period="month", start_date="2022-01-01", end_date="2022")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
write-pypistat-0.1.0.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file write-pypistat-0.1.0.tar.gz
.
File metadata
- Download URL: write-pypistat-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e28b2191de540b1b5dce321bec38f327fdcbebca8fa89c6643268b21616dadc |
|
MD5 | a663ca12d6968a63614e65183e31b126 |
|
BLAKE2b-256 | 833c986e7f900154c74961ebf69e731f62aaa57c821d16567bc197ae254f4819 |
File details
Details for the file write_pypistat-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: write_pypistat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b769cb1415e2b5ac818861d76228b9cdac3b3a9a73cfd39a5670d6175e99b7ab |
|
MD5 | e8e418bea9ef394679dda35c24668b97 |
|
BLAKE2b-256 | 1d9dc71b76c6ed46a4dfa05cb76a3f1e52cfde6a315f0409897cf1709796e5c9 |