Skip to main content

Module that makes, in a development context, the creation of dockers containers easier.

Project description

BuildDevEnv

Purpose

This package has been designed to create easily, with minimalists template files, a development environment in Docker. Note that is has been tested on Windows 10 only with Docker Desktop.

Requirements

The following components are required to execute the package:

  • Python 3.6 or +
  • pip installer
  • Docker Desktop

Install

This package is available from Pypi. In order to install it, execute the following command: pip install builddevenv

Usage

Before using the libray, the execution policy of PowerShell must be changed to authorized Python to use Docker API. In PowerShell, execute the following command: Set-ExecutionPolicy Unrestricted -Force

Once the Powershell execution policy changed, it is then possible to execute the package using the following command line: python -m builddevenv <template file>

Replace template-file by the full name of the file containing the containers configuration.

You can find some samples in the package installation folder, under the directory named sample

Unit tests

In development mode of this package, it is mandatory to implement unit tests when a feature is added. The unit tests are written in the folder test. In order to run the unit tests, set the current directory to the root folder of the project. Then execute the command: python -m pytest

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

builddevenv-1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

builddevenv-1.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file builddevenv-1.0.tar.gz.

File metadata

  • Download URL: builddevenv-1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for builddevenv-1.0.tar.gz
Algorithm Hash digest
SHA256 5f298e6a45ff0160f901d030ba1f7bb1eddf545e26a455fbc81a8f6765573d57
MD5 2906f8b56cbfd2a826aa5ee652adf5e1
BLAKE2b-256 428bd081936b53af44ebe4c5a2706887b8b1c00b6dc350d674ef5008e5fe162a

See more details on using hashes here.

File details

Details for the file builddevenv-1.0-py3-none-any.whl.

File metadata

  • Download URL: builddevenv-1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for builddevenv-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa55f7753ad133a34ce25e7454a3bd4ffb32909859256801e1ace0a392e80eda
MD5 2eb6daae0d87548cc784b76a359c8a6d
BLAKE2b-256 5a2529a6b24a5016ac36617d761847faf5b83b5f3d2997df583ee2e999060cd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page