SAPCX (SAP CX CLI utility)
Introduction
Why I built this ?? AS a SAP CX (Hybris) developer I found myself using HAC (Hybris adminstration console) a lot, and it's time consuming to open the browser, select each tab, then run simple groovy or some flexible search queries, or whatever is the task to be done.
And since I'm always on my terminal, I thought about looking for a cli for this, but unfortunately didn't find any, then I decided to build it myself for my specific needs, & I think this is it 😅
For whoever reading this
This tools is not yet stable, and still in beta version, I'm still working on it while using it in work, please feel free to contribute, create some pull requests or open some issues for improvement, they are always welcome
Get started
Prerequisites
Obviously you need a local or remote running Hybris server, and an account to access it, & Python installed on your machine.
Installation
Install CLI through pip:
$ pip3 install --user --upgrade sapcx
Configure default server instance
$ sap configure
Profile identifier (default):
Profile username (admin):
Profile password (nimda):
Profile server (127.0.0.1):
Profile port (9002) :
Is secured with ssl [Y/n]: Y
Profile webroot (/):
Usage
usage: sap [-h] [-i IMPORT_IMPEX] [-e EXECUTE_GROOVY] [-q QUERY]
[--profile PROFILE]
{configure} ...
positional arguments:
{configure} Sub commands help
configure Configure different profiles for your servers
optional arguments:
-h, --help show this help message and exit
console:
-i IMPORT_IMPEX, --import IMPORT_IMPEX
Impex file to import
-e EXECUTE_GROOVY, --execute EXECUTE_GROOVY
Groovy script file to execute
-q QUERY, --query QUERY
Run flexible search query
server:
--profile PROFILE
Contribution
Please switch to dev branch since most of the work is done there, and there is a github action that automatically push the current vesion to Test PyPI.
Metadata
Release files for sapcx 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sapcx-0.1.2.tar.gz | 7.1 kB | Without provenance | Details for sapcx-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sapcx-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for sapcx-0.1.2-py3-none-any.whl |
Total release size: 16.6 kB
Release files / sapcx-0.1.2.tar.gz
| Download URL | sapcx-0.1.2.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70e9c9beaae21304a5fd543802292a93d3de6830b6a1dbe029c8a19de2274e01
|
|
BLAKE2b-256 checksum How to use checksums |
f49f5104f089a0b61d3c7ec3fe3df8be02e4350878a105ab9fc69468e006d1fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / sapcx-0.1.2-py3-none-any.whl
| Download URL | sapcx-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22668a33e5c0aee3e602d69d5d6c3515f861f4531d8c04191f70900f8f295090
|
|
BLAKE2b-256 checksum How to use checksums |
ee145eff03dd465e9bc9b13e7a270300341ad69421be7204e35e5a128da6104d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for sapcx 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.