Skip to main content

Introduction

The Oracle is a debug/development helper app for Plone. It currently shows the following information about a given user/context:

  • Authenticated User Info - ID, member type, roles, etc.

  • Basic Context Info - ID, portal_type, path, absolute_url, etc.

  • Context Workflow Info - Review state, history, assigned workflow

  • Catalog Indexes

  • Catalog Metadata

  • Methods - Including security declarations

  • Attributes - including values

  • Valid/Invalid permissions (including security settings)

  • Context source code

  • Browser view registrations on context

  • Request content

It also provides a fast way to drop to PDB at any given context.

Installation/Use

To install, just stick it in your buildout, once you’ve got your instance running, there’s a few of views which you can use:

  • the_oracle - This is the main tool

  • opdb - Drops you to pdb at the current context (self.context)

Top Tip

If the Context Fields section isn’t showing enough information about the object schema, try adding ?extras=True to the url. This will show extended information (Searchable, Mode, Index and Edit Accessors, Vocabulary).

A Friendly Warning

DO NOT LEAVE THIS PRODUCT INSTALLED ON A PRODUCTION SITE! IT MASSIVELY UNDERMINES THE SECURITY OF THE SITE IT’S INSTALLED ON, AND IS VISIBLE TO ANY USER (EVEN ANONYMOUS). ALSO, BEARS WITH ASSAULT RIFLES WILL COME TO YOUR HOUSE AND ROUGH YOU UP IF YOU DO. TAKE A MOMENT TO THINK ABOUT THAT. BEARS. ANGRY BEARS. WITH GUNS. IN YOUR KITCHEN. EATING YOUR DINNER.

Changelog

1.0

  • Got bored of ridiculously tiny version numbers

  • Didn’t like the existing implementation so replaced it

  • Added ability to see browser views

  • Added support for setting/managing breakpoints then disabled it because it doesn’t work

0.0.6

  • Made the_oracode put code inside pre tags if pygments is not installed

0.0.5

  • Added line numbers and module information to source view

  • Reversed the order of the changelog

  • Renamed @@pdb @@opdb to allow PDBDebugMode compatibility

0.0.4

  • Removed dependency on pygments (now optional)

  • Modified the_oracode to accept modules

  • Made module name in method list link to source of module

  • Added path to file on filesystem on source view

0.0.3 - First release

  • Changed system to use content providers (allows products to add their own information)

  • Made prettier

  • Added syntax highlighting for code stuff

0.0.2 - Unreleased

  • Added lots of shiny

  • Added the_oracall

  • Added PDB

0.0.1 - Unreleased

  • Initial release, original TTW python script for getting some useful info

Metadata

Release files for teamrubber.theoracle 1.0

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

Source distribution (sdist)

Source distribution for teamrubber.theoracle 1.0
File Size Uploaded Provenance Actions
teamrubber.theoracle-1.0.tar.gz 15.1 kB Without provenance Details for teamrubber.theoracle-1.0.tar.gz

Release files / teamrubber.theoracle-1.0.tar.gz

Download URL teamrubber.theoracle-1.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
99c33c199d3255416c0413e70e3d8540d356500952949591448819b3d50f5cf4
BLAKE2b-256 checksum
How to use checksums
b5977d1ee3807e461ce8fe817a3557e5185b42968ecc08f7b797ecde6b317770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for teamrubber.theoracle 1.0

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.

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