This document provides the default contributor workflow for Neural SDK.
- Python 3.10 or higher
- Git
uv- A Kalshi API account when you need to exercise live-backed integrations
git clone https://github.com/YOUR_USERNAME/Neural.git
cd Neural
git remote add upstream https://github.com/IntelIP/Neural.git
python -m pip install uv
uv sync --extra devOptional local tooling:
uv tool install pre-commit
pre-commit installUse descriptive branch names:
feature/<name>for new featuresfix/<name>for bug fixesdocs/<name>for docs-only changesrefactor/<name>for internal cleanuptest/<name>for test updates
Example:
git checkout -b feature/add-paper-order-cliRun the local quality gate from the repo root:
uv run ruff check .
uv run black --check .
uv run mypy neural
uv run pytestIf your change touches docs or examples, validate those paths too:
uv sync --extra dev
uv run python scripts/validate_docs.py
uv run python scripts/validate_examples.py
cd docs-site
bun install --frozen-lockfile
bun run typecheck
bun run build- Rebase or merge from
mainbefore requesting review. - Update documentation when public behavior changes.
- Add or update tests for functional changes.
- Link the relevant GitHub issue or Linear ticket in the PR body.
We use Conventional Commits:
feat:new featurefix:bug fixdocs:documentation changerefactor:internal refactortest:test changechore:maintenance work
Example:
feat(cli): add paper order command
Useful test commands:
uv run pytest
uv run pytest tests/test_cli.py
uv run pytest tests/test_cli.py -k doctor
uv run pytest --cov=neural --cov-report=term-missingThe SDK documentation content lives in docs/ and is rendered by the Fumadocs
application in docs-site/. Keep content in docs/; do not duplicate pages into
the application directory. Use Bun for the locked Fumadocs toolchain and uv
for Python content validators.
- Documentation source: https://github.com/IntelIP/Neural/tree/main/docs
- Discussions: https://github.com/IntelIP/Neural/discussions
- Email: hudson@intelip.co