@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.1.tar.gz
(5.6 kB
view details)
File details
Details for the file public-0.0.1.tar.gz
.
File metadata
- Download URL: public-0.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ef93bc805b788f3c5af9d9adea2d1e037f3f770800a7f0a5e14d6fceff147ce |
|
MD5 | 5457a003830002d7f4165d17f4743672 |
|
BLAKE2b-256 | 78176a6dab19e5bb713c3371a2f8a55f2a19348f9da38f29df84725519e1e3a7 |