semvec/pypi-packages huggingface dataset:
qif 1.2.4
Quantitative Information Flow library

[![Build Status](https://github.com/chatziko/libqif/workflows/build/badge.svg)](https://github.com/chatziko/libqif/actions)
[![PyPI version](https://badge.fury.io/py/qif.svg)](https://badge.fury.io/py/qif)

# libqif

## Install

```bash
pip install qif
```

- Needs `sandybridge` or later CPU
- `python` versions supported:
  - Linux: 3.9 to 3.14
  - Windows / MacOS: 3.9 to 3.11


## A sample program

```python
from qif import *

def compute_bayes(C):
	pi = probab.uniform(C.shape[0])

	print("Channel:\n", C)
	print("Prior:\n", pi)

	print("Bayes vulnerability", measure.bayes_vuln.posterior(pi, C))
	print("Bayes mult-capacity", measure.bayes_vuln.mult_capacity(C))

compute_bayes(channel.randu(5))

# same, but using rational arithmetic
set_default_type(rat)

C = numpy.array([
	[rat(1,2), rat(1,4), rat(1,4)],
	[rat(1,6), rat(3,6), rat(2,6)],
	[rat(1,2), rat(1,2), rat(0)],
])
compute_bayes(C)
```

## Documentation

A list of methods provided by `qif` is available [here](http://chatziko.github.io/libqif/).

## Use libqif with C++

See the [installation instructions](INSTALL.md).
ivmodels 0.9.0
IV Models
Requires Python: >=3.7

# Instrumental Variables Regression in Python

`ivmodels` implements

 - *K-Class* estimators, including the Limited Information Maximum Likelihood (*LIML*) and the Two-Stage Least Squares (*TSLS*) estimator.
 - Tests and confidence sets for the parameters of the model, including the *Anderson-Rubin test*, the *Lagrange multiplier test*, the *(conditional) likelihood-ratio test*, and the *Wald test*.
 - Auxiliary tests such as *Anderson's (1951) test of reduced rank* (a multivariate extension to the first-stage F-test) and the *J-test* (including its LIML variant).

See the [docs](https://ivmodels.readthedocs.io/en/latest/) and the examples therein for more details.

If you use this code, consider citing
```
@article{londschien2024weak,
  title={Weak-instrument-robust subvector inference in instrumental variables regression: A subvector Lagrange multiplier test and properties of subvector Anderson-Rubin confidence sets},
  author={Londschien, Malte and B{\"u}hlmann, Peter},
  journal={arXiv preprint arXiv:2407.15256},
  year={2024}
}
```

## Installation

You can install `ivmodels` from `conda` (recommended):
```
conda install -c conda-forge ivmodels
```
or `pip`:
```
pip install ivmodels
```
pycryptotools 0.3.2
Python Crypto Coin Tools
Requires Python: >=3.6

# Pycryptotools, Python library for Crypto coins signatures and transactions

[![Latest Version](https://img.shields.io/pypi/v/pycryptotools.svg?style=flat)](https://pypi.org/project/pycryptotools/)

This is a fork of Vitalik Buterin's original [pybitcointools](https://github.com/vbuterin/pybitcointools) library.

It has been heavily modified and simplified to provide basic service such as:
* recovering address from a public key for various blockchain
* recovering wif from private key
* get the balance for a given address on a blockchain, using block explorer web services API
* get assets (token & NFT) linked to a given address on a blockchain

Installation:

```bash
pip install pycryptotools
```

Library supports the following blockchains:

* Bitcoin mainnet & testnet 
* Bitcoin Cash mainnet & testnet
* Litecoin mainnet & testnet
* Counterparty mainnet & testnet
* Ethereum mainnet & testnet
* Polygon mainnet & testnet


## Note

This software is provided 'as-is', without any express or implied warranty. 
In no event will the authors be held liable for any damages arising from the use of this software.
thalessecuritykey 0.0.16
Library accessing Thales Security keys (FIDO & PKI)

This library is used to communicate with Thales Security Key.
You can use it to detect devices, get serial number, firmware version, etc.
Device class heritate from the [fido2](https://github.com/Yubico/python-fido2) library. So any FIDO2 methods can directly be used.
In case of PCSC Device, you can use the 'has_fido_accessible' property to know if the device is a FIDO2 device.

You have to check if the device is a Thales Security Key by using the `is_thales_device` property.

## Installation

```
pip install thalessecuritykey
```

## Usage

```python
from thalessecuritykey import helpers
devices = helpers.scan_devices()
for device in devices:
    print(device)
```

## Example

```python
from thalessecuritykey import helpers
devices = helpers.scan_devices()
for device in devices:
    device.dump()
```