GithubHelp home page GithubHelp logo

conda-package's Introduction

Module skeleton

This repository contains the skeleton to create, test and publish a Python module.

Create new module

Before all, a new repository has to be created.

Download

git clone https://github.com/brsynth/module.git

Customize

bash custom.sh

After this process, there will be some details to customise on your own. Locations will be displayed after the script ended.

Adding code

The fresh new code is to placed into module folder, a first empty file has been created. The code has to follow the team's guidelines (https://github.com/brsynth/Coding-Guidelines).

Checking

Code checking is achieved by flake and bandit that scan (without running it) the code and highlight errors.

Checking occurs automatically through GitHub actions each time some commits are pushed on branches dev and master. The workflow is defined in .github/check.yml file.

Check manually

Checking can be processed locally by running:

cd tests
./check-in-docker.sh

Testing

Code testing is achieved by Python code under tests/*.py.

Testing occurs automatically through GitHub actions each time some commits are pushed on branch master. The workflow is defined in .github/test.yml file.

Test manually

Checking can be processed locally by running:

cd tests
./test-in-docker.sh

Publishing

Code is published on PyPi (pypi.org) and Anaconda (anaconda.org) platforms.

Publishing occurs automatically through GitHub actions each time some commits related to RELEASE file are pushed on branch stable. The workflow is defined in .github/publish.yml file.

conda-package's People

Contributors

breakthewall 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.