A collection of useful scripts around Elite: Dangerous
Find a file
2020-01-15 09:09:15 +01:00
pyEDSM@82519b9d66 updated to current pyEDSM 2020-01-13 22:54:18 +01:00
.gitignore added .gitignore 2020-01-08 15:03:46 +01:00
.gitmodules now using pyEDSM :) 2019-09-18 13:30:21 +02:00
edsm-getnearest.py updated to current pyEDSM 2020-01-08 11:29:18 +01:00
explorationtools.py redirected usage text to stderr 2020-01-15 09:09:15 +01:00
generate_docs.sh updated README with pyEDSM’s requirements 2020-01-13 21:33:54 +01:00
Makefile updated Makefile 2020-01-13 22:25:58 +01:00
README.md updated README with pyEDSM’s requirements 2020-01-13 21:33:54 +01:00
requirements.txt properly documented required packages 2020-01-08 08:36:37 +01:00

A collection of useful scripts around Elite Dangerous

Requirements

  • argcomplete
  • argparse
  • requests
  • Tkinter

You probably want to install your distribution/OS package for Tkinter instead of using pip. Then do the good old pip install --user -r requirements.txt.

Youll also need to install pyEDSMs dependencies: pip install --user -r pyEDSM/requirements.txt

Pre-Compiled Version (Windows)

If you check the releases youll find a .zip file with pre-compiled scripts that dont need Python installed. Mostly a) for saving myself some hassle and b) because thats easier to distribute with my VoiceAttack profiles.

Scripts

edsm-getnearest.py

usage: edsm-getnearest.py [-h] --system SYSTEM [--short] [--gui | --text]
                          CMDR [CMDR ...]

Locate your CMDRs using EDSM and find their distance to a given system.

positional arguments:
  CMDR             a list of CMDR names (must have their location public on
                   EDSM!)

optional arguments:
  -h, --help       show this help message and exit
  --system SYSTEM  the target system (must be in EDDN!)
  --short          short output (only makes sense with `--text`)
  --gui            explicitly run the GUI
  --text           explicitly give text output

explorationtools.py

usage: explorationtools.py [-h]
                           {bodycount,distancebetween,findcommander,findsystem,systemlist}
                           ...

A collection of tools useful for exploration.

optional arguments:
  -h, --help            show this help message and exit

subcommands:
  {bodycount,distancebetween,findcommander,findsystem,systemlist}
                        sub-command help
    bodycount           Returns the number of bodies in a system. Will exit
                        with code 1 on server error and code 2 if the system
                        could not be found in EDSM.
    distancebetween     Calculates the distance between two systems. Will exit
                        with code 1 on server error and code 2 if (one of) the
                        systems could not be found on EDSM.
    findcommander       Attempts to find a CMDRs last known position. Will
                        exit with code 1 on server error and code 2 if the
                        CMDR could not be found on EDSM.
    findsystem          Attempts to find a partially matching system that
                        should then hopefully be in the vicinity of the given
                        system
    systemlist          Pulls all system names starting with the given string
                        from EDSM
usage: explorationtools.py bodycount [-h] system

positional arguments:
  system      system to query

optional arguments:
  -h, --help  show this help message and exit
usage: explorationtools.py distancebetween [-h] [--roundto [ROUNDTO]]
                                           system system

positional arguments:
  system               the systems to measure

optional arguments:
  -h, --help           show this help message and exit
  --roundto [ROUNDTO]  the number of digits to round to (default: 2)
usage: explorationtools.py findcommander [-h] [--system | --coords | --url]
                                         name [apikey]

positional arguments:
  name        the commander in question
  apikey      the commanders EDSM API key. Can be empty for public profiles.

optional arguments:
  -h, --help  show this help message and exit
  --system    output the commanders last known system (default)
  --coords    output the commanders last known position in {x,y,z}
              coordinates
  --url       output the commanders profile URL
usage: explorationtools.py findsystem [-h] system

positional arguments:
  system      the system in question

optional arguments:
  -h, --help  show this help message and exit
usage: explorationtools.py systemlist [-h] partialsystem

positional arguments:
  partialsystem  the partial system name to query against

optional arguments:
  -h, --help     show this help message and exit

Need Help / Want to Contribute?

Just file an issue here or hop into Discord if that is your thing.