1
0

Compare commits

...

14 Commits

Author SHA1 Message Date
b655759f06 🤖 Bumped version to 0.1.45
All checks were successful
Build Python Container / Package-Container (push) Successful in 1m33s
Package Python / Package (push) Successful in 34s
Test Python / Test (push) Successful in 31s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-27 00:07:07 +02:00
df0ee95030
CSV sniffing 2024-09-27 00:03:02 +02:00
5328352d4a 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-27 00:02:43 +02:00
1d826c1c06 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-27 00:01:31 +02:00
265bc5a9b2 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-26 23:13:09 +02:00
e9ca6445da 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-26 17:49:16 +02:00
8fb063c5a9 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2024-09-26 17:48:31 +02:00
e1013d7f0a 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-21 14:40:27 +02:00
eacd357ecc 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-21 14:40:08 +02:00
efa106d4aa 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-21 14:39:57 +02:00
10b85de841 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-21 14:39:04 +02:00
a7a7cf8586 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-21 14:38:50 +02:00
555683c407 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-09-19 18:26:38 +02:00
b83775ee31
More inspiration 2024-09-14 18:41:19 +02:00
5 changed files with 34 additions and 3 deletions

View File

@ -38,9 +38,34 @@ 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.
# License ## Dependencies
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,6 +32,8 @@ 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.44' __version__ = '0.1.45'

View File

@ -148,7 +148,9 @@ 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:
reader = csv.DictReader(csvfile, dialect=CSV_DIALECT) dialect = csv.Sniffer().sniff(csvfile.read(1024))
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,6 +45,8 @@ 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 = """