Skip to content

Commit 5d959f2

Browse files
authored
chore: Rename project to copier-template-extensions
Issue-13: #13 PR-15: #15
1 parent e5a2584 commit 5d959f2

File tree

42 files changed

+99
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+99
-99
lines changed

.copier-answers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ copyright_license: ISC
1111
insiders: false
1212
project_description: Special Jinja2 extension for Copier that allows to load extensions
1313
using file paths relative to the template root instead of Python dotted paths.
14-
project_name: Copier Templates Extensions
14+
project_name: Copier Template-Extensions
1515
python_package_command_line_name: ''
16-
python_package_distribution_name: copier-templates-extensions
17-
python_package_import_name: copier_templates_extensions
18-
repository_name: copier-templates-extensions
16+
python_package_distribution_name: copier-template-extensions
17+
python_package_import_name: copier_template_extensions
18+
repository_name: copier-template-extensions
1919
repository_namespace: copier-org
2020
repository_provider: github.com
2121

.github/ISSUE_TEMPLATE/1-bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ PASTE TRACEBACK HERE
5050
redacting sensitive information. -->
5151

5252
```bash
53-
python -m copier_templates_extensions._internal.debug # | xclip -selection clipboard
53+
python -m copier_template_extensions._internal.debug # | xclip -selection clipboard
5454
```
5555

5656
PASTE MARKDOWN OUTPUT HERE

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: I have a question / I need help
4-
url: https://github.com/copier-org/copier-templates-extensions/discussions/new?category=q-a
4+
url: https://github.com/copier-org/copier-template-extensions/discussions/new?category=q-a
55
about: Ask and answer questions in the Discussions tab.

CHANGELOG.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,63 +5,63 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
<!-- insertion marker -->
8-
## [0.3.1](https://github.com/pawamoy/copier-templates-extensions/releases/tag/0.3.1) - 2025-03-10
8+
## [0.3.1](https://github.com/pawamoy/copier-template-extensions/releases/tag/0.3.1) - 2025-03-10
99

10-
<small>[Compare with 0.3.0](https://github.com/pawamoy/copier-templates-extensions/compare/0.3.0...0.3.1)</small>
10+
<small>[Compare with 0.3.0](https://github.com/pawamoy/copier-template-extensions/compare/0.3.0...0.3.1)</small>
1111

1212
### Dependencies
1313

14-
- Depend on Copier 9.2+ ([43679a9](https://github.com/pawamoy/copier-templates-extensions/commit/43679a9719b2d05e041e674bde1f10dee21984a6) by Timothée Mazzucotelli).
14+
- Depend on Copier 9.2+ ([43679a9](https://github.com/pawamoy/copier-template-extensions/commit/43679a9719b2d05e041e674bde1f10dee21984a6) by Timothée Mazzucotelli).
1515

1616
### Bug Fixes
1717

18-
- Add loaded module to `sys.modules` to help libraries using data from annotation scopes ([a290f27](https://github.com/pawamoy/copier-templates-extensions/commit/a290f271e302db88bcc755d57c647e4f3a8043ff) by Axel H.). [PR-12](https://github.com/copier-org/copier-templates-extensions/pull/12)
18+
- Add loaded module to `sys.modules` to help libraries using data from annotation scopes ([a290f27](https://github.com/pawamoy/copier-template-extensions/commit/a290f271e302db88bcc755d57c647e4f3a8043ff) by Axel H.). [PR-12](https://github.com/copier-org/copier-template-extensions/pull/12)
1919

2020
### Code Refactoring
2121

22-
- Move modules into internal folder (and simplify API docs) ([a8c0377](https://github.com/pawamoy/copier-templates-extensions/commit/a8c03770298f51fa07667598fd7d0b72196aecad) by Timothée Mazzucotelli).
23-
- Pass globals to parent constructor ([ea4567b](https://github.com/pawamoy/copier-templates-extensions/commit/ea4567bcfad0f17764e17d6b7fd12a7fd7a33cba) by Timothée Mazzucotelli).
24-
- Deprecate the "update" aspect of context hooks ([876c055](https://github.com/pawamoy/copier-templates-extensions/commit/876c0554e34b630ab255111b69da74db16439dcb) by Timothée Mazzucotelli). [Issue-4](https://github.com/copier-org/copier-templates-extensions/issues/4)
22+
- Move modules into internal folder (and simplify API docs) ([a8c0377](https://github.com/pawamoy/copier-template-extensions/commit/a8c03770298f51fa07667598fd7d0b72196aecad) by Timothée Mazzucotelli).
23+
- Pass globals to parent constructor ([ea4567b](https://github.com/pawamoy/copier-template-extensions/commit/ea4567bcfad0f17764e17d6b7fd12a7fd7a33cba) by Timothée Mazzucotelli).
24+
- Deprecate the "update" aspect of context hooks ([876c055](https://github.com/pawamoy/copier-template-extensions/commit/876c0554e34b630ab255111b69da74db16439dcb) by Timothée Mazzucotelli). [Issue-4](https://github.com/copier-org/copier-template-extensions/issues/4)
2525

26-
## [0.3.0](https://github.com/copier-org/copier-templates-extensions/releases/tag/0.3.0) - 2022-09-12
26+
## [0.3.0](https://github.com/copier-org/copier-template-extensions/releases/tag/0.3.0) - 2022-09-12
2727

28-
<small>[Compare with 0.2.0](https://github.com/copier-org/copier-templates-extensions/compare/0.2.0...0.3.0)</small>
28+
<small>[Compare with 0.2.0](https://github.com/copier-org/copier-template-extensions/compare/0.2.0...0.3.0)</small>
2929

3030
### Build
31-
- Require Copier v6+ (Python >= 3.7) ([6380c90](https://github.com/copier-org/copier-templates-extensions/commit/6380c90a3e26c596790d9a083673dcf1dd613678) by Timothée Mazzucotelli).
31+
- Require Copier v6+ (Python >= 3.7) ([6380c90](https://github.com/copier-org/copier-template-extensions/commit/6380c90a3e26c596790d9a083673dcf1dd613678) by Timothée Mazzucotelli).
3232

3333

34-
## [0.2.0](https://github.com/copier-org/copier-templates-extensions/releases/tag/0.2.0) - 2021-12-27
34+
## [0.2.0](https://github.com/copier-org/copier-template-extensions/releases/tag/0.2.0) - 2021-12-27
3535

36-
<small>[Compare with 0.1.1](https://github.com/copier-org/copier-templates-extensions/compare/0.1.1...0.2.0)</small>
36+
<small>[Compare with 0.1.1](https://github.com/copier-org/copier-template-extensions/compare/0.1.1...0.2.0)</small>
3737

3838
### Build
39-
- Match Python cap to Copier's ([a04f938](https://github.com/copier-org/copier-templates-extensions/commit/a04f93813f9795b64cbd9d21209dd5e5127b3eb4) by Timothée Mazzucotelli).
39+
- Match Python cap to Copier's ([a04f938](https://github.com/copier-org/copier-template-extensions/commit/a04f93813f9795b64cbd9d21209dd5e5127b3eb4) by Timothée Mazzucotelli).
4040

4141
### Features
42-
- Support Jinja2 version 3.x ([55211df](https://github.com/copier-org/copier-templates-extensions/commit/55211df29c4118c2603cc18ea4a1bc4247e41176) by Timothée Mazzucotelli).
42+
- Support Jinja2 version 3.x ([55211df](https://github.com/copier-org/copier-template-extensions/commit/55211df29c4118c2603cc18ea4a1bc4247e41176) by Timothée Mazzucotelli).
4343

4444

45-
## [0.1.1](https://github.com/copier-org/copier-templates-extensions/releases/tag/0.1.1) - 2021-03-29
45+
## [0.1.1](https://github.com/copier-org/copier-template-extensions/releases/tag/0.1.1) - 2021-03-29
4646

47-
<small>[Compare with 0.1.0](https://github.com/copier-org/copier-templates-extensions/compare/0.1.0...0.1.1)</small>
47+
<small>[Compare with 0.1.0](https://github.com/copier-org/copier-template-extensions/compare/0.1.0...0.1.1)</small>
4848

4949
### Bug Fixes
50-
- Fix loader extension ([7d8b9e8](https://github.com/copier-org/copier-templates-extensions/commit/7d8b9e8cf2de66fafc9953ff5d4ba4e210470649) by Timothée Mazzucotelli).
50+
- Fix loader extension ([7d8b9e8](https://github.com/copier-org/copier-template-extensions/commit/7d8b9e8cf2de66fafc9953ff5d4ba4e210470649) by Timothée Mazzucotelli).
5151

5252
### Code Refactoring
53-
- Raise error from abstract hook ([52494f8](https://github.com/copier-org/copier-templates-extensions/commit/52494f8d02505027da0733a7beb9269fc2ba8c3e) by Timothée Mazzucotelli).
54-
- Raise Copier errors from loader extension ([c136feb](https://github.com/copier-org/copier-templates-extensions/commit/c136febaa4ed719f5a0919e2fa073862258e7143) by Timothée Mazzucotelli).
55-
- Rename context module, inherit from default context class ([855284a](https://github.com/copier-org/copier-templates-extensions/commit/855284ad2112feecd6b2a8dfc38dbbd397d29275) by Timothée Mazzucotelli).
53+
- Raise error from abstract hook ([52494f8](https://github.com/copier-org/copier-template-extensions/commit/52494f8d02505027da0733a7beb9269fc2ba8c3e) by Timothée Mazzucotelli).
54+
- Raise Copier errors from loader extension ([c136feb](https://github.com/copier-org/copier-template-extensions/commit/c136febaa4ed719f5a0919e2fa073862258e7143) by Timothée Mazzucotelli).
55+
- Rename context module, inherit from default context class ([855284a](https://github.com/copier-org/copier-template-extensions/commit/855284ad2112feecd6b2a8dfc38dbbd397d29275) by Timothée Mazzucotelli).
5656

5757

58-
## [0.1.0](https://github.com/copier-org/copier-templates-extensions/releases/tag/0.1.0) - 2021-03-29
58+
## [0.1.0](https://github.com/copier-org/copier-template-extensions/releases/tag/0.1.0) - 2021-03-29
5959

60-
<small>[Compare with first commit](https://github.com/copier-org/copier-templates-extensions/compare/e74578393a7cffe4e502640a6092e789d2cc6f29...0.1.0)</small>
60+
<small>[Compare with first commit](https://github.com/copier-org/copier-template-extensions/compare/e74578393a7cffe4e502640a6092e789d2cc6f29...0.1.0)</small>
6161

6262
### Code Refactoring
63-
- Reorganize code ([474b617](https://github.com/copier-org/copier-templates-extensions/commit/474b6173f3970c7713643b7cbc16f11f32a70e5c) by Timothée Mazzucotelli).
63+
- Reorganize code ([474b617](https://github.com/copier-org/copier-template-extensions/commit/474b6173f3970c7713643b7cbc16f11f32a70e5c) by Timothée Mazzucotelli).
6464

6565
### Features
66-
- Add context hook extension ([ce95212](https://github.com/copier-org/copier-templates-extensions/commit/ce952126afb282cfa1fbf18366a6f857426eeaa1) by Timothée Mazzucotelli).
67-
- Add initial contents ([e745783](https://github.com/copier-org/copier-templates-extensions/commit/e74578393a7cffe4e502640a6092e789d2cc6f29) by Timothée Mazzucotelli).
66+
- Add context hook extension ([ce95212](https://github.com/copier-org/copier-template-extensions/commit/ce952126afb282cfa1fbf18366a6f857426eeaa1) by Timothée Mazzucotelli).
67+
- Add initial contents ([e745783](https://github.com/copier-org/copier-template-extensions/commit/e74578393a7cffe4e502640a6092e789d2cc6f29) by Timothée Mazzucotelli).

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Nothing easier!
99
Fork and clone the repository, then:
1010

1111
```bash
12-
cd copier-templates-extensions
12+
cd copier-template-extensions
1313
make setup
1414
```
1515

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copier Templates Extensions
1+
# Copier Template-Extensions
22

3-
[![ci](https://github.com/copier-org/copier-templates-extensions/workflows/ci/badge.svg)](https://github.com/copier-org/copier-templates-extensions/actions?query=workflow%3Aci)
4-
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://copier-org.github.io/copier-templates-extensions/)
5-
[![pypi version](https://img.shields.io/pypi/v/copier-templates-extensions.svg)](https://pypi.org/project/copier-templates-extensions/)
3+
[![ci](https://github.com/copier-org/copier-template-extensions/workflows/ci/badge.svg)](https://github.com/copier-org/copier-template-extensions/actions?query=workflow%3Aci)
4+
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://copier-org.github.io/copier-template-extensions/)
5+
[![pypi version](https://img.shields.io/pypi/v/copier-template-extensions.svg)](https://pypi.org/project/copier-template-extensions/)
66

77
Special Jinja2 extension for Copier that allows to load extensions using file paths relative to the template root instead of Python dotted paths.
88

@@ -11,20 +11,20 @@ Special Jinja2 extension for Copier that allows to load extensions using file pa
1111
With pip:
1212

1313
```bash
14-
pip install copier-templates-extensions
14+
pip install copier-template-extensions
1515
```
1616

1717
With uv:
1818

1919
```bash
20-
uv tool install copier --with copier-templates-extensions
20+
uv tool install copier --with copier-template-extensions
2121
```
2222

2323
With pipx:
2424

2525
```bash
2626
pipx install copier
27-
pipx inject copier copier-templates-extensions
27+
pipx inject copier copier-template-extensions
2828
```
2929

3030
## Usage
@@ -37,7 +37,7 @@ and the class name after a colon:
3737

3838
```yaml
3939
_jinja_extensions:
40-
- copier_templates_extensions.TemplateExtensionLoader
40+
- copier_template_extensions.TemplateExtensionLoader
4141
- extensions/context.py:ContextUpdater
4242
- extensions/slugify.py:SlugifyExtension
4343
```
@@ -103,7 +103,7 @@ create a class that inherits from `ContextHook`,
103103
and override its `hook` method:
104104

105105
```python
106-
from copier_templates_extensions import ContextHook
106+
from copier_template_extensions import ContextHook
107107

108108

109109
class ContextUpdater(ContextHook):
@@ -175,7 +175,7 @@ As you can see, both forms are really ugly to write:
175175
**Using our context hook instead makes it so easy and clean!**
176176

177177
```python
178-
from copier_templates_extensions import ContextHook
178+
from copier_template_extensions import ContextHook
179179

180180

181181
class ContextUpdater(ContextHook):

config/ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ docstring-quotes = "double"
7878
ban-relative-imports = "all"
7979

8080
[lint.isort]
81-
known-first-party = ["copier_templates_extensions"]
81+
known-first-party = ["copier_template_extensions"]
8282

8383
[lint.pydocstyle]
8484
convention = "google"

config/vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "run",
1515
"type": "debugpy",
1616
"request": "launch",
17-
"module": "copier_templates_extensions",
17+
"module": "copier_template_extensions",
1818
"console": "integratedTerminal",
1919
"justMyCode": false,
2020
"args": "${command:pickArgs}"

docs/.overrides/partials/comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div id="feedback" style="display: none;">
44
<h2 id="__comments">Feedback</h2>
55
<script src="https://giscus.app/client.js"
6-
data-repo="copier-org/copier-templates-extensions"
6+
data-repo="copier-org/copier-template-extensions"
77
data-repo-id="MDEwOlJlcG9zaXRvcnkzNTExNzg3NzA="
88
data-category="Documentation"
99
data-category-id="DIC_kwDOFO6QEs4CnyW2"

docs/reference/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ hide:
44
- navigation
55
---
66

7-
# ::: copier_templates_extensions
7+
# ::: copier_template_extensions

0 commit comments

Comments
 (0)