Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A python API for accessing Systimes infrastructure services.

Project description


An API for accessing systimes infrastructure services.

python environment

pyenv install 3.7.1
pyenv virtualenv 3.7.1 stack-api
echo "stack-api" > .python-version
pip install --upgrade pip
pyenv activate stack-api
pip install -r requirements.txt


pip install wheel
sudo rm dist
sudo python sdist bdist_wheel
pip install --upgrade twine
twine upload --repository pypi dist/*    

upload to pypi


  index-servers =

  username = __token__
  password = # either a user-scoped token or a project-scoped token you want to set as the default

  repository =
  username = __token__
  password = # a project token 

twine --repository systime_stackapi to switch to the right project before uploading

local test



pyenv activate baseline; awsume -a systime; pyenv activate stack-api

export SYSTIME_STACK_CLI_KEY_NAME="python-opsserver"
export SYSTIME_STACK_CLI_KEY="r8iM#o)moM.RE89;qkKPi2dR;*}ratP&@WZkc7Rn9tX2g6emLV8VNxzwPdN@bwK4"




DNS Records will not be removed!

(stack-api) ➜  scripts git:(master) ✗ python
Studybox enabled for
Creating DNS record
DNS Record created.
Reloading webservers for stack: development-stack-2020
Webservers reloaded

usage via docker

Bare bones Dockerfile supplied here, but is actually used via In the context of stack-api-local-development, execute the following to get started

docker-compose build python-api

When the image has been build, add an environment

pyenv virtualenv 3.6.8 baseline
pyenv activate baseline
pyenv global 3.6.8 baseline
pip install --upgrade pip
pip install awscli awsume
awsume iam
awsume systime
. ./ > .env
docker-compose run python-api bash

bash-5.0# python scripts/

Project details

Download files

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

Files for systime-stackapi, version 0.0.31
Filename, size File type Python version Upload date Hashes
Filename, size systime_stackapi-0.0.31-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size systime_stackapi-0.0.31.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page