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.12.tar.gz
(22.5 kB
view details)
Built Distribution
pomace-0.8.12-py3-none-any.whl
(26.2 kB
view details)
File details
Details for the file pomace-0.8.12.tar.gz
.
File metadata
- Download URL: pomace-0.8.12.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.0 Darwin/20.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4668f6c4e640013d57870663b088d7264e4dacc79731bc6630419594cbf4e4c |
|
MD5 | 984c976dcc46c13d92b86c48cae0bbfb |
|
BLAKE2b-256 | b418cfa3b700eb61c009aa17d18567b9e967e364f3c49000386f5b157cc9c6fc |
File details
Details for the file pomace-0.8.12-py3-none-any.whl
.
File metadata
- Download URL: pomace-0.8.12-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.0 Darwin/20.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 671cb1538ae8001399380fa1b20f6a21ab83c37ac1d7c625365dc9256f8d04af |
|
MD5 | 2171506656a764af83a13fc0b06bd432 |
|
BLAKE2b-256 | 211d57c73693c62d9bd7730cf36fb284e3f57b6ba8bff467b454ae8f8d33a3f7 |