No project description provided
Project description
Install
`[sudo] pip install public`
Usage
>>> from public import public
>>> @public # decorator
>>> public(*objects) # function
Examples
>>> @public
def func(): pass
>>> @public
class CLS: pass
>>> print(__all__)
['CLS',func']
# public(*objects) function
>>> public("name")
>>> public("name1","name2")
>>> print(__all__)
['name','name1','name2']
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.40.tar.gz
(3.3 kB
view details)
File details
Details for the file public-0.0.40.tar.gz
.
File metadata
- Download URL: public-0.0.40.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eda6e87408ee1477d629444bd23da5de3d2c3fbe7c019944f4de07ec8a01a13 |
|
MD5 | ce51b51308a42811c9263da00689d0da |
|
BLAKE2b-256 | 13980e238e24a3475e7b0eadbfab5611d58ea3725e999ef7bb3efcbc646dc73e |