Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generate Python identifiers from English text

Project Description

Generates Python identifiers from English text. Useful for code generation.

Class name:

>>> pydentifier.upper_camel("I'm a class", prefix='')

Function name:

>>> pydentifier.lower_underscore('This is a function', prefix='')

Reserved keyword:

>>> pydentifier.lower_underscore('class', prefix='')

Internal method:

>>> pydentifier.lower_underscore("Shouldn't touch this", prefix='_')

Private method:

>>> pydentifier.lower_underscore("Can't touch this", prefix='__')
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pydentifier-0.1.3.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Feb 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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