Software Alternatives, Accelerators & Startups

How to create a Python package in 2022

Shields.io Python Poetry pre-commit by Yelp Codecov
  1. GitHub badges as a service
    Pricing:
    • Open Source
    If you go to shields.io you can find hundreds of different badges that you can add to your own projects. Just have fun selecting all the appropriate badges you want to add!

    #API Tools #APIs #Developer Tools 78 social mentions

  2. Python packaging and dependency manager.
    Pricing:
    • Open Source
    I will start by setting up the dependency management of my package, and I will use Poetry. The reason I'm going for Poetry in this article is because I see a lot of other packages using it successfully, So I reckon they are probably doing something right.

    #Kids #Front End Package Manager #Package Manager 162 social mentions

  3. A framework for managing and maintaining multi-language pre-commit hooks
    Pricing:
    • Open Source
    # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks Repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-toml - id: check-yaml - id: end-of-file-fixer - id: mixed-line-ending - repo: https://github.com/psf/black rev: 22.3.0 hooks: - id: black args: ["--check"] - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: - id: isort args: ["--check", "--profile", "black"] - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: - id: flake8 additional_dependencies: [mccabe] args: ["--max-line-length", "88", "--max-complexity", "10"] - repo: https://github.com/PyCQA/pylint/ rev: v2.14.5 hooks: - id: pylint exclude: tests/ # Prevent files in tests/ to be passed in to pylint.

    #Kids #Git #Code Collaboration 150 social mentions

  4. Develop healthier code using Codecov's leading, dedicated code coverage solution. Try it free
    I added tests to get my coverage to 100% and I committed those tests. Next, I will integrate Codecov with my project, so that we get nice code coverage reports on pull requests. I'll start by logging in with my GitHub account over at the Codecov website, And then I just need to modify my workflow YAML file to upload the coverage data to Codecov. This needs to happen after tox has run:.

    #Code Coverage #Code Quality #Code Analysis 19 social mentions

Discuss: How to create a Python package in 2022

Log in or Post with