kellyjonbrazil / jc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
MIT License
7.91k stars 210 forks source link

Is JC supported for ARM64 ? #519

Closed surbhall closed 9 months ago

surbhall commented 10 months ago

We are using JC utility and require it to be supported for arm64 based system. Please note that we install this via pip-3 using below command in docker file: RUN pip-3 install jc

We require that this utility be installed via pip-3 in docker file similar to how it is done for x86 system.

kellyjonbrazil commented 10 months ago

Hi there! I'm not sure if jc will work on ARM64, but I believe it should since it works on Raspberry PI and other non-x86 platforms. There are 3 external libraries jc uses: pygments, ruamel.yaml, and xmltodict. If any of those are not supported on the ARM64 platform, then you might get reduced functionality. (e.g. no color support, no YAML support, or no XML parser)

surbhall commented 10 months ago

Can this be made available as part of jc release in below link so that we can use it https://github.com/kellyjonbrazil/jc/releases

I had also sent mail to team+python@tracker.debian.org and sudipm.mukherjee@gmail.com but there is no reply as of now.

kellyjonbrazil commented 10 months ago

Sorry, but the binary compilation is somewhat manual and I don't have access to that architecture. You could compile the binary yourself with the instructions under the pyoxidizer folder in the jc-packaging repository.

pip should also work. In fact, if pip does not work, then the binary compilation will also fail.