Skip to main content

A small example package

Project description

mypackage_wsc

mypackage_wsc is Python package to automate deploiment of infrastructure. Writtent and compatible with python 3 . to use mypackage_wsc you should follow Wedeployer skeletton.

Documentation

Documentation to Wedeployer skeletton
https://infra-doc.readthedocs.io/en/latest/

installation

Using pip, the Python package manager:

pip install --user mypackage_wsc==0.0.7

mypackage_wsc is developed for Linux os , No windows version is available.

Usage

mypackage_wsc automate terraform initialization and deploiment ,although generating necessary files for ansible and launch playbook.
I will describe below simple usage.

  • mypackage_wsc.infra_bootstrap:
python -m mypackage_wsc.infra_bootstrap --account <group>-<env>
  • mypackage_wsc.infra_builder_terraform:
python -m mypackage_wsc.infra_builder_terraform --account <group>-<env>
  • mypackage_wsc.install_nginx:
python -m mypackage_wsc.install_nginx --group <group>-<env>

Features

Here are features for infra_builder_terraform script:

Builder Terraform Script:
optional arguments:
  -h, --help            show this help message and exit
  --account ACCOUNT     account <group>-<env>
  --action ACTION       plan apply or destroy
  --region REGION       eu-west-1 by default
  --layer LAYER         terraform layer
  --ignore              ignore layer
  --provider PROVIDER   cloud provider , by default aws
  --approve APPROVE     Auto-approve option ,set 'yes' to enable it

Here are features for infra_bootstrap script :

Boot Strap script

optional arguments:
  -h, --help           show this help message and exit
  --provider PROVIDER  provider aws
  --account ACCOUNT    account <group>-<env>
  --action ACTION      plan apply or destroy
  --region REGION      eu-west-1 by default
  --approve APPROVE    Auto-approve option ,set 'yes' to enable it

license

GNU GENERAL PUBLIC LICENSE

Project details


Download files

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

Source Distribution

mypackage_wsc-0.0.8.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

mypackage_wsc-0.0.8-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file mypackage_wsc-0.0.8.tar.gz.

File metadata

  • Download URL: mypackage_wsc-0.0.8.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for mypackage_wsc-0.0.8.tar.gz
Algorithm Hash digest
SHA256 8e8b82134556e3d4147524c1d98e3ff854f599133d64e60fe436913969d943fb
MD5 5623251318e8f6aa35d455b1a03b78b0
BLAKE2b-256 637fecc170dc80b02b355f07abdc42123d26c93f0c44b5df9ed03233efccf7ec

See more details on using hashes here.

File details

Details for the file mypackage_wsc-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: mypackage_wsc-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for mypackage_wsc-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e4889ae3d0da56ef63ae88b32ffd81d1fcf1df95d2d4bdfdc7da39298cc0c1
MD5 4860f0fd5c925fa8f4d78158541381e8
BLAKE2b-256 3414368511f1044133d5f8ee76fbdef216d33550dc379a9a7552a7104bbf8afb

See more details on using hashes here.

Supported by

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