Skip to main content

No project description provided

Project description

https://img.shields.io/badge/Language-Python-blue.svg?style=plastic https://img.shields.io/pypi/pyversions/public.svg https://img.shields.io/pypi/v/public.svg

https://api.codacy.com/project/badge/Grade/6692c8b8d1194b3db696b456b683ad94 https://codeclimate.com/github/russianidiot/public.py/badges/gpa.svg https://landscape.io/github/russianidiot/public.py/master/landscape.svg?style=flat https://scrutinizer-ci.com/g/russianidiot/public.py/badges/quality-score.png?b=master

https://scrutinizer-ci.com/g/russianidiot/public.py/badges/build.png?b=master https://semaphoreci.com/api/v1/russianidiot/public-py/branches/master/badge.svg https://api.travis-ci.org/russianidiot/public.py.svg?branch=master https://app.wercker.com/status/f9a3b6fa3f83012adafea514154b8b37/s/master

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']

Feedback github_follow github_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.40.dev1.tar.gz (3.3 kB view details)

Uploaded Source

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

Hashes for public-0.0.40.dev1.tar.gz
Algorithm Hash digest
SHA256 368b785d64b006cdee6fba195a90db493c2b7215dfab08ecf338d331ab600931
MD5 3e12ed75ed68934df5a9a81aadf69cf6
BLAKE2b-256 f54892297f0103eaca9e5c0edd98e926f624bec4f9fa5f60767c2b18c7df1fc7

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