Skip to main content

Add your description here

Project description

Py-PoloDB Python Bindings

Overview

This repository contains the Python bindings for the PoloDB project. These bindings allow Python code to interface seamlessly with the PoloDB core functionalities written in Rust.

Installation

python3.9 -m pip install polodb-python

Usage :

>>> from polodb import PoloDB 
>>> db  = PoloDB("db")
>>> db
<polodb.core.PoloDB object at 0x1001d6a00>
>>> col = db.collection('my-collection')
>>> col
<polodb.core.Collection object at 0x100244d00>
>>> data = [{"foo":"bar", "titi":"kpkp"}, {"lol":"out", "foo":"bar"}]
>>> col.insert_many(data)
{0: '6725102e0c6d6f91b9df53bd', 1: '6725102e0c6d6f91b9df53be'}
>>> col.len()
2
>>> col.find({"lol":"out"})
[{'lol': 'out', 'foo': 'bar', '_id': '6725102e0c6d6f91b9df53be'}]

Current methods supported for collection

  • delete_one
  • delete_many
  • find
  • find_one
  • insert_many
  • insert_one
  • len
  • name
  • update_many (with upsert option)
  • update_one (with upsert option)
  • aggregate

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

polodb_python-0.1.18.tar.gz (22.2 kB view details)

Uploaded Source

Built Distributions

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

polodb_python-0.1.18-cp311-cp311-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.11Windows x86-64

polodb_python-0.1.18-cp311-cp311-manylinux_2_38_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.38+ x86-64

polodb_python-0.1.18-cp311-cp311-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

polodb_python-0.1.18-cp310-cp310-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.10Windows x86-64

polodb_python-0.1.18-cp310-cp310-manylinux_2_38_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.38+ x86-64

polodb_python-0.1.18-cp310-cp310-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

polodb_python-0.1.18-cp39-cp39-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.9Windows x86-64

polodb_python-0.1.18-cp39-cp39-manylinux_2_38_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.38+ x86-64

polodb_python-0.1.18-cp39-cp39-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file polodb_python-0.1.18.tar.gz.

File metadata

  • Download URL: polodb_python-0.1.18.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for polodb_python-0.1.18.tar.gz
Algorithm Hash digest
SHA256 257ffb9bc9bcae2306162f35170c7158319c7b0ed353b0edac9dc3e38bd29904
MD5 ba88bd3ca6b3e78a2db3562fe444a54e
BLAKE2b-256 efca15f0c68f936d658bb1cba954f850f20efe29735d7e770b1235b0aad7699e

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e452ec97de16a97cc475d5efa2712861a46d76a8a68b142bb984542a45d3644a
MD5 e86caacf6dff8ebe7732fa180d081d7c
BLAKE2b-256 3a9ab710d200416328ade7bf98f000055135513277dd85a14a97d5d39c82c3a4

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp311-cp311-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp311-cp311-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 88fb487dda241661d2ed282ffd9d5c8fcb91a0ed4e90ecc8983d2bd6ef950827
MD5 0da1705533b8bcd80a53f280501102c2
BLAKE2b-256 42eb08d3449c3f1f9f93acb67ac86ead93c93e06d6d9f0fd17c81e023395a40f

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3d08452742e3bf762daf9117d18f8a5348bf4fbf1119072d480c8c6e348785f4
MD5 8ef48723aa5f0e6a1948e62ad6b627d5
BLAKE2b-256 b7ae5159d3a208b383e0857927607c330ddadbbd09cbe1cb1d13b59b0aded28f

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 68fba98e987d440b896ca424ee8004e6b36ba826be84be91390f1a62903ad1f8
MD5 439deef67a7ca39795bac098ae6846a3
BLAKE2b-256 dddb54852561fe013288c7eaaa165fd6b4daaf3aabdc61589393ef938ea92798

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp310-cp310-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp310-cp310-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 383eaa2c7b65974f24ebb2a557fb2c0f527d44c5551c2ffae124cab84fbded29
MD5 5f854328b143f6106f6f66cf47941660
BLAKE2b-256 3c271dd5c9bb1aacef39bb6740c6b61b0638a97e61d1dd2aa6b8426e96fe9646

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b7b656b898578451500a90a93120ca3749c76d6e8e025090b4cf593629ef9785
MD5 4808ee579f01cd36e33f72c855d0942f
BLAKE2b-256 2cbff31df1aa48759392b68ff50bb0e5509660e628f1b6d407367327666e878b

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d6f701dc35adc46144dacefc41acb18d330447bb8a402e4053ffa2b39baedb47
MD5 938bd1aab259006d7830901d72bf9abe
BLAKE2b-256 e64c454e0f8483851fc9d3c83aab4695ae1f9625212899629d0ba9fe66b42be1

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp39-cp39-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp39-cp39-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 b35000797902fc58041f11b59b57f17ceb31b35dd3c533a6b2faccdf6dad7e98
MD5 b01a0729be72cb7bba56704bf92c109a
BLAKE2b-256 2513b805af11bcad3af92dacc72b1c221db63f52d17ffa27f07b397a17cabf2e

See more details on using hashes here.

File details

Details for the file polodb_python-0.1.18-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polodb_python-0.1.18-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b41bd54c920d290fd252254422740f3a2ef3b7d503fa6ff7d5fc3c5fe481ac6a
MD5 95210149492eeabf2b91ee35c09fc81c
BLAKE2b-256 56c1b5056e78cd8dab22086001177d39c54014cc170194cd1a66d9e56879808f

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