Skip to main content

A simple english joiner.

Project description

This module is pretty self-explanatory.

>>> from eng_join import join
>>> join(['blue', 'red', 'yellow'], conj='or', im_a_moron=True)
'blue, red or yellow'
>>> join(['blue', 'red', 'yellow'], conj='or')
'blue, red, or yellow'
>>> join(['blue', 'red'], conj='or')
'blue or red'
>>> join(['blue', 'red'], conj='and')
'blue and red'
>>> join(['blue'], conj='and')
>>> join(['blue', 'red', 'yellow', 'green', 'yello'], conj='and')
'blue, red, yellow, green, and yello'

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 eng_join, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size eng_join-0.1.0-py2-none-any.whl (2.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size eng_join-0.1.0.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page