semvec/pypi-packages huggingface dataset:
pyclick 0.0.2
Human mouse movement simulation with python

# pyclick
This is a library for generating human-like mouse movements.
The movements are based on the concept of bezier curve:
https://en.wikipedia.org/wiki/B%C3%A9zier_curve

### Simple Example:
```
from pyclick import HumanClicker

# initialize HumanClicker object
hc = HumanClicker()

# move the mouse to position (100,100) on the screen in approximately 2 seconds
hc.move((100,100),2)

# mouse click(left button)
hc.click()
```
You can also customize the mouse curve by passing a HumanCurve to HumanClicker. You can control:
- number of internal knots, to change the overall shape of the curve,
- distortion to simulate shivering,
- tween to simulate acceleration and speed of movement
dci-utils 0.0.27
A set of utilities for DCI jobs

dci_utils
=========
This package collects some useful classes to promote code reuse across ETL jobs used in DCI

Class
-------------
#### Logger

- provides a log method to log various milestones during the job execution.

```python
# credentials (dict, optional): AWS Credentials used to access CloudWatch.
#     If not specified, defaults to the computer's role
# log_group_name (str): Name of the AWS Log Groupself.
#     Must be the name of the job being executed.
# region (str, optional): AWS region where logs are recorded.
#     If not specified us-east-1 is assumed as default.
def __init__(self, credentials=None, log_group_name, region='us-east-1'):


# message : text to be logged
def log(self, message):
```

#### MetricRecorder

- provides a record method to push metric to cloudwatch during the job execution.

```python
# credentials (dict): AWS Credentials used to access CloudWatch.
# namespace (str): Name of the AWS Metric Custom Namespace.
# region (str, optional): AWS region where logs are recorded.
#     If not specified, us-east-1 is assumed as default.
def __init__(self, credentials, namespace, region='us-east-1'):


# metric_name (str): The name of the AWS metric.
# value (str): Actual value of the AWS metric.
# metric_dims (list, optional): A list of dimensions associated wit the data.
#     each dimension is a dict Name - Value
#     If not specified, empty list [] is assumed as default.
# metric_unit (str, optional): Unit of the AWS metric.
#     If not specified, Count is assumed as default.
def record(self, metric_name, value, metric_dims=None, metric_unit='Count'):
```

Usage
-------------

```python
from pyspark.sql import SparkSession

import boto3

spark = SparkSession.builder.enableHiveSupport() \
    .appName("<application_name>").getOrCreate()

spark.sparkContext.addPyFile('s3://path/to/file/aws_cloudwatch_utils.py')

import aws_cloudwatch_utils

job_name = '<job_name>'

role = 'arn:aws:iam::<aws_account>:role/<aws_role_name>'
dims = [{'Name': 'JobName', 'Value': job_name}]
sts = boto3.client('sts')
credentials = sts.assume_role(RoleArn=role, RoleSessionName='<job_name>')['Credentials']

logger = aws_cloudwatch_utils.Logger(credentials, '<job_name>')
metric_recorder = aws_cloudwatch_utils.MetricRecorder(credentials, '<job_name>')
logger.log("Job Completed Successfully")
metric_recorder.record('Success', 1, dims, 'Count')
```
StateModelRnD 0.4.2
A library for finding State Space models of dynamical systems.
Requires Python: >=2.7

StateModelRnD is a package for finding the State Space models of dynamical systems. The package take input of the necessary equations in the form outlined by Rowell and Wormely in *System Dynamics: An Introduction*. The package then returns the state equation, state equation matricies, and transfer function.
droplo 0.1.3
Official Python SDK for the Droplo content API

Python client for [droplo.io](https://droplo.io)
=========

[![Latest PyPI version](https://img.shields.io/pypi/v/droplo.svg)](https://pypi.python.org/pypi/droplo)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![Circle CI](https://circleci.com/gh/droploio/droplo.py/tree/master.svg?style=shield)](https://circleci.com/gh/droploio/droplo.py)

### Getting started

#### Install the client for your project

Simply run:

```
pip install droplo
```

#### Basic example of use:
```python
>>> import droplo
>>> api = droplo.Api("YOUR_ACCESS_TOKEN")
>>> blogposts = api.get("blogposts")
>>> blogposts.files[0].name
```

#### Using Memcached (or any other cache)

By default, the kit will use Shelve to cache the requests (a file-based cache from the standard library). It is recommended to use a cache server instead, for example Memcached.

You can pass a Memcached client to the `droplo.get` call:

```python
>>> import memcache
>>> api = droplo.Api("YOUR_ACCESS_TOKEN", cache=memcache.Client(['127.0.0.1:11211']))
```

By duck typing you can pass any object that implement the `set` and `get` methods (see the `NoCache` object for the methods
to implement).

### Licence

Copyright (c) 2018 Droplo, Inc. See [LICENSE](LICENSE) for further details.