Skip to main content

Python binding of Darts Clone

Project description

darts-clone-python

Darts-clone binding for Python 3.x.
This repository provides Cython-based pip-installable package.

Installation

pip install dartsclone

Usage

darts-clone-python is almost compatible with darts-clone.

import dartsclone

darts = dartsclone.DoubleArray()

# build index
data = [b'apple', b'banana', b'orange']
values = [1, 3, 2]
darts.build(data, values=values)

# exact match search
result = darts.exact_match_search('apple'.encode('utf-8'))
print(result) # [1, 5]

# common prefix search
result = darts.common_prefix_search('apples'.encode('utf-8'), pair_type=False)
print(result) # [1]

# save index
darts.save('sample.dic')

# load index
darts.clear()
darts.open('sample.dic')

# dump array data
array = darts.array()

# load array data
darts.clear()
darts.set_array(array)

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

dartsclone-0.9.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distributions

dartsclone-0.9.0-cp38-cp38-win_amd64.whl (99.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

dartsclone-0.9.0-cp38-cp38-win32.whl (82.6 kB view details)

Uploaded CPython 3.8 Windows x86

dartsclone-0.9.0-cp38-cp38-manylinux1_x86_64.whl (469.3 kB view details)

Uploaded CPython 3.8

dartsclone-0.9.0-cp38-cp38-manylinux1_i686.whl (441.9 kB view details)

Uploaded CPython 3.8

dartsclone-0.9.0-cp38-cp38-macosx_10_13_x86_64.whl (115.1 kB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

dartsclone-0.9.0-cp37-cp37m-win_amd64.whl (97.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

dartsclone-0.9.0-cp37-cp37m-win32.whl (80.7 kB view details)

Uploaded CPython 3.7m Windows x86

dartsclone-0.9.0-cp37-cp37m-manylinux1_x86_64.whl (473.6 kB view details)

Uploaded CPython 3.7m

dartsclone-0.9.0-cp37-cp37m-manylinux1_i686.whl (445.3 kB view details)

Uploaded CPython 3.7m

dartsclone-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl (113.9 kB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

dartsclone-0.9.0-cp36-cp36m-win_amd64.whl (97.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

dartsclone-0.9.0-cp36-cp36m-win32.whl (80.8 kB view details)

Uploaded CPython 3.6m Windows x86

dartsclone-0.9.0-cp36-cp36m-manylinux1_x86_64.whl (474.2 kB view details)

Uploaded CPython 3.6m

dartsclone-0.9.0-cp36-cp36m-manylinux1_i686.whl (446.2 kB view details)

Uploaded CPython 3.6m

dartsclone-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl (115.5 kB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

Details for the file dartsclone-0.9.0.tar.gz.

File metadata

  • Download URL: dartsclone-0.9.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for dartsclone-0.9.0.tar.gz
Algorithm Hash digest
SHA256 311bc24cd13ef9a8c3632bb3e5986f97ca53cf28420501b2cc343859b0c8ce26
MD5 fc146e42e45a9fceecbae96de464a726
BLAKE2b-256 a2dfadcae5f8a9c23c6b29b7f9ea2f1cd4cc77917987d231f904498bbc31cd77

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 99.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for dartsclone-0.9.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b1e0cbca0e1865b6b5238580a015cf40077fea31548b0a98152bca8c46dea0e6
MD5 cbeced0dab85415855196148d541ce99
BLAKE2b-256 4e4f0a03eb8f5075e0ab9f735d33a39bf28783d10be6599d0333af5949838b03

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 82.6 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for dartsclone-0.9.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 bc29f27e654253d29ed242422c45a6e0cc90d291165cd753ca0d34bdee15b180
MD5 56e9ed3d6d485aa9d738502822c8d9a6
BLAKE2b-256 6a9e33a9ad40665913d62fe09fda286f20dd94a67a5b9946a67705eef30c0d10

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 469.3 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ee0b39c73cac7c3b25b40c178ee239c53c3ebebac57551535a1d534c1d55fa0b
MD5 7136db39fa61c59971b7a62d579d5001
BLAKE2b-256 7db3ea23528d8f6b70548d2fca9238a295336687f3e7871ea75e00e7d6360876

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 441.9 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 eb353030aa25355ccc3bf3b98c97b3ef06263fe5050cb92a62bf50aba2472884
MD5 6c7e94baa54b3960aa35b09ae3cf0258
BLAKE2b-256 4774467df15170c5f9980b55d83fc985bc3a926b5e05c15ce6573333520d0db5

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 115.1 kB
  • Tags: CPython 3.8, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for dartsclone-0.9.0-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b967698e94ce991a12ab8e98d02968beeec2bb739de24ffc6a273284abcf83c9
MD5 4b43c642ebbbfa7caa2b019a39612e6d
BLAKE2b-256 768b7a2f09a2d86a83f1c9e2d172b07b65946bd75d19d7b583565aa4d9575793

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 97.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for dartsclone-0.9.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9ec3051f2d3a94ba0d8edf3798bc14fd905b7dff6dbdc982f32ceba18a767bc4
MD5 149e912c8950a57a1092a6c6c53e13f7
BLAKE2b-256 5dbccdbe6d5d31c7a08bfd396cc41c538a1dff89309aeddea68d55c0e1a4a23e

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 80.7 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for dartsclone-0.9.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5771e089b564fd79edc2f3a21b03474bf4f115a8251d1b185c70110b334cf33b
MD5 0521e95c0f3b9cc8c4d607b474c20b44
BLAKE2b-256 be779b40e2f1944b284cf9c643556c511645b1e2caf176f09874036d34250b9b

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 473.6 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dc23a841448f6382903cf893c99b54713a4ddc362f8af39d62e8b2b8eac94377
MD5 bac2edb2fe61070efed4d4223af96d39
BLAKE2b-256 636e3680ae2eb9fe32698f7489630186314106b8464ad37747268ff36fe2dec7

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 445.3 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac706d78f83e0ab9281b56136e2c90179b68e444cde48ebe74ddb3462d608499
MD5 29f118716f706c7e87b61d14696e2e6b
BLAKE2b-256 21a3ce4d44e44ffc58e32130215897cad753bda5a540dcf77a469eb96deb52be

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 113.9 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for dartsclone-0.9.0-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 57e94d298109fbeacfbec3ea39cb5be02c1e662d9a026f6bbe629725f4bcf714
MD5 d357c7b641eb75b5ec4ebe5cbe46e9c1
BLAKE2b-256 268a4409d6476234403ad8eea9cee23f3da81e1d52555385651f07f1db166f24

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 97.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for dartsclone-0.9.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d82d9291f76bf6d884e1856220bf4eb5e2782b442e9862c5eb46cd7a5e78b0d1
MD5 65c26599bc3b5fceb831e0181bdbb337
BLAKE2b-256 d4289e1ca9ae7df7739c55e726fcc29bfeefa955c9d923e7ce56345487290a90

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for dartsclone-0.9.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 fbd6bedaa48d6e2a55bf3c3e2d7e237dc16011c94e095378be4cf38a2d2be6f3
MD5 a3e3bac0c2e690da959eec2f4a9462f8
BLAKE2b-256 6b29d1f4fc9123016516a55ee5e253c421c74c3dc5ec3d65d833809c0738a43b

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 474.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 86773da42e67bc88429c5dbfb1bbd730ada89705cd19a22818dbda07022acdc3
MD5 6ae70c9e0a78f441ac2333ebd629f109
BLAKE2b-256 6d34987a076369ed086ee953e2f0b9ab5ff3e1a682ba4f781678ac5648144896

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 446.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for dartsclone-0.9.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 31526b6be82f2b6dd972802483298c964735044ced874d86a41aaa2767946b05
MD5 e2b9141143529b1a31060d1ab31c41ad
BLAKE2b-256 6fa84fc48d0d51537ffc5919dc67c16a46ecf53904bb2379d08d229a7920502b

See more details on using hashes here.

File details

Details for the file dartsclone-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for dartsclone-0.9.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 9d7776a98a29a09f27605b2a38776c098f967065449fabc07b8417bee2ac2695
MD5 d34189d52a6148e918c1c0645506829e
BLAKE2b-256 ce1c93396cae7d0e23a97e67f1c5c7ed7ce3c817733ba804aa806cbe7120a2b2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page