Fast torrent parser from PirateBay.
Project description
Official docs for FastBay.
Installation
To use FastBay, first install it using pip:
pip install fastbay
Usage
Firstly you need to import FastBay to your project. To do so, use:
from fastbay import fbay
NOTE
Please be careful as sometimes you will need to provide the whole name of a torrent.
Example:
WRONG: charlie and the choco
RIGHT: charlie and the chocolate factory
Let's see how to get a torrent title.
from fastbay import fbay
fbay = fbay('poirot')
print(fbay.title())
As you can see here, we are firstly importing fastbay and after that on line 3, we are providing the name of the torrent.
Now let's have a look on how to get the download link for our torrent.
from fastbay import fbay
fbay = fbay('poirot')
print(fbay.link())
Final step is to get some info about the file we are going to download. To get that, we will use:
from fastbay import fbay
fbay = fbay('poirot')
print(fbay.info())
Now let's get this all by simply using:
from fastbay import fbay
fbay = fbay('poirot')
print(fbay.title())
print(fbay.link())
print(fbay.info())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastbay-0.1.tar.gz.
File metadata
- Download URL: fastbay-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ab47539eb8aeba0538ed94d8f797ba834f221bd6f69fed3d1671ad43d6a264
|
|
| MD5 |
c9d214f0aabdd85fb68367b93a6bc579
|
|
| BLAKE2b-256 |
c48c4096a7421224cf15e632be6a4b80593d8292e97c847bb68aaf558280f356
|
File details
Details for the file fastbay-0.1-py3-none-any.whl.
File metadata
- Download URL: fastbay-0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
245725bd79b6671d139216a54d96dd63b2d6349f3fe59955acd66b2e5e16c567
|
|
| MD5 |
e46bb9fde9323637fcbf8baf979de8b5
|
|
| BLAKE2b-256 |
2522efd6e5277c411f64e9c668b04b596e22657776792fe167807f08faa0cce9
|