PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.
pip install pymajicTo store environment and project directory information:
pymajic store dataTo run a custom Django management command:
pymajic run command <your_custom_command>To open a Django shell session:
pymajic shellEnsure the correctness of your project environment:
pymajic verify environmentShare your Django project easily with PyMajic:
pymajic share projectThis command creates a new virtual environment, installs the project dependencies, and runs the project.
Backup your Django project database:
pymajic backup databaseRestore your Django project database:
pymajic restore database <backup_filename>View the configuration of your Django project:
pymajic project infoCheck for updates to the PyMajic package:
pymajic check updateEdit the PyMajic configuration file:
pymajic edit configEnter interactive mode to execute commands dynamically:
pymajic interactive modeSet aliases for your custom commands:
set alias <alias_name> <your_custom_command>pymajic documentationContributions 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.