@public decorator and public(*objects) function for add object names to __all__
Project description
Install
github.com: pip install git+git://github.com/russianidiot/public.py.git
pypi.python.org: pip install public
download: python setup.py install
or setup/.setup.py develop.command
Usage
from public import *
@public
def func(): pass
@public
class CLS: pass
public(CLS())
public("name")
public("name1","name2")
Tested: python 2.6, 2.7, 3+
Bug Tracker: github.com/russianidiot/public.py/issues
Project details
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
public-0.0.2.tar.gz
(5.6 kB
view details)
File details
Details for the file public-0.0.2.tar.gz
.
File metadata
- Download URL: public-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33f396cfb055ac1f975d93df1c657e79ebdfc07c2fbf501a616c32bce7a82179 |
|
MD5 | 9d0b7f6c5199917bd6910bd44ee9a247 |
|
BLAKE2b-256 | a7c374d78a1e8399f316a5f1023f19a1343e797adda470e09ed170c73a252fc3 |