Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • nloqo/snlo-helper
1 result
Show changes
Commits on Source (2)
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Build and Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8.11
# CHANGELOG
## Unreleased
## [0.2.0] - 2024-05-07
_Restructured package for easier maintenance and extension._
_Completely restructured package for easier maintenance and extension._
**Full Changelog**: https://github.com/BenediktBurger/snlo-helper/compare/v0.1.0...v0.2.0
## 0.1.0 - 2024-04-17
## [0.1.0] - 2024-04-17
_Initial release_
[0.2.0]: https://github.com/BenediktBurger/snlo-helper/releases/tag/v0.2.0
[0.1.0]: https://github.com/BenediktBurger/snlo-helper/releases/tag/v0.1.0
# SNLO-Helper
[![pypi release](https://img.shields.io/pypi/v/snlo-helper.svg)](https://pypi.org/project/snlo-helper/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11125163.svg)](https://doi.org/10.5281/zenodo.11125163)
[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)
SNLO-Helper helps to use [SNLO](https://as-photonics.com/products/snlo/) software for simulation of nonlinear optical processes in crystals.
An autoclicker clicks different buttons and fills fields in order to automate SNLO simulations.
......@@ -11,6 +15,13 @@ Attention:
- The autoclicker can be interrupted by moving the mouse into the top left corner of the screen.
Currently it supports the following functions (feel free to add more):
- Ref. Ind.
- 2D-mix-LP
- 2D-mix-SP
- Focus
## Installation
Install it executing `pip install -e .` in this folder or via `pip install git+https://git.rwth-aachen.de/nloqo/snlo-helper.git` to download it in the background and install it.
......@@ -54,4 +65,5 @@ For more examples see the `examples` folder.
## Contribution
You are welcome to contribute to this library. Just open an issue for suggestions or bug reports and open a pull request for code contributions.
You are welcome to contribute to this library.
Just open an issue for suggestions or bug reports and open a pull request for code contributions.
......@@ -2,7 +2,7 @@
name = "snlo-helper"
dynamic = ["version"]
authors = [
{name = "Benedikt Burger},
{name = "Benedikt Burger"},
]
description = "An autoclicker to automatically configure and read SNLO."
keywords = ["SNLO", "nonlinear optics", "simulation"]
......@@ -25,10 +25,16 @@ readme = "README.md"
full = ["numpy"]
[project.urls]
Repository = "https://github.com/BenediktBurger/snlo-helper"
Issues = "https://github.com/BenediktBurger/snlo-helper/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=7.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# write_to = "pyleco/_version.py"
[tool.ruff]
select = ["E", "F", "W"]
......