Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Python client for Prefab Feature Flags, Dynamic log levels, and Config as a Service: https://www.prefab.cloud
Python client for prefab.cloud, providing Config, FeatureFlags as a Service
Note: This library is under active development
Sign up to be notified about updates
from prefab_cloud_python import Client, Options
import prefab_cloud_python
options = Options(
prefab_api_key="your-prefab-api-key"
)
context = {
"user": {
"team_id": 432,
"id": 123,
"subscription_level": 'pro',
"email": "alice@example.com"
}
}
prefab_cloud_python.set_options(options)
result = prefab_cloud_python.get_client().enabled("my-first-feature-flag", context=context)
print("my-first-feature-flag is:", result)
See full documentation https://docs.prefab.cloud/docs/sdks/python
poetry
is installed: https://python-poetry.org/docs/#installationpoetry install
to ensure dependencies are installedpoetry run python
to open a Python REPL with access to the project dependenciesTo run all tests, including integration tests
poetry run pytest tests
To run only local tests and skip integration tests
poetry run pytest tests -k "not integration"
To run only one specific test file
poetry run pytest tests/name_of_test_file.py
There are examples in examples
poetry run pre-commit run --show-diff-on-failure --color=always --all-files
pyproject.toml
CHANGELOG.md
git tag <version> && git push --tags
poetry publish --build
FAQs
Python client for Prefab Feature Flags, Dynamic log levels, and Config as a Service: https://www.prefab.cloud
We found that prefab-cloud-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.