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.

Source Distribution

innerself-0.0.2.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

innerself-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file innerself-0.0.2.tar.gz.

File metadata

  • Download URL: innerself-0.0.2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.1

File hashes

Hashes for innerself-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c62511580232c180af75680d93069544db4cfc70c6df2b0a66ac98642ab17efe
MD5 77b172711bea505f9961550a4cad662f
BLAKE2b-256 5efcff2c50a983157962bc80551c91fdffb4002b51b630a53163d441e9950591

See more details on using hashes here.

File details

Details for the file innerself-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: innerself-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.1

File hashes

Hashes for innerself-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66811bbb01469667fe26b1180eea8692594475be05059de2cbdadd5e9465fa00
MD5 06a981e52a3cfda21575de684632e680
BLAKE2b-256 58a0a6ce078efff6cf31fa36e023fcb6bcbb1b6afd89cbbf4de6c4cc7187f146

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page