Go to file
Tyrel Souza 55d8eb8254
add custom separator
2017-01-23 10:27:56 -05:00
.gitignore Initial commit 2014-10-30 13:41:49 -04:00
.gitlab-ci.yml try not installing things, use image 2016-04-07 09:58:02 -04:00
IRC.md update irc log 2014-10-30 13:53:49 -04:00
LICENSE Initial commit 2014-10-30 13:41:49 -04:00
README.md added my name 2015-07-16 12:57:12 -04:00
coverage_report.txt fixed tests 2014-10-30 14:50:07 -04:00
glue.py add custom separator 2017-01-23 10:27:56 -05:00
requirements.txt add nose tests 2015-05-07 10:07:37 -04:00
tests.py add custom separator 2017-01-23 10:27:56 -05:00

README.md

#How to use Glue

>>> from glue import glue
>>> print glue("any","number","of","things","together")
any number of things together

>>> print glue("any","number","of","things","together",where="anywhere")
any number of things together anywhere

>>> print glue("any","number","of","things","together",["even",["nested","lists"]])
any number of things together even nested lists

>>> print glue("any","number","of","things","together", ["even",["nested","lists"]], "and numbers", 12345)
any number of things together even nested lists and numbers 12345

Coverage

Name    Stmts   Miss  Cover   Missing
-------------------------------------
glue       13      0   100%   
tests      24      0   100%   
-------------------------------------
TOTAL      37      0   100%   

#Protip You should probably just use str.join as this is satire.

Tyrel Souza 2015