semvec/pypi-packages huggingface dataset:
jj-clean 0.0.1
Add your description here
Requires Python: >=3.12

# jj-clean

I have just started using jj and want to start using it on top of
my currentn git repos, inclusing some that I collaborate on others with.
One of the things I notices is that when I run `tig --all`, jj completely
blows up my repo. This is because jj puts a git refs on absolutely
everything so that git won't garbage collect it. Which includes working copy
commits that I am never going to go back and look at, but jj needs to
keep them around so that the undo system can work (at least I think that's why).

So, this script is my hack to clean out all of these refs from the `.git/refs` directory
so that they don't show up in a normal git tree viewer. There may be a more native
way to do this, but like I said, I just started using jj...

This script should probably not be used by anyone other than me right now, it
does not allow for _any_ configuration.
grill-names 2.6.2
Name objects for digital content creation.
Keywords: naming convention cg

# Grill Names

[![Build Status](https://travis-ci.org/thegrill/grill-names.svg?branch=master)](https://travis-ci.org/thegrill/grill-names)
[![Coverage Status](https://coveralls.io/repos/github/thegrill/grill-names/badge.svg)](https://coveralls.io/github/thegrill/grill-names)
[![Documentation Status](https://readthedocs.org/projects/grill-names/badge/?version=latest)](https://grill-names.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/grill-names.svg)](https://badge.fury.io/py/grill-names)
[![PyPI](https://img.shields.io/pypi/pyversions/grill-names.svg)](https://pypi.python.org/pypi/grill-names)

The `grill-names` package offers [Name](https://naming.readthedocs.io/en/latest/Name.html) objects for digital content creation.
zscryptography 2.0.0
A simple cryptography library using AES
Requires Python: >=3.6

# zscryptography

A simple encryption library using AES.

## Installation

```bash
pip install zscryptography
```
## Usage
```xml
from zscryptography import *

# Setup key(32 bytes)
key = "thisisaverysecretkey123456789012"

# Encrypt the plaintext
plain_text = "Hello, World!"
encrypted_text = encrypt(key,plain_text)
print(f"Encrypted: {encrypted_text}")

# Decrypt the ciphertext
decrypted_text = decrypt(key,encrypted_text)
print(f"Decrypted: {decrypted_text}")
```
drift-jit-proxy 0.1.6
python sdk for drift protocol v2 jit proxy program
Requires Python: <4.0,>=3.10

# Python JIT Proxy SDK

## QuickStart Guide

1. Run `poetry install` in the `/python` directory
2. Add ```.env``` file in ```/sdk/examples``` with your ```RPC_URL``` and ```PRIVATE_KEY``` as a byte array
3. Customize ```JitParams``` in either ```shotgun.py``` or ```sniper.py```
4. Run ```poetry run python -m examples.sniper``` or ```poetry run python -m examples.shotgun``` while in the ```sdk``` directory

## Shotgun vs Sniper

The ```JitterShotgun``` will immediately spray transactions when it detects an eligible auction.
It'll try up to 10 times to fulfill the order, retrying if the order doesn't yet cross or the oracle is stale.

The ```JitterSniper``` will wait until it detects an order that has a high chance of crossing the ```JitParams``` and retry up to 3 times on errors.  It won't send transactions immediately like the ```JitterShotgun``` does, but will try to determine that the order will cross the bid/ask during the auction before sending a transaction.


## How to set up a ```JitProxyClient``` and ```Jitter```

This example uses the ```JitterShotgun```, but the same logic follows for the ```JitterSniper```.

However, the ```JitterSniper``` also requires a ```SlotSubscriber``` in its constructor.

```
    jit_proxy_client = JitProxyClient(
        drift_client,
        # JIT program ID
        Pubkey.from_string("J1TnP8zvVxbtF5KFp5xRmWuvG9McnhzmBd9XGfCyuxFP"),
    )

    jitter_shotgun = JitterShotgun(drift_client, auction_subscriber, jit_proxy_client, True) # The boolean is logging verbosity, True = verbose.

    jit_params = JitParams(
        bid=-1_000_000,
        ask=1_010_000,
        min_position=0,
        max_position=2,
        price_type=PriceType.Oracle(),
        sub_account_id=None,
    )

    # Add your parameters to the Jitter before subscribing
    jitter_shotgun.update_perp_params(0, jit_params)

    await jitter_shotgun.subscribe()
```