Skip to main content

Object-oriented programming in Python

Project description

PyOOPy :poop:

Python Object-Oriented Programming library

Installation

pip install PyOOPy

Usage

from dataclasses import dataclass
from PyOOPy import PyOOPy


@dataclass
class Base(PyOOPy):
    protected_field: PyOOPy.Protected = None
    private_field: PyOOPy.Private = None
    public_field: PyOOPy.Public = None

    @PyOOPy.protected
    def protected_method(self):
        pass

    @PyOOPy.private
    def private_method(self):
        pass

    @PyOOPy.public
    def public_method(self):
        pass

License

License: MIT

Project details


Download files

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

Source Distribution

PyOOPy-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

PyOOPy-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file PyOOPy-0.1.1.tar.gz.

File metadata

  • Download URL: PyOOPy-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for PyOOPy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3b491042745fdfe575842d936a188e6071da4442fd76ce59f3049dfa3a1fcac5
MD5 a2814e7777c37f39d3f842bffb628de5
BLAKE2b-256 5848b6b1e1a1013a9f3ab8fc7879b5c79ad794b901379164cf50e43927b82b6a

See more details on using hashes here.

File details

Details for the file PyOOPy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: PyOOPy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for PyOOPy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cb2574af304044f0e9037b782bda367ccf06d452b5625f406dd877fe8346c0f
MD5 71b5b25f0b8f8d18a6669d94f8dc8b7c
BLAKE2b-256 38004bb236ec916837328fedae1879f2e08de573d9038077b7cb00245752d094

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