Okami
Okami is a high-level web scraping framework built entirely for Python 3.6+ using asynchronous model provided by standard library asyncio module with aiohttp as a networking layer and lxml for parsing data.
Architecture is entirely modular and main components can be swapped out and replaced with custom implementations.
Features
- complete website-wide page processing
- full scraping mode or delta mode scraping only unvisited pages
- immediate, on-demand or real-time page processing over HTTP API
- single page processing via command line
- lots of pipelines, middlewares and signals
Spiders are very simple implementations. Take a look at an example here.
Quick start
-
Install okami
pip install okami
-
Run example web server
OKAMI_SETTINGS=okami.cfg.example okami example server
Open localhost:8000 and browse around a little. Quite a remarkable website. We will run our example spider against this website shortly and process few items.
-
Run example spider
OKAMI_SETTINGS=okami.cfg.example okami example spider
Our example spider started and you can see it processing pages. Take a look at an example spider implementation here.
Documentation
Read the rest of documentation here.
License
Okami is licensed under a three clause BSD License. Full license text can be found here.
Metadata
Release files for okami 0.2.0
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 |
|---|---|---|---|---|
| okami-0.2.0.tar.gz | 20.5 kB | Without provenance | Details for okami-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| okami-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for okami-0.2.0-py2.py3-none-any.whl |
Total release size: 45.6 kB
Release files / okami-0.2.0.tar.gz
| Download URL | okami-0.2.0.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
887339537339a04c33700cd37ad6490c5e43d8e081865c28b47b7c1e0b71b2f2
|
|
BLAKE2b-256 checksum How to use checksums |
0abde75a8a747f7e829c3c9d7e1b43d626118b62a6c1e9c52c330e0f449a9d65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Release files / okami-0.2.0-py2.py3-none-any.whl
| Download URL | okami-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a9424280a8d0208e4d95eebd0b32f892cec9cd83733cb3e929e1cb39140c8331
|
|
BLAKE2b-256 checksum How to use checksums |
c09ba7106c4c24ff27029bbfb87769120b18711834114773ae7cc478dc932d36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Security for okami 0.2.0
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.