Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

String Formatter for Robot Framework

Project description

StringFormat is a string formatter for Robot Framework. This library is a python .format() wrapper.

Usage

*** Settings ***          
Library StringFormat        
*** Test Cases ***          
Format Text          
  ${url}= Format String https://api.domain.com/users/{0}/sites/{1} paul internal
  Log To Console ${url}      

Output

https://api.domain.com/users/paul/sites/internal

Supported Format

StringFormat library utilizes python str.format method to construct formatted string. The format spec depends on what version of python this library being executed on. See the following resources for detail.

License

MIT

Project details


Release history Release notifications

This version
History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
robotframework_stringformat-0.1.7-py2.py3-none-any.whl (4.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page