PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.
pip install pymajic
To store environment and project directory information:
pymajic store data
To run a custom Django management command:
pymajic run command <your_custom_command>
To open a Django shell session:
pymajic shell
Ensure the correctness of your project environment:
pymajic verify environment
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.
Backup your Django project database:
pymajic backup database
Restore your Django project database:
pymajic restore database <backup_filename>
View the configuration of your Django project:
pymajic project info
Check for updates to the PyMajic package:
pymajic check update
Edit the PyMajic configuration file:
pymajic edit config
Enter interactive mode to execute commands dynamically:
pymajic interactive mode
Set aliases for your custom commands:
set alias <alias_name> <your_custom_command>
pymajic documentation
Contributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.