1
0

Compare commits

..

No commits in common. "b655759f06a9380cca4c4b29aee6d7923d617562" and "6641053bebe3d4458fd3920dfd78eaf373f10a64" have entirely different histories.

5 changed files with 3 additions and 34 deletions

View File

@ -38,34 +38,9 @@ Use `--help` option to see all options.
- [ ] Steam Wishlist and Achievements - [ ] Steam Wishlist and Achievements
- [ ] [WaniKani](https://docs.api.wanikani.com) - [ ] [WaniKani](https://docs.api.wanikani.com)
- [ ] Ledger (Live?) Account Balances - [ ] Ledger (Live?) Account Balances
- [ ] [Gandalf](https://gandalf.network/)? Seems to support a bunch of
different sites, but not in the detail I want.
## Dependencies # License
All requirements can be installed easily using:
```bash
pip install -r requirements.txt
```
Full list of requirements:
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)
- [lxml](https://pypi.org/project/lxml/)
- [requests](https://pypi.org/project/requests/)
- [requests_cache](https://pypi.org/project/requests_cache/)
- [browsercookie](https://pypi.org/project/browsercookie/)
- [cfscrape](https://pypi.org/project/cfscrape/)
- [frozendict](https://pypi.org/project/frozendict/)
- [python-kucoin](https://pypi.org/project/python-kucoin/)
- [krakenex](https://pypi.org/project/krakenex/)
- [fin-depo](https://gitfub.space/Jmaa/fin-depo)
- [secret_loader](https://gitfub.space/Jmaa/secret_loader)
- [requests-util](https://gitfub.space/Jmaa/requests_util)
## License
``` ```
MIT License MIT License

View File

@ -32,8 +32,6 @@ Use `--help` option to see all options.
- [ ] Steam Wishlist and Achievements - [ ] Steam Wishlist and Achievements
- [ ] [WaniKani](https://docs.api.wanikani.com) - [ ] [WaniKani](https://docs.api.wanikani.com)
- [ ] Ledger (Live?) Account Balances - [ ] Ledger (Live?) Account Balances
- [ ] [Gandalf](https://gandalf.network/)? Seems to support a bunch of
different sites, but not in the detail I want.
""" """
__all__ = ['__version__'] __all__ = ['__version__']

View File

@ -1 +1 @@
__version__ = '0.1.45' __version__ = '0.1.44'

View File

@ -148,9 +148,7 @@ def normalize_dict(d: dict[str,typing.Any]) -> frozendict[str,typing.Any]:
def load_csv_file(csv_file: Path) -> list[frozendict]: def load_csv_file(csv_file: Path) -> list[frozendict]:
dicts: list[frozendict] = [] dicts: list[frozendict] = []
with open(csv_file) as csvfile: with open(csv_file) as csvfile:
dialect = csv.Sniffer().sniff(csvfile.read(1024)) reader = csv.DictReader(csvfile, dialect=CSV_DIALECT)
csvfile.seek(0)
reader = csv.DictReader(csvfile, dialect=dialect)
for row in reader: for row in reader:
for k in list(row.keys()): for k in list(row.keys()):
orig = row[k] orig = row[k]

View File

@ -45,8 +45,6 @@ Use `--help` option to see all options.
- [ ] Steam Wishlist and Achievements - [ ] Steam Wishlist and Achievements
- [ ] [WaniKani](https://docs.api.wanikani.com) - [ ] [WaniKani](https://docs.api.wanikani.com)
- [ ] Ledger (Live?) Account Balances - [ ] Ledger (Live?) Account Balances
- [ ] [Gandalf](https://gandalf.network/)? Seems to support a bunch of
different sites, but not in the detail I want.
""".strip() """.strip()
PACKAGE_DESCRIPTION_SHORT = """ PACKAGE_DESCRIPTION_SHORT = """