Rocket Project
A simple Python project that models rockets and their behavior.
It includes different types of rockets such as:
- Rocket — the base class representing a rocket in 2D space
- Shuttle — a reusable rocket with a number of completed flights
- CircleRocket — a rocket modeled as a circle with a given radius
Features
- Move rockets in a 2D coordinate system
- Calculate distances between rockets
- Compute area and circumference for circular rockets
- Demonstrate inheritance and method overriding in Python
Classes Overview
Rocket
Represents a basic rocket with coordinates (x, y).
Shuttle
Inherits from Rocket and adds a flights_completed attribute.
CircleRocket
Inherits from Rocket and adds:
r→ the radius of the rocketget_area()→ returns π * r²get_circumference()→ returns 2 * π * r
🧩 Installation
Make sure you have Python installed.
You can clone this repository and run the examples in Jupyter Notebook or any IDE.
git clone https://github.com/Amina212004/rocket.git
cd rocket-project
Metadata
Release files for rocket-amina 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rocket_amina-0.1.0.tar.gz | 3.3 kB | Without provenance | Details for rocket_amina-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rocket_amina-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rocket_amina-0.1.0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / rocket_amina-0.1.0.tar.gz
| Download URL | rocket_amina-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b231f51e93351b8efa7c26c90a2a3fc2e3f9a24dcb5f0a832912a923a3b83987
|
|
BLAKE2b-256 checksum How to use checksums |
9417d86a9b5493162cd935c724adb1392638753c9ab551d2ff08cf4e16fbce38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / rocket_amina-0.1.0-py3-none-any.whl
| Download URL | rocket_amina-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ac72c50a9ef4e4488bb9a8b032832ef92ab461763734905e8ee444a7da52911
|
|
BLAKE2b-256 checksum How to use checksums |
e8d829e52788a01952b357f540e78680ad567ecbe660ad6b5f75da143f3c1e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for rocket-amina 0.1.0
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.