Skip to main content

Build status GitHub latest commit PyPI download month PyPi version

construction_utils

The construction meta data builder generates README files for FreeCAD workspaces. Its main goal is to serve for my personal constructions repo.

Installation

cd construction_workspace/
python -m venv venv
venv/bin/activate

pip install construction_utils

Usage

cd construction_workspace/
construction_utils

System dependencies

The following packages need to be installed and made available to the user that runs the construction_utils.

  • freecad
  • xvfb (to run freecad headless)

Examples

Check constructions repo for a productive example project.

Caveats

  • Ubuntu/Snap based distribution:
    • The construction_utils requires FreeCAD to generate isometric preview images of constructions.
    • On snap based distributions it is likely that FreeCAD is installed via snap.
    • Snap applications run in a sandbox and therefore have their own private /tmp/ directory and won't be able to access the systems /tmp/ directory.
    • Unittest rely heavily on the tmp dir. Therefor it is necessary to use pytests --basetemp=<PATH> argument to pass a custom temp directory to pytest.
    • In tox we're using .pytest_tmp/

Download files

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

Source Distribution

construction_utils-0.2.1.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

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

construction_utils-0.2.1-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file construction_utils-0.2.1.tar.gz.

File metadata

  • Download URL: construction_utils-0.2.1.tar.gz
  • Upload date:
  • Size: 64.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for construction_utils-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6cad4b6f2a0c0a7eef6b99707df875940e50b2c3c2076d4fff7b7ed17fc8f3de
MD5 4dd227a5ec44efcbf1d955304d9c0811
BLAKE2b-256 aee59c267227232705afd996c1a193e4af552cbe3931e06aa61e759d0a0db2f1

See more details on using hashes here.

File details

Details for the file construction_utils-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for construction_utils-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0590b062c9d1fd7afb6bf20313ffda29509d0bdd92c8992bc8cd4f568ee671ae
MD5 554ad0470dae703f1ecd920c0f471069
BLAKE2b-256 9a977a0ff394589a5255a05bc6ea2dddca35b4200cf1aa1bb7165ac1aef8ec70

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

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