Skip to main content

No project description provided

Project description

Slopify

Welcome to the kitchen of coding chaos, where Slopify takes your meticulously crafted source code and blends it into a fine puree of potential and possibilities. It's like a culinary adventure for your codebase, except the chef is a language model with a taste for the unpredictable.

What's Slopify?

Slopify is the digital equivalent of a food fight, but with code. It's a tool that slurps up your source code, feeds it to a ravenous Language Learning Model (LLM), and waits for the LLM to regurgitate a new concoction of code suggestions. Then, with the grace of a starved hyena, Slopify gobbles up the LLM's output and smears it back into your project.

Installation

Installing Slopify is as easy as pie, which, coincidentally, might be what your code resembles after using it:

# Install via Poetry
poetry add slopify

or:

# Install with pip
pip install slopify

Usage

To copy your codebase into the system clipboard for Slopify, just run:

# Copy your code into the system clipboard
slopify slop /path/to/your/code

If you prefer to dump your code into a Markdown file instead of the clipboard, use the -o flag:

# Dump your code into a Markdown file
slopify slop /path/to/your/code -o slop_bucket.md

To apply suggestions from the system clipboard back onto your codebase:

# Apply suggestions from the clipboard
slopify slather

If you have suggestions in a file instead of the clipboard, use the -i flag:

# Apply suggestions from a Markdown file
slopify slather -i vomit.md

TODO

  • accept diffs in apply markdown
  • allow configurable token limit for dump with graceful failure when overbudget
  • allow specifying sets of interdependent files commonly needed to be assessed jointly.
    • shell command e.g. slopify set create my_set ...
    • config file e.g. slopify dump -c my_set
  • automatically generate relevant context from dependent modules with some static code analysis? (nice to have)

Disclaimer

Slopify is not responsible for any indigestion, nausea, or existential dread that may result from its use. It's recommended to keep a defibrillator handy for your codebase, just in case.

Bon Appétit!

Now go forth and let Slopify turn your code into the ultimate potluck, where every line is a surprise and every function is a mystery dish. Who knows, you might just discover the secret sauce that's been missing all along—or you'll end up with a Franken-code monster. Either way, it'll be a meal to remember!

Remember, Slopify is all about embracing the chaos in the quest for coding excellence—or at least some good laughs along the way. Enjoy the mess!

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

slopify-0.2.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slopify-0.2.2-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file slopify-0.2.2.tar.gz.

File metadata

  • Download URL: slopify-0.2.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1015-azure

File hashes

Hashes for slopify-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6f999659a7fbb41caa117170cd8a89cf4384691f79915f7a5fabc8633e889b56
MD5 7a0836a69ca45f2c0d6f8ab323ff4ee8
BLAKE2b-256 5c805eeb852cab5688ad5988fe021b13f9b62d333a990538495b5e35af79f259

See more details on using hashes here.

File details

Details for the file slopify-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: slopify-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1015-azure

File hashes

Hashes for slopify-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e20d93c02626fa51da855c6556b9aa2bffecf24f20486510f329ab266b8b9c3d
MD5 a67aa08fef3cc54e9dc39b088c788d00
BLAKE2b-256 dbfba5432f74beaf7f7056fe09441cdb391e78d2eb781ff0a3c9c01446003b66

See more details on using hashes here.

Supported by

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