Skip to main content

A library (books) creator and simple libgen book downloader.

Project description

Install using 'pip3 install digilib'

Check test.py file for usage

import digilib def test(): print("starting simple downlad test") book_name = "the road to reality" digilib.get_book_libgen(book_name) print("book downloaded...")

directory = '../book_lib'
txt_file = 'txt_file.txt'
catalogue_dir = 'catalogue_dir'

print("directory traversal catalogue test ...")
digilib.create_catalogue(directory,catalogue_dir)
print("created catalogue by directory traversal...")
print("starting to create library using catalogue file 'catalogue_dir'")
digilib.create_library(catalogue_dir)
print("library creation completed")


catalogue_txt = 'catalogue_txt'
print("txt file reading catalogue test ...")
digilib.create_catalogue(txt_file, catalogue_txt)
print("created catalogue by reading txt file")
print("starting to created library using catalogue file 'catalogue_txt'")
digilib.create_library(catalogue_txt)
print("library creation completed")

test()

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

mydlib-0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

mydlib-0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mydlib-0.1.tar.gz.

File metadata

  • Download URL: mydlib-0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for mydlib-0.1.tar.gz
Algorithm Hash digest
SHA256 604a18429f7bfd0a03f67dfac3478b14885a14b23f76a93507b0a9f27ed417da
MD5 04377ff74a52a09efed9eb56e1a19772
BLAKE2b-256 f55f2d889f92dd94cd71ac1d394b2faa316b085906026c06d4ae1a8c9e00d1fd

See more details on using hashes here.

File details

Details for the file mydlib-0.1-py3-none-any.whl.

File metadata

  • Download URL: mydlib-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for mydlib-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69e04b965a173b4d080fe1265cfc702a23fae41d764900cfacf8c0afa42e6e01
MD5 42e9b7806bed0fbddfa2347baaf4e19e
BLAKE2b-256 85889639a4dfad4783974fd59ae8d0df33f17fdd182a38f430e9d85628f85b84

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