Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

getproperties(cls,...) function - get class properties

Project Description
.. README generated with readmemako.py (github.com/russianidiot/readme-mako.py) and .README dotfiles (github.com/russianidiot-dotfiles/.README)

.. image:: https://img.shields.io/badge/Language-Python-blue.svg?style=plastic

.. image:: https://img.shields.io/pypi/pyversions/getproperties.svg
:target: https://pypi.python.org/pypi/getproperties

|

.. image:: https://codeclimate.com/github/russianidiot/getproperties.py/badges/gpa.svg
:target: https://codeclimate.com/github/russianidiot/getproperties.py

.. image:: https://landscape.io/github/russianidiot/getproperties.py/master/landscape.svg?style=flat
:target: https://landscape.io/github/russianidiot/getproperties.py

.. image:: https://scrutinizer-ci.com/g/russianidiot/getproperties.py/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/russianidiot/getproperties.py/

.. image:: https://api.codacy.com/project/badge/Grade/e74b6d7ef8234487a9ad487579941748
:target: https://www.codacy.com/app/russianidiot/getproperties-py



Install
```````


.. code:: bash




Usage
`````


.. code:: python

from getproperties import *

class CLS:
@property
def property(self): pass
@property
def property2(self): pass

class CLS2(CLS):
# property - inherited
@property
def property2(self): pass # overloaded
@property
def new_property(self): pass # new

>>> getproperties(CLS)
[<property object at ...>, ...]

# include pattern(s)
getproperties(CLS,include="pattern*") # wildcard
getproperties(CLS,include="pattern") # static name
getproperties(CLS,include=["pattern1*","pattern2*"]) # few patterns

# exclude pattern(s), same as include
getproperties(CLS,exclude=...)

getproperties(CLS,_=False) # exclude _private

getproperties(CLS2,inherited=False) # exclude inherited from parent class properties
getproperties(CLS2,new=False) # exclude new properties
getproperties(CLS2,overloaded=False) # exclude overloaded properties


Feedback |github_follow| |github_issues|

.. |github_follow| image:: https://img.shields.io/github/followers/russianidiot.svg?style=social&label=Follow
:target: https://github.com/russianidiot

.. |github_issues| image:: https://img.shields.io/github/issues/russianidiot/getproperties.py.svg
:target: https://github.com/russianidiot/getproperties.py/issues
Release History

Release History

This version
History Node

0.0.17

History Node

0.0.16

History Node

0.0.15

History Node

0.0.14

History Node

0.0.13

History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
getproperties-0.0.17.tar.gz (2.0 kB) Copy SHA256 Checksum SHA256 Source Jul 28, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting