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') 'blue' >>> join(['blue', 'red', 'yellow', 'green', 'yello'], conj='and') 'blue, red, yellow, green, and yello'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eng_join-0.1.0.tar.gz
(1.7 kB
view details)
Built Distribution
File details
Details for the file eng_join-0.1.0.tar.gz
.
File metadata
- Download URL: eng_join-0.1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c883c1c315beecf6c221d0108128a80f766a1a91c87b4f4062dd3a75d8000967 |
|
MD5 | dc2d7b4b0aec1c7fd4e46b05ba521d5f |
|
BLAKE2b-256 | 7fa1a1eec7d28186d93aff933800d7d21ddeed646bbcef36921fe1858ae3fe11 |
File details
Details for the file eng_join-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: eng_join-0.1.0-py2-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899384f2a50b904d2cb2531707b58b389fd1dc0b04dbdad0301cf9dc2610b6ce |
|
MD5 | 6384919fbd91326c12a9f5d8078a81b1 |
|
BLAKE2b-256 | ce07af7b54b1d9a92fd7bba6f06324817184b7e0b0c058a8383e02e98a6a908d |