Skip to main content

Simple vehicle repository

Project description

sdn-test-simple-car-repository

Simple vehicle in memory repository.

Install

pip install sdn-test-simple-car-repository

Usage

from sdn_test_simple_car_repository import InMemorySimpleCarRepository
from sdn_test_simple_car import SimpleCar

repo = InMemorySimpleCarRepository()
car = SimpleCar('BMW', 'M3', 2023)
repo.add(car)

all_cars = repo.get_all()
print(f"Total cars: {len(all_cars)}")

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

sdn_test_simple_car_repository-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file sdn_test_simple_car_repository-1.0.0.tar.gz.

File metadata

File hashes

Hashes for sdn_test_simple_car_repository-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cd96f55f09f39f785d8cf467f2e71d48c484527812f168b511bd50e52502a3b3
MD5 7122170c411080647536c14823b19ba2
BLAKE2b-256 22425d0b71dbbbd4706c2bc944e4948c4de99dc98a5818b489099eeead20cf6c

See more details on using hashes here.

File details

Details for the file sdn_test_simple_car_repository-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sdn_test_simple_car_repository-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d6e57c7a35d684d8b689f96f82f22fb44976708da762816f01bf025e8365d44
MD5 70b6e01820246a13cb61649f8298057e
BLAKE2b-256 788f2823f2458358e1a6b31e152036033e9bbdd4f833e7dec80c3867e107a9ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page