Skip to main content

@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.4.tar.gz (5.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for public-0.0.4.tar.gz
Algorithm Hash digest
SHA256 46a42038a7ef6a04642f311690c4f7212969f5181a7b36bf0be8317e3f86e42a
MD5 60faa5a2e1ab6c33b8ca72b4de64303b
BLAKE2b-256 b902a468dabe2f4248d8353c1633bbd0c6bb74b8575d2259e36c16092d3da9a9

See more details on using hashes here.

Supported by

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