semvec/pypi-packages huggingface dataset:
vdf3 3.1.1.1
Library for working with Valve's VDF text format
License: MIT
Requires Python: >=3.7.0
Keywords: valve keyvalue vdf tf2 dota2 csgo

VDF 3
======

Pure python module for (de)serialization to and from VDF that works just like ``json``.
[VDF is Valve's KeyValue text file format](https://developer.valvesoftware.com/wiki/KeyValues)

Supports:
- ``kv1``

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

**Python 3.7 or higher is required**

```sh
pip install git+https://github.com/ValvePython/vdf
```

Example usage
-------------

For text representation.

```py
import vdf

# parsing vdf from file or string
d = vdf.load(open('file.txt'))
d = vdf.loads(vdf_text)
d = vdf.parse(open('file.txt'))
d = vdf.parse(vdf_text)

# dumping dict as vdf to string
vdf_text = vdf.dumps(d)
indented_vdf = vdf.dumps(d, pretty=True)

# dumping dict as vdf to file
vdf.dump(d, open('file2.txt','w'), pretty=True)
```


For binary representation

```py

d = vdf.binary_loads(vdf_bytes)
b = vdf.binary_dumps(d)

# alternative format - VBKV

d = vdf.binary_loads(vdf_bytes, alt_format=True)
b = vdf.binary_dumps(d, alt_format=True)

# VBKV with header and CRC checking

d = vdf.vbkv_loads(vbkv_bytes)
b = vdf.vbkv_dumps(d)
```

Using an alternative mapper

```py
d = vdf.loads(vdf_string, mapper=collections.OrderedDict)
```
apt-repo 0.5
Python library to query APT repositories
License: MIT
Requires Python: >=3.5

# python-apt-repo [![Build Status](https://travis-ci.org/brennerm/python-apt-repo.svg?branch=master)](https://travis-ci.org/brennerm/python-apt-repo)
Python library to query APT repositories.

## Example

```python
from apt_repo import APTSources, APTRepository

url = 'http://archive.ubuntu.com/ubuntu'
components = ['main', 'universe', 'multiverse', 'restricted']
sources = APTSources([
    APTRepository(url, 'xenial', components),
    APTRepository(url, 'xenial-updates', components),
    APTRepository(url, 'xenial-backports', components),
    APTRepository(url, 'xenial-proposed', components)
])

print([(package.package, package.version) for package in sources.get_packages_by_name('docker.io')])
[('docker.io', '1.10.3-0ubuntu6'), ('docker.io', '1.13.1-0ubuntu1~16.04.2'), ('docker.io', '17.03.2-0ubuntu2~16.04.1')]
```

## [API Documentation](https://brennerm.github.io/python-apt-repo/apt_repo/)
pyusbio 0.1.3
USB-IO2 control library for Python
License: MIT
Requires Python: >=3.6,<4.0

pyusbio
=======

これは、[USB-IO2.0](http://km2net.com/usb-io2.0/index.shtml)をコントロールする
ためのライブラリです。


使い方
------
    >>> import pyusbio
    >>> usbio = usbio.USBIO()
    >>> if usbio.find_and_init():
    ...   port0, port1 = usbio.send2read([0x00, 0x01])
    ...   print("{0:x}, {1:x}".format(port0, port1))


必須依存ライブラリ
------------------

* [PyUSB](https://github.com/pyusb/pyusb)


動作を確認しているOS
--------------------

* Linux (Debian Sid)
* Windows10


対応Python
-------

Python3.6以上  
(Python2系列は未サポートです。)


制限事項
--------

* １つのUSB-IO2.0しか認識できません。


ライセンス
----------

MIT


おまけ
------

付属のusbio\_config.pyは、USB-IO2.0の内部設定を変更するツールです。
使い方については、 python usbio\_config.py --help で表示されるヘルプ情報を参照してください。