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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pomace-0.8.6.tar.gz.
File metadata
- Download URL: pomace-0.8.6.tar.gz
- Upload date:
- Size: 22.2 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 |
4674131d7192ec7267c1a71b2ca5b5ad58bdd7add5fe3196c8885e02044d175e
|
|
| MD5 |
ec8905cf645a1cecaddeb373abee1c0b
|
|
| BLAKE2b-256 |
881b97d661aa90954480fc9c90bf460e2709627844c2867608f5b2712bd7d803
|
File details
Details for the file pomace-0.8.6-py3-none-any.whl.
File metadata
- Download URL: pomace-0.8.6-py3-none-any.whl
- Upload date:
- Size: 25.9 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 |
bd1fe50ab5522b337f195cf393e36a42e36bd6530558606ec75c14d9694353cc
|
|
| MD5 |
7fa32df90699e7cb7d42011fe1b836fb
|
|
| BLAKE2b-256 |
b46c5a84063529e4a1d6907c1801ad2a5bdfc7fbf293c2b031916ee53f452dca
|