Skip to main content

Base frame reward system

Project description

rewardify-base

Base frame reward system

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.0 (2019-06-08)

  • First release on PyPI.

0.1.0 (2019-06-14)

  • Initial version

0.1.1 (2019-06-14)

  • Fixed bug in setup.py, which caused the “backends” package to be excluded

0.2.0 (2019-06-15)

  • Internal changes in the recycle method for rewards
  • Added a “user_exists” method to the facade, which will return, whether or not the given user name exists in the database or not
  • Added “effect” field to Reward class
    • An optional string item “effect” can ba added to the config of any reward. This string should contain special syntax, for what effect the reward usage should have on the rewardify system
    • Currently granting the user gold and dust are supported effects
  • Added more methods for handling rewards to the facade, which include buying, using and recycling rewards

0.2.1 (2019-06-16)

  • Fixed, that the facade method for buying a pack internally called the method for adding a pack, thus not actually spending gold on it

0.2.2 (2019-06-16)

  • Added “user.save()” calls to all the methods of the facade, that modify the models, so that the modifications actually get taken over into the database

0.2.3 (2019-06-16)

  • Extended the clean method for the Environment setup of the test cases to also remove sub folders

0.2.4 (2019-06-16)

  • Fixed a bug, which causes the “open_pack” method of the User model not to work properly

0.2.5 (2019-06-16)

  • Rethought the effect system: The “use” method of Reward now returns a list with functions, which contain the effects.
  • Fixed a bug, where the facade method for using a reward did not execute the effects of the reward properly

0.2.6 (2019-06-16)

  • Changed the install directory for linux from “~/.rewardify” to “/opt/.rewardify” as the previous one isnt working with python path handling.

0.2.10 (2019-06-16)

  • Added a method “init” to the EnvironmentConfig singleton, which will create the connection to the database

0.2.11 (2019-06-16)

  • Fixed, that the pointer to the last accounted action was not being saved within the ForestBackend

0.2.12 (2019-06-16)

  • Fixed the gold evaluation for the reward effects, it was accidentally set to constant value

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rewardify, version 0.2.12
Filename, size File type Python version Upload date Hashes
Filename, size rewardify-0.2.12-py2.py3-none-any.whl (41.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size rewardify-0.2.12.tar.gz (54.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page