Coder Social home page Coder Social logo

patrick-5546 / sampleproject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pypa/sampleproject

0.0 0.0 0.0 1.51 MB

My fork of a sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects"

Home Page: https://patrick-5546.github.io/sampleproject/

License: MIT License

Python 100.00%

sampleproject's People

Contributors

atugushev avatar dansondergaard avatar dependabot[bot] avatar di avatar dmtucker avatar gtback avatar hugovk avatar hulbert avatar ionelmc avatar ivoz avatar kapyshin avatar lepistone avatar makdon avatar marcelm avatar mgedmin avatar mizux avatar ncoghlan avatar patrick-5546 avatar pfmoore avatar pganssle avatar pradyunsg avatar qwcode avatar rbricheno avatar richardbronosky avatar rnetonet avatar ryanlong1004 avatar svisser avatar therealphildini avatar thisisparker avatar utkonos avatar

sampleproject's Issues

Various infrastructure improvements

Explore sites like https://github.com/nedbat/scriv to get inspiration on how to further improve this template.

Ideas

Rework release steps

Prerequisites

Things that need to be done

  • Update version in pyproject.toml
  • Generate CHANGELOG.md
  • Tag commit
  • Build and push to pip
  • Publish GitHub release
    • Should match CHANGELOG.md

Reworked release steps

Step Method
Update version in pyproject.toml manual
Generate CHANGELOG.md, tag commit, build and push to pip run release workflow when "Update version" is pushed to main
Publish GitHub release Manual, copy from CHANGELOG.md

Cleanup

  • Remove .github/release.yml, the previous release method
  • Document release steps in docs
  • Add changelog to project.urls in pyproject.toml

Add documentation framework

Use Material for MkDocs to host documentation

To do

Page tree

  • Home
    • License
  • User Guide
    • Installation
    • Getting Started
    • Commands
    • Configuration
  • Code Reference
  • Development
    • Contributing
      • Setup
      • Environments
        • Test
        • Lint
        • ...
    • Adapting this Repository Template
    • VS Code Integration
    • GitHub Actions Integration
    • Create a Release

Updates from using template

Description

Trying out the template to see what is missing

Changes

  • - in repo and package name, _ in module name
    • Just avoid those
  • Add link to documentation on pip homepage
  • When renaming, can exclude requirements (run tox -e upgrade after)
  • Separate replacing patrick-5546 and sampleproject
  • Don't need step 1 of update readme badges anymore
  • Make badge -> Make coverage badge
  • Can add a new file to existing gist instead of creating new gist
  • Don't need to switch to main branch to setup intially
  • No need to set the branch to gh-pages
  • May want to look through repo settings (not carried over)
  • Add additional context section to PR template
  • Add required CI
  • Update docstring template
  • Combine lint and test dependencies
  • Remove extension
  • Add punctuation to docstrings template
  • Should tox -e upgrade in initial setup to rename dependency comments
  • Add comment about # noqa
  • Move main() to __main__.py
  • Remove data file (or comment out line)

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.