Skip to main content

A template package from iPP eng. GmbH

Project description

Python Project Template

A Python Template to start quickly a new project. Generate doxygen for html and latex (PDF) with single
command in the project directory with the CLI. As well an program (.exe) for Windows can be generated with
a single instruction.

Note: Section Links not working with Pycharm markdown preview.

Getting started

Make sure you have installed python on your machine. If working with vscode, see at the tasks first (ctrl+shit+P -> task). There are some automation scripts in .vscode/scripts to execute several commands. This project and the scripts are optimized for using in a virtual environment (venv). Just run task Run (main.py) and the rest will be done automatically for you (consider notification or desired actions in terminal output).

Use the appropriate task to execute commands in virtual environment, such as pip list or pip install <PACKAGE_NAME>

Project setup (This section is just for template documentation, delete on release)

  1. Setup the PROJECT_NAME in docs/doxyfile

Deploy Project

If the application want to execute from everywhere, you have to generate an executable (.exe) with py2exe.

py2exe

Use py2exe to generate the executable file.
First install py2exe, then run python generate_bin.py from root folder.
This script contains following three steps:

  1. navigate to project's directory with CLI
  2. run python setup.py py2exe -d ./bin

Note: Using py2exe every "folder" (here programs) must be a package. Otherwise py2exe don't include these modules for executable file.


Generate documentation

Run doxygen in docs-folder because relative paths in doxygen-config-file are relative to the directory from which doxygen is run.
Navigate to ./docs and run just doxygen doxyfile

Edit ./docs/doxyfile and change PROJECT_NAME to the desired name.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipptemplate-0.1.22.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipptemplate-0.1.22-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ipptemplate-0.1.22.tar.gz.

File metadata

  • Download URL: ipptemplate-0.1.22.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for ipptemplate-0.1.22.tar.gz
Algorithm Hash digest
SHA256 a573e5b295b73ec6d95c637394947ada2fdfe8e204c6f7305bad03344214ec7b
MD5 0f2ffeb7613ff3041414dfe86dac8e4e
BLAKE2b-256 c0253030ab52d4ad0eb9b84eafb244c74df3cf4571ad1fff0ea8de4c5e7054fa

See more details on using hashes here.

File details

Details for the file ipptemplate-0.1.22-py3-none-any.whl.

File metadata

  • Download URL: ipptemplate-0.1.22-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for ipptemplate-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 e888e8aacb1bb90ee9b8ba6529bdc9a395675268cf562a21eca8e0be91e8b1d4
MD5 4365f2ece34e21e3e07cb3f0a43d1d9b
BLAKE2b-256 036c42f9ef45aa6a08cd589a78eb8fa8d634b0d47419dac446eaf553dabb6d56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page