turba-data
Dataset package for site-specific NPK fertilizer recommendations in Morocco.
turba-data is the data package of the turba ecosystem. It provides a simple way to discover the datasets currently available and load them directly into Python. Future work will expand the catalog with additional datasets covering more crops, sources, and regions, add more notebooks for analysis and comparison, and introduce hosted remote downloads as the collection grows.
Install
pip install turba-data
This also pulls:
pandaspyarrow
Quick start
import turba_data as td
print(td.list_datasets())
df = td.load_dataset("esa_worldcereal_morocco_cereals_medium")
print(df.head())
Users can convert parquet to CSV themselves after loading:
import turba_data as td
df = td.load_dataset("esa_worldcereal_morocco_cereals_medium")
df.to_csv("esa_worldcereal_morocco_cereals_medium.csv", index=False)
First release dataset
Current snapshot for the first packaged dataset:
- dataset id:
esa_worldcereal_morocco_cereals_medium - file:
esa_worldcereal_morocco_cereals_medium.parquet - rows: 132,017
- columns: 22
- unique sites: 44,096
- regions: 10
- provinces: 66
- communes: 1,149
Repository structure
turba-data/
├── src/
│ └── turba_data/
│ ├── __init__.py
│ ├── core.py
│ ├── registry.json
│ └── datasets/
│ └── esa_worldcereal_morocco_cereals_medium.parquet
├── tests/
│ └── test_api.py
├── LICENSE
├── pyproject.toml
└── README.md
Metadata
Release files for turba-data 0.1.0
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 |
|---|---|---|---|---|
| turba_data-0.1.0.tar.gz | 1.6 MB | Without provenance | Details for turba_data-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| turba_data-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for turba_data-0.1.0-py3-none-any.whl |
Total release size: 3.2 MB
Release files / turba_data-0.1.0.tar.gz
| Download URL | turba_data-0.1.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64fe150fc471dbb60227f98fbf1a346dc693155e9ef353b434f8f50b63d81990
|
|
BLAKE2b-256 checksum How to use checksums |
1cee90b1d3df420559c21ceb81680051c6d09b96380d0d9ce08c61b228f063ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / turba_data-0.1.0-py3-none-any.whl
| Download URL | turba_data-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b30efa008a888ac178ebd017b007b2bc9d47317fa12e7c2e593ac134efb3f9d4
|
|
BLAKE2b-256 checksum How to use checksums |
c4abbd924f7237e476ac89eec9e47af12d9b8c52ed5a4b374bd9cad3f77f5b65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for turba-data 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.