This release is a pre-release and may not be stable for production use.
arackpy
arackpy is a web spider used to crawl and scrape web pages. It can be helpful in the event you quickly need some data from a site without the hassle of having to sign up and go through hoops for getting access to the information you need.
Requirements
arackpy currently supports Python 2.7 and 3.6+ out of the box. Depending on the data you want to extract, future releases will require one or more of the dependencies below to be installed to support the various backends:
BeautifulSoup
Selenium
requests
stem
fake_useragent
Installation
For the vanilla arackpy install do a simple pip install:
pip install arackpy
The following packages may also be installed:
pip install bs4, selenium, requests, stem, fake_useragent
Quickstart
Open up your favorite python text editor and type the following:
# hello_spider.py
from __future__ import division # for python 2.7
from arackpy.spider import Spider
- class HelloSpider(Spider):
“””A simple spider in just five lines of working code”””
start_urls = [”https://www.python.org”]
- def parse(self, url, html):
“””Extract data from the raw html””” print(“Crawling url, %s” % url)
- if __name__ == “__main__”:
print(“Press Ctrl-c to stop crawling”) spider = HelloSpider() spider.crawl()
Run the program using:
python hello_spider.py
Note
Press Ctrl-c to terminate crawling.
Metadata
Release files for arackpy 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arackpy-0.1.0a1.tar.gz | 10.6 kB | Without provenance | Details for arackpy-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arackpy-0.1.0a1-py2-none-any.whl | Python 2 | none | any | Details for arackpy-0.1.0a1-py2-none-any.whl |
Total release size: 26.7 kB
Release files / arackpy-0.1.0a1.tar.gz
| Download URL | arackpy-0.1.0a1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b400954dbcc21d5d0517fdd87ca58a555fefecd76057c2b5008e708543430274
|
|
BLAKE2b-256 checksum How to use checksums |
f69034d1dae35c432d4d9c0232ae9d596a4f5f19bd4e13e707e85dc9b5b42a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.12
|
Release files / arackpy-0.1.0a1-py2-none-any.whl
| Download URL | arackpy-0.1.0a1-py2-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
89fa26d64f64859a04214f6e761adc1864349851bdbf31dcbe5d481d204b0861
|
|
BLAKE2b-256 checksum How to use checksums |
c0ed5de9e81104a250f71955df5b7c1557d8b76ee58355c747f6c9b45466e83d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.12
|
Security for arackpy 0.1.0a1
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.