semvec/pypi-packages huggingface dataset:
azuresphere 0.2.2
A library for interacting with Azure Sphere devices using the inbuilt REST server.
License: MIT
Requires Python: >=3.8

# Microsoft Azure Sphere Device REST APIs for Python

**Notice to users: This is a pre v1.0 package - there may be changes over the coming weeks which may include package name and API. This README will be updated to indicate any changes.**

Microsoft Azure Sphere Device REST APIs for Python enables users to interact with an Azure Sphere device using REST APIs.

## Installation

You can find Microsoft Azure Sphere Device REST APIs for Python on [PyPi](https://pypi.org/project/azuresphere/).
1. If you haven't already, [install and/or upgrade the pip](https://pip.pypa.io/en/stable/installing/)
   of your Python environment to a recent version.
2. Run `pip install azuresphere`.

## Versions

This library follows [Semantic Versioning](http://semver.org/).

## Usage

Before using Microsoft Azure Sphere Device REST APIs for Python, you must install the Azure Sphere SDK.
- To install the Azure Sphere SDK on Windows, follow the [Windows Quickstart](https://docs.microsoft.com/azure-sphere/install/install-sdk?pivots=cli).
- To install the Azure Sphere SDK on Linux, follow the [Linux Quickstart](https://docs.microsoft.com/azure-sphere/install/install-sdk-linux?pivots=cli-linux).

### Sample
The [display_ip_deviceid sample](https://github.com/Azure/azure-sphere-samples/blob/main/Manufacturing/src/Python/device_api_sample) gets the list of attached devices, displays the device IP address, and device ID.

### Active device IP address

By default, this package will target Azure Sphere devices with IP address `192.168.35.2`. To change the active Azure Sphere device, call `set_active_device_ip_address` API as below:
```
from azuresphere import devices
devices.set_active_device_ip_address("<Device_Ip_Address")
```

## Documentation

Microsoft Azure Sphere Device REST APIs for Python documentation is available at [Azure Sphere Device REST APIs Docs](https://github.com/Azure/azure-sphere-samples/blob/main/Manufacturing/src).

## Supported host operating systems

* Windows 10 and 11
* Ubuntu 18.04 and 20.04
rf-otp 0.1.12
RobotFramework tools provided by QA team
License: MIT
Requires Python: >=3.9
Keywords: OTP,TOTP

# rf-otp

    RobotFramework tools provided by QA team

## Documentation
    https://packaging.python.org/en/latest/tutorials/packaging-projects/ 

## Configuration .pypirc 
    File in ~/.pypirc
    https://packaging.python.org/en/latest/specifications/pypirc/
    https://python-packaging.readthedocs.io/en/latest/dependencies.html

## Packaging
### Prerequisite
	Configure python virtual env
	- python -m venv .venv
	Activate pyhton virtual env
	- .venv\Scripts\activate
	Update pip
	- %CD%\.venv\Scripts\python.exe -m pip install --upgrade pip
    Install/Update setuptools
    - pip install --upgrade setuptools
    Intall build package
    - pip install --upgrade build
    Install twine package
    - pip install twine

### Intall package associated to the tools
    Need by biuldOTP.py (repository: https://pypi.org/project/pyotp/)
    - pip install pyotp==2.6.0

### Build the package
    Change version in files:
    - pyproject.toml
    - setup.cfg
    - setup.py
    Build the package
    - python -m build
    Will create files .tar.gz and .whl in ./dist directory

### Upload package
    In current terminal define proxy your proxy
    set PROXY=http://[username]:[password]@proxygeadm.etat-ge.ch:3128
    set HTTP_PROXY=%PROXY%
    set HTTPS_PROXY=%PROXY%

    Execute commande
    - python -m twine upload --repository pypi dist/*
    Or
    - twine upload --repository pypi dist/*

### pip installation
    pip install rf-otp==0.1.11

### pdm installation
    pdm add --save-exact rf-otp==0.1.11

## Project configuration

### Use library in robot file.
    Add the library in robot file
    - Library   rf_otp

    Use the library in robot file
    - ${GENERATE_KEY} Get Otp ${SECRET}

    ${SECRET} is extract from the QR Code as follow:
    QR Code as URI => otpauth://[URL]?secret=[SECRET]&issuer=[TEXTE]
    Extract [SECRET] and use it in statement of your robot file
    - ${SECRET} [SECRET]

    ${GENERATE_KEY} is the variable with the 6 digits code generated.

## Update Version
    Update files:
    - pyproject.toml
    - setup.cfg
    - setup.py

## Documentation
    https://towardsdatascience.com/setuptools-python-571e7d5500f2
### Setuptools Keywords
    For file setup.py
    https://setuptools.pypa.io/en/latest/references/keywords.html
### File: setup.cfg
    Is an ini file containing option defaults for setup.py commands.