semvec/pypi-packages huggingface dataset:
py-dic 0.1.1
A DIgital Image Correlation implementation in Python using the SciPy stack.
Keywords: computer vision dic

# pyDIC
[![DOI](https://zenodo.org/badge/64115684.svg)](https://zenodo.org/badge/latestdoi/64115684)

A Digital Image Correlation application, developed in Python.

## Getting Started

This package is hosted on pypi. To install it, simply run:

```
$ python -m pip install py_dic
```

You can now start the GUI by running:

```
$ python -m py_dic
```

### Running the source code 

Clone or download the contetnts into a local directory. Install the package via `setupy.py` or run the `main.py` file and follow the on-screen instructions. 

```
$ python -m py_dic.main
```

To change the default analysis settings, edit the `settings.ini` file.

You can use the `run.bat` file to start the GUI on Windows, but it expects the Python interpreter to be located in the `./venv/Scripts` folder inside the project's root directory. To achieve this, run the following commands (on a Windows machine):

```
$ cd pyIDC
$ python -m pip virtualenv venv
$ venv\Scripts\activate.bat

```

to create a ner virtual environment inside the `venv` folder and activate is. Now, install the project requirements into this activated virtual environment:

```
$ python -m pip install -r requirements.txt
```

Now, you can execute the `run.bat` file to start the pyDIC GUI.


### Authors

- [Domen Gorjup](http://ladisk.si/?what=incfl&flnm=gorjup.php)
- [Janko Slavič](http://ladisk.si/?what=incfl&flnm=slavic.php)
- [Miha Boltežar](http://ladisk.si/?what=incfl&flnm=boltezar.php)
lastapi 0.2
REST API defined as YAML and invoked with lastapi.

# lastapi
The Omni REST API Client

This is still WIP, but I've got prototype working which is for the update DNS function using CloudFlare API.

The project is written in Python 3. You can install dependencies with
```
pip3 install --user -r requirements.txt
```

## Walk-through

### REST API schema
The schema is defined in [schemas/cloudflare.yaml](https://github.com/raynix/lastapi/blob/master/schemas/cloudflare.yaml)
```
---
Name: cloudflare
Base:
  Protocol: https
  Host: api.cloudflare.com
Headers:
  X-Auth-Key: ${auth_key}
  X-Auth-Email: ${auth_email}
  Content-Type: application/json

Actions:
  update_dns:
    Path:
      - /client/v4/zones/
      - ${zone_id}
      - /dns_records/
      - ${dns_id}
    Method: PUT
    Payload:
      type: ${dns_type}
      name: ${dns_name}
      content: ${dns_content}
      ttl: 1
      proxied: true
```
This will be verified against [schemas/schema.yaml](https://github.com/raynix/lastapi/blob/master/schemas/schema.yaml) using pykwalify.

### Global parameters
Global parameters for the API, usually API key and account stuff, are in [schemas/cloudflare-params.yaml.example](https://github.com/raynix/lastapi/blob/master/schemas/cloudflare-params.yaml.example). You should duplicate it and remove the `.example` suffix and put in real credential.
```
---
auth_key: sample-api-key
auth_email: raynix@some.email
```

### Invoking an Action in the schema
To invoke the `update_dns` action defined in the schema, run:
```
./lapi --schema schemas/cloudflare --func update_dns --vars zone_id=xxx,dns_id=xxx,dns_type=A,dns_name=mydomain.com,dns_content=1.2.3.4
```

Please comment or raise an issue if this doesn't work for you.
greet-girl 1.0.0
Time of greeting girl on WeChat

### greet-girl

定时给女朋友发送问候消息，比如早安，晚安等。  
希望我能尽早用到。。。

### Usage
```bash
$ python3 -m pip install greet-girl
$ greet-girl -w <girl's wechatAcount> -H <hour> -M <minute> -m <message>
# example
$ greet-girl -w mylove -H 7 -M 30 -m 早安 # 每天7.30给mylove发送早安
```