https://github.com/capsize-games/defendatron
https://github.com/capsize-games/defendatron
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/capsize-games/defendatron
- Owner: Capsize-Games
- License: gpl-3.0
- Created: 2024-04-24T00:30:16.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T12:12:42.000Z (over 1 year ago)
- Last Synced: 2025-09-25T15:53:05.106Z (10 months ago)
- Language: Python
- Size: 5.5 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Defendatron
Defendatron is a simple coordinator for `Protectabots`, Python modules that provide security features for your applications.
---

[](https://github.com/Capsize-Games/defendatron/actions/workflows/python-publish.yml)
---
## Installation
```bash
pip install defendatron
```
## Usage
```python
import defendatron
# Activate defendatron (all Protectabots)
defendatron.activate()
# Deactivate defendatron (all Protectabots)
defendatron.deactivate()
# Activate specific Protectabots
defendatron.nullscream.activate()
defendatron.shadowlogger.activate()
defendatron.darklock.activate()
# Deactivate specific Protectabots
defendatron.nullscream.deactivate()
defendatron.shadowlogger.deactivate()
defendatron.darklock.deactivate()
```
See `src/defendatron/__init__.py` for more advanced usage.
## When Protectabots assemble, they create Defendatron

---
Defendatron is built with `Protectabots`, Python modules that provide security features for your applications.
Each `Protectabot` is designed to defend against specific threats and vulnerabilities,
helping to provide another layer of protection for your code.
- [nullscream](https://github.com/Capsize-Games/nullscream) Responsible for masquerading as other libraries in order to cancel out their operations. Useful when you are unable to modify the code of a library that you are using, but you want to prevent it from performing certain operations.
- [darklock](https://github.com/Capsize-Games/darklock) Responsible for locking down your application and preventing it from performing certain operations.
- [shadowlogger](https://github.com/Capsize-Games/shadowlogger) Intercepts all logs and shadows them, preventing sensitive information from being leaked.