Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdn_vehicle_test-0.6.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

sdn_vehicle_test-0.6.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for sdn_vehicle_test-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d77a3526ab2df8101b05fcd955f95b4d2f6fbf06c025039239b1d1f7bf39d881
MD5 d4ded5e89726d435c4291e69b3f261d8
BLAKE2b-256 8cbbaabc911478524bd2979b6223b84bd16f0e75f713e8418090e0f0fdb1c7df

See more details on using hashes here.

File details

Details for the file sdn_vehicle_test-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sdn_vehicle_test-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9575f33edd83aa51dcd165c68da64a439cd25c980421faf6eed6813e80fcbc15
MD5 e40e1356fbd9971d99ef6deb0afd6bf9
BLAKE2b-256 0fbbb48746d0d8aea888c579ee0f4388ec1d4ea51f9c585cb3f23fd4d256a4ed

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