Skip to main content

py_chartmetric_api

py_chartmetric_api is a simple Python library for retrieving data from chartmetrics.com.

Requirements

  • Python 3.9 or later

Installation

$ pip install py_chartmetric_api

Usage

import py_chartmetric_api

# returns first 100 artists that had a first relaase 30 days ago or less
py_chartmetric_api.artist.get_artists_with_filters(0, 100, {"firstReleaseDaysAgo": "30"})

# returns 300 artists that have between 1000 and 100000 spotify followers
py_chartmetric_api.artist.get_artists_by_stats("sp_followers", 1000, 100000, 300)

Refer to examply.py for a more in-depth example

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for py-chartmetric-api 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-chartmetric-api 0.1.0
File Size Uploaded Provenance Actions
py_chartmetric_api-0.1.0.tar.gz 3.3 kB Without provenance Details for py_chartmetric_api-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-chartmetric-api 0.1.0
File Interpreter ABI Platform Actions
py_chartmetric_api-0.1.0-py3-none-any.whl Python 3 none any Details for py_chartmetric_api-0.1.0-py3-none-any.whl

Total release size: 7.3 kB

Release files / py_chartmetric_api-0.1.0.tar.gz

Download URL py_chartmetric_api-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d4963235efd5cf390bffadf5bc6db123b220c15fe4fe257bf00b1ff613ad9783
BLAKE2b-256 checksum
How to use checksums
5854eae54e78c502248e9d945c16075d34b027a52f88fa887bc467723b017349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.7 Darwin/21.6.0

Release files / py_chartmetric_api-0.1.0-py3-none-any.whl

Download URL py_chartmetric_api-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
379da126902dc9d6e98c3c756e97775271b4fc2835f20ad639915b2baadbb9aa
BLAKE2b-256 checksum
How to use checksums
ec7590c06f20c4e8a9e2c660e4278227a34b6f38a720a6d3ebe6250001412b97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.7 Darwin/21.6.0

Security for py-chartmetric-api 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page