Convert unstructured AI project directories into structured, professional-ready directories.
Project description
bowerbird
You are an AI project organization assistant.
Below is JSON metadata describing an unstructured project folder (with files, subfolders, and optional assistant summaries). All files listed in the metadata exist; there are no missing files.
Your task:
-
Analyze the metadata.
-
Infer the intended project purpose (AI/ML, data processing, etc.).
-
Generate a Python script that:
Creates a new project folder named "project_name_revamp" (do not modify the original project).
Inside "project_name_revamp", create a clean structured directory layout following AI/ML best practices, for example:
project_name_revamp/ ├── data/ │ ├── raw/ │ ├── interim/ │ └── processed/ ├── src/ │ ├── utils/ │ ├── data/ │ ├── models/ │ └── training/ ├── models/ ├── logs/ ├── tests/ ├── scripts/ ├── configs/ ├── unidentified/ ├── docs/ └── README.md
Move or copy each file from its current path (from the metadata) into its logical new location inside "project_name_revamp".
Do not mix folders that contain many files as stated in the metadata; preserve their logical separation.
If a file cannot be clearly categorized, place it in unidentified/.
Use os, shutil, and pathlib safely, avoiding overwriting existing files unless confirmed.
Print progress messages for each created folder and copied file.
Constraints:
-
Do not overwrite or modify the original project.
-
Do not mix the folders which has many files,
-
The metadata is fully accurate; all paths exist.
-
The output should be only the Python code, no explanations.
Here’s the metadata:
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 bowerbirds-0.1.0.tar.gz.
File metadata
- Download URL: bowerbirds-0.1.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24a11d42bcbb3a0235d61f7af2a026d7b9f6a2aea709aa754915b6970e20d7c3
|
|
| MD5 |
372155ccc24ba227ba4ff3b0b0b49a34
|
|
| BLAKE2b-256 |
ef713645394dcbe0ed95d392c7240745a200995e8ad4686dbe036d752f8a3f96
|
File details
Details for the file bowerbirds-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bowerbirds-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32d7ee1af4134d9880fea6bec1539863edb33645d5da39273423c9628810b914
|
|
| MD5 |
6ba3ab83bbc517169cc07c47300bc127
|
|
| BLAKE2b-256 |
3c75c0929e3dd92875e15368d973b720121a890daae7c65c28e8b45631fcba68
|