hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
2a96507a107ab01e8fd23e4dc6c535db5c674cef
97
py
Python
rampant/phishing/phishing.py
BHRDevMw/Rampant
ad3af5f5436984ed5fe4159dbbe12027a0920073
[ "MIT" ]
null
null
null
rampant/phishing/phishing.py
BHRDevMw/Rampant
ad3af5f5436984ed5fe4159dbbe12027a0920073
[ "MIT" ]
null
null
null
rampant/phishing/phishing.py
BHRDevMw/Rampant
ad3af5f5436984ed5fe4159dbbe12027a0920073
[ "MIT" ]
null
null
null
class Phishing(object): @staticmethod def create_(): print("Haciendo phishing")
16.166667
34
0.639175
9
97
6.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.247423
97
6
34
16.166667
0.835616
0
0
0
0
0
0.177083
0
0
0
0
0
0
1
0.25
true
0
0
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
aa4f859f2ec603d4bb582307557e08dd3c9f59ff
122
py
Python
glacier-ice-arena/Schedules/admin.py
mitchellbohn/glacier-arena-website
43b35a178ea47113268bacaf676268c4cf5c5245
[ "MIT" ]
null
null
null
glacier-ice-arena/Schedules/admin.py
mitchellbohn/glacier-arena-website
43b35a178ea47113268bacaf676268c4cf5c5245
[ "MIT" ]
null
null
null
glacier-ice-arena/Schedules/admin.py
mitchellbohn/glacier-arena-website
43b35a178ea47113268bacaf676268c4cf5c5245
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Schedule # Register your models here. admin.site.register(Schedule)
20.333333
32
0.811475
17
122
5.823529
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.122951
122
5
33
24.4
0.925234
0.213115
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
aa5192b75770ec53449249baa80f6370b3926d84
99
py
Python
src/tratamientos/apps.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
src/tratamientos/apps.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
32
2016-05-09T19:37:08.000Z
2022-01-13T01:00:52.000Z
src/tratamientos/apps.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class TratamientosConfig(AppConfig): name = 'tratamientos'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
aa55454fd47da65439f6b80fde45a6694cd4c37a
113
py
Python
src/keypair_permissions/apps.py
backupbrain/drf-keypair-permissions
d3e427b4780b20033d66d934d22dbb9ce7f439f5
[ "0BSD" ]
2
2021-05-19T23:01:32.000Z
2021-05-20T10:57:17.000Z
src/keypair_permissions/apps.py
backupbrain/drf-keypair-permissions
d3e427b4780b20033d66d934d22dbb9ce7f439f5
[ "0BSD" ]
null
null
null
src/keypair_permissions/apps.py
backupbrain/drf-keypair-permissions
d3e427b4780b20033d66d934d22dbb9ce7f439f5
[ "0BSD" ]
null
null
null
from django.apps import AppConfig class KeyPairPermissionseConfig(AppConfig): name = 'keypair_permissions'
18.833333
43
0.80531
11
113
8.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.132743
113
5
44
22.6
0.918367
0
0
0
0
0
0.168142
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
aa5790b51b371e3cc35a7fd07c64103896a14186
24
py
Python
src/superannotate/version.py
superannotateai/superannotate-python-sdk
e2ce848b61efed608265fa64f3781fd5a17c929b
[ "MIT" ]
26
2020-09-25T06:25:06.000Z
2022-01-30T16:44:07.000Z
src/superannotate/version.py
superannotateai/superannotate-python-sdk
e2ce848b61efed608265fa64f3781fd5a17c929b
[ "MIT" ]
12
2020-12-21T19:59:48.000Z
2022-01-21T10:32:07.000Z
src/superannotate/version.py
superannotateai/superannotate-python-sdk
e2ce848b61efed608265fa64f3781fd5a17c929b
[ "MIT" ]
11
2020-09-17T13:39:19.000Z
2022-03-02T18:12:29.000Z
__version__ = "4.2.7b4"
12
23
0.666667
4
24
3
1
0
0
0
0
0
0
0
0
0
0
0.190476
0.125
24
1
24
24
0.380952
0
0
0
0
0
0.291667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
aa5b18e9b431ffea917922824a67f7a6718d4f74
131
py
Python
cap03/exerc003.py
mrfranca/python-exec
27c934c2cc248393322f6b3a4e37d445e9c98b99
[ "Apache-2.0" ]
null
null
null
cap03/exerc003.py
mrfranca/python-exec
27c934c2cc248393322f6b3a4e37d445e9c98b99
[ "Apache-2.0" ]
null
null
null
cap03/exerc003.py
mrfranca/python-exec
27c934c2cc248393322f6b3a4e37d445e9c98b99
[ "Apache-2.0" ]
null
null
null
num1 = int(input("Digite um número: ")) num2 = int(input("Digite um número: ")) soma = num1 + num2 print("A soma é: %3.0f" % soma)
26.2
39
0.625954
22
131
3.727273
0.590909
0.195122
0.341463
0.390244
0.536585
0
0
0
0
0
0
0.055556
0.175573
131
4
40
32.75
0.703704
0
0
0
0
0
0.389313
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
aa704b7dca2e5fb178f2e0f5f61a33b1e6a790c3
99
py
Python
app/highcairnapp/apps.py
KTaskn/highcairn
06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31
[ "MIT" ]
null
null
null
app/highcairnapp/apps.py
KTaskn/highcairn
06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31
[ "MIT" ]
null
null
null
app/highcairnapp/apps.py
KTaskn/highcairn
06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31
[ "MIT" ]
null
null
null
from django.apps import AppConfig class HighcairnappConfig(AppConfig): name = 'highcairnapp'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
aad4ecfb2bab45457d74599735f40dda58b82928
270
py
Python
external/model-preparation-algorithm/mpa_tasks/apis/detection/__init__.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
775
2019-03-01T02:13:33.000Z
2020-09-07T22:49:15.000Z
external/model-preparation-algorithm/mpa_tasks/apis/detection/__init__.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
229
2019-02-28T21:37:08.000Z
2020-09-07T15:11:49.000Z
external/model-preparation-algorithm/mpa_tasks/apis/detection/__init__.py
opencv/openvino_training_extensions
f5d809741e192a2345558efc75899a475019cf98
[ "Apache-2.0" ]
290
2019-02-28T20:32:11.000Z
2020-09-07T05:51:41.000Z
# Copyright (C) 2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # from .config import DetectionConfig from .task import DetectionInferenceTask, DetectionTrainTask # Load relevant extensions to registry import mpa_tasks.extensions.datasets.mpa_det_dataset
27
60
0.82963
33
270
6.69697
0.848485
0
0
0
0
0
0
0
0
0
0
0.024896
0.107407
270
9
61
30
0.892116
0.403704
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
2a9ad38055877c4215f6879fe19dc4c8f3321a29
19
py
Python
CloacaTests/fake_module_root/test.py
rockobonaparte/cloaca
789dc5a6ec1c52f6fe3d5e8aadc1a9c149aacf68
[ "MIT" ]
3
2020-01-11T19:25:18.000Z
2022-03-12T17:27:28.000Z
CloacaTests/fake_module_root/test.py
rockobonaparte/cloaca
789dc5a6ec1c52f6fe3d5e8aadc1a9c149aacf68
[ "MIT" ]
4
2020-02-10T16:50:43.000Z
2021-12-03T08:03:46.000Z
CloacaTests/fake_module_root/test.py
rockobonaparte/cloaca
789dc5a6ec1c52f6fe3d5e8aadc1a9c149aacf68
[ "MIT" ]
4
2020-02-10T16:40:46.000Z
2020-11-27T08:11:51.000Z
a_string = "Yay!"
9.5
18
0.578947
4
19
2.75
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.625
0
0
0
0
0
0.222222
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2ae1afaab951e007d0cb46e33565aa6ec94466ad
77,207
py
Python
gitlab/__init__.py
ddeno/pyapi-gitlab
f74b6fb5c13cecae9524997847e928905cc60acf
[ "Apache-2.0" ]
100
2015-12-03T18:59:50.000Z
2022-03-04T20:25:56.000Z
gitlab/__init__.py
ddeno/pyapi-gitlab
f74b6fb5c13cecae9524997847e928905cc60acf
[ "Apache-2.0" ]
88
2015-12-02T08:59:35.000Z
2020-11-04T10:04:10.000Z
gitlab/__init__.py
ddeno/pyapi-gitlab
f74b6fb5c13cecae9524997847e928905cc60acf
[ "Apache-2.0" ]
51
2015-01-04T21:07:22.000Z
2015-11-30T13:43:18.000Z
# -*- coding: utf-8 -*- """ pyapi-gitlab, a gitlab python wrapper for the gitlab API by Itxaka Serrano Garcia <itxakaserrano@gmail.com> Check the license on the LICENSE file """ import requests from . import exceptions from .session import Session from .users import Users from .keys import Keys from .helper import deprecated, format_string class Gitlab(Session, Users, Keys): """ Gitlab class On init we setup the token used for all the api calls and all the urls :param host: host of gitlab :param token: token :param verify_ssl: Weather or not to verify the SSL cert :param auth: Authentication :param timeout: Timeout :param suppress_http_error: Use :obj:`False` to unsuppress :class:`requests.exceptions.HTTPError` exceptions on failure :return: None """ def setsudo(self, user=None): """ Set the subsequent API calls to the user provided :param user: User id or username to change to, None to return to the logged user :return: Nothing """ if user is None: try: self.headers.pop('SUDO') except KeyError: pass else: self.headers['SUDO'] = user def getprojectsowned(self, page=1, per_page=20): """ Returns a dictionary of all the projects for the current user :return: list with the repo name, description, last activity, web url, ssh url, owner and if its public """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/owned'.format(self.projects_url), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def get_project(self, project): """ Get info for a project identified by id or namespace/project_name :param project: The ID or URL-encoded path of the project :return: Dictionary containing the Project :raise: HttpError: If invalid response returned """ project = format_string(project) return self.get( '/projects/{project}'.format(project=project)) def getproject(self, project_id): """Get info for a project identified by id or namespace/project_name :param project_id: id or namespace/project_name of the project :return: False if not found, a dictionary if found """ return self.get_project(project_id) def getprojectevents(self, project_id, page=1, per_page=20): """ Get the project identified by id, events(commits) :param project_id: id of the project :return: False if no project with that id, a dictionary with the events if found """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/events'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createproject(self, name, **kwargs): """ Creates a new project owned by the authenticated user. :param name: new project name :param path: custom repository name for new project. By default generated based on name :param namespace_id: namespace for the new project (defaults to user) :param description: short project description :param issues_enabled: :param merge_requests_enabled: :param wiki_enabled: :param snippets_enabled: :param public: if true same as setting visibility_level = 20 :param visibility_level: :param sudo: :param import_url: :return: """ data = {'name': name} if kwargs: data.update(kwargs) request = requests.post( self.projects_url, headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() elif request.status_code == 403: if 'Your own projects limit is 0' in request.text: print(request.text) return False else: return False def editproject(self, project_id, **kwargs): """ Edit an existing project. :param name: new project name :param path: custom repository name for new project. By default generated based on name :param default_branch: they default branch :param description: short project description :param issues_enabled: :param merge_requests_enabled: :param wiki_enabled: :param snippets_enabled: :param public: if true same as setting visibility_level = 20 :param visibility_level: :return: """ data = {"id": project_id} if kwargs: data.update(kwargs) request = requests.put( '{0}/{1}'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True elif request.status_code == 400: if "Your param's are invalid" in request.text: print(request.text) return False else: return False def shareproject(self, project_id, group_id, group_access): """ Allow to share project with group. :param project_id: The ID of a project :param group_id: The ID of a group :param group_access: Level of permissions for sharing :return: True is success """ data = {'id': project_id, 'group_id': group_id, 'group_access': group_access} request = requests.post( '{0}/{1}/share'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl) return request.status_code == 201 def delete_project(self, id): """ Delete a project from the Gitlab server Gitlab currently returns a Boolean True if the deleted and as such we return an empty Dictionary :param id: The ID of the project or NAMESPACE/PROJECT_NAME :return: Dictionary :raise: HttpError: If invalid response returned """ url = '/projects/{id}'.format(id=id) response = self.delete(url) if response is True: return {} else: return response @deprecated def deleteproject(self, project_id): """ Delete a project .. warning:: Warning this is being deprecated please use :func:`gitlab.Gitlab.delete_project` :param project_id: project id :type project_id: int :return: always true """ self.delete_project(project_id) return True def createprojectuser(self, user_id, name, **kwargs): """ Creates a new project owned by the specified user. Available only for admins. :param user_id: user_id of owner :param name: new project name :param description: short project description :param default_branch: 'master' by default :param issues_enabled: :param merge_requests_enabled: :param wiki_enabled: :param snippets_enabled: :param public: if true same as setting visibility_level = 20 :param visibility_level: :param import_url: :param sudo: :return: """ data = {'name': name} if kwargs: data.update(kwargs) request = requests.post( '{0}/user/{1}'.format(self.projects_url, user_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return True else: return False def getprojectmembers(self, project_id, query=None, page=1, per_page=20): """ Lists the members of a given project id :param project_id: the project id :param query: Optional search query :param page: Which page to return (default is 1) :param per_page: Number of items to return per page (default is 20) :return: the projects members, false if there is an error """ data = {'page': page, 'per_page': per_page} if query: data['query'] = query request = requests.get( '{0}/{1}/members'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def addprojectmember(self, project_id, user_id, access_level): """Adds a project member to a project :param project_id: project id :param user_id: user id :param access_level: access level, see gitlab help to know more :return: True if success """ # if isinstance(access_level, basestring): if access_level.lower() == 'master': access_level = 40 elif access_level.lower() == 'developer': access_level = 30 elif access_level.lower() == 'reporter': access_level = 20 else: access_level = 10 data = {'id': project_id, 'user_id': user_id, 'access_level': access_level} request = requests.post( '{0}/{1}/members'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return True else: return False def editprojectmember(self, project_id, user_id, access_level): """Edit a project member :param project_id: project id :param user_id: user id :param access_level: access level :return: True if success """ if access_level.lower() == 'master': access_level = 40 elif access_level.lower() == 'developer': access_level = 30 elif access_level.lower() == 'reporter': access_level = 20 else: access_level = 10 data = {'id': project_id, 'user_id': user_id, 'access_level': access_level} request = requests.put( '{0}/{1}/members/{2}'.format(self.projects_url, project_id, user_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def deleteprojectmember(self, project_id, user_id): """Delete a project member :param project_id: project id :param user_id: user id :return: always true """ request = requests.delete( '{0}/{1}/members/{2}'.format(self.projects_url, project_id, user_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True # It always returns true def getprojecthooks(self, project_id, page=1, per_page=20): """Get all the hooks from a project :param project_id: project id :param page: Page number :param per_page: Records per page :return: the hooks """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/hooks'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getprojecthook(self, project_id, hook_id): """Get a particular hook from a project :param project_id: project id :param hook_id: hook id :return: the hook """ request = requests.get( '{0}/{1}/hooks/{2}'.format(self.projects_url, project_id, hook_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def addprojecthook(self, project_id, url, push=False, issues=False, merge_requests=False, tag_push=False): """ add a hook to a project :param project_id: project id :param url: url of the hook :return: True if success """ data = { 'id': project_id, 'url': url, 'push_events': int(bool(push)), 'issues_events': int(bool(issues)), 'merge_requests_events': int(bool(merge_requests)), 'tag_push_events': int(bool(tag_push)), } request = requests.post( '{0}/{1}/hooks'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def editprojecthook(self, project_id, hook_id, url, push=False, issues=False, merge_requests=False, tag_push=False): """ edit an existing hook from a project :param id_: project id :param hook_id: hook id :param url: the new url :return: True if success """ data = { "id": project_id, "hook_id": hook_id, "url": url, 'push_events': int(bool(push)), 'issues_events': int(bool(issues)), 'merge_requests_events': int(bool(merge_requests)), 'tag_push_events': int(bool(tag_push)), } request = requests.put( '{0}/{1}/hooks/{2}'.format(self.projects_url, project_id, hook_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def deleteprojecthook(self, project_id, hook_id): """ Delete a project hook :param project_id: project id :param hook_id: hook id :return: True if success """ request = requests.delete( '{0}/{1}/hooks/{2}'.format(self.projects_url, project_id, hook_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def getsystemhooks(self, page=1, per_page=20): """ Get all system hooks :param page: Page number :param per_page: Records per page :return: list of hooks """ data = {'page': page, 'per_page': per_page} request = requests.get( self.hook_url, params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def addsystemhook(self, url): """ Add a system hook :param url: url of the hook :return: True if success """ data = {"url": url} request = requests.post( self.hook_url, headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return True else: return False def testsystemhook(self, hook_id): """ Test a system hook :param hook_id: hook id :return: list of hooks """ data = {"id": hook_id} request = requests.get( self.hook_url, data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def deletesystemhook(self, hook_id): """ Delete a project hook :param hook_id: hook id :return: True if success """ data = {"id": hook_id} request = requests.delete( '{0}/{1}'.format(self.hook_url, hook_id), data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def getbranches(self, project_id): """ List all the branches from a project :param project_id: project id :return: the branches """ request = requests.get( '{0}/{1}/repository/branches'.format(self.projects_url, project_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getbranch(self, project_id, branch): """ List one branch from a project :param project_id: project id :param branch: branch id :return: the branch """ request = requests.get( '{0}/{1}/repository/branches/{2}'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout ) if request.status_code == 200: return request.json() else: return False def createbranch(self, project_id, branch, ref): """ Create branch from commit SHA or existing branch :param project_id: The ID of a project :param branch: The name of the branch :param ref: Create branch from commit SHA or existing branch :return: True if success, False if not """ data = {"id": project_id, "branch_name": branch, "ref": ref} request = requests.post( '{0}/{1}/repository/branches'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def deletebranch(self, project_id, branch): """ Delete branch by name :param project_id: The ID of a project :param branch: The name of the branch :return: True if success, False if not """ request = requests.delete( '{0}/{1}/repository/branches/{2}'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def protectbranch(self, project_id, branch): """ Protect a branch from changes :param project_id: project id :param branch: branch id :return: True if success """ request = requests.put( '{0}/{1}/repository/branches/{2}/protect'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def unprotectbranch(self, project_id, branch): """ Stop protecting a branch :param project_id: project id :param branch: branch id :return: true if success """ request = requests.put( '{0}/{1}/repository/branches/{2}/unprotect'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def createforkrelation(self, project_id, from_project_id): """ Create a fork relation. This DO NOT create a fork but only adds a link as fork the relation between 2 repositories :param project_id: project id :param from_project_id: from id :return: true if success """ data = {'id': project_id, 'forked_from_id': from_project_id} request = requests.post( '{0}/{1}/fork/{2}'.format(self.projects_url, project_id, from_project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return True else: return False def removeforkrelation(self, project_id): """ Remove an existing fork relation. this DO NOT remove the fork,only the relation between them :param project_id: project id :return: true if success """ request = requests.delete( '{0}/{1}/fork'.format(self.projects_url, project_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def createfork(self, project_id): """ Forks a project into the user namespace of the authenticated user. :param project_id: Project ID to fork :return: True if succeed """ request = requests.post( '{0}/fork/{1}'.format(self.projects_url, project_id), timeout=self.timeout, verify=self.verify_ssl) if request.status_code == 200: return True else: return False def getissues(self, page=1, per_page=20): """ Return a global list of issues for your user. :param page: Page number :param per_page: Records per page :return: list of issues """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/api/v3/issues'.format(self.host), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getprojectissues(self, project_id, page=1, per_page=20, **kwargs): """ Return a list of issues for project id. :param: project_id: The id for the project. :param page: Page number :param per_page: Records per page :param kwargs: Extra data to send :return: list of issues """ kwargs['page'] = page kwargs['per_page'] = per_page data = kwargs request = requests.get( '{0}/{1}/issues'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getprojectissue(self, project_id, issue_id): """ Get an specific issue id from a project :param project_id: project id :param issue_id: issue id :return: the issue """ request = requests.get( '{0}/{1}/issues/{2}'.format(self.projects_url, project_id, issue_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createissue(self, project_id, title, **kwargs): """ Create a new issue :param project_id: project id :param title: title of the issue :return: dict with the issue created """ data = {'id': id, 'title': title} if kwargs: data.update(kwargs) request = requests.post( '{0}/{1}/issues'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def editissue(self, project_id, issue_id, **kwargs): """ Edit an existing issue data :param project_id: project id :param issue_id: issue id :return: true if success """ data = {'id': project_id, 'issue_id': issue_id} if kwargs: data.update(kwargs) request = requests.put( '{0}/{1}/issues/{2}'.format(self.projects_url, project_id, issue_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmilestones(self, project_id, page=1, per_page=20): """ Get the milestones for a project :param project_id: project id :param page: Page number :param per_page: Records per page :return: the milestones """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/milestones'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmilestone(self, project_id, milestone_id): """ Get an specific milestone :param project_id: project id :param milestone_id: milestone id :return: dict with the new milestone """ request = requests.get( '{0}/{1}/milestones/{2}'.format(self.projects_url, project_id, milestone_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createmilestone(self, project_id, title, **kwargs): """ Create a new milestone :param project_id: project id :param title: title :param description: description :param due_date: due date :param sudo: do the request as another user :return: dict of the new issue """ data = {'id': project_id, 'title': title} if kwargs: data.update(kwargs) request = requests.post( '{0}/{1}/milestones'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def editmilestone(self, project_id, milestone_id, **kwargs): """Edit an existing milestone :param project_id: project id :param milestone_id: milestone id :param title: title :param description: description :param due_date: due date :param state_event: state :param sudo: do the request as another user :return: dict with the modified milestone """ data = {'id': project_id, 'milestone_id': milestone_id} if kwargs: data.update(kwargs) request = requests.put( '{0}/{1}/milestones/{2}'.format(self.projects_url, project_id, milestone_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmilestoneissues(self, project_id, milestone_id, page=1, per_page=20): """ Get the issues associated with a milestone :param project_id: project id :param milestone_id: milestone id :return: list of issues """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/milestones/{2}/issues'.format(self.projects_url, project_id, milestone_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def get_all_deploy_keys(self): """ Get a list of all deploy keys across all projects of the GitLab instance. This endpoint requires admin access. >>> gitlab = Gitlab(host='http://localhost:10080', verify_ssl=False) >>> gitlab.login(user='root', password='5iveL!fe') >>> gitlab.get_all_deploy_keys() :return: List of Dictionaries containing all deploy keys :raise: HttpError: If invalid response returned """ return self.get('/deploy_keys', default_response=[]) def enable_deploy_key(self, project, key_id): """ Enables a deploy key for a project. >>> gitlab = Gitlab(host='http://localhost:10080', verify_ssl=False) >>> gitlab.login(user='root', password='5iveL!fe') >>> gitlab.enable_deploy_key(15, 5) :param project: The ID or URL-encoded path of the project owned by the authenticated user :param key_id: The ID of the deploy key :return: A dictionary containing deploy key details :raise: HttpError: If invalid response returned """ url = '/projects/{project}/deploy_keys/{key_id}/enable'.format( project=project, key_id=key_id) return self.post(url, default_response={}) def getdeploykeys(self, project_id): """ Get a list of a project's deploy keys. :param project_id: project id :return: the keys in a dictionary if success, false if not """ request = requests.get( '{0}/{1}/keys'.format(self.projects_url, project_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout ) if request.status_code == 200: return request.json() else: return False def getdeploykey(self, project_id, key_id): """ Get a single key. :param project_id: project id :param key_id: key id :return: the key in a dict if success, false if not """ request = requests.get( '{0}/{1}/keys/{2}'.format(self.projects_url, project_id, key_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def adddeploykey(self, project_id, title, key): """ Creates a new deploy key for a project. :param project_id: project id :param title: title of the key :param key: the key itself :return: true if success, false if not """ data = {'id': project_id, 'title': title, 'key': key} request = requests.post( '{0}/{1}/keys'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def deletedeploykey(self, project_id, key_id): """ Delete a deploy key from a project :param project_id: project id :param key_id: key id to delete :return: true if success, false if not """ request = requests.delete( '{0}/{1}/keys/{2}'.format(self.projects_url, project_id, key_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True else: return False def creategroup(self, name, path, **kwargs): """ Creates a new group :param name: The name of the group :param path: The path for the group :param kwargs: Any param the the Gitlab API supports :return: dict of the new group """ data = {'name': name, 'path': path} if kwargs: data.update(kwargs) request = requests.post( self.groups_url, data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: msg = request.json()['message'] raise exceptions.HttpError(msg) def getgroups(self, group_id=None, page=1, per_page=20): """ Retrieve group information :param group_id: Specify a group. Otherwise, all groups are returned :param page: Page Number :param per_page: Records Per Page :return: list of groups """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}'.format(self.groups_url, group_id if group_id else ''), params=data, headers=self.headers, timeout=self.timeout, verify=self.verify_ssl, auth=self.auth) if request.status_code == 200: return request.json() else: return False def moveproject(self, group_id, project_id): """ Move a given project into a given group :param group_id: ID of the destination group :param project_id: ID of the project to be moved :return: dict of the updated project """ request = requests.post( '{0}/{1}/projects/{2}'.format(self.groups_url, group_id, project_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def getmergerequests(self, project_id, page=1, per_page=20, state=None): """ Get all the merge requests for a project. :param project_id: ID of the project to retrieve merge requests for :param page: Page Number :param per_page: Records per page :param state: Passes merge request state to filter them by it :return: list with all the merge requests """ data = {'page': page, 'per_page': per_page, 'state': state} request = requests.get( '{0}/{1}/merge_requests'.format(self.projects_url, project_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmergerequest(self, project_id, mergerequest_id): """ Get information about a specific merge request. :param project_id: ID of the project :param mergerequest_id: ID of the merge request :return: dict of the merge request """ request = requests.get( '{0}/{1}/merge_request/{2}'.format(self.projects_url, project_id, mergerequest_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmergerequestcomments(self, project_id, mergerequest_id, page=1, per_page=20): """ Get comments of a merge request. :param project_id: ID of the project :param mergerequest_id: ID of the merge request :param page: Page number :param per_page: Records per page :return: list of the comments """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/merge_request/{2}/comments'.format(self.projects_url, project_id, mergerequest_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmergerequestchanges(self, project_id, mergerequest_id): """ Get changes of a merge request. :param project_id: ID of the project :param mergerequest_id: ID of the merge request :return: information about the merge request including files and changes """ request = requests.get( '{0}/{1}/merge_request/{2}/changes'.format(self.projects_url, project_id, mergerequest_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createmergerequest(self, project_id, sourcebranch, targetbranch, title, target_project_id=None, assignee_id=None): """ Create a new merge request. :param project_id: ID of the project originating the merge request :param sourcebranch: name of the branch to merge from :param targetbranch: name of the branch to merge to :param title: Title of the merge request :param assignee_id: Assignee user ID :return: dict of the new merge request """ data = { 'source_branch': sourcebranch, 'target_branch': targetbranch, 'title': title, 'assignee_id': assignee_id, 'target_project_id': target_project_id } request = requests.post( '{0}/{1}/merge_requests'.format(self.projects_url, project_id), data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def updatemergerequest(self, project_id, mergerequest_id, **kwargs): """ Update an existing merge request. :param project_id: ID of the project originating the merge request :param mergerequest_id: ID of the merge request to update :param sourcebranch: name of the branch to merge from :param targetbranch: name of the branch to merge to :param title: Title of the merge request :param assignee_id: Assignee user ID :param closed: MR status. True = closed :return: dict of the modified merge request """ data = {} if kwargs: data.update(kwargs) request = requests.put( '{0}/{1}/merge_request/{2}'.format(self.projects_url, project_id, mergerequest_id), data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def acceptmergerequest(self, project_id, mergerequest_id, merge_commit_message=None): """ Update an existing merge request. :param project_id: ID of the project originating the merge request :param mergerequest_id: ID of the merge request to accept :param merge_commit_message: Custom merge commit message :return: dict of the modified merge request """ data = {'merge_commit_message': merge_commit_message} request = requests.put( '{0}/{1}/merge_request/{2}/merge'.format(self.projects_url, project_id, mergerequest_id), data=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def addcommenttomergerequest(self, project_id, mergerequest_id, note): """ Add a comment to a merge request. :param project_id: ID of the project originating the merge request :param mergerequest_id: ID of the merge request to comment on :param note: Text of comment :return: True if success """ request = requests.post( '{0}/{1}/merge_request/{2}/comments'.format(self.projects_url, project_id, mergerequest_id), data={'note': note}, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 201 def getsnippets(self, project_id, page=1, per_page=20): """ Get all the snippets of the project identified by project_id :param project_id: project id to get the snippets from :return: list of dictionaries """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/snippets'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getsnippet(self, project_id, snippet_id): """ Get one snippet from a project :param project_id: project id to get the snippet from :param snippet_id: snippet id :return: dictionary """ request = requests.get( '{0}/{1}/snippets/{2}'.format(self.projects_url, project_id, snippet_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createsnippet(self, project_id, title, file_name, code, visibility_level=0): """ Creates an snippet :param project_id: project id to create the snippet under :param title: title of the snippet :param file_name: filename for the snippet :param code: content of the snippet :param visibility_level: snippets can be either private (0), internal(10) or public(20) :return: True if correct, false if failed """ data = {'id': project_id, 'title': title, 'file_name': file_name, 'code': code} if visibility_level in [0, 10, 20]: data['visibility_level'] = visibility_level request = requests.post( '{0}/{1}/snippets'.format(self.projects_url, project_id), data=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def getsnippetcontent(self, project_id, snippet_id): """ Get raw content of a given snippet :param project_id: project_id for the snippet :param snippet_id: snippet id :return: the content of the snippet """ request = requests.get( '{0}/{1}/snippets/{2}/raw'.format(self.projects_url, project_id, snippet_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def deletesnippet(self, project_id, snippet_id): """Deletes a given snippet :param project_id: project_id :param snippet_id: snippet id :return: True if success """ request = requests.delete( '{0}/{1}/snippets/{2}'.format(self.projects_url, project_id, snippet_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def getrepositories(self, project_id, page=1, per_page=20): """ Gets all repositories for a project id :param project_id: project id :param page: Page number :param per_page: Records per page :return: list of repos """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/repository/branches'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getrepositorybranch(self, project_id, branch): """ Get a single project repository branch. :param project_id: project id :param branch: branch :return: dict of the branch """ request = requests.get( '{0}/{1}/repository/branches/{2}'.format(self.projects_url, project_id, branch), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() elif request.status_code == 404: if request.json()['message'] == "404 Branch does not exist Not Found": # In the future we should raise an exception here return False else: return False def protectrepositorybranch(self, project_id, branch): """ Protects a single project repository branch. This is an idempotent function, protecting an already protected repository branch still returns a 200 OK status code. :param project_id: project id :param branch: branch to protect :return: dict with the branch """ request = requests.put( '{0}/{1}/repository/branches/{2}/protect'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def unprotectrepositorybranch(self, project_id, branch): """ Unprotects a single project repository branch. This is an idempotent function, unprotecting an already unprotected repository branch still returns a 200 OK status code. :param project_id: project id :param branch: branch to unprotect :return: dict with the branch """ request = requests.put( '{0}/{1}/repository/branches/{2}/unprotect'.format(self.projects_url, project_id, branch), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return def getrepositorytags(self, project_id, page=1, per_page=20): """ Get a list of repository tags from a project, sorted by name in reverse alphabetical order. :param project_id: project id :param page: Page number :param per_page: Records per page :return: list with all the tags """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/repository/tags'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createrepositorytag(self, project_id, tag_name, ref, message=None): """ Creates new tag in the repository that points to the supplied ref :param project_id: project id :param tag_name: tag :param ref: sha1 of the commit or branch to tag :param message: message :return: dict """ data = {'id': project_id, 'tag_name': tag_name, 'ref': ref, 'message': message} request = requests.post( '{0}/{1}/repository/tags'.format(self.projects_url, project_id), data=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def delete_repository_tag(self, project_id, tag_name): """ Deletes a tag of a repository with given name. :param project_id: The ID of a project :param tag_name: The name of a tag :return: Dictionary containing delete tag :raise: HttpError: If invalid response returned """ return self.delete('/projects/{project_id}/repository/tags/{tag_name}'.format( project_id=project_id, tag_name=tag_name)) def addcommenttocommit(self, project_id, author, sha, path, line, note): """ Adds an inline comment to a specific commit :param project_id: project id :param author: The author info as returned by create mergerequest :param sha: The name of a repository branch or tag or if not given the default branch :param path: The file path :param line: The line number :param note: Text of comment :return: True or False """ data = { 'author': author, 'note': note, 'path': path, 'line': line, 'line_type': 'new' } request = requests.post( '{0}/{1}/repository/commits/{2}/comments'.format(self.projects_url, project_id, sha), headers=self.headers, data=data, verify=self.verify_ssl) if request.status_code == 201: return True else: return False def getrepositorycommits(self, project_id, ref_name=None, page=1, per_page=20): """ Get a list of repository commits in a project. :param project_id: The ID of a project :param ref_name: The name of a repository branch or tag or if not given the default branch :param page: Page number :param per_page: Records per page :return: list of commits """ data = {'page': page, 'per_page': per_page} if ref_name is not None: data.update({'ref_name': ref_name}) request = requests.get( '{0}/{1}/repository/commits'.format(self.projects_url, project_id), verify=self.verify_ssl, auth=self.auth, params=data, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getrepositorycommit(self, project_id, sha1): """ Get a specific commit identified by the commit hash or name of a branch or tag. :param project_id: The ID of a project :param sha1: The commit hash or name of a repository branch or tag :return: dict of commit """ request = requests.get( '{0}/{1}/repository/commits/{2}'.format(self.projects_url, project_id, sha1), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getrepositorycommitdiff(self, project_id, sha1): """ Get the diff of a commit in a project :param project_id: The ID of a project :param sha1: The name of a repository branch or tag or if not given the default branch :return: dict with the diff """ request = requests.get( '{0}/{1}/repository/commits/{2}/diff'.format(self.projects_url, project_id, sha1), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getrepositorytree(self, project_id, **kwargs): """ Get a list of repository files and directories in a project. :param project_id: The ID of a project :param path: The path inside repository. Used to get contend of subdirectories :param ref_name: The name of a repository branch or tag or if not given the default branch :return: dict with the tree """ data = {} if kwargs: data.update(kwargs) request = requests.get( '{0}/{1}/repository/tree'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getrawfile(self, project_id, sha1, filepath): """ Get the raw file contents for a file by commit SHA and path. :param project_id: The ID of a project :param sha1: The commit or branch name :param filepath: The path the file :return: raw file contents """ data = {'filepath': filepath} request = requests.get( '{0}/{1}/repository/blobs/{2}'.format(self.projects_url, project_id, sha1), params=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout, headers=self.headers) if request.status_code == 200: return request.content else: return False def getrawblob(self, project_id, sha1): """ Get the raw file contents for a blob by blob SHA. :param project_id: The ID of a project :param sha1: the commit sha :return: raw blob """ request = requests.get( '{0}/{1}/repository/raw_blobs/{2}'.format(self.projects_url, project_id, sha1), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.content else: return False def getcontributors(self, project_id, page=1, per_page=20): """ Get repository contributors list :param project_id: The ID of a project :param page: Page number :param per_page: Records per page :return: list of contributors or False """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/repository/contributors'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def compare_branches_tags_commits(self, project_id, from_id, to_id): """ Compare branches, tags or commits :param project_id: The ID of a project :param from_id: the commit sha or branch name :param to_id: the commit sha or branch name :return: commit list and diff between two branches tags or commits provided by name :raise: HttpError: If invalid response returned """ data = {'from': from_id, 'to': to_id} request = requests.get( '{0}/{1}/repository/compare'.format(self.projects_url, project_id), params=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout, headers=self.headers) if request.status_code == 200: return request.json() else: return False def searchproject(self, search, page=1, per_page=20): """ Search for projects by name which are accessible to the authenticated user :param search: Query to search for :param page: Page number :param per_page: Records per page :return: list of results """ data = {'page': page, 'per_page': per_page} request = requests.get("{0}/{1}".format(self.search_url, search), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getfilearchive(self, project_id, filepath=None): """ Get an archive of the repository :param project_id: project id :param filepath: path to save the file to :return: True if the file was saved to the filepath """ if not filepath: filepath = '' request = requests.get( '{0}/{1}/repository/archive'.format(self.projects_url, project_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: if filepath == "": filepath = request.headers['content-disposition'].split(';')[1].split('=')[1].strip('"') with open(filepath, 'wb') as filesave: filesave.write(request.content) # TODO: Catch oserror exceptions as no permissions and such # TODO: change the filepath to a path and keep always the filename? return True else: msg = request.json()['message'] raise exceptions.HttpError(msg) def deletegroup(self, group_id): """ Deletes an group by ID :param group_id: id of the group to delete :return: True if it deleted, False if it couldn't. False could happen for several reasons, but there isn't a good way of differentiating them """ request = requests.delete( '{0}/{1}'.format(self.groups_url, group_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def getgroupmembers(self, group_id, page=1, per_page=20): """ Lists the members of a given group id :param group_id: the group id :param page: which page to return (default is 1) :param per_page: number of items to return per page (default is 20) :return: the group's members """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/members'.format(self.groups_url, group_id), params=data, headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def addgroupmember(self, group_id, user_id, access_level): """ Adds a project member to a project :param user_id: user id :param access_level: access level, see gitlab help to know more :return: True if success """ if not isinstance(access_level, int): if access_level.lower() == 'owner': access_level = 50 elif access_level.lower() == 'master': access_level = 40 elif access_level.lower() == 'developer': access_level = 30 elif access_level.lower() == 'reporter': access_level = 20 elif access_level.lower() == 'guest': access_level = 10 else: return False data = {'id': group_id, 'user_id': user_id, 'access_level': access_level} request = requests.post( '{0}/{1}/members'.format(self.groups_url, group_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 201 def editgroupmember(self, group_id, user_id, access_level): """ Edit user access level in a group :param group_id: group id :param user_id: user id :param access_level: access level, see gitlab help to know more :return: True if success """ if not isinstance(access_level, int): if access_level.lower() == 'owner': access_level = 50 elif access_level.lower() == 'master': access_level = 40 elif access_level.lower() == 'developer': access_level = 30 elif access_level.lower() == 'reporter': access_level = 20 elif access_level.lower() == 'guest': access_level = 10 else: return False data = {'id': group_id, 'user_id': user_id, 'access_level': access_level} request = requests.put( '{0}/{1}/members/{2}'.format(self.groups_url, group_id, user_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def deletegroupmember(self, group_id, user_id): """ Delete a group member :param group_id: group id to remove the member from :param user_id: user id :return: always true """ request = requests.delete( '{0}/{1}/members/{2}'.format(self.groups_url, group_id, user_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return True # It always returns true def addldapgrouplink(self, group_id, cn, group_access, provider): """ Add LDAP group link :param id: The ID of a group :param cn: The CN of a LDAP group :param group_access: Minimum access level for members of the LDAP group :param provider: LDAP provider for the LDAP group (when using several providers) :return: True if success """ data = {'id': group_id, 'cn': cn, 'group_access': group_access, 'provider': provider} request = requests.post( '{0}/{1}/ldap_group_links'.format(self.groups_url, group_id), headers=self.headers, data=data, verify=self.verify_ssl) return request.status_code == 201 def deleteldapgrouplink(self, group_id, cn, provider=None): """ Deletes a LDAP group link (for a specific LDAP provider if given) :param group_id: The ID of a group :param cn: The CN of a LDAP group :param provider: Name of a LDAP provider :return: True if success """ url = '{base}/{gid}/ldap_group_links/{provider}{cn}'.format( base=self.groups_url, gid=group_id, cn=cn, provider=('{0}/'.format(provider) if provider else '')) request = requests.delete(url, headers=self.headers, verify=self.verify_ssl) return request.status_code == 200 def getissuewallnotes(self, project_id, issue_id, page=1, per_page=20): """ Get the notes from the wall of a issue :param project_id: Project ID :param issue_id: Issue ID :param page: Page Number :param per_page: Records per page """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/issues/{2}/notes'.format(self.projects_url, project_id, issue_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getissuewallnote(self, project_id, issue_id, note_id): """ Get one note from the wall of the issue :param project_id: Project ID :param issue_id: Issue ID :param note_id: Note ID :return: Json or False """ request = requests.get( '{0}/{1}/issues/{2}/notes/{3}'.format(self.projects_url, project_id, issue_id, note_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createissuewallnote(self, project_id, issue_id, content): """Create a new note :param project_id: Project ID :param issue_id: Issue ID :param content: Contents :return: Json or False """ data = {'body': content} request = requests.post( '{0}/{1}/issues/{2}/notes'.format(self.projects_url, project_id, issue_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, data=data, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def getsnippetwallnotes(self, project_id, snippet_id, page=1, per_page=20): """ Get the notes from the wall of a snippet :param project_id: Project ID :param snippet_id: Snippet ID :param page: Page number :param per_page: Records per page :return: Json or False """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/snippets/{2}/notes'.format(self.projects_url, project_id, snippet_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getsnippetwallnote(self, project_id, snippet_id, note_id): """ Get one note from the wall of the snippet :param project_id: Project ID :param snippet_id: Snippet ID :param note_id: Note ID :return: Json or False """ request = requests.get( '{0}/{1}/snippets/{2}/notes/{3}'.format(self.projects_url, project_id, snippet_id, note_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createsnippetewallnote(self, project_id, snippet_id, content): """ Create a new note :param project_id: Project ID :param snippet_id: Snippet ID :param content: Content :return: Json or False """ data = {'body': content} request = requests.post( '{0}/{1}/snippets/{2}/notes'.format(self.projects_url, project_id, snippet_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, data=data, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def getmergerequestwallnotes(self, project_id, merge_request_id, page=1, per_page=20): """ Get the notes from the wall of a merge request :param project_id: Project ID :param merge_request_id: Merger Request ID :param page: Page number :param per_page: Records per page :return: Json or False """ data = {'page': page, 'per_page': per_page} request = requests.get( '{0}/{1}/merge_requests/{2}/notes'.format(self.projects_url, project_id, merge_request_id), params=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getmergerequestwallnote(self, project_id, merge_request_id, note_id): """ Get one note from the wall of the merge request :param project_id: Project ID :param merge_request_id: Merger Request ID :param note_id: Note ID :return: Json or False """ request = requests.get( '{0}/{1}/merge_requests/{2}/notes/{3}'.format(self.projects_url, project_id, merge_request_id, note_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createmergerequestewallnote(self, project_id, merge_request_id, content): """ Create a new note :param project_id: Project ID :param merge_request_id: Merger Request ID :param content: Content :return: Json or False """ data = {'body': content} request = requests.post( '{0}/{1}/merge_requests/{2}/notes'.format(self.projects_url, project_id, merge_request_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, data=data, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def createfile(self, project_id, file_path, branch_name, encoding, content, commit_message): """ Creates a new file in the repository :param project_id: project id :param file_path: Full path to new file. Ex. lib/class.rb :param branch_name: The name of branch :param content: File content :param commit_message: Commit message :return: true if success, false if not """ data = { 'file_path': file_path, 'branch_name': branch_name, 'encoding': encoding, 'content': content, 'commit_message': commit_message } request = requests.post( '{0}/{1}/repository/files'.format(self.projects_url, project_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, data=data, timeout=self.timeout) return request.status_code == 201 def updatefile(self, project_id, file_path, branch_name, content, commit_message): """ Updates an existing file in the repository :param project_id: project id :param file_path: Full path to new file. Ex. lib/class.rb :param branch_name: The name of branch :param content: File content :param commit_message: Commit message :return: true if success, false if not """ data = { 'file_path': file_path, 'branch_name': branch_name, 'content': content, 'commit_message': commit_message } request = requests.put( '{0}/{1}/repository/files'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def getfile(self, project_id, file_path, ref): """ Allows you to receive information about file in repository like name, size, content. Note that file content is Base64 encoded. :param project_id: project_id :param file_path: Full path to file. Ex. lib/class.rb :param ref: The name of branch, tag or commit :return: """ data = {'file_path': file_path, 'ref': ref} request = requests.get( '{0}/{1}/repository/files'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def deletefile(self, project_id, file_path, branch_name, commit_message): """ Deletes existing file in the repository :param project_id: project id :param file_path: Full path to new file. Ex. lib/class.rb :param branch_name: The name of branch :param commit_message: Commit message :return: true if success, false if not """ data = { 'file_path': file_path, 'branch_name': branch_name, 'commit_message': commit_message } request = requests.delete( '{0}/{1}/repository/files'.format(self.projects_url, project_id), headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def setgitlabciservice(self, project_id, token, project_url): """ Set GitLab CI service for project :param project_id: project id :param token: CI project token :param project_url: CI project url :return: true if success, false if not """ data = {'token': token, 'project_url': project_url} request = requests.put( '{0}/{1}/services/gitlab-ci'.format(self.projects_url, project_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, data=data, timeout=self.timeout) return request.status_code == 200 def deletegitlabciservice(self, project_id, token, project_url): """ Delete GitLab CI service settings :param project_id: Project ID :param token: Token :param project_url: Project URL :return: true if success, false if not """ request = requests.delete( '{0}/{1}/services/gitlab-ci'.format(self.projects_url, project_id), headers=self.headers, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout) return request.status_code == 200 def getlabels(self, project_id): """ Get all labels for given project. :param project_id: The ID of a project :return: list of the labels """ request = requests.get( '{0}/{1}/labels'.format(self.projects_url, project_id), verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def createlabel(self, project_id, name, color): """ Creates a new label for given repository with given name and color. :param project_id: The ID of a project :param name: The name of the label :param color: Color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) :return: """ data = {'name': name, 'color': color} request = requests.post( '{0}/{1}/labels'.format(self.projects_url, project_id), data=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 201: return request.json() else: return False def deletelabel(self, project_id, name): """ Deletes a label given by its name. :param project_id: The ID of a project :param name: The name of the label :return: True if succeed """ data = {'name': name} request = requests.delete( '{0}/{1}/labels'.format(self.projects_url, project_id), data=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) return request.status_code == 200 def editlabel(self, project_id, name, new_name=None, color=None): """ Updates an existing label with new name or now color. At least one parameter is required, to update the label. :param project_id: The ID of a project :param name: The name of the label :return: True if succeed """ data = {'name': name, 'new_name': new_name, 'color': color} request = requests.put( '{0}/{1}/labels'.format(self.projects_url, project_id), data=data, verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout) if request.status_code == 200: return request.json() else: return False def getnamespaces(self, search=None, page=1, per_page=20): """ Return a namespace list :param search: Optional search query :param page: Which page to return (default is 1) :param per_page: Number of items to return per page (default is 20) :return: returns a list of namespaces, false if there is an error """ data = {'page': page, 'per_page': per_page} if search: data['search'] = search request = requests.get( self.namespaces_url, params=data, headers=self.headers, verify=self.verify_ssl) if request.status_code == 200: return request.json() else: return False
34.840704
149
0.59935
9,516
77,207
4.74422
0.060319
0.067979
0.039538
0.042927
0.767355
0.735968
0.705489
0.67501
0.64256
0.617995
0
0.013524
0.300854
77,207
2,215
150
34.856433
0.822839
0.284145
0
0.72763
0
0
0.072667
0.032737
0
0
0
0.000451
0
1
0.108161
false
0.000983
0.0059
0
0.310718
0.001967
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2afb7f6362cb7486ef1ecd7850efd26e9268f46a
29
py
Python
data/studio21_generated/introductory/3913/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3913/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3913/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def solution(to_cur,value):
14.5
27
0.758621
5
29
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
2
28
14.5
0.807692
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2afce5ad5c08520bdb1ddd3bc1d64460a1c6e388
394
py
Python
dbmanage/myapp/admin.py
bopopescu/sbdb_new
52d57f2dd6e553f60a06c97e7a8631d41f8f2ea6
[ "Apache-2.0" ]
3
2018-01-13T14:56:07.000Z
2019-04-20T06:11:03.000Z
dbmanage/myapp/admin.py
bopopescu/sbdb_new
52d57f2dd6e553f60a06c97e7a8631d41f8f2ea6
[ "Apache-2.0" ]
null
null
null
dbmanage/myapp/admin.py
bopopescu/sbdb_new
52d57f2dd6e553f60a06c97e7a8631d41f8f2ea6
[ "Apache-2.0" ]
1
2020-07-22T02:38:14.000Z
2020-07-22T02:38:14.000Z
from django.contrib import admin from dbmanage.myapp.models import Db_name,Db_account,Db_instance,User_profile,MySQL_monitor from django.contrib.auth.models import User admin.site.register(Db_name) admin.site.register(Db_account) admin.site.register(Db_instance) admin.site.register(MySQL_monitor) # admin.site.register(Db_group) admin.site.register(User_profile) # Register your models here.
32.833333
91
0.84264
61
394
5.262295
0.360656
0.168224
0.317757
0.23676
0
0
0
0
0
0
0
0
0.063452
394
11
92
35.818182
0.869919
0.142132
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6308eff3ac948727243157c8d218e61c8706f918
1,206
py
Python
Run.py
plutolove/Motor-life-prediction
2ed95a4d5e2c0ed649a6da2299ba33dee932b569
[ "MIT" ]
3
2017-07-19T10:37:58.000Z
2018-03-21T07:09:15.000Z
Run.py
plutolove/Motor-life-prediction
2ed95a4d5e2c0ed649a6da2299ba33dee932b569
[ "MIT" ]
1
2019-06-27T10:01:03.000Z
2019-06-27T10:01:03.000Z
Run.py
plutolove/Motor-life-prediction
2ed95a4d5e2c0ed649a6da2299ba33dee932b569
[ "MIT" ]
2
2017-07-19T10:37:59.000Z
2020-07-08T14:45:16.000Z
''' from CNN import get_CNN #from LSTM import get_LSTM from Load_Data import load_train, load_test, shuffle_data from keras import utils col = ['Current 1', 'Current 2', 'Current 3', 'Voltage 1', 'Voltage 2', 'Voltage 3', 'Accelerometer 1', 'Accelerometer 2', 'Microphone', 'Tachometer', 'Temperature', 'Output Current', 'Output Voltage'] train, label, types = load_train(col, '/media/meng/9079-7B0D/clean_data/train/', 1) test, test_y = load_test(col, "/media/meng/9079-7B0D/clean_data/test/") train, label = shuffle_data(train, label) train = train.reshape(train.shape[0], 200, 13, 1) test = test.reshape(test.shape[0], 200, 13, 1) #train = train.reshape(train.shape[0], 1, 200, 13, 1) #test = test.reshape(test.shape[0], 1, 200, 13, 1) label = utils.to_categorical(label, num_classes=types) test_y = utils.to_categorical(test_y, num_classes=types) model = get_CNN() model.fit(train, label, batch_size=100, nb_epoch=5, verbose=1, shuffle=True, validation_data=(test, test_y)) json_string = model.to_json() open('model.json','w').write(json_string) model.save_weights('model.h5') ''' from CNN_Linear import run_cnn_linear from Std_model import run_std ''' run_cnn_linear() run_std() '''
33.5
201
0.723051
194
1,206
4.314433
0.319588
0.04779
0.028674
0.038232
0.227001
0.219833
0.143369
0.074074
0.074074
0
0
0.053571
0.117745
1,206
35
202
34.457143
0.733083
0.905473
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
631279e6eda98a5dbd95b1135e967fefb87eee96
612
py
Python
voithos/cli/service/arcus/arcus.py
breqwatr/voidith
4433b687969ad09de40b399871cec768f199d326
[ "Apache-2.0" ]
3
2020-05-13T16:06:59.000Z
2020-05-14T19:29:50.000Z
voithos/cli/service/arcus/arcus.py
breqwatr/voidith
4433b687969ad09de40b399871cec768f199d326
[ "Apache-2.0" ]
8
2020-12-03T17:35:35.000Z
2021-11-29T16:24:34.000Z
voithos/cli/service/arcus/arcus.py
breqwatr/voidith
4433b687969ad09de40b399871cec768f199d326
[ "Apache-2.0" ]
9
2020-07-30T18:03:45.000Z
2021-12-07T17:34:20.000Z
""" Manage Arcus services """ import click import voithos.cli.service.arcus.api as api import voithos.cli.service.arcus.capi as capi import voithos.cli.service.arcus.client as client import voithos.cli.service.arcus.mgr as mgr def get_arcus_group(): """ return the arcus group function """ @click.group(name="arcus") def arcus_group(): """ Arcus services """ arcus_group.add_command(api.get_api_group()) arcus_group.add_command(capi.get_capi_group()) arcus_group.add_command(client.get_client_group()) arcus_group.add_command(mgr.get_mgr_group()) return arcus_group
26.608696
54
0.735294
90
612
4.777778
0.244444
0.186047
0.148837
0.213953
0.434884
0
0
0
0
0
0
0
0.148693
612
22
55
27.818182
0.825336
0.114379
0
0
0
0
0.009579
0
0
0
0
0
0
1
0.153846
true
0
0.384615
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
631716c3f6ec736aaa6da7c0282f2d4bf526c509
26,647
py
Python
stockholm/currency.py
kalaspuff/stockholm
2305426b4e2ca67c3ab8f31bb37fa727c973680e
[ "MIT" ]
15
2019-11-25T09:16:40.000Z
2022-01-21T16:26:44.000Z
stockholm/currency.py
kalaspuff/stockholm
2305426b4e2ca67c3ab8f31bb37fa727c973680e
[ "MIT" ]
118
2019-11-25T21:31:52.000Z
2022-03-29T05:06:26.000Z
stockholm/currency.py
kalaspuff/stockholm
2305426b4e2ca67c3ab8f31bb37fa727c973680e
[ "MIT" ]
1
2019-11-25T14:24:03.000Z
2019-11-25T14:24:03.000Z
from __future__ import annotations import sys from decimal import Decimal from typing import Any, Dict, List, Optional, Set, Tuple, Type, Union, cast class DefaultCurrencyValue(type): pass class DefaultCurrency(metaclass=DefaultCurrencyValue): def __new__(cls: Type[DefaultCurrency]) -> DefaultCurrency: raise TypeError("'DefaultCurrency' object is not callable") class MetaCurrency(type): ticker: str decimal_digits: int interchangeable_with: Optional[Union[Tuple[str, ...], List[str], Set[str]]] preferred_ticker: Optional[str] _meta: bool def __new__(cls: Type[MetaCurrency], name: str, bases: Tuple[type, ...], attributedict: Dict) -> MetaCurrency: ticker = attributedict.get("ticker", attributedict.get("__qualname__")) decimal_digits = attributedict.get("decimal_digits", 2) interchangeable_with = attributedict.get("interchangeable_with") preferred_ticker = attributedict.get("preferred_ticker") attributedict["ticker"] = ticker.split(".")[-1] if ticker else "" attributedict["currency"] = attributedict["ticker"] attributedict["decimal_digits"] = decimal_digits attributedict["interchangeable_with"] = sorted(interchangeable_with) if interchangeable_with else None attributedict["preferred_ticker"] = preferred_ticker if preferred_ticker else None attributedict["_meta"] = bool( not bases or ( name in ("BaseCurrency", "Currency") and len(bases) == 1 and str(type(bases[0])) == "<class 'stockholm.currency.MetaCurrency'>" ) ) attributedict["as_string"] = lambda: str(attributedict["ticker"]) attributedict["as_str"] = lambda: str(attributedict["ticker"]) return cast(Type["BaseCurrency"], super().__new__(cls, name, bases, attributedict)) def money( self, amount: Optional[Union["Money", Decimal, int, float, str, object]] = None, from_sub_units: Optional[bool] = None, units: Optional[int] = None, nanos: Optional[int] = None, value: Optional[Union["Money", Decimal, int, float, str]] = None, currency_code: Optional[str] = None, **kwargs: Any, ) -> "Money": kwargs.pop("currency", None) return Money( amount, currency=self, from_sub_units=from_sub_units, units=units, nanos=nanos, value=value, currency_code=currency_code, **kwargs, ) def __setattr__(self, *args: Any) -> None: raise AttributeError("Attributes of currencies cannot be changed") def __delattr__(self, *args: Any) -> None: raise AttributeError("Attributes of currencies cannot be deleted") def __repr__(self) -> str: if self._meta: return "<class 'stockholm.currency.Currency'>" return f'<stockholm.Currency: "{self}">' def __str__(self) -> str: if self._meta: return "<class 'stockholm.currency.Currency'>" return self.ticker or "" def __format__(self, format_spec: str) -> str: output = str(self) if format_spec.endswith("c"): format_spec = f"{format_spec[:-1]}s" return f"{output:{format_spec}}" def __eq__(self, other: Any) -> bool: if self.ticker: if not other: return False elif isinstance(other, BaseCurrency): return bool(self.ticker == other.ticker) elif isinstance(other, str): return bool(self.ticker == other) else: if isinstance(other, BaseCurrency): return not other.ticker elif isinstance(other, str): return bool(other == "") return False def __ne__(self, other: Any) -> bool: return not self == other @property # type: ignore def __class__(self) -> Any: return BaseCurrency def __hash__(self) -> int: return hash( ( "stockholm.MetaCurrency", self.ticker, self.decimal_digits, self.interchangeable_with, self.preferred_ticker, ) ) def __bool__(self) -> bool: return bool(self.ticker) def __instancecheck__(self, instance: Any) -> bool: return_value = super().__instancecheck__(instance) if not return_value and type(instance) is BaseCurrencyType: return True return return_value class BaseCurrencyType(metaclass=MetaCurrency): ticker: str decimal_digits: int interchangeable_with: Optional[Union[Tuple[str, ...], List[str], Set[str]]] preferred_ticker: Optional[str] _meta: bool def __init__( self, currency: Optional[Union[CurrencyValue, str]] = None, decimal_digits: Optional[int] = None, interchangeable_with: Optional[Union[Tuple[str, ...], List[str], Set[str]]] = None, preferred_ticker: Optional[str] = None, ) -> None: if currency and isinstance(currency, BaseCurrency): object.__setattr__(self, "ticker", currency.ticker) decimal_digits = currency.decimal_digits if decimal_digits is None else decimal_digits interchangeable_with = ( currency.interchangeable_with if interchangeable_with is None else interchangeable_with ) preferred_ticker = currency.preferred_ticker if preferred_ticker is None else preferred_ticker elif currency and isinstance(currency, str): object.__setattr__(self, "ticker", currency) else: object.__setattr__(self, "ticker", "") object.__setattr__(self, "currency", self.ticker) object.__setattr__(self, "decimal_digits", 2 if decimal_digits is None else decimal_digits) object.__setattr__(self, "interchangeable_with", sorted(interchangeable_with) if interchangeable_with else None) object.__setattr__(self, "preferred_ticker", preferred_ticker if preferred_ticker else None) object.__setattr__(self, "_meta", False) object.__setattr__(self, "as_string", lambda: str(self)) object.__setattr__(self, "as_str", lambda: str(self)) object.__setattr__(self, "money", lambda *args, **kwargs: self._money(*args, **kwargs)) def _money( self, amount: Optional[Union["Money", Decimal, int, float, str, object]] = None, from_sub_units: Optional[bool] = None, units: Optional[int] = None, nanos: Optional[int] = None, value: Optional[Union["Money", Decimal, int, float, str]] = None, currency_code: Optional[str] = None, **kwargs: Any, ) -> "Money": kwargs.pop("currency", None) return Money( amount, currency=self, from_sub_units=from_sub_units, units=units, nanos=nanos, value=value, currency_code=currency_code, **kwargs, ) def __setattr__(self, *args: Any) -> None: raise AttributeError("Attributes of currencies cannot be changed") def __delattr__(self, *args: Any) -> None: raise AttributeError("Attributes of currencies cannot be deleted") def __repr__(self) -> str: return f'<stockholm.Currency: "{self.ticker}">' def __str__(self) -> str: return self.ticker or "" def __format__(self, format_spec: str) -> str: output = str(self) if format_spec.endswith("c"): format_spec = f"{format_spec[:-1]}s" return f"{output:{format_spec}}" def __eq__(self, other: Any) -> bool: if self.ticker: if not other: return False elif isinstance(other, BaseCurrency): return bool(self.ticker == other.ticker) elif isinstance(other, str): return bool(self.ticker == other) else: if isinstance(other, BaseCurrency): return not other.ticker elif isinstance(other, str): return bool(other == "") return False def __ne__(self, other: Any) -> bool: return not self == other def __hash__(self) -> int: return hash( ("stockholm.Currency", self.ticker, self.decimal_digits, self.interchangeable_with, self.preferred_ticker) ) def __bool__(self) -> bool: return bool(self.ticker) class BaseCurrency(BaseCurrencyType): def __new__( cls, currency: Optional[Union[CurrencyValue, str]] = None, decimal_digits: Optional[int] = None, interchangeable_with: Optional[Union[Tuple[str, ...], List[str], Set[str]]] = None, preferred_ticker: Optional[str] = None, ) -> BaseCurrency: if not cls._meta: raise TypeError("'BaseCurrency' object is not callable") return cast( BaseCurrency, BaseCurrencyType( currency=currency, decimal_digits=decimal_digits, interchangeable_with=interchangeable_with, preferred_ticker=preferred_ticker, ), ) # ISO 4217 currency codes class AED(BaseCurrency): pass class AFN(BaseCurrency): pass class ALL(BaseCurrency): pass class AMD(BaseCurrency): pass class ANG(BaseCurrency): pass class AOA(BaseCurrency): pass class ARS(BaseCurrency): pass class AUD(BaseCurrency): pass class AWG(BaseCurrency): pass class AZN(BaseCurrency): pass class BAM(BaseCurrency): pass class BBD(BaseCurrency): pass class BDT(BaseCurrency): pass class BGN(BaseCurrency): pass class BHD(BaseCurrency): pass class BIF(BaseCurrency): decimal_digits = 2 class BMD(BaseCurrency): pass class BND(BaseCurrency): pass class BOB(BaseCurrency): pass class BOV(BaseCurrency): pass class BRL(BaseCurrency): pass class BSD(BaseCurrency): pass class BTN(BaseCurrency): pass class BWP(BaseCurrency): pass class BYN(BaseCurrency): pass class BZD(BaseCurrency): pass class CAD(BaseCurrency): pass class CDF(BaseCurrency): pass class CHE(BaseCurrency): pass class CHF(BaseCurrency): pass class CHW(BaseCurrency): pass class CLF(BaseCurrency): decimal_digits = 4 class CLP(BaseCurrency): decimal_digits = 0 class CNY(BaseCurrency): interchangeable_with = ("CNH", "RMB") class COP(BaseCurrency): pass class COU(BaseCurrency): pass class CRC(BaseCurrency): pass class CUC(BaseCurrency): pass class CUP(BaseCurrency): pass class CVE(BaseCurrency): pass class CZK(BaseCurrency): pass class DJF(BaseCurrency): decimal_digits = 0 class DKK(BaseCurrency): pass class DOP(BaseCurrency): pass class DZD(BaseCurrency): pass class EGP(BaseCurrency): pass class ERN(BaseCurrency): pass class ETB(BaseCurrency): pass class EUR(BaseCurrency): pass class FJD(BaseCurrency): pass class FKP(BaseCurrency): pass class GBP(BaseCurrency): pass class GEL(BaseCurrency): pass class GHS(BaseCurrency): pass class GIP(BaseCurrency): pass class GMD(BaseCurrency): pass class GNF(BaseCurrency): decimal_digits = 0 class GTQ(BaseCurrency): pass class GYD(BaseCurrency): pass class HKD(BaseCurrency): pass class HNL(BaseCurrency): pass class HRK(BaseCurrency): pass class HTG(BaseCurrency): pass class HUF(BaseCurrency): pass class IDR(BaseCurrency): pass class ILS(BaseCurrency): interchangeable_with = ("NIS",) class INR(BaseCurrency): pass class IQD(BaseCurrency): decimal_digits = 3 class IRR(BaseCurrency): pass class ISK(BaseCurrency): decimal_digits = 0 class JMD(BaseCurrency): pass class JOD(BaseCurrency): decimal_digits = 3 class JPY(BaseCurrency): decimal_digits = 0 class KES(BaseCurrency): pass class KGS(BaseCurrency): pass class KHR(BaseCurrency): pass class KMF(BaseCurrency): decimal_digits = 0 class KPW(BaseCurrency): pass class KRW(BaseCurrency): decimal_digits = 0 class KWD(BaseCurrency): decimal_digits = 3 class KYD(BaseCurrency): pass class KZT(BaseCurrency): pass class LAK(BaseCurrency): pass class LBP(BaseCurrency): pass class LKR(BaseCurrency): pass class LRD(BaseCurrency): pass class LSL(BaseCurrency): pass class LYD(BaseCurrency): decimal_digits = 3 class MAD(BaseCurrency): pass class MDL(BaseCurrency): pass class MGA(BaseCurrency): pass class MKD(BaseCurrency): pass class MMK(BaseCurrency): pass class MNT(BaseCurrency): pass class MOP(BaseCurrency): pass class MRU(BaseCurrency): pass class MUR(BaseCurrency): pass class MVR(BaseCurrency): pass class MWK(BaseCurrency): pass class MXN(BaseCurrency): pass class MXV(BaseCurrency): pass class MYR(BaseCurrency): pass class MZN(BaseCurrency): pass class NAD(BaseCurrency): pass class NGN(BaseCurrency): pass class NIO(BaseCurrency): pass class NOK(BaseCurrency): pass class NPR(BaseCurrency): pass class NZD(BaseCurrency): pass class OMR(BaseCurrency): decimal_digits = 3 class PAB(BaseCurrency): pass class PEN(BaseCurrency): pass class PGK(BaseCurrency): pass class PHP(BaseCurrency): pass class PKR(BaseCurrency): pass class PLN(BaseCurrency): pass class PYG(BaseCurrency): decimal_digits = 0 class QAR(BaseCurrency): pass class RON(BaseCurrency): pass class RSD(BaseCurrency): pass class RUB(BaseCurrency): pass class RWF(BaseCurrency): decimal_digits = 0 class SAR(BaseCurrency): pass class SBD(BaseCurrency): pass class SCR(BaseCurrency): pass class SDG(BaseCurrency): pass class SEK(BaseCurrency): pass class SGD(BaseCurrency): pass class SHP(BaseCurrency): pass class SLL(BaseCurrency): pass class SOS(BaseCurrency): pass class SRD(BaseCurrency): pass class SSP(BaseCurrency): pass class STN(BaseCurrency): pass class SVC(BaseCurrency): pass class SYP(BaseCurrency): pass class SZL(BaseCurrency): pass class THB(BaseCurrency): pass class TJS(BaseCurrency): pass class TMT(BaseCurrency): pass class TND(BaseCurrency): decimal_digits = 3 class TOP(BaseCurrency): pass class TRY(BaseCurrency): pass class TTD(BaseCurrency): pass class TWD(BaseCurrency): interchangeable_with = ("NTD",) class TZS(BaseCurrency): pass class UAH(BaseCurrency): pass class UGX(BaseCurrency): decimal_digits = 0 class USD(BaseCurrency): pass class USN(BaseCurrency): pass class UYI(BaseCurrency): decimal_digits = 0 class UYU(BaseCurrency): pass class UYW(BaseCurrency): decimal_digits = 4 class UZS(BaseCurrency): pass class VES(BaseCurrency): pass class VND(BaseCurrency): decimal_digits = 0 class VUV(BaseCurrency): decimal_digits = 0 class WST(BaseCurrency): pass class XAF(BaseCurrency): decimal_digits = 0 class XAG(BaseCurrency): pass class XAU(BaseCurrency): pass class XBA(BaseCurrency): pass class XBB(BaseCurrency): pass class XBC(BaseCurrency): pass class XBD(BaseCurrency): pass class XCD(BaseCurrency): pass class XDR(BaseCurrency): pass class XOF(BaseCurrency): decimal_digits = 0 class XPD(BaseCurrency): pass class XPF(BaseCurrency): decimal_digits = 0 class XPT(BaseCurrency): pass class XSU(BaseCurrency): pass class XTS(BaseCurrency): pass class XUA(BaseCurrency): pass class XXX(BaseCurrency): pass class YER(BaseCurrency): pass class ZAR(BaseCurrency): pass class ZMW(BaseCurrency): pass class ZWL(BaseCurrency): pass # Unofficial currency codes class CNH(BaseCurrency): interchangeable_with = ("CNY", "RMB") preferred_ticker = "CNY" class GGP(BaseCurrency): pass class IMP(BaseCurrency): pass class JED(BaseCurrency): pass class KID(BaseCurrency): pass class NIS(BaseCurrency): interchangeable_with = ("ILS",) preferred_ticker = "ILS" class NTD(BaseCurrency): interchangeable_with = ("TWD",) preferred_ticker = "TWD" class PRB(BaseCurrency): pass class SLS(BaseCurrency): pass class RMB(BaseCurrency): interchangeable_with = ("CNH", "RMB") preferred_ticker = "CNY" class TVD(BaseCurrency): pass class ZWB(BaseCurrency): pass # Historical currency codes class ADF(BaseCurrency): pass class ADP(BaseCurrency): decimal_digits = 0 class AFA(BaseCurrency): pass class AOK(BaseCurrency): decimal_digits = 0 class AON(BaseCurrency): decimal_digits = 0 class AOR(BaseCurrency): decimal_digits = 0 class ARL(BaseCurrency): pass class ARP(BaseCurrency): pass class ARA(BaseCurrency): pass class ATS(BaseCurrency): pass class AZM(BaseCurrency): decimal_digits = 0 class BAD(BaseCurrency): pass class BEF(BaseCurrency): pass class BGL(BaseCurrency): pass class BOP(BaseCurrency): pass class BRB(BaseCurrency): pass class BRC(BaseCurrency): pass class BRN(BaseCurrency): pass class BRE(BaseCurrency): pass class BRR(BaseCurrency): pass class BYB(BaseCurrency): pass class BYR(BaseCurrency): decimal_digits = 0 class CSD(BaseCurrency): pass class CSK(BaseCurrency): pass class CYP(BaseCurrency): pass class DDM(BaseCurrency): pass class DEM(BaseCurrency): pass class ECS(BaseCurrency): decimal_digits = 0 class ECV(BaseCurrency): pass class EEK(BaseCurrency): pass class ESA(BaseCurrency): pass class ESB(BaseCurrency): pass class ESP(BaseCurrency): decimal_digits = 0 class FIM(BaseCurrency): pass class FRF(BaseCurrency): pass class GNE(BaseCurrency): pass class GHC(BaseCurrency): decimal_digits = 0 class GQE(BaseCurrency): pass class GRD(BaseCurrency): pass class GWP(BaseCurrency): pass class HRD(BaseCurrency): pass class IEP(BaseCurrency): pass class ILP(BaseCurrency): decimal_digits = 3 class ILR(BaseCurrency): pass class ISJ(BaseCurrency): pass class ITL(BaseCurrency): decimal_digits = 0 class LAJ(BaseCurrency): pass class LTL(BaseCurrency): pass class LUF(BaseCurrency): pass class LVL(BaseCurrency): pass class MAF(BaseCurrency): pass class MCF(BaseCurrency): pass class MGF(BaseCurrency): pass class MKN(BaseCurrency): pass class MLF(BaseCurrency): pass class MVQ(BaseCurrency): pass class MRO(BaseCurrency): pass class MXP(BaseCurrency): pass class MZM(BaseCurrency): decimal_digits = 0 class MTL(BaseCurrency): pass class NIC(BaseCurrency): pass class NLG(BaseCurrency): pass class PEH(BaseCurrency): pass class PEI(BaseCurrency): pass class PLZ(BaseCurrency): pass class PTE(BaseCurrency): decimal_digits = 0 class ROL(BaseCurrency): pass class RUR(BaseCurrency): pass class SDD(BaseCurrency): decimal_digits = 0 class SDP(BaseCurrency): pass class SIT(BaseCurrency): pass class SKK(BaseCurrency): pass class SML(BaseCurrency): decimal_digits = 0 class SRG(BaseCurrency): pass class STD(BaseCurrency): pass class SUR(BaseCurrency): pass class TJR(BaseCurrency): pass class TMM(BaseCurrency): decimal_digits = 0 class TPE(BaseCurrency): pass class TRL(BaseCurrency): decimal_digits = 0 class UAK(BaseCurrency): pass class UGS(BaseCurrency): pass class USS(BaseCurrency): pass class UYP(BaseCurrency): pass class UYN(BaseCurrency): pass class VAL(BaseCurrency): decimal_digits = 0 class VEB(BaseCurrency): pass class VEF(BaseCurrency): pass class XEU(BaseCurrency): pass class XFO(BaseCurrency): pass class XFU(BaseCurrency): pass class YDD(BaseCurrency): pass class YUD(BaseCurrency): pass class YUN(BaseCurrency): pass class YUR(BaseCurrency): pass class YUO(BaseCurrency): pass class YUG(BaseCurrency): pass class YUM(BaseCurrency): pass class ZAL(BaseCurrency): pass class ZMK(BaseCurrency): pass class ZRZ(BaseCurrency): decimal_digits = 3 class ZRN(BaseCurrency): pass class ZWC(BaseCurrency): pass class ZWD(BaseCurrency): pass class ZWN(BaseCurrency): pass class ZWR(BaseCurrency): pass # Cryptocurrencies class Bitcoin(BaseCurrency): ticker = "BTC" BTC = Bitcoin XBT = Bitcoin class Ethereum(BaseCurrency): ticker = "ETH" ETH = Ethereum class XRP(BaseCurrency): ticker = "XRP" class Tether(BaseCurrency): ticker = "USDT" USDT = Tether class USDCoin(BaseCurrency): ticker = "USDC" CoinbaseUSDC = USDCoin USDC = USDCoin class BitcoinCash(BaseCurrency): ticker = "BCH" BCH = BitcoinCash XCH = BitcoinCash class LiteCoin(BaseCurrency): ticker = "LTC" LTC = LiteCoin class EOS(BaseCurrency): ticker = "EOS" class BinanceCoin(BaseCurrency): ticker = "BNB" BNB = BinanceCoin class StellarLumen(BaseCurrency): ticker = "XLM" XLM = StellarLumen class Monero(BaseCurrency): ticker = "XMR" XMR = Monero class DogeCoin(BaseCurrency): ticker = "DOGE" DOGE = DogeCoin def get_currency(ticker: str) -> BaseCurrency: return cast(BaseCurrency, getattr(sys.modules[__name__], ticker, BaseCurrency(ticker))) # Note to future self – this is generally bad practice (but helps with type hint annotations). class Currency(BaseCurrency): ADF = ADF ADP = ADP AED = AED AFA = AFA AFN = AFN ALL = ALL AMD = AMD ANG = ANG AOA = AOA AOK = AOK AON = AON AOR = AOR ARA = ARA ARL = ARL ARP = ARP ARS = ARS ATS = ATS AUD = AUD AWG = AWG AZM = AZM AZN = AZN BAD = BAD BAM = BAM BBD = BBD BCH = BCH BDT = BDT BEF = BEF BGL = BGL BGN = BGN BHD = BHD BIF = BIF BMD = BMD BNB = BNB BND = BND BOB = BOB BOP = BOP BOV = BOV BRB = BRB BRC = BRC BRE = BRE BRL = BRL BRN = BRN BRR = BRR BSD = BSD BTC = BTC BTN = BTN BWP = BWP BYB = BYB BYN = BYN BYR = BYR BZD = BZD CAD = CAD CDF = CDF CHE = CHE CHF = CHF CHW = CHW CLF = CLF CLP = CLP CNH = CNH CNY = CNY COP = COP COU = COU CRC = CRC CSD = CSD CSK = CSK CUC = CUC CUP = CUP CVE = CVE CYP = CYP CZK = CZK DDM = DDM DEM = DEM DJF = DJF DKK = DKK DOGE = DOGE DOP = DOP DZD = DZD ECS = ECS ECV = ECV EEK = EEK EGP = EGP EOS = EOS ERN = ERN ESA = ESA ESB = ESB ESP = ESP ETB = ETB ETH = ETH EUR = EUR FIM = FIM FJD = FJD FKP = FKP FRF = FRF GBP = GBP GEL = GEL GGP = GGP GHC = GHC GHS = GHS GIP = GIP GMD = GMD GNE = GNE GNF = GNF GQE = GQE GRD = GRD GTQ = GTQ GWP = GWP GYD = GYD HKD = HKD HNL = HNL HRD = HRD HRK = HRK HTG = HTG HUF = HUF IDR = IDR IEP = IEP ILP = ILP ILR = ILR ILS = ILS IMP = IMP INR = INR IQD = IQD IRR = IRR ISJ = ISJ ISK = ISK ITL = ITL JED = JED JMD = JMD JOD = JOD JPY = JPY KES = KES KGS = KGS KHR = KHR KID = KID KMF = KMF KPW = KPW KRW = KRW KWD = KWD KYD = KYD KZT = KZT LAJ = LAJ LAK = LAK LBP = LBP LKR = LKR LRD = LRD LSL = LSL LTC = LTC LTL = LTL LUF = LUF LVL = LVL LYD = LYD MAD = MAD MAF = MAF MCF = MCF MDL = MDL MGA = MGA MGF = MGF MKD = MKD MKN = MKN MLF = MLF MMK = MMK MNT = MNT MOP = MOP MRO = MRO MRU = MRU MTL = MTL MUR = MUR MVQ = MVQ MVR = MVR MWK = MWK MXN = MXN MXP = MXP MXV = MXV MYR = MYR MZM = MZM MZN = MZN NAD = NAD NGN = NGN NIC = NIC NIO = NIO NIS = NIS NLG = NLG NOK = NOK NPR = NPR NTD = NTD NZD = NZD OMR = OMR PAB = PAB PEH = PEH PEI = PEI PEN = PEN PGK = PGK PHP = PHP PKR = PKR PLN = PLN PLZ = PLZ PRB = PRB PTE = PTE PYG = PYG QAR = QAR RMB = RMB ROL = ROL RON = RON RSD = RSD RUB = RUB RUR = RUR RWF = RWF SAR = SAR SBD = SBD SCR = SCR SDD = SDD SDG = SDG SDP = SDP SEK = SEK SGD = SGD SHP = SHP SIT = SIT SKK = SKK SLL = SLL SLS = SLS SML = SML SOS = SOS SRD = SRD SRG = SRG SSP = SSP STD = STD STN = STN SUR = SUR SVC = SVC SYP = SYP SZL = SZL THB = THB TJR = TJR TJS = TJS TMM = TMM TMT = TMT TND = TND TOP = TOP TPE = TPE TRL = TRL TRY = TRY TTD = TTD TVD = TVD TWD = TWD TZS = TZS UAH = UAH UAK = UAK UGS = UGS UGX = UGX USD = USD USDC = USDC USDT = USDT USN = USN USS = USS UYI = UYI UYN = UYN UYP = UYP UYU = UYU UYW = UYW UZS = UZS VAL = VAL VEB = VEB VEF = VEF VES = VES VND = VND VUV = VUV WST = WST XAF = XAF XAG = XAG XAU = XAU XBA = XBA XBB = XBB XBC = XBC XBD = XBD XBT = XBT XCD = XCD XCH = XCH XDR = XDR XEU = XEU XFO = XFO XFU = XFU XLM = XLM XMR = XMR XOF = XOF XPD = XPD XPF = XPF XPT = XPT XRP = XRP XSU = XSU XTS = XTS XUA = XUA XXX = XXX YDD = YDD YER = YER YUD = YUD YUG = YUG YUM = YUM YUN = YUN YUO = YUO YUR = YUR ZAL = ZAL ZAR = ZAR ZMK = ZMK ZMW = ZMW ZRN = ZRN ZRZ = ZRZ ZWB = ZWB ZWC = ZWC ZWD = ZWD ZWL = ZWL ZWN = ZWN ZWR = ZWR from .compat import CurrencyValue # noqa isort:skip from stockholm.money import Money # noqa isort:skip
14.280279
120
0.612114
3,039
26,647
5.262586
0.14972
0.246108
0.319077
0.053648
0.309948
0.201901
0.198149
0.194022
0.18927
0.182392
0
0.002933
0.296319
26,647
1,865
121
14.287936
0.849928
0.008631
0
0.359589
0
0
0.037186
0.006059
0
0
0
0
0
1
0.023116
false
0.211473
0.005137
0.008562
0.659247
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
6317607156fcbe53cb703cb9e6e6e8c16066c796
102
py
Python
src/aeml/__init__.py
kjappelbaum/aeml
90d48bde655440576a403a18b49b7352cb2d6615
[ "MIT" ]
null
null
null
src/aeml/__init__.py
kjappelbaum/aeml
90d48bde655440576a403a18b49b7352cb2d6615
[ "MIT" ]
null
null
null
src/aeml/__init__.py
kjappelbaum/aeml
90d48bde655440576a403a18b49b7352cb2d6615
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Predict amine emissions of industrial processes using machine learning"""
25.5
76
0.705882
12
102
6
1
0
0
0
0
0
0
0
0
0
0
0.011494
0.147059
102
3
77
34
0.816092
0.911765
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2d490e30e883bd691735e7d5be01da695d30696a
299
py
Python
bms_sender/generic_libs/bms_output_handler.py
clean-code-craft-tcq-1/stream-bms-data-Aruna1396
bf7c185966faeb8ff9ac98fe91e99d4f8152fef3
[ "MIT" ]
null
null
null
bms_sender/generic_libs/bms_output_handler.py
clean-code-craft-tcq-1/stream-bms-data-Aruna1396
bf7c185966faeb8ff9ac98fe91e99d4f8152fef3
[ "MIT" ]
null
null
null
bms_sender/generic_libs/bms_output_handler.py
clean-code-craft-tcq-1/stream-bms-data-Aruna1396
bf7c185966faeb8ff9ac98fe91e99d4f8152fef3
[ "MIT" ]
null
null
null
import time def print_bms_readings_to_console(bms_readings): formatted_bms_readings = '\t'.join("{}: {} ".format(key, value) for key, value in bms_readings.items()) print(formatted_bms_readings) return 'CONSOLE_OUTPUT_SENT' def set_delay(stream_speed): time.sleep(stream_speed)
23
107
0.742475
42
299
4.928571
0.595238
0.2657
0.193237
0
0
0
0
0
0
0
0
0
0.140468
299
12
108
24.916667
0.805447
0
0
0
0
0
0.09396
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0.285714
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
2d6a3ae499f5737c909e0d092a37bdf73228edd9
182
py
Python
facelet_rep/__main__.py
ryomakawakami/rubikscube
4697f41b4e1050b06061fb0f9d324cf20110ec16
[ "MIT" ]
null
null
null
facelet_rep/__main__.py
ryomakawakami/rubikscube
4697f41b4e1050b06061fb0f9d324cf20110ec16
[ "MIT" ]
null
null
null
facelet_rep/__main__.py
ryomakawakami/rubikscube
4697f41b4e1050b06061fb0f9d324cf20110ec16
[ "MIT" ]
null
null
null
import facelet_rep.cube.cube as cube if __name__ == '__main__': print("Cube") cube = cube.Cube() cube.handScramble("x R2' F R F' R U2 r' U r U2 x'") cube.display()
20.222222
55
0.615385
31
182
3.322581
0.548387
0.38835
0.349515
0.31068
0
0
0
0
0
0
0
0.021583
0.236264
182
8
56
22.75
0.719424
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2d6c50934d8b2e40c26b37930e3dc14e6e0b8265
67
py
Python
_ebcf_alexa/__init__.py
dmotles/ebcf-alexa
d4941a9709d22ef7255c46dc50c4428e5ccfb013
[ "MIT" ]
null
null
null
_ebcf_alexa/__init__.py
dmotles/ebcf-alexa
d4941a9709d22ef7255c46dc50c4428e5ccfb013
[ "MIT" ]
3
2017-11-02T04:58:21.000Z
2018-01-14T21:05:12.000Z
_ebcf_alexa/__init__.py
dmotles/ebcf-alexa
d4941a9709d22ef7255c46dc50c4428e5ccfb013
[ "MIT" ]
null
null
null
""" The alexa skill that tells you what the wod of the day is. """
16.75
58
0.671642
13
67
3.461538
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.223881
67
3
59
22.333333
0.865385
0.865672
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2dddf743a7eed3f8a01963b80e7ee1b4487d22b2
118
py
Python
styleguide_example/integrations/apps.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
72
2021-12-07T09:21:26.000Z
2022-03-29T12:35:29.000Z
styleguide_example/integrations/apps.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
21
2021-12-13T13:34:43.000Z
2022-03-28T09:07:42.000Z
styleguide_example/integrations/apps.py
HackSoftware/Django-Styleguide-Example
5cb309cc2ffc9d552be89d417d84a82d3f25d6a2
[ "MIT" ]
11
2021-12-09T16:52:40.000Z
2022-03-10T11:45:15.000Z
from django.apps import AppConfig class IntegrationsConfig(AppConfig): name = 'styleguide_example.integrations'
19.666667
44
0.805085
12
118
7.833333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.127119
118
5
45
23.6
0.912621
0
0
0
0
0
0.262712
0.262712
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2df199944f3c913c911d4420397959322ecacdf7
535
py
Python
week11/word_counter/test_word_counter.py
AnaRita93/spiced_projects
64f0caec4008cc9ccb528e71ec16afba78728b8e
[ "MIT" ]
null
null
null
week11/word_counter/test_word_counter.py
AnaRita93/spiced_projects
64f0caec4008cc9ccb528e71ec16afba78728b8e
[ "MIT" ]
null
null
null
week11/word_counter/test_word_counter.py
AnaRita93/spiced_projects
64f0caec4008cc9ccb528e71ec16afba78728b8e
[ "MIT" ]
null
null
null
""" Automated Testing pip install pytest """ from word_counter import count_words import pytest def test_empty(): assert count_words('') == 0 def test_hello(): assert count_words('hello') == 1 def test_hello_world(): assert count_words('hello world') == 2 def test_phone(): assert count_words('my phone number is 12345678') == 4 def test_number_in_word(): assert count_words('Neo4J is cool') == 3 def tests_fails_with_invalid_data(): with pytest.raises(Exception): assert count_words(9999)
19.814815
59
0.699065
76
535
4.657895
0.5
0.19774
0.271186
0.118644
0
0
0
0
0
0
0
0.041475
0.188785
535
26
60
20.576923
0.774194
0.076636
0
0
0
0
0.115226
0
0
0
0
0
0.4
1
0.4
true
0
0.133333
0
0.533333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
4
9308caf200bacb182b54d36e107e3a170ac48126
549
py
Python
pirates/map/Mappable.py
ksmit799/POTCO-PS
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
8
2017-01-24T04:33:29.000Z
2020-11-01T08:36:24.000Z
pirates/map/Mappable.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
1
2017-03-02T18:05:17.000Z
2017-03-14T06:47:10.000Z
pirates/map/Mappable.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
11
2017-03-02T18:46:07.000Z
2020-11-01T08:36:26.000Z
# File: M (Python 2.4) class Mappable: def __init__(self): pass def getMapNode(self): pass class MappableArea(Mappable): def getMapName(self): return '' def getZoomLevels(self): return ((100, 200, 300), 1) def getFootprintNode(self): pass def getShopNodes(self): return () def getCapturePointNodes(self, holidayId): return () class MappableGrid(MappableArea): def getGridParamters(self): return ()
12.477273
46
0.550091
50
549
5.96
0.52
0.134228
0.073826
0
0
0
0
0
0
0
0
0.033898
0.355191
549
43
47
12.767442
0.80791
0.03643
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.421053
false
0.157895
0
0.263158
0.842105
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
930e9d3044e38cf24e23f82c15fb0b7267bec35e
103
py
Python
libpdf/exceptions.py
useblocks/libpdf
2c1cf007ac9c7a74871342d67bff118254ee8dd5
[ "MIT" ]
7
2021-01-21T20:42:01.000Z
2022-03-16T06:11:49.000Z
libpdf/exceptions.py
useblocks/libpdf
2c1cf007ac9c7a74871342d67bff118254ee8dd5
[ "MIT" ]
8
2021-01-19T09:27:15.000Z
2022-02-04T22:50:15.000Z
libpdf/exceptions.py
useblocks/libpdf
2c1cf007ac9c7a74871342d67bff118254ee8dd5
[ "MIT" ]
null
null
null
"""Libpdf exceptions.""" class LibpdfException(Exception): """Generic libpdf exception class."""
17.166667
41
0.699029
9
103
8
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.135922
103
5
42
20.6
0.808989
0.485437
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
9310c9a496132472d38eadec525e8afcd2aa7fd4
44
py
Python
helloworld.py
dbzfan23/Test
d49e79140d2c09ff659e17ad348a2d29e573b62f
[ "MIT" ]
null
null
null
helloworld.py
dbzfan23/Test
d49e79140d2c09ff659e17ad348a2d29e573b62f
[ "MIT" ]
null
null
null
helloworld.py
dbzfan23/Test
d49e79140d2c09ff659e17ad348a2d29e573b62f
[ "MIT" ]
null
null
null
for i in range(5): print('Hello, World!')
11
23
0.613636
8
44
3.375
1
0
0
0
0
0
0
0
0
0
0
0.027778
0.181818
44
3
24
14.666667
0.722222
0
0
0
0
0
0.302326
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
9324cc2e99eb97536dbfb95f73d78eea6437cf15
41,258
py
Python
Resources/logo.py
Gwerr1002/Filter-Designer
f3b8eef34578f1c1c8826bc0b7b85c8df8dbe887
[ "CC0-1.0" ]
null
null
null
Resources/logo.py
Gwerr1002/Filter-Designer
f3b8eef34578f1c1c8826bc0b7b85c8df8dbe887
[ "CC0-1.0" ]
null
null
null
Resources/logo.py
Gwerr1002/Filter-Designer
f3b8eef34578f1c1c8826bc0b7b85c8df8dbe887
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.9.7) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x25\x1b\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x03\x48\x00\x00\x02\x90\x08\x02\x00\x00\x00\x2a\x9f\xcd\x7a\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc4\x00\x00\x0e\xc4\ \x01\x95\x2b\x0e\x1b\x00\x00\x20\x00\x49\x44\x41\x54\x78\x9c\xed\ \xdd\xdd\x55\xec\x48\x96\x80\x51\x6e\x2f\xde\x59\xf2\x00\x03\x70\ \x01\x67\x70\x01\x3b\x70\x01\x67\x70\x01\x03\xb0\xe0\x6a\x61\x01\ \xf3\x90\x35\x59\x54\xfe\x28\xa5\x50\x84\x14\x71\x62\xef\xd5\x0f\ \xd3\xd3\x95\x75\xf2\x57\xfa\x08\xa5\x94\x7f\x7e\x7e\x7e\xee\x52\ \x8d\xe3\x98\x7c\xdb\x61\x18\xcc\x35\xd7\x5c\x73\xcd\x35\xd7\x5c\ \x73\xcd\xcd\x38\xf7\x7f\xc9\xb7\x04\x00\xa0\x2a\xc2\x0e\x00\x20\ \x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\ \xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\ \x00\x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\ \x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\ \x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\ \x07\x00\x10\xc4\xfd\x38\x8e\xc9\x37\x1e\x86\x21\xf9\xb6\xe6\x9a\ \x6b\xae\xb9\xe6\x9a\x6b\xae\xb9\xe6\xe6\x9d\x6b\xc5\x0e\x00\x20\ \x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\ \xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\ \x00\x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\ \x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\ \x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\ \x07\x00\x10\x84\xb0\x03\x00\x08\xe2\xcf\xcf\xcf\x4f\xf2\x8d\xc7\ \x71\x4c\xbe\xed\x30\x0c\xe6\x9a\x6b\xae\xb9\xe6\x9a\x6b\xae\xb9\ \xe6\x66\x9c\x6b\xc5\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\ \x00\x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\ \x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\ \x61\x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\ \x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\ \x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\ \xe2\x7e\x1c\xc7\xe4\x1b\x0f\xc3\x90\x7c\x5b\x73\xcd\x35\xd7\x5c\ \x73\xcd\x35\xd7\x5c\x73\xf3\xce\xb5\x62\x07\x00\x10\x84\xb0\x03\ \x00\x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\ \x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\ \x61\x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\ \x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\xee\xf7\xbe\ \x03\xb4\xe7\xe9\xed\x61\xe6\x3f\xf9\xf1\xf2\x55\xf2\x8e\x00\x00\ \xff\x21\xec\x58\x60\x7e\xd2\x1d\x3c\xbf\x3f\xfe\xfe\xaf\x3a\x0f\ \x00\x8a\x12\x76\xcc\xb5\xb4\xea\xce\xfd\xee\x3c\x91\x07\x00\xd9\ \x09\x3b\x6e\x58\xdf\x73\x17\x1d\x23\x4f\xe1\x01\x40\x2e\xc2\x8e\ \xab\x0a\x25\xdd\x09\x85\x07\x00\xb9\xfc\xf9\xf9\xf9\x49\xbe\xf1\ \x38\x8e\xc9\xb7\x1d\x86\xc1\xdc\x0a\xe7\x6e\x13\x73\xd3\xd6\x14\ \x5e\x2b\xcf\xb3\xb9\xe6\x9a\x6b\xae\xb9\xe6\x96\x98\x6b\xc5\x8e\ \x2a\x62\xee\xb7\xc3\x1a\x9e\x05\x3c\x00\x58\x4a\xd8\x75\xaa\xb6\ \x98\x3b\x27\xef\x00\x60\x29\x61\xd7\x8b\xfa\x4b\xee\x22\x79\x07\ \x00\xf3\x09\xbb\xb0\x4e\xae\x21\xd7\x34\x79\x07\x00\x73\x08\xbb\ \x38\x22\x95\xdc\x45\xcf\xef\x8f\xda\x0e\x00\x26\x08\xbb\x86\x85\ \x2f\xb9\x73\xda\x0e\x00\x26\x08\xbb\xc6\x74\x18\x73\x27\x1c\x96\ \x05\x80\x6b\x84\x5d\x1b\xf4\xdc\x09\x4b\x77\x00\x70\x4e\xd8\x55\ \xad\xd1\x53\x59\xb7\xb1\x68\xe9\x6e\xfe\x33\xa9\x17\x01\x68\x97\ \xb0\xab\x94\xa4\x9b\xe9\xe2\xd2\xdd\x9a\x67\xef\x7c\x71\x54\xea\ \x01\xd0\x0a\x61\x57\x1d\x49\xb7\xd4\xb1\xed\x0a\x1d\xb0\x3e\xf9\ \xd7\xea\x3c\x00\xaa\x25\xec\xea\xa2\xea\xd2\x6c\xf9\x1d\xc4\xe3\ \x2c\x85\x07\x40\x6d\x84\x5d\x2d\x24\x5d\x73\x14\x1e\x00\xb5\x11\ \x76\x55\x50\x75\x4d\x3b\x16\xde\xe7\xeb\xf7\xae\x77\x04\x80\xde\ \x09\xbb\xfd\xa9\xba\x30\x8e\x2f\xa5\xc2\x03\x60\x17\xff\xdb\xfb\ \x0e\xf4\x4e\xd5\x85\xf4\xf4\xf6\xe0\x95\x05\x60\x7b\xc2\x6e\x4f\ \xf6\xfd\xb1\xc9\x3b\x00\x36\xe6\x50\x2c\x73\x5d\x3b\x45\xa0\x93\ \x5f\xc5\x98\x3e\x43\x62\xe2\x49\x38\xb4\x9d\x83\xb3\x00\x6c\x40\ \xd8\xed\xa6\xa1\xb5\x9c\xe9\xa6\x39\xfe\xaf\x01\x0a\x2f\xf9\xfc\ \xd6\xe9\x6e\x3b\x2c\xdd\x69\x3b\x00\x4a\xfb\xf3\xf7\xef\xdf\xe4\ \x1b\x0f\xc3\x90\x7c\xdb\x71\x1c\x7b\x9e\xdb\x4a\x03\x2d\x6d\x91\ \x86\x6a\xf5\xe8\x18\x73\x01\xde\x57\xe6\x9a\x6b\xae\xb9\xe6\x76\ \x3e\xd7\x8a\xdd\x0e\xa2\x56\xdd\xf1\x26\x4d\xe4\x9d\x8b\xcf\x01\ \x10\x8f\xb0\xdb\x5a\x2b\x55\xb7\xc6\xe7\xeb\x77\xb5\x6d\xa7\xe7\ \x00\x08\xcc\x59\xb1\x5c\x55\x6d\x9c\xad\xd1\x43\x58\x03\xd0\x2d\ \x61\xb7\xa9\x4e\xaa\xa2\xf2\x22\xec\xe4\x55\x00\xa0\x43\xc2\x8e\ \x29\x09\x89\x56\x79\xd5\x1d\x68\x3b\x00\x42\x12\x76\xdb\x69\x34\ \x26\x9a\x08\x35\x00\xe0\x4e\xd8\x31\xc7\xcc\xb6\x6b\xeb\x87\x16\ \x1a\xed\x6c\x00\x98\xe0\xac\xd8\x8d\xb4\x9e\x11\x37\xaf\xaf\xdb\ \x50\xd2\x1d\x3d\xbf\x3f\x5e\x3b\x49\x36\xcb\xc3\x71\x06\x2e\x00\ \x1b\x13\x76\xcc\x75\xed\xa7\xb1\x5a\x4c\xba\xa3\xa2\xc1\x7d\xf1\ \x5f\xae\xf6\x00\x28\x47\xd8\xb1\x4c\xd3\x19\x57\x83\x93\xda\xd3\ \x79\x00\x64\x24\xec\x60\x4f\xbf\x3b\xcf\x8f\xc9\x02\xb0\x92\xb0\ \x83\x5a\xfc\x5e\x0d\x15\x79\x00\x24\x10\x76\x50\xa3\x63\xe4\x29\ \x3c\x00\xe6\x13\x76\x50\x35\x85\x07\xc0\x7c\xae\x63\x07\x6d\x68\ \xeb\x32\x81\x00\xec\xc2\x8a\x1d\xb4\xc4\x02\x1e\x00\x13\xac\xd8\ \x41\x93\x2c\xe0\x01\x70\x4e\xd8\x41\xc3\x9e\xdf\x1f\x5b\xff\x51\ \x13\x00\x32\x12\x76\xd0\x3c\x79\x07\xc0\xc1\x9f\x9f\x9f\x9f\xe4\ \x1b\x8f\xe3\x98\x7c\xdb\x61\x18\x7a\x9b\xeb\xc0\x19\x1b\x98\xff\ \xdd\xbb\x46\x3f\x47\xe6\x9a\x6b\xae\xb9\xe6\x4e\xb0\x62\x07\xa1\ \xf8\xfb\x01\xa0\x67\xce\x8a\xdd\xce\xe7\xeb\xb7\x9d\x2e\x8b\xdc\ \xfc\x25\xd9\x35\x7f\x11\x02\x10\x8f\xb0\xdb\x94\xb6\xe3\xfc\x50\ \xe9\x9a\x25\x77\x00\xf8\x4d\xd8\x6d\x4d\xdb\x85\xe7\x0a\x73\x00\ \xec\x45\xd8\xed\x40\xdb\xc5\xf0\xfb\x38\xa9\x43\xa2\x00\xd4\x40\ \xd8\xed\x43\xdb\xb5\xe8\xe6\x37\xde\x00\x60\x5f\xce\x8a\xdd\x8d\ \x03\x76\xcd\x71\xad\x38\x00\x2a\x27\xec\xf6\xa4\xed\x9a\xa3\xed\ \x00\xa8\x99\xb0\xdb\x99\xb6\x03\x00\x72\x11\x76\xfb\xd3\x76\x6d\ \xb1\x68\x07\x40\xb5\x9c\x3c\x51\x05\xe7\x52\xb4\xe5\xf9\xfd\xb1\ \xd0\x89\x14\xeb\xab\xd1\xdf\x09\x00\x3d\x13\x76\xb5\xd0\x76\xfd\ \x28\xfa\x42\x9f\xfc\xcb\x75\x1e\x40\x57\x84\x5d\x45\xb4\x5d\x43\ \x66\x2e\xda\xed\xfe\x82\x3e\xbd\x3d\x68\x3b\x80\x7e\x08\xbb\xba\ \x68\xbb\x86\x9c\xb7\x5d\x55\xaf\x9d\x9e\x03\xe8\x90\xb0\xab\xce\ \x61\x7f\x5c\x55\x22\x70\x4d\x85\x27\x52\xe8\x39\x80\x9e\x09\xbb\ \x4a\x59\xba\x63\x11\x3d\x07\xc0\x9d\xb0\xab\x99\xb6\xe3\x26\x3d\ \x07\xc0\x6f\xc2\xae\x6a\xda\x6e\x03\x2d\x3e\xc9\x7e\xb5\x16\x80\ \x8b\x84\x5d\xed\x5a\xcc\x0e\x0a\xd1\x73\x00\x4c\xbb\x1f\xc7\x31\ \xf9\xc6\xc3\x30\x24\xdf\xd6\xdc\xf9\xb4\x5d\x51\x6b\x5e\x9a\x6d\ \x4c\x1c\x6f\x6d\xf1\xfd\x6c\xae\xb9\xe6\x9a\x6b\x6e\xb9\xb9\x56\ \xec\xda\xa0\xed\x3a\xe4\xfb\x73\x00\x2c\x25\xec\x9a\xa1\xed\x3a\ \xa1\xe7\x00\x48\xf6\xbf\xbd\xef\x00\x0b\xd8\xe5\x17\x52\xc3\x77\ \xd7\x3e\x5f\xbf\x0f\xff\xd9\xfb\x8e\x00\xd0\x30\x2b\x76\x8d\xb1\ \x6e\x97\xd7\xee\x49\xf7\xf1\xf2\xb5\xe6\xbb\x14\x00\xf0\x9b\xb0\ \x6b\x8f\xb6\x8b\x61\xf7\xa6\x04\x20\x1e\x61\xd7\x24\x6d\xd7\x2e\ \x3d\x07\x40\x39\xc2\xae\x55\xda\xae\x2d\x7a\x0e\x80\x0d\x08\xbb\ \x86\x69\xbb\x26\xec\x92\x74\xcf\xef\x8f\x7b\x8d\x06\x60\x47\xc2\ \xae\x6d\xda\xae\x66\xdb\x77\xd5\xa1\xe7\x00\xe8\x96\xb0\x6b\x5e\ \xb0\xb6\x3b\x39\x4b\x74\xb3\x87\xf6\xf1\xf2\x95\xb7\x8a\xb6\xac\ \xba\x8b\xf7\xdc\x72\x1d\x40\x87\x84\x5d\x04\x01\xda\xee\x5a\x85\ \x1c\xaf\xeb\xd6\xdc\x03\x7c\x7e\x7f\xdc\x20\xad\xae\xc5\xa8\xaa\ \x03\xe8\x93\x0b\x14\x07\xd1\xee\x85\x6d\x3f\x5e\xbe\xe6\x54\x48\ \x89\x07\x58\xba\x7e\xca\x1d\x18\x7d\x7a\x7b\x38\xfc\xe7\xe2\xff\ \xaa\xea\x00\xba\x25\xec\xe2\x68\xb1\xed\x16\x25\x88\x1f\x66\xb8\ \xfb\xff\xa4\x9b\xf8\x07\x54\x1d\x40\xcf\x84\x5d\x28\x6d\x75\x4f\ \x5a\x82\xb4\xf5\x18\x33\x2e\xda\xdd\x4c\xba\x3b\x55\x07\xd0\x3d\ \x61\x17\x4d\x2b\xdd\xb3\x26\x41\x5a\x79\x8c\xb9\xcc\x49\xba\x3b\ \x55\x07\x80\xb0\x0b\xa9\xfe\xee\xe9\x2a\x41\xd6\x2c\xda\xcd\x4c\ \x3a\x00\x38\x10\x76\x31\xd5\xdc\x76\x59\xaa\xae\xe6\x07\x78\x2e\ \xa1\xed\x96\x26\x5d\x57\xad\x0c\xc0\x35\xc2\x2e\xac\xb6\xd2\x27\ \xc1\xca\x07\x58\x6d\x09\x25\xac\xd2\x55\xfb\x58\x00\xd8\x98\xb0\ \x8b\xac\xc2\xb6\xeb\x36\x41\xe6\x2c\xda\xa5\x1d\x78\xed\xf6\x29\ \x05\xe0\xdc\xfd\xef\xab\xfc\x2f\x35\x8e\x63\xf2\x6d\xcd\xdd\x66\ \x6e\x6d\xd7\x2e\x9e\xf3\x3c\xac\x79\xbc\x79\xef\x49\x5e\xcf\xef\ \x8f\x17\x53\x7b\x1c\xc7\xe4\xef\xe1\xad\x69\xf7\x16\xdf\xcf\xe6\ \x9a\x6b\xae\xb9\xe6\x4e\xb3\x62\x17\x5f\x85\xeb\x76\xb9\xc4\x58\ \xac\x4a\xae\xba\x18\x0f\x1f\x80\x8c\x84\x1d\x3d\xda\x2b\x76\x4f\ \x56\x4f\xd7\x9c\xf4\xaa\xea\x00\x38\x27\xec\xba\x10\x78\xd1\xae\ \x39\xc7\x92\x5b\x73\x88\x5c\xd5\x01\x70\xd1\xfd\xde\x77\x00\xba\ \xb3\xf2\x5b\x8f\xaa\x0e\x80\x6b\xac\xd8\xf5\xc2\xa2\xdd\x91\xa7\ \x02\x80\xa8\x84\x1d\x0d\xcb\xf8\x4b\xac\xad\xb0\x5c\x07\xc0\x04\ \x61\xd7\x11\x2b\x55\xad\x53\x75\x00\x4c\x13\x76\x6c\x6a\xf7\x8b\ \xea\xb5\x5b\xb7\xaa\x0e\x80\x9b\x84\x5d\x5f\xda\xcd\x9a\x73\x79\ \x8f\xc3\xee\x5e\x9c\xd3\x54\x1d\x00\x73\x38\x2b\x96\xad\x3d\xbd\ \x3d\xec\xd5\x97\x8d\x76\x6d\xde\xaa\x9b\x99\xb0\x52\x12\xa0\x45\ \xc2\xae\x3b\xb5\xfd\xc8\x58\x9a\x0e\x4f\x9b\x48\x13\xe0\xb5\x06\ \x60\x3e\x61\xd7\xa3\xdd\xdb\x6e\xe5\xa2\x5d\x57\x55\x97\xb6\x72\ \xe6\xea\xc7\x00\x7d\x12\x76\xec\x23\xb9\xed\x92\xab\xae\xc5\xe3\ \xb0\x4b\x1b\xcb\xa5\x8f\x01\x3a\xe7\xe4\x89\x4e\xd5\x50\x39\x09\ \x15\x52\x68\xad\xae\xce\xe3\x95\xf3\x33\xeb\xf0\x9b\xb3\xaa\x0e\ \x00\x2b\x76\xec\xe9\xd0\x22\x33\x2b\x73\x4d\xd5\xd5\x10\xb2\x8b\ \xcc\xcc\xac\x2c\x49\x2a\xe9\x00\xc2\x10\x76\xfd\xda\xfd\x9b\x76\ \x47\x37\xf3\x6e\xe5\x42\x5d\x73\x55\x37\x47\x96\xc5\x4b\x49\x07\ \x10\x8c\xb0\xa3\x16\x7b\x55\x66\x25\x75\xfb\xdb\xcd\xde\x52\x75\ \x00\x5c\x24\xec\xba\x56\xcf\xa2\x5d\x39\xc1\x96\xeb\xb2\x24\xdd\ \xe1\x39\x19\xc7\x71\xfd\xbf\x0a\x80\xaa\x38\x79\x82\xc8\x1a\xad\ \xba\x6b\xf5\x96\xb1\xea\x00\x08\xe9\xcf\xdf\xbf\x7f\x93\x6f\x3c\ \x0c\x43\xf2\x6d\xd7\xac\x16\x98\x9b\x77\x6e\xd4\xcb\xc2\xcd\x39\ \xd4\x58\xf3\x63\xff\x5d\x60\xb9\x16\x56\x7f\x3f\x27\x51\xdf\xcf\ \xe6\x9a\x6b\xae\xb9\x3d\xcf\xb5\x62\x47\x4c\x01\xbe\x40\x76\x8c\ \xb9\x12\x55\x07\x40\x48\xbe\x63\xc7\xdd\xc7\xcb\x57\xcd\x0b\x57\ \x09\x66\x16\x4c\xfd\x8f\x5a\xd2\x01\xb0\x88\x15\x3b\xa2\x11\x31\ \x27\x3c\x21\x00\xfd\xb0\x62\xc7\xdd\x5d\xa0\x45\xbb\xf9\x11\x13\ \xe3\xf1\xde\x54\xa2\xea\x66\xae\x23\x0a\x4a\x80\xed\x09\x3b\x82\ \x58\x74\x09\x0f\x55\x37\x5f\xda\xe1\x60\x55\x07\xb0\x0b\x61\xc7\ \x3f\xda\x5d\xb4\x5b\x7a\xfd\x8e\x46\x1f\xe6\x52\x6b\xd2\x6a\xcd\ \x77\xfb\x24\x1d\xc0\x8e\x84\x1d\x0d\x73\x49\xb6\x6b\xd2\xea\x6a\ \xfd\xb9\x1a\xaa\x0e\x60\x5f\xc2\x8e\x7f\x35\xb1\x68\xb7\x32\xe6\ \xea\x7f\x80\xeb\x25\xd4\x95\xa4\x03\x88\x41\xd8\xd1\x86\x2c\x8b\ \x73\xaa\xee\x9c\xa4\x03\x88\x44\xd8\x75\xe4\xf9\xfd\xf1\xe6\x3e\ \xb8\xb6\x45\xbb\x5c\x07\x5b\xab\x7a\x50\xe5\x2c\x6a\xac\x2c\x17\ \xc9\x53\x75\x00\x55\x11\x76\x7d\x99\xd3\x76\x35\xc8\xfb\xe5\x39\ \x55\x77\x22\xcb\x13\xd2\xc4\x1b\x09\xa0\x37\x2e\x50\xdc\x9d\x9b\ \x3b\xf5\x7d\x77\xd8\x1f\x2f\x5f\xaa\x2e\xc1\xfc\x1f\xdb\x50\x75\ \x00\x81\x09\xbb\x1e\xd5\xd9\x76\x1f\x2f\x5f\x79\xe7\xe6\x8a\x98\ \x26\xcc\x79\xa4\x59\x9e\x8d\xcf\xd7\x6f\x27\x23\x03\x54\xcb\xa1\ \x58\xaa\x90\x3d\xe9\x32\xfe\xdb\x5a\x31\x71\x9c\x3d\xd7\x13\x22\ \xe9\x00\x2a\x67\xc5\xae\x53\x55\x2d\xda\xa9\xba\x5c\x2e\x2e\x52\ \xaa\x3a\x80\x7e\x08\xbb\x7e\x55\x12\x40\x19\xab\xee\xe9\xed\xa1\ \x92\x07\xb5\xaf\xdf\x4f\x82\xaa\x03\xe8\x8a\x43\xb1\x5d\x9b\x3e\ \x49\xf6\xf3\xf5\x3b\xcb\x15\x31\x26\xe4\xaa\xba\xd2\xf7\xb3\x39\ \x19\x03\x57\xd2\x01\x34\x44\xd8\xf5\xae\x95\x0b\xa0\x4c\x50\x75\ \xe5\x14\xaa\xba\x99\x2f\x99\xa6\x04\x58\x4a\xd8\x31\xa5\xe8\xa2\ \xdd\xfa\xa0\x94\x74\x45\xb9\x3a\x34\x40\x73\xee\x87\x61\x48\xbe\ \xf1\x38\x8e\xc9\xb7\x35\xb7\x9e\xb9\xcf\xef\x8f\x17\x77\xe1\x6b\ \xe6\xce\x71\xed\xbe\xcd\x9c\x2b\x17\x8a\xfa\x78\xf9\x9a\x78\x21\ \xe6\xbc\xaf\xd6\x64\xf7\x21\xfa\xcf\xef\x40\xcd\x9f\x23\x73\xcd\ \x35\xd7\xdc\x1a\xe6\x5a\xb1\xe3\xee\xee\xee\xee\xe9\xed\xe1\xda\ \xf2\x4c\x6d\x3f\x32\x76\x27\xe9\xca\x5b\xb3\x98\xba\x72\x19\xb5\ \xf5\x2f\x06\x00\xec\x4b\xd8\x75\x64\xfa\xb8\xea\x44\xdb\x15\xba\ \x33\x69\x37\x54\x75\xa5\xa5\xa5\xd5\xfa\xc3\xe2\x92\x0e\x60\x3d\ \x61\xc7\xbf\x36\x6e\xbb\x04\xaa\xae\xb4\x84\xba\x92\x74\x00\xf5\ \x70\x1d\x3b\x6e\xab\x64\xbf\xab\xea\x4a\x5b\xfa\x42\x3f\xbd\x3d\ \xa8\x3a\x80\xaa\x58\xb1\xe3\x3f\xaa\x5d\xb4\x53\x75\xa5\x2d\x0a\ \xac\x2c\xe7\x23\x4b\x3a\x80\xec\xac\xd8\x71\xea\xe2\x3e\x7b\xdf\ \x7d\xb0\xaa\xab\x4a\x96\x97\x43\xd5\x01\x94\x60\xc5\x8e\x0b\xaa\ \x5a\xb7\x53\x75\xdb\x38\x3c\xcf\xd3\xbd\x95\xeb\xb5\x50\x75\x00\ \x85\x58\xb1\xe3\xb2\xf3\x75\xbb\x5d\x76\xc6\xaa\x6e\x63\xcf\xef\ \x8f\xd7\x9e\xf3\x2c\xaf\xc5\xe7\xeb\xb7\xaa\x03\x28\x47\xd8\x71\ \x55\xb9\xa8\xaa\x67\x39\x90\x8b\x4e\xf2\x6e\xa2\xf6\x16\xf1\xba\ \x03\x94\x26\xec\x98\x72\xb2\x3b\xdf\x78\xad\xc5\x72\xdd\xbe\x0e\ \x3d\x97\xeb\x55\x50\x75\x00\x1b\xf0\x1d\x3b\x6e\x78\x7e\x7f\x74\ \xec\x8c\x95\x72\x55\xdd\xfc\xb3\x71\x75\x24\xd0\x27\x61\xc7\x6d\ \xbf\xdb\x6e\xb3\x5f\x18\xb3\x5c\x17\xc6\x9a\xc6\x4a\x7b\x1b\xa8\ \x3a\xa0\x5b\xc2\x8e\x59\xac\xdb\x91\x20\x2d\xb0\xd6\x34\xbd\xa4\ \x03\x3a\x27\xec\x98\x4b\xdb\xb1\xc8\xd2\xc6\x5a\xbf\x46\xab\xea\ \x00\x9c\x3c\xc1\x02\x73\x2e\x75\x96\x71\x10\xed\x5a\xd4\x58\xeb\ \x4f\xd1\xf8\x7c\xfd\x56\x75\x00\x77\x56\xec\x58\xca\xba\x1d\x37\ \xcd\x6f\x2c\xab\x74\x00\x79\x09\xbb\xbe\x7c\xbe\x7e\xaf\xff\x95\ \x4f\xcb\x69\x4c\x98\x59\x5a\x2e\x8c\x07\x50\x82\xb0\x03\x72\xba\ \xf9\x7b\x74\x92\x0e\xa0\x1c\x61\x47\x75\xac\x08\xb6\xee\xb0\x2a\ \x7c\xde\x5e\xeb\x57\x8b\x0f\x54\x1d\xc0\x35\xf7\xe3\x38\x26\xdf\ \x78\x18\x86\xe4\xdb\x9a\x5b\xff\xdc\x72\xea\xbc\x57\xe4\x75\xc8\ \xb8\xe3\x37\x32\xb3\xf4\xfa\xe1\xdf\x96\xf6\xfe\xe9\xed\xf3\x6b\ \xae\xb9\xe6\xf6\x39\xd7\x8a\x1d\x5b\x73\xee\x45\x57\x32\xae\xbf\ \x7e\xbe\x7e\xfb\x93\x00\x60\x9a\xcb\x9d\x00\x0d\x70\xf8\x15\x60\ \x0e\x61\x07\xd4\x4e\xd5\x01\xcc\xe4\x50\x2c\x50\x2f\x49\x07\xb0\ \x88\x15\x3b\xea\xe2\x94\x58\x8e\x54\x1d\xc0\x52\xc2\x0e\xa8\x91\ \xaa\x03\x48\xe0\x50\x2c\x50\x9d\xf5\x55\x37\x7f\xe9\x57\x41\x02\ \x91\x08\x3b\x20\x8e\xa5\x87\xf2\x55\x1d\x10\x8c\xb0\x03\xaa\x73\ \xed\xb7\x2b\xae\x49\xf8\x6a\xa6\xa4\x03\x42\x12\x76\x40\xa5\xe6\ \xe4\x5d\xda\xd9\x36\xaa\x0e\x88\x4a\xd8\x01\x55\xbb\x96\x77\x92\ \x0e\xe0\x9c\xb0\x03\x1a\xf0\xfb\x97\x67\x25\x1d\xc0\x35\xc2\x8e\ \x4d\x4d\xff\x50\xac\x8b\xd8\x31\x2d\xf9\x1d\xe2\x17\x8a\x81\x4e\ \xb8\x8e\x1d\x10\x9c\xaa\x03\xfa\x61\xc5\x0e\x08\x4b\xd2\x01\xbd\ \xb1\x62\x07\xc4\xa4\xea\x80\x0e\x09\x3b\x20\x20\x55\x07\xf4\x49\ \xd8\x01\xd1\xa8\x3a\xa0\x5b\xc2\x0e\x88\xe6\xf9\xfd\xd1\x19\xd6\ \x40\x9f\xee\x87\x61\x48\xbe\xf1\x38\x8e\xc9\xb7\x35\xb7\xfe\xb9\ \x25\xd4\x76\x7f\x08\xec\xd0\x76\xc7\xcb\xd7\xf5\xf6\xf9\x35\xd7\ \x5c\x73\xfb\x9c\xeb\xac\xd8\xee\x7c\xbe\x7e\x1f\xae\xf5\x0a\x3d\ \x58\xfa\xb3\xb3\x77\x4b\xae\x96\xe7\xa2\xc7\x40\x6d\x84\x1d\xb5\ \x90\x9b\x94\xf3\xfb\x87\x2b\x2e\x4a\x38\x74\xab\xea\x80\x0a\x09\ \x3b\xa0\x17\x87\x7a\x3b\xc9\x3b\x49\x07\x44\x22\xec\x80\xbe\xac\ \x39\xaf\x42\xd2\x01\x95\x13\x76\x00\xb7\x49\x3a\xa0\x09\x2e\x77\ \x02\x70\x83\xaa\x03\x5a\x61\xc5\x0e\xe0\x2a\xd7\x3a\x06\xda\x62\ \xc5\x0e\xe0\x32\x55\x07\x34\xc7\x8a\x5d\x8f\x5c\xca\x0e\xa6\x49\ \x3a\xa0\x51\x56\xec\x00\x4e\xf9\x45\x32\xa0\x51\xc2\x0e\xe0\x02\ \x3f\x38\x0b\xb4\xc8\xa1\x58\x80\xab\x4e\x7e\x70\x16\xa0\x72\xc2\ \x0e\xe0\x86\x9b\x3f\x38\x3b\xfd\xa5\x55\xdf\xd8\x03\x36\x23\xec\ \x3a\xe5\xfc\x09\x58\xea\xe9\xed\xe1\xd8\x76\x3e\x3e\x40\x9d\x84\ \x1d\xc0\x5c\x4b\x7b\xee\xf3\xf5\x7b\x1c\xc7\x42\x77\x06\xe0\x9c\ \x93\x27\x00\x8a\xf0\xcd\x3c\x60\x7b\x56\xec\x00\x32\x93\x74\xc0\ \x5e\xac\xd8\xf5\xab\xaa\x7d\x8f\x6f\x2c\x11\xc3\xe7\xeb\x77\x55\ \x9f\x2c\xa0\x37\xc2\x0e\x20\x0f\x49\x07\xec\xee\x7e\xcd\x17\x7b\ \x87\x61\x48\xbe\xad\xb9\xf5\xcf\x2d\xa1\xb6\xfb\xb3\x9e\xf3\x8b\ \x39\x3a\xbc\x13\x4e\x2e\x6e\xd2\xdb\x76\xc3\x5c\x73\xcd\xdd\x77\ \xae\x15\x3b\x58\x45\xd5\x71\xc2\xef\x55\x00\x3b\x12\x76\x5d\x73\ \xdd\x54\x28\xc1\xcf\x91\x01\x7b\x11\x76\x90\x81\x44\xe6\x9c\xbc\ \x03\xb6\x27\xec\x7a\xa7\x48\xb2\x78\x7e\x7f\xf4\x4c\x72\xd1\xd3\ \xdb\x83\xe3\xf5\xc0\x66\x84\x1d\x55\x88\x51\x45\x31\x1e\x05\x25\ \xc8\x3b\x60\x1b\xc2\x0e\x39\x92\xc7\xe1\xa0\x9b\x27\x93\x09\xda\ \x0e\x28\x4d\xd8\x41\x36\xda\x8e\x9b\x2c\xdd\x01\x45\x09\x3b\xee\ \xee\xb4\x48\x6e\x9e\x4f\xa6\xc9\x3b\xa0\x10\x61\xc7\x3f\xb4\x48\ \x16\xce\x82\x64\x3e\x79\x07\x64\x27\xec\xf8\x97\xb6\xcb\xc2\x01\ \x59\x16\x91\x77\x40\x46\xc2\x8e\xff\x90\x23\x19\x79\x32\x99\x4f\ \xde\x01\x59\x08\x3b\x4e\xc9\x91\xf5\x8e\x07\x64\x3d\x99\x2c\xa2\ \xed\x80\x95\x84\x1d\x17\xc8\x91\x8c\x3c\x99\x2c\x62\xe9\x0e\x58\ \x43\xd8\x71\x59\xa1\x1c\xe9\xe7\xdc\x82\x7e\x1e\x29\x25\xc8\x3b\ \x20\x8d\xb0\xa3\x16\x81\x57\xb6\x02\x3f\x34\x8a\xf2\x6b\xb3\xc0\ \x52\xc2\x8e\xab\x3e\x5f\xbf\xf7\xbe\x0b\x6d\xfb\xbd\x4b\xd6\x76\ \x24\x93\x77\xc0\x7c\xc2\x8e\x29\xda\x6e\x25\x6d\x47\x2e\xda\x0e\ \x98\x43\xd8\x51\x11\xe9\x03\x13\x2c\xdd\x01\x37\x09\x3b\x6e\xb0\ \x68\xb7\x92\x45\x3b\xf2\x92\x77\xc0\x84\x3f\x3f\x3f\x3f\xc9\x37\ \x1e\xc7\x31\xf9\xb6\xc3\x30\x98\xdb\xd0\xdc\x8c\x3b\x92\xe9\x52\ \x0c\x79\x26\xe0\xc9\x43\x0e\xf9\x18\xd9\xc5\xc4\xa7\xa9\x86\xed\ \x86\xb9\xe6\x9a\xbb\xfd\x5c\x2b\x76\xd4\x25\xe4\x02\xa1\x92\xa3\ \x10\x57\x45\x01\x4e\x08\x3b\x66\x71\x0c\x31\xa3\x90\xf1\xca\x8e\ \xe4\x1d\x70\x24\xec\xa8\x4e\xc8\x88\x3c\xd9\xef\x6a\x3b\xb2\x93\ \x77\xc0\x9d\xb0\x63\xbe\x90\xbd\x05\xc1\x68\x3b\xe8\x9c\xb0\x63\ \x81\xcd\xda\x2e\x64\x44\x5a\xb4\x63\x1b\x96\xee\xa0\x67\xc2\x0e\ \x76\xa3\xed\x28\xc7\x55\x51\xa0\x4f\xc2\x8e\x65\x2c\xda\xad\x61\ \x1d\x85\x8d\xc9\x3b\xe8\x8d\xb0\x63\x6b\xe2\xe6\x37\x8b\x76\x6c\ \x40\xde\x41\x3f\x84\x1d\x8b\x59\xb4\x5b\x43\xd7\xb2\x17\x79\x07\ \x3d\x10\x76\xb0\xb3\x90\xfd\x4a\xb5\xe4\x1d\xc4\x26\xec\x48\x61\ \xd1\x6e\x8d\xf3\x45\xbb\x90\x0f\x93\x9a\xc9\x3b\x88\x4a\xd8\x51\ \x3b\xd1\x03\x85\xc8\x3b\x88\x47\xd8\x91\x48\x6f\xe5\xe5\xf9\x64\ \x2f\x87\xbc\x53\x78\x10\x83\xb0\xa3\x01\xf1\xa2\xc7\x29\x14\x54\ \x48\xde\x41\x00\xc2\x8e\x74\xf1\x7a\x6b\x5f\x9e\x4f\x6a\xf0\xfc\ \xfe\xe8\x0f\x0f\x68\x97\xb0\xa3\x0d\xf1\xa2\xc7\xbe\x93\x9a\xf9\ \x5d\x32\x68\x94\xb0\x63\x95\x78\xbd\xb5\x2f\xcf\x27\x55\x39\xe4\ \x9d\xc2\x83\x86\x08\x3b\x76\x90\xb6\x9f\x88\x17\x3d\xf6\x97\xb4\ \x42\xde\x41\x2b\x84\x1d\x6b\x6d\xd9\x5b\xf1\xda\xee\x5c\x0f\x8f\ \x91\x46\x59\xc0\x83\xfa\xdd\x8f\xe3\x98\x7c\xe3\x61\x18\x92\x6f\ \x6b\x6e\xec\xb9\x37\x4d\xdc\xb1\xa2\x73\x6b\x33\x8e\x63\x57\x8f\ \x97\x18\x8e\x6d\x77\xfe\x77\x48\x8b\xdb\x2b\x73\xcd\x8d\x34\xd7\ \x8a\x1d\x19\x6c\xf9\x4b\xf6\x5b\xce\xda\xc0\xc5\xab\x4b\x04\x7b\ \x8c\x04\xe6\x0a\x29\x50\x9b\xfb\xbd\xef\x00\x00\x6d\x3b\xb6\x9d\ \x2f\x12\xc0\xee\xac\xd8\x91\x87\x45\xbb\xbc\x7a\x78\x8c\xc4\xe3\ \x1a\x78\xb0\x3b\x61\x47\x36\x8b\x5a\xc4\xe1\x9b\x23\x3b\x42\x82\ \x71\x8e\x05\xec\x48\xd8\xd1\xa4\x1e\x16\xb4\x7a\x78\x8c\xc4\x26\ \xef\x60\x7b\xc2\x8e\x9c\x1c\x90\x05\x4e\x58\xc0\x83\x2d\x09\x3b\ \xd8\xdf\xb5\x7d\x9e\x78\x25\x12\x79\x07\x1b\x10\x76\x64\x66\xd1\ \x0e\x98\x60\x01\x0f\x8a\x12\x76\xec\xc6\xf9\x13\x73\x88\x57\xa2\ \x92\x77\x50\x82\xb0\x23\x3f\x8b\x76\xc0\x4c\x16\xf0\x20\x2f\x61\ \x47\xf3\x62\xb4\x9d\x1d\x1b\x9d\x7b\x7a\x7b\xb0\x8a\x0f\xeb\x09\ \x3b\x8a\x70\x01\xfa\x8c\x62\x94\x2b\xcc\xe1\x37\xca\x60\x25\x61\ \x47\x29\x5b\xb6\x9d\xf4\x81\x48\xe4\x1d\x24\x13\x76\x00\x00\x41\ \x08\x3b\x0a\xb2\x68\xb7\xc8\xc4\xd7\xec\x02\x3c\x3a\x58\xc4\xd7\ \x39\x20\x8d\xb0\xa3\x2c\x6d\x07\x2c\xa5\xea\x20\x99\xb0\xa3\x38\ \xdb\x68\x60\x3e\x5b\x0c\x58\x43\xd8\x11\x8a\x5d\x02\x34\xcd\x47\ \x18\x56\x12\x76\x6c\xe1\xe3\xe5\xeb\x7c\x7b\x5d\x68\x0b\x6e\xc7\ \x00\x8d\xf2\xe1\x85\xf5\xfe\xfc\xfc\xfc\x24\xdf\x78\x1c\xc7\xe4\ \xdb\x0e\xc3\x60\x6e\x87\x73\x8f\xe7\x07\x4c\x7c\x1f\x6e\xfd\xdc\ \x76\x2f\xf6\x3b\xbd\x63\x73\x01\x08\x02\xfb\x78\xf9\xaa\x6d\x7b\ \x65\xae\xb9\x2d\xce\xbd\x4f\xbe\x25\x24\xd8\xe6\xfc\x86\xcf\xd7\ \xef\x76\xdb\x0e\x00\x92\x39\x14\x4b\x47\x3e\x5f\xbf\x2b\x3f\x73\ \xd6\x9a\x1c\x7d\x72\x10\x16\x72\xb1\x62\x47\x4c\xc7\x45\xbb\x93\ \x92\xb3\x92\x07\x9d\xf8\xfd\x67\x92\x70\xa4\x1f\xc2\x8e\xb0\xce\ \x17\xe7\x54\x1d\x54\xa8\x44\x75\x9d\x2c\x7e\x1f\xff\xab\xc2\x23\ \x3c\x61\x47\x2f\x54\x1d\x54\x68\x83\xaa\xbb\xf8\x3f\x29\x3c\xa2\ \xf2\x1d\x3b\x00\xe2\x98\xf9\x45\xd5\xe7\xf7\x47\x5f\x69\x25\x24\ \x2b\x76\x74\xc1\x72\x1d\xf4\x60\x69\xab\x1d\xfe\xf9\xca\xcf\xa9\ \x82\x45\x84\x1d\xf1\xa9\x3a\xa8\x53\x25\xc7\x43\xe7\x5c\x5f\x13\ \x5a\xe1\x50\x2c\x00\x11\xac\x3f\xb4\xfa\xf4\xf6\xe0\xef\x40\x5a\ \x27\xec\x08\xae\xad\xcd\x74\x25\x0b\x18\xb0\x81\xbc\xef\xf6\x8c\ \x5f\x98\x93\x77\x34\x4d\xd8\x11\x99\xad\x33\x90\x46\xde\xd1\x28\ \x61\x07\x40\xdb\xca\x15\x98\xbc\xa3\x39\xc2\x8e\xb0\x6c\x8e\xa1\ \x5a\x6d\x7d\xeb\x40\xde\xd1\x10\x61\x47\x4c\xb6\xc2\xd0\x89\xcd\ \x3e\xec\xf2\x8e\x26\x08\x3b\x00\x98\x4b\xde\x51\x39\x61\x47\x40\ \x8d\x6e\x76\xdb\x3a\x38\x05\x3d\x93\x77\x54\x4b\xd8\x41\x1b\xfc\ \xfc\x11\x9c\xdb\xb7\xae\xb4\x1d\x15\x12\x76\x44\x63\x53\x0b\x95\ \x8b\xb4\x38\xed\x37\x67\xa9\x8d\xb0\x83\x2a\x44\xda\xd5\x41\x6f\ \xe4\x1d\xf5\xb8\x1f\xc7\x31\xf9\xc6\xc3\x30\x24\xdf\xd6\x5c\x73\ \x4b\xcc\x6d\x77\xb9\x6e\xcd\xa3\x86\xb6\x5c\x7b\xb7\x2f\xdd\x6e\ \xd4\xd6\x52\xcf\xef\x8f\x8b\x7e\x6d\xb6\xb7\xed\xb3\xb9\xdb\xcc\ \xb5\x62\x47\x1c\xed\x56\x1d\x10\x83\x93\x2a\xd8\x9d\xb0\x83\xfd\ \x2d\xfa\x2b\x1f\xa8\x9c\xb6\x63\x47\xc2\x8e\x20\x62\x6f\x49\x63\ \x3f\x3a\x48\x50\xdb\x71\xd8\xdf\xfc\xa9\xc6\x8e\x84\x1d\xec\xcc\ \x3e\x00\x22\xf1\x89\x66\x5f\xf7\x7b\xdf\x01\xc8\xc0\x82\x16\xb4\ \x22\x70\xf7\x04\x7e\x68\x34\xc4\x8a\x1d\xec\xc9\x55\x4e\xc8\xc8\ \xdb\x69\x47\xaa\x8e\x4a\x08\x3b\x9a\x17\x7e\xb9\x2e\xfc\x03\xcc\ \x48\xd9\xb0\x0b\x55\x47\x3d\x84\x1d\xec\x46\x85\x90\x91\xb7\xd3\ \x5e\x54\x1d\x55\x11\x76\xb4\xcd\x6a\x16\x47\xca\xe6\xce\x93\xb0\ \x39\x55\x47\x6d\x84\x1d\xec\x63\xe6\x0e\x58\xb9\xc2\xb9\x4a\xae\ \x75\x22\xa3\xa9\x90\xb0\xa3\x61\xa2\x87\xa3\xce\x77\xb1\x9d\x3f\ \xfc\x5d\x78\xce\xa9\x93\xb0\x83\x1d\xd8\x25\x50\x8e\x77\x17\xf4\ \x4c\xd8\xd1\xaa\x1e\x96\xeb\x7a\x78\x8c\xac\xa7\xe4\xb6\xe7\x39\ \xa7\x5a\xc2\x0e\xb6\x66\x97\x90\x9d\xa7\x94\x2d\x79\xbf\x51\x33\ \x61\x47\x93\xda\x5d\xca\xb2\x4b\x28\xcd\x33\x7c\xe7\x49\x68\xd0\ \xf3\xfb\x63\x25\x67\x84\xd0\x3a\x3f\x29\x06\x95\x6a\x37\x5e\xa9\ \xc1\xe1\x32\x1c\xde\x45\xd9\x65\x8f\xe6\xdf\x3d\x77\xf8\xbf\x75\ \x39\x6b\x58\xb1\xa3\x3d\xed\xee\xab\x6c\xaf\x29\x61\x62\xa5\xc7\ \x55\xd6\xf2\x2a\x5a\x75\xd3\xff\x4f\x98\x49\xd8\xc1\x46\x16\xed\ \x12\xda\x8d\xd7\x1a\x74\x18\xd0\xda\xae\x45\x13\xaf\x9a\xb6\x23\ \x99\xb0\xa3\x31\x8a\x07\x2e\xd2\x76\xa5\xe5\xfd\x83\xe1\xe6\xa6\ \x4c\xdb\x91\xe6\xcf\xcf\xcf\x4f\xf2\x8d\xc7\x71\x4c\xbe\xed\x30\ \x0c\xe6\x9a\x9b\x30\xb7\xd1\x8d\xdd\xc4\x9e\xf5\xe2\xe3\x6d\xf4\ \x61\xee\xe5\xe2\xd3\xdb\xe7\xdf\x00\xc7\xa7\xa2\xe6\xf7\xd5\xb5\ \x42\x9a\xbf\xdd\xd8\xe5\xc5\xbd\xf8\x36\x4b\xdb\x4e\xce\x7f\x21\ \xae\x6d\x3a\xea\xdc\x3e\x9b\x5b\xc3\x5c\x2b\x76\xb4\xa4\x92\xdd\ \xd2\x52\x4b\xd7\x4b\x1a\x7d\x98\xd4\x60\xba\x78\x3a\x3c\x48\x9d\ \x4b\xc6\x55\xcf\x45\x1f\xf0\x3e\xff\x3e\x61\x0d\x61\x07\x65\x39\ \x0a\xc6\xc6\xb4\x5d\xcd\x12\xfe\x6c\x7b\x7a\x7b\x90\x77\xcc\x27\ \xec\x68\x46\x27\xeb\x58\x9d\x3c\xcc\xbc\x2e\xee\xf6\x24\xf5\x35\ \xda\x6e\xa9\x5c\xef\xa5\x35\x9f\x6e\x6d\xc7\x4c\xc2\x0e\x0a\xd2\ \x16\xfb\xea\xf6\xf9\xbf\x19\x01\xda\xae\x45\xda\x8e\x39\x84\x1d\ \x6d\x68\x71\x1d\x2b\xa1\x2a\x5a\x7c\x98\xd4\xe9\xe6\x7b\x49\xdb\ \x6d\x2c\xcb\xa7\x5b\xdb\x71\x93\xb0\x83\x22\xba\x5d\x2b\xaa\x4d\ \xcf\x2f\x84\xbf\x13\xb2\xc8\xf2\x16\xca\xf8\x5a\x68\x3b\xa6\x09\ \x3b\x1a\xd0\xdc\xfe\x29\x6d\x4f\xd0\xdc\xc3\xac\x8a\xbd\xdd\x45\ \xd3\x6f\x2a\x8b\x76\xdb\xc8\xfe\xd1\xf6\x6e\x67\x82\xb0\x03\x82\ \xeb\x79\xd1\xee\x26\x6d\xd7\x28\x7f\x07\x72\x8d\xb0\xa3\x76\xcd\ \x6d\xbf\x2c\xd7\xed\xc5\x32\xc6\x45\x15\x7e\xd9\x6e\xfd\xbb\x7d\ \xb3\x58\x5f\x3f\xa8\xdc\x47\xdb\x46\x83\x8b\x84\x1d\xe4\x64\x71\ \xa8\x4e\x9d\xbf\x2e\x15\xb6\x1d\x59\x68\x3b\xce\x09\x3b\xc8\x26\ \xb9\x1e\x6c\x9d\x73\x99\x58\xb4\xeb\xbc\x5d\xb4\xdd\x2e\x36\xf8\ \x68\xdb\x7a\x70\x42\xd8\x51\xb5\x86\xb6\x59\xaa\xae\x7e\xda\x85\ \x90\x6c\x43\xf8\x4d\xd8\x51\xaf\x86\xb6\x56\x9d\x1f\xe9\xab\x8a\ \x6f\xda\x5d\x63\xd1\x6e\x63\x5b\x6e\xc1\x1a\xda\x5a\x52\x9a\xb0\ \xa3\x52\x0d\x6d\xa7\xd6\xec\x0e\x55\xc8\xc6\x3a\x6f\x17\x6d\xb7\ \x48\x5b\x7f\xb0\x35\xb4\xcd\xa4\x28\x61\x47\x75\x9e\xdf\x1f\x1b\ \xda\x42\xd9\x11\x56\x68\x3a\x97\xbd\x64\xd3\xb6\x79\x7e\x1a\xfa\ \x8c\xa7\xd9\xe5\x01\x86\x7f\x56\x99\xe3\x7e\xef\x3b\xc0\x0e\xd6\ \xac\x12\x95\xd8\xe8\xb7\xbb\x6a\xb5\xf2\xd9\x68\xf7\x81\xd3\xae\ \xe7\xf7\xc7\x9b\xef\xdb\xcf\xd7\x6f\x6f\xce\x46\xcd\x79\x7d\x89\ \x4d\xd8\xf5\x22\xd7\x66\xda\x5f\x84\x47\xeb\xb7\x9e\x76\x9f\xe5\ \x3c\xbd\x3d\x4c\x1c\x47\xfb\x78\xf9\xea\xf9\x9d\x1c\x63\xdf\xef\ \xe3\x73\x4d\x8c\xd7\x97\x64\x0e\xc5\x06\xf7\xf4\xf6\x70\xf8\xcf\ \xde\x77\x24\x9a\x5c\xdb\xcd\xb6\xbe\xc4\xd3\x16\x07\x64\x27\xdc\ \xec\x5a\xef\xcc\x35\x7a\xfe\xb3\x81\xdd\x09\xbb\xc8\x6c\x5c\x0a\ \xc9\xdb\x04\x1f\x2f\x5f\x9d\x47\xc6\x5e\x3c\xed\xd3\xb4\x5d\xbb\ \x6c\xfc\x7b\xf6\xe7\xef\xdf\xbf\xc9\x37\x1e\x86\x21\xf9\xb6\xe3\ \x38\x9a\x5b\x74\xae\x55\xba\x42\x2e\xee\xed\x72\xbd\xbe\x5e\xb5\ \xec\x8e\xf5\x76\xed\x73\xd4\xf3\x73\x7e\x2d\xdd\x8e\xef\xe7\xd2\ \x7d\x70\x72\x07\x96\x7e\x8e\x8a\xde\xbd\x99\xdd\x7f\xfe\xbe\xaa\ \xe7\x1d\x75\xf3\xf5\x4d\xd0\xd6\x7e\xb0\xcf\xb9\x56\xec\x02\x72\ \xec\xb5\x9c\xd2\x6b\x18\xd6\x48\xb2\x73\xcc\x71\xc2\xcd\x0d\x85\ \x45\xcd\xa6\xd9\x11\xf4\x49\xd8\xc1\x5c\xdb\x14\xc0\xe7\xeb\x77\ \xcf\xa9\x51\x82\xc3\x52\x6b\xd4\xdc\x76\x35\xdf\xb7\x4a\x68\xbb\ \x0e\x09\xbb\x68\x7c\x8c\x0b\xd9\x38\xb6\xe4\x5d\x5e\xd3\x6d\xd7\ \xf3\x53\x6d\x8b\x11\x9e\x97\xb8\x37\xc2\x2e\x14\x1f\xe0\x42\xf6\ \xda\xf1\xcb\xbb\x8c\xa6\x3f\x1d\x3d\x3f\xcf\x3b\x1e\x90\x8d\xb7\ \xc9\xaa\xf3\x11\xd5\x79\xaf\x28\x44\xd8\xc5\xe1\xa3\x5b\xc8\xee\ \xbb\x7c\x79\xb7\x0d\x4f\xf2\x04\x07\x3d\xa1\x15\xc2\x0e\xa6\xd4\ \xb3\xb3\xaf\xe7\x9e\xb4\xeb\xe6\x1f\x3f\xdd\x3e\xc9\xfe\x2c\x0c\ \xcf\x4b\xdc\x0f\xbf\x3c\x11\x84\x0f\x6d\x09\xb5\xed\xe6\x8f\xf7\ \xc7\xcb\x9d\x6c\xfa\x17\x29\xee\xfc\x9e\xc1\x75\xc9\x97\xff\x28\ \xea\xda\xe5\x6c\xbc\x88\xe7\x6e\xbe\xf9\x89\x41\xd8\xc1\x65\x35\ \x6f\x01\x0f\xf7\xcd\xae\x2b\x8d\xb6\xbb\x28\xd8\x5e\xff\xe4\xb1\ \x74\xf8\x82\x9e\x88\xf4\xe2\x32\x4d\xd8\x45\x60\x9b\x95\x5d\x13\ \x1b\xc1\xcf\xd7\xef\x71\x1c\x5d\xcb\x23\x81\xb6\xbb\x28\x58\xdb\ \xfd\xb6\x4d\xe7\x55\xf5\x9e\x89\xfa\x52\x72\x93\xb0\x83\x53\x6d\ \x6d\x10\x0f\x87\xa2\xe4\xdd\x52\xda\xae\x67\x81\xbf\xd5\xd0\xd6\ \xe6\x8b\x12\x9c\x3c\x01\xff\xd1\xe8\x66\xd1\x0f\xce\x26\x70\x2e\ \xc5\xb9\x78\xa1\x33\xed\x70\xca\x79\x8c\xcf\x8e\xd3\xe7\x39\xb0\ \x62\xd7\xbc\xb4\x0d\xf1\xc5\x0d\x99\x55\x9f\xd6\x37\x8b\xc7\x97\ \xd5\x4b\x39\xd3\xe1\xe3\x33\xf1\xba\x5b\xb7\xeb\x44\xd3\x9f\x9d\ \xd6\x37\x5c\xe4\x25\xec\xba\x33\xf1\xb7\x69\xcf\x07\xf5\x3e\x5e\ \xbe\x36\x3e\x9b\xaf\xa8\xf3\x57\xb9\xcf\x97\x75\xa6\xe9\xc3\xb2\ \xbd\xb5\xdd\xd3\xdb\x43\x8c\x15\xac\x34\xcd\x3d\x76\x55\xc7\x09\ \x61\xd7\x91\x99\x1b\xac\x8f\x97\xaf\xde\x22\xa0\xb9\x4d\x79\x82\ \xf3\xc7\x78\x08\xd9\xae\x92\x65\xc2\x74\xdb\xf5\xf6\xa1\x78\x7e\ \x7f\xec\xe1\x43\xd1\x3a\x49\xc7\x45\xc2\xae\x6d\xf3\xf7\xca\x8b\ \x36\xd3\x5d\xed\xc6\x3a\xdf\x81\xdd\xdc\x37\x28\xbf\x83\xae\x3e\ \x14\xd4\x4f\xd5\x71\x8d\xb0\xeb\x42\x42\xbb\x74\xb2\x1b\xeb\xbc\ \xea\xe6\xb8\xb8\xff\x18\xc7\x71\xce\x6d\x77\x7f\x0b\xfd\x7e\x7d\ \xd7\x1f\x6a\xef\xea\xbb\x0a\x16\xed\xaa\xe5\x75\x61\x9a\xb0\x8b\ \x2f\x79\x2b\x10\xfe\xab\x45\xb6\x8f\xa5\x5d\x7c\x86\xd7\x04\xd6\ \xcc\xa0\x2c\xaa\x93\xbf\x79\xa8\x93\xad\x16\x37\xb9\xdc\x49\x70\ \x2b\xb7\x02\x51\x57\xfb\x5d\x1c\x84\x35\x3a\x79\xf3\xe8\xd7\x45\ \x36\xf8\x33\xb8\x93\x37\x1e\x2b\x09\x3b\x6e\x88\xd7\x76\x36\x8e\ \xac\xe7\x5d\xc4\xc6\xbc\xe5\x98\xe9\xcf\xcf\xcf\x4f\xf2\x8d\xd7\ \x1c\x16\xd9\xeb\x70\x4c\xa4\xb9\x37\xff\x9e\x5e\x79\x09\x8f\xdf\ \x73\xc3\xfc\xed\x3e\xd1\xa9\xb5\xbd\xbe\xe6\x36\x31\x37\xf6\xd7\ \x15\xee\x96\xff\x69\x17\xec\xf5\x9d\x3f\xb7\xe8\x46\xf2\xfc\x55\ \xd8\xfd\xf1\x9a\x5b\xed\x5c\x2b\x76\xcc\x12\xe0\x8f\x45\x97\x65\ \xa7\x04\x6f\x2a\x4a\xf3\x1e\x63\x11\x61\xc7\x5c\x4d\x7f\x2f\xcd\ \x96\x91\x72\x62\xbf\xbb\xc2\x2f\x49\xe6\xd2\xee\xe6\x91\x60\x84\ \x5d\x58\x85\xb6\x32\x2d\x6e\xbc\x62\xef\x77\xa9\x81\xf5\x60\xee\ \xca\x6c\x1e\xbd\xaf\x58\x4a\xd8\x85\x55\xee\x0b\x1f\x0d\x2d\xdd\ \xd9\xdd\xb2\xa5\xa8\x6f\x36\x8b\x76\xf3\xe5\xdd\x36\x46\x7d\x47\ \x51\x94\xeb\xd8\x91\xa8\xfe\xdf\xcc\xb6\x4d\x64\x7b\x87\x77\x9d\ \x12\xea\x59\xae\x0b\x59\xef\xb2\x05\x3b\xbc\x75\x6d\x3c\x9b\x26\ \xec\x5a\x35\xe7\x94\xd8\x2d\xee\xc7\x7f\x07\x5d\xbc\x57\xc7\x6d\ \xc4\x36\x7b\x3b\x9b\x24\x76\x17\x2f\xef\xa6\x7f\x4b\x97\x73\xad\ \x5c\xc8\x3a\xd2\xbb\x94\x03\x61\x47\x4e\xc7\xc8\x5b\xff\xf3\x4d\ \x69\xa3\xb7\x9f\x0b\xd7\xc4\xcb\x3b\x16\x59\xd3\x76\xa5\x33\x7a\ \xfa\x6d\xa9\xe3\x9b\x26\xec\xd8\x48\xf6\xdd\x5b\x2b\xdf\xf3\xa3\ \x73\x61\x7e\x61\xd6\xce\x3e\x41\xda\xab\x5f\xf4\x79\x9e\x79\x67\ \xbc\xdc\xed\x12\x76\xd4\x48\xb4\x11\x4c\x98\xbc\x23\x41\x25\x87\ \x65\x6b\xb8\x0f\x6c\xc0\x59\xb1\x31\x35\x1d\x46\x4d\xdf\x79\x98\ \xd0\xfa\x7b\xdb\x61\xe5\x64\xf3\x5f\xfa\x12\xeb\x64\xcf\xef\x8f\ \x09\x55\xe7\xe5\x6e\x94\xb0\x03\xd8\x4e\x43\x57\x0b\x22\xaf\x39\ \xaf\x7b\xa1\xaa\xcb\xfe\xef\xa4\x66\xc2\x2e\xa0\xa6\x77\x1b\xbe\ \xd5\x41\x0f\xda\xfd\x90\x5a\xc5\x59\x63\xe3\xd7\x3d\x6d\xa1\xee\ \x37\x2f\x77\x8b\x84\x5d\xab\xda\xdd\x31\x4c\x50\x75\xf4\xc3\xd2\ \x5d\x9f\x26\x5e\xf7\xbc\x1b\x40\x0b\x75\xdd\x12\x76\x6c\x44\xb4\ \xc1\xb9\x16\xdb\xce\x2a\xce\x7a\x45\x5f\xf7\xf5\x0b\x75\xbf\x79\ \xb9\x9b\x23\xec\xa2\x69\x71\x3f\x71\xa0\xfc\xe8\x53\xbb\x9f\x59\ \xd6\x38\x79\xdd\x73\x6d\x00\x4b\x2c\xd4\x69\xbb\xb6\x08\xbb\x86\ \xd9\x1f\x40\x0c\xcd\x1d\x96\xb5\xa7\xcf\x22\xfb\x5f\xb3\x0e\xbf\ \x72\x27\xec\xa8\x84\xe5\x3a\x68\xab\xed\xc8\x22\xe3\xa6\xaf\x68\ \xd5\x49\xf9\x86\x08\xbb\xb6\xb5\xb5\x27\x50\x6f\x30\xad\xad\x4f\ \x34\x59\x7c\xbe\x7e\xaf\xdf\x36\x5a\xab\xe3\x48\xd8\x01\x54\xa4\ \x95\xb6\xb3\x84\x53\x8f\x6d\xaa\xce\x2b\xde\x8a\x3f\x7f\xff\xfe\ \x4d\xbe\xf1\x9a\x1f\x5c\x1f\xc7\xd1\xdc\x5c\x73\x4f\x3e\x6f\xbf\ \xff\xf8\xab\xf0\xf1\x9e\x6f\x83\x4e\xf6\x64\xd5\x3e\xcf\xe6\x9a\ \x5b\x68\x6e\xa3\xbb\xcc\x8b\x0d\x5a\xf3\xf3\x1c\x72\xee\x96\x6f\ \x9e\x8f\x97\xaf\xdd\x1f\xaf\xb9\x37\x59\xb1\x8b\xc0\x21\x4e\x68\ \xce\xd3\xdb\xc3\xf1\x3f\x7b\xdf\x97\x44\x0e\xff\xf5\xc6\x2b\xde\ \x04\x61\x17\xc4\xef\xb6\xab\x7c\x3f\xd1\xca\x91\x26\x28\xa1\xf5\ \x98\xa3\x2a\xde\x48\x9c\x13\x76\x71\x64\xf9\x06\xee\x36\xb4\x1d\ \xbd\xd1\x73\x64\xb7\xcb\xdb\xc9\x7b\xb8\x7e\xc2\x2e\x9a\x56\xf2\ \x4e\xdb\xd1\x8f\xc0\xfb\x42\xc7\xe6\xa0\x36\xc2\x0e\xa0\x94\xe7\ \xf7\xc7\xc0\x55\xc7\x8e\x76\x7c\x5f\x79\x4b\x57\xee\x7e\xef\x3b\ \x40\xbf\x3e\x5e\xbe\x0e\x7f\xee\x3f\xbf\x3f\x5a\xc0\x23\x98\x7e\ \x96\xb2\x26\x1e\x69\x13\x47\x0f\x5a\xd4\xcf\xbb\x8b\x04\x56\xec\ \xd8\x93\x9e\x23\x24\xfb\xdd\x03\xdf\x2c\x8c\xca\x6b\x5a\x33\x61\ \xc7\xce\x0e\x6d\x67\x47\x48\x18\xde\xcc\xe7\x74\x40\x46\xde\x60\ \x4c\x13\x76\xec\xaf\xb9\x5f\x40\x87\x6b\xec\x74\xaf\xd1\x76\xc1\ \x78\x41\xab\x25\xec\x00\xf2\x50\x75\xd3\xa4\xc0\x7a\xde\x63\xdc\ \x24\xec\x00\x32\xb0\xc7\x9d\x43\xdb\x45\xe2\xd5\xac\x93\xb0\x03\ \x58\x4b\xd5\xcd\xa7\x06\xa0\x28\x61\x07\xb0\x8a\xaa\x5b\x4a\xdb\ \xa5\xf1\x4e\x63\x0e\x61\x07\x00\xa4\xd0\xe8\x15\x12\x76\x00\xe9\ \x2c\xa2\xa4\x9d\xd5\x2e\x08\x12\xb8\x7a\x00\x73\xf8\xe5\x09\x80\ \x44\x3d\x57\xdd\x49\x64\x1c\xff\xeb\x30\x0c\x77\xba\xad\x98\xe3\ \x0f\xf6\xd4\xe3\xe9\xed\xc1\x4f\x8c\x54\xc5\x8a\x1d\x00\x0b\xcc\ \x59\xa2\xfb\x7c\xfd\x3e\xfc\x67\xe2\x9f\x11\x7f\x69\xac\xdb\x31\ \xcd\x8a\x1d\x40\x8a\xda\x16\x4e\x36\x90\x90\x14\x87\xb6\xd3\x70\ \xb1\x59\xb4\xab\x8a\xb0\x03\xe0\xaa\x2c\xeb\x43\x9f\xaf\xdf\xda\ \x2e\xa3\x0a\x0f\xc8\x52\x8f\x3f\x3f\x3f\x3f\xc9\x37\x1e\xc7\x31\ \xf9\xb6\x87\xef\x61\x98\x6b\xae\xb9\xe6\x36\x3a\x37\x70\xa9\xac\ \x59\x7d\x99\x7e\x9e\xcf\x73\xe4\x77\x38\x56\xf5\xfa\xd6\x3f\xb7\ \xaa\xb6\x9b\xf3\x07\x40\xa3\xcf\x73\x73\x73\xad\xd8\x01\x2c\x96\ \xbd\xea\x2e\xee\x17\x7f\xef\x18\x4a\x77\xe4\x36\xdf\xdc\xb2\xd4\ \x14\xd5\xf3\xfb\xa3\x2f\xff\x55\x42\xd8\x01\xec\x66\xfe\xbe\x30\ \xef\x97\xd5\x76\xdc\x07\x1f\x46\xcb\xbb\xf5\x54\x32\x17\x09\x3b\ \x80\x1d\xa4\xa5\xd5\xc9\x41\xd2\x9b\x9d\x57\xed\x22\xca\x31\x4a\ \xac\xf4\xac\x51\x55\xdb\x79\x29\x2b\x21\xec\x00\x96\x59\xb9\x6c\ \x96\x71\xe7\x37\xf1\x65\xb8\x35\xdf\xd1\xd9\x46\x55\x51\xd2\x2e\ \x4f\x23\x27\x84\x1d\xc0\x46\xac\x67\x9c\xf0\x84\x40\x76\x2e\x50\ \x0c\xb0\x05\x11\x43\x21\xf5\xbc\xb5\xac\x1d\xd6\x40\xd8\x01\x14\ \x57\xcf\xae\x97\x90\xbc\xc1\x38\x12\x76\x00\x65\xd9\xe9\x02\x9b\ \xf1\x1d\x3b\x80\x82\x54\x1d\xdb\x28\x74\x16\xc5\xc9\x09\x3a\x13\ \x27\xe5\x38\xcd\xb9\x12\xc2\x0e\xa0\x94\xcf\xd7\xef\xfa\xcf\x4e\ \x25\x8c\x5c\x6d\x97\xf6\xd3\x23\x7a\xae\x12\xc2\x0e\x60\x99\x99\ \xbf\x7c\xea\x67\xd1\x69\x8b\x77\x6c\x0c\xbe\x63\x07\xb0\xd8\xcd\ \x5d\xa0\x7d\x24\xbb\x48\xbe\xf0\xb5\x77\x6c\x18\xc2\x0e\x20\x85\ \x1d\x21\x01\x48\xba\x78\x84\x1d\x40\xa2\x6b\x7b\x44\x7b\x4a\x76\ \xb4\xf4\x07\x88\x09\x46\xd8\x01\xa4\xb3\xe0\x41\x85\x6e\xb6\x9d\ \xf7\x6d\x60\xc2\x0e\x60\x2d\xbb\x49\x1a\xe2\xbd\x1a\x9b\xb3\x62\ \x01\xf2\xb0\xbf\xa4\x1e\xd7\x2e\x7d\xe2\xa2\x24\xe1\x59\xb1\x03\ \x80\x2e\xa8\xba\x1e\x08\x3b\x00\x08\xe8\x24\xe3\x54\x5d\x27\xfe\ \xfc\xfd\xfb\x37\xf9\xc6\xc3\x30\x24\xdf\x76\xcd\xd5\xd8\xcd\x35\ \xd7\x5c\x73\xcd\x35\xd7\xdc\x39\x0e\x17\xd3\xfe\xfd\x3d\x81\xd8\ \x8f\xd7\x5c\xdf\xb1\x03\x80\xb0\x7c\xf5\xb3\x37\x0e\xc5\x02\x00\ \x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\ \x9c\x3c\x01\x00\xcc\x72\x38\xc7\x76\x9a\xd3\x35\xf6\x25\xec\x00\ \x80\xab\x2e\xfe\x82\xc5\x84\xdf\xf1\x27\xf2\xb6\x27\xec\x00\x80\ \x0b\x96\x26\xdd\xb9\xa7\xb7\x07\x6d\xb7\x31\x61\x07\x00\xfc\xc7\ \xfa\xa4\x3b\xd2\x76\x1b\x13\x76\x00\xc0\x3f\x32\x26\x1d\xbb\x10\ \x76\x00\x80\xa4\x0b\xc2\xe5\x4e\x00\xa0\x77\xaa\x2e\x0c\x61\x07\ \x00\x5d\x2b\x5d\x75\x73\x2e\x92\x42\x2e\x0e\xc5\x02\x40\xa7\x2c\ \xd4\xc5\x63\xc5\x0e\x00\x7a\xa4\xea\x42\x12\x76\x00\x00\x41\x08\ \x3b\x00\xe8\x8e\xe5\xba\xa8\x84\x1d\x00\x74\xe7\xe3\xe5\x6b\xef\ \xbb\x40\x11\xc2\x0e\x00\x28\xcb\x89\xb1\x9b\xb9\x1f\x86\x21\xf9\ \xc6\xe3\x38\x26\xdf\xd6\x5c\x73\xcd\x35\xd7\x5c\x73\xcd\x6d\x6b\ \xee\x1a\x2d\x3e\xde\x16\xe7\x5a\xb1\x03\x80\x1e\xf9\x09\xd7\x90\ \x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\ \x03\x80\x4e\xf9\x9a\x5d\x3c\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\ \x84\xb0\x03\x00\x08\x42\xd8\x01\x40\xbf\x7c\xcd\x2e\x18\x61\x07\ \x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\ \x82\x10\x76\x00\xd0\x35\xe7\x4f\x44\x22\xec\x00\x00\x82\x10\x76\ \x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\ \x20\x88\xfb\x71\x1c\x93\x6f\x3c\x0c\x43\xf2\x6d\xcd\x35\xd7\x5c\ \x73\xcd\x35\xd7\xdc\xb6\xe6\xae\xd1\xe2\xe3\x6d\x71\xae\x15\x3b\ \x00\xe8\xdd\xc7\xcb\xd7\xde\x77\x81\x3c\x84\x1d\x00\xa6\xd0\x3c\ \xaf\x00\x00\x04\xc1\x49\x44\x41\x54\x40\x10\xc2\x0e\x00\x20\x08\ \x61\x07\x00\x10\x84\xb0\x03\x00\xca\xf2\xab\x65\x9b\x11\x76\x00\ \x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\ \x88\xfb\xbd\xef\x00\x00\x50\x91\x89\x8b\x15\x9f\xfc\x22\xc2\xd3\ \xdb\x43\xf1\x7b\xc3\x42\xc2\x0e\x00\x48\xf9\xf1\x89\xe3\xb9\xae\ \xd3\x85\xe7\x94\xd8\x2d\x39\x14\x0b\x00\xac\xf2\xf9\xfa\xad\xde\ \x2a\x21\xec\x00\x80\x0c\xe4\x5d\x0d\x84\x1d\x00\x90\x8d\xb6\xdb\ \x97\xb0\x03\x00\x72\xfa\xbd\x74\xa7\xf3\x36\xe6\xe4\x09\x00\x20\ \x3f\x49\xb7\x0b\x2b\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\ \x00\x40\x10\x7f\x7e\x7e\x7e\x92\x6f\x3c\x8e\x63\xf2\x6d\x4f\xae\ \x5e\x6d\xae\xb9\xe6\x9a\x6b\xae\xb9\xe6\x9a\x6b\xee\xca\xb9\x56\ \xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\ \x00\x40\x10\x2e\x50\x0c\x00\xdc\xdd\xdd\xdd\x3d\xbd\x3d\x5c\xfb\ \x9f\x5c\x6d\xb8\x15\xc2\x0e\x00\x7a\x37\x91\x74\xe7\xff\xc0\xc7\ \xcb\x57\xd9\x7b\xc3\x0a\xc2\x0e\x00\x58\xe0\xf9\xfd\xf1\xf0\x7f\ \x28\xbc\x0a\xf9\x8e\x1d\x00\x90\xe2\x58\x78\xd4\x43\xd8\x01\x00\ \x89\x9e\xdf\x1f\xe5\x5d\x55\x84\x1d\x00\xb0\x8a\xb6\xab\x87\xb0\ \x03\x00\xd6\xb2\x74\x57\x09\x61\x07\x00\x5d\xbb\x79\x4a\x2c\x0d\ \x11\x76\x00\x40\x06\x4e\x92\xad\x81\xb0\x03\x00\x08\x42\xd8\x01\ \x00\x6b\x59\xae\xab\x84\xb0\x03\x00\x08\x42\xd8\x01\x40\xbf\xb2\ \x9c\x39\x61\xb9\xae\x1e\xc2\x0e\x00\x20\x08\x61\x07\x00\xa4\xb3\ \x5c\x57\x95\xfb\x71\x1c\x93\x6f\x3c\x0c\x43\xf2\x6d\xcd\x35\xd7\ \x5c\x73\xcd\x35\xd7\xdc\xb6\xe6\x9e\xfb\x7c\xfd\xde\x60\x6e\x6f\ \xcf\xf3\x9a\xb9\x56\xec\x00\xa0\x53\x7e\x2b\x22\x1e\x61\x07\x00\ \xa4\x98\xbf\x5c\xc7\x66\x84\x1d\x00\x40\x10\xc2\x0e\x00\x7a\xb4\ \xf2\x38\xac\xe5\xba\x3a\x09\x3b\x00\x60\x19\x55\x57\x2d\x61\x07\ \x00\xdd\x71\xda\x44\x54\xc2\x0e\x00\x58\xc0\x72\x5d\xcd\x84\x1d\ \x00\x30\x97\xaa\xab\x9c\xb0\x03\x80\xbe\x24\x1f\x87\x55\x75\xf5\ \x13\x76\x00\x00\x41\x08\x3b\x00\xe8\x48\xf2\x72\x9d\xdf\x84\x6d\ \x82\xb0\x03\x80\x5e\x3c\xbd\x3d\xa4\xdd\x50\xd5\xb5\x42\xd8\x01\ \x40\x17\x54\x5d\x0f\x84\x1d\x00\x40\x10\xc2\x0e\x00\xe2\xb3\x5c\ \xd7\x09\x61\x07\x00\xc1\xa9\xba\x7e\x08\x3b\x00\x88\x4c\xd5\x75\ \x45\xd8\x01\x00\xa7\x54\x5d\xa3\x84\x1d\x00\x84\x95\xb6\x5c\xa7\ \xea\xda\x75\x3f\x0c\x43\xf2\x8d\xc7\x71\x4c\xbe\xad\xb9\xe6\x9a\ \x6b\xae\xb9\xe6\x9a\x5b\x74\x6e\xf2\xb5\x88\xaf\xdd\xb7\xca\x1f\ \xaf\xb9\x77\x56\xec\x00\x20\x24\x3f\x08\xdb\x27\x61\x07\x00\xd1\ \xa8\xba\x6e\x09\x3b\x00\xe0\xee\x4e\xd5\x85\x20\xec\x00\x20\x94\ \xb4\xe5\x3a\x55\x17\x83\xb0\x03\x80\x38\x54\x5d\xe7\x84\x1d\x00\ \x04\xa1\xea\x10\x76\x00\xd0\x2f\x55\x17\x8c\xb0\x03\x80\x08\x12\ \x96\xeb\x54\x5d\x3c\xc2\x0e\x00\x9a\xa7\xea\x38\x10\x76\x00\xd0\ \x36\x55\xc7\xd1\xfd\xde\x77\x00\x00\x48\xb7\xb4\xea\x24\x5d\x6c\ \x56\xec\x00\xa0\x17\x1f\x2f\x5f\x7b\xdf\x05\xca\x12\x76\x00\xd0\ \xaa\x45\xcb\x75\xaa\xae\x07\xc2\x0e\x00\x9a\xa4\xea\x38\x27\xec\ \x00\xa0\x3d\xaa\x8e\x8b\x9c\x3c\x01\x00\x8d\x99\x5f\x75\x92\xae\ \x37\x56\xec\x00\x20\x26\x55\xd7\x21\x2b\x76\x00\xd0\x92\xa7\xb7\ \x87\x9b\xff\x8c\xa4\xeb\x96\x15\x3b\x00\x68\x86\xaa\x63\xda\xfd\ \x38\x8e\xc9\x37\x1e\x86\x21\xf9\xb6\xe6\x9a\x6b\xae\xb9\xe6\x9a\ \x6b\xee\x22\x37\xbf\x5a\x37\xe7\xe2\xc3\x0d\x3d\x5e\x73\x13\x58\ \xb1\x03\x80\x06\x64\xa9\x3a\xc2\xf3\x1d\x3b\x00\x68\x9b\xa4\xe3\ \x48\xd8\x01\x40\xed\xae\x2d\xd7\x49\x3a\x4e\x08\x3b\x00\xa8\xda\ \x79\xd5\xe9\x39\xae\x11\x76\x00\x50\x35\x67\xb9\x32\x9f\x93\x27\ \x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\ \x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\ \x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\ \x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\x07\ \x00\x10\xc4\x9f\x9f\x9f\x9f\xe4\x1b\x8f\xe3\x98\x7c\xdb\x61\x18\ \xcc\x35\xd7\x5c\x73\xcd\x35\xd7\x5c\x73\xcd\xcd\x38\xd7\x8a\x1d\ \x00\x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\ \x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\ \x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\ \x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\x00\ \x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\ \x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\xc4\xfd\x38\x8e\xc9\x37\ \x1e\x86\x21\xf9\xb6\xe6\x9a\x6b\xae\xb9\xe6\x9a\x6b\xae\xb9\xe6\ \xe6\x9d\x6b\xc5\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\ \x08\x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\ \x08\x3b\x00\x80\x20\x84\x1d\x00\x40\x10\xc2\x0e\x00\x20\x08\x61\ \x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\x00\ \x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\x40\ \x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\xe2\ \xcf\xcf\xcf\x4f\xf2\x8d\xc7\x71\x4c\xbe\xed\x30\x0c\xe6\x9a\x6b\ \xae\xb9\xe6\x9a\x6b\xae\xb9\xe6\x66\x9c\x6b\xc5\x0e\x00\x20\x08\ \x61\x07\x00\x10\x84\xb0\x03\x00\x08\x42\xd8\x01\x00\x04\x21\xec\ \x00\x00\x82\x10\x76\x00\x00\x41\x08\x3b\x00\x80\x20\x84\x1d\x00\ \x40\x10\xc2\x0e\x00\x20\x08\x61\x07\x00\x10\x84\xb0\x03\x00\x08\ \x42\xd8\x01\x00\x04\x21\xec\x00\x00\x82\x10\x76\x00\x00\x41\x08\ \x3b\x00\x80\x20\xfe\x0f\x3c\x77\x38\x49\xba\xf2\x1a\xba\x00\x00\ \x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ " qt_resource_name = b"\ \x00\x04\ \x00\x07\x35\xdf\ \x00\x6c\ \x00\x6f\x00\x67\x00\x6f\ \x00\x08\ \x0e\xc1\x5a\xa7\ \x00\x69\ \x00\x67\x00\x75\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ " qt_resource_struct_v1 = b"\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ \x00\x00\x00\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ " qt_resource_struct_v2 = b"\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x01\x7f\x57\x10\x54\xab\ " qt_version = QtCore.qVersion().split('.') if qt_version < ['5', '8', '0']: rcc_version = 1 qt_resource_struct = qt_resource_struct_v1 else: rcc_version = 2 qt_resource_struct = qt_resource_struct_v2 def qInitResources(): QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
63.376344
104
0.71574
9,759
41,258
3.022031
0.031356
0.026855
0.016784
0.013427
0.158992
0.153296
0.145531
0.14014
0.133324
0.130476
0
0.302779
0.033545
41,258
650
105
63.473846
0.436851
0.00366
0
0.067823
0
0.94795
0.000099
0
0
1
0
0
0
1
0.003155
false
0
0.001577
0
0.004732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
934522580f89666fabfe1f2c4bd3300473fa1f86
1,033
py
Python
__init__.py
karttur/geoimagine02-ktgrass
d6d81173f0670453a372705504444c28181b83fc
[ "BSD-3-Clause" ]
null
null
null
__init__.py
karttur/geoimagine02-ktgrass
d6d81173f0670453a372705504444c28181b83fc
[ "BSD-3-Clause" ]
null
null
null
__init__.py
karttur/geoimagine02-ktgrass
d6d81173f0670453a372705504444c28181b83fc
[ "BSD-3-Clause" ]
null
null
null
""" Created 4 Apr 2021 GRASS ========================================== Package belonging to Karttur´s GeoImagine Framework. Author ------ Thomas Gumbricht (thomas.gumbricht@karttur.com) """ import os import sys from .version import __version__, VERSION, metadataD os.environ['GRASSBIN']=r"/Applications/GRASS-7.8.app/Contents/MacOS/Grass" os.environ['GISBASE'] = "/Applications/GRASS-7.8.app/Contents/Resources" os.environ['GISRC']="/tmp/grass7-thomasgumbricht-61909/gisrc" os.environ['PATH'] = "/Applications/GRASS-7.8.app/Contents/Resources/bin:/Applications/GRASS-7.8.app/Contents/Resources/scripts:/Users/thomasgumbricht/Library/GRASS/7.8/Modules/bin:/Users/thomasgumbricht/Library/GRASS/7.8/Modules/scripts:/usr/bin:/bin:/usr/sbin:/etc:/usr/lib" os.environ['PYTHONPATH']="/Applications/GRASS-7.8.app/Contents/Resources/etc/python" sys.path.append("/Applications/GRASS-7.8.app/Contents/Resources/etc/python") from .grass02 import ProcessGRASS from .grassdem import ProcessGRASSDEM
28.694444
276
0.717328
135
1,033
5.466667
0.414815
0.065041
0.075881
0.154472
0.440379
0.440379
0.399729
0.130081
0.130081
0
0
0.030884
0.090997
1,033
35
277
29.514286
0.753994
0.17909
0
0
0
0.090909
0.636472
0.595948
0
0
0
0
0
1
0
true
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
93499f11fbb44589c28226c0d655ebaf52da28c5
72
py
Python
Modulo_3/semana 3/sabado/principal.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_3/semana 3/sabado/principal.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_3/semana 3/sabado/principal.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
1
2022-03-04T00:57:18.000Z
2022-03-04T00:57:18.000Z
from presentacion.form_inicio import Aplicacion Aplicacion()
14.4
48
0.736111
7
72
7.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.222222
72
5
49
14.4
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9352bff54ab60e68850a69a34c5c72546f3a8f94
50
py
Python
webstore_manager/__main__.py
melkamar/webstoremgr
40099072f8c7664f6662dc1ede2bbb208dcb1ca9
[ "MIT" ]
1
2016-12-20T00:19:47.000Z
2016-12-20T00:19:47.000Z
webstore_manager/__main__.py
melkamar/webstore-manager
40099072f8c7664f6662dc1ede2bbb208dcb1ca9
[ "MIT" ]
null
null
null
webstore_manager/__main__.py
melkamar/webstore-manager
40099072f8c7664f6662dc1ede2bbb208dcb1ca9
[ "MIT" ]
null
null
null
from webstore_manager.manager import main main()
12.5
41
0.82
7
50
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.12
50
3
42
16.666667
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9371d0e3c7d186ed6355c2f67632e341b4cf37f4
217
py
Python
envbox/__init__.py
idlesign/envbox
7d8386253f715fd5e3d292838d3263be3b741b10
[ "BSD-3-Clause" ]
23
2017-10-21T12:41:01.000Z
2021-02-06T15:30:59.000Z
envbox/__init__.py
idlesign/envbox
7d8386253f715fd5e3d292838d3263be3b741b10
[ "BSD-3-Clause" ]
1
2017-10-27T12:46:40.000Z
2017-10-31T02:45:38.000Z
envbox/__init__.py
idlesign/envbox
7d8386253f715fd5e3d292838d3263be3b741b10
[ "BSD-3-Clause" ]
1
2019-02-25T20:15:32.000Z
2019-02-25T20:15:32.000Z
from .base import get_environment, import_by_environment from .envs import DEVELOPMENT, TESTING, STAGING, PRODUCTION, Environment from .settings import SettingsBase from .utils import read_envfile VERSION = (1, 2, 0)
36.166667
72
0.815668
29
217
5.965517
0.689655
0.17341
0
0
0
0
0
0
0
0
0
0.015707
0.119816
217
6
73
36.166667
0.890052
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
937927dfd133aced49778fcc9e41a9f6dd292417
172
py
Python
virtual/bin/django-admin.py
ramza007/PhotoBooth
69e45752a280ca85bffb129452dfd006ea3be26d
[ "MIT" ]
null
null
null
virtual/bin/django-admin.py
ramza007/PhotoBooth
69e45752a280ca85bffb129452dfd006ea3be26d
[ "MIT" ]
null
null
null
virtual/bin/django-admin.py
ramza007/PhotoBooth
69e45752a280ca85bffb129452dfd006ea3be26d
[ "MIT" ]
null
null
null
#!/home/razma/Documents/projects/PhotoBooth/virtual/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
28.666667
65
0.796512
22
172
5.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.012739
0.087209
172
5
66
34.4
0.789809
0.372093
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
938072c951e344234f9a0d0092faf6cb8dd54ae2
219
py
Python
python/8kyu/couting_sheep.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
3
2021-06-08T01:57:13.000Z
2021-06-26T10:52:47.000Z
python/8kyu/couting_sheep.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
null
null
null
python/8kyu/couting_sheep.py
Sigmanificient/codewars
b34df4bf55460d312b7ddf121b46a707b549387a
[ "MIT" ]
2
2021-06-10T21:20:13.000Z
2021-06-30T10:13:26.000Z
"""Kata url: https://www.codewars.com/kata/54edbc7200b811e956000556.""" from typing import Optional, List def count_sheeps(sheep: List[Optional[bool]]) -> int: return sum(x for x in sheep if isinstance(x, bool))
27.375
71
0.726027
32
219
4.9375
0.78125
0
0
0
0
0
0
0
0
0
0
0.094737
0.13242
219
7
72
31.285714
0.736842
0.296804
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
4
fa7bc08b8553c9ef583d5a487f31f510e3360245
235
py
Python
src/hitcount.py
Mstienei/jenkins-docker-test
f6b9786ddb7fafcb767acf5d91b27ad5678622fb
[ "MIT" ]
null
null
null
src/hitcount.py
Mstienei/jenkins-docker-test
f6b9786ddb7fafcb767acf5d91b27ad5678622fb
[ "MIT" ]
null
null
null
src/hitcount.py
Mstienei/jenkins-docker-test
f6b9786ddb7fafcb767acf5d91b27ad5678622fb
[ "MIT" ]
null
null
null
import redis # connect to redis server r = redis.StrictRedis(host='0.0.0.0', port=6379, db=0) # increase the hit count for the usr def hit(usr): r.incr(usr) # get the hit count for the usr def getHit(usr): return (r.get(usr))
21.363636
54
0.680851
45
235
3.555556
0.511111
0.0375
0.0375
0.175
0.2875
0.2875
0.2875
0
0
0
0
0.04712
0.187234
235
10
55
23.5
0.790576
0.374468
0
0
0
0
0.048951
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fa8f8a918fbc5715bd1eda8753387e40ec23db16
3,752
py
Python
tests/testing_output_files/src/activation/activation.py
RS-Coop/Correll_Lab
7c9ea0ff0ce3f54848a0eb112ef29b28d8e735e5
[ "MIT" ]
1
2020-03-17T22:02:24.000Z
2020-03-17T22:02:24.000Z
tests/testing_output_files/src/activation/activation.py
RS-Coop/Correll_Lab
7c9ea0ff0ce3f54848a0eb112ef29b28d8e735e5
[ "MIT" ]
null
null
null
tests/testing_output_files/src/activation/activation.py
RS-Coop/Correll_Lab
7c9ea0ff0ce3f54848a0eb112ef29b28d8e735e5
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.1 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise RuntimeError("Python 2.7 or later required") # Import the low-level C/C++ module if __package__ or "." in __name__: from . import _activation else: import _activation try: import builtins as __builtin__ except ImportError: import __builtin__ def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except __builtin__.Exception: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) def _swig_setattr_nondynamic_instance_variable(set): def set_instance_attr(self, name, value): if name == "thisown": self.this.own(value) elif name == "this": set(self, name, value) elif hasattr(self, name) and isinstance(getattr(type(self), name), property): set(self, name, value) else: raise AttributeError("You cannot add instance attributes to %s" % self) return set_instance_attr def _swig_setattr_nondynamic_class_variable(set): def set_class_attr(cls, name, value): if hasattr(cls, name) and not isinstance(getattr(cls, name), property): set(cls, name, value) else: raise AttributeError("You cannot add class attributes to %s" % cls) return set_class_attr def _swig_add_metaclass(metaclass): """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass""" def wrapper(cls): return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy()) return wrapper class _SwigNonDynamicMeta(type): """Meta class to enforce nondynamic attributes (no new attributes) for a class""" __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__) def activate(arg1, arg2, arg3): return _activation.activate(arg1, arg2, arg3) def sigmoid(arg1, arg2): return _activation.sigmoid(arg1, arg2) def softplus(arg1, arg2): return _activation.softplus(arg1, arg2) def softsign(arg1, arg2): return _activation.softsign(arg1, arg2) def hard_sigmoid(arg1, arg2): return _activation.hard_sigmoid(arg1, arg2) def exp_activation(arg1, arg2): return _activation.exp_activation(arg1, arg2) def exponential(arg1): return _activation.exponential(arg1) def relu(arg1, arg2): return _activation.relu(arg1, arg2) def elu(arg1, arg2, arg3): return _activation.elu(arg1, arg2, arg3) def selu(arg1, arg2): return _activation.selu(arg1, arg2) def hyper_tan(arg1, arg2): return _activation.hyper_tan(arg1, arg2) def softmax(arg1, arg2): return _activation.softmax(arg1, arg2) class input(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, nelements): _activation.input_swiginit(self, _activation.new_input(nelements)) __swig_destroy__ = _activation.delete_input def __getitem__(self, index): return _activation.input___getitem__(self, index) def __setitem__(self, index, value): return _activation.input___setitem__(self, index, value) def cast(self): return _activation.input_cast(self) @staticmethod def frompointer(t): return _activation.input_frompointer(t) # Register input in _activation: _activation.input_swigregister(input) def input_frompointer(t): return _activation.input_frompointer(t)
29.085271
118
0.707356
490
3,752
5.069388
0.293878
0.070853
0.050725
0.086957
0.146538
0.071659
0.071659
0.035427
0
0
0
0.019174
0.193763
3,752
128
119
29.3125
0.801983
0.117804
0
0.108434
1
0
0.04772
0
0
0
0
0
0
1
0.301205
false
0
0.072289
0.216867
0.710843
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fa984927bf0d60bc2565b459c432a7634bd9f0b9
76
py
Python
keepluggable/__init__.py
nandoflorestan/image_store
46bd7b8853246458415fd818b55f9fa9e8ac4c69
[ "MIT" ]
1
2016-12-17T14:25:28.000Z
2016-12-17T14:25:28.000Z
keepluggable/__init__.py
nandoflorestan/image_store
46bd7b8853246458415fd818b55f9fa9e8ac4c69
[ "MIT" ]
null
null
null
keepluggable/__init__.py
nandoflorestan/image_store
46bd7b8853246458415fd818b55f9fa9e8ac4c69
[ "MIT" ]
2
2015-07-08T13:07:47.000Z
2016-08-16T10:32:50.000Z
"""**keepluggable** contains reusable code that stores files and images."""
38
75
0.736842
9
76
6.222222
1
0
0
0
0
0
0
0
0
0
0
0
0.118421
76
1
76
76
0.835821
0.907895
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
fae8cd8974b86fec7cf9d68c1d708500c9acc38d
138
py
Python
soam/models/__init__.py
MuttData/soam
65612a02552668c6721dc20e675654883391c3e9
[ "Apache-2.0" ]
1
2021-09-17T01:14:57.000Z
2021-09-17T01:14:57.000Z
soam/models/__init__.py
MuttData/soam
65612a02552668c6721dc20e675654883391c3e9
[ "Apache-2.0" ]
null
null
null
soam/models/__init__.py
MuttData/soam
65612a02552668c6721dc20e675654883391c3e9
[ "Apache-2.0" ]
1
2021-08-09T14:22:50.000Z
2021-08-09T14:22:50.000Z
"""SoaM models.""" # we can't call models from here because as it's been used as a wrapper # it try to call the model and fails importing
34.5
71
0.724638
27
138
3.703704
0.851852
0
0
0
0
0
0
0
0
0
0
0
0.195652
138
3
72
46
0.900901
0.927536
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
878305d908cbf820f96c361db9513c311a6ae679
29
py
Python
data/studio21_generated/introductory/3280/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3280/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3280/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def make_readable(seconds):
14.5
27
0.793103
4
29
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
2
28
14.5
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
8787c46b73850120f9efb0b1db3a84cfba8eb536
380
py
Python
answers/Nitish1702/Day8/Answer1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/Nitish1702/Day8/Answer1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/Nitish1702/Day8/Answer1.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
from collections import Counter c = Counter(list(map(lambda x: int(x),input().split(",")))) print([i for i,j in c.items() if j==1])
76
274
0.228947
25
380
3.48
0.8
0
0
0
0
0
0
0
0
0
0
0.008621
0.694737
380
4
275
95
0.741379
0
0
0
0
0
0.002632
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
879356c2390a2d4c8e1209aef3f8c2a499b1575b
86
py
Python
dspecies/components/actions.py
gilmanjo/AI_Dominant_Species
5667467b9ad4d9d59e1c8a1e2b0e0722f41e3e20
[ "MIT" ]
null
null
null
dspecies/components/actions.py
gilmanjo/AI_Dominant_Species
5667467b9ad4d9d59e1c8a1e2b0e0722f41e3e20
[ "MIT" ]
null
null
null
dspecies/components/actions.py
gilmanjo/AI_Dominant_Species
5667467b9ad4d9d59e1c8a1e2b0e0722f41e3e20
[ "MIT" ]
null
null
null
#!/usr/bin/env python """actions.py Contains actions for interaction board state """
14.333333
44
0.732558
12
86
5.25
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.127907
86
6
45
14.333333
0.84
0.895349
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
87bebc10ded746ba013649b910e4bbdcc7d9b5b4
7,492
py
Python
Rename_auto.py
Fukuda-B/rename
dfdb9acfa14d5aa9fca842528f67a287565ffcbe
[ "MIT" ]
null
null
null
Rename_auto.py
Fukuda-B/rename
dfdb9acfa14d5aa9fca842528f67a287565ffcbe
[ "MIT" ]
null
null
null
Rename_auto.py
Fukuda-B/rename
dfdb9acfa14d5aa9fca842528f67a287565ffcbe
[ "MIT" ]
null
null
null
""" 余計な文字列や文字を検出し削除するプログラムである。 """ import string import os import glob import re path1 = "D:\\TV(h.265)" #print("これからファイルを移動しますが、既に存在した場合 削除 しますか? yesかnoで\n") delete = "0" def RENAME_TRY(title, changetitle): try: os.rename(title, changetitle) print(title+"から"+changetitle+"へ変更しました。\n") title = changetitle except WindowsError: if delete == "1": os.remove(changetitle) print(changetitle+"は存在するため削除しました。\n") os.rename(title, changetitle) title = changetitle else: print("Error:"+title+"は既に存在するため処理がスキップされました。\n") def Rename(): for title in glob.glob("*.mp4"): if re.search("[0-9]{12}", title): changetitle = re.sub("^[0-9]{12}_", "", title) changetitle = re.sub("^[0-9]{12} ", "", changetitle) RENAME_TRY(title, changetitle) if re.search("<アニメギルド>", title): changetitle = re.sub("<アニメギルド>", "", title) changetitle = re.sub("アニメ", "", changetitle) RENAME_TRY(title, changetitle) if re.search("キッズステーション", title): changetitle = re.sub("キッズステーション", "KIDS", title) RENAME_TRY(title, changetitle) if re.search("TBSチャンネル", title): changetitle = re.sub("TBSチャンネル", "TBS", title) RENAME_TRY(title, changetitle) if re.search("日テレプラス", title): changetitle = re.sub("日テレプラス", "日テレ", title) RENAME_TRY(title, changetitle) if re.search("BSアニマックス", title): changetitle = re.sub("BSアニマックス", "BS", title) RENAME_TRY(title, changetitle) if re.search("TVアニメ", title): changetitle = re.sub("TVアニメ", "", title) RENAME_TRY(title, changetitle) if re.search("<夜の集中放送>", title): changetitle = re.sub("<夜の集中放送>", "", title) RENAME_TRY(title, changetitle) if re.search("【無料】", title): changetitle = re.sub("【無料】", "", title) RENAME_TRY(title, changetitle) if re.search("キッズステーション", title): changetitle = re.sub("[キッズステーション]", "", title) RENAME_TRY(title, changetitle) if re.search("テレ朝チャンネル", title): changetitle = re.sub("テレ朝チャンネル", "テレ朝", title) RENAME_TRY(title, changetitle) if re.search("日テレプラス", title): changetitle = re.sub("日テレプラス", "日テレ", title) RENAME_TRY(title, changetitle) if re.search("TBSチャンネル", title): changetitle = re.sub("TBSチャンネル", "TBS", title) RENAME_TRY(title, changetitle) if re.search("^「", title): changetitle = re.sub("^「", "", title) changetitle = re.sub("「", " ", changetitle) changetitle = re.sub("」", " ", changetitle) changetitle = re.sub(" ", " ", changetitle) changetitle = re.sub(" ", " ", changetitle) RENAME_TRY(title, changetitle) def searchfolder(start, end, year): for num in range(start, end): # path生成 try: os.chdir(os.path.join(path1, os.path.join(year, l[num]))) Rename() except WindowsError: pass path2 = r"D:\TV(h.265)\映画" path3 = r"D:\TV(h.265)\夏目友人帳シリーズ\夏目友人帳" path4 = r"D:\TV(h.265)\夏目友人帳シリーズ\夏目友人帳 陸" path5 = r"D:\TV(h.265)\夏目友人帳シリーズ\続 夏目友人帳" path6 = r"D:\TV(h.265)\ANIMAX MUSIX" # os.chdir(path6) Rename() with open(r"F:\git\rename\1999.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "1999") except: pass with open(r"F:\git\rename\2000.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2000") except: pass with open(r"F:\git\rename\2001.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2001") except: pass with open(r"F:\git\rename\2002.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2002") except: pass with open(r"F:\git\rename\2003.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2003") except: pass with open(r"F:\git\rename\2004.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2004") except: pass with open(r"F:\git\rename\2005.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2005") except: pass with open(r"F:\git\rename\2006.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2006") except: pass with open(r"F:\git\rename\2007.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2007") except: pass with open(r"F:\git\rename\2008.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2008") except: pass with open(r"F:\git\rename\2009.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2009") except: pass with open(r"F:\git\rename\2010.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2010") except: pass with open(r"F:\git\rename\2011.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2011") except: pass with open(r"F:\git\rename\2012.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2012") except: pass with open(r"F:\git\rename\2013.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2013") except: pass with open(r"F:\git\rename\2014.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2014") except: pass with open(r"F:\git\rename\2015.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2015") except: pass with open(r"F:\git\rename\2016.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2016") except: pass with open(r"F:\git\rename\2017.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2017") except: pass with open(r"F:\git\rename\2018.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2018") except: pass with open(r"F:\git\rename\2019.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 100, "2019") except: pass with open(r"F:\git\rename\2020.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 200, "2020") except: pass with open(r"F:\git\rename\2021.txt", encoding="utf-8") as f: l = [s.strip() for s in f.readlines()] try: searchfolder(0, 200, "2021") except: pass
27.544118
69
0.552456
1,024
7,492
4.026367
0.117188
0.139704
0.050206
0.055785
0.756003
0.732961
0.72423
0.713558
0.504972
0.504972
0
0.06265
0.275627
7,492
271
70
27.645756
0.69707
0.013615
0
0.586364
0
0
0.15788
0.082667
0
0
0
0
0
1
0.013636
false
0.109091
0.018182
0
0.031818
0.013636
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
87c0454e894bad2e906a4137aea78bbda3256106
69
py
Python
private_files/tests/testapp/__init__.py
vilamatica/django-private-files
ad786565b014f95a76020d593a59c43e95e35d1f
[ "BSD-3-Clause" ]
4
2018-08-03T14:51:18.000Z
2021-08-13T03:12:42.000Z
private_files/tests/testapp/__init__.py
vilamatica/django-private-files
ad786565b014f95a76020d593a59c43e95e35d1f
[ "BSD-3-Clause" ]
2
2018-11-21T11:30:24.000Z
2018-11-21T11:44:18.000Z
private_files/tests/testapp/__init__.py
vilamatica/django-private-files
ad786565b014f95a76020d593a59c43e95e35d1f
[ "BSD-3-Clause" ]
2
2018-10-02T09:44:20.000Z
2018-11-22T23:53:44.000Z
default_app_config = 'private_files.tests.testapp.apps.TestappConfig'
69
69
0.869565
9
69
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.028986
69
1
69
69
0.850746
0
0
0
0
0
0.657143
0.657143
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
87ec1b292902413c98bebd3324f6cfbcfa72f882
281
py
Python
packages/python/accern_xyme/__init__.py
Accern/accern-xyme
887536144539eb93a798830f312aaebf09c4afc9
[ "MIT" ]
3
2019-12-09T20:59:44.000Z
2021-07-12T11:32:59.000Z
packages/python/accern_xyme/__init__.py
Accern/accern-xyme
887536144539eb93a798830f312aaebf09c4afc9
[ "MIT" ]
13
2020-01-10T23:26:31.000Z
2022-02-11T19:16:50.000Z
packages/python/accern_xyme/__init__.py
Accern/accern-xyme
887536144539eb93a798830f312aaebf09c4afc9
[ "MIT" ]
1
2020-12-09T15:21:52.000Z
2020-12-09T15:21:52.000Z
# pylint: disable=unused-import __version__ = "4.0.12" import accern_xyme.v2 import accern_xyme.v3 import accern_xyme.accern_xyme import accern_xyme.types import accern_xyme.util from accern_xyme.accern_xyme import * from accern_xyme.types import * from accern_xyme.util import *
23.416667
37
0.825623
45
281
4.844444
0.333333
0.458716
0.366972
0.183486
0.238532
0
0
0
0
0
0
0.02381
0.103203
281
11
38
25.545455
0.84127
0.103203
0
0
0
0
0.024
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
e2098012c51727dc90e4a46ab55046ebd3c92d3e
482
py
Python
neurolang/utils/relational_algebra_set/__init__.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
null
null
null
neurolang/utils/relational_algebra_set/__init__.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
2
2021-07-01T09:44:10.000Z
2021-07-02T09:06:30.000Z
neurolang/utils/relational_algebra_set/__init__.py
hndgzkn/NeuroLang
a3178d47f80bc0941440d9bb09e06c2f217b9566
[ "BSD-3-Clause" ]
null
null
null
from .pandas import (NamedRelationalAlgebraFrozenSet, RelationalAlgebraFrozenSet, RelationalAlgebraSet, RelationalAlgebraColumnInt, RelationalAlgebraColumnStr, RelationalAlgebraStringExpression) __all__ = [ "RelationalAlgebraColumnInt", "RelationalAlgebraColumnStr", "RelationalAlgebraStringExpression", "RelationalAlgebraFrozenSet", "RelationalAlgebraSet", "NamedRelationalAlgebraFrozenSet" ]
34.428571
76
0.719917
16
482
21.4375
0.625
0.268222
0.495627
0
0
0
0
0
0
0
0
0
0.221992
482
13
77
37.076923
0.914667
0
0
0
0
0
0.3361
0.294606
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
354f18014d0ffb38edd845e23162c8beec8066ec
26
py
Python
src/dataStructures/__init__.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
1
2018-06-15T09:42:22.000Z
2018-06-15T09:42:22.000Z
src/dataStructures/__init__.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
src/dataStructures/__init__.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
changingItems = [] pass
8.666667
19
0.653846
2
26
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
26
2
20
13
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
354f2c1ac0d5b8924ca0c89420fb8be746ecd951
49
py
Python
BackEnd/src/app/api/localVariables.py
JeremieBeaudoin/LavalUniversityStockExchange
3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c
[ "Apache-2.0" ]
null
null
null
BackEnd/src/app/api/localVariables.py
JeremieBeaudoin/LavalUniversityStockExchange
3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c
[ "Apache-2.0" ]
null
null
null
BackEnd/src/app/api/localVariables.py
JeremieBeaudoin/LavalUniversityStockExchange
3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c
[ "Apache-2.0" ]
null
null
null
contentType = 'application/json; charset=utf-8'
24.5
48
0.755102
6
49
6.166667
1
0
0
0
0
0
0
0
0
0
0
0.022727
0.102041
49
1
49
49
0.818182
0
0
0
0
0
0.645833
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3567e08b2debe87ddb9c770f26b97a8afc0c9a9e
540
py
Python
tests/basics/int-long.py
lurch/micropython
28dfbc2ba2ef41a7810e4e39290031eb2207a0a9
[ "MIT" ]
1
2015-06-15T11:52:01.000Z
2015-06-15T11:52:01.000Z
tests/basics/int-long.py
lurch/micropython
28dfbc2ba2ef41a7810e4e39290031eb2207a0a9
[ "MIT" ]
null
null
null
tests/basics/int-long.py
lurch/micropython
28dfbc2ba2ef41a7810e4e39290031eb2207a0a9
[ "MIT" ]
null
null
null
# This tests long ints for 32-bit machine a = 0x1ffffffff b = 0x100000000 print(a) print(b) print(a + b) print(a - b) print(b - a) # overflows long long implementation #print(a * b) print(a // b) print(a % b) print(a & b) print(a | b) print(a ^ b) print(a << 3) print(a >> 1) a += b print(a) a -= 123456 print(a) a *= 257 print(a) a //= 257 print(a) a %= b print(a) a ^= b print(a) a |= b print(a) a &= b print(a) a <<= 5 print(a) a >>= 1 print(a) # Test referential integrity of long ints a = 0x1ffffffff b = a a += 1 print(a) print(b)
11.489362
41
0.605556
109
540
3
0.220183
0.40367
0.278287
0.293578
0.470948
0.388379
0.388379
0.327217
0.266055
0.266055
0
0.077647
0.212963
540
46
42
11.73913
0.691765
0.233333
0
0.410256
0
0
0
0
0
0
0.080685
0
0
1
0
false
0
0
0
0
0.615385
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
358b5e94db85fbf15d45c2a441301f8643397c02
199
py
Python
src/wait_init.py
druzy/python-protocol
8915df633e2756c44c9c2a65085863c8143cdf1f
[ "MIT" ]
null
null
null
src/wait_init.py
druzy/python-protocol
8915df633e2756c44c9c2a65085863c8143cdf1f
[ "MIT" ]
null
null
null
src/wait_init.py
druzy/python-protocol
8915df633e2756c44c9c2a65085863c8143cdf1f
[ "MIT" ]
null
null
null
import time def wait_init(cast): while (cast.status==None): time.sleep(1) while (cast.media_controller.status==None): time.sleep(1) time.sleep(1) return
18.090909
47
0.582915
26
199
4.384615
0.538462
0.236842
0.263158
0.333333
0.350877
0
0
0
0
0
0
0.021277
0.291457
199
11
48
18.090909
0.787234
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
35a5cb4a8d2c16b86264b7a1f2d2619c8cd88c51
1,121
py
Python
user.py
Juliet-jay/password-locker
15fb0b637a72e1f637f919a6864aa2e7f1beb571
[ "MIT" ]
null
null
null
user.py
Juliet-jay/password-locker
15fb0b637a72e1f637f919a6864aa2e7f1beb571
[ "MIT" ]
null
null
null
user.py
Juliet-jay/password-locker
15fb0b637a72e1f637f919a6864aa2e7f1beb571
[ "MIT" ]
null
null
null
class User: ''' class that generates a new instance of a password user __init__ method that helps us to define properitis for our objet Args: ''' user_list = [] #Empty user list def __init__(self,name,password): self.name=name self.password=password def save_user(self): ''' save_contact method save user objects into user_list ''' User.user_list.append(self) @classmethod def display_users(cls): ''' method that returns users using the password locker app ''' return cls.user_list @classmethod def user_verified(cls,name,password): ''' methods that takes the user logings and returs boolean its true Args: name:User name to search password:password to match return: Boolean true if they both match to a user and false if it doesn't '''
20.381818
71
0.510259
120
1,121
4.633333
0.483333
0.071942
0
0
0
0
0
0
0
0
0
0
0.434434
1,121
55
72
20.381818
0.876972
0.422837
0
0.166667
1
0
0
0
0
0
0
0
0
1
0.333333
false
0.25
0
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
35d41edf0fc8369d65fe77fee4114105c986e9e1
89
py
Python
randevu/apps.py
eneskums/ogrenciBilgiSistemi
fca4eefff079fff3808010fa95713fe0c0bc4b8f
[ "MIT" ]
null
null
null
randevu/apps.py
eneskums/ogrenciBilgiSistemi
fca4eefff079fff3808010fa95713fe0c0bc4b8f
[ "MIT" ]
null
null
null
randevu/apps.py
eneskums/ogrenciBilgiSistemi
fca4eefff079fff3808010fa95713fe0c0bc4b8f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class RandevuConfig(AppConfig): name = 'randevu'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
ea02f19281507543c200df1b554943965cfa3e68
97
py
Python
Online-Judges/CodingBat/Python/List-01/08-max_end3.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Online-Judges/CodingBat/Python/List-01/08-max_end3.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Online-Judges/CodingBat/Python/List-01/08-max_end3.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
def max_end3(nums): if nums[0] > nums[-1]: return nums[0:1]*3 return nums[-1:]*3
19.4
26
0.536082
18
97
2.833333
0.5
0.196078
0
0
0
0
0
0
0
0
0
0.112676
0.268041
97
4
27
24.25
0.605634
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
ea069747b80cbc4121473ad0fb930bb0ac043075
552
py
Python
print_overwrite.py
GiantMolecularCloud/python_helpers
081a74b0da218407175d62f050046c0e62b2a2b0
[ "MIT" ]
null
null
null
print_overwrite.py
GiantMolecularCloud/python_helpers
081a74b0da218407175d62f050046c0e62b2a2b0
[ "MIT" ]
null
null
null
print_overwrite.py
GiantMolecularCloud/python_helpers
081a74b0da218407175d62f050046c0e62b2a2b0
[ "MIT" ]
null
null
null
#################################################################################################### # print with overwriting current line #################################################################################################### def print_overwrite(arg): import sys sys.stdout.write('\033[2K\033[1G') print(arg, end='\r') #################################################################################################### # ####################################################################################################
39.428571
100
0.175725
22
552
4.363636
0.772727
0
0
0
0
0
0
0
0
0
0
0.015414
0.059783
552
13
101
42.461538
0.169557
0.063406
0
0
0
0
0.140351
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
4
ea17b7ed5c0d1896af463b84d2a2a0fbc9aa094c
199
py
Python
platform_task.py
saycel/black-rock-forest
5a59071e10e0436edcea8c2eceb61b80e0711126
[ "Apache-2.0" ]
null
null
null
platform_task.py
saycel/black-rock-forest
5a59071e10e0436edcea8c2eceb61b80e0711126
[ "Apache-2.0" ]
null
null
null
platform_task.py
saycel/black-rock-forest
5a59071e10e0436edcea8c2eceb61b80e0711126
[ "Apache-2.0" ]
3
2019-06-20T18:06:01.000Z
2020-03-18T18:11:02.000Z
import platform import subprocess if __name__ == "__main__": if all(a in platform.platform() for a in ["debian", "arm"]): subprocess.call(["sed", "-i", "/pandas/d", "requirements.txt"])
28.428571
71
0.638191
26
199
4.576923
0.730769
0.05042
0
0
0
0
0
0
0
0
0
0
0.170854
199
6
72
33.166667
0.721212
0
0
0
0
0
0.236181
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
ea41d0caa3e34f397d33f2872ea50d764e537631
74
py
Python
policykit/integrations/discord/__init__.py
hozzjss/policykit
8d00418d2caacf81cf1faacaf81ca1b2da6f6a48
[ "MIT" ]
78
2020-05-08T17:25:38.000Z
2022-01-13T05:44:50.000Z
policykit/integrations/discord/__init__.py
hozzjss/policykit
8d00418d2caacf81cf1faacaf81ca1b2da6f6a48
[ "MIT" ]
302
2020-02-20T07:04:30.000Z
2022-02-25T17:44:23.000Z
policykit/integrations/discord/__init__.py
hozzjss/policykit
8d00418d2caacf81cf1faacaf81ca1b2da6f6a48
[ "MIT" ]
13
2020-04-17T19:44:26.000Z
2022-02-25T17:18:04.000Z
default_app_config = 'integrations.discord.apps.discordIntegrationConfig'
37
73
0.878378
7
74
9
1
0
0
0
0
0
0
0
0
0
0
0
0.040541
74
1
74
74
0.887324
0
0
0
0
0
0.675676
0.675676
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
ea6b4c707c00e41de929de587572d82da4abd805
275
py
Python
accounts/migrations/0004_merge_20201025_1255.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
11
2020-10-06T13:50:46.000Z
2021-02-27T20:19:17.000Z
accounts/migrations/0004_merge_20201025_1255.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
174
2020-10-13T18:25:34.000Z
2022-01-17T09:49:18.000Z
accounts/migrations/0004_merge_20201025_1255.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
46
2020-10-14T11:27:20.000Z
2022-01-31T17:48:12.000Z
# Generated by Django 3.1.1 on 2020-10-25 12:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20201023_2006'), ('accounts', '0003_auto_20201023_1201'), ] operations = [ ]
18.333333
48
0.650909
33
275
5.242424
0.757576
0.138728
0.184971
0.277457
0
0
0
0
0
0
0
0.221698
0.229091
275
14
49
19.642857
0.59434
0.163636
0
0
1
0
0.27193
0.201754
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
575bbc57e8e46be230857ff485c518cb89fa8404
139
py
Python
reddit2telegram/channels/bikinimoe/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
187
2016-09-20T09:15:54.000Z
2022-03-29T12:22:33.000Z
reddit2telegram/channels/bikinimoe/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
84
2016-09-22T14:25:07.000Z
2022-03-19T01:26:17.000Z
reddit2telegram/channels/bikinimoe/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
172
2016-09-21T15:39:39.000Z
2022-03-16T15:15:58.000Z
#encoding:utf-8 subreddit = 'bikinimoe' t_channel = '@BikiniMoe' def send_post(submission, r2t): return r2t.send_simple(submission)
15.444444
38
0.741007
18
139
5.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.025
0.136691
139
8
39
17.375
0.808333
0.100719
0
0
0
0
0.153226
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
5790678c6e7c2b5490a57df16bf5db013872a21f
106
wsgi
Python
app.wsgi
BartMassey/capstone360
4079ce9963e30e38bb1ce5d35fde438af20cd7bd
[ "MIT" ]
null
null
null
app.wsgi
BartMassey/capstone360
4079ce9963e30e38bb1ce5d35fde438af20cd7bd
[ "MIT" ]
89
2019-04-04T06:05:51.000Z
2019-12-03T06:51:22.000Z
app.wsgi
BartMassey/capstone360
4079ce9963e30e38bb1ce5d35fde438af20cd7bd
[ "MIT" ]
1
2019-10-22T22:00:55.000Z
2019-10-22T22:00:55.000Z
import sys sys.path.insert(0, '/opt/capstone360') from app import create_app application = create_app()
15.142857
38
0.764151
16
106
4.9375
0.6875
0.227848
0
0
0
0
0
0
0
0
0
0.043011
0.122642
106
6
39
17.666667
0.806452
0
0
0
0
0
0.150943
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
579c3d62cfc0e316269da4ef9efdf1a5133f5e71
147
py
Python
tests/regression/regression_settings.py
tadasv/chimp
a57aa85026489cae558120ee94000e179bcc230c
[ "MIT" ]
5
2015-11-05T04:29:29.000Z
2019-04-21T12:22:29.000Z
tests/regression/regression_settings.py
tadasv/chimp
a57aa85026489cae558120ee94000e179bcc230c
[ "MIT" ]
null
null
null
tests/regression/regression_settings.py
tadasv/chimp
a57aa85026489cae558120ee94000e179bcc230c
[ "MIT" ]
3
2015-09-26T15:28:03.000Z
2018-07-05T12:41:39.000Z
import os chimp_location = os.path.abspath(os.path.dirname(__file__) + "/../../src/chimp") chimp_host = ('localhost', 8000) print chimp_location
21
80
0.721088
20
147
4.95
0.65
0.262626
0
0
0
0
0
0
0
0
0
0.030303
0.102041
147
6
81
24.5
0.719697
0
0
0
0
0
0.170068
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
57a778afbbd6b1c6337798bfe369c622a2367817
1,049
py
Python
WiFi_QR_Code_Generator/views.py
YahyaFazlani/QR-Code-Generator
9e4509c4c42d0df56dcbb3b5f52fd79c9415f6d3
[ "MIT" ]
null
null
null
WiFi_QR_Code_Generator/views.py
YahyaFazlani/QR-Code-Generator
9e4509c4c42d0df56dcbb3b5f52fd79c9415f6d3
[ "MIT" ]
null
null
null
WiFi_QR_Code_Generator/views.py
YahyaFazlani/QR-Code-Generator
9e4509c4c42d0df56dcbb3b5f52fd79c9415f6d3
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from base64 import b64encode from django.core.exceptions import SuspiciousOperation from io import BytesIO from wifi_qrcode_generator import wifi_qrcode def index(request): return render(request, "WiFi_QR_Code_Generator/index.html") def result(request): # Form variables # ssid = request.POST.get("ssid", None) # if ssid == None: # raise SuspiciousOperation # password = request.POST.get("password") # encryption = request.POST.get("encryption") # hidden = request.POST.get("hidden", default=False) # if hidden == "on": # hidden = True # if encryption == "nopass": # password = None # qr_code = wifi_qrcode( # ssid, hidden, encryption, password # ) # # Converting image to base64 # output = BytesIO() # qr_code.save(output, "PNG") # image = output.getvalue() # output.close() # image = str(b64encode(image))[2:-1] # # The context # context = { # 'image': image # } return redirect('https://www.youtube.com/watch?v=dQw4w9WgXcQ')
24.395349
64
0.678742
126
1,049
5.579365
0.47619
0.062589
0.079659
0
0
0
0
0
0
0
0
0.014118
0.189704
1,049
42
65
24.97619
0.812941
0.591039
0
0
0
0
0.19
0.0825
0
0
0
0
0
1
0.222222
false
0
0.555556
0.222222
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
57d8ecf0f26066508362875d30e8e7b07d858989
100
py
Python
build_dataset.py
yuan64198/Hand_Gesture_Recognition
fef5da2e9fb5b6c27a096aebcfdc309940f640c8
[ "MIT" ]
null
null
null
build_dataset.py
yuan64198/Hand_Gesture_Recognition
fef5da2e9fb5b6c27a096aebcfdc309940f640c8
[ "MIT" ]
null
null
null
build_dataset.py
yuan64198/Hand_Gesture_Recognition
fef5da2e9fb5b6c27a096aebcfdc309940f640c8
[ "MIT" ]
null
null
null
import numpy as np import torch from sklearn.model_selection import train_test_split MAX_LEN = 51
14.285714
52
0.83
17
100
4.647059
0.882353
0
0
0
0
0
0
0
0
0
0
0.023529
0.15
100
6
53
16.666667
0.905882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
17ac5d72935336f1b7f5e2b725af80657980313d
56
py
Python
Codeforces/C_A_and_B_and_Team_Training.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_A_and_B_and_Team_Training.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_A_and_B_and_Team_Training.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
n,m = map(int, input().split()) print(min(n,m,(n+m)//3))
28
31
0.553571
13
56
2.384615
0.692308
0.193548
0
0
0
0
0
0
0
0
0
0.019231
0.071429
56
2
32
28
0.576923
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
17be83c00bc2c5215b7db9e7ef9c32418a84d833
137
py
Python
SEP06/08.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
SEP06/08.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
SEP06/08.py
Razdeep/PythonSnippets
76f9313894f511c487a99bc38bdf0fe5e594caf5
[ "MIT" ]
null
null
null
# reading ocntents from file # fp=open('file.txt') fp=open('file.txt','r') # by default it opens in read mode text=fp.read() print(text)
19.571429
34
0.693431
25
137
3.8
0.68
0.126316
0.210526
0.273684
0
0
0
0
0
0
0
0
0.131387
137
7
35
19.571429
0.798319
0.576642
0
0
0
0
0.163636
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
17c871eea684bed40ae2ac6685b093ba82554347
92
py
Python
mmdet/datasets/HRSC.py
yanglinGEM/ReDet
80cb7b0643c57aa2641ad6a1fc5eada4e575fcfe
[ "Apache-2.0" ]
643
2020-01-28T11:29:49.000Z
2022-03-31T08:28:32.000Z
mmdet/datasets/HRSC.py
yanglinGEM/ReDet
80cb7b0643c57aa2641ad6a1fc5eada4e575fcfe
[ "Apache-2.0" ]
148
2021-03-18T09:44:02.000Z
2022-03-31T06:01:39.000Z
mmdet/datasets/HRSC.py
yanglinGEM/ReDet
80cb7b0643c57aa2641ad6a1fc5eada4e575fcfe
[ "Apache-2.0" ]
197
2020-01-29T09:58:27.000Z
2022-03-25T12:08:56.000Z
from .coco import CocoDataset class HRSCL1Dataset(CocoDataset): CLASSES = ('ship', )
13.142857
33
0.706522
9
92
7.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0.013333
0.184783
92
6
34
15.333333
0.853333
0
0
0
0
0
0.043956
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
17caf9d7a7bc81f2d3e18eb0a5472882508c1a6a
180
py
Python
reggy/__init__.py
kpj/regreg
30bfea9b282fea908ff9560affaa73339c8da045
[ "MIT" ]
2
2022-01-20T00:29:42.000Z
2022-01-20T10:56:57.000Z
reggy/__init__.py
kpj/reggy
30bfea9b282fea908ff9560affaa73339c8da045
[ "MIT" ]
null
null
null
reggy/__init__.py
kpj/reggy
30bfea9b282fea908ff9560affaa73339c8da045
[ "MIT" ]
null
null
null
# set version dunder variable from importlib import metadata from .main import RegReg from .families import * from .regularizers import * __version__ = metadata.version("reggy")
20
39
0.788889
22
180
6.272727
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.144444
180
8
40
22.5
0.896104
0.15
0
0
0
0
0.033113
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
17f4c3e1a1f7b7e82483cc826d521a77a4c94cc5
657
py
Python
wsm/backend/services/allow.py
Rayologist/windows-sshd-manager
4f78a0cdaa12fe3c2a785aca31066c3be886878b
[ "Apache-2.0" ]
9
2022-02-09T09:09:43.000Z
2022-02-09T09:10:06.000Z
wsm/backend/services/allow.py
Rayologist/windows-sshd-manager
4f78a0cdaa12fe3c2a785aca31066c3be886878b
[ "Apache-2.0" ]
null
null
null
wsm/backend/services/allow.py
Rayologist/windows-sshd-manager
4f78a0cdaa12fe3c2a785aca31066c3be886878b
[ "Apache-2.0" ]
null
null
null
from ._types import List from ..models.model import query from ..utils import generate_expire def create_allow(ips: List) -> List: query( """ UPDATE banned SET expire = :now WHERE expire > :now AND ip = :ip """, [{"now": generate_expire(0), "ip": ip} for ip in ips], mode="many", ) return query("INSERT INTO allow (ip) VALUES (?)", (list(ips),), mode="many") def get_allow() -> List: return query("SELECT ip FROM allow", row_factory=lambda cursor, row: row[0]) def delete_allow(ips: List) -> List: return query("DELETE FROM allow WHERE ip = ?", (ips,), mode="many")
24.333333
80
0.587519
88
657
4.306818
0.420455
0.055409
0.087071
0.084433
0
0
0
0
0
0
0
0.004124
0.261796
657
26
81
25.269231
0.77732
0
0
0
1
0
0.183486
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
a4ad3de8bcb76289e290f097cea4898534534cc9
316
py
Python
models/__init__.py
KianiLab/Waskom_CurrBiol_2018
dbac86c1fadb85f5363e8743215766147fe70167
[ "BSD-3-Clause" ]
3
2018-11-21T15:43:37.000Z
2020-07-27T09:22:43.000Z
models/__init__.py
KianiLab/Waskom_CurrBiol_2018
dbac86c1fadb85f5363e8743215766147fe70167
[ "BSD-3-Clause" ]
null
null
null
models/__init__.py
KianiLab/Waskom_CurrBiol_2018
dbac86c1fadb85f5363e8743215766147fe70167
[ "BSD-3-Clause" ]
3
2018-11-21T15:43:41.000Z
2020-08-03T13:06:51.000Z
from . import base from .linear_integration import LinearIntegration from .extrema_detection import ExtremaDetection from .counting import Counting from .leaky_integration import LeakyIntegration from . import linear_integration from . import extrema_detection from . import counting from . import leaky_integration
31.6
49
0.857595
37
316
7.162162
0.324324
0.188679
0.135849
0
0
0
0
0
0
0
0
0
0.113924
316
9
50
35.111111
0.946429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
a4b3bdb32150b1c751359a9d280652ba552f8534
165
py
Python
clean.py
satuelisa/Forex
9209c925ffae1ad75c7fbdccb0d05b6701b84154
[ "MIT" ]
1
2020-12-14T19:15:29.000Z
2020-12-14T19:15:29.000Z
clean.py
satuelisa/Forex
9209c925ffae1ad75c7fbdccb0d05b6701b84154
[ "MIT" ]
null
null
null
clean.py
satuelisa/Forex
9209c925ffae1ad75c7fbdccb0d05b6701b84154
[ "MIT" ]
null
null
null
from sys import argv filename = argv[1].split('/')[-1] filename = filename.replace('-', '') filename = filename.replace('=X', '') print(filename[:-4]) # remove .csv
27.5
37
0.642424
21
165
5.047619
0.619048
0.301887
0.433962
0
0
0
0
0
0
0
0
0.020548
0.115152
165
5
38
33
0.705479
0.066667
0
0
0
0
0.026316
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a4d9c20d3340da3a25a0f87f9be8f3b754892f44
2,138
py
Python
sandbox/freesurfer_helpers/plot_morphometrics.py
thomas-vincent/nipic
acc9552b175c5fc4275b4d4b110ac50c54b9ce62
[ "MIT" ]
2
2019-06-24T21:00:46.000Z
2020-01-16T02:26:08.000Z
sandbox/freesurfer_helpers/plot_morphometrics.py
thomas-vincent/nipic
acc9552b175c5fc4275b4d4b110ac50c54b9ce62
[ "MIT" ]
null
null
null
sandbox/freesurfer_helpers/plot_morphometrics.py
thomas-vincent/nipic
acc9552b175c5fc4275b4d4b110ac50c54b9ce62
[ "MIT" ]
1
2021-01-18T12:33:31.000Z
2021-01-18T12:33:31.000Z
""" Generate screenshots of cortical and sub-cortical surfaces with morphometrics overlays. Usage:: plot_morphometrics SUBJECT_LIST [ --subject_dir==<path_to_freesurfer_subject_dir> --verbose <VERBOSE_LEVEL>] """ import os import os.path as op from subprocess import call # view_options = '--layout 1 --viewport 3d --colorscale --zoom 1.5 --viewsize 1000 1000 --nocursor --hide-3d-slices' # view_orientations = {'left': '', 'right': '--cam azimuth 180'} # surf_overlay_params = {'ThickAvg' : ':overlay_color=colorwheel,inverse:overlay_threshold=1.5,3.2'} # parcellation_tags = '.a2009s' # for subject in subjects: # subject_dir = op.join() cmd_pats = [ ['freeview', '-f', '{subject}/surf/lh.pial:overlay={subject}/surf/lh.aparc.a2009s.ThickAvg:overlay_color=colorwheel,inverse:overlay_threshold=1.5,3.2', '-f', '{subject}/surf/rh.pial:overlay={subject}/surf/rh.aparc.a2009s.ThickAvg:overlay_color=colorwheel,inverse:overlay_threshold=1.4,3.5', '--layout', '1', '--viewport', '3d', '--colorscale', '--zoom', '1.5', '--viewsize', '1000', '1000', '--nocursor', '--hide-3d-slices', '--screenshot', '{subject}/image/cortical_thickness_left.png'], ['freeview', '-f', '{subject}/surf/lh.pial:overlay={subject}/surf/lh.aparc.a2009s.ThickAvg:overlay_color=colorwheel,inverse:overlay_threshold=1.5,3.2', '-f', '{subject}/surf/rh.pial:overlay={subject}/surf/rh.aparc.a2009s.ThickAvg:overlay_color=colorwheel,inverse:overlay_threshold=1.4,3.5', '--layout', '1', '--viewport', '3d', '--colorscale', '--zoom', '1.5', '--viewsize', '1000', '1000', '--nocursor', '--hide-3d-slices', '-cam', 'azimuth', '180', '--screenshot', '{subject}/image/cortical_thickness_right.png']] os.environ['LD_LIBRARY_PATH'] = '/home/tom/Projects/Research/Software/Brainvisa/bin_pack/lib/' for subject in ['SYN_MTL_001_T0', 'SYN_MTL_002_T0', 'SYN_MTL_999_T0']: img_dir = op.join(subject, 'image') if not op.exists(img_dir): os.makedirs(img_dir) for cmd_pat in cmd_pats: cmd = [cp.format(subject=subject) for cp in cmd_pat] assert call(cmd)==0
57.783784
519
0.676333
290
2,138
4.824138
0.362069
0.062902
0.07148
0.107219
0.558971
0.503217
0.503217
0.503217
0.503217
0.503217
0
0.052688
0.130028
2,138
36
520
59.388889
0.699462
0.300748
0
0
1
0.285714
0.647099
0.447368
0
0
0
0
0.071429
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a4ee4065e7b0521619707802843bbece58331e77
481
py
Python
api/everycache_api/models/__init__.py
everycache-group/everycache-app
552f5b623dcad3f0cc59a1f0f5abd600ce78a0fa
[ "MIT" ]
null
null
null
api/everycache_api/models/__init__.py
everycache-group/everycache-app
552f5b623dcad3f0cc59a1f0f5abd600ce78a0fa
[ "MIT" ]
10
2021-08-15T11:36:40.000Z
2022-03-02T17:25:12.000Z
api/everycache_api/models/__init__.py
everycache-group/everycache-app
552f5b623dcad3f0cc59a1f0f5abd600ce78a0fa
[ "MIT" ]
2
2021-05-23T17:19:40.000Z
2022-03-23T16:22:36.000Z
from everycache_api.models.cache import Cache from everycache_api.models.cache_comment import CacheComment from everycache_api.models.cache_visit import CacheVisit from everycache_api.models.token import Token from everycache_api.models.user import User __all__ = ["Cache", "CacheComment", "CacheVisit", "Token", "User"] # assign _hashids_model_id for each db model except Token for i, model in enumerate([Cache, CacheComment, CacheVisit, User]): model._hashids_model_id = i
40.083333
67
0.808732
67
481
5.552239
0.358209
0.188172
0.228495
0.30914
0.225806
0
0
0
0
0
0
0
0.110187
481
11
68
43.727273
0.869159
0.114345
0
0
0
0
0.084906
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a4f359893b53ca986a363747f683ba276d4c6aa6
323
py
Python
sdk/spring/scripts/version_update_item.py
reifujin/azure-sdk-for-java
0d23a8e7bb94427551e2bff225822db727b92ff3
[ "MIT" ]
null
null
null
sdk/spring/scripts/version_update_item.py
reifujin/azure-sdk-for-java
0d23a8e7bb94427551e2bff225822db727b92ff3
[ "MIT" ]
null
null
null
sdk/spring/scripts/version_update_item.py
reifujin/azure-sdk-for-java
0d23a8e7bb94427551e2bff225822db727b92ff3
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. class VersionUpdateItem: def __init__(self, id, new_version): self.id = id self.new_version = new_version def __str__(self): return '[id: {}; new_version: {}]'.format(self.id, self.new_version)
26.916667
76
0.671827
41
323
4.97561
0.560976
0.245098
0.117647
0.156863
0
0
0
0
0
0
0
0
0.213622
323
11
77
29.363636
0.80315
0.275542
0
0
0
0
0.108225
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
350fb09d04a113d86ee57255e9b0b99b712323a0
94
py
Python
src/00_python_tutorial/01-hello-world.py
carlosjasso/notebook-python
14dac63bf139a40b7d84947eb7e61d8be47511a5
[ "Unlicense" ]
null
null
null
src/00_python_tutorial/01-hello-world.py
carlosjasso/notebook-python
14dac63bf139a40b7d84947eb7e61d8be47511a5
[ "Unlicense" ]
null
null
null
src/00_python_tutorial/01-hello-world.py
carlosjasso/notebook-python
14dac63bf139a40b7d84947eb7e61d8be47511a5
[ "Unlicense" ]
null
null
null
# Lesson taken from: # https://www.learnpython.org/en/Hello%2C_World%21 print("Hello World!")
23.5
50
0.734043
15
94
4.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0.034884
0.085106
94
4
51
23.5
0.755814
0.712766
0
0
0
0
0.48
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
3531b6fe6d6202487ad6392a52cab8075ccad8ba
692
py
Python
aops/cmdb/forms/idc_contract.py
spunkmars/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
26
2016-10-01T15:20:21.000Z
2021-02-02T17:28:37.000Z
aops/cmdb/forms/idc_contract.py
Paul-Pcd/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
null
null
null
aops/cmdb/forms/idc_contract.py
Paul-Pcd/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
27
2016-09-24T14:20:50.000Z
2022-03-23T03:48:13.000Z
#coding=utf-8 from django import forms from django.utils.translation import ugettext_lazy as _ from libs.forms.common import newModelForm, newChoiceField class IdcContractForm(newModelForm): idc = newChoiceField(choices=(), label=_('IDC'), widget=forms.Select(attrs={'class':'form-control'})) contract = newChoiceField(choices=(), label=_('Contract'), widget=forms.Select(attrs={'class':'form-control'})) is_dynamic = newChoiceField(choices=(), label=_('Is dynamic'), required=False, widget=forms.Select(attrs={'class':'form-control'})) is_deleted = newChoiceField(choices=(), label=_('Is deleted'), required=False, widget=forms.Select(attrs={'class':'form-control'}))
46.133333
135
0.734104
81
692
6.17284
0.395062
0.168
0.208
0.176
0.364
0.364
0.364
0.288
0.204
0
0
0.001595
0.093931
692
14
136
49.428571
0.795853
0.017341
0
0
0
0
0.146233
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3538316134b015b5a71cc0910a96aebea0b504ee
145
py
Python
q3/q3/ui/__init__.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
2
2021-03-16T05:48:36.000Z
2021-10-11T01:55:48.000Z
q3/q3/ui/__init__.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
null
null
null
q3/q3/ui/__init__.py
virtimus/makaronLab
10b9be7d7d65d3da6219f929ea7070dd5fed3a81
[ "0BSD" ]
1
2021-03-16T05:48:39.000Z
2021-03-16T05:48:39.000Z
from .engine import qtc,qtg,qtw from .STableWidget import STableWidget as STable HBoxLayout = qtw.QHBoxLayout from .BoxLayout import BoxLayout
20.714286
48
0.82069
19
145
6.263158
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.131034
145
6
49
24.166667
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
353e958e2e7d91a92821becd53b67542b2eb350b
168
py
Python
ramda/lte.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
56
2018-08-06T08:44:58.000Z
2022-03-17T09:49:03.000Z
ramda/lte.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
28
2019-06-17T11:09:52.000Z
2022-02-18T16:59:21.000Z
ramda/lte.py
jakobkolb/ramda.py
982b2172f4bb95b9a5b09eff8077362d6f2f0920
[ "MIT" ]
5
2019-09-18T09:24:38.000Z
2021-07-21T08:40:23.000Z
from toolz import curry @curry def lte(y, x): """Returns true if the first argument is less than or equal to the second; false otherwise""" return x <= y
18.666667
78
0.666667
28
168
4
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.25
168
8
79
21
0.888889
0.517857
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
1051ce89e315afc15c488c9f18ea24a4883722a9
20
py
Python
spark/python/pyspark/version.py
ahmedadelbayoumi/DataEngineering-Assignment3
423c6dd8591fa3072eb363557a83133872005193
[ "MIT" ]
null
null
null
spark/python/pyspark/version.py
ahmedadelbayoumi/DataEngineering-Assignment3
423c6dd8591fa3072eb363557a83133872005193
[ "MIT" ]
null
null
null
spark/python/pyspark/version.py
ahmedadelbayoumi/DataEngineering-Assignment3
423c6dd8591fa3072eb363557a83133872005193
[ "MIT" ]
null
null
null
__version__='2.4.4'
10
19
0.7
4
20
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.157895
0.05
20
1
20
20
0.368421
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1073d666cfd0fde08a7e6f6f61a811a4b5f3d900
68
py
Python
Settings/DJANGO_SETTINGS_MODULE/os.environ.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
Settings/DJANGO_SETTINGS_MODULE/os.environ.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
Settings/DJANGO_SETTINGS_MODULE/os.environ.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
import os os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
17
56
0.779412
9
68
5.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.088235
68
3
57
22.666667
0.822581
0
0
0
0
0
0.544118
0.323529
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
108c675d411d8bad9b73176b34b553bebefc5a6b
1,306
py
Python
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/MESA/ycbcr_texture.py
temelkirci/Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
1
2022-03-02T17:07:20.000Z
2022-03-02T17:07:20.000Z
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/MESA/ycbcr_texture.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/MESA/ycbcr_texture.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
'''OpenGL extension MESA.ycbcr_texture This module customises the behaviour of the OpenGL.raw.GL.MESA.ycbcr_texture to provide a more Python-friendly API Overview (from the spec) This extension supports texture images stored in the YCbCr format. There is no support for converting YCbCr images to RGB or vice versa during pixel transfer. The texture's YCbCr colors are converted to RGB during texture sampling, after-which, all the usual per-fragment operations take place. Only 2D texture images are supported (not glDrawPixels, glReadPixels, etc). A YCbCr pixel (texel) is a 16-bit unsigned short with two components. The first component is luminance (Y). For pixels in even-numbered image columns, the second component is Cb. For pixels in odd-numbered image columns, the second component is Cr. If one were to convert the data to RGB one would need to examine two pixels from columns N and N+1 (where N is even) to deduce the RGB color. The official definition of this extension is available here: http://www.opengl.org/registry/specs/MESA/ycbcr_texture.txt ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions, wrapper from OpenGL.GL import glget import ctypes from OpenGL.raw.GL.MESA.ycbcr_texture import * ### END AUTOGENERATED SECTION
42.129032
72
0.788668
210
1,306
4.885714
0.566667
0.035088
0.062378
0.02924
0.130604
0.130604
0.077973
0
0
0
0
0.003643
0.159265
1,306
31
73
42.129032
0.930783
0.925727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
108e437b796fdc7d96e02e238189b2414430d8bb
46
py
Python
koofr/__init__.py
koofr/python-koofr
e4cf51fbc53a8889d9d9929ff5e3864a01af88d6
[ "MIT" ]
1
2019-09-02T15:07:04.000Z
2019-09-02T15:07:04.000Z
koofr/__init__.py
koofr/python-koofr
e4cf51fbc53a8889d9d9929ff5e3864a01af88d6
[ "MIT" ]
null
null
null
koofr/__init__.py
koofr/python-koofr
e4cf51fbc53a8889d9d9929ff5e3864a01af88d6
[ "MIT" ]
null
null
null
from client import KoofrClient VERSION = 0.1
11.5
30
0.782609
7
46
5.142857
1
0
0
0
0
0
0
0
0
0
0
0.052632
0.173913
46
3
31
15.333333
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1095e2537d2bdd9ebc28e12ee51f494a019e5a31
182
py
Python
examples/third_party/python/python2_test.py
KexianShen/rules_foreign_cc
9fc3411bb506de1e0d1fa91db0dbf7712d1028ae
[ "Apache-2.0" ]
null
null
null
examples/third_party/python/python2_test.py
KexianShen/rules_foreign_cc
9fc3411bb506de1e0d1fa91db0dbf7712d1028ae
[ "Apache-2.0" ]
null
null
null
examples/third_party/python/python2_test.py
KexianShen/rules_foreign_cc
9fc3411bb506de1e0d1fa91db0dbf7712d1028ae
[ "Apache-2.0" ]
null
null
null
import sys import platform if __name__ == "__main__": assert('python2_test.runfiles/python2/python2/bin/' in sys.executable) assert(platform.python_version() == "2.7.18")
20.222222
74
0.71978
24
182
5.041667
0.75
0
0
0
0
0
0
0
0
0
0
0.044586
0.137363
182
8
75
22.75
0.726115
0
0
0
0
0
0.309392
0.232044
0
0
0
0
0.4
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
10a4af93fc622422128173b55698c2ee8f5e89db
249
py
Python
idem/idem/compiler/0010_extend.py
brejoc/idem
12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a
[ "Apache-2.0" ]
16
2019-10-10T22:23:48.000Z
2022-03-23T18:12:37.000Z
idem/idem/compiler/0010_extend.py
brejoc/idem
12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a
[ "Apache-2.0" ]
14
2019-11-01T15:15:26.000Z
2020-02-10T15:42:55.000Z
idem/idem/compiler/0010_extend.py
brejoc/idem
12a901f60e77d6fc8a4c8a7496ac0b54b588cf7a
[ "Apache-2.0" ]
5
2019-10-15T11:54:11.000Z
2019-11-27T07:50:30.000Z
def stage(hub, name): ''' Take the highdata and reconcoile the extend keyword ''' high, errors = hub.idem.extend.reconcile(hub.idem.RUNS[name]['high']) hub.idem.RUNS[name]['high'] = high hub.idem.RUNS[name]['errors'] = errors
35.571429
73
0.64257
35
249
4.571429
0.457143
0.175
0.20625
0.28125
0.35625
0
0
0
0
0
0
0
0.184739
249
7
74
35.571429
0.788177
0.204819
0
0
0
0
0.076503
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
10b5467102827b0f438d17693937b469594e50a6
5,784
py
Python
geeksbot_web/guilds/views.py
dustinpianalto/geeksbot_web
ee02452dd5a61b0487706782020f9647ae202238
[ "MIT" ]
null
null
null
geeksbot_web/guilds/views.py
dustinpianalto/geeksbot_web
ee02452dd5a61b0487706782020f9647ae202238
[ "MIT" ]
null
null
null
geeksbot_web/guilds/views.py
dustinpianalto/geeksbot_web
ee02452dd5a61b0487706782020f9647ae202238
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework import status from rest_framework.permissions import IsAuthenticated from django.core.exceptions import ObjectDoesNotExist from utils.api_utils import PaginatedAPIView from .models import Guild from .models import Role from .utils import create_error_response from .utils import create_success_response from .utils import create_role_success_response # Create your views here. # API Views class GuildsAPI(PaginatedAPIView): permission_classes = [IsAuthenticated] def get(self, request, format=None): guilds = Guild.objects.all() page = self.paginate_queryset(guilds) if page is not None: return create_success_response(page, status.HTTP_200_OK, many=True) return create_success_response(guilds, status.HTTP_200_OK, many=True) def post(self, request, format=None): data = dict(request.data) return Guild.create_guild(data) class GuildDetail(APIView): permission_classes = [IsAuthenticated] def get(self, request, id, format=None): try: guild = Guild.objects.get(id=id) except ObjectDoesNotExist: return create_error_response("Guild Does not Exist", status=status.HTTP_404_NOT_FOUND) else: return create_success_response(guild, status=status.HTTP_200_OK) def put(self, request, id, format=None): guild = Guild.get_guild_by_id(id) if guild: data = dict(request.data) guild = guild.update_guild(data) return create_success_response(guild, status=status.HTTP_202_ACCEPTED) else: return create_error_response('Guild Does Not Exist', status=status.HTTP_404_NOT_FOUND) def delete(self, request, id, format=None): guild = Guild.get_guild_by_id(id) if guild: # data = dict(request.data) # TODO Add a check to verify user is allowed to delete... # Possibly in object permissions... guild.delete() return create_success_response(guild, status=status.HTTP_200_OK) else: return create_error_response('Guild Does Not Exist', status=status.HTTP_404_NOT_FOUND) class RolesAPI(PaginatedAPIView): permission_classes = [IsAuthenticated] def get(self, request, guild_id, format=None): roles = Role.get_guild_roles(guild_id) page = self.paginate_queryset(roles) if page is not None: return create_success_response(page, status.HTTP_200_OK, many=True) return create_success_response(roles, status.HTTP_200_OK, many=True) def post(self, request, guild_id, format=None): data = dict(request.data) return Role.add_new_role(guild_id, data) class AdminRolesAPI(APIView): permission_classes = [IsAuthenticated] def get(self, request, guild_id, format=None): roles = Role.get_admin_roles(guild_id) if roles: return create_role_success_response(roles, status=status.HTTP_200_OK, many=True) return create_error_response('There are no admin roles configured', status=status.HTTP_404_NOT_FOUND) def put(self, request, guild_id, format=None): data = dict(request.data) role = Role.get_role_by_id(guild_id, data['role']) if role: role = role.update_role({'role_type': 100}) return create_role_success_response(role, status=status.HTTP_202_ACCEPTED) return create_error_response("That role does not exist", status=status.HTTP_404_NOT_FOUND) class ModeratorRolesAPI(APIView): permission_classes = [IsAuthenticated] def get(self, request, guild_id, format=None): roles = Role.get_moderator_roles(guild_id) if roles: return create_role_success_response(roles, status=status.HTTP_200_OK, many=True) return create_error_response('There are no admin roles configured', status=status.HTTP_404_NOT_FOUND) def put(self, request, guild_id, format=None): data = dict(request.data) role = Role.get_role_by_id(guild_id, data['role']) if role: role = role.update_role({'role_type': 90}) return create_role_success_response(role, status=status.HTTP_202_ACCEPTED) return create_error_response("That role does not exist", status=status.HTTP_404_NOT_FOUND) class RoleDetailAPI(APIView): permission_classes = [IsAuthenticated] def get(self, request, guild_id, id, format=None): try: role = Role.objects.get(id=id) except ObjectDoesNotExist: return create_error_response("Guild Does not Exist", status=status.HTTP_404_NOT_FOUND) else: return create_role_success_response(role, status=status.HTTP_200_OK) def put(self, request, guild_id, id, format=None): role = Role.get_role_by_id(guild_id, id) if role: data = dict(request.data) role = role.update_role(data) return create_role_success_response(role, status=status.HTTP_202_ACCEPTED) else: return create_error_response('Guild Does Not Exist', status=status.HTTP_404_NOT_FOUND)
37.558442
92
0.624827
680
5,784
5.069118
0.139706
0.076588
0.083551
0.039164
0.78387
0.763563
0.75573
0.733972
0.677401
0.657963
0
0.017535
0.299965
5,784
153
93
37.803922
0.833786
0.025761
0
0.634783
0
0
0.043347
0
0
0
0
0.006536
0
1
0.113043
false
0
0.086957
0
0.513043
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
10bbdd040f0b9a97f31a2721ccd065ffc23831b7
6,385
py
Python
python/test/test_organizations_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
null
null
null
python/test/test_organizations_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
1
2021-01-20T00:20:01.000Z
2021-01-20T00:20:01.000Z
python/test/test_organizations_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ OpenLattice API OpenLattice API # noqa: E501 The version of the OpenAPI document: 0.0.1 Contact: support@openlattice.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import openlattice from openlattice.api.organizations_api import OrganizationsApi # noqa: E501 from openlattice.rest import ApiException class TestOrganizationsApi(unittest.TestCase): """OrganizationsApi unit test stubs""" def setUp(self): self.api = openlattice.api.organizations_api.OrganizationsApi() # noqa: E501 def tearDown(self): pass def test_add_member(self): """Test case for add_member Add member to an organization # noqa: E501 """ pass def test_add_role_to_user(self): """Test case for add_role_to_user Add a role to a user # noqa: E501 """ pass def test_assemble_entity_sets(self): """Test case for assemble_entity_sets Materializes entity sets into the organization database. # noqa: E501 """ pass def test_create_organization_if_not_exists(self): """Test case for create_organization_if_not_exists Creates an organization if it doesn't exist. # noqa: E501 """ pass def test_create_role(self): """Test case for create_role Creates role # noqa: E501 """ pass def test_delete_role(self): """Test case for delete_role Remove role for an organization # noqa: E501 """ pass def test_destroy_organization(self): """Test case for destroy_organization Remove an organization from the organizationId # noqa: E501 """ pass def test_get_all_users_of_role(self): """Test case for get_all_users_of_role Get members of a role for an organization from a roleId # noqa: E501 """ pass def test_get_auto_approved_email_domains(self): """Test case for get_auto_approved_email_domains Get auto-approved email domains # noqa: E501 """ pass def test_get_flagged_organization_entity_sets(self): """Test case for get_flagged_organization_entity_sets Get the entity sets for an organization for a certain flag # noqa: E501 """ pass def test_get_members(self): """Test case for get_members Get members of a certain organization # noqa: E501 """ pass def test_get_organization(self): """Test case for get_organization Get an organization from the organizationId # noqa: E501 """ pass def test_get_organization_database_name(self): """Test case for get_organization_database_name Get database name for an organization # noqa: E501 """ pass def test_get_organization_entity_sets(self): """Test case for get_organization_entity_sets Get the entity sets for an organization for a certain filter # noqa: E501 """ pass def test_get_organization_integration_account(self): """Test case for get_organization_integration_account Get the integrations account for an organization from the organizationId # noqa: E501 """ pass def test_get_organizations(self): """Test case for get_organizations Get all organizations # noqa: E501 """ pass def test_get_role(self): """Test case for get_role Get role for an organization from a roleId # noqa: E501 """ pass def test_get_roles(self): """Test case for get_roles Get roles for an organization # noqa: E501 """ pass def test_promote_staging_table(self): """Test case for promote_staging_table Moves the specified table from the staging schema to the openlattice schema in organization's external database # noqa: E501 """ pass def test_refresh_data_changes(self): """Test case for refresh_data_changes Refreshes the requested materialized entity set with data changes in the organization. # noqa: E501 """ pass def test_remove_auto_approved_email_domains(self): """Test case for remove_auto_approved_email_domains Remove auto-approved email domains # noqa: E501 """ pass def test_remove_member(self): """Test case for remove_member Remove member from an organization # noqa: E501 """ pass def test_remove_role_from_user(self): """Test case for remove_role_from_user Remove a role from a user # noqa: E501 """ pass def test_rename_organization_database(self): """Test case for rename_organization_database Rename the database of organization # noqa: E501 """ pass def test_set_auto_approved_email_domain(self): """Test case for set_auto_approved_email_domain Set auto-approved email domains # noqa: E501 """ pass def test_synchronize_edm_changes(self): """Test case for synchronize_edm_changes Synchronizes EDM changes to the requested materialized entity set in the organization. # noqa: E501 """ pass def test_transport_entity_set(self): """Test case for transport_entity_set Marks entity set for transporter for materialized views # noqa: E501 """ pass def test_update_description(self): """Test case for update_description Update the organization description # noqa: E501 """ pass def test_update_role_description(self): """Test case for update_role_description Update role description for an organization from a roleId # noqa: E501 """ pass def test_update_role_title(self): """Test case for update_role_title Update role title for an organization from a roleId # noqa: E501 """ pass def test_update_title(self): """Test case for update_title Update the organization title # noqa: E501 """ pass if __name__ == '__main__': unittest.main()
25.337302
133
0.638058
777
6,385
5.011583
0.153153
0.069851
0.087571
0.119414
0.588084
0.440421
0.317925
0.26528
0.165896
0.132768
0
0.023634
0.297572
6,385
251
134
25.438247
0.844593
0.506656
0
0.432432
1
0
0.003288
0
0
0
0
0
0
1
0.445946
false
0.432432
0.067568
0
0.527027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
529c00670c52006839cd54772165d027ea554199
1,172
py
Python
doc/sphinx/extensions/builders/dummy.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
doc/sphinx/extensions/builders/dummy.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
doc/sphinx/extensions/builders/dummy.py
bularcasergiu/Anjay
a76399199dc9569d58aebc4bf18c494ca2127292
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2017-2020 AVSystem <avsystem@avsystem.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. try: from sphinx.builders.dummy import DummyBuilder except ImportError: # dummy builder available in sphinx 1.4+ from sphinx.builders import Builder class DummyBuilder(Builder): name = 'dummy' allow_parallel = True def init(self): pass def get_outdated_docs(self): return self.env.found_docs def get_target_uri(self, docname, typ=None): return '' def prepare_writing(self, docnames): pass def write_doc(self, docname, doctree): pass def finish(self): pass
30.051282
74
0.709898
165
1,172
4.993939
0.636364
0.072816
0.031553
0.038835
0
0
0
0
0
0
0
0.016181
0.209044
1,172
38
75
30.842105
0.872708
0.541809
0
0
0
0
0.009615
0
0
0
0
0
0
1
0.461538
false
0.307692
0.230769
0.153846
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
52e4a9256d1db7b29235b4a7290736e07cc1798c
74
py
Python
run.py
KennyLingineni/MiniAmazon
95c72d3693466ca2265d0e13f2cb172e1a98c260
[ "Unlicense" ]
null
null
null
run.py
KennyLingineni/MiniAmazon
95c72d3693466ca2265d0e13f2cb172e1a98c260
[ "Unlicense" ]
null
null
null
run.py
KennyLingineni/MiniAmazon
95c72d3693466ca2265d0e13f2cb172e1a98c260
[ "Unlicense" ]
null
null
null
from amazon import app app.run(host='127.0.0.1', port=5008, debug=True)
14.8
48
0.702703
15
74
3.466667
0.866667
0
0
0
0
0
0
0
0
0
0
0.153846
0.121622
74
4
49
18.5
0.646154
0
0
0
0
0
0.123288
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
52eb8a538607dc9f9fd742c33dea6ad0899b706b
4,959
py
Python
lib/datasets/factory.py
VeloDC/DivMatch
d8d1599a051e10a9dfab1b075088f24a55fc89fd
[ "MIT" ]
null
null
null
lib/datasets/factory.py
VeloDC/DivMatch
d8d1599a051e10a9dfab1b075088f24a55fc89fd
[ "MIT" ]
null
null
null
lib/datasets/factory.py
VeloDC/DivMatch
d8d1599a051e10a9dfab1b075088f24a55fc89fd
[ "MIT" ]
null
null
null
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """Factory method for easily getting imdbs by name.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function __sets = {} import os from datasets.pascal_voc import pascal_voc from datasets.pascal_voc_integrated import pascal_voc_integrated from datasets.voc_clipart import voc_clipart from datasets.voc_watercolor import voc_watercolor from datasets.voc_comic import voc_comic from datasets.clipart import clipart from datasets.comic import comic from datasets.watercolor import watercolor # Set up voc_<year>_<split> for year in ['2007', '2012']: for split in ['train', 'val', 'trainval', 'test']: name = 'voc_{}_{}'.format(year, split) __sets[name] = (lambda split=split, year=year: pascal_voc(split, year, devkit_path='../faster-rcnn.pytorch/data/VOCdevkit2007')) # VOC clipart for split in ['trainval']: for shift in ['CP', 'R', 'CPR']: for data_percentage_split in ['', '_1_00', '_1_01', '_1_02']: name = 'clipart{}_{}_{}'.format(data_percentage_split, shift, split) __sets[name] = (lambda shift=shift, split=split, data_percentage_split=data_percentage_split: voc_clipart('clipart{}'.format(data_percentage_split), shift, split, devkit_path=os.path.join('datasets/', 'clipart{}_{}'.format(data_percentage_split, shift)))) # AMD test splits for split in ['test']: data_percentage_split = '' name = 'clipart{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: clipart('clipart{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'clipart{}'.format(data_percentage_split)))) name = 'comic{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: comic('comic{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'comic{}'.format(data_percentage_split)))) name = 'watercolor{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: watercolor('watercolor{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'watercolor{}'.format(data_percentage_split)))) # AMD train splits for split in ['train']: for data_percentage_split in ['', '_1_00', '_1_01', '_1_02']: name = 'clipart{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: clipart('clipart{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'clipart{}'.format(data_percentage_split)))) name = 'comic{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: comic('comic{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'comic{}'.format(data_percentage_split)))) name = 'watercolor{}_{}'.format(data_percentage_split, split) __sets[name] = (lambda split=split, data_percentage_split=data_percentage_split: watercolor('watercolor{}'.format(data_percentage_split), split, devkit_path=os.path.join('datasets/', 'watercolor{}'.format(data_percentage_split)))) # VOC watercolor for split in ['trainval']: for shift in ['CP', 'R', 'CPR']: for data_percentage_split in ['', '_1_00', '_1_01', '_1_02']: name = 'watercolor{}_{}_{}'.format(data_percentage_split, shift, split) __sets[name] = (lambda shift=shift, split=split, data_percentage_split=data_percentage_split: voc_watercolor('watercolor{}'.format(data_percentage_split), shift, split, devkit_path=os.path.join('datasets/', 'watercolor{}_{}'.format(data_percentage_split, shift)))) # VOC comic for split in ['trainval']: for shift in ['CP', 'R', 'CPR']: for data_percentage_split in ['', '_1_00', '_1_01', '_1_02']: name = 'comic{}_{}_{}'.format(data_percentage_split, shift, split) __sets[name] = (lambda shift=shift, split=split, data_percentage_split=data_percentage_split: voc_comic('comic{}'.format(data_percentage_split), shift, split, devkit_path=os.path.join('datasets/', 'comic{}_{}'.format(data_percentage_split, shift)))) # Set up voc_integrated for split in ['trainval']: name = 'voc_integrated_{}'.format(split) __sets[name] = (lambda split=split: pascal_voc_integrated(split, devkit_path='datasets/Pascal/VOCdevkit/VOC_Integrated')) def get_imdb(name): """Get an imdb (image database) by name.""" if name not in __sets: raise KeyError('Unknown dataset: {}'.format(name)) return __sets[name]() def list_imdbs(): """List all registered imdbs.""" return list(__sets.keys())
52.755319
272
0.717483
641
4,959
5.204368
0.140406
0.209832
0.284772
0.202338
0.678657
0.67476
0.646283
0.635192
0.635192
0.635192
0
0.011807
0.111918
4,959
93
273
53.322581
0.745686
0.094576
0
0.403509
0
0
0.145899
0.018153
0
0
0
0
0
1
0.035088
false
0
0.210526
0
0.280702
0.017544
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5e164603d1f116141a63c2d16412e3a190988e50
259
py
Python
api/admin.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
null
null
null
api/admin.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
null
null
null
api/admin.py
AnuragTimilsina/SchoolSystemAPI
9ac55dc862953a075dbdc69d5c4176742d8da5b6
[ "MIT" ]
1
2021-07-16T11:28:36.000Z
2021-07-16T11:28:36.000Z
from django.contrib import admin from .models import Choice, Question, Assignment, GradedAssignment # Register your models here. admin.site.register(Choice) admin.site.register(Question) admin.site.register(Assignment) admin.site.register(GradedAssignment)
25.9
66
0.826255
32
259
6.6875
0.4375
0.168224
0.317757
0
0
0
0
0
0
0
0
0
0.084942
259
9
67
28.777778
0.902954
0.100386
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
5e1fbd0813622d4d32ee0795e2a7c3e552248630
186
py
Python
magic_with_three.py
dhsgisc/ctfun
18f6be3ca0b8e4d874ade0399f1cdea4d13b3725
[ "MIT" ]
null
null
null
magic_with_three.py
dhsgisc/ctfun
18f6be3ca0b8e4d874ade0399f1cdea4d13b3725
[ "MIT" ]
null
null
null
magic_with_three.py
dhsgisc/ctfun
18f6be3ca0b8e4d874ade0399f1cdea4d13b3725
[ "MIT" ]
null
null
null
# Write a program which will generate a list of numbers from 1 to 100 inclusive. # When the number is a multiple of 3 or contains 3, show the symbol '@', else show the actual number.
46.5
102
0.736559
34
186
4.029412
0.764706
0.10219
0
0
0
0
0
0
0
0
0
0.041096
0.215054
186
3
103
62
0.89726
0.962366
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
5e3b9dd72d30f8e4f398dd58b6a628681d54ec82
108
py
Python
calibration.py
ty-zhao/IQ-calibration
59e20a92724aca0e5159fd271c7f9d5493b086a5
[ "MIT" ]
1
2021-04-02T23:04:02.000Z
2021-04-02T23:04:02.000Z
calibration.py
ty-zhao/IQ-calibration
59e20a92724aca0e5159fd271c7f9d5493b086a5
[ "MIT" ]
null
null
null
calibration.py
ty-zhao/IQ-calibration
59e20a92724aca0e5159fd271c7f9d5493b086a5
[ "MIT" ]
null
null
null
class IQCalib(object): def __init__(self, xpts, ypts): self.xpts = xpts self.ypts = ypts
27
35
0.601852
14
108
4.357143
0.571429
0.262295
0
0
0
0
0
0
0
0
0
0
0.287037
108
4
36
27
0.792208
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
eaae85ed1fa05a044011f1097b94e888c13ab7dc
247
py
Python
terrascript/provider/postgresql.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/provider/postgresql.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/provider/postgresql.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/provider/postgresql.py import terrascript class postgresql(terrascript.Provider): """Terraform PostgreSQL provider""" __description__ = "Terraform PostgreSQL provider" __version__ = "1.11.2" __all__ = ["postgresql"]
19
53
0.740891
23
247
7.434783
0.565217
0.222222
0.315789
0
0
0
0
0
0
0
0
0.019048
0.149798
247
12
54
20.583333
0.795238
0.263158
0
0
0
0
0.255682
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
eab4b6ee5960dbdda02bf3f8e54886bea5821465
68
py
Python
wenhu/articles/tests/__init__.py
agamgn/django-QAA
b14ea0e6011da61c2a5ac92c24903b1372cb7fbc
[ "MIT" ]
9
2019-06-09T07:17:23.000Z
2020-04-20T03:28:08.000Z
wenhu/search/__init__.py
agamgn/django-QAA
b14ea0e6011da61c2a5ac92c24903b1372cb7fbc
[ "MIT" ]
null
null
null
wenhu/search/__init__.py
agamgn/django-QAA
b14ea0e6011da61c2a5ac92c24903b1372cb7fbc
[ "MIT" ]
3
2019-06-12T07:39:06.000Z
2020-07-22T17:50:20.000Z
#!/usr/bin/python3 # -*- coding:utf-8 -*- # __author__ = '__Jack__'
17
25
0.602941
8
68
4.125
1
0
0
0
0
0
0
0
0
0
0
0.033898
0.132353
68
3
26
22.666667
0.525424
0.911765
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
eac9ba1f90d28838a58d64e97a95efb6ccec8c79
339
py
Python
core/state.py
kraftwerk28/Telephon
f97b1dacfcd126beb5392804155b728f800ff704
[ "MIT" ]
1
2020-04-08T17:38:53.000Z
2020-04-08T17:38:53.000Z
core/state.py
kraftwerk28/Telephon
f97b1dacfcd126beb5392804155b728f800ff704
[ "MIT" ]
null
null
null
core/state.py
kraftwerk28/Telephon
f97b1dacfcd126beb5392804155b728f800ff704
[ "MIT" ]
1
2020-04-13T12:23:42.000Z
2020-04-13T12:23:42.000Z
from typing import Tuple, Dict class State: '''Telephon's serializable state''' def __init__(self): self.autorm: Dict[int, Tuple[int, int]] = {} def __repr__(self): return 'State: ' + repr(vars(self)) def save(self): pass def restore(filename: str = '') -> 'State': return State()
18.833333
52
0.572271
40
339
4.65
0.575
0.11828
0
0
0
0
0
0
0
0
0
0
0.280236
339
17
53
19.941176
0.762295
0.085546
0
0
0
0
0.039474
0
0
0
0
0
0
1
0.4
false
0.1
0.1
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
d8101f23eaad982a345c95935d09843d4b6771f3
71
py
Python
georiviere/observations/__init__.py
Georiviere/Georiviere-admin
f59e1b979a758958a64899916b8b72d580128ee9
[ "BSD-2-Clause" ]
7
2021-11-05T14:52:25.000Z
2022-03-24T21:18:02.000Z
georiviere/observations/__init__.py
Georiviere/Georiviere-admin
f59e1b979a758958a64899916b8b72d580128ee9
[ "BSD-2-Clause" ]
57
2021-11-02T10:27:34.000Z
2022-03-31T14:08:32.000Z
georiviere/observations/__init__.py
Georiviere/Georiviere-admin
f59e1b979a758958a64899916b8b72d580128ee9
[ "BSD-2-Clause" ]
1
2021-12-05T14:55:42.000Z
2021-12-05T14:55:42.000Z
default_app_config = 'georiviere.observations.apps.ObservationsConfig'
35.5
70
0.873239
7
71
8.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.042254
71
1
71
71
0.882353
0
0
0
0
0
0.661972
0.661972
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
dc209118e9cff72c45c100a81f5c87018ffa7c2d
4,863
py
Python
tests/test_filter.py
npmmirror/wecube-plugins-itsdangerous
6c13da050483367907e688026876a657d6001b30
[ "Apache-2.0" ]
9
2020-09-11T03:21:08.000Z
2021-07-16T05:52:45.000Z
tests/test_filter.py
npmmirror/wecube-plugins-itsdangerous
6c13da050483367907e688026876a657d6001b30
[ "Apache-2.0" ]
5
2020-09-03T07:34:53.000Z
2021-02-01T07:31:45.000Z
tests/test_filter.py
npmmirror/wecube-plugins-itsdangerous
6c13da050483367907e688026876a657d6001b30
[ "Apache-2.0" ]
2
2020-09-11T03:21:12.000Z
2022-02-12T03:08:38.000Z
# coding=utf-8 import pytest from wecube_plugins_itsdangerous.common import jsonfilter data_list = [ { 'id': 1, 'empty_string': '', 'a': 11, 'b': 12.3, 'c': 'def1', 'g': [14, 15], 'h': ['16', '17'] }, { 'id': 2, 'empty_array': [], 'a': 21, 'b': 22.3, 'c': 'def2', 'g': [24, 25], 'h': ['26', '27'] }, { 'id': 3, 'empty_object': {}, 'a': 31, 'b': 32.3, 'c': 'def3', 'g': [34, 35], 'h': ['36', '37'] }, { 'id': 4, 'a': 41, 'b': 42.3, 'c': 'deF4', 'g': [44, 45], 'h': ['46', '47'] }, { 'id': 5, 'a': 51, 'b': 52.3, 'c': 'deF5', 'g': [54, 55], 'h': ['56', '57'] }, ] def get_match(filters, rows): results = [] for r in rows: if jsonfilter.match_all(filters, r): results.append(r) return results def test_filter_set(): assert len(get_match([{'name': 'id', 'operator': 'set'}], data_list)) == 5 assert len(get_match([{'name': 'id', 'operator': 'set', 'value': None}], data_list)) == 5 assert len(get_match([{'name': 'id', 'operator': 'notset'}], data_list)) == 0 assert len(get_match([{'name': 'id_not_exists', 'operator': 'notset'}], data_list)) == 5 assert len(get_match([{'name': 'empty_string', 'operator': 'notset'}], data_list)) == 5 assert len(get_match([{'name': 'empty_array', 'operator': 'notset'}], data_list)) == 5 assert len(get_match([{'name': 'empty_object', 'operator': 'notset'}], data_list)) == 5 def test_filter_null(): assert len(get_match([{'name': 'empty_string', 'operator': 'null', 'value': ''}], data_list)) == 4 assert len(get_match([{'name': 'empty_array', 'operator': 'null', 'value': ''}], data_list)) == 4 assert len(get_match([{'name': 'empty_object', 'operator': 'null', 'value': ''}], data_list)) == 4 assert len(get_match([{'name': 'empty_object', 'operator': 'notnull', 'value': ''}], data_list)) == 1 def test_filter_like(): assert len(get_match([{'name': 'c', 'operator': 'like', 'value': 'def'}], data_list)) == 3 assert len(get_match([{'name': 'c', 'operator': 'like', 'value': 'deF'}], data_list)) == 2 assert len(get_match([{'name': 'c', 'operator': 'ilike', 'value': 'deF'}], data_list)) == 5 assert len(get_match([{'name': 'c', 'operator': 'ilike', 'value': 'Def'}], data_list)) == 5 def test_filter_eq(): assert len(get_match([{'name': 'id', 'operator': 'eq', 'value': 2}], data_list)) == 1 assert len(get_match([{'name': 'c', 'operator': 'eq', 'value': 'def1'}], data_list)) == 1 assert len(get_match([{'name': 'g', 'operator': 'eq', 'value': 34}], data_list)) == 1 assert get_match([{'name': 'g', 'operator': 'eq', 'value': 34}], data_list)[0]['id'] == 3 assert len(get_match([{'name': 'h', 'operator': 'eq', 'value': '26'}], data_list)) == 1 assert get_match([{'name': 'h', 'operator': 'eq', 'value': '27'}], data_list)[0]['id'] == 2 def test_filter_neq(): assert len(get_match([{'name': 'id', 'operator': 'neq', 'value': 2}], data_list)) == 4 assert len(get_match([{'name': 'g', 'operator': 'neq', 'value': 55}], data_list)) == 4 assert len(get_match([{'name': 'h', 'operator': 'neq', 'value': '57'}], data_list)) == 4 def test_filter_gtlt(): assert len(get_match([{'name': 'id', 'operator': 'gt', 'value': 3}], data_list)) == 2 assert len(get_match([{'name': 'id', 'operator': 'gte', 'value': 3}], data_list)) == 3 assert len(get_match([{'name': 'id', 'operator': 'lt', 'value': 2}], data_list)) == 1 assert len(get_match([{'name': 'id', 'operator': 'lte', 'value': 3}], data_list)) == 3 assert len(get_match([{'name': 'b', 'operator': 'gt', 'value': 52}], data_list)) == 1 def test_filter_regex(): assert len(get_match([{'name': 'c', 'operator': 'regex', 'value': 'd[a-z0-9]+$'}], data_list)) == 3 assert len(get_match([{'name': 'c', 'operator': 'regex', 'value': 'd[a-zA-Z0-9]+$'}], data_list)) == 5 assert len(get_match([{'name': 'c', 'operator': 'iregex', 'value': 'd[a-z0-9]+$'}], data_list)) == 5 assert len(get_match([{'name': 'h', 'operator': 'regex', 'value': '3\d'}], data_list)) == 1 assert len(get_match([{'name': 'h', 'operator': 'iregex', 'value': '4\d'}], data_list)) == 1 def test_filter_regex(): assert len(get_match([{'name': 'a', 'operator': 'in', 'value': [21, 51]}], data_list)) == 2 assert len(get_match([{'name': 'id', 'operator': 'notin', 'value': [1, 2, 3, 4]}], data_list)) == 1 assert len(get_match([{'name': 'id', 'operator': 'nin', 'value': [1, 2, 3, 4]}], data_list)) == 1 assert len(get_match([{'name': 'c', 'operator': 'in', 'value': ['def3', 'deF4', 'nothing']}], data_list)) == 2
40.525
114
0.522106
658
4,863
3.693009
0.165654
0.128395
0.187654
0.251852
0.739918
0.737449
0.704115
0.606996
0.521399
0.521399
0
0.041309
0.208513
4,863
120
114
40.525
0.590023
0.002468
0
0.020202
0
0
0.224742
0
0
0
0
0
0.383838
1
0.090909
false
0
0.020202
0
0.121212
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
dc3690a35450c5942090caeb3b914285197273e4
29
py
Python
oldstuff/tutorial2/tutorial2/lib/python3.8/hashlib.py
miusuarioamigo/python-Le
dbb653255dab7d11b87f25eec94bcce63a86aa42
[ "MIT" ]
6
2020-08-04T13:12:42.000Z
2020-08-16T13:26:19.000Z
oldstuff/tutorial2/tutorial2/lib/python3.8/hashlib.py
miusuarioamigo/python-Le
dbb653255dab7d11b87f25eec94bcce63a86aa42
[ "MIT" ]
19
2020-02-03T10:46:48.000Z
2022-01-13T03:06:15.000Z
oldstuff/tutorial2/tutorial2/lib/python3.8/hashlib.py
miusuarioamigo/python-Le
dbb653255dab7d11b87f25eec94bcce63a86aa42
[ "MIT" ]
6
2021-04-02T11:36:48.000Z
2022-03-22T09:39:34.000Z
/usr/lib/python3.8/hashlib.py
29
29
0.793103
6
29
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.068966
0
29
1
29
29
0.724138
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
dc549786da860997f2f25bf75972ba28205311ec
83
py
Python
sphinx_express/__init__.py
iisaka51/sphinx-express
22369f3448f9f2029167dfe9520c6b812cd5a88c
[ "MIT" ]
null
null
null
sphinx_express/__init__.py
iisaka51/sphinx-express
22369f3448f9f2029167dfe9520c6b812cd5a88c
[ "MIT" ]
null
null
null
sphinx_express/__init__.py
iisaka51/sphinx-express
22369f3448f9f2029167dfe9520c6b812cd5a88c
[ "MIT" ]
null
null
null
# from .versions import __AUTHOR__, __VERSION__, __LICENSE__ from .core import app
20.75
58
0.807229
10
83
5.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.13253
83
3
59
27.666667
0.763889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
dc7f7e9b0795b648a33d613eab451914bfa47b5e
18,580
py
Python
SUAVE/SUAVE-2.5.0/regression/scripts/V_n_diagram/V_n_diagram_regression.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/regression/scripts/V_n_diagram/V_n_diagram_regression.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/regression/scripts/V_n_diagram/V_n_diagram_regression.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
# test_Weights.py import SUAVE import numpy as np from SUAVE.Core import Units from SUAVE.Methods.Performance import V_n_diagram from SUAVE.Core import ( Data, Container, ) from SUAVE.Methods.Propulsion.turbofan_sizing import turbofan_sizing import sys sys.path.append('../Vehicles') # the analysis functions # Part 23 # aerobatic category from Yak54_wing_only import vehicle_setup as vehicle_setup_Yak54 from SU29_wing_only import vehicle_setup as vehicle_setup_SU29 # normal category from Cirrus_SR22_wing_only import vehicle_setup as vehicle_setup_SR22 from Piper_M350_wing_only import vehicle_setup as vehicle_setup_Piper_M350 # commuter category from Tecnam_P2012_wing_only import vehicle_setup as vehicle_setup_Tecnam_P2012 from DHC6_TwinOtter_wing_only import vehicle_setup as vehicle_setup_DHC6_TwinOtter # utility category from HAIG_Y12_wing_only import vehicle_setup as vehicle_setup_HAIG_Y12 from Pilatus_PC12_wing_only import vehicle_setup as vehicle_setup_Pilatus_PC12 def main(): analyses = SUAVE.Analyses.Vehicle() # ------------------------------------------------------------------ # Planet Analysis planet = SUAVE.Analyses.Planets.Planet() analyses.append(planet) # ------------------------------------------------------------------ # Atmosphere Analysis atmosphere = SUAVE.Analyses.Atmospheric.US_Standard_1976() atmosphere.features.planet = planet.features analyses.append(atmosphere) altitude = 0 * Units.m delta_ISA = 0 # Part 23 aircraft #-------------------------------------------------------------------------- #------------------------------------------------ # Aerobatic category aircraft regression test #------------------------------------------------ # Yakovlev Yak - 54 #--------------------------------------------- vehicle = vehicle_setup_Yak54() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 57.93213 actual.Vs1_neg = 57.93213 actual.Va_pos = 173.79638 actual.Va_neg = 153.274 actual.Vc = 199.86584 actual.Vd = 229.84571 actual.limit_load_pos = 9 actual.limit_load_neg = -7 actual.dive_limit_load_pos = 9 actual.dive_limit_load_neg = -1.313253 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- # Sukhoi Su - 29 #--------------------------------------------- vehicle = vehicle_setup_SU29() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 58.1772 actual.Vs1_neg = 58.1772 actual.Va_pos = 142.5044 actual.Va_neg = 100.7658 actual.Vc = 163.8801 actual.Vd = 212.0243 actual.limit_load_pos = 6 actual.limit_load_neg = -3 actual.dive_limit_load_pos = 6 actual.dive_limit_load_neg = -1.126836 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #------------------------------------------------ # Normal category aircraft regression test #------------------------------------------------ # Cirrus SR - 22 #--------------------------------------------- vehicle = vehicle_setup_SR22() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 45.47889 actual.Vs1_neg = 54.76384 actual.Va_pos = 88.65468 actual.Va_neg = 67.51739 actual.Vc = 105.8268 actual.Vd = 147.2140 actual.limit_load_pos = 4.53441 actual.limit_load_neg = -2.534413 actual.dive_limit_load_pos = 3.8 actual.dive_limit_load_neg = -1.458333 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- # Piper M350 #--------------------------------------------- vehicle = vehicle_setup_Piper_M350() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 72.3381 actual.Vs1_neg = 76.8636 actual.Va_pos = 140.52111 actual.Va_neg = 94.433205 actual.Vc = 165.35441 actual.Vd = 227.75333 actual.limit_load_pos = 3.7735348 actual.limit_load_neg = -1.509414 actual.dive_limit_load_pos = 3.7735348 actual.dive_limit_load_neg = -0.4633023 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- #------------------------------------------------ # Commuter category aircraft regression test #------------------------------------------------ # Tecnam P2012 #--------------------------------------------- vehicle = vehicle_setup_Tecnam_P2012() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 84.3000 actual.Vs1_neg = 89.21476 actual.Va_pos = 156.2416 actual.Va_neg = 109.2653 actual.Vc = 198.4253 actual.Vd = 260.4157 actual.limit_load_pos = 3.435089 actual.limit_load_neg = -1.5 actual.dive_limit_load_pos = 3.435089 actual.dive_limit_load_neg = -0.3706622 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- # DHC-6 Twin Otter #--------------------------------------------- vehicle = vehicle_setup_DHC6_TwinOtter() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 79.2618 actual.Vs1_neg = 84.2203 actual.Va_pos = 141.0472 actual.Va_neg = 94.7867 actual.Vc = 198.4253 actual.Vd = 246.9155 actual.limit_load_pos = 3.5066162 actual.limit_load_neg = -1.506615 actual.dive_limit_load_pos = 3.166656 actual.dive_limit_load_neg = -0.559585 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- #------------------------------------------------ # Utility category aircraft regression test #------------------------------------------------ # HAIG - Y12 #--------------------------------------------- vehicle = vehicle_setup_HAIG_Y12() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 81.4788 actual.Vs1_neg = 86.5761 actual.Va_pos = 170.9114 actual.Va_neg = 114.8561 actual.Vc = 198.4253 actual.Vd = 268.4589 actual.limit_load_pos = 4.4 actual.limit_load_neg = -1.76 actual.dive_limit_load_pos = 4.4 actual.dive_limit_load_neg = -1 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) #-------------------------------------------------------------------------------------------------------------------- # Pilatus PC - 12 #--------------------------------------------- vehicle = vehicle_setup_Pilatus_PC12() weight = vehicle.mass_properties.max_takeoff V_n_data = V_n_diagram(vehicle,analyses,weight,altitude,delta_ISA) # regression values actual = Data() actual.Vs1_pos = 89.2905 actual.Vs1_neg = 94.8765 actual.Va_pos = 187.2974 actual.Va_neg = 125.8679 actual.Vc = 231.4961 actual.Vd = 288.7028 actual.limit_load_pos = 4.4 actual.limit_load_neg = -1.76 actual.dive_limit_load_pos = 4.4 actual.dive_limit_load_neg = -1 # error calculations error = Data() error.Vs1_pos = (actual.Vs1_pos - V_n_data.Vs1.positive)/actual.Vs1_pos error.Vs1_neg = (actual.Vs1_neg - V_n_data.Vs1.negative)/actual.Vs1_neg error.Va_pos = (actual.Va_pos - V_n_data.Va.positive)/actual.Va_pos error.Va_neg = (actual.Va_neg - V_n_data.Va.negative)/actual.Va_neg error.Vc = (actual.Vc - V_n_data.Vc)/actual.Vc error.Vd = (actual.Vd - V_n_data.Vd)/actual.Vd error.limit_load_pos = (actual.limit_load_pos - V_n_data.limit_loads.positive)/actual.limit_load_pos error.limit_load_neg = (actual.limit_load_neg - V_n_data.limit_loads.negative)/actual.limit_load_neg error.dive_limit_load_pos = (actual.dive_limit_load_pos - V_n_data.limit_loads.dive.positive)/actual.dive_limit_load_pos error.dive_limit_load_neg = (actual.dive_limit_load_neg - V_n_data.limit_loads.dive.negative)/actual.dive_limit_load_neg for k,v in error.items(): assert(np.abs(v)<1E-6) # ---------------------------------------------------------------------- # Call Main # ---------------------------------------------------------------------- if __name__ == '__main__': main()
49.812332
129
0.545318
2,259
18,580
4.138114
0.097831
0.123235
0.056483
0.097561
0.784553
0.765404
0.726573
0.726573
0.692341
0.692341
0
0.048696
0.281593
18,580
372
130
49.946237
0.651633
0.139666
0
0.567347
0
0
0.001194
0
0
0
0
0
0.032653
1
0.004082
false
0
0.061224
0
0.065306
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
dc8d6a9eb47ee93b415a904fc5c217822afddd67
130
py
Python
server/numbers.py
rkv338/note.ai
934d64ccd235adbcc1bf6697626db8169bbc9ae3
[ "MIT" ]
1
2020-09-19T13:45:06.000Z
2020-09-19T13:45:06.000Z
server/numbers.py
abhinavk99/note.ai
934d64ccd235adbcc1bf6697626db8169bbc9ae3
[ "MIT" ]
null
null
null
server/numbers.py
abhinavk99/note.ai
934d64ccd235adbcc1bf6697626db8169bbc9ae3
[ "MIT" ]
null
null
null
import re def has_numbers(line): searchObj = re.search(r'[0-9]', line, re.M | re.I) return True if searchObj else False
18.571429
54
0.661538
23
130
3.695652
0.782609
0
0
0
0
0
0
0
0
0
0
0.019417
0.207692
130
6
55
21.666667
0.805825
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
dc9ec618b664bade0504ddc105e1ee128f30f7f4
251
py
Python
wagtail/contrib/modeladmin/apps.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
8,851
2016-12-09T19:01:45.000Z
2022-03-31T04:45:06.000Z
wagtail/contrib/modeladmin/apps.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
5,197
2016-12-09T19:24:37.000Z
2022-03-31T22:17:55.000Z
wagtail/contrib/modeladmin/apps.py
brownaa/wagtail
c97bc56c6822eb1b6589d5c33e07f71acfc48845
[ "BSD-3-Clause" ]
2,548
2016-12-09T18:16:55.000Z
2022-03-31T21:34:38.000Z
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class WagtailModelAdminAppConfig(AppConfig): name = 'wagtail.contrib.modeladmin' label = 'wagtailmodeladmin' verbose_name = _("Wagtail ModelAdmin")
27.888889
54
0.780876
26
251
7.384615
0.730769
0.104167
0
0
0
0
0
0
0
0
0
0
0.143426
251
8
55
31.375
0.893023
0
0
0
0
0
0.243028
0.103586
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
dcb5c8bf0c948912d66e268ab971b6e82300a5f4
237
py
Python
spider/spider/featurization/audio_slicer/__init__.py
Rosna/P4ML-UI
edf0dd830588f03b197e4d6532830a5aedd88424
[ "Apache-2.0" ]
1
2021-11-05T17:42:47.000Z
2021-11-05T17:42:47.000Z
spider/spider/featurization/audio_slicer/__init__.py
Rosna/P4ML-UI
edf0dd830588f03b197e4d6532830a5aedd88424
[ "Apache-2.0" ]
null
null
null
spider/spider/featurization/audio_slicer/__init__.py
Rosna/P4ML-UI
edf0dd830588f03b197e4d6532830a5aedd88424
[ "Apache-2.0" ]
2
2019-02-21T18:29:51.000Z
2019-09-02T21:21:26.000Z
""" spider.preprocessing.audio_slicer sub-package __init__.py @author: Max Morrison Primitive that slices audio files into equal-length clips defines the module index """ from .audio_slicer import AudioSlicer
16.928571
61
0.721519
29
237
5.689655
0.896552
0.133333
0
0
0
0
0
0
0
0
0
0
0.219409
237
13
62
18.230769
0.891892
0.696203
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
dcb9e3a6a9349d7c7e0381fb672d02de4e1d6e9c
700
py
Python
sdk/aqualink_sdk/__init__.py
aqualinkorg/aqualink-sdk
dad972d1dd5b74e8216bdc30521a8b76f7844733
[ "MIT" ]
1
2022-02-06T23:05:37.000Z
2022-02-06T23:05:37.000Z
sdk/aqualink_sdk/__init__.py
aqualinkorg/aqualink-sdk
dad972d1dd5b74e8216bdc30521a8b76f7844733
[ "MIT" ]
3
2022-02-07T06:13:31.000Z
2022-03-11T12:43:39.000Z
sdk/aqualink_sdk/__init__.py
aqualinkorg/aqualink-sdk
dad972d1dd5b74e8216bdc30521a8b76f7844733
[ "MIT" ]
null
null
null
# flake8: noqa """ Aqualink API documentation The Aqualink public API documentation # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ __version__ = "1.0.0" # import ApiClient from aqualink_sdk.api_client import ApiClient # import Configuration from aqualink_sdk.configuration import Configuration # import exceptions from aqualink_sdk.exceptions import OpenApiException from aqualink_sdk.exceptions import ApiAttributeError from aqualink_sdk.exceptions import ApiTypeError from aqualink_sdk.exceptions import ApiValueError from aqualink_sdk.exceptions import ApiKeyError from aqualink_sdk.exceptions import ApiException
25
55
0.814286
86
700
6.476744
0.372093
0.172352
0.21544
0.2693
0.333932
0
0
0
0
0
0
0.016529
0.135714
700
27
56
25.925926
0.904132
0.34
0
0
1
0
0.011494
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f4ac2cb5b062c08f9a2a536c99350b4fc2a5d8e4
129
py
Python
drive/storage/admin.py
Maruthi-Sai/drive
fb40e101ce8d27f5d04cfa0c65ba23dad769ac4a
[ "MIT" ]
null
null
null
drive/storage/admin.py
Maruthi-Sai/drive
fb40e101ce8d27f5d04cfa0c65ba23dad769ac4a
[ "MIT" ]
null
null
null
drive/storage/admin.py
Maruthi-Sai/drive
fb40e101ce8d27f5d04cfa0c65ba23dad769ac4a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import DriveFolder # Register your models here. admin.site.register(DriveFolder)
18.428571
32
0.813953
17
129
6.176471
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.124031
129
7
33
18.428571
0.929204
0.20155
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f4b47b7b2cc9e3ae876e7173ba41888bd5e35d09
1,512
py
Python
Riglsable_Files/setup.py
BrktrLawliet/Riglsable
fdefc65d32f2e8cda07f80b156c4fe5c67a1811a
[ "MIT" ]
2
2021-01-03T16:27:35.000Z
2021-01-04T14:04:43.000Z
Riglsable_Files/setup.py
Brktrlw/Riglsable
fdefc65d32f2e8cda07f80b156c4fe5c67a1811a
[ "MIT" ]
null
null
null
Riglsable_Files/setup.py
Brktrlw/Riglsable
fdefc65d32f2e8cda07f80b156c4fe5c67a1811a
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import time x=0 while x<3: print("\033[1;32mPlease wait,loading.") print("\033[0;33mContinue the questions by pressing the letter \033[0;34mY.\033[0;37m") time.sleep(0.5) os.system("clear") print("\033[1;32mPlease wait,loading..") print("\033[0;33mContinue the questions by pressing the letter \033[0;34mY.\033[0;37m") time.sleep(0.5) os.system("clear") print("\033[1;32mPlease wait,loading...\033[0;33m") print("\033[0;33mContinue the questions by pressing the letter \033[0;34mY.\033[0;37m") time.sleep(0.5) os.system("clear") x+=1 os.system("sudo apt-get update") os.system("sudo apt-get install git") os.system("sudo apt-get install dnsutils") os.system("sudo apt-get install nmap") os.system("sudo apt-get install wafw00f") os.system("sudo apt-get instal dnsmap") os.system("sudo apt-get install nikto") os.system("sudo apt-get install dirb") os.system("sudo apt-get install dmitry") os.system("sudo apt-get install dsniff") os.system("sudo apt-get install macchanger") os.system("sudo apt-get install netdiscover") os.system("sudo apt-get install driftnet") os.system("sudo apt install python3-pip") os.system("sudo apt-get install python3") os.system("sudo apt-get install python3-pyqt5") os.system("sudo apt-get install python3-pyqt5.qtsql") os.system("sudo apt-get install qttools5-dev-tools") os.system("sudo pip install wafw00f==0.9.4") os.system("sudo apt-get install nmap") print(""" \033[1;32mInstallation completed successfully. """) time.sleep(2)
35.162791
88
0.733466
260
1,512
4.265385
0.234615
0.165915
0.216411
0.256988
0.750225
0.717764
0.469793
0.388638
0.321912
0.321912
0
0.079179
0.097884
1,512
42
89
36
0.733871
0.013228
0
0.268293
0
0.073171
0.655265
0.075788
0
0
0
0
0
1
0
false
0
0.04878
0
0.04878
0.170732
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4