id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
12,600
RawData.py
PyGithub_PyGithub/tests/RawData.py
############################ Copyrights and license ############################ # # # Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2014 Vincent Jacques <vincent@vincent-jacques.net> ...
5,482
Python
.py
97
50.309278
183
0.548735
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,601
Branch.py
PyGithub_PyGithub/tests/Branch.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
15,064
Python
.py
271
46.571956
146
0.636708
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,602
PoolSize.py
PyGithub_PyGithub/tests/PoolSize.py
############################ Copyrights and license ############################ # # # Copyright 2021 Amador Pahim <apahim@redhat.com> # # Copyright 2023 Enrico Minack <github@enrico.minack.dev> ...
2,572
Python
.py
42
57.02381
80
0.466904
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,603
GithubObject.py
PyGithub_PyGithub/tests/GithubObject.py
############################ Copyrights and license ############################ # # # Copyright 2023 Christoph Reiter <reiter.christoph@gmail.com> # # Copyright 2023 Enrico Minack <github@enrico.minack.dev> ...
6,012
Python
.py
114
42.359649
94
0.526763
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,604
NamedUser.py
PyGithub_PyGithub/tests/NamedUser.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
17,209
Python
.py
426
28.49061
168
0.508444
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,605
PullRequest2408.py
PyGithub_PyGithub/tests/PullRequest2408.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
3,575
Python
.py
48
72.083333
95
0.500284
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,606
Reaction.py
PyGithub_PyGithub/tests/Reaction.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
3,591
Python
.py
54
62.777778
103
0.493768
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,607
CheckSuite.py
PyGithub_PyGithub/tests/CheckSuite.py
############################ Copyrights and license ############################ # # # Copyright 2020 Dhruv Manilawala <dhruvmanila@gmail.com> # # Copyright 2020 Steve Kowalik <steven@wedontsleep.org> ...
7,970
Python
.py
155
42.245161
95
0.577949
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,608
Issue214.py
PyGithub_PyGithub/tests/Issue214.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
4,128
Python
.py
62
62.080645
86
0.530225
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,609
AuthenticatedUser.py
PyGithub_PyGithub/tests/AuthenticatedUser.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
29,718
Python
.py
734
28.325613
408
0.530715
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,610
PullRequest.py
PyGithub_PyGithub/tests/PullRequest.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
26,664
Python
.py
529
40.098299
135
0.607422
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,611
Issue2030.py
PyGithub_PyGithub/tests/Issue2030.py
############################ Copyrights and license ############################ # # # Copyright 2021 karthik-kadajji <60779081+karthik-kadajji@users.noreply.github.com># # Copyright 2023 Enrico Minack <github@enrico.minack.dev> ...
2,212
Python
.py
32
66.125
85
0.441636
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,612
OrganizationHasInMembers.py
PyGithub_PyGithub/tests/OrganizationHasInMembers.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
3,055
Python
.py
42
70.5
85
0.4779
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,613
Label.py
PyGithub_PyGithub/tests/Label.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2012 Zearin <zearin@gonk.net> ...
3,914
Python
.py
57
64.894737
101
0.512334
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,614
conf.py
PyGithub_PyGithub/doc/conf.py
############################ Copyrights and license ############################ # # # Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> ...
15,305
Python
.py
316
43.462025
115
0.609926
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,615
add_attribute.py
PyGithub_PyGithub/scripts/add_attribute.py
#!/usr/bin/env python ############################ Copyrights and license ############################ # # # Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2014 Thialfihar <thi@thialfihar.org> ...
8,790
Python
.py
196
36.346939
111
0.504785
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,616
fix_headers.py
PyGithub_PyGithub/scripts/fix_headers.py
#!/usr/bin/env python ############################ Copyrights and license ############################ # # # Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> # # Copyright 2014 Vincent Jacques <vincent@vincent-jacqu...
8,192
Python
.py
151
46.86755
117
0.476589
PyGithub/PyGithub
6,892
1,756
334
LGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,617
setup.py
jfinkels_flask-restless/setup.py
# setup.py - packaging and distribution configuration for Flask-Restless # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is dist...
4,267
Python
.py
96
40.229167
79
0.696583
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,618
manager.py
jfinkels_flask-restless/flask_restless/manager.py
# manager.py - class that creates endpoints compliant JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed un...
41,419
Python
.py
762
44.267717
79
0.65379
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,619
__init__.py
jfinkels_flask-restless/flask_restless/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
2,069
Python
.py
58
33.448276
75
0.782869
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,620
helpers.py
jfinkels_flask-restless/flask_restless/helpers.py
# helpers.py - helper functions for Flask-Restless # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both the...
32,023
Python
.py
691
39.892909
79
0.675205
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,621
serializers.py
jfinkels_flask-restless/flask_restless/serialization/serializers.py
# serializers.py - JSON serializers for SQLAlchemy models # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under b...
26,153
Python
.py
549
39.136612
79
0.665517
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,622
__init__.py
jfinkels_flask-restless/flask_restless/serialization/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
1,320
Python
.py
34
36.617647
72
0.8
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,623
exceptions.py
jfinkels_flask-restless/flask_restless/serialization/exceptions.py
# exceptions.py - serialization exceptions # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both the GNU Aff...
7,955
Python
.py
172
39.726744
77
0.682054
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,624
deserializers.py
jfinkels_flask-restless/flask_restless/serialization/deserializers.py
# deserializers.py - SQLAlchemy deserializers for JSON documents # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed ...
26,316
Python
.py
529
41.240076
79
0.669253
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,625
resources.py
jfinkels_flask-restless/flask_restless/views/resources.py
# resources.py - views for requests on SQLAlchemy resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under...
34,549
Python
.py
650
40.686154
79
0.616258
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,626
function.py
jfinkels_flask-restless/flask_restless/views/function.py
# function.py - views for evaluating SQL functions on SQLAlchemy models # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distr...
6,438
Python
.py
133
40.691729
78
0.686306
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,627
__init__.py
jfinkels_flask-restless/flask_restless/views/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
1,053
Python
.py
31
32.096774
72
0.766438
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,628
base.py
jfinkels_flask-restless/flask_restless/views/base.py
# base.py - base classes for views of SQLAlchemy objects # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under bo...
73,760
Python
.py
1,499
39.649099
79
0.635125
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,629
relationships.py
jfinkels_flask-restless/flask_restless/views/relationships.py
# relationships.py - views for requests on SQLAlchemy relationships # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distribut...
19,601
Python
.py
370
39.664865
79
0.599104
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,630
helpers.py
jfinkels_flask-restless/flask_restless/views/helpers.py
# helpers.py - helper functions for view classes # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both the G...
1,817
Python
.py
42
39.261905
79
0.727324
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,631
filters.py
jfinkels_flask-restless/flask_restless/search/filters.py
# filters.py - parsing and creation of SQLAlchemy filter expressions # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distribu...
11,426
Python
.py
238
40.840336
77
0.683164
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,632
drivers.py
jfinkels_flask-restless/flask_restless/search/drivers.py
# drivers.py - high-level functions for filtering SQLAlchemy queries # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distribu...
6,012
Python
.py
122
41.942623
78
0.681958
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,633
operators.py
jfinkels_flask-restless/flask_restless/search/operators.py
# operators.py - parsing and creation of SQLAlchemy operators # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed und...
7,381
Python
.py
181
36.370166
78
0.695993
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,634
__init__.py
jfinkels_flask-restless/flask_restless/search/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
1,467
Python
.py
36
38.916667
72
0.787368
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,635
quickstart.py
jfinkels_flask-restless/examples/quickstart.py
import flask import flask_sqlalchemy import flask_restless # Create the Flask application and the Flask-SQLAlchemy object. app = flask.Flask(__name__) app.config['DEBUG'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db' db = flask_sqlalchemy.SQLAlchemy(app) # Create your Flask-SQLALchemy model...
1,502
Python
.py
34
40.294118
72
0.725652
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,636
requests_client.py
jfinkels_flask-restless/examples/clients/requests_client.py
""" Using Flask-Restless with the "requests" library ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This provides an example of using Flask-Restless on the server side to provide a ReSTful API and the Python `requests <http://docs.python-requests.org/en/latest/>`_ library on the client side t...
2,416
Python
.py
55
39.872727
79
0.700213
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,637
__main__.py
jfinkels_flask-restless/examples/clients/jquery/__main__.py
""" Using Flask-Restless with jQuery ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This provides a simple example of using Flask-Restless on the server to create ReSTful API endpoints and [jQuery][0] on the client to make API requests. This requires the following Python libraries to be installed: * Fl...
2,465
Python
.py
64
34.6875
75
0.707071
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,638
separate_endpoints.py
jfinkels_flask-restless/examples/server_configurations/separate_endpoints.py
""" Separate URLs example ~~~~~~~~~~~~~~~~~~~~~ This provides an example of creating separate API endpoints for different HTTP methods. You can read from the database by making a :http:get:`http://localhost:5000/get/person` request, add a new person using :http:get:`http://localhost:5000/a...
2,312
Python
.py
50
42.38
79
0.715302
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,639
custom_serialization.py
jfinkels_flask-restless/examples/server_configurations/custom_serialization.py
# custom_serialization.py - using Marshmallow serialization with Flask-Restless # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless ...
6,046
Python
.py
139
38.604317
79
0.738811
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,640
__main__.py
jfinkels_flask-restless/examples/server_configurations/authentication/__main__.py
""" Authentication example using Flask-Login ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This provides a simple example of using Flask-Login as the authentication framework which can guard access to certain API endpoints. This requires the following Python libraries to be installed: * Flask ...
4,469
Python
.py
104
38.153846
79
0.701686
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,641
conf.py
jfinkels_flask-restless/docs/conf.py
# -*- coding: utf-8 -*- # # Flask-Restless documentation build configuration file, created by # sphinx-quickstart on Fri Mar 2 00:35:49 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. ...
9,382
Python
.py
216
41.356481
80
0.720659
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,642
test_manager.py
jfinkels_flask-restless/tests/test_manager.py
# test_manager.py - unit tests for the manager module # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both ...
19,868
Python
.py
430
37.097674
79
0.64323
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,643
test_polymorphism.py
jfinkels_flask-restless/tests/test_polymorphism.py
# test_polymorphism.py - unit tests for polymorphic models # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under ...
19,077
Python
.py
422
35.004739
85
0.619446
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,644
test_deleting.py
jfinkels_flask-restless/tests/test_deleting.py
# test_deleting.py - unit tests for deleting resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both...
11,290
Python
.py
255
35.513725
79
0.649407
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,645
test_functions.py
jfinkels_flask-restless/tests/test_functions.py
# test_functions.py - unit tests for function evaluation endpoints # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distribute...
8,092
Python
.py
166
39.39759
79
0.614206
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,646
test_filtering_postgresql.py
jfinkels_flask-restless/tests/test_filtering_postgresql.py
# test_filtering_postgresql.py - filtering tests for PostgreSQL # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed u...
7,057
Python
.py
153
38.183007
76
0.632983
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,647
test_updating.py
jfinkels_flask-restless/tests/test_updating.py
# test_updating.py - unit tests for updating resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both...
41,634
Python
.py
1,041
29.353506
79
0.546425
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,648
test_server_responsibilities.py
jfinkels_flask-restless/tests/test_server_responsibilities.py
# test_server_responsibilities.py - tests JSON API server responsibilities # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is di...
2,980
Python
.py
64
39.6875
77
0.68
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,649
test_metadata.py
jfinkels_flask-restless/tests/test_metadata.py
# test_metadata.py - unit tests for response metadata # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both ...
3,261
Python
.py
73
37.835616
78
0.670662
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,650
test_serialization.py
jfinkels_flask-restless/tests/test_serialization.py
# test_serialization.py - unit tests for serializing resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed un...
28,153
Python
.py
612
36.410131
79
0.633279
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,651
__init__.py
jfinkels_flask-restless/tests/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
1,311
Python
.py
29
43.931034
72
0.776995
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,652
test_fetching.py
jfinkels_flask-restless/tests/test_fetching.py
# test_fetching.py - unit tests for fetching resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both...
64,767
Python
.py
1,442
35.753121
83
0.622155
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,653
test_creating.py
jfinkels_flask-restless/tests/test_creating.py
# -*- encoding: utf-8 -*- # test_creating.py - unit tests for creating resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless...
37,830
Python
.py
861
32.708479
79
0.572658
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,654
test_associationproxy.py
jfinkels_flask-restless/tests/test_associationproxy.py
# -*- encoding: utf-8 -*- # test_creating.py - unit tests for creating resources # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless...
17,128
Python
.py
401
31.778055
79
0.574637
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,655
test_validation.py
jfinkels_flask-restless/tests/test_validation.py
# test_validation.py - unit tests for model validation # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both...
8,987
Python
.py
224
29.660714
79
0.581491
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,656
test_updatingrelationship.py
jfinkels_flask-restless/tests/test_updatingrelationship.py
# test_updatingrelationship.py - unit tests for updating relationships # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distri...
38,540
Python
.py
880
32.976136
79
0.596948
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,657
helpers.py
jfinkels_flask-restless/tests/helpers.py
# helpers.py - helper functions for unit tests # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed under both the GNU...
14,304
Python
.py
325
37.978462
88
0.703594
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,658
test_filtering.py
jfinkels_flask-restless/tests/test_filtering.py
# test_filtering.py - unit tests for filtering resources in client requests # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is d...
53,966
Python
.py
1,187
35.56866
79
0.590394
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,659
test_creating_resources.py
jfinkels_flask-restless/tests/test_jsonapi/test_creating_resources.py
# test_creating_resources.py - tests creating resources according to JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is...
10,092
Python
.py
228
34.605263
79
0.615651
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,660
test_deleting_resources.py
jfinkels_flask-restless/tests/test_jsonapi/test_deleting_resources.py
# test_deleting_resources.py - tests deleting resources according to JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is...
2,609
Python
.py
60
37.1
79
0.689601
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,661
test_document_structure.py
jfinkels_flask-restless/tests/test_jsonapi/test_document_structure.py
# test_document_structure.py - tests JSON API document structure # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed ...
19,375
Python
.py
419
37.747017
85
0.644997
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,662
test_fetching_data.py
jfinkels_flask-restless/tests/test_jsonapi/test_fetching_data.py
# test_fetching_data.py - tests fetching data according to JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distribut...
53,491
Python
.py
1,143
37.680665
79
0.631369
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,663
test_server_responsibilities.py
jfinkels_flask-restless/tests/test_jsonapi/test_server_responsibilities.py
# test_server_responsibilities.py - tests JSON API server responsibilities # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is di...
6,798
Python
.py
147
37.462585
77
0.650325
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,664
test_updating_relationships.py
jfinkels_flask-restless/tests/test_jsonapi/test_updating_relationships.py
# test_updating_relationships.py - tests updating relationships via JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is ...
12,213
Python
.py
251
38.231076
79
0.622271
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,665
test_updating_resources.py
jfinkels_flask-restless/tests/test_jsonapi/test_updating_resources.py
# test_updating_resources.py - tests updating resources according to JSON API # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is...
14,188
Python
.py
335
31.641791
82
0.582016
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,666
__init__.py
jfinkels_flask-restless/tests/test_jsonapi/__init__.py
# __init__.py - indicates that this directory is a Python package # # Copyright 2011 Lincoln de Sousa <lincoln@comum.org>. # Copyright 2012, 2013, 2014, 2015, 2016 Jeffrey Finkelstein # <jeffrey.finkelstein@gmail.com> and contributors. # # This file is part of Flask-Restless. # # Flask-Restless is distributed...
869
Python
.py
20
42.3
72
0.771868
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,667
make-release.py
jfinkels_flask-restless/scripts/make-release.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ make-release ~~~~~~~~~~~~ Helper script that performs a release. Does pretty much everything automatically for us. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import sys import os import re from dat...
6,337
Python
.py
159
33.295597
78
0.58453
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,668
set-version.py
jfinkels_flask-restless/scripts/set-version.py
def set_filename_version(filename, version_number, pattern): changed = [] def inject_version(match): before, old, after = match.groups() changed.append(True) return before + version_number + after with open(filename) as f: contents = re.sub(r"^(\s*%s\s*=\s*')(.+?)(')(?sm)" % ...
1,007
Python
.py
23
37.173913
78
0.635619
jfinkels/flask-restless
1,020
301
111
AGPL-3.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,669
.pyup.yml
buffer_thug/.pyup.yml
# autogenerated pyup.io config file # see https://pyup.io/docs/configuration/ for all available options update: insecure
122
Python
.py
3
39.333333
67
0.813559
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,670
thugd.py
buffer_thug/tools/distributed/thugd.py
#!/usr/bin/env python """ Thug daemon By thorsten.sick@avira.com For the iTES project (www.ites-project.org) """ import os import sys import json import shutil import argparse import subprocess import configparser import pika class Thugd(object): """ A class waiting for jobs, starting thug, returning resul...
5,467
Python
.py
158
25.651899
88
0.579806
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,671
thugctrl.py
buffer_thug/tools/distributed/thugctrl.py
#!/usr/bin/env python """Thug Control Send commands to Thug """ import json import datetime import argparse import configparser from urllib.parse import urlparse import pika class ThugCtrl(object): """Thug remote control""" def __init__( self, configfile, extensive=False, ...
5,418
Python
.py
154
26.649351
88
0.595256
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,672
MongoUtils.py
buffer_thug/utils/MongoUtils.py
#!/usr/bin/env python # # MongoUtils.py # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY...
4,519
Python
.py
126
28.111111
102
0.603622
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,673
conf.py
buffer_thug/docs/source/conf.py
# -*- coding: utf-8 -*- # # Thug documentation build configuration file, created by # sphinx-quickstart on Wed Jun 13 00:07:06 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All co...
7,851
Python
.py
186
40.537634
80
0.721447
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,674
test_Honeyagent.py
buffer_thug/tests/Analysis/test_Honeyagent.py
import os import logging from mock import patch from mock import Mock import thug from thug.Analysis.honeyagent import HoneyAgent from thug.ThugAPI.ThugOpts import ThugOpts from thug.Logging.ThugLogging import ThugLogging configuration_path = thug.__configuration_path__ log = logging.getLogger("Thug") log.personalit...
2,248
Python
.py
58
31.948276
84
0.647575
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,675
test_Plugin.py
buffer_thug/tests/DOM/test_Plugin.py
from thug.DOM.Plugin import Plugin class TestPlugin(object): def test_items(self): plugin = Plugin() plugin["test1"] = "value1" assert plugin["test1"] in ("value1",) plugin.test2 = "value2" assert plugin.test2 in ("value2",) del plugin["test1"] del plugin...
395
Python
.py
12
25.083333
45
0.602122
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,676
test_JSInspector.py
buffer_thug/tests/DOM/test_JSInspector.py
import logging import thug from thug.ThugAPI.ThugOpts import ThugOpts from thug.DOM.JSInspector import JSInspector configuration_path = thug.__configuration_path__ log = logging.getLogger("Thug") log.configuration_path = configuration_path log.personalities_path = thug.__personalities_path__ if configuration_path e...
789
Python
.py
22
31.590909
84
0.721854
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,677
test_SchemeHandler.py
buffer_thug/tests/DOM/test_SchemeHandler.py
import logging import thug from thug.DOM.SchemeHandler import SchemeHandler from thug.Logging.ThugLogging import ThugLogging from thug.ThugAPI.ThugOpts import ThugOpts log = logging.getLogger("Thug") configuration_path = thug.__configuration_path__ log.personalities_path = thug.__personalities_path__ if configurati...
762
Python
.py
19
36.315789
84
0.754768
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,678
test_MimeTypes.py
buffer_thug/tests/DOM/test_MimeTypes.py
import logging import thug from thug.ThugAPI.ThugVulnModules import ThugVulnModules from thug.ThugAPI.ThugOpts import ThugOpts from thug.DOM.MimeTypes import MimeTypes log = logging.getLogger("Thug") configuration_path = thug.__configuration_path__ log.personalities_path = thug.__personalities_path__ if configurati...
788
Python
.py
20
34.2
84
0.730263
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,679
test_MimeType.py
buffer_thug/tests/DOM/test_MimeType.py
from thug.DOM.MimeType import MimeType class TestMimeType(object): def test_items(self): mimetype = MimeType() mimetype["test1"] = "value1" assert mimetype["test1"] in ("value1",) mimetype.test2 = "value2" assert mimetype.test2 in ("value2",) del mimetype["test1"...
380
Python
.py
11
26.818182
47
0.628099
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,680
test_JSEngine.py
buffer_thug/tests/DOM/test_JSEngine.py
import logging import thug from thug.DOM.JSEngine import JSEngine log = logging.getLogger("Thug") log.configuration_path = thug.__configuration_path__ class TestJSEngine(object): def test_jsobject(self): engine = JSEngine() assert engine.isJSObject(None) is False
289
Python
.py
9
28.333333
52
0.76
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,681
test_Personality.py
buffer_thug/tests/DOM/test_Personality.py
import logging import thug from thug.DOM.Personality import Personality from thug.ThugAPI.ThugVulnModules import ThugVulnModules from thug.ThugAPI.ThugOpts import ThugOpts log = logging.getLogger("Thug") configuration_path = thug.__configuration_path__ log.personalities_path = thug.__personalities_path__ if configu...
1,298
Python
.py
28
40.607143
84
0.750198
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,682
test_Location.py
buffer_thug/tests/DOM/test_Location.py
import logging import thug from thug.DOM.Location import Location from thug.DOM.Navigator import Navigator from thug.DOM.HTMLInspector import HTMLInspector from thug.DOM.HTTPSession import HTTPSession from thug.DOM.MIMEHandler import MIMEHandler from thug.ThugAPI.ThugOpts import ThugOpts from thug.ThugAPI.ThugVulnMod...
5,895
Python
.py
142
33.415493
127
0.644975
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,683
test_Views.py
buffer_thug/tests/DOM/test_Views.py
from thug.DOM.W3C.Views.AbstractView import AbstractView class TestViews(object): def testAbstractView(self): view = AbstractView() assert view.document is None
184
Python
.py
5
31.2
56
0.75
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,684
test_JSClass.py
buffer_thug/tests/DOM/test_JSClass.py
from thug.DOM.JSClass import JSClass class JSClassTest(JSClass): def __init__(self, value): self.value = value class TestJSClass(object): def getter(self): return "foobar" def test_jsclass_1(self): test1 = JSClassTest("test1") assert test1.value == "test1" asser...
620
Python
.py
16
31.5
66
0.652685
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,685
test_Plugins.py
buffer_thug/tests/DOM/test_Plugins.py
from thug.DOM.Plugins import Plugins class TestPlugins(object): def test_items(self): plugins = Plugins() plugins.refresh() assert plugins["foo"] is None assert plugins[100] is None
222
Python
.py
7
25
37
0.668246
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,686
test_DOMTokenList.py
buffer_thug/tests/DOM/test_DOMTokenList.py
from thug.DOM.W3C.DOMTokenList import DOMTokenList class TestDOMTokenList(object): def testDOMTokenList(self): domtokenlist = DOMTokenList(["download", "fullscreen", "remoteplayback"]) assert domtokenlist.length == 0 assert domtokenlist.supports("download") domtokenlist.add("foo"...
903
Python
.py
19
39.105263
81
0.705143
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,687
test_HTTPSession.py
buffer_thug/tests/DOM/test_HTTPSession.py
import logging import pytest import thug from thug.ThugAPI.ThugOpts import ThugOpts from thug.DOM.HTTPSession import HTTPSession configuration_path = thug.__configuration_path__ log = logging.getLogger("Thug") log.configuration_path = configuration_path log.personalities_path = thug.__personalities_path__ if config...
1,491
Python
.py
39
31.769231
84
0.669686
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,688
test_ThugPlugin.py
buffer_thug/tests/Plugins/test_ThugPlugin.py
import sys from thug.thug import Thug from thug.Plugins import ThugPlugins THUG = Thug([]) ThugPlugins.PLUGINS_PATH = "thug/Plugins/plugins/" PRE_PLUGINS = ThugPlugins.ThugPlugins("PRE", THUG) POST_PLUGINS = ThugPlugins.ThugPlugins("POST", THUG) sys.path.append(ThugPlugins.PLUGINS_PATH) class TestThugPlugin: ...
1,598
Python
.py
40
31.825
63
0.628164
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,689
test_shockwave.py
buffer_thug/tests/functional/test_shockwave.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestShockwave(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") def do_perform_test(self, caplog, sample, shockwave, expect...
2,255
Python
.py
48
38.270833
79
0.629291
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,690
test_events.py
buffer_thug/tests/functional/test_events.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestEvents(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) event_path = os.path.join(cwd_path, os.pardir, "samples/Events") def do_perform_test( self, caplog, sample, expected...
10,489
Python
.py
278
27.010791
83
0.554516
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,691
test_exploits.py
buffer_thug/tests/functional/test_exploits.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestExploitSamples(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) exploits_path = os.path.join(cwd_path, os.pardir, "samples/exploits") def do_perform_test(self, caplog, sample, expe...
54,874
Python
.py
1,083
41.195753
166
0.649462
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,692
test_screenshot.py
buffer_thug/tests/functional/test_screenshot.py
import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestScreenshot(object): def do_perform_test(self, caplog, url, expected, type_="remote"): thug = ThugAPI() thug.set_useragent("win7ie90") thug.disable_screenshot() thug.enable_screensho...
1,079
Python
.py
30
27.1
79
0.601736
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,693
test_classifiers.py
buffer_thug/tests/functional/test_classifiers.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestClassifiers(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) classifiers_path = os.path.join(cwd_path, os.pardir, "samples/classifiers") signatures_path = os.path.join(cwd_path, os....
7,027
Python
.py
153
36.300654
141
0.630454
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,694
test_jquery.py
buffer_thug/tests/functional/test_jquery.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestJQuerySamples(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) jquery_path = os.path.join(cwd_path, os.pardir, "samples/jQuery") def do_perform_test(self, caplog, sample, expected)...
8,756
Python
.py
184
38.347826
81
0.614299
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,695
test_url_standard.py
buffer_thug/tests/functional/test_url_standard.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestURLStandard(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") def do_perform_test(self, caplog, sample, expected): ...
2,911
Python
.py
65
33.907692
74
0.571328
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,696
test_inspector.py
buffer_thug/tests/functional/test_inspector.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestInspector(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") signatures_path = os.path.join(cwd_path, os.pardir, "signatu...
1,251
Python
.py
30
33.033333
84
0.637117
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,697
test_misc_ie70.py
buffer_thug/tests/functional/test_misc_ie70.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestMiscSamplesIE(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") def do_perform_test(self, caplog, sample, expected): ...
32,341
Python
.py
686
36.610787
153
0.598401
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,698
test_misc_ie110.py
buffer_thug/tests/functional/test_misc_ie110.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestMiscSamplesIE(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") def do_perform_test(self, caplog, sample, expected): ...
35,212
Python
.py
746
36.674263
180
0.597249
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)
12,699
test_misc_firefox.py
buffer_thug/tests/functional/test_misc_firefox.py
import os import logging from thug.ThugAPI.ThugAPI import ThugAPI log = logging.getLogger("Thug") class TestMiscSamplesFirefox(object): cwd_path = os.path.dirname(os.path.realpath(__file__)) misc_path = os.path.join(cwd_path, os.pardir, "samples/misc") def do_perform_test(self, caplog, sample, expected...
28,730
Python
.py
632
35.151899
153
0.595207
buffer/thug
978
204
0
GPL-2.0
9/5/2024, 5:11:50 PM (Europe/Amsterdam)