Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Apply XPath expressions to XML, like jq
does for JSONPath and JSON.
Install with pip
::
pip install xq
Or download the repo and install via setuptools
::
python setup.py install
Extract download URLs from an RSS feed::
http get 'http://br-rss.jeffbr13.net/rss/channels/1/' | xq '//item/enclosure/@url'
Extract all links from an HTML page footer::
http get 'http://br-rss.jeffbr13.net/ | xq '//footer//a/@href'
Run unittest
in the root directory to autodetect and run tests::
python -m unittest
Increment xq.VERSION
and run the following two commands
to create a source distribution <https://packaging.python.org/tutorials/distributing-packages/#source-distributions>
,
create a universal wheel <https://packaging.python.org/tutorials/distributing-packages/#universal-wheels>
,
and upload to PyPI <https://packaging.python.org/tutorials/distributing-packages/#upload-your-distributions>
_ ::
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
jq <https://github.com/stedolan/jq>
_hq <https://github.com/rbwinslow/hq>
_FAQs
Like jq but for XML and XPath.
We found that xq 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.