Python SDK for interacting with the Genos platform.
This package provides a clean, testable, and extensible interface for integrating Genos services into Python applications.
genos-sdk/
│
├── genossdk/ # Core SDK implementation
├── tests/ # Unit and integration tests
├── pyproject.toml # Poetry configuration
├── poetry.lock # Dependency lock file
└── README.md
poetry add genos-sdkOr for local development:
git clone https://github.com/<your-username>/genos-sdk.git
cd genos-sdk
poetry install-
Install Poetry if not already installed:
pip install poetry
-
Install dependencies:
poetry install
-
Activate virtual environment:
poetry shell
poetry run pytestTo run with coverage:
poetry run pytest --cov=genossdkfrom genossdk import Client
client = Client(api_key="your-api-key")
response = client.some_method()
print(response)Replace
some_method()with actual SDK functionality once implemented.
Authentication and configuration can typically be provided through:
- Environment variables
- Direct constructor parameters
- Configuration files (if supported)
Example:
export GENOS_API_KEY=your-api-key- Modular architecture
- Clean separation between API logic and transport
- Test coverage via
tests/ - Poetry-based dependency management
- Do not commit API keys or secrets.
- Use environment variables or secret managers.
- Rotate credentials if exposed.
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Ensure tests pass
- Open a pull request
Landry Some
GitHub: https://github.com/landry-some