Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 2.48 KB

README.md

File metadata and controls

75 lines (48 loc) · 2.48 KB

Muzan-Kibutsuji is a CLI tool inspired by the character Muzan Kibutsuji from Demon Slayer: Kimetsu no Yaiba. This tool embodies Muzan's characteristics—cold-hearted, ruthless, and unwavering in its pursuit of perfection—by ensuring permanence and immutability in data handling.

Muzan

Features

  • Immutable Data Handling: Once a value is set, it cannot be changed, representing Muzan's unyielding nature.
  • Data Integrity: Uses checksums to detect and prevent changes to existing data.
  • Assimilation: Integrate data from other instances without altering existing values.
  • Purging: Removes data but only if it exists, maintaining strict order.

Installation

Clone the repository:

git clone https://github.com/yourusername/Muzan-Kibutsuji.git
cd Muzan-Kibutsuji

Install the required dependencies:

pip install -r requirements.txt

Usage

Run the main CLI tool:

python main.py

Example

Here’s a basic example of how to use the MuzanKibutsuji class:

from bda import MuzanKibutsuji

muzan = MuzanKibutsuji()

muzan.set("power", "Biokinesis")
muzan.set("age", "Over 1000 years")

try:
    muzan.set("power", "Shape-shifting")
except ValueError as e:
    print(e)  # Output: Change detected in 'power'. Permanence violated.

print(muzan.get("age"))  # Output: Over 1000 years

Blood Demon Art

Muzan's Blood Demon Art (BDA) is implemented as a module that provides additional features to manipulate and control data in unique ways, mimicking Muzan's fearsome powers.

Muzan

Key Methods

  • set(key: str, value: Any): Sets a value if it doesn't exist or hasn't changed.
  • get(key: str): Retrieves a value if it exists.
  • assimilate(other: MuzanKibutsuji): Assimilates another instance without altering existing values.
  • purge(key: str): Removes a key-value pair, but only if it exists.
  • eternal_view(): Provides an unchanging view of all data.

Contribution

Contributions are welcome! Please feel free to submit issues or pull requests. Any contributions that enhance the tool's capabilities while maintaining the core principles of permanence and immutability are greatly appreciated.

License

This project is licensed under the MIT License.