Skip to main content

python-boatd

Latest PyPI version https://travis-ci.org/boatd/python-boatd.png?branch=master

Python module for writing boatd behavior scripts.

Installing

$ pip install boatd_client

class Boat

A boat controlled by boatd

Attributes

heading: Return the current heading of the boat in degrees

position: Return a tuple in the form (latitude, longitude)

version: Return the version of boatd

wind: Return the direction of the wind in degrees

methods

def __init__(self, host='localhost', port=2222)

Create a boat instance, connecting to boatd at host on port port

def __rudder__(self, angle)

Set the angle of the rudder to be angle degrees

def __sail__(self, angle)

Set the angle of the sail to angle degrees

Metadata

Release files for boatd_client 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boatd_client 0.1.5
File Size Uploaded
boatd_client-0.1.5.tar.gz 4.6 kB Details

Release files / boatd_client-0.1.5.tar.gz

Download URL boatd_client-0.1.5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a8e41083cd5410fd8fce343b909234d9e5c84483e0b738b2401bec9f8ac9605f
BLAKE2b-256 checksum
How to use checksums
a78c451ca1acf9bb96422e2b0ddef174056c1881178f92c57d95db09b44758f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page