aboutsummaryrefslogtreecommitdiff
path: root/battering/packages/python-xyz.scm
blob: 5ce31c7b9bab57763bf197398cbda36f4b21f580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
(define-module (battering packages python-xyz)
  #:use-module (guix build-system pyproject)
  #:use-module (guix build-system python)
  #:use-module (guix download)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix packages)
  #:use-module ((guix licenses)
                #:prefix license:)
  #:use-module (gnu packages certs)
  #:use-module (gnu packages check)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages python-build)
  #:use-module (gnu packages python-check)
  #:use-module (gnu packages python-crypto)
  #:use-module (gnu packages python-science)
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages tmux)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages xml))

(define-public python-pyfzf
  (package
    (name "python-pyfzf")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pyfzf" version))
       (sha256
        (base32 "1lkbnhjf92063gg9snxskcx4n2yj7mck2qgrh8q9rjpyrws2x46x"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://github.com/nk412/pyfzf")
    (synopsis "Python wrapper for junegunn's fuzzyfinder (fzf)")
    (description "Python wrapper for junegunn's fuzzyfinder (fzf).")
    (license license:expat)))

(define-public python-arsenal
  (package
    (name "python-arsenal")
    (version "1.2.7")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/Orange-Cyberdefense/arsenal.git")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "19s36gkfflll7sxhd0w9qrc8lgh4ixgh97pr3bplx3b8zh3w9h0b"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-hatchling
                         python-setuptools
                         python-wheel
                         python-docutils))
    (propagated-inputs (list python-libtmux
                             python-pyperclip
                             python-pyyaml
                             python-pyfzf))
    (home-page "https://github.com/Orange-Cyberdefense/arsenal")
    (synopsis "Arsenal of python utilities.")
    (description "Arsenal is just a quick inventory and launcher for hacking programs.")
    (license license:gpl3)))

(define-public python-qt-material
  (package
    (name "python-qt-material")
    (version "2.14")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "qt-material" version))
       (sha256
        (base32 "08xfyzrdasliii4ql17jqyfv7glhgh27rfrnwdxcy5vjx6nvbnxm"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-jinja2))
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://pypi.org/project/qt-material/")
    (synopsis
     "Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6.")
    (description
     "This is another stylesheet for PySide6, PySide2, PyQt5 and PyQt6, which
looks like Material Design (close enough).")
    (license license:bsd-2)))

(define-public python-pyvis
  (package
    (name "python-pyvis")
    (version "0.3.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/WestHealth/pyvis")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "18gp652i4z8r5rxs9mk5h2vx1bc52xlw5wramidb11ilcy9lr3vs"))))
    (build-system pyproject-build-system)
    (propagated-inputs
     (list
      python-jinja2
      python-networkx
      python-ipython
      python-pandas
      python-jsonpickle))
    (native-inputs (list python-setuptools python-wheel python-pip
                         python-selenium python-numpy))
    (arguments (list #:tests? #f))
    (home-page "https://pypi.org/project/qt-material/")
    (synopsis
     "Python library for visualizing networks")
    (description
     "Python package for creating and visualizing interactive network graphs.")
    (license license:bsd-3)))

(define-public python-xmind
  (package
    (name "python-xmind")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "XMind" version))
       (sha256
        (base32 "0vlpz87m5xnmnbzjrzzspjrz73m2xdnxh5gmsph3z8y0y6ns8hbn"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://github.com/zhuifengshen/xmind")
    (synopsis
     "XMind Python")
    (description
     "XMind Python")
    (license license:expat)))

(define-public python-svglib
  (package
    (name "python-svglib")
    (version "1.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "svglib" version))
       (sha256
        (base32 "11z5jl38zjbzrmdly197m5x6303axcnlrlml1w6fd7j0m79nbrrs"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-cssselect2 python-lxml python-reportlab
                             python-tinycss2))
    (native-inputs (list python-setuptools python-wheel
                         python-pytest python-pytest-runner))
    (arguments
     `(#:test-flags '("-k" "not Wikipedia and not W3CSVG")
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? test-flags #:allow-other-keys)
             (when tests?
               (apply invoke "python" "-m" "pytest" "-v" test-flags)))))))
    (home-page "https://github.com/deeplook/svglib")
    (synopsis "A pure-Python library for reading and converting SVG")
    (description
     "Svglib is a pure-Python library for reading SVG files and converting
them (to a reasonable degree) to other formats using the ReportLab Open Source
toolkit.")
    (license license:lgpl3+)))

(define-public python-pae
  (package
    (name "python-pae")
    (version "0.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/MatthiasValvekens/python-pae")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0wdgi99wxnyjabbzhqxs8abfzx83m52y3s39x28x5vyy9i7zci8g"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-poetry-core
                         python-pytest))
    (home-page "https://github.com/MatthiasValvekens/python-pae")
    (synopsis "Pre-authentication encoding (PAE) implementation in Python")
    (description "Pre-authentication encoding (PAE) implementation in Python.")
    (license license:expat)))

(define-public python-oscrypto
  (package
    (name "python-oscrypto")
    (version "1.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/wbond/oscrypto")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1v5wkmzcyiqy39db8j2dvkdrv2nlsc48556h73x4dzjwd6kg4q0a"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-asn1crypto openssl))
    (native-inputs (list python-setuptools python-wheel python-pip nss-certs-for-test))
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'skip-internet-tests
            (lambda _
              (setenv "OSCRYPTO_SKIP_INTERNET_TESTS" "1"))))))
    (home-page "https://github.com/wbond/oscrypto")
    (synopsis
     "Compiler-free Python crypto library backed by the OS, supporting CPython
and PyPy")
    (description
     "TLS (SSL) sockets, key generation, encryption, decryption, signing,
verification and KDFs using the OS crypto libraries.  Does not require a
compiler, and relies on the OS for patching.  Works on Windows, OS X and
Linux/BSD.")
    (license license:expat)))

(define-public python-uritools
  (package
    (name "python-uritools")
    (version "4.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "uritools" version))
       (sha256
        (base32 "1hivmsycmvmymavx29295bfqxk5a75sr3ynmx564cjf8m61a21pf"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://github.com/tkem/uritools/")
    (synopsis "URI parsing, classification and composition")
    (description "This module provides RFC 3986 compliant functions for
parsing, classifying and composing URIs and URI references, largely replacing
the Python Standard Library’s @code{urllib.parse} module.")
    (license license:expat)))

(define-public python-pyhanko-certvalidator
  (package
    (name "python-pyhanko-certvalidator")
    (version "0.26.5")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/MatthiasValvekens/certvalidator")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1c50bsibr4izvbg2wsx8k3l0vkjbp0caq3jaxnnrlkpwzzxfgzgv"))))
    (build-system pyproject-build-system)
    (propagated-inputs (list python-asn1crypto
                             python-oscrypto
                             python-cryptography
                             python-uritools
                             python-requests
                             python-aiohttp))
    (native-inputs (list python-pytest
                         python-pytest-cov
                         python-freezegun
                         python-pytest-aiohttp
                         python-types-requests
                         python-setuptools
                         python-wheel
                         nss-certs-for-test))
    (home-page "https://github.com/MatthiasValvekens/certvalidator")
    (synopsis
     "Python library for validating X.509 certificates and paths")
    (description
     "@code{pyhanko-certvalidator} is a Python library for validating X.509
certificates paths. It supports various options, including: validation at a
specific moment in time, whitelisting and revocation checks.")
    (license license:expat)))