Roland's homepage

My random knot in the Web

Articles tagged with "python2"

  1. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation from ahupp/python-magic in Github feels more natural.

  2. Stltools

    From the release of version 3.2, the py-stl software has been renamed to stltools. The reason I made this change mostly has to do with how FreeBSD handles packages. Programs that require an interpreter are prefixed with its name and version. So py-stl would become py27-py-stl, which would be ...

  3. Making my first EPUB

    Now that I got an EPUB reader, I started looking for a way to make EPUB documents.

    In principle, an EPUB file is a zipfile with a certain layout, as can be seen on the wikipedia page linked above.

    The actual contents are just XHTML, while the metadata files are ...

  4. Filtering a sound recording

    Recently I was listening to an MP3 file of a talk about no-till gardening when I noticed that there was a noticable buzz in the sound. I figured I would try my hand at sound filtering with Python as a learning experience.

    The Python standard library doesn’t have a ...

  5. Evaluating REACH

    One of my responsibilities at work is to act as local expert with regard to chemical substances. One of the tasks is making sure we comply with REACH (“Registration, Evaluation, Authorisation and restriction of CHemical substances”).

    The REACH directive itself is huge, numbering 515 pages in the Dutch version. In ...

  6. dxftools

    Introduction

    The purpose of the ‘dxfgerber’ program is to generate optimized DXF files for processing on a Gerber cutting machine. The software for this cutter is apparently not very intelligent and doesn’t seem able to sort line and arc entities in a DXF file in a relevant order.

    This ...
  7. py-stl / stl2pov

    Note

    The Python version of this program has been renamed to stltools. The version on this page is therefore out of date.

    The C version is still current, although it has limited functionality compared with the Python version.

    Introduction

    The origin of this software was found in the desire of ...


Page 1 / 2 Page 2 →