Skip to content

PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.

Notifications You must be signed in to change notification settings

Codewithshagbaor/PyMajic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMajic: Crafting Django Projects, One Command at a Time!

PyMajic Logo PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.

Installation

pip install pymajic

Usage

Store Data

To store environment and project directory information:

pymajic store data

Run Custom Command(In Dev Mode)

To run a custom Django management command:

pymajic run command <your_custom_command>

Django Shell Access

To open a Django shell session:

pymajic shell

Environment Verification(Dev Mode)

Ensure the correctness of your project environment:

pymajic verify environment

Project Sharing(Dev Mode)

Share your Django project easily with PyMajic:

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:

pymajic backup database

Restore your Django project database:

pymajic restore database <backup_filename>

Project Configuration Viewer

View the configuration of your Django project:

pymajic project info

Update Check

Check for updates to the PyMajic package:

pymajic check update

Config File Editor

Edit the PyMajic configuration file:

pymajic edit config

Interactive Mode

Enter interactive mode to execute commands dynamically:

pymajic interactive mode

Set Command Alias

Set aliases for your custom commands:

set alias <alias_name> <your_custom_command>

Documentation Command

pymajic documentation

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 file for details.

About

PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.

Resources

Stars

Watchers

Forks

Languages