CharityBase Client Library (Python)
A Python client library for interacting with the CharityBase REST API. Tested on python 3.7.1
Modelled on the official charitybase JavaScript client.
Authorisation
Log in to the CharityBase API Portal and create an API key.
Example
Search for "homeless" charities with income range £100k - £1m, sorted by descending income:
from charitybase import CharityBase
charityBase = CharityBase(apiKey='my-api-key')
res = charityBase.charity.list({
'fields': ['income.latest.total'],
'search': 'homeless',
'incomeRange': [100000, 1000000],
'sort': 'income.latest.total:desc',
'limit': 10,
'skip': 0,
})
print(res.charities)
(Remember to replace my-api-key with your actual key, copied from the CharityBase API Portal)
Metadata
Release files for charity-base-client-python 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| charity-base-client-python-0.1.3.tar.gz | 3.2 kB | Without provenance | Details for charity-base-client-python-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| charity_base_client_python-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for charity_base_client_python-0.1.3-py3-none-any.whl |
Total release size: 8.1 kB
Release files / charity-base-client-python-0.1.3.tar.gz
| Download URL | charity-base-client-python-0.1.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a021867d9632b650a32d698483dec565cdf46b78f88dc2e71fb1a1d07e44790
|
|
BLAKE2b-256 checksum How to use checksums |
7b6b804b81768f534b02799f98bd7a4487baf1d67e353912d7ff42dc2540fc24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / charity_base_client_python-0.1.3-py3-none-any.whl
| Download URL | charity_base_client_python-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6343bb686af17fd7ca71d0f59669560b26ae6b2f0d144fb64576b364dc07cf4b
|
|
BLAKE2b-256 checksum How to use checksums |
7c8f0f297fea700d21aab8b49f69906c256b14acd5e28b1eddfddc29f700139a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for charity-base-client-python 0.1.3
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.