semvec/pypi-packages huggingface dataset:
PyElevate 0.1.2
Python library for requesting root privileges
License: MIT
Requires Python: >=3

# Elevate: Request Root Privileges  

PyElevate is a small Python library that re-launches the current process with  
root/admin. This is essentially a fork of [BarneyGale's Elevate](https://github.com/barneygale/elevate) with some of the pull requests applied.  

## Usage  

To use, call `PyElevate.elevate()` early in your script. When run as root, this  
function does nothing. When not run as root, this function replaces the current  
process (Linux, macOS) or creates a new process, waits, and exits (Windows).  

There is also an `elevated()` function to check if the program is elevated.  
This will output a boolean value, with `True` meaning the program is elevated and `False` meaning it's not.

```python
from PyElevate import elevate, elevated

if not elevated():
    input("Before: " + str(elevated()) + "\nPress enter to elevate")

elevate()

input("After:" + str(elevated()) + "\nPress enter to elevate")
exit(0)
```  

On Windows, the new process's standard streams are not attached to the parent,  
which is an inherent limitation of UAC. By default, the new process runs in a  
new console window. To suppress this window, use  
`elevate(show_console=False)`.  

On Linux and macOS, graphical prompts are tried before `sudo` by default. To  
prevent graphical prompts, use `elevate(graphical=False)`.
seaice3p 1.0.0
Simulate gas bubbles and oil droplets in sea ice.
License: MIT
Requires Python: <4.0,>=3.12

# seaice3p #

Code for simulating the seasonal evolution of a 1D layer of sea ice using an enthalpy method.
Inlcudes three-phase mushy-layer physics which can be used to simulate air bubbles or oil droplets in the ice.
See Joseph Fishlock's DPhil thesis for further details.

## Install ##
Seaice3p is available on PyPI and can be installed with pip via
```bash
pip install seaice3p
```

## Usage ##
Configurations to run simulations can be created via a Python script using the `DimensionalParams` object and are saved as yaml files.
Once you have a directory of configuration files the simulation for each can be run using `python -m seaice3p path_to_configuration_directory path_to_output_directory`.
The `--dimensional` flag should be added to this command if running dimensional parameter configurations.
The simulation will be run for each configuration and the data saved as a numpy archive with the same name as the simulation in the specified output directory.

## Documentation ##
Some incomplete API reference documentation built using `mkdocs gh-deploy` is available at
[documentation](https://joefishlock.github.io/seaice3p).

## Tests ##
Run `pytest` to run all tests.
Note this may take some time so you can also run `pytest -m "not slow"`.
To speed this up run in parallel using `pytest-xdist` with the extra options `pytest -n auto --dist worksteal`.

## Release checklist ##

- run tests.
- bump version number in seaice3p/__init__.py and pyproject.toml
- run `mkdocs build` to generate documentation and deploy from main with `mkdocs gh-deploy`.
- update Changelog.md
- tag commit with version number
lulo 1.0
Lulo API Python client
License: MIT
Requires Python: <4,>=3.6
Keywords: lulo, solana, development, staking

# Lulo Python Client

[![PyPI](https://img.shields.io/pypi/v/lulo)](https://pypi.org/project/lulo/)
[![Python Version](https://img.shields.io/pypi/pyversions/lulo)](https://pypi.org/project/lulo/)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Issues](https://img.shields.io/github/issues/spacesudo/lulo-python)](https://github.com/spacesudo/lulo-python/issues)
[![Downloads](https://img.shields.io/pypi/dm/lulo)](https://pypistats.org/packages/lulo)

> A lightweight, modular Python SDK for seamless interaction with the **Lulo API**.


## Installation

Install via pip:

```sh
pip install lulo
```



## Usage

1. Set your API key in a `.env` file:

    ```
    API_KEY = "your-api-key-here"
    ```

Get your API key ([here](https://dev.lulo.fi/))

2. Example usage:

    ```python
    from lulo import LuloClient
    from dotenv import load_dotenv
    import os

    load_dotenv()
    api_key = os.getenv("API_KEY")
    client = LuloClient(api_key=api_key)

    rates = client.rates.get_rates()
    pools = client.pools.get_pools()
    print("Rates:", rates)
    ```

you can find more [Examples](example.py) here

## Project Structure

- `lulo/` - Main package
    - `base.py` - Base classes and utilities
    - `client.py` - Main client implementation
    - `exceptions.py` - Custom exceptions
    - Submodules: `account/`, `instructions/`, `pool/`, `rates/`, `referrals/`, `transactions/`
- `example.py` - Example usage script
- `requirements.txt` - Python dependencies
- `setup.py` - Packaging configuration



## License

This project is licensed under the [MIT License](LICENSE).

## Contributions

Contributions are welcome and appreciated! Here’s how you can help:

Fork the repository

Create a new branch for your feature or bugfix

Commit your changes with clear messages

Push to your fork and submit a pull request

## Before submitting, make sure:

Ensure your changes don’t break existing functionality

## Donations

Your donation supports the future of this project. Every contribution helps stimulate innovation and sustain development!

- *SOL / USDC* 
```
P3sbkDB3tv3Fo9Ty74SHQX1LPpYQrKQwnDC5U4A7gPv
```