simphony


Namesimphony JSON
Version 0.7.2 PyPI version JSON
download
home_pageNone
SummarySimphony: A simulator for photonic circuits
upload_time2024-08-14 02:14:04
maintainerNone
docs_urlNone
authorHyrum Gunther
requires_python>=3.9
licenseMIT
keywords photonics simulation circuits science engineering physics interconnect
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Simphony: A Simulator for Photonic Circuits

<div style="text-align: center">
<img alt="Development version" src="https://img.shields.io/badge/master-v0.7.2-informational">
<a href="https://pypi.python.org/pypi/simphony"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/simphony.svg"></a>
<img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/simphony">
<a href="https://github.com/BYUCamachoLab/simphony/actions"><img alt="Build Status" src="https://github.com/BYUCamachoLab/SiPANN/actions/workflows/build-and-test.yml/badge.svg"></a>
<a href="https://github.com/pre-commit/pre-commit"><img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white" alt="pre-commit" style="max-width:100%;"></a>
<a href="https://simphonyphotonics.readthedocs.io/"><img alt="Documentation Status" src="https://readthedocs.org/projects/simphonyphotonics/badge/?version=latest"></a>
<a href="https://pypi.python.org/pypi/simphony/"><img alt="License" src="https://img.shields.io/pypi/l/simphony.svg"></a>
<a href="https://github.com/BYUCamachoLab/simphony/commits/master"><img alt="Latest Commit" src="https://img.shields.io/github/last-commit/BYUCamachoLab/simphony.svg"></a>

<img src="https://github.com/BYUCamachoLab/simphony/blob/master/docs/simphony_logo.png?raw=true" style="max-width: 500px" alt="Simphony logo">
</div>

Simphony, a simulator for photonic circuits, is a fundamental package for designing and simulating photonic integrated circuits with Python.

**Key Features:**

- Free and open-source software provided under the MIT License
- Completely scriptable using Python 3.
- Cross-platform: runs on Windows, MacOS, and Linux.
- Subnetwork growth routines
- A simple, extensible framework for defining photonic component compact models.
- A SPICE-like method for defining photonic circuits.
- Complex simulation capabilities.
- Included model libraries from SiEPIC and SiPANN.

Developed by [CamachoLab](https://camacholab.byu.edu/) at
[Brigham Young University](https://www.byu.edu/).

## Installation

Simphony can be installed via pip for Python 3.8+:

```
python3 -m pip install simphony
```

## Documentation

The documentation is hosted [online](https://simphonyphotonics.readthedocs.io/en/latest/).

## Bibtex citation

```
@article{DBLP:journals/corr/abs-2009-05146,
  author    = {Sequoia Ploeg and
               Hyrum Gunther and
               Ryan M. Camacho},
  title     = {Simphony: An open-source photonic integrated circuit simulation framework},
  journal   = {CoRR},
  volume    = {abs/2009.05146},
  year      = {2020},
  url       = {https://arxiv.org/abs/2009.05146},
  eprinttype = {arXiv},
  eprint    = {2009.05146},
  timestamp = {Thu, 17 Sep 2020 12:49:52 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2009-05146.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}
```

## Development

We welcome contributions to Simphony in the form of bug reports, feature
requests, and pull requests. Please see the [contributing
guide](https://simphonyphotonics.readthedocs.io/en/stable/dev/contributing.html).

To develop locally, clone the repository and run the ``make`` commands to set
up your development environment.

```bash
git clone https://github.com/BYUCamachoLab/simphony.git
python3 -m venv env   # or use your preferred virtual environment tool
source env/bin/activate
make install
```

We use pre-commit to maintain code quality. The hooks are automatically 
installed when invoking the make targets. Pre-commit will now run on every
commit. If it makes any modifications, the commit will fail and you'll have
to restage the changes before continuing with the commit.

If you truly, desperately need to skip pre-commit in one instance, you can use:

```bash
git commit --no-verify -m "Commit message"
```

Pleasee don't make a habit of it.

There are a few other useful targets in the Makefile:

- ``make test``: Run the unit tests
- ``make doc``: Build the documentation

## Distribution

Simphony is available on PyPI and can be installed via pip:

```
python3 -m pip install simphony
```

## License

Simphony is licensed under the MIT license. See the [LICENSE](LICENSE) file for
more details.

## Releasing (Danger Zone)

**Only the project maintainer should create releases.**

A note on the development cycle. The ``master`` branch is the "latest" branch
with a version of the project that *always works*. Features and bug fixes are
developed in separate branches and then merged into master when ready.

When preparing for a new release, it's appropriate to increment the version
number in advance of the release and before all the changes are merged in. You 
can start the next version and increment the version number by running:

```
make major
make minor
make patch
```

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
which means that the version number is incremented according to the following
rules:

* MAJOR version when you make incompatible API changes,
* MINOR version when you add functionality in a backwards compatible manner, and
* PATCH version when you make backwards compatible bug fixes.

There are also software lifecycle parts to the version number:

* BUILD version is for multiple versions within a release (i.e. "rc1", "rc2", etc.)
* RELEASE version cycles through "rc(n)" and then empty string for final release.

A version with a "rc" number indicates it is not a final release. When you're
ready to create the final release, make sure you've filled out the
corresponding entry in the [CHANGELOG](CHANGELOG.md). Follow the format of
previous recent entries. Make sure you have a clean working tree (git). Then,
run:

```
bumpversion release
make release
```

This will remove the "rc" number, tag the commit, push the tag to git, upload
a build to PyPI, and publish the documentation to ReadTheDocs. Because this
process is irreversible and version numbers cannot be reclaimed from PyPI, make
sure all tests are passing and the documentation is up to date before running
this command.

A standard version number progression might look something like this:

* 2.0.1
* 2.0.2rc0
* 2.0.2rc1
* 2.0.2

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "simphony",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Sequoia Ploeg <sequoiap4@gmail.com>, Christian Carver <cjcarv3r@byu.edu>, BYU CamachoLab <camacho@byu.edu>",
    "keywords": "photonics, simulation, circuits, science, engineering, physics, interconnect",
    "author": "Hyrum Gunther",
    "author_email": "Sequoia Ploeg <sequoiap4@gmail.com>, BYU CamachoLab <camacho@byu.edu>",
    "download_url": "https://files.pythonhosted.org/packages/f3/2c/19cda25a032de519c156bc89e4ff2ad82793df1a9b5a90519428f2d9b6d7/simphony-0.7.2.tar.gz",
    "platform": null,
    "description": "# Simphony: A Simulator for Photonic Circuits\n\n<div style=\"text-align: center\">\n<img alt=\"Development version\" src=\"https://img.shields.io/badge/master-v0.7.2-informational\">\n<a href=\"https://pypi.python.org/pypi/simphony\"><img alt=\"PyPI Version\" src=\"https://img.shields.io/pypi/v/simphony.svg\"></a>\n<img alt=\"PyPI - Python Version\" src=\"https://img.shields.io/pypi/pyversions/simphony\">\n<a href=\"https://github.com/BYUCamachoLab/simphony/actions\"><img alt=\"Build Status\" src=\"https://github.com/BYUCamachoLab/SiPANN/actions/workflows/build-and-test.yml/badge.svg\"></a>\n<a href=\"https://github.com/pre-commit/pre-commit\"><img src=\"https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\" alt=\"pre-commit\" style=\"max-width:100%;\"></a>\n<a href=\"https://simphonyphotonics.readthedocs.io/\"><img alt=\"Documentation Status\" src=\"https://readthedocs.org/projects/simphonyphotonics/badge/?version=latest\"></a>\n<a href=\"https://pypi.python.org/pypi/simphony/\"><img alt=\"License\" src=\"https://img.shields.io/pypi/l/simphony.svg\"></a>\n<a href=\"https://github.com/BYUCamachoLab/simphony/commits/master\"><img alt=\"Latest Commit\" src=\"https://img.shields.io/github/last-commit/BYUCamachoLab/simphony.svg\"></a>\n\n<img src=\"https://github.com/BYUCamachoLab/simphony/blob/master/docs/simphony_logo.png?raw=true\" style=\"max-width: 500px\" alt=\"Simphony logo\">\n</div>\n\nSimphony, a simulator for photonic circuits, is a fundamental package for designing and simulating photonic integrated circuits with Python.\n\n**Key Features:**\n\n- Free and open-source software provided under the MIT License\n- Completely scriptable using Python 3.\n- Cross-platform: runs on Windows, MacOS, and Linux.\n- Subnetwork growth routines\n- A simple, extensible framework for defining photonic component compact models.\n- A SPICE-like method for defining photonic circuits.\n- Complex simulation capabilities.\n- Included model libraries from SiEPIC and SiPANN.\n\nDeveloped by [CamachoLab](https://camacholab.byu.edu/) at\n[Brigham Young University](https://www.byu.edu/).\n\n## Installation\n\nSimphony can be installed via pip for Python 3.8+:\n\n```\npython3 -m pip install simphony\n```\n\n## Documentation\n\nThe documentation is hosted [online](https://simphonyphotonics.readthedocs.io/en/latest/).\n\n## Bibtex citation\n\n```\n@article{DBLP:journals/corr/abs-2009-05146,\n  author    = {Sequoia Ploeg and\n               Hyrum Gunther and\n               Ryan M. Camacho},\n  title     = {Simphony: An open-source photonic integrated circuit simulation framework},\n  journal   = {CoRR},\n  volume    = {abs/2009.05146},\n  year      = {2020},\n  url       = {https://arxiv.org/abs/2009.05146},\n  eprinttype = {arXiv},\n  eprint    = {2009.05146},\n  timestamp = {Thu, 17 Sep 2020 12:49:52 +0200},\n  biburl    = {https://dblp.org/rec/journals/corr/abs-2009-05146.bib},\n  bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n```\n\n## Development\n\nWe welcome contributions to Simphony in the form of bug reports, feature\nrequests, and pull requests. Please see the [contributing\nguide](https://simphonyphotonics.readthedocs.io/en/stable/dev/contributing.html).\n\nTo develop locally, clone the repository and run the ``make`` commands to set\nup your development environment.\n\n```bash\ngit clone https://github.com/BYUCamachoLab/simphony.git\npython3 -m venv env   # or use your preferred virtual environment tool\nsource env/bin/activate\nmake install\n```\n\nWe use pre-commit to maintain code quality. The hooks are automatically \ninstalled when invoking the make targets. Pre-commit will now run on every\ncommit. If it makes any modifications, the commit will fail and you'll have\nto restage the changes before continuing with the commit.\n\nIf you truly, desperately need to skip pre-commit in one instance, you can use:\n\n```bash\ngit commit --no-verify -m \"Commit message\"\n```\n\nPleasee don't make a habit of it.\n\nThere are a few other useful targets in the Makefile:\n\n- ``make test``: Run the unit tests\n- ``make doc``: Build the documentation\n\n## Distribution\n\nSimphony is available on PyPI and can be installed via pip:\n\n```\npython3 -m pip install simphony\n```\n\n## License\n\nSimphony is licensed under the MIT license. See the [LICENSE](LICENSE) file for\nmore details.\n\n## Releasing (Danger Zone)\n\n**Only the project maintainer should create releases.**\n\nA note on the development cycle. The ``master`` branch is the \"latest\" branch\nwith a version of the project that *always works*. Features and bug fixes are\ndeveloped in separate branches and then merged into master when ready.\n\nWhen preparing for a new release, it's appropriate to increment the version\nnumber in advance of the release and before all the changes are merged in. You \ncan start the next version and increment the version number by running:\n\n```\nmake major\nmake minor\nmake patch\n```\n\nThis project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),\nwhich means that the version number is incremented according to the following\nrules:\n\n* MAJOR version when you make incompatible API changes,\n* MINOR version when you add functionality in a backwards compatible manner, and\n* PATCH version when you make backwards compatible bug fixes.\n\nThere are also software lifecycle parts to the version number:\n\n* BUILD version is for multiple versions within a release (i.e. \"rc1\", \"rc2\", etc.)\n* RELEASE version cycles through \"rc(n)\" and then empty string for final release.\n\nA version with a \"rc\" number indicates it is not a final release. When you're\nready to create the final release, make sure you've filled out the\ncorresponding entry in the [CHANGELOG](CHANGELOG.md). Follow the format of\nprevious recent entries. Make sure you have a clean working tree (git). Then,\nrun:\n\n```\nbumpversion release\nmake release\n```\n\nThis will remove the \"rc\" number, tag the commit, push the tag to git, upload\na build to PyPI, and publish the documentation to ReadTheDocs. Because this\nprocess is irreversible and version numbers cannot be reclaimed from PyPI, make\nsure all tests are passing and the documentation is up to date before running\nthis command.\n\nA standard version number progression might look something like this:\n\n* 2.0.1\n* 2.0.2rc0\n* 2.0.2rc1\n* 2.0.2\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simphony: A simulator for photonic circuits",
    "version": "0.7.2",
    "project_urls": {
        "Bug Reports": "https://github.com/BYUCamachoLab/simphony/issues",
        "Documentation": "https://simphonyphotonics.readthedocs.io/en/stable/",
        "Homepage": "https://simphonyphotonics.readthedocs.io/en/stable/",
        "Research Group": "https://camacholab.byu.edu/",
        "Source": "https://github.com/BYUCamachoLab/simphony"
    },
    "split_keywords": [
        "photonics",
        " simulation",
        " circuits",
        " science",
        " engineering",
        " physics",
        " interconnect"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12ae607e2e70e449a7a3e330c45a7668b75da785ac7787dcdc7e1c03c2f0fe15",
                "md5": "b34f73b294965659cb1d614a91922e3c",
                "sha256": "2bd11ce97b5fef3c83e018b556f1db5321456d940502c94188c93023f4533966"
            },
            "downloads": -1,
            "filename": "simphony-0.7.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b34f73b294965659cb1d614a91922e3c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4935548,
            "upload_time": "2024-08-14T02:14:02",
            "upload_time_iso_8601": "2024-08-14T02:14:02.507809Z",
            "url": "https://files.pythonhosted.org/packages/12/ae/607e2e70e449a7a3e330c45a7668b75da785ac7787dcdc7e1c03c2f0fe15/simphony-0.7.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f32c19cda25a032de519c156bc89e4ff2ad82793df1a9b5a90519428f2d9b6d7",
                "md5": "537503004215de7e770f703c881ece85",
                "sha256": "d2dac0b03fafd7d47fd98b87c2ca41146ad25f93f126bcfb28ca4764ed04207f"
            },
            "downloads": -1,
            "filename": "simphony-0.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "537503004215de7e770f703c881ece85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4545141,
            "upload_time": "2024-08-14T02:14:04",
            "upload_time_iso_8601": "2024-08-14T02:14:04.071907Z",
            "url": "https://files.pythonhosted.org/packages/f3/2c/19cda25a032de519c156bc89e4ff2ad82793df1a9b5a90519428f2d9b6d7/simphony-0.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-14 02:14:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BYUCamachoLab",
    "github_project": "simphony",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "simphony"
}
        
Elapsed time: 3.75757s