semvec/pypi-packages huggingface dataset:
sso-aws 1.0.5
Login to AWS SSO with this simple utility - just invoke get_aws_session with: region, role_name, account_id, sso_endpoint. Then use the returned aws session instead of boto3

# sso-aws - AWS SSO Login Utility 🔒

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/tom-r-o/sso-aws/blob/master/LICENSE)

## Overview 📝
The AWS SSO Login Utility is a Python package that simplifies the process of logging in to AWS Single Sign-On (SSO) and retrieving an AWS session for programmatic access. With just a single function call, `get_aws_session`, you can easily obtain an AWS session to use instead of `boto3`.

## Installation 🚀
You can install the package via pip:

```shell
pip install sso-aws
```

## Usage 💻
To use the utility, follow these steps:

1. Import the package:

   ```python
   from aws_sso_login import get_aws_session
   ```

2. Invoke the `get_aws_session` function with the required parameters:

   ```python
   session = get_aws_session(region='us-west-2', role_name='MyRole', account_id='123456789012', sso_endpoint='https://example.awsapps.com/start')
   ```

   Make sure to provide the correct values for `region`, `role_name`, `account_id`, and `sso_endpoint`.

3. Now you can use the returned `session` object instead of `boto3` to interact with AWS services:

   ```python
   # Example: List S3 buckets
   s3_client = session.client('s3')
   response = s3_client.list_buckets()
   print(response['Buckets'])
   ```

## Example 📃
Here's an example that demonstrates how to use the utility:

```python
from aws_sso_login import get_aws_session

region = 'us-west-2'
role_name = 'MyRole'
account_id = '123456789012'
sso_endpoint = 'https://example.awsapps.com/start'

session = get_aws_session(region=region, role_name=role_name, account_id=account_id, sso_endpoint=sso_endpoint)

# Use the session object for AWS API calls
s3_client = session.client('s3')
response = s3_client.list_buckets()
print(response['Buckets'])
```

## Contributing 👥
Contributions are welcome! If you find any issues or want to enhance this utility, please submit an issue or a pull request in the GitHub repository.

## License 📜
This project is licensed under the MIT License.

## Acknowledgements 👏
This utility was inspired by the need for a simpler way to log in to AWS SSO and retrieve AWS sessions programmatically. Special thanks to all the contributors and the open-source community.

## Contact ✉️
If you have any questions, suggestions, or feedback, feel free to reach out to the project maintainer at GitHub

---

Enjoy using the AWS SSO Login Utility! ✨
zfspace 0.7.6
zfspace tool helps to analyze how zfs disk space is used
Requires Python: >=3.6

# zfspace
Console tool to find occupied pool space in ZFS on Linux.
The tool uses pure python3 with shell commands to collect useful information from ZFS 
and show it in convenient way wit recommendations how to free some space.
![An example of zfspace console output](./docs/zfspace_example.png)

## Introduction

ZFS is a non-trivial LVS filesystem with snapshots, reservations, deduplication, filesystems hierarchy and so on. 
Common tools, such as `df` or `ls` can't provide relevant information when you **need to free some space**.
There is an [explanatory article](https://zedfs.com/all-you-have-to-know-about-reading-zfs-disk-usage/) about this.  
  
Snapshots USED space is another puzzle. ZFS only shows space freed by destroying individual snapshot or space 
occupied by all filesystem snapshots. If you add up all USED by the snapshots space, you will **not** get total occupied 
space because there is some space occupied by snapshot combinations. Most people do not comprehend this.  

zfspace tries to analyze space usage and describe it in a human way with recommendations on the things you can do 
to free some space. The snapshot analysis is similar to 
[this tool](https://github.com/mafm/zfs-snapshot-disk-usage-matrix).

## Installation

`pip3 install zfspace`
zfspace doesn't require root priviledges as it is installed in ~/.local/bin/ 

## Usage

Usage: `zfspace [-h] [-V] [-f FILTER] dataset_name`  
Run `zfspace -h` to get more help   
Example: `zfspace mypool/root/`

## Compatibility

zfspace is pure python module installed by pip, so it might work on any Linux with Python3 and pip package manager.
But zfspace has only been tested on Ubuntu 18.04 and Debian 10.

## Development

* You must obey PEP8 formatting rules written in .flake8  
* You must create new versions using bump2version. It simultaneously update several files with new version and 
place a version tag in repository.  
Example:
```bash
bump2version patch
```
or
```bash
bump2version minor
```
* Packet release is based on pyproject.toml. First prepare your environment with:
 ```bash
pip3 install build
```
To build a packet use bump2version first and then go into project directory and run:
 ```bash
python3 -m build --wheel
 ```
Install manually (replace x.x.x with correct version) with:
```bash
pip install dist/zfspace-x.x.x-py3-none-any.whl --force-reinstall
```

## Publishing notes

Twine packet must be installed
```bash
pip3 install twine
```
To publish:
```bash
twine upload dist/zfspace-x.x.x-py3-none-any.whl
```
You will be asked for login and password on PyPi.
nvtk-sitesheets 0.1.0
Tool to create templated metadata sheets for fieldwork experiments
Keywords: qrcode,fieldwork

# Tools to generate "location sheets"

Sometimes you need a bit more than a simple text/qr code label. That's where this tool comes in. Create a temlate with e.g. Excel or Inkscape, then create an [svglue template](https://github.com/mbr/svglue/issues/9) in Inkscape.

To create a template, you need to have two or more items in the SVG file:

- A rectangle with the `template-id` attribute set to `id_image`, which will contain the QR image. You can add more than one by suffixing that with numbers, e.g. `id_image1`, `id_image2`, `...`.
- A text box (`tspan`) with `template-id` set to `id_text`, which will have the text of whatever the ID is. Again there can be many with `id_text1,2,3,...`.

There are a few templates from our research under `./templates`, which should be somewhat self-explanatory. If you have any questions, reach out (in github issues or via Email).

As an example, the below is an example of one sheet generated with the `templates/ctx_v2.svg` template.

![](templates/test.jpg)


In case the above link dies, this is how one adds the required attributes in inkscape.

> breifly, in inkscape:
> 
>  1) click the element you want to template
>
>  2) enter the XML editor (Edit -> XML Editor, or Ctrl+Shift+X for me)
>
>  3) add (with plus button) a row in the attribute table, whose Name (1st column) is template-id, and whose Value (2nd column) is your key text.
> 
> For text just make sure you do this on the tspan element not the text element that (for me) contains it, and which inkscape focuses when you click on the text in the document. I had to manually click the tspan element in the xml editor.
asa-tools 0.1.15
asa's personal toolbox

## 简介
asa自用的工具包，功能包括
- bira 下载b站视频
    - 需要配置conf.ini，格式为
        ```ini
        [spiderbi] 
        SESSDATA = "XXXX"
        ```
    - 需要环境变量中配置ASA_HOME
- cf    copyFolder 复制所有源代码文件到asahome的文件夹下
- cp4   mp4拷贝到asa_home的环境变量的目录中，并重命名为合法字符
- ctt   mp4目录下文件生成要转换的txt文件
- od    调用out_dutys 转换值班为js
- ra    removeAnnotate 去掉注解
- ttm4  合并mp4视频，转为h264编码mp4或海信电视可播放的mp4 equipment ： --e
puzzle15ai 0.1.14
Puzzle15 AI solver with A* search algorithm

# Puzzle15AI

[![Python package](https://github.com/SajjadAemmi/Puzzle15AI/actions/workflows/python-package.yml/badge.svg)](https://github.com/SajjadAemmi/Puzzle15AI/actions/workflows/python-package.yml)
[![Python application](https://github.com/SajjadAemmi/Puzzle15AI/actions/workflows/python-app.yml/badge.svg)](https://github.com/SajjadAemmi/Puzzle15AI/actions/workflows/python-app.yml)

Puzzle15 AI solver with A* search algorithm, written with the Qt library using Python.

![screenshot](assets/screenshot.png)

## Installation
For install the package you can run this command
```
pip3 install puzzle15ai
```

## Usage
For inference you can run this command
```
puzzle15ai
```

If you want to run the game from source code, run this command:
```
python main.py
```
If you made some changes in the `mainwindow.ui` file, you need to run the following command:
```
pyside6-uic mainwindow.ui -o ui_mainwindow.py
```
You must run `pyside6-uic` again every time you make changes to the UI file.