
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
This is a package containing type annotations for pysaml2.
Simply run the following in the environment in which you want to install this package:
# install types-pysaml2
$ python -m pip install types-pysaml2
or add it to your requirements file.
This is a partial stub package, only covering a part of the functions and objects available in pysaml2
.
Contributions (both in adding stubs for more functions, or keeping up to date with pysaml2
itself) are
welcome.
All the formatting is done using pre-commit. To use this, run the following:
# install pre-commit
$ python -m pip install pre-commit
# Set up the hooks (so pre-commit automatically runs when you do a commit)
$ cd root/directory/of/the/pulled/repository
$ pre-commit install
# This will run automatically whenever a commit is created
# To run it manually, use:
$ pre-commit run --all-files
FAQs
Type Stubs for pysaml2
We found that types-pysaml2 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.