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);
SELECT *, jaro_winkler_similarity(name, 'hostomel') AS score FROM airports ORDER BY score DESC LIMIT 5;
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file am4utils-0.1.1.tar.gz
.
File metadata
- Download URL: am4utils-0.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4d9dab4891777c6d9f20d68e3e6c2e3bcd2e529dbd4db7f1e769a3900b671c |
|
MD5 | 5afaf20201d0849a6bc5368bae584523 |
|
BLAKE2b-256 | 62ba4559694f626430765db350bbf0dcfae4df79aa7cf49e04bd01b10bb6121e |
File details
Details for the file am4utils-0.1.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 63.4 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cac96f98702615a2b7258748999f37a126f28394018c893bec6e555a57ce2aab |
|
MD5 | 99002678e290c34f352ae190e854d789 |
|
BLAKE2b-256 | 1fc946da2dab161f8d29fb5dc094777360a0345d131351d2c0fb4698c4c05b2e |
File details
Details for the file am4utils-0.1.1-cp311-cp311-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp311-cp311-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 68.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd442dc6a95a1079c7ae2e99f7ac4f380e5eb9a385024fe7d1de00b47e7607d7 |
|
MD5 | 103aea3ff18da8adfc8ae5b37f4f40bc |
|
BLAKE2b-256 | 179b9e5d87c6efc405d9c1c0eba31dc20d8a4012c53784e8e419e6f8c04cf6e4 |
File details
Details for the file am4utils-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdaf21c7f2ffcfb33aa7b52d5aa4a4fa5cfccc1831420e2479c0fab8d3475c65 |
|
MD5 | 8c207142aaa49d824c6ee795f3456f94 |
|
BLAKE2b-256 | e8d3a6cac32c5311128cd4aceba732c303386c3ca5841da8fd0358478c5500de |
File details
Details for the file am4utils-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa2070bb1ca8ea7bdff40936925461368dfe00b644a60c92800eff8202e8039 |
|
MD5 | 80950b8b419f3cc550e734ea352cfef8 |
|
BLAKE2b-256 | 9067610e31d158d50875408a1201eda0564a14026ba703c64b2c2ffd22260e4f |
File details
Details for the file am4utils-0.1.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 63.4 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff4830fc107647aa77cdaee88c316a313e33baaa1f3225e8efd6df75082f376 |
|
MD5 | c7ca925300395d6cca160ebfab122b2f |
|
BLAKE2b-256 | c54c7d79595adb9ec27686b0e3129ce40fcc225ea56189bcecf20ec81273d849 |
File details
Details for the file am4utils-0.1.1-cp310-cp310-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp310-cp310-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 68.6 MB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25794bdf4a05ce1ddf95141e9eb00e7bf5f57e6e462dd5d40bd1764475ebf808 |
|
MD5 | e246b8af55790ddfd73d4b1d9248b410 |
|
BLAKE2b-256 | abb35f35635236cd5c975e643115f9735b2a0c5837a55d5593dd486abf281226 |
File details
Details for the file am4utils-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3b0610bdf98e8c1dc3eab27a7c8e9a4aaf96f1f5a2904227f0aa0fdca8617e |
|
MD5 | 96ef519fa3802488690cd3fdf88e372a |
|
BLAKE2b-256 | cc4d7da5f94631956b3dc936280d3089fd825346c9a4f5e3544428a6f81cc465 |
File details
Details for the file am4utils-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55c7966395354522683baf928a47325645005d7bb14637b58150bc366ca9118 |
|
MD5 | 86abe2665daa6f4971d234048c6f8184 |
|
BLAKE2b-256 | 6e9808b6c4deb551c9ababfd0689bda8a6f4dac95ac047d3b5b0769339b8a22b |
File details
Details for the file am4utils-0.1.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: am4utils-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125d658f6eafcf6a36e6293ed3d4e9c71326889318229fcceb4906e749ac5019 |
|
MD5 | 00c6f95b366076fcc973946cab7fdad4 |
|
BLAKE2b-256 | 4f1431bbdb2510b00bc857564e36d18d34c4843f8496db7c81a3e66a1c1b42e8 |
File details
Details for the file am4utils-0.1.1-cp39-cp39-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp39-cp39-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 68.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30fcea62e88e6076ef85dac58a10ffe6a471c5d75d42cd44907c2f5a739485b1 |
|
MD5 | cd92e51c7b1343ddd36b5e386a966b9b |
|
BLAKE2b-256 | 7c26fea7a0c02a0516b4d0278fe2d954a68cc8a2d231342c73264b54cd5df8b0 |
File details
Details for the file am4utils-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f385aeb475941ee056bc82017c3aac41beccc82599a66b2824ef7bb496ef762d |
|
MD5 | 70dec4387d2a9e88ad22ecd529a63a07 |
|
BLAKE2b-256 | 72f0c55e8cdf78a63e0185fea544e2e61f3124c09d38e34f0d90f3f125deb141 |
File details
Details for the file am4utils-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: am4utils-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 79.2 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02880fafb081dc8622450015b49c2eb023e1b06e09256d9080395bb0dffd934 |
|
MD5 | f94199940b99fe0efe504cc0c3d6b5fb |
|
BLAKE2b-256 | c52cbc1e445c46775c4ae09715b3b41e2731247524e9f109830e8bc641516cbb |