Skip to main content

sarcastic mAkEs YoUr tExT SaRcAsTiC.

Project description

PyPI version Python Versions License: GPL3+

sArCaStIc

mAkEs YoUr tExT SaRcAsTiC.

Dependencies

Instalation

This package is not available on PyPI yet. So the only way to install sarcastic is by using our latests distribution packages or building your own using the steps shown bellow:

Building distribution packages

Create a virtual environment with:

$ virtualenv venv
$ source venv/bin/activate

Install python build:

$ python3 -m pip install --upgrade build

Now run this command in sarcastic root folder:

$ python3 -m build

This command should output a lot of text and once completed should generate two files in the dist directory:

$ ls dist/
sarcastic_*-py3-none-any.whl
sarcastic_*.tar.gz

Now to install sarcastic use the following command:

$ pip install dist/sarcastic_*.tar.gz

Usage

You can convert your text to sarcastic mode by passing the string as an argument such as bellow:

$ sarcastic "This is a test"
tHiS Is a tEsT

Or you can pass the text by piping it:

$ echo "All you need is love. But a little chocolate now and then doesn't hurt." | sarcastic
aLl yOu nEeD Is lOvE. bUt a lItTlE ChOcOlAtE NoW AnD ThEn dOeSn't hUrT.

This phrase is from Charles M. Schulz by the way.

Team

Edimar Calebe Castanho (Calebe94)

License

All software is covered under GNU General Public License v3.0.

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

sarcastic-0.1.1.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

sarcastic-0.1.1-py3-none-any.whl (15.4 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