GithubHelp home page GithubHelp logo

snakemake-kubernetes-api's Introduction

snakemake-kubernetes-api

CI-CD Pixi Badge pre-commit

GitHub Release Staging Version Development Version

This project contains a simple API to interact with the Kubernetes API from Snakemake.

Setup

This project uses Pixi to manage packages and the environment.

# linux / mac os
curl -fsSL https://pixi.sh/install.sh | bash

To install the dependencies, run the following command:

pixi install

What this does is create a virtual environment and install the dependencies listed in the pyproject.toml file. By starting command line commands with pixi run, you can run the commands in the specific environment.

This ensures that any other packages or dependencies can be synchronized across different environments, systems, and developers.

Quick start with the project and Pixi

There is a simple test function implemented in src/common/logging/logging.py called test_function that is called from the src/core/snakemake/main.py file. This function is used to test the logging functionality.

To run using the environment managed by pixi, run the following command in the root directory of the project:

pixi run python -m src.core.snakemake.main

A feature of pixi is that it can be used to run common tasks. For example, the above command has been implemented as a pixi task in the pyproject.toml file.

To run the task, use the following command:

pixi run hello

TODO:: as development progresses, remove the test_function and add a more meaningful function to show the functionality of the project and PIXI in general.

Semantic Versioning

This project uses Python Semantic Release for automatic versioning and changelog generation.

It is implemented via GitHub Actions and the configuration can be found in the pyproject.toml file.

For a detailed explanation of the release process, please refer to the GitFlow Process and Release Cycle.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

All contributions are welcome! To do so, fork the repository, create a new branch and submit a pull request

snakemake-kubernetes-api's People

Contributors

jjjermiah avatar

Watchers

 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.