Library for OOP utilities
Project description
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 :)")
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
ooputil-0.1.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ooputil-0.1.0.tar.gz.
File metadata
- Download URL: ooputil-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b06e5c6ce595ca9c1f50d0cc82fa7d1ffe35cbf73b362400c9a842c0ccedeba
|
|
| MD5 |
8a96fb9ce0ca6a1e5156fde3608bc667
|
|
| BLAKE2b-256 |
a897a0354fed98aa9631f59cef938c5d0093c3e7926c3e1614659c76973ab1b1
|
File details
Details for the file ooputil-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ooputil-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e625d69c8fec4e9f48c93a3afe58476139c4820c03874ae5c9d2a8fd643bed2e
|
|
| MD5 |
dc95f70d8b40e9582a723cf558b96f55
|
|
| BLAKE2b-256 |
59740e6189117eb79e512ea119b4d78789131b3696fa46f8a5d05dcee620ccd6
|