semvec/pypi-packages huggingface dataset:
ziphash 0.1.6
A compact Python library for archiving and extracting ZIP files.
Requires Python: >=3.8

# ziphash

![Zip Archiver Logo](https://img.shields.io/badge/ziphash%20-v0.1.0-blue?style=for-the-badge&logo=python)  
[![PyPI version](https://badge.fury.io/py/ziphash.svg)](https://badge.fury.io/py/ziphash)  
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)  
[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)  

A compact and easy-to-use Python library for archiving files and directories into ZIP files, as well as extracting ZIP archives. Built with standard Python libraries—no external dependencies required! 🚀

## Features ✨
- **Archive Files & Directories**: Recursively zip files or entire folders with customizable compression.
- **Extract ZIPs**: Easily unpack archives to any directory.
- **Lightweight**: Uses only `zipfile` and `os` from the standard library.
- **Flexible Compression**: Supports various ZIP compression methods (e.g., DEFLATED, STORED).
- **Cross-Platform**: Works on Windows, macOS, and Linux.

## Installation 📦
#### Install via pip from PyPI:

```bash
pip install ziphash
```

## Quick Start ⚡
### Archiving Files
#### Create an instance of archiver and use the archive method:
```Python
from ziphash import archiver

zip = archiver()  # Default compression: ZIP_DEFLATED

# Archive a file and a directory
zip.archive('my_archive.zip', ['example.txt', 'my_folder/'])
```
### Extracting Archives
#### Use the extract method to unpack:
```Python
from ziphash import archiver

zip = archiver()

# Extract to current directory
zip.extract('my_archive.zip')

# Or to a specific folder
zip.extract('my_archive.zip', extract_to='output/')
```

### Custom Compression
#### Specify compression during initialization:
```Python
import zipfile
from ziphash import archiver

zip = archiver(compression=zipfile.ZIP_STORED)  # No compression
zip.archive('fast_archive.zip', ['large_file.bin'])
```
## API Reference 📖
### Class: archiver
- `__init__(self, compression: int = zipfile.ZIP_DEFLATED)`: Initializes with optional compression type.
- `archive(self, zip_path: str, paths: list[str]) -> None`: Archives files/directories to a ZIP.
- `extract(self, zip_path: str, extract_to: str = '.') -> None`: Extracts ZIP to a directory.

## Error Handling ⚠️
Wrap calls in `try-except` for robustness:
```Python
try:
    archiver.archive('archive.zip', ['nonexistent.txt'])
except FileNotFoundError as e:
    print(f"Error: {e}")
```
## License 📄
This project is licensed under the MIT License - see the LICENSE file for details.
endercom-cli 0.1.6
Endercom CLI
Requires Python: >=3.10

# Endercom CLI

A command-line interface for deploying and managing AI agents on AWS Lambda using the Endercom framework.

[![PyPI version](https://img.shields.io/pypi/v/endercom-cli.svg)](https://pypi.org/project/endercom-cli/)

## Installation

```bash
pip install endercom-cli
```

## Prerequisites

Before you begin, ensure you have:

1. **An AWS Account**: You'll need credentials to deploy resources.
2. **AWS CLI Configured**: Run `aws login` to set your credentials and default region.
   ```bash
   brew install awscli
   aws login
   ```
3. **AWS SAM CLI**: Required for building and deploying the serverless stack.
   ```bash
   brew install aws-sam-cli
   ```

## Quick Start

### 1. Initialize an Agent Project

Create a new agent project structure.

```bash
endercom init <agent-name>
```

This scaffolds a directory with:

- `agent.py`: Your agent logic (where you write code)
- `app.py`: Server entry point and wrapper
- `template.yaml`: AWS SAM infrastructure definition
- `requirements.txt`: Python dependencies
- `.endercom/agent.yaml`: CLI configuration

### 2. Configure Environment (Optional)

If your agent needs API keys (e.g., `OPENAI_API_KEY`), add them to the secrets manager.

```bash
cd <agent-name>
endercom secrets set OPENAI_API_KEY "sk-..."
```

### 3. Deploy

Build and deploy your agent to AWS.

```bash
endercom deploy
```

The CLI will:

- Check your code for undeclared environment variables.
- Sync your configuration to the SAM template.
- Build the agent using `sam build`.
- Deploy using `sam deploy`.

## Commands

| Command                   | Description                                            |
| ------------------------- | ------------------------------------------------------ |
| `init <name>`             | Create a new agent project.                            |
| `deploy`                  | Build and deploy the agent stack to AWS.               |
| `configure`               | Update project configuration.                          |
| `secrets set <key> <val>` | Securely store secrets in AWS Secrets Manager.         |
| `logs`                    | Tail real-time logs from your Lambda function.         |
| `destroy`                 | Tear down the AWS stack and remove associated secrets. |

## Configuration

The source of truth for your agent's configuration is `.endercom/agent.yaml`.

```yaml
name: my-agent
runtime: python3.12
region: us-east-1
memory: 1024
timeout: 30
env:
  MY_PUBLIC_VAR: "production"
secrets:
  - OPENAI_API_KEY
```

- **env**: Standard environment variables injected at deployment.
- **secrets**: List of keys to resolve securely from AWS Secrets Manager.
nvshmem4py-cu12 0.2.1
Python bindings for NVSHMEM
Requires Python: >=3.9

NVSHMEM4Py Overview
*******************

NVSHMEM4Py is a Python package that provides a Pythonic interface to NVSHMEM

NVSHMEM4Py follows the NVSHMEM SLA. The details of the NVSHMEM SLA [is available here](https://docs.nvidia.com/nvshmem/api/sla.html).

Quick Links
****************

NVSHMEM4Py is a component of NVSHMEM™. Please see the following public links for information on building and working wih NVSHMEM:

[Project Homepage](https://developer.nvidia.com/nvshmem)

[Release Notes](https://docs.nvidia.com/nvshmem/release-notes-install-guide/release-notes/index.html)

[Installation Guide](https://docs.nvidia.com/nvshmem/release-notes-install-guide/install-guide/index.html)

[Best Practice Guide](https://docs.nvidia.com/nvshmem/release-notes-install-guide/best-practice-guide/index.html)

[API Documentation](https://docs.nvidia.com/nvshmem/api/index.html)

[Devzone Topic Page](https://forums.developer.nvidia.com/tag/nvshmem)

The maintainers of the NVSHMEM project can also be contacted by e-mail at nvshmem@nvidia.com