ooputil
This package defines utilities for object-oriented programming in python.
How to use
Interfaces
from ooputil import Interface
# Implementing an OOP interface
class MyInterface(Interface):
def do_something(self, elem: str) -> None: pass
def do_another_thing(self) -> None: pass
# Creating a class that implements the interface
class MyClass(MyInterface):
def do_something(self, elem: str) -> None:
print(elem)
def do_another_thing(self) -> None:
print("Using my method :)")
Release files for ooputil 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ooputil-0.2.4.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ooputil-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / ooputil-0.2.4.tar.gz
| Download URL | ooputil-0.2.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77108330d226d027021c621d085e0db5ef5ed44297f8d1ecccd88762f792e44d
|
|
BLAKE2b-256 checksum How to use checksums |
cb5c5ec545c5ec73fcbbfbea469cb1df22d7481c63c98eaef1412091137f4950
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / ooputil-0.2.4-py3-none-any.whl
| Download URL | ooputil-0.2.4-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ad708a228e37fccd86b3759d0a16bfbd2db9493276a9c679d6461aba9222acf
|
|
BLAKE2b-256 checksum How to use checksums |
23bac045ad5589843fffdb10ca93ff41c577247a82e09a9665b90dced84ddc20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|