Skip to main content

Dynamic page objects for browser automation.

Project description

Pomace

Dynamic page objects for browser automation.

Unix Build Status Windows Build Status Coverage Status PyPI Version PyPI License

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

This version

0.8.4

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.4.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

pomace-0.8.4-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file pomace-0.8.4.tar.gz.

File metadata

  • Download URL: pomace-0.8.4.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

Hashes for pomace-0.8.4.tar.gz
Algorithm Hash digest
SHA256 38f03e9fefe26bd7661da2e48a0233e8ef0a00397ab15db5fd126e87fb6e6d2f
MD5 68437085d6e97b9485063573f004112f
BLAKE2b-256 d8b5d64c88858b9fe48f02c5f4ef7c4c4677c34a8f283f1bf97024f780287be5

See more details on using hashes here.

File details

Details for the file pomace-0.8.4-py3-none-any.whl.

File metadata

  • Download URL: pomace-0.8.4-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.4.0

File hashes

Hashes for pomace-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 03e77f3d170c07e57e3943b4b6b3ae921606d86806081974d6cade103b06582a
MD5 a9e6ed808380818b75c038c756620b91
BLAKE2b-256 28ef6d8962d68ddb1afb5d54a834a56bc68df855c5a75df2d37e8e0f2b960ba7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page