nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
44 stars 33 forks source link

Creating a docker container of python nionswift API #777

Closed aneesalnajjar closed 6 months ago

aneesalnajjar commented 2 years ago

Hi @cmeyer, Can you provide a docker container that containerizes all the neionswift tools and applications as Python API, including the sim and use cases?

Anees Al Najjar

cmeyer commented 2 years ago

Can you describe your use case? There are typically too many variants (3 platforms x 3 versions of Python) for us to usefully provide a docker container.

We already provide an installer on macOS and Windows which bundles everything. The most recent downloads are:

nion.com/swift/files/NionSwift-0.16.1.dmg nion.com/swift/files/NionSwift-0.16.1.msi

(note: you have to copy and paste the links into your browser because GitHub does not allow direct downloads from links within issues).

The builds for the installer are here: https://github.com/nion-software/nionswift-installer

In addition, we have the .devcontainer Dockerfile that creates a codespace that I explored for use with documentation; you could use that as a starting point.

aneesalnajjar commented 2 years ago

Morning Chris,

So the idea is to have scientific data and nionswift simulator in different places, and the best way to implement that is via having containers for the data and the nionswift and sim as well. For the latter just asking on a python3 API platform. Don’t have a certain use case, but if you have some implemented ones, appreciate to the include them.

Thanks for your time and effort.

Anees

From: Chris Meyer @.> Sent: Thursday, December 16, 2021 10:44 AM To: nion-software/nionswift @.> Cc: Al Najjar, Anees @.>; Author @.> Subject: [EXTERNAL] Re: [nion-software/nionswift] Creating a docker container of python nionswift API (Issue #777)

Can you describe your use case? There are typically too many variants (3 platforms x 3 versions of Python) for us to usefully provide a docker container.

We already provide an installer on macOS and Windows which bundles everything. The most recent downloads are:

nion.com/swift/files/NionSwift-0.16.1.dmg nion.com/swift/files/NionSwift-0.16.1.msi

(note: you have to copy and paste the links into your browser because GitHub does not allow direct downloads from links within issues).

The builds for the installer are here: https://github.com/nion-software/nionswift-installer

In addition, we have the .devcontainer Dockerfilehttps://github.com/nion-software/nionswift/tree/master/.devcontainer that creates a codespacehttps://github.com/features/codespaces that I explored for use with documentation; you could use that as a starting point.

— Reply to this email directly, view it on GitHubhttps://github.com/nion-software/nionswift/issues/777#issuecomment-995937758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADSPRZVCIIW6THH5VOLTWZLURICNXANCNFSM5KGO33IA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.**@.>>

cmeyer commented 2 years ago

In order for this to be useful, the following issues should be addressed:

Once these items have been addressed, we can provide docker images (probably Ubuntu or similar) which provide the Swift headless installation. The headless installation will be able to import, manipulate, run computations on, and export projects. This would also be great for providing parallel processing capabilities in the cloud.

simon-77 commented 2 years ago

Dear all

I just created a docker container for running Nion Swift GUI in an encapsulated way.

If you are interested, check out my github repository: https://github.com/simon-77/nionswift-docker

Best regards, Simon