Dynamic page objects for browser automation.
Project description
Pomace
Dynamic page objects for browser automation.
Usage
Quick Start
Open Terminal.app in macOS and paste:
python3 -m pip install --upgrade pomace && python3 -m pomace run
or if you have Homebrew:
brew install pipx; pipx run --no-cache pomace run
Installation
If you're planning to run Pomace multiple times, install it with pipx first:
pipx install pomace
or get the latest version:
pipx upgrade pomace
Then download some site models:
pomace clone https://github.com/jacebrowning/pomace-twitter.com
And launch the application:
pomace run twitter.com
Troubleshooting
If you are seeing this error:
Traceback (most recent call last):
File "/Users/Me/.local/bin/pomace", line 5, in <module>
from pomace.cli import application
File "/Users/Me/.local/pipx/venvs/pomace/lib/python3.9/site-packages/pomace/cli.py", line 9, in <module>
from . import models, prompts, server, utils
File "/Users/Me/.local/pipx/venvs/pomace/lib/python3.9/site-packages/pomace/server.py", line 4, in <module>
from flask_api import FlaskAPI
File "/Users/Me/.local/pipx/venvs/pomace/lib/python3.9/site-packages/flask_api/__init__.py", line 1, in <module>
from flask_api.app import FlaskAPI
File "/Users/Me/.local/pipx/venvs/pomace/lib/python3.9/site-packages/flask_api/app.py", line 4, in <module>
from flask._compat import reraise, string_types, text_type
ModuleNotFoundError: No module named 'flask._compat'
Trying uninstalling and reinstalling flask:
$ pip uninstall flask && python -m pip install flask
Then upgrading Pomace:
$ pipx upgrade pomace
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pomace-0.8.2.tar.gz
(22.1 kB
view details)
Built Distribution
pomace-0.8.2-py3-none-any.whl
(25.8 kB
view details)
File details
Details for the file pomace-0.8.2.tar.gz
.
File metadata
- Download URL: pomace-0.8.2.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.0 Darwin/20.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863f77ba1a1452281db0f6a2ae3ec91d0f9115f4c93396b0eb220eadef2200e2 |
|
MD5 | e32d9d5bb76d3428b22545d71adc4a8e |
|
BLAKE2b-256 | 580d5d89e97ae5f655a65c2bba8ba34d3b63d89b79e3c5729e9eac91e931f280 |
File details
Details for the file pomace-0.8.2-py3-none-any.whl
.
File metadata
- Download URL: pomace-0.8.2-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.0 Darwin/20.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d7316fc47e1d7cca5ea1231c7be8821af7ae6b81a4512d197ec1cf518a55a66 |
|
MD5 | 455a7ac9b6f949370a8e4722f190b329 |
|
BLAKE2b-256 | 224efe80c7ec65d32b0021c0ec375a859fd56256714799ac6fbe40a55bc37d76 |