- Python 3.12 or higher
- Poetry for dependency management
poetry install
poetry run pre-commit installThis project uses a .env file to store sensitive configuration like API tokens. A template file .env.example is provided.
-
Copy the example file to create your own
.envfile:cp .env.example .env
-
Edit the
.envfile and replace the placeholder values with your actual credentials:GITHUB_TOKEN=your_github_tokenYou can create a GitHub personal access token at https://github.com/settings/tokens
This project uses several development tools:
blackfor code formattingisortfor import sortingflake8for lintingpre-commitfor git hooksjupyterandjupyterlabfor interactive analysis
The project uses pre-commit hooks to ensure code quality. These hooks run automatically when you commit changes. They include:
- Basic file checks (trailing whitespace, file endings, etc.)
- Code formatting with Black
- Import sorting with isort
- Code linting with flake8
To run the hooks manually:
poetry run pre-commit run --all-files- The
data/directory contains curated data files - Add data files to
temp/if they are not meant to be tracked