semvec/pypi-packages huggingface dataset:
bitmex-ws-alpha 0.4.2
Sample adapter for connecting to the BitMEX Websocket API.

# Python Adapter for BitMEX Realtime Data

This is a reference adapter for receiving realtime data from the BitMEX API. See [the BitMEX documentation](https://testnet.bitmex.com/app/wsAPI)
for more information on the websocket API.

# Installation

`pip install bitmex-ws`

# Quickstart

`BitMEXWebsocket` is the main entry point to connect to the BitMEX websocket API. The API supports both authenticated
and unauthenticated clients. Some endpoints require credentials, for more info see
[the documentation on authentication.](https://testnet.bitmex.com/app/wsAPI#Authentication)

To get started, instantiate a connection:

    from bitmex_websocket import BitMEXWebsocket
    ws = BitMEXWebsocket(endpoint="https://testnet.bitmex.com/api/v1", symbol="XBTUSD", api_key=None, api_secret=None)

If you want to subscribe to authenticated data streams, [create an API key](https://testnet.bitmex.com/app/apiKeys) and
supply the corresponding values in `api_key` and `api_secret`. BitMEX has two systems - `testnet` for simulated
trading and testing, and `www` for live trading. API keys are specific to one system. If you created the key on testnet,
make sure your connection string points to testnet as well.

Once you are connected, you can retrieve data via the connector's methods. The latest data will be streamed to the
client - no need to poll the server.

    ws.get_instrument()
    ws.get_ticker()
    ws.funds()
    ws.market_depth()
    ws.open_orders()
    ws.recent_trades()

`main.py` has a full example of how to connect to BitMEX:

    $ python main.py
    2018-02-01 11:51:53,355 - bitmex_websocket - INFO - Connecting to wss://testnet.bitmex.com/realtime?subscribe=execution:XBTUSD,instrument:    ...
    2018-02-01 11:51:53,356 - bitmex_websocket - INFO - Not authenticating.
    2018-02-01 11:51:54,357 - bitmex_websocket - INFO - Connected to WS.
    2018-02-01 11:51:54,360 - bitmex_websocket - INFO - Got all market data. Starting.
    2018-02-01 11:51:54,364 - root - INFO - Ticker: {'last': 8947.0, 'sell': 8948.0, 'buy': 8947.0, 'mid': 8947.0}
    2018-02-01 11:51:54,369 - root - INFO - Market Depth: [{'id': 15500000950, 'side': 'Sell', 'size': 384, 'price': 999990.5, 'symbol': 'XBTUSD' ...
    2018-02-01 11:51:54,370 - root - INFO - Recent Trades: [{'side': 'Sell', 'size': 29856, 'price': 8947, 'symbol': 'XBTUSD', 'timestamp':       ...

# Compatibility
This module supports Python 3.5+.
flake8-typechecking-import 0.3
A flake plugin that checks for typing.TYPE_CHECKING-able imports


Flake8-Typechecking_Import
==========================

A plugin for flake8 that checks your code for imports that are
only used in annotations. These imports can then be moved under an
``if typing.TYPE_CHECKING:`` block to prevent them being imported at
runtime. This can minimise the number of runtime dependencies that your
modules have and perhaps also reduce the likelyhood of a circular import.

For example:

.. code:: python

    import dataclasses
    import datetime

    @dataclasses.dataclass
    class Person:
        name: str
        birthday: datetime.date

The above code will emit a lint (code: TCI100) telling you that it can
be converted to this:

.. code:: python

    import dataclasses
    import typing

    if typing.TYPE_CHECKING:
        import datetime

    @dataclasses.dataclass
    class Person:
        name: str
        birthday: datetime.date

You can install the latest version from pypi using pip like so::

    pip install flake8-typechecking_import
MAST-U-DMS-GUI 0.1.17
A GUI for spectral data analysis at MAST-U
Requires Python: >=3.0

# Sigma Coding Python Library

## Table of Contents

- [Overview](#overview)
- [Setup](#setup)
- [Usage](#usage)
- [Support These Projects](#support-these-projects)

## Overview
A GUI that can plot spectroscopy data, perform post-processing and save data for later reference. 
## Setup
How to Install the GUI:
Create a virtual environment (requires python 3 or greater)
::
	python -m venv <desired file path here>

Activate the virtual environment
::
	source <desired file path here>/bin/activate

Install the package onto the system (requires python verion 3 or greater)
::
	pip install MAST-U-DMS-GUI


This result in the package being installed on this virtual environment in the desired file path.

## Usage
Once installed, these commands can be run within the virtual environment.
::
	Run_MAST-U_DMS_GUI

Runs the main GUI for loading and processing data.

::
	Run_MAST-U_DMS_saved_data_plotter

Runs the GUI that can load in saved data plots.