semvec/pypi-packages huggingface dataset:
galileo-db 0.10.5.dev5
Galileo DB: Gateway and client tools for the Galileo Experiment DB

Galileo DB: Galileo Experiment System Database
==============================================

[![PyPI Version](https://badge.fury.io/py/galileo-db.svg)](https://badge.fury.io/py/galileo-db)
[![Build Status](https://travis-ci.org/edgerun/galileo-db.svg?branch=master)](https://travis-ci.org/edgerun/galileo-db)
[![Coverage Status](https://coveralls.io/repos/github/edgerun/galileo-db/badge.svg?branch=master)](https://coveralls.io/github/edgerun/galileo-db?branch=master)

This project provides an API to work with the experiment database (edb) of Galileo.
Specifically, it provides the following functionality:

* Core model of the database (Experiment, Telemetry, NodeInfo, ...)
* Various bindings to an actual database (sqlite, mysql)
* Telemetry subscriber to write telemetry into edb.
* Trace recorder

Galileo DB Parameters
=============

#### Environment variables

The Galileo DB project allows the following parameters via environment variables.


| Variable | Default | Description |
|----------|---------|---------|
| `galileo_expdb_influxdb_url` | `http://localhost:8086` | The InfluxDB host |
| `galileo_expdb_influxdb_token` | `my-token` | The InfluxDB auth token |
| `galileo_expdb_influxdb_timeout` | `10000` | Time waiting for connection to InfluxDB |
| `galileo_expdb_influxdb_org` | `galileo` | InfluxDB organization |
| `galileo_expdb_influxdb_org_id` | `org-id` | InfluxDB organization |
| `galileo_expdb_trace_logger_flush` | `20` | Flush interval of trace logger | 

Run tests
=========

Tests are located in the `tests` package.

To run the InfluxDB tests, you need to be able to connect to a running InfluxDB instance.
Set the connection details via environment variables.
gdbus-util 0.1.0
Easy GDBus service creation with exit-on-idle functionality.
Requires Python: >=3.11

Python GDBus Util
=================

[![Read the Docs](https://readthedocs.org/projects/python-gdbus-util/badge/?version=latest)](https://python-gdbus-util.readthedocs.io/en/latest/)
[![PyPI - Version](https://img.shields.io/pypi/v/gdbus_util.svg)](https://pypi.org/project/gdbus_util/)

A collection of utilities to create GDBus services in Python.


DBusObject
----------

This class can be used to define a D-Bus object and register it on a
D-Bus connection.

See the [`DBusObject` documentation](https://python-gdbus-util.readthedocs.io/en/latest/api/dbus_object.html) 
for more information.

ExitOnIdleService
-----------------
This class implements race-free exit-on-idle for a D-Bus service. It is
useful for services that are meant to be started on demand and exit
automatically when they are no longer needed.

See the [`ExitOnIdleService` documentation](https://python-gdbus-util.readthedocs.io/en/latest/api/exit_on_idle_service.html)
for more information.

Installation
------------

To install the latest release from PyPI:

```bash
pip install gdbus-util
```

Credits
-------
The race-free exit-on-idle implementation was inspired by 
https://github.com/cgwalters/test-exit-on-idle and systemd's 
[`bus_event_loop_with_idle`](https://github.com/systemd/systemd/blob/190ff0d0a8d1fc367ec04296f24cd1cab5b7543b/src/shared/bus-util.c#L97).
DuckDuckGoSearchApi 0.1.0
Easy, Fast, Lightweight module for searching on https://duckduckgo.com
Requires Python: >=3.6

# DuckDuckGoSearchApi

DuckDuckGoSearchApi is a Python library that provides a simple and direct interface for interacting with the DuckDuckGo API. This library is designed to simplify searches and the analysis of results from DuckDuckGo.

## Instalation

To install run the following:

```python
pip install hhh
```

## Available Methods

The `Duckduckgo` class offers the following main methods:

- `search(query)`: Accepts a query string and returns search results.

## Usage

Here's an example of how to use the DuckDuckGoSearchApi:

```python
from DuckDuckGoSearchApi.apiDDG import Duckduckgo

ddg_api = Duckduckgo()

results = ddg_api.search("Google")
```

## Success request

Search results are returned as a Python dictionary. Each result contains the page title, URL, and a description

```json
{
  "success": true,
  "data": [
    {
      "title": "Page Title",
      "url": "https://www.example.com",
      "description": "Short description of the page"
    },
    
  ]
}
```

## Error request

In case of an error the returned object will contain the `success` field set to `false`

```json
{
  "success": false,
  "statusCode": 404,
  "message": "Failed to fetch data"
}
```