Cantaloupe
An extensible framework for building browser automations.
Note: This library is still very much WIP 🧪. This means that breaking changes can be introduced at any point in time.
Getting Started
Installation
$ pip install cantaloupe
Usage
$ poetry run cantaloupe --help
Example Workflow
A workflow is a YAML file that describes a series of steps to be executed. The following example workflow will open Google and type "cantaloupe" into the search bar.
Note: nothing will actually happen until a cantaloupe plugin is installed that implements the logic to translate the workflow steps into browser actions. Please see the Plugins section for more information.
name: "Google Search"
steps:
- action: goto
config:
url: "https://google.com"
- action: type
config:
selector: "input[name='q']"
text: "cantaloupe"
Plugins
- cantaloupe-playwright coming soon
Development
Requirements
- Python >= 3.10
- Poetry
Creating plugins
Plugins are created by implementing the cantaloupe hookspec. See cantaloupe/hookspecs.py for the hookspecs.
Metadata
Release files for cantaloupe 0.1.4
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 |
|---|---|---|---|---|
| cantaloupe-0.1.4.tar.gz | 7.0 kB | Without provenance | Details for cantaloupe-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cantaloupe-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for cantaloupe-0.1.4-py3-none-any.whl |
Total release size: 17.0 kB
Release files / cantaloupe-0.1.4.tar.gz
| Download URL | cantaloupe-0.1.4.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afbf6bfd21335feb91371351c8b9b5ce075af11553077bb77f2c0634514941d7
|
|
BLAKE2b-256 checksum How to use checksums |
4fef935cb8007cd63d9259555140df06a675738bd60ba5009abee52b1a3c6804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / cantaloupe-0.1.4-py3-none-any.whl
| Download URL | cantaloupe-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a055e2799a66edb69b9a44267366cc515d8b93b31ca6e376f7f2cfe3e824eda
|
|
BLAKE2b-256 checksum How to use checksums |
d3ac18866bff72ec389af86eded72984b4f2a423280e0e83ca56d0554ce5de94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for cantaloupe 0.1.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.