python-on-rails | supporting Railway-Oriented Programming

 by   funnel-io Python Version: 1.0.1 License: MIT

kandi X-RAY | python-on-rails Summary

kandi X-RAY | python-on-rails Summary

python-on-rails is a Python library. python-on-rails has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install python-on-rails' or download it from GitHub, PyPI.

A library for supporting Railway-Oriented Programming in Python.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python-on-rails has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              python-on-rails has no issues reported. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of python-on-rails is 1.0.1

            kandi-Quality Quality

              python-on-rails has no bugs reported.

            kandi-Security Security

              python-on-rails has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              python-on-rails is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              python-on-rails releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of python-on-rails
            Get all kandi verified functions for this library.

            python-on-rails Key Features

            No Key Features are available at this moment for python-on-rails.

            python-on-rails Examples and Code Snippets

            No Code Snippets are available at this moment for python-on-rails.

            Community Discussions

            No Community Discussions are available at this moment for python-on-rails.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install python-on-rails

            Install the package python_on_rails version 1.0+ from PyPi. The recommended requirements.txt line is python_on_rails~=1.0. This package uses semantic versioning. Combined with Result objects, a means of Railway-Oriented Programming. A Railway object represents a process comprising of a number of steps. It accepts a number of steps, each of which should be a function that accepts and returns a Result object. Triggers the process. If an initial value is not supplied, the first step will be called with a Result.success(None). By default, if the process completes successfully, the final result will be unwrapped. If it fails however, a Result object with its error set will be returned. This behaviour can be configured by passing the optional success_handler and failure_handler. Those handlers are both functions that accept a single argument - a Result object. An object encapsulating a value or an error. Predicate methods denoting whether the result object has its error or value set. Constructors that creates a Result object with either its error or value set. Convenience decorator builder applying the Result object to the generic catch decorator. Accepts any number of exceptions to catch and turn into Result objects. Convenience function for creating a Result object with its error set. Has the same effect as calling the Result.failure constructor. Convenience function for creating a Result object with its value set. Has the same effect as calling the Result.success constructor. Convenience function for extracting the value from a Result object. An implementation of the either monad. The abstract Either base class encapsulates a value and is implemented as the Success and Failure classes. Accepts a monadic function that takes a single argument and returns either a Success or a Failure. For a Success, calls the supplied function with the unwrapped argument, returning its result. For a Failure, ignores the supplied function and returns the existing failure. Convenience decorator builder applying the Either monad to the generic catch decorator. Accepts any number of exceptions to catch and turn into Failure objects. A decorator builder that ensures that the result of calling a function is returned as a Result object. Given a list of exceptions, catches those and wraps them into a Result object with its error set. Can optionally be configured to handle and use the Either monad instead by passing the result_class, failure, and success arguments.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install python-on-rails

          • CLONE
          • HTTPS

            https://github.com/funnel-io/python-on-rails.git

          • CLI

            gh repo clone funnel-io/python-on-rails

          • sshUrl

            git@github.com:funnel-io/python-on-rails.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link