Skip to main content

The ASD-STE100 (Simplified Technical English) Issue 9 vocabulary.

Project description

biz.dfch.AsdSte100Vocab

ASD-STE100: Issue 9 License: AGPL v3 Python Pylint and unittest TestPyPI version PyPI version PyPI downloads

Introduction

This is a Python library, that implements an ASD-STE100 Issue 9 compatible dictionary, that includes the Technical Nouns (TN) and Technical Verbs (TV) from the rule R1.5 and rule R1.12. A word has these properties:

  • name, the name of a word item
  • status, is this word APPROVED or REJECTED?
  • source, where does this word come from?
  • type_, the word type (similar to "part of speech")
  • category, the TN or TV category or "default"
  • spellings, all correct spellings of the Word item (this is not a "lemma")
  • meanings, contains one or more meanings for an APPROVED word item
  • alternatives, a list that contains one or more alternatives for a REJECTED word item
  • note, an optional note for Word item
  • ste_example, an example that shows how to use the Word item correctly
  • nonste_example, an example that shows an incorrect use of the Word item

biz.dfch.AsdSte100Lookup uses this library for its word lists and the display of these words.

Installation

biz-dfch-ste100vocab is on PyPI. Create a virtual environment and install the library with pip:

pip install biz-dfch-ste100vocab

Or install with uv:

uv add biz-dfch-ste100vocab

Create your own vocabulary entries

When you want to create your own word entries, you install the dev dependencies:

uv sync --extra dev
# or
uv pip install -e ".[dev]"
# or
pip install -e ".[dev]"

Then use this command:

uv run vocab new
image

You can use an .env file (or environment variables, see --help) to define recurring parameters (see example below) and you can use --interactive (or -i) for an interactive wizard. Each time you start the program, it will create a new JSONL entry.

The specified file must exist. The program will only append to an existing file, but not create a new file.

Example .env file

cat .env
VOCAB_STATUS=approved
VOCAB_SOURCE=ARBITRARY-SOURCE
VOCAB_TYPE=TN
VOCAB_CATEGORY=TN21
VOCAB_FILE=./vocab.jsonl

Make a Release

1. Make sure that all tests pass

Before releasing, make sure the CI pipeline is green on the dev branch:

uv run --frozen ruff format --check
uv run --frozen ruff check
uv run --frozen pylint $(git ls-files '*.py') || true
uv run --frozen python -m unittest discover -v -s tests -t . -p "test_*.py"

2. Increase the version

Update the version in pyproject.toml:

version = "x.y.z"

3. Commit and push to dev

git add pyproject.toml
git commit -m "chore: bump version to vx.y.z"
git push origin dev

4. Merge dev into main

git checkout main
git merge dev
git push origin main

5. Create and push a version tag

This will create a binary artifact of the application and add it to the release.

export VERSION=x.y.z
git tag v${VERSION}
git push origin v${VERSION}

Then, select the dev branch to continue your work.

git checkout dev

Pushing the tag automatically triggers the publish.yml workflow, which will:

  • build the executable with pyinstaller for Linux x86_64 (this step creates the artifact)
  • rename it to AsdSte100Lookup-v<version>-linux-x86_64
  • create a GitHub Release with auto-generated release notes
  • upload the binary as a release artifact (this step adds the artifact to the release)

License

This library is licensed under the GNU Affero General Public License. See LICENSE for more information.

ASD-STE100 Simplified Technical English (Standard for Technical Documentation), Issue 9

Copyright 2025 Aerospace, Security and Defence Industries Association of Europe (ASD), https://www.asd-europe.org.

This library or the maintainer is not affiliated with ASD. ASD does not endorse this library or the maintainer.

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

biz_dfch_ste100vocab-0.7.1.tar.gz (497.2 kB view details)

Uploaded Source

Built Distribution

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

biz_dfch_ste100vocab-0.7.1-py3-none-any.whl (524.4 kB view details)

Uploaded Python 3

File details

Details for the file biz_dfch_ste100vocab-0.7.1.tar.gz.

File metadata

  • Download URL: biz_dfch_ste100vocab-0.7.1.tar.gz
  • Upload date:
  • Size: 497.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for biz_dfch_ste100vocab-0.7.1.tar.gz
Algorithm Hash digest
SHA256 756aef3585b571444779ce3511e043ea634c1bc494fb1d589ba76e474bbea62e
MD5 410cfce08caa580b9e49730f06791cb7
BLAKE2b-256 81c57c11bbda913cf1042cc81d75f86904df2a6794ab20b60bcd46511c1b7a10

See more details on using hashes here.

Provenance

The following attestation bundles were made for biz_dfch_ste100vocab-0.7.1.tar.gz:

Publisher: publish.yml on dfch/biz.dfch.AsdSte100Vocab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file biz_dfch_ste100vocab-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for biz_dfch_ste100vocab-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40485be2b29cfc6704ffe57267d06ff60ee4b55bcab5dbf74d81cfb83258f230
MD5 dff411eecae82b4e14c1a55e4446a6fe
BLAKE2b-256 1bf34b2c23f5da787915e0608b89cfb05fb5c470de51eaefedf2e267290d9b86

See more details on using hashes here.

Provenance

The following attestation bundles were made for biz_dfch_ste100vocab-0.7.1-py3-none-any.whl:

Publisher: publish.yml on dfch/biz.dfch.AsdSte100Vocab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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