@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
Usage
from public import *
@public
def func(): pass
@public
class CLS: pass
public(CLS())
public("name")
public("name1","name2")
Feedback
- Chat with me (english/russian)
russianidiot.github.io/python/ - my Python packages
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.8.tar.gz
(3.2 kB
view details)
File details
Details for the file public-0.0.8.tar.gz
.
File metadata
- Download URL: public-0.0.8.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cabe3a8efb5de4bb8b1283070ce9aa55ec8fd954841b7d1ec385e920d5f9516e |
|
MD5 | b8bfe11f38cc1638efe66709491d684a |
|
BLAKE2b-256 | 9f040f897cd325e5c5f3a043198bdfb49186a4ec12e27f43331dba6b82c3f245 |