originpro


Nameoriginpro JSON
Version 1.1.11 PyPI version JSON
download
home_pagehttps://www.originlab.com
SummaryOriginPro Utilities
upload_time2024-11-05 09:34:22
maintainerNone
docs_urlNone
authorOriginLab
requires_python>=3.8
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 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": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Origin, Originlab",
    "author": "OriginLab",
    "author_email": "tech@originlab.com",
    "download_url": null,
    "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 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.11",
    "project_urls": {
        "Homepage": "https://www.originlab.com"
    },
    "split_keywords": [
        "origin",
        " originlab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b50eaffa367fde1aacd934206a6499415b254cbef02e9d9096d4d46ff133259",
                "md5": "e0ad9bc8b7dfb2d3cb5059f540a7fd46",
                "sha256": "293a9714273768a80da385f48422c146a795c0174cbc8b51566d4ad1935c46a8"
            },
            "downloads": -1,
            "filename": "originpro-1.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e0ad9bc8b7dfb2d3cb5059f540a7fd46",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 55368,
            "upload_time": "2024-11-05T09:34:22",
            "upload_time_iso_8601": "2024-11-05T09:34:22.126319Z",
            "url": "https://files.pythonhosted.org/packages/6b/50/eaffa367fde1aacd934206a6499415b254cbef02e9d9096d4d46ff133259/originpro-1.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-05 09:34:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "originpro"
}
        
Elapsed time: 0.50406s