SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python-pypotrace rpm build for : OpenSuSE 13.X. For other distributions click python-pypotrace.

Name : python-pypotrace
Version : 0.1.2 Vendor : obs://build_opensuse_org/home:jnweiger
Release : 1.1 Date : 2015-04-17 12:14:47
Group : Development/Languages/Python Source RPM : python-pypotrace-0.1.2-1.1.src.rpm
Size : 0.19 MB
Packager : (none)
Summary : The potrace Python bindings
Description :
potrace Python bindings
=======================

These bindings provide an object oriented API to the `potrace`_ library.

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

The bindings work with input images represented as numpy arrays::

import numpy as np
import potrace


data = np.zeros((32, 32), np.uint32)
data[8:32-8, 8:32-8] = 1


bmp = potrace.Bitmap(data)


path = bmp.trace()


for curve in path:
print \"start_point =\", curve.start_point
for segment in curve:
print segment
end_point_x, end_point_y = segment.end_point
if segment.is_corner:
c_x, c_y = segment.c
else:
c1_x, c1_y = segment.c1
c2_x, c2_y = segment.c2

Documentation
-------------

The documentation is hosted here: http://packages.python.org/pypotrace

A copy is also included in the ``doc/_build/html`` directory of the source
distribution.

Homepage
--------

This project is hosted on github: http://github.com/flupke/pypotrace

.. _potrace: http://potrace.sourceforge.net/

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/jnweiger/openSUSE_13.2/i586

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  python-pypotrace-0.1.2-1.1.i586.rpm
     Search for other platforms
python-pypotrace-0.1.2-1.1.sparc.rpm
python-pypotrace-0.1.2-1.1.alpha.rpm
python-pypotrace-0.1.2-1.1.ppc.rpm
python-pypotrace-0.1.2-1.1.ia64.rpm
python-pypotrace-0.1.2-1.1.s390.rpm

Provides :
_potrace.so
bezier.so
curves.so
python-pypotrace
python-pypotrace(x86-32)

Requires :
libstdc++.so.6(GLIBCXX_3.4)
libpthread.so.0
python(abi) = 2.7
libc.so.6(GLIBC_2.0)
libagg.so.2
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libc.so.6(GLIBC_2.4)
libstdc++.so.6
rpmlib(CompressedFileNames) <= 3.0.4-1
libgcc_s.so.1
rpmlib(PayloadIsLzma) <= 4.4.6-1
libc.so.6(GLIBC_2.1.3)
libgcc_s.so.1(GCC_3.0)
libpython2.7.so.1.0
libstdc++.so.6(CXXABI_1.3)
libc.so.6
libpotrace.so.0


Content of RPM :
/usr/lib/python2.7/site-packages/potrace
/usr/lib/python2.7/site-packages/potrace/__init__.py
/usr/lib/python2.7/site-packages/potrace/__init__.pyc
/usr/lib/python2.7/site-packages/potrace/_potrace.so
/usr/lib/python2.7/site-packages/potrace/agg
/usr/lib/python2.7/site-packages/potrace/agg/__init__.py
/usr/lib/python2.7/site-packages/potrace/agg/__init__.pyc
/usr/lib/python2.7/site-packages/potrace/agg/curves.so
/usr/lib/python2.7/site-packages/potrace/bezier.so
/usr/lib/python2.7/site-packages/pypotrace-0.1.2-py2.7.egg-info
/usr/share/doc/packages/python-pypotrace
/usr/share/doc/packages/python-pypotrace/LICENSE
/usr/share/doc/packages/python-pypotrace/README.rst

 
ICM