Skip to main content

oasys2-esrf-extensions

Project description

OASYS2-ESRF-Extensions

OASYS2 extensions for the ESRF

This repository contains extensions to Oasys developed at ESRF.

Install as user

To install the add-on as user:

  • In the Oasys window, open "Options->Add-ons..."
  • click the button "Add more" and enter "OASYS2-ESRF-Extensions". You will see a new entry "ESRFExtensions" in the add-on list. Check it and click "OK"
  • Restart Oasys.

addon menu

Once it is installed, it should populate the widget bar on the side.

side menu

Install as developper

To install it as developper, download it from github:

git clone  https://github.com/oasys-esrf-kit/OASYS2-ESRF-Extensions
cd OASYS2-ESRF-Extensions

Then link the source code to your Oasys python (note that you must use the python that Oasys uses):

python -m pip install -e . --no-deps --no-binary :all:

When restarting Oasys, you will see the ESRF addons there.

Upload new version to the pypi server

First create a new version using your developper installation. Do not forget to increment the version number in setup.py

  • Then run:
python setup.py sdist
  • Followed by:
python -m twine upload dist/OASYS2-ESRF-Extensions-X.X.X.tar.gz

You need an account in pypi.org and be authorized in https://pypi.org/project/OASYS2-ESRF-Extensions/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oasys2_esrf_extensions-0.0.16.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oasys2_esrf_extensions-0.0.16-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file oasys2_esrf_extensions-0.0.16.tar.gz.

File metadata

  • Download URL: oasys2_esrf_extensions-0.0.16.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for oasys2_esrf_extensions-0.0.16.tar.gz
Algorithm Hash digest
SHA256 2c2dcc055d690fbb09dcd8f1ee2a3b872b37eb9b8e2609d522ecbe2b4f19e18d
MD5 2aa264cb6530c574a352064fd6ae1a7c
BLAKE2b-256 69fbedb12c3828710e6d21e19874fb637e2fd107c5fb073b154caa82ebf9855f

See more details on using hashes here.

File details

Details for the file oasys2_esrf_extensions-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for oasys2_esrf_extensions-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 5e81b18ab57234feeac1805c330f54728afdd06b21977522b12d7a39187272d4
MD5 e9642117aa64b2342b9446dbc6e8f2cc
BLAKE2b-256 977fb68f4272afcfc21d5ec04f5e9e1222269a4ebc0cfb0ee331a623001f3f55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page