Metadata-Version: 2.4
Name: solidaritytechtools
Version: 0.0.2
Summary: Add your description here
Requires-Python: >=3.14
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.12.5
Description-Content-Type: text/markdown

# Solidarity Tech Tools

A python library to help you automate solidarity tech (ST).

This is still in beta, and there is a bit more work to do. But you can still use this in production if you are bold.

## Features

### Client  
Call python methods to interact with the ST api. You can pass pydantic models and receive pydantic models in return, so you can rely on the response structure.

## Todo: Contact Matching
Given a contact export and a ST account with contacts, attempt to match the two, so you can perform operations.

This is useful for example if you want to export migrate resources from one ST account to another.

## Using

1. Add `solidaritytechtools` as a dependency via `uv add solidaritytechtools`, `pip install solidaritytechtools`, etc
2. Initialize the client with the api key: `st_client = STClient(api_key="...")`
3. Perform calls, like `st_client.get_users()`

## Contributing

1. Clone the repo 
2. Install pre-commit hooks (`uv run pre-commit install`)
3. Start coding and make a MR :)

Please use `ty` to check the type safety of your code. When possible, this will be added to pre-commit hooks.

## Publishing

1. `uv build`
