Shortcut functions for web operations
Project description
Shortcut Functions for Web Operations
Install
# Install without extras
pip install invisibleroads-macros-web
# Install with extras
pip install invisibleroads-macros-web[markdown]
Use
# Open browser
from invisibleroads_macros_web.browser import open_browser
# Escape characters
from invisibleroads_macros_web.escape import (
escape_quotes_html, escape_quotes_js)
# Check ports
from invisibleroads_macros_web.port import (
find_open_port, is_port_in_use)
# Render markdown
from invisibleroads_macros_web.markdown import get_html_from_markdown
Test
git clone https://github.com/invisibleroads/invisibleroads-macros-web
cd invisibleroads-macros-web
pip install -e .[markdown,test]
pytest --cov=invisibleroads_macros_web --cov-report term-missing tests
0.1
- Add open_browser, escape_quotes_html, escape_quotes_js
- Add get_html_from_markdown, find_open_port, is_port_in_use
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
Close
Hashes for invisibleroads-macros-web-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffd2c75d2ea4a05f02545fb5a81337b7d9a2c4ab0f167660be629f4b40b418a |
|
MD5 | c44d2ab6552ea5136d238f7b9f0c4fc7 |
|
BLAKE2b-256 | 9ff90f036055b8a7bfcab752926f5f5d9a58f28e8baed5e943567687111e7b45 |
Close
Hashes for invisibleroads_macros_web-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da94c72dc02f3d6fbecda3c8659bcd9ea4843a7a633ae7dc0be345b504d81c97 |
|
MD5 | 8fc9af364dca28730345004da1b9fba5 |
|
BLAKE2b-256 | ddf7fdd7c97829de290d794624a973eb78ee70d472066c83996995b569d4ad01 |