PrimeDecs is a decorator library for python used for easier in-code debugging and other cool things.
This repository has been archived on 2025-12-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2020-06-22 19:48:46 +02:00
PrimeDecs Structure redone for shorter import instructions 2020-06-22 19:48:46 +02:00
.gitignore Renamed debuggin file and added some things 2020-06-22 14:52:16 +02:00
README.md Renamed package folder, added simple readme. 2020-06-19 16:09:21 +00:00
setup.py Structure redone for shorter import instructions 2020-06-22 19:48:46 +02:00

Installation

pip3 install --upgrade "git+https://git.leon.wtf/leon/primedecs"

Example code

from PrimeDecs.debugging import signature_and_return
from PrimeDecs import repeat

@signature_and_return
def some_function(some_arg):
    pass

@repeat(6)
def greet(name):
    print("Greetings, " + str(name))