Package: wiptools
Python package wiptoolsPython project skeleton set up and management.Quick startInstallation>pipinstall[--user]wiptoolsCreate a skeleton for a new projectfoowip init foo, will ask you to supply a brief project description, a minimal Python
version and a documentation format.wip initwill also ask you a few other items
the first time. If you did not choose a documentation format, you can add one later
withwip docs --md, e.g.path/to/workspace>wipinitfoo

Projectinfoneeded:
Enterashortdescriptionfortheproject:[<project_short_description>]:afoo-lishproject
EntertheminimalPythonversion[3.8]:3.9[[Expandingcookiecuttertemplate`/Users/etijskens/software/dev/workspace/wiptools/wiptools/cookiecutters/project`...]](doneExpandingcookiecuttertemplate`/Users/etijskens/software/dev/workspace/wiptools/wiptools/cookiecutters/project`)Adddocumentationtemplates?press[enter]forno,[m]formarkdownformat,[r]forrestructuredTextformat[]:m[[Expandingcookiecuttertemplate`/Users/etijskens/software/dev/workspace/wiptools/wiptools/cookiecutters/project-doc-md`...]](doneExpandingcookiecuttertemplate`/Users/etijskens/software/dev/workspace/wiptools/wiptools/cookiecutters/project-doc-md`)[[Addingdocumentationforcomponents...]](doneAddingdocumentationforcomponents)[[Creatingalocalgitrepo...[[Running`gitinit--initial-branch=main`indirectory/Users/etijskens/software/dev/ws-wip/foo...
InitializedemptyGitrepositoryin/Users/etijskens/software/dev/ws-wip/foo/.git/]](doneRunning`gitinit--initial-branch=main`indirectory/Users/etijskens/software/dev/ws-wip/foo)[[Running`gitadd*`indirectory/Users/etijskens/software/dev/ws-wip/foo...]](doneRunning`gitadd*`indirectory/Users/etijskens/software/dev/ws-wip/foo)[[Running`gitadd.gitignore`indirectory/Users/etijskens/software/dev/ws-wip/foo...]](doneRunning`gitadd.gitignore`indirectory/Users/etijskens/software/dev/ws-wip/foo)[[Running`gitcommit-m"Initial commit from wip init foo"`indirectory/Users/etijskens/software/dev/ws-wip/foo...[main(root-commit)fca0133]Initialcommitfromwipinitfoo11fileschanged,281insertions(+)createmode100644.gitignore
...]](doneRunning`gitcommit-m"Initial commit from wip init foo"`indirectory/Users/etijskens/software/dev/ws-wip/foo)]](doneCreatingalocalgitrepo)[[CreatingaremoteGitHubrepo...[[Running`ghauthlogin--with-tokenkwargs={'stdin':<_io.TextIOWrappername='/Users/etijskens/.wiptools/etijskens.pat'mode='r'encoding='UTF-8'>,'text':True}`indirectory/Users/etijskens/software/dev/ws-wip/foo...]](doneRunning`ghauthlogin--with-tokenkwargs={'stdin':<_io.TextIOWrappername='/Users/etijskens/.wiptools/etijskens.pat'mode='r'encoding='UTF-8'>,'text':True}`indirectory/Users/etijskens/software/dev/ws-wip/foo)[[Running`ghrepocreate--source.--public--push`indirectory/Users/etijskens/software/dev/ws-wip/foo...
✓Createdrepositoryetijskens/fooonGitHub
✓Addedremotehttps://github.com/etijskens/foo.git
Enumeratingobjects:17,done.
Countingobjects:100%(17/17),done.
Deltacompressionusingupto8threads
Compressingobjects:100%(12/12),done.
Writingobjects:100%(17/17),3.57KiB|1.19MiB/s,done.
Total17(delta0),reused0(delta0),pack-reused0Tohttps://github.com/etijskens/foo.git*[newbranch]HEAD->main
branch'main'setuptotrack'origin/main'.
✓Pushedcommitstohttps://github.com/etijskens/foo.git]](doneRunning`ghrepocreate--source.--public--push`indirectory/Users/etijskens/software/dev/ws-wip/foo)]](doneCreatingaremoteGitHubrepo)path/to/workspace/fooListing project infoCd into th project (cd foo) and usewip info:path/to/foo>wipinfo
Project:foo
Version:0.0.0
Package:foo
GitHubrepo:"https://github.com/<your github username>/foo"Homepage:"https://<your github username>.github.io/foo"Location:/Users/etijskens/software/dev/ws-wip/foo

StructureofPythonpackagefoofoo[Pythonmodule]└──__init__.pyAdd componentsYou can add Python submodules (--py), C++ binary extension modules (--cpp) or
Modern Fortran binary extension modules (--f90), as well as CLIs with a single
command (--cli) or with subcommands(--clisub):path/to/foo>wipaddfoo_py--py
path/to/foo>wipaddfoo_cpp--cpp
path/to/foo>wipaddfoo_f90--f90
path/to/foo>wipaddfoo_cli--cli
path/to/foo>wipaddfoo_clisub--clisub
path/to/foo>wipinfo
Project:foofoo
Version:0.0.0
Package:foofoo
GitHubrepo:https://github.com/<yourgithubusername>/foo
Homepage:https://<yourgithubusername>.github.io/foo
Location:/Users/etijskens/software/dev/workspace/wiptools/.test-workspace/foofoo

StructureofPythonpackagefoofoofoofoo[Pythonmodule]├──__init__.py├──foo_cli[CLI]│└──__main__.py├──foo_clisub[CLI]│└──__main__.py├──foo_cpp[C++binaryextensionmodule]│├──foo_cpp.cpp│└──foo_cpp.md├──foo_f90[ModernFortranbinaryextensionmodule]│├──foo_f90.f90│└──foo_f90.md└──foo_py[Pythonmodule]└──__init__.pyTo build the binary extension modulesLinksWiptools GitHub repositoryWiptools homepage