You create a conda environment, you activate it, you install some packages, you write some code, you run some test, life is good. Then you decide to set up a continuous integration (CI) pipeline. You find the conda documentation on how to do this and it’s pretty straightforward because the steps are the same as on your laptop: install Ana/Miniconda, create a conda environment from your environment.yml
file, activate the environment using conda activate <my_awesome_environment>
, and then it happens:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init <SHELL_NAME>…
This article provides you with an easy script to create GitHub Gists from your repositories.
Adding code in Medium articles can be done in one of three ways. In line code like this
, in a code block
like this.
Such a block is more useful
when
you
need
to
present
multiple
lines
of
code
or with a GitHub gist
Let us focus on those gists. When I wanted to add them into my Medium articles, I knew they were hosted on GitHub. So naturally, the first thing I did was create a GitHub repository for…
In this article I’ll share with you some useful tips and tricks when using AWS CDK Pipelines that go beyond the simple demos and which can be implemented in your real-world applications.
The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to define your cloud application resources using familiar programming languages. This latter is the biggest difference from other infrastructure-as-code tools, which use configuration files and special-purpose languages. AWS CDK is a framework which, under the hood, creates AWS CloudFormation templates to deploy AWS resources. The power of AWS CDK is that it allows you…
This article is part of a series How to Organically Grow your Python Project in which I cover the different steps you will go through when starting a new Python hobby project. The focus of this series lies on not knowing in advance what you want to make and thus not planning the whole project from the start.
In this article I’ll talk about how you can automate running the tests of your Python hobby project. Automated testing can be achieved in several ways but I will limit this article to explicitly showing one and conceptually talk about the others…
This article is part of a series How to Organically Grow your Python Project in which I cover the different steps you will go through when starting a new Python hobby project. The focus of this series lies on not knowing in advance what you want to make and thus not planning the whole project from the start.
In this article I’ll talk about how I started writing the first tests of my Python hobby project. This is a story from my point of view and does not serve as the only approach. It merely shows a path you can…
This article is part of a series How to Organically Grow your Python Project in which I cover the different steps you will go through when starting a new Python hobby project. The focus of this series lies on not knowing in advance what you want to make and thus not planning the whole project from the start.
In this article I’ll talk about the first steps that I took when starting my Python hobby project. This is a story from my point of view and does not serve as the ground truth. It merely shows that I find it…
In this series, I cover different stages of the natural growth process of a hobby Python project. I write this series because there are a lot of articles out there on how to develop and structure a Python project yet they frequently start from a prior knowledge on what the project should be. What the end goal will be. But maybe you don’t have this luxury… In this series, I start from the principle that you, the developer, have no idea yet where you want to go with your project, a scenario that often occurs with hobby projects. This means…