semvec/pypi-packages huggingface dataset:
demolab 0.1a0
A Flask web application for URL redirection and workspace management
Requires Python: <4,>=3.7
Keywords: flask, url, redirect, workspace

# DemoLab

A Flask web application for URL redirection and workspace management.

## Features

- User authentication through API
- Workspace initialization and management
- URL redirection to user workspaces
- User workspace查询接口

## Installation

You can install DemoLab from PyPI:
pip install demolab
Or install from source:
git clone https://github.com/levindemo/demolab.git
cd demolab
pip install .
## Usage

Start the DemoLab application:
demolab
The application will start on http://localhost:5000 by default.

## Configuration

You can configure the application using environment variables:

- `AUTH_SERVICE_URL`: URL of the authentication service (default: http://localhost:5000/auth)
- `INIT_WORKSPACE_SCRIPT`: Path to the workspace initialization script
- `USER_CONFIG_PATH`: Path to the user configuration JSON file
- `WORKSPACE_LOG_PATH`: Path to the workspace logs directory
- `SECRET_KEY`: Secret key for Flask application security
- `VALID_INIT_TOKENS`: Comma-separated list of valid initialization tokens

## API Endpoints

- `GET /`: Login page
- `POST /api/login`: Authentication endpoint
- `GET /lab_init/<token>/<user>`: Initialize user workspace and redirect
- `GET /users/<user>`: Get user workspace information
render9 0.0.117
Render9 OTP is a lightweight and easy-to-use Python package for sending OTP messages via the Render9 OTP API.

# Render9 OTP

Render9 OTP is a lightweight and easy-to-use Python package for sending OTP (One-Time Password) messages via the Render9 OTP API. This package is ideal for developers looking to integrate OTP functionality into their Python applications with minimal setup.

## Installation

You can install Render9 OTP using pip:

```bash
pip install render9
```

Alternatively, for development purposes, you can install it using:

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

## Usage

To start using Render9 OTP, you'll need to add your Render9 API key to your environment variables.

### Setup Environment Variables

Add your Render9 API key to your `.env` file:

```plaintext
RENDER9_API_KEY=your_render9_api_key_here
```

Make sure to add the `.env` file to your `.gitignore` to avoid exposing your API key in version control.

### Basic Example

Here's an example of how to send an OTP using Render9 OTP in Python:

```python
from dotenv import load_dotenv
from render9 import sendOtp

load_dotenv()  # Load environment variables from .env file

def run_example():
    result = sendOtp({
        'phoneNumber': '1234567890',
        'countryCode': '+91',
        'otp': '111111',
    })

    print(result)

if __name__ == "__main__":
    run_example()
```

## API Reference

### `sendOtp(payload: dict) -> dict`

**Parameters:**

- `phoneNumber` (str): The recipient's phone number.
- `countryCode` (str): The recipient's country code (e.g., '+91').
- `otp` (str): The OTP to be sent.
- `apiKey` (str, optional): Your Render9 API key. If not provided, the package will use the value from `process.env.RENDER9_OTP_KEY`.

**Returns:**

A dictionary containing:

- `error` (bool): Indicates if there was an error.
- `message` (str): A message describing the result.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub if you have any suggestions or improvements.

## License

This project is licensed under the MIT License. See the LICENSE file for more details.

---

This README provides a clear guide for developers to install, use, and contribute to the `render9` Python package.
espn-api-orm 0.0.9
A Python interface for the ESPN API
Requires Python: >=3.8
Keywords: data science, ORM, sports

# espn-api-orm

ESPN API Object-Relational Mapper (ORM) is a Python package that makes it easy to interact with the ESPN API. It provides an ORM-like interface on top of the API endpoints, making it more intuitive for Python developers. List of endpoints: https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c

## Installation

You can install ESPN API ORM using pip:

```bash
pip install espn-api-orm
```
## Usage

- BaseAPI -> SportAPI -> LeagueAPI -> SeasonAPI
- SeasonAPI -> TeamsAPI
- SeasonAPI -> VenueAPI
- SeasonAPI -> CalendarAPI -> ScoreboardAPI
- ScoreboardAPI -> EventsAPI

## Features
- Easy API interaction: The emphasis is on making ESPN API easy to use for Python developers.
- ORM-like interface: Binding API endpoints to Python classes, giving an ORM-like feel.
- Comprehensive coverage: Covers all ESPN API endpoints.

## Contributing
We appreciate any contributions. Please feel free to fork and create a Pull Request for any changes/updates.

## Publishing

Auto publish available through GitHub Actions and Pypi

Local publishing (include token in rc)

1. ```python -m build```

2. ```twine upload dist/*```