{"repo":"allenai/python-package-template","free":true,"listed":false,"github":"https://github.com/allenai/python-package-template","clone":"git clone https://github.com/allenai/python-package-template.git","description":"A template repo for Python packages","language":"Python","stars":532,"topics":["template","python"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"python-package-template This is a template repository for Python package projects. In this README :point down: - Features - Usage - Initial setup - Creating releases - Projects using this template - FAQ - Contributing Features This template repository comes with all of the boilerplate needed for: ⚙️ Robust (and free) CI with GitHub Actions: - Unit tests ran with PyTest against multiple Python versions and operating systems. - Type checking with mypy. - Linting with ruff. - Formatting with isort and black. 🤖 Dependabot configuration to keep your dependencies up-to-date. 📄 Great looking API documentation built using Sphinx (run make docs to preview). 🚀 Automatic GitHub and PyPI releases. Just follow the steps in RELEASE PROCESS.md to trigger a new release. Usage Initial setup 1. Create a new repository from this template with the desired name of your project. Your project name (i.e. the name of the repository) and the name of the corresponding Python package don't necessarily need to match, but you might want to check on PyPI first to see if the package name you want is already taken. 2. Create a Python 3.8 or newer virtual environment. If you're not sure how to create a suitable Python environment, the easiest way is using Miniconda. On a Mac, for example, you can install Miniconda using Homebrew: Then you can create and activate a new Python environment by running: 3. Now that you have a suitable Python environment, you're ready to personalize this repository. Just run: An","default_branch":null,"files":null,"tree":[],"storefront":"/r/allenai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/allenai/python-package-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}