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.13.tar.gz
(22.5 kB
view details)
Built Distribution
pomace-0.8.13-py3-none-any.whl
(26.2 kB
view details)
File details
Details for the file pomace-0.8.13.tar.gz
.
File metadata
- Download URL: pomace-0.8.13.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 | d8027b4a18d176082d095ddb0bb48828cf257b9e8a6fdf65c6267f79593bfc6a |
|
MD5 | 2062e7463eee70af83636bdb61682d8a |
|
BLAKE2b-256 | 313471a80f69f6000a0ab0ffda9a4c27906afceb143152c60d5c000641d25cf2 |
File details
Details for the file pomace-0.8.13-py3-none-any.whl
.
File metadata
- Download URL: pomace-0.8.13-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 | de4a5caf86ce7eb0f103a3af9320dc00786a9b9c3e602c5c4c280a489ca820ec |
|
MD5 | 73023f5c255a0419c62c8b9d59c518f8 |
|
BLAKE2b-256 | 6197f37baa45d18d8fc19ea6e2783ef9a2e88cbcce058e3aba36516c44b7f1b3 |