Skip to main content

The inner self is ever-present

Project description

Innerself

Python Version Version License Build Status Coverage Status Code style

class Zen:
    @innerself
    def __init__(self, the, path, to, enlightenment):
        your_innerself = f'is {the} {path} {to} {enlightenment}'

    @innerself(readonly=True)
    def chaos(self, dont, let, the, anger, and_chaos, control, you):
         return f'{you} {control} your own {path} {to} {enlightenment}'

>>> zen = Zen('the', 'path', 'to', 'enlightenment')
>>> zen.your_innerself
'is the path to enlightenment'

>>> zen.chaos("don't", 'let', 'the', 'anger', 'and chaos', 'control', 'you')
'you control your own path to enlightenment'

>>> hasattr(zen, 'enlightenment')
True

>>> hasattr(zen, 'anger')
False

To install: pip install innerself

Project details


Download files

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

Files for innerself, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size innerself-0.0.2.tar.gz (21.1 kB) File type Source Python version None Upload date Hashes View
Filename, size innerself-0.0.2-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page