semvec/pypi-packages huggingface dataset:
VirtualMemProtect 0.1
Handles querying and setting of memory protection flags in Windows.
License: MIT

========
VProtect
========

vprotect is a simple tool that allows changing a process's memory protection
flags in Windows.

Memory protection flags here refer to the memory protection constants are are
used to signify the protection that each page in memory has. Examples of such
constants include PAGE_EXECUTE, PAGE_EXECUTE_READ, PAGE_NOACCESS, and so on.

The set of constants, and their corresponding values, may be found here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366786(v=vs.85).aspx
pyppd 1.0.2
A CUPS PostScript Printer Driver's compressor and generator
License: MIT

pyppd
=====

``pyppd`` is a CUPS PPD generator. It holds an compressed archive of PPDs, which
can be listed and retrieved only when needed by CUPS, saving disk space.

Instalation
-----------

To install ``pyppd``, you can use:

    # pip install pyppd

Or download the source package, uncompress, and run as root:

    # python setup.py install

It depends on Python 2.x or 3.x (http://www.python.org) and XZ Utils
(http://tukaani.org/xz/).

Usage
-----

At first, you have to create a PPD archive. For such, put all PPDs (they might
be gzipped) you want to add in the archive inside a single folder (which can
have subfolders), then run:

    $ pyppd /path/to/your/ppd/folder

It'll create ``pyppd-ppdfile`` in your current folder. This executable only
works with the same Python version that you used to generate it. You can test
it by running:

    $ ./pyppd-ppdfile list

And, for reading a PPD from the archive, simply do:

    $ ./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD

For CUPS to be able to use your newly-created archive, copy ``pyppd-ppdfile``
to ``/usr/lib/cups/driver/`` and you're done.

The generated ``pyppd-ppdfile`` can be arbitrarily renamed, so that more than
one packed repository can be installed on one system. This can be useful if
you need a better performance, be it in time or memory usage. Note that also
the PPD URIs will follow the new name:

    $ ./pyppd-ppdfile list
    pyppd-ppdfile:LasterStar/LaserStar-XX100.ppd
    $ mv pyppd-ppdfile laserstar
    $ ./laserstar list
    laserstar:LaserStar/LaserStar-XX100.ppd

Contributors
------------

* **Till Kamppeter** - Original idea, mentoring and feedback. User #0.

* **Hin-Tak Leung** - Lots of technical suggestions.

* **Martin Pitt** - Python 3 port.

* **Flávio Ribeiro** and **Diógenes Fernandes** - Refactorings and general Python's best practices tips.

* **Google's OSPO** - Initial funding at GSoC 2010.

Issues
------

* Add unit tests.
* When testing if the PPD generated from the \*Product line already exists in a
  \*1284DeviceID line, we do a case-sensitive test. I think it should be case-
  insensitive.
* Generate manpage.
obelus 0.1
Protocol implementation of the Asterisk Manager Interface and Asterisk Gateway Interface
License: MIT
Keywords: asterisk,manager,gateway,interface,AMI,AGI,twisted,tornado,tulip

Obelus: Asterisk's best friend
==============================

.. overview-start

Obelus is a MIT-licensed Python library providing support for communication
with the `Asterisk <http://www.asterisk.org/>`_ telephony server.  It
supports the `Asterisk Manager Interface (AMI) <http://asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-AMI.html>`_
and the `Asterisk Gateway Interface (AGI) <http://asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/AGI.html>`_.

Quick links
-----------

* Project page: https://pypi.python.org/pypi/obelus/
* Source code, issue tracker: https://bitbucket.org/optiflowsrd/obelus
* Documentation (incomplete): https://obelus.readthedocs.org

Features
--------

* Python 2 and Python 3 support.
* AMI, FastAGI and Async AGI support.
* Event-driven API friendly towards non-blocking ("async") network
  programming styles.
* :pep:`3156`-style protocol implementations.
* Framework-agnostic.
* Adapters for the `Tornado`_, `Twisted`_, `Tulip`_ network programming
  frameworks.
* Unit-tested.

Limitations
-----------

* The API is currently low-level: it abstracts away protocol syntax and
  communication sequences, but doesn't try to expose Asterisk concepts
  in a particular way.

Requirements
------------

* Python 2.7, 3.2 or later.

Optional requirements
^^^^^^^^^^^^^^^^^^^^^

* `Tornado`_, `Twisted`_ or `Tulip`_, if you want to use one of the
  corresponding adapters.

.. _Tornado: http://www.tornadoweb.org/
.. _Tulip: http://code.google.com/p/tulip/
.. _Twisted: http://www.twistedmatrix.com/

.. overview-end


Examples
--------

AMI client
^^^^^^^^^^

Several example AMI clients are available for different frameworks::

   $ python -m obelus.ami.tornadoadapter -h
   $ python -m obelus.ami.tulipadapter -h
   $ python -m obelus.ami.twistedadapter -h

FastAGI server
^^^^^^^^^^^^^^

Several example FastAGI servers are available for different frameworks::

   $ python -m obelus.agi.tornadofastagi -h
   $ python -m obelus.agi.tulipfastagi -h

Study the source codes for these modules for more information about
how to re-use the Obelus protocol classes in your own application.


Development
-----------

Running the test suite
^^^^^^^^^^^^^^^^^^^^^^

To run the test suite with a single Python version, run::

   $ pythonX.Y -m obelus.test

On Python versions before 3.3, you will need to install the
`mock <https://pypi.python.org/pypi/mock/>`_ library.

To run the test suite on all supported interpreters, install
`tox <http://testrun.org/tox/>`_ and run::

   $ tox


FAQ
---

Why "Obelus"?
^^^^^^^^^^^^^

An `obelus <http://en.wikipedia.org/wiki/Obelus>`_ is a typographical
character, a bit like an asterisk.


.. _Tornado: http://www.tornadoweb.org/
.. _Tulip: http://code.google.com/p/tulip/
.. _Twisted: http://www.twistedmatrix.com/