extract keys from a python format string
Project description
Install
$ [sudo] pip install format-keys
Functions
function | description |
---|---|
format_keys.keys(string) |
return list of format keys |
Examples
>>> import format_keys
>>> format_keys.keys("https://api.travis-ci.org/{fullname}.svg?branch={branch}")
['fullname', 'branch']
readme-md - README.md generator
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-2018.11.19.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for format_keys-2018.11.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75732bfd4d5b461f8b66a99cdc3214ab035f353a7a3e6be8f144a69ac46fa6b1 |
|
MD5 | f255b19e0e1c173c821eb29926dff08f |
|
BLAKE2b-256 | 0ea16661a2097dc3cdd1e6786a00970f8f01c3dd223717e03429c846a856f9e6 |