cinetica


Namecinetica JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA Python library for physics modules.
upload_time2025-08-25 00:26:45
maintainerNone
docs_urlNone
authorNone
requires_python>=3.13
licenseMIT License Copyright (c) 2025 Elabsurdo984 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords physics library science
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Cinetica

Cinetica is a Python library designed to provide various modules for physics calculations and simulations.

## Installation

```bash
pip install cinetica
```

## Usage

### Movimiento Rectilíneo

El módulo `movimiento_rectilineo` proporciona la clase `MovimientoRectilineo` para calcular posición, velocidad y aceleración en Movimiento Rectilíneo Uniforme (MRU) y Movimiento Rectilíneo Uniformemente Variado (MRUV).

**Ejemplo de uso:**

```python
from cinetica.movimiento_rectilineo import MovimientoRectilineo

# MRU
mru = MovimientoRectilineo(posicion_inicial=10.0, velocidad_inicial=2.0)
posicion_mru = mru.mru_posicion(tiempo=5.0)
velocidad_mru = mru.mru_velocidad()
print(f"MRU - Posición a los 5s: {posicion_mru} m, Velocidad: {velocidad_mru} m/s")

# MRUV
mruv = MovimientoRectilineo(posicion_inicial=0.0, velocidad_inicial=10.0, aceleracion_inicial=2.0)
posicion_mruv = mruv.mruv_posicion(tiempo=3.0)
velocidad_mruv = mruv.mruv_velocidad(tiempo=3.0)
aceleracion_mruv = mruv.mruv_aceleracion()
print(f"MRUV - Posición a los 3s: {posicion_mruv} m, Velocidad: {velocidad_mruv} m/s, Aceleración: {aceleracion_mruv} m/s^2")

# MRUV sin tiempo
mruv_sin_tiempo = MovimientoRectilineo(posicion_inicial=0.0, velocidad_inicial=0.0, aceleracion_inicial=2.0)
velocidad_final_sin_tiempo = mruv_sin_tiempo.mruv_velocidad_sin_tiempo(posicion_final=16.0)
print(f"MRUV - Velocidad final sin tiempo (para posición 16m): {velocidad_final_sin_tiempo} m/s")
```

### Movimiento Parabólico

El módulo `movimiento_parabolico` proporciona la clase `MovimientoParabolico` para simular trayectorias, alcance y tiempo de vuelo de un proyectil.

**Ejemplo de uso:**

```python
from cinetica.movimiento_parabolico import MovimientoParabolico

# Lanzamiento con velocidad inicial de 20 m/s y ángulo de 45 grados
mp = MovimientoParabolico(velocidad_inicial=20.0, angulo_grados=45)

# Calcular posición a los 1.5 segundos
pos_x, pos_y = mp.posicion(tiempo=1.5)
print(f"MP - Posición a los 1.5s: x={pos_x:.2f} m, y={pos_y:.2f} m")

# Calcular velocidad a los 1.5 segundos
vel_x, vel_y = mp.velocidad(tiempo=1.5)
print(f"MP - Velocidad a los 1.5s: vx={vel_x:.2f} m/s, vy={vel_y:.2f} m/s")

# Calcular tiempo de vuelo, altura máxima y alcance máximo
tiempo_vuelo = mp.tiempo_vuelo()
altura_maxima = mp.altura_maxima()
alcance_maximo = mp.alcance_maximo()
print(f"MP - Tiempo de vuelo: {tiempo_vuelo:.2f} s")
print(f"MP - Altura máxima: {altura_maxima:.2f} m")
print(f"MP - Alcance máximo: {alcance_maximo:.2f} m")
```

## Contributing

Contributions are welcome! Please see the `CONTRIBUTING.md` for more details.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "cinetica",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.13",
    "maintainer_email": null,
    "keywords": "physics, library, science",
    "author": null,
    "author_email": "Elabsurdo984 <matiassfernandez00@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/9f/54/97a8d100f50385d7454941d53aa24f95ca9f99af90114c4e7c33c0cb4125/cinetica-0.2.0.tar.gz",
    "platform": null,
    "description": "# Cinetica\r\n\r\nCinetica is a Python library designed to provide various modules for physics calculations and simulations.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install cinetica\r\n```\r\n\r\n## Usage\r\n\r\n### Movimiento Rectil\u00edneo\r\n\r\nEl m\u00f3dulo `movimiento_rectilineo` proporciona la clase `MovimientoRectilineo` para calcular posici\u00f3n, velocidad y aceleraci\u00f3n en Movimiento Rectil\u00edneo Uniforme (MRU) y Movimiento Rectil\u00edneo Uniformemente Variado (MRUV).\r\n\r\n**Ejemplo de uso:**\r\n\r\n```python\r\nfrom cinetica.movimiento_rectilineo import MovimientoRectilineo\r\n\r\n# MRU\r\nmru = MovimientoRectilineo(posicion_inicial=10.0, velocidad_inicial=2.0)\r\nposicion_mru = mru.mru_posicion(tiempo=5.0)\r\nvelocidad_mru = mru.mru_velocidad()\r\nprint(f\"MRU - Posici\u00f3n a los 5s: {posicion_mru} m, Velocidad: {velocidad_mru} m/s\")\r\n\r\n# MRUV\r\nmruv = MovimientoRectilineo(posicion_inicial=0.0, velocidad_inicial=10.0, aceleracion_inicial=2.0)\r\nposicion_mruv = mruv.mruv_posicion(tiempo=3.0)\r\nvelocidad_mruv = mruv.mruv_velocidad(tiempo=3.0)\r\naceleracion_mruv = mruv.mruv_aceleracion()\r\nprint(f\"MRUV - Posici\u00f3n a los 3s: {posicion_mruv} m, Velocidad: {velocidad_mruv} m/s, Aceleraci\u00f3n: {aceleracion_mruv} m/s^2\")\r\n\r\n# MRUV sin tiempo\r\nmruv_sin_tiempo = MovimientoRectilineo(posicion_inicial=0.0, velocidad_inicial=0.0, aceleracion_inicial=2.0)\r\nvelocidad_final_sin_tiempo = mruv_sin_tiempo.mruv_velocidad_sin_tiempo(posicion_final=16.0)\r\nprint(f\"MRUV - Velocidad final sin tiempo (para posici\u00f3n 16m): {velocidad_final_sin_tiempo} m/s\")\r\n```\r\n\r\n### Movimiento Parab\u00f3lico\r\n\r\nEl m\u00f3dulo `movimiento_parabolico` proporciona la clase `MovimientoParabolico` para simular trayectorias, alcance y tiempo de vuelo de un proyectil.\r\n\r\n**Ejemplo de uso:**\r\n\r\n```python\r\nfrom cinetica.movimiento_parabolico import MovimientoParabolico\r\n\r\n# Lanzamiento con velocidad inicial de 20 m/s y \u00e1ngulo de 45 grados\r\nmp = MovimientoParabolico(velocidad_inicial=20.0, angulo_grados=45)\r\n\r\n# Calcular posici\u00f3n a los 1.5 segundos\r\npos_x, pos_y = mp.posicion(tiempo=1.5)\r\nprint(f\"MP - Posici\u00f3n a los 1.5s: x={pos_x:.2f} m, y={pos_y:.2f} m\")\r\n\r\n# Calcular velocidad a los 1.5 segundos\r\nvel_x, vel_y = mp.velocidad(tiempo=1.5)\r\nprint(f\"MP - Velocidad a los 1.5s: vx={vel_x:.2f} m/s, vy={vel_y:.2f} m/s\")\r\n\r\n# Calcular tiempo de vuelo, altura m\u00e1xima y alcance m\u00e1ximo\r\ntiempo_vuelo = mp.tiempo_vuelo()\r\naltura_maxima = mp.altura_maxima()\r\nalcance_maximo = mp.alcance_maximo()\r\nprint(f\"MP - Tiempo de vuelo: {tiempo_vuelo:.2f} s\")\r\nprint(f\"MP - Altura m\u00e1xima: {altura_maxima:.2f} m\")\r\nprint(f\"MP - Alcance m\u00e1ximo: {alcance_maximo:.2f} m\")\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please see the `CONTRIBUTING.md` for more details.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n",
    "bugtrack_url": null,
    "license": "MIT License\r\n        \r\n        Copyright (c) 2025 Elabsurdo984\r\n        \r\n        Permission is hereby granted, free of charge, to any person obtaining a copy\r\n        of this software and associated documentation files (the \"Software\"), to deal\r\n        in the Software without restriction, including without limitation the rights\r\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n        copies of the Software, and to permit persons to whom the Software is\r\n        furnished to do so, subject to the following conditions:\r\n        \r\n        The above copyright notice and this permission notice shall be included in all\r\n        copies or substantial portions of the Software.\r\n        \r\n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n        SOFTWARE.\r\n        ",
    "summary": "A Python library for physics modules.",
    "version": "0.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Elabsurdo984/Cinetica/issues",
        "Homepage": "https://github.com/Elabsurdo984/Cinetica"
    },
    "split_keywords": [
        "physics",
        " library",
        " science"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a83163a433396ec3fdf5c69d81ef1fdad3a57a458ab1d23ddc789617f6725569",
                "md5": "99a678d4b425606b6ea339e348b0eebe",
                "sha256": "269506477f223f59981082b71b5cdd59f39621d2197baebd8fc536ab796cd44c"
            },
            "downloads": -1,
            "filename": "cinetica-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99a678d4b425606b6ea339e348b0eebe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.13",
            "size": 3739,
            "upload_time": "2025-08-25T00:26:44",
            "upload_time_iso_8601": "2025-08-25T00:26:44.137712Z",
            "url": "https://files.pythonhosted.org/packages/a8/31/63a433396ec3fdf5c69d81ef1fdad3a57a458ab1d23ddc789617f6725569/cinetica-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9f5497a8d100f50385d7454941d53aa24f95ca9f99af90114c4e7c33c0cb4125",
                "md5": "d4a2433e730dc624f0dd0258a6e65fbe",
                "sha256": "e6ecf7aaddc9c999cc25a9ef1b34bbdd540d60d12a1189b6f8311108cc9997d6"
            },
            "downloads": -1,
            "filename": "cinetica-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d4a2433e730dc624f0dd0258a6e65fbe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.13",
            "size": 4424,
            "upload_time": "2025-08-25T00:26:45",
            "upload_time_iso_8601": "2025-08-25T00:26:45.294581Z",
            "url": "https://files.pythonhosted.org/packages/9f/54/97a8d100f50385d7454941d53aa24f95ca9f99af90114c4e7c33c0cb4125/cinetica-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-25 00:26:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Elabsurdo984",
    "github_project": "Cinetica",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cinetica"
}
        
Elapsed time: 1.46061s