Skip to main content

python bindings for Janus

Project description

pyJanus

Janus is a Dynamic Aerospace Vehicle Exchange Mark-up Language (DAVE-ML) C++ Interpreter.

This repository contains python wrappers for the Janus library, a supporting library called Ute, and example use cases.

Installation

If using pip install, ensure that you have first configure pip to use any internal proxies required but your company. This can be done by specifying an artifactory in your pip.ini file.

Once pip is configured, you can install the pre-built pyJanus wheels using:

pip install python-janus

Alternatively, you can directly install the development version:

pip install https://github.com/Boeing/pyjanus.git

Resources

Build

From within the top-level directory you can install pyJanus with pip:

export MAKEFLAGS=-j8
pip install --verbose .[test]

To run tests, run python -m pytest --verbose

If you wish to only compile the binary pyJanus.pyd, you can run:

mkdir build
cmake . -B build -DBUILD_PYBINDINGS=ON -DPY_VERSION_INFO=dev -DBUILD_EXAMPLES=ON
cmake --build build -j8 --config Release

See build.md for other options such as building only the Janus library.

Primary Contributers

Janus Contributors

  • Geoff Brian
  • Shane Hill
  • Dan Newman
  • Rob Curtin
  • Rob Porter
  • Mike Young
  • Jon Dansie
  • Kylie Bedwell
  • Mike Grant

PyJanus Contributuers

  • Alwin Wang

Licences

Janus Licence

Janus is released under the MIT licence. Licence text:

DST Janus Library (Janus DAVE-ML Interpreter Library)

Defence Science and Technology (DST) Group Department of Defence, Australia. 506 Lorimer St Fishermans Bend, VIC AUSTRALIA, 3207

Copyright 2005-2021 Commonwealth of Australia

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Ute Licence

Ute is released under the MIT licence. Licence text:

DST Ute Library (Utilities Library)

Defence Science and Technology (DST) Group Department of Defence, Australia. 506 Lorimer St Fishermans Bend, VIC AUSTRALIA, 3207

Copyright 2005-2021 Commonwealth of Australia

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

pyJanus Licence

pyJanus is released under the MIT licence. Licence text:

pyJanus (Python Bindings for Janus)

Copyright (c) 2022 Alwin Wang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

python-janus-0.3.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

python_janus-0.3.1-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

File details

Details for the file python-janus-0.3.1.tar.gz.

File metadata

  • Download URL: python-janus-0.3.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for python-janus-0.3.1.tar.gz
Algorithm Hash digest
SHA256 709ca32450699fbe185e19470b71dc23fd70c188b30663eff4171db9bdafcb5b
MD5 2692a5f5a44f6309371ee855ea586c48
BLAKE2b-256 56d33c2fa82ef7bebc68e70e86f119219b57ced2c48dd62cbc1b107dec2d72fb

See more details on using hashes here.

File details

Details for the file python_janus-0.3.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for python_janus-0.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 439392f41a4b5fe785d733e9bc4079821dc18d35097ac504e965ee0eb72e0787
MD5 25ab952fa1dccd341f4f1ef339c8126b
BLAKE2b-256 77bda0f4f3ec6e03e6f05a50421b993c25befc32a7480673cd2a22995aa5dc0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page