Skip to main content

Décorateur pour ambiancer vos codes.

Project description

Nectarifere (latest available version: 2.0)

To use this decorator:

from nectarifere.nectar import nectar

@nectar
def your_function(*args, **kwargs):
  blabla

Or:

from nectarifere.falzar import falzar

@falzar
def your_function(*args, **kwargs):
  blabla

To create your own decorator:

from nectarifere.extracteur import ExtracteurDeJus

class mydecorator(ExtracteurDeJus):

    def __init__(self, function):
        super().__init__(function) #Superclass constructor
        self.myattribute = 42.


    def success(self):
        print(self.myattribute)

    def failure(self):
        print(1/self.myattribute)

@mydecorator
def whateverfunctionyouwant(args):
    ...

Project details


Download files

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

Source Distribution

nectarifere-2.4.tar.gz (23.2 MB view details)

Uploaded Source

Built Distribution

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

nectarifere-2.4-py3-none-any.whl (23.2 MB view details)

Uploaded Python 3

File details

Details for the file nectarifere-2.4.tar.gz.

File metadata

  • Download URL: nectarifere-2.4.tar.gz
  • Upload date:
  • Size: 23.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.10

File hashes

Hashes for nectarifere-2.4.tar.gz
Algorithm Hash digest
SHA256 899581c961af5d6b96dcc6ca079b6a29f693932f80a79effd3429e2212504943
MD5 ee50909ebfd74f2ad34956a3674ff49c
BLAKE2b-256 bb08af24dd1b1da0d4b8b1bfdadd152faeb18219bd4d991ec5e366abb7610e80

See more details on using hashes here.

File details

Details for the file nectarifere-2.4-py3-none-any.whl.

File metadata

  • Download URL: nectarifere-2.4-py3-none-any.whl
  • Upload date:
  • Size: 23.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.10

File hashes

Hashes for nectarifere-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1584f180f68b7328399b4e7056eb8d71c9fffe1d25f779cf3dcb9aed82b243ec
MD5 e59d70e449a461eddd21eecd6ac17d13
BLAKE2b-256 fa81ac1408ecceef062f2b2e09178d432459d9f9d95947bae60fa3fba37c82d7

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