manufacture


Namemanufacture JSON
Version 0.5.9 PyPI version JSON
download
home_pagehttps://github.com/Spandan7724/manufacture.git
SummaryA simple command-line tool to create and manage files.
upload_time2024-07-17 19:22:44
maintainerNone
docs_urlNone
authorSpandan Chavan
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
- Short-form commands for quicker usage
- Ability to handle multiple filenames or directories in a single command

## Installation

You can install Manufacture using pip:

```bash
pip install manufacture
```

## Usage

```bash
# Create a new file with a specified name
manufacture create <filename>
manufacture -c <filename>

# Create a new directory
manufacture directory <dirname>
manufacture -d <dirname>

# Rename a file with an optional backup
manufacture change <oldname> <newname> [--backup]
manufacture -ch <oldname> <newname> [--backup]

# Change file permissions
manufacture permissions <filename> <permissions>
manufacture -p <filename> <permissions>

# Change file ownership
manufacture ownership <filename> <owner> <group>
manufacture -o <filename> <owner> <group>

# Display information about a file
manufacture info <filename>
manufacture -i <filename>

# Compress a directory
manufacture compress <directory> --output=<output>
manufacture -z <directory> --output=<output>
```

## Examples

Create one or multiple files:
```bash
manufacture create script1.py script2.rs
manufacture -c main.go test.rs
```

Create a new directory:
```bash
manufacture directory dir1 dir2
manufacture -d dir1 dir2
```

Rename a file with backup:
``` bash
manufacture change oldname.txt newname.txt --backup
manufacture -ch oldname.txt newname.txt --backup
```

Change file permissions to read, write, and execute for the owner:
```bash
manufacture permissions my_script.py 755
manufacture -p my_script.py 755
```

Change file ownership to user jack and group developers:
```bash
manufacture ownership my_script.py jack developers
manufacture -o my_script.py jack developers
```

Display information about a file:
```bash
manufacture info my_script.py
manufacture -i my_script.py
```

Compress a directory:
```bash
manufacture compress my_project --output=my_project.zip
manufacture -z my_project --output=my_project.zip
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Spandan7724/manufacture.git",
    "name": "manufacture",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Spandan Chavan",
    "author_email": "spandanchavan727477@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/74/79/29134c9bf73ebd4373ab277207fb108b91d4e1c6a851c5ee2e59ef2b5f99/manufacture-0.5.9.tar.gz",
    "platform": null,
    "description": "# Manufacture\r\n\r\nManufacture 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.\r\n\r\n## Features\r\n\r\n- Create files with specific names and types\r\n- Rename files with optional backup\r\n- Change file permissions and ownership\r\n- Create directories\r\n- Display file information\r\n- Compress directories\r\n- Easy installation via pip\r\n- Simplified file management from the terminal\r\n- Short-form commands for quicker usage\r\n- Ability to handle multiple filenames or directories in a single command\r\n\r\n## Installation\r\n\r\nYou can install Manufacture using pip:\r\n\r\n```bash\r\npip install manufacture\r\n```\r\n\r\n## Usage\r\n\r\n```bash\r\n# Create a new file with a specified name\r\nmanufacture create <filename>\r\nmanufacture -c <filename>\r\n\r\n# Create a new directory\r\nmanufacture directory <dirname>\r\nmanufacture -d <dirname>\r\n\r\n# Rename a file with an optional backup\r\nmanufacture change <oldname> <newname> [--backup]\r\nmanufacture -ch <oldname> <newname> [--backup]\r\n\r\n# Change file permissions\r\nmanufacture permissions <filename> <permissions>\r\nmanufacture -p <filename> <permissions>\r\n\r\n# Change file ownership\r\nmanufacture ownership <filename> <owner> <group>\r\nmanufacture -o <filename> <owner> <group>\r\n\r\n# Display information about a file\r\nmanufacture info <filename>\r\nmanufacture -i <filename>\r\n\r\n# Compress a directory\r\nmanufacture compress <directory> --output=<output>\r\nmanufacture -z <directory> --output=<output>\r\n```\r\n\r\n## Examples\r\n\r\nCreate one or multiple files:\r\n```bash\r\nmanufacture create script1.py script2.rs\r\nmanufacture -c main.go test.rs\r\n```\r\n\r\nCreate a new directory:\r\n```bash\r\nmanufacture directory dir1 dir2\r\nmanufacture -d dir1 dir2\r\n```\r\n\r\nRename a file with backup:\r\n``` bash\r\nmanufacture change oldname.txt newname.txt --backup\r\nmanufacture -ch oldname.txt newname.txt --backup\r\n```\r\n\r\nChange file permissions to read, write, and execute for the owner:\r\n```bash\r\nmanufacture permissions my_script.py 755\r\nmanufacture -p my_script.py 755\r\n```\r\n\r\nChange file ownership to user jack and group developers:\r\n```bash\r\nmanufacture ownership my_script.py jack developers\r\nmanufacture -o my_script.py jack developers\r\n```\r\n\r\nDisplay information about a file:\r\n```bash\r\nmanufacture info my_script.py\r\nmanufacture -i my_script.py\r\n```\r\n\r\nCompress a directory:\r\n```bash\r\nmanufacture compress my_project --output=my_project.zip\r\nmanufacture -z my_project --output=my_project.zip\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple command-line tool to create and manage files.",
    "version": "0.5.9",
    "project_urls": {
        "Homepage": "https://github.com/Spandan7724/manufacture.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9f56efbeb16b387e1f58705e0befa97e36e595e7a5346625b68d3385312b318",
                "md5": "4593e9dcf641e9f7871f983f145adfb7",
                "sha256": "d107b36449d6116b62a10d7d19f2504678f0ff74e0427aca4ba7dd68a34f4f22"
            },
            "downloads": -1,
            "filename": "manufacture-0.5.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4593e9dcf641e9f7871f983f145adfb7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4992,
            "upload_time": "2024-07-17T19:22:42",
            "upload_time_iso_8601": "2024-07-17T19:22:42.396278Z",
            "url": "https://files.pythonhosted.org/packages/e9/f5/6efbeb16b387e1f58705e0befa97e36e595e7a5346625b68d3385312b318/manufacture-0.5.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "747929134c9bf73ebd4373ab277207fb108b91d4e1c6a851c5ee2e59ef2b5f99",
                "md5": "310037f4ca93e50d0422018f23177d8d",
                "sha256": "ce1d475ad95d18ff219c7b8c78224245533ec810d2dced210f7522cddb78d937"
            },
            "downloads": -1,
            "filename": "manufacture-0.5.9.tar.gz",
            "has_sig": false,
            "md5_digest": "310037f4ca93e50d0422018f23177d8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4395,
            "upload_time": "2024-07-17T19:22:44",
            "upload_time_iso_8601": "2024-07-17T19:22:44.021848Z",
            "url": "https://files.pythonhosted.org/packages/74/79/29134c9bf73ebd4373ab277207fb108b91d4e1c6a851c5ee2e59ef2b5f99/manufacture-0.5.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-17 19:22:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Spandan7724",
    "github_project": "manufacture",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "manufacture"
}
        
Elapsed time: 0.35450s