semvec/pypi-packages huggingface dataset:
shakepy 0.1.0
A Shakepay API Interface for Python 
Requires Python: >=3.14

# Shakepay Python Interface
## _Fully functional replacement for the app_


The module is designed to be as simple and flexible as possible, so most functions return raw values. All functions have DOCSTRING if you are confused on what they do, but most function are pretty self explanatory.

If you are interested in creating your own auth system instead of using the quick_auth function, look inside `shakepay_api/test.py` and `shakepay_api/authentication.py` for more information on how you should handle interaction.

## Examples

- `example_trigger_shackingsats.py` - authenticates the user and retrieves the shacking sats rewards
- `example_get_authentication.py` - authenticates the user and retrieves wallet information
- `example_send_cad.py` - authenticates the user and attempts to send 1$

The API will eventually be fully documented but I tried to make it as human friendly as possible if you do a little digging inside the files and look at the examples.

## Improvements

Feel free to create an issue if you believe an improvement could be made!

## Donate
You can tip me on Shakepay `@hammy5030`, BTC `3JjR1QbZ7zB9k744ruegMVxqm1hZ16W5U8`, ETH `0xa877184aeaacc53d06eea81ebbc5feb0ee47cd76`, or NANO `nano_1o5wnzinh6r9t5c63hzf3rf33x4bir8cpfuerxcyt8zwg9f5nhjtk46gja3s`
openqa-log-local 0.2.1
Create a local cache of openQA job log files
Requires Python: >=3.9

# openQA log local

Library and cli to locally collect and inspect logs from openQA

File will be locally cached on disk, downloaded and read transparently.

## Dependency

This package internally depend on [openQA-python-client](https://github.com/os-autoinst/openQA-python-client): please refer to
documentation about openQA autentication.


## Installation

```bash
pip install openqa_log_local
```

To install the package from the source code you can use `uv`:

```bash
uv pip install -e .
```

## Usage

### Library

To use the library in your Python project, you first need to import the `openQA_log_local` class:

```python
from openqa_log_local import openQA_log_local
```

Then, you can create an instance of the class, providing the openQA host URL:

```python
oll = openQA_log_local(host='http://openqa.opensuse.org')

# Get job details
log_details = oll.get_details(job_id=1234)

# Get a list of log files associated to an openQA job.
# No download any log file yet.
log_list = oll.get_log_list(job_id=1234)
log_txt_list = oll.get_log_list(job_id=4567, name_pattern=r".*\\.txt")

# Get content of a single log file. The file is downloaded to the cache
# if not already available locally.
# All the log file content is returned in `log_data`
log_data = oll.get_log_data(job_id=1234, filename=log_list[3])

# Get absolute path with filename of a single log file from the cache.
# The file is downloaded to the cache if not already available locally.
log_filename = oll.get_log_filename(job_id=1234, filename=log_list[3])
```

Cache can be configured:

```python
oll = openQA_log_local(
    host='http://openqa.opensuse.org',
    cache_location='/home/user/.openqa_cache',
    max_size=100000,
    time_to_live=3600)
```

... but also ignored and always refreshed :

```python
oll = openQA_log_local(host='http://openqa.opensuse.org', time_to_live=0)
```


### CLI

The package also provides a command-line interface (CLI) for interacting with openQA logs.

To see INFO and DEBUG messages, you can use the `--log-level` option:
```bash
uv run openqa-log-local --log-level INFO get-log-list --host http://openqaworker15.qa.suse.cz --job-id 353681
```

This will show messages indicating whether there was a cache hit or miss.

#### Get Job Details

```bash
openqa-log-local get-details --host http://openqa.opensuse.org --job-id 1234
```

Run via `uv` if you have used `uv` to install it

```bash
uv run openqa-log-local get-details --host http://openqa.opensuse.org --job-id 1234
```

#### Get Log List

```bash
openqa-log-local get-log-list --host http://openqa.opensuse.org --job-id 1234
```

#### Get Log Data

```bash
openqa-log-local get-log-data --host http://openqa.opensuse.org --job-id 1234 --filename autoinst-log.txt
```

#### Get Log Filename

```bash
openqa-log-local get-log-filename --host http://openqa.opensuse.org --job-id 1234 --filename autoinst-log.txt
```
minecode-pipelines 0.1.1
A library for mining packageURLs and package metadata from ecosystem repositories.
Requires Python: >=3.10
Keywords: purl, Package-URL, open source, package, sca, scan, index, federated, data

minecode-pipeline
===================

minecode-pipeline is an add-on library working with scancode.io to define pipelines to mine
packageURLs and package metadata from ecosystem repositories and APIs.

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

Requirements
############

* install minecode-pipeline dependencies
* `pip install minecode-pipeline`


Funding
-------

This project was funded through the NGI Assure Fund https://nlnet.nl/assure, a
fund established by NLnet https://nlnet.nl/ with financial support from the
European Commission's Next Generation Internet programme, under the aegis of DG
Communications Networks, Content and Technology under grant agreement No 957073.

This project is also funded through grants from the Google Summer of Code
program, continuing support and sponsoring from nexB Inc. and generous
donations from multiple sponsors.


License
-------

Copyright (c) nexB Inc. and others. All rights reserved.

purldb is a trademark of nexB Inc.

SPDX-License-Identifier: Apache-2.0

minecode-pipeline is licensed under the Apache License version 2.0.

See https://www.apache.org/licenses/LICENSE-2.0 for the license text.
See https://github.com/aboutcode-org/purldb for support or download.
See https://aboutcode.org for more information about nexB OSS projects.