instant-python 0.3.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/release.yml +4 -3
- {instant_python-0.3.0 → instant_python-0.4.0}/CHANGELOG.md +6 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/PKG-INFO +2 -2
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/installation.md +1 -1
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/custom-templates.md +46 -29
- instant_python-0.4.0/instant_python/templates/boilerplate/README.md +5 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/main_structure.yml.j2 +1 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/main_structure.yml.j2 +1 -0
- instant_python-0.4.0/instant_python/templates/project_structure/readme.yml.j2 +3 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/main_structure.yml.j2 +1 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/mkdocs.yml +1 -1
- {instant_python-0.3.0 → instant_python-0.4.0}/pyproject.toml +2 -2
- {instant_python-0.3.0 → instant_python-0.4.0}/uv.lock +1 -1
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/FUNDING.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/actions/python_setup/action.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/pages.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.github/workflows/publish.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.gitignore +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/.python-version +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/LICENSE +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/README.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/cz.yaml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/assets/favicon.svg +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/assets/logo.svg +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/contributing.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/features_overview.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/first-steps.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/getting-started/index.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/creating-a-project.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/features.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/folder-structure.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/index.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/guide/when-to-use-commands.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/docs/welcome.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/cli.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/folder_cli.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager_factory.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/git_configurer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/installer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/managers.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/pdm_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/uv_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_cli.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/boilerplate_file.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/custom_template_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/directory.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/file.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/folder_tree.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_custom_filters.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_environment.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_template_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/node.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/project_generator.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/template_manager.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/boolean_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/choice_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/conditional_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/dependencies_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/free_text_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/multiple_choice_question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/question.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question_wizard.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/requirements_configuration.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/dependencies_step.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/general_custom_template_project_step.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/general_project_step.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/git_step.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/steps.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/template_step.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/template_types.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.gitignore +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.pre-commit-config.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.python-version +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/LICENSE +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/aggregate_root.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_deserializer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_json_serializer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/domain_event_subscriber.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/event_bus.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/exchange_type.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/mock_event_bus.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_configurer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_connection.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_consumer.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_event_bus.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_queue_formatter.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/event_bus/rabbit_mq_settings.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/domain_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/domain_event_type_not_found_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/incorrect_value_type_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/invalid_id_format_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/invalid_negative_value_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/rabbit_mq_connection_not_established_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/exceptions/required_value_error.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/application.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/http_response.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/lifespan.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/fastapi/status_code.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/github/action.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/github/test_lint.yml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/json_formatter.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/logger.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/mypy.ini +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/alembic_migrator.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/README.md +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/alembic.ini +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/async_engine_fixture.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/env.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/models_metadata.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/postgres_settings.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/script.py.mako +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/async/sqlalchemy_repository.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/base.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/session_maker.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/persistence/synchronous/sqlalchemy_repository.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pyproject.toml +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pytest.ini +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/random_generator.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/add_dependency.sh +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/create_aggregate.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/insert_template.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/integration.sh +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/local_setup.sh +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/makefile +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/post-merge +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/pre-commit +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/pre-push +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/remove_dependency.sh +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/unit.sh +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/__init__.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/int_value_object.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/string_value_object.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/uuid.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/value_object/value_object.py +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/alembic_migrator.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/async_alembic.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/async_sqlalchemy.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/source.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/clean_architecture/test.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/bounded_context.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/source.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/domain_driven_design/test.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/event_bus_domain.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/event_bus_infra.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/fastapi_app.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/fastapi_infra.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/github_action.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/gitignore.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/license.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/logger.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/macros.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/makefile.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/mypy.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pre_commit.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pyproject.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/pytest.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/python_version.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/source.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/standard_project/test.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/synchronous_sqlalchemy.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/value_objects.yml.j2 +0 -0
- {instant_python-0.3.0 → instant_python-0.4.0}/tox.ini +0 -0
|
@@ -17,6 +17,7 @@ jobs:
|
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
19
19
|
- name: Bump version and update changelog
|
|
20
|
+
id: bump
|
|
20
21
|
uses: commitizen-tools/commitizen-action@master
|
|
21
22
|
with:
|
|
22
23
|
github_token: ${{ secrets.CHANGELOG_TOKEN }}
|
|
@@ -34,19 +35,19 @@ jobs:
|
|
|
34
35
|
- name: Get release tag
|
|
35
36
|
id: release_tag
|
|
36
37
|
run: |
|
|
37
|
-
if [ -z "${{ needs.
|
|
38
|
+
if [ -z "${{ needs.bump-version.outputs.tag }}" ]; then
|
|
38
39
|
echo "No tag provided from bump version job. Running fallback command..."
|
|
39
40
|
git fetch --tags
|
|
40
41
|
echo "release_tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
|
|
41
42
|
else
|
|
42
43
|
echo "Using tag provided from bump version job."
|
|
43
|
-
echo "release_tag=${{ needs.
|
|
44
|
+
echo "release_tag=${{ needs.bump-version.outputs.tag }}" >> $GITHUB_OUTPUT
|
|
44
45
|
fi
|
|
45
46
|
|
|
46
47
|
- name: Extract Changelog for Release
|
|
47
48
|
id: extract_changelog
|
|
48
49
|
run: |
|
|
49
|
-
release="${{ steps.
|
|
50
|
+
release="${{ steps.release_tag.outputs.release_tag }}"
|
|
50
51
|
echo "Extracting changelog for tag: ${release}"
|
|
51
52
|
|
|
52
53
|
awk -v tag="$release" '
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: instant-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Instant boilerplate generation for Python projects
|
|
5
|
-
Project-URL: documentation, https://dimanu-py.github.io/instant-python/
|
|
5
|
+
Project-URL: documentation, https://dimanu-py.github.io/instant-python/welcome/
|
|
6
6
|
Project-URL: repository, https://github.com/dimanu-py/instant-python/
|
|
7
7
|
Author-email: dimanu-py <diegomtz126@gmail.com>
|
|
8
8
|
License: Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Installation
|
|
2
2
|
|
|
3
3
|
!!! important
|
|
4
|
-
For the moment, `instant-python` is only supported in Unix-like systems. Windows support is coming soon.
|
|
4
|
+
For the moment, `instant-python` is only supported in Unix-like systems. Windows support is coming soon.
|
|
5
5
|
|
|
6
6
|
To ensure a clean and isolated environment, we recommend installing `instant-python` using a virtual environment. At your
|
|
7
7
|
own risk, you can install it at you system Python installation, but this is not recommended.
|
|
@@ -21,43 +21,60 @@ offers a Domain Driven Design, Clean Architecture and Standard templates.
|
|
|
21
21
|
|
|
22
22
|
## Examples
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Let's imagine that you want to create a new project using a custom template with Hexagonal Architecture.
|
|
24
|
+
Let's imagine that you want to create a new project using a custom template with Cockburn-style Hexagonal Architecture,
|
|
25
|
+
including a gitignore, README and mypy configuration files.
|
|
27
26
|
You can create a yaml file with the following content:
|
|
28
27
|
|
|
29
28
|
```yaml
|
|
30
29
|
root:
|
|
31
30
|
- name: src
|
|
32
31
|
type: directory
|
|
33
|
-
python:
|
|
34
|
-
children:
|
|
35
|
-
- name: domain
|
|
36
|
-
type: directory
|
|
37
|
-
python: true
|
|
38
|
-
- name: application
|
|
39
|
-
type: directory
|
|
40
|
-
python: true
|
|
41
|
-
- name: ports
|
|
42
|
-
type: directory
|
|
43
|
-
python: true
|
|
44
|
-
- name: adapters
|
|
45
|
-
type: directory
|
|
46
|
-
python: true
|
|
47
|
-
- name: test
|
|
48
|
-
type: directory
|
|
49
|
-
python: true
|
|
32
|
+
python: True
|
|
50
33
|
children:
|
|
51
|
-
- name:
|
|
52
|
-
type: directory
|
|
53
|
-
python: true
|
|
54
|
-
- name: application
|
|
34
|
+
- name: driven_adapters
|
|
55
35
|
type: directory
|
|
56
|
-
python:
|
|
57
|
-
|
|
36
|
+
python: True
|
|
37
|
+
children:
|
|
38
|
+
- name: adapter_for_paying_spy
|
|
39
|
+
type: file
|
|
40
|
+
extension: .py
|
|
41
|
+
- name: adapter_for_obtaining_grates_stup
|
|
42
|
+
type: file
|
|
43
|
+
extension: .py
|
|
44
|
+
- name: driving_adapters
|
|
58
45
|
type: directory
|
|
59
|
-
python:
|
|
60
|
-
|
|
46
|
+
python: True
|
|
47
|
+
children:
|
|
48
|
+
- name: adapter_for_checking_cars_test
|
|
49
|
+
type: file
|
|
50
|
+
extension: .py
|
|
51
|
+
- name: tax_calculator_app
|
|
61
52
|
type: directory
|
|
62
|
-
python:
|
|
53
|
+
python: True
|
|
54
|
+
children:
|
|
55
|
+
- name: driven_ports
|
|
56
|
+
type: directory
|
|
57
|
+
python: True
|
|
58
|
+
children:
|
|
59
|
+
- name: for_paying
|
|
60
|
+
type: file
|
|
61
|
+
extension: .py
|
|
62
|
+
- name: driving_ports
|
|
63
|
+
type: directory
|
|
64
|
+
python: True
|
|
65
|
+
children:
|
|
66
|
+
- name: for_checking_cars
|
|
67
|
+
type: file
|
|
68
|
+
extension: .py
|
|
69
|
+
- name: tax_calculator
|
|
70
|
+
type: directory
|
|
71
|
+
python: True
|
|
72
|
+
- name: .gitignore
|
|
73
|
+
type: file
|
|
74
|
+
- name: README
|
|
75
|
+
type: file
|
|
76
|
+
extension: .md
|
|
77
|
+
- name: mypy
|
|
78
|
+
type: file
|
|
79
|
+
extension: .ini
|
|
63
80
|
```
|
|
@@ -11,6 +11,7 @@ root:
|
|
|
11
11
|
{{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
|
|
12
12
|
{% if git %}
|
|
13
13
|
{{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
|
|
14
|
+
{{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
|
|
14
15
|
{% endif %}
|
|
15
16
|
{{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
|
|
16
17
|
{% if "pytest" in dependencies %}
|
|
@@ -11,6 +11,7 @@ root:
|
|
|
11
11
|
{{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
|
|
12
12
|
{% if git %}
|
|
13
13
|
{{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
|
|
14
|
+
{{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
|
|
14
15
|
{% endif %}
|
|
15
16
|
{{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
|
|
16
17
|
{% if "pytest" in dependencies %}
|
|
@@ -11,6 +11,7 @@ root:
|
|
|
11
11
|
{{ macros.include_and_indent("project_structure/pyproject.yml.j2", 2) }}
|
|
12
12
|
{% if git %}
|
|
13
13
|
{{ macros.include_and_indent("project_structure/gitignore.yml.j2", 2) }}
|
|
14
|
+
{{ macros.include_and_indent("project_structure/readme.yml.j2", 2) }}
|
|
14
15
|
{% endif %}
|
|
15
16
|
{{ macros.include_and_indent("project_structure/python_version.yml.j2", 2) }}
|
|
16
17
|
{% if "pytest" in dependencies %}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
site_name: Instant Python Generator
|
|
2
|
-
site_url: https://dimanu-py.github.io/instant-python/
|
|
2
|
+
site_url: https://dimanu-py.github.io/instant-python/welcome
|
|
3
3
|
site_description: >
|
|
4
4
|
Get you Python project autogenerated, with the Python version you want,
|
|
5
5
|
dependency manager, create automatically a git repository and even select
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "instant-python"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0"
|
|
8
8
|
description = "Instant boilerplate generation for Python projects"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -28,7 +28,7 @@ include = [
|
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[project.urls]
|
|
31
|
-
documentation = "https://dimanu-py.github.io/instant-python/"
|
|
31
|
+
documentation = "https://dimanu-py.github.io/instant-python/welcome/"
|
|
32
32
|
repository = "https://github.com/dimanu-py/instant-python/"
|
|
33
33
|
|
|
34
34
|
[project.scripts]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/installer/dependency_manager_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/boilerplate_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/folder_tree.py
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/jinja_environment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/project_generator.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/project_generator/template_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question/question.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/question_wizard.py
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/git_step.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/steps.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/step/template_step.py
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/question_prompter/template_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/.python-version
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/github/action.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/logger/logger.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pyproject.toml
RENAMED
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/pytest.ini
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/makefile
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/pre-push
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/boilerplate/scripts/unit.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/macros.j2
RENAMED
|
File without changes
|
|
File without changes
|
{instant_python-0.3.0 → instant_python-0.4.0}/instant_python/templates/project_structure/mypy.yml.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|