Welcome to RequestSoup!
RequestSoup was created with the goal to make Python web-scraping easier. The package interfaces both requests and BeautifulSoup, making them easier to use in conjunction with one another.
Installation
The installation process for RequestSoup is pretty easy! Just enter the following command in your terminal:
pip install RequestSoup
Usage
Usage of the package is almost identical to the indiviual use of requests and BeautifulSoup. Here is an example:
import RequestSoup as scraper
r = scraper.get("https://google.com")
# The Variable r is a Request Response Object
elements = scraper.findAll("a",{"href":"/"})
#elements will now be a list of all "a" elements on the page with an herf that points to "/"
For more detailed usage check out: https://requestsoup.readthedocs.io/en/latest/
Sessions
The package also features the ability to create Request Sessions. An example of this is provided here:
import RequestSoup as scraper
session = scraper.Session()
session.get("https://google.com")
#The session object makes it much easier to work with and send multiple requests to the same website
Feedback
This is my first public python package and I would appreciate any user feedback. For feature requests or changes, feel free to create an issue or pull request on the GitHub repo.
Metadata
Release files for RequestSoup 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| RequestSoup-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
| RequestSoup-1.0.4-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 9.0 kB
Release files / RequestSoup-1.0.4-py3-none-any.whl
| Download URL | RequestSoup-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b4988c7bf2e35efde322cff1d653b520608ae3d22cf73603f0b88b7bbfd6d2a
|
|
BLAKE2b-256 checksum How to use checksums |
9641f483e25d925675ecba3af301f640b7a259303f111c6596214464c996339b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / RequestSoup-1.0.4-py2-none-any.whl
| Download URL | RequestSoup-1.0.4-py2-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ffdb8658e5e34b006cf6ac8ad05d76b833d21094eb2e6c235ccbc842711e8100
|
|
BLAKE2b-256 checksum How to use checksums |
11e70c838ee8534d5b1441159c7aa5aa697c0ff3744cdb6ec365ee8b2844f1b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for RequestSoup 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.