self 0.0.2
pip install self==0.0.2
Newer version available (2020.12.3)
Released:
@self decorator makes method return self (jQuery-like chaining)
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: russianidiot
- Tags self , decorator
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
Install
github.com: pip install git+git://github.com/russianidiot/self.py.git
pypi.python.org: pip install self
download: python setup.py install
or setup/.setup.py develop.command
Usage
from self import *
class CLS:
@self
def method():
print("test")
@self
def method2():
print("test")
CLS().method().method2() # jQuery like chain
Tested: python 2.6, 2.7, 3+
Bug Tracker: github.com/russianidiot/self.py/issues
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: russianidiot
- Tags self , decorator
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file self-0.0.2.tar.gz
.
File metadata
- Download URL: self-0.0.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b313d9053c970f0198d9e73dd3575ee488136de590b8c3541423b6d5e2d8eef9
|
|
MD5 |
6f225f88951b3663dace1298471082fd
|
|
BLAKE2b-256 |
a155ce17a3f3299216a64393b96b349ea740af809de4d014e790311d72f583ae
|