aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator
Commit message (Collapse)AuthorAgeFilesLines
* require LOCALSTACK environment variable instead of DEBUG for changing boto3 ↵Alex Schofield2025-02-181-2/+2
| | | | endpoint
* rename data_to_csv_bytes function to create_byte_stream in csv_writer.pyAlex Schofield2025-02-181-1/+1
|
* add function to return byte-stream of obfuscated csv fileAlex Schofield2025-02-181-0/+26
|
* change boto3 endpoint if debug mode is enabledAlex Schofield2025-02-181-1/+14
| | | | | | should this go here in 'production' code, even though it's a testing tool? this may be changed in the near future. i've just got a gut feeling that this might not be right.
* add untested read_s3 logic to CSVReaderAlex Schofield2025-02-181-1/+17
|
* add logging to utils.pyAlex Schofield2025-02-181-0/+7
|
* call get_s3_path() in read_s3 and debug log pathAlex Schofield2025-02-181-1/+3
|
* create utility function to parse S3 URIAlex Schofield2025-02-181-0/+8
|
* style: format code with Autopep8, Black and Ruff Formatterdeepsource-autofix[bot]2025-02-172-3/+7
| | | | | | This commit fixes the style issues introduced in 00917b8 according to the output from Autopep8, Black and Ruff Formatter. Details: None
* add comments to obfuscate.py to explain codeAlex Schofield2025-02-171-1/+9
|
* add comments to csv_reader.py to explain codeAlex Schofield2025-02-171-2/+31
|
* style: format code with Autopep8, Black and Ruff Formatterdeepsource-autofix[bot]2025-02-171-3/+5
| | | | | | This commit fixes the style issues introduced in 74843c4 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/gdpr-obfuscator/pull/2
* use list/dictionary comprehension to obfuscate pii dataAlex Schofield2025-02-171-1/+9
|
* create initial function for obfuscationAlex Schofield2025-02-171-0/+7
|
* style: format code with Autopep8, Black and Ruff Formatterdeepsource-autofix[bot]2025-02-171-2/+3
| | | | | | This commit fixes the style issues introduced in f612f71 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/gdpr-obfuscator/pull/1
* use list comprehension when returning output from read_localAlex Schofield2025-02-171-9/+3
|
* anti-pattern: remove unused __init__ for CSVReaderAlex Schofield2025-02-171-4/+1
|
* performance: add @staticmethod to CSVReader methods to save memoryAlex Schofield2025-02-171-5/+8
|
* anti-pattern: fix re-definition of format variable in logger.pyAlex Schofield2025-02-171-2/+2
|
* add method for reading csv content directly from stringAlex Schofield2025-02-171-0/+9
|
* Merge remote-tracking branch 'refs/remotes/origin/feat/csv-reader' into ↵Alex Schofield2025-02-142-5/+6
|\ | | | | | | feat/csv-reader
| * style: format code with Autopep8, Black and Ruff Formatterdeepsource-autofix[bot]2025-02-142-5/+6
| | | | | | | | | | | | This commit fixes the style issues introduced in 6182930 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/gdpr-obfuscator/pull/1
* | process path in CSVReader methods & fix import pathsAlex Schofield2025-02-141-7/+7
|/
* add universal logging for debuggingAlex Schofield2025-02-142-9/+23
|
* encapsulate csv reading logic into class & methodsAlex Schofield2025-02-141-8/+24
|
* add separate functions for reading locally and from s3 bucketAlex Schofield2025-02-141-1/+4
|
* rename main csv reader function in cli.py & csv_reader.pyAlex Schofield2025-02-141-1/+1
|
* re-organise project structure & update pyproject.tomlAlex Schofield2025-02-122-0/+20
git.ajschof.me — hosted by ajschofield — powered by cgit