Skip to main content
  • zca-list

  • zca-snippets

zca-list

$ zca-list pyramid.interfaces
pyramid.interfaces:ITranslationDirectories
pyramid.interfaces:INewRequest
pyramid.interfaces:IRootFactory
pyramid.interfaces:IDefaultRootFactory
pyramid.interfaces:IViewMapperFactory
pyramid.interfaces:IBeforeRender
## ..snip
pyramid.interfaces:IExceptionViewClassifier
pyramid.interfaces:ILocaleNegotiator
pyramid.interfaces:IMultiDict
pyramid.interfaces:IAuthenticationPolicy

zca-snippets

$ zca-snippets pyramid.interfaces:IAuthenticationPolicy
from zope.interface import implementer
from pyramid.interfaces import IAuthenticationPolicy

## see: pyramid.interfaces:IAuthenticationPolicy
@implementer(IAuthenticationPolicy)
class AuthenticationPolicy(object):
    def remember(self, request, principal, **kw):
        pass

    def effective_principals(self, request):
        pass

    def forget(self, request):
        pass

    def authenticated_userid(self, request):
        pass

    def unauthenticated_userid(self, request):
        pass
    $ zca-snippets -q pyramid.interfaces:IAuthorizationPolicy
## see: pyramid.interfaces:IAuthorizationPolicy
@implementer(IAuthorizationPolicy)
class AuthorizationPolicy(object):
    def principals_allowed_by_permission(self, context, permission):
        pass

    def permits(self, context, principals, permission):
        pass

Metadata

Release files for zca_snippets 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zca_snippets 0.0.2
File Size Uploaded Provenance Actions
zca_snippets-0.0.2.tar.gz 2.9 kB Without provenance Details for zca_snippets-0.0.2.tar.gz

Release files / zca_snippets-0.0.2.tar.gz

Download URL zca_snippets-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d879ee8b9f17b6be8f3394dfd118e63ec141885f475f26b8dd5afa02af9ceffc
BLAKE2b-256 checksum
How to use checksums
1a2b7a16d6e59e9ad9378204e0ffd5c999065bdc9349ebc5d41f542a5f4b2800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zca_snippets 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page