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.5.tar.gz (14.0 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.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file rice_price_collector-0.1.5.tar.gz.

File metadata

  • Download URL: rice_price_collector-0.1.5.tar.gz
  • Upload date:
  • Size: 14.0 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.5.tar.gz
Algorithm Hash digest
SHA256 01f160be91f225fb5e826dcedcc345306eac05fb8c3c02535b3e9897f8b37db8
MD5 14128866bf7de9daaaaca3e98ed83afe
BLAKE2b-256 7092429d8eeb84f49d4589ba5d98562ba8fb787d400997bae7a67b5c8a33eab0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rice_price_collector-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 64b8a738fa33f159be50241825ee1a4e65d5399143e9c455ffb8ca09f5c833f3
MD5 2f72e0ca6a6368a47a58791a2217c383
BLAKE2b-256 d86d40782607bcb2a625522797f9b00c96b4d03ee6cb5d6ea104c68f04540dfd

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