semvec/pypi-packages huggingface dataset:
tricubic 1.0.5
A tricubic interpolation module for python.
License: MIT
Keywords: tricubic cubic interpolation

# pytricubic

pytricubic is a simple Python wrapper for the tricubic interpolation algorithm
by Lekien and Marsden based on the implementation by David Kirkby
(https://github.com/deepzot/likely). Performance compared to the reference 
implementation has been improved drastically by doing the matrix multiplication with
the linear algebra template library Eigen.

The tricubic interpolation scheme is described in:

  [Lekien, F. and Marsden, J.: Tricubic interpolation in three dimensions.
                              In: International Journal for Numerical Methods
                              in Engineering (2005), No. 63, p. 455-471](http://www.cds.caltech.edu/~marsden/bib/2005/08-LeMa2005/LeMa2005.pdf)

Installing pytricubic only requires CMake being installed and typing:  

```
pip install tricubic
```

A manual build process is not necessary if you just want to use library.

## 0. Building manually

This chapter assumes that you are working in a standard Linux environment with
tools like g++ and cmake already installed. The template libraries Eigen3 for
linear algebra and pybind11 for binding to Python are now included in the thirdparty
subfolder. Threfore, no external requirements exist.

Installing pytricubic is as easy as:  

```
git clone git://github.com/danielguterding/pytricubic.git  
cd pytricubic  
mkdir build  
cd build  
cmake ../  
make  
```

## 1. Usage

An example of how to use the interpolator class is given in example.py. Only Python lists are
supported as inputs. Numpy arrays first have to be converted to Python lists.
stripe-referral 0.1.1
Framework agnostic referral program package with Stripe Connect integration
License: MIT
Requires Python: >=3.11
Keywords: referral, affiliate, code, stripe-code, stripe, stripe-connect, wise, payout, invite-code, saas, subscription, marketing

==================
stripe-referral
==================

**Framework Agnostic Referral Program Package with Stripe Connect Integration**

.. image:: https://img.shields.io/pypi/v/stripe-referral.svg
   :target: https://pypi.org/project/stripe-referral/
   :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/stripe-referral.svg
   :target: https://pypi.org/project/stripe-referral/
   :alt: Python Versions

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: https://github.com/CarterPerez-dev/stripe-referral/blob/main/LICENSE
   :alt: License

**CertGames.com | ©AngelaMos | 2025**

----

Overview
========

``stripe-referral`` is a production-ready, framework-agnostic Python package for building 
referral programs with automated payout processing.

Features
========

- **Framework Agnostic**: Works with Flask, FastAPI, Django, or standalone
- **Multiple Payout Methods**: Stripe Connect, Wise API, Manual bank transfers
- **Type Safe**: Full TypedDict returns and modern type hints
- **Database Agnostic**: SQLAlchemy-based (PostgreSQL, MySQL, SQLite)
- **Production Ready**: Alembic migrations, error handling, validation
- **Clean Architecture**: Repository pattern, service layer, adapter pattern

----

Quick Start
===========

Installation
------------

::

    pip install stripe-referral

Basic Usage
-----------

::

    from stripe_referral import ReferralService, get_db

    # Generate referral code
    with get_db() as db:
        result = ReferralService.create_code(
            db=db,
            user_id="user_123",
            program_key="certgames"
        )
        print(f"Your code: {result['code']}")

    # Track referral conversion
    with get_db() as db:
        tracking = ReferralService.track_referral(
            db=db,
            code="REF_ABC123",
            referred_user_id="user_456"
        )
        print(f"Earned: ${tracking['amount_earned']}")

----

Documentation
=============

Coming soon...

----

Contributing
============

See `CONTRIBUTING.rst <CONTRIBUTING.rst>`_ for development setup and guidelines.

----

License
=======

MIT License - see `LICENSE <LICENSE>`_ for details.

----

Security
========

See `SECURITY.rst <SECURITY.rst>`_ for our security policy and how to report vulnerabilities.