Skip to main content

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

Project description

mydlib

git: https://github.com/anuragmaurya/mydlib Install using 'pip3 install mydlib'

Check test.py file for usage

//test.py
import mydlib 
def test():
	print("starting simple downlad test")
	book_name = "the road to reality"
	mydlib.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 ...")
	mydlib.create_catalogue(directory,catalogue_dir)
	print("created catalogue by directory traversal...")
	print("starting to create library using catalogue file 'catalogue_dir'")
	mydlib.create_library(catalogue_dir)
	print("library creation completed")
	catalogue_txt = 'catalogue_txt'
	print("txt file reading catalogue test ...")
	mydlib.create_catalogue(txt_file, catalogue_txt)
	print("created catalogue by reading txt file")
	print("starting to created library using catalogue file 'catalogue_txt'")
	mydlib.create_library(catalogue_txt)
	print("library creation completed")
test()

Example //txt_file.txt

books
books/Project Tuva: Richard Feynman's Messenger Lecture Series - Microsoft Research.html
books/Best Math Books - A Comprehensive Reading List. - Stumbling Robot core.html
books/Advanced Topics. - Stumbling Robot.html
books/All The Math Books You'll Ever Need | Math ∞ Blog.html
books/Best Math Books - A Comprehensive Reading List. - Stumbling Robot.html
books/Textbooks (Math and Statistics) - Mathematics - LibGuides at MIT Libraries.html
books/Noam Nisan, Shimon Schocken - The Elements of Computing Systems_ Building a Modern Computer from First Principles-The MIT Press (2005).pdf
books/Core Mathematics Subjects. - Stumbling Robot core.html
books/MIT Department of Physics.html
books/maths
books/maths/Carl D. Meyer - Matrix analysis and applied linear algebra. With solutions to problems-SIAM_ Society for Industrial and Applied Mathematics (2001).pdf
books/maths/pure mathematics
books/maths/pure mathematics/tensor analysis
books/maths/pure mathematics/tensor analysis/TensorsandtheirApplications.pdf
books/maths/pure mathematics/tensor analysis/424b86d95a9e41a065629ab73773ee9e96b8.pdf
books/maths/pure mathematics/tensor analysis/document.pdf
books/maths/pure mathematics/combinatorics and graphs
books/maths/pure mathematics/combinatorics and graphs/Combinatorics and Graph Theory.pdf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mydlib-0.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mydlib-0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 98ec9573a1a3f5e8fe5eceb2d6c3cc3f93a182cf07cc7383e860edb2daba3cc4
MD5 6eb366a77702b8bcfdb153a01675a79c
BLAKE2b-256 68e74fc67622e8846dd22a9a5cad666ac5cbfc7eccade961c3a68bf10dbeb181

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