semvec/pypi-packages huggingface dataset:
vici 6.0.3
Native Python interface for strongSwan's VICI protocol
License: MIT

About
-----

The strongSwan VICI protocol allows external applications to monitor, configure
and control the IKE daemon charon. This Python package provides a native client
side implementation of the VICI protocol, well suited to script automated tasks
in a reliable way.


Basic Usage
-----------

.. code-block:: python

    >>> import vici
    >>> s = vici.Session()
    >>> s.version()
    OrderedDict([('daemon', b'charon'), ('version', b'5.4.0'),
    ('sysname', b'Linux'), ('release', b'3.13.0-27-generic'), ('machine', b'x86_64')])
    >>> s.load_pool({"p1": {"addrs": "10.0.0.0/24"}})
    OrderedDict([('success', b'yes')])
    >>> s.get_pools()
    OrderedDict([('p1', OrderedDict([('base', b'10.0.0.0'), ('size', b'254'),
    ('online', b'0'), ('offline', b'0')]))])

Event Handling
--------------

Either use the convenient decorators provided by EventListener or directly call
listen() on a Session object to loop over received events and dispatch them
manually.

.. code-block:: python

    >>> import vici
    >>> s = vici.Session()
    >>> l = vici.EventListener(s)
    >>> @l.on_events(['ike-updown', 'ike-rekey'])
    ... def ike_events(name, data):
    ...   """Handle event with given 'name' and 'data'."""
    ...   print(name, data)
    ...
    >>> @l.on_events(['child-updown', 'child-rekey'])
    ... def child_events(name, data):
    ...   print(name, data)
    ...
    >>> l.listen()
linear-regression-amina-fezazi-V1 0.1.1
Simple Linear Regression from scratch
License: MIT
Requires Python: >=3.6

# 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 rocket
- `get_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.

```bash
git clone https://github.com/Amina212004/rocket.git
cd rocket-project