https://github.com/speakintelnet/jack-of-all-templates
A simple and opinionated template aggregator for multiple languages built around copier. Mirrored from https://codeberg.org/SpeakinTelnet/Jack-of-All-Templates
https://github.com/speakintelnet/jack-of-all-templates
copier copier-template julialang python rust solidity template
Last synced: 3 months ago
JSON representation
A simple and opinionated template aggregator for multiple languages built around copier. Mirrored from https://codeberg.org/SpeakinTelnet/Jack-of-All-Templates
- Host: GitHub
- URL: https://github.com/speakintelnet/jack-of-all-templates
- Owner: SpeakinTelnet
- License: mit
- Created: 2023-10-24T23:41:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T21:23:27.000Z (almost 2 years ago)
- Last Synced: 2025-05-29T09:03:33.788Z (4 months ago)
- Topics: copier, copier-template, julialang, python, rust, solidity, template
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
Jack-of-All-Templates
======================| |mit-shield| |python-shield| |ruff-shield| |black-shield| |isort-shield|
.. |mit-shield| image:: https://badgen.net/static/license/MIT/blue
:target: https://codeberg.org/SpeakinTelnet/Jack-of-All-Templates/src/branch/main/LICENSE
:alt: MIT
.. |python-shield| image:: https://badgen.net/badge/Made%20with/%20Python/blue
:target: https://www.python.org/.. |ruff-shield| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff.. |black-shield| image:: https://badgen.net/badge/Code%20Style/%20Black/black
:target: https://github.com/psf/black.. |isort-shield| image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
:target: https://pycqa.github.io/isort/A simple and opinionated template aggregator for multiple languages.
Why
---As someone who takes more time thinking about new projects and how to structure them than
actually coding, the opportunity to create a multi language template while testing both
`Copier `_ and
`Hatch `_ was hard to pass.Usage
-----Prerequisite
************You will need ``Copier`` to use this template, it is recommended to install it using `pipx `_.
.. code-block:: console
pipx install copierBasic Usage
***********Start by generating a blank project
.. code-block:: console
copier copy https://codeberg.org/SpeakinTelnet/Jack-of-All-Templates.git /path/to/project
or
.. code-block:: console
copier copy gh:SpeakinTelnet/Jack-of-All-Templates /path/to/project
then you can change directory to your ``/path/to/project`` and initiate your project as
you'd normally do.. code-block:: console
cd /path/to/project
git init
git add .
git commit -m "Initial commit"Testing
-------since this project is built around Hatch you will first need it
.. code-block:: console
pipx install hatch
Then you can run tests using:
.. code-block:: console
hatch run test:test
hatch run lint:styleAnd for a quick lint using ``ruff``:
.. code-block:: console
hatch run lint:fmt
License
-------This project is licensed under the `MIT License `_
⊂(▀¯▀⊂) `Donate `_