Development
Setup
1. Clone the repository
2. Installing uv
Note
If you are using conda base environment as the default base environment for your python projects, run the below command to activate the base environment.
If not, skip this step and continue with the next step.
If you don't have uv
installed, you can install it by running:
3. Setting up the project environment
Note
Incase you want to do a fresh install, and setup project from scratch using pyproject.toml
,
skip this step (3) and continue with the next step (4).
We recommend using uv
to manage your project environment since tickersnap
was developed using uv
,
and you can replicate the same environment from uv.lock
file by just running:
But, feel free to use any python based environment and package manager of your choice.
About uv
uv is a fast, simple, and secure Python package manager.
It is recommended to use uv
to manage your project environment.
4. Install dependencies
If you want to do a fresh install with dev and docs dependencies, you can run:
Code Quality
Before committing, please ensure that the code is formatted and styled correctly. Run the following commands to check and fix code style issues:
Build and serve the documentation
You can build and serve the documentation by running: