semvec/pypi-packages huggingface dataset:
aws-haystack 0.1.0
Find CloudFormation stacks across AWS accounts using SSO
License: MIT
Requires Python: >=3.8
Keywords: aws, cli, cloudformation, devops, sso

# Haystack

[![PyPI version](https://badge.fury.io/py/aws-haystack.svg)](https://badge.fury.io/py/aws-haystack)
[![Python versions](https://img.shields.io/pypi/pyversions/aws-haystack.svg)](https://pypi.org/project/aws-haystack/)
[![Downloads](https://pepy.tech/badge/aws-haystack)](https://pepy.tech/project/aws-haystack)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Tests](https://github.com/niklas-palm/haystack/workflows/Test/badge.svg)](https://github.com/niklas-palm/haystack/actions)

Managing a multi-account AWS organization? Haystack searches CloudFormation stacks across all your AWS accounts from the command line.

```bash
pip install aws-haystack
haystack platform-network
```

## Why?

**Before**: ClickOps through AWS console → switch account → switch region → CloudFormation → list stacks → repeat 50 times  
**After**: `haystack platform-network` → see all matches across all accounts

## Usage

```bash
# Find any stack containing "api"
haystack api

# Search specific region only  
haystack database --region us-east-1

# First run: authenticate once via browser, then fast searches for ~8 hours
```

**Search is smart**: case-insensitive, partial matching
- `haystack api` finds "user-api-prod", "api-gateway", "API-Service"
- `haystack prod` finds "api-prod", "production-db", "PROD-Web"

## What You Get

**Clean results**:
```
┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Stack Name         ┃ Account ID  ┃ Account Name       ┃ Region    ┃ Status           ┃
┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ user-api-prod      │ 123456789   │ Production         │ us-east-1 │ CREATE_COMPLETE  │
│ user-api-staging   │ 987654321   │ Staging            │ us-east-1 │ CREATE_COMPLETE  │
└────────────────────┴─────────────┴────────────────────┴───────────┴──────────────────┘
```

**Fast & secure**:
- Searches all accounts/regions in parallel  
- Uses AWS SSO (no hardcoded credentials)
- Caches authentication for hours
- Smart role selection (admin > power > first available)

## Commands

```bash
haystack <search-term>                     # Search all accounts/regions
haystack <search-term> --region us-east-1 # Search specific region  
haystack --clear                           # Clear cached credentials
haystack --help                            # Show all options
```

## Requirements

- Python 3.8+
- AWS Identity Center (SSO) access  
- Web browser (for one-time auth)

**First run**: Authenticate via browser, then fast searches for ~8 hours.
yt-api-wrapper 1.0.4
A YouTube web scraper/wrapper for fetching video metadata and search results.
License: MIT
Requires Python: >=3.8

# Fast and lightweight youtube scraper for python
>Warning: The user/developer is solely responsible for the use of this code, I am not responsible for copyrights and YouTube restrictions. It is for educational purposes only, do not misuse it.

## Installing
```
pip install yt-api-wrapper
```

## How to use?
It is very simple to use and only one line. Below are some examples:

```python
>>> from yt_api_wrapper import YouTubeAPIWrapper # Import the library
>>> yt = YouTubeAPIWrapper() # Create API wrapper
>>> yt.auto_complete('pytho') # Auto Complete example
INFO:yt_api_wrapper.yt_api_wrapper:Fetching autocomplete for query: 'pyth'
INFO:yt_api_wrapper.yt_api_wrapper:Found 14 suggestions
['python', 'pythagorean theorem', 'python download', 'python programming', 'pythagorean theorem calculator', 'python compiler', 'python online', 'python dictionary', 'pythagoras', 'python snake', 'pythagorean identities', 'python online compiler', 'pythagorean triples', 'python for loop']

>>> video = yt.get_video_info('dQw4w9WgXcQ') # Get video info with one line
INFO:yt_api_wrapper.yt_api_wrapper:Fetching video info for ID: dQw4w9WgXcQ
INFO:yt_api_wrapper.yt_api_wrapper:Successfully extracted info for video: Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)

>>> results = yt.search_videos('python course') # Search videos
INFO:yt_api_wrapper.yt_api_wrapper:Searching YouTube for videos: 'python course'

>>> channel = yt.get_channel_info('UCuAXFkgsw1L7xaCfnd5JJOw')

# Asynchronous usage

>>> import asyncio
>>> from yt_api_wrapper import AsyncYouTubeAPIWrapper
>>> yt_async = AsyncYouTubeAPIWrapper()
>>> async def main():
...     # Asynchronous auto complete
...     suggestions = await yt_async.auto_complete('pytho')
...     print(suggestions)
...     # Asynchronous video info
...     video_info = await yt_async.get_video_info('dQw4w9WgXcQ')
...     print(video_info)
...     # Asynchronous search videos
...     search_results = await yt_async.search_videos('python course')
...     print(search_results)
...     # Asynchronous channel info
...     channel_info = await yt_async.get_channel_info('UCuAXFkgsw1L7xaCfnd5JJOw')
...     print(channel_info)

>>> asyncio.run(main())
```

# Faster JSON Parsing

You can install this library with the [orjson](https://github.com/ijl/orjson) optional dependency for faster response parsing:
```bash
pip install yt-api-wrapper[orjson]
```

This will install the [orjson](https://github.com/ijl/orjson) library, which is used for faster JSON parsing. If you don't want to use `orjson`, you can install the library without it:


## How to Contribute

1. Fork the repository
2. Create a new branch (`git checkout -b feature-name`)
3. Make your changes
4. Commit your changes (`git commit -m 'Add feature'`)
5. Push to the branch (`git push origin feature-name`)
6. Open a Pull Request
typing-master-terminal 1.0.3
A terminal-based typing game with animations and score tracking
License: MIT
Requires Python: >=3.7

# Typing Master Terminal 🎮

A fun and interactive typing speed game in the terminal!

## Features
- Beginner to Advanced difficulty levels
- Animated UI using `rich`
- Live stats (WPM, Accuracy, Score)
- Scoreboard saving

## Usage
```bash
typing-master