Skip to main content

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

  1. Add solidaritytechtools as a dependency via uv add solidaritytechtools, pip install solidaritytechtools, etc
  2. Import stuff from here, like from solidaritytechtools import STClient
  3. Initialize the client with the api key: st_client = STClient(api_key="...")
  4. 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 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

  1. uv version --bump patch (or minor, major etc)
  2. uv sync
  3. git add pyproject.toml uv.lock
  4. git commit -m "Release $(uv version)" && git tag v$(uv version --short)
  5. 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

solidaritytechtools-0.0.3.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solidaritytechtools-0.0.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

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

Hashes for solidaritytechtools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b8c69259d57a5b3c409fa84d12e3337f9dd7eeff527ee4cae8352184bfc7c386
MD5 f917ba4d74ecf002b814c41927ea7f33
BLAKE2b-256 2494d4b490039453939d40a232c17689c31fab2c8d2a2cdba2edb9122d0dcc43

See more details on using hashes here.

Provenance

The following attestation bundles were made for solidaritytechtools-0.0.3.tar.gz:

Publisher: workflow.yml on jackklika/solidaritytechtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file solidaritytechtools-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for solidaritytechtools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3fb2ec9881748a6cdabcae2ca75e1f894035c6a8d009d93befa80c05acccd7cc
MD5 b2d3edf4b204b8da0fb319a2cbd6dbca
BLAKE2b-256 998db5a8a9afaa4742704f1ef5d2b16406584b304c61977e85499aa233fa0fb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for solidaritytechtools-0.0.3-py3-none-any.whl:

Publisher: workflow.yml on jackklika/solidaritytechtools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page