semvec/pypi-packages huggingface dataset:
common-stats-test 0.0.2
A simple library for basic statistical calculations
License: MIT
Requires Python: >=3.7

# Simple Stats

A simple Python library for basic statistical calculations.

## Features

- Calculate mean
- Calculate median
- Calculate mode
- Calculate standard deviation

## Installation

You can install the library using pip:

```bash
pip install common-stats-test
```

## Example Code

```python
from common_stats import mean, median, mode, standard_deviation

data = [1, 3, 3, 3, 5]

print("Mean:", mean(data))
print("Actual Mean: 3.")
print("Median:", median(data))
print("Actual Median: 3.")
print("Mode:", mode(data))
print("Actual Mode: 3.")
print("Standard Deviation:", standard_deviation(data))
```
contact-space 0.1.9
SDK to interact with the ContactSpace REST API
License: MIT
Requires Python: >=3.7

# contact_space

An SDK to interact with the ContactSpace REST API

Documentation of API: https://documenter.getpostman.com/view/14510675/UVJhEabw#ab347a65-d28c-40f8-a0af-22647825318d 

GitHub: https://github.com/georgegburns/contactspace 

# How to install

Installed via pip:

    pip install contact-space


# Features
Handles authorisation check and batches requests to meet API requirements

Example authentication

    from contactspace import ContactSpace
    
    api_key = "EXAMPLE_API_KEY"
    url = "https://ukapithunder.makecontact.space/" # Update to region specific URL
    
    auth = ContactSpace(api_key, url)

Stable methods:

    - .create_call_api() 
        works with endpoints:
            - CreateDataSet
            - InsertRecord
            - InsertNextRecord
            - InsertRecordWithCallback

    - .get_call_api()
        works with endpoints:
            - GetUsers
            - GetAgentStatus
            - GetInitiatives
            - GetOutcome
            - GetData
            - GetDataWithAgent
            - GetCallIDs

    - .get_users()
        returns users and agents

    - .get_user_status()
        returns status of passed userid

    - .get_initiatives()
        returns initiatives

    - .get_outcomes()
        returns outcomes for a passed initiativeid

    - .get_data()
        returns record data across a given period for a provided invitiative, with or without agent

    - .create_datasets()
        creates a series of datasets to be uploaded into

    - .create_records()
        uploads records into a passed datasetid

    - .get_callids()
        gets callids across a given period

    - .get_records_from_callids()
        gets record data from passed callids

    - .get_records()
        gets records across a given period regardless of initiative
    

Upcoming methods:

    - update record/outcome/value