originpro


Nameoriginpro JSON
Version 1.1.10 PyPI version JSON
download
home_pagehttps://www.originlab.com
SummaryOriginPro Utilities
upload_time2023-11-13 06:42:46
maintainer
docs_urlNone
authorOriginLab
requires_python>=3.7
licenseBSD
keywords origin originlab
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## originpro

This package contains a high-level API for interacting with the Origin software via the Origin Automation Server COM interface. Functionality includes (but is not limited to) reading, writing, and modifying data and creating and exporting graphs. An instance of Origin is launched (either visible or hidden) when using this package.

### Installation
This package is Windows only and requires either a local installation of Origin 2021 or later.

To install the package, run:
```
pip install originpro
```

As part of the installation, the [OriginExt package](https://pypi.org/project/OriginExt/) will also be installed.

### Documentation
Documentation and examples are available in the [OriginLab External Python Documentation](https://www.originlab.com/doc/ExternalPython).

### Support
Support is available on the [Origin Forum for Python](https://my.originlab.com/forum/forum.asp?FORUM_ID=29).

### Simple Example
```python
import os
import originpro as op

op.set_show()

x_vals = [1,2,3,4,5,6,7,8,9,10]
y_vals = [23,45,78,133,178,199,234,278,341,400]

wks = op.new_sheet('w')

wks.from_list(0, x_vals, 'X Values')
wks.from_list(1, y_vals, 'Y Values')

gp = op.new_graph()
gl = gp[0]
gl.add_plot(wks, 1, 0)
gl.rescale()

fpath = op.path('u') + 'simple.png'
gp.save_fig(fpath)
print(f'{gl} is exported as {fpath}')

op.exit()
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://www.originlab.com",
    "name": "originpro",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Origin,Originlab",
    "author": "OriginLab",
    "author_email": "tech@originlab.com",
    "download_url": "",
    "platform": "Windows",
    "description": "## originpro\n\nThis package contains a high-level API for interacting with the Origin software via the Origin Automation Server COM interface. Functionality includes (but is not limited to) reading, writing, and modifying data and creating and exporting graphs. An instance of Origin is launched (either visible or hidden) when using this package.\n\n### Installation\nThis package is Windows only and requires either a local installation of Origin 2021 or later.\n\nTo install the package, run:\n```\npip install originpro\n```\n\nAs part of the installation, the [OriginExt package](https://pypi.org/project/OriginExt/) will also be installed.\n\n### Documentation\nDocumentation and examples are available in the [OriginLab External Python Documentation](https://www.originlab.com/doc/ExternalPython).\n\n### Support\nSupport is available on the [Origin Forum for Python](https://my.originlab.com/forum/forum.asp?FORUM_ID=29).\n\n### Simple Example\n```python\nimport os\nimport originpro as op\n\nop.set_show()\n\nx_vals = [1,2,3,4,5,6,7,8,9,10]\ny_vals = [23,45,78,133,178,199,234,278,341,400]\n\nwks = op.new_sheet('w')\n\nwks.from_list(0, x_vals, 'X Values')\nwks.from_list(1, y_vals, 'Y Values')\n\ngp = op.new_graph()\ngl = gp[0]\ngl.add_plot(wks, 1, 0)\ngl.rescale()\n\nfpath = op.path('u') + 'simple.png'\ngp.save_fig(fpath)\nprint(f'{gl} is exported as {fpath}')\n\nop.exit()\n```\n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "OriginPro Utilities",
    "version": "1.1.10",
    "project_urls": {
        "Homepage": "https://www.originlab.com"
    },
    "split_keywords": [
        "origin",
        "originlab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "598f3f043f645121a24ff957dfe59c990de75a2e7a7a34cfc66ac568e66cef88",
                "md5": "07bb452ef37838a4881836fc4fb22231",
                "sha256": "3f5d88cb8595f9cf2e5326cbb17d6b02e439f90da8fdd089f77213e0f18fadba"
            },
            "downloads": -1,
            "filename": "originpro-1.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "07bb452ef37838a4881836fc4fb22231",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 54483,
            "upload_time": "2023-11-13T06:42:46",
            "upload_time_iso_8601": "2023-11-13T06:42:46.956987Z",
            "url": "https://files.pythonhosted.org/packages/59/8f/3f043f645121a24ff957dfe59c990de75a2e7a7a34cfc66ac568e66cef88/originpro-1.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-13 06:42:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "originpro"
}
        
Elapsed time: 0.14755s