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.4.13.tar.gz
(1.3 kB
view hashes)