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.
canonicalwebteam-store-base
Advanced tools
This is the base application for all stores. Each store is registered as a blueprint when the app is initialized, other configs and blueprints that are store-specific are also registered on the app. This allows for uniformity of certain endpoints and functionalities across all stores and also allows for extension and customization of endpoints and features that are store specific. See Usage section for example.
To install this extension as a requirement in your project, you can use PIP:
pip install canonicalwebteam.store-base
The package leverages poetry for dependency management.
All tests can be run with poetry run python3 -m unittest discover tests
.
Note: You might have to do poetry install
before running the command above.
from canonicalwebteam.store_base.app import create_app
import store-specific blueprint
import store-specific utility processor
app = create_app(
"app_name",
store_bp=store-specific blueprint,
utility_processor=store-specific utility_processor,
)
app.static_folder=app_static_folder
app.template_folder=app_template_folder
app.static_url_path=app_static_url_path
all other store blueprints and configurations should be registered here
FAQs
An application base for all stores
We found that canonicalwebteam-store-base 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.