semvec/pypi-packages huggingface dataset:
de9im 0.1
Dimensionally  Extended 9-Intersections Matrix utilities
License: BSD
Keywords: gis computational geometry

=======================
de9im: DE-9IM utilities
=======================

As part of my continuing education about the theory and methods underlying
Shapely, GEOS, JTS, and the OGC's Simple Features specs, I've written a small
package of utilities for working with DE-9IM matrices and patterns:
http://bitbucket.org/sgillies/de9im/. Shapely provides the standard (these are
probably my favorite OGC standards) predicates as geometry class methods::

  >>> from shapely.wkt import loads
  >>> p = loads('POLYGON ((1.0 0.0, 0.0 -1.0, -1.0 0.0, 0.0 1.0, 1.0 0.0))') 
  >>> q = loads('POLYGON ((3.0 0.0, 2.0 -1.0, 1.0 0.0, 2.0 1.0, 3.0 0.0))')
  >>> p.disjoint(q)
  False
  >>> p.intersects(q)
  True
  >>> p.touches(q)
  True

but what if you wanted to test whether the features touched at exactly one
point only? A "side hug", you might say. Instead of computing the intersection
and checking its geometry type, you can use the de9im package to define a
DE-9IM matrix pattern and test it against the relation matrix for the two
features. The `0` in the pattern below requires that the intersection of the
boundaries of the features be a 0-dimensional figure. In other words: a point::

  >>> from de9im import pattern
  >>> side_hug = pattern('FF*F0****')
  >>> im = p.relate(q)
  >>> print im
  FF2F01212
  >>> side_hug.matches(im)
  True

One may also use familiarly named patterns::

  >>> from de9im.patterns import touches
  >>> repr(touches)
  "DE-9IM or-pattern: 'FT*******||F**T*****||F***T****'"
  >>> touches.matches(im)
  True
stboot 0.3.6
STM32F10x UART system bootloader interface.
License: BSD
Keywords: ARM Cortex-M3,bootloader,programmer

.. -*- mode: rst -*-

========
 STBoot
========

Flash programmer for ST Micro's STM32 microcontrollers.
STBoot uses serial protocol defined in AN2662.


SK-MSTM32F107 support
---------------------
On this development board `RTS` and `DTR` are controls state of `BOOT0` and `RESET`.

1. RTS — BOOT0
2. DTR — !RESET

Add `-s` key for use in this mode.


Optionnal depends
-----------------

- ``progressbar`` python module for display progress
- ``IntelHex`` for convert `.hex` to `.bin`


Changelog
---------

0.3.6
~~~~~

- Fix messages if ``progressbar`` not exist.
- Code cleanup.

0.3.5
~~~~~
Rename access lib and utility. `(st-boot.py -> stboot.py)`

0.3.4
~~~~~

- Fix programming progresspar error (maxval assertion).
- Add hexadecimal parsiong for address and length options. ``[opster >= 0.9.10]``

0.3.3
~~~~~

- Progress bar
- Verbose option
- program: erase option

0.3.2
~~~~~
Erase bug fixed.

0.3.1
~~~~~
Add verify command.

0.3.0
~~~~~
First release.
memcached_lock 1.1
Implements a distributed lock on top of memcached.
License: BSD
Keywords: memcached lock distributed

memcached_lock
---------------

Implements a distributed transaction using memcached or
a memcached compatible storage.


Example
-------

Basic example of usage::

    from __future__ import with_statement
    import memcache
    from memcached_lock import dist_lock

    client = memcache.Client(['127.0.0.1:11211'])
    with dist_lock('test', client):
        print 'Is there anybody out there!?'