Spaces:
Sleeping
Sleeping
Create tools/foia_generator.py
Browse files- tools/foia_generator.py +21 -0
tools/foia_generator.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import date
|
| 2 |
+
|
| 3 |
+
def generate_foia_request(agency, subject):
|
| 4 |
+
return f"""
|
| 5 |
+
Freedom of Information Act Request
|
| 6 |
+
|
| 7 |
+
Date: {date.today()}
|
| 8 |
+
|
| 9 |
+
To: {agency} FOIA Office
|
| 10 |
+
|
| 11 |
+
Pursuant to the Freedom of Information Act, I request access to records
|
| 12 |
+
concerning:
|
| 13 |
+
|
| 14 |
+
"{subject}"
|
| 15 |
+
|
| 16 |
+
This request is made for public interest and journalistic purposes.
|
| 17 |
+
I request a fee waiver.
|
| 18 |
+
|
| 19 |
+
Sincerely,
|
| 20 |
+
[Your Name]
|
| 21 |
+
"""
|