extract keys from a python format string
Project description
Installation
$ [sudo] pip install format-keys
Functions
function | __doc__ |
---|---|
format_keys.keys(string) |
return a list of format keys |
Examples
>>> import format_keys
>>> format_keys.keys("https://api.travis-ci.org/{fullname}.svg?branch={branch}")
['fullname', 'branch']
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
format-keys-2019.3.22.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for format_keys-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a061d94d79e2e8f3cd9c2f95d4f340822b4581813e71438c1f64fd01912ef7c |
|
MD5 | 88b6dcce2e39880c3e7da5447ea5e035 |
|
BLAKE2b-256 | 38c5850cc0b3ce6957bfa9595cfd63085f7bec5daea158a69e92984c8c68bc7c |