Skip to main content

You can pull a Docker container:

pip install ostree
ostree pull python:3.7-alpine ./alpine

And run it with systemd-nspawn:

sudo systemd-nspawn --directory ./alpine python

Spawning container alpine on /home/denis/alpine.
Press ^] three times within 1s to kill container.
Timezone UTC does not exist in container, not updating container timezone.
Python 3.7.0 (default, Aug 22 2018, 20:39:59)
[GCC 6.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Warning

This is alpha-quality software. Things are intended to break.

Supported Registries

The following registries are currently supported:

  • Docker (public registry only)
  • Google Container Registry (public, private with service account and json keyfile)

Requirements

  • POSIX
  • Python 3.6+

Run the Tests

pip install -e '.[test]'
py.test ostree

Conventions

Ostree follows PEP8 as closely as possible. To validate it run:

pip install -e '.[test]'
flake8 ostree

Ostree uses Semantic Versioning.

License

Ostree is released under the MIT license

Changelog

0.1.1 (2018-09-07)

  • Adds environment variables for OSTREE_AUTH, OSTREE_CACHE and OSTREE_PROTOCOL. [href]

0.1.0 (2018-09-06)

  • Adds support for Google Container Registry. [href]

  • Implements cache purging. [href]

  • Shows an error if no protocol is given. [href]

  • Changes the cache path to ~/.cache/seantis/ostree for non-root users. [href]

0.0.0 (2018-08-24)

  • Initial Release. [href]

Download files

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

Source Distribution

ostree-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

ostree-0.1.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file ostree-0.1.1.tar.gz.

File metadata

  • Download URL: ostree-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

File hashes

Hashes for ostree-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8179a0acb69aacd7871e60924cfddba47b1a7a9bedad38501d3db6df44cc85c8
MD5 3c674453fd13fd12c1d9b5ae37c4516d
BLAKE2b-256 63a68b9d0208c619b81bf61668fbcbc90d4480abe1edb64dac42265c5283422d

See more details on using hashes here.

File details

Details for the file ostree-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ostree-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

File hashes

Hashes for ostree-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e643026c3c1391e3198d972ae4accdbe914c726d4fde6ed368780f864778e6f1
MD5 6ecae0368841bdfe1d8ce51a5682a9cb
BLAKE2b-256 d2e1ad45c3be64d795981b113064ad97f0c580b1ed48fcd3572b12d1f4f515e7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

0.0.0

2 files

Supported by

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