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.3.tar.gz (96.9 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.3-cp311-cp311-manylinux_2_34_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for sdb_connector-1.0.3.tar.gz
Algorithm Hash digest
SHA256 c62630a8b2fc56a6c2205272ccb0d0e3cbcfc7634fd2f0393ab9660b20ef0e8f
MD5 9f0ec1cb703df0df03b72ebcb37a3875
BLAKE2b-256 d660a45b3e9630c17c9a394384cd9a9150756b3a60d2a0909dc1354926868b9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sdb_connector-1.0.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 de16ff14edf78c1f0be8f150c74499effd647b008d0812a30dc581f8e539d2ec
MD5 13b5362e5c604681bbd246ac886881d6
BLAKE2b-256 2f0688768733efa2ef849b22622413b2aaedbfc68a1e49f270420ac6fff5908d

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