semvec/pypi-packages huggingface dataset:
fluentdctl 0.0.4
A CLI for Fluentd API
Keywords: fluentd,cli

# fluentdctl

A Python CLI to interact with the Fluentd HTTP RPC API.

## Installation

From PyPi:

`pip install fluentdctl`

From source:

`python setup.py`

## Prerequisites

The fluentd RPC endpoint [must be enabled](https://docs.fluentd.org/deployment/rpc#configuration) in your fluentd endpoint.

If you wish to manage a fluentd instance running on another machine, the binding in the configuration **cannot** be to `127.0.0.1`. It must either be `0.0.0.0` (all addresses) or a specific IP of the machine. Example:

```
<system>
  rpc_endpoint 0.0.0.0:24444
</system>
```

## Usage

To flush the fluentd buffer:

```
fluentdctl flush
```

To stop the fluentd process:

```
fluentdctl stop
```

To flush and then stop the fluentd process:

```
fluentdctl flushthenstop
```

To reload the fluentd process and configuration:

```
fluentdctl reload
```

### Specify a different host or port

The commands above will run against a local instance of fluentd running on the default port of 24444.

However with each command you can optionally specify a different remote host and/or port:

```
fluentdctl flush --host remote-srv-01 --port 12345
```

OR specify them positionally

```
fluentdctl flush remote-srv-01 12345
```

### Verbose output

Finally you can also specify `--verbose` on any command to get additional output.
task-core 0.2.1
task core
Requires Python: >=3.6

task-core
=========

|CI Status|

.. |CI Status| image:: https://github.com/Directord/task-core/actions/workflows/py-tox.yml/badge.svg
   :target: https://github.com/Directord/task-core/actions

Install
~~~~~~~
.. code-block::

  pip install .

Example invocation (tests framework)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::

  task-core-example

Example invocation (from folder)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::

  task-core --services-dir examples/directord/services \
            --inventory-file examples/directord/inventory.yaml \
            --roles-file examples/directord/roles.yaml \
            --debug

Example directord execution
~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is an example that uses [https://github.com/cloudnull/directord] to setup
an instance of keystone. The below bit of code assumes 4 nodes available
with a stack user that can been connected to via ssh from the user running
the bash script.

.. code-block::

    sudo dnf install python3-virtualenv git -y

    virtualenv ~/test-venv
    source ~/test-venv/bin/activate

    git clone https://github.com/Directord/task-core

    pip install directord

    pushd task-core
    pip install -r requirements.txt
    pip install .
    popd

    ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ""
    for H in 2 3 4 5; do
      ssh-keyscan -H -t rsa 192.168.24.$H >> ~/.ssh/known_hosts
      ssh-copy-id 192.168.24.$H
    done

    cat > ~/catalog.yaml <<EOF
    directord_server:
      targets:
      - host: 192.168.24.2
        port: 22
        username: stack

    directord_clients:
      args:
        port: 22
        username: stack
      targets:
      - host: 192.168.24.3
      - host: 192.168.24.4
      - host: 192.168.24.5
    EOF

    directord bootstrap --catalog $HOME/catalog.yaml --catalog ~/test-venv/share/directord/tools/directord-bootstrap-catalog.yaml

    sudo chmod a+w /var/run/directord.sock

    cat > ~/inventory.yaml <<EOF
    hosts:
      standalone-1:
        role: keystone
      standalone-2:
        role: basic
      standalone-3:
        role: basic
    EOF

    task-core \
      -s task-core/examples/directord/services/ \
      -i $HOME/inventory.yaml \
      -r task-core/examples/directord/roles.yaml

    ssh standalone-1 openstack --os-auth-url http://standalone-1:5000/v3 --os-user-domain-name default --os-username admin --os-password keystone token issue
SplitWrapper 0.1.0
Python wrapper for LiveSplit split files.

# SplitWrapper
Python wrapper for [LiveSplit](https://livesplit.org) split files.

## Installation
```bash
pip install SplitWrapper
```

## Example Usage
```python
import SplitWrapper
import datetime

# Load the split file

splits = SplitWrapper.load_from_file_path("split.lss")

# Print the Game and Category names

print(splits.GameName, splits.CategoryName)

# Change the attempt count to '63'

splits.AttemptCount = 63

# Create a new segment with a best segment time of 2:44:22 
# and append it to the segments.

new_split = datetime.time(hour=2, minute=44, second=22)
segment = SplitWrapper.Segment()
segment.BestSegmentTime = SplitWrapper.Time(realtime=new_split)
splits.Segments.append(segment)

# Export the splits to a file

SplitWrapper.write_to_file(splits, "newsplits.lss")
```

## Incompatability
The following list details features that are currently not supported:
- Icons of any kind.
- Metadata information.
- Autosplitter settings.
- Split-specific layouts.

There are intentions to add support for these in the future.
zephyr-sdk 0.2.1
A package for helping use the zephyr API
Requires Python: >=3.8

# Zephyr SDK

## This Package is now deprecated.

This is a simple python library that abstracts away the Zephyr SDK. It's still under development, so not all methods are implemented yet. The main body of the documentation for the SDK is found in the [wiki](https://github.com/byu-oit/zephyr-sdk/wiki)
hls-download-client 1.0.3
A poweful video downloading tool
Requires Python: >=3.6


# **This package is silly and probably will not work.**
I have a bad habbit of making arbitrary code. As you may have read from the import name, this project only contains client-side code.

Eventually I will upload the server-side scripts, but I'm afraid to reveal my very very insecure server-side code to the internet.

After I have throughly secured my code I will be more than happy to share it.


This is my very first python project. Feel free to give any advise as I am eager to learn new things.

The purpose of this project is to create a tool that can download hls streams.

By all measn feel free to parse through my messy code and make it compatible for yourself.
cocktaildb 1.0.0
TheCocktailDB API client
Requires Python: >=3.6

# CocktailDB

[![](https://img.shields.io/github/v/tag/thexxiv/cocktaildb-py?label=version)](https://github.com/thexxiv/cocktaildb-py/releases/latest) [![](https://img.shields.io/github/license/thexxiv/cocktaildb-py)](https://github.com/thexxiv/cocktaildb-py/blob/main/LICENSE)

TheCocktailDB API client for **Python**.

### Download
[PyPI](https://pypi.org/project/cocktaildb/)

```
pip install cocktaildb
```

### Example

```py
from cocktaildb import search

for cocktail in search("beer"):
    print(cocktail.strDrink)
```

### Documentation

* [pdoc](https://thexxiv.github.io/cocktaildb-py)

### License

CocktailDB is released under the [Apache License 2.0](https://github.com/thexxiv/cocktaildb-py/blob/main/LICENSE).

```
 Copyright 2022 XXIV

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
```