Skip to main content

An ORM for your application stack.

Project description

Stackzilla

Stackzilla

stackzilla

codecov unit-test Python 3.7 | 3.8 | 3.9 | 3.10 pyPI

Stackzilla is a Python ORM for managing application infrastructure and software. Stackzilla's object-oriented design allows for complete customization by the developer, if that level of customization is needed. For simpler deployments, Stackzilla offers an incredibly easy interface for Python developers to work with.

Installation

Install and update using pip.

pip install -U stackzilla

View the Stackzilla PyPI package here.

Usage

Check out our getting started guide for installation and usage.

Blueprint Example

Here is a simple blueprint definition for a server on Linode.

import os
from stackzilla.resource.ssh_key import StackzillaSSHKey
from stackzilla.provider.linode.instance import LinodeInstance

# This is our personal access token for interacting with the Linode API
LinodeInstance.token = os.getenv('STACKZILLA_LINODE_TOKEN')

class MyKey(StackzillaSSHKey):
    def __init__(self) -> None:
        super().__init__()
        self.key_size = 2048


class MyServer(LinodeInstance):
    def __init__(self):
        super().__init__()
        self.region = 'us-east'
        self.type = 'g6-nanode-1'
        self.image = 'linode/alpine3.12'
        self.label = 'Stackzilla_Test-Linode.1'
        self.tags = ['testing']
        self.private_ip = False
        self.ssh_key = MyKey

Have a question?

All support requests are handled through GitHub Discussions. Please only open a GitHub issue if you've found a bug, or have a feature request.

Contributing

To get started with contributing to the Stackzilla project, visit the developer documentation. Thank you for your interest!

License

Stackzilla is licensed under the GNU Affero General Public License v3.0 license See LICENSE for more information.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

stackzilla-0.2.1-py2.py3-none-any.whl (76.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stackzilla-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: stackzilla-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 76.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for stackzilla-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 236f7c6b16faf78f14b1cfff834b531b69ccf35a84a2e2eab426a0eebed687a9
MD5 d97cb2ba9097c054b9e2b008ff6d3920
BLAKE2b-256 b07be1e91fc6654ef107fb4af35aeab2e3b90590232daca5424b093be720b30a

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