Skip to main content

extract keys from a python format string

Project description


$ [sudo] pip install format-keys


function __doc__
format_keys.keys(string) return a list of format keys


>>> import format_keys
>>> format_keys.keys("{fullname}.svg?branch={branch}")
['fullname', 'branch']


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for format-keys, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size format-keys-2019.4.13.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page