Skip to main content
https://travis-ci.org/scisco/wordpad.svg?branch=master

Adds padding to the right or left of a given string

Installation

$ pip install wordpad

or:

$ python setup.py install

Tests

$ python setup.py test

Example

>>> from wordpad import pad
>>> pad('1', 3)
'001'
>>> pad('1', 3, direction='right')
'100'
>>> pad('his', 4, char='t')
'this'

Release files for wordpad 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wordpad 0.1.0
File Size Uploaded
wordpad-0.1.0.tar.gz 1.7 kB Details

Release files / wordpad-0.1.0.tar.gz

Download URL wordpad-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
494fe24032a3c38d32a578ab3e3657bf99cda2e1a604959ddd0d5b19ea9e6535
BLAKE2b-256 checksum
How to use checksums
1bff3bfc5a58774cd0a11f1ce23311b8651a2c9f430ee5252a8b5617c3de8698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page