Skip to main content

Leet library

Project description

leet
====

.. image:: https://coveralls.io/repos/github/JaneTurueva/py-leet/badge.svg?branch=master
:target: https://coveralls.io/github/JaneTurueva/py-leet?branch=master
:alt: Coveralls

.. image:: https://travis-ci.org/JaneTurueva/py-leet.svg
:target: https://travis-ci.org/JaneTurueva/py-leet
:alt: Travis CI

.. image:: https://img.shields.io/pypi/v/leet.svg
:target: https://pypi.python.org/pypi/leet/
:alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/leet.svg
:target: https://pypi.python.org/pypi/leet/

.. image:: https://img.shields.io/pypi/pyversions/leet.svg
:target: https://pypi.python.org/pypi/leet/

.. image:: https://img.shields.io/pypi/l/leet.svg
:target: https://pypi.python.org/pypi/leet/


Command-line tool and library for `leeting text`_.

Library uses following vocabulary:

======== ===========
Original Replacement
======== ===========
A a @
E e 3
I i 1
O o 0
S s 5
======== ===========

Installation
------------

.. code-block:: shell

pip install leet


Command-line usage
------------------
.. code-block:: shell

leet Hello, world!
> H3ll0, w0rld!


Library usage
-------------
.. code-block:: shell

from leet import leet

print(leet('Hello, world!'))


Performance
-----------

========== ========== =======
Str length Iterations Time
========== ========== =======
512 1000 0.0071
64kb 1000 0.1458
1mb 100 0.1522
1mb 10 0.0154
10mb 2 0.0298
========== =========== =======


Versioning
==========

This software follows `Semantic Versioning`_

.. _leeting text: https://en.wikipedia.org/wiki/Leet
.. _Semantic Versioning: http://semver.org/


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

leet-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

leet-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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