Pycookiecheat

Latest version: v0.8.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.8.0

Breaking Changes

- `url` is now a positional argument (no longer requires `-u`)
- Browser type must be passed as a variant of the `BrowserType` enum; string
is no longer supported
- Now requires python >= 3.9

CLI Enhancements

- Assume `https://` if the scheme is not specified
- Add `--version` flag (thanks samiam)
- Add `-c` flag to specify custom path to cookie file (thanks samiam)
- Convert the `browser` argument into a `BrowserType` at parse time

Fixes / Other

- Fix new path to Firefox profile on MacOS (thanks MattMuffin)
- Support Chrome's new v24 cookies (thanks chrisgavin)
- Add new top-level `get_cookies` function that can be used for all supported
browsers
- No longer need to use separate `chrome_cookies` or `firefox_cookies`
functions, but will leave these around for backwards compatibility
- Use `ruff` instead of hodgepodge of `flake8` / `pycodestyle` / `black` and
others

0.7.0

- Now requires python >= 3.8
- 3.7 is now EoL: https://devguide.python.org/versions/
- pycookiecheat seems to build and run on 3.7, but several test
dependencies require versions that are either incompatible with 3.12 or
3.7
- Add `BrowserType` enum
- Instead of passing a string (e.g. "chrome"), please import and use a
`BrowserType` (e.g. `BrowserType.CHROME`)
- Add deprecation warning for passing strings
- Added a nix flake to facilitate testing multiple python versions
- Add basic logging
- Add CLI tool
- Add `as_cookies` parameter to allow returning `list[Cookie]` instead of
`dict` (without breaking backward compatibility)
- Loosen dependency constrains, which should make usage as a library easier

0.6.0

- Add firefox support, thanks to grandchild
- Also would like to welcome grandchild as a new member of the
pycookiecheat team!

0.5.0

- Add support for Brave thanks to chrisgavin!
- Add support for Slack thanks to hraftery!
- Migrate config to pyproject.toml alone
- Minor cleanup to codebase and tests

0.4.7

- No noteworthy API changes, hence the bugfix version bump, but some major
infrastructure and testing updates:
- Now uses GitHub Actions instead of Travis
- Now uses Playwright for testing, to actually open a Chromium instance and
use a real `Cookies` database
- PEP517
- black
- Now requires python >= 3.7
- This is largely due to requiremets of Playwright:
https://pypi.org/project/playwright/, which is only a *test* dependency
- Because I can't *test* with <=3.6, I'm not listing it as compatible,
though it *probably* will still work
- Migrate to pyproject.toml

0.4.6

- Try to open Chrome database in read-only mode to avoid db locked errors (29)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.