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

Uploaded Source

Built Distribution

badFormatter-1.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file badFormatter-1.3.0.tar.gz.

File metadata

  • Download URL: badFormatter-1.3.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.5

File hashes

Hashes for badFormatter-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9ebc92c5f8822ca7d20b4a6625fb7c8dad77d518361345ad1560db19619b3bc2
MD5 0e93c3346030336757b6c3026d5e7d3f
BLAKE2b-256 29a57eb5b8f31d740fc1e4199d9410361b50bbc4bd7fca17db786d20e17cc650

See more details on using hashes here.

File details

Details for the file badFormatter-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: badFormatter-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.5

File hashes

Hashes for badFormatter-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37efbede3c287f6a9802cb1af682ed0f9749eade62e86374de92ec967c669b50
MD5 7edd2116784a275608675e233cc9392b
BLAKE2b-256 7fffae332e28bf7954f1da7418e647ad3216a73ad2abfe59792b84056feb0007

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