Skip to main content

Client-Server architecture hauling Cryo-EM data

Project description

Murfey

A transporter for data from Diamond eBIC microscope and detector machines onto the Diamond network.

Who is Murfey?

Murfey, the package, is named after Eliza Murfey, the inventor:

Focusing on the mechanics of the railroad, inventor Eliza Murfey created devices designed to improve the bearings on rail wheels. With sixteen patents for her lubrication system, it was Murfey who designed the packings that would lubricate the axles with oil, aiding in the reduction of derailments caused by seized axles and bearings.

How do I set up a development environment?

We suggest you start with your favourite virtual environment (mamba/conda/python virtualenv/...), then install using the following command.

$ git clone git@github.com:DiamondLightSource/python-murfey.git
$ cd python-murfey
$ pip install -e .[client,server,developer]

The packages included under the [developer] installation key contain some helpful tools to aid you with developing Murfey further:

  • bump-my-version - Simplifies version control.
  • ipykernel - Enables interactive code development via Jupyter Notebooks.
  • pre-commit - Allows for the installation and running of hooks to help with linting, formatting, and type checking your code.
  • pytest - Used in conjunction with test functions to evaluate the reliability of your code.

Instructions for setting up the database for Murfey to register files to can be found here.

Finally, you may want to set up an ISPyB mock database server and a Zocalo development environment. The instructions for this are out of scope here.

You can then start the Murfey server with

$ murfey.server

and connect the client with

$ murfey --server http://127.0.0.1:8000

You can also install a client on a remote machine. This machine only needs to have a minimum Python installation and curl. Open the murfey server website in a browser on the client, and navigate to the bootstrap page. Then copy the displayed commands into a command line terminal.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

murfey-0.15.4.tar.gz (261.4 kB view details)

Uploaded Source

Built Distribution

murfey-0.15.4-py3-none-any.whl (291.6 kB view details)

Uploaded Python 3

File details

Details for the file murfey-0.15.4.tar.gz.

File metadata

  • Download URL: murfey-0.15.4.tar.gz
  • Upload date:
  • Size: 261.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for murfey-0.15.4.tar.gz
Algorithm Hash digest
SHA256 8148b6de2ad8f55da8f39d50fb332202c943690dbd91e9c8ca0e29459e834fd2
MD5 8c2c080dcfe64a621973ff89583b896e
BLAKE2b-256 f07c8cd834406b618298746d77c9d29748c5e140f550c856c4ac22f2505289be

See more details on using hashes here.

Provenance

The following attestation bundles were made for murfey-0.15.4.tar.gz:

Publisher: publish-version.yml on DiamondLightSource/python-murfey

Attestations:

File details

Details for the file murfey-0.15.4-py3-none-any.whl.

File metadata

  • Download URL: murfey-0.15.4-py3-none-any.whl
  • Upload date:
  • Size: 291.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for murfey-0.15.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5163c3b151bebc15557c028c04e10fedb59d81deb1fa6e173c4b16b63e80570b
MD5 be165e2cdf9701fb021c6d5f2fd88ba2
BLAKE2b-256 8b80d54b6da35fc4d1d7d37edd9f0ac3e38625a52c523988e8fd47d335fa59f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for murfey-0.15.4-py3-none-any.whl:

Publisher: publish-version.yml on DiamondLightSource/python-murfey

Attestations:

Supported by

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