Skip to main content

@public decorator and public(*objects) function for add object names to __all__

Project description

https://img.shields.io/pypi/v/public.svg https://img.shields.io/pypi/pyversions/public.svg https://img.shields.io/pypi/dm/public.svg

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")

Feedback

github_issues - Github Issues

gitter - 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.5.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file public-0.0.5.tar.gz.

File metadata

  • Download URL: public-0.0.5.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for public-0.0.5.tar.gz
Algorithm Hash digest
SHA256 aa9e45011463544d5a48a035e0e7a964b9cf0d659c079e39007757c2643429cd
MD5 571106ff6b07d30dbd4285ba4e29d0a1
BLAKE2b-256 1c070cb9119270295f0f24017765d090817ae582aa14a17f546fe3658a3b593a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page