semvec/pypi-packages huggingface dataset:
build-pip-package 2025.9.91807
A package for building pip packages using LLM7 and related tools
License: MIT
Requires Python: >=3.7
Keywords: pip, package, build, llm7, langchain

[![PyPI version](https://badge.fury.io/py/build_pip_package.svg)](https://badge.fury.io/py/build_pip_package)
[![Downloads](https://static.pepy.tech/badge/build_pip_package)](https://pepy.tech/project/build_pip_package)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)

# build_pip_package

A Python package for building pip packages using LLM7 and related tools.

## Installation

```bash
pip install build_pip_package
```

## Usage

```python
from build_pip_package import build_pip_package

result = build_pip_package(
    text_description="A sample Python package",
    author_full_name="John Doe",
    author_email="john.doe@example.com", 
    git_repo_link="https://github.com/user/repo",
    licence_description="MIT License",
    github_token="your_github_token"
)
```

## Parameters

- `text_description` (str): Description of the package to build
- `author_full_name` (str): Full name of the package author
- `author_email` (str): Email address of the package author
- `git_repo_link` (str): Git repository link for the package
- `licence_description` (str): License description for the package
- `github_token` (str): GitHub token for authentication

## Dependencies

This package relies on the following dependencies:
- py_llm7_code
- setup_py_gen
- readme_llm7_gen
- langchain_llm7
- langchain_core
cf-db-reader 0.1.0
A tiny in-memory Cloudflare API reader that reads API credentials from environment variables and executes a simple SQL-like query against a mock dataset.
License: MIT
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/cf_db_reader.svg)](https://badge.fury.io/py/cf_db_reader)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://static.pepy.tech/badge/cf_db_reader)](https://pepy.tech/project/cf_db_reader)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)

# cf_db_reader

`cf_db_reader` is a minimal Python package that retrieves Cloudflare API credentials from environment variables and executes simple in-memory SQL-like queries against mocked datasets related to Cloudflare accounts. It returns query results as a list of dictionaries.

## Installation

To install `cf_db_reader`, run:

```bash
pip install cf_db_reader
```

## Usage

Set the required environment variables `CF_API_TOKEN` and `CF_ACCOUNT_ID`, then use the `cf_db_query` function to perform queries. Here's a basic example:

```python
import os
from cf_db_reader import cf_db_query

# Set environment variables
os.environ['CF_API_TOKEN'] = 'your_token_here'
os.environ['CF_ACCOUNT_ID'] = 'your_account_id_here'

# Perform a query
result = cf_db_query('example_db', 'SELECT * FROM users WHERE role = "user"')
print(result)
# Expected output: [{'id': 2, 'name': 'Bob', 'role': 'user'}, {'id': 3, 'name': 'Charlie', 'role': 'user'}]
```

*Note:* This package does not perform real network requests. It uses in-memory mocked data for demonstration.

## Short Example

```python
import os
from cf_db_reader import cf_db_query

os.environ['CF_API_TOKEN'] = 'mock_token'
os.environ['CF_ACCOUNT_ID'] = 'mock_account'

# Query all users
all_users = cf_db_query('my_db', 'SELECT * FROM users')
print(all_users)

# Query specific fields with a WHERE clause
admins = cf_db_query('my_db', "SELECT id, name FROM users WHERE role = 'admin'")
print(admins)
```

## Author

Eugene Evstafev <hi@eugene.plus>

Repository: [https://github.com/chigwell/cf_db_reader](https://github.com/chigwell/cf_db_reader)