Skip to content

FredGH/data_providers

Repository files navigation

Project Title

Data Providers

Description

Provides access to external data providers data, such as yahoo financial data.

Getting Started

Dependencies

  • N/A

Installing

  • Git clone the project

  • Create the Python Env

    • rm -rf venv/
    • In Visual Studio Vode -> Ctrl+Shift+P -> Select Interpreter -> Python 3.11.x
    • python3.11 -m venv venv
    • source ./venv/bin/activate
    • In Visual Studio Vode -> Ctrl+Shift+P -> Select Interpreter -> (venv) Python 3.11.x
    • [optional] check Python3 version -> python3 -> should show Python 3.11.x
  • Install Requirements:

    • python3.11 -m pip install --upgrade pip
  • Build Package:

    • pip3.11 install -U pip setuptools
    • python3.11 setup.py sdist bdist_wheel
    • pip3.11 install -e .
    • [optional] pip install -Iv urllib3==1.26.15
  • Tag New Release & Push:

    • git tag 0.0.x -m "Release details"
    • git push origin 0.0.x
    • git push
  • Install Package:

    • Go to Settings > Developer Settings > Personal access tokens (classic) > Generate new token with note e.g. "Upload package"
    • Ensure you check the write:packages scope to grant the necessary permissions.
    • Get the generated token, e.g. "12345"
    • Get your Github user name, e.g. "my_user_name"
    • Install the private package using the following:
    • [Optional] Deleting tags:
      • List tags: git tag -l
      • Delete origin: git push origin :refs/tags/{{tagname}} (e.g. 0.01)
      • Delete locally: git tag --delete {{tagname}} (e.g. 0.01)
  • Code cleanup & Standardisation

    • ruff check . &isort . &black .
  • Run unit tests

    • run in /dataproviders
      • coverage run -m unittest discover
      • coverage report -m (or coverage hml)

Executing program

  • N/A

Help

  • N/A

Authors

Contributors names and contact info [email protected]

Version History

  • 0.0.1
    • TBC

License

  • There is no license.

Acknowledgments

Inspiration, code snippets, etc.

About

Provides access to external data providers data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages