Skip to main content

seds-rocket-alaeddine

A small teaching package (SEDS Lab 3, ESI Sidi Bel Abbès) that simulates rockets, shuttles and circle-shaped rockets in a 2-D plane.

Installation

pip install seds-rocket-alaeddine

Usage

from rocket import Rocket, Shuttle, CircleRocket

a = Rocket(0, 0)
b = Shuttle(3, 4, flights_completed=2)

print(a.get_distance(b))          # 5.0
print(a == Rocket(0, 0))          # True

c = CircleRocket(x=1, y=1, r=2)
print(c.get_area())               # 12.566...
print(c.get_circumference())      # 12.566...

Classes

  • Rocket(x, y): a rocket with a position. Methods: move_rocket(), get_distance(other), equality with ==.
  • Shuttle(x, y, flights_completed): a reusable Rocket.
  • CircleRocket(x, y, r): a Rocket shaped like a circle of radius r, with get_area() and get_circumference().

Author

Mohammedseghir Alaeddine

License

MIT

Metadata

Release files for seds-rocket-alaeddine 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seds-rocket-alaeddine 0.1.2
File Size Uploaded Provenance
seds_rocket_alaeddine-0.1.2.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for seds-rocket-alaeddine 0.1.2
File Interpreter ABI Platform
seds_rocket_alaeddine-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / seds_rocket_alaeddine-0.1.2.tar.gz

Download URL seds_rocket_alaeddine-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
89ecde29bc5863077ce488a962118e879551b8b5f37e64ad89cbc5bf87a4019d
BLAKE2b-256 checksum
How to use checksums
f1229e0697c824af4a817b382e8e3de230fd8d1dee05f845e330be9896d92617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.5

Release files / seds_rocket_alaeddine-0.1.2-py3-none-any.whl

Download URL seds_rocket_alaeddine-0.1.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f25af98279f506084ce677858d3fffd13fce51c10874321e67b5c1523220837a
BLAKE2b-256 checksum
How to use checksums
029fd03e266332d0e087e543547ca9ad1e179a877791e4b915b0d55a6b766a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.5

Security for seds-rocket-alaeddine 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page