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.0.tar.gz (98.3 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.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for sdb_connector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 209e9f6e5aa78d6730f3a6d394a31053ecfe24042fda658712298e2d46e0d87a
MD5 0640321c6655f6d39c0f9aae2905dbb2
BLAKE2b-256 ec2dc80943f8c2b3c8e98979bd81e357ec487383ce570866d8c1a116655b8293

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sdb_connector-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1b33bbeee24f928ea033d55283c6b6e51ac97e37569e5576cf4c95e4ee010471
MD5 4007a3b3753b1f1b6a5e43de83b80ee4
BLAKE2b-256 d3ab77769d31a5e79ddbee89977b40002c716ec9567b1d986faa2206f95567f0

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