Skip to main content

A project scaffolding tool by OceanCrow with assistance from Grok, built by xAI

Project description

🌊 OceanCrow_Mizukage 🌊

Version: 0.1.0
Created by: Sheldon Kenny Salmon of OceanCrow with assistance from Grok, built by xAI
License: MIT License
Repository: https://github.com/OceanCrow-TT/ocean_crow_mizukage
Issues: https://github.com/OceanCrow-TT/ocean_crow_mizukage/issues
Homepage: https://oceancrow.carrd.co


📖 Overview

OceanCrow_Mizukage is a powerful command-line tool designed to scaffold, automate, and secure Python projects with a ninja-like efficiency. Whether you're starting a basic script, a Flask app, or a data science project, Mizukage streamlines the process with features like environment setup, code optimization, and security analysis. Built with love by OceanCrow and enhanced by xAI's Grok, this tool is your partner in coding mastery!


🚀 Installation

Prerequisites

  • Python 3.9 or higher
  • pip (Python package manager)

Steps

  1. Clone the Repository (optional, for development):

    git clone https://github.com/OceanCrow-TT/ocean_crow_mizukage.git
    cd ocean_crow_mizukage
    
  2. Set Up a Virtual Environment (recommended):

    python -m venv env
    source env/bin/activate # On Windows: env\Scripts\activate
    
  3. Install Dependencies: Ensure all required packages are installed:

    pip install click rich cryptography bandit flask pandas numpy PyYAML stevedore colorama cffi pycparser blinker itsdangerous jinja2 markupsafe werkzeug python-dateutil pytz tzdata markdown-it-py pygments mdurl pbr setuptools
    
  4. Install Mizukage:

    • From source (after building):
      python -m build
      pip install dist/ocean_crow_mizukage-0.1.0.tar.gz
      
    • Or from PyPI (once published):
      pip install ocean_crow_mizukage
      

🎮 Usage

Mizukage is invoked via the command line. Run mizukage --help to see available options and commands.

Basic Commands

Show Help:

mizukage --help

Output:

Usage: mizukage [OPTIONS] COMMAND

Options:
  --quick Use last config
  --undo Revert to backup
  --feedback TEXT Submit feedback
  --theme [default|dark]
                     Output theme
  --help Show this message and exit.

Commands:
  start Start the project setup

Start a New Project:

mizukage start
  • Prompts for project name, type (basic, flask, datascience), and features.
  • Sets up the project structure and runs the workflow.

Quick Start with Last Config:

mizukage --quick start
  • Uses the last saved configuration without prompting.

Use Dark Theme:

mizukage --theme dark start
  • Runs with a dark-themed UI.

Submit Feedback:

mizukage --feedback "Great tool! Add X feature."
  • Saves feedback to feedback.txt and suggests sharing on X with @OceanCrowtt.

Revert to Backup:

mizukage --undo
  • Restores the last backup of the config file.

Project Workflow

  1. Setup: Enter project details and select features (e.g., scaffold, autoenv, mizushield).
  2. Execution: Mizukage creates directories, generates files, sets up a virtual environment, and runs security checks.
  3. Output: A success banner and a dashboard (report.html) are generated.

Example Project Structure

After running mizukage start with default settings:

MyMegaProject/
├── src/
│ └── main.py
├── tests/
├── docs/
│ ├── README.md
│ ├── contribution.md
│ └── LICENSE
├── private/
├── env/ (if autoenv enabled)
├── start_project.bat (or .sh on Unix)
├── commands.txt
└── report.html

🎨 Features

  • Scaffold: Creates project directories and template files.
  • Autoenv: Sets up a virtual environment.
  • Codeflow: Automates testing with pytest.
  • Databridge: Generates dummy data files.
  • Mindmap: Creates a simple project map.
  • Quantum: Adds optimized code snippets.
  • Orchestrate: Runs all features in sequence.
  • MizuShield: Secures files with encryption and performs static analysis.

⚙️ Configuration

  • Config is stored in ~/.ocean_crow_config.json.
  • Backups are saved as ~/.ocean_crow_config_backup_*.json.
  • Use --undo to revert to the latest backup.

🛠️ Development

Contributing

  1. Fork the repository.
  2. Create a branch: git checkout -b feature/your-feature.
  3. Commit changes: git commit -m 'Add your feature'.
  4. Push to the branch: git push.
  5. Open a Pull Request.

Building

python -m build
pip install dist/ocean_crow_mizukage-0.1.0.tar.gz

Publishing to PyPI

  1. Ensure twine is installed: pip install twine.
  2. Upload:
    twine upload dist/* --repository pypi --username __token__ --password <your-api-token>
    

🤝 Support

  • Feedback: Use mizukage --feedback "Your message" and tag @OceanCrowtt on X.
  • Issues: Report bugs or suggestions at Issues Page.
  • Contact: Reach out to Sheldon Kenny Salmon at OceanCrowtt@gmail.com , oceancrow.carrd.co

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


🌟 Acknowledgments

  • Built with ❤️ by Sheldon Kenny Salmon of OceanCrow.
  • Enhanced with AI assistance from Grok, created by xAI.
  • Thanks to the open-source community for tools like click, rich, and cryptography!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocean_crow_mizukage-0.2.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file ocean_crow_mizukage-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ocean_crow_mizukage-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 364c328e93cd7245384cad954e66059e614d3e2b0671bfd0a454a919666fe82d
MD5 816da65a7a912cd1ebce07fa77dfa47b
BLAKE2b-256 cb7cef49f49c1cb9f35df0696df4dd31c5d8ca2f0636e2c35b2bbf7cd4b8c9e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page