semvec/pypi-packages huggingface dataset:
unrest-schema 0.1.1
Convert Django forms into json schema
License: MIT
Keywords: utils,django

Unrest Schema
=======

A library for converting Django forms to json schema endpoints

## Usage

First install with `pip install unrest_schema` and then register any form:

``` python
from django import forms
from unrest_schema import register

from myapp.models import MyModel

@register
class MyModelForm(forms.ModelForm):
    class Meta:
        model = MyModel
        fields = ('field1', ...)
```

Then, in your urls add a the urls for unrest_schema

``` python
from django.urls import include

urlpatterns = [
    ..., #other url patterns
    re_path('', include('unrest_schema.urls')),
]
```

Now visit `/api/schema/MyModelForm/` in a browser to get the json representation of MyModelForm. Additionally you can post to `/api/schema/MyModelForm/` to create a new MyModel instance or `/api/schema/MyModelForm/1/` to modify the MyModel instance with `id=1`.

## Contributing/follow up

Feel free to open a github issue if you want to suggest any features or ask for help. Additionally, the python code for this project is ~150 lines so don't be afraid to dig in!
Mamba-Server 0.0.35
Framework for controlling ground equipment
License: MIT
Requires Python: >=3.6

================
Mamba-Server
================

.. image:: https://api.travis-ci.org/mamba-framework/mamba-server.svg?branch=master
   :target: https://travis-ci.org/github/mamba-framework/mamba-server/builds
.. image:: https://img.shields.io/codecov/c/github/mamba-framework/mamba-server/master.svg
   :target: https://codecov.io/github/mamba-framework/mamba-server?branch=master
   :alt: Coverage report
.. image:: https://img.shields.io/pypi/v/Mamba-Server.svg
        :target: https://pypi.python.org/pypi/Mamba-Server
.. image:: https://img.shields.io/readthedocs/mamba-server.svg
        :target: https://readthedocs.org/projects/mamba-server/builds/
        :alt: Documentation Status
.. image:: https://img.shields.io/badge/license-%20MIT-blue.svg
   :target: ../master/LICENSE


Mamba Framework Overview
========================

Mamba is a framework for data acquisition in distributed test environments. The Mamba Framework is composed of:
  
- **Mamba Server**: A tool to develop the controllers for the different Ground Control Equipments.
- **Mamba Client**: A set of libraries for composing a central controller that can use the services provided from one or more Mamba Servers. The central controller can be writen in a Jupyter Notebook, in a traditional development environment (like Visual Code or PyCharm) or be executed as an stand-alone script (https://github.com/mamba-framework/mamba-client).
- **Mamba Utils**: A set of utilities that are useful in the development of Ground Testbeds, like UDP and TCP sniffers (https://github.com/mamba-framework/mamba-utils).

The next image shows an architectural example of a testbed implemented with the Mamba Framework:

.. image:: docs/utils/mamba_framework_architecture.jpg
   :height: 18px

Where each Mamba Server can run in the same or different computers and be located in the same building or in different countries.

Mamba Server Overview
=====================
Mamba Server is a tool for the development of Ground Test Equipment Controllers. The Mamba Server is implemented in Python and has a component based architecture. 

While it has been developed to serve the needs of spacecraft equipment test applications, it can also be used in any other kind of project that require the control of different test equipments, like a physics experiment laboratory or in the Automotion industry.

Although the projects where Mamba is deployed usually are composed of dozens of different distributed ground equipments, it is also a perfect fit a an small project composed only by a handful of instruments controlled by one single computer.

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

* Python 3.6+
* Works on Linux, Windows and macOS

Install
=======

The quick way::

    pip install mamba-server

The wheels include a copy of the required parts of the LGPL version of Qt.
    
Documentation
=============

Documentation is available online at https://mamba-server.readthedocs.io and in the ``docs``
directory.

License
=======

See `License <https://github.com/mamba-framework/mamba-server/blob/master/LICENSE.txt>`__.