Skip to main content

patme

Utilities for basic software engineering, geometry, mechanics support and infrastructure handling.

DOI pipeline status coverage report Latest Release

Features

The full documentation can be found here.

Software Engineering Features

  • software builds
  • release automation
  • build documentation (sphinx)
  • logging

Planned items:

  • exception hooks
  • (potentially) decorators
  • Create RCE components and push them on an RCE server

Common useful features

Planned items:

  • Call FEM software
  • Plot samples (Matplotlib, Latex-Pgfplots)

DLR-SY specific features

Planned items:

  • SSH interface
  • SSH based cluster interaction
  • Run several jobs (FEM, python, matlab etc.) as samples with various parallelization options
    • parallel local
    • parallel remote
    • asynchronous sampling (e.g. dependend on license availability)

software builds, documentation, cluster interaction, calling fem tools, logging, exceptions.

Installation

At least you require Python 3.

Installation from source

Get patme source from

https://gitlab.dlr.de/sy-stm/software/patme.git

and add the /src folder to pythonpath in the environment variables

Installation as python package

Install it from the gitlab packacke registry

You can download the latest artifact (*.whl) and install it using

cd patme python setup.py install patme.whl

Test the installation

In python execute:

import patme

Developers

Developers may also install the pre-commit hook.

Precommit

  1. install the pre-commit

    pip install pre-commit

  2. In the patme folder

    pre-commit install

This enables the pre-commit hooks defined in .pre-commit-config.yaml and eases your commits and successful pipline runs.

CI Pipeline and Jobs for Developers

If you encounter any failed job on the pipeline you can run them locally for more information. (prerequisite: have make and poetry installed [e.g. conda install make poetry])

See all availabe make targets used for the ci-jobs

make list

Find the target with matching names and execute them locally e.g.:

make test

If check-formatting fails, run the following to fix issues.

make formatting

If check-license-metadata fails, run

make check-license-metadata

identify the corresponding filename and run the following (include the filename in $filename)

poetry run reuse addheader --copyright="German Aerospace Center (DLR)" --license="MIT" $filename

Contributing to patme

We welcome your contribution!

If you want to provide a code change, please:

  • Create a fork of the GitLab project.
  • Develop the feature/patch
  • Provide a merge request.

If it is the first time that you contribute, please add yourself to the list of contributors below.

Citing

No citing required

License

MIT

Change Log

see changelog

Authors

Sebastian Freund Andreas Schuster

Metadata

Release files for patme 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patme 0.5.0
File Size Uploaded
patme-0.5.0.tar.gz 111.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patme 0.5.0
File Interpreter ABI Platform
patme-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 242.2 kB

Release files / patme-0.5.0.tar.gz

Download URL patme-0.5.0.tar.gz
Size 111.0 kB
Tags Source
SHA-256 checksum
How to use checksums
21bd9c7f6a2cade34245901e453fe95065e319e4106af404bc61b10528c15290
BLAKE2b-256 checksum
How to use checksums
4bf9d0810ad8a535a6f917a7b469c130f827bd52bf0d26e43351c9e6c1339897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / patme-0.5.0-py3-none-any.whl

Download URL patme-0.5.0-py3-none-any.whl
Size 131.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ea1e344aa6bcbe06d74212dc84c83240ebe89d175187bb4227383f9c7a29183
BLAKE2b-256 checksum
How to use checksums
c03a5e14678c04a7c254810f431c37048f2667493dadb96d90f89b6ff224a2dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page