Skip to main content

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

Project description


git: Install using 'pip3 install mydlib'

Check file for usage

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

Example //txt_file.txt

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/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 Distribution

mydlib-0.3.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

mydlib-0.3-py3-none-any.whl (6.1 kB view hashes)

Uploaded py3

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