formatclass 0.0.4
pip install formatclass==0.0.4
Newer version available (1.0.2)
Released:
formatclass(cls,...) - format class representation
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: russianidiot
- Tags format , class , inspect
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
Install
github.com: pip install git+git://github.com/russianidiot/formatclass.py.git
pypi.python.org: pip install formatclass
download: python setup.py install
or setup/.setup.py develop.command
Usage
from formatclass import *
class Cls(object): pass
class Cls2(Cls):
def __init__(self,arg,arg2="default"): pass
formatclass(CLS2)
>>> Cls2(__main__.Cls)(arg, arg2='default')
formatclass(CLS2,fullname=False)
>>> Cls2(Cls)(arg, arg2='default')
formatclass(CLS2,args=False)
>>> Cls2(Cls)
formatclass(CLS2,space=False)
>>> Cls2(Cls)(arg,arg2='default')
Tested: python 2.6, 2.7, 3+
Bug Tracker: github.com/russianidiot/formatclass.py/issues
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: russianidiot
- Tags format , class , inspect
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
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
File details
Details for the file formatclass-0.0.4.tar.gz
.
File metadata
- Download URL: formatclass-0.0.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f21e4b05b1c31b0b8aa575c46cc1ee6ea296358b23223f01ab702a1d475fced8
|
|
MD5 |
7474d722ed3e18b76d51692ce44fb255
|
|
BLAKE2b-256 |
12b15f2eb4eb39333496050870ea855d9e03975195d61a44335df5ceacd6fc5a
|