Skip to content

Instantly share code, notes, and snippets.

@weidtn
Created July 10, 2022 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weidtn/bcc98890b6802cf8bcc5e9ed44122925 to your computer and use it in GitHub Desktop.
Save weidtn/bcc98890b6802cf8bcc5e9ed44122925 to your computer and use it in GitHub Desktop.
(define-module (packages python-xyz)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-build)
#:use-module (gnu packages serialization)
#:use-module (gnu packages time)
#:use-module (gnu packages check)
#:use-module (gnu packages python-check)
#:use-module (gnu packages machine-learning)
#:use-module (gnu packages web))
(define-public python-deeptrack
(package
(name "python-deeptrack")
(version "1.2.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "deeptrack" version))
(sha256
(base32 "1hg9cqcbnnjgj8kiwkrd1l20wsycfl1a03y71lzxq9lbsnla0gxi"))))
(build-system python-build-system)
(propagated-inputs
(list
python-setuptools-scm
python-more-itertools
python-numpy
python-pandas
python-pint
python-pydeepimagej
python-scikit-image
python-scipy
tensorflow
;; python-tensorflow-addons
;; python-tensorflow-probability
python-tqdm))
(home-page "https://github.com/softmatterlab/DeepTrack-2.0/")
(synopsis "A deep learning oriented microscopy image simulation package")
(description
"This package provides a deep learning oriented microscopy image simulation
package")
(license #f)))
(define-public python-pint
(package
(name "python-pint")
(version "0.19.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Pint" version))
(sha256
(base32 "1bsbiikm9i4saqc6mc3minkmrgnsgcg734agsvd7icqhyngrim71"))))
(build-system python-build-system)
(native-inputs
(list python-pytest
python-pytest-cov
python-pytest-mpl
python-pytest-subtests
python-setuptools-scm
python-dask
python-distributed
python-xarray
python-sparse))
(home-page "https://github.com/hgrecco/pint")
(synopsis "Physical quantities module")
(description "Physical quantities module")
(license license:bsd-3)))
(define-public python-pydeepimagej
(package
(name "python-pydeepimagej")
(version "2.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pydeepimagej" version))
(sha256
(base32 "06kznab88fmq73ds6bmpiw1zgrv3hrd8mxz272bpyfhs8x9ki4d2"))))
(build-system python-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs
(list python-datetime python-numpy python-ruamel.yaml python-scikit-image-0.17.2))
(home-page "https://deepimagej.github.io/deepimagej/")
(synopsis
"Python package to export TensorFlow models as DeepImageJ bundled models")
(description
"Python package to export TensorFlow models as DeepImageJ bundled models")
(license #f)))
(define-public python-datetime
(package
(name "python-datetime")
(version "4.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "DateTime" version))
(sha256
(base32 "0hgfm788k5lkar2k5yx2x3jfw5hqrp2y0z56rk36999mzxh62hb5"))))
(build-system python-build-system)
(propagated-inputs (list python-pytz python-zope-interface))
(home-page "https://github.com/zopefoundation/DateTime")
(synopsis
"This package provides a DateTime data type, as known from Zope. Unless you need to communicate with Zope APIs, you're probably better off using Python's built-in datetime module.")
(description
"This package provides a DateTime data type, as known from Zope. Unless you need
to communicate with Zope APIs, you're probably better off using Python's
built-in datetime module.")
(license #f)))
(define-public python-scikit-image-0.17.2
(package
(name "python-scikit-image")
(version "0.17.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "scikit-image" version))
(sha256
(base32 "1cyqqbcbrg3prc36wis0sm3q5rjhd7h9bp33jwfyixzhi02lr5dx"))))
(build-system python-build-system)
(arguments
; TODO: Some tests require running X11 server. Disable them?
;; See DEPENDS.txt for the list of build and run time requiremnts
'(#:tests? #f))
(propagated-inputs
`(("python-cloudpickle" ,python-cloudpickle)
("python-dask" ,python-dask)
("python-imageio" ,python-imageio)
("python-matplotlib" ,python-matplotlib)
("python-networkx" ,python-networkx)
("python-numpy" ,python-numpy)
("python-pillow" ,python-pillow)
("python-pywavelets" ,python-pywavelets)
("python-scipy" ,python-scipy)
("python-tifffile" ,python-tifffile)))
(native-inputs
`(("python-cython" ,python-cython)))
(home-page "https://scikit-image.org/")
(synopsis "Image processing in Python")
(description
"Scikit-image is a collection of algorithms for image processing.")
(license license:bsd-3)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment