aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add semi-working test for __init__ (uses localstack)Alex Schofield2025-02-201-0/+9
|
* Merge branch 'main' into feat/__init__Alex Schofield2025-02-201-1/+1
|\
| * ignore .idea folder from pycharm in .gitignoreAlex Schofield2025-02-201-1/+1
| |
* | let read_s3 handle URI parsing instead of main() in __init__.pyAlex Schofield2025-02-191-4/+1
| |
* | update imports in __init__.pyAlex Schofield2025-02-191-5/+5
| |
* | add initial code for __init__.py entry pointAlex Schofield2025-02-191-0/+15
|/
* remove to-do from README.mdAlex2025-02-191-11/+0
|
* Merge pull request #8 from ajschofield/refining-phaseAlex2025-02-1912-237/+208
|\ | | | | mostly minor changes (fixing things up)
| * style: format code with Autopep8, Black and Ruff Formatterdeepsource-autofix[bot]2025-02-192-2/+0
| | | | | | | | | | | | This commit fixes the style issues introduced in b402ee5 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/gdpr-obfuscator/pull/8
| * re-add original behaviour of returning empty byte stream when data empty in ↵Alex Schofield2025-02-191-0/+1
| | | | | | | | create_byte_stream()
| * if no PII fields provided, return original data unchangedAlex Schofield2025-02-191-2/+2
| |
| * update log messages for invalid data to reflect new behaviourAlex Schofield2025-02-191-2/+4
| |
| * return empty list instead of raising exceptionsAlex Schofield2025-02-191-2/+2
| |
| * fix read tests by updating name of imported DataReader classAlex Schofield2025-02-191-2/+2
| |
| * partially fix tests by updating references with new classAlex Schofield2025-02-191-6/+9
| |
| * wrap write functions in class and update referencesAlex Schofield2025-02-193-13/+19
| |
| * rename write function & update referencesAlex Schofield2025-02-192-0/+0
| |
| * rename CSVReader to DataReader & update referencesAlex Schofield2025-02-193-4/+4
| |
| * remove unused json import from cli.pyAlex Schofield2025-02-191-1/+0
| |
| * fix some tests (some are still broken)Alex Schofield2025-02-192-3/+2
| |
| * use already initialised reader object instead of creating new CSVReader instanceAlex Schofield2025-02-191-7/+7
| |
| * call read_string via self in read_s3Alex Schofield2025-02-191-1/+1
| |
| * improve error handling in read_s3()Alex Schofield2025-02-191-0/+9
| |
| * improve error handling in create_byte_stream()Alex Schofield2025-02-191-0/+1
| |
| * improve error handling in obfuscate()Alex Schofield2025-02-191-1/+4
| |
| * modify logger messages to be more clearAlex Schofield2025-02-194-12/+8
| |
| * remove annoying comments for better readability of codeAlex Schofield2025-02-197-80/+0
| |
| * workaround/fix annoying logging issuesAlex Schofield2025-02-194-51/+67
| |
| * update logger namesAlex Schofield2025-02-194-4/+4
| |
| * update log formatAlex Schofield2025-02-191-1/+1
| |
| * invoke debug logging using CLI argumentAlex Schofield2025-02-191-0/+4
| |
| * change help message for CLI --s3/--local choiceAlex Schofield2025-02-191-4/+2
| |
| * add help information to CLI argumentsAlex Schofield2025-02-191-3/+16
| |
| * add shorthand options for choices in CLIAlex Schofield2025-02-191-3/+3
| |
| * update CLI parser description & progAlex Schofield2025-02-191-1/+4
| |
| * add TODO for tracking tasksAlex Schofield2025-02-191-0/+0
| |
| * require LOCALSTACK environment variable instead of DEBUG for changing boto3 ↵Alex Schofield2025-02-181-2/+2
|/ | | | endpoint
* Merge pull request #7 from ajschofield/feat/csv-writerAlex2025-02-183-0/+85
|\ | | | | add create_byte_stream for obfuscation output
| * update cli.py to use create_byte_streamAlex Schofield2025-02-181-0/+2
| |
| * add placeholder tests for create_byte_streamAlex Schofield2025-02-181-0/+57
| | | | | | | | (until I get around to finishing my testing stack using LocalStack/Docker)
| * 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
|/
* Merge pull request #6 from ajschofield/feat/read_s3Alex2025-02-185-8/+199
|\ | | | | implement reading from s3 bucket
| * update test_csv_reader.py headerAlex Schofield2025-02-181-1/+1
| |
| * add tests for read_s3 in CSVReaderAlex Schofield2025-02-181-1/+95
| |
| * 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
| |
| * make debug log messages clearer in outputAlex Schofield2025-02-181-3/+3
| |
| * add logging to utils.pyAlex Schofield2025-02-181-0/+7
| |
| * read data from S3 object path and debug log contentsAlex Schofield2025-02-181-0/+2
| |
git.ajschof.me — hosted by ajschofield — powered by cgit