Skip to content

Conversation

@jeffkala
Copy link
Collaborator

@jeffkala jeffkala commented Oct 22, 2025

Template:

{
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "dir": "python",
    "ref": "main",
    "path": null
}

Cookie:

{
    "remote": "https://github.com/networktocode/netutils.git",
    "path": "/Users/jeffkala/Documents/GitHub/outputs/netutils",
    "repository_path": "/Users/jeffkala/Documents/GitHub/outputs/netutils",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @qduk",
        "full_name": "Network to Code, LLC",
        "email": "info@networktocode.com",
        "github_org": "networktocode",
        "description": "Common helper functions useful in network automation.",
        "project_name": "netutils",
        "project_slug": "netutils",
        "repo_url": "https://github.com/networktocode/netutils",
        "base_url": "netutils",
        "project_python_name": "netutils",
        "project_python_base_version": "3.9",
        "project_with_config_settings": "no",
        "generate_docs": "yes",
        "version": "1.15.1",
        "_template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
        "_checkout": "main"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [],
    "baked_commit_ref": "",
    "draft": false
}

CLI Arguments:

{
    "cookie_dir": "",
    "input": true,
    "json_filename": "",
    "output_dir": "../outputs",
    "push": true,
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "template_dir": "python",
    "template_ref": "main",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null
}

Template:

```
{
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "dir": "python",
    "ref": "main",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/networktocode/netutils.git",
    "path": "/Users/jeffkala/Documents/GitHub/outputs/netutils",
    "repository_path": "/Users/jeffkala/Documents/GitHub/outputs/netutils",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @qduk",
        "full_name": "Network to Code, LLC",
        "email": "info@networktocode.com",
        "github_org": "networktocode",
        "description": "Common helper functions useful in network automation.",
        "project_name": "netutils",
        "project_slug": "netutils",
        "repo_url": "https://github.com/networktocode/netutils",
        "base_url": "netutils",
        "project_python_name": "netutils",
        "project_python_base_version": "3.8",
        "project_with_config_settings": "no",
        "generate_docs": "yes",
        "version": "1.15.1",
        "_template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
        "_output_dir": "/Users/jeffkala/Documents/GitHub/outputs",
        "_repo_dir": "/Users/jeffkala/.cookiecutters/cookiecutter-ntc/python",
        "_checkout": "main"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [],
    "baked_commit_ref": "",
    "draft": false
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": true,
    "json_filename": "",
    "output_dir": "../outputs",
    "push": true,
    "template": "https://github.com/networktocode-llc/cookiecutter-ntc.git",
    "template_dir": "python",
    "template_ref": "main",
    "pull_request": null,
    "post_action": [],
    "disable_post_actions": false,
    "draft": null
}
```
@jeffkala
Copy link
Collaborator Author

jeffkala commented Nov 4, 2025

think this is ready for an initial review. @itdependsnetworks @qduk, scrutizne whatever as this is the manual (first) rebake based on python cookie

Apache Software License 2.0

Copyright (c) 2021, Network to Code, LLC
Copyright (c) 2025, Network to Code, LLC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright (c) 2025, Network to Code, LLC
Copyright (c) 2021-2025, Network to Code, LLC

Pull requests are welcomed and automatically built and tested against multiple versions of Python through GitHub Actions.

Except for unit tests, testing is only supported on Python 3.13.
Except for unit tests, testing is only supported on Python 3.9.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Except for unit tests, testing is only supported on Python 3.9.
Except for unit tests, testing is only supported on Python 3.13.


[tool.poetry.dependencies]
python = "^3.8"
python = ">=3.9,<3.14"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should match the above section with "Programming Language :: Python :: 3"

coverage = "*"
invoke = "*"
pylint = "^3.1.0"
requests_mock = "*"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed? I can be convinced no harm no foul, but ensuring it is intentional.

@itdependsnetworks
Copy link
Contributor

Great stuff!!

only real thing for me is determining python versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants