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
Technical Indicators implemented in Python only using Numpy-Pandas as Magic - Very Very Fast! Very tiny! Stock Market Financial Technical Analysis Python library . Quant Trading automation or cryptocoin exchange

MyTT Technical Indicators implemented in Python only using Numpy-Pandas as Magic - Very Very Fast! to Stock Market Financial Technical Analysis Python

dev 34 Dec 27, 2022
Worktory is a python library created with the single purpose of simplifying the inventory management of network automation scripts.

Worktory is a python library created with the single purpose of simplifying the inventory management of network automation scripts.

Renato Almeida de Oliveira 18 Aug 31, 2022
Flappy bird automation using Neuroevolution of Augmenting Topologies (NEAT) in Python

FlappyAI Flappy bird automation using Neuroevolution of Augmenting Topologies (NEAT) in Python Everything Used Genetic Algorithm especially NEAT conce

Eryawan Presma Y. 2 Mar 24, 2022
a spacial-temporal pattern detection system for home automation

Argos a spacial-temporal pattern detection system for home automation. Based on OpenCV and Tensorflow, can run on raspberry pi and notify HomeAssistan

Angad Singh 133 Jan 5, 2023
A generalized framework for prototyping full-stack cooperative driving automation applications under CARLA+SUMO.

OpenCDA OpenCDA is a SIMULATION tool integrated with a prototype cooperative driving automation (CDA; see SAE J3216) pipeline as well as regular autom

UCLA Mobility Lab 726 Dec 29, 2022
Privacy as Code for DSAR Orchestration: Privacy Request automation to fulfill GDPR, CCPA, and LGPD data subject requests.

Meet Fidesops: Privacy as Code for DSAR Orchestration A part of the greater Fides ecosystem. ⚡ Overview Fidesops (fee-dez-äps, combination of the Lati

Ethyca 44 Dec 6, 2022
Ansible Automation Example: JSNAPY PRE/POST Upgrade Validation

Ansible Automation Example: JSNAPY PRE/POST Upgrade Validation Overview This example will show how to validate the status of our firewall before and a

Calvin Remsburg 1 Jan 7, 2022
Speech Recognition is an important feature in several applications used such as home automation, artificial intelligence

Speech Recognition is an important feature in several applications used such as home automation, artificial intelligence, etc. This article aims to provide an introduction on how to make use of the SpeechRecognition and pyttsx3 library of Python.

RISHABH MISHRA 1 Feb 13, 2022
API for RL algorithm design & testing of BCA (Building Control Agent) HVAC on EnergyPlus building energy simulator by wrapping their EMS Python API

RL - EmsPy (work In Progress...) The EmsPy Python package was made to facilitate Reinforcement Learning (RL) algorithm research for developing and tes

null 20 Jan 5, 2023
Transfer style api - An API to use with Tranfer Style App, where you can use two image and transfer the style

Transfer Style API It's an API to use with Tranfer Style App, where you can use

Brian Alejandro 1 Feb 13, 2022
git git《Transformer Meets Tracker: Exploiting Temporal Context for Robust Visual Tracking》(CVPR 2021) GitHub:git2] 《Masksembles for Uncertainty Estimation》(CVPR 2021) GitHub:git3]

Transformer Meets Tracker: Exploiting Temporal Context for Robust Visual Tracking Ning Wang, Wengang Zhou, Jie Wang, and Houqiang Li Accepted by CVPR

NingWang 236 Dec 22, 2022
Code of the lileonardo team for the 2021 Emotion and Theme Recognition in Music task of MediaEval 2021

Emotion and Theme Recognition in Music The repository contains code for the submission of the lileonardo team to the 2021 Emotion and Theme Recognitio

Vincent Bour 8 Aug 2, 2022
The world's simplest facial recognition api for Python and the command line

Face Recognition You can also read a translated version of this file in Chinese 简体中文版 or in Korean 한국어 or in Japanese 日本語. Recognize and manipulate fa

Adam Geitgey 46.9k Jan 3, 2023
Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs (CIKM 2020)

Karate Club is an unsupervised machine learning extension library for NetworkX. Please look at the Documentation, relevant Paper, Promo Video, and Ext

Benedek Rozemberczki 1.8k Jan 7, 2023
Python package for Bayesian Machine Learning with scikit-learn API

Python package for Bayesian Machine Learning with scikit-learn API Installing & Upgrading package pip install https://github.com/AmazaspShumik/sklearn

Amazasp Shaumyan 482 Jan 4, 2023
Python wrapper to access the amazon selling partner API

PYTHON-AMAZON-SP-API Amazon Selling-Partner API If you have questions, please join on slack Contributions very welcome! Installation pip install pytho

Michael Primke 330 Jan 6, 2023
Genetic Programming in Python, with a scikit-learn inspired API

Welcome to gplearn! gplearn implements Genetic Programming in Python, with a scikit-learn inspired and compatible API. While Genetic Programming (GP)

Trevor Stephens 1.3k Jan 3, 2023
Backend code to use MCPI's python API to make infinite worlds with custom generation

inf-mcpi Backend code to use MCPI's python API to make infinite worlds with custom generation Does not save player-placed blocks! Generation is still

null 5 Oct 4, 2022