pymajic


Namepymajic JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/Codewithshagbaor/PyMajic
SummaryPyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.
upload_time2023-12-02 10:43:41
maintainer
docs_urlNone
authorShagbaor Agber
requires_python
license
keywords django project management virtual environment django development utility command-line tool workflow optimization automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyMajic: Crafting Django Projects, One Command at a Time!
![PyMajic Logo](https://github.com/Codewithshagbaor/PyMajic/assets/67190277/9a12d4a9-07c5-446e-a392-55e1457f3292)
PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.

## Installation

```bash
pip install pymajic
```

## Usage

### Store Data

To store environment and project directory information:

```bash
pymajic store data
```

### Run Custom Command(In Dev Mode)

To run a custom Django management command:

```bash
pymajic run command <your_custom_command>
```

### Django Shell Access

To open a Django shell session:

```bash
pymajic shell
```

### Environment Verification(Dev Mode)

Ensure the correctness of your project environment:

```bash
pymajic verify environment
```

### Project Sharing(Dev Mode)

Share your Django project easily with PyMajic:

```bash
pymajic share project
```

This command creates a new virtual environment, installs the project dependencies, and runs the project.

### Database Backup and Restore

Backup your Django project database:

```bash
pymajic backup database
```

Restore your Django project database:

```bash
pymajic restore database <backup_filename>
```

### Project Configuration Viewer

View the configuration of your Django project:

```bash
pymajic project info
```

### Update Check

Check for updates to the PyMajic package:

```bash
pymajic check update
```

### Config File Editor

Edit the PyMajic configuration file:

```bash
pymajic edit config
```

### Interactive Mode

Enter interactive mode to execute commands dynamically:

```bash
pymajic interactive mode
```

### Set Command Alias

Set aliases for your custom commands:

```bash
pymajic set alias <alias_name> <your_custom_command>
```

## Contributing

Contributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Codewithshagbaor/PyMajic",
    "name": "pymajic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Django,project management,virtual environment,Django development,utility,command-line tool,workflow optimization,automation",
    "author": "Shagbaor Agber",
    "author_email": "dxtlive@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/47/df/53312cb000fa785279d01b42ed20ef8c390fcdc821ef6de5489f9e026b2b/pymajic-1.0.1.tar.gz",
    "platform": null,
    "description": "# PyMajic: Crafting Django Projects, One Command at a Time!\r\n![PyMajic Logo](https://github.com/Codewithshagbaor/PyMajic/assets/67190277/9a12d4a9-07c5-446e-a392-55e1457f3292)\r\nPyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install pymajic\r\n```\r\n\r\n## Usage\r\n\r\n### Store Data\r\n\r\nTo store environment and project directory information:\r\n\r\n```bash\r\npymajic store data\r\n```\r\n\r\n### Run Custom Command(In Dev Mode)\r\n\r\nTo run a custom Django management command:\r\n\r\n```bash\r\npymajic run command <your_custom_command>\r\n```\r\n\r\n### Django Shell Access\r\n\r\nTo open a Django shell session:\r\n\r\n```bash\r\npymajic shell\r\n```\r\n\r\n### Environment Verification(Dev Mode)\r\n\r\nEnsure the correctness of your project environment:\r\n\r\n```bash\r\npymajic verify environment\r\n```\r\n\r\n### Project Sharing(Dev Mode)\r\n\r\nShare your Django project easily with PyMajic:\r\n\r\n```bash\r\npymajic share project\r\n```\r\n\r\nThis command creates a new virtual environment, installs the project dependencies, and runs the project.\r\n\r\n### Database Backup and Restore\r\n\r\nBackup your Django project database:\r\n\r\n```bash\r\npymajic backup database\r\n```\r\n\r\nRestore your Django project database:\r\n\r\n```bash\r\npymajic restore database <backup_filename>\r\n```\r\n\r\n### Project Configuration Viewer\r\n\r\nView the configuration of your Django project:\r\n\r\n```bash\r\npymajic project info\r\n```\r\n\r\n### Update Check\r\n\r\nCheck for updates to the PyMajic package:\r\n\r\n```bash\r\npymajic check update\r\n```\r\n\r\n### Config File Editor\r\n\r\nEdit the PyMajic configuration file:\r\n\r\n```bash\r\npymajic edit config\r\n```\r\n\r\n### Interactive Mode\r\n\r\nEnter interactive mode to execute commands dynamically:\r\n\r\n```bash\r\npymajic interactive mode\r\n```\r\n\r\n### Set Command Alias\r\n\r\nSet aliases for your custom commands:\r\n\r\n```bash\r\npymajic set alias <alias_name> <your_custom_command>\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/Codewithshagbaor/PyMajic"
    },
    "split_keywords": [
        "django",
        "project management",
        "virtual environment",
        "django development",
        "utility",
        "command-line tool",
        "workflow optimization",
        "automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23100a06b5e71747cac71532cb67a125104185406c785e8b932de89933d9f692",
                "md5": "eae4a5c650456a888ac7b860e911e086",
                "sha256": "1ea1a41b6171058f126e0150291ce0915ac62389a3dd902cf2aab187f3e94dca"
            },
            "downloads": -1,
            "filename": "pymajic-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eae4a5c650456a888ac7b860e911e086",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4599,
            "upload_time": "2023-12-02T10:43:39",
            "upload_time_iso_8601": "2023-12-02T10:43:39.715356Z",
            "url": "https://files.pythonhosted.org/packages/23/10/0a06b5e71747cac71532cb67a125104185406c785e8b932de89933d9f692/pymajic-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "47df53312cb000fa785279d01b42ed20ef8c390fcdc821ef6de5489f9e026b2b",
                "md5": "872ef58d57e0890296c81f1989ec091b",
                "sha256": "5bfb334d7cab5ec3a108bb0a01a68d37be0f7f7f2cc2b939c22a5d1d2ee55f87"
            },
            "downloads": -1,
            "filename": "pymajic-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "872ef58d57e0890296c81f1989ec091b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4524,
            "upload_time": "2023-12-02T10:43:41",
            "upload_time_iso_8601": "2023-12-02T10:43:41.739902Z",
            "url": "https://files.pythonhosted.org/packages/47/df/53312cb000fa785279d01b42ed20ef8c390fcdc821ef6de5489f9e026b2b/pymajic-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-02 10:43:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Codewithshagbaor",
    "github_project": "PyMajic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pymajic"
}
        
Elapsed time: 1.14038s