This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Python library that provides an api to search and get links from Books,Magazines,Comics,… from Library Genesis.

Requirements:

  • Python 2/3
  • Grab library and it’s dependencies.

Installation:

Two options: * Clone this repo and use “python setup.py install” * Use pip, “pip install libgenapi”

Example of usage:

import libgenapi

lg=libgenapi.Libgenapi([“http://[INSERT MIRROR DOMAIN 1 HERE].com”,”http://[INSERT MIRROR DOMAIN 2 HERE].com]) # You can add as many mirrors as you want.

lg.search(“python”)

Then the results are something like this (but… without the crazyness :P real links and titles…):

[
    {
        "author":"Dat Guy",
        "series":"Library of New Guy Studies volume 420",
        "title":"Dat perfect 5/7 Title !",
        "isbn":[123456],
        "edition":"[1 ed.]",
        "publisher":"WHo knows? Me no!",
        "year":"420",
        "pages":"420",
        "language":"chan",
        "size":"420 kb",
        "extension":"vap",
        "mirrors":["http://IDontWantADMCA.takedown/view.php?id=1337HAYKER",
                 "http://IDontWantADMCA.takedown/ads.php?md5=MD5HERE",
                 "http://IDontWantADMCA.takedown/md5/MD5HERE",
                 "http://IDontWantADMCA.takedown/md5/MD5HERE"
                 ]
    }
]

You can also choose the column to search like this:

l.search("93438924","identifier") # Identifier is ISBN
l.search("Michael","author")
...

Other examples:

You can make a quick command to search using an alias, for example in zsh you can add this to your .zshrc: > alias lgen=”python -c ‘import sys;import libgenapi;l=libgenapi.Libgenapi(“http://[INSERTDOMAINHERE]/”);print(l.search(sys.argv[1]))’”

Release History

Release History

1.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.7

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
libgenapi-1.2.0-py2.py3-none-any.whl (6.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Apr 25, 2016
libgenapi-1.2.0.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Apr 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting