Memorious
The solitary and lucid spectator of a multiform, instantaneous and almost intolerably precise world.
—Funes the Memorious, Jorge Luis Borges
memorious is a light-weight web scraping toolkit. It supports scrapers that collect structured or un-structured data. This includes the following use cases:
Make crawlers modular and simple tasks re-usable
Provide utility functions to do common tasks such as data storage, HTTP session management
Integrate crawlers with the Aleph and FollowTheMoney ecosystem
Get out of your way as much as possible
Design
When writing a scraper, you often need to paginate through through an index page, then download an HTML page for each result and finally parse that page and insert or update a record in a database.
memorious handles this by managing a set of crawlers, each of which can be composed of multiple stages. Each stage is implemented using a Python function, which can be re-used across different crawlers.
The basic steps of writing a Memorious crawler:
Make YAML crawler configuration file
Add different stages
Write code for stage operations (optional)
Test, rinse, repeat
Documentation
The documentation for Memorious is available at alephdata.github.io/memorious. Feel free to edit the source files in the docs folder and send pull requests for improvements.
To build the documentation, inside the docs folder run make html
You’ll find the resulting HTML files in /docs/_build/html.
Metadata
Release files for memorious 2.6.5
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 |
|---|---|---|---|---|
| memorious-2.6.5.tar.gz | 41.0 kB | Without provenance | Details for memorious-2.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| memorious-2.6.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for memorious-2.6.5-py2.py3-none-any.whl |
Total release size: 93.5 kB
Release files / memorious-2.6.5.tar.gz
| Download URL | memorious-2.6.5.tar.gz |
|---|---|
| Size | 41.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5690d32309cc7a269190bd157df7b6a4c9f9f9e896367ea1ba02d483c211e76d
|
|
BLAKE2b-256 checksum How to use checksums |
508597ec7c1f8bdd90f73347b3972a5b6c663f5995e7a49e4cd3f73c46af8510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / memorious-2.6.5-py2.py3-none-any.whl
| Download URL | memorious-2.6.5-py2.py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5997259e0e5e3e92012bd87d506dfd947f8900c53e8c5717696169a523c48780
|
|
BLAKE2b-256 checksum How to use checksums |
70dcf8543dbc42b92a041bfa59a5aa57e61e9a8906cd8bde1bcbe6fcca51dbe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for memorious 2.6.5
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.