Skip to main content

Generate random slugs using basic sentence structure

Project description

sentenceslug

a module to generate relatively easy to remember slugs

Installation

pip install sentenceslug

Usage

In [1]: from sentenceslug import *

In [2]: sentence_slug()
Out[2]: 'Improve_That_Last_Day'

In [3]: sentence_slug_digits()
Out[3]: 'Start_His_National_Town_377'

In [4]: simple_slug()
Out[4]: 'NationalCar'

In [5]: simple_slug_digits()
Out[5]: 'LegalSystem305'

In [6]: nsa_codeword()
Out[6]: 'POORUSE'

In [7]: make_slug(simple=True, digits=5, delimiter="-")
Out[7]: 'Short-Good-83933'

Changelog

V1.1 2018-12-05

- Python 3 Changes

Project details


Download files

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

Source Distribution

sentenceslug-1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentenceslug-1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file sentenceslug-1.1.tar.gz.

File metadata

  • Download URL: sentenceslug-1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for sentenceslug-1.1.tar.gz
Algorithm Hash digest
SHA256 dccee3777b2091d6b4053bfca85a6f4da5a21ff1f3b32aa5b082ac8a6b2d457d
MD5 92f9334157c98d707053d127ffe6a354
BLAKE2b-256 b2a509bc4a13a93e2fbb203027ecf2b28d13e4a037004e958e2c259d69be0d40

See more details on using hashes here.

File details

Details for the file sentenceslug-1.1-py3-none-any.whl.

File metadata

  • Download URL: sentenceslug-1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for sentenceslug-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 577137496b97c6579c8532595b3c03a43e7456da2a0898e52cc7dee84fc44bfc
MD5 dfbb16981ea435f3609a22dfc4db0146
BLAKE2b-256 e4b3b37091862ee8ed46dbcbb0f0487bb3450a3116034bcd1b666b1b7411c7d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page