PyMajic is a Python package that simplifies working with Django projects by providing convenient commands for environment management, custom commands, and more.
Project description
PyMajic: Crafting Django Projects, One Command at a Time!
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:
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 file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymajic-1.0.1.tar.gz
.
File metadata
- Download URL: pymajic-1.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bfb334d7cab5ec3a108bb0a01a68d37be0f7f7f2cc2b939c22a5d1d2ee55f87 |
|
MD5 | 872ef58d57e0890296c81f1989ec091b |
|
BLAKE2b-256 | 47df53312cb000fa785279d01b42ed20ef8c390fcdc821ef6de5489f9e026b2b |
File details
Details for the file pymajic-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pymajic-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea1a41b6171058f126e0150291ce0915ac62389a3dd902cf2aab187f3e94dca |
|
MD5 | eae4a5c650456a888ac7b860e911e086 |
|
BLAKE2b-256 | 23100a06b5e71747cac71532cb67a125104185406c785e8b932de89933d9f692 |