omglinegraphs


Nameomglinegraphs JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/0mgRod/linegraph
SummaryA package for creating line graphs with units and labels
upload_time2023-04-22 14:26:54
maintainer
docs_urlNone
authorOmgRod
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # linegraphs

The **omglinegraphs package** is a Python library for creating customizable line graphs. It provides an easy-to-use API for plotting data and adding labels, units, and increments to the axes. This package is ideal for data visualization and analysis in scientific and engineering applications.

## Features

- Customizable line graphs
- Support for multiple data sets
- Automatic determination of axis units
- Adjustable axis increments
- Save graphs to files in various formats
- API for creating and modifying graphs

## Installation

You can install the **omglinegraphs package** using pip:

```
pip install omglinegraphs
```

## Usage

To create a line graph, first import the `LineGraph` class from the `omglinegraphs` module:

```py
from linegraphs import LineGraph

graph = LineGraph()
```

Then, create an instance of the `LineGraph` class and call the relevant methods to customize the graph:

```py
graph = LineGraph()

# Add data points
data = [(1, 2), (3, 4), (5, 6)]
graph.plot(data)

# Set title and axis labels
graph.title('My Graph')
graph.x_title('X-axis')
graph.y_title('Y-axis')

# Set axis units and increments
graph.x_unit('s')
graph.y_unit('m')
graph.x_incrementsby(1)
graph.y_incrementsby(0.5)

# Create the graph
graph.create()

# Save the graph to a file
graph.save('mygraph.png')

```

## Contributions

Contributions to the omglinegraphs are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or pull request on the GitHub repository.

## License

The Graphing Package is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/0mgRod/linegraph",
    "name": "omglinegraphs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "OmgRod",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/39/59/986d083369bea92d02d86eb9a3639dddfe38eac868fefc6268f4347edda5/omglinegraphs-0.1.0.tar.gz",
    "platform": null,
    "description": "# linegraphs\n\nThe **omglinegraphs package** is a Python library for creating customizable line graphs. It provides an easy-to-use API for plotting data and adding labels, units, and increments to the axes. This package is ideal for data visualization and analysis in scientific and engineering applications.\n\n## Features\n\n- Customizable line graphs\n- Support for multiple data sets\n- Automatic determination of axis units\n- Adjustable axis increments\n- Save graphs to files in various formats\n- API for creating and modifying graphs\n\n## Installation\n\nYou can install the **omglinegraphs package** using pip:\n\n```\npip install omglinegraphs\n```\n\n## Usage\n\nTo create a line graph, first import the `LineGraph` class from the `omglinegraphs` module:\n\n```py\nfrom linegraphs import LineGraph\n\ngraph = LineGraph()\n```\n\nThen, create an instance of the `LineGraph` class and call the relevant methods to customize the graph:\n\n```py\ngraph = LineGraph()\n\n# Add data points\ndata = [(1, 2), (3, 4), (5, 6)]\ngraph.plot(data)\n\n# Set title and axis labels\ngraph.title('My Graph')\ngraph.x_title('X-axis')\ngraph.y_title('Y-axis')\n\n# Set axis units and increments\ngraph.x_unit('s')\ngraph.y_unit('m')\ngraph.x_incrementsby(1)\ngraph.y_incrementsby(0.5)\n\n# Create the graph\ngraph.create()\n\n# Save the graph to a file\ngraph.save('mygraph.png')\n\n```\n\n## Contributions\n\nContributions to the omglinegraphs are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or pull request on the GitHub repository.\n\n## License\n\nThe Graphing Package is licensed under the MIT License.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A package for creating line graphs with units and labels",
    "version": "0.1.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3959986d083369bea92d02d86eb9a3639dddfe38eac868fefc6268f4347edda5",
                "md5": "78e6f60d0a6dbd7dd15fa15afe321aa0",
                "sha256": "af6586c13dd2d6b38408131994aea01a2711250b943478389fb19d250d6c1689"
            },
            "downloads": -1,
            "filename": "omglinegraphs-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "78e6f60d0a6dbd7dd15fa15afe321aa0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2456,
            "upload_time": "2023-04-22T14:26:54",
            "upload_time_iso_8601": "2023-04-22T14:26:54.777482Z",
            "url": "https://files.pythonhosted.org/packages/39/59/986d083369bea92d02d86eb9a3639dddfe38eac868fefc6268f4347edda5/omglinegraphs-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "533ce378ae14e9dfd0a585154b6c0b59f94dfd422f3902ee1079f45ed44b19fe",
                "md5": "b6264f5cdcfc5dfea551e9cc0e2de797",
                "sha256": "d7c60cbdb0441d0ab0064ae431ba59bc1e104aa5b29177b168489ae75dc84d67"
            },
            "downloads": -1,
            "filename": "omglinegraphs-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b6264f5cdcfc5dfea551e9cc0e2de797",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2231,
            "upload_time": "2023-04-22T14:40:18",
            "upload_time_iso_8601": "2023-04-22T14:40:18.246827Z",
            "url": "https://files.pythonhosted.org/packages/53/3c/e378ae14e9dfd0a585154b6c0b59f94dfd422f3902ee1079f45ed44b19fe/omglinegraphs-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-22 14:26:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "0mgRod",
    "github_project": "linegraph",
    "lcname": "omglinegraphs"
}
        
Elapsed time: 0.52377s