mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-10 11:52:10 +08:00
6d316f2bc7
date: 2024-06-11T01:36:39 master commit: f8cb04e4a8b032b72a909f68b808a50936184bee
12 lines
322 B
Python
12 lines
322 B
Python
#!/usr/bin/env python3
|
|
from collections import Counter
|
|
from pprint import pprint
|
|
|
|
from openpilot.selfdrive.car.docs import get_all_car_docs
|
|
|
|
if __name__ == "__main__":
|
|
cars = get_all_car_docs()
|
|
make_count = Counter(l.make for l in cars)
|
|
print("\n", "*" * 20, len(cars), "total", "*" * 20, "\n")
|
|
pprint(make_count)
|