diff --git a/.idea/bootstrap-python-package.iml b/.idea/cloudevents-pydantic.iml
similarity index 80%
rename from .idea/bootstrap-python-package.iml
rename to .idea/cloudevents-pydantic.iml
index 53b24a8..f59ce0c 100644
--- a/.idea/bootstrap-python-package.iml
+++ b/.idea/cloudevents-pydantic.iml
@@ -5,7 +5,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 692a896..901bd21 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -4,5 +4,5 @@
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 98a30ab..86148d9 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,7 +2,7 @@
-
+
-
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/Pytest.xml b/.idea/runConfigurations/Pytest.xml
index 0d693bc..43b3686 100644
--- a/.idea/runConfigurations/Pytest.xml
+++ b/.idea/runConfigurations/Pytest.xml
@@ -1,6 +1,6 @@
-
+
@@ -17,4 +17,4 @@
-
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/Tox.xml b/.idea/runConfigurations/Tox.xml
index 1514281..97eeed5 100644
--- a/.idea/runConfigurations/Tox.xml
+++ b/.idea/runConfigurations/Tox.xml
@@ -1,13 +1,12 @@
-
+
-
-
+
-
+
diff --git a/README.md b/README.md
index 966f4f1..d5a8c72 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# bootstrap-python-package
+# cloudevents-pydantic
![Static Badge](https://img.shields.io/badge/Python-3.8_%7C_3.9_%7C_3.10_%7C_3.11_%7C_3.12-blue?logo=python&logoColor=white)
-[![Stable Version](https://img.shields.io/pypi/v/bootstrap-python-package?color=blue)](https://pypi.org/project/bootstrap-python-package/)
+[![Stable Version](https://img.shields.io/pypi/v/cloudevents-pydantic?color=blue)](https://pypi.org/project/cloudevents-pydantic/)
[![stability-beta](https://img.shields.io/badge/stability-beta-33bbff.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta)
-[![Python tests](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml)
-[![Maintainability](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/maintainability)](https://codeclimate.com/github/febus982/bootstrap-python-package/maintainability)
-[![Test Coverage](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/test_coverage)](https://codeclimate.com/github/febus982/bootstrap-python-package/test_coverage)
+[![Python tests](https://github.com/febus982/cloudevents-pydantic/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/cloudevents-pydantic/actions/workflows/python-tests.yml)
+[![Maintainability](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/maintainability)](https://codeclimate.com/github/febus982/cloudevents-pydantic/maintainability)
+[![Test Coverage](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/test_coverage)](https://codeclimate.com/github/febus982/cloudevents-pydantic/test_coverage)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
@@ -28,13 +28,10 @@ It is configured with all the following features:
## How to use this repository template to create a new package
-* Create your github repository using this template. (The big green `Use this template` button)
-* Rename the `bootstrap_python_package` directory
-* Search and replace all the occurrences of `bootstrap-python-package` and `bootstrap_python_package`
* Configure a pending trusted publisher on [pypi](https://pypi.org/manage/account/publishing) using the following values:
- * PyPI Project Name: The github repository name (in this case `bootstrap-python-package`)
+ * PyPI Project Name: The github repository name (in this case `cloudevents-pydantic`)
* Owner: The github repository owner (in this case `febus982`)
- * Repository name: The github repository name (in this case `bootstrap-python-package`)
+ * Repository name: The github repository name (in this case `cloudevents-pydantic`)
* Workflow name: `release.yml`
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions`)
containing the codeclimate reporter id (you can find it at `https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter`).
diff --git a/bootstrap_python_package/__init__.py b/cloudevents_pydantic/__init__.py
similarity index 100%
rename from bootstrap_python_package/__init__.py
rename to cloudevents_pydantic/__init__.py
diff --git a/bootstrap_python_package/py.typed b/cloudevents_pydantic/py.typed
similarity index 100%
rename from bootstrap_python_package/py.typed
rename to cloudevents_pydantic/py.typed
diff --git a/docs/index.md b/docs/index.md
index 966f4f1..e43b7cc 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,11 +1,11 @@
-# bootstrap-python-package
+# cloudevents-pydantic
![Static Badge](https://img.shields.io/badge/Python-3.8_%7C_3.9_%7C_3.10_%7C_3.11_%7C_3.12-blue?logo=python&logoColor=white)
-[![Stable Version](https://img.shields.io/pypi/v/bootstrap-python-package?color=blue)](https://pypi.org/project/bootstrap-python-package/)
+[![Stable Version](https://img.shields.io/pypi/v/cloudevents-pydantic?color=blue)](https://pypi.org/project/cloudevents-pydantic/)
[![stability-beta](https://img.shields.io/badge/stability-beta-33bbff.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta)
-[![Python tests](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml)
-[![Maintainability](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/maintainability)](https://codeclimate.com/github/febus982/bootstrap-python-package/maintainability)
-[![Test Coverage](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/test_coverage)](https://codeclimate.com/github/febus982/bootstrap-python-package/test_coverage)
+[![Python tests](https://github.com/febus982/cloudevents-pydantic/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/cloudevents-pydantic/actions/workflows/python-tests.yml)
+[![Maintainability](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/maintainability)](https://codeclimate.com/github/febus982/cloudevents-pydantic/maintainability)
+[![Test Coverage](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/test_coverage)](https://codeclimate.com/github/febus982/cloudevents-pydantic/test_coverage)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
@@ -29,12 +29,12 @@ It is configured with all the following features:
## How to use this repository template to create a new package
* Create your github repository using this template. (The big green `Use this template` button)
-* Rename the `bootstrap_python_package` directory
-* Search and replace all the occurrences of `bootstrap-python-package` and `bootstrap_python_package`
+* Rename the `cloudevents_pydantic` directory
+* Search and replace all the occurrences of `cloudevents-pydantic` and `cloudevents_pydantic`
* Configure a pending trusted publisher on [pypi](https://pypi.org/manage/account/publishing) using the following values:
- * PyPI Project Name: The github repository name (in this case `bootstrap-python-package`)
+ * PyPI Project Name: The github repository name (in this case `cloudevents-pydantic`)
* Owner: The github repository owner (in this case `febus982`)
- * Repository name: The github repository name (in this case `bootstrap-python-package`)
+ * Repository name: The github repository name (in this case `cloudevents-pydantic`)
* Workflow name: `release.yml`
* Create a GitHub Actions secret named `CODECLIMATE_REPORTER_ID` (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/secrets/actions`)
containing the codeclimate reporter id (you can find it at `https://codeclimate.com/repos/YOUR_REPO_ID/settings/test_reporter`).
diff --git a/mkdocs.yml b/mkdocs.yml
index 3a70407..df69998 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -4,8 +4,8 @@ site_name: Bootstrap python package
site_description: 'A manager to easily handle multiple SQLAlchemy configurations'
site_author: 'Federico Busetti'
docs_dir: docs/
-repo_name: 'febus982/bootstrap-python-package'
-repo_url: 'https://github.com/febus982/bootstrap-python-package'
+repo_name: 'febus982/cloudevents-pydantic'
+repo_url: 'https://github.com/febus982/cloudevents-pydantic'
plugins:
- search
diff --git a/pyproject.toml b/pyproject.toml
index f0b9cd0..dac4120 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,13 +1,13 @@
[tool.poetry]
-name = "bootstrap-python-package"
+name = "cloudevents-pydantic"
version = "0.0.0"
description = "A manager to easily handle multiple SQLAlchemy configurations"
license = "MIT"
authors = ["Federico Busetti <729029+febus982@users.noreply.github.com>"]
-repository = "https://github.com/febus982/bootstrap-python-package"
-homepage = "https://febus982.github.io/bootstrap-python-package"
+repository = "https://github.com/febus982/cloudevents-pydantic"
+homepage = "https://febus982.github.io/cloudevents-pydantic"
readme = "README.md"
-packages = [{include = "bootstrap_python_package"}]
+packages = [{include = "cloudevents_pydantic"}]
#keywords = ["add", "keywords", "here"]
classifiers = [
"Development Status :: 4 - Beta",
@@ -69,7 +69,7 @@ tox = ">=4.12.1"
[tool.coverage.run]
branch = true
-source = ["bootstrap_python_package"]
+source = ["cloudevents_pydantic"]
# It's not necessary to configure concurrency here
# because pytest-cov takes care of that
@@ -82,7 +82,7 @@ exclude_also = [
]
[tool.mypy]
-files = "bootstrap_python_package"
+files = "cloudevents_pydantic"
python_version = "3.8"
[tool.pytest.ini_options]
diff --git a/scripts/gen_pages.py b/scripts/gen_pages.py
index 4ee3091..be68f32 100644
--- a/scripts/gen_pages.py
+++ b/scripts/gen_pages.py
@@ -41,7 +41,7 @@
# Configuration #
# -----------------------------------------------------#
# Package source code relative path
-src_dir = "bootstrap_python_package"
+src_dir = "cloudevents_pydantic"
# Generated pages will be grouped in this nav folder
nav_pages_path = "API-Reference"
diff --git a/tests/test_bootstrap.py b/tests/test_bootstrap.py
index cadb891..cc34bbb 100644
--- a/tests/test_bootstrap.py
+++ b/tests/test_bootstrap.py
@@ -21,7 +21,7 @@
# DEALINGS IN THE SOFTWARE. =
# ==============================================================================
-from bootstrap_python_package import some_function
+from cloudevents_pydantic import some_function
async def test_some_variable_to_test():