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.
- 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.
Clone the repository:
git clone https://github.com/yourusername/Muzan-Kibutsuji.git
cd Muzan-Kibutsuji
Install the required dependencies:
pip install -r requirements.txt
Run the main CLI tool:
python main.py
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
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.
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.
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.
This project is licensed under the MIT License.