semvec/pypi-packages huggingface dataset:
cashfree-payment 0.1.2
A Python library for Cashfree payment integration with access key management
Requires Python: >=3.8
Keywords: cashfree, payment, upi, india, payment-gateway

# Cashfree Payment

A Python library for Cashfree payment integration with access key management.

## Installation

```bash
pip install cashfree-payment
```

## Requirements

- Python 3.8+
- PostgreSQL database with Neon
- Environment variable: `NEON_DATABASE_URL`

## Quick Start

```python
from cashfree_payment import (
    create_owner,
    owner_login,
    generate_access_key,
    pay,
    list_keys
)

# Create an owner account
owner_id = create_owner('username', 'password')

# Login to get owner_id
owner_id = owner_login('username', 'password')

# Generate an access key (valid for 30 days)
access_key = generate_access_key(owner_id, valid_days=30)

# Make a payment
session_id = pay('your_upi_id@bank', access_key)

# List all your access keys
list_keys(owner_id)
```

## Features

### Owner Management
- `create_owner(username, password)` - Create a new owner account
- `owner_login(username, password)` - Login and get owner ID

### Access Key Management
- `generate_access_key(owner_id, valid_days=30, valid_hours=0)` - Generate a new access key
- `generate_access_key_custom(owner_id, valid_until_str)` - Generate key with custom expiry
- `list_keys(owner_id)` - List all access keys for an owner
- `ban_key(owner_id, access_key)` - Ban an access key
- `unban_key(owner_id, access_key)` - Unban an access key
- `delete_key(owner_id, access_key)` - Delete an access key
- `update_key_expiry(owner_id, access_key, new_valid_until_str)` - Update key expiry

### Payment
- `pay(upi_id, access_key)` - Make a payment using UPI ID

## Database Setup

Create the required tables in your PostgreSQL database:

```sql
CREATE TABLE owners (
    id SERIAL PRIMARY KEY,
    username VARCHAR(255) UNIQUE NOT NULL,
    password_hash VARCHAR(255) NOT NULL
);

CREATE TABLE access_keys (
    id SERIAL PRIMARY KEY,
    key_value VARCHAR(255) UNIQUE NOT NULL,
    owner_id INTEGER REFERENCES owners(id),
    valid_until TIMESTAMP NOT NULL,
    is_active BOOLEAN DEFAULT TRUE
);

CREATE TABLE sessions (
    id SERIAL PRIMARY KEY,
    order_id VARCHAR(255),
    payment_session_id VARCHAR(255),
    amount VARCHAR(50),
    upi_id VARCHAR(255),
    user_ip VARCHAR(50),
    request_count INTEGER DEFAULT 0
);

CREATE TABLE cookies (
    id SERIAL PRIMARY KEY,
    cookie TEXT NOT NULL
);
```

## Environment Variables

Set the following environment variable:

```bash
export NEON_DATABASE_URL="postgresql://user:password@host/database"
```

## License

MIT License
mcp-server-google-scholar 0.1.1
MCP Server for Google Scholar via SerpApi
Requires Python: >=3.10

# MCP Server Google Scholar

An MCP server implementation for Google Scholar using SerpApi.

## Installation

```bash
pip install mcp-server-google-scholar
```

## Configuration

You need a SerpApi API key. You can get one at [https://serpapi.com/](https://serpapi.com/).

## Usage

Add this to your `mcp_config.json`:

```json
{
  "mcpServers": {
    "google-scholar": {
      "command": "uvx",
      "args": [
        "--from",
        "mcp-server-google-scholar==0.1.1",
        "mcp-server-google-scholar"
      ],
      "env": {
        "SERPAPI_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
```

## Tools

- `search_google_scholar`: Search Google Scholar
- `get_author_profile`: Get author profile
- `get_author_articles`: Get author articles
- `get_author_citation`: Get author citation details
- `get_citation_formats`: Get citation formats
pytip 0.0.20
Personally tiny useful Python tips
Requires Python: >=3.10

# Build & Upload
```bash
uv run twine upload --verbose dist/*
```

<br/>

# Personally tiny useful Python tips
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)
[![Docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://domschl.github.io/ml-indie-tools/index.html)
[![PyPI version fury.io](https://badge.fury.io/py/ml-indie-tools.svg)](https://pypi.python.org/pypi/ml-indie-tools/)
minchin.django.excel 1.0.0
Load Excel files into your Django database.

# Minchin.Django.Excel

This is a Django app designed to allow you to push the contents of Excel
workbooks to your Django database. I packaged it because while it seems like it
should be simple, it involved many more moving pieces (including management
commands, templates, template tags, admin pagination, etc.) than I initially
thought it should.


## Installation

The package is installable via `pip`:

```sh
pip install minchin.django.excel
```

This will also install all the required dependencies (of which there are
many...).

From there, you need to add it to your list of installed apps in your Django
`settings.py`:

```py
# settings.py

INSTALLED_APPS = [
  # first in line
  "related_admin",  # for minchin.django.excel

  # django built-ins
  # others...
  "django.contrib.humanize",
  
   # others...
   "minchin.django.excel",
   "prettyjson",  # for minchin.django.excel
]

# other settings...
```

Second, ensure that your `TEMPLATES` setting contains a DjangoTemplates backend
whose `APP_DIRS` options is set to `True`:

```py
# settings.py

TEMPLATES = [
    {
        "BACKEND": "django.template.backends.django.DjangoTemplates",
        "APP_DIRS": True,
        # ...
    }
]

# other settings...
```

and then run the included database migrations:

```sh
python manage.py migrate
```

### Loading Excel Data

Includes is a Django management commands to load the Excel files:

```sh
python manage.py load_excel <excel_file.xlxs>
```

 From there, you would likely process the data further within Django.


### Django Admin Site

There are also several helpers so that you can see the loaded data on the
built-in Django admin site. However, you'll need to register them to your admin site:

```py
# admin.py

from minchin.django.excel.admin import WorkbookAdmin, SheetAdmin, RowAdmin
from minchin.django.excel.models import Workbook, Sheet, Row

admin.site.register(Workbook, WorkbookAdmin)
admin.site.register(Sheet, SheetAdmin)
admin.site.register(Row, RowAdmin)
```


## License

The code is licensed under the MIT license. See attached `License.txt`


## Changelog

### Version 1.0.0 -- Dec. 12, 2025

- initial public release

## Contributions

Contributions are welcome, however the scope of the project is intentionally
limited. In particular though, there are no tests currently in place, and
additions there would be appreciated.
ruff-api 0.2.1
Experimental API for Ruff
Requires Python: >=3.9

# ruff-api

Experimental Python API for Ruff

[![version](https://img.shields.io/pypi/v/ruff-api.svg)](https://pypi.org/project/ruff-api)
[![license](https://img.shields.io/pypi/l/ruff-api.svg)](https://github.com/amyreese/ruff-api/blob/main/LICENSE)


NOTE: This is project is highly experimental and the API is likely to change.
Pin your dependencies accordingly.


Install
-------

```shell-session
$ pip install ruff-api
```


Usage
-----

```py
import ruff_api
```

Format the contents of a file in memory:

```py
code = ruff_api.format_string(filename, code)
```

Sort imports in memory:

```py
code = ruff_api.isort_string(filename, code)
```


License
-------

ruff-api is copyright Amethyst Reese, and licensed under the MIT license.