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.2.tar.gz (99.2 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.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for sdb_connector-1.0.2.tar.gz
Algorithm Hash digest
SHA256 795fa916004137be989507c99d5aa36f89089e2adb3ea514872a59580fc16b91
MD5 033973fbd61822289371d35653872d4a
BLAKE2b-256 57e4f13008c74e6c9ddc20d86131e1f77895231d6fc4e367bb784307caa01d4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sdb_connector-1.0.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e0e83da02b1bca58c0b533ca93a68cee5c50fc79c182dd5c580a466917b2b6a7
MD5 c861871bcd08385a04f6628f358cd8dc
BLAKE2b-256 980892312db115105424977625b48c0d6191ecb43c055a8350ca7e090798cece

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