Skip to main content

Python wrapper for the Expedition DLL

Project description

Expedition-Python

Description

Expedition is a Python module for managing and manipulating expeditions. It provides a simple and intuitive API for creating, updating, and retrieving expedition data.

Installation

To install the Expedition module, you can use pip:

pip install Expedition

Usage

There is a static method called from_default_location that can be used to create an instance of the ExpeditionDLL class. This method will attempt to locate the Expedition DLL file and create an instance of the ExpeditionDLL. This relies on the installation directory being in a registry key, so it may not work for all installations.

Note on 64 vs 32-bit: If you are using a 32-bit version of Expedition, then you need to use a 32-bit version of Python.

Here's a simple example of how to use the Expedition module:

from Expedition import ExpeditionDLL, Var, SysVar

# Create an instance of the ExpeditionDLL class
expedition = ExpeditionDLL.from_default_location()

# Set and get a variable value
expedition.set_exp_var_value(Var.Bsp, 10.4)
value = expedition.get_exp_var_value(Var.Bsp)
print(value)  # Outputs: 10.4

Contributing

If you would like to contribute to the Expedition module, please submit a pull request.

Tests

To run the tests for the Expedition module, you can use the following command:

python -m unittest discover tests

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

Expedition-Python-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

Expedition_Python-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file Expedition-Python-0.1.1.tar.gz.

File metadata

  • Download URL: Expedition-Python-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Expedition-Python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 760a48bdf3b980a688a68d1d256739212cead58e862240fe460dd4d280f8104e
MD5 4e66d7e8cd77dfcaba5961469deacebf
BLAKE2b-256 d3dc84e1a1f5b5ad3d7e102fdfd0c727299f64c3977e50618ceeff457cd1cc68

See more details on using hashes here.

File details

Details for the file Expedition_Python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Expedition_Python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a660ea43fd78a00a9c8a7df99ddf1bdbcf6cef90ea70061f123b79ce4f70602d
MD5 0c9665350bee71f127388b1797b08da3
BLAKE2b-256 e3b04bde615da90bdb155513c00922333a311cbee3f3cf6e281ee0d1ff1ea5a7

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