Skip to main content

Tools and utilities for the game Airline Manager 4.

Project description

am4utils

Tools and utilities for Airline Manager 4 bot.

database tests

download the DuckDB command line binaries

CREATE TABLE airports (
  id         USMALLINT PRIMARY KEY NOT NULL,
  name       VARCHAR NOT NULL,
  fullname   VARCHAR NOT NULL,
  country    VARCHAR NOT NULL,
  continent  VARCHAR NOT NULL,
  iata       VARCHAR UNIQUE NOT NULL,
  icao       VARCHAR UNIQUE NOT NULL,
  lat        DOUBLE NOT NULL,
  lng        DOUBLE NOT NULL,
  rwy        USMALLINT NOT NULL,
  market     UTINYINT NOT NULL,
  hub_cost   UINTEGER NOT NULL,
  rwy_codes  VARCHAR NOT NULL
);
INSERT INTO airports SELECT * FROM read_parquet('./data/airports.parquet');
CREATE INDEX airports_idx ON airports(name, fullname, country, continent, lat, lng, rwy, market);

CREATE TABLE aircrafts (
  id           USMALLINT NOT NULL,
  shortname    VARCHAR NOT NULL,
  manufacturer VARCHAR NOT NULL,
  name         VARCHAR NOT NULL,
  type         UTINYINT NOT NULL,
  priority     UTINYINT NOT NULL,
  eid          USMALLINT NOT NULL,
  ename        VARCHAR NOT NULL,
  speed        FLOAT NOT NULL,
  fuel         FLOAT NOT NULL,
  co2          FLOAT NOT NULL,
  cost         UINTEGER NOT NULL,
  capacity     UINTEGER NOT NULL,
  rwy          USMALLINT NOT NULL,
  check_cost   UINTEGER NOT NULL,
  range        USMALLINT NOT NULL,
  ceil         USMALLINT NOT NULL,
  maint        USMALLINT NOT NULL,
  pilots       UTINYINT NOT NULL,
  crew         UTINYINT NOT NULL,
  engineers    UTINYINT NOT NULL,
  technicians  UTINYINT NOT NULL,
  img          VARCHAR NOT NULL,
  wingspan     UTINYINT NOT NULL,
  length       UTINYINT NOT NULL,
);
INSERT INTO aircrafts SELECT * FROM read_parquet('./data/aircrafts.parquet');
CREATE INDEX aircrafts_idx ON aircrafts(id, shortname, manufacturer, name, type, priority, eid, ename, speed, fuel, co2, cost, capacity, rwy, check_cost, range, maint, img);


CREATE TABLE routes (
  oid USMALLINT NOT NULL,
  did USMALLINT NOT NULL,
  yd  USMALLINT NOT NULL,
  jd  USMALLINT NOT NULL,
  fd  USMALLINT NOT NULL,
  d   FLOAT     NOT NULL,
);
INSERT INTO routes SELECT * FROM read_parquet('./data/routes.parquet');
CREATE INDEX routes_idx ON routes(oid, did, yd, jd, fd, d);

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

am4utils-0.1.0.tar.gz (54.5 MB view details)

Uploaded Source

Built Distributions

am4utils-0.1.0-cp311-cp311-win_amd64.whl (63.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

am4utils-0.1.0-cp311-cp311-manylinux_2_24_x86_64.whl (68.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.24+ x86-64

am4utils-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (79.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

am4utils-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl (79.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

am4utils-0.1.0-cp310-cp310-win_amd64.whl (63.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

am4utils-0.1.0-cp310-cp310-manylinux_2_24_x86_64.whl (68.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

am4utils-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (79.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

am4utils-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl (79.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

am4utils-0.1.0-cp39-cp39-win_amd64.whl (63.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

am4utils-0.1.0-cp39-cp39-manylinux_2_24_x86_64.whl (68.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

am4utils-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (79.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

am4utils-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl (79.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file am4utils-0.1.0.tar.gz.

File metadata

  • Download URL: am4utils-0.1.0.tar.gz
  • Upload date:
  • Size: 54.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for am4utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca3e36f39c69908ef39bd3832b87c8702de6dbbae4e32cbe76c6a94067e1a60f
MD5 b215828eac8cb9abd6c628cc4f2e412a
BLAKE2b-256 b2946306a1a8a679356799f1336bae3e65405ed125edcd4b1e3bfec579eaaef5

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 268187c6214e6c1532636e718f6bb8deb9ecb235de71fec212f512b8f19b2d93
MD5 67722c73fa2d53c17a91bee0d6f95bd1
BLAKE2b-256 b4c653bdf16450af76321d4e450ba499ab79096e34c5c7d6308407c3a14a846c

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp311-cp311-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp311-cp311-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 3fee723f2dd49030d2828e5ffd35fefba52ef2e1109204850d439b529f0c4dcb
MD5 e6981a7e01f372cd94dcf70e2964b0aa
BLAKE2b-256 a1c8f6f713da4bd7d1b5a1cdc17b7312ac24dc031dd0cc09faf5786b314b2d3b

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c1291d6732f3fc3cd7e559f797bd35a9a3dabc07390330b754dec1cd6cb18b6f
MD5 9d8c380ff29bbf34d62cb14562aa780f
BLAKE2b-256 1452368e295d18e832bcdef4e177d17cf01dc70ebedec297a8fb6621747123c7

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b5e01cff7a8063da440fd5834659e49661f162d8e7a0beeeeccddd9e157e4c6
MD5 9bb3197f57e96a3a2e396bf8744e522f
BLAKE2b-256 3e0d80e19470eda7084353fc86235773c50dbf5a7d2b6072e09dfc439169138c

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9e0717226547ca0bad1346bacb37237c25a01c662b65282c115b1e907922873e
MD5 d62b3c64e2301f0a62d7322cd473e097
BLAKE2b-256 a667478a0c62e7a9c95973af7aafb408405399fc6628398db2fde1accda4ebe9

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp310-cp310-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a885917449b5bb591609095ecafa97f298e97ecba706e8e500aac828210593fc
MD5 d0cb644cf8a8037a6d953f2a66db17e8
BLAKE2b-256 8d7c76677d916eb103d3b4b1393c750c8574edd58800422567fabfb667a38c62

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bbf481d62354f926f5532c12c801f265aaa6c6cd9acf52ab4ae772294364a7d
MD5 667003be251d3ff266c6bbdeb2607f2d
BLAKE2b-256 94532800b7fe5f7a59e52c5dd5c6dde78ebbc68f57a4f058557972f362a0d1dc

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ffb57ec226d226a515e025682bf2cfef640a01f1f5674374d6978fa2c9ff2688
MD5 72b3f51372dd99fb556f301e20dcd68c
BLAKE2b-256 5ac69e8c4ee456ea3701f82ebaadc643aa31d6ebce1fd10acc3ee0686d877d8d

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: am4utils-0.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 63.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for am4utils-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 05a509020087c6a4dc20e923fe111bc7af24332f7b53722422ea9f4927be3b2c
MD5 30cba279d88023d27ea7bc237a34a8a4
BLAKE2b-256 6fa024ca109b41ffb701e136240be971445ff59a9daf2a1b43db95f6a54068dc

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 92a8cf9272e042f01cbc9aea8ef7bb304904a61c029b7d9322a5d3254c071878
MD5 142301363f5584c0ce2874863a2b6ecb
BLAKE2b-256 4a2672282e7ca1744ef2b01a892a9df8d6d6528d338388021b606394608f960a

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1298f554e34085815484eb9b6e88ca316e1b3987aee83986f5227714b05173f
MD5 5163bbfc89bb2840fafaac4c41f21152
BLAKE2b-256 be2711aa600b3a3405c134c060fb4f86ee27c384d2d57b25af7e182d6dd72a39

See more details on using hashes here.

File details

Details for the file am4utils-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for am4utils-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4027f131c8c355eb5b80559d5708f26d093a90095897159301abb23e7fe07ecd
MD5 e2c0bb681e97c4e3099fe735eff818b0
BLAKE2b-256 4c299a5e3c3294612c45f84aa18b8196a7dfac30ad7fbb57864f72700afe0a1f

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