Skip to main content

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!

Metadata

Release files for slopify 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slopify 0.2.2
File Size Uploaded
slopify-0.2.2.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slopify 0.2.2
File Interpreter ABI Platform
slopify-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 36.8 kB

Release files / slopify-0.2.2.tar.gz

Download URL slopify-0.2.2.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f999659a7fbb41caa117170cd8a89cf4384691f79915f7a5fabc8633e889b56
BLAKE2b-256 checksum
How to use checksums
5c805eeb852cab5688ad5988fe021b13f9b62d333a990538495b5e35af79f259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1015-azure

Release files / slopify-0.2.2-py3-none-any.whl

Download URL slopify-0.2.2-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e20d93c02626fa51da855c6556b9aa2bffecf24f20486510f329ab266b8b9c3d
BLAKE2b-256 checksum
How to use checksums
dbfba5432f74beaf7f7056fe09441cdb391e78d2eb781ff0a3c9c01446003b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1015-azure

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page