semvec/pypi-packages huggingface dataset:
pykmtronic 0.3.0
Python library to interface with KM Tronic Web Relays
License: MIT License

# pykmtronic

[![PyPI version](https://badge.fury.io/py/pykmtronic.svg)](https://badge.fury.io/py/pykmtronic)

This library provides a Python3 interface to [KM-Tronic web relays](https://info.kmtronic.com/lan-relays.html).

# Tested equipments:

- https://info.kmtronic.com/manuals/user_manuals/W2CR_WEB_TWO_CHANNEL_RELAY.pdf
django-samplemed-user-api 0.0.2
A simple User app for DRF
License: MIT License

==========================
Django Samplemed Users Api
==========================

This is a generic sample of code for api test installation. To be used as an 
app to create api endpoints using DRF.

The steps for installation are as follow:

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Install "rest_framework"::

    `pip install djangorestframework`

2. Once installed add the ``rest_framework`` into your "INSTALLED_APPS" in your ``settings.py``::

    INSTALLED_APPS = [
        ...
        'rest_framework',
    ]

3. Install ``samplemed_users_api``::

     ``pip install samplemed_users_api``

4. Once installed add the "User" app into your ``INSTALLED_APP`` in ``settings.py``::

    INSTALLED_APPS = [
        ...
        'rest_framework',
        'Users',
    ]

5. Make db migrations to make the app work::

     ``python manage.py makemigrations``

6. Migrate the changes::

     ``python manage.py migrate``

7. Add the urls from "User" app into your main url::

     ``from django.conf.urls import include``

- URL path that will display as default 
  admin and the empty path as the API endpoints (router.urls)::

    urlpatterns = [
        path('admin/', admin.site.urls),
        path('users/', include("Users.urls")), 
    ]

8. Go to  "https://your.url.com/users/" and see the endpoints.