Skip to content

Latest commit

 

History

History

redact

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Pangea Python SDK examples

This is a quick example of how to set up and use the Pangea Python SDK.

Set up

In the example root directory (./examples/redact), run the following command:

poetry install

Set up the environment variables (Instructions) PANGEA_REDACT_TOKEN and PANGEA_DOMAIN with your project token configured on the Pangea User Console (token should have access to Redact service Instructions) and with your Pangea domain.

You'll need to set up and enable some rulesets in Redact service config.

Run

To run examples:

poetry run python redact_examples/text.py