APIs around Market Data Providers
Project description
Market Data Providers
Miscellaneous APIs around Market Data providers.
APIs
Currently only basic access to: https://eodhistoricaldata.com/ is implemented.
Build
This is built using Poetry.
# after checkout, within top-level checkout directory
poetry install
# To update dependencies, or after `poetry add ...`
poetry update
# to make sure we are using our virtual env's tooling (created
# automatically by poetry, much like conda env)
# We can, for example add ipython as a dev dependency, then shell into our
# env, only then will we get this install. Use `which ipython` to verify.
poetry shell
# To build distributable packages
poetry build
Publishing
To PyPi
Create PyPI account with a new token.
Add this to poetry's config:
poetry config pypi-token.pypi <my-token>
Simply publish:
poetry publish home-pypi
To Local Repository
Once off only: Prepare Local Repository
See:
- https://pypi.org/project/pypiserver/: Install this.
- https://python-poetry.org/docs/master/repositories/
# Create location
LOCAL_REPO_FS=$HOME/.local/home-pypi
mkdir -p $LOCAL_REPO_FS
cd $LOCAL_REPO_FS
# Run pypi-server in local repo fs, unauthorised mode.
pypi-server -i 127.0.0.1 -v -P . -a . -p 9292 .
Add repository name to poetry config:
poetry config repositories.home-pypi http://localhost:9292/
Update pip configuration to use this extra index.
# ~/.pip/pip.conf -> https://pypi.org/project/pypiserver/#configuring-pip
# Add the following config
[global]
extra-index-url = http://localhost:9292/simple/
To publish to local repo:
# Publish distributable packages to local repo set-up with name above.
# Just press Enter when username asked, we don't have authentication on.
poetry publish --repository home-pypi
Project details
Release history Release notifications | RSS feed
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 marketdataproviders-0.1.0.tar.gz.
File metadata
- Download URL: marketdataproviders-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f74d9b5d7c8b838b02ca863884055a8cc84398d6f0dc78cb6b66f17edab75f9a
|
|
| MD5 |
a1a3894ab8342de0139e6c265342d1b5
|
|
| BLAKE2b-256 |
fe1309f8bdaeb439c7845883f68590b3e65d19a17993892e24232ac3be256372
|
File details
Details for the file marketdataproviders-0.1.0-py3-none-any.whl.
File metadata
- Download URL: marketdataproviders-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
210fe90430d64586008b67700d5464df1bfce6b9a24936a3fa38c164fb098555
|
|
| MD5 |
b65949e0351b0a62e3bb3b9739088d61
|
|
| BLAKE2b-256 |
7c32761280540864505fbdfb9b70e28ecc3331305f531475582331798b7ae093
|