Collects daily rice prices from CBSL (Central Bank of Sri Lanka) reports.
Project description
CBSL Rice Price Collector
rice_price_collector collects rice prices from the CBSL website and provides tools for downloading, parsing, and processing rice price data.
Installation
Install from PyPI:
pip install cbsl_rice_price_collector
Or install from source:
git clone https://github.com/ChamoChiran/rice_price_collector.git
cd rice_price_collector
pip install .
Usage
Download rice price PDFs and process them:
from rice_price_collector.downloader import pdf_downloader
from rice_price_collector.parser import parser
# Download PDFs
data_dir = "./data/raw/2024"
pdf_downloader.download_pdfs(data_dir)
# Parse PDFs
parsed_data = parser.parse_pdfs(data_dir)
See the docs for more details and advanced usage.
Project Organization
├── LICENSE
├── Makefile
├── README.md
├── data/
│ ├── processed/
│ └── raw/
├── docs/
├── models/
├── notebooks/
├── pyproject.toml
├── references/
├── reports/
│ └── figures/
├── requirements.txt
├── rice_price_collector/
│ ├── __init__.py
│ ├── config.py
│ ├── downloader/
│ └── parser/
└── tests/
Contributing
Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.
License
This project is licensed under the terms of the MIT License. See the LICENSE file for details.
Contact
For questions or support, open an issue or contact ChamoChiran.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rice_price_collector-0.1.4.tar.gz.
File metadata
- Download URL: rice_price_collector-0.1.4.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc237d3761c58b3a166b11b4ca489ce5528492b35abfc3c711610dcc0ad990c
|
|
| MD5 |
0392c4f07f51968d8662950d366ab6a4
|
|
| BLAKE2b-256 |
42b80424a6029371db8bc29e716d5d9db4c06efc6664b532d8868077986d536c
|
File details
Details for the file rice_price_collector-0.1.4-py3-none-any.whl.
File metadata
- Download URL: rice_price_collector-0.1.4-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
504e697323b10538ba7d280bdd28c1c9d12a5b5e1b020276eeb0cb1f705891d7
|
|
| MD5 |
3622cec4b17ae2903ec661f11f19a4c8
|
|
| BLAKE2b-256 |
a45ddabab60630bdfd07d4c429ed3ddfca99e802ca5d80a7161c5976d8c2d0a2
|