(define-module (python-xyz) #:use-module ((guix licenses) :prefix license:) #:use-module (guix packages) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages wget) #:use-module (gnu packages web) #:use-module (gnu packages video) #:use-module (gnu packages python-web) #:use-module (gnu packages version-control) #:use-module (gnu packages commencement) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages python-graphics) #:use-module (gnu packages python-compression) #:use-module (gnu packages python-check) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-build) #:use-module (gnu packages python-science) #:use-module (sherlock) ) (define-public comedyGenerator (package (name "comedyGenerator") (version "1.0.5") (source (origin (method git-fetch) (uri (git-reference (url "https://git.techchud.xyz/comedyGenerator") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1mi33n9l0pshn1vnxcr56p5ldx1zr178dmaibz5ggqz7m347cj25")))) (build-system python-build-system) (arguments '( #:phases (modify-phases %standard-phases (delete 'check) (delete 'sanity-check) (add-after 'wrap 'wrap-ffmpeg (lambda* (#:key inputs outputs #:allow-other-keys) (let ((ffmpeg (string-append (assoc-ref inputs "ffmpeg") "/bin" ))) (wrap-program (string-append (assoc-ref outputs "out") "/bin/comedyGenerator") `("PATH" ":" prefix ,(list ffmpeg) ) )))) ))) (inputs (list ffmpeg python-xdg python-requests python-multiprocess )) (synopsis "Ifunny API scrapper for downloading videos and gifs.") (description "Ifunny API scrapper for downloading videos and gifs.") (home-page "https://git.techchud.xyz/comedyGenerator/") (license license:agpl3))) (define-public stashley (package (name "stashley") (version "2.0.4") (source (origin (method git-fetch) (uri (git-reference (url "https://git.techchud.xyz/stashley") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1d83w8yb7570b9pdsj44vcflzs8a6hh0zcmkf076hx4s837bmqbl")))) (build-system python-build-system) (arguments '( #:phases (modify-phases %standard-phases (delete 'check) (delete 'sanity-check) ))) (inputs (list yt-dlp gallery-dl wget python-tomli python-tomli-w ;python-sherlock )) (synopsis "Program using TOML files to archive personalities to IPFS") (description "Stashley is a program used for archiving personalities using TOML files, and if IPFS is installed, pushing them to IPFS.") (home-page "https://git.techchud.xyz/stashley/") (license license:agpl3))) (define-public python-imagehash (package (name "python-imagehash") (version "4.3.1") (source (origin (method url-fetch) (uri (pypi-uri "ImageHash" version)) (sha256 (base32 "0w5ay3dblgn0ijg4mwmmq13a759by1bakh6q7pmmnn70z6vx2f3h")))) (arguments '( #:phases (modify-phases %standard-phases (delete 'check) ;Networking required for checks, so disable them ))) (build-system python-build-system) (propagated-inputs (list python-numpy python-pillow python-pywavelets python-scipy)) (home-page "https://github.com/JohannesBuchner/imagehash") (synopsis "Image Hashing library") (description "Image Hashing library.") (license #f))) (define-public python-httrack-py (package (name "python-httrack-py") (version "0.6.1") (source (origin (method url-fetch) (uri (pypi-uri "httrack-py" version)) (sha256 (base32 "01s6ahn1mfnxcj602s8p6p1yxfigjwm8cqc1wlbfvxmrb0vb2isw")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'apply-patch (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/httrack-py.c" (("#include \"htscore.h\"") "")))) (add-before 'build 'set-cflags (lambda* (#:key inputs #:allow-other-keys) (setenv "CFLAGS" (string-append "-I" (assoc-ref inputs "httrack") "/include/httrack"))))))) (native-inputs (list python-setuptools python-wheel)) (inputs (list httrack)) (home-page "http://code.google.com/p/httrack-py/") (synopsis "httrack-py library: wrapper to use httrack website copier") (description "httrack-py library: wrapper to use httrack website copier.") (license license:gpl2))) (define-public python-hsh (package (name "python-hsh") (version "1.1.0") (source (origin (method url-fetch) (uri (pypi-uri "hsh" version)) (sha256 (base32 "11fznnb3vl6xplg2gvphrmglyw3s41r4jg5skl1gpslgafn46kn0")))) (build-system python-build-system) (propagated-inputs (list python-commandlines)) (native-inputs (list python-setuptools python-wheel)) (home-page "https://github.com/chrissimpkins/hsh") (synopsis "Simple file hash digests and file integrity checks") (description "Simple file hash digests and file integrity checks.") (license license:expat))) (define-public python-proglog (package (name "python-proglog") (version "0.1.10") (source (origin (method url-fetch) (uri (pypi-uri "proglog" version)) (sha256 (base32 "1d6s9mg2fr3dr30x05cvsvw25kpakkzqyj2zyarawk1fr34ji335")))) (build-system python-build-system) (propagated-inputs (list python-tqdm)) (native-inputs (list python-setuptools python-wheel)) (home-page "") (synopsis "Log and progress bar manager for console, notebooks, web...") (description "Log and progress bar manager for console, notebooks, web...") (license license:expat))) (define-public python-moviepy (package (name "python-moviepy") (version "2.1.2") (source (origin (method url-fetch) (uri (pypi-uri "moviepy" version)) (sha256 (base32 "0xzf73hnib7aqhblidqg0vhq4l60czgr21z8kynyl1znf9s7mi92")))) (build-system python-build-system) (propagated-inputs (list python-decorator python-imageio python-imageio-ffmpeg python-numpy python-pillow python-proglog python-dotenv)) (native-inputs (list python-coveralls python-pytest python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/Zulko/moviepy") (synopsis "Video editing with Python") (description "Video editing with Python.") (license license:expat))) (define-public python-pymatting (package (name "python-pymatting") (version "1.1.13") (source (origin (method url-fetch) (uri (pypi-uri "pymatting" version)) (sha256 (base32 "00c1ad1glgb11055rbh8sqwycb979biyhbfwg96yzpdcxx5prnrc")))) (build-system python-build-system) (propagated-inputs (list python-numba python-numpy python-pillow python-scipy)) (native-inputs (list python-setuptools python-wheel)) (home-page "https://pymatting.github.io") (synopsis "Python package for alpha matting.") (description "Python package for alpha matting.") (license license:expat))) (define-public python-types-pyinstaller (package (name "python-types-pyinstaller") (version "6.16.0.20250918") (source (origin (method url-fetch) (uri (pypi-uri "types_pyinstaller" version)) (sha256 (base32 "0favd1ghmna0y0mvkfn1xd2zi9b2754gl30cmpv9yhba5yxz1v0b")))) (build-system pyproject-build-system) (arguments `(#:tests? #f)) (native-inputs (list python-setuptools-next python-wheel)) (home-page #f) (synopsis "Typing stubs for pyinstaller") (description "Typing stubs for pyinstaller.") (license #f))) (define-public python-minecraft-resource-pack (package (name "python-minecraft-resource-pack") (version "1.4.6") (source (origin (method url-fetch) (uri (pypi-uri "minecraft_resource_pack" version)) (sha256 (base32 "06a66qi5by70a4j4ysxrb8a1wx8ik6sxfnlxjxhzvhbiwfpp86b4")))) (build-system pyproject-build-system) (propagated-inputs (list python-amulet-nbt python-numpy python-pillow python-platformdirs)) (native-inputs (list python-black python-mypy python-pre-commit python-setuptools python-types-pyinstaller python-versioneer python-wheel)) (home-page "https://www.amuletmc.com") (synopsis "A Python library reading Minecraft's various resource pack formats.") (description "This package provides a Python library reading Minecraft's various resource pack formats.") (license #f))) (define-public python-pymctranslate (package (name "python-pymctranslate") (version "1.2.35") (source (origin (method url-fetch) (uri (pypi-uri "pymctranslate" version)) (sha256 (base32 "172f9bcpav0wca0lwwmr15vxhby1gx96zxc767k8s67yiw941pd6")))) (build-system pyproject-build-system) (arguments `(#:tests? #f)) (propagated-inputs (list python-amulet-nbt python-numpy)) (native-inputs (list python-black python-pre-commit python-setuptools python-versioneer python-wheel)) (home-page "https://www.amuletmc.com") (synopsis "A Minecraft data translation system.") (description "This package provides a Minecraft data translation system.") (license #f))) (define-public python-mutf8 (package (name "python-mutf8") (version "1.0.6") (source (origin (method url-fetch) (uri (pypi-uri "mutf8" version)) (sha256 (base32 "0imkkj2q77i78pi1p1595xxva012j6q09fsh8w85fnifgjvfzfqv")))) (build-system pyproject-build-system) (arguments `(#:tests? #f)) (native-inputs (list python-pytest python-pytest-benchmark python-setuptools python-wheel)) (home-page "http://github.com/TkTech/mutf8") (synopsis "Fast MUTF-8 encoder & decoder") (description "Fast MUTF-8 encoder & decoder.") (license #f))) (define-public python-amulet-nbt (package (name "python-amulet-nbt") (version "2.1.5") (source (origin (method url-fetch) (uri (pypi-uri "amulet_nbt" version)) (sha256 (base32 "05xvxwym8cw7362sfwz37sivbp2wybji24rq4sjr6695zcz3f8xb")))) (build-system pyproject-build-system) (propagated-inputs (list python-mutf8 python-numpy)) (native-inputs (list python-black python-cython python-numpy python-pre-commit python-setuptools python-versioneer python-wheel)) (home-page "https://www.amuletmc.com") (synopsis "Read and write Minecraft NBT and SNBT data.") (description "Read and write Minecraft NBT and SNBT data.") (license #f))) (define-public python-amulet-leveldb (package (name "python-amulet-leveldb") (version "1.0.2") (source (origin (method url-fetch) (uri (pypi-uri "amulet_leveldb" version)) (sha256 (base32 "0h8mnh5dhrshagamivwkq0fjnf8gxnyraqz945mvrxhvywg53amk")))) (build-system pyproject-build-system) (inputs (list zlib)) (native-inputs (list python-black python-cython python-mypy python-pre-commit python-setuptools python-versioneer python-wheel)) (home-page "https://www.amuletmc.com") (synopsis "A Cython wrapper for Mojang's custom LevelDB.") (description "This package provides a Cython wrapper for Mojang's custom @code{LevelDB}.") (license #f))) (define-public python-amulet-core (package (name "python-amulet-core") (version "1.9.30") (source (origin (method url-fetch) (uri (pypi-uri "amulet_core" version)) (sha256 (base32 "07d0l341iln58zh07gpj4zrhdixvmvi9hqa2kb6anys47ffa5j49")))) (build-system pyproject-build-system) (arguments `(#:tests? #f)) (propagated-inputs (list python-amulet-leveldb python-amulet-nbt python-lz4 python-numpy python-platformdirs python-portalocker python-pymctranslate)) (native-inputs (list python-black python-cython python-numpy python-pre-commit python-setuptools python-versioneer python-wheel)) (home-page "https://www.amuletmc.com") (synopsis "A Python library for reading/writing Minecraft's various save formats.") (description "This package provides a Python library for reading/writing Minecraft's various save formats.") (license #f))) (define-public amulet (package (name "amulet") (version "0.10.44") (source (origin (method url-fetch) (uri (pypi-uri "amulet_map_editor" version)) (sha256 (base32 "1411dfm0f634y91q4h5va792x46p6vbwsqcyyln8k88mfninklcr")))) (build-system pyproject-build-system) (inputs (list python-amulet-core python-amulet-nbt python-minecraft-resource-pack python-numpy python-packaging python-pillow python-platformdirs python-pymctranslate python-pyopengl python-wxpython)) (native-inputs (list python-black python-cython python-numpy python-pre-commit python-setuptools python-versioneer python-wheel )) (home-page "https://www.amuletmc.com") (synopsis "A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.") (description "This package provides a new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.") (license #f)))