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 totestpypiorpypirelease.published-> publish topypi
Recommended: configure Trusted Publishing in PyPI/TestPyPI for this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9753799ef1c72b13be80e152ce12bfbabdedf3c2bbbd7d6c244a2e5374b3ef1
|
|
| MD5 |
cc96799c39bbf03f88848bfb7d6df16c
|
|
| BLAKE2b-256 |
c2946e214322f19d20dfe9418b7dc38a184b63cc85dda14b9b1c046c7bfddf33
|
File details
Details for the file sdb_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: sdb_connector-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 5.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f448fe0d89a62f9167eb2c950a06e276ce4e0a294a55b245451a81d151ee88
|
|
| MD5 |
8974d104163e635cea14bae93425ac4f
|
|
| BLAKE2b-256 |
be2da626becf153f4af75edd890275c06ca75fed1ea9df2ad2319c3200efed91
|