Ruairi
67b69e732c
Implement experiments ( #520 )
* start on experiments
Signed-off-by: Ruairi <[email protected] >
* Proper experiment types
* Small fixes
* add experiments to client
Signed-off-by: Ruairi <[email protected] >
* format using black
Signed-off-by: Ruairi <[email protected] >
* correct errors in filters
Signed-off-by: Ruairi <[email protected] >
* add suggested changes
Signed-off-by: Ruairi <[email protected] >
* oopsies
Signed-off-by: Ruairi <[email protected] >
* fix some errors hopefully
Signed-off-by: Ruairi <[email protected] >
* fix even more type errors
Signed-off-by: Ruairi <[email protected] >
* moved to utils
Signed-off-by: Ruairi <[email protected] >
* Fix overloads
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* add suggested changes
Signed-off-by: Ruairi <[email protected] >
* fixinator
Signed-off-by: Ruairi <[email protected] >
* properly cast
Signed-off-by: Ruairi <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/client.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/http.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/utils.py
Co-authored-by: dolfies <[email protected] >
* fix type error
Signed-off-by: Ruairi <[email protected] >
* rename murmurhash32
Signed-off-by: Ruairi <[email protected] >
* fix!: apply suggestions
Signed-off-by: Ruairi <[email protected] >
* fix quotes
Signed-off-by: Ruairi <[email protected] >
* big fixesd
* logic fixes and simplification
* add mmh3 to optional reqs
* reqs my beloved
* documentation
* Proper filters
* Export experiment classes
* Fix Metadata object parsing
* More low-level method warnings
* Fix and improve performance of ExperimentOverride
* more positional-only markers
* fix small isues
Signed-off-by: Ruairi <[email protected] >
* fix formatting
Signed-off-by: Ruairi <[email protected] >
* put mmh3 shit without type checker and shit idk
* Remove str(exp)
---------
Signed-off-by: Ruairi <[email protected] >
Co-authored-by: dolfies <[email protected] >
2 years ago
dolfies
8a1a3ffcce
Fix issues with previous upstream commits
2 years ago
Rapptz
827e140cac
Fix cchardet being installed on Python >=3.10
This project is unmaintained now
3 years ago
Rapptz
9c7b867d36
Fix nested Annotated calls not resolving
3 years ago
dolfies
6897e9134e
Initial implementation of automatic renamed branch syncing
3 years ago
dolfies
9d471b64cd
Document ConnectionType and readd requests to doc requirements
3 years ago
dolfies
188f21235e
Improve readme, examples, workflows
3 years ago
Rapptz
4edfcd165d
Version bump aiohttp and PyNaCl
Fixes #7614
3 years ago
Rapptz
0d2db90028
Implement slash commands
3 years ago
Devon R
28c7cdca99
Baseline tests, basically just parts of utils right now
3 years ago
Devon R
b3dae26a3d
Add typing-extensions to docs requires
3 years ago
Josh
4dbe1af32f
Update sphinx and fix documentation issues
3 years ago
Rapptz
8b96822ca1
Add pyproject.toml
3 years ago
dolfies
be09af4587
Add python 3.10 as a topic
3 years ago
dolfies
9442bca550
Fix ext packages
3 years ago
dolfies
259c122fae
make namespaces work propererly
3 years ago
Parker Wahle
da7a69fa3d
Fix setup packages ( #160 )
* Fix ext packages
* discontinue " in favor of '
3 years ago
dolfies
72f126a321
I can't python
4 years ago
dolfies
e366785761
Update setup.py
4 years ago
Riley Shaw
55f79ed096
Add typing metadata
4 years ago
Rapptz
88d825a803
Allow use of orjson instead of json
The difference in speed seems negligible at start up, which is when
most time is taken for actually parsing JSON. I could potentially be
missing something but profiling didn't point to any discernable
difference.
4 years ago
Josh
233d10649c
[docs] Update Sphinx and Fix various references
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Rapptz
98570793e4
Add initial support for buttons and components
4 years ago
Josh
3864fb37a0
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Rapptz
a6f7213c89
Rewrite webhooks to play better with typings and rate limits
This unfortunately required splitting the types into two. This led to
a lot of unfortunate code duplication that I didn't really enjoy
writing.
The new design allows users to pass an authentication token to make
webhook requests without the webhook token and allows to finally
edit the webhook channel.
The new design also uses a contextvar to store rate limiting
information so multiple instances or recreating instances no longer
clears the ratelimiting state since it's now essentially a "global"
object.
Closes #6525 , closes #6662 , closes #2509 , closes #1761
4 years ago
Rapptz
8e299e80f8
Update Sphinx to 3.5.3
4 years ago
Rapptz
23fe6b46dd
Typehint discord.Embed and introduce discord.types subpackage
The discord.types subpackage is currently only used to do type hinting
of API payloads, it's very much incomplete right now and it'll be a
rather long process.
discord.Embed was typehinted and formatted using black.
4 years ago
Rapptz
9fc2ab9c99
Bump minimum Python version to 3.8
4 years ago
Rapptz
fd14cf7b81
Bump Sphinx to 3.0.3
5 years ago
Rapptz
5fbb340339
Bump Sphinx to 2.4.4
5 years ago
Rapptz
7f3737fcc2
Bump dependencies for 3.9 to work without build tools
Fix #5984 , #5970
4 years ago
DevilXD
aea9c2aebf
Fixed missing awaits in subclassed coros
5 years ago
Peter Levart
5064f51a4c
Capitalize Python for consistency
5 years ago
Myst(MysterialPy)
c2a05688d7
Add Python 3.8 classifier to setup.py
Added `Programming Language :: Python :: 3.8` classifier to setup.py
since Discord.py fully supports it without error or warning.
5 years ago
Eugene
be5bd27386
Remove unused import
find_packages function is not used anymore
6 years ago
Rapptz
db67c79dbc
Downgrade to Sphinx 1.8.5
For some reason 2.1.2 breaks localization.
6 years ago
Rapptz
7543328fe7
Update Sphinx to 2.1.2
6 years ago
Rapptz
4770f5a958
Export tasks extension
6 years ago
Rapptz
d37839f38a
Update classifier in setup.py
6 years ago
Rapptz
bb79f2ae81
Bump PyNaCl to 1.3.0
6 years ago
Rapptz
97de4542f7
Add project URLs to setup.py
6 years ago
Hornwitser
1f4940d171
Fix README.rst for PyPi
Add long_description_content_type in setup.py, fix incorrectly
matched up title underlines in README.rst, and fix incorrect entry in
MANIFEST.in that was forgotten when the README was renamed in 06296bf
.
6 years ago
ItWasAllIntended
134bc21fda
Update PyNaCl dependency to one that works with 3.7
This also adds the 3.7 classifier as with this there are no 3.7 issues
7 years ago
Toby Harradine
dace5aeaee
Move conditional RTD dependencies to 'docs' extra
7 years ago
orlnub123
e825762807
Add python_requires
7 years ago
Rapptz
0ba958bae4
Bump Sphinx to 1.7.4
7 years ago
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
7 years ago
Rapptz
e9f887aab2
Add websupport extension to extension list.
7 years ago
Rapptz
300c0f7b19
Pip version requires require all 3 digits.
7 years ago
Rapptz
5c65acd9b3
Add some dependencies for RTD.
7 years ago