semvec/pypi-packages huggingface dataset:
python-ssmi 0.0.6
Python module implementing SSMI for USSD and SMS.
License: BSD

python-ssmi
===========

This is a python module implementing TruTeq's SSMI protocol for USSD and SMS.

This was implemented from SSMI version 1.5.9 documentation which is copyright
TruTeq Wireless (Pty) Ltd 2001-2003.

setting up buildout
===================

This module follows the buildout instructions documented at
http://jacobian.org/writing/django-apps-with-buildout/

To initialise buildout run:
$ python bootstrap.py

Then run buildout:
$ ./bin/buildout

generating releases
===================

Create a source tarball:
$ ./bin/buildout setup . sdist

Create an egg:
$ ./bin/buildout setup . bdist_egg
utf7 0.9.3
UTF-7 encoded unsigned integer
License: BSD

utf7
~~~~

Encoder/decoder of an UTF-7 encoded unsigned integer.

.. sourcecode:: pycon

   >>> utf7.pack_bytes(65535)
   b'\xff\xff\x03'
   >>> utf7.unpack_bytes(b'\xff\xff\x03')
   65535

UTF-7 uint is used for `BinaryWriter.Write(String)
<http://msdn.microsoft.com/en-us/library/yzxa6408.aspx>`_ in
`Microsoft .NET Framework <http://www.microsoft.com/net>`_. Here's an example
of ping-pong between Python server and C# client:

.. sourcecode:: python

   while not socket.closed:
       # recv ping
       ping_size = utf7.unpack_socket(socket)
       ping_data = socket.recv(ping_size)
       assert ping_data == b'ping'
       # send pong
       pong_data = b'pong'
       pong_size = len(pong_data)
       utf7.pack_socket(pong_size, socket)
       socket.send(pong_data)

You can also use ``_utf7`` written in C to take high-speed:

.. sourcecode:: python

   import _utf7 as utf7

Links
`````

* `GitHub repository <http://github.com/sublee/utf7>`_
* `development version
  <http://github.com/sublee/utf7/zipball/master#egg=utf7-dev>`_
wmi-client-wrapper 0.0.12
Linux-only wrapper around wmi-client for WMI (Windows)
License: BSD

# python-wmi-client-wrapper

This is a wrapper around wmi-client for Linux. Apparently the python-wmi module
uses Windows APIs to access WMI, which isn't something that is going to work on
Linux.

## installing

```
pip install wmi-client-wrapper
```

## usage

```
import wmi_client_wrapper as wmi

wmic = wmi.WmiClientWrapper(
    username="Administrator",
    password="password",
    host="192.168.1.149",
)

output = wmic.query("SELECT * FROM Win32_Processor")
```

## testing

```
nosetests
```

## license

BSD