Thanks for your interest in contributing! This is a short guide to get you started.
Clone the repository and install the package with its test dependencies in editable mode:
git clone git@github.com:ftshare-lab/ftshare-python-sdk.git
cd ftshare-python-sdk
pip install -e ".[test]"Replace the repository URL above with your fork once you have one.
The unit test suite uses mocked HTTP and does not require network access:
python3 -m pytestReal-API integration tests are skipped by default. To run them against a reachable FTShare service:
FTSHARE_RUN_INTEGRATION=1 python3 -m pytest tests/test_integration_market.py- Open an issue to discuss significant changes before starting work.
- Keep the public API surface stable unless an issue calls for a breaking change.
- Make sure
python3 -m pytestpasses. - Submit a pull request with a clear description of the change and motivation.
Use the issue tracker for bug reports and feature requests. For security-sensitive reports, see SECURITY.md.