semvec/pypi-packages huggingface dataset:
p2f-HydrateCalcLib 0.1.0.9
A package providing functionality for the simulation of equilibrium and inhibition of gas hydrates
Requires Python: <3.13,>=3.9.0

# p2f_HydrateCalcLib

A Python Library for the Prediction of Natural Gas Hydrate Equilibrium and Inhibition. Developed by Karsten Kunneman in collaboration with Prof. Amadeu K. Sum at the Colorado School of Mines

Version 0.1.0.9 - 2025/12/12

This tool is designed to determine the equilibrium conditions for a given single- or multiple-component hydrate system, including systems in the presence of inhibitors (alcohols, glycols, and salts).

This tool is based primarily on the following models:

- Phase behavior of clathrate hydrates: a model for single and multiple gas component hydrates by J. B. Klauda and S. I. Sandler [doi: 10.1021/ie000322b]
- Universal correlation for gas hydrates suppression temperature of inhibited systems: III. salts and organic inhibitors by Y. Hu, J.-H. Sa, B. R. Lee, and A. K. Sum [doi: 10.1002/aic.16369]

For Questions, Suggestions, or Bug Reports, please contact Prof. Amadeu K. Sum: asum@mines.edu

To cite this library, use:
p2f-hydratecalc: A web Python-based tool for the prediction of natural gas hydrate equilibrium and inhibition by Karsten Kunneman and Amadeu K. Sum [doi: 10.1016/j.softx.2025.102422]

For Questions, Suggestions, or Bug Reports, please contact Prof. Amadeu K. Sum: asum@mines.edu

Disclaimer: The model and predictions have been tested and verified to be accurate based on extensive comparison with available literature data. However, this web app is provided "as is" and "as available" without any warranties of any kind, either express or implied, including, but not limited to, implied warranties of use, merchantability, fitness for a particular purpose, and non-infringement.

©2025, All Rights Reserved Full source code available at https://github.com/karstenkunneman/p2f_HydrateCalcLib This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/.
lux-dex 1.2.1
Python SDK for LX
Requires Python: >=3.8

# LX Python SDK

Official Python SDK for the LX - High-performance decentralized exchange with perpetual contracts.

## Installation

```bash
pip install luxfi-dex
```

## Quick Start

```python
from luxfi_dex import LXClient

# Initialize client
client = LXClient(
    json_rpc_url="http://localhost:8080",
    websocket_url="ws://localhost:8081"
)

# Place an order
order = client.place_order(
    symbol="BTC-USD-PERP",
    side="buy",
    order_type="limit",
    price=50000,
    size=0.1,
    leverage=10
)

# Get funding rate
funding = client.get_funding_rate("BTC-USD-PERP")
print(f"Current funding rate: {funding['rate']}")
print(f"Next funding time: {funding['nextFundingTime']}")

# Subscribe to real-time data
def on_orderbook(data):
    print(f"Orderbook update: {data}")

client.subscribe("orderbook:BTC-USD-PERP", on_orderbook)
```

## Features

- Full perpetual contract support
- 8-hour funding mechanism (00:00, 08:00, 16:00 UTC)
- All order types (limit, market, stop, iceberg, etc.)
- Real-time WebSocket subscriptions
- Cross and isolated margin modes

## API Documentation

See [API Documentation](../../API_DOCUMENTATION.md) for complete reference.

## License

MIT