Formulix


NameFormulix JSON
Version 1.2.2 PyPI version JSON
download
home_pageNone
SummaryA toolkit of geometry and physics formulas
upload_time2025-07-18 16:15:32
maintainerNone
docs_urlNone
authorDarsh Nayak Das
requires_python>=3.6
licenseNone
keywords geometry physics formulas science education
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # πŸ“¦ Formulix

Formulix is a powerful and easy-to-use Python package that provides a collection of tools and utilities for solving problems in **Geometry**, **Physics**, **Chemistry**, **Mathematics**, and **Conversions**.

It’s perfect for students, educators, and developers building science-related applications.

---

## πŸš€ Features

### πŸ“ Geometry (`shapes.py`)
- `rectangle_area(length, width)`
- `square_area(side)`
- `circle_area(radius)`
- `triangle_area(base, height)`
- `rhombus_area(d1, d2)`
- `polygon_area(sides)`

### 🧲 Physics (`physics.py`)
- `force(mass, acceleration)`
- `kinetic_energy(mass, velocity)`
- `potential_energy(mass, height, gravity)`
- `ohms_law(v=None, i=None, r=None)`
- `solve_kinematics(u=None, v=None, a=None, t=None, s=None)`

### βš—οΈ Chemistry (`chem.py`)
- `molar_mass(formula)`
- `mass_to_moles(compound, mass)`
- `moles_to_mass(compound, moles)`
- `element_info(symbol)`

### πŸ“Š Graphing (`graphing.py`)
- `plot_equation(equation_str)`

### πŸ”’ Equation Solver (`equation_solver.py`)
- `solve_equation("x**2 - 4 = 0")`
- `simplify_expression("2*x + 3*x")`

### πŸ” Unit Conversion (`convert.py`)
- `convert_length(100, 'cm', 'm')`
- `convert_mass(5, 'kg', 'g')`
- `convert_time(120, 's', 'min')`
- `convert_temperature(0, 'C', 'F')`
- `convert_volume(1, 'l', 'ml')`
- `convert_speed(90, 'km/h', 'm/s')`

---

## πŸ“¦ Installation

```bash
pip install Formulix
```

---

## βœ… Example Usage

```python
from formulix import (
    rectangle_area, force, molar_mass,
    solve_equation, plot_equation, convert_temperature
)

print(rectangle_area(10, 5))         # 50
print(force(10, 2))                  # 20
print(molar_mass("H2O"))            # 18.015
print(solve_equation("x**2 - 4 = 0"))  # [2, -2]

plot_equation("x**2 + y**2 = 25")   # Shows a plot
print(convert_temperature(0, 'C', 'F')) # 32.0
```

---

## πŸ§ͺ Requirements

- `numpy`
- `sympy`
- `periodictable`

All are installed automatically with pip.

---

## πŸ“¬ Author

**Darsh Nayak Das**  
9th Grade Student & Science Coder πŸ’‘

---

## πŸ“„ License

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "Formulix",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "geometry, physics, formulas, science, education",
    "author": "Darsh Nayak Das",
    "author_email": "darsh.nayak@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/de/04/79eb24d989d21ddeda8ad8396f1e8b2df17a349415cd67023f6226d2696a/formulix-1.2.2.tar.gz",
    "platform": null,
    "description": "# \ud83d\udce6 Formulix\r\n\r\nFormulix is a powerful and easy-to-use Python package that provides a collection of tools and utilities for solving problems in **Geometry**, **Physics**, **Chemistry**, **Mathematics**, and **Conversions**.\r\n\r\nIt\u2019s perfect for students, educators, and developers building science-related applications.\r\n\r\n---\r\n\r\n## \ud83d\ude80 Features\r\n\r\n### \ud83d\udcd0 Geometry (`shapes.py`)\r\n- `rectangle_area(length, width)`\r\n- `square_area(side)`\r\n- `circle_area(radius)`\r\n- `triangle_area(base, height)`\r\n- `rhombus_area(d1, d2)`\r\n- `polygon_area(sides)`\r\n\r\n### \ud83e\uddf2 Physics (`physics.py`)\r\n- `force(mass, acceleration)`\r\n- `kinetic_energy(mass, velocity)`\r\n- `potential_energy(mass, height, gravity)`\r\n- `ohms_law(v=None, i=None, r=None)`\r\n- `solve_kinematics(u=None, v=None, a=None, t=None, s=None)`\r\n\r\n### \u2697\ufe0f Chemistry (`chem.py`)\r\n- `molar_mass(formula)`\r\n- `mass_to_moles(compound, mass)`\r\n- `moles_to_mass(compound, moles)`\r\n- `element_info(symbol)`\r\n\r\n### \ud83d\udcca Graphing (`graphing.py`)\r\n- `plot_equation(equation_str)`\r\n\r\n### \ud83d\udd22 Equation Solver (`equation_solver.py`)\r\n- `solve_equation(\"x**2 - 4 = 0\")`\r\n- `simplify_expression(\"2*x + 3*x\")`\r\n\r\n### \ud83d\udd01 Unit Conversion (`convert.py`)\r\n- `convert_length(100, 'cm', 'm')`\r\n- `convert_mass(5, 'kg', 'g')`\r\n- `convert_time(120, 's', 'min')`\r\n- `convert_temperature(0, 'C', 'F')`\r\n- `convert_volume(1, 'l', 'ml')`\r\n- `convert_speed(90, 'km/h', 'm/s')`\r\n\r\n---\r\n\r\n## \ud83d\udce6 Installation\r\n\r\n```bash\r\npip install Formulix\r\n```\r\n\r\n---\r\n\r\n## \u2705 Example Usage\r\n\r\n```python\r\nfrom formulix import (\r\n    rectangle_area, force, molar_mass,\r\n    solve_equation, plot_equation, convert_temperature\r\n)\r\n\r\nprint(rectangle_area(10, 5))         # 50\r\nprint(force(10, 2))                  # 20\r\nprint(molar_mass(\"H2O\"))            # 18.015\r\nprint(solve_equation(\"x**2 - 4 = 0\"))  # [2, -2]\r\n\r\nplot_equation(\"x**2 + y**2 = 25\")   # Shows a plot\r\nprint(convert_temperature(0, 'C', 'F')) # 32.0\r\n```\r\n\r\n---\r\n\r\n## \ud83e\uddea Requirements\r\n\r\n- `numpy`\r\n- `sympy`\r\n- `periodictable`\r\n\r\nAll are installed automatically with pip.\r\n\r\n---\r\n\r\n## \ud83d\udcec Author\r\n\r\n**Darsh Nayak Das**  \r\n9th Grade Student & Science Coder \ud83d\udca1\r\n\r\n---\r\n\r\n## \ud83d\udcc4 License\r\n\r\nMIT License\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A toolkit of geometry and physics formulas",
    "version": "1.2.2",
    "project_urls": null,
    "split_keywords": [
        "geometry",
        " physics",
        " formulas",
        " science",
        " education"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1549a97ba41f65db2fa15d6aeefaceee3f118c1b01ceb4eefe3ba57d81fc6c0c",
                "md5": "b8d3a75cb80f23a88de3dc4c4fc538dc",
                "sha256": "94f053103ed5ecc637a14e51d8189ef3d0e4ef5a73e3cd14b748e1b4787f13f2"
            },
            "downloads": -1,
            "filename": "formulix-1.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b8d3a75cb80f23a88de3dc4c4fc538dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5591,
            "upload_time": "2025-07-18T16:15:31",
            "upload_time_iso_8601": "2025-07-18T16:15:31.439105Z",
            "url": "https://files.pythonhosted.org/packages/15/49/a97ba41f65db2fa15d6aeefaceee3f118c1b01ceb4eefe3ba57d81fc6c0c/formulix-1.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "de0479eb24d989d21ddeda8ad8396f1e8b2df17a349415cd67023f6226d2696a",
                "md5": "d60305da184e1cbd05cc39b6ed8a3285",
                "sha256": "e245782431d64f0f03c2aa3f0f525bd16dd27b7c6e543b8e8a6bbf5551c20c9a"
            },
            "downloads": -1,
            "filename": "formulix-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d60305da184e1cbd05cc39b6ed8a3285",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4532,
            "upload_time": "2025-07-18T16:15:32",
            "upload_time_iso_8601": "2025-07-18T16:15:32.693362Z",
            "url": "https://files.pythonhosted.org/packages/de/04/79eb24d989d21ddeda8ad8396f1e8b2df17a349415cd67023f6226d2696a/formulix-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-18 16:15:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "formulix"
}
        
Elapsed time: 1.05233s