Skip to main content

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']

python-readme-generator

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