Simple vehicle abstractions with a synchronous in-memory repository: SimpleCar and InMemorySimpleCarRepository
Project description
sdn-vehicle-test
Simple vehicle abstractions with a synchronous in-memory repository.
Install
pip install sdn-vehicle-test
Usage
from sdn_vehicle_test import SimpleCar, InMemorySimpleCarRepository
repo = InMemorySimpleCarRepository()
car = SimpleCar('BMW', 'M3', 2023)
repo.add(car)
all_cars = repo.get_all()
print(f"Total cars: {len(all_cars)}")
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdn_vehicle_test-0.6.0.tar.gz.
File metadata
- Download URL: sdn_vehicle_test-0.6.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d77a3526ab2df8101b05fcd955f95b4d2f6fbf06c025039239b1d1f7bf39d881
|
|
| MD5 |
d4ded5e89726d435c4291e69b3f261d8
|
|
| BLAKE2b-256 |
8cbbaabc911478524bd2979b6223b84bd16f0e75f713e8418090e0f0fdb1c7df
|
File details
Details for the file sdn_vehicle_test-0.6.0-py3-none-any.whl.
File metadata
- Download URL: sdn_vehicle_test-0.6.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9575f33edd83aa51dcd165c68da64a439cd25c980421faf6eed6813e80fcbc15
|
|
| MD5 |
e40e1356fbd9971d99ef6deb0afd6bf9
|
|
| BLAKE2b-256 |
0fbbb48746d0d8aea888c579ee0f4388ec1d4ea51f9c585cb3f23fd4d256a4ed
|