Earnings Python package
Overview
earnings is a lightweight and featureful Python package tailored to retrieve insightful earnings details, allowing users to collect previous and future earnings calendars, filter by US-equity ticker, define a custom portfolio and easily integrate reliable financial data into your applications.
DISCLAIMER: Data are provided AS IS by external providers. No warranty on data quality and accuracy. Please do your own research before deploying on production.
Getting started
Package:
- Install package from official PyPi:
pip3 install earnings
- Import package in your project code
example.py:
from earnings import *
def main(...) -> None:
# Insert your logic
if __name__ == "__main__":
main()
- Execute the sample script:
python3 example.py
Source
- Clone the repository from GitHub:
git clone https://github.com/lcsrodriguez/earnings.git
cd earnings/
- Build virtual env and install dependencies
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
Roadmap
See ROADMAP.md file.
Project architecture
./
├── AUTHORS
├── CITATION.cff
├── Dockerfile
├── LICENSE
├── Makefile
├── README.md
├── chver.sh
├── docs/
│ ├── README.md
│ └── ROADMAP.md
├── earnings/
│ ├── __init__.py
│ ├── constants.py
│ ├── main.py
│ └── utils.py
├── examples/
│ └── main.py
├── out/
├── portfolios/
│ └── template.pff
├── requirements.txt
└── setup.py
License & Credits
- Lucas RODRIGUEZ (Maintainer & Developer)
The LICENSE file contains the full license details.
If you are using this package for research purposes, you can quote it as shown below:
@software{RODRIGUEZ_PyEarnings_2023,
author = {RODRIGUEZ, Lucas},
month = dec,
title = {{earnings}},
url = {https://github.com/lcsrodriguez/earnings},
version = {1.1.0},
year = {2023}
}
Metadata
Release files for earnings 1.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 | |
|---|---|---|---|
| earnings-1.1.0.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| earnings-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / earnings-1.1.0.tar.gz
| Download URL | earnings-1.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db4a6abe48770081d64f2f49ef90d0da6dd97739aef67a6b96c657c978ac5a23
|
|
BLAKE2b-256 checksum How to use checksums |
e030e924bfdeaf89414db06568c29bb782c6c2ef6a97f3683aed34661040b05a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / earnings-1.1.0-py3-none-any.whl
| Download URL | earnings-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47b95399d94b1cc92721e19711f0b8ede9509e271df490a400cad70166b6bf98
|
|
BLAKE2b-256 checksum How to use checksums |
c28bd62c1439c1f0ae63d0d1969cb88463eb1d93118a0fa895f707ca06342d4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|