Indexer under construction.
Project description
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
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'))]]
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
spindex-0.0.7.tar.gz
(9.0 kB
view details)
Built Distribution
File details
Details for the file spindex-0.0.7.tar.gz
.
File metadata
- Download URL: spindex-0.0.7.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ebd0bd5d1bb73b79d01e8eedfcee84eed2551e341e21a88d15d131183f5c73 |
|
MD5 | a04a47c93321bb72e819fc887ddec420 |
|
BLAKE2b-256 | cc3f022eb9ff73dbded0d7b38b44ad45fbfee50e6f04894db0b30acef8d37a29 |
File details
Details for the file spindex-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: spindex-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7730ec7f660be63c8d310741f1e5f6ca796c1a1a9ec4c7da4e4fedce8e8f9dd5 |
|
MD5 | 46641bd8a768c4a3cae2c2feee6ae610 |
|
BLAKE2b-256 | 26555fea06b5624de70c7f4ca3fbfb0f19933f04277a36647d1bb28414f158fd |