All Projects â†’ RookieGameDevs â†’ Revived

RookieGameDevs / Revived

Licence: bsd-3-clause
A redux-inspired predictable state container for python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Revived

Redux Tree
An alternative way to compose Redux reducers
Stars: ✭ 23 (+91.67%)
Mutual labels:  state-management, state
React Recomponent
🥫 Reason-style reducer components for React using ES6 classes.
Stars: ✭ 272 (+2166.67%)
Mutual labels:  state-management, state
k-ramel
State manager for your components apps, the safe and easy way
Stars: ✭ 20 (+66.67%)
Mutual labels:  state-management, state
react-wisteria
Managing the State with the Golden Path
Stars: ✭ 18 (+50%)
Mutual labels:  state-management, state
Westore
更好的小程序项目架构
Stars: ✭ 3,897 (+32375%)
Mutual labels:  state-management, state
atomic-state
A decentralized state management library for React
Stars: ✭ 54 (+350%)
Mutual labels:  state-management, state
Govern
Component-based state management for JavaScript.
Stars: ✭ 270 (+2150%)
Mutual labels:  state-management, state
eventrix
Open-source, Predictable, Scaling JavaScript library for state managing and centralizing application global state. State manage system for react apps.
Stars: ✭ 35 (+191.67%)
Mutual labels:  state-management, state
Machinery
State machine thin layer for structs (+ GUI for Phoenix apps)
Stars: ✭ 367 (+2958.33%)
Mutual labels:  state-management, state
Effector
The state manager ☄️
Stars: ✭ 3,572 (+29666.67%)
Mutual labels:  state-management, state
closeable-map
Application state management made simple: a Clojure map that implements java.io.Closeable.
Stars: ✭ 42 (+250%)
Mutual labels:  state-management, state
Little State Machine
📠 React custom hook for persist state management
Stars: ✭ 654 (+5350%)
Mutual labels:  state-management, state
xstate-viz
Visualizer for XState machines
Stars: ✭ 274 (+2183.33%)
Mutual labels:  state-management, state
Nanny-State
simple state management
Stars: ✭ 68 (+466.67%)
Mutual labels:  state-management, state
stoxy
Stoxy is a state management API for all modern Web Technologies
Stars: ✭ 73 (+508.33%)
Mutual labels:  state-management, state
alveron-old
Opinionated Elm-inspired Redux Component Architecture for React
Stars: ✭ 17 (+41.67%)
Mutual labels:  state-management, state
RxReduxK
Micro-framework for Redux implemented in Kotlin
Stars: ✭ 65 (+441.67%)
Mutual labels:  state-management, state
knockout-store
State management for Knockout apps.
Stars: ✭ 37 (+208.33%)
Mutual labels:  state-management, state
Redux Orm
A small, simple and immutable ORM to manage relational data in your Redux store.
Stars: ✭ 2,922 (+24250%)
Mutual labels:  state-management, state
Reatom
State manager with a focus of all needs
Stars: ✭ 567 (+4625%)
Mutual labels:  state-management, state

======= Revived

.. image:: https://img.shields.io/pypi/v/revived.svg :target: https://badge.fury.io/py/revived :alt: pypi latest version

.. image:: https://img.shields.io/pypi/l/revived.svg :target: https://badge.fury.io/py/revived :alt: pypi packge license

.. image:: https://img.shields.io/requires/github/RookieGameDevs/revived.svg :target: https://requires.io/github/RookieGameDevs/revived/requirements/?branch=master :alt: dependencies status

.. image:: https://img.shields.io/travis/RookieGameDevs/revived.svg :target: https://travis-ci.org/RookieGameDevs/revived :alt: travis build status

.. image:: https://img.shields.io/codecov/c/github/RookieGameDevs/revived.svg :target: https://codecov.io/gh/RookieGameDevs/revived :alt: coverage status

.. image:: https://readthedocs.org/projects/revived/badge/?version=latest :target: http://revived.readthedocs.io/en/latest/?badge=latest :alt: documentation status


A predictable state container for python heavily inspired by Redux_

While not being a strict 1:1 port of Redux API_, Revived is supposed to do pretty much the same job in the most pythonic way possible.

NOTE: I needed this piece of code to work with the latest python available at the moment (3.6). While I am not really caring about other versions, the Travis build is running the test suites on all the 3.5+ versions, including the dev ones.

Contents

  • Documentation_
  • Installation_
  • Examples_
  • Contribute_

Documentation

You can find the compiled documentation here:

Installation

Revived package is available on pypi: to install it use the following command::

pip install revived

Examples

Usage examples are coming soon.

Contribute

#. Clone the repository. #. Create the virtualenv.

  • using virtualenv_::

    virtualenv ENV bin/activate

  • using virtualfish_::

    vf new ENV

    optional: automatically load the virtualenv when entering the dir

    vf connect

#. Update pip and install pip-tools::

pip install --upgrade pip  # pip-tools needs pip==6.1 or higher (!)
pip install pip-tools

#. Install the dependencies::

pip install -r requirements.txt

#. Build the documentation::

cd docs
make html  # or whatever format you prefer

#. Work on the revived module. This project uses pip-tools_ so you want to add your new direct dependencies in requirements.in and then compile the requirements.txt using::

   pip-compile requirements.in

#. Write tests. #. Run tests::

# to have coverage in command line
pytest --cov revived --pep8 revived tests

# to have html coverage file in the htmlcov directory
pytest --cov revived --cov-report html --pep8 revived tests

#. Check type hints::

mypy revived tests

#. Create a pull request. #. Profit :)

.. _Redux: http://redux.js.org/ .. Redux API: Redux .. _virtualenv: https://virtualenv.pypa.io/en/stable/ .. _virtualfish: http://virtualfish.readthedocs.io/en/latest/ .. _pip-tools: https://github.com/jazzband/pip-tools

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].