
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Safelyx API client
Safelyx API client for Python.
You can find the API documentation at https://safelyx.com/safe-api.
It's simply making an HTTP request to the Safelyx API.
It's using the requests
library to make the HTTP request.
If the request to the API fails (HTTP error), it will throw an error, so you might want to wrap it in a try
/except
block.
It has a method per API endpoint.
import safelyx
check_result = safelyx.check_link('https://example.com')
print(check_result.result) # Outputs a safety score between 0 (unsafe) and 10 (safe). -1 if there was an error, -2 if there are no checks remaining.
pip install safelyx
Requires python
3.11+.
make install
make format
make test
After committing and pushing with a new version in pyproject.toml
, just run:
make publish
FAQs
API client for Safelyx.
We found that safelyx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.