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.dev1.tar.gz
(3.3 kB
view details)
File details
Details for the file public-0.0.40.dev1.tar.gz.
File metadata
- Download URL: public-0.0.40.dev1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368b785d64b006cdee6fba195a90db493c2b7215dfab08ecf338d331ab600931
|
|
| MD5 |
3e12ed75ed68934df5a9a81aadf69cf6
|
|
| BLAKE2b-256 |
f54892297f0103eaca9e5c0edd98e926f624bec4f9fa5f60767c2b18c7df1fc7
|