Skip to main content

This is a package to format your code into hell. Designed for people who like python and hate '}', '{' and ';'

Project description

Bad Formatting

This is gets rid (or at least moves) all those pesky '{', '}' and ';' that we all hate (dont we?)

Web version

No need to install anything - if you prefer you can just head over here in order to shitify your code online!

Installation

Use the package manager pip to install bad formatting.

pip install badFormatter

or clone this repo and run in the same way

Usage (for Pip)

import badFormatter

badFormatter.shitify_print(filename) # prints the code given a filename
badFormatter.shitify_return(filename) # returns the code given a filename
badFormatter.shitify_print_text(text) # prints the code reformatted from the input
badFormatter.shitify_return_text(text) # returns the code reformatted from the input

License

MIT

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

badFormatter-1.3.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

badFormatter-1.3.0-py3-none-any.whl (3.7 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