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_SHELVESenvironment 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'))]]
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spindex-0.0.7.tar.gz | 9.0 kB | Without provenance | Details for spindex-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spindex-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for spindex-0.0.7-py3-none-any.whl |
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
|
Security for spindex 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.