Skip to main content
============
mythical-client
============

.. image:: https://magnum.travis-ci.com/verygoodgroup/mythical-client.svg?token=ykTaJtscxcuMJxYq2Nt5&branch=travis
:target: https://magnum.travis-ci.com/verygoodgroup/mythical-client

test
====

.. code:: bash

$ git clone git@github.com:verygoodgroup/mythical-client.git
$ cd mythical-client
$ git submodule update --init --recursive
$ mkvirtualenv mythical-client
(mythical-client)$ pip install -e .[tests]
(mythical-client)$ export \
MYTHICAL_SUITE_ROOT=https://mythical-test-4w3ebo.vgs.io \
MYTHICAL_SUITE_USERNAME=company \
MYTHICAL_SUITE_PASSWORD=password
(mythical-client)$ py.test suite.py --cov=mythical

suite
=====

If you have many suite targets (e.g. test, local, proxied, etc.) dump them in
``~/.mythical`` like e.g.:

.. code:: bash

$ cat <<EOF >> ~/.mythical

[suite:dev]
http_root=https://vault-all-dev-b6oy83-mythical-http.noxious.io
sftp_host=vault-all-dev-b6oy83-mythical-sftp.noxious.io
sftp_port=8022
username=travis-057e4f1be6c742cc876af9d8cdc74981
password=xxxxxxxxxxxxxxxxxxx

EOF

and target them like:

.. code:: bash

(mythical-client)$ MYTHICAL_SUITE=dev py.test suite.py
...

proxy
=====

To route through a `token proxy <https://github.com/verygood/vault>`_ install the client:

.. code:: bash

(mythical-client)$ pip install vault

setup a target:

.. code:: bash

(mythical-client)$ cat <<EOF >> ~/.mythical

[suite:dev-proxy]
http_root=https://mythical-LoadBala-1RZB12W0TY5A0-1578257076.us-west-2.elb.amazonaws.com
sftp_host=mythical-LoadBala-1RZB12W0TY5A0-1578257076.us-west-2.elb.amazonaws.com
sftp_port=8022
username=vault
password=vaultvault
tokenize=
import vault

token_key = """\
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFJEBRUTO6URKuJYboKeSeYYIa
a4AE4zN/bZg/q+F/6y9mODqUC8Ldye6M4a+rSSC8ilVJ7UuLGnVGUztg9VVpBdt5
a1WTpvf4VnyqSkKhQkQ95La7y98FDm8HEI5DZvSlROG39fdyUfTl9PDlEfK9nf40
jQmoXIeRgEF9l2LFiwIDAQAB
-----END PUBLIC KEY-----\
"""

token_version = '0'

tokenize = vault.ephemeral.InlineTokenizer.from_config(
vault.ephemeral.InlineTokenizer.Config(
key=token_key, version=token_version
))

EOF

and test:

.. code:: bash

(mythical-client)$ MYTHICAL_SUITE=dev-proxy py.test suite.py

Metadata

Release files for mythical 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mythical 0.2.0
File Size Uploaded
mythical-0.2.0.tar.gz 10.3 kB Details

Release files / mythical-0.2.0.tar.gz

Download URL mythical-0.2.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2790813341eaf61e09ccc9284c8ec4bf23d843e9f876ad2c441239aad72d5f49
BLAKE2b-256 checksum
How to use checksums
3b469dc0b8fc172e07068053111c0bab128436d96178f86d5aa1d48971fbbd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page