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 Distribution
mydlib-0.2.tar.gz
(5.0 kB
view details)
Built Distribution
mydlib-0.2-py3-none-any.whl
(6.1 kB
view details)
File details
Details for the file mydlib-0.2.tar.gz
.
File metadata
- Download URL: mydlib-0.2.tar.gz
- Upload date:
- Size: 5.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed0b9cb8e35dc8028e28ee55993b3c17e0c0edb350454ca652bfa6bca7512c0 |
|
MD5 | b007c21443be751baa0763a447204d82 |
|
BLAKE2b-256 | 9c2e11607089864241ada6f3ed620657087d7668458f9cf848355e632f97cf83 |
File details
Details for the file mydlib-0.2-py3-none-any.whl
.
File metadata
- Download URL: mydlib-0.2-py3-none-any.whl
- Upload date:
- Size: 6.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e06bce565dcefb6d7620be270076988e55b977965e4f69b2ab3d25ab155016 |
|
MD5 | 24ddfb21d6aaa131e65eb1de0852015d |
|
BLAKE2b-256 | 8ca69e967ad013e66c934b8282dba07c5ee698846cea7f230a2b52b359df5485 |