Economic Calendar
Overview
ecocal is a light-weight and easy-to-user Python package allowing every developer to retrieve full access to both historical and future insightful and hifhly-detailed economic calendar (worldwide scale).
DISCLAIMER:
- Data extracted from external providers. No warranty on data quality/accuracy.
- Data provided AS IS for information purpose only.
Getting started
Install from PyPI:
- Install
ecocalpackagepip3 install ecocal
- Execute the example code
from ecocal import * def main() -> None: ec = Calendar(startHorizon="2023-10-26", endHorizon="2023-11-30", withDetails=True, nbThreads=20, preBuildCalendar=True, ) print(ec) # On-disk saving of detailed calendar ec.saveCalendar() if __name__ == "__main__": main()
Code available using:python examples/main.pyjupyter-notebook examples/main.ipynb(dynamic debugging)
Install from source
- Clone the repository:
git clone https://github.com/lcsrodriguez/ecocal.git cd ecocal/
- Create a virtual environment for clean environment
python3 -m venv venv source venv/bin/activate
- Install the required Python packages
pip3 install -r requirements.txt pip3 freeze
- Initiate the project
make init
Project's architecture
./
├── CITATION.cff
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── ecocal/
│ ├── Calendar.py
│ ├── Event.py
│ ├── __init__.py
│ ├── constants.py
│ └── utils.py
├── examples/
│ ├── main.ipynb
│ └── main.py
├── requirements.txt
└── setup.py
License & Credits
The LICENSE file contains the full license details.
If you are using this package for research purposes, you can quote it as shown below (BibTeX format):
@software{RODRIGUEZ_ecocal_2023,
author = {RODRIGUEZ, Lucas},
month = dec,
title = {{ecocal}},
url = {https://github.com/lcsrodriguez/ecocal},
version = {1.2.1},
year = {2023}
}
Metadata
Release files for ecocal 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecocal-1.2.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecocal-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / ecocal-1.2.1.tar.gz
| Download URL | ecocal-1.2.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6dddaef186281c629d19b04059c4ecd6ddec014b57d07869a79a287da8f77c9
|
|
BLAKE2b-256 checksum How to use checksums |
f1a38f0e2b8661142aa3d07bb35ccab7ee7874e1bd9a431ac0caf587740341cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / ecocal-1.2.1-py3-none-any.whl
| Download URL | ecocal-1.2.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55fe32e48773e4b380bbb3ac8f68670bad20f776abd9a2fd7e39e024a6d65b95
|
|
BLAKE2b-256 checksum How to use checksums |
ed640a21149fd5da72522757a05f2e3369231ae103a751e9d9ade2f3410ae789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|