Skip to main content

Collection of common use stuff

Project description

EWC Commons Library


Documentation Status

PyPI - Downloads

PyPI - Python Version

A collection of common & useful things to make other things easier.


Use pip to install the EWC Commons Library, which can also be used from the command line to trigger certain inbuilt functionality.

$ pip install ewc-commons[dev]

Veryfy the library installed and check the version or help.

$ ewccommons -v
$ ewccommons -h

Getting Started

  • Sophie Module
  • Dice Module
  • Dice Rolls Module
  • Card Deck Module

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

Sophie Module

The sophie module is used to provide convenient CLI script launcher framework

Dice Module

The dice module provides an OOP solution for creating various sided die simulators and a conveniant way of rolling multiple (varying) Dice objects

Dice Rolls Module

The dicerolls module can be used in multiple ways, firstly it can be used in the standard way of being imported into python scripts. dicerolls can also be invoked as a module script and will output the dice rolls for the dice specified. The same dice rolling functionality can also be invoked via the main ewccommons package executable.

Card Deck Module

The carddeck module provides a convenient means of creating card deck list which can be used as a basis for card based games.

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

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

ewc-commons- (18.0 kB view hashes)

Uploaded source

Built Distributions

ewc_commons- (43.3 kB view hashes)

Uploaded 3 7

ewc_commons- (21.2 kB view hashes)

Uploaded py3

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