Skip to main content

dex

Library index:

  • Data managed as ZIP files
    • If installing from a clone of the git repo, the files will be stored within the repo
    • If installing from PyPI, you must set the DEX_SHELVES environment variable with a path to locate the source files

Key features

  • Reliable metadata handling from ISBN numbers
  • Robust modern OCR of book indexes from neural networks pretrained for document image analysis

Requires

  • Python 3.9+

Installation

dex is available from PyPI, and the code is on GitHub

In theory you can install as follows:

pip install spindex

In practice, the suggested installation is stored in CONDA_SETUP.md:

conda create -n dex "python=3.9"
conda activate dex
conda install -y pytorch torchvision cudatoolkit=11.3 -c pytorch
pip install -r requirements.txt

For earlier versions of CUDA:

conda install -y "cudatoolkit<11.2" -c conda-forge
conda install -y pytorch torchvision -c pytorch

Usage

>>> import dex
>>> dex.load_library()
[INFO] Library contains 1 files
[[LibraryItem(metadata='📖: Strang (2019) Linear Algebra And Learning From Data',
archive_path=PosixPath('/home/louis/dev/dex/data/shelves/dex9780692196380.zip'))]]

Metadata

Release files for spindex 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spindex 0.0.7
File Size Uploaded
spindex-0.0.7.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spindex 0.0.7
File Interpreter ABI Platform
spindex-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / spindex-0.0.7.tar.gz

Download URL spindex-0.0.7.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
44ebd0bd5d1bb73b79d01e8eedfcee84eed2551e341e21a88d15d131183f5c73
BLAKE2b-256 checksum
How to use checksums
cc3f022eb9ff73dbded0d7b38b44ad45fbfee50e6f04894db0b30acef8d37a29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7

Release files / spindex-0.0.7-py3-none-any.whl

Download URL spindex-0.0.7-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7730ec7f660be63c8d310741f1e5f6ca796c1a1a9ec4c7da4e4fedce8e8f9dd5
BLAKE2b-256 checksum
How to use checksums
26555fea06b5624de70c7f4ca3fbfb0f19933f04277a36647d1bb28414f158fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page