Skip to main content

a python library to search free eBooks online using Library Genesis's database

Project description

GiGS-eBook

a python library to search free eBooks online using Library Genesis's database

Installation

pip3 install gigsebook

TODO

  • Better error handling

USAGE

  • import the class FetchData

    from gigsebook import FetchData

  • initialize an instance of FetchData with the query

    output = FetchData('your_query')

  • now output.data should be filled with the returned info, use it to your needs. e.g.

    print(output.data)

    should provide you with:

    [
        {
            'title': 'dummy',
            'author': 'dummy, dummy2',
            'year': '0000',
            'publication': 'dummy',
            'pages': '0',
            'language': 'dummy',
            'size': '0 Bytes',
            'extention': 'none',
            'links': ['https://example.example',
                      'https://example2.example']
        },
    
        {
            'title': 'dummy',
            'author': 'dummy, dummy2',
            'year': '0000',
            'publication': 'dummy',
            'pages': '0',
            'language': 'dummy',
            'size': '0 Bytes',
            'extention': 'none',
            'links': ['https://example.example',
                      'https://example2.example']
        },
    
        .
        .
        .
    ]
    

    Note that the output above is not JSON, It's just a list of dictionaries. The representation is just to make it readable.

NOTES

I DO NOT RECOMMEND PIRACY OF ANY CREATION, BUY THE ORIGINAL COPIES TO SUPPORT THE AUTHOR. THIS CODE IS FOR EDUCATIONAL PURPOSES. FOR OTHER USES, YOU ARE RESPONSIBLE FOR WHAT YOU DO.

LICENSE

Licensed under MIT License

Copyright (c) 2020 Gaurav Kumar Yadav

Head over to the LICENSE for details

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

gigsebook-1.0.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

gigsebook-1.0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file gigsebook-1.0.3.tar.gz.

File metadata

  • Download URL: gigsebook-1.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for gigsebook-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7b4a3087a732f840d15490ad80787c852e944d045c322dbc07d67ee8d3081589
MD5 c63adf37d978e04febef3660267bd9c6
BLAKE2b-256 339dff23e2f02df7f7744c088879a113bf1704369b0140c7e848b1aa9f89b9ec

See more details on using hashes here.

File details

Details for the file gigsebook-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: gigsebook-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for gigsebook-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b4c186988316b6753d1f5076c5c8cf2c33c7ea454fb446feae7ee7251d0349a1
MD5 ff67dd6ded488a34e7110535f652031d
BLAKE2b-256 b6c8842b27bf7bdb52f5ee9f2c6c2fd56b91fa140373f31817ce5a7ddf034fb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page