Add your description here
Project description
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
- Add
solidaritytechtoolsas a dependency viauv add solidaritytechtools,pip install solidaritytechtools, etc - Import stuff from here, like
from solidaritytechtools import STClient - Initialize the client with the api key:
st_client = STClient(api_key="...") - Perform calls, like
st_client.get_users()
Contributing
- Clone the repo
- Install pre-commit hooks (
uv run pre-commit install) - Start coding and make a MR :)
Please use uv run ty check . to check the type safety of your code before submitting a MR.
When possible, ty check . will be added to pre-commit hooks.
Publishing
The maintainer will probably take care of this
uv version --bump patch(or minor, major etc)uv syncgit add pyproject.toml uv.lockgit commit -m "Release $(uv version)" && git tag v$(uv version --short)git push origin main --tags
Github workflow will push to pypi.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solidaritytechtools-0.0.3.tar.gz.
File metadata
- Download URL: solidaritytechtools-0.0.3.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c69259d57a5b3c409fa84d12e3337f9dd7eeff527ee4cae8352184bfc7c386
|
|
| MD5 |
f917ba4d74ecf002b814c41927ea7f33
|
|
| BLAKE2b-256 |
2494d4b490039453939d40a232c17689c31fab2c8d2a2cdba2edb9122d0dcc43
|
Provenance
The following attestation bundles were made for solidaritytechtools-0.0.3.tar.gz:
Publisher:
workflow.yml on jackklika/solidaritytechtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solidaritytechtools-0.0.3.tar.gz -
Subject digest:
b8c69259d57a5b3c409fa84d12e3337f9dd7eeff527ee4cae8352184bfc7c386 - Sigstore transparency entry: 844439663
- Sigstore integration time:
-
Permalink:
jackklika/solidaritytechtools@c90fbb24810189363bbaf85c3f1f6dc0390274da -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/jackklika
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@c90fbb24810189363bbaf85c3f1f6dc0390274da -
Trigger Event:
push
-
Statement type:
File details
Details for the file solidaritytechtools-0.0.3-py3-none-any.whl.
File metadata
- Download URL: solidaritytechtools-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fb2ec9881748a6cdabcae2ca75e1f894035c6a8d009d93befa80c05acccd7cc
|
|
| MD5 |
b2d3edf4b204b8da0fb319a2cbd6dbca
|
|
| BLAKE2b-256 |
998db5a8a9afaa4742704f1ef5d2b16406584b304c61977e85499aa233fa0fb3
|
Provenance
The following attestation bundles were made for solidaritytechtools-0.0.3-py3-none-any.whl:
Publisher:
workflow.yml on jackklika/solidaritytechtools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solidaritytechtools-0.0.3-py3-none-any.whl -
Subject digest:
3fb2ec9881748a6cdabcae2ca75e1f894035c6a8d009d93befa80c05acccd7cc - Sigstore transparency entry: 844439669
- Sigstore integration time:
-
Permalink:
jackklika/solidaritytechtools@c90fbb24810189363bbaf85c3f1f6dc0390274da -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/jackklika
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@c90fbb24810189363bbaf85c3f1f6dc0390274da -
Trigger Event:
push
-
Statement type: