semvec/pypi-packages huggingface dataset:
itm.pysync 1.0.2
A simple backup/sync tool with rsync
Requires Python: >=3.5

# pysync

pysync is a simple backup/sync tool with python & rsync.

# Installation

```shell
$ pip install itm.pysync
```

# Usage

Create `pysync.json` file in `~/.config/pysync.json` or `~/pysync.json`.

Here is an example of `pysync.json`.

```json5
{
    // Set rsync options (default: -a -v -h)
    "rsync_options": ["-a", "-v", "-h", "--delete", "--iconv=UTF-8-MAC,UTF-8"],

    // Define rsync filters
    "filters": {
        "git": ["-C", "--filter", ":- .gitignore"]
    },

    // Set global exclusions to exclude files and directories in all backup sources
    "global_exclusions": [".DS_Store"],

    // Set destination directory path
    "destination": "/Volumes/HDD/backup",

    // Set backup sources
    "sources": [
        {
            "path": "/Users/whoami/Documents"
        },
        {
            "path": "/Users/whoami/Pictures",
            "exclusions": ["*.photoslibrary", "secrets/"]    // Specify exclusion patterns to exclude in the source
        },
        {
            "path": "/Users/whoami/Programs",
            "filter": "git"     // Use filter in the source
        }
    ]
}
```

Run pysync.

```shell
$ pysync
```

## Command Line Options

| Option            | Feature                                                         |
| ----------------- | --------------------------------------------------------------- |
| -c, --config-file | Indicate config file path (e.x. `pysync -c ~/hoge/pysync.json`) |
| -h, --help        | Show help                                                       |
| --version         | Show version                                                    |

# License

MIT License

# Testing

Test with `pytest`.

```shell
$ pytest
```
streamlit-browser-transcribe 0.0.1
Converts users speech to text and returns the transcribed text
Requires Python: >=3.7

# streamlit-custom-component

Streamlit component that allows you to do X

## Installation instructions

```sh
pip install streamlit-browser-transcribe
```

## Usage instructions
```python
import streamlit as st

from browser_transcribe import browser_transcribe

value = browser_transcribe()

st.write(value) # this value is the transcribed string
```