From 2aee37a95606489754f3dd199e6ed56d1a99c432 Mon Sep 17 00:00:00 2001 From: Derek Herincx Date: Wed, 21 Aug 2024 22:01:15 -0400 Subject: [PATCH] Update README documentation --- README.md | 8 ++++---- src/fpds/core/parser.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ab6173d..6a9c445 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To install this package for development, create a virtual environment and install dependencies. ``` -$ python3.8 -m venv venv +$ python3.10 -m venv venv $ source venv/bin/activate $ pip install -e . ``` @@ -33,7 +33,7 @@ following exceptions: automatically determine if quotes are needed, so simply enclose your entire criteria string in quotes. - For example, `AGENCY_CODE:”3600”` should be used as `"AGENCY_CODE=3600"`. + For example, `AGENCY_CODE:"3600"` should be used as `"AGENCY_CODE=3600"`. Via CLI: ``` @@ -45,7 +45,7 @@ By default, data will be dumped into an `.fpds` folder at the user's option. The directory will be created if it doesn't exist: ``` -$ fpds parse "LAST_MOD_DATE=[2022/01/01, 2022/05/01]" "AGENCY_CODE=7504" -o {some-directory} +$ fpds parse "LAST_MOD_DATE=[2022/01/01, 2022/05/01]" "AGENCY_CODE=7504" -o my-preferred-directory ``` Same request via python interpreter: @@ -75,7 +75,7 @@ $ make clean ### Testing ``` -$ make test +$ make local-test ``` ## What's New diff --git a/src/fpds/core/parser.py b/src/fpds/core/parser.py index bdf514c..5a63987 100644 --- a/src/fpds/core/parser.py +++ b/src/fpds/core/parser.py @@ -2,7 +2,7 @@ Base classes for FPDS XML elements. author: derek663@gmail.com -last_updated: 07/13/2024 +last_updated: 08/21/2024 """ import asyncio @@ -10,7 +10,7 @@ from asyncio import Semaphore from concurrent.futures import ProcessPoolExecutor from itertools import chain -from typing import Dict, List, Optional, Union +from typing import List, Optional, Union from urllib import parse from urllib.request import urlopen from xml.etree.ElementTree import ElementTree, fromstring