Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Parsing an Ivy module descriptor (ivy.xml
) for its dependencies from
a tool like CMake can be tough. This script takes a descriptor on the
standard input and prints its dependencies in an easily parsable format.
::
$ sudo pip install ivydepparse
::
$ ivydepparse < ivy.xml
ivy-example.xml <ivy-example.xml>
_:
::
...
<dependency org="com.ttgf" name="myGreatDep" rev="1.2.3" conf="debug;release"/>
<dependency org="com.ttgf" name="myGreatDep" rev="1.2.3" conf="other"/>
<dependency org="com.ttgf" name="myGreatDebugDep" rev="2.3.4" conf="debug"/>
...
results in
::
$ ivydepparse < ivy-example.xml
org=com.ttgf|name=myGreatDebugDep|rev=2.3.4|conf=debug;org=com.ttgf|name=myGreatDep|rev=1.2.3|conf=debug,release,other
The output is a one-liner, a semicolon-separated list of dependencies.
Each dependency is a pipe-separated list of attributes as
name=value
.
If any value contains one of our separators, they get escaped as follows:
;
is replaced by ,
|
is replaced by :
=
is replaced by :
For each dependency, all attributes are guaranteed to be present and in
that order: org
, name
, rev
, conf
.
Attributes can be empty. An empty attribute appears as name=
.
Dependencies having the same key (org/name/rev) will be output as one single dependency.
The order inside conf
in the output is not specified.
The order of the dependencies in the output is not specified.
1.0.1 (2015-09-30):
1.0.0 (2015-09-30):
FAQs
Ivy Dependency Parser
We found that ivydepparse demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.