semvec/pypi-packages huggingface dataset:
drupaljsonapiclient 1.1.1
Drupal CMS JSON:API client for Python.
Requires Python: <4.0,>=3.8

# drupaljsonapiclient: Drupal CMS JSON:API client for Python

## What is it?
**drupaljsonapiclient** is a powerful JSON:API client that helps to create and fect Drupal entities and resources via easy-to-use, pythonic, ORM-like abstraction layer.

## Features

* JSON:API write operations (POST, PATCH, and DELETE), including Drupal CMS specific implementation of uploading files.
* Optional asyncio implementation.
* Model schema definition and validation (required for creating/posting resources, optional for reading/fetching resources).
* Resource caching within session.

## Know Limitations

* Parsing meta data for entity reference fields is not supported. Meaning, it is not possible to retrive or post meta data added to entity reference fields used by such as modules as `drupal/image_field_caption`. It is recommended to store the required meta data directly as attributes of the referenced entity. For examply, by adding "Figure Caption" text field to Media entities as an alternative to using `drupal/image_field_caption`.

## Credits

* Based on JSON API Python client by [Tuomas Airaksinen](https://github.com/tuomas2/) for [Qvantel](http://qvantel.com/), 
see [JSON API Python client](https://github.com/qvantel/jsonapi-client/).
limelightlib-python 0.9.6
Built to interface with any Limelight Smart Camera
Requires Python: >=3.6

# LimelightLib Python

## Discover all connected Limelights, and interact with them via REST and Websockets

```
import limelight
import limelightresults
import json
import time

discovered_limelights = limelight.discover_limelights(debug=True)
print("discovered limelights:", discovered_limelights)

if discovered_limelights:
    limelight_address = discovered_limelights[0] 
    ll = limelight.Limelight(limelight_address)
    results = ll.get_results()
    status = ll.get_status()
    print("-----")
    print("targeting results:", results)
    print("-----")
    print("status:", status)
    print("-----")
    print("temp:", ll.get_temp())
    print("-----")
    print("name:", ll.get_name())
    print("-----")
    print("fps:", ll.get_fps())
    print("-----")
    print("hwreport:", ll.hw_report())

    ll.enable_websocket()
   
    # print the current pipeline settings
    print(ll.get_pipeline_atindex(0))

    # update the current pipeline and flush to disk
    pipeline_update = {
    'area_max': 98.7,
    'area_min': 1.98778
    }
    ll.update_pipeline(json.dumps(pipeline_update),flush=1)

    print(ll.get_pipeline_atindex(0))

    # switch to pipeline 1
    ll.pipeline_switch(1)

    # update custom user data
    ll.update_python_inputs([4.2,0.1,9.87])
    
    
    try:
        while True:
            result = ll.get_latest_results()
            parsed_result = limelightresults.parse_results(result)
            if parsed_result is not None:
                print("valid targets: ", parsed_result.validity, ", pipelineIndex: ", parsed_result.pipeline_id,", Targeting Latency: ", parsed_result.targeting_latency)
                #for tag in parsed_result.fiducialResults:
                #    print(tag.robot_pose_target_space, tag.fiducial_id)
            time.sleep(1)  # Set this to 0 for max fps


    except KeyboardInterrupt:
        print("Program interrupted by user, shutting down.")
    finally:
        ll.disable_websocket()

```