semvec/pypi-packages huggingface dataset:
adp-api-transformeer 0.0.2
This package can be used to transform your openapi specs (json or yaml) to be used in the ADP1 apim repo
Requires Python: >=3.9

# adp-api-converter

A utility to transform your OpenAPI specifications (JSON or YAML) for use in the ADP1 APIM repository.  
This tool ensures your API specs have required attributes and outputs a modified OpenAPI JSON file.

## Features

- Accepts OpenAPI specs in `.json`, `.yaml`, or `.yml` formats.
- Adds missing `operationId` and `summary` fields to operations.
- Ensures the `info.title` field is set to a template value.
- Outputs the modified spec as formatted JSON.

## Usage

You can run the converter as a command-line tool:

```sh
adp-api-converter <input_file> [output_file]
```

- `<input_file>`: Path to your OpenAPI spec (YAML or JSON).
- `[output_file]`: (Optional) Path for the output JSON file. Defaults to `openapi.json`.

### Example

```sh
adp-api-converter api.yaml modified_api.json
```

## How it works

- Loads the OpenAPI spec from the provided file.
- Adds or updates the following:
  - `info.title` is set to `{{apiTitle}}`.
  - Each operation gets an `operationId` (if missing) in the format: `<method>_<path>-{consumerphase}`.
  - Each operation gets a `summary` (if missing) in the format: `<METHOD> <path>`.
- Saves the modified spec as JSON.

## Requirements

- Python 3.9+
- [pyyaml](https://pypi.org/project/PyYAML/)
SkopeDataReader 1.3.1
Python reader to load data acquired with skope-fx

# SkopeDataReader
Python reader to load data acquired with skope-fx


## CONSTRUCTOR
scan = DataReader(folder, scanNr)

*IN  
    folder:     path of the folder containing the scan data files  
    scanNr:     scan number*
    
*OUT  
    obj         scan object holding scan definition*

## FUNCTIONS
### getData(self, datatype, samples=[], channels=[], interleaves=[], dynamics=[])

*IN  
    datatype:     string (Type names are defined by the Acq System output file extensions: 'raw', 'phase', 'k', 'kspha', 'kcoco', 'Bfit', 'Gfit')  
    samples:      numpy array of requested samples.  
    channels:     numpy array of requested channels. Relative to acquired channels!   
    interleaves:  numpy array of requested interleaves.  
    dynamics:     numpy array of requested dynamics.*

for samples, channels, interleaves, and dynamics: If not present or empty all acquired data is returned

*OUT  
    data:         size = [samples, channels, interleaves, dynamics]*

### getTriggerTimeData(self)

*OUT  
    trigTimes:     for versions <= 2022: np array with trigger times   
                   for versions >= 2023: dict with 'triggerTimes' and 'flags'*
	
### filterData(self, data, frequencyKHz=50)

Note: this is a preliminary implementation for phase and k data only!

*IN  
	data: 		data obtained by getData that will be filtered  
	frequencyKHz:	cut off frequency for low pass filtering*

*OUT  
data:       filtered data*
	

## EXAMPLE USAGE

```python
import SkopeDataReader
import numpy as np
from matplotlib import pyplot as plt

# set scan path & nr
dataPath = 'My\Data\Path'
scanNr   = 1

# Initialize DataReader
scan = SkopeDataReader.DataReader(dataPath, scanNr)

# Load and print trigger times
triggerTime = scan.getTriggerTimeData()
print(triggerTime)

# Load and plot raw data
rawData = scan.getData('raw')
fig, ax = plt.subplots()
ax.plot(abs(rawData[:,:,0,0]))
plt.show()

# Load, filter and plot kspha data
kData = scan.getData('kspha', samples=np.arange(10000))
kData = scan.filterData(kData, frequencyKHz=50)
fig, ax = plt.subplots()
ax.plot(kData[:,:,0,0])
plt.show()

# Load and plot Bfit data
BData = scan.getData('Bfit')
fig, ax = plt.subplots()
ax.plot(BData[0,:,0,:].transpose(), '.-')
plt.show()
```
betatelsdk 0.0.8
An SDK for Betatel services
Keywords: python, tts, tele, voice, sms, sip, call, betatel

# Betatel SDK

Official Python SDK for Betatel telecommunications services.

## Installation

```bash
pip install betatelsdk
```

## Features

- **SMS**: Send and manage SMS messages
- **Voice**: Text-to-speech and voice services  
- **Call**: Voice call management and control
- **Carrier**: Carrier information and routing
- **Network**: Network status and connectivity
- **Billing**: Usage tracking and billing management

## Quick Start

```python
from betatelsdk import BetatelSDK

sdk = BetatelSDK(
    api_key='your_api_key_here',
    user_id='your_user_id_here'
)

# Send SMS
sdk.sms.send(
    from_='ExampleSender',
    to='ExampleRecipient',
    message='Hello from Betatel!'
)

# Make voice call
sdk.voice.text_to_speech(
    text='Hello world',
    voice='en-US'
)
```

## Documentation

For detailed API documentation and examples, visit [api.betatel.com/docs/category/api-documentation](https://api.betatel.com/docs/category/api-documentation)

## Support

For support and questions, contact us at support@betatel.com