semvec/pypi-packages huggingface dataset:
rlane-libgoogle 1.0.5
Connect to Google Service API's
License: MIT
Requires Python: >=3.10
Keywords: api, client, connect, google, google-api-python-client, google-auth-httplib2, google-auth-oauthlib, httplib2, oauthlib, python, services, xdg

## libgoogle

Connect to Google Service API's.

The `libgoogle` package provides a function to connect to a google
service (such as Calendar, Drive and Mail), and manage credentials
and access tokens under the `XDG` schema.


### function connect

```python
connect(scope: str, version: str) -> googleapiclient.discovery.Resource
```

    Connect to Google service identified by `scope` and `version`.

    Args:
        scope:          (valid examples):
                        "https://www.googleapis.com/auth/gmail"
                        "https://www.googleapis.com/auth/gmail.readonly"
                        "gmail"
                        "gmail.readonly"
                        "drive.metadata.readonly"
                        "photoslibrary.readonly"

        version:        "v1", "v3", etc.

    Files:
        credentials:    XDG_CONFIG_HOME / libgoogle / credentials.json
                        Must exist, or raises FileNotFoundError.

        token:          XDG_CACHE_HOME / libgoogle / {scope}-token.json


### function set_debug

```python
set_debug(flag: bool) -> None
```

    Turn on/off low-level `httplib2` debugging.

    Args:
        flag:   True to turn on debugging, False to turn off.
rlane-libfile 1.0.4
Represent a filesystem item such as a file or folder
License: MIT
Requires Python: >=3.10
Keywords: libfile

## libfile

Libfile.

This module offers a class that combines pathlib.Path, os.walk,
cached os.struct_stat, debug/trace logging, and the ability to execute
a --dry-run through 'most' of the code without changing the filesystem.

File(object) represents a filesystem item, such as a file or folder, which
may or may not exist when the object is initialized.  This differs
from os.DirEntry(object), which is only instantiated for an existing item.

File has nothing to do with input/output... yet.

For you old unix cats like me, a 'folder' is a 'directory', and this
module enjoys the 50% reduction in the number of syllables required,
the 3-fewer keystrokes for singular, 4 for plural, and non-collision
with python built-in 'dir'. Embrace the technology!



### class File

Represent a filesystem item such as a file or folder.

The path argument to the constructor, and other methods that take a
path argument, accept either a string, or an object implementing the
os.PathLike interface which returns a string, or another path object.

See: https://docs.python.org/3/library/pathlib.html#pure-paths
salahnow-cli 0.2.0
SalahNow command-line prayer times
License: MIT
Requires Python: >=3.9
Keywords: aladhan, cli, diyanet, islam, prayer-times, salah

# SalahNow CLI

Command-line prayer times using the same source logic as SalahNow Web:
- Türkiye: Diyanet (`ezanvakti.emushaf.net`)
- Worldwide: Muslim World League via AlAdhan (`method=3`, `school=1`)

## Install

### Option 1: pipx from PyPI (recommended)

```bash
pipx install salahnow-cli
```

### Option 2: pip from PyPI

```bash
python3 -m pip install --user salahnow-cli
```

### Option 3: local dev install

```bash
pipx install .
```

### Option 4: install script

```bash
./scripts/install.sh
```

## Commands

### Show today's prayer times

```bash
salahnow
```

Check version:

```bash
salahnow --version
```

### Next prayer + live countdown

```bash
salahnow next
```

### Configure location/method/time format

```bash
salahnow config
```

Print current config:

```bash
salahnow config --show
```

Non-interactive example:

```bash
salahnow config \
  --city "New York" \
  --country "United States" \
  --country-code US \
  --lat 40.7128 \
  --lon -74.0060 \
  --method mwl \
  --time-format 12h
```

Config file path:

```text
~/.config/salahnow/config.json
```

### Notifications daemon

```bash
salahnow notify
```

- macOS: uses `osascript`
- Linux: uses `notify-send` (if available)

### Zsh completion

Typer/click completion is built in:

```bash
salahnow --install-completion zsh
```

or print script:

```bash
salahnow --show-completion zsh
```

## Notes

- Non-Türkiye locations are forced to `mwl` source (same as web behavior).
- Türkiye locations can use Diyanet, and CLI resolves `diyanetIlceId` from nearest TR city if missing.
- The CLI stores runtime cache in `~/.cache/salahnow/prayer_cache.json` and uses cached data when APIs are temporarily unavailable.
standardwebhooks 1.0.1
Standard Webhooks
License: MIT
Requires Python: >=3.6
Keywords: webhooks

Python library for Standard Webhooks

# Example

Verifying a webhook payload:

```python
from standardwebhooks.webhooks import Webhook

wh = Webhook(base64_secret)
wh.verify(webhook_payload, webhook_headers)
```

# Development

## Requirements

 - python 3

## Installing dependencies

```sh
python -m venv .venv
pip install -r requirements.txt && pip install -r requirements-dev.txt
```

## Contributing

Before opening a PR be sure to format your code!

```sh
./scripts/format.sh
```

## Running Tests

Simply run:

```sh
pytest
```