Skip to main content

A Python library written in Rust for SurrealDB connection and data preparation

Project description

sdb_connector

Python package with Rust/PyO3 bindings for SurrealDB access and data preparation.

Install

pip install sdb-connector

Import in Python:

import sdb_connector

Versioning

Version is taken from Cargo.toml ([package].version).

Local Build

python -m pip install --upgrade maturin twine
maturin build --release --sdist --out dist
python -m twine check dist/*

Publish Manually

TestPyPI

export MATURIN_PYPI_TOKEN=<testpypi-token>
maturin publish --repository testpypi --username __token__ --password "$MATURIN_PYPI_TOKEN"

PyPI

export MATURIN_PYPI_TOKEN=<pypi-token>
maturin publish --username __token__ --password "$MATURIN_PYPI_TOKEN"

GitHub Actions Publish

A workflow is included at .github/workflows/publish-pypi.yml:

  • workflow_dispatch -> publish to testpypi or pypi
  • release.published -> publish to pypi

Recommended: configure Trusted Publishing in PyPI/TestPyPI for this repository.

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

sdb_connector-1.0.1.tar.gz (98.5 kB view details)

Uploaded Source

Built Distribution

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

sdb_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

Details for the file sdb_connector-1.0.1.tar.gz.

File metadata

  • Download URL: sdb_connector-1.0.1.tar.gz
  • Upload date:
  • Size: 98.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for sdb_connector-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f9753799ef1c72b13be80e152ce12bfbabdedf3c2bbbd7d6c244a2e5374b3ef1
MD5 cc96799c39bbf03f88848bfb7d6df16c
BLAKE2b-256 c2946e214322f19d20dfe9418b7dc38a184b63cc85dda14b9b1c046c7bfddf33

See more details on using hashes here.

File details

Details for the file sdb_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for sdb_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 83f448fe0d89a62f9167eb2c950a06e276ce4e0a294a55b245451a81d151ee88
MD5 8974d104163e635cea14bae93425ac4f
BLAKE2b-256 be2da626becf153f4af75edd890275c06ca75fed1ea9df2ad2319c3200efed91

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