Metamation Developer Notes

  • Developer Notes
  • Resource Map
  • Tools
    • Code Formatting
    • Configuring Git
    • Assignments
    • Testing with Windows Sandbox
    • Single Binary Applications
    • Self-Updating Applications
  • Flux Workflow
    • Flux Workflow
    • Flux Development Style Guide
    • Release notes for Flux
    • SonarCloud analysis for Flux
    • Build a Flux SDK Program
    • Shipping Flux
    • Flux.Test
      • BasicBendAuto Test
      • LaserAuto.cs Detailed Documentation
      • Laserexample:Test1
  • Technical Notes
    • File formats
      • .FX File Format
      • Au(Gold) streams
      • .GEO File Format
      • .LST File Format
      • .LST file - technology
      • .BNC File Format
      • .WAD Files: Flux Resource Packages
      • .Curl Files: ASCII config information
    • Folders App
      • Data\Bendtools
      • Data\Machines
    • FluxCode
      • Welcome & Repo Map
      • Architecture & System Context
      • Subsystem *Bend* (Press Brake)
      • Subsystem *BCell* (Bend Cell Automation)
      • API Maps
      • Data Model Catalog
      • Design Patterns -- A Reader's Guide
      • Tests and Golden Paths
      • Guided Code Tours
      • CAM Glossary with Code Mapping
      • Assignments
      • Flux Onboarding Handbook
    • Data flow
      • Part
        • Part.Dwg
        • Part.Load
        • Part.Load to Part.Dwg
      • BendTech.cs
      • Bend Technology
      • Laser Cutting Technology
    • LTS (Long term support mechanism)
    • Machine ID Scheme
  • FluxTester
    • Commands and Scripts
    • Command Cookbook
    • Script Commands
    • BendTooling.cs Test Inventory
    • LaserTooling.cs Test Steps
    • Fluxtester Recipe Book
    • Nesting.cs Overview
    • Nesting.cs Recipe Book
    • Job.cs Overview
    • Job.cs Recipe Book
  • Software license
  • 3d party software
    • Python
  • Documentation
    • Bento documentation
      • Structure of a Bento page
      • Attributes
    • Software
      • Software Requirement
      • Installation
      • Git workflow for documentation contributors
    • Quick start guide
    • Workflow
      • Roles and responsibilities
      • Analyze
      • Edit
      • Proofread
      • Pre-Publish
      • Publish
      • Release cycle
      • Information required for Documentation Team
      • Checklist for Documenters
    • Styleguide
    • Flavoring
    • Translation
      • Ordering translation for a new document
    • Citations
    • Annotation
3d party software
/
Python

Python

Excerpt from: Python + conda / pip install guide - TW543 Data + AI - Confluence (trumpf.com)


Use the Python version that best suits your needs: https://www.python.org/downloads/windows/.

Ensure to tick the option "Add Python to environment variables" during installation. This allows you to use Python directly from the command prompt.

Note
This method is not recommended if it requires setting a username and password.

Configuring pip.ini with Proxy Settings

To configure Trumpf’s local Python PyPi repository (jFrog-based) for installing packages, follow these steps:

  1. Install Python on the C: drive.

  2. Navigate to AppData\Roaming\pip under your user directory on the C drive.

  3. Create a pip.ini file with the following content:

    [global]
    trusted-host = artifactory.corp.trumpf.com
    index = https://pypi.org/
    index-url = https://pypi.org/simple
  4. If the pip folder does not exist, create it manually.

Installing Python Packages with pip

To install Python packages using pip, open the command prompt and run the following command:

    python -m pip install numpy

Creating executable Python Scripts

Python 3.9.9 works well with the pyinstaller package to create executable Python scripts

Contents

  • Configuring pip.ini with Proxy Settings
  • Installing Python Packages with pip
  • Creating executable Python Scripts
3d party software Documentation

      Copyright © 2025 TRUMPF Metamation. All rights reserved.

    Compiled by Bento