A CLI tool to organize messy data science project folders
Project description
⚡ chaosorg — Organize your messy projects with one command
Ever opened your project folder and thought:
"Why are there 47 files here and none of them are where they should be?"
ChaosOrg is a dead-simple Python CLI tool that organizes your project by sorting files into folders like /data, /scripts, /notebooks, etc. It even supports dry runs and undoing your changes — so you're never locked in.
🧰 What It Does
| File Type | Goes to Folder |
|---|---|
.csv, .xlsx |
data/ |
.ipynb |
notebooks/ |
.py |
scripts/ |
.pkl, .joblib, etc |
models/ |
.png, .jpg |
outputs/ |
.txt, .md, .pdf |
docs/ |
And yes, there's an undo feature.
🚀 Installation
Make sure you're in your virtual environment:
pip install -e .
🧪 Usage
✅ Organize the current folder
chaosorg organize
🔍 Preview changes (Dry Run)
chaosorg dry-run
⏪ Undo the last organization
chaosorg undo
Behind the scenes, it saves a .chaosorg_log.json to reverse moves. Clean and simple.
🧠 Why This Exists
I built this because I was working on multiple ML projects and they all looked like digital garbage dumps. I wanted a tool that's:
- Beginner-friendly
- Undo-able
- Easy to extend
- Kind of fun to use
🛠️ Local Dev Setup
git clone https://github.com/yourusername/chaosorg.git
cd chaosorg
python -m venv .venv
source .venv/bin/activate
pip install -e .
🌐 Coming Soon
- Custom folder mappings
- Exclude folders from being touched
- Integration with
.chaosconfigfile
📄 License
MIT — free to use, modify, and even break (but don’t blame me 😅)
💬 Say Hi!
Pull requests, suggestions, or memes welcome. Let's bring order to the chaos.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chaosorg-0.1.0.tar.gz.
File metadata
- Download URL: chaosorg-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4782682b6a186a7371dd38ab5f14c54f905f2a622e9cce54ef232fb8ff4cf534
|
|
| MD5 |
f0215cd49996b65a34df38d220f8c448
|
|
| BLAKE2b-256 |
ba34a7c6be150ede37aaafd6158c6d5b9206a292fe42b27a3d58951b82f2bbb4
|
File details
Details for the file chaosorg-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chaosorg-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efe3909d63543f99741e2bf06c1523945a8b1374448b0d38eb812b5fa9feb665
|
|
| MD5 |
ec517eb59bae864719e9813796f41551
|
|
| BLAKE2b-256 |
b980ed66a0c3e1cbefb5db8b37f8aeb6465b46c9a82d98da42f31f8c9a83b1eb
|