Skip to main content

Collects daily rice prices from CBSL (Central Bank of Sri Lanka) reports.

Project description

CBSL Rice Price Collector

PyPI Build

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

rice_price_collector-0.1.4.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rice_price_collector-0.1.4-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

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

Hashes for rice_price_collector-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7dc237d3761c58b3a166b11b4ca489ce5528492b35abfc3c711610dcc0ad990c
MD5 0392c4f07f51968d8662950d366ab6a4
BLAKE2b-256 42b80424a6029371db8bc29e716d5d9db4c06efc6664b532d8868077986d536c

See more details on using hashes here.

File details

Details for the file rice_price_collector-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for rice_price_collector-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 504e697323b10538ba7d280bdd28c1c9d12a5b5e1b020276eeb0cb1f705891d7
MD5 3622cec4b17ae2903ec661f11f19a4c8
BLAKE2b-256 a45ddabab60630bdfd07d4c429ed3ddfca99e802ca5d80a7161c5976d8c2d0a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page