(define-module (sigils packages python-xyz) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) ;; discord.py-self #:use-module (gnu packages protobuf) #:use-module (gnu packages check) #:use-module (gnu packages python-build) #:use-module (gnu packages python-web) ;; chepy #:use-module (gnu packages) #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-web) #:use-module (gnu packages xdisorg)) ;;; Chepy (define-public python-pretty-errors (package (name "python-pretty-errors") (version "1.2.25") (source (origin (method url-fetch) (uri (pypi-uri "pretty_errors" version)) (sha256 (base32 "0mb77klqcazicksr34qs4wliwfsfc9c4p2rgz4xjcz68ab3sasx1")))) (build-system pyproject-build-system) (propagated-inputs (list python-colorama)) (home-page "https://github.com/onelivesleft/PrettyErrors/") (synopsis "Prettifies Python exception output to make it legible.") (description "Prettifies Python exception output to make it legible.") (arguments (list #:tests? #f)) ;No target (license #f))) (define-public chepy (package (name "chepy") (version "7.2.0") (source (origin (method url-fetch) (uri (pypi-uri "chepy" version)) (patches (parameterize ((%patch-path (map (lambda (directory) (string-append directory "/sigils/packages/patches")) %load-path))) (search-patches "chepy-recent-pyopenssl.patch"))) (sha256 (base32 "1f05psh1xbzppb9jdfc26i6bxw3dd7i0c0lqggh6wzmy4cpszybz")))) (build-system pyproject-build-system) (home-page "https://github.com/securisec/chepy") (synopsis "Chepy is a python library equivalent of the CyberChef tool.") (description "Chepy is a python library with a CLI that is aimed to mirror some of the capabilities of CyberChef.") (inputs (list python-base58 python-colorama python-crccheck python-decorator python-docstring-parser python-emoji ;; python-exrex python-fire ;; python-lazy-import python-hexdump python-jsonpickle python-jmespath python-prompt-toolkit python-pycipher python-pycryptodome python-pydash python-pyjwt python-pyopenssl python-pyperclip python-pyyaml python-regex python-typing-extensions python-pretty-errors python-lz4 python-passlib python-msgpack python-parsel python-setuptools)) (license license:gpl3))) (define-public python-hexdump (package (name "python-hexdump") (version "3.3") (source (origin (method url-fetch) (uri (pypi-uri "hexdump" version ".zip")) (sha256 (base32 "1nr0dy3m8grdmd2hp3ym6x8vv9yki8zfgbba6vwy7b0n1hxs90fp")))) (build-system python-build-system) (native-inputs (list unzip)) (arguments '(#:tests? #f)) ;; No tests. (home-page "https://bitbucket.org/techtonik/hexdump/") (synopsis "dump binary data to hex format and restore from there") (description "dump binary data to hex format and restore from there.") (license #f))) (define-public python-pycipher (package (name "python-pycipher") (version "0.5.2") (source (origin (method url-fetch) (uri (pypi-uri "pycipher" version ".zip")) (sha256 (base32 "06yp9kn8x653324b3rdfd038bpvmd94rqbv4w44xl126fgpv7cz5")))) (build-system pyproject-build-system) (native-inputs (list unzip python-tox)) (arguments '(#:tests? #f)) ;; See you later, alligator. (home-page "https://github.com/jameslyons/pycipher") (synopsis "Several simple cipher algorithms") (description "Several simple cipher algorithms.") (license #f))) (define-public python-pydash (package (name "python-pydash") (version "8.0.3") (source (origin (method url-fetch) (uri (pypi-uri "pydash" version)) (sha256 (base32 "1amrz28qs8hvzlgn6bj66rlpkbw2zlx54v3qzzjz0wjvl0yws9qv")))) (build-system pyproject-build-system) (inputs (list python-typing-extensions)) ;; (native-inputs (list ;;python-build ;; python-coverage ;; ;; python-furo ;; python-invoke ;; python-mypy ;; python-pytest ;; python-pytest-cov ;; python-pytest-mypy-testing ;; ;; python-ruff ;; ;; python-sphinx ;; ;; python-sphinx-autodoc-typehints ;; python-tox ;; python-twine ;; python-wheel)) (arguments '(#:tests? #f)) ;; See you later, alligator. (home-page "https://github.com/dgilland/pydash") (synopsis "The kitchen sink of Python utility libraries for doing \"stuff\" in a functional way.") (description "The kitchen sink of Python utility libraries for doing \"stuff\" in a functional way. Based on the Lo-Dash Javascript library.") (license #f))) (define-public python-invoke (package (name "python-invoke") (version "2.2.0") (source (origin (method url-fetch) (uri (pypi-uri "invoke" version)) (sha256 (base32 "1mbbixban0238bwkadgynw60n0jrq1ja5wl4zv3mka7i388bnv7f")))) (build-system pyproject-build-system) (arguments ;; XXX: Tests require invocations, a package that requires... python-invoke. `(#:tests? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-bash-path (lambda* (#:key inputs #:allow-other-keys) (let ((bash (assoc-ref inputs "bash"))) (substitute* "invoke/config.py" (("shell = \"/bin/bash\"") (string-append "shell = \"" bash "/bin/bash\""))))))))) (inputs `(("bash" ,bash-minimal))) (home-page "https://pyinvoke.org") (synopsis "Pythonic task execution") (description "Invoke is a Python task execution tool and library, drawing inspiration from various sources to arrive at a powerful and clean feature set. It is evolved from the Fabric project, but focuses on local and abstract concerns instead of servers and network commands.") (license license:bsd-3))) (define-public python-pytest-mypy-testing (package (name "python-pytest-mypy-testing") (version "0.1.3") (source (origin (method url-fetch) (uri (pypi-uri "pytest-mypy-testing" version)) (sha256 (base32 "10g2r7n3y0pvy6m77qdl3v86k5p229b34d2sp1a6spsx5wil2k5d")))) (build-system pyproject-build-system) (inputs (list python-mypy)) (native-inputs (list python-flit-core python-pytest)) (home-page "https://github.com/davidfritzsche/pytest-mypy-testing") (synopsis "Pytest plugin to check mypy output.") (description "Pytest plugin to check mypy output.") (license license:expat))) ;; (define-public python-picamera2 ;; (package ;; (name "python-picamera2") ;; (version "0.3.22") ;; (source ;; (origin ;; (method url-fetch) ;; (uri (pypi-uri "picamera2" version)) ;; (sha256 ;; (base32 "0bc3sr3adahddzs3j9i1yndl962qc0dpmpmq9f3wpfs28f0nja49")))) ;; (build-system pyproject-build-system) ;; (propagated-inputs (list python-av ;; python-numpy ;; python-pidng ;; python-piexif ;; python-pillow ;; python-prctl ;; python-jsonschema ;; python-libarchive-c ;; python-tqdm)) ;; ;; python-simplejpeg ;; ;; python-v4l2-python3)) ;; (home-page "https://github.com/RaspberryPi/picamera2") ;; (synopsis ;; "libcamera-based Python interface to Raspberry Pi cameras") ;; (description ;; "The libcamera-based Python interface to Raspberry Pi cameras, based on ;; the original Picamera library.") ;; (license #f)))