Giter VIP home page Giter VIP logo

packaging_demo's Introduction

Packaging and releasing python code on pypi

tests codecov docs

Author: Brendan Whelan

This repository is intended to demonstrate the key tasks involved in publicly releasing python code as a member of Image X. The code itself just plots a sine wave.

Key topics include:

  • Choosing a license
  • Setting up packaging tools
  • Optional: set up a test framework
  • Optional: set up and host html documentation

Setup/Build/Install

To complete this tutorial you will need:

  • An account on github.com (this is different from our enterprise github)
  • An account on test pypi - and you will need to remember your account details!
  • A terminal in your OS. On windows, I think pycharm is the easiest option.
  • From there, clone this directory into a new environment and do
pip install -r dev-requirements.txt

Usage

A detailed tutorial is provided here

  • docs contains html documentation
  • docsrc markdown/rst source documentation
  • tests test cases
  • MyPackage source code

packaging_demo's People

Contributors

bwheelz36 avatar lmejn avatar

Forkers

markgardnerusyd

packaging_demo's Issues

Update instructions environment setup on Windows

I would like to update the Windows section of Environment set up. It seems Windows can be a bit tricky/non-intuitive regarding the availability of Python in the command line or PowerShell, especially since some installation methods don't automatically add the interpreter to PATH. I would like to add a small section on how to access python.exe, if it's not available.

Adding a pylint badge

I think it would be good to add a pylint badge to the repository. This way we can show people that pylint is used and that they should use it when working on the code.

Looks like there is some documentation on how to implement here

The code for the badge would be added to the README.md, and would look something like this:

[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)

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.