Skip to content
Snippets Groups Projects
Commit 72f160b4 authored by Alice Brenon's avatar Alice Brenon
Browse files

Apply guix styling and wrap lines in README

parent 71c227b4
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,6 @@ detailed.
## Contributing
Your contributions are most welcome. If you have an account on the LIRIS'
[gitlab instance](https://gitlab.liris.cnrs.fr/), just ask us for the rights. Otherwise, send your `git`
paches by email to the author of commit
[gitlab instance](https://gitlab.liris.cnrs.fr/), just ask us for the rights.
Otherwise, send your `git` paches by email to the author of commit
`7e422c33b70409ecc47336b5583977f43669e45f`.
(define-module (geode packages annotation)
#:use-module ((gnu packages check) #:select (python-coverage
python-mock
python-pytest
python-pytest-cov
python-pytest-sugar
python-pytest-xdist))
#:use-module ((gnu packages geo) #:select (python-geopandas))
#:use-module ((gnu packages machine-learning) #:select (python-pytorch
python-scikit-learn))
#:use-module ((gnu packages protobuf) #:select (python-protobuf))
#:use-module ((gnu packages python-check) #:select (python-mypy
python-pytest-rerunfailures))
#:use-module ((gnu packages python-crypto) #:select (python-paramiko))
#:use-module ((gnu packages python-science) #:select (python-pandas))
#:use-module ((gnu packages python-web) #:select (python-azure-core
python-azure-common
python-azure-storage-blob
python-google-cloud-storage
python-requests
python-responses))
#:use-module ((gnu packages python-xyz) #:select (python-autoflake
python-black
python-boto3
python-catalogue
python-check-manifest
python-click
python-colorama
python-contextvars
python-cymem
python-cython
python-dataclasses
python-emoji
python-flake8
python-folium
python-geojson
python-isort
python-jinja2
python-langcodes
python-matplotlib
python-mdx-include
python-mkdocs
python-mkdocs-material
python-moto
python-murmurhash
python-numpy
python-packaging
python-pathlib2
python-pre-commit
python-preshed
python-pydantic
python-shellingham
python-six
python-tqdm
python-typer
python-typing-extensions
python-wasabi))
#:use-module ((gnu packages serialization) #:select (python-ruamel.yaml))
#:use-module ((gnu packages xml) #:select (python-lxml))
#:use-module ((guix build-system copy) #:select (copy-build-system))
#:use-module ((guix build-system python) #:select (pypi-uri
python-build-system))
#:use-module ((guix download) #:select (url-fetch url-fetch/zipbomb))
#:use-module ((guix gexp) #:select (gexp))
#:use-module ((guix licenses) #:select (asl2.0 bsd-2 bsd-3 expat))
#:use-module ((guix packages) #:select (base32
origin
package
search-path-specification)))
#:use-module ((gnu packages check)
#:select (python-coverage
python-mock python-pytest
python-pytest-cov
python-pytest-sugar
python-pytest-xdist))
#:use-module ((gnu packages geo)
#:select (python-geopandas))
#:use-module ((gnu packages machine-learning)
#:select (python-pytorch python-scikit-learn))
#:use-module ((gnu packages protobuf)
#:select (python-protobuf))
#:use-module ((gnu packages python-check)
#:select (python-mypy python-pytest-rerunfailures))
#:use-module ((gnu packages python-crypto)
#:select (python-paramiko))
#:use-module ((gnu packages python-science)
#:select (python-pandas))
#:use-module ((gnu packages python-web)
#:select (python-azure-core
python-azure-common
python-azure-storage-blob
python-google-cloud-storage
python-requests python-responses))
#:use-module ((gnu packages python-xyz)
#:select (python-autoflake
python-black
python-boto3
python-catalogue
python-check-manifest
python-click
python-colorama
python-contextvars
python-cymem
python-cython
python-dataclasses
python-emoji
python-flake8
python-folium
python-geojson
python-isort
python-jinja2
python-langcodes
python-matplotlib
python-mdx-include
python-mkdocs
python-mkdocs-material
python-moto
python-murmurhash
python-numpy
python-packaging
python-pathlib2
python-pre-commit
python-preshed
python-pydantic
python-shellingham
python-six
python-tqdm
python-typer
python-typing-extensions
python-wasabi))
#:use-module ((gnu packages serialization)
#:select (python-ruamel.yaml))
#:use-module ((gnu packages xml)
#:select (python-lxml))
#:use-module ((guix build-system copy)
#:select (copy-build-system))
#:use-module ((guix build-system python)
#:select (pypi-uri python-build-system))
#:use-module ((guix download)
#:select (url-fetch url-fetch/zipbomb))
#:use-module ((guix gexp)
#:select (gexp))
#:use-module ((guix licenses)
#:select (asl2.0 bsd-2 bsd-3 expat))
#:use-module ((guix packages)
#:select (base32 origin package search-path-specification)))
(define-public python-blis
(package
......@@ -76,19 +85,18 @@
(method url-fetch)
(uri (pypi-uri "blis" version))
(sha256
(base32
"0vrnzk9jx7fcl56q6zpa4w4mxkr4iknxs42fngn9g78zh1kc9skw"))))
(base32
"0vrnzk9jx7fcl56q6zpa4w4mxkr4iknxs42fngn9g78zh1kc9skw"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f))
(list #:tests? #f))
(propagated-inputs (list python-numpy))
(native-inputs (list python-cython))
(home-page "https://github.com/explosion/cython-blis")
(synopsis
"The Blis BLAS-like linear algebra library, as a self-contained C-extension.")
"The Blis BLAS-like linear algebra library, as a self-contained C-extension.")
(description
"The Blis BLAS-like linear algebra library, as a self-contained C-extension.")
"The Blis BLAS-like linear algebra library, as a self-contained C-extension.")
(license bsd-3)))
(define-public python-confection
......@@ -99,11 +107,10 @@
(method url-fetch)
(uri (pypi-uri "confection" version))
(sha256
(base32
"1lwarwm0idf9dnk2zyi1v4ibmv953rcb44hn720qhhfxpni99y2z"))))
(base32
"1lwarwm0idf9dnk2zyi1v4ibmv953rcb44hn720qhhfxpni99y2z"))))
(build-system python-build-system)
(propagated-inputs (list python-pydantic
python-srsly
(propagated-inputs (list python-pydantic python-srsly
python-typing-extensions))
(native-inputs (list python-pytest))
(home-page "https://github.com/explosion/confection")
......@@ -115,12 +122,12 @@
(package
(name "python-gpxpy")
(version "1.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "gpxpy" version))
(sha256
(base32 "0247ddhrg42x1adlmgxjccni6g3cpj5vh16k7j1pmq7a8n4km6g6"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "gpxpy" version))
(sha256
(base32
"0247ddhrg42x1adlmgxjccni6g3cpj5vh16k7j1pmq7a8n4km6g6"))))
(build-system python-build-system)
(home-page "https://github.com/tkrajina/gpxpy")
(synopsis "GPX file parser and GPS track manipulation library")
......@@ -138,10 +145,10 @@
(base32
"0jmnskclbzp5ri1xx5hgys49iddm1yz20w4qgl842dyzv9dj2y1i"))))
(build-system python-build-system)
(propagated-inputs (list python-dataclasses python-smart-open-5 python-typer))
(propagated-inputs (list python-dataclasses python-smart-open-5
python-typer))
(arguments
(list
#:tests? #f))
(list #:tests? #f))
(home-page "https://github.com/justindujardin/pathy")
(synopsis "pathlib.Path subclasses for local and cloud bucket storage")
(description "pathlib.Path subclasses for local and cloud bucket storage")
......@@ -155,14 +162,13 @@
(method url-fetch)
(uri (pypi-uri "perdido" version))
(sha256
(base32
"1j82mmaayv6ibxdbrhb44ryikh1bwc1h6jjp3nncyij3qlhvdbna"))))
(base32
"1j82mmaayv6ibxdbrhb44ryikh1bwc1h6jjp3nncyij3qlhvdbna"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(list #:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(propagated-inputs (list python-folium
python-geojson
python-geopandas
......@@ -186,12 +192,11 @@
(method url-fetch)
(uri (pypi-uri "smart_open" version))
(sha256
(base32
"05sckm0rnrdk7n888h8yivgwxj25qbq56sd97bssi4ksf5cggavm"))))
(base32
"05sckm0rnrdk7n888h8yivgwxj25qbq56sd97bssi4ksf5cggavm"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f))
(list #:tests? #f))
(native-inputs (list python-azure-common
python-azure-core
python-azure-storage-blob
......@@ -206,9 +211,9 @@
python-responses))
(home-page "https://github.com/piskvorky/smart_open")
(synopsis
"Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...)")
"Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...)")
(description
"Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip,
"Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip,
bz2...)")
(license expat)))
......@@ -220,14 +225,13 @@
(method url-fetch)
(uri (pypi-uri "spacy" version))
(sha256
(base32
"0qz467an2qgcs6ahr1rpcf38xl45rpkczicslmj0wv4a6ifwziar"))))
(base32
"0qz467an2qgcs6ahr1rpcf38xl45rpkczicslmj0wv4a6ifwziar"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(list #:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(propagated-inputs (list python-catalogue
python-cymem
python-jinja2
......@@ -249,9 +253,9 @@
(home-page "https://spacy.io")
(synopsis "Industrial-strength Natural Language Processing (NLP)
in Python")
(description
"Industrial-strength Natural Language Processing (NLP) in Python")
(license expat)))
(description
"Industrial-strength Natural Language Processing (NLP) in Python")
(license expat)))
(define-public python-srsly
(package
......@@ -261,14 +265,11 @@
(method url-fetch)
(uri (pypi-uri "srsly" version))
(sha256
(base32
"0a5196rg2ycs6y8zf17ghv72kfy22iy1n930kkqi4rvvca0nb878"))))
(base32
"0a5196rg2ycs6y8zf17ghv72kfy22iy1n930kkqi4rvvca0nb878"))))
(build-system python-build-system)
(propagated-inputs (list python-catalogue))
(native-inputs (list python-cython
python-mock
python-numpy
python-pytest
(native-inputs (list python-cython python-mock python-numpy python-pytest
python-ruamel.yaml))
(home-page "https://github.com/explosion/srsly")
(synopsis "Modern high-performance serialization utilities for Python")
......@@ -279,40 +280,38 @@
(package
(name "python-stanza")
(version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stanza" version))
(sha256
(base32 "1wqhz82p158vhch3z3vglgy0s8qwr2aj83dm6y5qgkpbximc3l3h"))))
(source (origin
(method url-fetch)
(uri (pypi-uri "stanza" version))
(sha256
(base32
"1wqhz82p158vhch3z3vglgy0s8qwr2aj83dm6y5qgkpbximc3l3h"))))
(build-system python-build-system)
(propagated-inputs
(list python-emoji
python-numpy
python-protobuf
python-requests
python-six
python-pytorch
python-tqdm))
(propagated-inputs (list python-emoji
python-numpy
python-protobuf
python-requests
python-six
python-pytorch
python-tqdm))
(native-inputs (list python-check-manifest))
(native-search-paths
(list
(search-path-specification (variable "STANZA_RESOURCES_DIR")
(files '("lib/stanza_resources")))))
(list (search-path-specification
(variable "STANZA_RESOURCES_DIR")
(files '("lib/stanza_resources")))))
(arguments
`(#:tests? #f
#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test"))))
)))
`(#:tests? #f
#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "setup.py" "test")))))))
(home-page "https://github.com/stanfordnlp/stanza")
(synopsis
"A Python NLP Library for Many Human Languages, by the Stanford NLP Group")
"A Python NLP Library for Many Human Languages, by the Stanford NLP Group")
(description
"This package provides a Python NLP Library for Many Human Languages, by the
"This package provides a Python NLP Library for Many Human Languages, by the
Stanford NLP Group")
(license asl2.0)))
......@@ -324,12 +323,11 @@
(method url-fetch)
(uri (pypi-uri "thinc" version))
(sha256
(base32
"1k9bsl6rsai4szx3s1mw65i87r7r38dxyrq3iv4smjzkhhlji44v"))))
(base32
"1k9bsl6rsai4szx3s1mw65i87r7r38dxyrq3iv4smjzkhhlji44v"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f))
(list #:tests? #f))
(propagated-inputs (list python-blis
python-catalogue
python-confection
......@@ -346,11 +344,11 @@
(native-inputs (list python-cython python-mypy python-packaging))
(home-page "https://github.com/explosion/thinc")
(synopsis
"A refreshing functional take on deep learning, compatible with your favorite libraries")
"A refreshing functional take on deep learning, compatible with your favorite libraries")
(description
"This package provides a refreshing functional take on deep learning, compatible
"This package provides a refreshing functional take on deep learning, compatible
with your favorite libraries")
(license expat)))
(license expat)))
(define-public python-typer-0.5
(package
......@@ -360,8 +358,8 @@
(method url-fetch)
(uri (pypi-uri "typer" version))
(sha256
(base32
"00zcc8gk37q7j5y0ycawf6699mp5fyk6paavid3p7paj05n1q9mq"))))
(base32
"00zcc8gk37q7j5y0ycawf6699mp5fyk6paavid3p7paj05n1q9mq"))))
(build-system python-build-system)
(propagated-inputs (list python-autoflake
python-black
......@@ -382,9 +380,9 @@
python-shellingham))
(home-page "https://github.com/tiangolo/typer")
(synopsis
"Typer, build great CLIs. Easy to code. Based on Python type hints.")
"Typer, build great CLIs. Easy to code. Based on Python type hints.")
(description
"Typer, build great CLIs. Easy to code. Based on Python type hints.")
"Typer, build great CLIs. Easy to code. Based on Python type hints.")
(license expat)))
(define-public python-typer-cli
......@@ -399,8 +397,7 @@
"15phfgb93pd3wgnbpn9kidmvlxiz2z1d7vkh17xj0v1jq2jsgi6j"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f))
(list #:tests? #f))
(propagated-inputs (list python-colorama python-shellingham python-typer))
(home-page "https://github.com/tiangolo/typer-cli")
(synopsis
......
(define-module (geode packages models)
#:use-module ((guix build-system copy) #:select (copy-build-system))
#:use-module ((guix build-system python) #:select (python-build-system))
#:use-module ((guix download) #:select (url-fetch url-fetch/zipbomb))
#:use-module ((guix gexp) #:select (gexp))
#:use-module ((guix licenses) #:select (asl2.0 expat))
#:use-module ((guix packages) #:select (base32 origin package)))
#:use-module ((guix build-system copy)
#:select (copy-build-system))
#:use-module ((guix build-system python)
#:select (python-build-system))
#:use-module ((guix download)
#:select (url-fetch url-fetch/zipbomb))
#:use-module ((guix gexp)
#:select (gexp))
#:use-module ((guix licenses)
#:select (asl2.0 expat))
#:use-module ((guix packages)
#:select (base32 origin package)))
(define-public spacy-fr-core-news-sm
(package
(name "spacy-fr-core-news-sm")
(version "3.4.0")
(source
(origin
(method url-fetch)
(uri
"https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.4.0/fr_core_news_sm-3.4.0.tar.gz")
(sha256
(base32 "1vq1lnvqiap25b9h38fa7hnv1n1xfx3703j4z2k1f56a0k4y5vbr"))))
(source (origin
(method url-fetch)
(uri
"https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.4.0/fr_core_news_sm-3.4.0.tar.gz")
(sha256
(base32
"1vq1lnvqiap25b9h38fa7hnv1n1xfx3703j4z2k1f56a0k4y5vbr"))))
(build-system python-build-system)
(arguments
(list
#:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(list #:tests? #f
#:phases #~(modify-phases %standard-phases
(delete 'sanity-check))))
(home-page "https://spacy.io/models/fr")
(synopsis "French model for SpaCy")
(description "When they package their stuff correctly, maybe ?")
......@@ -32,25 +37,22 @@
(package
(name "stanza-fr")
(version "1.3.0")
(source
(origin
(method url-fetch/zipbomb)
(uri
(string-append
"https://huggingface.co/stanfordnlp/stanza-fr/resolve/v"
version
"/models/default.zip"))
(sha256
(base32 "0rjcgvwbxgxgbf3spf367p07bmycfkipn27n6qm63jbq35gx9b3d"))))
(source (origin
(method url-fetch/zipbomb)
(uri (string-append
"https://huggingface.co/stanfordnlp/stanza-fr/resolve/v"
version "/models/default.zip"))
(sha256
(base32
"0rjcgvwbxgxgbf3spf367p07bmycfkipn27n6qm63jbq35gx9b3d"))))
(build-system copy-build-system)
(propagated-inputs (list stanza-resources))
(arguments
(list #:install-plan
#~'(("." "lib/stanza_resources/fr"))))
(list #:install-plan #~'(("." "lib/stanza_resources/fr"))))
(home-page "https://stanfordnlp.github.io/stanza/download_models.html")
(synopsis "French model for Stanza")
(description
"This package provides a Python NLP Library for Many Human Languages, by
"This package provides a Python NLP Library for Many Human Languages, by
the Stanford NLP Group")
(license asl2.0)))
......@@ -58,23 +60,19 @@
(package
(name "stanza-resources")
(version "1.3.0")
(source
(origin
(method url-fetch)
(uri
(string-append
"https://downloads.cs.stanford.edu/nlp/software/stanza/stanza-resources/resources_"
version
".json"))
(file-name "resources.json")
(sha256
(base32 "00q6jw8sicbsp42dabx3w586jqb0hs4n2wz5c31cs6n5bz5aaa64"))))
(source (origin
(method url-fetch)
(uri (string-append
"https://downloads.cs.stanford.edu/nlp/software/stanza/stanza-resources/resources_"
version ".json"))
(file-name "resources.json")
(sha256
(base32
"00q6jw8sicbsp42dabx3w586jqb0hs4n2wz5c31cs6n5bz5aaa64"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("resources.json" "lib/stanza_resources/"))))
(list #:install-plan #~'(("resources.json" "lib/stanza_resources/"))))
(home-page "??")
(synopsis "Metadata for the static resources for Stanza")
(description
"???")
(description "???")
(license asl2.0)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment