semvec/pypi-packages huggingface dataset:
cosmic-ray-parallel 1.0.1
Pytest test-runner plugin for Cosmic Ray
License: MIT
Keywords: testing

# cosmic_ray_parallel

Cosmic Ray execution engine that uses multiple threads for speedup. This is
ideal for running cosmic ray on just one computer with a lot of cpus. The celery
executor requires more setup, and the local executor only uses one thread.

It does use one thread per cpu, and is not configure able.

This is extremely little code
flask-journey 0.1.4
Flask blueprint management
License: MIT

.. code-block::

         _                                  
        (_)___  __  ___________  ___  __  __
       / / __ \/ / / / ___/ __ \/ _ \/ / / /
      / / /_/ / /_/ / /  / / / /  __/ /_/ / 
   __/ /\____/\__,_/_/  /_/ /_/\___/\__, /  
  /___/ Flask blueprint management /____/

.. image:: https://coveralls.io/repos/github/rbw0/flask-journey/badge.svg?branch=master
    :target: https://coveralls.io/github/rbw0/flask-journey?branch=master
.. image:: https://travis-ci.org/rbw0/flask-journey.svg?branch=master
    :target: https://travis-ci.org/rbw0/flask-journey
.. image:: https://badge.fury.io/py/flask-journey.svg
    :target: https://pypi.python.org/pypi/flask-journey
.. image:: https://img.shields.io/badge/License-MIT-green.svg
    :target: https://opensource.org/licenses/MIT


Description
-----------

Provides a clean and simple way of importing and managing blueprints. Additionally, the extension also enables consistent methods of (de)serialization and validation in blueprint enabled views.

It uses the standard Flask blueprint system, is modular and doesn't depend on anything special.


This along with an auth component is pretty much all you need for a solid REST API foundation. 


Highlights
----------

- Dead simple blueprint and route management that works with vanilla blueprints in Flask
- Drop-in replacement of ``flask.Blueprint.route`` with support for Marshmallow


Installing
----------

$ pip install flask-journey


Documentation
-------------
The documentation can be found `here <http://flask-journey.readthedocs.org/>`_

Full examples
-------------
Working examples can be found `here <https://github.com/rbw0/flask-journey/tree/master/examples>`_

*Will add more shortly (simpler ones and marshmallow-sqlalchemy)*

Quick taste 
-----------

Simple example of ``Journey`` and ``BlueprintBundle``

.. code-block:: python

    # file: bundles.py

    from flask_journey import BlueprintBundle
    from .users import bp as users
    from .groups import bp as groups

    v1 = BlueprintBundle(path='/api/v1')
    v1.attach_bp(users, description='Users API')
    v1.attach_bp(groups)


.. code-block:: python

    # file: __init__.py

    from flask import Flask
    from flask_journey import Journey

    from .bundles import v1

    app = Flask(__name__)
    journey = Journey()
    journey.attach_bundle(v1)
    journey.init_app(app)

    print(journey.routes_simple)


Compatibility
-------------
- Python 2 and 3
- Flask > 0.7

Author
------
Created by Robert Wikman <rbw@vault13.org> in 2018

JetBrains
---------
Thank you `Jetbrains <http://www.jetbrains.com>`_ for creating pycharm and for providing me with free licenses
mcgpyutils 1.0.5
Common Python utilities used at MCG Strategic
License: MIT
Requires Python: >=3.6

mcgpyutils
==========

mcgpyutils(MCG Python Utilities) is a project containing utility classes
commonly used in Python projects at `MCG
Strategic <https://www.mcgstrategic.com/>`__.

Requirements
------------

-  Python3, version >= 3.6

Usage
-----

Example:

::

    from mcgpyutils import FileSystemUtils

    fsu = FileSystemUtils()
    print(fsu.get_path_to_script(__file__))

Development
-----------

Changes to this package can be tested by putting the path to the root of
this repository in the PYTHONPATH environment variable. PYTHONPATH will
take precedence over the installed package and allow new changes to be
used instead of the version installed via pip. To revert this, remove
the path to the root of this repository from the PYTHONPATH. Here are 2
aliases to make switching easy:

::

    # Enable development mode
    alias pyutilsdev='export PYTHONPATH="/path/to/mcgpyutils:$PYTHONPATH"'

    # Revert to installed package (this assumes there's nothing else in your PYTHONPATH)
    alias pyutilsprod='export PYTHONPATH=""'