Coder Social home page Coder Social logo

vesselai-dagster's Introduction

vesselai_dagster

Welcome to your new Dagster repository.

Contents

Name Description
README.md A description and guide for this code repository
setup.py A build script with Python package dependencies for this code repository
workspace.yaml A file that specifies the location of the user code for Dagit and the Dagster CLI
vesselai_dagster/ A Python directory that contains code for your Dagster repository
vesselai_dagster_tests/ A Python directory that contains tests for vesselai_dagster

Getting up and running

  1. Create a new Python environment and activate.

Pyenv

export PYTHON_VERSION=X.Y.Z
pyenv install $PYTHON_VERSION
pyenv virtualenv $PYTHON_VERSION vesselai_dagster
pyenv activate vesselai_dagster

Conda

export PYTHON_VERSION=X.Y.Z
conda create --name vesselai_dagster python=PYTHON_VERSION
conda activate vesselai_dagster
  1. Once you have activated your Python environment, install your repository as a Python package. By using the --editable flag, pip will install your repository in "editable mode" so that as you develop, local code changes will automatically apply.
pip install --editable .

Local Development

  1. Set the DAGSTER_HOME environment variable. Dagster will store run history in this directory.
mkdir ~/dagster_home
export DAGSTER_HOME=~/dagster_home
  1. Start the Dagit process. This will start a Dagit web server that, by default, is served on http://localhost:3000.
dagit
  1. (Optional) If you want to enable Dagster Schedules or Sensors for your jobs, start the Dagster Daemon process in a different shell or terminal:
dagster-daemon run

Local Testing

Tests can be found in vesselai_dagster_tests and are run with the following command:

pytest vesselai_dagster_tests

As you create Dagster ops and graphs, add tests in vesselai_dagster_tests/ to check that your code behaves as desired and does not break over time.

For hints on how to write tests for ops and graphs in Dagster, see our documentation tutorial on Testing.

vesselai-dagster's People

Contributors

vhffm avatar

Watchers

James Cloos avatar  avatar Hui Song avatar  avatar Phu H. Nguyen avatar Nikolay Nikolov avatar An Ngoc Lam avatar  avatar Maryna Waszak avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.