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.10.2.tar.gz (21.7 kB view details)

Uploaded Source

Built Distributions

dartsclone-0.10.2-cp39-cp39-win_amd64.whl (93.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

dartsclone-0.10.2-cp39-cp39-win32.whl (79.2 kB view details)

Uploaded CPython 3.9 Windows x86

dartsclone-0.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (632.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dartsclone-0.10.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (627.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

dartsclone-0.10.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (614.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

dartsclone-0.10.2-cp39-cp39-macosx_10_15_x86_64.whl (107.5 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

dartsclone-0.10.2-cp38-cp38-win_amd64.whl (93.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

dartsclone-0.10.2-cp38-cp38-win32.whl (79.4 kB view details)

Uploaded CPython 3.8 Windows x86

dartsclone-0.10.2-cp38-cp38-macosx_10_14_x86_64.whl (105.4 kB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

dartsclone-0.10.2-cp37-cp37m-win_amd64.whl (91.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

dartsclone-0.10.2-cp37-cp37m-win32.whl (77.3 kB view details)

Uploaded CPython 3.7m Windows x86

dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (599.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (594.4 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

dartsclone-0.10.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (582.1 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

dartsclone-0.10.2-cp37-cp37m-macosx_10_14_x86_64.whl (105.1 kB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

dartsclone-0.10.2-cp36-cp36m-win_amd64.whl (105.1 kB view details)

Uploaded CPython 3.6m Windows x86-64

dartsclone-0.10.2-cp36-cp36m-win32.whl (86.9 kB view details)

Uploaded CPython 3.6m Windows x86

dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (601.2 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (595.0 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

dartsclone-0.10.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (583.2 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

dartsclone-0.10.2-cp36-cp36m-macosx_10_14_x86_64.whl (123.7 kB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: dartsclone-0.10.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for dartsclone-0.10.2.tar.gz
Algorithm Hash digest
SHA256 a6835cf63d8a2947ea80cbdbd7b203b6f1102678c93937d05c119d49546d24b4
MD5 4cb3304e98cf9137cbbdc1cc4653304f
BLAKE2b-256 e19be8b9dce43e1ff3a3328de8e2b21f9c0d8a213516b9dc3aaa49546223b1ce

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 61768572849d9ce7af468bfa4be7dc0a9b00e31f8e060628860bd911c0b2b1c4
MD5 19d224fb0efea7e5b15fa6eee97d8db0
BLAKE2b-256 dd6fd62c016da4c27d0bf26a683ac0a3f0b69f22f3f0278f8eb4a94ffc5f6387

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: dartsclone-0.10.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 be57650dfeae23bdbd0aa18aa9691883621f0b2b691c179dcb083a7ee3b743ca
MD5 593de83e1523997d8fa77e53973b3da8
BLAKE2b-256 f866f67a9ad7469e2529f97eeced0afe20c8c50b2dd7c77e92ee2e4dcd7753ad

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b03a4171a4c86b200b164687e17e2c15f431775c2ad874073db31501a207111
MD5 e43389b7b7352ed9bdbe4cbcf7206a26
BLAKE2b-256 7b630ee2bc3765b5fca4a491d10505ca032c3e0f86b19225e526ade8b21c0e48

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b0606daf0d0997fe06050b180e3ebe89e02b5a9fd13dc396b0d462648e66b05a
MD5 bcf5180a2f87d98a6060e14cffa3a4b3
BLAKE2b-256 d66230ea6f7b0740beeb27bf03afa82667443e3a4125e6861d80d221e089e83b

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9656581df883bf167b032583da542ff1f9d7e560cc3e1f78bc9b02553be38bb3
MD5 c4f9b4fd3efac34c5c0bc740d26326ff
BLAKE2b-256 5720ef09ed769592d91af6dc19a04b254fdaafa212ce4253a8bc27655838214c

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e6006fad1b356c813612111267a7a0b676a68ecea24090ca60fc5556d299acb2
MD5 0cde22d39bbdd0e2ede5672d648fba36
BLAKE2b-256 aedafb434a961454c836f4c17c0637f5e055437ec1c9964709d74d48e49df1a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 729b611a902997214baa9f163db6633cfe1b8e34aa76e1d00e3b87b2ba8b010a
MD5 7a2afa7a459dd0f0930933242e8c1367
BLAKE2b-256 1717251f2313c6486a6276f2d838f9daddcc7dcae730dc576ed570150e6adf1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dartsclone-0.10.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 79.4 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for dartsclone-0.10.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 8d4b2d3ac8e1d926a82bbfae45cb6f456c243f89c4055511359300c681e66335
MD5 73e35444b4ff5b477b605cbb5e422784
BLAKE2b-256 0990be610d6ad70e1362929adfd067c7b4863d10d953354e33a194dcc7304a7c

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a213d40e2c660f98039ef8f3b44df5eb848c3730f91f6e4f79109643ffdcb5cc
MD5 60595948511551c3b0f63f57080fc1b0
BLAKE2b-256 07fcf2a20380365ef7792b5716dec429672f110e9c871433d073c10c962a4cde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e7430a7c11b91f6a51d1ea2b2020134a6ed6fafb8b8f61ea7f69e5326e437b65
MD5 11a6d0167acaf7475db309a1c34fa3e6
BLAKE2b-256 2e7811b86d70b70d694c0f9907f25d2da6f485e7c529ad284f345307da1057b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dartsclone-0.10.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.9

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e465822ffc9f5c53e4974ce53ce717fc16e022b206e810b7879a95d8df39b2cd
MD5 b9fbf48a955f5a95f72722e46d18f282
BLAKE2b-256 95887276a7c4fd332b1bc5b92cfad2b11abe906094d35e3ca8c9ebd7a04b3158

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fdc03b6edd357db128d00ebcecc87e890a3858b2c74cd3e53bbfc8f4265619e5
MD5 cd60132d1b53c6e0e53076f419bd271c
BLAKE2b-256 31c1afbb7a89b4418ce53f702d383b368022ef721b0eb7f08eaf0ba928283f94

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c593373d42c358003a115789026c17cde011cd107a4722d595396ccff7bab55d
MD5 26344773361055c7812cdc311512b550
BLAKE2b-256 28abef5cf2196d4a4e1d18d42e29e6b5f838c97525cb0d03b98c4b9eb43c14ad

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5baeb4cf77c3c691ed3686d01e1388a92c0355f9f60ea5aa9d9e11c574c80f21
MD5 cce5f27c8eeb6c2476ffd1c0abcf40a3
BLAKE2b-256 b88974ce30aef4fd47164e2472cb6949a13539ec93f96159abcf9e26a3e03f25

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bf8c318e41e48e694bc7ba29bc7a3da1e9f456c7f5d9725c8aab0294df1bde7b
MD5 809e9a1dbd51dcc618172eeb9fbaece1
BLAKE2b-256 73e61b772598034624cffa26d5058a37c3c53f15fe7c7048dabd36596987bef0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dartsclone-0.10.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 105.1 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f2cd0699c333bb2ad6f24dc84b4571e565b4d62d6b5da55a5a950e562c6741c3
MD5 915ea5ec6db82d5d80ee7a1c217c178b
BLAKE2b-256 147cb96ac528ee7dd1ad2c2dd86537407a736bc337ec12aa28c75e919c99f20f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dartsclone-0.10.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 86.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 b120c14830d2ab4e629da5b73efc8507e0d7916c046835939c348da336678fc9
MD5 6119f5d4c873579dd24b27af25561e1e
BLAKE2b-256 50dc9599641f18d3d197f98693875bc35d18582a47423836e9380c9d0162ba75

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a0b310327aa3783cd40c52326f0822141ce12f3b4bdbd12150b485d7c8c9074
MD5 122dacd6ae8dd3741f59c99262392ad1
BLAKE2b-256 5ae7de43eda3ed07e17da568541d12bf528ca60abca444656211942eea624915

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a37265d2e8cfdf49f88ca6d2449890e5afcae6c3d6b175435d0d88bf54b6938c
MD5 3dd53f41d9f0e4059762594be3184ce0
BLAKE2b-256 65e8db1528f496e9adc017cf36347e9f42809c97b505e577fee022e1092d1ca3

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cac968e480afc30c1da8bd8a084b563dc20b33ccbcf649df9e328616d3dc5c0b
MD5 88fb7496eec5635c50da928f6e5d8f1f
BLAKE2b-256 803d4b341bee0c166716240f5e39a7f21d68d505a9df683ce77773a138e5de90

See more details on using hashes here.

File details

Details for the file dartsclone-0.10.2-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: dartsclone-0.10.2-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 123.7 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for dartsclone-0.10.2-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 17a3759dc8323b9a4c7a4ba8a0ca03fb4cfb8bbac030617194db76a2f5127d93
MD5 8c11320c206786ca3ae3d8ebef1f942b
BLAKE2b-256 60cc1adbf5d1cea83ea4c0f0a192395ab4300368ee64b14130081348450bdbdd

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