Skip to main content

A series of python programming patterns to extend and ease implementation

Project description

This package is a collection of various programming patterns, adapted from Android code. They are useless by themselves - only by extending and completing them can they be useful to you. Good luck!

Contained within:

Constants interface (application.constants_interface)

Defaulting Dictionary (patterns.defaulting_dict)

Enumeration (enumeration)

    Matchers (enumeration.matcher.abstract_matcher)

    Value matcher (enumeration.matcher.abstract_value_matcher)

    Representables (enumeration.enums.abstract_representable)

    Visitor Pattern (enumeration.visitor.abstract_visitor)

Event Handling Pattern (eventhandling)

    Event Distributors

    Event Monitors (eventhandling.eventmonitoring.event_monitor)

    Event Trackers (eventhandling.abstract_event_tracker)

    Events (eventhandling.event)

    Reactions (eventhandling.abstract_reaction)

Executable Pattern (patterns.executable)

    Do-Nothing Executables (patterns.do_nothing_executable)

Factory Pattern (factories)

    Custom Factories (factories.abstract_custom_factory)

Listener Pattern (listeners)

    Dummy Listeners (listeners.dummy_listener)

    Listener Registry (listeners.abstract_listener_registry)

    Proxy Listeners (listeners.proxy_listener)

    Subject Listeners (abstract_event_subject_listener)

    No-Subject Listener (abstract_event_subject_unused_listener)

Matcher Pattern (enumeration.matcher.abstract_value_matcher)

Registry Pattern (application.abstract_registry)

    Context Based Registry Locator (application.base_context_registry_locator)

Rules and Rule Engine Patterns (rules)

    Logging Rules (rules.logging_rule_engine)

    Stateful Rules (rules.abstract_stateful_rule)

    Rule Engines (rules.rule_engine)

    Basic Rules (rules.abstract_rule)

Quicksort (sorting.abstract_quick_sorter)

Transformer Pattern (transforming)

    Populator Pattern (transforming.abstract_populator)

Just extend the pattern you're looking to use, fill in the mandatory items, and there you go!

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

thraxisgamespatterns-0.0.4.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

thraxisgamespatterns-0.0.4-py3-none-any.whl (204.8 kB view details)

Uploaded Python 3

File details

Details for the file thraxisgamespatterns-0.0.4.tar.gz.

File metadata

  • Download URL: thraxisgamespatterns-0.0.4.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for thraxisgamespatterns-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c7f67d7f8dfb83debbd6ea837bc6681d70b318e2fe36182a898ac02538842583
MD5 4e8c1a51b116900d58a3e7c80a0f5946
BLAKE2b-256 2addc923a25f2357cc32eee44fdcd82406399792b4c78a33a632c2cc5a928677

See more details on using hashes here.

File details

Details for the file thraxisgamespatterns-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: thraxisgamespatterns-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 204.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for thraxisgamespatterns-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1026526efa5e846e6615b43504f632d798bc82d2f3019ca2fb2d4d52bf5ea7ee
MD5 cbdb79b1171126cebc2cf0059cc197df
BLAKE2b-256 50508ff622e823ee2f85e953b440754572bde7b17315c2039c0a99d07e4b90cd

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