Important changes are emphasized.
- Add support for Python 3.11 and 3.12
- Drop support for EOL Python 3.7
- Add
__main__.py
to enablepython -m pypinfo
- Add
ci
field: show how many installs were from a CI
- Drop support for EOL Python 3.6
- Add support for version matching
- Update
--where
not to discardproject
/installer
filtering - Fix query when only aggregate fields are requested
- Run Mypy on all files
- Fix
twine check
errors and warnings - Switch build backend to Hatchling
- Add support for Python 3.10
- Add
-h
as help option - Treat and validate numeric CLI arguments as numbers
- Replace appdirs with platformdirs
- Fix ResourceWarnings
- Update dataset to the new Google-hosted location
- Fix usage of date ranges
- Use the clustered data table and standard SQL for lower query costs
- Add support for libc & libc-version fields
- Update TinyDB and Tinyrecord dependencies for compatibility
- Pin TinyDB<4, Tinyrecord does not yet support TinyDB v4
- Allow yyyy-mm[-dd]
--start-date
and--end-date
:- A yyyy-mm
--start-date
defaults to the first day of the month - A yyyy-mm
--end-date
defaults to the last day of the month
- A yyyy-mm
- Add
--month
as a shortcut to--start-date
and--end-date
for a single yyyy-mm month - Add
--verbose
option to print credentials location - Update installation instructions
- Enforce
black
code style
- Allow yyyy-mm-dd dates
- Add
--all
option, default to only showing downloads via pip - Add download total row
- Added new
file
field!
- Added
last_update
JSON key, which is a UTC timestamp.
- Breaking: JSON output is now a mapping with keys
rows
, which is all the data that was previously outputted, andquery
, which is relevant metadata. - Increased the resolution of percentages.
- Fixed JSON output.
- Fixed custom field ordering.
- Added new BigQuery usage stats.
- Lowered the default number of results to
10
from20
. - Updated examples.
- Fixed table formatting regression.
- Updated
google-cloud-bigquery
dependency.
- Output table is now in Markdown format for easy copying to GitHub issues and PRs.
- Updated
google-cloud-bigquery
dependency.
- Numeric output (non-json) is now prettier (thanks hugovk)
- You can now filter results for only pip installs with the
--pip
flag (thanks hugovk)
--order
now works with all fields (thanks Brian Skinn)- Updated installation docs (thanks Brian Skinn)
- Fix: project names are now normalized to adhere to PEP 503.
- Breaking:
--json
option is now just a flag and prints output as prettified JSON.
- Added
--json
path option.
- Initial release