Skip to main content

Custom AirSim client for the DRUN project

Project description

DRUN AirSim Client

A custom client for Microsoft AirSim wrapping all the necessities need for driving a reinforcement learning agent in the given environment.

This package was developed for and is a part of the DRUN project - an automated drone delivery system, but available on the PyPI and TestPyPI repositories.

Contents

  • drun_airsim_client contains a the DRUNAirSimClient, which contains all the necessities need for driving a reinforcement learning agent in the given environment.

FAQ

How do I Package/Bundle/Zip/Prepare my source code into a distributable package that I can distribute to others to use in their own Python apps?

Run build-package.sh to prepare your package source code for distribution. This will deploy a distributable Python package into package-project/src/dist/drun_airsim_client-0.0.2.tar.gz.

How do other users install the package once it's built?

Other users can run pip install drun_airsim_client-1.0.tar.gz to install your package. See install-built-package.sh as an example.

Alternatively, you can upload your built package to PyPI and then they can install it by running pip install drun_airsim_client.

What are the differences between "Python Packages" and eggs?

I'm trying to figure that out myself. build-package.sh is an example of building a "Python Package" and build-package-egg.sh is an example of building an egg.

"Python Packages" are documented at https://packaging.python.org/distributing/ and Eggs are documented at http://peak.telecommunity.com/DevCenter/PythonEggs

Troubleshooting

After installing the package I still see the error 'ImportError: No module named ' when trying to use it in a script/app.

It is important that the setup.py is in the parent of the actual root package folder. If you don't do this you won't get any errors, and pip will show you're package as installed (e.g. with pip show <mypackage>) but consuming scripts of the package won't ever find the package and will always get the ImportError.

So this also implies that the "package" isn't what you specify as the name of your package in setup.py. Although pip uses the name in setup.py to determine whether it is installed, Python itself only cares about the directory that contains the __init__.py file.

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

drun_airsim_client-0.0.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

drun_airsim_client-0.0.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file drun_airsim_client-0.0.3.tar.gz.

File metadata

  • Download URL: drun_airsim_client-0.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2

File hashes

Hashes for drun_airsim_client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 56e5622fa356e3ffd1f63fd114ad4f9871c7b1ad543b9f32e338e61e2edd2a64
MD5 5d2f716df2260c3a6e772a8c6599eaeb
BLAKE2b-256 22686ca1af2e2e58aab8d44c2dfedb208800f18c216d6ba03678efba815b3c34

See more details on using hashes here.

File details

Details for the file drun_airsim_client-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: drun_airsim_client-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2

File hashes

Hashes for drun_airsim_client-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f926e64b5e3535c99c09129c64e886fbe118cff12c67c071be505ab6f490a50
MD5 282315f606c259ab5c22e800727ae817
BLAKE2b-256 ab3d59b69f57231d7611bf65c71bdd8ccfbebbbb2cedc42110e195958ec97c00

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