Skip to main content

Manage model artifacts throughout the model development process.

Project description

Skylite

The aim of this project is to create a minimalist approach to managing artifacts generated throughout the model development process.

Table of Contents

Main Features

  • Project: A Project is the single element that manages all of your tasks.

  • Store: A Store is the single element that manages all artifacts of a single type, across all projects.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/jesse-sealand/skylite

The latest released version are available at Python Package Index (PyPI).

pip install skylite

Examples

from skylite import Exchange

# Settings
home_directory = '~/Documents'
settings = {
    "exchange_name": "Exchange",
    "available_stores": ["data-store", "model-store", "result-store", "project-store"],
}

# Setup
SkyLight = Exchange(home_directory, settings)
SkyLight.open_exchange()


# Create Project
PROJECT_NAME = 'aerial-imagery5'
SkyLight.create_project(PROJECT_NAME)

sky_proj = SkyLight.open_project(PROJECT_NAME)

# Start adding model artifacts when modeling
for i in range(0,10):

    # Create new instance of Trial
    sky_proj.create_trial()

    """
    Perform Modeling / scoring / analysis
    """

    # Store artifacts for this Trial
    data_dict = {'train': df,
                'test': df,
                'score': df}
    
    model_dict = {'model': clf}

    results_dict = {'accuracy': 0.98,
                    'f1-score': 0.75
                    }

    sky_proj.store_objects('data-store', data_dict)
    sky_proj.store_objects('model-store', model_dict)
    sky_proj.store_objects('result-store', results_dict)


    # close instance of trial and save artifacts
    sky_proj.close_trial()

Dependencies

  • TinyDB A tiny, document oriented database.

Change Log

See the change log for a detailed list of changes in each version.

License

This extension is licensed under the MIT License.

Documentation

The official documentation is hosted on Read the Docs.

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

skylite-0.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

skylite-0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file skylite-0.2.tar.gz.

File metadata

  • Download URL: skylite-0.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for skylite-0.2.tar.gz
Algorithm Hash digest
SHA256 a1c8933745f7ab40bc2cc148a0fffd2148f73173b0606a66cd2fc61abece9448
MD5 44644deed99e9ac7410e26185436fbb4
BLAKE2b-256 a35c5d1d093a9031facf51ea812b2143f781f1ada30d7fed6a14cf0d2424a43d

See more details on using hashes here.

File details

Details for the file skylite-0.2-py3-none-any.whl.

File metadata

  • Download URL: skylite-0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for skylite-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc49140e141c69944d08ad75078964816ea1729610321b8ce4fc9f98921c473
MD5 44f54ac895212a7c7f739bf9c8f20cdb
BLAKE2b-256 8889d4db358a56d6c9fee9e295f07efe9a2d6da58d3fcf05117cb3c11f0e8673

See more details on using hashes here.

Supported by

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