-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename lib files * rename lib in source code
- Loading branch information
Showing
86 changed files
with
268 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[report] | ||
omit= | ||
cape_privacy/spark/examples/* | ||
cape_dataframes/spark/examples/* | ||
*test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from cape_dataframes import pandas | ||
from cape_dataframes import spark | ||
from cape_dataframes.coordinator import Client | ||
from cape_dataframes.policy.policy import apply_policy | ||
from cape_dataframes.policy.policy import parse_policy | ||
|
||
__all__ = ["apply_policy", "pandas", "parse_policy", "spark", "Client"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from cape_dataframes.audit.audit import APPLY_POLICY_EVENT | ||
from cape_dataframes.audit.audit import AuditLogger | ||
|
||
__all__ = ["AuditLogger", "APPLY_POLICY_EVENT"] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from cape_dataframes.coordinator.client import Client | ||
|
||
__all__ = ["Client"] |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
cape_privacy/coordinator/auth/api_token.py → ..._dataframes/coordinator/auth/api_token.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rivacy/coordinator/auth/api_token_test.py → ...frames/coordinator/auth/api_token_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from cape_dataframes.pandas import dtypes | ||
from cape_dataframes.pandas import registry | ||
from cape_dataframes.pandas import transformations | ||
from cape_dataframes.pandas.transformer import transformer | ||
|
||
__all__ = ["dtypes", "transformations", "transformer", "registry"] |
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
cape_privacy/pandas/registry.py → cape_dataframes/pandas/registry.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cape_privacy/pandas/registry_test.py → cape_dataframes/pandas/registry_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from cape_dataframes.pandas.transformations.column_redact import ColumnRedact | ||
from cape_dataframes.pandas.transformations.perturbation import DatePerturbation | ||
from cape_dataframes.pandas.transformations.perturbation import NumericPerturbation | ||
from cape_dataframes.pandas.transformations.rounding import DateTruncation | ||
from cape_dataframes.pandas.transformations.rounding import NumericRounding | ||
from cape_dataframes.pandas.transformations.row_redact import RowRedact | ||
from cape_dataframes.pandas.transformations.tokenizer import ReversibleTokenizer | ||
from cape_dataframes.pandas.transformations.tokenizer import Tokenizer | ||
from cape_dataframes.pandas.transformations.tokenizer import TokenReverser | ||
|
||
__all__ = [ | ||
"DateTruncation", | ||
"DatePerturbation", | ||
"NumericPerturbation", | ||
"NumericRounding", | ||
"ReversibleTokenizer", | ||
"Tokenizer", | ||
"TokenReverser", | ||
"ColumnRedact", | ||
"RowRedact", | ||
] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cape_privacy/pandas/transformer.py → cape_dataframes/pandas/transformer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from cape_dataframes.policy.data import Policy | ||
from cape_dataframes.policy.exceptions import NamedTransformNotFound | ||
from cape_dataframes.policy.exceptions import TransformNotFound | ||
from cape_dataframes.policy.policy import parse_policy | ||
from cape_dataframes.policy.policy import reverse | ||
|
||
__all__ = [ | ||
"parse_policy", | ||
"Policy", | ||
"NamedTransformNotFound", | ||
"TransformNotFound", | ||
"reverse", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
cape_privacy/policy/data_test.py → cape_dataframes/policy/data_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.