Skip to main content

Python poo non native features

Project description

How to use the library ?

You can import the @interface method and use it as a decorator in your classes

@interface
class Animal:
    def walk(): pass
    def eat(): pass

And then inherit from your interface class

@interface
class Dog(Animal):
    def walk(): pass
    def eat(): pass

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

py_poo-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_poo-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file py_poo-0.1.0.tar.gz.

File metadata

  • Download URL: py_poo-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for py_poo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7e67e291d0c11ee0ef6c5bfb5188b21f904ac58e93b363407b40bda0f345bf7
MD5 10b96e44378ca68861413abb28e5efc5
BLAKE2b-256 1b3e77f7e60dcfbc5c49eac3573c739400b2b685c7dad8031f9f2d900a82f036

See more details on using hashes here.

File details

Details for the file py_poo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: py_poo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for py_poo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c1da09345a7cba4b50baf5b7d627b06f9de1144de1cafd06514695ef5e59361
MD5 f9f24137aaef16614863649a2edd69ed
BLAKE2b-256 c7e6d1ac04ea480d4b93f1bba98768667abce8af3bc1cf1bba23a20b99d83ddc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page