This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A bunch of useful functions for string manipulation.

Install (automatic)

$ pip install silex

Install (manual)

$ git clone
$ cd silex
$ python setup.py install

Usage

In [1]: from silex import *

In [2]: print chop("whitespace", 5)
['white', 'space', '']

In [3]: print numberex('1.2euros')
1.2

In [4]: print surround('b', '<', '>')
<b>

In [5]: print strip_html('<p><i>hello</i></p>')
hello

In [6]: print unslugify('sex_appeal')
sex appeal

In [7]: print slugify(u'je suis\ épuisé')
je-suis-epuise

In [8]: print clean('hello\n    word\n')
hello word

In [9]: print kebabcase('hello  world')
hello-world

In [10]: print pascalcase('hello world')
HelloWorld

In [11]: print camelcase('hello world')
helloWorld

In [12]: print snakecase('hello world')
hello_world

License

MIT

Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
silex-0.2.0.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting