write-condastat makes it easy to collect, filter and save conda statistics to csv files.
write-condastat requires pandas
, dask
, pyarrow
and s3fs
packages.
pip install write-condastat
from writecondastat import WriteCondaStat, CondaStatDataSource
target_package = "pandas"
csv_dir = "stats/pandas"
write_condastat = WriteCondaStat(package_name=target_package, outdir=csv_dir)
write_condastat.write_condastat(
CondaStatDataSource.CONDAFORGE,
start_date="2021",
end_date="2022-03",
)
write_condastat.date_period = "month"
write_condastat.write_condastat(
CondaStatDataSource.ANACONDA,
CondaStatDataSource.CONDAFORGE,
CondaStatDataSource.BIOCONDA,
start_date="2022-01",
end_date="2022-04-15",
)
Visit our documentation site for code reference or our wiki site for a step-by-step tutorial into write-condastat.
We welcome contributions to the project, visit our contributing guide for further info.
Join our discussions page if you have any questions or comments.
Copyright © 2022.
Released under the Apache 2.0 License.