Skip to main content

Python client for Para

Project description

Logo

Python Client for Para

NuGet version Join the chat at https://gitter.im/Erudika/para

What is this?

Para was designed as a simple and modular backend framework for object persistence and retrieval. It helps you build applications faster by taking care of the backend. It works on three levels - objects are stored in a NoSQL data store or any old relational database, then automatically indexed by a search engine and finally, cached.

This is the Python client for Para.

Quick start

  1. Use the PyPI package manager to install the Python client for Para:
$ pip3 install paraclient
  1. Initialize the client with your access and secret API keys.
from paraclient import ParaClient

paraclient = ParaClient('ACCESS_KEY', 'SECRET_KEY');

Documentation

Read the Docs

Development

This repository now relies on uv for dependency management, builds, and publishing, and targets Python 3.9+.

  1. Install uv by following the official instructions.
  2. Create and update the local virtual environment with uv sync. This installs every dependency declared in pyproject.toml and pinned in uv.lock into .venv/. Add the --extra test flag if you need the Testcontainers-powered test suite dependencies.
  3. Run the test suite or any other tooling via uv run, for example uv run pytest.
  4. Build distributable artifacts with uv build; the command produces both the sdist and wheel in dist/.

When dependencies change, update the [project] section of pyproject.toml, then regenerate the lock file with uv lock --upgrade.

The test suite uses Testcontainers to spin up the erudikaltd/para:latest_stable Docker image automatically, so ensure Docker is installed and the daemon is running before invoking uv run python -m unittest. You can override some environment variables (see tests/test_paraclient.py).

Contributing

  1. Fork this repository and clone the fork to your machine
  2. Create a branch (git checkout -b my-new-feature)
  3. Implement a new feature or fix a bug and add some tests
  4. Commit your changes (git commit -am 'Added a new feature')
  5. Push the branch to your fork on GitHub (git push origin my-new-feature)
  6. Create new Pull Request from your fork

For more information see CONTRIBUTING.md

License

Apache 2.0

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

paraclient-1.37.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

paraclient-1.37.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file paraclient-1.37.0.tar.gz.

File metadata

  • Download URL: paraclient-1.37.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for paraclient-1.37.0.tar.gz
Algorithm Hash digest
SHA256 92c5fb08ff7b66f9b906c0398ccc39789b024ddf7384c84ea91938806c27cc15
MD5 d87f910a0e31de768896d0d6c4a716fa
BLAKE2b-256 6cc064d6d29ef39e31057b3ead569bf7559d2c50bb1bbb29b3dc061cd14cfbc0

See more details on using hashes here.

File details

Details for the file paraclient-1.37.0-py3-none-any.whl.

File metadata

  • Download URL: paraclient-1.37.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for paraclient-1.37.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfc50f6101cdab8c42f43df08481dbfe918860e99566ac9e05549692f0ce59ae
MD5 4c5546f68793ef811487b11ae325b0c6
BLAKE2b-256 211ae12f456e0d60d3c7a29e01378ae18a058a5455a65d1fd2093c8adba41db6

See more details on using hashes here.

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