Skip to main content

Workflow Domain Specific Language

Project description

wfdsl Package

Workflow Domain Specific Language (wfdsl) is a Python package providing a DSL for specifying scientific workflow models, used by VizSciFlow.

Development Setup

git clone https://github.com/srlabUsask/wfdsl.git
cd wfdsl
python -m venv .venv
source .venv/bin/activate
pip install -e .

Building and Publishing to PyPI

Prerequisites

pip install build twine

1. Update the version

Bump the version number in setup.py:

version="0.3.11",  # increment as needed

2. Clean previous builds

rm -rf dist/ build/ *.egg-info

3. Build the package

python -m build

This produces both a source distribution (.tar.gz) and a wheel (.whl) in the dist/ directory.

4. Verify the package contents

Before uploading, confirm the dsl/ module is at the top level (not inside src/):

tar -tzf dist/wfdsl-*.tar.gz | grep "dsl/"

You should see paths like wfdsl-x.x.x/dsl/datatype.py, not wfdsl-x.x.x/src/dsl/datatype.py.

5. Test upload to TestPyPI (optional)

twine upload --repository testpypi dist/*
pip install --index-url https://test.pypi.org/simple/ wfdsl

6. Upload to PyPI

twine upload dist/*

You will be prompted for your PyPI API token. To avoid this prompt, create a ~/.pypirc file:

[pypi]
  username = __token__
  password = pypi-your-api-token-here

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

wfdsl-0.3.11.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

wfdsl-0.3.11-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file wfdsl-0.3.11.tar.gz.

File metadata

  • Download URL: wfdsl-0.3.11.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for wfdsl-0.3.11.tar.gz
Algorithm Hash digest
SHA256 8d49c87a8c93ae3b02d26b52299c219136c5fe7d7f9fe8d5a15b97247aa196ef
MD5 1216f6516c69c28904cdc2560f48045b
BLAKE2b-256 9ff3e4094945677838e0c0de5b4b3ca156b1b912418f30081c9ec488e004a5a3

See more details on using hashes here.

File details

Details for the file wfdsl-0.3.11-py3-none-any.whl.

File metadata

  • Download URL: wfdsl-0.3.11-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for wfdsl-0.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fd888f212051f95b2fcf14dccd13dc7ceed30492988f459b3e1213c765e12e99
MD5 803d95903645134e3599a8d5aca6d8ca
BLAKE2b-256 3e1fe0333a76b21e48c855486318c25ca9758d8b4645483f20bdcc8a8441dae7

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