Python Fanduel API (2021) - Lineup Automation

Overview

southpawgithub

Build Status

PyPI pyversions Python 3.9

Southpaw is a python package that provides access to the Fanduel API.

Optimize your DFS experience by programmatically updating your lineups, analyzing your data, and more.

Full Documentation

Installation

Install via PyPi


  

python -m pip install southpaw

  

Initial Setup

Retrieve your basic auth token by logging into fanduel.com and copying the authorization header from the dev console.

Initialize your Fanduel object using your Fanduel email, password, and auth token.


  

import southpaw

  

  

basic_auth_token = 'Basic GBGskzdmGLKOP5EwMDNkNGUaLkFdM2VjKJHDNmY1Mjc6'

  

fanduel_email = '[email protected]'

  

fanduel_password = 'fakeFanduelPassword'

  

  

fd = southpaw.Fanduel(fanduel_email, fanduel_password, basic_auth_token)

  

Next you need to get your upcoming data. This is the most important step. This will retrieve all entries that the current user has, along with the whole load of info that is available from Fanduel's API.


  

fd.get_upcoming()

  

Once you call this function, you now have access to all of the data that Fanduel offers by using a rich set of helper functions that Southpaw provides.

Examples

Full Documentation

Get all upcoming entries


  

fd.get_entries()

  

Get all upcoming contests


  

fd.get_contests()

  

Update a Fanduel Entry

# Get an entry
entry = fd.get_entry('entry_id')

available_players = fd.get_players_in_entry(this_entry.id)

# Decide what players to use. Here we are just grabbing the first 5 in the list as an example
players_to_use = available_players[:5]

update_entry_input = [UpdateEntryInput({'id': entry.id, 'lineup': players_to_use})]

fd.update_entries(update_entry_input)

Disclaimer

This project is for educational use only.

Accumulating Fanduel points or prizes through unauthorized methods such as unauthorized scripts or other automated means is against the Fanduel terms and may result in account disqualification.

The contributors of Southpaw shall not be held responsible for any actions taken using this tool.

Comments
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 3.0.0

    dependency:(deps): bump charset-normalizer from 2.0.7 to 3.0.0

    Bumps charset-normalizer from 2.0.7 to 3.0.0.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 3.0.0

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if the current version provides extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata (not pyproject.toml yet)
    • Make language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha characters have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer returns 'Simple English' instead returns 'English'
    • Coherence detector no longer returns 'Classical Chinese' instead returns 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflicts with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    This is the last version (3.0.x) to support Python 3.6 We plan to drop it for 3.1.x

    Version 3.0.0rc1

    This is the last pre-release. If everything goes well, I will publish the stable tag.

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    Changed

    • Build with static metadata using 'build' frontend
    • Make language detection stricter

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha characters have been fed to it

    Removed

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer return 'Simple English' instead return 'English'
    • Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it

    Removed

    • Coherence detector no longer return 'Simple English' instead return 'English'
    • Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'

    3.0.0b2 (2022-08-21)

    Added

    ... (truncated)

    Upgrade guide

    Sourced from charset-normalizer's upgrade guide.

    Guide to upgrade your code from v1 to v2

    • If you are using the legacy detect function, that is it. You have nothing to do.

    Detection

    Before

    from charset_normalizer import CharsetNormalizerMatches
    

    results = CharsetNormalizerMatches.from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    After

    from charset_normalizer import from_bytes
    

    results = from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    Methods that once were staticmethods of the class CharsetNormalizerMatches are now basic functions. from_fp, from_bytes, from_fp and `` are concerned.

    Staticmethods scheduled to be removed in version 3.0

    Commits
    • 0ec52ef Version 3.0.0 (#223)
    • db134f3 Update python-publish.yml
    • 690f74c :wrench: pass --no-isolation through CIBW_CONFIG_SETTINGS --build-option
    • 20996c3 :arrow_up: cibuildwheel v2.11.1 (fix-tag)
    • 24f366c :arrow_up: cibuildwheel v2.11.1
    • 33b7327 :wrench: update universal-wheel stage (missing build pkg)
    • 544595d Merge pull request #209 from Ousret/3.0
    • 6367d53 :pencil: Missing CHANGELOG entry and add language_threshold to docs::advanced...
    • b15f416 :pencil: Update CHANGELOG.md
    • f8e1153 :pencil: Adjust speedup docs section
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 2.1.1

    dependency:(deps): bump charset-normalizer from 2.0.7 to 2.1.1

    Bumps charset-normalizer from 2.0.7 to 2.1.1.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 2.1.1

    2.1.1 (2022-08-19)

    Deprecated

    • Function normalize scheduled for removal in 3.0

    Changed

    • Removed useless call to decode in fn is_unprintable (#206)

    Fixed

    • Third-party library (i18n xgettext) crashing not recognizing utf_8 (PEP 263) with underscore from @​aleksandernovikov (#204)

    Version 2.1.0

    2.1.0 (2022-06-19)

    Added

    • Output the Unicode table version when running the CLI with --version (PR #194)

    Changed

    • Re-use decoded buffer for single byte character sets from @​nijel (PR #175)
    • Fixing some performance bottlenecks from @​deedy5 (PR #183)

    Fixed

    • Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
    • CLI default threshold aligned with the API threshold from @​oleksandr-kuzmenko (PR #181)

    Removed

    • Support for Python 3.5 (PR #192)

    Deprecated

    • Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)

    Version 2.0.12

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    Version 2.0.11

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior has been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    Version 2.0.10

    2.0.10 (2022-01-04)

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    2.1.1 (2022-08-19)

    Deprecated

    • Function normalize scheduled for removal in 3.0

    Changed

    • Removed useless call to decode in fn is_unprintable (#206)

    Fixed

    • Third-party library (i18n xgettext) crashing not recognizing utf_8 (PEP 263) with underscore from @​aleksandernovikov (#204)

    2.1.0 (2022-06-19)

    Added

    • Output the Unicode table version when running the CLI with --version (PR #194)

    Changed

    • Re-use decoded buffer for single byte character sets from @​nijel (PR #175)
    • Fixing some performance bottlenecks from @​deedy5 (PR #183)

    Fixed

    • Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
    • CLI default threshold aligned with the API threshold from @​oleksandr-kuzmenko (PR #181)

    Removed

    • Support for Python 3.5 (PR #192)

    Deprecated

    • Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior have been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    ... (truncated)

    Commits
    • 47c8e71 Update CHANGELOG.md
    • bfc7a9c Version 2.1.1 (#211)
    • 6d2ab17 Update python-publish.yml
    • 088c60a Update python-publish.yml
    • 1e36844 Update python-publish.yml
    • 90aeb3b Update python-publish.yml
    • f955341 :art: Enable strict type check and improve the project typing (#207)
    • 6155b6b :zap: Remove useless call to decode in fn is_unprintable (#206)
    • f1303ae :arrow_up: Bump flake8 from 5.0.1 to 5.0.4 (#205)
    • d61def2 normalize encoding name (dash instead of underscore) in 2 files (#204)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump attrs from 21.2.0 to 22.1.0

    dependency:(deps): bump attrs from 21.2.0 to 22.1.0

    Bumps attrs from 21.2.0 to 22.1.0.

    Release notes

    Sourced from attrs's releases.

    22.1.0

    Highlights

    The main features of this release are:

    • The departure of Python 2.7 (enjoy your retirement!),
    • and the arrival of Python 3.11.

    We had loftier goals feature-wise, but didn't want to block others embracing Python 3.11.

    ❤️ Huge thanks to my GitHub sponsors, Tidelift subscribers, and Ko-fi buyers! ❤️

    None of my projects would exist in their current form without you!

    Full Changelog

    Backwards-incompatible Changes

    • Python 2.7 is not supported anymore.

      Dealing with Python 2.7 tooling has become too difficult for a volunteer-run project.

      We have supported Python 2 more than 2 years after it was officially discontinued and feel that we have paid our dues. All version up to 21.4.0 from December 2021 remain fully functional, of course. #936

    • The deprecated cmp attribute of attrs.Attribute has been removed. This does not affect the cmp argument to attr.s that can be used as a shortcut to set eq and order at the same time. #939

    Changes

    • Instantiation of frozen slotted classes is now faster. #898
    • If an eq key is defined, it is also used before hashing the attribute. #909
    • Added attrs.validators.min_len(). #916
    • attrs.validators.deep_iterable()'s member_validator argument now also accepts a list of validators and wraps them in an attrs.validators.and_(). #925
    • Added missing type stub re-imports for attrs.converters and attrs.filters. #931
    • Added missing stub for attr(s).cmp_using(). #949
    • attrs.validators._in()'s ValueError is not missing the attribute, expected options, and the value it got anymore. #951
    • Python 3.11 is now officially supported. #969

    21.4.0

    This is a quick bug fix release for a regression that causes coverage report fail under certain circumstances.

    Full Changelog

    Changes

    • Fixed the test suite on PyPy3.8 where cloudpickle does not work. #892
    • Fixed coverage report for projects that use attrs and don't set a --source. #895, #896

    21.3.0

    This is a big release in the history of attrs and finishes an arc that took way too long and also delayed this very overdue release. But it's done: import attrs that has been talked about for years[^issue], but fell victim to “just this one more thing” has finally landed.

    ... (truncated)

    Changelog

    Sourced from attrs's changelog.

    22.1.0 (2022-07-28)

    Backwards-incompatible Changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    • Python 2.7 is not supported anymore.

      Dealing with Python 2.7 tooling has become too difficult for a volunteer-run project.

      We have supported Python 2 more than 2 years after it was officially discontinued and feel that we have paid our dues. All version up to 21.4.0 from December 2021 remain fully functional, of course. [#936](https://github.com/python-attrs/attrs/issues/936) <https://github.com/python-attrs/attrs/issues/936>_

    • The deprecated cmp attribute of attrs.Attribute has been removed. This does not affect the cmp argument to attr.s that can be used as a shortcut to set eq and order at the same time. [#939](https://github.com/python-attrs/attrs/issues/939) <https://github.com/python-attrs/attrs/issues/939>_

    Changes ^^^^^^^

    • Instantiation of frozen slotted classes is now faster. [#898](https://github.com/python-attrs/attrs/issues/898) <https://github.com/python-attrs/attrs/issues/898>_
    • If an eq key is defined, it is also used before hashing the attribute. [#909](https://github.com/python-attrs/attrs/issues/909) <https://github.com/python-attrs/attrs/issues/909>_
    • Added attrs.validators.min_len(). [#916](https://github.com/python-attrs/attrs/issues/916) <https://github.com/python-attrs/attrs/issues/916>_
    • attrs.validators.deep_iterable()'s member_validator argument now also accepts a list of validators and wraps them in an attrs.validators.and_(). [#925](https://github.com/python-attrs/attrs/issues/925) <https://github.com/python-attrs/attrs/issues/925>_
    • Added missing type stub re-imports for attrs.converters and attrs.filters. [#931](https://github.com/python-attrs/attrs/issues/931) <https://github.com/python-attrs/attrs/issues/931>_
    • Added missing stub for attr(s).cmp_using(). [#949](https://github.com/python-attrs/attrs/issues/949) <https://github.com/python-attrs/attrs/issues/949>_
    • attrs.validators._in()'s ValueError is not missing the attribute, expected options, and the value it got anymore. [#951](https://github.com/python-attrs/attrs/issues/951) <https://github.com/python-attrs/attrs/issues/951>_
    • Python 3.11 is now officially supported. [#969](https://github.com/python-attrs/attrs/issues/969) <https://github.com/python-attrs/attrs/issues/969>_

    21.4.0 (2021-12-29)

    Changes ^^^^^^^

    • Fixed the test suite on PyPy3.8 where cloudpickle does not work. [#892](https://github.com/python-attrs/attrs/issues/892) <https://github.com/python-attrs/attrs/issues/892>_

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 2.1.0

    dependency:(deps): bump charset-normalizer from 2.0.7 to 2.1.0

    Bumps charset-normalizer from 2.0.7 to 2.1.0.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 2.1.0

    2.1.0 (2022-06-19)

    Added

    • Output the Unicode table version when running the CLI with --version (PR #194)

    Changed

    • Re-use decoded buffer for single byte character sets from @​nijel (PR #175)
    • Fixing some performance bottlenecks from @​deedy5 (PR #183)

    Fixed

    • Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
    • CLI default threshold aligned with the API threshold from @​oleksandr-kuzmenko (PR #181)

    Removed

    • Support for Python 3.5 (PR #192)

    Deprecated

    • Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)

    Version 2.0.12

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    Version 2.0.11

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior has been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    Version 2.0.10

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    Version 2.0.9

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    2.1.0 (2022-06-19)

    Added

    • Output the Unicode table version when running the CLI with --version (PR #194)

    Changed

    • Re-use decoded buffer for single byte character sets from @​nijel (PR #175)
    • Fixing some performance bottlenecks from @​deedy5 (PR #183)

    Fixed

    • Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
    • CLI default threshold aligned with the API threshold from @​oleksandr-kuzmenko (PR #181)

    Removed

    • Support for Python 3.5 (PR #192)

    Deprecated

    • Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior have been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    Fixed

    • Wrong logging level applied when setting kwarg explain to True (PR #146)

    2.0.8 (2021-11-24)

    Changed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump responses from 0.15.0 to 0.21.0

    dependency:(deps): bump responses from 0.15.0 to 0.21.0

    Bumps responses from 0.15.0 to 0.21.0.

    Release notes

    Sourced from responses's releases.

    0.21.0

    • Add threading.Lock() to allow responses working with threading module.
    • Add urllib3 Retry mechanism. See #135
    • Removed internal _cookies_from_headers function
    • Now add, upsert, replace methods return registered response. remove method returns list of removed responses.
    • Added null value support in urlencoded_params_matcher via allow_blank keyword argument
    • Added strict version of decorator. Now you can apply @responses.activate(assert_all_requests_are_fired=True) to your function to validate that all requests were executed in the wrapped function. See #183

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests.

    ... (truncated)

    Changelog

    Sourced from responses's changelog.

    0.21.0

    • Add threading.Lock() to allow responses working with threading module.
    • Add urllib3 Retry mechanism. See #135
    • Removed internal _cookies_from_headers function
    • Now add, upsert, replace methods return registered response. remove method returns list of removed responses.
    • Added null value support in urlencoded_params_matcher via allow_blank keyword argument
    • Added strict version of decorator. Now you can apply @responses.activate(assert_all_requests_are_fired=True) to your function to validate that all requests were executed in the wrapped function. See #183

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump pyparsing from 2.4.7 to 3.0.8

    dependency:(deps): bump pyparsing from 2.4.7 to 3.0.8

    Bumps pyparsing from 2.4.7 to 3.0.8.

    Release notes

    Sourced from pyparsing's releases.

    pyparsing 3.0.8

    Version 3.0.8 -

    • API CHANGE: modified pyproject.toml to require Python version 3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6 fail in evaluating the version_info class (implemented using typing.NamedTuple). If you are using an earlier version of Python 3.6, you will need to use pyparsing 2.4.7.

    • Improved pyparsing import time by deferring regex pattern compiles. PR submitted by Anthony Sottile to fix issue #362, thanks!

    • Updated build to use flit, PR by Michał Górny, added BUILDING.md doc and removed old Windows build scripts - nice cleanup work!

    • More type-hinting added for all arithmetic and logical operator methods in ParserElement. PR from Kazantcev Andrey, thank you.

    • Fixed infix_notation's definitions of lpar and rpar, to accept parse expressions such that they do not get suppressed in the parsed results. PR submitted by Philippe Prados, nice work.

    • Fixed bug in railroad diagramming with expressions containing Combine elements. Reported by Jeremy White, thanks!

    • Added show_groups argument to create_diagram to highlight grouped elements with an unlabeled bounding box.

    • Added unicode_denormalizer.py to the examples as a demonstration of how Python's interpreter will accept Unicode characters in identifiers, but normalizes them back to ASCII so that identifiers print and 𝕡𝓻ᵢ𝓃𝘁 and 𝖕𝒓𝗂𝑛ᵗ are all equivalent.

    • Removed imports of deprecated sre_constants module for catching exceptions when compiling regular expressions. PR submitted by Serhiy Storchaka, thank you.

    pyparsing 3.0.7

    • Fixed bug #345, in which delimitedList changed expressions in place using expr.streamline(). Reported by Kim Gräsman, thanks!

    • Fixed bug #346, when a string of word characters was passed to WordStart or WordEnd instead of just taking the default value. Originally posted as a question by Parag on StackOverflow, good catch!

    • Fixed bug #350, in which White expressions could fail to match due to unintended whitespace-skipping. Reported by Fu Hanxi, thank you!

    • Fixed bug #355, when a QuotedString is defined with characters in its quoteChar string containing regex-significant characters such as ., *, ?, [, ], etc.

    • Fixed bug in ParserElement.run_tests where comments would be displayed using with_line_numbers.

    • Added optional "min" and "max" arguments to delimited_list. PR submitted by Marius, thanks!

    • Added new API change note in whats_new_in_pyparsing_3_0_0, regarding a bug fix in the bool() behavior of ParseResults.

      Prior to pyparsing 3.0.x, the ParseResults class implementation of __bool__ would return False if the ParseResults item list was empty, even if it contained named results. In 3.0.0 and later, ParseResults will return True if either the item list is not empty or if the named results dict is not empty.

      # generate an empty ParseResults by parsing a blank string with
      # a ZeroOrMore
      result = Word(alphas)[...].parse_string("")
      print(result.as_list())
      print(result.as_dict())
      print(bool(result))
      

      add a results name to the result

      result["name"] = "empty result" print(result.as_list()) print(result.as_dict()) print(bool(result))

    ... (truncated)

    Changelog

    Sourced from pyparsing's changelog.

    Version 3.0.8 -

    • API CHANGE: modified pyproject.toml to require Python version 3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6 fail in evaluating the version_info class (implemented using typing.NamedTuple). If you are using an earlier version of Python 3.6, you will need to use pyparsing 2.4.7.

    • Improved pyparsing import time by deferring regex pattern compiles. PR submitted by Anthony Sottile to fix issue #362, thanks!

    • Updated build to use flit, PR by Michał Górny, added BUILDING.md doc and removed old Windows build scripts - nice cleanup work!

    • More type-hinting added for all arithmetic and logical operator methods in ParserElement. PR from Kazantcev Andrey, thank you.

    • Fixed infix_notation's definitions of lpar and rpar, to accept parse expressions such that they do not get suppressed in the parsed results. PR submitted by Philippe Prados, nice work.

    • Fixed bug in railroad diagramming with expressions containing Combine elements. Reported by Jeremy White, thanks!

    • Added show_groups argument to create_diagram to highlight grouped elements with an unlabeled bounding box.

    • Added unicode_denormalizer.py to the examples as a demonstration of how Python's interpreter will accept Unicode characters in identifiers, but normalizes them back to ASCII so that identifiers print and 𝕡𝓻ᵢ𝓃𝘁 and 𝖕𝒓𝗂𝑛ᵗ are all equivalent.

    • Removed imports of deprecated sre_constants module for catching exceptions when compiling regular expressions. PR submitted by Serhiy Storchaka, thank you.

    Version 3.0.7 -

    • Fixed bug #345, in which delimitedList changed expressions in place using expr.streamline(). Reported by Kim Gräsman, thanks!

    • Fixed bug #346, when a string of word characters was passed to WordStart or WordEnd instead of just taking the default value. Originally posted as a question by Parag on StackOverflow, good catch!

    • Fixed bug #350, in which White expressions could fail to match due to unintended whitespace-skipping. Reported by Fu Hanxi, thank you!

    • Fixed bug #355, when a QuotedString is defined with characters in its

    ... (truncated)

    Commits
    • 4e627f2 Added show_groups arg to create_diagram; prep for release
    • 6afabf9 Updates to CHANGES and CONTRIBUTING.md resulting from PR #379
    • 3c03942 No longer use undocumented module "sre_constants" (#379)
    • ac30c72 Fix issue #361
    • 27519e1 Support Python 3.6.8 or later
    • 62fa342 Add unicode_denormalizer.py to examples.
    • f72586d Add tests and updated docs for changes to lpar and rpar args to infix_notatio...
    • 4f98463 Add tests and updated docs for changes to lpar and rpar args to infix_notatio...
    • 1a40d17 Fix bug #375 (#376)
    • 7661493 Add guard inside _trim_arity to protect against black reformatting in spacing...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump responses from 0.15.0 to 0.20.0

    dependency:(deps): bump responses from 0.15.0 to 0.20.0

    Bumps responses from 0.15.0 to 0.20.0.

    Release notes

    Sourced from responses's releases.

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
    • Deprecate match_querystring argument in Response`` and CallbackResponse. Use responses.matchers.query_param_matcherorresponses.matchers.query_string_matcher`
    • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
    • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
    • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

    ... (truncated)

    Changelog

    Sourced from responses's changelog.

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump responses from 0.15.0 to 0.19.0

    dependency:(deps): bump responses from 0.15.0 to 0.19.0

    Bumps responses from 0.15.0 to 0.19.0.

    Release notes

    Sourced from responses's releases.

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
    • Deprecate match_querystring argument in Response`` and CallbackResponse. Use responses.matchers.query_param_matcherorresponses.matchers.query_string_matcher`
    • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
    • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
    • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

    0.16.0

    • Fixed regression with stream parameter deprecation, requests.session() and cookie handling.
    • Replaced adhoc URL parsing with urllib.parse.
    • Added match parameter to add_callback method
    • Added responses.matchers.fragment_identifier_matcher. This matcher allows you to match request URL fragment identifier.

    ... (truncated)

    Changelog

    Sourced from responses's changelog.

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
    • An error is now raised when both content_type and headers[content-type] are provided as parameters.
    • When a request isn't matched the passthru prefixes are now included in error messages.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
    • Deprecate match_querystring argument in Response and CallbackResponse. Use responses.matchers.query_param_matcher or responses.matchers.query_string_matcher
    • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
    • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
    • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 2.0.12

    dependency:(deps): bump charset-normalizer from 2.0.7 to 2.0.12

    Bumps charset-normalizer from 2.0.7 to 2.0.12.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 2.0.12

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    Version 2.0.11

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior has been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    Version 2.0.10

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    Version 2.0.9

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    Fixed

    • Wrong logging level applied when setting kwarg explain to True (PR #146)

    Version 2.0.8

    Changed

    • Improvement over Vietnamese detection (PR #126)
    • MD improvement on trailing data and long foreign (non-pure latin) data (PR #124)
    • Efficiency improvements in cd/alphabet_languages from @​adbar (PR #122)
    • call sum() without an intermediary list following PEP 289 recommendations from @​adbar (PR #129)
    • Code style as refactored by Sourcery-AI (PR #131)
    • Minor adjustment on the MD around european words (PR #133)
    • Remove and replace SRTs from assets / tests (PR #139)
    • Initialize the library logger with a NullHandler by default from @​nmaynes (PR #135)
    • Setting kwarg explain to True will add provisionally (bounded to function lifespan) a specific stream handler (PR #135)

    Fixed

    • Fix large (misleading) sequence giving UnicodeDecodeError (PR #137)
    • Avoid using too insignificant chunk (PR #137)

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    2.0.12 (2022-02-12)

    Fixed

    • ASCII miss-detection on rare cases (PR #170)

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior have been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    Fixed

    • Wrong logging level applied when setting kwarg explain to True (PR #146)

    2.0.8 (2021-11-24)

    Changed

    • Improvement over Vietnamese detection (PR #126)
    • MD improvement on trailing data and long foreign (non-pure latin) data (PR #124)
    • Efficiency improvements in cd/alphabet_languages from @​adbar (PR #122)
    • call sum() without an intermediary list following PEP 289 recommendations from @​adbar (PR #129)
    • Code style as refactored by Sourcery-AI (PR #131)
    • Minor adjustment on the MD around european words (PR #133)
    • Remove and replace SRTs from assets / tests (PR #139)
    • Initialize the library logger with a NullHandler by default from @​nmaynes (PR #135)
    • Setting kwarg explain to True will add provisionally (bounded to function lifespan) a specific stream handler (PR #135)

    Fixed

    • Fix large (misleading) sequence giving UnicodeDecodeError (PR #137)
    • Avoid using too insignificant chunk (PR #137)

    Added

    • Add and expose function set_logging_handler to configure a specific StreamHandler from @​nmaynes (PR #135)
    • Add CHANGELOG.md entries, format is based on Keep a Changelog (PR #141)
    Commits
    • a5f4348 Release 2.0.12 (#171)
    • d56ed8c :bug: Improving the reliability around complex ascii string (#170)
    • 4c341fa :arrow_up: Bump black from 21.12b0 to 22.1.0 (#168)
    • f256c3e :bookmark: Bump to version 2.0.11 (#166)
    • d2d4217 :fire: Avoid setting/imposing TRACE level for everyone (#165)
    • db17aa0 Add explicit support for Python 3.11 (#164)
    • 0cc1528 🔧 Logging behavior to be less verbose under INFO and DEBUG (#163)
    • ce38494 📝 Update an outdated link in docs (#161)
    • f6d7b4e :arrow_up: Bump mypy from 0.930 to 0.931 (#160)
    • de25562 :bookmark: bump version 2.0.10 (#159)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump responses from 0.15.0 to 0.18.0

    dependency:(deps): bump responses from 0.15.0 to 0.18.0

    Bumps responses from 0.15.0 to 0.18.0.

    Release notes

    Sourced from responses's releases.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
    • Deprecate match_querystring argument in Response`` and CallbackResponse. Use responses.matchers.query_param_matcherorresponses.matchers.query_string_matcher`
    • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
    • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
    • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

    0.16.0

    • Fixed regression with stream parameter deprecation, requests.session() and cookie handling.
    • Replaced adhoc URL parsing with urllib.parse.
    • Added match parameter to add_callback method
    • Added responses.matchers.fragment_identifier_matcher. This matcher allows you to match request URL fragment identifier.
    • Improved test coverage.
    • Fixed failing test in python 2.7 when python-future is also installed.
    Changelog

    Sourced from responses's changelog.

    0.18.0

    • Dropped support of Python 2.7, 3.5, 3.6
    • Fixed issue with type annotation for responses.activate decorator. See #468
    • Removed internal _is_string and _ensure_str functions
    • Removed internal _quote from test_responses.py
    • Removed internal _matches attribute of RequestsMock object.
    • Generated decorator wrapper now uses stdlib features instead of strings and exec
    • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

    0.17.0

    • This release is the last to support Python 2.7.
    • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
    • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
    • Deprecate match_querystring argument in Response and CallbackResponse. Use responses.matchers.query_param_matcher or responses.matchers.query_string_matcher
    • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
    • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
    • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

    0.16.0

    • Fixed regression with stream parameter deprecation, requests.session() and cookie handling.
    • Replaced adhoc URL parsing with urllib.parse.
    • Added match parameter to add_callback method
    • Added responses.matchers.fragment_identifier_matcher. This matcher allows you to match request URL fragment identifier.
    • Improved test coverage.
    • Fixed failing test in python 2.7 when python-future is also installed.
    Commits
    • 1819574 release: 0.18.0
    • eb62b46 Fix RST error blocking release.
    • 82de5f8 move registries types into inlines (#472)
    • 6b70346 remove parallel requests branch test (#473)
    • e6e6504 move tests for registries to separate file (#474)
    • 8267f3d Remove universal wheel flag
    • a552398 Fix deprecation warning being emitted by add_callback (#470)
    • 69b7df7 mbelaiev/matchers_docs (#466)
    • 776ada5 Update changes for #461
    • 721115f significantly simplify function decorator by utilizing Python 3 built-in capa...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 2.0.11

    dependency:(deps): bump charset-normalizer from 2.0.7 to 2.0.11

    Bumps charset-normalizer from 2.0.7 to 2.0.11.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 2.0.11

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior has been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    Version 2.0.10

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    Version 2.0.9

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    Fixed

    • Wrong logging level applied when setting kwarg explain to True (PR #146)

    Version 2.0.8

    Changed

    • Improvement over Vietnamese detection (PR #126)
    • MD improvement on trailing data and long foreign (non-pure latin) data (PR #124)
    • Efficiency improvements in cd/alphabet_languages from @​adbar (PR #122)
    • call sum() without an intermediary list following PEP 289 recommendations from @​adbar (PR #129)
    • Code style as refactored by Sourcery-AI (PR #131)
    • Minor adjustment on the MD around european words (PR #133)
    • Remove and replace SRTs from assets / tests (PR #139)
    • Initialize the library logger with a NullHandler by default from @​nmaynes (PR #135)
    • Setting kwarg explain to True will add provisionally (bounded to function lifespan) a specific stream handler (PR #135)

    Fixed

    • Fix large (misleading) sequence giving UnicodeDecodeError (PR #137)
    • Avoid using too insignificant chunk (PR #137)

    Added

    • Add and expose function set_logging_handler to configure a specific StreamHandler from @​nmaynes (PR #135)
    • Add CHANGELOG.md entries, format is based on Keep a Changelog (PR #141)
    Changelog

    Sourced from charset-normalizer's changelog.

    2.0.11 (2022-01-30)

    Added

    • Explicit support for Python 3.11 (PR #164)

    Changed

    • The logging behavior have been completely reviewed, now using only TRACE and DEBUG levels (PR #163 #165)

    2.0.10 (2022-01-04)

    Fixed

    • Fallback match entries might lead to UnicodeDecodeError for large bytes sequence (PR #154)

    Changed

    • Skipping the language-detection (CD) on ASCII (PR #155)

    2.0.9 (2021-12-03)

    Changed

    • Moderating the logging impact (since 2.0.8) for specific environments (PR #147)

    Fixed

    • Wrong logging level applied when setting kwarg explain to True (PR #146)

    2.0.8 (2021-11-24)

    Changed

    • Improvement over Vietnamese detection (PR #126)
    • MD improvement on trailing data and long foreign (non-pure latin) data (PR #124)
    • Efficiency improvements in cd/alphabet_languages from @​adbar (PR #122)
    • call sum() without an intermediary list following PEP 289 recommendations from @​adbar (PR #129)
    • Code style as refactored by Sourcery-AI (PR #131)
    • Minor adjustment on the MD around european words (PR #133)
    • Remove and replace SRTs from assets / tests (PR #139)
    • Initialize the library logger with a NullHandler by default from @​nmaynes (PR #135)
    • Setting kwarg explain to True will add provisionally (bounded to function lifespan) a specific stream handler (PR #135)

    Fixed

    • Fix large (misleading) sequence giving UnicodeDecodeError (PR #137)
    • Avoid using too insignificant chunk (PR #137)

    Added

    • Add and expose function set_logging_handler to configure a specific StreamHandler from @​nmaynes (PR #135)
    • Add CHANGELOG.md entries, format is based on Keep a Changelog (PR #141)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • dependency:(deps): bump attrs from 21.2.0 to 22.2.0

    dependency:(deps): bump attrs from 21.2.0 to 22.2.0

    Bumps attrs from 21.2.0 to 22.2.0.

    Release notes

    Sourced from attrs's releases.

    22.2.0

    Highlights

    It's been a lot busier than the changelog indicates, but a lot of the work happened under the hood (like some impressive performance improvements). But we've got still one big new feature that's are worthy the holidays:

    Fields now have an alias argument that allows you to set the field's name in the generated __init__ method. This is especially useful for those who aren't fans of attrs's behavior of stripping underscores from private attribute names.

    Special Thanks

    This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!

    Above and Beyond

    Variomedia AG (@​variomedia), Tidelift (@​tidelift), Sentry (@​getsentry), HiredScore (@​HiredScore), FilePreviews (@​filepreviews), and Daniel Fortunov (@​asqui).

    Maintenance Sustainers

    @​rzijp, Adam Hill (@​adamghill), Dan Groshev (@​si14), Tamir Bahar (@​tmr232), Adi Roiban (@​adiroiban), Magnus Watn (@​magnuswatn), David Cramer (@​dcramer), Moving Content AG (@​moving-content), Stein Magnus Jodal (@​jodal), Iwan Aucamp (@​aucampia), ProteinQure (@​ProteinQure), Jesse Snyder (@​jessesnyder), Rivo Laks (@​rivol), Thomas Ballinger (@​thomasballinger), @​medecau, Ionel Cristian Mărieș (@​ionelmc), The Westervelt Company (@​westerveltco), Philippe Galvan (@​PhilippeGalvan), Birk Jernström (@​birkjernstrom), Jannis Leidel (@​jezdez), Tim Schilling (@​tim-schilling), Chris Withers (@​cjw296), and Christopher Dignam (@​chdsbd).

    Not to forget 2 more amazing humans who chose to be generous but anonymous!

    Full Changelog

    Backwards-incompatible Changes

    • Python 3.5 is not supported anymore. #988

    Deprecations

    • Python 3.6 is now deprecated and support will be removed in the next release. #1017

    Changes

    • attrs.field() now supports an alias option for explicit __init__ argument names.

      Get __init__ signatures matching any taste, peculiar or plain! The PEP 681 compatible alias option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides. #950

    • attrs.NOTHING is now an enum value, making it possible to use with e.g. typing.Literal. #983

    • Added missing re-import of attr.AttrsInstance to the attrs namespace. #987

    • Fix slight performance regression in classes with custom __setattr__ and speedup even more. #991

    • Class-creation performance improvements by switching performance-sensitive templating operations to f-strings.

      You can expect an improvement of about 5% -- even for very simple classes. #995

    ... (truncated)

    Changelog

    Sourced from attrs's changelog.

    22.2.0 - 2022-12-21

    Backwards-incompatible Changes

    • Python 3.5 is not supported anymore. #988

    Deprecations

    • Python 3.6 is now deprecated and support will be removed in the next release. #1017

    Changes

    • attrs.field() now supports an alias option for explicit __init__ argument names.

      Get __init__ signatures matching any taste, peculiar or plain! The PEP 681 compatible alias option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides. #950

    • attrs.NOTHING is now an enum value, making it possible to use with e.g. typing.Literal. #983

    • Added missing re-import of attr.AttrsInstance to the attrs namespace. #987

    • Fix slight performance regression in classes with custom __setattr__ and speedup even more. #991

    • Class-creation performance improvements by switching performance-sensitive templating operations to f-strings.

      You can expect an improvement of about 5% -- even for very simple classes. #995

    • attrs.has() is now a TypeGuard for AttrsInstance. That means that type checkers know a class is an instance of an attrs class if you check it using attrs.has() (or attr.has()) first. #997

    • Made attrs.AttrsInstance stub available at runtime and fixed type errors related to the usage of attrs.AttrsInstance in Pyright. #999

    • On Python 3.10 and later, call abc.update_abstractmethods() on dict classes after creation. This improves the detection of abstractness. #1001

    • attrs's pickling methods now use dicts instead of tuples. That is safer and more robust across different versions of a class. #1009

    • Added attrs.validators.not_(wrapped_validator) to logically invert wrapped_validator by accepting only values where wrapped_validator rejects the value with a ValueError or TypeError (by default, exception types configurable). #1010

    • The type stubs for attrs.cmp_using() now have default values. #1027

    • To conform with PEP 681, attr.s() and attrs.define() now accept unsafe_hash in addition to hash. #1065

    ... (truncated)

    Commits
    • a9960de Prepare 22.2.0
    • 566248a Don't linkcheck tree links
    • 0f62805 Make towncrier marker independent from warning
    • b9f35eb Fix minor stub issues (#1072)
    • 4ad4ea0 Use MyST-native include
    • 519423d Use MyST-native doctest blocks in all MD
    • 403adab Remove stray file
    • 6957e4a Use new typographic branding in the last rst file, too
    • 1bb2864 Convert examples.rst to md
    • c1c24cc Convert glossary.rst to md
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • dependency:(deps): bump packaging from 21.2 to 22.0

    dependency:(deps): bump packaging from 21.2 to 22.0

    Bumps packaging from 21.2 to 22.0.

    Release notes

    Sourced from packaging's releases.

    22.0

    What's Changed

    ... (truncated)

    Changelog

    Sourced from packaging's changelog.

    22.0 - 2022-12-07

    
    * Explicitly declare support for Python 3.11 (:issue:`587`)
    * Remove support for Python 3.6 (:issue:`500`)
    * Remove ``LegacySpecifier`` and ``LegacyVersion`` (:issue:`407`)
    * Add ``__hash__`` and ``__eq__`` to ``Requirement`` (:issue:`499`)
    * Add a ``cpNNN-none-any`` tag (:issue:`541`)
    * Adhere to :pep:`685` when evaluating markers with extras (:issue:`545`)
    * Allow accepting locally installed prereleases with ``SpecifierSet``  (:issue:`515`)
    * Allow pre-release versions in marker evaluation (:issue:`523`)
    * Correctly parse ELF for musllinux on Big Endian (:issue:`538`)
    * Document ``packaging.utils.NormalizedName`` (:issue:`565`)
    * Document exceptions raised by functions in ``packaging.utils`` (:issue:`544`)
    * Fix compatible version specifier incorrectly strip trailing ``0`` (:issue:`493`)
    * Fix macOS platform tags with old macOS SDK (:issue:`513`)
    * Forbid prefix version matching on pre-release/post-release segments (:issue:`563`)
    * Normalize specifier version for prefix matching (:issue:`561`)
    * Improve documentation for ``packaging.specifiers`` and ``packaging.version``. (:issue:`572`)
    * ``Marker.evaluate`` will now assume evaluation environment with empty ``extra``.
      Evaluating markers like ``"extra == 'xyz'"`` without passing any extra in the
      ``environment`` will no longer raise an exception (:issue:`550`)
    * Remove dependency on ``pyparsing``, by replacing it with a hand-written parser.
      This package now has no runtime dependencies (:issue:`468`)
    * Update return type hint for ``Specifier.filter`` and ``SpecifierSet.filter``
      to use ``Iterator`` instead of ``Iterable`` (:issue:`584`)
    

    21.3 - 2021-11-17

    • Add a pp3-none-any tag (:issue:311)
    • Replace the blank pyparsing 3 exclusion with a 3.0.5 exclusion (:issue:481, :issue:486)
    • Fix a spelling mistake (:issue:479)
    Commits
    • b6e9bbc Bump for release
    • 55bdc66 Bump version to 22.0
    • b997a48 Permit arbitrary whitespace around versions specifier in parenthesis
    • e7ce051 Fix a typo in an error message
    • cb09331 Enforce word boundaries in operators and names
    • b41326d Rename marker_expr to marker
    • 975cd32 Permit whitespace around marker_atom
    • 8cba45c Add ParserSyntaxError as the cause of Invalid{Requirement/Marker}
    • 7930b73 Improve error message for bad version specifiers in Requirement
    • 258d252 Rewrite test suite for requirements parsing
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • dependency:(deps): bump charset-normalizer from 2.0.7 to 3.0.1

    dependency:(deps): bump charset-normalizer from 2.0.7 to 3.0.1

    Bumps charset-normalizer from 2.0.7 to 3.0.1.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 3.0.1

    3.0.1 (2022-11-18)

    Fixed

    • Multi-bytes cutter/chunk generator did not always cut correctly (PR #233)

    Changed

    • Speedup provided using mypy/c 0.990 on Python >= 3.7

    Version 3.0.0

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if the current version provides extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata (not pyproject.toml yet)
    • Make language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha characters have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer returns 'Simple English' instead returns 'English'
    • Coherence detector no longer returns 'Classical Chinese' instead returns 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflicts with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    This is the last version (3.0.x) to support Python 3.6 We plan to drop it for 3.1.x

    Version 3.0.0rc1

    This is the last pre-release. If everything goes well, I will publish the stable tag.

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    3.0.1 (2022-11-18)

    Fixed

    • Multi-bytes cutter/chunk generator did not always cut correctly (PR #233)

    Changed

    • Speedup provided by mypy/c 0.990 on Python >= 3.7

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer return 'Simple English' instead return 'English'
    • Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it

    ... (truncated)

    Upgrade guide

    Sourced from charset-normalizer's upgrade guide.

    Guide to upgrade your code from v1 to v2

    • If you are using the legacy detect function, that is it. You have nothing to do.

    Detection

    Before

    from charset_normalizer import CharsetNormalizerMatches
    

    results = CharsetNormalizerMatches.from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    After

    from charset_normalizer import from_bytes
    

    results = from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    Methods that once were staticmethods of the class CharsetNormalizerMatches are now basic functions. from_fp, from_bytes, from_fp and `` are concerned.

    Staticmethods scheduled to be removed in version 3.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • dependency:(deps): bump responses from 0.15.0 to 0.22.0

    dependency:(deps): bump responses from 0.15.0 to 0.22.0

    Bumps responses from 0.15.0 to 0.22.0.

    Release notes

    Sourced from responses's releases.

    0.22.0

    • Update requests dependency to the version of 2.22.0 or higher. See #584.
    • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
    • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
    • Fix type for the mock's patcher object. See #556
    • Fix type annotation for CallList
    • Add passthrough argument to BaseResponse object. See #557
    • Fix registries leak. See #563
    • OriginalResponseShim is removed. See #585
    • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
    • Add lists support as JSON objects in json_params_matcher. See #559
    • Added project links to pypi listing.
    • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
    • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
    • Adjust error message when Retry is exhausted. See #580.

    0.21.0

    • Add threading.Lock() to allow responses working with threading module.
    • Add urllib3 Retry mechanism. See #135
    • Removed internal _cookies_from_headers function
    • Now add, upsert, replace methods return registered response. remove method returns list of removed responses.
    • Added null value support in urlencoded_params_matcher via allow_blank keyword argument
    • Added strict version of decorator. Now you can apply @responses.activate(assert_all_requests_are_fired=True) to your function to validate that all requests were executed in the wrapped function. See #183

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
    • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
    • query_param_matcher can now accept dictionaries with int and float values.
    • Add support for the loose version of query_param_matcher via named argument strict_match.
    • Added support for async/await functions.
    • response_callback is no longer executed on exceptions raised by failed Responses
    • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.

    ... (truncated)

    Changelog

    Sourced from responses's changelog.

    0.22.0

    • Update requests dependency to the version of 2.22.0 or higher. See #584.
    • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
    • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
    • Fix type for the mock's patcher object. See #556
    • Fix type annotation for CallList
    • Add passthrough argument to BaseResponse object. See #557
    • Fix registries leak. See #563
    • OriginalResponseShim is removed. See #585
    • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
    • Add lists support as JSON objects in json_params_matcher. See #559
    • Added project links to pypi listing.
    • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
    • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
    • Adjust error message when Retry is exhausted. See #580.

    0.21.0

    • Add threading.Lock() to allow responses working with threading module.
    • Add urllib3 Retry mechanism. See #135
    • Removed internal _cookies_from_headers function
    • Now add, upsert, replace methods return registered response. remove method returns list of removed responses.
    • Added null value support in urlencoded_params_matcher via allow_blank keyword argument
    • Added strict version of decorator. Now you can apply @responses.activate(assert_all_requests_are_fired=True) to your function to validate that all requests were executed in the wrapped function. See #183

    0.20.0

    • Deprecate responses.assert_all_requests_are_fired, responses.passthru_prefixes, responses.target since they are not actual properties of the class instance. Use responses.mock.assert_all_requests_are_fired, responses.mock.passthru_prefixes, responses.mock.target instead.
    • Fixed the issue when reset() method was called in not stopped mock. See #511

    0.19.0

    • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
    • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
    • Prevent responses.activate decorator to leak, if wrapped function called from within another

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Fixture List

    Fixture List

    It appears that the application is getting a 403 forbidden when attempting to retrieve the fixture list. Perhaps FanDuel changed access to this endpoint

    opened by Riverhawk20 2
Releases(2.0.0)
Owner
Brandin Canfield
Software Engineer
Brandin Canfield
Rethinking of Pedestrian Attribute Recognition: A Reliable Evaluation under Zero-Shot Pedestrian Identity Setting

Pytorch Pedestrian Attribute Recognition: A strong PyTorch baseline of pedestrian attribute recognition and multi-label classification.

Jian 79 Dec 18, 2022
《Dual-Resolution Correspondence Network》(NeurIPS 2020)

Dual-Resolution Correspondence Network Dual-Resolution Correspondence Network, NeurIPS 2020 Dependency All dependencies are included in asset/dualrcne

Active Vision Laboratory 45 Nov 21, 2022
An official implementation of MobileStyleGAN in PyTorch

MobileStyleGAN: A Lightweight Convolutional Neural Network for High-Fidelity Image Synthesis Official PyTorch Implementation The accompanying videos c

Sergei Belousov 602 Jan 07, 2023
Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation (ICCV 2021)

Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation Home | PyTorch BigGAN Discovery | TensorFlow ProGAN Regulariza

Yuxiang Wei 54 Dec 30, 2022
Simple Tensorflow implementation of "Adaptive Convolutions for Structure-Aware Style Transfer" (CVPR 2021)

AdaConv — Simple TensorFlow Implementation [Paper] : Adaptive Convolutions for Structure-Aware Style Transfer (CVPR 2021) Note This repository does no

Junho Kim 26 Nov 18, 2022
Code for "On the Effects of Batch and Weight Normalization in Generative Adversarial Networks"

Note: this repo has been discontinued, please check code for newer version of the paper here Weight Normalized GAN Code for the paper "On the Effects

Sitao Xiang 182 Sep 06, 2021
Source code for CAST - Crisis Domain Adaptation Using Sequence-to-sequence Transformers (Accepted to ISCRAM 2021, CorePaper).

Source code for CAST: Crisis Domain Adaptation UsingSequence-to-sequenceTransformers (Paper, BibTeX, Accepted to ISCRAM 2021, CorePaper) Quick start D

Congcong Wang 0 Jul 14, 2021
This repo is the official implementation of "L2ight: Enabling On-Chip Learning for Optical Neural Networks via Efficient in-situ Subspace Optimization".

L2ight is a closed-loop ONN on-chip learning framework to enable scalable ONN mapping and efficient in-situ learning. L2ight adopts a three-stage learning flow that first calibrates the complicated p

Jiaqi Gu 9 Jul 14, 2022
This project uses Template Matching technique for object detecting by detection of template image over base image.

Object Detection Project Using OpenCV This project uses Template Matching technique for object detecting by detection the template image over base ima

Pratham Bhatnagar 7 May 29, 2022
Code to replicate the key results from Exploring the Limits of Out-of-Distribution Detection

Exploring the Limits of Out-of-Distribution Detection In this repository we're collecting replications for the key experiments in the Exploring the Li

Stanislav Fort 35 Jan 03, 2023
An easier way to build neural search on the cloud

An easier way to build neural search on the cloud Jina is a deep learning-powered search framework for building cross-/multi-modal search systems (e.g

Jina AI 17k Jan 02, 2023
Trajectory Variational Autoencder baseline for Multi-Agent Behavior challenge 2022

MABe_2022_TVAE: a Trajectory Variational Autoencoder baseline for the 2022 Multi-Agent Behavior challenge This repository contains jupyter notebooks t

Andrew Ulmer 15 Nov 08, 2022
High-performance moving least squares material point method (MLS-MPM) solver.

High-Performance MLS-MPM Solver with Cutting and Coupling (CPIC) (MIT License) A Moving Least Squares Material Point Method with Displacement Disconti

Yuanming Hu 2.2k Dec 31, 2022
This is an unofficial PyTorch implementation of Meta Pseudo Labels

This is an unofficial PyTorch implementation of Meta Pseudo Labels. The official Tensorflow implementation is here.

Jungdae Kim 320 Jan 08, 2023
Repository of continual learning papers

Continual learning paper repository This repository contains an incomplete (but dynamically updated) list of papers exploring continual learning in ma

29 Jan 05, 2023
HMLET (Hybrid-Method-of-Linear-and-non-linEar-collaborative-filTering-method)

Methods HMLET (Hybrid-Method-of-Linear-and-non-linEar-collaborative-filTering-method) Dynamically selecting the best propagation method for each node

Yong 7 Dec 18, 2022
A python implementation of Deep-Image-Analogy based on pytorch.

Deep-Image-Analogy This project is a python implementation of Deep Image Analogy.https://arxiv.org/abs/1705.01088. Some results Requirements python 3

Peng Lu 171 Dec 14, 2022
Here I will explain the flow to deploy your custom deep learning models on Ultra96V2.

Xilinx_Vitis_AI This repo will help you to Deploy your Deep Learning Model on Ultra96v2 Board. Prerequisites Vitis Core Development Kit 2019.2 This co

Amin Mamandipoor 1 Feb 08, 2022
An official source code for "Augmentation-Free Self-Supervised Learning on Graphs"

Augmentation-Free Self-Supervised Learning on Graphs An official source code for Augmentation-Free Self-Supervised Learning on Graphs paper, accepted

Namkyeong Lee 59 Dec 01, 2022
Dynamic Slimmable Network (CVPR 2021, Oral)

Dynamic Slimmable Network (DS-Net) This repository contains PyTorch code of our paper: Dynamic Slimmable Network (CVPR 2021 Oral). Architecture of DS-

Changlin Li 197 Dec 09, 2022