A simple command-line tool to create and manage files.
Project description
Manufacture
Manufacture is a command-line tool designed to help developers manage and create files with specified names and types efficiently. It streamlines file handling tasks, making it easier to organize project files.
Features
- Create files with specific names and types
- Rename files with optional backup
- Change file permissions and ownership
- Create directories
- Display file information
- Compress directories
- Easy installation via pip
- Simplified file management from the terminal
Installation
You can install Manufacture using pip:
pip install manufacture
Usage
# Create a new file with a specified name
manufacture create <filename>
# Rename a file with an optional backup
manufacture change <oldname> <newname> [--backup]
# Change file permissions
manufacture permissions <filename> <permissions>
# Change file ownership
manufacture ownership <filename> <owner> <group>
# Create a new directory
manufacture directory <dirname>
# Display information about a file
manufacture info <filename>
# Compress a directory
manufacture compress <directory> --output=<output>
Examples
Create a Python file:
manufacture create my_script.py
Rename a file with backup:
manufacture change oldname.txt newname.txt --backup
Change file permissions to read, write, and execute for the owner:
manufacture permissions my_script.py 755
Change file ownership to user john and group developers:
manufacture ownership my_script.py john developers
Create a new directory:
manufacture directory my_project
Display information about a file:
manufacture info my_script.py
Compress a directory:
manufacture compress my_project --output=my_project.zip
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
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 manufacture-0.5.8.tar.gz.
File metadata
- Download URL: manufacture-0.5.8.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66365b7a5bd7b1b72cca50f78ead9e0669647dbe9f129bd98e5cc6e6edee14e4
|
|
| MD5 |
3a2d19153d49cc8af44d5ddc702ba677
|
|
| BLAKE2b-256 |
1266eb9a309a7e43e9caf06d784364d7b984ef2f908ff5ad01a592322766e565
|
File details
Details for the file manufacture-0.5.8-py3-none-any.whl.
File metadata
- Download URL: manufacture-0.5.8-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f8ebde978c23705473b5219951125d8b61c1321f1244cf7d898822fcc1a2cfb
|
|
| MD5 |
7a931e8cf211b0e4cd0d3e0fc9cf8bbd
|
|
| BLAKE2b-256 |
cbe5d84524a2819fa8efdd3194784e0ca970421d0cef75df40ec2ee2ccb78a9d
|