Johbo's Notes - Working on the Web
  • About Me
  • Archives

Reproducible Development Environments with Nix

Sat 27 May 2017 by Johannes Bornhold in event Tags python / nix / develop

Export of the slides from my talk at PyConWEB 2017 about using Nix the purely functional package manager to get reproducible development environments.

more ...

Python development with Nix - an update

Wed 09 November 2016 by Johannes Bornhold in develop Tags nix / python / develop / pip2nix

Review on using Nix to manage development environments for Python projects.

more ...

Thoughts on a command line toolkit for Pyramid

Sat 24 September 2016 by Johannes Bornhold in develop Tags python / pyramid / cli / click

Thoughts on how an integration of a CLI (command line interface) toolkit for the Pyramid web framework might look like and could be integrated into the configuration mechanisms of Pyramid itself.

more ...

Thoughts on the CLI of Pyramid applications

Thu 15 September 2016 by Johannes Bornhold in develop Tags python / pyramid / cli / click

Thoughts on providing a nice CLI (command line interface) for Pyramid applications based on Click and the API of the Pyramid web framework.

more ...

Spin up a local web server with Python

Thu 01 September 2016 by Johannes Bornhold in develop Tags develop / python / server

A common need is to bring up a web server ad-hoc to serve out some files via HTTP. Most of the time I am using this trick when I want to serve a local directly quickly via HTTP without setting up anything for it.

Python has a module http.server …

more ...

Creating a test database with SQLAlchemy

Fri 05 August 2016 by Johannes Bornhold in develop Tags python / pytest / sqlalchemy / db

A wrap up of a simple fixture for py.test which creates a test database based on SQLAlchemy.

more ...

Data migrations with Alembic - Plain SQL

Tue 26 July 2016 by Johannes Bornhold in develop Tags python / sqlalchemy / alembic / database

An example how to use plain SQL to migrate data in a database using Alembic.

more ...

Local SMTP server built into Python

Wed 20 July 2016 by Johannes Bornhold in develop Tags python / smtp / email

How to spin up a local SMTP server for testing purposes.

more ...

Modifying Python packages via config.nix

Fri 08 July 2016 by Johannes Bornhold in nixos Tags python / nix / develop

The package collection nixpkgs has a nice way to configure and tweak the package set based on the configuration file ~/.nixpkgs/config.nix.

Changing something in pythonPackages was not so obvious to me though. In my case I used dulwich on Darwin. It was pulled in as a dependency of …

more ...

Combining marshmallow and translationstring

Fri 01 July 2016 by Johannes Bornhold in develop Tags python / i18n / api

Around forms and APIs the problem of validating input data and serializing application data into simple data structures occurs on a regular base to me. marshmallow is a Python library which aims to solve this problem and appears to be pretty flexible.

I have evaluated it recently as a candidate …

more ...

  • «
  • 1
  • 2
  • »
  • Social

    • mastodon
    • matrix
    • github
  • Categories

    • cloud
    • develop
    • event
    • hello
    • macos
    • nixos
    • tools

© 2017 Johannes Bornhold

Back to top