semvec/pypi-packages huggingface dataset:
TWMetro 0.0.2
A simple package for reading data from the Tyne and Wear Metro API

# TWMetro

TWMetro is a Python library that provides an interface to access and retrieve status information about the Tyne and Wear Metro system in the UK.

## Currently Supported Features

- Retrive a list of all Metro lines and their coordinate points
- Retrieve a list of all Metro stations
- Retrieve the status of all Metro trains
- Retrieve a list of all Metro incidents

## Installation

You can install the TWMetro library using pip:

```bash
pip install TWMetro
```

## Usage

> [!IMPORTANT]
> A JWT token is required to access the API. I cannot provide this token via scraping, so you will need to obtain it yourself from the Nexus website [here](https://www.nexus.org.uk/metro/updates).

```python
from TWMetro import TWMetro

client = TWMetro("your_jwt_token_here")

# Get all Metro lines
lines = client.get_lines()

# Get all Metro stations
stations = client.get_metrostations()
# Get all Metro train status
trains = client.get_trainstatus()
# Get all Metro incidents
incidents = client.get_warnings()
# Get all metro lines
lines = client.get_metrolines()
```
time-machine 3.2.0
Travel through time in your tests.
Requires Python: >=3.10
Keywords: date, datetime, mock, test, testing, tests, time, warp

============
time-machine
============

.. image:: https://img.shields.io/readthedocs/time-machine?style=for-the-badge
   :target: https://time-machine.readthedocs.io/en/latest/

.. image:: https://img.shields.io/github/actions/workflow/status/adamchainz/time-machine/main.yml.svg?branch=main&style=for-the-badge
   :target: https://github.com/adamchainz/time-machine/actions?workflow=CI

.. image:: https://img.shields.io/badge/Coverage-100%25-success?style=for-the-badge
   :target: https://github.com/adamchainz/time-machine/actions?workflow=CI

.. image:: https://img.shields.io/pypi/v/time-machine.svg?style=for-the-badge
   :target: https://pypi.org/project/time-machine/

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
   :target: https://github.com/psf/black

.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=for-the-badge
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit

----

.. figure:: https://raw.githubusercontent.com/adamchainz/time-machine/main/docs/_static/logo.svg
  :alt: time-machine logo
  :align: center

Documentation
=============

Please see https://time-machine.readthedocs.io/.
weompy 1.8.194
Python library for controlling WEOM IR cameras

### WEOM Python interface

version: 1.8.194

WEOMPy is a comprehensive Python library designed to control [WEOM cameras](https://workswell.eu/weom-thermal-core-high-performance-thermal-camera/) using the Python language.

The library can access the following key WEOM thermal core features

* read device information such as serial number, firmware version, etc...
* change display parameters (display palette, contrast, brightness, frame rate, gain, etc..)
* view and capture images
* update thermal core firmware
* manage sensor dead pixels

We provide documentation, howtos and tutorials in a form Jupyter notebooks. The notebooks and example can be found in directory where the library is installed using `pip`. We strongly recommend the use of Python virtual environments to avoid any possible conflicts. To create and activate a clean WEOMPy Python environment run

> `⚠️` **Important**
>
> On some systems there might be dependency issues using Python installations from Microsoft Store. We strongly discourage from using those.

`python -m venv <venv_directories>/weompy`

`. <venv_directories>/weompy/bin/activate`

now we have a clean Python environment and we can proceed by installing the library

`pip install weompy`

After these steps you can find the documentation and example in

`<venv_directories>/weompy/lib/python<version>/site-packages/weompy/example.py`

`<venv_directories>/weompy/lib/python<version>/site-packages/weompy/user_documentation.ipynb`

Also we provide stubs for IDE code completion in

`<venv_directories>/weompy/lib/python<version>/site-packages/weompy/weompy.pyi`

Prerequisites:

- Python 3.8 - 3.12
- Jupyter extension by Microsoft installed on VSCode, if you want to open user_documentation.ipynb in VSCode

> `⚠️` **Important**
>
> WEOMpy communicates with the camera via a serial interface and as such user must be a member of the `dialout` group.
>
> To use this library with the GigE plugin, Pleora eBUS SDK must be installed.