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 hashes)
Built Distribution
Close
Hashes for write_pypistat-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b769cb1415e2b5ac818861d76228b9cdac3b3a9a73cfd39a5670d6175e99b7ab |
|
MD5 | e8e418bea9ef394679dda35c24668b97 |
|
BLAKE2b-256 | 1d9dc71b76c6ed46a4dfa05cb76a3f1e52cfde6a315f0409897cf1709796e5c9 |