Git Product home page Git Product logo

autogator's Introduction

PyroLab

Development version PyPI Version PyPI - Python Version Documentation Status License Latest Commit

AutoGator

AutoGator: The Automatic Chip Interrogator

A software package for camera-assisted motion control and experiment configuration of photonic integrated circuit interrogation platforms.

Developed by Sequoia Ploeg (for CamachoLab at Brigham Young University).

Installation

AutoGator is a client with algorithms for interacting with instruments controlled by other softwares. It typically communicates with hardware using socket connections.

This package is cross-platform and can be installed on any operating system.

AutoGator can be installed using pip:

pip install autogator

You can also clone the repository, navigate to the toplevel, and install in editable mode (make sure you have pip >= 21.1):

pip install -e .

Uninstallation

PyroLab creates data and configuration directories that aren't deleted when pip uninstalled. You can find their locations by running (before uninstallation):

import autogator
print(autogator.AUTOGATOR_DATA_DIR)

This folder can be safely deleted after uninstallation.

Releasing

Make sure you have committed a changelog file under docs/changelog titled <major>.<minor>.<patch>-changelog.md before bumping version. Also, the git directory should be clean (no uncommitted changes).

To bump version prior to a release, run one of the following commands:

bumpversion major
bumpversion minor
bumpversion patch

This will automatically create a git tag in the repository with the corrresponding version number and commit the modified files (where version numbers were updated). Pushing the tags (a manual process) to the remote will automatically create a new release. Releases are automatically published to PyPI and GitHub when git tags matching the "v*" pattern are created (e.g. "v0.2.1"), as bumpversion does.

After bumping version, you can view the tags on the local machine by running git tag. To push the tags to the remote server and trigger the release workflow, you can run git push origin <tagname>.

For code quality, please run isort and black before committing (note that the latest release of isort may not work through VSCode's integrated terminal, and it's safest to run it separately through another terminal).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.