estela Entrypoint
The package implements a wrapper layer to extract job data from environment, prepare the job properly, and execute it using Scrapy.
Entrypoints
estela-crawl: Process job args and settings to run the job with Scrapy.estela-describe-project: Print JSON-encoded project information and image metadata.
Installation
$ python setup.py install
Requirements
$ pip install -r requirements.txt
Environment variables
Job specifications are passed through env variables:
JOB_INFO: Dictionary with this fields:- [Required] key: Job key (job ID, spider ID and project ID).
- [Required] spider: String spider name.
- [Required] auth_token: User token authentication.
- [Required] api_host: API host URL.
- [Optional] args: Dictionary with job arguments.
- [Required] collection: String with name of collection where items will be stored.
- [Optional] unique: String,
"True"if the data will be stored in a unique collection,"False"otherwise. Required only for cronjobs.
QUEUE_PLATFORM: The queue platform used by estela, review the list of the current supported platforms.QUEUE_PLATFORM_{PARAMETERS}: Please, refer to theestela-queue-adapterdocumentation to declare the needed variables.
Testing
$ pytest
Formatting
$ black .
Metadata
Release files for estela-entrypoint 0.2.1
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 |
|---|---|---|---|---|
| estela_entrypoint-0.2.1.tar.gz | 13.2 kB | Without provenance | Details for estela_entrypoint-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| estela_entrypoint-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for estela_entrypoint-0.2.1-py3-none-any.whl |
Total release size: 30.5 kB
Release files / estela_entrypoint-0.2.1.tar.gz
| Download URL | estela_entrypoint-0.2.1.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f48fd2f5c04d1683a4df142811cf652aa8394aecf94478bc6524cad171ea38fb
|
|
BLAKE2b-256 checksum How to use checksums |
103af87c3a54ff468053944f3f325399876b6590553f1ec3378400a7d1d053fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.9
|
Release files / estela_entrypoint-0.2.1-py3-none-any.whl
| Download URL | estela_entrypoint-0.2.1-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
737142d5bbdf7d034eba42eb26e65d98d5c02cb83fb7e90328560c4541a821f6
|
|
BLAKE2b-256 checksum How to use checksums |
d4f0e7d15990a80718064b688a70b945beae3b46a1bfff26e5acb5f474f2a735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.9
|
Security for estela-entrypoint 0.2.1
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.