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 details)

Uploaded Source

Built Distribution

sarcastic-0.1.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file sarcastic-0.1.1.tar.gz.

File metadata

  • Download URL: sarcastic-0.1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for sarcastic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2471cdbba58c852a83fc1bc5321281c4122758b27150d6d3c6d0c6871de255a5
MD5 3327ecca88d4c8d9c705f21b7746ae55
BLAKE2b-256 52239c424c1bbda641dc9291500cf25519aa8c626ce3c7ae760534355e644fcb

See more details on using hashes here.

File details

Details for the file sarcastic-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sarcastic-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for sarcastic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d65f6e059a65d478abc8eb9126e5faf11a6db3c62812629d9c11c25f0683bda9
MD5 45c45af40a05da69e76a6a33bf72d03d
BLAKE2b-256 ba763a5cca495f58d3dcd1af0a2e448cd4a1b2dda7fe015ae2a2226290a1db3a

See more details on using hashes here.

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