Other articles


  1. PyPi web API - 2020 May 12

    PyPi has a web API that will give you JSON encoded information about packages.


    read more
  2. Updating your setup.py files to the newer format - 2020 May 11

    One of the not so nice things about legacy installable python packages is the executable nature of setup.py files. This means amongst other things that you can't reliably determine the contents of some setup.py files without arbitrary code execution. This is what led to PEP 518 which specified a declarative metadata format that can be stored in easy to parse file. Updating is a pain though, but thankfully there's some tooling that makes this easier as I found out recently.


    read more
  3. Creating your own user events in pygame - 2020 April 21

    Here's how you can create your own user events in Pygame.


    read more
  4. Unicode whitespaces in Python - 2020 April 20

    Getting a list of all the Unicode whitespace characters is less straightforward than I would have hoped.


    read more
  5. Finding out what a python script imports - 2020 April 16

    Finding out what a Python module imports


    read more
  6. Pylint false positives with C extensions - 2020 April 14

    Pylint can give you false positives for missing-member errors when C extensions are involved, here's why and what you can do to avoid the issue.


    read more
  7. Have we reached peak Python? - 2020 April 09

    Has Python reached the peak of the hype cycle?


    read more
  8. What causes Pylint no-member false positives and how to deal with this - 2020 February 17

    SQLAlchemy when used with Pylint complains about some false positives. Here's an explanation of why and what you can do about it.


    read more
  9. Sorting IP addresses in Python - 2020 January 27

    A small example of a way you can sort IP addresses in Python.


    read more

Page 1 / 5 »