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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
020072fbf32b47e4e29d8253740b299d0dca9b97
| 152
|
py
|
Python
|
demo_sites/simple_image_upload/apps.py
|
zhangyi886/django-aliyun-oss2-storage
|
f3dabae302d4c53f5da661bac77b551f4aa0a6c9
|
[
"MIT"
] | 104
|
2016-03-09T08:40:29.000Z
|
2021-07-29T02:35:26.000Z
|
demo_sites/simple_image_upload/apps.py
|
zhangyi886/django-aliyun-oss2-storage
|
f3dabae302d4c53f5da661bac77b551f4aa0a6c9
|
[
"MIT"
] | 27
|
2016-04-03T03:06:23.000Z
|
2020-01-14T13:25:56.000Z
|
demo_sites/simple_image_upload/apps.py
|
zhangyi886/django-aliyun-oss2-storage
|
f3dabae302d4c53f5da661bac77b551f4aa0a6c9
|
[
"MIT"
] | 43
|
2016-08-25T05:07:34.000Z
|
2022-02-09T03:28:10.000Z
|
from __future__ import unicode_literals
from django.apps import AppConfig
class SimpleImageUploadConfig(AppConfig):
name = 'simple_image_upload'
| 19
| 41
| 0.822368
| 17
| 152
| 6.941176
| 0.823529
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131579
| 152
| 7
| 42
| 21.714286
| 0.893939
| 0
| 0
| 0
| 0
| 0
| 0.125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 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
|
0233380c22e35d085e69efe51ac40e0bed6c3c23
| 83
|
py
|
Python
|
app/admin.py
|
ErikBoesen/RDB
|
6c993a39035fafadf56ba505fcb482f07f9cf6bd
|
[
"Unlicense",
"MIT"
] | 1
|
2021-04-22T18:16:03.000Z
|
2021-04-22T18:16:03.000Z
|
app/admin.py
|
ErikBoesen/RDB
|
6c993a39035fafadf56ba505fcb482f07f9cf6bd
|
[
"Unlicense",
"MIT"
] | 2
|
2021-01-26T20:30:37.000Z
|
2021-04-22T18:41:45.000Z
|
app/admin.py
|
ErikBoesen/RDB
|
6c993a39035fafadf56ba505fcb482f07f9cf6bd
|
[
"Unlicense",
"MIT"
] | 1
|
2021-04-22T18:16:08.000Z
|
2021-04-22T18:16:08.000Z
|
from django.contrib import admin
from .models import Lab
admin.site.register(Lab)
| 16.6
| 32
| 0.807229
| 13
| 83
| 5.153846
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.120482
| 83
| 4
| 33
| 20.75
| 0.917808
| 0
| 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
|
023baf2e7240f26b3dc8882d269af33e60f5f206
| 603
|
py
|
Python
|
annokey/hash.py
|
bjpop/annokey
|
0a2f66203afb80376942e4b8d6d349297513a344
|
[
"BSD-3-Clause"
] | 4
|
2016-06-22T19:50:31.000Z
|
2020-12-27T07:26:31.000Z
|
annokey/hash.py
|
kroman4/annokey
|
4141295626e97d6e34f19979501cef769c66dd89
|
[
"BSD-3-Clause"
] | null | null | null |
annokey/hash.py
|
kroman4/annokey
|
4141295626e97d6e34f19979501cef769c66dd89
|
[
"BSD-3-Clause"
] | 2
|
2019-08-19T20:35:02.000Z
|
2019-08-19T20:40:30.000Z
|
'''
A stable hash function for strings.
The built-in hash function in Python is not guaranteed to
produce the same results over different versions of Python.
We use the hash function to generate file paths, so we need
a version which is stable across versions of Python.
'''
import hashlib
def stable_string_hash(string):
'''A hash function for strings based on MD5 hashing which should be stable
across Python implementations, unlike the built-in hash function.
It doesn't matter if this is slow because we don't call it often.
'''
return int(hashlib.md5(string).hexdigest(), 16)
| 35.470588
| 78
| 0.756219
| 98
| 603
| 4.632653
| 0.591837
| 0.132159
| 0.066079
| 0.096916
| 0.096916
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008147
| 0.185738
| 603
| 16
| 79
| 37.6875
| 0.916497
| 0.779436
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
025e061048e917eab119935a0dbaccf35d920e8f
| 40
|
py
|
Python
|
cadastro.py
|
Sirleosanto/Teste
|
b01866d532b0e083f90fff7e41de1cd5702e9d3d
|
[
"Apache-2.0"
] | null | null | null |
cadastro.py
|
Sirleosanto/Teste
|
b01866d532b0e083f90fff7e41de1cd5702e9d3d
|
[
"Apache-2.0"
] | null | null | null |
cadastro.py
|
Sirleosanto/Teste
|
b01866d532b0e083f90fff7e41de1cd5702e9d3d
|
[
"Apache-2.0"
] | null | null | null |
print ('test')
x=input('digite aqui: ')
| 13.333333
| 24
| 0.625
| 6
| 40
| 4.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 40
| 2
| 25
| 20
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0.425
| 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
|
0276f5d81a4f098ec9ede653b98fe452dd41ec69
| 263
|
py
|
Python
|
ABC/155/c.py
|
fumiyanll23/AtCoder
|
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
|
[
"MIT"
] | null | null | null |
ABC/155/c.py
|
fumiyanll23/AtCoder
|
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
|
[
"MIT"
] | null | null | null |
ABC/155/c.py
|
fumiyanll23/AtCoder
|
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
|
[
"MIT"
] | null | null | null |
N = int(input())
S = ['a' for i in range(N)]
for i in range(N):
S[i] = str(input())
ans = [0 for i in range(N)]
for i in range(N):
for j in range(N):
if S[i] == S[j]:
ans[] += 1 # What are their indexes?
else:
ans[] = S[j] # What are ...?
| 21.916667
| 42
| 0.494297
| 53
| 263
| 2.45283
| 0.377358
| 0.269231
| 0.307692
| 0.338462
| 0.392308
| 0.392308
| 0.369231
| 0.369231
| 0.369231
| 0.369231
| 0
| 0.010695
| 0.288973
| 263
| 12
| 43
| 21.916667
| 0.684492
| 0.140684
| 0
| 0.181818
| 0
| 0
| 0.004464
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
02863daa41688174245d0599d733aaf9baacb30c
| 1,093
|
py
|
Python
|
barbers_accounts/migrations/0004_auto_20210921_1936.py
|
starsouf/Python-Django-web-app
|
0af1a4f97a7b7583858bd3e487d8a1b502b4daa7
|
[
"Unlicense"
] | null | null | null |
barbers_accounts/migrations/0004_auto_20210921_1936.py
|
starsouf/Python-Django-web-app
|
0af1a4f97a7b7583858bd3e487d8a1b502b4daa7
|
[
"Unlicense"
] | null | null | null |
barbers_accounts/migrations/0004_auto_20210921_1936.py
|
starsouf/Python-Django-web-app
|
0af1a4f97a7b7583858bd3e487d8a1b502b4daa7
|
[
"Unlicense"
] | null | null | null |
# Generated by Django 3.1.2 on 2021-09-21 23:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('barbers_accounts', '0003_auto_20210919_2328'),
]
operations = [
migrations.RemoveField(
model_name='website_salon_details',
name='website_hair_service_1',
),
migrations.RemoveField(
model_name='website_salon_details',
name='website_hair_service_2',
),
migrations.RemoveField(
model_name='website_salon_details',
name='website_hair_service_3',
),
migrations.RemoveField(
model_name='website_salon_details',
name='website_hair_service_4',
),
migrations.RemoveField(
model_name='website_salon_details',
name='website_salon_address',
),
migrations.AlterField(
model_name='website_salon_details',
name='website_home_picture',
field=models.ImageField(upload_to=''),
),
]
| 28.025641
| 56
| 0.600183
| 105
| 1,093
| 5.87619
| 0.419048
| 0.213938
| 0.181524
| 0.204214
| 0.620746
| 0.620746
| 0.620746
| 0.557536
| 0.557536
| 0.460292
| 0
| 0.045932
| 0.302836
| 1,093
| 38
| 57
| 28.763158
| 0.76378
| 0.041171
| 0
| 0.53125
| 1
| 0
| 0.281071
| 0.246654
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.03125
| 0
| 0.125
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
65fd7dbe04f8ea2c6d6275fdef8324b61846bf1b
| 4,748
|
py
|
Python
|
twampy/constants.py
|
connectitnet/twampy
|
4e240e39ad299e39e25cd65d758e71ce2bf21cdd
|
[
"BSD-3-Clause"
] | null | null | null |
twampy/constants.py
|
connectitnet/twampy
|
4e240e39ad299e39e25cd65d758e71ce2bf21cdd
|
[
"BSD-3-Clause"
] | null | null | null |
twampy/constants.py
|
connectitnet/twampy
|
4e240e39ad299e39e25cd65d758e71ce2bf21cdd
|
[
"BSD-3-Clause"
] | null | null | null |
# Constants to convert between python timestamps and NTP 8B binary format [RFC1305]
TIMEOFFSET = 2208988800 # Time Difference from 1-JAN-1900 to 1-JAN-1970 in seconds
ALLBITS = int(0xFFFFFFFF) # To calculate 32bit fraction of the second
DSCP_TABLE = """
============================================================
DSCP Mapping
============================================================
DSCP Name DSCP Value TOS (bin) TOS (hex)
------------------------------------------------------------
be 0 0000 0000 00
cp1 1 0000 0100 04
cp2 2 0000 1000 08
cp3 3 0000 1100 0C
cp4 4 0001 0000 10
cp5 5 0001 0100 14
cp6 6 0001 1000 18
cp7 7 0001 1100 1C
cs1 8 0010 0000 20
cp9 9 0010 0100 24
af11 10 0010 1000 28
cp11 11 0010 1100 2C
af12 12 0011 0000 30
cp13 13 0011 0100 34
af13 14 0011 1000 38
cp15 15 0011 1100 3C
cs2 16 0100 0000 40
cp17 17 0100 0100 44
af21 18 0100 1000 48
cp19 19 0100 1100 4C
af22 20 0101 0000 50
cp21 21 0101 0100 54
af23 22 0101 1000 58
cp23 23 0101 1100 5C
cs3 24 0110 0000 60
cp25 25 0110 0100 64
af31 26 0110 1000 68
cp27 27 0110 1100 6C
af32 28 0111 0000 70
cp29 29 0111 0100 74
af33 30 0111 1000 78
cp31 31 0111 1100 7C
cs4 32 1000 0000 80
cp33 33 1000 0100 84
af41 34 1000 1000 88
cp35 35 1000 1100 8C
af42 36 1001 0000 90
cp37 37 1001 0100 94
af43 38 1001 1000 98
cp39 39 1001 1100 9C
cs5 40 1010 0000 A0
cp41 41 1010 0100 A4
cp42 42 1010 1000 A8
cp43 43 1010 1100 AC
cp44 44 1011 0000 B0
cp45 45 1011 0100 B4
ef 46 1011 1000 B8
cp47 47 1011 1100 BC
nc1 48 1100 0000 C0
cp49 49 1100 0100 C4
cp50 50 1100 1000 C8
cp51 51 1100 1100 CC
cp52 52 1101 0000 D0
cp53 53 1101 0100 D4
cp54 54 1101 1000 D8
cp55 55 1101 1100 DC
nc2 56 1110 0000 E0
cp57 57 1110 0100 E4
cp58 58 1110 1000 E8
cp59 59 1110 1100 EC
cp60 60 1111 0000 F0
cp61 61 1111 0100 F4
cp62 62 1111 1000 F8
cp63 63 1111 1100 FC
============================================================"""
DSCP_MAP = {"be": 0, "cp1": 1, "cp2": 2, "cp3": 3, "cp4": 4, "cp5": 5, "cp6": 6, "cp7": 7,
"cs1": 8, "cp9": 9, "af11": 10, "cp11": 11, "af12": 12, "cp13": 13, "af13": 14, "cp15": 15,
"cs2": 16, "cp17": 17, "af21": 18, "cp19": 19, "af22": 20, "cp21": 21, "af23": 22, "cp23": 23,
"cs3": 24, "cp25": 25, "af31": 26, "cp27": 27, "af32": 28, "cp29": 29, "af33": 30, "cp31": 31,
"cs4": 32, "cp33": 33, "af41": 34, "cp35": 35, "af42": 36, "cp37": 37, "af43": 38, "cp39": 39,
"cs5": 40, "cp41": 41, "cp42": 42, "cp43": 43, "cp44": 44, "cp45": 45, "ef": 46, "cp47": 47,
"nc1": 48, "cp49": 49, "cp50": 50, "cp51": 51, "cp52": 52, "cp53": 53, "cp54": 54, "cp55": 55,
"nc2": 56, "cp57": 57, "cp58": 58, "cp59": 59, "cp60": 60, "cp61": 61, "cp62": 62, "cp63": 63}
### Defaults
TIMEOUT_DEFAULT = 30
INTERVAL_DEFAULT = 100
TOS_DEFAULT = 0x00
DSCP_DEFAULT = 'be'
TTL_DEFAULT = 64
PADDING_DEFAULT = 27
COUNT_DEFAULT = 100
TWAMP_PORT_DEFAULT = 862
NEAR_END_DEFAULT = ":862"
FAR_END_DEFAULT = "127.0.0.1:862"
| 46.54902
| 106
| 0.374684
| 536
| 4,748
| 3.291045
| 0.462687
| 0.004535
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.47828
| 0.51032
| 4,748
| 102
| 107
| 46.54902
| 0.28043
| 0.039806
| 0
| 0.021978
| 0
| 0
| 0.799473
| 0.052713
| 0
| 0
| 0.003075
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
5a13cd76447445187c47de50e2c1848044d6b5dd
| 154
|
py
|
Python
|
proto_2/ddq/topics/set_theory/membership.py
|
jadnohra/connect
|
8eb21e6f122898094447bc3d5edb3053d5a2adf2
|
[
"Unlicense"
] | null | null | null |
proto_2/ddq/topics/set_theory/membership.py
|
jadnohra/connect
|
8eb21e6f122898094447bc3d5edb3053d5a2adf2
|
[
"Unlicense"
] | 6
|
2021-03-19T12:06:56.000Z
|
2022-03-12T00:23:09.000Z
|
proto_2/ddq/topics/set_theory/membership.py
|
jadnohra/connect
|
8eb21e6f122898094447bc3d5edb3053d5a2adf2
|
[
"Unlicense"
] | null | null | null |
from ddq.node import Node
from ddq.fol.predicate import Predicate
class Membership(Predicate):
def __init__(self):
super().__init__('∈', 2)
| 19.25
| 39
| 0.701299
| 21
| 154
| 4.809524
| 0.666667
| 0.138614
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007937
| 0.181818
| 154
| 7
| 40
| 22
| 0.785714
| 0
| 0
| 0
| 0
| 0
| 0.006494
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 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
|
5a2b865efe2bd732a970811346dad2b7349c580e
| 897
|
py
|
Python
|
Simulators/Microsoft Airsim Simulator/Sensors/Distance/distanceSensor.py
|
enesdoruk/Autonom-Vehicles-Projects
|
0cf4de4fe10eb0f5c886eca8fb5117b0121ae53b
|
[
"MIT"
] | 2
|
2022-01-20T14:34:28.000Z
|
2022-02-10T22:12:37.000Z
|
Simulators/Microsoft Airsim Simulator/Sensors/Distance/distanceSensor.py
|
enesdoruk/Autonom-Vehicles-Projects
|
0cf4de4fe10eb0f5c886eca8fb5117b0121ae53b
|
[
"MIT"
] | null | null | null |
Simulators/Microsoft Airsim Simulator/Sensors/Distance/distanceSensor.py
|
enesdoruk/Autonom-Vehicles-Projects
|
0cf4de4fe10eb0f5c886eca8fb5117b0121ae53b
|
[
"MIT"
] | null | null | null |
import setup_path
import airsim
import cv2
import numpy as np
import os
import time
def distance_front(client):
distance_sensor_data_front = client.getDistanceSensorData(distance_sensor_name = "Distance_on", vehicle_name = "")
print("Distance_sensor_front =====",distance_sensor_data_front.distance)
return distance_sensor_data_front.distance
def distance_right(client):
distance_sensor_data_right = client.getDistanceSensorData(distance_sensor_name = "Distance_sag", vehicle_name = "")
print("Distance_sensor_right =====",distance_sensor_data_right.distance)
return distance_sensor_data_right.distance
def distance_left(client):
distance_sensor_data_left = client.getDistanceSensorData(distance_sensor_name = "Distance_sol", vehicle_name = "")
print("Distance_sensor_left =====",distance_sensor_data_left.distance)
return distance_sensor_data_left.distance
| 40.772727
| 119
| 0.807135
| 111
| 897
| 6.081081
| 0.234234
| 0.311111
| 0.24
| 0.106667
| 0.668148
| 0.235556
| 0
| 0
| 0
| 0
| 0
| 0.001247
| 0.105909
| 897
| 21
| 120
| 42.714286
| 0.840399
| 0
| 0
| 0
| 0
| 0
| 0.128205
| 0.046823
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 0
| 0.666667
| 0.166667
| 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
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
5a4b8650c93ff4b1e80ff02c7de6ac22ae1ba230
| 456
|
py
|
Python
|
fairseq/data/encoders/wwm_phoneme.py
|
HugoLaurencon/fairseq
|
c6839d038a90e5b07601987061c69cefb6f1b2c1
|
[
"MIT"
] | null | null | null |
fairseq/data/encoders/wwm_phoneme.py
|
HugoLaurencon/fairseq
|
c6839d038a90e5b07601987061c69cefb6f1b2c1
|
[
"MIT"
] | null | null | null |
fairseq/data/encoders/wwm_phoneme.py
|
HugoLaurencon/fairseq
|
c6839d038a90e5b07601987061c69cefb6f1b2c1
|
[
"MIT"
] | null | null | null |
from fairseq.data.encoders import register_bpe
from fairseq.dataclass import FairseqDataclass
@register_bpe("wwm_phoneme", dataclass=FairseqDataclass)
class WwmphonemeBPE(object):
def __init__(self, cfg):
pass
def encode(self, x: str) -> str:
return x
def decode(self, x: str) -> str:
return x
def is_beginning_of_word(self, x: str) -> bool:
if int(x) <= 59:
return True
return False
| 24
| 56
| 0.64693
| 59
| 456
| 4.830508
| 0.576271
| 0.052632
| 0.084211
| 0.077193
| 0.147368
| 0.147368
| 0.147368
| 0
| 0
| 0
| 0
| 0.005917
| 0.258772
| 456
| 18
| 57
| 25.333333
| 0.837278
| 0
| 0
| 0.142857
| 0
| 0
| 0.024123
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0.071429
| 0.142857
| 0.142857
| 0.785714
| 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
|
5a53cfb216b004c5f4f20d736bd3a28391feb4f5
| 133
|
py
|
Python
|
sisjuridico/apps/seguridad/admin.py
|
AnthonyWainer/sistemaJuridico
|
83acf42fd20793ea05d6bff57322e17355893fc9
|
[
"MIT"
] | null | null | null |
sisjuridico/apps/seguridad/admin.py
|
AnthonyWainer/sistemaJuridico
|
83acf42fd20793ea05d6bff57322e17355893fc9
|
[
"MIT"
] | null | null | null |
sisjuridico/apps/seguridad/admin.py
|
AnthonyWainer/sistemaJuridico
|
83acf42fd20793ea05d6bff57322e17355893fc9
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from apps.seguridad.models import modulos
# Register your models here.
admin.site.register(modulos)
| 26.6
| 41
| 0.827068
| 19
| 133
| 5.789474
| 0.684211
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105263
| 133
| 5
| 42
| 26.6
| 0.92437
| 0.195489
| 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
|
5a81dadf34a4f463200e423c6a12e9f73bdb72f4
| 205
|
py
|
Python
|
test/test_del_all_groups.py
|
esemin83/python_training
|
909d4d1e03f83f2c53a1e18f8ce88e51da5a626e
|
[
"Apache-2.0"
] | null | null | null |
test/test_del_all_groups.py
|
esemin83/python_training
|
909d4d1e03f83f2c53a1e18f8ce88e51da5a626e
|
[
"Apache-2.0"
] | null | null | null |
test/test_del_all_groups.py
|
esemin83/python_training
|
909d4d1e03f83f2c53a1e18f8ce88e51da5a626e
|
[
"Apache-2.0"
] | null | null | null |
def test_del_all_group(app, db):
all_group = db.get_group_list()
if len(all_group) == 0:
pass
else:
for x in range(len(all_group)):
app.group.delete_first_group()
| 20.5
| 42
| 0.6
| 32
| 205
| 3.53125
| 0.625
| 0.283186
| 0.19469
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006849
| 0.287805
| 205
| 9
| 43
| 22.777778
| 0.767123
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0.142857
| 0
| 0
| 0.142857
| 0
| 0
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
ce4b51db431e7624ce6dc18541d499055568b469
| 14,641
|
py
|
Python
|
scame/tests/test_restructuredtext.py
|
chevah/scame
|
952f682b375c1bc325ab821d7028c4f6cff93ece
|
[
"MIT"
] | null | null | null |
scame/tests/test_restructuredtext.py
|
chevah/scame
|
952f682b375c1bc325ab821d7028c4f6cff93ece
|
[
"MIT"
] | 9
|
2017-06-06T10:06:33.000Z
|
2022-01-27T17:11:55.000Z
|
scame/tests/test_restructuredtext.py
|
chevah/scame
|
952f682b375c1bc325ab821d7028c4f6cff93ece
|
[
"MIT"
] | null | null | null |
"""Tests for ReStructuredTextChecker."""
from scame.formatcheck import ReStructuredTextChecker
from scame.tests import CheckerTestCase
# This is a valid rst content.
# This comment is here so that the content starts at line 11
# and make it easier to identify errors in tests.
# Just add 10 to the reported line number.
#
valid_rst_content = """\
=============
First section
=============
Text *for* first **section**.
--------------------
Second emtpy section
--------------------
Third section
^^^^^^^^^^^^^
Paragrhap for
third section `with link<http://my.home>`_.
::
Literal block1.
Literal block paragraph.
| Line blocks are useful for addresses,
| verse, and adornment-free lists.
.. _section-permalink:
Another Section with predefined link
------------------------------------
>>> print "This is a doctest block."
... with a line continuation
This is a doctest block.
A grid table.
+------------+------------+-----------+
| Header 1 | Header 2 | Header 3 |
+============+============+===========+
| body row 1 | column 2 | column 3 |
+------------+------------+-----------+
| body row 2 | Cells may span columns.|
+------------+------------+-----------+
| body row 3 | Cells may | - Cells |
+------------+ span rows. | - contain |
| body row 4 | | - blocks. |
+------------+------------+-----------+
A simple table.
===== ===== ======
Inputs Output
------------ ------
A B A or B
===== ===== ======
False False False
True False True
False True True
True True True
===== ===== ======
A transition marker is a horizontal line
of 4 or more repeated punctuation
characters.
------------
A transition should not begin or end a
section or document, nor should two
transitions be immediately adjacent.
Footnote references, like [5]_.
Note that footnotes may get
rearranged, e.g., to the bottom of
the "page".
.. [5] A numerical footnote. Note
there's no colon after the ``]``.
External hyperlinks, like Python_.
.. _Python: http://www.python.org/
For instance:
.. image:: images/ball1.gif
The |biohazard| symbol must be used on containers used to dispose of
medical waste.
.. |biohazard| image:: biohazard.png
.. This text will not be shown
(but, for instance, in HTML might be
rendered as an HTML comment)
"""
# The last line from multi line string is a bit hard to visualize,
# but it is there.
class TestReStructuredTextChecker(CheckerTestCase):
"""Verify reStructuredTextChecker checking."""
def test_empty_file(self):
self.reporter.call_count = 0
content = ""
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check()
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_valid_content(self):
self.reporter.call_count = 0
checker = ReStructuredTextChecker("bogus", valid_rst_content, self.reporter)
checker.check()
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_no_empty_last_line(self):
self.reporter.call_count = 0
content = "Some first line\n" "the second and last line witout newline"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_empty_last_line(2)
expected = [(2, "File does not ends with an empty line.")]
self.assertEqual(expected, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_multiple_empty_last_lines(self):
self.reporter.call_count = 0
content = "Some first line\n" "the second and last\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_empty_last_line(3)
expected = [(3, "File does not ends with an empty line.")]
self.assertEqual(expected, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_isTransition_good(self):
content = "\n" "----\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isTransition(1)
self.assertTrue(result)
def test_isTransition_short_line(self):
content = "\n" "---\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isTransition(1)
self.assertFalse(result)
def test_isTransition_short_file(self):
content = "\n" "----\n" ""
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isTransition(1)
self.assertFalse(result)
def test_isTransition_false(self):
content = "\n" "----\n" "some\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isTransition(1)
self.assertFalse(result)
content = "some\n" "----\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isTransition(1)
self.assertFalse(result)
def test_check_transitions_good(self):
content = "some text\n" "\n" "----\n" "\n" "some text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_transition(2)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_transitions_bad_spacing_before(self):
content = "some text\n" "\n" "\n" "----\n" "\n" "some text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_transition(3)
expect = [(4, "Transition markers should be bounded by single empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_transitions_bad_spacing_after(self):
content = "some text\n" "\n" "----\n" "\n" "\n" "some text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_transition(2)
expect = [(3, "Transition markers should be bounded by single empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_transitions_bad_spacing_both(self):
content = "some text\n" "\n" "\n" "----\n" "\n" "\n" "some text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_transition(3)
expect = [(4, "Transition markers should be bounded by single empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_isSectionDelimiter_short_file(self):
content = "Something" "---------\n" ""
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isSectionDelimiter(1)
self.assertFalse(result)
def test_isSectionDelimiter_short_line(self):
content = "Som" "---\n" ""
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isSectionDelimiter(1)
self.assertFalse(result)
def test_isSectionDelimiter_table(self):
content = "---- ----" "Row1 Row1" "---- ----\n" ""
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isSectionDelimiter(0)
self.assertFalse(result)
result = checker.isSectionDelimiter(2)
self.assertFalse(result)
def test_isSectionDelimiter_good(self):
content = "Section\n" "-------\n" "some text"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isSectionDelimiter(1)
self.assertTrue(result)
def test_isSectionDelimiter_good_bounded_start_of_file(self):
content = "=======\n" "Section\n" "=======\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
result = checker.isSectionDelimiter(0)
self.assertTrue(result)
result = checker.isSectionDelimiter(2)
self.assertTrue(result)
def test_check_section_delimiter_bounded(self):
content = (
"some text\n"
"\n"
"\n"
"=======\n"
"Section\n"
"=======\n"
"\n"
"some text\n"
)
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(3)
checker.check_section_delimiter(5)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_section_delimiter_bad_marker_length(self):
content = "Section\n" "------\n" "\n" "some text\n" "other text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
expect = [(2, "Section marker has wrong length.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_delimiter_bad_length_both_markers(self):
content = (
"---------\n" "Section\n" "---------\n" "\n" "some text\n" "other text\n"
)
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(0)
checker.check_section_delimiter(2)
expect = [(1, "Section marker has wrong length.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_before_space_good_start_both(self):
content = "-------\n" "Section\n" "-------\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(0)
checker.check_section_delimiter(2)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_section_before_space_good_start_bottom(self):
content = "Section\n" "-------\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_section_before_space_bad_only_one_line_near_start(self):
content = "\n" "Section\n" "-------\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(2)
expect = [(3, "Section should be divided by 2 empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_before_space_bad_only_one_line(self):
content = "end of previous section.\n" "\n" "Section\n" "-------\n" "\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(3)
expect = [(4, "Section should be divided by 2 empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_before_space_multiple_empty_lines(self):
content = (
"end of previous section.\n" "\n" "\n" "\n" "Section\n" "-------\n" "\n"
)
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(5)
expect = [(6, "Section should be divided by 2 empty lines.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_after_space_last_line(self):
content = "Section\n" "-------\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_section_after_space_bad(self):
content = "Section\n" "-------\n" "Paragraph start.\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
expect = [(2, "Section title should be followed by 1 empty line.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_after_space_too_many_empty_lines(self):
content = "Section\n" "-------\n" "\n" "\n" "Paragraph start.\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
expect = [(2, "Section title should be followed by 1 empty line.")]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(1, self.reporter.call_count)
def test_check_section_empty_section_next_section_only_bottom(self):
content = (
"Emtpy Section\n"
"=============\n"
"\n"
"\n"
"Another Section\n"
"---------------\n"
)
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def test_check_section_empty_section_next_section_both_markers(self):
content = (
"Emtpy Section\n"
"=============\n"
"\n"
"\n"
"---------------\n"
"Another Section\n"
"---------------\n"
)
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_section_delimiter(1)
self.assertEqual([], self.reporter.messages)
self.assertEqual(0, self.reporter.call_count)
def disable_check_section_delimiter_both_markers_not_sync(self):
# When both top and bottom markers are used, and they don't have
# the same size, they are interpreted as separate markers.
content = "------\n" "Section\n" "--------\n" "\n" "some text\n" "other text\n"
checker = ReStructuredTextChecker("bogus", content, self.reporter)
checker.check_lines()
expect = [
(1, "Section marker has wrong length."),
(1, "Section title should be followed by 1 empty line."),
(3, "Section marker has wrong length."),
]
self.assertEqual(expect, self.reporter.messages)
self.assertEqual(3, self.reporter.call_count)
| 37.734536
| 87
| 0.630285
| 1,646
| 14,641
| 5.465371
| 0.143378
| 0.106714
| 0.011672
| 0.144731
| 0.762672
| 0.73944
| 0.710649
| 0.701979
| 0.680302
| 0.672855
| 0
| 0.00883
| 0.218769
| 14,641
| 387
| 88
| 37.832041
| 0.777671
| 0.031077
| 0
| 0.530744
| 0
| 0
| 0.2683
| 0.016306
| 0
| 0
| 0
| 0
| 0.18123
| 1
| 0.100324
| false
| 0
| 0.006472
| 0
| 0.110032
| 0.003236
| 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
|
ce647bee0b98103f71a8e8ab0697219b40ac3b1e
| 588
|
py
|
Python
|
api/models.py
|
vivekx01/voterdb-api
|
768736f098c0659ba74edd421b8859a1a74a39fc
|
[
"MIT"
] | 1
|
2022-02-14T10:35:38.000Z
|
2022-02-14T10:35:38.000Z
|
api/models.py
|
vivekx01/voterdb-api
|
768736f098c0659ba74edd421b8859a1a74a39fc
|
[
"MIT"
] | null | null | null |
api/models.py
|
vivekx01/voterdb-api
|
768736f098c0659ba74edd421b8859a1a74a39fc
|
[
"MIT"
] | null | null | null |
from typing_extensions import NotRequired
from django.db import models
import uuid
# Create your models here.
class Voterdb(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
Voter_id= models.CharField(max_length=10)
phone = models.CharField(max_length=13)
firstname = models.CharField(max_length=100)
lastname = models.CharField(max_length=100)
voting_status = models.BooleanField(default=False)
voter_address = models.CharField(max_length=45, blank=True)
txn_hash = models.CharField(max_length=100, blank=True)
| 34.588235
| 79
| 0.770408
| 80
| 588
| 5.5125
| 0.525
| 0.204082
| 0.244898
| 0.326531
| 0.183673
| 0
| 0
| 0
| 0
| 0
| 0
| 0.031434
| 0.134354
| 588
| 16
| 80
| 36.75
| 0.834971
| 0.040816
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 1
| 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
| 0
| 0
| 1
| 0
|
0
| 4
|
ce70a4b03964bcf9aaf4b2055312e1c27960a087
| 27
|
py
|
Python
|
crawlers/fiction/___readli.net.py
|
fostroll/ru_corner
|
defb681aa9311c2dd6ed98d1b934453c29e9a750
|
[
"Apache-2.0"
] | null | null | null |
crawlers/fiction/___readli.net.py
|
fostroll/ru_corner
|
defb681aa9311c2dd6ed98d1b934453c29e9a750
|
[
"Apache-2.0"
] | null | null | null |
crawlers/fiction/___readli.net.py
|
fostroll/ru_corner
|
defb681aa9311c2dd6ed98d1b934453c29e9a750
|
[
"Apache-2.0"
] | null | null | null |
https://readli.net/page/2/
| 13.5
| 26
| 0.703704
| 5
| 27
| 3.8
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.038462
| 0.037037
| 27
| 1
| 27
| 27
| 0.692308
| 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
|
ce7c27d2e526cde9b304e7043e292bba38982f7d
| 138,666
|
py
|
Python
|
shopifier/admin/migrations/0002_auto_20161104_1606.py
|
vkuryachenko/Django-Shopy
|
6acd4bdcd5d5ad6a3cdf8a12c1d4fe126e777f80
|
[
"BSD-3-Clause"
] | 1
|
2016-09-04T06:42:47.000Z
|
2016-09-04T06:42:47.000Z
|
shopifier/admin/migrations/0002_auto_20161104_1606.py
|
vkuryachenko/Django-Shopy
|
6acd4bdcd5d5ad6a3cdf8a12c1d4fe126e777f80
|
[
"BSD-3-Clause"
] | 3
|
2016-04-20T05:31:47.000Z
|
2016-08-12T14:26:27.000Z
|
shopifier/admin/migrations/0002_auto_20161104_1606.py
|
vkuryachenko/Django-Shopy
|
6acd4bdcd5d5ad6a3cdf8a12c1d4fe126e777f80
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-11-04 10:06
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import shopifier.admin.tags
class Migration(migrations.Migration):
dependencies = [
('shopifier_admin', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Address',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('address1', models.CharField(blank=True, max_length=254, verbose_name='Address')),
('address2', models.CharField(blank=True, max_length=254, verbose_name="Address Con't")),
('first_name', models.CharField(blank=True, max_length=30, verbose_name='First Name')),
('last_name', models.CharField(blank=True, max_length=30, verbose_name='Last Name')),
('phone', models.CharField(blank=True, max_length=30, verbose_name='Phone')),
('city', models.CharField(blank=True, max_length=54, null=True, verbose_name='City')),
('company', models.CharField(blank=True, max_length=254, verbose_name='Company')),
('country_code', models.CharField(choices=[('AF', 'Afghanistan'), ('AX', '\xc5land Islands'), ('AL', 'Albania'), ('DZ', 'Algeria'), ('AS', 'American Samoa'), ('AD', 'Andorra'), ('AO', 'Angola'), ('AI', 'Anguilla'), ('AQ', 'Antarctica'), ('AG', 'Antigua and Barbuda'), ('AR', 'Argentina'), ('AM', 'Armenia'), ('AW', 'Aruba'), ('AU', 'Australia'), ('AT', 'Austria'), ('AZ', 'Azerbaijan'), ('BS', 'Bahamas'), ('BH', 'Bahrain'), ('BD', 'Bangladesh'), ('BB', 'Barbados'), ('BY', 'Belarus'), ('BE', 'Belgium'), ('BZ', 'Belize'), ('BJ', 'Benin'), ('BM', 'Bermuda'), ('BT', 'Bhutan'), ('BO', 'Bolivia'), ('BQ', 'Bonaire, Sint Eustatius and Saba'), ('BA', 'Bosnia and Herzegovina'), ('BW', 'Botswana'), ('BV', 'Bouvet Island'), ('BR', 'Brazil'), ('IO', 'British Indian Ocean Territory'), ('BN', 'Brunei Darussalam'), ('BG', 'Bulgaria'), ('BF', 'Burkina Faso'), ('BI', 'Burundi'), ('KH', 'Cambodia'), ('CM', 'Cameroon'), ('CA', 'Canada'), ('CV', 'Cape Verde'), ('KY', 'Cayman Islands'), ('CF', 'Central African Republic'), ('TD', 'Chad'), ('CL', 'Chile'), ('CN', 'China'), ('CX', 'Christmas Island'), ('CC', 'Cocos (Keeling) Islands'), ('CO', 'Colombia'), ('KM', 'Comoros'), ('CG', 'Congo'), ('CD', 'Congo, The Democratic Republic of the'), ('CK', 'Cook Islands'), ('CR', 'Costa Rica'), ('CI', "C\xf4te d'Ivoire"), ('HR', 'Croatia'), ('CU', 'Cuba'), ('CW', 'Cura\xe7ao'), ('CY', 'Cyprus'), ('CZ', 'Czech Republic'), ('DK', 'Denmark'), ('DJ', 'Djibouti'), ('DM', 'Dominica'), ('DO', 'Dominican Republic'), ('EC', 'Ecuador'), ('EG', 'Egypt'), ('SV', 'El Salvador'), ('GQ', 'Equatorial Guinea'), ('ER', 'Eritrea'), ('EE', 'Estonia'), ('ET', 'Ethiopia'), ('FK', 'Falkland Islands (Malvinas)'), ('FO', 'Faroe Islands'), ('FJ', 'Fiji'), ('FI', 'Finland'), ('FR', 'France'), ('GF', 'French Guiana'), ('PF', 'French Polynesia'), ('TF', 'French Southern Territories'), ('GA', 'Gabon'), ('GM', 'Gambia'), ('GE', 'Georgia'), ('DE', 'Germany'), ('GH', 'Ghana'), ('GI', 'Gibraltar'), ('GR', 'Greece'), ('GL', 'Greenland'), ('GD', 'Grenada'), ('GP', 'Guadeloupe'), ('GU', 'Guam'), ('GT', 'Guatemala'), ('GG', 'Guernsey'), ('GN', 'Guinea'), ('GW', 'Guinea-Bissau'), ('GY', 'Guyana'), ('HT', 'Haiti'), ('HM', 'Heard Island and McDonald Islands'), ('VA', 'Holy See (Vatican City State)'), ('HN', 'Honduras'), ('HK', 'Hong Kong'), ('HU', 'Hungary'), ('IS', 'Iceland'), ('IN', 'India'), ('ID', 'Indonesia'), ('IR', 'Iran, Islamic Republic of'), ('IQ', 'Iraq'), ('IE', 'Ireland'), ('IM', 'Isle of Man'), ('IL', 'Israel'), ('IT', 'Italy'), ('JM', 'Jamaica'), ('JP', 'Japan'), ('JE', 'Jersey'), ('JO', 'Jordan'), ('KZ', 'Kazakhstan'), ('KE', 'Kenya'), ('KI', 'Kiribati'), ('KP', "Korea, Democratic People's Republic of"), ('KR', 'Korea, Republic of'), ('KW', 'Kuwait'), ('KG', 'Kyrgyzstan'), ('LA', "Lao People's Democratic Republic"), ('LV', 'Latvia'), ('LB', 'Lebanon'), ('LS', 'Lesotho'), ('LR', 'Liberia'), ('LY', 'Libya'), ('LI', 'Liechtenstein'), ('LT', 'Lithuania'), ('LU', 'Luxembourg'), ('MO', 'Macao'), ('MK', 'Macedonia, Republic of'), ('MG', 'Madagascar'), ('MW', 'Malawi'), ('MY', 'Malaysia'), ('MV', 'Maldives'), ('ML', 'Mali'), ('MT', 'Malta'), ('MH', 'Marshall Islands'), ('MQ', 'Martinique'), ('MR', 'Mauritania'), ('MU', 'Mauritius'), ('YT', 'Mayotte'), ('MX', 'Mexico'), ('FM', 'Micronesia, Federated States of'), ('MD', 'Moldova'), ('MC', 'Monaco'), ('MN', 'Mongolia'), ('ME', 'Montenegro'), ('MS', 'Montserrat'), ('MA', 'Morocco'), ('MZ', 'Mozambique'), ('MM', 'Myanmar'), ('NA', 'Namibia'), ('NR', 'Nauru'), ('NP', 'Nepal'), ('NL', 'Netherlands'), ('NC', 'New Caledonia'), ('NZ', 'New Zealand'), ('NI', 'Nicaragua'), ('NE', 'Niger'), ('NG', 'Nigeria'), ('NU', 'Niue'), ('NF', 'Norfolk Island'), ('MP', 'Northern Mariana Islands'), ('NO', 'Norway'), ('OM', 'Oman'), ('PK', 'Pakistan'), ('PW', 'Palau'), ('PS', 'Palestine, State of'), ('PA', 'Panama'), ('PG', 'Papua New Guinea'), ('PY', 'Paraguay'), ('PE', 'Peru'), ('PH', 'Philippines'), ('PN', 'Pitcairn'), ('PL', 'Poland'), ('PT', 'Portugal'), ('PR', 'Puerto Rico'), ('QA', 'Qatar'), ('RE', 'R\xe9union'), ('RO', 'Romania'), ('RU', 'Russian Federation'), ('RW', 'Rwanda'), ('BL', 'Saint Barth\xe9lemy'), ('SH', 'Saint Helena, Ascension and Tristan da Cunha'), ('KN', 'Saint Kitts and Nevis'), ('LC', 'Saint Lucia'), ('MF', 'Saint Martin (French part)'), ('PM', 'Saint Pierre and Miquelon'), ('VC', 'Saint Vincent and the Grenadines'), ('WS', 'Samoa'), ('SM', 'San Marino'), ('ST', 'Sao Tome and Principe'), ('SA', 'Saudi Arabia'), ('SN', 'Senegal'), ('RS', 'Serbia'), ('SC', 'Seychelles'), ('SL', 'Sierra Leone'), ('SG', 'Singapore'), ('SX', 'Sint Maarten (Dutch part)'), ('SK', 'Slovakia'), ('SI', 'Slovenia'), ('SB', 'Solomon Islands'), ('SO', 'Somalia'), ('ZA', 'South Africa'), ('GS', 'South Georgia and the South Sandwich Islands'), ('ES', 'Spain'), ('LK', 'Sri Lanka'), ('SD', 'Sudan'), ('SR', 'Suriname'), ('SS', 'South Sudan'), ('SJ', 'Svalbard and Jan Mayen'), ('SZ', 'Swaziland'), ('SE', 'Sweden'), ('CH', 'Switzerland'), ('SY', 'Syrian Arab Republic'), ('TW', 'Taiwan'), ('TJ', 'Tajikistan'), ('TZ', 'Tanzania'), ('TH', 'Thailand'), ('TL', 'Timor-Leste'), ('TG', 'Togo'), ('TK', 'Tokelau'), ('TO', 'Tonga'), ('TT', 'Trinidad and Tobago'), ('TN', 'Tunisia'), ('TR', 'Turkey'), ('TM', 'Turkmenistan'), ('TC', 'Turks and Caicos Islands'), ('TV', 'Tuvalu'), ('UG', 'Uganda'), ('UA', 'Ukraine'), ('AE', 'United Arab Emirates'), ('GB', 'United Kingdom'), ('US', 'United States'), ('UM', 'United States Minor Outlying Islands'), ('UY', 'Uruguay'), ('UZ', 'Uzbekistan'), ('VU', 'Vanuatu'), ('VE', 'Venezuela'), ('VN', 'Viet Nam'), ('VG', 'Virgin Islands, British'), ('VI', 'Virgin Islands, U.S.'), ('WF', 'Wallis and Futuna'), ('EH', 'Western Sahara'), ('YE', 'Yemen'), ('ZM', 'Zambia'), ('ZW', 'Zimbabwe')], max_length=2, null=True, verbose_name='Coutry')),
('province', models.CharField(blank=True, max_length=254, verbose_name='Region')),
('province_code', models.CharField(blank=True, choices=[('AD-07', 'Andorra la Vella'), ('AD-02', 'Canillo'), ('AD-03', 'Encamp'), ('AD-08', 'Escaldes-Engordany'), ('AD-04', 'La Massana'), ('AD-05', 'Ordino'), ('AD-06', 'Sant Juli\xe0 de L\xf2ria'), ('AE-AZ', 'Ab\u016b \u0224aby [Abu Dhabi]'), ('AE-AJ', "'Ajm\u0101n"), ('AE-FU', 'Al Fujayrah'), ('AE-SH', 'Ash Sh\u0101riqah'), ('AE-DU', 'Dubayy'), ('AE-RK', 'Ra\u2019s al Khaymah'), ('AE-UQ', 'Umm al Qaywayn'), ('AF-BDS', 'Badakhsh\u0101n'), ('AF-BDG', 'B\u0101dgh\u012bs'), ('AF-BGL', 'Baghl\u0101n'), ('AF-BAL', 'Balkh'), ('AF-BAM', 'B\u0101my\u0101n'), ('AF-DAY', 'D\u0101ykund\u012b'), ('AF-FRA', 'Far\u0101h'), ('AF-FYB', 'F\u0101ry\u0101b'), ('AF-GHA', 'Ghazn\u012b'), ('AF-GHO', 'Gh\u014dr'), ('AF-HEL', 'Helmand'), ('AF-HER', 'Her\u0101t'), ('AF-JOW', 'Jowzj\u0101n'), ('AF-KAB', 'K\u0101bul'), ('AF-KAN', 'Kandah\u0101r'), ('AF-KAP', 'K\u0101p\u012bs\u0101'), ('AF-KHO', 'Kh\u014dst'), ('AF-KNR', 'Kunar'), ('AF-KDZ', 'Kunduz'), ('AF-LAG', 'Laghm\u0101n'), ('AF-LOG', 'L\u014dgar'), ('AF-NAN', 'Nangarh\u0101r'), ('AF-NIM', 'N\u012bmr\u014dz'), ('AF-NUR', 'N\u016brist\u0101n'), ('AF-URU', 'Uruzg\u0101n'), ('AF-PIA', 'Paktiy\u0101'), ('AF-PKA', 'Pakt\u012bk\u0101'), ('AF-PAN', 'Panjshayr'), ('AF-PAR', 'Parw\u0101n'), ('AF-SAM', 'Samang\u0101n'), ('AF-SAR', 'Sar-e Pul'), ('AF-TAK', 'Takh\u0101r'), ('AF-WAR', 'Wardak'), ('AF-ZAB', 'Z\u0101bul'), ('AG-03', 'Saint George'), ('AG-04', 'Saint John'), ('AG-05', 'Saint Mary'), ('AG-06', 'Saint Paul'), ('AG-07', 'Saint Peter'), ('AG-08', 'Saint Philip'), ('AG-10', 'Barbuda'), ('AG-11', 'Redonda'), ('AL-01', 'Berat'), ('AL-09', 'Dib\xebr'), ('AL-02', 'Durr\xebs'), ('AL-03', 'Elbasan'), ('AL-04', 'Fier'), ('AL-05', 'Gjirokast\xebr'), ('AL-06', 'Kor\xe7\xeb'), ('AL-07', 'Kuk\xebs'), ('AL-08', 'Lezh\xeb'), ('AL-10', 'Shkod\xebr'), ('AL-11', 'Tiran\xeb'), ('AL-12', 'Vlor\xeb'), ('AL-BR', 'Berat'), ('AL-BU', 'Bulqiz\xeb'), ('AL-DL', 'Delvin\xeb'), ('AL-DV', 'Devoll'), ('AL-DI', 'Dib\xebr'), ('AL-DR', 'Durr\xebs'), ('AL-EL', 'Elbasan'), ('AL-FR', 'Fier'), ('AL-GR', 'Gramsh'), ('AL-GJ', 'Gjirokast\xebr'), ('AL-HA', 'Has'), ('AL-KA', 'Kavaj\xeb'), ('AL-ER', 'Kolonj\xeb'), ('AL-KO', 'Kor\xe7\xeb'), ('AL-KR', 'Kruj\xeb'), ('AL-KC', 'Ku\xe7ov\xeb'), ('AL-KU', 'Kuk\xebs'), ('AL-KB', 'Kurbin'), ('AL-LE', 'Lezh\xeb'), ('AL-LB', 'Librazhd'), ('AL-LU', 'Lushnj\xeb'), ('AL-MM', 'Mal\xebsi e Madhe'), ('AL-MK', 'Mallakast\xebr'), ('AL-MT', 'Mat'), ('AL-MR', 'Mirdit\xeb'), ('AL-PQ', 'Peqin'), ('AL-PR', 'P\xebrmet'), ('AL-PG', 'Pogradec'), ('AL-PU', 'Puk\xeb'), ('AL-SR', 'Sarand\xeb'), ('AL-SK', 'Skrapar'), ('AL-SH', 'Shkod\xebr'), ('AL-TE', 'Tepelen\xeb'), ('AL-TR', 'Tiran\xeb'), ('AL-TP', 'Tropoj\xeb'), ('AL-VL', 'Vlor\xeb'), ('AM-ER', 'Erevan'), ('AM-AG', 'Aragacotn'), ('AM-AR', 'Ararat'), ('AM-AV', 'Armavir'), ('AM-GR', "Gegarkunik'"), ('AM-KT', "Kotayk'"), ('AM-LO', 'Lory'), ('AM-SH', 'Sirak'), ('AM-SU', "Syunik'"), ('AM-TV', 'Tavus'), ('AM-VD', 'Vayoc Jor'), ('AO-BGO', 'Bengo'), ('AO-BGU', 'Benguela'), ('AO-BIE', 'Bi\xe9'), ('AO-CAB', 'Cabinda'), ('AO-CCU', 'Cuando-Cubango'), ('AO-CNO', 'Cuanza Norte'), ('AO-CUS', 'Cuanza Sul'), ('AO-CNN', 'Cunene'), ('AO-HUA', 'Huambo'), ('AO-HUI', 'Hu\xedla'), ('AO-LUA', 'Luanda'), ('AO-LNO', 'Lunda Norte'), ('AO-LSU', 'Lunda Sul'), ('AO-MAL', 'Malange'), ('AO-MOX', 'Moxico'), ('AO-NAM', 'Namibe'), ('AO-UIG', 'U\xedge'), ('AO-ZAI', 'Zaire'), ('AR-C', 'Ciudad Aut\xf3noma de Buenos Aires'), ('AR-B', 'Buenos Aires'), ('AR-K', 'Catamarca'), ('AR-X', 'Cordoba'), ('AR-W', 'Corrientes'), ('AR-H', 'Chaco'), ('AR-U', 'Chubut'), ('AR-E', 'Entre Rios'), ('AR-P', 'Formosa'), ('AR-Y', 'Jujuy'), ('AR-L', 'La Pampa'), ('AR-M', 'Mendoza'), ('AR-N', 'Misiones'), ('AR-Q', 'Neuquen'), ('AR-R', 'Rio Negro'), ('AR-A', 'Salta'), ('AR-J', 'San Juan'), ('AR-D', 'San Luis'), ('AR-Z', 'Santa Cruz'), ('AR-S', 'Santa Fe'), ('AR-G', 'Santiago del Estero'), ('AR-V', 'Tierra del Fuego'), ('AR-T', 'Tucuman'), ('AT-1', 'Burgenland'), ('AT-2', 'K\xe4rnten'), ('AT-3', 'Nieder\xf6sterreich'), ('AT-4', 'Ober\xf6sterreich'), ('AT-5', 'Salzburg'), ('AT-6', 'Steiermark'), ('AT-7', 'Tirol'), ('AT-8', 'Vorarlberg'), ('AT-9', 'Wien'), ('AU-NSW', 'New South Wales'), ('AU-QLD', 'Queensland'), ('AU-SA', 'South Australia'), ('AU-TAS', 'Tasmania'), ('AU-VIC', 'Victoria'), ('AU-WA', 'Western Australia'), ('AU-ACT', 'Australian Capital Territory'), ('AU-NT', 'Northern Territory'), ('AZ-NX', 'Nax\xe7\u0131van'), ('AZ-BA', 'Bak\u0131'), ('AZ-GA', 'G\u0259nc\u0259'), ('AZ-XA', 'Xank\u0259ndi'), ('AZ-LA', 'L\u0259nk\u0259ran'), ('AZ-MI', 'Ming\u0259\xe7evir'), ('AZ-NA', 'Naftalan'), ('AZ-NV', 'Nax\xe7\u0131van'), ('AZ-SM', 'Sumqay\u0131t'), ('AZ-SA', '\u015e\u0259ki'), ('AZ-SR', '\u015eirvan'), ('AZ-YE', 'Yevlax'), ('AZ-ABS', 'Ab\u015feron'), ('AZ-AGC', 'A\u011fcab\u0259di'), ('AZ-AGM', 'A\u011fdam'), ('AZ-AGS', 'A\u011fda\u015f'), ('AZ-AGA', 'A\u011fstafa'), ('AZ-AGU', 'A\u011fsu'), ('AZ-AST', 'Astara'), ('AZ-BAB', 'Bab\u0259k'), ('AZ-BAL', 'Balak\u0259n'), ('AZ-BEY', 'Beyl\u0259qan'), ('AZ-BAR', 'B\u0259rd\u0259'), ('AZ-BIL', 'Bil\u0259suvar'), ('AZ-CAB', 'C\u0259bray\u0131l'), ('AZ-CAL', 'C\u0259lilabab'), ('AZ-CUL', 'Culfa'), ('AZ-DAS', 'Da\u015fk\u0259s\u0259n'), ('AZ-FUZ', 'F\xfczuli'), ('AZ-GAD', 'G\u0259d\u0259b\u0259y'), ('AZ-GOR', 'Goranboy'), ('AZ-GOY', 'G\xf6y\xe7ay'), ('AZ-GYG', 'G\xf6yg\xf6l'), ('AZ-HAC', 'Hac\u0131qabul'), ('AZ-XAC', 'Xa\xe7maz'), ('AZ-XIZ', 'X\u0131z\u0131'), ('AZ-XCI', 'Xocal\u0131'), ('AZ-XVD', 'Xocav\u0259nd'), ('AZ-IMI', '\u0130mi\u015fli'), ('AZ-ISM', '\u0130smay\u0131ll\u0131'), ('AZ-KAL', 'K\u0259lb\u0259c\u0259r'), ('AZ-KAN', 'K\u01ddng\u01ddrli'), ('AZ-KUR', 'K\xfcrd\u0259mir'), ('AZ-QAX', 'Qax'), ('AZ-QAZ', 'Qazax'), ('AZ-QOB', 'Qobustan'), ('AZ-QBA', 'Quba'), ('AZ-QBI', 'Qubadl\u0131'), ('AZ-QUS', 'Qusar'), ('AZ-LAC', 'La\xe7\u0131n'), ('AZ-LER', 'Lerik'), ('AZ-LAN', 'L\u0259nk\u0259ran'), ('AZ-MAS', 'Masall\u0131'), ('AZ-NEF', 'Neft\xe7ala'), ('AZ-OGU', 'O\u011fuz'), ('AZ-ORD', 'Ordubad'), ('AZ-QAB', 'Q\u0259b\u0259l\u0259'), ('AZ-SAT', 'Saatl\u0131'), ('AZ-SAB', 'Sabirabad'), ('AZ-SAL', 'Salyan'), ('AZ-SMX', 'Samux'), ('AZ-SAD', 'S\u0259d\u0259r\u0259k'), ('AZ-SIY', 'Siy\u0259z\u0259n'), ('AZ-SBN', '\u015eabran'), ('AZ-SAH', '\u015eahbuz'), ('AZ-SMI', '\u015eamax\u0131'), ('AZ-SAK', '\u015e\u0259ki'), ('AZ-SKR', '\u015e\u0259mkir'), ('AZ-SAR', '\u015e\u0259rur'), ('AZ-SUS', '\u015eu\u015fa'), ('AZ-TAR', 'T\u0259rt\u0259r'), ('AZ-TOV', 'Tovuz'), ('AZ-UCA', 'Ucar'), ('AZ-YAR', 'Yard\u0131ml\u0131'), ('AZ-YEV', 'Yevlax'), ('AZ-ZAQ', 'Zaqatala'), ('AZ-ZAN', 'Z\u0259ngilan'), ('AZ-ZAR', 'Z\u0259rdab'), ('BA-BIH', 'Federacija Bosne i Hercegovine'), ('BA-SRP', 'Republika Srpska'), ('BA-05', 'Bosansko-podrinjski kanton'), ('BA-07', 'Hercegova\u010dko-neretvanski kanton'), ('BA-10', 'Kanton br. 10 (Livanjski kanton)'), ('BA-09', 'Kanton Sarajevo'), ('BA-02', 'Posavski kanton'), ('BA-06', 'Srednjobosanski kanton'), ('BA-03', 'Tuzlanski kanton'), ('BA-01', 'Unsko-sanski kanton'), ('BA-08', 'Zapadnohercegova\u010dki kanton'), ('BA-04', 'Zeni\u010dko-dobojski kanton'), ('BA-BRC', 'Br\u010dko distrikt'), ('BB-01', 'Christ Church'), ('BB-02', 'Saint Andrew'), ('BB-03', 'Saint George'), ('BB-04', 'Saint James'), ('BB-05', 'Saint John'), ('BB-06', 'Saint Joseph'), ('BB-07', 'Saint Lucy'), ('BB-08', 'Saint Michael'), ('BB-09', 'Saint Peter'), ('BB-10', 'Saint Philip'), ('BB-11', 'Saint Thomas'), ('BD-A', 'Barisal'), ('BD-B', 'Chittagong'), ('BD-C', 'Dhaka'), ('BD-D', 'Khulna'), ('BD-E', 'Rajshahi'), ('BD-F', 'Rangpur'), ('BD-G', 'Sylhet'), ('BD-05', 'Bagerhat'), ('BD-01', 'Bandarban'), ('BD-02', 'Barguna'), ('BD-06', 'Barisal'), ('BD-07', 'Bhola'), ('BD-03', 'Bogra'), ('BD-04', 'Brahmanbaria'), ('BD-09', 'Chandpur'), ('BD-10', 'Chittagong'), ('BD-12', 'Chuadanga'), ('BD-08', 'Comilla'), ('BD-11', "Cox's Bazar"), ('BD-13', 'Dhaka'), ('BD-14', 'Dinajpur'), ('BD-15', 'Faridpur'), ('BD-16', 'Feni'), ('BD-19', 'Gaibandha'), ('BD-18', 'Gazipur'), ('BD-17', 'Gopalganj'), ('BD-20', 'Habiganj'), ('BD-24', 'Jaipurhat'), ('BD-21', 'Jamalpur'), ('BD-22', 'Jessore'), ('BD-25', 'Jhalakati'), ('BD-23', 'Jhenaidah'), ('BD-29', 'Khagrachari'), ('BD-27', 'Khulna'), ('BD-26', 'Kishorganj'), ('BD-28', 'Kurigram'), ('BD-30', 'Kushtia'), ('BD-31', 'Lakshmipur'), ('BD-32', 'Lalmonirhat'), ('BD-36', 'Madaripur'), ('BD-37', 'Magura'), ('BD-33', 'Manikganj'), ('BD-39', 'Meherpur'), ('BD-38', 'Moulvibazar'), ('BD-35', 'Munshiganj'), ('BD-34', 'Mymensingh'), ('BD-48', 'Naogaon'), ('BD-43', 'Narail'), ('BD-40', 'Narayanganj'), ('BD-42', 'Narsingdi'), ('BD-44', 'Natore'), ('BD-45', 'Nawabganj'), ('BD-41', 'Netrakona'), ('BD-46', 'Nilphamari'), ('BD-47', 'Noakhali'), ('BD-49', 'Pabna'), ('BD-52', 'Panchagarh'), ('BD-51', 'Patuakhali'), ('BD-50', 'Pirojpur'), ('BD-53', 'Rajbari'), ('BD-54', 'Rajshahi'), ('BD-56', 'Rangamati'), ('BD-55', 'Rangpur'), ('BD-58', 'Satkhira'), ('BD-62', 'Shariatpur'), ('BD-57', 'Sherpur'), ('BD-59', 'Sirajganj'), ('BD-61', 'Sunamganj'), ('BD-60', 'Sylhet'), ('BD-63', 'Tangail'), ('BD-64', 'Thakurgaon'), ('BE-BRU', 'Bruxelles-Capitale, R\xe9gion de;Brussels Hoofdstedelijk Gewest'), ('BE-VLG', 'Vlaams Gewest'), ('BE-WAL', 'wallonne, R\xe9gion'), ('BE-VAN', 'Antwerpen'), ('BE-WBR', 'Brabant wallon'), ('BE-WHT', 'Hainaut'), ('BE-WLG', 'Li\xe8ge'), ('BE-VLI', 'Limburg'), ('BE-WLX', 'Luxembourg'), ('BE-WNA', 'Namur'), ('BE-VOV', 'Oost-Vlaanderen'), ('BE-VBR', 'Vlaams-Brabant'), ('BE-VWV', 'West-Vlaanderen'), ('BF-01', 'Boucle du Mouhoun'), ('BF-02', 'Cascades'), ('BF-03', 'Centre'), ('BF-04', 'Centre-Est'), ('BF-05', 'Centre-Nord'), ('BF-06', 'Centre-Ouest'), ('BF-07', 'Centre-Sud'), ('BF-08', 'Est'), ('BF-09', 'Hauts-Bassins'), ('BF-10', 'Nord'), ('BF-11', 'Plateau-Central'), ('BF-12', 'Sahel'), ('BF-13', 'Sud-Ouest'), ('BF-BAL', 'Bal\xe9'), ('BF-BAM', 'Bam'), ('BF-BAN', 'Banwa'), ('BF-BAZ', 'Baz\xe8ga'), ('BF-BGR', 'Bougouriba'), ('BF-BLG', 'Boulgou'), ('BF-BLK', 'Boulkiemd\xe9'), ('BF-COM', 'Como\xe9'), ('BF-GAN', 'Ganzourgou'), ('BF-GNA', 'Gnagna'), ('BF-GOU', 'Gourma'), ('BF-HOU', 'Houet'), ('BF-IOB', 'Ioba'), ('BF-KAD', 'Kadiogo'), ('BF-KEN', 'K\xe9n\xe9dougou'), ('BF-KMD', 'Komondjari'), ('BF-KMP', 'Kompienga'), ('BF-KOS', 'Kossi'), ('BF-KOP', 'Koulp\xe9logo'), ('BF-KOT', 'Kouritenga'), ('BF-KOW', 'Kourw\xe9ogo'), ('BF-LER', 'L\xe9raba'), ('BF-LOR', 'Loroum'), ('BF-MOU', 'Mouhoun'), ('BF-NAO', 'Naouri'), ('BF-NAM', 'Namentenga'), ('BF-NAY', 'Nayala'), ('BF-NOU', 'Noumbiel'), ('BF-OUB', 'Oubritenga'), ('BF-OUD', 'Oudalan'), ('BF-PAS', 'Passor\xe9'), ('BF-PON', 'Poni'), ('BF-SNG', 'Sangui\xe9'), ('BF-SMT', 'Sanmatenga'), ('BF-SEN', 'S\xe9no'), ('BF-SIS', 'Sissili'), ('BF-SOM', 'Soum'), ('BF-SOR', 'Sourou'), ('BF-TAP', 'Tapoa'), ('BF-TUI', 'Tui'), ('BF-YAG', 'Yagha'), ('BF-YAT', 'Yatenga'), ('BF-ZIR', 'Ziro'), ('BF-ZON', 'Zondoma'), ('BF-ZOU', 'Zoundw\xe9ogo'), ('BG-01', 'Blagoevgrad'), ('BG-02', 'Burgas'), ('BG-08', 'Dobrich'), ('BG-07', 'Gabrovo'), ('BG-26', 'Haskovo'), ('BG-09', 'Kardzhali'), ('BG-10', 'Kyustendil'), ('BG-11', 'Lovech'), ('BG-12', 'Montana'), ('BG-13', 'Pazardzhik'), ('BG-14', 'Pernik'), ('BG-15', 'Pleven'), ('BG-16', 'Plovdiv'), ('BG-17', 'Razgrad'), ('BG-18', 'Ruse'), ('BG-27', 'Shumen'), ('BG-19', 'Silistra'), ('BG-20', 'Sliven'), ('BG-21', 'Smolyan'), ('BG-23', 'Sofia'), ('BG-22', 'Sofia-Grad'), ('BG-24', 'Stara Zagora'), ('BG-25', 'Targovishte'), ('BG-03', 'Varna'), ('BG-04', 'Veliko Tarnovo'), ('BG-05', 'Vidin'), ('BG-06', 'Vratsa'), ('BG-28', 'Yambol'), ('BH-13', 'Al Man\u0101mah (Al \u2018\u0100\u015fimah)'), ('BH-14', 'Al Jan\u016bb\u012byah'), ('BH-15', 'Al Mu\u1e29arraq'), ('BH-16', 'Al Wus\u0163\xe1'), ('BH-17', 'Ash Sham\u0101l\u012byah'), ('BI-BB', 'Bubanza'), ('BI-BM', 'Bujumbura Mairie'), ('BI-BL', 'Bujumbura Rural'), ('BI-BR', 'Bururi'), ('BI-CA', 'Cankuzo'), ('BI-CI', 'Cibitoke'), ('BI-GI', 'Gitega'), ('BI-KR', 'Karuzi'), ('BI-KY', 'Kayanza'), ('BI-KI', 'Kirundo'), ('BI-MA', 'Makamba'), ('BI-MU', 'Muramvya'), ('BI-MW', 'Mwaro'), ('BI-NG', 'Ngozi'), ('BI-RT', 'Rutana'), ('BI-RY', 'Ruyigi'), ('BJ-AL', 'Alibori'), ('BJ-AK', 'Atakora'), ('BJ-AQ', 'Atlantique'), ('BJ-BO', 'Borgou'), ('BJ-CO', 'Collines'), ('BJ-DO', 'Donga'), ('BJ-KO', 'Kouffo'), ('BJ-LI', 'Littoral'), ('BJ-MO', 'Mono'), ('BJ-OU', 'Ou\xe9m\xe9'), ('BJ-PL', 'Plateau'), ('BJ-ZO', 'Zou'), ('BN-BE', 'Belait'), ('BN-BM', 'Brunei-Muara'), ('BN-TE', 'Temburong'), ('BN-TU', 'Tutong'), ('BO-H', 'Chuquisaca'), ('BO-C', 'Cochabamba'), ('BO-B', 'El Beni'), ('BO-L', 'La Paz'), ('BO-O', 'Oruro'), ('BO-N', 'Pando'), ('BO-P', 'Potos\xed'), ('BO-S', 'Santa Cruz'), ('BO-T', 'Tarija'), ('BQ-BO', 'Bonaire'), ('BQ-SA', 'Saba'), ('BQ-SE', 'Sint Eustatius'), ('BR-AC', 'Acre'), ('BR-AL', 'Alagoas'), ('BR-AM', 'Amazonas'), ('BR-AP', 'Amap\xe1'), ('BR-BA', 'Bahia'), ('BR-CE', 'Cear\xe1'), ('BR-ES', 'Esp\xedrito Santo'), ('BR-FN', 'Fernando de Noronha'), ('BR-GO', 'Goi\xe1s'), ('BR-MA', 'Maranh\xe3o'), ('BR-MG', 'Minas Gerais'), ('BR-MS', 'Mato Grosso do Sul'), ('BR-MT', 'Mato Grosso'), ('BR-PA', 'Par\xe1'), ('BR-PB', 'Para\xedba'), ('BR-PE', 'Pernambuco'), ('BR-PI', 'Piau\xed'), ('BR-PR', 'Paran\xe1'), ('BR-RJ', 'Rio de Janeiro'), ('BR-RN', 'Rio Grande do Norte'), ('BR-RO', 'Rond\xf4nia'), ('BR-RR', 'Roraima'), ('BR-RS', 'Rio Grande do Sul'), ('BR-SC', 'Santa Catarina'), ('BR-SE', 'Sergipe'), ('BR-SP', 'S\xe3o Paulo'), ('BR-TO', 'Tocantins'), ('BR-DF', 'Distrito Federal'), ('BS-AK', 'Acklins'), ('BS-BY', 'Berry Islands'), ('BS-BI', 'Bimini'), ('BS-BP', 'Black Point'), ('BS-CI', 'Cat Island'), ('BS-CO', 'Central Abaco'), ('BS-CS', 'Central Andros'), ('BS-CE', 'Central Eleuthera'), ('BS-FP', 'City of Freeport'), ('BS-CK', 'Crooked Island and Long Cay'), ('BS-EG', 'East Grand Bahama'), ('BS-EX', 'Exuma'), ('BS-GC', 'Grand Cay'), ('BS-HI', 'Harbour Island'), ('BS-HT', 'Hope Town'), ('BS-IN', 'Inagua'), ('BS-LI', 'Long Island'), ('BS-MC', 'Mangrove Cay'), ('BS-MG', 'Mayaguana'), ('BS-MI', "Moore's Island"), ('BS-NO', 'North Abaco'), ('BS-NS', 'North Andros'), ('BS-NE', 'North Eleuthera'), ('BS-RI', 'Ragged Island'), ('BS-RC', 'Rum Cay'), ('BS-SS', 'San Salvador'), ('BS-SO', 'South Abaco'), ('BS-SA', 'South Andros'), ('BS-SE', 'South Eleuthera'), ('BS-SW', 'Spanish Wells'), ('BS-WG', 'West Grand Bahama'), ('BT-33', 'Bumthang'), ('BT-12', 'Chhukha'), ('BT-22', 'Dagana'), ('BT-GA', 'Gasa'), ('BT-13', 'Ha'), ('BT-44', 'Lhuentse'), ('BT-42', 'Monggar'), ('BT-11', 'Paro'), ('BT-43', 'Pemagatshel'), ('BT-23', 'Punakha'), ('BT-45', 'Samdrup Jongkha'), ('BT-14', 'Samtee'), ('BT-31', 'Sarpang'), ('BT-15', 'Thimphu'), ('BT-41', 'Trashigang'), ('BT-TY', 'Trashi Yangtse'), ('BT-32', 'Trongsa'), ('BT-21', 'Tsirang'), ('BT-24', 'Wangdue Phodrang'), ('BT-34', 'Zhemgang'), ('BW-CE', 'Central'), ('BW-GH', 'Ghanzi'), ('BW-KG', 'Kgalagadi'), ('BW-KL', 'Kgatleng'), ('BW-KW', 'Kweneng'), ('BW-NE', 'North-East'), ('BW-NW', 'North-West'), ('BW-SE', 'South-East'), ('BW-SO', 'Southern'), ('BY-HM', 'Horad Minsk'), ('BY-BR', "Br\xe8sckaja voblasc'"), ('BY-HO', "Homel'skaja voblasc'"), ('BY-HR', "Hrodzenskaja voblasc'"), ('BY-MA', "Mahil\xebuskaja voblasc'"), ('BY-MI', "Minskaja voblasc'"), ('BY-VI', "Vicebskaja voblasc'"), ('BZ-BZ', 'Belize'), ('BZ-CY', 'Cayo'), ('BZ-CZL', 'Corozal'), ('BZ-OW', 'Orange Walk'), ('BZ-SC', 'Stann Creek'), ('BZ-TOL', 'Toledo'), ('CA-AB', 'Alberta'), ('CA-BC', 'British Columbia'), ('CA-MB', 'Manitoba'), ('CA-NB', 'New Brunswick'), ('CA-NL', 'Newfoundland and Labrador'), ('CA-NS', 'Nova Scotia'), ('CA-ON', 'Ontario'), ('CA-PE', 'Prince Edward Island'), ('CA-QC', 'Quebec'), ('CA-SK', 'Saskatchewan'), ('CA-NT', 'Northwest Territories'), ('CA-NU', 'Nunavut'), ('CA-YT', 'Yukon Territory'), ('CD-KN', 'Kinshasa'), ('CD-BN', 'Bandundu'), ('CD-BC', 'Bas-Congo'), ('CD-EQ', '\xc9quateur'), ('CD-KW', 'Kasai-Occidental'), ('CD-KE', 'Kasai-Oriental'), ('CD-KA', 'Katanga'), ('CD-MA', 'Maniema'), ('CD-NK', 'Nord-Kivu'), ('CD-OR', 'Orientale'), ('CD-SK', 'Sud-Kivu'), ('CF-BGF', 'Bangui'), ('CF-BB', 'Bamingui-Bangoran'), ('CF-BK', 'Basse-Kotto'), ('CF-HK', 'Haute-Kotto'), ('CF-HM', 'Haut-Mbomou'), ('CF-KG', 'K\xe9mo-Gribingui'), ('CF-LB', 'Lobaye'), ('CF-HS', 'Haute-Sangha / Mamb\xe9r\xe9-Kad\xe9\xef'), ('CF-MB', 'Mbomou'), ('CF-NM', 'Nana-Mamb\xe9r\xe9'), ('CF-MP', "Ombella-M'poko"), ('CF-UK', 'Ouaka'), ('CF-AC', 'Ouham'), ('CF-OP', 'Ouham-Pend\xe9'), ('CF-VK', 'Vakaga'), ('CF-KB', 'Gribingui'), ('CF-SE', 'Sangha'), ('CG-11', 'Bouenza'), ('CG-8', 'Cuvette'), ('CG-15', 'Cuvette-Ouest'), ('CG-5', 'Kouilou'), ('CG-2', 'L\xe9koumou'), ('CG-7', 'Likouala'), ('CG-9', 'Niari'), ('CG-14', 'Plateaux'), ('CG-12', 'Pool'), ('CG-13', 'Sangha'), ('CG-BZV', 'Brazzaville'), ('CH-AG', 'Aargau'), ('CH-AI', 'Appenzell Innerrhoden'), ('CH-AR', 'Appenzell Ausserrhoden'), ('CH-BE', 'Bern'), ('CH-BL', 'Basel-Landschaft'), ('CH-BS', 'Basel-Stadt'), ('CH-FR', 'Fribourg'), ('CH-GE', 'Gen\xe8ve'), ('CH-GL', 'Glarus'), ('CH-GR', 'Graub\xfcnden'), ('CH-JU', 'Jura'), ('CH-LU', 'Luzern'), ('CH-NE', 'Neuch\xe2tel'), ('CH-NW', 'Nidwalden'), ('CH-OW', 'Obwalden'), ('CH-SG', 'Sankt Gallen'), ('CH-SH', 'Schaffhausen'), ('CH-SO', 'Solothurn'), ('CH-SZ', 'Schwyz'), ('CH-TG', 'Thurgau'), ('CH-TI', 'Ticino'), ('CH-UR', 'Uri'), ('CH-VD', 'Vaud'), ('CH-VS', 'Valais'), ('CH-ZG', 'Zug'), ('CH-ZH', 'Z\xfcrich'), ('CI-06', '18 Montagnes (R\xe9gion des)'), ('CI-16', "Agn\xe9bi (R\xe9gion de l')"), ('CI-17', 'Bafing (R\xe9gion du)'), ('CI-09', 'Bas-Sassandra (R\xe9gion du)'), ('CI-10', 'Dengu\xe9l\xe9 (R\xe9gion du)'), ('CI-18', 'Fromager (R\xe9gion du)'), ('CI-02', 'Haut-Sassandra (R\xe9gion du)'), ('CI-07', 'Lacs (R\xe9gion des)'), ('CI-01', 'Lagunes (R\xe9gion des)'), ('CI-12', 'Marahou\xe9 (R\xe9gion de la)'), ('CI-19', 'Moyen-Cavally (R\xe9gion du)'), ('CI-05', 'Moyen-Como\xe9 (R\xe9gion du)'), ('CI-11', 'Nzi-Como\xe9 (R\xe9gion)'), ('CI-03', 'Savanes (R\xe9gion des)'), ('CI-15', 'Sud-Bandama (R\xe9gion du)'), ('CI-13', 'Sud-Como\xe9 (R\xe9gion du)'), ('CI-04', 'Vall\xe9e du Bandama (R\xe9gion de la)'), ('CI-14', 'Worodouqou (R\xe9gion du)'), ('CI-08', 'Zanzan (R\xe9gion du)'), ('CL-AI', 'Ais\xe9n del General Carlos Ib\xe1\xf1ez del Campo'), ('CL-AN', 'Antofagasta'), ('CL-AR', 'Araucan\xeda'), ('CL-AP', 'Arica y Parinacota'), ('CL-AT', 'Atacama'), ('CL-BI', 'B\xedo-B\xedo'), ('CL-CO', 'Coquimbo'), ('CL-LI', "Libertador General Bernardo O'Higgins"), ('CL-LL', 'Los Lagos'), ('CL-LR', 'Los R\xedos'), ('CL-MA', 'Magallanes y Ant\xe1rtica Chilena'), ('CL-ML', 'Maule'), ('CL-RM', 'Regi\xf3n Metropolitana de Santiago'), ('CL-TA', 'Tarapac\xe1'), ('CL-VS', 'Valpara\xedso'), ('CM-AD', 'Adamaoua'), ('CM-CE', 'Centre'), ('CM-ES', 'East'), ('CM-EN', 'Far North'), ('CM-LT', 'Littoral'), ('CM-NO', 'North'), ('CM-NW', 'North-West (Cameroon)'), ('CM-SU', 'South'), ('CM-SW', 'South-West'), ('CM-OU', 'West'), ('CN-11', 'Beijing'), ('CN-50', 'Chongqing'), ('CN-31', 'Shanghai'), ('CN-12', 'Tianjin'), ('CN-34', 'Anhui'), ('CN-35', 'Fujian'), ('CN-62', 'Gansu'), ('CN-44', 'Guangdong'), ('CN-52', 'Guizhou'), ('CN-46', 'Hainan'), ('CN-13', 'Hebei'), ('CN-23', 'Heilongjiang'), ('CN-41', 'Henan'), ('CN-42', 'Hubei'), ('CN-43', 'Hunan'), ('CN-32', 'Jiangsu'), ('CN-36', 'Jiangxi'), ('CN-22', 'Jilin'), ('CN-21', 'Liaoning'), ('CN-63', 'Qinghai'), ('CN-61', 'Shaanxi'), ('CN-37', 'Shandong'), ('CN-14', 'Shanxi'), ('CN-51', 'Sichuan'), ('CN-71', 'Taiwan'), ('CN-53', 'Yunnan'), ('CN-33', 'Zhejiang'), ('CN-45', 'Guangxi'), ('CN-15', 'Nei Mongol'), ('CN-64', 'Ningxia'), ('CN-65', 'Xinjiang'), ('CN-54', 'Xizang'), ('CN-91', 'Xianggang (Hong-Kong)'), ('CN-92', 'Aomen (Macau)'), ('CO-DC', 'Distrito Capital de Bogot\xe1'), ('CO-AMA', 'Amazonas'), ('CO-ANT', 'Antioquia'), ('CO-ARA', 'Arauca'), ('CO-ATL', 'Atl\xe1ntico'), ('CO-BOL', 'Bol\xedvar'), ('CO-BOY', 'Boyac\xe1'), ('CO-CAL', 'Caldas'), ('CO-CAQ', 'Caquet\xe1'), ('CO-CAS', 'Casanare'), ('CO-CAU', 'Cauca'), ('CO-CES', 'Cesar'), ('CO-CHO', 'Choc\xf3'), ('CO-COR', 'C\xf3rdoba'), ('CO-CUN', 'Cundinamarca'), ('CO-GUA', 'Guain\xeda'), ('CO-GUV', 'Guaviare'), ('CO-HUI', 'Huila'), ('CO-LAG', 'La Guajira'), ('CO-MAG', 'Magdalena'), ('CO-MET', 'Meta'), ('CO-NAR', 'Nari\xf1o'), ('CO-NSA', 'Norte de Santander'), ('CO-PUT', 'Putumayo'), ('CO-QUI', 'Quind\xedo'), ('CO-RIS', 'Risaralda'), ('CO-SAP', 'San Andr\xe9s, Providencia y Santa Catalina'), ('CO-SAN', 'Santander'), ('CO-SUC', 'Sucre'), ('CO-TOL', 'Tolima'), ('CO-VAC', 'Valle del Cauca'), ('CO-VAU', 'Vaup\xe9s'), ('CO-VID', 'Vichada'), ('CR-A', 'Alajuela'), ('CR-C', 'Cartago'), ('CR-G', 'Guanacaste'), ('CR-H', 'Heredia'), ('CR-L', 'Lim\xf3n'), ('CR-P', 'Puntarenas'), ('CR-SJ', 'San Jos\xe9'), ('CU-09', 'Camag\xfcey'), ('CU-08', 'Ciego de \xc1vila'), ('CU-06', 'Cienfuegos'), ('CU-03', 'Ciudad de La Habana'), ('CU-12', 'Granma'), ('CU-14', 'Guant\xe1namo'), ('CU-11', 'Holgu\xedn'), ('CU-02', 'La Habana'), ('CU-10', 'Las Tunas'), ('CU-04', 'Matanzas'), ('CU-01', 'Pinar del Rio'), ('CU-07', 'Sancti Sp\xedritus'), ('CU-13', 'Santiago de Cuba'), ('CU-05', 'Villa Clara'), ('CU-99', 'Isla de la Juventud'), ('CV-B', 'Ilhas de Barlavento'), ('CV-S', 'Ilhas de Sotavento'), ('CV-BV', 'Boa Vista'), ('CV-BR', 'Brava'), ('CV-MA', 'Maio'), ('CV-MO', 'Mosteiros'), ('CV-PA', 'Paul'), ('CV-PN', 'Porto Novo'), ('CV-PR', 'Praia'), ('CV-RB', 'Ribeira Brava'), ('CV-RG', 'Ribeira Grande'), ('CV-RS', 'Ribeira Grande de Santiago'), ('CV-SL', 'Sal'), ('CV-CA', 'Santa Catarina'), ('CV-CF', 'Santa Catarina de Fogo'), ('CV-CR', 'Santa Cruz'), ('CV-SD', 'S\xe3o Domingos'), ('CV-SF', 'S\xe3o Filipe'), ('CV-SO', 'S\xe3o Louren\xe7o dos \xd3rg\xe3os'), ('CV-SM', 'S\xe3o Miguel'), ('CV-SS', 'S\xe3o Salvador do Mundo'), ('CV-SV', 'S\xe3o Vicente'), ('CV-TA', 'Tarrafal'), ('CV-TS', 'Tarrafal de S\xe3o Nicolau'), ('CY-04', 'Amm\xf3chostos'), ('CY-06', 'Ker\xfdneia'), ('CY-03', 'L\xe1rnaka'), ('CY-01', 'Lefkos\xeda'), ('CY-02', 'Lemes\xf3s'), ('CY-05', 'P\xe1fos'), ('CZ-JC', 'Jiho\u010desk\xfd kraj'), ('CZ-JM', 'Jihomoravsk\xfd kraj'), ('CZ-KA', 'Karlovarsk\xfd kraj'), ('CZ-KR', 'Kr\xe1lov\xe9hradeck\xfd kraj'), ('CZ-LI', 'Libereck\xfd kraj'), ('CZ-MO', 'Moravskoslezsk\xfd kraj'), ('CZ-OL', 'Olomouck\xfd kraj'), ('CZ-PA', 'Pardubick\xfd kraj'), ('CZ-PL', 'Plze\u0148sk\xfd kraj'), ('CZ-PR', 'Praha, hlavn\xed m\u011bsto'), ('CZ-ST', 'St\u0159edo\u010desk\xfd kraj'), ('CZ-US', '\xdasteck\xfd kraj'), ('CZ-VY', 'Vyso\u010dina'), ('CZ-ZL', 'Zl\xednsk\xfd kraj'), ('CZ-201', 'Bene\u0161ov'), ('CZ-202', 'Beroun'), ('CZ-621', 'Blansko'), ('CZ-622', 'Brno-m\u011bsto'), ('CZ-623', 'Brno-venkov'), ('CZ-801', 'Brunt\xe1l'), ('CZ-624', 'B\u0159eclav'), ('CZ-511', '\u010cesk\xe1 L\xedpa'), ('CZ-311', '\u010cesk\xe9 Bud\u011bjovice'), ('CZ-312', '\u010cesk\xfd Krumlov'), ('CZ-421', 'D\u011b\u010d\xedn'), ('CZ-321', 'Doma\u017elice'), ('CZ-802', 'Fr\xfddek M\xedstek'), ('CZ-611', 'Havl\xed\u010dk\u016fv Brod'), ('CZ-625', 'Hodon\xedn'), ('CZ-521', 'Hradec Kr\xe1lov\xe9'), ('CZ-411', 'Cheb'), ('CZ-422', 'Chomutov'), ('CZ-531', 'Chrudim'), ('CZ-512', 'Jablonec nad Nisou'), ('CZ-711', 'Jesen\xedk'), ('CZ-522', 'Ji\u010d\xedn'), ('CZ-612', 'Jihlava'), ('CZ-313', 'Jind\u0159ich\u016fv Hradec'), ('CZ-412', 'Karlovy Vary'), ('CZ-803', 'Karvin\xe1'), ('CZ-203', 'Kladno'), ('CZ-322', 'Klatovy'), ('CZ-204', 'Kol\xedn'), ('CZ-721', 'Krom\u0115\u0159\xed\u017e'), ('CZ-205', 'Kutn\xe1 Hora'), ('CZ-513', 'Liberec'), ('CZ-423', 'Litom\u011b\u0159ice'), ('CZ-424', 'Louny'), ('CZ-206', 'M\u011bln\xedk'), ('CZ-207', 'Mlad\xe1 Boleslav'), ('CZ-425', 'Most'), ('CZ-523', 'N\xe1chod'), ('CZ-804', 'Nov\xfd Ji\u010d\xedn'), ('CZ-208', 'Nymburk'), ('CZ-712', 'Olomouc'), ('CZ-805', 'Opava'), ('CZ-806', 'Ostrava m\u011bsto'), ('CZ-532', 'Pardubice'), ('CZ-613', 'Pelh\u0159imov'), ('CZ-314', 'P\xedsek'), ('CZ-324', 'Plze\u0148 jih'), ('CZ-323', 'Plze\u0148 m\u011bsto'), ('CZ-325', 'Plze\u0148 sever'), ('CZ-101', 'Praha 1'), ('CZ-102', 'Praha 2'), ('CZ-103', 'Praha 3'), ('CZ-104', 'Praha 4'), ('CZ-105', 'Praha 5'), ('CZ-106', 'Praha 6'), ('CZ-107', 'Praha 7'), ('CZ-108', 'Praha 8'), ('CZ-109', 'Praha 9'), ('CZ-10A', 'Praha 10'), ('CZ-10B', 'Praha 11'), ('CZ-10C', 'Praha 12'), ('CZ-10D', 'Praha 13'), ('CZ-10E', 'Praha 14'), ('CZ-10F', 'Praha 15'), ('CZ-209', 'Praha v\xfdchod'), ('CZ-20A', 'Praha z\xe1pad'), ('CZ-315', 'Prachatice'), ('CZ-713', 'Prost\u0115jov'), ('CZ-714', 'P\u0159erov'), ('CZ-20B', 'P\u0159\xedbram'), ('CZ-20C', 'Rakovn\xedk'), ('CZ-326', 'Rokycany'), ('CZ-524', 'Rychnov nad Kn\u011b\u017enou'), ('CZ-514', 'Semily'), ('CZ-413', 'Sokolov'), ('CZ-316', 'Strakonice'), ('CZ-533', 'Svitavy'), ('CZ-715', '\u0160umperk'), ('CZ-317', 'T\xe1bor'), ('CZ-327', 'Tachov'), ('CZ-426', 'Teplice'), ('CZ-525', 'Trutnov'), ('CZ-614', 'T\u0159eb\xed\u010d'), ('CZ-722', 'Uhersk\xe9 Hradi\u0161t\u0115'), ('CZ-427', '\xdast\xed nad Labem'), ('CZ-534', '\xdast\xed nad Orlic\xed'), ('CZ-723', 'Vset\xedn'), ('CZ-626', 'Vy\u0161kov'), ('CZ-724', 'Zl\xedn'), ('CZ-627', 'Znojmo'), ('CZ-615', '\u017dd\u2019\xe1r nad S\xe1zavou'), ('DE-BW', 'Baden-W\xfcrttemberg'), ('DE-BY', 'Bayern'), ('DE-HB', 'Bremen'), ('DE-HH', 'Hamburg'), ('DE-HE', 'Hessen'), ('DE-NI', 'Niedersachsen'), ('DE-NW', 'Nordrhein-Westfalen'), ('DE-RP', 'Rheinland-Pfalz'), ('DE-SL', 'Saarland'), ('DE-SH', 'Schleswig-Holstein'), ('DE-BE', 'Berlin'), ('DE-BB', 'Brandenburg'), ('DE-MV', 'Mecklenburg-Vorpommern'), ('DE-SN', 'Sachsen'), ('DE-ST', 'Sachsen-Anhalt'), ('DE-TH', 'Th\xfcringen'), ('DJ-AS', 'Ali Sabieh'), ('DJ-AR', 'Arta'), ('DJ-DI', 'Dikhil'), ('DJ-OB', 'Obock'), ('DJ-TA', 'Tadjourah'), ('DJ-DJ', 'Djibouti'), ('DK-84', 'Hovedstaden'), ('DK-82', 'Midtjylland'), ('DK-81', 'Nordjylland'), ('DK-85', 'Sj\xe6lland'), ('DK-83', 'Syddanmark'), ('DM-02', 'Saint Andrew'), ('DM-03', 'Saint David'), ('DM-04', 'Saint George'), ('DM-05', 'Saint John'), ('DM-06', 'Saint Joseph'), ('DM-07', 'Saint Luke'), ('DM-08', 'Saint Mark'), ('DM-09', 'Saint Patrick'), ('DM-10', 'Saint Paul'), ('DM-01', 'Saint Peter'), ('DO-01', 'Distrito Nacional (Santo Domingo)'), ('DO-02', 'Azua'), ('DO-03', 'Bahoruco'), ('DO-04', 'Barahona'), ('DO-05', 'Dajab\xf3n'), ('DO-06', 'Duarte'), ('DO-08', 'El Seybo [El Seibo]'), ('DO-09', 'Espaillat'), ('DO-30', 'Hato Mayor'), ('DO-10', 'Independencia'), ('DO-11', 'La Altagracia'), ('DO-07', 'La Estrelleta [El\xedas Pi\xf1a]'), ('DO-12', 'La Romana'), ('DO-13', 'La Vega'), ('DO-14', 'Mar\xeda Trinidad S\xe1nchez'), ('DO-28', 'Monse\xf1or Nouel'), ('DO-15', 'Monte Cristi'), ('DO-29', 'Monte Plata'), ('DO-16', 'Pedernales'), ('DO-17', 'Peravia'), ('DO-18', 'Puerto Plata'), ('DO-19', 'Salcedo'), ('DO-20', 'Saman\xe1'), ('DO-21', 'San Crist\xf3bal'), ('DO-22', 'San Juan'), ('DO-23', 'San Pedro de Macor\xeds'), ('DO-24', 'S\xe1nchez Ram\xedrez'), ('DO-25', 'Santiago'), ('DO-26', 'Santiago Rodr\xedguez'), ('DO-27', 'Valverde'), ('DZ-01', 'Adrar'), ('DZ-44', 'A\xefn Defla'), ('DZ-46', 'A\xefn T\xe9mouchent'), ('DZ-16', 'Alger'), ('DZ-23', 'Annaba'), ('DZ-05', 'Batna'), ('DZ-08', 'B\xe9char'), ('DZ-06', 'B\xe9ja\xefa'), ('DZ-07', 'Biskra'), ('DZ-09', 'Blida'), ('DZ-34', 'Bordj Bou Arr\xe9ridj'), ('DZ-10', 'Bouira'), ('DZ-35', 'Boumerd\xe8s'), ('DZ-02', 'Chlef'), ('DZ-25', 'Constantine'), ('DZ-17', 'Djelfa'), ('DZ-32', 'El Bayadh'), ('DZ-39', 'El Oued'), ('DZ-36', 'El Tarf'), ('DZ-47', 'Gharda\xefa'), ('DZ-24', 'Guelma'), ('DZ-33', 'Illizi'), ('DZ-18', 'Jijel'), ('DZ-40', 'Khenchela'), ('DZ-03', 'Laghouat'), ('DZ-29', 'Mascara'), ('DZ-26', 'M\xe9d\xe9a'), ('DZ-43', 'Mila'), ('DZ-27', 'Mostaganem'), ('DZ-28', 'Msila'), ('DZ-45', 'Naama'), ('DZ-31', 'Oran'), ('DZ-30', 'Ouargla'), ('DZ-04', 'Oum el Bouaghi'), ('DZ-48', 'Relizane'), ('DZ-20', 'Sa\xefda'), ('DZ-19', 'S\xe9tif'), ('DZ-22', 'Sidi Bel Abb\xe8s'), ('DZ-21', 'Skikda'), ('DZ-41', 'Souk Ahras'), ('DZ-11', 'Tamanghasset'), ('DZ-12', 'T\xe9bessa'), ('DZ-14', 'Tiaret'), ('DZ-37', 'Tindouf'), ('DZ-42', 'Tipaza'), ('DZ-38', 'Tissemsilt'), ('DZ-15', 'Tizi Ouzou'), ('DZ-13', 'Tlemcen'), ('EC-A', 'Azuay'), ('EC-B', 'Bol\xedvar'), ('EC-F', 'Ca\xf1ar'), ('EC-C', 'Carchi'), ('EC-X', 'Cotopaxi'), ('EC-H', 'Chimborazo'), ('EC-O', 'El Oro'), ('EC-E', 'Esmeraldas'), ('EC-W', 'Gal\xe1pagos'), ('EC-G', 'Guayas'), ('EC-I', 'Imbabura'), ('EC-L', 'Loja'), ('EC-R', 'Los R\xedos'), ('EC-M', 'Manab\xed'), ('EC-S', 'Morona-Santiago'), ('EC-N', 'Napo'), ('EC-D', 'Orellana'), ('EC-Y', 'Pastaza'), ('EC-P', 'Pichincha'), ('EC-SE', 'Santa Elena'), ('EC-SD', 'Santo Domingo de los Ts\xe1chilas'), ('EC-U', 'Sucumb\xedos'), ('EC-T', 'Tungurahua'), ('EC-Z', 'Zamora-Chinchipe'), ('EE-37', 'Harjumaa'), ('EE-39', 'Hiiumaa'), ('EE-44', 'Ida-Virumaa'), ('EE-49', 'J\xf5gevamaa'), ('EE-51', 'J\xe4rvamaa'), ('EE-57', 'L\xe4\xe4nemaa'), ('EE-59', 'L\xe4\xe4ne-Virumaa'), ('EE-65', 'P\xf5lvamaa'), ('EE-67', 'P\xe4rnumaa'), ('EE-70', 'Raplamaa'), ('EE-74', 'Saaremaa'), ('EE-78', 'Tartumaa'), ('EE-82', 'Valgamaa'), ('EE-84', 'Viljandimaa'), ('EE-86', 'V\xf5rumaa'), ('EG-DK', 'Ad Daqahl\u012byah'), ('EG-BA', 'Al Bahr al Ahmar'), ('EG-BH', 'Al Buhayrah'), ('EG-FYM', 'Al Fayy\u016bm'), ('EG-GH', 'Al Gharb\u012byah'), ('EG-ALX', 'Al Iskandar\u012byah'), ('EG-IS', 'Al Ism\u0101`\u012bl\u012byah'), ('EG-GZ', 'Al J\u012bzah'), ('EG-MNF', 'Al Min\u016bf\u012byah'), ('EG-MN', 'Al Miny\u0101'), ('EG-C', 'Al Q\u0101hirah'), ('EG-KB', 'Al Qaly\u016bb\u012byah'), ('EG-WAD', 'Al W\u0101d\u012b al Jad\u012bd'), ('EG-SU', 'As S\u0101dis min Ukt\u016bbar'), ('EG-SHR', 'Ash Sharq\u012byah'), ('EG-SUZ', 'As Suways'), ('EG-ASN', 'Asw\u0101n'), ('EG-AST', 'Asy\u016bt'), ('EG-BNS', 'Ban\u012b Suwayf'), ('EG-PTS', 'B\u016br Sa`\u012bd'), ('EG-DT', 'Dumy\u0101t'), ('EG-HU', 'H\u0327ulw\u0101n'), ('EG-JS', "Jan\u016bb S\u012bn\u0101'"), ('EG-KFS', 'Kafr ash Shaykh'), ('EG-MT', 'Matr\u016bh'), ('EG-KN', 'Qin\u0101'), ('EG-SIN', "Shamal S\u012bn\u0101'"), ('EG-SHG', 'S\u016bh\u0101j'), ('ER-MA', 'Al Awsa\u0163'), ('ER-DU', 'Al Jan\u016bb\u012b'), ('ER-AN', 'Ansab\u0101'), ('ER-DK', 'Jan\u016bb\u012b al Ba\u1e29r\u012b al A\u1e29mar'), ('ER-GB', 'Q\u0101sh-Barkah'), ('ER-SK', 'Shim\u0101l\u012b al Ba\u1e29r\u012b al A\u1e29mar'), ('ES-AN', 'Andaluc\xeda'), ('ES-AR', 'Arag\xf3n'), ('ES-AS', 'Asturias, Principado de'), ('ES-CN', 'Canarias'), ('ES-CB', 'Cantabria'), ('ES-CM', 'Castilla-La Mancha'), ('ES-CL', 'Castilla y Le\xf3n'), ('ES-CT', 'Catalunya'), ('ES-EX', 'Extremadura'), ('ES-GA', 'Galicia'), ('ES-IB', 'Illes Balears'), ('ES-RI', 'La Rioja'), ('ES-MD', 'Madrid, Comunidad de'), ('ES-MC', 'Murcia, Regi\xf3n de'), ('ES-NC', 'Navarra, Comunidad Foral de / Nafarroako Foru Komunitatea'), ('ES-PV', 'Pa\xeds Vasco / Euskal Herria'), ('ES-VC', 'Valenciana, Comunidad / Valenciana, Comunitat '), ('ES-C', 'A Coru\xf1a'), ('ES-VI', '\xc1lava'), ('ES-AB', 'Albacete'), ('ES-A', 'Alicante'), ('ES-AL', 'Almer\xeda'), ('ES-O', 'Asturias'), ('ES-AV', '\xc1vila'), ('ES-BA', 'Badajoz'), ('ES-B', 'Barcelona'), ('ES-BU', 'Burgos'), ('ES-CC', 'C\xe1ceres'), ('ES-CA', 'C\xe1diz'), ('ES-S', 'Cantabria'), ('ES-CS', 'Castell\xf3n'), ('ES-CR', 'Ciudad Real'), ('ES-CO', 'C\xf3rdoba'), ('ES-CU', 'Cuenca'), ('ES-GI', 'Girona'), ('ES-GR', 'Granada'), ('ES-GU', 'Guadalajara'), ('ES-SS', 'Guip\xfazcoa / Gipuzkoa'), ('ES-H', 'Huelva'), ('ES-HU', 'Huesca'), ('ES-J', 'Ja\xe9n'), ('ES-LO', 'La Rioja'), ('ES-GC', 'Las Palmas'), ('ES-LE', 'Le\xf3n'), ('ES-L', 'Lleida'), ('ES-LU', 'Lugo'), ('ES-M', 'Madrid'), ('ES-MA', 'M\xe1laga'), ('ES-MU', 'Murcia'), ('ES-NA', 'Navarra / Nafarroa'), ('ES-OR', 'Ourense'), ('ES-P', 'Palencia'), ('ES-PM', 'Balears'), ('ES-PO', 'Pontevedra'), ('ES-SA', 'Salamanca'), ('ES-TF', 'Santa Cruz de Tenerife'), ('ES-SG', 'Segovia'), ('ES-SE', 'Sevilla'), ('ES-SO', 'Soria'), ('ES-T', 'Tarragona'), ('ES-TE', 'Teruel'), ('ES-TO', 'Toledo'), ('ES-V', 'Valencia / Val\xe8ncia'), ('ES-VA', 'Valladolid'), ('ES-BI', 'Vizcayaa / Bizkaia'), ('ES-ZA', 'Zamora'), ('ES-Z', 'Zaragoza'), ('ES-CE', 'Ceuta'), ('ES-ML', 'Melilla'), ('ET-AA', '\u0100d\u012bs \u0100beba'), ('ET-DD', 'Dir\u0113 Dawa'), ('ET-AF', '\u0100far'), ('ET-AM', '\u0100mara'), ('ET-BE', 'B\u012bnshangul Gumuz'), ('ET-GA', 'Gamb\u0113la Hizboch'), ('ET-HA', 'H\u0101rer\u012b Hizb'), ('ET-OR', 'Orom\u012bya'), ('ET-SO', 'Sumal\u0113'), ('ET-TI', 'Tigray'), ('ET-SN', 'YeDebub Bih\u0113roch Bih\u0113reseboch na Hizboch'), ('FI-01', 'Ahvenanmaan maakunta'), ('FI-02', 'Etel\xe4-Karjala'), ('FI-03', 'Etel\xe4-Pohjanmaa'), ('FI-04', 'Etel\xe4-Savo'), ('FI-05', 'Kainuu'), ('FI-06', 'Kanta-H\xe4me'), ('FI-07', 'Keski-Pohjanmaa'), ('FI-08', 'Keski-Suomi'), ('FI-09', 'Kymenlaakso'), ('FI-10', 'Lappi'), ('FI-11', 'Pirkanmaa'), ('FI-12', 'Pohjanmaa'), ('FI-13', 'Pohjois-Karjala'), ('FI-14', 'Pohjois-Pohjanmaa'), ('FI-15', 'Pohjois-Savo'), ('FI-16', 'P\xe4ij\xe4t-H\xe4me'), ('FI-17', 'Satakunta'), ('FI-18', 'Uusimaa'), ('FI-19', 'Varsinais-Suomi'), ('FJ-C', 'Central'), ('FJ-E', 'Eastern'), ('FJ-N', 'Northern'), ('FJ-W', 'Western'), ('FJ-R', 'Rotuma'), ('FM-TRK', 'Chuuk'), ('FM-KSA', 'Kosrae'), ('FM-PNI', 'Pohnpei'), ('FM-YAP', 'Yap'), ('FR-A', 'Alsace'), ('FR-B', 'Aquitaine'), ('FR-C', 'Auvergne'), ('FR-P', 'Basse-Normandie'), ('FR-D', 'Bourgogne'), ('FR-E', 'Bretagne'), ('FR-F', 'Centre'), ('FR-G', 'Champagne-Ardenne'), ('FR-H', 'Corse'), ('FR-I', 'Franche-Comt\xe9'), ('FR-Q', 'Haute-Normandie'), ('FR-J', '\xcele-de-France'), ('FR-K', 'Languedoc-Roussillon'), ('FR-L', 'Limousin'), ('FR-M', 'Lorraine'), ('FR-N', 'Midi-Pyr\xe9n\xe9es'), ('FR-O', 'Nord - Pas-de-Calais'), ('FR-R', 'Pays de la Loire'), ('FR-S', 'Picardie'), ('FR-T', 'Poitou-Charentes'), ('FR-U', "Provence-Alpes-C\xf4te d'Azur"), ('FR-V', 'Rh\xf4ne-Alpes'), ('FR-01', 'Ain'), ('FR-02', 'Aisne'), ('FR-03', 'Allier'), ('FR-04', 'Alpes-de-Haute-Provence'), ('FR-06', 'Alpes-Maritimes'), ('FR-07', 'Ard\xe8che'), ('FR-08', 'Ardennes'), ('FR-09', 'Ari\xe8ge'), ('FR-10', 'Aube'), ('FR-11', 'Aude'), ('FR-12', 'Aveyron'), ('FR-67', 'Bas-Rhin'), ('FR-13', 'Bouches-du-Rh\xf4ne'), ('FR-14', 'Calvados'), ('FR-15', 'Cantal'), ('FR-16', 'Charente'), ('FR-17', 'Charente-Maritime'), ('FR-18', 'Cher'), ('FR-19', 'Corr\xe8ze'), ('FR-2A', 'Corse-du-Sud'), ('FR-21', "C\xf4te-d'Or"), ('FR-22', "C\xf4tes-d'Armor"), ('FR-23', 'Creuse'), ('FR-79', 'Deux-S\xe8vres'), ('FR-24', 'Dordogne'), ('FR-25', 'Doubs'), ('FR-26', 'Dr\xf4me'), ('FR-91', 'Essonne'), ('FR-27', 'Eure'), ('FR-28', 'Eure-et-Loir'), ('FR-29', 'Finist\xe8re'), ('FR-30', 'Gard'), ('FR-32', 'Gers'), ('FR-33', 'Gironde'), ('FR-2B', 'Haute-Corse'), ('FR-31', 'Haute-Garonne'), ('FR-43', 'Haute-Loire'), ('FR-52', 'Haute-Marne'), ('FR-05', 'Hautes-Alpes'), ('FR-70', 'Haute-Sa\xf4ne'), ('FR-74', 'Haute-Savoie'), ('FR-65', 'Hautes-Pyr\xe9n\xe9es'), ('FR-87', 'Haute-Vienne'), ('FR-68', 'Haut-Rhin'), ('FR-92', 'Hauts-de-Seine'), ('FR-34', 'H\xe9rault'), ('FR-35', 'Ille-et-Vilaine'), ('FR-36', 'Indre'), ('FR-37', 'Indre-et-Loire'), ('FR-38', 'Is\xe8re'), ('FR-39', 'Jura'), ('FR-40', 'Landes'), ('FR-41', 'Loir-et-Cher'), ('FR-42', 'Loire'), ('FR-44', 'Loire-Atlantique'), ('FR-45', 'Loiret'), ('FR-46', 'Lot'), ('FR-47', 'Lot-et-Garonne'), ('FR-48', 'Loz\xe8re'), ('FR-49', 'Maine-et-Loire'), ('FR-50', 'Manche'), ('FR-51', 'Marne'), ('FR-53', 'Mayenne'), ('FR-54', 'Meurthe-et-Moselle'), ('FR-55', 'Meuse'), ('FR-56', 'Morbihan'), ('FR-57', 'Moselle'), ('FR-58', 'Ni\xe8vre'), ('FR-59', 'Nord'), ('FR-60', 'Oise'), ('FR-61', 'Orne'), ('FR-75', 'Paris'), ('FR-62', 'Pas-de-Calais'), ('FR-63', 'Puy-de-D\xf4me'), ('FR-64', 'Pyr\xe9n\xe9es-Atlantiques'), ('FR-66', 'Pyr\xe9n\xe9es-Orientales'), ('FR-69', 'Rh\xf4ne'), ('FR-71', 'Sa\xf4ne-et-Loire'), ('FR-72', 'Sarthe'), ('FR-73', 'Savoie'), ('FR-77', 'Seine-et-Marne'), ('FR-76', 'Seine-Maritime'), ('FR-93', 'Seine-Saint-Denis'), ('FR-80', 'Somme'), ('FR-81', 'Tarn'), ('FR-82', 'Tarn-et-Garonne'), ('FR-90', 'Territoire de Belfort'), ('FR-94', 'Val-de-Marne'), ('FR-95', "Val d'Oise"), ('FR-83', 'Var'), ('FR-84', 'Vaucluse'), ('FR-85', 'Vend\xe9e'), ('FR-86', 'Vienne'), ('FR-88', 'Vosges'), ('FR-89', 'Yonne'), ('FR-78', 'Yvelines'), ('FR-GP', 'Guadeloupe'), ('FR-GF', 'Guyane'), ('FR-MQ', 'Martinique'), ('FR-YT', 'Mayotte'), ('FR-RE', 'R\xe9union'), ('FR-CP', 'Clipperton'), ('FR-NC', 'Nouvelle-Cal\xe9donie'), ('FR-PF', 'Polyn\xe9sie fran\xe7aise'), ('FR-BL', 'Saint-Barth\xe9lemy'), ('FR-MF', 'Saint-Martin'), ('FR-PM', 'Saint-Pierre-et-Miquelon'), ('FR-TF', 'Terres australes fran\xe7aises'), ('FR-WF', 'Wallis-et-Futuna'), ('GA-1', 'Estuaire'), ('GA-2', 'Haut-Ogoou\xe9'), ('GA-3', 'Moyen-Ogoou\xe9'), ('GA-4', 'Ngouni\xe9'), ('GA-5', 'Nyanga'), ('GA-6', 'Ogoou\xe9-Ivindo'), ('GA-7', 'Ogoou\xe9-Lolo'), ('GA-8', 'Ogoou\xe9-Maritime'), ('GA-9', 'Woleu-Ntem'), ('GB-ENG', 'England'), ('GB-SCT', 'Scotland'), ('GB-WLS', 'Wales'), ('GB-NIR', 'Northern Ireland'), ('GB-EAW', 'England and Wales'), ('GB-GBN', 'Great Britain'), ('GB-UKM', 'United Kingdom'), ('GB-BKM', 'Buckinghamshire'), ('GB-CAM', 'Cambridgeshire'), ('GB-CMA', 'Cumbria'), ('GB-DBY', 'Derbyshire'), ('GB-DEV', 'Devon'), ('GB-DOR', 'Dorset'), ('GB-ESX', 'East Sussex'), ('GB-ESS', 'Essex'), ('GB-GLS', 'Gloucestershire'), ('GB-HAM', 'Hampshire'), ('GB-HRT', 'Hertfordshire'), ('GB-KEN', 'Kent'), ('GB-LAN', 'Lancashire'), ('GB-LEC', 'Leicestershire'), ('GB-LIN', 'Lincolnshire'), ('GB-NFK', 'Norfolk'), ('GB-NYK', 'North Yorkshire'), ('GB-NTH', 'Northamptonshire'), ('GB-NTT', 'Nottinghamshire'), ('GB-OXF', 'Oxfordshire'), ('GB-SOM', 'Somerset'), ('GB-STS', 'Staffordshire'), ('GB-SFK', 'Suffolk'), ('GB-SRY', 'Surrey'), ('GB-WAR', 'Warwickshire'), ('GB-WSX', 'West Sussex'), ('GB-WOR', 'Worcestershire'), ('GB-BDG', 'Barking and Dagenham'), ('GB-BNE', 'Barnet'), ('GB-BEX', 'Bexley'), ('GB-BEN', 'Brent'), ('GB-BRY', 'Bromley'), ('GB-CMD', 'Camden'), ('GB-CRY', 'Croydon'), ('GB-EAL', 'Ealing'), ('GB-ENF', 'Enfield'), ('GB-GRE', 'Greenwich'), ('GB-HCK', 'Hackney'), ('GB-HMF', 'Hammersmith and Fulham'), ('GB-HRY', 'Haringey'), ('GB-HRW', 'Harrow'), ('GB-HAV', 'Havering'), ('GB-HIL', 'Hillingdon'), ('GB-HNS', 'Hounslow'), ('GB-ISL', 'Islington'), ('GB-KEC', 'Kensington and Chelsea'), ('GB-KTT', 'Kingston upon Thames'), ('GB-LBH', 'Lambeth'), ('GB-LEW', 'Lewisham'), ('GB-MRT', 'Merton'), ('GB-NWM', 'Newham'), ('GB-RDB', 'Redbridge'), ('GB-RIC', 'Richmond upon Thames'), ('GB-SWK', 'Southwark'), ('GB-STN', 'Sutton'), ('GB-TWH', 'Tower Hamlets'), ('GB-WFT', 'Waltham Forest'), ('GB-WND', 'Wandsworth'), ('GB-WSM', 'Westminster'), ('GB-BNS', 'Barnsley'), ('GB-BIR', 'Birmingham'), ('GB-BOL', 'Bolton'), ('GB-BRD', 'Bradford'), ('GB-BUR', 'Bury'), ('GB-CLD', 'Calderdale'), ('GB-COV', 'Coventry'), ('GB-DNC', 'Doncaster'), ('GB-DUD', 'Dudley'), ('GB-GAT', 'Gateshead'), ('GB-KIR', 'Kirklees'), ('GB-KWL', 'Knowsley'), ('GB-LDS', 'Leeds'), ('GB-LIV', 'Liverpool'), ('GB-MAN', 'Manchester'), ('GB-NET', 'Newcastle upon Tyne'), ('GB-NTY', 'North Tyneside'), ('GB-OLD', 'Oldham'), ('GB-RCH', 'Rochdale'), ('GB-ROT', 'Rotherham'), ('GB-SHN', 'St. Helens'), ('GB-SLF', 'Salford'), ('GB-SAW', 'Sandwell'), ('GB-SFT', 'Sefton'), ('GB-SHF', 'Sheffield'), ('GB-SOL', 'Solihull'), ('GB-STY', 'South Tyneside'), ('GB-SKP', 'Stockport'), ('GB-SND', 'Sunderland'), ('GB-TAM', 'Tameside'), ('GB-TRF', 'Trafford'), ('GB-WKF', 'Wakefield'), ('GB-WLL', 'Walsall'), ('GB-WGN', 'Wigan'), ('GB-WRL', 'Wirral'), ('GB-WLV', 'Wolverhampton'), ('GB-LND', 'London, City of'), ('GB-ABE', 'Aberdeen City'), ('GB-ABD', 'Aberdeenshire'), ('GB-ANS', 'Angus'), ('GB-AGB', 'Argyll and Bute'), ('GB-CLK', 'Clackmannanshire'), ('GB-DGY', 'Dumfries and Galloway'), ('GB-DND', 'Dundee City'), ('GB-EAY', 'East Ayrshire'), ('GB-EDU', 'East Dunbartonshire'), ('GB-ELN', 'East Lothian'), ('GB-ERW', 'East Renfrewshire'), ('GB-EDH', 'Edinburgh, City of'), ('GB-ELS', 'Eilean Siar'), ('GB-FAL', 'Falkirk'), ('GB-FIF', 'Fife'), ('GB-GLG', 'Glasgow City'), ('GB-HLD', 'Highland'), ('GB-IVC', 'Inverclyde'), ('GB-MLN', 'Midlothian'), ('GB-MRY', 'Moray'), ('GB-NAY', 'North Ayrshire'), ('GB-NLK', 'North Lanarkshire'), ('GB-ORK', 'Orkney Islands'), ('GB-PKN', 'Perth and Kinross'), ('GB-RFW', 'Renfrewshire'), ('GB-SCB', 'Scottish Borders, The'), ('GB-ZET', 'Shetland Islands'), ('GB-SAY', 'South Ayrshire'), ('GB-SLK', 'South Lanarkshire'), ('GB-STG', 'Stirling'), ('GB-WDU', 'West Dunbartonshire'), ('GB-WLN', 'West Lothian'), ('GB-ANT', 'Antrim'), ('GB-ARD', 'Ards'), ('GB-ARM', 'Armagh'), ('GB-BLA', 'Ballymena'), ('GB-BLY', 'Ballymoney'), ('GB-BNB', 'Banbridge'), ('GB-BFS', 'Belfast'), ('GB-CKF', 'Carrickfergus'), ('GB-CSR', 'Castlereagh'), ('GB-CLR', 'Coleraine'), ('GB-CKT', 'Cookstown'), ('GB-CGV', 'Craigavon'), ('GB-DRY', 'Derry'), ('GB-DOW', 'Down'), ('GB-DGN', 'Dungannon and South Tyrone'), ('GB-FER', 'Fermanagh'), ('GB-LRN', 'Larne'), ('GB-LMV', 'Limavady'), ('GB-LSB', 'Lisburn'), ('GB-MFT', 'Magherafelt'), ('GB-MYL', 'Moyle'), ('GB-NYM', 'Newry and Mourne'), ('GB-NTA', 'Newtownabbey'), ('GB-NDN', 'North Down'), ('GB-OMH', 'Omagh'), ('GB-STB', 'Strabane'), ('GB-BAS', 'Bath and North East Somerset'), ('GB-BBD', 'Blackburn with Darwen'), ('GB-BDF', 'Bedford'), ('GB-BPL', 'Blackpool'), ('GB-BMH', 'Bournemouth'), ('GB-BRC', 'Bracknell Forest'), ('GB-BNH', 'Brighton and Hove'), ('GB-BST', 'Bristol, City of'), ('GB-CBF', 'Central Bedfordshire'), ('GB-CHE', 'Cheshire East'), ('GB-CHW', 'Cheshire West and Chester'), ('GB-CON', 'Cornwall'), ('GB-DAL', 'Darlington'), ('GB-DER', 'Derby'), ('GB-DUR', 'Durham, County'), ('GB-ERY', 'East Riding of Yorkshire'), ('GB-HAL', 'Halton'), ('GB-HPL', 'Hartlepool'), ('GB-HEF', 'Herefordshire'), ('GB-IOW', 'Isle of Wight'), ('GB-KHL', 'Kingston upon Hull'), ('GB-LCE', 'Leicester'), ('GB-LUT', 'Luton'), ('GB-MDW', 'Medway'), ('GB-MDB', 'Middlesbrough'), ('GB-MIK', 'Milton Keynes'), ('GB-NEL', 'North East Lincolnshire'), ('GB-NLN', 'North Lincolnshire'), ('GB-NSM', 'North Somerset'), ('GB-NBL', 'Northumberland'), ('GB-NGM', 'Nottingham'), ('GB-PTE', 'Peterborough'), ('GB-PLY', 'Plymouth'), ('GB-POL', 'Poole'), ('GB-POR', 'Portsmouth'), ('GB-RDG', 'Reading'), ('GB-RCC', 'Redcar and Cleveland'), ('GB-RUT', 'Rutland'), ('GB-SHR', 'Shropshire'), ('GB-SLG', 'Slough'), ('GB-SGC', 'South Gloucestershire'), ('GB-STH', 'Southampton'), ('GB-SOS', 'Southend-on-Sea'), ('GB-STT', 'Stockton-on-Tees'), ('GB-STE', 'Stoke-on-Trent'), ('GB-SWD', 'Swindon'), ('GB-TFW', 'Telford and Wrekin'), ('GB-THR', 'Thurrock'), ('GB-TOB', 'Torbay'), ('GB-WRT', 'Warrington'), ('GB-WBK', 'West Berkshire'), ('GB-WNM', 'Windsor and Maidenhead'), ('GB-WOK', 'Wokingham'), ('GB-YOR', 'York'), ('GB-BGW', 'Blaenau Gwent'), ('GB-BGE', 'Bridgend;Pen-y-bont ar Ogwr'), ('GB-CAY', 'Caerphilly;Caerffili'), ('GB-CRF', 'Cardiff;Caerdydd'), ('GB-CMN', 'Carmarthenshire;Sir Gaerfyrddin'), ('GB-CGN', 'Ceredigion;Sir Ceredigion'), ('GB-CWY', 'Conwy'), ('GB-DEN', 'Denbighshire;Sir Ddinbych'), ('GB-FLN', 'Flintshire;Sir y Fflint'), ('GB-GWN', 'Gwynedd'), ('GB-AGY', 'Isle of Anglesey;Sir Ynys M\xf4n'), ('GB-MTY', 'Merthyr Tydfil;Merthyr Tudful'), ('GB-MON', 'Monmouthshire;Sir Fynwy'), ('GB-NTL', 'Neath Port Talbot;Castell-nedd Port Talbot'), ('GB-NWP', 'Newport;Casnewydd'), ('GB-PEM', 'Pembrokeshire;Sir Benfro'), ('GB-POW', 'Powys'), ('GB-RCT', 'Rhondda, Cynon, Taff;Rhondda, Cynon,Taf'), ('GB-SWA', 'Swansea;Abertawe'), ('GB-TOF', 'Torfaen;Tor-faen'), ('GB-VGL', 'Vale of Glamorgan, The;Bro Morgannwg'), ('GB-WRX', 'Wrexham;Wrecsam'), ('GD-01', 'Saint Andrew'), ('GD-02', 'Saint David'), ('GD-03', 'Saint George'), ('GD-04', 'Saint John'), ('GD-05', 'Saint Mark'), ('GD-06', 'Saint Patrick'), ('GD-10', 'Southern Grenadine Islands'), ('GE-AB', 'Abkhazia'), ('GE-AJ', 'Ajaria'), ('GE-TB', 'T\u2019bilisi'), ('GE-GU', 'Guria'), ('GE-IM', 'Imeret\u2019i'), ('GE-KA', 'Kakhet\u2019i'), ('GE-KK', 'K\u2019vemo K\u2019art\u2019li'), ('GE-MM', 'Mts\u2019khet\u2019a-Mt\u2019ianet\u2019i'), ('GE-RL', 'Racha-Lech\u2019khumi-K\u2019vemo Svanet\u2019i'), ('GE-SZ', 'Samegrelo-Zemo Svanet\u2019i'), ('GE-SJ', 'Samts\u2019khe-Javakhet\u2019i'), ('GE-SK', 'Shida K\u2019art\u2019li'), ('GH-AH', 'Ashanti'), ('GH-BA', 'Brong-Ahafo'), ('GH-CP', 'Central'), ('GH-EP', 'Eastern'), ('GH-AA', 'Greater Accra'), ('GH-NP', 'Northern'), ('GH-UE', 'Upper East'), ('GH-UW', 'Upper West'), ('GH-TV', 'Volta'), ('GH-WP', 'Western'), ('GL-KU', 'Kommune Kujalleq'), ('GL-SM', 'Kommuneqarfik Sermersooq'), ('GL-QA', 'Qaasuitsup Kommunia'), ('GL-QE', 'Qeqqata Kommunia'), ('GM-L', 'Lower River'), ('GM-M', 'Central River'), ('GM-N', 'North Bank'), ('GM-U', 'Upper River'), ('GM-W', 'Western'), ('GM-B', 'Banjul'), ('GN-B', 'Bok\xe9'), ('GN-F', 'Faranah'), ('GN-K', 'Kankan'), ('GN-D', 'Kindia'), ('GN-L', 'Lab\xe9'), ('GN-M', 'Mamou'), ('GN-N', 'Nz\xe9r\xe9kor\xe9'), ('GN-C', 'Conakry'), ('GN-BE', 'Beyla'), ('GN-BF', 'Boffa'), ('GN-BK', 'Bok\xe9'), ('GN-CO', 'Coyah'), ('GN-DB', 'Dabola'), ('GN-DL', 'Dalaba'), ('GN-DI', 'Dinguiraye'), ('GN-DU', 'Dubr\xe9ka'), ('GN-FA', 'Faranah'), ('GN-FO', 'For\xe9cariah'), ('GN-FR', 'Fria'), ('GN-GA', 'Gaoual'), ('GN-GU', 'Gu\xe9k\xe9dou'), ('GN-KA', 'Kankan'), ('GN-KE', 'K\xe9rouan\xe9'), ('GN-KD', 'Kindia'), ('GN-KS', 'Kissidougou'), ('GN-KB', 'Koubia'), ('GN-KN', 'Koundara'), ('GN-KO', 'Kouroussa'), ('GN-LA', 'Lab\xe9'), ('GN-LE', 'L\xe9louma'), ('GN-LO', 'Lola'), ('GN-MC', 'Macenta'), ('GN-ML', 'Mali'), ('GN-MM', 'Mamou'), ('GN-MD', 'Mandiana'), ('GN-NZ', 'Nz\xe9r\xe9kor\xe9'), ('GN-PI', 'Pita'), ('GN-SI', 'Siguiri'), ('GN-TE', 'T\xe9lim\xe9l\xe9'), ('GN-TO', 'Tougu\xe9'), ('GN-YO', 'Yomou'), ('GQ-C', 'Regi\xf3n Continental'), ('GQ-I', 'Regi\xf3n Insular'), ('GQ-AN', 'Annob\xf3n'), ('GQ-BN', 'Bioko Norte'), ('GQ-BS', 'Bioko Sur'), ('GQ-CS', 'Centro Sur'), ('GQ-KN', 'Ki\xe9-Ntem'), ('GQ-LI', 'Litoral'), ('GQ-WN', 'Wele-Nzas'), ('GR-A', 'Anatoliki Makedonia kai Thraki'), ('GR-I', 'Attiki'), ('GR-G', 'Dytiki Ellada'), ('GR-C', 'Dytiki Makedonia'), ('GR-F', 'Ionia Nisia'), ('GR-D', 'Ipeiros'), ('GR-B', 'Kentriki Makedonia'), ('GR-M', 'Kriti'), ('GR-L', 'Notio Aigaio'), ('GR-J', 'Peloponnisos'), ('GR-H', 'Sterea Ellada'), ('GR-E', 'Thessalia'), ('GR-K', 'Voreio Aigaio'), ('GR-69', 'Agio Oros'), ('GR-13', 'Acha\xefa'), ('GR-01', 'Aitolia kai Akarnania'), ('GR-11', 'Argolida'), ('GR-12', 'Arkadia'), ('GR-31', 'Arta'), ('GR-A1', 'Attiki'), ('GR-64', 'Chalkidiki'), ('GR-94', 'Chania'), ('GR-85', 'Chios'), ('GR-81', 'Dodekanisos'), ('GR-52', 'Drama'), ('GR-71', 'Evros'), ('GR-05', 'Evrytania'), ('GR-04', 'Evvoias'), ('GR-63', 'Florina'), ('GR-07', 'Fokida'), ('GR-06', 'Fthiotida'), ('GR-51', 'Grevena'), ('GR-14', 'Ileia'), ('GR-53', 'Imathia'), ('GR-33', 'Ioannina'), ('GR-91', 'Irakleio'), ('GR-41', 'Karditsa'), ('GR-56', 'Kastoria'), ('GR-55', 'Kavala'), ('GR-23', 'Kefallonia'), ('GR-22', 'Kerkyra'), ('GR-57', 'Kilkis'), ('GR-15', 'Korinthia'), ('GR-58', 'Kozani'), ('GR-82', 'Kyklades'), ('GR-16', 'Lakonia'), ('GR-42', 'Larisa'), ('GR-92', 'Lasithi'), ('GR-24', 'Lefkada'), ('GR-83', 'Lesvos'), ('GR-43', 'Magnisia'), ('GR-17', 'Messinia'), ('GR-59', 'Pella'), ('GR-61', 'Pieria'), ('GR-34', 'Preveza'), ('GR-93', 'Rethymno'), ('GR-73', 'Rodopi'), ('GR-84', 'Samos'), ('GR-62', 'Serres'), ('GR-32', 'Thesprotia'), ('GR-54', 'Thessaloniki'), ('GR-44', 'Trikala'), ('GR-03', 'Voiotia'), ('GR-72', 'Xanthi'), ('GR-21', 'Zakynthos'), ('GT-AV', 'Alta Verapaz'), ('GT-BV', 'Baja Verapaz'), ('GT-CM', 'Chimaltenango'), ('GT-CQ', 'Chiquimula'), ('GT-PR', 'El Progreso'), ('GT-ES', 'Escuintla'), ('GT-GU', 'Guatemala'), ('GT-HU', 'Huehuetenango'), ('GT-IZ', 'Izabal'), ('GT-JA', 'Jalapa'), ('GT-JU', 'Jutiapa'), ('GT-PE', 'Pet\xe9n'), ('GT-QZ', 'Quetzaltenango'), ('GT-QC', 'Quich\xe9'), ('GT-RE', 'Retalhuleu'), ('GT-SA', 'Sacatep\xe9quez'), ('GT-SM', 'San Marcos'), ('GT-SR', 'Santa Rosa'), ('GT-SO', 'Solol\xe1'), ('GT-SU', 'Suchitep\xe9quez'), ('GT-TO', 'Totonicap\xe1n'), ('GT-ZA', 'Zacapa'), ('GW-BS', 'Bissau'), ('GW-L', 'Leste'), ('GW-N', 'Norte'), ('GW-S', 'Sul'), ('GW-BA', 'Bafat\xe1'), ('GW-BM', 'Biombo'), ('GW-BL', 'Bolama'), ('GW-CA', 'Cacheu'), ('GW-GA', 'Gab\xfa'), ('GW-OI', 'Oio'), ('GW-QU', 'Quinara'), ('GW-TO', 'Tombali'), ('GY-BA', 'Barima-Waini'), ('GY-CU', 'Cuyuni-Mazaruni'), ('GY-DE', 'Demerara-Mahaica'), ('GY-EB', 'East Berbice-Corentyne'), ('GY-ES', 'Essequibo Islands-West Demerara'), ('GY-MA', 'Mahaica-Berbice'), ('GY-PM', 'Pomeroon-Supenaam'), ('GY-PT', 'Potaro-Siparuni'), ('GY-UD', 'Upper Demerara-Berbice'), ('GY-UT', 'Upper Takutu-Upper Essequibo'), ('HN-AT', 'Atl\xe1ntida'), ('HN-CL', 'Col\xf3n'), ('HN-CM', 'Comayagua'), ('HN-CP', 'Cop\xe1n'), ('HN-CR', 'Cort\xe9s'), ('HN-CH', 'Choluteca'), ('HN-EP', 'El Para\xedso'), ('HN-FM', 'Francisco Moraz\xe1n'), ('HN-GD', 'Gracias a Dios'), ('HN-IN', 'Intibuc\xe1'), ('HN-IB', 'Islas de la Bah\xeda'), ('HN-LP', 'La Paz'), ('HN-LE', 'Lempira'), ('HN-OC', 'Ocotepeque'), ('HN-OL', 'Olancho'), ('HN-SB', 'Santa B\xe1rbara'), ('HN-VA', 'Valle'), ('HN-YO', 'Yoro'), ('HR-21', 'Grad Zagreb'), ('HR-07', 'Bjelovarsko-bilogorska \u017eupanija'), ('HR-12', 'Brodsko-posavska \u017eupanija'), ('HR-19', 'Dubrova\u010dko-neretvanska \u017eupanija'), ('HR-18', 'Istarska \u017eupanija'), ('HR-04', 'Karlova\u010dka \u017eupanija'), ('HR-06', 'Koprivni\u010dko-kri\u017eeva\u010dka \u017eupanija'), ('HR-02', 'Krapinsko-zagorska \u017eupanija'), ('HR-09', 'Li\u010dko-senjska \u017eupanija'), ('HR-20', 'Me\u0111imurska \u017eupanija'), ('HR-14', 'Osje\u010dko-baranjska \u017eupanija'), ('HR-11', 'Po\u017ee\u0161ko-slavonska \u017eupanija'), ('HR-08', 'Primorsko-goranska \u017eupanija'), ('HR-03', 'Sisa\u010dko-moslava\u010dka \u017eupanija'), ('HR-17', 'Splitsko-dalmatinska \u017eupanija'), ('HR-15', '\u0160ibensko-kninska \u017eupanija'), ('HR-05', 'Vara\u017edinska \u017eupanija'), ('HR-10', 'Viroviti\u010dko-podravska \u017eupanija'), ('HR-16', 'Vukovarsko-srijemska \u017eupanija'), ('HR-13', 'Zadarska \u017eupanija'), ('HR-01', 'Zagreba\u010dka \u017eupanija'), ('HT-AR', 'Artibonite'), ('HT-CE', 'Centre'), ('HT-GA', 'Grande-Anse'), ('HT-ND', 'Nord'), ('HT-NE', 'Nord-Est'), ('HT-NO', 'Nord-Ouest'), ('HT-OU', 'Ouest'), ('HT-SD', 'Sud'), ('HT-SE', 'Sud-Est'), ('HU-BK', 'B\xe1cs-Kiskun'), ('HU-BA', 'Baranya'), ('HU-BE', 'B\xe9k\xe9s'), ('HU-BZ', 'Borsod-Aba\xfaj-Zempl\xe9n'), ('HU-CS', 'Csongr\xe1d'), ('HU-FE', 'Fej\xe9r'), ('HU-GS', 'Gy\u0151r-Moson-Sopron'), ('HU-HB', 'Hajd\xfa-Bihar'), ('HU-HE', 'Heves'), ('HU-JN', 'J\xe1sz-Nagykun-Szolnok'), ('HU-KE', 'Kom\xe1rom-Esztergom'), ('HU-NO', 'N\xf3gr\xe1d'), ('HU-PE', 'Pest'), ('HU-SO', 'Somogy'), ('HU-SZ', 'Szabolcs-Szatm\xe1r-Bereg'), ('HU-TO', 'Tolna'), ('HU-VA', 'Vas'), ('HU-VE', 'Veszpr\xe9m (county)'), ('HU-ZA', 'Zala'), ('HU-BC', 'B\xe9k\xe9scsaba'), ('HU-DE', 'Debrecen'), ('HU-DU', 'Duna\xfajv\xe1ros'), ('HU-EG', 'Eger'), ('HU-ER', '\xc9rd'), ('HU-GY', 'Gy\u0151r'), ('HU-HV', 'H\xf3dmez\u0151v\xe1s\xe1rhely'), ('HU-KV', 'Kaposv\xe1r'), ('HU-KM', 'Kecskem\xe9t'), ('HU-MI', 'Miskolc'), ('HU-NK', 'Nagykanizsa'), ('HU-NY', 'Ny\xedregyh\xe1za'), ('HU-PS', 'P\xe9cs'), ('HU-ST', 'Salg\xf3tarj\xe1n'), ('HU-SN', 'Sopron'), ('HU-SD', 'Szeged'), ('HU-SF', 'Sz\xe9kesfeh\xe9rv\xe1r'), ('HU-SS', 'Szeksz\xe1rd'), ('HU-SK', 'Szolnok'), ('HU-SH', 'Szombathely'), ('HU-TB', 'Tatab\xe1nya'), ('HU-VM', 'Veszpr\xe9m'), ('HU-ZE', 'Zalaegerszeg'), ('HU-BU', 'Budapest'), ('ID-JW', 'Jawa'), ('ID-KA', 'Kalimantan'), ('ID-ML', 'Maluku'), ('ID-NU', 'Nusa Tenggara'), ('ID-IJ', 'Papua'), ('ID-SL', 'Sulawesi'), ('ID-SM', 'Sumatera'), ('ID-AC', 'Aceh'), ('ID-BA', 'Bali'), ('ID-BB', 'Bangka Belitung'), ('ID-BT', 'Banten'), ('ID-BE', 'Bengkulu'), ('ID-GO', 'Gorontalo'), ('ID-JA', 'Jambi'), ('ID-JB', 'Jawa Barat'), ('ID-JT', 'Jawa Tengah'), ('ID-JI', 'Jawa Timur'), ('ID-KB', 'Kalimantan Barat'), ('ID-KT', 'Kalimantan Tengah'), ('ID-KS', 'Kalimantan Selatan'), ('ID-KI', 'Kalimantan Timur'), ('ID-KR', 'Kepulauan Riau'), ('ID-LA', 'Lampung'), ('ID-MA', 'Maluku'), ('ID-MU', 'Maluku Utara'), ('ID-NB', 'Nusa Tenggara Barat'), ('ID-NT', 'Nusa Tenggara Timur'), ('ID-PA', 'Papua'), ('ID-PB', 'Papua Barat'), ('ID-RI', 'Riau'), ('ID-SR', 'Sulawesi Barat'), ('ID-SN', 'Sulawesi Selatan'), ('ID-ST', 'Sulawesi Tengah'), ('ID-SG', 'Sulawesi Tenggara'), ('ID-SA', 'Sulawesi Utara'), ('ID-SB', 'Sumatra Barat'), ('ID-SS', 'Sumatra Selatan'), ('ID-SU', 'Sumatera Utara'), ('ID-JK', 'Jakarta Raya'), ('ID-YO', 'Yogyakarta'), ('IE-C', 'Connacht'), ('IE-L', 'Leinster'), ('IE-M', 'Munster'), ('IE-U', 'Ulster'), ('IE-CW', 'Carlow'), ('IE-CN', 'Cavan'), ('IE-CE', 'Clare'), ('IE-CO', 'Cork'), ('IE-DL', 'Donegal'), ('IE-D', 'Dublin'), ('IE-G', 'Galway'), ('IE-KY', 'Kerry'), ('IE-KE', 'Kildare'), ('IE-KK', 'Kilkenny'), ('IE-LS', 'Laois'), ('IE-LM', 'Leitrim'), ('IE-LK', 'Limerick'), ('IE-LD', 'Longford'), ('IE-LH', 'Louth'), ('IE-MO', 'Mayo'), ('IE-MH', 'Meath'), ('IE-MN', 'Monaghan'), ('IE-OY', 'Offaly'), ('IE-RN', 'Roscommon'), ('IE-SO', 'Sligo'), ('IE-TA', 'Tipperary'), ('IE-WD', 'Waterford'), ('IE-WH', 'Westmeath'), ('IE-WX', 'Wexford'), ('IE-WW', 'Wicklow'), ('IL-D', 'HaDarom'), ('IL-M', 'HaMerkaz'), ('IL-Z', 'HaZafon'), ('IL-HA', 'Hefa'), ('IL-TA', 'Tel-Aviv'), ('IL-JM', 'Yerushalayim Al Quds'), ('IN-AP', 'Andhra Pradesh'), ('IN-AR', 'Arunachal Pradesh'), ('IN-AS', 'Assam'), ('IN-BR', 'Bihar'), ('IN-CT', 'Chhattisgarh'), ('IN-GA', 'Goa'), ('IN-GJ', 'Gujarat'), ('IN-HR', 'Haryana'), ('IN-HP', 'Himachal Pradesh'), ('IN-JK', 'Jammu and Kashmir'), ('IN-JH', 'Jharkhand'), ('IN-KA', 'Karnataka'), ('IN-KL', 'Kerala'), ('IN-MP', 'Madhya Pradesh'), ('IN-MH', 'Maharashtra'), ('IN-MN', 'Manipur'), ('IN-ML', 'Meghalaya'), ('IN-MZ', 'Mizoram'), ('IN-NL', 'Nagaland'), ('IN-OR', 'Orissa'), ('IN-PB', 'Punjab'), ('IN-RJ', 'Rajasthan'), ('IN-SK', 'Sikkim'), ('IN-TN', 'Tamil Nadu'), ('IN-TR', 'Tripura'), ('IN-UT', 'Uttarakhand'), ('IN-UP', 'Uttar Pradesh'), ('IN-WB', 'West Bengal'), ('IN-AN', 'Andaman and Nicobar Islands'), ('IN-CH', 'Chandigarh'), ('IN-DN', 'Dadra and Nagar Haveli'), ('IN-DD', 'Damen and Diu'), ('IN-DL', 'Delhi'), ('IN-LD', 'Lakshadweep'), ('IN-PY', 'Puducherry'), ('IQ-AN', 'Al Anbar'), ('IQ-BA', 'Al Basrah'), ('IQ-MU', 'Al Muthanna'), ('IQ-QA', 'Al Qadisiyah'), ('IQ-NA', 'An Najef'), ('IQ-AR', 'Arbil'), ('IQ-SW', 'As Sulaymaniyah'), ('IQ-TS', "At Ta'mim"), ('IQ-BB', 'Babil'), ('IQ-BG', 'Baghdad'), ('IQ-DA', 'Dahuk'), ('IQ-DQ', 'Dhi Qar'), ('IQ-DI', 'Diyala'), ('IQ-KA', "Karbala'"), ('IQ-MA', 'Maysan'), ('IQ-NI', 'Ninawa'), ('IQ-SD', 'Salah ad Din'), ('IQ-WA', 'Wasit'), ('IR-03', 'Ardab\u012bl'), ('IR-02', '\u0100zarb\u0101yj\u0101n-e Gharb\u012b'), ('IR-01', '\u0100zarb\u0101yj\u0101n-e Sharq\u012b'), ('IR-06', 'B\u016bshehr'), ('IR-08', 'Chah\u0101r Mah\u0101ll va Bakht\u012b\u0101r\u012b'), ('IR-04', 'E\u015ffah\u0101n'), ('IR-14', 'F\u0101rs'), ('IR-19', 'G\u012bl\u0101n'), ('IR-27', 'Golest\u0101n'), ('IR-24', 'Hamad\u0101n'), ('IR-23', 'Hormozg\u0101n'), ('IR-05', '\u012al\u0101m'), ('IR-15', 'Kerm\u0101n'), ('IR-17', 'Kerm\u0101nsh\u0101h'), ('IR-29', 'Khor\u0101s\u0101n-e Jan\u016bb\u012b'), ('IR-30', 'Khor\u0101s\u0101n-e Razav\u012b'), ('IR-31', 'Khor\u0101s\u0101n-e Shem\u0101l\u012b'), ('IR-10', 'Kh\u016bzest\u0101n'), ('IR-18', 'Kohg\u012bl\u016byeh va B\u016byer Ahmad'), ('IR-16', 'Kordest\u0101n'), ('IR-20', 'Lorest\u0101n'), ('IR-22', 'Markaz\u012b'), ('IR-21', 'M\u0101zandar\u0101n'), ('IR-28', 'Qazv\u012bn'), ('IR-26', 'Qom'), ('IR-12', 'Semn\u0101n'), ('IR-13', 'S\u012bst\u0101n va Bal\u016bchest\u0101n'), ('IR-07', 'Tehr\u0101n'), ('IR-25', 'Yazd'), ('IR-11', 'Zanj\u0101n'), ('IS-7', 'Austurland'), ('IS-1', 'H\xf6fu\xf0borgarsv\xe6\xf0i\xf0'), ('IS-6', 'Nor\xf0urland eystra'), ('IS-5', 'Nor\xf0urland vestra'), ('IS-8', 'Su\xf0urland'), ('IS-2', 'Su\xf0urnes'), ('IS-4', 'Vestfir\xf0ir'), ('IS-3', 'Vesturland'), ('IS-0', 'Reykjav\xedk'), ('IT-65', 'Abruzzo'), ('IT-77', 'Basilicata'), ('IT-78', 'Calabria'), ('IT-72', 'Campania'), ('IT-45', 'Emilia-Romagna'), ('IT-36', 'Friuli-Venezia Giulia'), ('IT-62', 'Lazio'), ('IT-42', 'Liguria'), ('IT-25', 'Lombardia'), ('IT-57', 'Marche'), ('IT-67', 'Molise'), ('IT-21', 'Piemonte'), ('IT-75', 'Puglia'), ('IT-88', 'Sardegna'), ('IT-82', 'Sicilia'), ('IT-52', 'Toscana'), ('IT-32', 'Trentino-Alto Adige'), ('IT-55', 'Umbria'), ('IT-23', "Valle d'Aosta"), ('IT-34', 'Veneto'), ('IT-AG', 'Agrigento'), ('IT-AL', 'Alessandria'), ('IT-AN', 'Ancona'), ('IT-AO', 'Aosta'), ('IT-AR', 'Arezzo'), ('IT-AP', 'Ascoli Piceno'), ('IT-AT', 'Asti'), ('IT-AV', 'Avellino'), ('IT-BA', 'Bari'), ('IT-BT', 'Barletta-Andria-Trani'), ('IT-BL', 'Belluno'), ('IT-BN', 'Benevento'), ('IT-BG', 'Bergamo'), ('IT-BI', 'Biella'), ('IT-BO', 'Bologna'), ('IT-BZ', 'Bolzano'), ('IT-BS', 'Brescia'), ('IT-BR', 'Brindisi'), ('IT-CA', 'Cagliari'), ('IT-CL', 'Caltanissetta'), ('IT-CB', 'Campobasso'), ('IT-CI', 'Carbonia-Iglesias'), ('IT-CE', 'Caserta'), ('IT-CT', 'Catania'), ('IT-CZ', 'Catanzaro'), ('IT-CH', 'Chieti'), ('IT-CO', 'Como'), ('IT-CS', 'Cosenza'), ('IT-CR', 'Cremona'), ('IT-KR', 'Crotone'), ('IT-CN', 'Cuneo'), ('IT-EN', 'Enna'), ('IT-FM', 'Fermo'), ('IT-FE', 'Ferrara'), ('IT-FI', 'Firenze'), ('IT-FG', 'Foggia'), ('IT-FC', 'Forl\xec-Cesena'), ('IT-FR', 'Frosinone'), ('IT-GE', 'Genova'), ('IT-GO', 'Gorizia'), ('IT-GR', 'Grosseto'), ('IT-IM', 'Imperia'), ('IT-IS', 'Isernia'), ('IT-SP', 'La Spezia'), ('IT-AQ', "L'Aquila"), ('IT-LT', 'Latina'), ('IT-LE', 'Lecce'), ('IT-LC', 'Lecco'), ('IT-LI', 'Livorno'), ('IT-LO', 'Lodi'), ('IT-LU', 'Lucca'), ('IT-MC', 'Macerata'), ('IT-MN', 'Mantova'), ('IT-MS', 'Massa-Carrara'), ('IT-MT', 'Matera'), ('IT-VS', 'Medio Campidano'), ('IT-ME', 'Messina'), ('IT-MI', 'Milano'), ('IT-MO', 'Modena'), ('IT-MB', 'Monza e Brianza'), ('IT-NA', 'Napoli'), ('IT-NO', 'Novara'), ('IT-NU', 'Nuoro'), ('IT-OG', 'Ogliastra'), ('IT-OT', 'Olbia-Tempio'), ('IT-OR', 'Oristano'), ('IT-PD', 'Padova'), ('IT-PA', 'Palermo'), ('IT-PR', 'Parma'), ('IT-PV', 'Pavia'), ('IT-PG', 'Perugia'), ('IT-PU', 'Pesaro e Urbino'), ('IT-PE', 'Pescara'), ('IT-PC', 'Piacenza'), ('IT-PI', 'Pisa'), ('IT-PT', 'Pistoia'), ('IT-PN', 'Pordenone'), ('IT-PZ', 'Potenza'), ('IT-PO', 'Prato'), ('IT-RG', 'Ragusa'), ('IT-RA', 'Ravenna'), ('IT-RC', 'Reggio Calabria'), ('IT-RE', 'Reggio Emilia'), ('IT-RI', 'Rieti'), ('IT-RN', 'Rimini'), ('IT-RM', 'Roma'), ('IT-RO', 'Rovigo'), ('IT-SA', 'Salerno'), ('IT-SS', 'Sassari'), ('IT-SV', 'Savona'), ('IT-SI', 'Siena'), ('IT-SR', 'Siracusa'), ('IT-SO', 'Sondrio'), ('IT-TA', 'Taranto'), ('IT-TE', 'Teramo'), ('IT-TR', 'Terni'), ('IT-TO', 'Torino'), ('IT-TP', 'Trapani'), ('IT-TN', 'Trento'), ('IT-TV', 'Treviso'), ('IT-TS', 'Trieste'), ('IT-UD', 'Udine'), ('IT-VA', 'Varese'), ('IT-VE', 'Venezia'), ('IT-VB', 'Verbano-Cusio-Ossola'), ('IT-VC', 'Vercelli'), ('IT-VR', 'Verona'), ('IT-VV', 'Vibo Valentia'), ('IT-VI', 'Vicenza'), ('IT-VT', 'Viterbo'), ('JM-13', 'Clarendon'), ('JM-09', 'Hanover'), ('JM-01', 'Kingston'), ('JM-12', 'Manchester'), ('JM-04', 'Portland'), ('JM-02', 'Saint Andrew'), ('JM-06', 'Saint Ann'), ('JM-14', 'Saint Catherine'), ('JM-11', 'Saint Elizabeth'), ('JM-08', 'Saint James'), ('JM-05', 'Saint Mary'), ('JM-03', 'Saint Thomas'), ('JM-07', 'Trelawny'), ('JM-10', 'Westmoreland'), ('JO-AJ', '\u2018Ajl\u016bn'), ('JO-AQ', 'Al \u2018Aqabah'), ('JO-BA', "Al Balq\u0101'"), ('JO-KA', 'Al Karak'), ('JO-MA', 'Al Mafraq'), ('JO-AM', '\u2018Amm\u0101n (Al \u2018A\u015fimah)'), ('JO-AT', 'A\u0163 \u0162af\u012blah'), ('JO-AZ', "Az Zarq\u0101'"), ('JO-IR', 'Irbid'), ('JO-JA', 'Jarash'), ('JO-MN', 'Ma\u2018\u0101n'), ('JO-MD', 'M\u0101dab\u0101'), ('JP-23', 'Aichi'), ('JP-05', 'Akita'), ('JP-02', 'Aomori'), ('JP-12', 'Chiba'), ('JP-38', 'Ehime'), ('JP-18', 'Fukui'), ('JP-40', 'Fukuoka'), ('JP-07', 'Fukushima'), ('JP-21', 'Gifu'), ('JP-10', 'Gunma'), ('JP-34', 'Hiroshima'), ('JP-01', 'Hokkaido'), ('JP-28', 'Hyogo'), ('JP-08', 'Ibaraki'), ('JP-17', 'Ishikawa'), ('JP-03', 'Iwate'), ('JP-37', 'Kagawa'), ('JP-46', 'Kagoshima'), ('JP-14', 'Kanagawa'), ('JP-39', 'Kochi'), ('JP-43', 'Kumamoto'), ('JP-26', 'Kyoto'), ('JP-24', 'Mie'), ('JP-04', 'Miyagi'), ('JP-45', 'Miyazaki'), ('JP-20', 'Nagano'), ('JP-42', 'Nagasaki'), ('JP-29', 'Nara'), ('JP-15', 'Niigata'), ('JP-44', 'Oita'), ('JP-33', 'Okayama'), ('JP-47', 'Okinawa'), ('JP-27', 'Osaka'), ('JP-41', 'Saga'), ('JP-11', 'Saitama'), ('JP-25', 'Shiga'), ('JP-32', 'Shimane'), ('JP-22', 'Shizuoka'), ('JP-09', 'Tochigi'), ('JP-36', 'Tokushima'), ('JP-13', 'Tokyo'), ('JP-31', 'Tottori'), ('JP-16', 'Toyama'), ('JP-30', 'Wakayama'), ('JP-06', 'Yamagata'), ('JP-35', 'Yamaguchi'), ('JP-19', 'Yamanashi'), ('KE-110', 'Nairobi Municipality'), ('KE-200', 'Central'), ('KE-300', 'Coast'), ('KE-400', 'Eastern'), ('KE-500', 'North-Eastern Kaskazini Mashariki'), ('KE-700', 'Rift Valley'), ('KE-800', 'Western Magharibi'), ('KG-GB', 'Bishkek'), ('KG-B', 'Batken'), ('KG-C', 'Ch\xfc'), ('KG-J', 'Jalal-Abad'), ('KG-N', 'Naryn'), ('KG-O', 'Osh'), ('KG-T', 'Talas'), ('KG-Y', 'Ysyk-K\xf6l'), ('KH-23', 'Krong Kaeb'), ('KH-24', 'Krong Pailin'), ('KH-18', 'Krong Preah Sihanouk'), ('KH-12', 'Phnom Penh'), ('KH-2', 'Battambang'), ('KH-1', 'Banteay Mean Chey'), ('KH-3', 'Kampong Cham'), ('KH-4', 'Kampong Chhnang'), ('KH-5', 'Kampong Speu'), ('KH-6', 'Kampong Thom'), ('KH-7', 'Kampot'), ('KH-8', 'Kandal'), ('KH-9', 'Kach Kong'), ('KH-10', 'Krachoh'), ('KH-11', 'Mondol Kiri'), ('KH-22', 'Otdar Mean Chey'), ('KH-15', 'Pousaat'), ('KH-13', 'Preah Vihear'), ('KH-14', 'Prey Veaeng'), ('KH-16', 'Rotanak Kiri'), ('KH-17', 'Siem Reab'), ('KH-19', 'Stueng Traeng'), ('KH-20', 'Svaay Rieng'), ('KH-21', 'Taakaev'), ('KI-G', 'Gilbert Islands'), ('KI-L', 'Line Islands'), ('KI-P', 'Phoenix Islands'), ('KN-K', 'Saint Kitts'), ('KN-N', 'Nevis'), ('KN-01', 'Christ Church Nichola Town'), ('KN-02', 'Saint Anne Sandy Point'), ('KN-03', 'Saint George Basseterre'), ('KN-04', 'Saint George Gingerland'), ('KN-05', 'Saint James Windward'), ('KN-06', 'Saint John Capisterre'), ('KN-07', 'Saint John Figtree'), ('KN-08', 'Saint Mary Cayon'), ('KN-09', 'Saint Paul Capisterre'), ('KN-10', 'Saint Paul Charlestown'), ('KN-11', 'Saint Peter Basseterre'), ('KN-12', 'Saint Thomas Lowland'), ('KN-13', 'Saint Thomas Middle Island'), ('KN-15', 'Trinity Palmetto Point'), ('KM-A', 'Andjou\xe2n (Anjw\u0101n)'), ('KM-G', 'Andjaz\xeedja (Anjaz\u012bjah)'), ('KM-M', 'Mo\xfbh\xeel\xee (M\u016bh\u012bl\u012b)'), ('KP-01', 'P\u2019y\u014fngyang'), ('KP-13', 'Nas\u014fn (Najin-S\u014fnbong)'), ('KP-02', 'P\u2019y\u014fngan-namdo'), ('KP-03', 'P\u2019y\u014fngan-bukto'), ('KP-04', 'Chagang-do'), ('KP-05', 'Hwanghae-namdo'), ('KP-06', 'Hwanghae-bukto'), ('KP-07', 'Kangw\u014fn-do'), ('KP-08', 'Hamgy\u014fng-namdo'), ('KP-09', 'Hamgy\u014fng-bukto'), ('KP-10', 'Yanggang-do'), ('KR-11', 'Seoul Teugbyeolsi'), ('KR-26', "Busan Gwang'yeogsi"), ('KR-27', "Daegu Gwang'yeogsi"), ('KR-30', "Daejeon Gwang'yeogsi"), ('KR-29', "Gwangju Gwang'yeogsi"), ('KR-28', "Incheon Gwang'yeogsi"), ('KR-31', "Ulsan Gwang'yeogsi"), ('KR-43', 'Chungcheongbukdo'), ('KR-44', 'Chungcheongnamdo'), ('KR-42', "Gang'weondo"), ('KR-41', 'Gyeonggido'), ('KR-47', 'Gyeongsangbukdo'), ('KR-48', 'Gyeongsangnamdo'), ('KR-49', 'Jejudo'), ('KR-45', 'Jeonrabukdo'), ('KR-46', 'Jeonranamdo'), ('KW-AH', 'Al Ahmadi'), ('KW-FA', 'Al Farw\u0101n\u012byah'), ('KW-JA', 'Al Jahrr\u0101\u2019'), ('KW-KU', 'Al Kuwayt (Al \u2018\u0100\u015fimah)'), ('KW-HA', 'Hawall\u012b'), ('KW-MU', 'Mub\u0101rak al Kab\u012br'), ('KZ-ALA', 'Almaty'), ('KZ-AST', 'Astana'), ('KZ-ALM', 'Almaty oblysy'), ('KZ-AKM', 'Aqmola oblysy'), ('KZ-AKT', 'Aqt\xf6be oblysy'), ('KZ-ATY', 'Atyra\u016b oblysy'), ('KZ-ZAP', 'Batys Quzaqstan oblysy'), ('KZ-MAN', 'Mangghysta\u016b oblysy'), ('KZ-YUZ', 'Ongt\xfcstik Qazaqstan oblysy'), ('KZ-PAV', 'Pavlodar oblysy'), ('KZ-KAR', 'Qaraghandy oblysy'), ('KZ-KUS', 'Qostanay oblysy'), ('KZ-KZY', 'Qyzylorda oblysy'), ('KZ-VOS', 'Shyghys Qazaqstan oblysy'), ('KZ-SEV', 'Solt\xfcstik Quzaqstan oblysy'), ('KZ-ZHA', 'Zhambyl oblysy'), ('LA-VT', 'Vientiane'), ('LA-AT', 'Attapu'), ('LA-BK', 'Bok\xe8o'), ('LA-BL', 'Bolikhamxai'), ('LA-CH', 'Champasak'), ('LA-HO', 'Houaphan'), ('LA-KH', 'Khammouan'), ('LA-LM', 'Louang Namtha'), ('LA-LP', 'Louangphabang'), ('LA-OU', 'Oud\xf4mxai'), ('LA-PH', 'Ph\xf4ngsali'), ('LA-SL', 'Salavan'), ('LA-SV', 'Savannakh\xe9t'), ('LA-VI', 'Vientiane'), ('LA-XA', 'Xaignabouli'), ('LA-XE', 'X\xe9kong'), ('LA-XI', 'Xiangkhoang'), ('LA-XN', 'Xias\xf4mboun'), ('LI-01', 'Balzers'), ('LI-02', 'Eschen'), ('LI-03', 'Gamprin'), ('LI-04', 'Mauren'), ('LI-05', 'Planken'), ('LI-06', 'Ruggell'), ('LI-07', 'Schaan'), ('LI-08', 'Schellenberg'), ('LI-09', 'Triesen'), ('LI-10', 'Triesenberg'), ('LI-11', 'Vaduz'), ('LB-AK', 'Aakk\xe2r'), ('LB-BH', 'Baalbek-Hermel'), ('LB-BI', 'B\xe9qaa'), ('LB-BA', 'Beyrouth'), ('LB-AS', 'Liban-Nord'), ('LB-JA', 'Liban-Sud'), ('LB-JL', 'Mont-Liban'), ('LB-NA', 'Nabat\xeey\xe9'), ('LK-1', 'Basn\u0101hira pa\u1e37\u0101ta'), ('LK-3', 'Daku\u1e47u pa\u1e37\u0101ta'), ('LK-2', 'Madhyama pa\u1e37\u0101ta'), ('LK-5', 'N\xe6\u0306g\u0115nahira pa\u1e37\u0101ta'), ('LK-9', 'Sabaragamuva pa\u1e37\u0101ta'), ('LK-7', 'Uturum\xe6\u0306da pa\u1e37\u0101ta'), ('LK-4', 'Uturu pa\u1e37\u0101ta'), ('LK-8', '\u016ava pa\u1e37\u0101ta'), ('LK-6', 'Vayamba pa\u1e37\u0101ta'), ('LK-52', 'Amp\u0101ara'), ('LK-71', 'Anur\u0101dhapura'), ('LK-81', 'Badulla'), ('LK-51', 'Ma\u1e0dakalapuva'), ('LK-11', 'K\u014f\u1e37amba'), ('LK-31', 'G\u0101lla'), ('LK-12', 'Gampaha'), ('LK-33', 'Hambant\u014f\u1e6da'), ('LK-41', 'Y\u0101panaya'), ('LK-13', 'Ka\u1e37utara'), ('LK-21', 'Mahanuvara'), ('LK-92', 'K\xe6galla'), ('LK-42', 'Kilin\u014fchchi'), ('LK-61', 'Kuru\u1e47\xe6gala'), ('LK-43', 'Mann\u0101rama'), ('LK-22', 'M\u0101tale'), ('LK-32', 'M\u0101tara'), ('LK-82', 'M\u014f\u1e47ar\u0101gala'), ('LK-45', 'Mulativ'), ('LK-23', 'Nuvara \u0114liya'), ('LK-72', 'P\u014f\u1e37\u014fnnaruva'), ('LK-62', 'Puttalama'), ('LK-91', 'Ratnapura'), ('LK-53', 'Triku\u1e47\u0101malaya'), ('LK-44', 'Vavuniy\u0101va'), ('LR-BM', 'Bomi'), ('LR-BG', 'Bong'), ('LR-GB', 'Grand Bassa'), ('LR-CM', 'Grand Cape Mount'), ('LR-GG', 'Grand Gedeh'), ('LR-GK', 'Grand Kru'), ('LR-LO', 'Lofa'), ('LR-MG', 'Margibi'), ('LR-MY', 'Maryland'), ('LR-MO', 'Montserrado'), ('LR-NI', 'Nimba'), ('LR-RI', 'Rivercess'), ('LR-SI', 'Sinoe'), ('LS-D', 'Berea'), ('LS-B', 'Butha-Buthe'), ('LS-C', 'Leribe'), ('LS-E', 'Mafeteng'), ('LS-A', 'Maseru'), ('LS-F', "Mohale's Hoek"), ('LS-J', 'Mokhotlong'), ('LS-H', "Qacha's Nek"), ('LS-G', 'Quthing'), ('LS-K', 'Thaba-Tseka'), ('LT-AL', 'Alytaus Apskritis'), ('LT-KU', 'Kauno Apskritis'), ('LT-KL', 'Klaip\u0117dos Apskritis'), ('LT-MR', 'Marijampol\u0117s Apskritis'), ('LT-PN', 'Panev\u0117\u017eio Apskritis'), ('LT-SA', '\u0160iauli\u0173 Apskritis'), ('LT-TA', 'Taurag\xe9s Apskritis'), ('LT-TE', 'Tel\u0161i\u0173 Apskritis'), ('LT-UT', 'Utenos Apskritis'), ('LT-VL', 'Vilniaus Apskritis'), ('LU-D', 'Diekirch'), ('LU-G', 'Grevenmacher'), ('LU-L', 'Luxembourg'), ('LV-001', 'Aglonas novads'), ('LV-002', 'Aizkraukles novads'), ('LV-003', 'Aizputes novads'), ('LV-004', 'Akn\u012bstes novads'), ('LV-005', 'Alojas novads'), ('LV-006', 'Alsungas novads'), ('LV-007', 'Al\u016bksnes novads'), ('LV-008', 'Amatas novads'), ('LV-009', 'Apes novads'), ('LV-010', 'Auces novads'), ('LV-011', '\u0100da\u017eu novads'), ('LV-012', 'Bab\u012btes novads'), ('LV-013', 'Baldones novads'), ('LV-014', 'Baltinavas novads'), ('LV-015', 'Balvu novads'), ('LV-016', 'Bauskas novads'), ('LV-017', 'Bever\u012bnas novads'), ('LV-018', 'Broc\u0113nu novads'), ('LV-019', 'Burtnieku novads'), ('LV-020', 'Carnikavas novads'), ('LV-021', 'Cesvaines novads'), ('LV-022', 'C\u0113su novads'), ('LV-023', 'Ciblas novads'), ('LV-024', 'Dagdas novads'), ('LV-025', 'Daugavpils novads'), ('LV-026', 'Dobeles novads'), ('LV-027', 'Dundagas novads'), ('LV-028', 'Durbes novads'), ('LV-029', 'Engures novads'), ('LV-030', '\u0112rg\u013cu novads'), ('LV-031', 'Garkalnes novads'), ('LV-032', 'Grobi\u0146as novads'), ('LV-033', 'Gulbenes novads'), ('LV-034', 'Iecavas novads'), ('LV-035', 'Ik\u0161\u0137iles novads'), ('LV-036', 'Il\u016bkstes novads'), ('LV-037', 'In\u010dukalna novads'), ('LV-038', 'Jaunjelgavas novads'), ('LV-039', 'Jaunpiebalgas novads'), ('LV-040', 'Jaunpils novads'), ('LV-041', 'Jelgavas novads'), ('LV-042', 'J\u0113kabpils novads'), ('LV-043', 'Kandavas novads'), ('LV-044', 'K\u0101rsavas novads'), ('LV-045', 'Koc\u0113nu novads'), ('LV-046', 'Kokneses novads'), ('LV-047', 'Kr\u0101slavas novads'), ('LV-048', 'Krimuldas novads'), ('LV-049', 'Krustpils novads'), ('LV-050', 'Kuld\u012bgas novads'), ('LV-051', '\u0136eguma novads'), ('LV-052', '\u0136ekavas novads'), ('LV-053', 'Lielv\u0101rdes novads'), ('LV-054', 'Limba\u017eu novads'), ('LV-055', 'L\u012bgatnes novads'), ('LV-056', 'L\u012bv\u0101nu novads'), ('LV-057', 'Lub\u0101nas novads'), ('LV-058', 'Ludzas novads'), ('LV-059', 'Madonas novads'), ('LV-060', 'Mazsalacas novads'), ('LV-061', 'M\u0101lpils novads'), ('LV-062', 'M\u0101rupes novads'), ('LV-063', 'M\u0113rsraga novads'), ('LV-064', 'Nauk\u0161\u0113nu novads'), ('LV-065', 'Neretas novads'), ('LV-066', 'N\u012bcas novads'), ('LV-067', 'Ogres novads'), ('LV-068', 'Olaines novads'), ('LV-069', 'Ozolnieku novads'), ('LV-070', 'P\u0101rgaujas novads'), ('LV-071', 'P\u0101vilostas novads'), ('LV-072', 'P\u013cavi\u0146u novads'), ('LV-073', 'Prei\u013cu novads'), ('LV-074', 'Priekules novads'), ('LV-075', 'Prieku\u013cu novads'), ('LV-076', 'Raunas novads'), ('LV-077', 'R\u0113zeknes novads'), ('LV-078', 'Riebi\u0146u novads'), ('LV-079', 'Rojas novads'), ('LV-080', 'Ropa\u017eu novads'), ('LV-081', 'Rucavas novads'), ('LV-082', 'Rug\u0101ju novads'), ('LV-083', 'Rund\u0101les novads'), ('LV-084', 'R\u016bjienas novads'), ('LV-085', 'Salas novads'), ('LV-086', 'Salacgr\u012bvas novads'), ('LV-087', 'Salaspils novads'), ('LV-088', 'Saldus novads'), ('LV-089', 'Saulkrastu novads'), ('LV-090', 'S\u0113jas novads'), ('LV-091', 'Siguldas novads'), ('LV-092', 'Skr\u012bveru novads'), ('LV-093', 'Skrundas novads'), ('LV-094', 'Smiltenes novads'), ('LV-095', 'Stopi\u0146u novads'), ('LV-096', 'Stren\u010du novads'), ('LV-097', 'Talsu novads'), ('LV-098', 'T\u0113rvetes novads'), ('LV-099', 'Tukuma novads'), ('LV-100', 'Vai\u0146odes novads'), ('LV-101', 'Valkas novads'), ('LV-102', 'Varak\u013c\u0101nu novads'), ('LV-103', 'V\u0101rkavas novads'), ('LV-104', 'Vecpiebalgas novads'), ('LV-105', 'Vecumnieku novads'), ('LV-106', 'Ventspils novads'), ('LV-107', 'Vies\u012btes novads'), ('LV-108', 'Vi\u013cakas novads'), ('LV-109', 'Vi\u013c\u0101nu novads'), ('LV-110', 'Zilupes novads'), ('LV-DGV', 'Daugavpils'), ('LV-JEL', 'Jelgava'), ('LV-JKB', 'J\u0113kabpils'), ('LV-JUR', 'J\u016brmala'), ('LV-LPX', 'Liep\u0101ja'), ('LV-REZ', 'R\u0113zekne'), ('LV-RIX', 'R\u012bga'), ('LV-VMR', 'Valmiera'), ('LV-VEN', 'Ventspils'), ('LY-BU', 'Al Bu\u0163n\u0101n'), ('LY-JA', 'Al Jabal al Akh\u1e11ar'), ('LY-JG', 'Al Jabal al Gharb\u012b'), ('LY-JI', 'Al Jif\u0101rah'), ('LY-JU', 'Al Jufrah'), ('LY-KF', 'Al Kufrah'), ('LY-MJ', 'Al Marj'), ('LY-MB', 'Al Marqab'), ('LY-WA', 'Al W\u0101h\u0327\u0101t'), ('LY-NQ', 'An Nuqa\u0163 al Khams'), ('LY-ZA', 'Az Z\u0101wiyah'), ('LY-BA', 'Bangh\u0101z\u012b'), ('LY-DR', 'Darnah'), ('LY-GT', 'Gh\u0101t'), ('LY-JB', 'Jaghb\u016bb'), ('LY-MI', 'Mi\u015fr\u0101tah'), ('LY-MQ', 'Murzuq'), ('LY-NL', 'N\u0101l\u016bt'), ('LY-SB', 'Sabh\u0101'), ('LY-SR', 'Surt'), ('LY-TB', '\u0162ar\u0101bulus'), ('LY-WD', 'W\u0101d\u012b al \u1e28ay\u0101t'), ('LY-WS', 'W\u0101d\u012b ash Sh\u0101\u0163i\u02be'), ('MA-09', 'Chaouia-Ouardigha'), ('MA-10', 'Doukhala-Abda'), ('MA-05', 'F\xe8s-Boulemane'), ('MA-02', 'Gharb-Chrarda-Beni Hssen'), ('MA-08', 'Grand Casablanca'), ('MA-14', 'Guelmim-Es Smara'), ('MA-15', 'La\xe2youne-Boujdour-Sakia el Hamra'), ('MA-04', "L'Oriental"), ('MA-11', 'Marrakech-Tensift-Al Haouz'), ('MA-06', 'Mekn\xe8s-Tafilalet'), ('MA-16', 'Oued ed Dahab-Lagouira'), ('MA-07', 'Rabat-Sal\xe9-Zemmour-Zaer'), ('MA-13', 'Sous-Massa-Draa'), ('MA-12', 'Tadla-Azilal'), ('MA-01', 'Tanger-T\xe9touan'), ('MA-03', 'Taza-Al Hoceima-Taounate'), ('MA-HAO', 'Al Haouz'), ('MA-HOC', 'Al Hoce\xefma'), ('MA-ASZ', 'Assa-Zag'), ('MA-AZI', 'Azilal'), ('MA-BEM', 'Beni Mellal'), ('MA-BES', 'Ben Slimane'), ('MA-BER', 'Berkane'), ('MA-BOD', 'Boujdour (EH)'), ('MA-BOM', 'Boulemane'), ('MA-CHE', 'Chefchaouen'), ('MA-CHI', 'Chichaoua'), ('MA-CHT', 'Chtouka-Ait Baha'), ('MA-HAJ', 'El Hajeb'), ('MA-JDI', 'El Jadida'), ('MA-ERR', 'Errachidia'), ('MA-ESI', 'Essaouira'), ('MA-ESM', 'Es Smara (EH)'), ('MA-FIG', 'Figuig'), ('MA-GUE', 'Guelmim'), ('MA-IFR', 'Ifrane'), ('MA-JRA', 'Jrada'), ('MA-KES', 'Kelaat es Sraghna'), ('MA-KEN', 'K\xe9nitra'), ('MA-KHE', 'Khemisaet'), ('MA-KHN', 'Khenifra'), ('MA-KHO', 'Khouribga'), ('MA-LAA', 'La\xe2youne (EH)'), ('MA-LAR', 'Larache'), ('MA-MED', 'M\xe9diouna'), ('MA-MOU', 'Moulay Yacoub'), ('MA-NAD', 'Nador'), ('MA-NOU', 'Nouaceur'), ('MA-OUA', 'Ouarzazate'), ('MA-OUD', 'Oued ed Dahab (EH)'), ('MA-SAF', 'Safi'), ('MA-SEF', 'Sefrou'), ('MA-SET', 'Settat'), ('MA-SIK', 'Sidl Kacem'), ('MA-TNT', 'Tan-Tan'), ('MA-TAO', 'Taounate'), ('MA-TAI', 'Taourirt'), ('MA-TAR', 'Taroudant'), ('MA-TAT', 'Tata'), ('MA-TAZ', 'Taza'), ('MA-TIZ', 'Tiznit'), ('MA-ZAG', 'Zagora'), ('MA-AGD', 'Agadir-Ida-Outanane'), ('MA-AOU', 'Aousserd'), ('MA-CAS', 'Casablanca [Dar el Be\xefda]'), ('MA-FAH', 'Fahs-Beni Makada'), ('MA-FES', 'F\xe8s-Dar-Dbibegh'), ('MA-INE', 'Inezgane-Ait Melloul'), ('MA-MMD', 'Marrakech-Medina'), ('MA-MMN', 'Marrakech-Menara'), ('MA-MEK', 'Mekn\xe8s'), ('MA-MOH', 'Mohammadia'), ('MA-OUJ', 'Oujda-Angad'), ('MA-RAB', 'Rabat'), ('MA-SAL', 'Sal\xe9'), ('MA-SYB', 'Sidi Youssef Ben Ali'), ('MA-SKH', 'Skhirate-T\xe9mara'), ('MA-TNG', 'Tanger-Assilah'), ('MA-TET', 'T\xe9touan'), ('MC-CO', 'La Condamine'), ('MC-FO', 'Fontvieille'), ('MC-JE', 'Jardin Exotique'), ('MC-CL', 'La Colle'), ('MC-GA', 'La Gare'), ('MC-SO', 'La Source'), ('MC-LA', 'Larvotto'), ('MC-MA', 'Malbousquet'), ('MC-MO', 'Monaco-Ville'), ('MC-MG', 'Moneghetti'), ('MC-MC', 'Monte-Carlo'), ('MC-MU', 'Moulins'), ('MC-PH', 'Port-Hercule'), ('MC-SR', 'Saint-Roman'), ('MC-SD', 'Sainte-D\xe9vote'), ('MC-SP', 'Sp\xe9lugues'), ('MC-VR', 'Vallon de la Rousse'), ('MD-GA', 'G\u0103g\u0103uzia, Unitatea teritorial\u0103 autonom\u0103'), ('MD-BA', 'B\u0103l\u021bi'), ('MD-BD', 'Tighina'), ('MD-CU', 'Chi\u0219in\u0103u'), ('MD-AN', 'Anenii Noi'), ('MD-BS', 'Basarabeasca'), ('MD-BR', 'Briceni'), ('MD-CA', 'Cahul'), ('MD-CT', 'Cantemir'), ('MD-CL', 'C\u0103l\u0103ra\u0219i'), ('MD-CS', 'C\u0103u\u0219eni'), ('MD-CM', 'Cimi\u0219lia'), ('MD-CR', 'Criuleni'), ('MD-DO', 'Dondu\u0219eni'), ('MD-DR', 'Drochia'), ('MD-DU', 'Dub\u0103sari'), ('MD-ED', 'Edine\u021b'), ('MD-FA', 'F\u0103le\u0219ti'), ('MD-FL', 'Flore\u0219ti'), ('MD-GL', 'Glodeni'), ('MD-HI', 'H\xeence\u0219ti'), ('MD-IA', 'Ialoveni'), ('MD-LE', 'Leova'), ('MD-NI', 'Nisporeni'), ('MD-OC', 'Ocni\u021ba'), ('MD-OR', 'Orhei'), ('MD-RE', 'Rezina'), ('MD-RI', 'R\xee\u0219cani'), ('MD-SI', 'S\xeengerei'), ('MD-SO', 'Soroca'), ('MD-ST', 'Str\u0103\u0219eni'), ('MD-SD', '\u0218old\u0103ne\u0219ti'), ('MD-SV', '\u0218tefan Vod\u0103'), ('MD-TA', 'Taraclia'), ('MD-TE', 'Telene\u0219ti'), ('MD-UN', 'Ungheni'), ('MD-SN', 'St\xeenga Nistrului, unitatea teritorial\u0103 din'), ('ME-01', 'Andrijevica'), ('ME-02', 'Bar'), ('ME-03', 'Berane'), ('ME-04', 'Bijelo Polje'), ('ME-05', 'Budva'), ('ME-06', 'Cetinje'), ('ME-07', 'Danilovgrad'), ('ME-08', 'Herceg-Novi'), ('ME-09', 'Kola\u0161in'), ('ME-10', 'Kotor'), ('ME-11', 'Mojkovac'), ('ME-12', 'Nik\u0161i\u0107'), ('ME-13', 'Plav'), ('ME-14', 'Pljevlja'), ('ME-15', 'Plu\u017eine'), ('ME-16', 'Podgorica'), ('ME-17', 'Ro\u017eaje'), ('ME-18', '\u0160avnik'), ('ME-19', 'Tivat'), ('ME-20', 'Ulcinj'), ('ME-21', '\u017dabljak'), ('MG-T', 'Antananarivo'), ('MG-D', 'Antsiranana'), ('MG-F', 'Fianarantsoa'), ('MG-M', 'Mahajanga'), ('MG-A', 'Toamasina'), ('MG-U', 'Toliara'), ('MH-L', 'Ralik chain'), ('MH-T', 'Ratak chain'), ('MH-ALL', 'Ailinglaplap'), ('MH-ALK', 'Ailuk'), ('MH-ARN', 'Arno'), ('MH-AUR', 'Aur'), ('MH-EBO', 'Ebon'), ('MH-ENI', 'Enewetak'), ('MH-JAB', 'Jabat'), ('MH-JAL', 'Jaluit'), ('MH-KIL', 'Kili'), ('MH-KWA', 'Kwajalein'), ('MH-LAE', 'Lae'), ('MH-LIB', 'Lib'), ('MH-LIK', 'Likiep'), ('MH-MAJ', 'Majuro'), ('MH-MAL', 'Maloelap'), ('MH-MEJ', 'Mejit'), ('MH-MIL', 'Mili'), ('MH-NMK', 'Namdrik'), ('MH-NMU', 'Namu'), ('MH-RON', 'Rongelap'), ('MH-UJA', 'Ujae'), ('MH-UTI', 'Utirik'), ('MH-WTN', 'Wotho'), ('MH-WTJ', 'Wotje'), ('MK-01', 'Aerodrom'), ('MK-02', 'Ara\u010dinovo'), ('MK-03', 'Berovo'), ('MK-04', 'Bitola'), ('MK-05', 'Bogdanci'), ('MK-06', 'Bogovinje'), ('MK-07', 'Bosilovo'), ('MK-08', 'Brvenica'), ('MK-09', 'Butel'), ('MK-77', 'Centar'), ('MK-78', 'Centar \u017dupa'), ('MK-79', '\u010cair'), ('MK-80', '\u010ca\u0161ka'), ('MK-81', '\u010ce\u0161inovo-Oble\u0161evo'), ('MK-82', '\u010cu\u010der Sandevo'), ('MK-21', 'Debar'), ('MK-22', 'Debarca'), ('MK-23', 'Del\u010devo'), ('MK-25', 'Demir Hisar'), ('MK-24', 'Demir Kapija'), ('MK-26', 'Dojran'), ('MK-27', 'Dolneni'), ('MK-28', 'Drugovo'), ('MK-17', 'Gazi Baba'), ('MK-18', 'Gevgelija'), ('MK-29', 'Gjor\u010de Petrov'), ('MK-19', 'Gostivar'), ('MK-20', 'Gradsko'), ('MK-34', 'Ilinden'), ('MK-35', 'Jegunovce'), ('MK-37', 'Karbinci'), ('MK-38', 'Karpo\u0161'), ('MK-36', 'Kavadarci'), ('MK-40', 'Ki\u010devo'), ('MK-39', 'Kisela Voda'), ('MK-42', 'Ko\u010dani'), ('MK-41', 'Kon\u010de'), ('MK-43', 'Kratovo'), ('MK-44', 'Kriva Palanka'), ('MK-45', 'Krivoga\u0161tani'), ('MK-46', 'Kru\u0161evo'), ('MK-47', 'Kumanovo'), ('MK-48', 'Lipkovo'), ('MK-49', 'Lozovo'), ('MK-51', 'Makedonska Kamenica'), ('MK-52', 'Makedonski Brod'), ('MK-50', 'Mavrovo-i-Rostu\u0161a'), ('MK-53', 'Mogila'), ('MK-54', 'Negotino'), ('MK-55', 'Novaci'), ('MK-56', 'Novo Selo'), ('MK-58', 'Ohrid'), ('MK-57', 'Oslomej'), ('MK-60', 'Peh\u010devo'), ('MK-59', 'Petrovec'), ('MK-61', 'Plasnica'), ('MK-62', 'Prilep'), ('MK-63', 'Probi\u0161tip'), ('MK-64', 'Radovi\u0161'), ('MK-65', 'Rankovce'), ('MK-66', 'Resen'), ('MK-67', 'Rosoman'), ('MK-68', 'Saraj'), ('MK-70', 'Sopi\u0161te'), ('MK-71', 'Staro Nagori\u010dane'), ('MK-72', 'Struga'), ('MK-73', 'Strumica'), ('MK-74', 'Studeni\u010dani'), ('MK-69', 'Sveti Nikole'), ('MK-83', '\u0160tip'), ('MK-84', '\u0160uto Orizari'), ('MK-75', 'Tearce'), ('MK-76', 'Tetovo'), ('MK-10', 'Valandovo'), ('MK-11', 'Vasilevo'), ('MK-13', 'Veles'), ('MK-12', 'Vev\u010dani'), ('MK-14', 'Vinica'), ('MK-15', 'Vrane\u0161tica'), ('MK-16', 'Vrap\u010di\u0161te'), ('MK-31', 'Zajas'), ('MK-32', 'Zelenikovo'), ('MK-33', 'Zrnovci'), ('MK-30', '\u017delino'), ('ML-BK0', 'Bamako'), ('ML-7', 'Gao'), ('ML-1', 'Kayes'), ('ML-8', 'Kidal'), ('ML-2', 'Koulikoro'), ('ML-5', 'Mopti'), ('ML-4', 'S\xe9gou'), ('ML-3', 'Sikasso'), ('ML-6', 'Tombouctou'), ('MM-07', 'Ayeyarwady'), ('MM-02', 'Bago'), ('MM-03', 'Magway'), ('MM-04', 'Mandalay'), ('MM-01', 'Sagaing'), ('MM-05', 'Tanintharyi'), ('MM-06', 'Yangon'), ('MM-14', 'Chin'), ('MM-11', 'Kachin'), ('MM-12', 'Kayah'), ('MM-13', 'Kayin'), ('MM-15', 'Mon'), ('MM-16', 'Rakhine'), ('MM-17', 'Shan'), ('MN-073', 'Arhangay'), ('MN-069', 'Bayanhongor'), ('MN-071', 'Bayan-\xd6lgiy'), ('MN-067', 'Bulgan'), ('MN-061', 'Dornod'), ('MN-063', 'Dornogovi'), ('MN-059', 'Dundgovi'), ('MN-057', 'Dzavhan'), ('MN-065', 'Govi-Altay'), ('MN-039', 'Hentiy'), ('MN-043', 'Hovd'), ('MN-041', 'H\xf6vsg\xf6l'), ('MN-053', '\xd6mn\xf6govi'), ('MN-055', '\xd6v\xf6rhangay'), ('MN-049', 'Selenge'), ('MN-051', 'S\xfchbaatar'), ('MN-047', 'T\xf6v'), ('MN-046', 'Uvs'), ('MN-1', 'Ulanbaatar'), ('MN-037', 'Darhan uul'), ('MN-064', 'Govi-Sumber'), ('MN-035', 'Orhon'), ('MR-NKC', 'Nouakchott'), ('MR-07', 'Adrar'), ('MR-03', 'Assaba'), ('MR-05', 'Brakna'), ('MR-08', 'Dakhlet Nouadhibou'), ('MR-04', 'Gorgol'), ('MR-10', 'Guidimaka'), ('MR-01', 'Hodh ech Chargui'), ('MR-02', 'Hodh el Charbi'), ('MR-12', 'Inchiri'), ('MR-09', 'Tagant'), ('MR-11', 'Tiris Zemmour'), ('MR-06', 'Trarza'), ('MT-01', 'Attard'), ('MT-02', 'Balzan'), ('MT-03', 'Birgu'), ('MT-04', 'Birkirkara'), ('MT-05', 'Bir\u017cebbu\u0121a'), ('MT-06', 'Bormla'), ('MT-07', 'Dingli'), ('MT-08', 'Fgura'), ('MT-09', 'Floriana'), ('MT-10', 'Fontana'), ('MT-11', 'Gudja'), ('MT-12', 'G\u017cira'), ('MT-13', 'G\u0127ajnsielem'), ('MT-14', 'G\u0127arb'), ('MT-15', 'G\u0127arg\u0127ur'), ('MT-16', 'G\u0127asri'), ('MT-17', 'G\u0127axaq'), ('MT-18', '\u0126amrun'), ('MT-19', 'Iklin'), ('MT-20', 'Isla'), ('MT-21', 'Kalkara'), ('MT-22', 'Ker\u010bem'), ('MT-23', 'Kirkop'), ('MT-24', 'Lija'), ('MT-25', 'Luqa'), ('MT-26', 'Marsa'), ('MT-27', 'Marsaskala'), ('MT-28', 'Marsaxlokk'), ('MT-29', 'Mdina'), ('MT-30', 'Mellie\u0127a'), ('MT-31', 'M\u0121arr'), ('MT-32', 'Mosta'), ('MT-33', 'Mqabba'), ('MT-34', 'Msida'), ('MT-35', 'Mtarfa'), ('MT-36', 'Munxar'), ('MT-37', 'Nadur'), ('MT-38', 'Naxxar'), ('MT-39', 'Paola'), ('MT-40', 'Pembroke'), ('MT-41', 'Piet\xe0'), ('MT-42', 'Qala'), ('MT-43', 'Qormi'), ('MT-44', 'Qrendi'), ('MT-45', 'Rabat G\u0127awdex'), ('MT-46', 'Rabat Malta'), ('MT-47', 'Safi'), ('MT-48', 'San \u0120iljan'), ('MT-49', 'San \u0120wann'), ('MT-50', 'San Lawrenz'), ('MT-51', 'San Pawl il-Ba\u0127ar'), ('MT-52', 'Sannat'), ('MT-53', 'Santa Lu\u010bija'), ('MT-54', 'Santa Venera'), ('MT-55', 'Si\u0121\u0121iewi'), ('MT-56', 'Sliema'), ('MT-57', 'Swieqi'), ('MT-58', 'Ta\u2019 Xbiex'), ('MT-59', 'Tarxien'), ('MT-60', 'Valletta'), ('MT-61', 'Xag\u0127ra'), ('MT-62', 'Xewkija'), ('MT-63', 'Xg\u0127ajra'), ('MT-64', '\u017babbar'), ('MT-65', '\u017bebbu\u0121 G\u0127awdex'), ('MT-66', '\u017bebbu\u0121 Malta'), ('MT-67', '\u017bejtun'), ('MT-68', '\u017burrieq'), ('MU-BR', 'Beau Bassin-Rose Hill'), ('MU-CU', 'Curepipe'), ('MU-PU', 'Port Louis'), ('MU-QB', 'Quatre Bornes'), ('MU-VP', 'Vacoas-Phoenix'), ('MU-AG', 'Agalega Islands'), ('MU-CC', 'Cargados Carajos Shoals'), ('MU-RO', 'Rodrigues Island'), ('MU-BL', 'Black River'), ('MU-FL', 'Flacq'), ('MU-GP', 'Grand Port'), ('MU-MO', 'Moka'), ('MU-PA', 'Pamplemousses'), ('MU-PW', 'Plaines Wilhems'), ('MU-PL', 'Port Louis'), ('MU-RP', 'Rivi\xe8re du Rempart'), ('MU-SA', 'Savanne'), ('MV-MLE', 'Male'), ('MV-SU', 'South'), ('MV-US', 'Upper South'), ('MV-UN', 'Upper North'), ('MV-CE', 'Central'), ('MV-SC', 'South Central'), ('MV-NC', 'North Central'), ('MV-NO', 'North'), ('MV-02', 'Alifu Alifu'), ('MV-00', 'Alifu Dhaalu'), ('MV-20', 'Baa'), ('MV-17', 'Dhaalu'), ('MV-14', 'Faafu'), ('MV-27', 'Gaafu Alifu'), ('MV-28', 'Gaafu Dhaalu'), ('MV-29', 'Gnaviyani'), ('MV-07', 'Haa Alifu'), ('MV-23', 'Haa Dhaalu'), ('MV-26', 'Kaafu'), ('MV-05', 'Laamu'), ('MV-03', 'Lhaviyani'), ('MV-12', 'Meemu'), ('MV-25', 'Noonu'), ('MV-13', 'Raa'), ('MV-01', 'Seenu'), ('MV-24', 'Shaviyani'), ('MV-08', 'Thaa'), ('MV-04', 'Vaavu'), ('MW-C', 'Central Region'), ('MW-N', 'Northern Region'), ('MW-S', 'Southern Region'), ('MW-BA', 'Balaka'), ('MW-BL', 'Blantyre'), ('MW-CK', 'Chikwawa'), ('MW-CR', 'Chiradzulu'), ('MW-CT', 'Chitipa'), ('MW-DE', 'Dedza'), ('MW-DO', 'Dowa'), ('MW-KR', 'Karonga'), ('MW-KS', 'Kasungu'), ('MW-LK', 'Likoma'), ('MW-LI', 'Lilongwe'), ('MW-MH', 'Machinga'), ('MW-MG', 'Mangochi'), ('MW-MC', 'Mchinji'), ('MW-MU', 'Mulanje'), ('MW-MW', 'Mwanza'), ('MW-MZ', 'Mzimba'), ('MW-NE', 'Neno'), ('MW-NB', 'Nkhata Bay'), ('MW-NK', 'Nkhotakota'), ('MW-NS', 'Nsanje'), ('MW-NU', 'Ntcheu'), ('MW-NI', 'Ntchisi'), ('MW-PH', 'Phalombe'), ('MW-RU', 'Rumphi'), ('MW-SA', 'Salima'), ('MW-TH', 'Thyolo'), ('MW-ZO', 'Zomba'), ('MX-DIF', 'Distrito Federal'), ('MX-AGU', 'Aguascalientes'), ('MX-BCN', 'Baja California'), ('MX-BCS', 'Baja California Sur'), ('MX-CAM', 'Campeche'), ('MX-COA', 'Coahuila'), ('MX-COL', 'Colima'), ('MX-CHP', 'Chiapas'), ('MX-CHH', 'Chihuahua'), ('MX-DUR', 'Durango'), ('MX-GUA', 'Guanajuato'), ('MX-GRO', 'Guerrero'), ('MX-HID', 'Hidalgo'), ('MX-JAL', 'Jalisco'), ('MX-MEX', 'M\xe9xico'), ('MX-MIC', 'Michoac\xe1n'), ('MX-MOR', 'Morelos'), ('MX-NAY', 'Nayarit'), ('MX-NLE', 'Nuevo Le\xf3n'), ('MX-OAX', 'Oaxaca'), ('MX-PUE', 'Puebla'), ('MX-QUE', 'Quer\xe9taro'), ('MX-ROO', 'Quintana Roo'), ('MX-SLP', 'San Luis Potos\xed'), ('MX-SIN', 'Sinaloa'), ('MX-SON', 'Sonora'), ('MX-TAB', 'Tabasco'), ('MX-TAM', 'Tamaulipas'), ('MX-TLA', 'Tlaxcala'), ('MX-VER', 'Veracruz'), ('MX-YUC', 'Yucat\xe1n'), ('MX-ZAC', 'Zacatecas'), ('MY-14', 'Wilayah Persekutuan Kuala Lumpur'), ('MY-15', 'Wilayah Persekutuan Labuan'), ('MY-16', 'Wilayah Persekutuan Putrajaya'), ('MY-01', 'Johor'), ('MY-02', 'Kedah'), ('MY-03', 'Kelantan'), ('MY-04', 'Melaka'), ('MY-05', 'Negeri Sembilan'), ('MY-06', 'Pahang'), ('MY-08', 'Perak'), ('MY-09', 'Perlis'), ('MY-07', 'Pulau Pinang'), ('MY-12', 'Sabah'), ('MY-13', 'Sarawak'), ('MY-10', 'Selangor'), ('MY-11', 'Terengganu'), ('MZ-MPM', 'Maputo (city)'), ('MZ-P', 'Cabo Delgado'), ('MZ-G', 'Gaza'), ('MZ-I', 'Inhambane'), ('MZ-B', 'Manica'), ('MZ-L', 'Maputo'), ('MZ-N', 'Numpula'), ('MZ-A', 'Niassa'), ('MZ-S', 'Sofala'), ('MZ-T', 'Tete'), ('MZ-Q', 'Zambezia'), ('NA-CA', 'Caprivi'), ('NA-ER', 'Erongo'), ('NA-HA', 'Hardap'), ('NA-KA', 'Karas'), ('NA-KH', 'Khomas'), ('NA-KU', 'Kunene'), ('NA-OW', 'Ohangwena'), ('NA-OK', 'Okavango'), ('NA-OH', 'Omaheke'), ('NA-OS', 'Omusati'), ('NA-ON', 'Oshana'), ('NA-OT', 'Oshikoto'), ('NA-OD', 'Otjozondjupa'), ('NE-8', 'Niamey'), ('NE-1', 'Agadez'), ('NE-2', 'Diffa'), ('NE-3', 'Dosso'), ('NE-4', 'Maradi'), ('NE-5', 'Tahoua'), ('NE-6', 'Tillab\xe9ri'), ('NE-7', 'Zinder'), ('NG-FC', 'Abuja Capital Territory'), ('NG-AB', 'Abia'), ('NG-AD', 'Adamawa'), ('NG-AK', 'Akwa Ibom'), ('NG-AN', 'Anambra'), ('NG-BA', 'Bauchi'), ('NG-BY', 'Bayelsa'), ('NG-BE', 'Benue'), ('NG-BO', 'Borno'), ('NG-CR', 'Cross River'), ('NG-DE', 'Delta'), ('NG-EB', 'Ebonyi'), ('NG-ED', 'Edo'), ('NG-EK', 'Ekiti'), ('NG-EN', 'Enugu'), ('NG-GO', 'Gombe'), ('NG-IM', 'Imo'), ('NG-JI', 'Jigawa'), ('NG-KD', 'Kaduna'), ('NG-KN', 'Kano'), ('NG-KT', 'Katsina'), ('NG-KE', 'Kebbi'), ('NG-KO', 'Kogi'), ('NG-KW', 'Kwara'), ('NG-LA', 'Lagos'), ('NG-NA', 'Nassarawa'), ('NG-NI', 'Niger'), ('NG-OG', 'Ogun'), ('NG-ON', 'Ondo'), ('NG-OS', 'Osun'), ('NG-OY', 'Oyo'), ('NG-PL', 'Plateau'), ('NG-RI', 'Rivers'), ('NG-SO', 'Sokoto'), ('NG-TA', 'Taraba'), ('NG-YO', 'Yobe'), ('NG-ZA', 'Zamfara'), ('NI-BO', 'Boaco'), ('NI-CA', 'Carazo'), ('NI-CI', 'Chinandega'), ('NI-CO', 'Chontales'), ('NI-ES', 'Estel\xed'), ('NI-GR', 'Granada'), ('NI-JI', 'Jinotega'), ('NI-LE', 'Le\xf3n'), ('NI-MD', 'Madriz'), ('NI-MN', 'Managua'), ('NI-MS', 'Masaya'), ('NI-MT', 'Matagalpa'), ('NI-NS', 'Nueva Segovia'), ('NI-SJ', 'R\xedo San Juan'), ('NI-RI', 'Rivas'), ('NI-AN', 'Atl\xe1ntico Norte'), ('NI-AS', 'Atl\xe1ntico Sur'), ('NL-DR', 'Drenthe'), ('NL-FL', 'Flevoland'), ('NL-FR', 'Friesland'), ('NL-GE', 'Gelderland'), ('NL-GR', 'Groningen'), ('NL-LI', 'Limburg'), ('NL-NB', 'Noord-Brabant'), ('NL-NH', 'Noord-Holland'), ('NL-OV', 'Overijssel'), ('NL-UT', 'Utrecht'), ('NL-ZE', 'Zeeland'), ('NL-ZH', 'Zuid-Holland'), ('NL-AW', 'Aruba'), ('NL-CW', 'Cura\xe7ao'), ('NL-SX', 'Sint Maarten'), ('NL-BQ1', 'Bonaire'), ('NL-BQ2', 'Saba'), ('NL-BQ3', 'Sint Eustatius'), ('NO-02', 'Akershus'), ('NO-09', 'Aust-Agder'), ('NO-06', 'Buskerud'), ('NO-20', 'Finnmark'), ('NO-04', 'Hedmark'), ('NO-12', 'Hordaland'), ('NO-15', 'M\xf8re og Romsdal'), ('NO-18', 'Nordland'), ('NO-17', 'Nord-Tr\xf8ndelag'), ('NO-05', 'Oppland'), ('NO-03', 'Oslo'), ('NO-11', 'Rogaland'), ('NO-14', 'Sogn og Fjordane'), ('NO-16', 'S\xf8r-Tr\xf8ndelag'), ('NO-08', 'Telemark'), ('NO-19', 'Troms'), ('NO-10', 'Vest-Agder'), ('NO-07', 'Vestfold'), ('NO-01', '\xd8stfold'), ('NO-22', 'Jan Mayen (Arctic Region)'), ('NO-21', 'Svalbard (Arctic Region)'), ('NP-1', 'Madhyamanchal'), ('NP-2', 'Madhya Pashchimanchal'), ('NP-3', 'Pashchimanchal'), ('NP-4', 'Purwanchal'), ('NP-5', 'Sudur Pashchimanchal'), ('NP-BA', 'Bagmati'), ('NP-BH', 'Bheri'), ('NP-DH', 'Dhawalagiri'), ('NP-GA', 'Gandaki'), ('NP-JA', 'Janakpur'), ('NP-KA', 'Karnali'), ('NP-KO', 'Kosi'), ('NP-LU', 'Lumbini'), ('NP-MA', 'Mahakali'), ('NP-ME', 'Mechi'), ('NP-NA', 'Narayani'), ('NP-RA', 'Rapti'), ('NP-SA', 'Sagarmatha'), ('NP-SE', 'Seti'), ('NR-01', 'Aiwo'), ('NR-02', 'Anabar'), ('NR-03', 'Anetan'), ('NR-04', 'Anibare'), ('NR-05', 'Baiti'), ('NR-06', 'Boe'), ('NR-07', 'Buada'), ('NR-08', 'Denigomodu'), ('NR-09', 'Ewa'), ('NR-10', 'Ijuw'), ('NR-11', 'Meneng'), ('NR-12', 'Nibok'), ('NR-13', 'Uaboe'), ('NR-14', 'Yaren'), ('NZ-N', 'North Island'), ('NZ-S', 'South Island'), ('NZ-AUK', 'Auckland'), ('NZ-BOP', 'Bay of Plenty'), ('NZ-CAN', 'Canterbury'), ('NZ-HKB', "Hawke's Bay"), ('NZ-MWT', 'Manawatu-Wanganui'), ('NZ-NTL', 'Northland'), ('NZ-OTA', 'Otago'), ('NZ-STL', 'Southland'), ('NZ-TKI', 'Taranaki'), ('NZ-WKO', 'Waikato'), ('NZ-WGN', 'Wellington'), ('NZ-WTC', 'West Coast'), ('NZ-GIS', 'Gisborne District'), ('NZ-MBH', 'Marlborough District'), ('NZ-NSN', 'Nelson City'), ('NZ-TAS', 'Tasman District'), ('NZ-CIT', 'Chatham Islands Territory'), ('OM-DA', 'Ad D\u0101khil\u012bya'), ('OM-BA', 'Al B\u0101\u0163inah'), ('OM-WU', 'Al Wus\u0163\xe1'), ('OM-SH', 'Ash Sharq\u012byah'), ('OM-ZA', 'Az\u0327 Z\u0327\u0101hirah'), ('OM-BU', 'Al Buraym\u012b'), ('OM-MA', 'Masqa\u0163'), ('OM-MU', 'Musandam'), ('OM-ZU', 'Z\u0327uf\u0101r'), ('PA-1', 'Bocas del Toro'), ('PA-4', 'Chiriqu\xed'), ('PA-2', 'Cocl\xe9'), ('PA-3', 'Col\xf3n'), ('PA-5', 'Dari\xe9n'), ('PA-6', 'Herrera'), ('PA-7', 'Los Santos'), ('PA-8', 'Panam\xe1'), ('PA-9', 'Veraguas'), ('PA-EM', 'Ember\xe1'), ('PA-KY', 'Kuna Yala'), ('PA-NB', 'Ng\xf6be-Bugl\xe9'), ('PE-CAL', 'El Callao'), ('PE-LMA', 'Municipalidad Metropolitana de Lima'), ('PE-AMA', 'Amazonas'), ('PE-ANC', 'Ancash'), ('PE-APU', 'Apur\xedmac'), ('PE-ARE', 'Arequipa'), ('PE-AYA', 'Ayacucho'), ('PE-CAJ', 'Cajamarca'), ('PE-CUS', 'Cusco [Cuzco]'), ('PE-HUV', 'Huancavelica'), ('PE-HUC', 'Hu\xe1nuco'), ('PE-ICA', 'Ica'), ('PE-JUN', 'Jun\xedn'), ('PE-LAL', 'La Libertad'), ('PE-LAM', 'Lambayeque'), ('PE-LIM', 'Lima'), ('PE-LOR', 'Loreto'), ('PE-MDD', 'Madre de Dios'), ('PE-MOQ', 'Moquegua'), ('PE-PAS', 'Pasco'), ('PE-PIU', 'Piura'), ('PE-PUN', 'Puno'), ('PE-SAM', 'San Mart\xedn'), ('PE-TAC', 'Tacna'), ('PE-TUM', 'Tumbes'), ('PE-UCA', 'Ucayali'), ('PG-NCD', 'National Capital District (Port Moresby)'), ('PG-CPM', 'Central'), ('PG-CPK', 'Chimbu'), ('PG-EHG', 'Eastern Highlands'), ('PG-EBR', 'East New Britain'), ('PG-ESW', 'East Sepik'), ('PG-EPW', 'Enga'), ('PG-GPK', 'Gulf'), ('PG-MPM', 'Madang'), ('PG-MRL', 'Manus'), ('PG-MBA', 'Milne Bay'), ('PG-MPL', 'Morobe'), ('PG-NIK', 'New Ireland'), ('PG-NPP', 'Northern'), ('PG-SAN', 'Sandaun'), ('PG-SHM', 'Southern Highlands'), ('PG-WPD', 'Western'), ('PG-WHM', 'Western Highlands'), ('PG-WBK', 'West New Britain'), ('PG-NSB', 'Bougainville'), ('PH-14', 'Autonomous Region in Muslim Mindanao (ARMM)'), ('PH-05', 'Bicol (Region V)'), ('PH-02', 'Cagayan Valley (Region II)'), ('PH-40', 'CALABARZON (Region IV-A)'), ('PH-13', 'Caraga (Region XIII)'), ('PH-03', 'Central Luzon (Region III)'), ('PH-07', 'Central Visayas (Region VII)'), ('PH-15', 'Cordillera Administrative Region (CAR)'), ('PH-08', 'Eastern Visayas (Region VIII)'), ('PH-01', 'Ilocos (Region I)'), ('PH-41', 'MIMAROPA (Region IV-B)'), ('PH-00', 'National Capital Region'), ('PH-10', 'Northern Mindanao (Region X)'), ('PH-11', 'Davao (Region XI)'), ('PH-12', 'Soccsksargen (Region XII)'), ('PH-06', 'Western Visayas (Region VI)'), ('PH-09', 'Zamboanga Peninsula (Region IX)'), ('PH-ABR', 'Abra'), ('PH-AGN', 'Agusan del Norte'), ('PH-AGS', 'Agusan del Sur'), ('PH-AKL', 'Aklan'), ('PH-ALB', 'Albay'), ('PH-ANT', 'Antique'), ('PH-APA', 'Apayao'), ('PH-AUR', 'Aurora'), ('PH-BAS', 'Basilan'), ('PH-BAN', 'Batasn'), ('PH-BTN', 'Batanes'), ('PH-BTG', 'Batangas'), ('PH-BEN', 'Benguet'), ('PH-BIL', 'Biliran'), ('PH-BOH', 'Bohol'), ('PH-BUK', 'Bukidnon'), ('PH-BUL', 'Bulacan'), ('PH-CAG', 'Cagayan'), ('PH-CAN', 'Camarines Norte'), ('PH-CAS', 'Camarines Sur'), ('PH-CAM', 'Camiguin'), ('PH-CAP', 'Capiz'), ('PH-CAT', 'Catanduanes'), ('PH-CAV', 'Cavite'), ('PH-CEB', 'Cebu'), ('PH-COM', 'Compostela Valley'), ('PH-DAV', 'Davao del Norte'), ('PH-DAS', 'Davao del Sur'), ('PH-DAO', 'Davao Oriental'), ('PH-DIN', 'Dinagat Islands'), ('PH-EAS', 'Eastern Samar'), ('PH-GUI', 'Guimaras'), ('PH-IFU', 'Ifugao'), ('PH-ILN', 'Ilocos Norte'), ('PH-ILS', 'Ilocos Sur'), ('PH-ILI', 'Iloilo'), ('PH-ISA', 'Isabela'), ('PH-KAL', 'Kalinga-Apayso'), ('PH-LAG', 'Laguna'), ('PH-LAN', 'Lanao del Norte'), ('PH-LAS', 'Lanao del Sur'), ('PH-LUN', 'La Union'), ('PH-LEY', 'Leyte'), ('PH-MAG', 'Maguindanao'), ('PH-MAD', 'Marinduque'), ('PH-MAS', 'Masbate'), ('PH-MDC', 'Mindoro Occidental'), ('PH-MDR', 'Mindoro Oriental'), ('PH-MSC', 'Misamis Occidental'), ('PH-MSR', 'Misamis Oriental'), ('PH-MOU', 'Mountain Province'), ('PH-NEC', 'Negroe Occidental'), ('PH-NER', 'Negros Oriental'), ('PH-NCO', 'North Cotabato'), ('PH-NSA', 'Northern Samar'), ('PH-NUE', 'Nueva Ecija'), ('PH-NUV', 'Nueva Vizcaya'), ('PH-PLW', 'Palawan'), ('PH-PAM', 'Pampanga'), ('PH-PAN', 'Pangasinan'), ('PH-QUE', 'Quezon'), ('PH-QUI', 'Quirino'), ('PH-RIZ', 'Rizal'), ('PH-ROM', 'Romblon'), ('PH-SAR', 'Sarangani'), ('PH-SIG', 'Siquijor'), ('PH-SOR', 'Sorsogon'), ('PH-SCO', 'South Cotabato'), ('PH-SLE', 'Southern Leyte'), ('PH-SUK', 'Sultan Kudarat'), ('PH-SLU', 'Sulu'), ('PH-SUN', 'Surigao del Norte'), ('PH-SUR', 'Surigao del Sur'), ('PH-TAR', 'Tarlac'), ('PH-TAW', 'Tawi-Tawi'), ('PH-WSA', 'Western Samar'), ('PH-ZMB', 'Zambales'), ('PH-ZAN', 'Zamboanga del Norte'), ('PH-ZAS', 'Zamboanga del Sur'), ('PH-ZSI', 'Zamboanga Sibugay'), ('PK-IS', 'Islamabad'), ('PK-BA', 'Balochistan'), ('PK-KP', 'Khyber Pakhtunkhwa'), ('PK-PB', 'Punjab'), ('PK-SD', 'Sindh'), ('PK-TA', 'Federally Administered Tribal Areas'), ('PK-JK', 'Azad Kashmir'), ('PK-GB', 'Gilgit-Baltistan'), ('PL-DS', 'Dolno\u015bl\u0105skie'), ('PL-KP', 'Kujawsko-pomorskie'), ('PL-LU', 'Lubelskie'), ('PL-LB', 'Lubuskie'), ('PL-LD', '\u0141\xf3dzkie'), ('PL-MA', 'Ma\u0142opolskie'), ('PL-MZ', 'Mazowieckie'), ('PL-OP', 'Opolskie'), ('PL-PK', 'Podkarpackie'), ('PL-PD', 'Podlaskie'), ('PL-PM', 'Pomorskie'), ('PL-SL', '\u015al\u0105skie'), ('PL-SK', '\u015awi\u0119tokrzyskie'), ('PL-WN', 'Warmi\u0144sko-mazurskie'), ('PL-WP', 'Wielkopolskie'), ('PL-ZP', 'Zachodniopomorskie'), ('PS-BTH', 'Bethlehem'), ('PS-DEB', 'Deir El Balah'), ('PS-GZA', 'Gaza'), ('PS-HBN', 'Hebron'), ('PS-JEN', 'Jenin'), ('PS-JRH', 'Jericho - Al Aghwar'), ('PS-JEM', 'Jerusalem'), ('PS-KYS', 'Khan Yunis'), ('PS-NBS', 'Nablus'), ('PS-NGZ', 'North Gaza'), ('PS-QQA', 'Qalqilya'), ('PS-RFH', 'Rafah'), ('PS-RBH', 'Ramallah'), ('PS-SLT', 'Salfit'), ('PS-TBS', 'Tubas'), ('PS-TKM', 'Tulkarm'), ('PT-01', 'Aveiro'), ('PT-02', 'Beja'), ('PT-03', 'Braga'), ('PT-04', 'Bragan\xe7a'), ('PT-05', 'Castelo Branco'), ('PT-06', 'Coimbra'), ('PT-07', '\xc9vora'), ('PT-08', 'Faro'), ('PT-09', 'Guarda'), ('PT-10', 'Leiria'), ('PT-11', 'Lisboa'), ('PT-12', 'Portalegre'), ('PT-13', 'Porto'), ('PT-14', 'Santar\xe9m'), ('PT-15', 'Set\xfabal'), ('PT-16', 'Viana do Castelo'), ('PT-17', 'Vila Real'), ('PT-18', 'Viseu'), ('PT-20', 'Regi\xe3o Aut\xf3noma dos A\xe7ores'), ('PT-30', 'Regi\xe3o Aut\xf3noma da Madeira'), ('PW-002', 'Aimeliik'), ('PW-004', 'Airai'), ('PW-010', 'Angaur'), ('PW-050', 'Hatobohei'), ('PW-100', 'Kayangel'), ('PW-150', 'Koror'), ('PW-212', 'Melekeok'), ('PW-214', 'Ngaraard'), ('PW-218', 'Ngarchelong'), ('PW-222', 'Ngardmau'), ('PW-224', 'Ngatpang'), ('PW-226', 'Ngchesar'), ('PW-227', 'Ngeremlengui'), ('PW-228', 'Ngiwal'), ('PW-350', 'Peleliu'), ('PW-370', 'Sonsorol'), ('PY-ASU', 'Asunci\xf3n'), ('PY-16', 'Alto Paraguay'), ('PY-10', 'Alto Paran\xe1'), ('PY-13', 'Amambay'), ('PY-19', 'Boquer\xf3n'), ('PY-5', 'Caaguaz\xfa'), ('PY-6', 'Caazap\xe1'), ('PY-14', 'Canindey\xfa'), ('PY-11', 'Central'), ('PY-1', 'Concepci\xf3n'), ('PY-3', 'Cordillera'), ('PY-4', 'Guair\xe1'), ('PY-7', 'Itap\xfaa'), ('PY-8', 'Misiones'), ('PY-12', '\xd1eembuc\xfa'), ('PY-9', 'Paraguar\xed'), ('PY-15', 'Presidente Hayes'), ('PY-2', 'San Pedro'), ('QA-DA', 'Ad Dawhah'), ('QA-KH', 'Al Khawr wa adh Dhakh\u012brah'), ('QA-WA', 'Al Wakrah'), ('QA-RA', 'Ar Rayyan'), ('QA-MS', 'Ash Shamal'), ('QA-ZA', 'Az\u0327 Z\u0327a\u2018\u0101yin'), ('QA-US', 'Umm Salal'), ('RO-AB', 'Alba'), ('RO-AR', 'Arad'), ('RO-AG', 'Arge\u0219'), ('RO-BC', 'Bac\u0103u'), ('RO-BH', 'Bihor'), ('RO-BN', 'Bistri\u021ba-N\u0103s\u0103ud'), ('RO-BT', 'Boto\u0219ani'), ('RO-BV', 'Bra\u0219ov'), ('RO-BR', 'Br\u0103ila'), ('RO-BZ', 'Buz\u0103u'), ('RO-CS', 'Cara\u0219-Severin'), ('RO-CL', 'C\u0103l\u0103ra\u0219i'), ('RO-CJ', 'Cluj'), ('RO-CT', 'Constan\u021ba'), ('RO-CV', 'Covasna'), ('RO-DB', 'D\xe2mbovi\u021ba'), ('RO-DJ', 'Dolj'), ('RO-GL', 'Gala\u021bi'), ('RO-GR', 'Giurgiu'), ('RO-GJ', 'Gorj'), ('RO-HR', 'Harghita'), ('RO-HD', 'Hunedoara'), ('RO-IL', 'Ialomi\u021ba'), ('RO-IS', 'Ia\u0219i'), ('RO-IF', 'Ilfov'), ('RO-MM', 'Maramure\u0219'), ('RO-MH', 'Mehedin\u021bi'), ('RO-MS', 'Mure\u0219'), ('RO-NT', 'Neam\u021b'), ('RO-OT', 'Olt'), ('RO-PH', 'Prahova'), ('RO-SM', 'Satu Mare'), ('RO-SJ', 'S\u0103laj'), ('RO-SB', 'Sibiu'), ('RO-SV', 'Suceava'), ('RO-TR', 'Teleorman'), ('RO-TM', 'Timi\u0219'), ('RO-TL', 'Tulcea'), ('RO-VS', 'Vaslui'), ('RO-VL', 'V\xe2lcea'), ('RO-VN', 'Vrancea'), ('RO-B', 'Bucure\u0219ti'), ('RS-00', 'Beograd'), ('RS-KM', 'Kosovo-Metohija'), ('RS-VO', 'Vojvodina'), ('RS-14', 'Borski okrug'), ('RS-11', 'Brani\u010devski okrug'), ('RS-23', 'Jablani\u010dki okrug'), ('RS-06', 'Ju\u017enoba\u010dki okrug'), ('RS-04', 'Ju\u017enobanatski okrug'), ('RS-09', 'Kolubarski okrug'), ('RS-25', 'Kosovski okrug'), ('RS-28', 'Kosovsko-Mitrova\u010dki okrug'), ('RS-29', 'Kosovsko-Pomoravski okrug'), ('RS-08', 'Ma\u010dvanski okrug'), ('RS-17', 'Moravi\u010dki okrug'), ('RS-20', 'Ni\u0161avski okrug'), ('RS-24', 'P\u010dinjski okrug'), ('RS-26', 'Pe\u0107ki okrug'), ('RS-22', 'Pirotski okrug'), ('RS-10', 'Podunavski okrug'), ('RS-13', 'Pomoravski okrug'), ('RS-27', 'Prizrenski okrug'), ('RS-19', 'Rasinski okrug'), ('RS-18', 'Ra\u0161ki okrug'), ('RS-01', 'Severnoba\u010dki okrug'), ('RS-03', 'Severnobanatski okrug'), ('RS-02', 'Srednjebanatski okrug'), ('RS-07', 'Sremski okrug'), ('RS-12', '\u0160umadijski okrug'), ('RS-21', 'Topli\u010dki okrug'), ('RS-15', 'Zaje\u010darski okrug'), ('RS-05', 'Zapadnoba\u010dki okrug'), ('RS-16', 'Zlatiborski okrug'), ('RU-AD', 'Adygeya, Respublika'), ('RU-AL', 'Altay, Respublika'), ('RU-BA', 'Bashkortostan, Respublika'), ('RU-BU', 'Buryatiya, Respublika'), ('RU-CE', 'Chechenskaya Respublika'), ('RU-CU', 'Chuvashskaya Respublika'), ('RU-DA', 'Dagestan, Respublika'), ('RU-IN', 'Respublika Ingushetiya'), ('RU-KB', 'Kabardino-Balkarskaya Respublika'), ('RU-KL', 'Kalmykiya, Respublika'), ('RU-KC', 'Karachayevo-Cherkesskaya Respublika'), ('RU-KR', 'Kareliya, Respublika'), ('RU-KK', 'Khakasiya, Respublika'), ('RU-KO', 'Komi, Respublika'), ('RU-ME', 'Mariy El, Respublika'), ('RU-MO', 'Mordoviya, Respublika'), ('RU-SA', 'Sakha, Respublika [Yakutiya]'), ('RU-SE', 'Severnaya Osetiya-Alaniya, Respublika'), ('RU-TA', 'Tatarstan, Respublika'), ('RU-TY', 'Tyva, Respublika [Tuva]'), ('RU-UD', 'Udmurtskaya Respublika'), ('RU-ALT', 'Altayskiy kray'), ('RU-KAM', 'Kamchatskiy kray'), ('RU-KHA', 'Khabarovskiy kray'), ('RU-KDA', 'Krasnodarskiy kray'), ('RU-KYA', 'Krasnoyarskiy kray'), ('RU-PER', 'Permskiy kray'), ('RU-PRI', 'Primorskiy kray'), ('RU-STA', "Stavropol'skiy kray"), ('RU-ZAB', "Zabajkal'skij kraj"), ('RU-AMU', "Amurskaya oblast'"), ('RU-ARK', "Arkhangel'skaya oblast'"), ('RU-AST', "Astrakhanskaya oblast'"), ('RU-BEL', "Belgorodskaya oblast'"), ('RU-BRY', "Bryanskaya oblast'"), ('RU-CHE', "Chelyabinskaya oblast'"), ('RU-IRK', "Irkutiskaya oblast'"), ('RU-IVA', "Ivanovskaya oblast'"), ('RU-KGD', "Kaliningradskaya oblast'"), ('RU-KLU', "Kaluzhskaya oblast'"), ('RU-KEM', "Kemerovskaya oblast'"), ('RU-KIR', "Kirovskaya oblast'"), ('RU-KOS', "Kostromskaya oblast'"), ('RU-KGN', "Kurganskaya oblast'"), ('RU-KRS', "Kurskaya oblast'"), ('RU-LEN', "Leningradskaya oblast'"), ('RU-LIP', "Lipetskaya oblast'"), ('RU-MAG', "Magadanskaya oblast'"), ('RU-MOS', "Moskovskaya oblast'"), ('RU-MUR', "Murmanskaya oblast'"), ('RU-NIZ', "Nizhegorodskaya oblast'"), ('RU-NGR', "Novgorodskaya oblast'"), ('RU-NVS', "Novosibirskaya oblast'"), ('RU-OMS', "Omskaya oblast'"), ('RU-ORE', "Orenburgskaya oblast'"), ('RU-ORL', "Orlovskaya oblast'"), ('RU-PNZ', "Penzenskaya oblast'"), ('RU-PSK', "Pskovskaya oblast'"), ('RU-ROS', "Rostovskaya oblast'"), ('RU-RYA', "Ryazanskaya oblast'"), ('RU-SAK', "Sakhalinskaya oblast'"), ('RU-SAM', "Samaraskaya oblast'"), ('RU-SAR', "Saratovskaya oblast'"), ('RU-SMO', "Smolenskaya oblast'"), ('RU-SVE', "Sverdlovskaya oblast'"), ('RU-TAM', "Tambovskaya oblast'"), ('RU-TOM', "Tomskaya oblast'"), ('RU-TUL', "Tul'skaya oblast'"), ('RU-TVE', "Tverskaya oblast'"), ('RU-TYU', "Tyumenskaya oblast'"), ('RU-ULY', "Ul'yanovskaya oblast'"), ('RU-VLA', "Vladimirskaya oblast'"), ('RU-VGG', "Volgogradskaya oblast'"), ('RU-VLG', "Vologodskaya oblast'"), ('RU-VOR', "Voronezhskaya oblast'"), ('RU-YAR', "Yaroslavskaya oblast'"), ('RU-MOW', 'Moskva'), ('RU-SPE', 'Sankt-Peterburg'), ('RU-YEV', "Yevreyskaya avtonomnaya oblast'"), ('RU-CHU', 'Chukotskiy avtonomnyy okrug'), ('RU-KHM', 'Khanty-Mansiysky avtonomnyy okrug-Yugra'), ('RU-NEN', 'Nenetskiy avtonomnyy okrug'), ('RU-YAN', 'Yamalo-Nenetskiy avtonomnyy okrug'), ('RW-01', 'Ville de Kigali'), ('RW-02', 'Est'), ('RW-03', 'Nord'), ('RW-04', 'Ouest'), ('RW-05', 'Sud'), ('SA-11', 'Al B\u0101hah'), ('SA-08', 'Al \u1e24ud\u016bd ash Sham\u0101liyah'), ('SA-12', 'Al Jawf'), ('SA-03', 'Al Mad\u012bnah'), ('SA-05', 'Al Qa\u015f\u012bm'), ('SA-01', 'Ar Riy\u0101\u1e0d'), ('SA-04', 'Ash Sharq\u012byah'), ('SA-14', '`As\u012br'), ('SA-06', "\u1e24\u0101'il"), ('SA-09', 'J\u012bzan'), ('SA-02', 'Makkah'), ('SA-10', 'Najr\u0101n'), ('SA-07', 'Tab\u016bk'), ('SB-CT', 'Capital Territory (Honiara)'), ('SB-CE', 'Central'), ('SB-CH', 'Choiseul'), ('SB-GU', 'Guadalcanal'), ('SB-IS', 'Isabel'), ('SB-MK', 'Makira'), ('SB-ML', 'Malaita'), ('SB-RB', 'Rennell and Bellona'), ('SB-TE', 'Temotu'), ('SB-WE', 'Western'), ('SC-01', 'Anse aux Pins'), ('SC-02', 'Anse Boileau'), ('SC-03', 'Anse Etoile'), ('SC-04', 'Anse Louis'), ('SC-05', 'Anse Royale'), ('SC-06', 'Baie Lazare'), ('SC-07', 'Baie Sainte Anne'), ('SC-08', 'Beau Vallon'), ('SC-09', 'Bel Air'), ('SC-10', 'Bel Ombre'), ('SC-11', 'Cascade'), ('SC-12', 'Glacis'), ('SC-13', 'Grand Anse Mahe'), ('SC-14', 'Grand Anse Praslin'), ('SC-15', 'La Digue'), ('SC-16', 'English River'), ('SC-24', 'Les Mamelles'), ('SC-17', 'Mont Buxton'), ('SC-18', 'Mont Fleuri'), ('SC-19', 'Plaisance'), ('SC-20', 'Pointe Larue'), ('SC-21', 'Port Glaud'), ('SC-25', 'Roche Caiman'), ('SC-22', 'Saint Louis'), ('SC-23', 'Takamaka'), ('SD-RS', 'Al Ba\u1e29r al A\u1e29mar'), ('SD-GZ', 'Al Jaz\u012brah'), ('SD-KH', 'Al Khar\u0163\u016bm'), ('SD-GD', 'Al Qa\u1e11\u0101rif'), ('SD-NR', 'An N\u012bl'), ('SD-NW', 'An N\u012bl al Abya\u1e11'), ('SD-NB', 'An N\u012bl al Azraq'), ('SD-NO', 'Ash Sham\u0101l\u012byah'), ('SD-DW', 'Gharb D\u0101rf\u016br'), ('SD-DS', 'Jan\u016bb D\u0101rf\u016br'), ('SD-KS', 'Jan\u016bb Kurduf\u0101n'), ('SD-KA', 'Kassal\u0101'), ('SD-DN', 'Sham\u0101l D\u0101rf\u016br'), ('SD-KN', 'Sham\u0101l Kurduf\u0101n'), ('SD-DE', 'Sharq D\u0101rf\u016br'), ('SD-SI', 'Sinn\u0101r'), ('SD-DC', 'Zalingei'), ('SE-K', 'Blekinge l\xe4n'), ('SE-W', 'Dalarnas l\xe4n'), ('SE-I', 'Gotlands l\xe4n'), ('SE-X', 'G\xe4vleborgs l\xe4n'), ('SE-N', 'Hallands l\xe4n'), ('SE-Z', 'J\xe4mtlands l\xe4n'), ('SE-F', 'J\xf6nk\xf6pings l\xe4n'), ('SE-H', 'Kalmar l\xe4n'), ('SE-G', 'Kronobergs l\xe4n'), ('SE-BD', 'Norrbottens l\xe4n'), ('SE-M', 'Sk\xe5ne l\xe4n'), ('SE-AB', 'Stockholms l\xe4n'), ('SE-D', 'S\xf6dermanlands l\xe4n'), ('SE-C', 'Uppsala l\xe4n'), ('SE-S', 'V\xe4rmlands l\xe4n'), ('SE-AC', 'V\xe4sterbottens l\xe4n'), ('SE-Y', 'V\xe4sternorrlands l\xe4n'), ('SE-U', 'V\xe4stmanlands l\xe4n'), ('SE-O', 'V\xe4stra G\xf6talands l\xe4n'), ('SE-T', '\xd6rebro l\xe4n'), ('SE-E', '\xd6sterg\xf6tlands l\xe4n'), ('SG-01', 'Central Singapore'), ('SG-02', 'North East'), ('SG-03', 'North West'), ('SG-04', 'South East'), ('SG-05', 'South West'), ('SH-AC', 'Ascension'), ('SH-HL', 'Saint Helena'), ('SH-TA', 'Tristan da Cunha'), ('SI-001', 'Ajdov\u0161\u010dina'), ('SI-195', 'Apa\u010de'), ('SI-002', 'Beltinci'), ('SI-148', 'Benedikt'), ('SI-149', 'Bistrica ob Sotli'), ('SI-003', 'Bled'), ('SI-150', 'Bloke'), ('SI-004', 'Bohinj'), ('SI-005', 'Borovnica'), ('SI-006', 'Bovec'), ('SI-151', 'Braslov\u010de'), ('SI-007', 'Brda'), ('SI-008', 'Brezovica'), ('SI-009', 'Bre\u017eice'), ('SI-152', 'Cankova'), ('SI-011', 'Celje'), ('SI-012', 'Cerklje na Gorenjskem'), ('SI-013', 'Cerknica'), ('SI-014', 'Cerkno'), ('SI-153', 'Cerkvenjak'), ('SI-196', 'Cirkulane'), ('SI-015', '\u010cren\u0161ovci'), ('SI-016', '\u010crna na Koro\u0161kem'), ('SI-017', '\u010crnomelj'), ('SI-018', 'Destrnik'), ('SI-019', 'Diva\u010da'), ('SI-154', 'Dobje'), ('SI-020', 'Dobrepolje'), ('SI-155', 'Dobrna'), ('SI-021', 'Dobrova-Polhov Gradec'), ('SI-156', 'Dobrovnik/Dobronak'), ('SI-022', 'Dol pri Ljubljani'), ('SI-157', 'Dolenjske Toplice'), ('SI-023', 'Dom\u017eale'), ('SI-024', 'Dornava'), ('SI-025', 'Dravograd'), ('SI-026', 'Duplek'), ('SI-027', 'Gorenja vas-Poljane'), ('SI-028', 'Gori\u0161nica'), ('SI-207', 'Gorje'), ('SI-029', 'Gornja Radgona'), ('SI-030', 'Gornji Grad'), ('SI-031', 'Gornji Petrovci'), ('SI-158', 'Grad'), ('SI-032', 'Grosuplje'), ('SI-159', 'Hajdina'), ('SI-160', 'Ho\u010de-Slivnica'), ('SI-161', 'Hodo\u0161/Hodos'), ('SI-162', 'Horjul'), ('SI-034', 'Hrastnik'), ('SI-035', 'Hrpelje-Kozina'), ('SI-036', 'Idrija'), ('SI-037', 'Ig'), ('SI-038', 'Ilirska Bistrica'), ('SI-039', 'Ivan\u010dna Gorica'), ('SI-040', 'Izola/Isola'), ('SI-041', 'Jesenice'), ('SI-163', 'Jezersko'), ('SI-042', 'Jur\u0161inci'), ('SI-043', 'Kamnik'), ('SI-044', 'Kanal'), ('SI-045', 'Kidri\u010devo'), ('SI-046', 'Kobarid'), ('SI-047', 'Kobilje'), ('SI-048', 'Ko\u010devje'), ('SI-049', 'Komen'), ('SI-164', 'Komenda'), ('SI-050', 'Koper/Capodistria'), ('SI-197', 'Kosanjevica na Krki'), ('SI-165', 'Kostel'), ('SI-051', 'Kozje'), ('SI-052', 'Kranj'), ('SI-053', 'Kranjska Gora'), ('SI-166', 'Kri\u017eevci'), ('SI-054', 'Kr\u0161ko'), ('SI-055', 'Kungota'), ('SI-056', 'Kuzma'), ('SI-057', 'La\u0161ko'), ('SI-058', 'Lenart'), ('SI-059', 'Lendava/Lendva'), ('SI-060', 'Litija'), ('SI-061', 'Ljubljana'), ('SI-062', 'Ljubno'), ('SI-063', 'Ljutomer'), ('SI-208', 'Log-Dragomer'), ('SI-064', 'Logatec'), ('SI-065', 'Lo\u0161ka dolina'), ('SI-066', 'Lo\u0161ki Potok'), ('SI-167', 'Lovrenc na Pohorju'), ('SI-067', 'Lu\u010de'), ('SI-068', 'Lukovica'), ('SI-069', 'Maj\u0161perk'), ('SI-198', 'Makole'), ('SI-070', 'Maribor'), ('SI-168', 'Markovci'), ('SI-071', 'Medvode'), ('SI-072', 'Menge\u0161'), ('SI-073', 'Metlika'), ('SI-074', 'Me\u017eica'), ('SI-169', 'Miklav\u017e na Dravskem polju'), ('SI-075', 'Miren-Kostanjevica'), ('SI-170', 'Mirna Pe\u010d'), ('SI-076', 'Mislinja'), ('SI-199', 'Mokronog-Trebelno'), ('SI-077', 'Morav\u010de'), ('SI-078', 'Moravske Toplice'), ('SI-079', 'Mozirje'), ('SI-080', 'Murska Sobota'), ('SI-081', 'Muta'), ('SI-082', 'Naklo'), ('SI-083', 'Nazarje'), ('SI-084', 'Nova Gorica'), ('SI-085', 'Novo mesto'), ('SI-086', 'Odranci'), ('SI-171', 'Oplotnica'), ('SI-087', 'Ormo\u017e'), ('SI-088', 'Osilnica'), ('SI-089', 'Pesnica'), ('SI-090', 'Piran/Pirano'), ('SI-091', 'Pivka'), ('SI-092', 'Pod\u010detrtek'), ('SI-172', 'Podlehnik'), ('SI-093', 'Podvelka'), ('SI-200', 'Polj\u010dane'), ('SI-173', 'Polzela'), ('SI-094', 'Postojna'), ('SI-174', 'Prebold'), ('SI-095', 'Preddvor'), ('SI-175', 'Prevalje'), ('SI-096', 'Ptuj'), ('SI-097', 'Puconci'), ('SI-098', 'Ra\u010de-Fram'), ('SI-099', 'Rade\u010de'), ('SI-100', 'Radenci'), ('SI-101', 'Radlje ob Dravi'), ('SI-102', 'Radovljica'), ('SI-103', 'Ravne na Koro\u0161kem'), ('SI-176', 'Razkri\u017eje'), ('SI-209', 'Re\u010dica ob Savinji'), ('SI-201', 'Ren\u010de-Vogrsko'), ('SI-104', 'Ribnica'), ('SI-177', 'Ribnica na Pohorju'), ('SI-106', 'Roga\u0161ka Slatina'), ('SI-105', 'Roga\u0161ovci'), ('SI-107', 'Rogatec'), ('SI-108', 'Ru\u0161e'), ('SI-178', 'Selnica ob Dravi'), ('SI-109', 'Semi\u010d'), ('SI-110', 'Sevnica'), ('SI-111', 'Se\u017eana'), ('SI-112', 'Slovenj Gradec'), ('SI-113', 'Slovenska Bistrica'), ('SI-114', 'Slovenske Konjice'), ('SI-179', 'Sodra\u017eica'), ('SI-180', 'Sol\u010dava'), ('SI-202', 'Sredi\u0161\u010de ob Dravi'), ('SI-115', 'Star\u010de'), ('SI-203', 'Stra\u017ea'), ('SI-181', 'Sveta Ana'), ('SI-204', 'Sveta Trojica v Slovenskih Goricah'), ('SI-182', 'Sveta Andra\u017e v Slovenskih Goricah'), ('SI-116', 'Sveti Jurij'), ('SI-210', 'Sveti Jurij v Slovenskih Goricah'), ('SI-205', 'Sveti Toma\u017e'), ('SI-033', '\u0160alovci'), ('SI-183', '\u0160empeter-Vrtojba'), ('SI-117', '\u0160en\u010dur'), ('SI-118', '\u0160entilj'), ('SI-119', '\u0160entjernej'), ('SI-120', '\u0160entjur'), ('SI-211', '\u0160entrupert'), ('SI-121', '\u0160kocjan'), ('SI-122', '\u0160kofja Loka'), ('SI-123', '\u0160kofljica'), ('SI-124', '\u0160marje pri Jel\u0161ah'), ('SI-206', '\u0160marjeske Topli\u010de'), ('SI-125', '\u0160martno ob Paki'), ('SI-194', '\u0160martno pri Litiji'), ('SI-126', '\u0160o\u0161tanj'), ('SI-127', '\u0160tore'), ('SI-184', 'Tabor'), ('SI-010', 'Ti\u0161ina'), ('SI-128', 'Tolmin'), ('SI-129', 'Trbovlje'), ('SI-130', 'Trebnje'), ('SI-185', 'Trnovska vas'), ('SI-186', 'Trzin'), ('SI-131', 'Tr\u017ei\u010d'), ('SI-132', 'Turni\u0161\u010de'), ('SI-133', 'Velenje'), ('SI-187', 'Velika Polana'), ('SI-134', 'Velike La\u0161\u010de'), ('SI-188', 'Ver\u017eej'), ('SI-135', 'Videm'), ('SI-136', 'Vipava'), ('SI-137', 'Vitanje'), ('SI-138', 'Vodice'), ('SI-139', 'Vojnik'), ('SI-189', 'Vransko'), ('SI-140', 'Vrhnika'), ('SI-141', 'Vuzenica'), ('SI-142', 'Zagorje ob Savi'), ('SI-143', 'Zavr\u010d'), ('SI-144', 'Zre\u010de'), ('SI-190', '\u017dalec'), ('SI-146', '\u017delezniki'), ('SI-191', '\u017detale'), ('SI-147', '\u017diri'), ('SI-192', '\u017dirovnica'), ('SI-193', '\u017du\u017eemberk'), ('SK-BC', 'Banskobystrick\xfd kraj'), ('SK-BL', 'Bratislavsk\xfd kraj'), ('SK-KI', 'Ko\u0161ick\xfd kraj'), ('SK-NI', 'Nitriansky kraj'), ('SK-PV', 'Pre\u0161ovsk\xfd kraj'), ('SK-TC', 'Tren\u010diansky kraj'), ('SK-TA', 'Trnavsk\xfd kraj'), ('SK-ZI', '\u017dilinsk\xfd kraj'), ('SL-W', 'Western Area (Freetown)'), ('SL-E', 'Eastern'), ('SL-N', 'Northern'), ('SL-S', 'Southern (Sierra Leone)'), ('SM-01', 'Acquaviva'), ('SM-06', 'Borgo Maggiore'), ('SM-02', 'Chiesanuova'), ('SM-03', 'Domagnano'), ('SM-04', 'Faetano'), ('SM-05', 'Fiorentino'), ('SM-08', 'Montegiardino'), ('SM-07', 'San Marino'), ('SM-09', 'Serravalle'), ('SN-DK', 'Dakar'), ('SN-DB', 'Diourbel'), ('SN-FK', 'Fatick'), ('SN-KA', 'Kaffrine'), ('SN-KL', 'Kaolack'), ('SN-KE', 'K\xe9dougou'), ('SN-KD', 'Kolda'), ('SN-LG', 'Louga'), ('SN-MT', 'Matam'), ('SN-SL', 'Saint-Louis'), ('SN-SE', 'S\xe9dhiou'), ('SN-TC', 'Tambacounda'), ('SN-TH', 'Thi\xe8s'), ('SN-ZG', 'Ziguinchor'), ('SO-AW', 'Awdal'), ('SO-BK', 'Bakool'), ('SO-BN', 'Banaadir'), ('SO-BR', 'Bari'), ('SO-BY', 'Bay'), ('SO-GA', 'Galguduud'), ('SO-GE', 'Gedo'), ('SO-HI', 'Hiirsan'), ('SO-JD', 'Jubbada Dhexe'), ('SO-JH', 'Jubbada Hoose'), ('SO-MU', 'Mudug'), ('SO-NU', 'Nugaal'), ('SO-SA', 'Saneag'), ('SO-SD', 'Shabeellaha Dhexe'), ('SO-SH', 'Shabeellaha Hoose'), ('SO-SO', 'Sool'), ('SO-TO', 'Togdheer'), ('SO-WO', 'Woqooyi Galbeed'), ('SR-BR', 'Brokopondo'), ('SR-CM', 'Commewijne'), ('SR-CR', 'Coronie'), ('SR-MA', 'Marowijne'), ('SR-NI', 'Nickerie'), ('SR-PR', 'Para'), ('SR-PM', 'Paramaribo'), ('SR-SA', 'Saramacca'), ('SR-SI', 'Sipaliwini'), ('SR-WA', 'Wanica'), ('SS-EC', 'Central Equatoria'), ('SS-EE8', 'Eastern Equatoria'), ('SS-JG', 'Jonglei'), ('SS-LK', 'Lakes'), ('SS-BN', 'Northern Bahr el-Ghazal'), ('SS-UY', 'Unity'), ('SS-NU', 'Upper Nile'), ('SS-WR', 'Warrap'), ('SS-BW', 'Western Bahr el-Ghazal'), ('SS-EW', 'Western Equatoria'), ('ST-P', 'Pr\xedncipe'), ('ST-S', 'S\xe3o Tom\xe9'), ('SV-AH', 'Ahuachap\xe1n'), ('SV-CA', 'Caba\xf1as'), ('SV-CU', 'Cuscatl\xe1n'), ('SV-CH', 'Chalatenango'), ('SV-LI', 'La Libertad'), ('SV-PA', 'La Paz'), ('SV-UN', 'La Uni\xf3n'), ('SV-MO', 'Moraz\xe1n'), ('SV-SM', 'San Miguel'), ('SV-SS', 'San Salvador'), ('SV-SA', 'Santa Ana'), ('SV-SV', 'San Vicente'), ('SV-SO', 'Sonsonate'), ('SV-US', 'Usulut\xe1n'), ('SY-HA', 'Al Hasakah'), ('SY-LA', 'Al Ladhiqiyah'), ('SY-QU', 'Al Qunaytirah'), ('SY-RA', 'Ar Raqqah'), ('SY-SU', "As Suwayda'"), ('SY-DR', "Dar'a"), ('SY-DY', 'Dayr az Zawr'), ('SY-DI', 'Dimashq'), ('SY-HL', 'Halab'), ('SY-HM', 'Hamah'), ('SY-HI', 'Homs'), ('SY-ID', 'Idlib'), ('SY-RD', 'Rif Dimashq'), ('SY-TA', 'Tartus'), ('SZ-HH', 'Hhohho'), ('SZ-LU', 'Lubombo'), ('SZ-MA', 'Manzini'), ('SZ-SH', 'Shiselweni'), ('TD-BA', 'Al Ba\u1e6dh\u0327ah'), ('TD-LC', 'Al Buh\u0327ayrah'), ('TD-BG', 'Bah\u0327r al Ghaz\u0101l'), ('TD-BO', 'B\u016brk\u016b'), ('TD-HL', '\u1e24ajjar Lam\u012bs'), ('TD-EN', 'Inn\u012bd\u012b'), ('TD-KA', 'K\u0101nim'), ('TD-LO', 'L\u016bq\u016bn al Gharb\u012b'), ('TD-LR', 'L\u016bq\u016bn ash Sharq\u012b'), ('TD-ND', 'Mad\u012bnat Injam\u012bn\u0101'), ('TD-MA', 'M\u0101nd\u016bl'), ('TD-MO', 'M\u0101y\u016b K\u012bbb\u012b al Gharb\u012b'), ('TD-ME', 'M\u0101y\u016b K\u012bbb\u012b ash Sharq\u012b'), ('TD-GR', 'Q\u012br\u0101'), ('TD-SA', 'Sal\u0101m\u0101t'), ('TD-MC', 'Sh\u0101r\u012b al Awsa\u1e6d'), ('TD-CB', 'Sh\u0101r\u012b B\u0101qirm\u012b'), ('TD-SI', 'S\u012bl\u0101'), ('TD-TA', 'T\u0101njil\u012b'), ('TD-TI', 'Tibast\u012b'), ('TD-OD', 'Wadd\u0101y'), ('TD-WF', 'W\u0101d\u012b F\u012br\u0101'), ('TG-C', 'R\xe9gion du Centre'), ('TG-K', 'R\xe9gion de la Kara'), ('TG-M', 'R\xe9gion Maritime'), ('TG-P', 'R\xe9gion des Plateaux'), ('TG-S', 'R\xe9gion des Savannes'), ('TH-10', 'Krung Thep Maha Nakhon Bangkok'), ('TH-S', 'Phatthaya'), ('TH-37', 'Amnat Charoen'), ('TH-15', 'Ang Thong'), ('TH-31', 'Buri Ram'), ('TH-24', 'Chachoengsao'), ('TH-18', 'Chai Nat'), ('TH-36', 'Chaiyaphum'), ('TH-22', 'Chanthaburi'), ('TH-50', 'Chiang Mai'), ('TH-57', 'Chiang Rai'), ('TH-20', 'Chon Buri'), ('TH-86', 'Chumphon'), ('TH-46', 'Kalasin'), ('TH-62', 'Kamphaeng Phet'), ('TH-71', 'Kanchanaburi'), ('TH-40', 'Khon Kaen'), ('TH-81', 'Krabi'), ('TH-52', 'Lampang'), ('TH-51', 'Lamphun'), ('TH-42', 'Loei'), ('TH-16', 'Lop Buri'), ('TH-58', 'Mae Hong Son'), ('TH-44', 'Maha Sarakham'), ('TH-49', 'Mukdahan'), ('TH-26', 'Nakhon Nayok'), ('TH-73', 'Nakhon Pathom'), ('TH-48', 'Nakhon Phanom'), ('TH-30', 'Nakhon Ratchasima'), ('TH-60', 'Nakhon Sawan'), ('TH-80', 'Nakhon Si Thammarat'), ('TH-55', 'Nan'), ('TH-96', 'Narathiwat'), ('TH-39', 'Nong Bua Lam Phu'), ('TH-43', 'Nong Khai'), ('TH-12', 'Nonthaburi'), ('TH-13', 'Pathum Thani'), ('TH-94', 'Pattani'), ('TH-82', 'Phangnga'), ('TH-93', 'Phatthalung'), ('TH-56', 'Phayao'), ('TH-67', 'Phetchabun'), ('TH-76', 'Phetchaburi'), ('TH-66', 'Phichit'), ('TH-65', 'Phitsanulok'), ('TH-54', 'Phrae'), ('TH-14', 'Phra Nakhon Si Ayutthaya'), ('TH-83', 'Phuket'), ('TH-25', 'Prachin Buri'), ('TH-77', 'Prachuap Khiri Khan'), ('TH-85', 'Ranong'), ('TH-70', 'Ratchaburi'), ('TH-21', 'Rayong'), ('TH-45', 'Roi Et'), ('TH-27', 'Sa Kaeo'), ('TH-47', 'Sakon Nakhon'), ('TH-11', 'Samut Prakan'), ('TH-74', 'Samut Sakhon'), ('TH-75', 'Samut Songkhram'), ('TH-19', 'Saraburi'), ('TH-91', 'Satun'), ('TH-17', 'Sing Buri'), ('TH-33', 'Si Sa Ket'), ('TH-90', 'Songkhla'), ('TH-64', 'Sukhothai'), ('TH-72', 'Suphan Buri'), ('TH-84', 'Surat Thani'), ('TH-32', 'Surin'), ('TH-63', 'Tak'), ('TH-92', 'Trang'), ('TH-23', 'Trat'), ('TH-34', 'Ubon Ratchathani'), ('TH-41', 'Udon Thani'), ('TH-61', 'Uthai Thani'), ('TH-53', 'Uttaradit'), ('TH-95', 'Yala'), ('TH-35', 'Yasothon'), ('TJ-GB', 'Gorno-Badakhshan'), ('TJ-KT', 'Khatlon'), ('TJ-SU', 'Sughd'), ('TL-AL', 'Aileu'), ('TL-AN', 'Ainaro'), ('TL-BA', 'Baucau'), ('TL-BO', 'Bobonaro'), ('TL-CO', 'Cova Lima'), ('TL-DI', 'D\xedli'), ('TL-ER', 'Ermera'), ('TL-LA', 'Lautem'), ('TL-LI', 'Liqui\xe7a'), ('TL-MT', 'Manatuto'), ('TL-MF', 'Manufahi'), ('TL-OE', 'Oecussi'), ('TL-VI', 'Viqueque'), ('TM-A', 'Ahal'), ('TM-B', 'Balkan'), ('TM-D', 'Da\u015foguz'), ('TM-L', 'Lebap'), ('TM-M', 'Mary'), ('TM-S', 'A\u015fgabat'), ('TN-12', 'Ariana'), ('TN-31', 'B\xe9ja'), ('TN-13', 'Ben Arous'), ('TN-23', 'Bizerte'), ('TN-81', 'Gab\xe8s'), ('TN-71', 'Gafsa'), ('TN-32', 'Jendouba'), ('TN-41', 'Kairouan'), ('TN-42', 'Kasserine'), ('TN-73', 'Kebili'), ('TN-33', 'Le Kef'), ('TN-53', 'Mahdia'), ('TN-14', 'La Manouba'), ('TN-82', 'Medenine'), ('TN-52', 'Monastir'), ('TN-21', 'Nabeul'), ('TN-61', 'Sfax'), ('TN-43', 'Sidi Bouzid'), ('TN-34', 'Siliana'), ('TN-51', 'Sousse'), ('TN-83', 'Tataouine'), ('TN-72', 'Tozeur'), ('TN-11', 'Tunis'), ('TN-22', 'Zaghouan'), ('TO-01', "'Eua"), ('TO-02', "Ha'apai"), ('TO-03', 'Niuas'), ('TO-04', 'Tongatapu'), ('TO-05', "Vava'u"), ('TR-01', 'Adana'), ('TR-02', 'Ad\u0131yaman'), ('TR-03', 'Afyonkarahisar'), ('TR-04', 'A\u011fr\u0131'), ('TR-68', 'Aksaray'), ('TR-05', 'Amasya'), ('TR-06', 'Ankara'), ('TR-07', 'Antalya'), ('TR-75', 'Ardahan'), ('TR-08', 'Artvin'), ('TR-09', 'Ayd\u0131n'), ('TR-10', 'Bal\u0131kesir'), ('TR-74', 'Bart\u0131n'), ('TR-72', 'Batman'), ('TR-69', 'Bayburt'), ('TR-11', 'Bilecik'), ('TR-12', 'Bing\xf6l'), ('TR-13', 'Bitlis'), ('TR-14', 'Bolu'), ('TR-15', 'Burdur'), ('TR-16', 'Bursa'), ('TR-17', '\xc7anakkale'), ('TR-18', '\xc7ank\u0131r\u0131'), ('TR-19', '\xc7orum'), ('TR-20', 'Denizli'), ('TR-21', 'Diyarbak\u0131r'), ('TR-81', 'D\xfczce'), ('TR-22', 'Edirne'), ('TR-23', 'Elaz\u0131\u011f'), ('TR-24', 'Erzincan'), ('TR-25', 'Erzurum'), ('TR-26', 'Eski\u015fehir'), ('TR-27', 'Gaziantep'), ('TR-28', 'Giresun'), ('TR-29', 'G\xfcm\xfc\u015fhane'), ('TR-30', 'Hakk\xe2ri'), ('TR-31', 'Hatay'), ('TR-76', 'I\u011fd\u0131r'), ('TR-32', 'Isparta'), ('TR-34', '\u0130stanbul'), ('TR-35', '\u0130zmir'), ('TR-46', 'Kahramanmara\u015f'), ('TR-78', 'Karab\xfck'), ('TR-70', 'Karaman'), ('TR-36', 'Kars'), ('TR-37', 'Kastamonu'), ('TR-38', 'Kayseri'), ('TR-71', 'K\u0131r\u0131kkale'), ('TR-39', 'K\u0131rklareli'), ('TR-40', 'K\u0131r\u015fehir'), ('TR-79', 'Kilis'), ('TR-41', 'Kocaeli'), ('TR-42', 'Konya'), ('TR-43', 'K\xfctahya'), ('TR-44', 'Malatya'), ('TR-45', 'Manisa'), ('TR-47', 'Mardin'), ('TR-33', 'Mersin'), ('TR-48', 'Mu\u011fla'), ('TR-49', 'Mu\u015f'), ('TR-50', 'Nev\u015fehir'), ('TR-51', 'Ni\u011fde'), ('TR-52', 'Ordu'), ('TR-80', 'Osmaniye'), ('TR-53', 'Rize'), ('TR-54', 'Sakarya'), ('TR-55', 'Samsun'), ('TR-56', 'Siirt'), ('TR-57', 'Sinop'), ('TR-58', 'Sivas'), ('TR-63', '\u015eanl\u0131urfa'), ('TR-73', '\u015e\u0131rnak'), ('TR-59', 'Tekirda\u011f'), ('TR-60', 'Tokat'), ('TR-61', 'Trabzon'), ('TR-62', 'Tunceli'), ('TR-64', 'U\u015fak'), ('TR-65', 'Van'), ('TR-77', 'Yalova'), ('TR-66', 'Yozgat'), ('TR-67', 'Zonguldak'), ('TT-CTT', 'Couva-Tabaquite-Talparo'), ('TT-DMN', 'Diego Martin'), ('TT-ETO', 'Eastern Tobago'), ('TT-PED', 'Penal-Debe'), ('TT-PRT', 'Princes Town'), ('TT-RCM', 'Rio Claro-Mayaro'), ('TT-SGE', 'Sangre Grande'), ('TT-SJL', 'San Juan-Laventille'), ('TT-SIP', 'Siparia'), ('TT-TUP', 'Tunapuna-Piarco'), ('TT-WTO', 'Western Tobago'), ('TT-ARI', 'Arima'), ('TT-CHA', 'Chaguanas'), ('TT-PTF', 'Point Fortin'), ('TT-POS', 'Port of Spain'), ('TT-SFO', 'San Fernando'), ('TV-FUN', 'Funafuti'), ('TV-NMG', 'Nanumanga'), ('TV-NMA', 'Nanumea'), ('TV-NIT', 'Niutao'), ('TV-NUI', 'Nui'), ('TV-NKF', 'Nukufetau'), ('TV-NKL', 'Nukulaelae'), ('TV-VAI', 'Vaitupu'), ('TW-CHA', 'Changhua'), ('TW-CYQ', 'Chiayi'), ('TW-HSQ', 'Hsinchu'), ('TW-HUA', 'Hualien'), ('TW-ILA', 'Ilan'), ('TW-KHQ', 'Kaohsiung'), ('TW-MIA', 'Miaoli'), ('TW-NAN', 'Nantou'), ('TW-PEN', 'Penghu'), ('TW-PIF', 'Pingtung'), ('TW-TXQ', 'Taichung'), ('TW-TNQ', 'Tainan'), ('TW-TPQ', 'Taipei'), ('TW-TTT', 'Taitung'), ('TW-TAO', 'Taoyuan'), ('TW-YUN', 'Yunlin'), ('TW-CYI', 'Chiay City'), ('TW-HSZ', 'Hsinchui City'), ('TW-KEE', 'Keelung City'), ('TW-TXG', 'Taichung City'), ('TW-TNN', 'Tainan City'), ('TW-KHH', 'Kaohsiung City'), ('TW-TPE', 'Taipei City'), ('TZ-01', 'Arusha'), ('TZ-02', 'Dar-es-Salaam'), ('TZ-03', 'Dodoma'), ('TZ-04', 'Iringa'), ('TZ-05', 'Kagera'), ('TZ-06', 'Kaskazini Pemba'), ('TZ-07', 'Kaskazini Unguja'), ('TZ-08', 'Kigoma'), ('TZ-09', 'Kilimanjaro'), ('TZ-10', 'Kusini Pemba'), ('TZ-11', 'Kusini Unguja'), ('TZ-12', 'Lindi'), ('TZ-26', 'Manyara'), ('TZ-13', 'Mara'), ('TZ-14', 'Mbeya'), ('TZ-15', 'Mjini Magharibi'), ('TZ-16', 'Morogoro'), ('TZ-17', 'Mtwara'), ('TZ-18', 'Mwanza'), ('TZ-19', 'Pwani'), ('TZ-20', 'Rukwa'), ('TZ-21', 'Ruvuma'), ('TZ-22', 'Shinyanga'), ('TZ-23', 'Singida'), ('TZ-24', 'Tabora'), ('TZ-25', 'Tanga'), ('UA-71', "Cherkas'ka Oblast'"), ('UA-74', "Chernihivs'ka Oblast'"), ('UA-77', "Chernivets'ka Oblast'"), ('UA-12', "Dnipropetrovs'ka Oblast'"), ('UA-14', "Donets'ka Oblast'"), ('UA-26', "Ivano-Frankivs'ka Oblast'"), ('UA-63', "Kharkivs'ka Oblast'"), ('UA-65', "Khersons'ka Oblast'"), ('UA-68', "Khmel'nyts'ka Oblast'"), ('UA-35', "Kirovohrads'ka Oblast'"), ('UA-32', "Ky\xefvs'ka Oblast'"), ('UA-09', "Luhans'ka Oblast'"), ('UA-46', "L'vivs'ka Oblast'"), ('UA-48', "Mykola\xefvs'ka Oblast'"), ('UA-51', "Odes'ka Oblast'"), ('UA-53', "Poltavs'ka Oblast'"), ('UA-56', "Rivnens'ka Oblast'"), ('UA-59', "Sums 'ka Oblast'"), ('UA-61', "Ternopil's'ka Oblast'"), ('UA-05', "Vinnyts'ka Oblast'"), ('UA-07', "Volyns'ka Oblast'"), ('UA-21', "Zakarpats'ka Oblast'"), ('UA-23', "Zaporiz'ka Oblast'"), ('UA-18', "Zhytomyrs'ka Oblast'"), ('UA-43', 'Respublika Krym'), ('UA-30', "Ky\xefvs'ka mis'ka rada"), ('UA-40', 'Sevastopol'), ('UG-C', 'Central'), ('UG-E', 'Eastern'), ('UG-N', 'Northern'), ('UG-W', 'Western'), ('UG-317', 'Abim'), ('UG-301', 'Adjumani'), ('UG-314', 'Amolatar'), ('UG-216', 'Amuria'), ('UG-319', 'Amuru'), ('UG-302', 'Apac'), ('UG-303', 'Arua'), ('UG-217', 'Budaka'), ('UG-223', 'Bududa'), ('UG-201', 'Bugiri'), ('UG-224', 'Bukedea'), ('UG-218', 'Bukwa'), ('UG-419', 'Buliisa'), ('UG-401', 'Bundibugyo'), ('UG-402', 'Bushenyi'), ('UG-202', 'Busia'), ('UG-219', 'Butaleja'), ('UG-318', 'Dokolo'), ('UG-304', 'Gulu'), ('UG-403', 'Hoima'), ('UG-416', 'Ibanda'), ('UG-203', 'Iganga'), ('UG-417', 'Isingiro'), ('UG-204', 'Jinja'), ('UG-315', 'Kaabong'), ('UG-404', 'Kabale'), ('UG-405', 'Kabarole'), ('UG-213', 'Kaberamaido'), ('UG-101', 'Kalangala'), ('UG-220', 'Kaliro'), ('UG-102', 'Kampala'), ('UG-205', 'Kamuli'), ('UG-413', 'Kamwenge'), ('UG-414', 'Kanungu'), ('UG-206', 'Kapchorwa'), ('UG-406', 'Kasese'), ('UG-207', 'Katakwi'), ('UG-112', 'Kayunga'), ('UG-407', 'Kibaale'), ('UG-103', 'Kiboga'), ('UG-418', 'Kiruhura'), ('UG-408', 'Kisoro'), ('UG-305', 'Kitgum'), ('UG-316', 'Koboko'), ('UG-306', 'Kotido'), ('UG-208', 'Kumi'), ('UG-415', 'Kyenjojo'), ('UG-307', 'Lira'), ('UG-104', 'Luwero'), ('UG-116', 'Lyantonde'), ('UG-221', 'Manafwa'), ('UG-320', 'Maracha'), ('UG-105', 'Masaka'), ('UG-409', 'Masindi'), ('UG-214', 'Mayuge'), ('UG-209', 'Mbale'), ('UG-410', 'Mbarara'), ('UG-114', 'Mityana'), ('UG-308', 'Moroto'), ('UG-309', 'Moyo'), ('UG-106', 'Mpigi'), ('UG-107', 'Mubende'), ('UG-108', 'Mukono'), ('UG-311', 'Nakapiripirit'), ('UG-115', 'Nakaseke'), ('UG-109', 'Nakasongola'), ('UG-222', 'Namutumba'), ('UG-310', 'Nebbi'), ('UG-411', 'Ntungamo'), ('UG-321', 'Oyam'), ('UG-312', 'Pader'), ('UG-210', 'Pallisa'), ('UG-110', 'Rakai'), ('UG-412', 'Rukungiri'), ('UG-111', 'Sembabule'), ('UG-215', 'Sironko'), ('UG-211', 'Soroti'), ('UG-212', 'Tororo'), ('UG-113', 'Wakiso'), ('UG-313', 'Yumbe'), ('UM-81', 'Baker Island'), ('UM-84', 'Howland Island'), ('UM-86', 'Jarvis Island'), ('UM-67', 'Johnston Atoll'), ('UM-89', 'Kingman Reef'), ('UM-71', 'Midway Islands'), ('UM-76', 'Navassa Island'), ('UM-95', 'Palmyra Atoll'), ('UM-79', 'Wake Island'), ('US-AL', 'Alabama'), ('US-AK', 'Alaska'), ('US-AZ', 'Arizona'), ('US-AR', 'Arkansas'), ('US-CA', 'California'), ('US-CO', 'Colorado'), ('US-CT', 'Connecticut'), ('US-DE', 'Delaware'), ('US-FL', 'Florida'), ('US-GA', 'Georgia'), ('US-HI', 'Hawaii'), ('US-ID', 'Idaho'), ('US-IL', 'Illinois'), ('US-IN', 'Indiana'), ('US-IA', 'Iowa'), ('US-KS', 'Kansas'), ('US-KY', 'Kentucky'), ('US-LA', 'Louisiana'), ('US-ME', 'Maine'), ('US-MD', 'Maryland'), ('US-MA', 'Massachusetts'), ('US-MI', 'Michigan'), ('US-MN', 'Minnesota'), ('US-MS', 'Mississippi'), ('US-MO', 'Missouri'), ('US-MT', 'Montana'), ('US-NE', 'Nebraska'), ('US-NV', 'Nevada'), ('US-NH', 'New Hampshire'), ('US-NJ', 'New Jersey'), ('US-NM', 'New Mexico'), ('US-NY', 'New York'), ('US-NC', 'North Carolina'), ('US-ND', 'North Dakota'), ('US-OH', 'Ohio'), ('US-OK', 'Oklahoma'), ('US-OR', 'Oregon'), ('US-PA', 'Pennsylvania'), ('US-RI', 'Rhode Island'), ('US-SC', 'South Carolina'), ('US-SD', 'South Dakota'), ('US-TN', 'Tennessee'), ('US-TX', 'Texas'), ('US-UT', 'Utah'), ('US-VT', 'Vermont'), ('US-VA', 'Virginia'), ('US-WA', 'Washington'), ('US-WV', 'West Virginia'), ('US-WI', 'Wisconsin'), ('US-WY', 'Wyoming'), ('US-DC', 'District of Columbia'), ('US-AS', 'American Samoa'), ('US-GU', 'Guam'), ('US-MP', 'Northern Mariana Islands'), ('US-PR', 'Puerto Rico'), ('US-UM', 'United States Minor Outlying Islands'), ('US-VI', 'Virgin Islands'), ('UY-AR', 'Artigas'), ('UY-CA', 'Canelones'), ('UY-CL', 'Cerro Largo'), ('UY-CO', 'Colonia'), ('UY-DU', 'Durazno'), ('UY-FS', 'Flores'), ('UY-FD', 'Florida'), ('UY-LA', 'Lavalleja'), ('UY-MA', 'Maldonado'), ('UY-MO', 'Montevideo'), ('UY-PA', 'Paysand\xfa'), ('UY-RN', 'R\xedo Negro'), ('UY-RV', 'Rivera'), ('UY-RO', 'Rocha'), ('UY-SA', 'Salto'), ('UY-SJ', 'San Jos\xe9'), ('UY-SO', 'Soriano'), ('UY-TA', 'Tacuaremb\xf3'), ('UY-TT', 'Treinta y Tres'), ('UZ-TK', 'Toshkent'), ('UZ-AN', 'Andijon'), ('UZ-BU', 'Buxoro'), ('UZ-FA', "Farg'ona"), ('UZ-JI', 'Jizzax'), ('UZ-NG', 'Namangan'), ('UZ-NW', 'Navoiy'), ('UZ-QA', 'Qashqadaryo'), ('UZ-SA', 'Samarqand'), ('UZ-SI', 'Sirdaryo'), ('UZ-SU', 'Surxondaryo'), ('UZ-TO', 'Toshkent'), ('UZ-XO', 'Xorazm'), ('UZ-QR', "Qoraqalpog'iston Respublikasi"), ('VC-01', 'Charlotte'), ('VC-06', 'Grenadines'), ('VC-02', 'Saint Andrew'), ('VC-03', 'Saint David'), ('VC-04', 'Saint George'), ('VC-05', 'Saint Patrick'), ('VE-W', 'Dependencias Federales'), ('VE-A', 'Distrito Federal'), ('VE-Z', 'Amazonas'), ('VE-B', 'Anzo\xe1tegui'), ('VE-C', 'Apure'), ('VE-D', 'Aragua'), ('VE-E', 'Barinas'), ('VE-F', 'Bol\xedvar'), ('VE-G', 'Carabobo'), ('VE-H', 'Cojedes'), ('VE-Y', 'Delta Amacuro'), ('VE-I', 'Falc\xf3n'), ('VE-J', 'Gu\xe1rico'), ('VE-K', 'Lara'), ('VE-L', 'M\xe9rida'), ('VE-M', 'Miranda'), ('VE-N', 'Monagas'), ('VE-O', 'Nueva Esparta'), ('VE-P', 'Portuguesa'), ('VE-R', 'Sucre'), ('VE-S', 'T\xe1chira'), ('VE-T', 'Trujillo'), ('VE-X', 'Vargas'), ('VE-U', 'Yaracuy'), ('VE-V', 'Zulia'), ('VN-44', 'An Giang'), ('VN-43', 'B\xe0 R\u1ecba-V\u0169ng T\xe0u'), ('VN-54', 'B\u1eafc Giang'), ('VN-53', 'B\u1eafc K\u1ea1n'), ('VN-55', 'B\u1ea1c Li\xeau'), ('VN-56', 'B\u1eafc Ninh'), ('VN-50', 'B\u1ebfn Tre'), ('VN-31', 'B\xecnh \u0110\u1ecbnh'), ('VN-57', 'B\xecnh D\u01b0\u01a1ng'), ('VN-58', 'B\xecnh Ph\u01b0\u1edbc'), ('VN-40', 'B\xecnh Thu\u1eadn'), ('VN-59', 'C\xe0 Mau'), ('VN-04', 'Cao B\u1eb1ng'), ('VN-33', '\u0110\u1eafc L\u1eafk'), ('VN-72', '\u0110\u1eafk N\xf4ng'), ('VN-71', '\u0110i\u1ec7n Bi\xean'), ('VN-39', '\u0110\u1ed3ng Nai'), ('VN-45', '\u0110\u1ed3ng Th\xe1p'), ('VN-30', 'Gia Lai'), ('VN-03', 'H\xe0 Giang'), ('VN-63', 'H\xe0 Nam'), ('VN-15', 'H\xe0 T\xe2y'), ('VN-23', 'H\xe0 T\u1ec9nh'), ('VN-61', 'H\u1ea3i Duong'), ('VN-73', 'H\u1eadu Giang'), ('VN-14', 'Ho\xe0 B\xecnh'), ('VN-66', 'H\u01b0ng Y\xean'), ('VN-34', 'Kh\xe1nh H\xf2a'), ('VN-47', 'Ki\xean Giang'), ('VN-28', 'Kon Tum'), ('VN-01', 'Lai Ch\xe2u'), ('VN-35', 'L\xe2m \u0110\u1ed3ng'), ('VN-09', 'L\u1ea1ng S\u01a1n'), ('VN-02', 'L\xe0o Cai'), ('VN-41', 'Long An'), ('VN-67', 'Nam \u0110\u1ecbnh'), ('VN-22', 'Ngh\u1ec7 An'), ('VN-18', 'Ninh B\xecnh'), ('VN-36', 'Ninh Thu\u1eadn'), ('VN-68', 'Ph\xfa Th\u1ecd'), ('VN-32', 'Ph\xfa Y\xean'), ('VN-24', 'Qu\u1ea3ng B\xecnh'), ('VN-27', 'Qu\u1ea3ng Nam'), ('VN-29', 'Qu\u1ea3ng Ng\xe3i'), ('VN-13', 'Qu\u1ea3ng Ninh'), ('VN-25', 'Qu\u1ea3ng Tr\u1ecb'), ('VN-52', 'S\xf3c Tr\u0103ng'), ('VN-05', 'S\u01a1n La'), ('VN-37', 'T\xe2y Ninh'), ('VN-20', 'Th\xe1i B\xecnh'), ('VN-69', 'Th\xe1i Nguy\xean'), ('VN-21', 'Thanh H\xf3a'), ('VN-26', 'Th\u1eeba Thi\xean-Hu\u1ebf'), ('VN-46', 'Ti\u1ec1n Giang'), ('VN-51', 'Tr\xe0 Vinh'), ('VN-07', 'Tuy\xean Quang'), ('VN-49', 'V\u0129nh Long'), ('VN-70', 'V\u0129nh Ph\xfac'), ('VN-06', 'Y\xean B\xe1i'), ('VN-CT', 'C\u1ea7n Th\u01a1'), ('VN-DN', '\u0110\xe0 N\u1eb5ng'), ('VN-HN', 'H\xe0 N\u1ed9i'), ('VN-HP', 'H\u1ea3i Ph\xf2ng'), ('VN-SG', 'H\u1ed3 Ch\xed Minh [S\xe0i G\xf2n]'), ('VU-MAP', 'Malampa'), ('VU-PAM', 'P\xe9nama'), ('VU-SAM', 'Sanma'), ('VU-SEE', 'Sh\xe9fa'), ('VU-TAE', 'Taf\xe9a'), ('VU-TOB', 'Torba'), ('WS-AA', "A'ana"), ('WS-AL', 'Aiga-i-le-Tai'), ('WS-AT', 'Atua'), ('WS-FA', "Fa'asaleleaga"), ('WS-GE', "Gaga'emauga"), ('WS-GI', 'Gagaifomauga'), ('WS-PA', 'Palauli'), ('WS-SA', "Satupa'itea"), ('WS-TU', 'Tuamasaga'), ('WS-VF', "Va'a-o-Fonoti"), ('WS-VS', 'Vaisigano'), ('YE-AB', 'Aby\u0101n'), ('YE-AD', "'Adan"), ('YE-DA', 'Ad\u0327 D\u0327\u0101li\u2018'), ('YE-BA', "Al Bay\u1e11\u0101'"), ('YE-MU', 'Al \u1e28udaydah'), ('YE-JA', 'Al Jawf'), ('YE-MR', 'Al Mahrah'), ('YE-MW', 'Al Ma\u1e29w\u012bt'), ('YE-AM', "'Amr\u0101n"), ('YE-DH', 'Dham\u0101r'), ('YE-HD', '\u1e28a\u1e11ramawt'), ('YE-HJ', '\u1e28ajjah'), ('YE-IB', 'Ibb'), ('YE-LA', 'La\u1e29ij'), ('YE-MA', "Ma'rib"), ('YE-RA', 'Raymah'), ('YE-SD', "\u015ea'dah"), ('YE-SN', "\u015ean'\u0101'"), ('YE-SH', 'Shabwah'), ('YE-TA', "T\u0101'izz"), ('ZA-EC', 'Eastern Cape'), ('ZA-FS', 'Free State'), ('ZA-GP', 'Gauteng'), ('ZA-ZN', 'Kwazulu-Natal'), ('ZA-LP', 'Limpopo'), ('ZA-MP', 'Mpumalanga'), ('ZA-NC', 'Northern Cape'), ('ZA-NW', 'North-West (South Africa)'), ('ZA-WC', 'Western Cape'), ('ZM-02', 'Central'), ('ZM-08', 'Copperbelt'), ('ZM-03', 'Eastern'), ('ZM-04', 'Luapula'), ('ZM-09', 'Lusaka'), ('ZM-05', 'Northern'), ('ZM-06', 'North-Western'), ('ZM-07', 'Southern (Zambia)'), ('ZM-01', 'Western'), ('ZW-BU', 'Bulawayo'), ('ZW-HA', 'Harare'), ('ZW-MA', 'Manicaland'), ('ZW-MC', 'Mashonaland Central'), ('ZW-ME', 'Mashonaland East'), ('ZW-MW', 'Mashonaland West'), ('ZW-MV', 'Masvingo'), ('ZW-MN', 'Matabeleland North'), ('ZW-MS', 'Matabeleland South'), ('ZW-MI', 'Midlands')], max_length=10, verbose_name='Region')),
('zip', models.CharField(blank=True, max_length=20, verbose_name='Postal / Zip Code')),
],
),
migrations.CreateModel(
name='Customer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('accepts_marketing', models.BooleanField(default=False, verbose_name='Customer accepts marketing')),
('created_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='When the customer was created')),
('email', models.EmailField(blank=True, max_length=254, unique=True, verbose_name='Email')),
('first_name', models.CharField(blank=True, max_length=30, verbose_name='First Name')),
('last_name', models.CharField(blank=True, max_length=30, verbose_name='Last Name')),
('note', models.TextField(blank=True, max_length=254, verbose_name='Notes')),
('state', models.CharField(choices=[('disabled', 'disabled'), ('decline', 'decline'), ('invited', 'invited')], default='disabled', max_length=20)),
('tags', shopifier.admin.tags.TagField(base_field=models.CharField(max_length=50), blank=True, size=None)),
('tax_exempt', models.BooleanField(default=True, verbose_name='Customer is tax exempt')),
('updated_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Information was updated')),
('verified_email', models.BooleanField(default=True)),
('default_address', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='shopifier_admin.Address')),
],
),
migrations.AddField(
model_name='address',
name='customer',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='addresses', to='shopifier_admin.Customer'),
),
]
| 2,350.271186
| 129,444
| 0.554462
| 19,638
| 138,666
| 3.9116
| 0.376057
| 0.011456
| 0.003124
| 0.003046
| 0.017913
| 0.015518
| 0.012628
| 0.012211
| 0.011404
| 0.008332
| 0
| 0.070726
| 0.094551
| 138,666
| 58
| 129,445
| 2,390.793103
| 0.541086
| 0.000483
| 0
| 0.294118
| 1
| 0
| 0.610948
| 0.01381
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.019608
| 0.098039
| 0
| 0.156863
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ce8d9eeba59ddcbdd5fc595a46bda30fb6fa01e5
| 107
|
py
|
Python
|
classpractice/classpracticeapp/apps.py
|
cs-fullstack-2019-fall/django-models3-ic-b-rjrobins16
|
e06be244e5286e36a765e96da3d9e58ea19913ea
|
[
"Apache-2.0"
] | null | null | null |
classpractice/classpracticeapp/apps.py
|
cs-fullstack-2019-fall/django-models3-ic-b-rjrobins16
|
e06be244e5286e36a765e96da3d9e58ea19913ea
|
[
"Apache-2.0"
] | null | null | null |
classpractice/classpracticeapp/apps.py
|
cs-fullstack-2019-fall/django-models3-ic-b-rjrobins16
|
e06be244e5286e36a765e96da3d9e58ea19913ea
|
[
"Apache-2.0"
] | null | null | null |
from django.apps import AppConfig
class ClasspracticeappConfig(AppConfig):
name = 'classpracticeapp'
| 17.833333
| 40
| 0.794393
| 10
| 107
| 8.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.140187
| 107
| 5
| 41
| 21.4
| 0.923913
| 0
| 0
| 0
| 0
| 0
| 0.149533
| 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
|
cec82d4a19822c84aae6e0278863bbb798f74480
| 247
|
py
|
Python
|
Exercicios26_PrimeiraeUltimaOcorrenciaDeUmaString.py
|
icarogoggin/Exercitando_python
|
718193e962cfcceebee0a643dd48e521ecda1133
|
[
"MIT"
] | null | null | null |
Exercicios26_PrimeiraeUltimaOcorrenciaDeUmaString.py
|
icarogoggin/Exercitando_python
|
718193e962cfcceebee0a643dd48e521ecda1133
|
[
"MIT"
] | null | null | null |
Exercicios26_PrimeiraeUltimaOcorrenciaDeUmaString.py
|
icarogoggin/Exercitando_python
|
718193e962cfcceebee0a643dd48e521ecda1133
|
[
"MIT"
] | null | null | null |
nome = input('Digite seu nome completo: ').strip().lower()
print(f'A letra a aparece {nome.count("a")} vezes')
print(f'A primeira letra A apareceu na posição {nome.find("a")+1}')
print(f'A primeira letra A apareceu na posição {nome.rfind("a")+1}')
| 61.75
| 68
| 0.696356
| 44
| 247
| 3.909091
| 0.477273
| 0.104651
| 0.122093
| 0.174419
| 0.488372
| 0.488372
| 0.488372
| 0.488372
| 0.488372
| 0.488372
| 0
| 0.009132
| 0.11336
| 247
| 4
| 68
| 61.75
| 0.776256
| 0
| 0
| 0
| 0
| 0
| 0.733871
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.75
| 0
| 0
| 0
| null | 0
| 0
| 1
| 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
| 1
|
0
| 4
|
0c674ac31590b43084eb499d6419f089fbf1c661
| 551
|
py
|
Python
|
sanic/myapp/http/routes/v1/param.py
|
kanziw/learn-python
|
28c100132648b84f10d7720b3eeb290a37863045
|
[
"MIT"
] | null | null | null |
sanic/myapp/http/routes/v1/param.py
|
kanziw/learn-python
|
28c100132648b84f10d7720b3eeb290a37863045
|
[
"MIT"
] | null | null | null |
sanic/myapp/http/routes/v1/param.py
|
kanziw/learn-python
|
28c100132648b84f10d7720b3eeb290a37863045
|
[
"MIT"
] | null | null | null |
from sanic import Blueprint
from sanic.response import text
bp = Blueprint("v1_param", url_prefix="/param", version="v1")
@bp.get("/")
def index(request):
return text(f"Hello, here is {request.url}")
@bp.get('/user/<user_id:int>')
def handle_request(request, user_id):
return text(f'Hello {user_id}!')
@bp.get('/user/<user_name:[0-9][A-z]+>')
def handle_request(request, user_name):
return text(f'Hello int+{user_name}!')
@bp.get('/user/<user_name>')
def handle_request(request, user_name):
return text(f'Hello {user_name}!')
| 22.04
| 61
| 0.686025
| 88
| 551
| 4.136364
| 0.340909
| 0.131868
| 0.120879
| 0.175824
| 0.491758
| 0.258242
| 0.258242
| 0.258242
| 0.258242
| 0.258242
| 0
| 0.008264
| 0.121597
| 551
| 24
| 62
| 22.958333
| 0.743802
| 0
| 0
| 0.133333
| 0
| 0
| 0.30127
| 0.052632
| 0
| 0
| 0
| 0
| 0
| 1
| 0.266667
| false
| 0
| 0.133333
| 0.266667
| 0.666667
| 0.133333
| 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
|
0c73c7f4478cb8c8f00464e2cc36738b135628d8
| 1,308
|
py
|
Python
|
tests/unit/test_utils.py
|
wcc526/bastion-ssh
|
15211937c706ff970588ccdc99dec6bc660a4077
|
[
"Apache-2.0"
] | 13
|
2016-06-17T18:29:53.000Z
|
2021-08-02T04:46:04.000Z
|
tests/unit/test_utils.py
|
wcc526/bastion-ssh
|
15211937c706ff970588ccdc99dec6bc660a4077
|
[
"Apache-2.0"
] | 1
|
2019-02-21T08:32:01.000Z
|
2019-02-28T08:11:11.000Z
|
tests/unit/test_utils.py
|
wcc526/bastion-ssh
|
15211937c706ff970588ccdc99dec6bc660a4077
|
[
"Apache-2.0"
] | 8
|
2016-03-15T09:12:13.000Z
|
2020-09-29T09:00:25.000Z
|
import unittest
from bastion_ssh.utils import command_parser
class TestCommandParser(unittest.TestCase):
def test_genernal_command_parser(self):
ps1_command = "0;vagrant@cyberivy-test-dev002-shjj:~[vagrant@cyberivy-test-dev002-shjj ~]$ ls"
self.assertEquals(command_parser(ps1_command), "ls")
def test_special_command_parser(self):
ps1_command = "[vagrant@cyberivy-test-dev002-shjj ~]$ cd"
self.assertEquals(command_parser(ps1_command), "cd")
def test_genernal_space_command_parser(self):
ps1_command = "0;vagrant@cyberivy-test-dev002-shjj:~[vagrant@cyberivy-test-dev002-shjj ~]$ cat 1.txt >> 2.txt"
self.assertEquals(command_parser(ps1_command), "cat 1.txt >> 2.txt")
def test_null_command_parser(self):
ps1_command = "0;vagrant@cyberivy-test-dev002-shjj:~[vagrant@cyberivy-test-dev002-shjj ~]$"
self.assertEquals(command_parser(ps1_command), "")
def test_special_space_command_parser(self):
ps1_command = "[vagrant@cyberivy-test-dev002-shjj ~]$ cd /var/tmp && dd"
self.assertEquals(command_parser(ps1_command), "cd /var/tmp && dd")
def test_not_special_space_command_parser(self):
ps1_command = "[vagrant ~]$ cd /var/tmp && dd"
self.assertEquals(command_parser(ps1_command), None)
| 48.444444
| 118
| 0.714832
| 172
| 1,308
| 5.19186
| 0.209302
| 0.18925
| 0.170213
| 0.223964
| 0.800672
| 0.776036
| 0.639418
| 0.591265
| 0.526316
| 0.526316
| 0
| 0.038844
| 0.15367
| 1,308
| 27
| 119
| 48.444444
| 0.767841
| 0
| 0
| 0
| 0
| 0.142857
| 0.315508
| 0.214668
| 0
| 0
| 0
| 0
| 0.285714
| 1
| 0.285714
| false
| 0
| 0.095238
| 0
| 0.428571
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 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
| 0
| 0
|
0
| 4
|
0c754e2fc8f88c269f75a2952e79aa9b6a955183
| 531
|
py
|
Python
|
external/netdef_models/netdef_slim/tensorflow/core/struct.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
external/netdef_models/netdef_slim/tensorflow/core/struct.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
external/netdef_models/netdef_slim/tensorflow/core/struct.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
from netdef_slim.core.base_struct import BaseStruct
from netdef_slim.core.register import register_class
nothing = None
class _Struct(BaseStruct):
def __init__(self):
super().__init__()
def is_data(self, member):
return not self.is_struct(member)
def is_struct(self, member):
return isinstance(self._members[member], _Struct)
def to_string(self, indent):
s = str(self._members)
return s
def make_sibling(self, other):
pass
register_class('Struct', _Struct)
| 23.086957
| 57
| 0.687382
| 69
| 531
| 4.956522
| 0.463768
| 0.05848
| 0.081871
| 0.105263
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.218456
| 531
| 23
| 58
| 23.086957
| 0.824096
| 0
| 0
| 0
| 0
| 0
| 0.011278
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3125
| false
| 0.0625
| 0.125
| 0.125
| 0.6875
| 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
|
0cb0ba80454d5b53c9568c4be0a0e8c8163de32d
| 147
|
py
|
Python
|
metashare/wsgi.py
|
hpusset/ELRI
|
c4455cff3adb920627f014f37e740665342e9cee
|
[
"BSD-3-Clause"
] | 1
|
2017-07-10T08:15:07.000Z
|
2017-07-10T08:15:07.000Z
|
metashare/wsgi.py
|
hpusset/ELRI
|
c4455cff3adb920627f014f37e740665342e9cee
|
[
"BSD-3-Clause"
] | null | null | null |
metashare/wsgi.py
|
hpusset/ELRI
|
c4455cff3adb920627f014f37e740665342e9cee
|
[
"BSD-3-Clause"
] | 1
|
2018-07-03T07:55:56.000Z
|
2018-07-03T07:55:56.000Z
|
import os
from django.core.wsgi import get_wsgi_application
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
application = get_wsgi_application()
| 29.4
| 49
| 0.829932
| 20
| 147
| 5.8
| 0.55
| 0.12069
| 0.310345
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.081633
| 147
| 5
| 50
| 29.4
| 0.859259
| 0
| 0
| 0
| 0
| 0
| 0.202703
| 0.148649
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 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
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
0cc5e1393aeb34be343b6d47580af224f6840314
| 375
|
py
|
Python
|
scripts/SleepTimer.py
|
TirolJPN/ngweight
|
37b60bd8fdfdf0ba0d0fb74069831cbdfbdd3e7c
|
[
"MIT"
] | null | null | null |
scripts/SleepTimer.py
|
TirolJPN/ngweight
|
37b60bd8fdfdf0ba0d0fb74069831cbdfbdd3e7c
|
[
"MIT"
] | null | null | null |
scripts/SleepTimer.py
|
TirolJPN/ngweight
|
37b60bd8fdfdf0ba0d0fb74069831cbdfbdd3e7c
|
[
"MIT"
] | null | null | null |
import time
class SleepTimer:
def __init__(self):
self.reset()
def reset(self):
self.time = time.time()
def sleep(self, sec=1):
passed = time.time() - self.time
# print('sleep time: %f' % (sec-passed))
if passed >= sec:
return
time.sleep(sec-passed)
self.time = time.time()
| 20.833333
| 49
| 0.506667
| 44
| 375
| 4.227273
| 0.363636
| 0.215054
| 0.129032
| 0.172043
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004184
| 0.362667
| 375
| 17
| 50
| 22.058824
| 0.774059
| 0.101333
| 0
| 0.166667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.25
| 0.083333
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 1
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
0ccc3d065e12f047a4b54d28d2322f138fbcfc39
| 226
|
py
|
Python
|
pythogorem.py
|
Prathyusha16/learnpython
|
399eb6839a576024823b2517332b19cb5d11f521
|
[
"MIT"
] | null | null | null |
pythogorem.py
|
Prathyusha16/learnpython
|
399eb6839a576024823b2517332b19cb5d11f521
|
[
"MIT"
] | null | null | null |
pythogorem.py
|
Prathyusha16/learnpython
|
399eb6839a576024823b2517332b19cb5d11f521
|
[
"MIT"
] | null | null | null |
x1=int(input("enter a x1 value:"))
x2=int(input("enter a x2 value:"))
y1=int(input("enter a y1 value:"))
y2=int(input("enter a y2 value:"))
result= ((((x2-x1)**2)+((y2-y1)**2))**0.5)
print("distance between two points",result)
| 37.666667
| 43
| 0.641593
| 43
| 226
| 3.372093
| 0.418605
| 0.22069
| 0.358621
| 0.386207
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078049
| 0.09292
| 226
| 6
| 43
| 37.666667
| 0.629268
| 0
| 0
| 0
| 0
| 0
| 0.418502
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 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
|
0cd424cb4619e978e303577f488ecc5c2633121d
| 695
|
py
|
Python
|
clients/python/multitranslateclient/models/__init__.py
|
Rested/multi-translate
|
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
|
[
"MIT"
] | 1
|
2021-08-22T14:43:11.000Z
|
2021-08-22T14:43:11.000Z
|
clients/python/multitranslateclient/models/__init__.py
|
Rested/multi-translate
|
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
|
[
"MIT"
] | null | null | null |
clients/python/multitranslateclient/models/__init__.py
|
Rested/multi-translate
|
565ef2ac7e8b5f94595cecc78b4076a3bc9be45e
|
[
"MIT"
] | null | null | null |
# coding: utf-8
# flake8: noqa
"""
multi-translate
Multi-Translate is a unified interface on top of various translate APIs providing optimal translations, persistence, fallback. # noqa: E501
The version of the OpenAPI document: 0.7.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# import models into model package
from multitranslateclient.models.http_validation_error import HTTPValidationError
from multitranslateclient.models.translation_request import TranslationRequest
from multitranslateclient.models.translation_response import TranslationResponse
from multitranslateclient.models.validation_error import ValidationError
| 33.095238
| 144
| 0.823022
| 80
| 695
| 7.025
| 0.65
| 0.170819
| 0.213523
| 0.145907
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013158
| 0.12518
| 695
| 20
| 145
| 34.75
| 0.911184
| 0.441727
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
0cf10a0cd9c6a1dfc8d8a9437c8a7c446b34fe6c
| 71
|
wsgi
|
Python
|
index.wsgi
|
brandonxiang/weapp-handsome-backend
|
13c82dbefc155c50d7e4b5684e87859803bcdd36
|
[
"MIT"
] | null | null | null |
index.wsgi
|
brandonxiang/weapp-handsome-backend
|
13c82dbefc155c50d7e4b5684e87859803bcdd36
|
[
"MIT"
] | null | null | null |
index.wsgi
|
brandonxiang/weapp-handsome-backend
|
13c82dbefc155c50d7e4b5684e87859803bcdd36
|
[
"MIT"
] | null | null | null |
import sae
from app import app
application = sae.create_wsgi_app(app)
| 17.75
| 38
| 0.802817
| 12
| 71
| 4.583333
| 0.583333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.140845
| 71
| 4
| 38
| 17.75
| 0.901639
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
0b3062bf4ada1b71adb4ee1a908da171c5fa8a41
| 4,775
|
py
|
Python
|
temboo/core/Library/Delicious/AddBookmark.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 7
|
2016-03-07T02:07:21.000Z
|
2022-01-21T02:22:41.000Z
|
temboo/core/Library/Delicious/AddBookmark.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | null | null | null |
temboo/core/Library/Delicious/AddBookmark.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 8
|
2016-06-14T06:01:11.000Z
|
2020-04-22T09:21:44.000Z
|
# -*- coding: utf-8 -*-
###############################################################################
#
# AddBookmark
# Adds a link bookmark to a Delicious account.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# 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.
#
#
###############################################################################
from temboo.core.choreography import Choreography
from temboo.core.choreography import InputSet
from temboo.core.choreography import ResultSet
from temboo.core.choreography import ChoreographyExecution
import json
class AddBookmark(Choreography):
def __init__(self, temboo_session):
"""
Create a new instance of the AddBookmark Choreo. A TembooSession object, containing a valid
set of Temboo credentials, must be supplied.
"""
super(AddBookmark, self).__init__(temboo_session, '/Library/Delicious/AddBookmark')
def new_input_set(self):
return AddBookmarkInputSet()
def _make_result_set(self, result, path):
return AddBookmarkResultSet(result, path)
def _make_execution(self, session, exec_id, path):
return AddBookmarkChoreographyExecution(session, exec_id, path)
class AddBookmarkInputSet(InputSet):
"""
An InputSet with methods appropriate for specifying the inputs to the AddBookmark
Choreo. The InputSet object is used to specify input parameters when executing this Choreo.
"""
def set_Description(self, value):
"""
Set the value of the Description input for this Choreo. ((required, string) A description for the link to post.)
"""
super(AddBookmarkInputSet, self)._set_input('Description', value)
def set_Notes(self, value):
"""
Set the value of the Notes input for this Choreo. ((optional, string) Descriptive notes for the posted link.)
"""
super(AddBookmarkInputSet, self)._set_input('Notes', value)
def set_Password(self, value):
"""
Set the value of the Password input for this Choreo. ((required, password) The password that corresponds to the specified Delicious account username.)
"""
super(AddBookmarkInputSet, self)._set_input('Password', value)
def set_Replace(self, value):
"""
Set the value of the Replace input for this Choreo. ((optional, integer) Specify "1" to replace the post if the URL has already been posted. Set to "0" (don't replace) by default.)
"""
super(AddBookmarkInputSet, self)._set_input('Replace', value)
def set_Shared(self, value):
"""
Set the value of the Shared input for this Choreo. ((optional, integer) Specify "1" to make the posted link private. Set to "0" (shared) by default.)
"""
super(AddBookmarkInputSet, self)._set_input('Shared', value)
def set_Tags(self, value):
"""
Set the value of the Tags input for this Choreo. ((optional, string) Add keyword tags to the posted link. Separate multiple tags with commas.)
"""
super(AddBookmarkInputSet, self)._set_input('Tags', value)
def set_URL(self, value):
"""
Set the value of the URL input for this Choreo. ((required, string) The URL for the link to post.)
"""
super(AddBookmarkInputSet, self)._set_input('URL', value)
def set_Username(self, value):
"""
Set the value of the Username input for this Choreo. ((required, string) A valid Delicious account username.)
"""
super(AddBookmarkInputSet, self)._set_input('Username', value)
class AddBookmarkResultSet(ResultSet):
"""
A ResultSet with methods tailored to the values returned by the AddBookmark Choreo.
The ResultSet object is used to retrieve the results of a Choreo execution.
"""
def getJSONFromString(self, str):
return json.loads(str)
def get_Response(self):
"""
Retrieve the value for the "Response" output from this Choreo execution. ((xml) The response returned from Delicious.)
"""
return self._output.get('Response', None)
class AddBookmarkChoreographyExecution(ChoreographyExecution):
def _make_result_set(self, response, path):
return AddBookmarkResultSet(response, path)
| 40.466102
| 188
| 0.670157
| 587
| 4,775
| 5.369676
| 0.291312
| 0.015863
| 0.030457
| 0.038071
| 0.326142
| 0.241751
| 0.211294
| 0.09835
| 0.060279
| 0.032995
| 0
| 0.004777
| 0.21089
| 4,775
| 117
| 189
| 40.811966
| 0.831741
| 0.482094
| 0
| 0
| 0
| 0
| 0.044621
| 0.014874
| 0
| 0
| 0
| 0
| 0
| 1
| 0.384615
| false
| 0.051282
| 0.128205
| 0.128205
| 0.769231
| 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
|
0b4b57f33c22d4cd96d87927aa033aead4ba55ac
| 196
|
py
|
Python
|
pronto/parsers/__init__.py
|
binaryflesh/pronto
|
cfc0ef218d9ad0da81a8c58e3aba7a5b16347e8b
|
[
"MIT"
] | 182
|
2016-07-23T00:04:30.000Z
|
2022-03-31T13:42:03.000Z
|
pronto/parsers/__init__.py
|
binaryflesh/pronto
|
cfc0ef218d9ad0da81a8c58e3aba7a5b16347e8b
|
[
"MIT"
] | 160
|
2016-08-11T19:12:48.000Z
|
2022-03-28T07:22:42.000Z
|
pronto/parsers/__init__.py
|
binaryflesh/pronto
|
cfc0ef218d9ad0da81a8c58e3aba7a5b16347e8b
|
[
"MIT"
] | 44
|
2016-11-02T10:57:06.000Z
|
2021-11-05T11:30:23.000Z
|
from .base import BaseParser
from .obo import OboParser
from .obojson import OboJSONParser
from .rdfxml import RdfXMLParser
__all__ = ["BaseParser", "OboParser", "OboJSONParser", "RdfXMLParser"]
| 28
| 70
| 0.790816
| 21
| 196
| 7.190476
| 0.52381
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.117347
| 196
| 6
| 71
| 32.666667
| 0.872832
| 0
| 0
| 0
| 0
| 0
| 0.22449
| 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
|
0b51da28ad0f7f381608043d0853069019a6a469
| 1,360
|
py
|
Python
|
scrapers/tests/test_minagr_spider.py
|
rmaceissoft/django-manolo
|
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
|
[
"BSD-3-Clause"
] | null | null | null |
scrapers/tests/test_minagr_spider.py
|
rmaceissoft/django-manolo
|
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
|
[
"BSD-3-Clause"
] | null | null | null |
scrapers/tests/test_minagr_spider.py
|
rmaceissoft/django-manolo
|
7a447b6b06a5a9a0bbc3ed5daf754721a48bbd76
|
[
"BSD-3-Clause"
] | null | null | null |
import os
import unittest
from manolo_scraper.spiders.minagr import MinagrSpider
from utils import fake_response_from_file
class TestMinagrSpider(unittest.TestCase):
def setUp(self):
self.spider = MinagrSpider()
def test_parse_item(self):
filename = os.path.join('data/minagr', '18-08-2015.html')
items = self.spider.parse(fake_response_from_file(filename, meta={'date': u'18/08/2015'}))
item = next(items)
self.assertEqual(item.get('full_name'), u'VICTOR HUGO SEVERINO VALLE')
self.assertEqual(item.get('time_start'), u'17:04')
self.assertEqual(item.get('institution'), u'minagr')
self.assertEqual(item.get('id_document'), u'DNI')
self.assertEqual(item.get('id_number'), u'25856019')
self.assertEqual(item.get('entity'), u'MAKA SAC')
self.assertEqual(item.get('reason'), u'DOCUMENTOS')
self.assertEqual(item.get('host_name'), u'CARLOS ANTONIO LARA PALACIOS')
self.assertEqual(item.get('title'), u'[CONTADOR P\xc3\u0161BLICO PARA ALMAC\xc3\u2030N Y PATRIMONIO]')
self.assertEqual(item.get('office'), u'ALMACEN CENTRAL')
self.assertEqual(item.get('time_end'), u'17:23')
self.assertEqual(item.get('date'), u'2015-08-18')
number_of_items = 1 + sum(1 for x in items)
self.assertEqual(number_of_items, 15)
| 41.212121
| 110
| 0.675735
| 188
| 1,360
| 4.787234
| 0.457447
| 0.216667
| 0.253333
| 0.293333
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 0.048214
| 0.176471
| 1,360
| 32
| 111
| 42.5
| 0.755357
| 0
| 0
| 0
| 0
| 0
| 0.235294
| 0
| 0
| 0
| 0
| 0
| 0.52
| 1
| 0.08
| false
| 0
| 0.16
| 0
| 0.28
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0b54c9de468f827ac6eac27ab5e2e444f0bfdecc
| 1,048
|
py
|
Python
|
peoples_advisor/signal/signal.py
|
Wumphlett/Peoples-Advisor
|
a965a7547a546a48656832975bbb45c0c6e44f78
|
[
"MIT"
] | null | null | null |
peoples_advisor/signal/signal.py
|
Wumphlett/Peoples-Advisor
|
a965a7547a546a48656832975bbb45c0c6e44f78
|
[
"MIT"
] | null | null | null |
peoples_advisor/signal/signal.py
|
Wumphlett/Peoples-Advisor
|
a965a7547a546a48656832975bbb45c0c6e44f78
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
from typing import Optional
from peoples_advisor.event.event import PriceEvent, SignalEvent
class SignalStrategy(ABC):
"""
The base SignalStrategy class that all user defined signal strategies must inherit.
See peoples_advisor/strategy for an example implementation
"""
def __init__(self):
"""
Initialize your signal strategy.
Include in the class attributes any memory you need to carry out your strategy between calls of gen_signal().
gen_signal() will be called for every price event, and will be expected to return a SignalEvent or None
depending on if you intend to act on the given price event.
"""
pass
@abstractmethod
def gen_signal(self, price: PriceEvent) -> Optional[SignalEvent]:
"""
gen_signal will be called for every price event to give you the opportunity to return a SignalEvent
if you wish to act on the price, or None if you do not intend to act on it.
"""
pass
| 33.806452
| 117
| 0.694656
| 145
| 1,048
| 4.951724
| 0.496552
| 0.050139
| 0.029248
| 0.041783
| 0.108635
| 0.108635
| 0.108635
| 0.108635
| 0.108635
| 0
| 0
| 0
| 0.257634
| 1,048
| 30
| 118
| 34.933333
| 0.922879
| 0.598282
| 0
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0.222222
| 0.333333
| 0
| 0.666667
| 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
| 1
| 0
| 1
| 0
|
0
| 4
|
0b877cdbef52e5ad97312826a14a74a03d53290e
| 10,379
|
py
|
Python
|
radio_funk/podcast/migrations/0001_initial.py
|
dark-codr/radiofunk
|
2f5a7c7060deb4e9bd6bafb0fd2baf108b9eec22
|
[
"MIT"
] | null | null | null |
radio_funk/podcast/migrations/0001_initial.py
|
dark-codr/radiofunk
|
2f5a7c7060deb4e9bd6bafb0fd2baf108b9eec22
|
[
"MIT"
] | 7
|
2022-02-14T05:26:11.000Z
|
2022-03-29T05:31:08.000Z
|
radio_funk/podcast/migrations/0001_initial.py
|
dark-codr/radiofunk
|
2f5a7c7060deb4e9bd6bafb0fd2baf108b9eec22
|
[
"MIT"
] | null | null | null |
# Generated by Django 3.2.12 on 2022-03-18 00:06
import autoslug.fields
import django.contrib.gis.db.models.fields
import django.core.validators
from django.db import migrations, models
import django.utils.timezone
import model_utils.fields
import radio_funk.utils.fields
import radio_funk.utils.storages
import stdimage.models
import tinymce.models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='EpisodeGift',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
],
options={
'verbose_name': 'Episode Gift',
'verbose_name_plural': 'Episode Gifts',
'ordering': ['-created'],
'managed': True,
},
),
migrations.CreateModel(
name='Episodes',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
('uuid', radio_funk.utils.fields.UUIDField(blank=True, editable=False, max_length=36, unique=True, verbose_name='ID')),
('audio', models.FileField(blank=True, upload_to=radio_funk.utils.storages.get_norm_audio_upload_folder, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['mp3'])], verbose_name='AudioFile')),
('name', models.CharField(max_length=255, unique=True, verbose_name='title')),
('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='name', unique='True', verbose_name='slug')),
('description', tinymce.models.HTMLField(verbose_name='Episode Description')),
('subtitle', models.CharField(help_text='Looks best if only a few words, like a tagline.', max_length=255, verbose_name='subtitle')),
('image', stdimage.models.StdImageField(blank=True, help_text='\n An episode must have 700 x 700 pixel cover art in JPG or PNG\n format using RGB color space. See our technical spec for\n details. To be eligible for featuring on iTunes Stores,\n choose an attractive, original, and square JPEG (.jpg) or\n PNG (.png) image at a size of 1400x1400 pixels. The image\n will be scaled down to 50x50 pixels at smallest in iTunes.\n For reference see the <a\n href="http://www.apple.com/itunes/podcasts/specs.html#metadata">iTunes\n Podcast specs</a>.<br /><br /> For episode artwork to\n display in iTunes, image must be <a\n href="http://answers.yahoo.com/question/index?qid=20080501164348AAjvBvQ">\n saved to file\'s <strong>metadata</strong></a> before\n enclosure uploading!', upload_to=radio_funk.utils.storages.get_episode_upload_folder)),
('explicit', models.PositiveSmallIntegerField(choices=[(1, 'yes'), (2, 'no'), (3, 'clean'), (4, 'kids')], default=1, help_text='Audience this content should be shown to. Explicit determines this episode not being shown to viewers under 18 years of age.', verbose_name='explicit')),
('enable_comments', models.BooleanField(default=True)),
('published', models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True, verbose_name='published')),
],
options={
'verbose_name': 'Podcast Episode',
'verbose_name_plural': 'Podcast Episodes',
'ordering': ['-created'],
'managed': True,
},
),
migrations.CreateModel(
name='Gift',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
('name', models.CharField(max_length=255, unique=True)),
('description', tinymce.models.HTMLField(verbose_name='Gift Story')),
('image', stdimage.models.StdImageField(blank=True, upload_to='gift/gif')),
('price', models.DecimalField(decimal_places=2, default=0, max_digits=20)),
],
options={
'verbose_name': 'Gift Item',
'verbose_name_plural': 'Gift Items',
'ordering': ['-created'],
'managed': True,
},
),
migrations.CreateModel(
name='Playlist',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
('name', models.CharField(max_length=255, unique=True)),
('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='name', unique='True', verbose_name='slug')),
('description', tinymce.models.HTMLField(verbose_name='Playlist Description')),
('private', models.BooleanField(default=False)),
],
options={
'verbose_name': 'Podcast Playlist',
'verbose_name_plural': 'Podcast Playlists',
'ordering': ['-created'],
'managed': True,
},
),
migrations.CreateModel(
name='Podcast',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
('uuid', radio_funk.utils.fields.UUIDField(blank=True, editable=False, max_length=36, unique=True, verbose_name='id')),
('publish', models.BooleanField(default=True, verbose_name='published')),
('ttl', models.PositiveIntegerField(default=1440, help_text='``Time to Live,`` the number of minutes a channel can be\n cached before refreshing.', verbose_name='ttl')),
('author_text', models.CharField(help_text="\n This tag contains the name of the person or company that is most\n widely attributed to publishing the Podcast and will be\n displayed immediately underneath the title of the Podcast.\n The suggested format is: 'email@example.com (Full Name)'\n but 'Full Name' only, is acceptable. Multiple authors\n should be comma separated.", max_length=255, verbose_name='Featured Personalities')),
('name', models.CharField(max_length=255, verbose_name='title')),
('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='name', unique='True', verbose_name='slug')),
('description', tinymce.models.HTMLField(verbose_name='Show Description')),
('subtitle', models.CharField(help_text='Looks best if only a few words, like a tagline.', max_length=255, verbose_name='subtitle')),
('image', stdimage.models.StdImageField(blank=True, help_text='\n A podcast must have 700 x 700 pixel cover art in JPG or PNG\n format using RGB color space. See our technical spec for\n details. To be eligible for featuring on iTunes Stores,\n choose an attractive, original, and square JPEG (.jpg) or\n PNG (.png) image at a size of 1400x1400 pixels. The image\n will be scaled down to 50x50 pixels at smallest in iTunes.\n For reference see the <a\n href="http://www.apple.com/itunes/podcasts/specs.html#metadata">iTunes\n Podcast specs</a>.<br /><br /> For episode artwork to\n display in iTunes, image must be <a\n href="http://answers.yahoo.com/question/index?qid=20080501164348AAjvBvQ">\n saved to file\'s <strong>metadata</strong></a> before\n enclosure uploading!', upload_to=radio_funk.utils.storages.get_show_upload_folder)),
('address', models.TextField(blank=True, null=True)),
('explicit', models.PositiveSmallIntegerField(choices=[(1, 'yes'), (2, 'no'), (3, 'clean'), (4, 'kids')], default=2, help_text='Audience this content should be shown to. Explicit determines this episode not being shown to viewers under 18 years of age.', verbose_name='explicit')),
('lat', models.FloatField(blank=True, null=True)),
('long', models.FloatField(blank=True, null=True)),
('location', django.contrib.gis.db.models.fields.PointField(blank=True, geography=True, null=True, srid=4326)),
('enable_comments', models.BooleanField(default=True)),
],
options={
'verbose_name': 'Podcast Show',
'verbose_name_plural': 'Podcast Shows',
'ordering': ['-created'],
'managed': True,
},
),
]
| 81.724409
| 1,051
| 0.622025
| 1,161
| 10,379
| 5.459087
| 0.230835
| 0.0781
| 0.037867
| 0.045125
| 0.737299
| 0.729094
| 0.66835
| 0.630956
| 0.624487
| 0.624487
| 0
| 0.016964
| 0.250313
| 10,379
| 126
| 1,052
| 82.373016
| 0.797584
| 0.004432
| 0
| 0.495798
| 1
| 0.092437
| 0.344497
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.084034
| 0
| 0.117647
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0babcf4e8c2a06a81e268f0a9c57943b608bbd64
| 132
|
py
|
Python
|
harmony/__init__.py
|
jterrace/pyharmony
|
652b4d1de6a37bf00cd400416b46540e95021eb6
|
[
"BSD-3-Clause"
] | 94
|
2015-01-04T10:13:26.000Z
|
2022-02-15T10:48:01.000Z
|
harmony/__init__.py
|
jterrace/pyharmony
|
652b4d1de6a37bf00cd400416b46540e95021eb6
|
[
"BSD-3-Clause"
] | 8
|
2015-01-11T02:40:48.000Z
|
2019-11-29T22:12:27.000Z
|
harmony/__init__.py
|
jterrace/pyharmony
|
652b4d1de6a37bf00cd400416b46540e95021eb6
|
[
"BSD-3-Clause"
] | 46
|
2015-01-10T14:20:20.000Z
|
2020-05-07T20:52:16.000Z
|
# Copyright (c) 2013, Jeff Terrace
# All rights reserved.
"""Module for connecting to and controlling the Logitech Harmony Link"""
| 26.4
| 72
| 0.75
| 18
| 132
| 5.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.036036
| 0.159091
| 132
| 4
| 73
| 33
| 0.855856
| 0.916667
| 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
|
0bbdd9134d1b725bd33b32af03f96c4eb7ee8f42
| 197
|
py
|
Python
|
northstar_cloud/tests/base.py
|
hiteshwadekar/northstar-cloud
|
0bdf829989c339e0c8a13638fa38024af2ef1a56
|
[
"Apache-2.0"
] | 1
|
2022-03-14T00:13:24.000Z
|
2022-03-14T00:13:24.000Z
|
northstar_cloud/tests/base.py
|
hiteshwadekar/northstar-cloud
|
0bdf829989c339e0c8a13638fa38024af2ef1a56
|
[
"Apache-2.0"
] | 2
|
2020-03-31T04:10:57.000Z
|
2021-02-02T22:04:33.000Z
|
northstar_cloud/tests/base.py
|
hiteshwadekar/northstar-cloud
|
0bdf829989c339e0c8a13638fa38024af2ef1a56
|
[
"Apache-2.0"
] | 2
|
2019-07-03T00:27:11.000Z
|
2019-07-27T01:26:54.000Z
|
from unittest import mock
from testtools import testcase
class BaseTest(testcase.TestCase):
def setUp(self):
super(BaseTest, self).setUp()
self.addCleanup(mock.patch.stopall)
| 21.888889
| 43
| 0.720812
| 24
| 197
| 5.916667
| 0.625
| 0.126761
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.187817
| 197
| 8
| 44
| 24.625
| 0.8875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
f000303dc8fa16a7f4b2aa63d4c537caed1371d4
| 259
|
py
|
Python
|
boto3_exceptions/storagegateway.py
|
siteshen/boto3_exceptions
|
d6174c2577c9d4b17a09a89cd0e4bd1fe555b26b
|
[
"MIT"
] | 2
|
2021-06-22T00:00:35.000Z
|
2021-07-15T03:25:52.000Z
|
boto3_exceptions/storagegateway.py
|
siteshen/boto3_exceptions
|
d6174c2577c9d4b17a09a89cd0e4bd1fe555b26b
|
[
"MIT"
] | null | null | null |
boto3_exceptions/storagegateway.py
|
siteshen/boto3_exceptions
|
d6174c2577c9d4b17a09a89cd0e4bd1fe555b26b
|
[
"MIT"
] | null | null | null |
import boto3
exceptions = boto3.client('storagegateway').exceptions
InternalServerError = exceptions.InternalServerError
InvalidGatewayRequestException = exceptions.InvalidGatewayRequestException
ServiceUnavailableError = exceptions.ServiceUnavailableError
| 32.375
| 74
| 0.888031
| 16
| 259
| 14.375
| 0.5
| 0.252174
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00823
| 0.061776
| 259
| 7
| 75
| 37
| 0.938272
| 0
| 0
| 0
| 0
| 0
| 0.054054
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0
| 1
| 0
| 1
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
f00e4713dacf20667dca95b522c35de315c7b95b
| 290
|
py
|
Python
|
account/urls.py
|
acdh-oeaw/totetiroler
|
64d361d05eaa8b8513fce9d47eab3655257135a6
|
[
"MIT"
] | null | null | null |
account/urls.py
|
acdh-oeaw/totetiroler
|
64d361d05eaa8b8513fce9d47eab3655257135a6
|
[
"MIT"
] | null | null | null |
account/urls.py
|
acdh-oeaw/totetiroler
|
64d361d05eaa8b8513fce9d47eab3655257135a6
|
[
"MIT"
] | null | null | null |
from django.conf.urls import url
from django.contrib.auth.views import login, logout
urlpatterns = [
url(r'^login/$', login, name='login', kwargs={'template_name': 'account/login.html'}),
url(r'^logout/$', logout, name='logout', kwargs={'template_name': 'account/logout.html'}),
]
| 36.25
| 94
| 0.693103
| 39
| 290
| 5.102564
| 0.461538
| 0.100503
| 0.180905
| 0.251256
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110345
| 290
| 7
| 95
| 41.428571
| 0.771318
| 0
| 0
| 0
| 0
| 0
| 0.313793
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 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
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
f010cc9f9f6d13885e3ca7ee5cb5fc8e7b295522
| 4,419
|
py
|
Python
|
lib/exabgp/bgp/message/update/attribute/bgpls/link/__init__.py
|
cloudscale-ch/exabgp
|
55ee496dfbc3fce75c5107fae7a7d38567154d46
|
[
"BSD-3-Clause"
] | 2
|
2018-02-07T14:49:11.000Z
|
2021-09-08T15:31:51.000Z
|
lib/exabgp/bgp/message/update/attribute/bgpls/link/__init__.py
|
nembery/exabgp
|
53cfff843ddde33bf1c437a1c4ce99de20c6bade
|
[
"BSD-3-Clause"
] | null | null | null |
lib/exabgp/bgp/message/update/attribute/bgpls/link/__init__.py
|
nembery/exabgp
|
53cfff843ddde33bf1c437a1c4ce99de20c6bade
|
[
"BSD-3-Clause"
] | 1
|
2018-12-19T18:02:59.000Z
|
2018-12-19T18:02:59.000Z
|
"""
node/__init__.py
Created by Evelio Vila on 2016-12-01.
Copyright (c) 2014-2017 Exa Networks. All rights reserved.
"""
from exabgp.bgp.message.update.attribute.bgpls.linkstate import LINKSTATE
# +-----------+---------------------+--------------+------------------+
# | TLV Code | Description | IS-IS TLV | Reference |
# | Point | | /Sub-TLV | (RFC/Section) |
# +-----------+---------------------+--------------+------------------+
# | 1028 | IPv4 Router-ID of | 134/--- | [RFC5305]/4.3 |
# | | Local Node | | |
# | 1029 | IPv6 Router-ID of | 140/--- | [RFC6119]/4.1 |
# | | Local Node | | |
# | 1030 | IPv4 Router-ID of | 134/--- | [RFC5305]/4.3 |
# | | Remote Node | | |
# | 1031 | IPv6 Router-ID of | 140/--- | [RFC6119]/4.1 |
# | | Remote Node | | |
# | 1088 | Administrative | 22/3 | [RFC5305]/3.1 |
# | | group (color) | | |
# | 1089 | Maximum link | 22/9 | [RFC5305]/3.4 |
# | | bandwidth | | |
# | 1090 | Max. reservable | 22/10 | [RFC5305]/3.5 |
# | | link bandwidth | | |
# | 1091 | Unreserved | 22/11 | [RFC5305]/3.6 |
# | | bandwidth | | |
# | 1092 | TE Default Metric | 22/18 | Section 3.3.2.3 |
# | 1093 | Link Protection | 22/20 | [RFC5307]/1.2 |
# | | Type | | |
# | 1094 | MPLS Protocol Mask | --- | Section 3.3.2.2 |
# | 1095 | IGP Metric | --- | Section 3.3.2.4 |
# | 1096 | Shared Risk Link | --- | Section 3.3.2.5 |
# | | Group | | |
# | 1097 | Opaque Link | --- | Section 3.3.2.6 |
# | | Attribute | | |
# | 1098 | Link Name | --- | Section 3.3.2.7 |
# +-----------+---------------------+--------------+------------------+
# https://tools.ietf.org/html/rfc7752#section-3.3.2 Link Attributes TLVs
from exabgp.bgp.message.update.attribute.bgpls.link.igpmetric import IgpMetric
from exabgp.bgp.message.update.attribute.bgpls.link.srlg import Srlg
from exabgp.bgp.message.update.attribute.bgpls.link.mplsmask import MplsMask
from exabgp.bgp.message.update.attribute.bgpls.link.temetric import TeMetric
from exabgp.bgp.message.update.attribute.bgpls.node.lterid import LocalTeRid
from exabgp.bgp.message.update.attribute.bgpls.link.rterid import RemoteTeRid
from exabgp.bgp.message.update.attribute.bgpls.link.admingroup import AdminGroup
from exabgp.bgp.message.update.attribute.bgpls.link.maxbw import MaxBw
from exabgp.bgp.message.update.attribute.bgpls.link.rsvpbw import RsvpBw
from exabgp.bgp.message.update.attribute.bgpls.link.unrsvpbw import UnRsvpBw
from exabgp.bgp.message.update.attribute.bgpls.link.protection import LinkProtectionType
from exabgp.bgp.message.update.attribute.bgpls.link.opaque import LinkOpaque
from exabgp.bgp.message.update.attribute.bgpls.link.linkname import LinkName
# +-----------+----------------------------+----------+---------------+
# | TLV Code | Description | Length | Section |
# | Point | | | |
# +-----------+----------------------------+----------+---------------+
# | 1099 | Adjacency Segment | variable | Section 2.2.1 |
# | | Identifier (Adj-SID) TLV | | |
# | 1100 | LAN Adjacency Segment | variable | Section 2.2.2 |
# | | Identifier (Adj-SID) TLV | | |
# +-----------+----------------------------+----------+---------------+
# draft-gredler-idr-bgp-ls-segment-routing-ext-03
from exabgp.bgp.message.update.attribute.bgpls.link.sradj import SrAdjacency
from exabgp.bgp.message.update.attribute.bgpls.link.sradjlan import SrAdjacencyLan
| 64.985294
| 88
| 0.448291
| 404
| 4,419
| 4.893564
| 0.356436
| 0.080931
| 0.10521
| 0.161861
| 0.4522
| 0.438037
| 0.404654
| 0.364188
| 0
| 0
| 0
| 0.074991
| 0.351211
| 4,419
| 67
| 89
| 65.955224
| 0.61458
| 0.698574
| 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
| 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
|
f02ff7713d35fc646f3900d0faf4d5fa07ce0a56
| 384
|
py
|
Python
|
hcap/settings/general/__init__.py
|
fabiommendes/capacidade_hospitalar
|
4f675b574573eb3f51e6be8a927ea230bf2712c7
|
[
"MIT"
] | null | null | null |
hcap/settings/general/__init__.py
|
fabiommendes/capacidade_hospitalar
|
4f675b574573eb3f51e6be8a927ea230bf2712c7
|
[
"MIT"
] | 31
|
2020-04-11T13:38:17.000Z
|
2021-09-22T18:51:11.000Z
|
hcap/settings/general/__init__.py
|
fabiommendes/capacidade_hospitalar
|
4f675b574573eb3f51e6be8a927ea230bf2712c7
|
[
"MIT"
] | 1
|
2020-04-12T17:51:20.000Z
|
2020-04-12T17:51:20.000Z
|
from .auth import *
from .cors import *
from .databases import *
from .email import *
from .grafana import *
from .i18n import *
from .installed_apps import *
from .middleware import *
from .paths import *
from .secrets import *
from .seed import *
from .server import *
from .sites import *
from .templates import *
from .urls import *
from .validations import *
from .wsgi import *
| 21.333333
| 29
| 0.734375
| 52
| 384
| 5.403846
| 0.384615
| 0.569395
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006329
| 0.177083
| 384
| 17
| 30
| 22.588235
| 0.882911
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
f032d1a2b1bf54dcd26bbbf9b477df387e1cf829
| 40,599
|
py
|
Python
|
tests/test_upload.py
|
ministryofjustice/money-to-prisoners-transaction-uploader
|
91e871f7a12886edd46b16aec59be9e8a7e37f15
|
[
"MIT"
] | 3
|
2016-01-05T12:21:51.000Z
|
2020-03-10T10:38:27.000Z
|
tests/test_upload.py
|
ministryofjustice/money-to-prisoners-transaction-uploader
|
91e871f7a12886edd46b16aec59be9e8a7e37f15
|
[
"MIT"
] | 17
|
2015-10-08T10:32:59.000Z
|
2022-02-01T17:36:25.000Z
|
tests/test_upload.py
|
ministryofjustice/money-to-prisoners-transaction-uploader
|
91e871f7a12886edd46b16aec59be9e8a7e37f15
|
[
"MIT"
] | 2
|
2017-01-07T14:22:11.000Z
|
2021-04-11T06:24:03.000Z
|
from datetime import date
from unittest import mock, TestCase
from bankline_parser.data_services import parse
from bankline_parser.data_services.models import DataRecord
from mtp_transaction_uploader import upload
class CreditReferenceParsingTestCase(TestCase):
successful = {
'correct_format_1': ('A1234GY 09/12/86', 'A1234GY', date(1986, 12, 9)),
'correct_format_2': ('A1214GY 10/06/80', 'A1214GY', date(1980, 6, 10)),
'lower_case': ('a1214gy 10/06/80', 'A1214GY', date(1980, 6, 10)),
'mixed_case': ('A1214gy 10/06/80', 'A1214GY', date(1980, 6, 10)),
'trailing_whitespace': ('A1234GY 09/12/86 ', 'A1234GY', date(1986, 12, 9)),
'leading_whitespace': (' A1234GY 09/12/86', 'A1234GY', date(1986, 12, 9)),
'trailing_non_digits': ('A1234GY 09/12/86.', 'A1234GY', date(1986, 12, 9)),
'no_space': ('A1234GY09/12/86', 'A1234GY', date(1986, 12, 9)),
'arbitrary_divider': ('A1234GY:::09/12/1986', 'A1234GY', date(1986, 12, 9)),
'whitespace_divider': ('A1234GY 09/12/1986', 'A1234GY', date(1986, 12, 9)),
'hyphenated_date': ('A1234GY 09-12-86', 'A1234GY', date(1986, 12, 9)),
'non_separated_date': ('A1234GY091286', 'A1234GY', date(1986, 12, 9)),
'non_separated_long_date': ('A1234GY09121986', 'A1234GY', date(1986, 12, 9)),
'space_separated_date': ('A1234GY 09 12 86', 'A1234GY', date(1986, 12, 9)),
'non_zero_padded_date': ('A1234GY 9/6/86', 'A1234GY', date(1986, 6, 9)),
'four_digit_year': ('A1234GY 09/12/1986', 'A1234GY', date(1986, 12, 9)),
'reference_generator_format': ('A1234GY/09/12/1986', 'A1234GY', date(1986, 12, 9)),
'trailing_characters_1': ('A1234GY091286A6', 'A1234GY', date(1986, 12, 9)),
'trailing_characters_2': ('A1234GY091286 61', 'A1234GY', date(1986, 12, 9)),
'reversed_format_1': ('09/12/86 A1234GY', 'A1234GY', date(1986, 12, 9)),
'reversed_format_2': ('10/06/80 A1214GY', 'A1214GY', date(1980, 6, 10)),
'reversed_natural_date': ('1/6/1980 A1214GY', 'A1214GY', date(1980, 6, 1)),
'reversed_with_whitespace': (' 09/12/86 A1234GY ', 'A1234GY', date(1986, 12, 9)),
'reversed_with_whitespace_long_year': (' 09/12/1986 A1234GY ', 'A1234GY', date(1986, 12, 9)),
'reversed_with_separators': ('9/12/86/A1234GY', 'A1234GY', date(1986, 12, 9)),
'reversed_with_separators_long_year': ('9/12/1986/A1234GY', 'A1234GY', date(1986, 12, 9)),
'reversed_without_spaces': ('091286A1234GY', 'A1234GY', date(1986, 12, 9)),
'reversed_without_spaces_long_year': ('09121986A1234GY', 'A1234GY', date(1986, 12, 9)),
'reversed_trailing_characters_1': ('091286A1234GY67', 'A1234GY', date(1986, 12, 9)),
'reversed_trailing_characters_2': ('091286A1234GY A', 'A1234GY', date(1986, 12, 9)),
}
unsuccessful = {
'blank': '',
'null': None,
'invalid': 'JOHN HALLS',
'no_date': 'A1234GY',
'no_prisoner_number': '09/12/1986',
'truncated_prisoner_number': 'A1234Y 09/12/1986',
'long_prisoner_number': 'AA1234GY 09/12/1986',
'one_digit_year': 'A1234GY 1/1/1',
'three_digit_year': 'A1234GY 09/12/198',
'too_many_date_digits': 'A1234GY 0931231986',
'trailing_digits': 'A1234GY 09/12/198600000',
'impossible_day': 'A1234GY 32/12/1986',
'impossible_month': 'A1234GY 09/13/1986',
'invalid_leap_day': 'A1234GY 29/02/1981',
'trailing_characters_no_non_numeric': 'A1234GY0912198661',
'reversed_trailing_letters': '29/02/1981 A1234GYA',
'reversed_invalid_leap_day': '29/02/1981 A1234GY',
'reversed_three_digit_year': '09/12/198 A1234GY',
'reversed_trailing_characters_no_non_letter': '091286A1234GYA7',
}
@classmethod
def add_methods(cls):
today = date.today()
cls.successful['short_year_this_century'] = (
'A1234GY 01/02/%s' % str(today.year - 10)[-2:], 'A1234GY', date(today.year - 10, 2, 1)
)
cls.successful['short_year_last_century'] = (
'A1234GY 01/02/%s' % str(today.year - 9)[-2:], 'A1234GY', date(today.year - 9 - 100, 2, 1)
)
for name, values in cls.successful.items():
cls.add_successful_method(name, *values)
for name, reference in cls.unsuccessful.items():
cls.add_unsuccessful_method(name, reference)
@classmethod
def add_successful_method(cls, name, reference, prisoner_number, prisoner_dob):
def method(self):
parsed_number, parsed_dob = upload.parse_credit_reference(reference)
self.assertEqual(parsed_number, prisoner_number)
self.assertEqual(parsed_dob, prisoner_dob)
name = 'test_%s_parses' % name
method.__name__ = name
setattr(cls, name, method)
@classmethod
def add_unsuccessful_method(cls, name, reference):
def method(self):
self.assertEqual(upload.parse_credit_reference(reference), None)
name = 'test_%s_does_not_parse' % name
method.__name__ = name
setattr(cls, name, method)
CreditReferenceParsingTestCase.add_methods()
class ExtractPrisonerDetailsTestCase(TestCase):
def _test_successful_extraction(self, record, prisoner_number,
prisoner_dob, from_description_field):
parsed_number, parsed_dob, parsed_field = upload.extract_prisoner_details(record)
self.assertEqual(parsed_number, prisoner_number)
self.assertEqual(parsed_dob, prisoner_dob)
self.assertEqual(parsed_field, from_description_field)
def test_extraction_from_reference_field(self):
record = DataRecord(
'1234566717531509960800629696666000000000008939NORTHERN DIY'
' E A1234BY 09/12/86 04036 '
' '
)
self._test_successful_extraction(record, 'A1234BY', date(1986, 12, 9), False)
def test_extraction_from_description_field(self):
record = DataRecord(
'1234566717531509960800629696666000000000008939A1234BY 09/12/86'
' 04036 '
' '
)
self._test_successful_extraction(record, 'A1234BY', date(1986, 12, 9), True)
def test_failed_extraction(self):
record = DataRecord(
'1234566717531509960800629696666000000000008939XXXXXXX Z1212P86'
' 04036 '
' '
)
self.assertEqual(upload.extract_prisoner_details(record), None)
class FilenameParsingTestCase(TestCase):
def test_correct_format_returns_correct_date(self):
filename = 'Y01A.CARS.#D.444444.D091214'
expected_date = date(2014, 12, 9)
parsed_date = upload.parse_filename(filename, '444444')
self.assertEqual(expected_date, parsed_date)
def test_correct_format_returns_correct_date_pre_2000(self):
filename = 'Y01A.CARS.#D.444444.D091299'
expected_date = date(1999, 12, 9)
parsed_date = upload.parse_filename(filename, '444444')
self.assertEqual(expected_date, parsed_date)
def test_incorrect_format_returns_none(self):
filename = 'unrelated_file'
parsed_date = upload.parse_filename(filename, '444444')
self.assertEqual(None, parsed_date)
def test_incorrect_account_code_returns_none(self):
filename = 'Y01A.CARS.#D.555555.D091214'
parsed_date = upload.parse_filename(filename, '444444')
self.assertEqual(None, parsed_date)
def test_parsing_date_from_full_path_succeeds(self):
filename = '/random/Y01A.CARS.#D.444444.D091214'
expected_date = date(2014, 12, 9)
parsed_date = upload.parse_filename(filename, '444444')
self.assertEqual(expected_date, parsed_date)
@mock.patch('mtp_transaction_uploader.upload.settings')
@mock.patch('mtp_transaction_uploader.upload.Connection')
class FileDownloadTestCase(TestCase):
def _download_new_files(self, mock_connection_class, mock_settings, dirlist, last_date):
mock_connection = mock.MagicMock()
mock_connection_class().__enter__.return_value = mock_connection
mock_connection.listdir.return_value = dirlist
mock_connection.stat.return_value = type('', (), {'st_size': 1000})()
mock_settings.ACCOUNT_CODE = '444444'
mock_settings.DS_NEW_FILES_DIR = '/'
return upload.download_new_files(last_date)
def test_download_new_files(self, mock_connection_class, mock_settings):
dirlist = [
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D121214',
'Y01A.CARS.#D.444444.D131214',
'Y01A.CARS.#D.444444.D141214',
]
new_dates, new_filenames = self._download_new_files(
mock_connection_class, mock_settings, dirlist, None
)
self.assertEqual([
date(2014, 12, 9),
date(2014, 12, 10),
date(2014, 12, 11),
date(2014, 12, 12),
date(2014, 12, 13),
date(2014, 12, 14),
], [new_date for new_date in new_dates])
self.assertEqual([
'/Y01A.CARS.#D.444444.D091214',
'/Y01A.CARS.#D.444444.D101214',
'/Y01A.CARS.#D.444444.D111214',
'/Y01A.CARS.#D.444444.D121214',
'/Y01A.CARS.#D.444444.D131214',
'/Y01A.CARS.#D.444444.D141214',
], new_filenames)
def test_files_ordered_by_date(self, mock_connection_class, mock_settings):
dirlist = [
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
]
new_dates, new_filenames = self._download_new_files(
mock_connection_class, mock_settings, dirlist, None
)
self.assertEqual([
date(2014, 12, 9),
date(2014, 12, 10),
date(2014, 12, 11),
], [new_date for new_date in new_dates])
self.assertEqual([
'/Y01A.CARS.#D.444444.D091214',
'/Y01A.CARS.#D.444444.D101214',
'/Y01A.CARS.#D.444444.D111214',
], new_filenames)
def test_download_new_files_skips_other_accounts(
self,
mock_connection_class,
mock_settings
):
dirlist = [
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D121214',
'Y01A.CARS.#D.555555.D131214',
'Y01A.CARS.#D.444444.D141214',
]
new_dates, new_filenames = self._download_new_files(
mock_connection_class, mock_settings, dirlist, None
)
self.assertEqual([
date(2014, 12, 9),
date(2014, 12, 10),
date(2014, 12, 11),
date(2014, 12, 12),
date(2014, 12, 14),
], [new_date for new_date in new_dates])
self.assertEqual([
'/Y01A.CARS.#D.444444.D091214',
'/Y01A.CARS.#D.444444.D101214',
'/Y01A.CARS.#D.444444.D111214',
'/Y01A.CARS.#D.444444.D121214',
'/Y01A.CARS.#D.444444.D141214',
], new_filenames)
def test_download_new_files_skips_old_files(
self,
mock_connection_class,
mock_settings
):
dirlist = [
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D121214',
'Y01A.CARS.#D.444444.D131214',
'Y01A.CARS.#D.444444.D141214',
]
new_dates, new_filenames = self._download_new_files(
mock_connection_class, mock_settings, dirlist, date(2014, 12, 11)
)
self.assertEqual([
date(2014, 12, 12),
date(2014, 12, 13),
date(2014, 12, 14),
], [new_date for new_date in new_dates])
self.assertEqual([
'/Y01A.CARS.#D.444444.D121214',
'/Y01A.CARS.#D.444444.D131214',
'/Y01A.CARS.#D.444444.D141214',
], new_filenames)
def test_download_new_files_skips_large_files(
self,
mock_connection_class,
mock_settings
):
dirlist = [
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D121214',
'Y01A.CARS.#D.444444.D131214',
'Y01A.CARS.#D.444444.D141214',
]
mock_connection = mock.MagicMock()
mock_connection_class().__enter__.return_value = mock_connection
mock_connection.listdir.return_value = dirlist
mock_connection.stat.side_effect = [
type('', (), {'st_size': 1000})(),
type('', (), {'st_size': 1000})(),
type('', (), {'st_size': 1000})(),
type('', (), {'st_size': 1000})(),
type('', (), {'st_size': 100000000})(),
type('', (), {'st_size': 1000})(),
]
mock_settings.ACCOUNT_CODE = '444444'
mock_settings.DS_NEW_FILES_DIR = '/'
new_dates, new_filenames = upload.download_new_files(None)
self.assertEqual([
date(2014, 12, 9),
date(2014, 12, 10),
date(2014, 12, 11),
date(2014, 12, 12),
date(2014, 12, 14),
], [new_date for new_date in new_dates])
self.assertEqual([
'/Y01A.CARS.#D.444444.D091214',
'/Y01A.CARS.#D.444444.D101214',
'/Y01A.CARS.#D.444444.D111214',
'/Y01A.CARS.#D.444444.D121214',
'/Y01A.CARS.#D.444444.D141214',
], new_filenames)
class RetrieveNewFilesTestCase(TestCase):
@mock.patch('mtp_transaction_uploader.upload.Connection')
@mock.patch('mtp_transaction_uploader.upload.settings')
@mock.patch('mtp_transaction_uploader.upload.os')
@mock.patch('mtp_transaction_uploader.upload.shutil')
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
def test_retrieve_new_files(
self,
mock_get_connection,
mock_shutil,
mock_os,
mock_settings,
mock_connection_class
):
mock_os.path.exists.side_effect = [False]
mock_get_connection().transactions.get.return_value =\
{'count': 1, 'results': [{'received_at': '2014-12-115T19:09:02Z'}]}
dirlist = [
'Y01A.CARS.#D.444444.D091214',
'Y01A.CARS.#D.444444.D101214',
'Y01A.CARS.#D.444444.D111214',
'Y01A.CARS.#D.444444.D121214',
'Y01A.CARS.#D.444444.D131214',
'Y01A.CARS.#D.444444.D141214',
]
mock_connection = mock.MagicMock()
mock_connection_class().__enter__.return_value = mock_connection
mock_connection.listdir.return_value = dirlist
mock_connection.stat.return_value = type('', (), {'st_size': 1000})()
mock_settings.ACCOUNT_CODE = '444444'
mock_settings.DS_NEW_FILES_DIR = '/'
mock_os.path.join = lambda a, b: a + b
new_last_date, new_filenames = upload.retrieve_data_services_files()
self.assertFalse(mock_shutil.rmtree.called)
self.assertEqual([
'/Y01A.CARS.#D.444444.D121214',
'/Y01A.CARS.#D.444444.D131214',
'/Y01A.CARS.#D.444444.D141214',
], new_filenames)
self.assertEqual(date(2014, 12, 14), new_last_date)
@mock.patch('mtp_transaction_uploader.upload.Connection')
@mock.patch('mtp_transaction_uploader.upload.settings')
@mock.patch('mtp_transaction_uploader.upload.os')
@mock.patch('mtp_transaction_uploader.upload.shutil')
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
def test_retrieve_new_files_no_files_available(
self,
mock_get_connection,
mock_shutil,
mock_os,
mock_settings,
mock_connection_class
):
mock_os.path.exists.side_effect = [False]
mock_get_connection().transactions.get.return_value =\
{'count': 1, 'results': [{'received_at': '2014-12-115T19:09:02Z'}]}
dirlist = []
mock_connection = mock.MagicMock()
mock_connection_class().__enter__.return_value = mock_connection
mock_connection.listdir.return_value = dirlist
mock_connection.stat.return_value = type('', (), {'st_size': 1000})()
mock_settings.ACCOUNT_CODE = '444444'
mock_settings.DS_NEW_FILES_DIR = '/'
mock_os.path.join = lambda a, b: a + b
new_last_date, new_filenames = upload.retrieve_data_services_files()
self.assertFalse(mock_shutil.rmtree.called)
self.assertEqual([], new_filenames)
self.assertEqual(None, new_last_date)
def setup_settings(mock_settings, mark_transactions_as_unidentified=False):
mock_settings.NOMS_AGENCY_ACCOUNT_NUMBER = '67175315'
mock_settings.NOMS_AGENCY_SORT_CODE = '123456'
mock_settings.MARK_TRANSACTIONS_AS_UNIDENTIFIED = mark_transactions_as_unidentified
class TransactionsFromFileTestCase(TestCase):
@mock.patch('mtp_transaction_uploader.upload.settings')
def test_get_transactions(self, mock_settings):
setup_settings(mock_settings)
with open('tests/data/testfile_1') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 3)
# transaction 0 - debit
self.assertEqual(transactions[0]['category'], 'debit')
self.assertEqual(transactions[0]['source'], 'administrative')
self.assertEqual(transactions[0]['amount'], 288615)
self.assertEqual(transactions[0]['received_at'], '2004-02-05T12:00:00+00:00')
self.assertEqual(transactions[0]['processor_type_code'], '03')
self.assertEqual(transactions[0]['reference'], 'Payment refund ')
self.assertEqual(transactions[0].get('prisoner_number'), None)
self.assertEqual(transactions[0].get('prisoner_dob'), None)
# transaction 1 - credit
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['source'], 'bank_transfer')
self.assertEqual(transactions[1]['amount'], 8939)
self.assertEqual(transactions[1]['received_at'], '2004-02-05T12:00:00+00:00')
self.assertEqual(transactions[1]['sender_account_number'], '29696666')
self.assertEqual(transactions[1]['sender_sort_code'], '608006')
self.assertEqual(transactions[1]['processor_type_code'], '99')
self.assertEqual(transactions[1]['prisoner_number'], 'A1234BY')
self.assertEqual(transactions[1]['prisoner_dob'], '1986-12-09')
self.assertEqual(transactions[1]['blocked'], False)
self.assertEqual(transactions[1]['incomplete_sender_info'], False)
# transaction 2 - credit
self.assertEqual(transactions[2]['category'], 'credit')
self.assertEqual(transactions[2]['source'], 'bank_transfer')
self.assertEqual(transactions[2]['amount'], 9802)
self.assertEqual(transactions[2]['received_at'], '2004-02-05T12:00:00+00:00')
self.assertEqual(transactions[2]['sender_account_number'], '78990056')
self.assertEqual(transactions[2]['sender_sort_code'], '245432')
self.assertEqual(transactions[2]['processor_type_code'], '93')
self.assertEqual(transactions[2]['prisoner_number'], 'B4321XZ')
self.assertEqual(transactions[2]['prisoner_dob'], '1992-11-08')
self.assertEqual(transactions[2]['blocked'], False)
self.assertEqual(transactions[2]['incomplete_sender_info'], False)
def test_populates_roll_numbers_when_relevant_sort_codes_found(self):
with open('tests/data/testfile_roll_number') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 7)
self.assertEqual(transactions[0]['category'], 'credit')
self.assertEqual(transactions[0]['sender_roll_number'], '123A 123456A')
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['sender_roll_number'], 'A12345678SMI')
self.assertEqual(transactions[2]['category'], 'credit')
self.assertEqual(transactions[2]['sender_roll_number'], '1234/12345678')
self.assertEqual(transactions[3]['category'], 'credit')
self.assertEqual(transactions[3]['sender_roll_number'], '12-123456-12345')
self.assertEqual(transactions[4]['category'], 'credit')
self.assertEqual(transactions[4]['sender_roll_number'], '1234567890')
self.assertEqual(transactions[5]['category'], 'debit')
self.assertEqual(transactions[5]['sender_roll_number'], '1234567890')
self.assertEqual(transactions[6]['category'], 'credit')
self.assertEqual(transactions[6]['sender_roll_number'], 'A12345678')
def test_does_not_populate_roll_number_typically(self):
with open('tests/data/testfile_1') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 3)
self.assertEqual(transactions[0]['sender_roll_number'], None)
self.assertEqual(transactions[1]['sender_roll_number'], None)
self.assertEqual(transactions[2]['sender_roll_number'], None)
def test_does_not_populate_roll_number_if_not_matching_format(self):
with open('tests/data/testfile_bs_sort_code_invalid_roll_number') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 1)
self.assertEqual(transactions[0]['sender_roll_number'], None)
@mock.patch('mtp_transaction_uploader.upload.settings')
def test_marks_incomplete_sender_information(self, mock_settings):
setup_settings(mock_settings)
with open('tests/data/testfile_sender_information') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 4)
# check that account number is 0s instead of None for matching building society
self.assertEqual(transactions[0]['category'], 'credit')
self.assertEqual(transactions[0]['sender_account_number'], '00000000')
self.assertFalse(transactions[0]['incomplete_sender_info'])
# no sort code
self.assertEqual(transactions[1]['sender_sort_code'], None)
self.assertTrue(transactions[1]['incomplete_sender_info'])
self.assertTrue(transactions[1]['blocked'])
# no account number
self.assertEqual(transactions[2]['sender_account_number'], None)
self.assertTrue(transactions[2]['incomplete_sender_info'])
self.assertTrue(transactions[2]['blocked'])
# no roll number
self.assertEqual(transactions[3]['sender_roll_number'], None)
self.assertTrue(transactions[3]['incomplete_sender_info'])
self.assertFalse(transactions[3]['blocked'])
@mock.patch('mtp_transaction_uploader.upload.settings')
def test_marks_incomplete_sender_information_for_metro_bank(self, mock_settings):
setup_settings(mock_settings)
with open('tests/data/testfile_metro_bank') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 4)
self.assertEqual(transactions[3]['sender_roll_number'], None)
self.assertTrue(transactions[3]['incomplete_sender_info'])
self.assertFalse(transactions[3]['blocked'])
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
def test_marks_administrative_transactions(self, mock_get_conn):
with open('tests/data/testfile_administrative_credits') as f:
# records are from 36th date of 2004, i.e. 2004-02-05 (see last 5 digits in each record)
data_services_file = parse(f)
conn = mock_get_conn()
conn.batches.get.return_value = {
'count': 1,
'results': [{'id': 10}]
}
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(transactions[0]['category'], 'debit')
self.assertEqual(transactions[0]['source'], 'administrative')
self.assertTrue('batch' not in transactions[0])
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['source'], 'administrative')
self.assertTrue('batch' not in transactions[1])
self.assertEqual(transactions[2]['category'], 'credit')
self.assertEqual(transactions[2]['source'], 'administrative')
self.assertEqual(transactions[2]['batch'], 10)
# settlement is for ?-09-22 (assumed to be nearest date in the past)
conn.batches.get.assert_called_with(date='2003-09-22')
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
def testfile_settlement_credits(self, mock_get_conn):
with open('tests/data/testfile_settlement_credits') as f:
# records are from 36th date of 2004, i.e. 2004-02-05 (see last 5 digits in each record)
data_services_file = parse(f)
conn = mock_get_conn()
conn.batches.get.return_value = {
'count': 1,
'results': [{'id': 10}]
}
transactions = upload.get_transactions_from_file(data_services_file)
# test file has 3 settlement transactions which are all "administrative" credits
self.assertEqual(len(transactions), 3)
self.assertTrue(all(
transaction['category'] == 'credit' and transaction['source'] == 'administrative'
for transaction in transactions
))
# one settlement does not have a date that can be parsed so is not matched to a batch
self.assertNotIn('batch', transactions[0])
# two settlements have a date that can be parsed and matched to a batch
self.assertEqual(len(conn.batches.get.call_args_list), 2)
# first settlement is for ?-09-22 (assumed to be nearest date in the past)
self.assertEqual(transactions[1]['batch'], 10)
self.assertEqual(
conn.batches.get.call_args_list[0],
((), {'date': '2003-09-22'})
)
# second settlement is for ?-?-21 (assumed to be nearest date in the past)
self.assertEqual(transactions[2]['batch'], 10)
self.assertEqual(
conn.batches.get.call_args_list[1],
((), {'date': '2004-01-21'})
)
@mock.patch('mtp_transaction_uploader.upload.settings')
def test_marking_all_credit_transactions_as_unidentified(self, mock_settings):
setup_settings(mock_settings, mark_transactions_as_unidentified=True)
with open('tests/data/testfile_1') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 3)
# transaction 0 - debit
self.assertEqual(transactions[0]['category'], 'debit')
self.assertEqual(transactions[0]['source'], 'administrative')
# transaction 1 - credit
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['source'], 'bank_transfer')
self.assertEqual(transactions[1]['sender_account_number'], '29696666')
self.assertEqual(transactions[1]['sender_sort_code'], '608006')
self.assertEqual(transactions[1]['prisoner_number'], 'A1234BY')
self.assertEqual(transactions[1]['prisoner_dob'], '1986-12-09')
self.assertEqual(transactions[1]['blocked'], True)
self.assertEqual(transactions[1]['incomplete_sender_info'], True)
# transaction 2 - credit
self.assertEqual(transactions[2]['category'], 'credit')
self.assertEqual(transactions[2]['source'], 'bank_transfer')
self.assertEqual(transactions[2]['sender_account_number'], '78990056')
self.assertEqual(transactions[2]['sender_sort_code'], '245432')
self.assertEqual(transactions[2]['prisoner_number'], 'B4321XZ')
self.assertEqual(transactions[2]['prisoner_dob'], '1992-11-08')
self.assertEqual(transactions[2]['blocked'], True)
self.assertEqual(transactions[2]['incomplete_sender_info'], True)
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
@mock.patch('mtp_transaction_uploader.upload.settings')
def test_not_marking_administrative_credits_as_unidentified(self, mock_settings, mock_get_conn):
setup_settings(mock_settings, mark_transactions_as_unidentified=True)
with open('tests/data/testfile_administrative_credits') as f:
data_services_file = parse(f)
conn = mock_get_conn()
conn.batches.get.return_value = {
'count': 1,
'results': [{'id': 10}]
}
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 3)
self.assertEqual(transactions[0]['category'], 'debit')
self.assertEqual(transactions[0]['source'], 'administrative')
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['source'], 'administrative')
self.assertEqual(transactions[1]['blocked'], False)
self.assertEqual(transactions[1]['incomplete_sender_info'], False)
self.assertEqual(transactions[2]['category'], 'credit')
self.assertEqual(transactions[2]['source'], 'administrative')
self.assertEqual(transactions[2]['blocked'], False)
self.assertEqual(transactions[2]['incomplete_sender_info'], False)
@mock.patch('mtp_transaction_uploader.upload.logger')
def test_get_transactions_no_records(self, mock_logger):
with open('tests/data/testfile_no_records') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
mock_logger.info.assert_called_with('No records found.')
self.assertEqual(transactions, None)
@mock.patch('mtp_transaction_uploader.upload.logger')
def test_get_transactions_incorrect_totals(self, mock_logger):
with open('tests/data/testfile_incorrect_totals') as f:
data_services_file = parse(f)
transactions = upload.get_transactions_from_file(data_services_file)
mock_logger.error.assert_called_with(
'Errors: %s',
{
'account 0': [
'Monetary total of debit items does not match expected: counted 288615, expected 288610',
'Monetary total of credit items does not match expected: counted 18741, expected 18732',
]
}
)
self.assertEqual(transactions, None)
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
def test_excludes_records_from_other_accounts(self, mock_get_conn):
with open('tests/data/testfile_multiple_accounts') as f:
data_services_file = parse(f)
conn = mock_get_conn()
conn.batches.get.return_value = {
'count': 1,
'results': [{'id': 10}]
}
transactions = upload.get_transactions_from_file(data_services_file)
self.assertEqual(len(transactions), 2)
# transaction 0 - debit
self.assertEqual(transactions[0]['category'], 'debit')
self.assertEqual(transactions[0]['source'], 'administrative')
self.assertEqual(transactions[0]['amount'], 288615)
self.assertEqual(transactions[0]['received_at'], '2004-02-05T12:00:00+00:00')
# transaction 1 - credit (actually credit record 2 but credit 1 is filtered out)
self.assertEqual(transactions[1]['category'], 'credit')
self.assertEqual(transactions[1]['source'], 'bank_transfer')
self.assertEqual(transactions[1]['amount'], 9802)
self.assertEqual(transactions[1]['received_at'], '2004-02-07T12:00:00+00:00')
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
class UpdateNewBalanceTestCase(TestCase):
def test_update_new_balance(self, mock_get_connection):
transactions = [
{'amount': 100, 'category': 'credit'},
{'amount': 120, 'category': 'debit'},
{'amount': 200, 'category': 'credit'},
{'amount': 150, 'category': 'credit'},
]
stmt_date = date(2016, 3, 3)
conn = mock_get_connection()
conn.balances.get.return_value = {
'count': 1,
'results': [{'closing_balance': 1000}]
}
upload.update_new_balance(transactions, stmt_date)
conn.balances.post.assert_called_with({
'date': stmt_date.isoformat(),
'closing_balance': 1330,
})
def test_update_new_balance_with_no_previous_balance(self, mock_get_connection):
transactions = [
{'amount': 100, 'category': 'credit'},
{'amount': 120, 'category': 'debit'},
{'amount': 200, 'category': 'credit'},
{'amount': 150, 'category': 'credit'},
]
stmt_date = date(2016, 3, 3)
conn = mock_get_connection()
conn.balances.get.return_value = {
'count': 0,
'results': []
}
upload.update_new_balance(transactions, stmt_date)
conn.balances.post.assert_called_with({
'date': stmt_date.isoformat(),
'closing_balance': 330,
})
class SettlementDateParsingTestCase(TestCase):
def test_parsable_settlement_2_digit_dates(self):
values = [
('31', date(2021, 1, 31), date(2021, 1, 31)),
('30', date(2021, 1, 31), date(2021, 1, 30)),
('29', date(2021, 1, 31), date(2021, 1, 29)),
('28', date(2021, 1, 31), date(2021, 1, 28)),
('01', date(2021, 1, 31), date(2021, 1, 1)),
('27', date(2021, 2, 28), date(2021, 2, 27)),
('27', date(2021, 2, 27), date(2021, 2, 27)),
('27', date(2021, 2, 26), date(2021, 1, 27)),
('27', date(2021, 2, 25), date(2021, 1, 27)),
('02', date(2021, 1, 2), date(2021, 1, 2)),
('01', date(2021, 1, 2), date(2021, 1, 1)),
('31', date(2021, 1, 2), date(2020, 12, 31)),
('30', date(2021, 1, 2), date(2020, 12, 30)),
]
for date_str, relative_date, expected_date in values:
resulting_date = upload.parse_2_digit_date(date_str, relative_date)
self.assertEqual(
resulting_date, expected_date,
msg=f'{date_str} relative to {relative_date} should parse to {expected_date}'
)
def test_parsable_settlement_4_digit_dates(self):
values = [
('3101', date(2021, 1, 31), date(2021, 1, 31)),
('3001', date(2021, 1, 31), date(2021, 1, 30)),
('0101', date(2021, 1, 31), date(2021, 1, 1)),
('0202', date(2021, 1, 31), date(2020, 2, 2)),
('0202', date(2021, 6, 30), date(2021, 2, 2)),
('3112', date(2021, 6, 30), date(2020, 12, 31)),
]
for date_str, relative_date, expected_date in values:
resulting_date = upload.parse_4_digit_date(date_str, relative_date)
self.assertEqual(
resulting_date, expected_date,
msg=f'{date_str} relative to {relative_date} should parse to {expected_date}'
)
def test_unparsable_settlement_2_digit_dates(self):
values = [
# overflows day of previous month
('30', date(2021, 3, 1)),
('31', date(2021, 5, 1)),
# not a date
('33', date(2021, 2, 1)),
('xx', date(2021, 2, 1)),
]
for date_str, relative_date in values:
with self.assertRaises(ValueError, msg=f'{date_str} relative to {relative_date} should not parse'):
upload.parse_2_digit_date(date_str, relative_date)
def test_unparsable_settlement_4_digit_dates(self):
values = [
# overflows day of month
('3002', date(2021, 3, 1)),
('3104', date(2021, 5, 1)),
# not a date
('3301', date(2021, 2, 1)),
('ddmm', date(2021, 2, 1)),
]
for date_str, relative_date in values:
with self.assertRaises(ValueError, msg=f'{date_str} relative to {relative_date} should not parse'):
upload.parse_4_digit_date(date_str, relative_date)
@mock.patch('mtp_transaction_uploader.upload.get_authenticated_connection')
class GetMatchingBatchIdForSettlementTestCase(TestCase):
def _test_successful_match(self, mock_get_conn, record, expected_date):
conn = mock_get_conn()
conn.batches.get.return_value = {
'count': 1,
'results': [{'id': 10}]
}
batch_id = upload.get_matching_batch_id_for_settlement(record)
self.assertEqual(batch_id, 10)
conn.batches.get.assert_called_with(date=expected_date.isoformat())
def test_get_matching_batch(self, mock_get_conn):
# record is for 36th date of 2004, i.e. 2004-02-05 (last 5 digits in record)
# settlement is for ?-01-01 (assumed to be nearest date in the past)
expected_date = date(2004, 1, 1)
record = DataRecord(
'1234566717531509324543278990056000000000009802'
'TT- GGGGGGGG -0101WORLDPAY '
' 04036 '
)
self._test_successful_match(mock_get_conn, record, expected_date)
def test_get_matching_batch_for_2_digit_date(self, mock_get_conn):
# record is for 36th date of 2004, i.e. 2004-02-05 (last 5 digits in record)
# settlement is for ?-?-01 (assumed to be nearest date in the past)
expected_date = date(2004, 2, 1)
record = DataRecord(
'1234566717531509324543278990056000000000009802'
'TT- GGGGGGGG -01 WORLDPAY '
' 04036 '
)
self._test_successful_match(mock_get_conn, record, expected_date)
def test_get_matching_batch_from_previous_year(self, mock_get_conn):
# record is for 36th date of 2004, i.e. 2004-02-05 (last 5 digits in record)
# settlement is for ?-12-31 (assumed to be nearest date in the past)
expected_date = date(2003, 12, 31)
record = DataRecord(
'1234566717531509324543278990056000000000009802'
'TT- GGGGGGGG -3112WORLDPAY '
' 04036 '
)
self._test_successful_match(mock_get_conn, record, expected_date)
def test_get_matching_batch_from_previous_year_for_2_digit_date(self, mock_get_conn):
# record is for 3rd date of 2004, i.e. 2004-01-03 (last 5 digits in record)
# settlement is for ?-?-31 (assumed to be nearest date in the past)
expected_date = date(2003, 12, 31)
record = DataRecord(
'1234566717531509324543278990056000000000009802'
'TT- GGGGGGGG -31 WORLDPAY '
' 04003 '
)
self._test_successful_match(mock_get_conn, record, expected_date)
def test_invalid_date_is_ignored(self, mock_get_conn):
# record is for 36th date of 2004, i.e. 2004-02-05 (last 5 digits in record)
# but settlement date cannot be parsed
record = DataRecord(
'1234566717531509324543278990056000000000009802'
'TT- GGGGGGGG -9934WORLDPAY '
' 04036 '
)
batch_id = upload.get_matching_batch_id_for_settlement(record)
self.assertIsNone(batch_id)
| 42.246618
| 111
| 0.629671
| 4,664
| 40,599
| 5.245283
| 0.09434
| 0.08768
| 0.11147
| 0.036789
| 0.802404
| 0.761405
| 0.731279
| 0.68472
| 0.649444
| 0.620749
| 0
| 0.119107
| 0.241878
| 40,599
| 960
| 112
| 42.290625
| 0.67572
| 0.04271
| 0
| 0.583222
| 0
| 0
| 0.247129
| 0.123745
| 0
| 0
| 0
| 0
| 0.22237
| 1
| 0.063915
| false
| 0
| 0.006658
| 0
| 0.086551
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 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
|
f07b49a82373c4e9f85e0bf904e05776c1397de5
| 698
|
py
|
Python
|
configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_14_lamp.py
|
THU-DA-6D-Pose-Group/self6dpp
|
c267cfa55e440e212136a5e9940598720fa21d16
|
[
"Apache-2.0"
] | 33
|
2021-12-15T07:11:47.000Z
|
2022-03-29T08:58:32.000Z
|
configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_14_lamp.py
|
THU-DA-6D-Pose-Group/self6dpp
|
c267cfa55e440e212136a5e9940598720fa21d16
|
[
"Apache-2.0"
] | 3
|
2021-12-15T11:39:54.000Z
|
2022-03-29T07:24:23.000Z
|
configs/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_14_lamp.py
|
THU-DA-6D-Pose-Group/self6dpp
|
c267cfa55e440e212136a5e9940598720fa21d16
|
[
"Apache-2.0"
] | null | null | null |
_base_ = "./FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_Pbr_01_ape.py"
OUTPUT_DIR = "output/deepim/lmPbrSO/FlowNet512_1.5AugCosyAAEGray_AdamW_ClipGrad_AvgMaxMin_lmPbr_SO/lamp"
DATASETS = dict(TRAIN=("lm_pbr_lamp_train",), TEST=("lm_real_lamp_test",))
# rl3
# objects lamp Avg(1)
# ad_2 0.96 0.96
# ad_5 38.58 38.58
# ad_10 99.04 99.04
# rete_2 49.04 49.04
# rete_5 99.81 99.81
# rete_10 99.90 99.90
# re_2 54.61 54.61
# re_5 99.81 99.81
# re_10 99.90 99.90
# te_2 88.68 88.68
# te_5 99.90 99.90
# te_10 99.90 99.90
# proj_2 20.06 20.06
# proj_5 96.64 96.64
# proj_10 99.90 99.90
# re 2.04 2.04
# te 0.02 0.02
| 29.083333
| 104
| 0.643266
| 142
| 698
| 2.901408
| 0.366197
| 0.097087
| 0.072816
| 0.097087
| 0.417476
| 0.296117
| 0.063107
| 0
| 0
| 0
| 0
| 0.306542
| 0.233524
| 698
| 23
| 105
| 30.347826
| 0.463551
| 0.568768
| 0
| 0
| 0
| 0
| 0.683274
| 0.562278
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 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
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b2b5d06ad919e67ec69d16f41eb187a5091b5e8e
| 700
|
py
|
Python
|
python/splitlines_example.py
|
codevscolor/codevscolor
|
35ef9042bdc86f45ef87795c35963b75fb64d5d7
|
[
"Apache-2.0"
] | 6
|
2019-04-26T03:11:54.000Z
|
2021-05-07T21:48:29.000Z
|
python/splitlines_example.py
|
akojif/codevscolor
|
56db3dffeac8f8d76ff8fcf5656770f33765941f
|
[
"Apache-2.0"
] | null | null | null |
python/splitlines_example.py
|
akojif/codevscolor
|
56db3dffeac8f8d76ff8fcf5656770f33765941f
|
[
"Apache-2.0"
] | 26
|
2019-02-23T14:50:46.000Z
|
2022-02-04T23:44:24.000Z
|
str_1 = "HelloWorld"
str_2 = "Hello World"
str_3 = "one\ntwo\rthree\r\nfour\vfive\x0bsix\fseven\x0ceight\x1cnine\x1dten\x1eeleven\x85twelve\u2028thirteen\u2029"
print("str_1 : ")
print(str_1.splitlines())
print(str_1.splitlines(keepends = True))
print("str_2 : ")
print(str_2.splitlines())
print(str_2.splitlines(keepends = True))
print("str_3 : ")
print(str_3.splitlines())
print(str_3.splitlines(keepends = True))
# example 2
str_1 = ""
print("str_1 : ")
print(str_1.split('\n'))
print(str_1.splitlines())
print(str_1.splitlines(keepends = True))
# example 3
str_1 = "Hello\n"
print("str_1 : ")
print(str_1.split('\n'))
print(str_1.splitlines())
print(str_1.splitlines(keepends = True))
| 19.444444
| 117
| 0.717143
| 109
| 700
| 4.40367
| 0.266055
| 0.283333
| 0.20625
| 0.2375
| 0.51875
| 0.43125
| 0.4125
| 0.4125
| 0.4125
| 0.4125
| 0
| 0.061905
| 0.1
| 700
| 35
| 118
| 20
| 0.7
| 0.027143
| 0
| 0.5
| 0
| 0.045455
| 0.264012
| 0.157817
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.772727
| 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
|
b2b861a83c4c95fe21bb1ddcf2728a886202cbd6
| 1,717
|
py
|
Python
|
sparkmagic/sparkmagic/livyclientlib/sendstringtosparkcommand.py
|
sciserver/sparkmagic
|
ac0852cbe88a41faa368cf1e1c89045a2de973bf
|
[
"RSA-MD"
] | 1,141
|
2015-09-21T20:52:00.000Z
|
2022-03-31T14:15:51.000Z
|
sparkmagic/sparkmagic/livyclientlib/sendstringtosparkcommand.py
|
sciserver/sparkmagic
|
ac0852cbe88a41faa368cf1e1c89045a2de973bf
|
[
"RSA-MD"
] | 605
|
2015-09-23T23:27:43.000Z
|
2022-03-16T07:46:52.000Z
|
sparkmagic/sparkmagic/livyclientlib/sendstringtosparkcommand.py
|
sciserver/sparkmagic
|
ac0852cbe88a41faa368cf1e1c89045a2de973bf
|
[
"RSA-MD"
] | 442
|
2015-09-23T21:31:28.000Z
|
2022-03-13T15:19:57.000Z
|
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from sparkmagic.livyclientlib.sendtosparkcommand import SendToSparkCommand
from sparkmagic.livyclientlib.command import Command
from sparkmagic.livyclientlib.exceptions import BadUserDataException
class SendStringToSparkCommand(SendToSparkCommand):
def _scala_command(self, input_variable_name, input_variable_value, output_variable_name):
self._assert_input_is_string_type(input_variable_name, input_variable_value)
scala_code = u'var {} = """{}"""'.format(output_variable_name, input_variable_value)
return Command(scala_code)
def _pyspark_command(self, input_variable_name, input_variable_value, output_variable_name):
self._assert_input_is_string_type(input_variable_name, input_variable_value)
pyspark_code = u'{} = {}'.format(output_variable_name, repr(input_variable_value))
return Command(pyspark_code)
def _r_command(self, input_variable_name, input_variable_value, output_variable_name):
self._assert_input_is_string_type(input_variable_name, input_variable_value)
escaped_input_variable_value = input_variable_value.replace(u'\\', u'\\\\').replace(u'"',u'\\"')
r_code = u'''assign("{}","{}")'''.format(output_variable_name, escaped_input_variable_value)
return Command(r_code)
def _assert_input_is_string_type(self, input_variable_name, input_variable_value):
if not isinstance(input_variable_value, str):
wrong_type = input_variable_value.__class__.__name__
raise BadUserDataException(u'{} is not a str or bytes! Got {} instead'.format(input_variable_name, wrong_type))
| 57.233333
| 123
| 0.771695
| 213
| 1,717
| 5.751174
| 0.267606
| 0.233469
| 0.205714
| 0.163265
| 0.444898
| 0.340408
| 0.340408
| 0.308571
| 0.308571
| 0.308571
| 0
| 0
| 0.136867
| 1,717
| 29
| 124
| 59.206897
| 0.826586
| 0.055911
| 0
| 0.142857
| 0
| 0
| 0.056242
| 0
| 0
| 0
| 0
| 0
| 0.190476
| 1
| 0.190476
| false
| 0
| 0.142857
| 0
| 0.52381
| 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
| 0
| 0
| 1
| 0
|
0
| 4
|
b2bd5537b4764009351a96b3e45d64758bc34b99
| 93
|
py
|
Python
|
backend_rest/websocket/apps.py
|
ezrankayamba/twiga_sales
|
78ea9a35db7e75f3492f03559662808cb3ad59f3
|
[
"MIT"
] | null | null | null |
backend_rest/websocket/apps.py
|
ezrankayamba/twiga_sales
|
78ea9a35db7e75f3492f03559662808cb3ad59f3
|
[
"MIT"
] | 33
|
2020-03-14T17:29:33.000Z
|
2022-03-12T00:19:30.000Z
|
backend_rest/websocket/apps.py
|
ezrankayamba/twiga_sales
|
78ea9a35db7e75f3492f03559662808cb3ad59f3
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class WebSocketConfig(AppConfig):
name = "websocket"
| 15.5
| 33
| 0.763441
| 10
| 93
| 7.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 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
|
b2dfb22ef940b3fff39342fdb6b530fabf48497d
| 180
|
py
|
Python
|
python/testData/inspections/PyMethodMayBeStaticInspection/propertyWithAlias.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/inspections/PyMethodMayBeStaticInspection/propertyWithAlias.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/inspections/PyMethodMayBeStaticInspection/propertyWithAlias.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
from abc import abstractproperty as alias, ABCMeta
class MyAbsBase(object):
__metaclass__ = ABCMeta
@alias
def count(self): # <- false positive here
return
| 22.5
| 50
| 0.683333
| 20
| 180
| 5.95
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.25
| 180
| 8
| 51
| 22.5
| 0.881481
| 0.127778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.166667
| 0.166667
| 0.833333
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
b2ec9bcdd5f18cc335ac1b5888d5c578a0bcca36
| 61
|
py
|
Python
|
2232.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | 6
|
2021-04-13T00:33:43.000Z
|
2022-02-10T10:23:59.000Z
|
2232.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | null | null | null |
2232.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | 3
|
2021-03-23T18:42:24.000Z
|
2022-02-10T10:24:07.000Z
|
for g in range(int(input())):
print(2 ** int(input()) -1)
| 20.333333
| 30
| 0.557377
| 11
| 61
| 3.090909
| 0.818182
| 0.470588
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.04
| 0.180328
| 61
| 2
| 31
| 30.5
| 0.64
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 1
|
0
| 4
|
6508891797eee8c7982232d4b01035433dbfda96
| 1,268
|
py
|
Python
|
tests/data/users/conftest.py
|
Claayton/mitmirror-api
|
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
|
[
"MIT"
] | null | null | null |
tests/data/users/conftest.py
|
Claayton/mitmirror-api
|
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
|
[
"MIT"
] | 1
|
2021-10-09T20:42:03.000Z
|
2021-10-09T20:42:03.000Z
|
tests/data/users/conftest.py
|
Claayton/mitmirror-api
|
a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1
|
[
"MIT"
] | null | null | null |
"""Arquivo para fixtures""" # pylint: disable=E0401
from pytest import fixture
from tests.mocks import UserRepositorySpy
from mitmirror.data.security import PasswordHash
from mitmirror.data.users import (
RegisterUser,
GetUser,
GetUsers,
UpdateUser,
DeleteUser,
)
@fixture
def user_repository_spy():
"""Fixture para montar o objeto UserRepository"""
return UserRepositorySpy()
@fixture
def register_user(user_repository_spy): # pylint: disable=W0621
"""Fixture para montar o objeto RegisterUser"""
return RegisterUser(user_repository_spy, PasswordHash)
@fixture
def get_user(user_repository_spy): # pylint: disable=W0621
"""Fixture para montar o objeto Getuser"""
return GetUser(user_repository_spy)
@fixture
def get_users(user_repository_spy): # pylint: disable=W0621
"""Fixture para montar o objeto GetUsers"""
return GetUsers(user_repository_spy)
@fixture
def update_user(user_repository_spy): # pylint: disable=W0621
"""Fixture para montar o objeto UpdateUser"""
return UpdateUser(user_repository_spy, PasswordHash)
@fixture
def delete_user(user_repository_spy): # pylint: disable=W0621
"""Fixture para montar o objeto DeleteUser"""
return DeleteUser(user_repository_spy)
| 23.481481
| 64
| 0.753155
| 151
| 1,268
| 6.145695
| 0.245033
| 0.165948
| 0.201509
| 0.116379
| 0.503233
| 0.419181
| 0.335129
| 0.335129
| 0.335129
| 0.335129
| 0
| 0.022535
| 0.160095
| 1,268
| 53
| 65
| 23.924528
| 0.848826
| 0.311514
| 0
| 0.214286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.214286
| false
| 0.107143
| 0.142857
| 0
| 0.571429
| 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
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
65175fe159c708e905f8f411be0ca5bfb46fee2b
| 1,128
|
py
|
Python
|
tests/test_system_parse.py
|
funtastix/pyrinnaitouch
|
13dbec80306fb0880906f6bfb44a2a55b1f8a111
|
[
"MIT"
] | null | null | null |
tests/test_system_parse.py
|
funtastix/pyrinnaitouch
|
13dbec80306fb0880906f6bfb44a2a55b1f8a111
|
[
"MIT"
] | null | null | null |
tests/test_system_parse.py
|
funtastix/pyrinnaitouch
|
13dbec80306fb0880906f6bfb44a2a55b1f8a111
|
[
"MIT"
] | null | null | null |
from pyrinnaitouch.system import BrivisStatus, RinnaiSystem
def get_test_json():
"""Fixture to return a sample JSON response str"""
return '[{"SYST": {"CFG": {"MTSP": "N", "NC": "00", "DF": "N", "TU": "C", "CF": "1", "VR": "0183", "CV": "0010", "CC": "043", "ZA": " ", "ZB": " ", "ZC": " ", "ZD": " " }, "AVM": {"HG": "Y", "EC": "N", "CG": "Y", "RA": "N", "RH": "N", "RC": "N" }, "OSS": {"DY": "TUE", "TM": "16:45", "BP": "Y", "RG": "Y", "ST": "N", "MD": "C", "DE": "N", "DU": "N", "AT": "999", "LO": "N" }, "FLT": {"AV": "N", "C3": "000" } } },{"CGOM": {"CFG": {"ZUIS": "N", "ZAIS": "Y", "ZBIS": "Y", "ZCIS": "N", "ZDIS": "N", "CF": "N", "PS": "Y", "DG": "W" }, "OOP": {"ST": "F", "CF": "N", "FL": "00", "SN": "Y" }, "GSS": {"CC": "N", "FS": "N", "CP": "N" }, "APS": {"AV": "N" }, "ZUS": {"AE": "N", "MT": "999" }, "ZAS": {"AE": "N", "MT": "999" }, "ZBS": {"AE": "N", "MT": "999" }, "ZCS": {"AE": "N", "MT": "999" }, "ZDS": {"AE": "N", "MT": "999" } } }]'
def test_zones(self):
system = RinnaiSystem.getInstance("10.0.0.1")
system.setZones(["A", "B"])
assert "A" in system._zones and "B" in system._zones
| 102.545455
| 828
| 0.416667
| 168
| 1,128
| 2.767857
| 0.589286
| 0.032258
| 0.053763
| 0.086022
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.050647
| 0.177305
| 1,128
| 10
| 829
| 112.8
| 0.450431
| 0.039007
| 0
| 0
| 0
| 0.142857
| 0.767161
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 1
| 0.285714
| false
| 0
| 0.142857
| 0
| 0.571429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
652b3c21491ea33057dba806e5c7a2f7ad8f443e
| 374
|
py
|
Python
|
src/lgr_auth/forms.py
|
GuillaumeBlanchet/lgr-django
|
429ca5ddb9311cfb1a7ddc906b32d57780585f40
|
[
"BSD-3-Clause"
] | 1
|
2018-09-19T11:03:11.000Z
|
2018-09-19T11:03:11.000Z
|
src/lgr_auth/forms.py
|
GuillaumeBlanchet/lgr-django
|
429ca5ddb9311cfb1a7ddc906b32d57780585f40
|
[
"BSD-3-Clause"
] | 15
|
2017-06-29T14:05:01.000Z
|
2021-09-22T19:56:23.000Z
|
src/lgr_auth/forms.py
|
GuillaumeBlanchet/lgr-django
|
429ca5ddb9311cfb1a7ddc906b32d57780585f40
|
[
"BSD-3-Clause"
] | 7
|
2017-06-14T17:59:19.000Z
|
2019-08-09T03:16:03.000Z
|
# -*- coding: utf-8 -*-
from django.contrib.auth import get_user_model
from django.contrib.auth.forms import PasswordResetForm
class LgrPasswordResetForm(PasswordResetForm):
"""
Subclass PasswordResetForm to remove condition on user's is_active.
"""
def get_users(self, email):
return get_user_model()._default_manager.filter(email__iexact=email)
| 28.769231
| 76
| 0.751337
| 46
| 374
| 5.891304
| 0.695652
| 0.073801
| 0.125461
| 0.154982
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003155
| 0.152406
| 374
| 12
| 77
| 31.166667
| 0.851735
| 0.240642
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.4
| 0.4
| 0.2
| 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
| 0
| 0
| 1
| 1
| 1
| 1
| 0
|
0
| 4
|
653881beeb4bdcd421fb0016d8c77d977d64a7e8
| 87
|
py
|
Python
|
iclone/apps.py
|
TechVictorKE/insta-clone
|
3f0c5eb3aaaba234f711f39d9e693698d5e01cfe
|
[
"MIT"
] | null | null | null |
iclone/apps.py
|
TechVictorKE/insta-clone
|
3f0c5eb3aaaba234f711f39d9e693698d5e01cfe
|
[
"MIT"
] | null | null | null |
iclone/apps.py
|
TechVictorKE/insta-clone
|
3f0c5eb3aaaba234f711f39d9e693698d5e01cfe
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class IcloneConfig(AppConfig):
name = 'iclone'
| 14.5
| 33
| 0.747126
| 10
| 87
| 6.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172414
| 87
| 5
| 34
| 17.4
| 0.902778
| 0
| 0
| 0
| 0
| 0
| 0.068966
| 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
|
653dfb9199762a5980c61209f91fea7b6f0fa6d8
| 114
|
py
|
Python
|
python/ql/test/experimental/dataflow/module-initialization/m1.py
|
madhurimamandal/codeql
|
76bf8878da4d951ed98238b7239c199a3dfddf16
|
[
"MIT"
] | 4,036
|
2020-04-29T00:09:57.000Z
|
2022-03-31T14:16:38.000Z
|
python/ql/test/experimental/dataflow/module-initialization/m1.py
|
madhurimamandal/codeql
|
76bf8878da4d951ed98238b7239c199a3dfddf16
|
[
"MIT"
] | 2,970
|
2020-04-28T17:24:18.000Z
|
2022-03-31T22:40:46.000Z
|
python/ql/test/experimental/dataflow/module-initialization/m1.py
|
ScriptBox99/github-codeql
|
2ecf0d3264db8fb4904b2056964da469372a235c
|
[
"MIT"
] | 794
|
2020-04-29T00:28:25.000Z
|
2022-03-30T08:21:46.000Z
|
# constant
foo = 42
import base
def passOn(x):
return x
# depends on other constant
bar = passOn(base.foo)
| 10.363636
| 27
| 0.684211
| 18
| 114
| 4.333333
| 0.722222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022727
| 0.22807
| 114
| 10
| 28
| 11.4
| 0.863636
| 0.298246
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.4
| 0.2
| 0.2
| 0.6
| 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
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 4
|
653fe16db6310eafc5b298d5719e3ef3293ef2cc
| 115
|
py
|
Python
|
backend/api/corona_tweet_analysis/apps.py
|
Bhavyalakshmi95/dashboard-for-socialmedia-trend
|
9c8fdeb6cbd52a6b585f1dbd4983554df259ab35
|
[
"MIT"
] | 2
|
2020-04-06T08:32:13.000Z
|
2020-04-15T01:17:25.000Z
|
backend/api/corona_tweet_analysis/apps.py
|
Bhavyalakshmi95/dashboard-for-socialmedia-trend
|
9c8fdeb6cbd52a6b585f1dbd4983554df259ab35
|
[
"MIT"
] | 19
|
2020-04-01T13:31:32.000Z
|
2022-02-27T02:43:01.000Z
|
backend/api/corona_tweet_analysis/apps.py
|
Bhavyalakshmi95/dashboard-for-socialmedia-trend
|
9c8fdeb6cbd52a6b585f1dbd4983554df259ab35
|
[
"MIT"
] | 5
|
2020-04-01T11:36:17.000Z
|
2020-04-06T11:44:12.000Z
|
from django.apps import AppConfig
class CoronaTweetAnalysisConfig(AppConfig):
name = 'corona_tweet_analysis'
| 19.166667
| 43
| 0.808696
| 12
| 115
| 7.583333
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.130435
| 115
| 5
| 44
| 23
| 0.91
| 0
| 0
| 0
| 0
| 0
| 0.182609
| 0.182609
| 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
|
6541106638202c56810446fe52ef28d2766f0e56
| 258
|
py
|
Python
|
xudo/commands/dbpw.py
|
Ostralyan/xudo
|
d4ab6ee01fef52e8799ff3e6a76234351620447e
|
[
"MIT"
] | 3
|
2017-04-05T17:30:13.000Z
|
2018-09-18T02:14:40.000Z
|
xudo/commands/dbpw.py
|
Ostralyan/xudo
|
d4ab6ee01fef52e8799ff3e6a76234351620447e
|
[
"MIT"
] | null | null | null |
xudo/commands/dbpw.py
|
Ostralyan/xudo
|
d4ab6ee01fef52e8799ff3e6a76234351620447e
|
[
"MIT"
] | 2
|
2017-05-30T17:42:31.000Z
|
2017-12-14T20:14:31.000Z
|
from .base import Base
import os
class Dbpw(Base):
"""Generates Database PW from AWS"""
def run(self):
os.system("aws ssm get-parameter --name \"/local/CFG_MYSQL_MASTER_PASS\" --with-decryption --query 'Parameter.Value' --output text")
| 19.846154
| 140
| 0.674419
| 36
| 258
| 4.75
| 0.805556
| 0.116959
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.182171
| 258
| 12
| 141
| 21.5
| 0.810427
| 0.116279
| 0
| 0
| 1
| 0
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.2
| 0.4
| 0
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
e8fcb1939103737856b991e805328e2e575f62d3
| 271
|
py
|
Python
|
ambra_sdk/service/entrypoints/filter.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 9
|
2020-04-20T23:45:44.000Z
|
2021-04-18T11:22:17.000Z
|
ambra_sdk/service/entrypoints/filter.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 13
|
2020-02-08T16:15:05.000Z
|
2021-09-13T22:55:28.000Z
|
ambra_sdk/service/entrypoints/filter.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 6
|
2020-03-25T17:47:45.000Z
|
2021-04-18T11:22:19.000Z
|
from ambra_sdk.service.entrypoints.generated.filter import \
AsyncFilter as GAsyncFilter
from ambra_sdk.service.entrypoints.generated.filter import Filter as GFilter
class Filter(GFilter):
"""Filter."""
class AsyncFilter(GAsyncFilter):
"""AsyncFilter."""
| 22.583333
| 76
| 0.763838
| 30
| 271
| 6.833333
| 0.433333
| 0.087805
| 0.117073
| 0.185366
| 0.497561
| 0.497561
| 0.497561
| 0.497561
| 0
| 0
| 0
| 0
| 0.129151
| 271
| 11
| 77
| 24.636364
| 0.868644
| 0.073801
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.8
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
3335f16dba7eaf71285c76fcafed61b6f1e02bff
| 154
|
py
|
Python
|
backend/local_basket/location/urls.py
|
localbasket/local_basket
|
8c34cc25de95c9c0d9431b86546e94dd1c97280f
|
[
"MIT"
] | null | null | null |
backend/local_basket/location/urls.py
|
localbasket/local_basket
|
8c34cc25de95c9c0d9431b86546e94dd1c97280f
|
[
"MIT"
] | null | null | null |
backend/local_basket/location/urls.py
|
localbasket/local_basket
|
8c34cc25de95c9c0d9431b86546e94dd1c97280f
|
[
"MIT"
] | null | null | null |
# urls file in location
from django.urls import path,include
from . import views
urlpatterns = [
path('', views.homepage, name='views_homepage'),
]
| 17.111111
| 52
| 0.714286
| 20
| 154
| 5.45
| 0.65
| 0.238532
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.168831
| 154
| 8
| 53
| 19.25
| 0.851563
| 0.136364
| 0
| 0
| 0
| 0
| 0.10687
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 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
|
3340bc23740c69140098793d6c302dfa43f2c555
| 87
|
py
|
Python
|
cashup/apps.py
|
remarkablerocket/cashup
|
86ee12f20feab2edb383224126aaf824764be656
|
[
"BSD-3-Clause"
] | null | null | null |
cashup/apps.py
|
remarkablerocket/cashup
|
86ee12f20feab2edb383224126aaf824764be656
|
[
"BSD-3-Clause"
] | null | null | null |
cashup/apps.py
|
remarkablerocket/cashup
|
86ee12f20feab2edb383224126aaf824764be656
|
[
"BSD-3-Clause"
] | null | null | null |
from django.apps import AppConfig
class CashupConfig(AppConfig):
name = 'cashup'
| 14.5
| 33
| 0.747126
| 10
| 87
| 6.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172414
| 87
| 5
| 34
| 17.4
| 0.902778
| 0
| 0
| 0
| 0
| 0
| 0.068966
| 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
|
336e43309d8342564d6be2a920c934a394d27268
| 149
|
py
|
Python
|
clubadmin/__main__.py
|
rpmoseley/clubadmin
|
35d0094ea5e97e8478ca021ab8e422cebbc26263
|
[
"MIT"
] | null | null | null |
clubadmin/__main__.py
|
rpmoseley/clubadmin
|
35d0094ea5e97e8478ca021ab8e422cebbc26263
|
[
"MIT"
] | null | null | null |
clubadmin/__main__.py
|
rpmoseley/clubadmin
|
35d0094ea5e97e8478ca021ab8e422cebbc26263
|
[
"MIT"
] | null | null | null |
'''
This is the main entry point for the clubadmin package as a whole and provides
the launching pad for the sub-packages that may be installed.
'''
| 29.8
| 78
| 0.765101
| 26
| 149
| 4.384615
| 0.846154
| 0.105263
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181208
| 149
| 4
| 79
| 37.25
| 0.934426
| 0.939597
| 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
|
682a932f069074c0fef0dda533631f0b356cf3b5
| 189
|
py
|
Python
|
p2p0mq/utils/lang.py
|
pyl1b/p2p0mq
|
c2d9e26f66c27e59d6c1e24a15996c54c5cfc0a2
|
[
"MIT"
] | null | null | null |
p2p0mq/utils/lang.py
|
pyl1b/p2p0mq
|
c2d9e26f66c27e59d6c1e24a15996c54c5cfc0a2
|
[
"MIT"
] | 1
|
2019-12-06T21:19:09.000Z
|
2019-12-06T21:19:09.000Z
|
p2p0mq/utils/lang.py
|
pyl1b/p2p0mq
|
c2d9e26f66c27e59d6c1e24a15996c54c5cfc0a2
|
[
"MIT"
] | 1
|
2020-06-30T06:02:49.000Z
|
2020-06-30T06:02:49.000Z
|
# -*- coding: utf-8 -*-
"""
"""
from __future__ import unicode_literals
from __future__ import print_function
import logging
logger = logging.getLogger('')
def _(text):
return text
| 13.5
| 39
| 0.703704
| 22
| 189
| 5.545455
| 0.727273
| 0.163934
| 0.262295
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006369
| 0.169312
| 189
| 13
| 40
| 14.538462
| 0.770701
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.5
| 0.166667
| 0.833333
| 0.166667
| 1
| 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
| 0
| 0
| 0
| 1
| 1
| 0
| 0
|
0
| 4
|
68354754f84e54b0107c239893be8db63243f93c
| 206
|
py
|
Python
|
pacientes/api/serializers.py
|
LombaAnderson/djangoAPI-clinica
|
688e19c0f6afa887997531ab350b2357e273de03
|
[
"MIT"
] | null | null | null |
pacientes/api/serializers.py
|
LombaAnderson/djangoAPI-clinica
|
688e19c0f6afa887997531ab350b2357e273de03
|
[
"MIT"
] | 3
|
2021-12-09T04:56:37.000Z
|
2021-12-09T04:59:53.000Z
|
pacientes/api/serializers.py
|
LombaAnderson/djangoAPI-clinica
|
688e19c0f6afa887997531ab350b2357e273de03
|
[
"MIT"
] | null | null | null |
from rest_framework import serializers
from pacientes.models import Pacientes
class PacientesSerializer(serializers.ModelSerializer):
class Meta:
model = Pacientes
fields = '__all__'
| 20.6
| 55
| 0.752427
| 20
| 206
| 7.5
| 0.7
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.199029
| 206
| 9
| 56
| 22.888889
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0.033981
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6838d3657c74edbdae4f273fcd84ff91857b928a
| 140
|
py
|
Python
|
src/11/creating_a_udp_server/client.py
|
tuanavu/python-gitbook
|
948a05e065b0f40afbfd22f697dff16238163cde
|
[
"MIT"
] | 14
|
2017-05-20T04:06:46.000Z
|
2022-01-23T06:48:45.000Z
|
src/11/creating_a_udp_server/client.py
|
tuanavu/python-gitbook
|
948a05e065b0f40afbfd22f697dff16238163cde
|
[
"MIT"
] | 1
|
2021-06-10T20:17:55.000Z
|
2021-06-10T20:17:55.000Z
|
src/11/creating_a_udp_server/client.py
|
tuanavu/python-gitbook
|
948a05e065b0f40afbfd22f697dff16238163cde
|
[
"MIT"
] | 15
|
2017-03-29T17:57:33.000Z
|
2021-08-24T02:20:08.000Z
|
from socket import socket, AF_INET, SOCK_DGRAM
s = socket(AF_INET, SOCK_DGRAM)
s.sendto(b'', ('localhost', 20000))
print(s.recvfrom(8192))
| 23.333333
| 46
| 0.735714
| 23
| 140
| 4.304348
| 0.652174
| 0.161616
| 0.242424
| 0.323232
| 0.444444
| 0.444444
| 0
| 0
| 0
| 0
| 0
| 0.072
| 0.107143
| 140
| 5
| 47
| 28
| 0.72
| 0
| 0
| 0
| 0
| 0
| 0.064286
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 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
|
6847b1ab634f1e8db49a1ccc4db09701f6a2edf7
| 291
|
py
|
Python
|
plugins/apis/integration.py
|
Hironsan/mirumii
|
13110fc0aeda4aa0369e479e5c7062beba1ae1bf
|
[
"MIT"
] | 12
|
2016-12-30T23:01:09.000Z
|
2020-02-13T03:58:07.000Z
|
plugins/apis/integration.py
|
Hironsan/mirumii
|
13110fc0aeda4aa0369e479e5c7062beba1ae1bf
|
[
"MIT"
] | 4
|
2016-11-03T12:24:52.000Z
|
2016-11-09T14:09:12.000Z
|
plugins/apis/integration.py
|
Hironsan/mirumii
|
13110fc0aeda4aa0369e479e5c7062beba1ae1bf
|
[
"MIT"
] | 7
|
2016-11-10T14:16:32.000Z
|
2018-08-17T06:44:19.000Z
|
# -*- coding: utf-8 -*-
from .language import extract_required_entities
from .vision import detect_text
def extract_entities_from_img(img_path, access_token):
text = detect_text(img_path, access_token)
entities = extract_required_entities(text, access_token)
return entities
| 24.25
| 60
| 0.776632
| 39
| 291
| 5.435897
| 0.461538
| 0.15566
| 0.216981
| 0.169811
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004016
| 0.14433
| 291
| 11
| 61
| 26.454545
| 0.84739
| 0.072165
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 0
| 0.666667
| 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
|
6862a34ec93bd7154fc582efccecb582b048648e
| 125
|
py
|
Python
|
filemanager/appengine_empty/main.py
|
sroettger/35c3ctf_chals
|
3d64486e6adddb3a3f3d2c041242b88b50abdb8d
|
[
"Apache-2.0"
] | 15
|
2019-07-10T16:50:17.000Z
|
2022-01-23T14:28:17.000Z
|
filemanager/appengine_empty/main.py
|
sroettger/35c3ctf_chals
|
3d64486e6adddb3a3f3d2c041242b88b50abdb8d
|
[
"Apache-2.0"
] | 2
|
2020-01-18T11:19:04.000Z
|
2021-04-27T13:30:33.000Z
|
filemanager/appengine_empty/main.py
|
sroettger/35c3ctf_chals
|
3d64486e6adddb3a3f3d2c041242b88b50abdb8d
|
[
"Apache-2.0"
] | 4
|
2020-01-09T20:14:30.000Z
|
2021-04-23T07:47:27.000Z
|
#!/usr/bin/env python2
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'hello world'
| 13.888889
| 24
| 0.672
| 18
| 125
| 4.444444
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009615
| 0.168
| 125
| 8
| 25
| 15.625
| 0.759615
| 0.168
| 0
| 0
| 0
| 0
| 0.116505
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0.2
| 0.6
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
686e7f31ac6158e760fecf23d0e8bb085b53e520
| 367
|
py
|
Python
|
exhaust/common/management/commands/generate_secret_key.py
|
lewiscollard/exhaust
|
510a66c97bec00576afe321e6bcff5476681bf8b
|
[
"WTFPL"
] | null | null | null |
exhaust/common/management/commands/generate_secret_key.py
|
lewiscollard/exhaust
|
510a66c97bec00576afe321e6bcff5476681bf8b
|
[
"WTFPL"
] | 5
|
2021-11-08T06:58:11.000Z
|
2022-03-12T14:39:26.000Z
|
exhaust/common/management/commands/generate_secret_key.py
|
lewiscollard/exhaust
|
510a66c97bec00576afe321e6bcff5476681bf8b
|
[
"WTFPL"
] | null | null | null |
from django.conf import settings
from django.core.management.base import BaseCommand
from django.core.management.utils import get_random_secret_key
class Command(BaseCommand):
help = 'generates a new .secret_key file'
def handle(self, *args, **options):
with open(settings.SECRET_KEY_FILE, "w") as fd:
fd.write(get_random_secret_key())
| 30.583333
| 62
| 0.73842
| 52
| 367
| 5.038462
| 0.615385
| 0.137405
| 0.10687
| 0.183206
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.168937
| 367
| 11
| 63
| 33.363636
| 0.859016
| 0
| 0
| 0
| 1
| 0
| 0.089918
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| false
| 0
| 0.375
| 0
| 0.75
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6870437c87f90bcf97598b36ecc12742384cad06
| 76
|
py
|
Python
|
src/python/tests/testDrakeVisualizer.py
|
edrumwri/director
|
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
|
[
"BSD-3-Clause"
] | 3
|
2017-05-25T01:13:06.000Z
|
2019-07-21T09:04:51.000Z
|
src/python/tests/testDrakeVisualizer.py
|
edrumwri/director
|
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
|
[
"BSD-3-Clause"
] | null | null | null |
src/python/tests/testDrakeVisualizer.py
|
edrumwri/director
|
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
|
[
"BSD-3-Clause"
] | 5
|
2017-02-22T17:56:52.000Z
|
2019-07-21T09:04:53.000Z
|
from director import drakevisualizerapp
drakevisualizerapp.main(globals())
| 19
| 39
| 0.855263
| 7
| 76
| 9.285714
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078947
| 76
| 3
| 40
| 25.333333
| 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
|
6874346a9b0572e14c6578adf79edc03f3f999b7
| 81
|
py
|
Python
|
hcp/tests/__init__.py
|
JohnGriffiths/mne-hcp
|
7dc789f44033e9b57f875da5794202e3a5290971
|
[
"BSD-3-Clause"
] | 27
|
2016-04-07T22:00:15.000Z
|
2022-02-18T20:06:09.000Z
|
hcp/tests/__init__.py
|
JohnGriffiths/mne-hcp
|
7dc789f44033e9b57f875da5794202e3a5290971
|
[
"BSD-3-Clause"
] | 63
|
2016-04-06T22:31:01.000Z
|
2022-03-07T06:06:33.000Z
|
hcp/tests/__init__.py
|
JohnGriffiths/mne-hcp
|
7dc789f44033e9b57f875da5794202e3a5290971
|
[
"BSD-3-Clause"
] | 20
|
2016-04-19T10:30:00.000Z
|
2022-02-11T19:13:53.000Z
|
# Author: Denis A. Engemann <denis.engemann@gmail.com>
# License: BSD (3-clause)
| 27
| 54
| 0.716049
| 12
| 81
| 4.833333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014085
| 0.123457
| 81
| 2
| 55
| 40.5
| 0.802817
| 0.938272
| 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
|
6884114cf5e11b27c4559f567dfc4dc1638a69c4
| 168
|
py
|
Python
|
imdb_scripts/torch_util.py
|
maaario/nlp-slovak-universal-language-model
|
3a0100fe2a803be7b145ff4d17e557c02d1147c6
|
[
"MIT"
] | 1
|
2021-01-14T02:51:51.000Z
|
2021-01-14T02:51:51.000Z
|
imdb_scripts/torch_util.py
|
maaario/nlp-slovak-universal-language-model
|
3a0100fe2a803be7b145ff4d17e557c02d1147c6
|
[
"MIT"
] | 3
|
2019-06-21T14:09:08.000Z
|
2019-06-25T17:32:33.000Z
|
imdb_scripts/torch_util.py
|
maaario/nlp-slovak-universal-language-model
|
3a0100fe2a803be7b145ff4d17e557c02d1147c6
|
[
"MIT"
] | 1
|
2019-06-20T12:17:09.000Z
|
2019-06-20T12:17:09.000Z
|
import torch
def make_cuda(tensor):
"""Turn the tensor into cuda if possible."""
if torch.cuda.is_available():
return tensor.cuda()
return tensor
| 18.666667
| 48
| 0.660714
| 23
| 168
| 4.73913
| 0.608696
| 0.220183
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.232143
| 168
| 8
| 49
| 21
| 0.844961
| 0.22619
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.8
| 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
| 0
| 0
| 1
| 0
|
0
| 4
|
d7cc82d3f48b4b03da1836e8a6f4891991fb7ad1
| 287
|
py
|
Python
|
2019/08-Exes_and_Os/Exes_and_Ohs.py
|
erik-kristofer-anderson/codewars
|
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
|
[
"MIT"
] | null | null | null |
2019/08-Exes_and_Os/Exes_and_Ohs.py
|
erik-kristofer-anderson/codewars
|
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
|
[
"MIT"
] | 1
|
2019-07-27T15:42:25.000Z
|
2019-07-27T15:42:25.000Z
|
2019/08-Exes_and_Os/Exes_and_Ohs.py
|
erik-kristofer-anderson/Codewars
|
fda780f40d1a2d8c5210cfd6ccf81148444bc9e8
|
[
"MIT"
] | null | null | null |
# solution to a kata on codewars
# https://www.codewars.com/kata/exes-and-ohs/python
# idea is to determine whether there is an
# equal number of "x" and "o" in a string
# (count the total of both upper and lower case)
def xo(s):
return s.lower().count('x') == s.lower().count('o')
| 31.888889
| 55
| 0.682927
| 53
| 287
| 3.698113
| 0.698113
| 0.061224
| 0.112245
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.170732
| 287
| 8
| 56
| 35.875
| 0.823529
| 0.724739
| 0
| 0
| 0
| 0
| 0.027397
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
d7ceee63ae713203bed3bbbc008f96478ccd0238
| 244
|
py
|
Python
|
modin/engines/cloudburst/frame/data.py
|
alclol/modin
|
91e89eafc71f6ef03eb44456d646a6c5971b1c4c
|
[
"Apache-2.0"
] | null | null | null |
modin/engines/cloudburst/frame/data.py
|
alclol/modin
|
91e89eafc71f6ef03eb44456d646a6c5971b1c4c
|
[
"Apache-2.0"
] | null | null | null |
modin/engines/cloudburst/frame/data.py
|
alclol/modin
|
91e89eafc71f6ef03eb44456d646a6c5971b1c4c
|
[
"Apache-2.0"
] | null | null | null |
from modin.engines.cloudburst.frame.partition_manager import CloudburstFrameManager
from modin.engines.base.frame.data import BasePandasFrame
class PandasOnCloudburstFrame(BasePandasFrame):
_frame_mgr_cls = CloudburstFrameManager
| 30.5
| 84
| 0.840164
| 24
| 244
| 8.375
| 0.666667
| 0.089552
| 0.159204
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110656
| 244
| 7
| 85
| 34.857143
| 0.926267
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 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
|
cc1c61af90d7aa17379c6453550be698c80ef83f
| 12
|
py
|
Python
|
resources/no_output.py
|
EdsonGermano/python-101
|
b7a7bb8ecdbed0b89141a4ae09e941d0fe325f71
|
[
"CC-BY-4.0"
] | null | null | null |
resources/no_output.py
|
EdsonGermano/python-101
|
b7a7bb8ecdbed0b89141a4ae09e941d0fe325f71
|
[
"CC-BY-4.0"
] | null | null | null |
resources/no_output.py
|
EdsonGermano/python-101
|
b7a7bb8ecdbed0b89141a4ae09e941d0fe325f71
|
[
"CC-BY-4.0"
] | null | null | null |
x = 9
x * x
| 4
| 5
| 0.333333
| 4
| 12
| 1
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 0.5
| 12
| 2
| 6
| 6
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 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
| 0
|
0
| 4
|
cc346ee56811070362acfed22bd1d74db3b21569
| 167
|
py
|
Python
|
setup.py
|
BenedatLLC/CacheML
|
0b01e0fe109d1307b429650432c055e47a25d90a
|
[
"Apache-2.0"
] | 1
|
2021-11-14T18:36:50.000Z
|
2021-11-14T18:36:50.000Z
|
setup.py
|
BenedatLLC/CacheML
|
0b01e0fe109d1307b429650432c055e47a25d90a
|
[
"Apache-2.0"
] | null | null | null |
setup.py
|
BenedatLLC/CacheML
|
0b01e0fe109d1307b429650432c055e47a25d90a
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python
# Copyright 2021 Benedat LLC. Licensed under Apache 2.0. See LICENSE.txt.
import setuptools
if __name__ == "__main__":
setuptools.setup()
| 18.555556
| 73
| 0.724551
| 23
| 167
| 4.913043
| 0.956522
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.042857
| 0.161677
| 167
| 8
| 74
| 20.875
| 0.764286
| 0.550898
| 0
| 0
| 0
| 0
| 0.111111
| 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
|
0bd879a4c680d83606a81710b996ee38e557fb80
| 83
|
py
|
Python
|
unit/apps.py
|
alexhong121/ai_cupboard
|
50baa791c969b951de5b47d980e19c0df3c04e7f
|
[
"MIT"
] | null | null | null |
unit/apps.py
|
alexhong121/ai_cupboard
|
50baa791c969b951de5b47d980e19c0df3c04e7f
|
[
"MIT"
] | 4
|
2021-03-19T02:37:45.000Z
|
2022-02-10T11:18:04.000Z
|
unit/apps.py
|
alexhong121/ai_cupboard
|
50baa791c969b951de5b47d980e19c0df3c04e7f
|
[
"MIT"
] | 1
|
2019-10-21T20:32:20.000Z
|
2019-10-21T20:32:20.000Z
|
from django.apps import AppConfig
class UnitConfig(AppConfig):
name = 'unit'
| 13.833333
| 33
| 0.73494
| 10
| 83
| 6.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.180723
| 83
| 5
| 34
| 16.6
| 0.897059
| 0
| 0
| 0
| 0
| 0
| 0.048193
| 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
|
0bf61e9f157beb74de5a2053dc00b2a403059761
| 87
|
py
|
Python
|
Section_04_Imports/utils/__init__.py
|
rodrigoarenas456/CompletePythonGuide
|
505ac20c33856a53f1ffe12809ad78161c78a325
|
[
"MIT"
] | null | null | null |
Section_04_Imports/utils/__init__.py
|
rodrigoarenas456/CompletePythonGuide
|
505ac20c33856a53f1ffe12809ad78161c78a325
|
[
"MIT"
] | null | null | null |
Section_04_Imports/utils/__init__.py
|
rodrigoarenas456/CompletePythonGuide
|
505ac20c33856a53f1ffe12809ad78161c78a325
|
[
"MIT"
] | null | null | null |
##Archivo para que el código en file_operations.py pueda ser usado por fuera del folder
| 87
| 87
| 0.816092
| 16
| 87
| 4.375
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.149425
| 87
| 1
| 87
| 87
| 0.945946
| 0.977011
| 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
|
0bfdfc5df02f309c7e594ec84cdd7ca7b9c9e6e9
| 21
|
py
|
Python
|
giwerm/constants.py
|
nocotan/IGIWERM
|
1179a949625190c892ecc2e231b76dfab54e1529
|
[
"MIT"
] | null | null | null |
giwerm/constants.py
|
nocotan/IGIWERM
|
1179a949625190c892ecc2e231b76dfab54e1529
|
[
"MIT"
] | null | null | null |
giwerm/constants.py
|
nocotan/IGIWERM
|
1179a949625190c892ecc2e231b76dfab54e1529
|
[
"MIT"
] | 1
|
2022-01-27T05:26:51.000Z
|
2022-01-27T05:26:51.000Z
|
EPS = 1e-9
INF = 1e9
| 7
| 10
| 0.571429
| 5
| 21
| 2.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.266667
| 0.285714
| 21
| 2
| 11
| 10.5
| 0.533333
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 1
| 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
|
0411a41582922e9128decf8c69d8204159ac8993
| 228
|
py
|
Python
|
server/test_pygments.py
|
frankxu2004/tranX
|
a5fbfeb78d6265cdf3264c99f3146e03c333e37d
|
[
"Apache-2.0"
] | 1
|
2020-10-12T18:37:37.000Z
|
2020-10-12T18:37:37.000Z
|
server/test_pygments.py
|
frankxu2004/tranX
|
a5fbfeb78d6265cdf3264c99f3146e03c333e37d
|
[
"Apache-2.0"
] | null | null | null |
server/test_pygments.py
|
frankxu2004/tranX
|
a5fbfeb78d6265cdf3264c99f3146e03c333e37d
|
[
"Apache-2.0"
] | 1
|
2021-03-28T18:01:17.000Z
|
2021-03-28T18:01:17.000Z
|
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter
code = 'print "Hello World"'
print(highlight(code, PythonLexer(), HtmlFormatter(style='bw', noclasses=True)))
| 32.571429
| 80
| 0.807018
| 27
| 228
| 6.814815
| 0.592593
| 0.195652
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.096491
| 228
| 6
| 81
| 38
| 0.893204
| 0
| 0
| 0
| 0
| 0
| 0.092105
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.6
| 0
| 0.6
| 0.4
| 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
|
0414b2198ab386abcdb241dbb2f7eeb2acc8b3bc
| 162
|
py
|
Python
|
qcfractal/dashboard/app.py
|
dgasmith/QCFractal
|
137cb91d4409a1395273239a9df668a314a1914b
|
[
"BSD-3-Clause"
] | null | null | null |
qcfractal/dashboard/app.py
|
dgasmith/QCFractal
|
137cb91d4409a1395273239a9df668a314a1914b
|
[
"BSD-3-Clause"
] | null | null | null |
qcfractal/dashboard/app.py
|
dgasmith/QCFractal
|
137cb91d4409a1395273239a9df668a314a1914b
|
[
"BSD-3-Clause"
] | null | null | null |
import dash
app = dash.Dash(__name__)
app.scripts.config.serve_locally = True
app.css.config.serve_locally = True
app.config.suppress_callback_exceptions = True
| 23.142857
| 46
| 0.814815
| 24
| 162
| 5.166667
| 0.541667
| 0.177419
| 0.290323
| 0.354839
| 0.403226
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.092593
| 162
| 6
| 47
| 27
| 0.843537
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0
| 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
|
041b00663a3badd641c6b9d41796ab7d7eb8cb27
| 1,613
|
py
|
Python
|
server/swagger_server/controllers/vouch_proxy_controller.py
|
fabric-testbed/vouch-proxy-oidc-demo
|
486d1bc0fbecc323f7c1c37dce6946b5dfba3c34
|
[
"MIT"
] | 1
|
2022-03-17T16:28:04.000Z
|
2022-03-17T16:28:04.000Z
|
server/swagger_server/controllers/vouch_proxy_controller.py
|
fabric-testbed/vouch-proxy-oidc-demo
|
486d1bc0fbecc323f7c1c37dce6946b5dfba3c34
|
[
"MIT"
] | null | null | null |
server/swagger_server/controllers/vouch_proxy_controller.py
|
fabric-testbed/vouch-proxy-oidc-demo
|
486d1bc0fbecc323f7c1c37dce6946b5dfba3c34
|
[
"MIT"
] | null | null | null |
import connexion
import six
from swagger_server.models.api_cilogon_tokens import ApiCilogonTokens # noqa: E501
from swagger_server.models.api_cookie_encoded import ApiCookieEncoded # noqa: E501
from swagger_server.models.api_jwt_decoded import ApiJwtDecoded # noqa: E501
from swagger_server.models.api_jwt_fully_decoded import ApiJwtFullyDecoded # noqa: E501
from swagger_server.models.status401_unauthorized import Status401Unauthorized # noqa: E501
from swagger_server.models.status500_internal_server_error import Status500InternalServerError # noqa: E501
from swagger_server import util
from swagger_server.response_code import vouch_proxy_controller as rc
def step1_encoded_vouch_cookie_get(): # noqa: E501
"""Encoded JWT as Vouch-Proxy cookie
GET encoded JWT as cookie from Vouch-Proxy # noqa: E501
:rtype: ApiCookieEncoded
"""
return rc.step1_encoded_vouch_cookie_get()
def step2_decoded_vouch_jwt_get(): # noqa: E501
"""Decoded JWT from Vouch-Proxy cookie
GET decoded JWT from the cookie (alg HS256) # noqa: E501
:rtype: ApiJwtDecoded
"""
return rc.step2_decoded_vouch_jwt_get()
def step3_decoded_cilogon_tokens_get(): # noqa: E501
"""CILogon Tokens
GET CILogon tokens with decoded PIdToken JWT (alg RS256) # noqa: E501
:rtype: ApiCilogonTokens
"""
return rc.step3_decoded_cilogon_tokens_get()
def step4_fully_decoded_jwt_get(): # noqa: E501
"""Fully decoded JWT
GET fully decoded JWT including CILogon tokens # noqa: E501
:rtype: ApiJwtFullyDecoded
"""
return rc.step4_fully_decoded_jwt_get()
| 28.803571
| 108
| 0.771234
| 212
| 1,613
| 5.603774
| 0.240566
| 0.094276
| 0.114478
| 0.116162
| 0.354377
| 0.143098
| 0.090909
| 0.06229
| 0
| 0
| 0
| 0.050445
| 0.16429
| 1,613
| 55
| 109
| 29.327273
| 0.830861
| 0.351519
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| true
| 0
| 0.555556
| 0
| 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
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
042e77dd753e45305e5ef0a6457d610e81c85a15
| 339
|
py
|
Python
|
tests/test_device_type.py
|
freundTech/pykdeconnect
|
3834c7196796e96259222c2d19c5e687f1e6bd9c
|
[
"MIT"
] | 1
|
2022-03-07T12:15:37.000Z
|
2022-03-07T12:15:37.000Z
|
tests/test_device_type.py
|
freundTech/pykdeconnect
|
3834c7196796e96259222c2d19c5e687f1e6bd9c
|
[
"MIT"
] | 13
|
2022-03-09T14:20:10.000Z
|
2022-03-21T10:16:24.000Z
|
tests/test_device_type.py
|
freundTech/pykdeconnect
|
3834c7196796e96259222c2d19c5e687f1e6bd9c
|
[
"MIT"
] | null | null | null |
from pykdeconnect.const import KdeConnectDeviceType
def test_device_type_alias():
assert KdeConnectDeviceType("smartphone") == KdeConnectDeviceType.PHONE
assert KdeConnectDeviceType("phone") == KdeConnectDeviceType.PHONE
def test_device_type_unknown():
assert KdeConnectDeviceType("foobar") == KdeConnectDeviceType.UNKNOWN
| 30.818182
| 75
| 0.811209
| 30
| 339
| 8.966667
| 0.5
| 0.289963
| 0.096654
| 0.126394
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106195
| 339
| 10
| 76
| 33.9
| 0.887789
| 0
| 0
| 0
| 0
| 0
| 0.061947
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.333333
| true
| 0
| 0.166667
| 0
| 0.5
| 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
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
0437f6deaf398fcd44e1427f3278186b1bbf528c
| 62
|
py
|
Python
|
test.py
|
mutazag/cv
|
f5693772bda4e2611808d862756bd9234f02176e
|
[
"MIT"
] | 1
|
2020-08-06T12:03:40.000Z
|
2020-08-06T12:03:40.000Z
|
test.py
|
mutazag/cv
|
f5693772bda4e2611808d862756bd9234f02176e
|
[
"MIT"
] | null | null | null |
test.py
|
mutazag/cv
|
f5693772bda4e2611808d862756bd9234f02176e
|
[
"MIT"
] | 1
|
2020-08-10T07:56:24.000Z
|
2020-08-10T07:56:24.000Z
|
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.show()
| 12.4
| 31
| 0.709677
| 12
| 62
| 3.666667
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.054545
| 0.112903
| 62
| 5
| 32
| 12.4
| 0.745455
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
0449675ee8369063da57998e0f8f191ff6bdac5c
| 93
|
py
|
Python
|
importing/apps.py
|
perimetro20/asiaticon
|
40e833d9ad3e3d8a97803fa10fec64f69ca622cb
|
[
"MIT"
] | null | null | null |
importing/apps.py
|
perimetro20/asiaticon
|
40e833d9ad3e3d8a97803fa10fec64f69ca622cb
|
[
"MIT"
] | null | null | null |
importing/apps.py
|
perimetro20/asiaticon
|
40e833d9ad3e3d8a97803fa10fec64f69ca622cb
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class ImportingConfig(AppConfig):
name = 'importing'
| 15.5
| 33
| 0.763441
| 10
| 93
| 7.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 1
| 0
| 1.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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
044bb089557addd98ddee16100e0225ebf00ff09
| 247
|
py
|
Python
|
curbd/__init__.py
|
ridecharge/curbd
|
6c078296bff75b0b6666a4d45d2316c87a20a773
|
[
"Apache-2.0"
] | null | null | null |
curbd/__init__.py
|
ridecharge/curbd
|
6c078296bff75b0b6666a4d45d2316c87a20a773
|
[
"Apache-2.0"
] | null | null | null |
curbd/__init__.py
|
ridecharge/curbd
|
6c078296bff75b0b6666a4d45d2316c87a20a773
|
[
"Apache-2.0"
] | null | null | null |
from curbd.curbd import Curbd
from curbd.curbd import CurbdService
from consul import Consul
def new_curbd(options):
consul_conn = Consul(options.host, options.port)
service = CurbdService(consul_conn)
return Curbd(service, options)
| 24.7
| 52
| 0.777328
| 33
| 247
| 5.727273
| 0.393939
| 0.095238
| 0.148148
| 0.21164
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 247
| 9
| 53
| 27.444444
| 0.904306
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0
| 0.428571
| 0
| 0.714286
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 1
| 0
| 1
| 0
|
0
| 4
|
044c223f7a2d0e300fbf3493df88379b682c8956
| 215
|
py
|
Python
|
amfe/linalg/eigen.py
|
ma-kast/AMfe
|
99686cc313fb8904a093fb42e6cf0b38f8cfd791
|
[
"BSD-3-Clause"
] | null | null | null |
amfe/linalg/eigen.py
|
ma-kast/AMfe
|
99686cc313fb8904a093fb42e6cf0b38f8cfd791
|
[
"BSD-3-Clause"
] | null | null | null |
amfe/linalg/eigen.py
|
ma-kast/AMfe
|
99686cc313fb8904a093fb42e6cf0b38f8cfd791
|
[
"BSD-3-Clause"
] | null | null | null |
# Copyright (c) 2018, Lehrstuhl fuer Angewandte Mechanik, Technische
# Universitaet Muenchen.
#
# Distributed under BSD-3-Clause License. See LICENSE-File for more information
#
"""
Module contains eigensolvers
"""
| 23.888889
| 79
| 0.772093
| 25
| 215
| 6.64
| 0.96
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.026882
| 0.134884
| 215
| 8
| 80
| 26.875
| 0.865591
| 0.916279
| 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
|
045c8d0d5d002df715162143948b86a4cfbac34c
| 104
|
py
|
Python
|
apps/message/settings/config.py
|
rainydaygit/testtcloudserver
|
8037603efe4502726a4d794fb1fc0a3f3cc80137
|
[
"MIT"
] | 349
|
2020-08-04T10:21:01.000Z
|
2022-03-23T08:31:29.000Z
|
apps/message/settings/config.py
|
rainydaygit/testtcloudserver
|
8037603efe4502726a4d794fb1fc0a3f3cc80137
|
[
"MIT"
] | 2
|
2021-01-07T06:17:05.000Z
|
2021-04-01T06:01:30.000Z
|
apps/message/settings/config.py
|
rainydaygit/testtcloudserver
|
8037603efe4502726a4d794fb1fc0a3f3cc80137
|
[
"MIT"
] | 70
|
2020-08-24T06:46:14.000Z
|
2022-03-25T13:23:27.000Z
|
try:
from public_config import *
except ImportError:
pass
PORT = 9030
SERVICE_NAME = 'message'
| 13
| 31
| 0.711538
| 13
| 104
| 5.538462
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.049383
| 0.221154
| 104
| 7
| 32
| 14.857143
| 0.839506
| 0
| 0
| 0
| 0
| 0
| 0.067308
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.166667
| 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
| 0
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
f092b33509fdc1658cde8a83c509161da61ccb5d
| 419
|
py
|
Python
|
challenges/fifo_animal_shelter/test_fifo_animal_shelter.py
|
seattlechem/data-structures-and-algorithms
|
376e465c0a5529ea7c5c4e972a9852b6340251ff
|
[
"MIT"
] | null | null | null |
challenges/fifo_animal_shelter/test_fifo_animal_shelter.py
|
seattlechem/data-structures-and-algorithms
|
376e465c0a5529ea7c5c4e972a9852b6340251ff
|
[
"MIT"
] | null | null | null |
challenges/fifo_animal_shelter/test_fifo_animal_shelter.py
|
seattlechem/data-structures-and-algorithms
|
376e465c0a5529ea7c5c4e972a9852b6340251ff
|
[
"MIT"
] | null | null | null |
import pytest
from .fifo_animal_shelter import AnimalShelter
from .cat import Cat
from .dog import Dog
@pytest.fixture
def empty_animalshelter():
return AnimalShelter()
def test_enqueue(empty_animalshelter):
new_dog = Dog('dog1')
# import pdb; pdb.set_trace()
empty_animalshelter.enqueue(new_dog)
empty_animalshelter.enqueue(new_dog)
assert type(empty_animalshelter.dequeue('Dog')) == 'Dog'
| 23.277778
| 60
| 0.756563
| 54
| 419
| 5.648148
| 0.425926
| 0.295082
| 0.163934
| 0.183607
| 0.203279
| 0
| 0
| 0
| 0
| 0
| 0
| 0.002801
| 0.147971
| 419
| 17
| 61
| 24.647059
| 0.851541
| 0.064439
| 0
| 0.166667
| 0
| 0
| 0.025641
| 0
| 0
| 0
| 0
| 0
| 0.083333
| 1
| 0.166667
| false
| 0
| 0.333333
| 0.083333
| 0.583333
| 0
| 0
| 0
| 0
| null | 1
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
f09a3646422bde70b246cf769b7d7e44764e03d7
| 29
|
py
|
Python
|
exercicios/ex001.py
|
AndradeLinux/Python
|
fef50a179b587b2e9a2031063ddb51210bba65b5
|
[
"MIT"
] | null | null | null |
exercicios/ex001.py
|
AndradeLinux/Python
|
fef50a179b587b2e9a2031063ddb51210bba65b5
|
[
"MIT"
] | null | null | null |
exercicios/ex001.py
|
AndradeLinux/Python
|
fef50a179b587b2e9a2031063ddb51210bba65b5
|
[
"MIT"
] | null | null | null |
msg='Olá, mundo!'
print(msg)
| 9.666667
| 17
| 0.655172
| 5
| 29
| 3.8
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.103448
| 29
| 2
| 18
| 14.5
| 0.730769
| 0
| 0
| 0
| 0
| 0
| 0.37931
| 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
|
f0bc2cf405f16781f66b9d4c28f5d844826c1391
| 203
|
py
|
Python
|
dotloop/loop_it.py
|
spentaur/dotloop-python
|
5374ab5f5e16f9b826438a9c4f051a4be53d433b
|
[
"MIT"
] | null | null | null |
dotloop/loop_it.py
|
spentaur/dotloop-python
|
5374ab5f5e16f9b826438a9c4f051a4be53d433b
|
[
"MIT"
] | null | null | null |
dotloop/loop_it.py
|
spentaur/dotloop-python
|
5374ab5f5e16f9b826438a9c4f051a4be53d433b
|
[
"MIT"
] | 1
|
2021-07-28T14:28:17.000Z
|
2021-07-28T14:28:17.000Z
|
from .bases import DotloopObject
class LoopIt(DotloopObject):
def post(self, **kwargs):
return self.fetch('post', json=kwargs, params={
'profile_id': self.profile_id
})
| 22.555556
| 55
| 0.630542
| 23
| 203
| 5.478261
| 0.695652
| 0.142857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.246305
| 203
| 8
| 56
| 25.375
| 0.823529
| 0
| 0
| 0
| 0
| 0
| 0.068966
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.166667
| 0.166667
| 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
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
f0c18e787d631f2d9b83a81d6ad64e7814c3391e
| 161
|
py
|
Python
|
problems/even-occuring-element/even-occuring-element-answer.py
|
lhayhurst/interview-with-python
|
8acf397cdd96cbf00334a567a837d6209507e41c
|
[
"MIT"
] | 201
|
2016-08-29T23:02:43.000Z
|
2022-03-28T14:15:29.000Z
|
problems/even-occuring-element/even-occuring-element-answer.py
|
Akash1507/interview-with-python
|
b5ce31c8bdca754a76762d2734dcf494a302e487
|
[
"MIT"
] | 5
|
2016-09-03T05:57:13.000Z
|
2018-03-10T06:09:30.000Z
|
problems/even-occuring-element/even-occuring-element-answer.py
|
Akash1507/interview-with-python
|
b5ce31c8bdca754a76762d2734dcf494a302e487
|
[
"MIT"
] | 85
|
2016-09-01T14:39:13.000Z
|
2022-03-17T08:16:54.000Z
|
##$$## ---------- TAGS ----------- ##$$##
##$$## even,occuring,element
##$$## --------- ENDTAGS --------- ##$$##
###### - Write your answer below - ######
| 26.833333
| 42
| 0.310559
| 9
| 161
| 5.555556
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.161491
| 161
| 5
| 43
| 32.2
| 0.37037
| 0.732919
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f0e3ea881cc1450ad26393bb40c683befacb60b2
| 213
|
py
|
Python
|
py/cidoc_crm_types/properties/p165i_is_incorporated_in.py
|
minorg/cidoc-crm-types
|
9018bdbf0658e4d28a87bc94543e467be45d8aa5
|
[
"Apache-2.0"
] | null | null | null |
py/cidoc_crm_types/properties/p165i_is_incorporated_in.py
|
minorg/cidoc-crm-types
|
9018bdbf0658e4d28a87bc94543e467be45d8aa5
|
[
"Apache-2.0"
] | null | null | null |
py/cidoc_crm_types/properties/p165i_is_incorporated_in.py
|
minorg/cidoc-crm-types
|
9018bdbf0658e4d28a87bc94543e467be45d8aa5
|
[
"Apache-2.0"
] | null | null | null |
from .p106i_forms_part_of import P106iFormsPartOf
from dataclasses import dataclass
@dataclass
class P165iIsIncorporatedIn(P106iFormsPartOf):
URI = "http://erlangen-crm.org/current/P165i_is_incorporated_in"
| 26.625
| 68
| 0.835681
| 25
| 213
| 6.88
| 0.84
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.07772
| 0.093897
| 213
| 7
| 69
| 30.428571
| 0.813472
| 0
| 0
| 0
| 0
| 0
| 0.262911
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 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
|
f0fe98c9b5a72e9eaa12ce7e23ce33b1913a0396
| 167
|
py
|
Python
|
__init__.py
|
Avgilles/houdini-project-manager
|
83f2227df3983067efe32605debb891a595bc93c
|
[
"MIT"
] | null | null | null |
__init__.py
|
Avgilles/houdini-project-manager
|
83f2227df3983067efe32605debb891a595bc93c
|
[
"MIT"
] | null | null | null |
__init__.py
|
Avgilles/houdini-project-manager
|
83f2227df3983067efe32605debb891a595bc93c
|
[
"MIT"
] | null | null | null |
# PYPANEL
# from importlib import reload
# from projectManager import project
#
# reload(project)
#
# def onCreateInterface():
# return project.onCreateInterface()
| 20.875
| 40
| 0.754491
| 16
| 167
| 7.875
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.149701
| 167
| 8
| 40
| 20.875
| 0.887324
| 0.904192
| 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
|
0b139a0eac29e365178c86a19e28c1c4f15209e8
| 133
|
py
|
Python
|
dvc/output/s3.py
|
farizrahman4u/dvc
|
a56c8bbab662c3792ae12aa7db6c40a42a23de50
|
[
"Apache-2.0"
] | 1
|
2020-08-12T22:51:45.000Z
|
2020-08-12T22:51:45.000Z
|
dvc/output/s3.py
|
farizrahman4u/dvc
|
a56c8bbab662c3792ae12aa7db6c40a42a23de50
|
[
"Apache-2.0"
] | null | null | null |
dvc/output/s3.py
|
farizrahman4u/dvc
|
a56c8bbab662c3792ae12aa7db6c40a42a23de50
|
[
"Apache-2.0"
] | 1
|
2020-11-28T11:47:48.000Z
|
2020-11-28T11:47:48.000Z
|
from dvc.output.base import BaseOutput
from ..tree.s3 import S3RemoteTree
class S3Output(BaseOutput):
TREE_CLS = S3RemoteTree
| 16.625
| 38
| 0.781955
| 17
| 133
| 6.058824
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035398
| 0.150376
| 133
| 7
| 39
| 19
| 0.876106
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 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
|
9bd09d39fac70cecaeb2ae3560b776d201a376dc
| 580
|
py
|
Python
|
tests/test_101.py
|
sungho-joo/leetcode2github
|
ce7730ef40f6051df23681dd3c0e1e657abba620
|
[
"MIT"
] | null | null | null |
tests/test_101.py
|
sungho-joo/leetcode2github
|
ce7730ef40f6051df23681dd3c0e1e657abba620
|
[
"MIT"
] | null | null | null |
tests/test_101.py
|
sungho-joo/leetcode2github
|
ce7730ef40f6051df23681dd3c0e1e657abba620
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
import pytest
"""
Test 101. Symmetric Tree
"""
@pytest.fixture(scope="session")
def init_variables_101():
from src.leetcode_101_symmetric_tree import Solution
solution = Solution()
def _init_variables_101():
return solution
yield _init_variables_101
class TestClass101:
def test_solution_0(self, init_variables_101):
assert init_variables_101().isSymmetric([1, 2, 2, 3, 4, 4, 3])
def test_solution_1(self, init_variables_101):
assert not init_variables_101().isSymmetric([1, 2, 2, None, 3, None, 3])
| 20.714286
| 80
| 0.701724
| 81
| 580
| 4.740741
| 0.419753
| 0.236979
| 0.291667
| 0.098958
| 0.291667
| 0.15625
| 0.15625
| 0
| 0
| 0
| 0
| 0.093418
| 0.187931
| 580
| 27
| 81
| 21.481481
| 0.721868
| 0.034483
| 0
| 0
| 0
| 0
| 0.013283
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 1
| 0.307692
| false
| 0
| 0.153846
| 0.076923
| 0.615385
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
9be4623859edee62880d8284b090db4a58eba242
| 128
|
py
|
Python
|
api/basic/__init__.py
|
fras2560/mlsb-platform
|
17aee2c1e220860b200662fd67d2fc697a3d8abb
|
[
"Apache-2.0"
] | 1
|
2016-05-06T15:37:35.000Z
|
2016-05-06T15:37:35.000Z
|
api/basic/__init__.py
|
Major-League-Summer-Baseball/mlsb-platform
|
ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4
|
[
"Apache-2.0"
] | 42
|
2021-03-12T23:18:30.000Z
|
2022-03-13T20:57:36.000Z
|
api/basic/__init__.py
|
Major-League-Summer-Baseball/mlsb-platform
|
ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4
|
[
"Apache-2.0"
] | 1
|
2019-04-21T23:24:54.000Z
|
2019-04-21T23:24:54.000Z
|
'''
@author: Dallas Fraser
@date: 2016-04-12
@organization: MLSB API
@summary: The package containing all the basic methods
'''
| 18.285714
| 54
| 0.734375
| 18
| 128
| 5.222222
| 0.944444
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072727
| 0.140625
| 128
| 6
| 55
| 21.333333
| 0.781818
| 0.929688
| 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
|
500a9ad36f6157525aadae8df14c7d2f5d4cd788
| 696
|
py
|
Python
|
App/handlers.py
|
gyankit/SacheFacts
|
ee2b383869acc7812dc6d80ea157390ab56a60d0
|
[
"MIT"
] | null | null | null |
App/handlers.py
|
gyankit/SacheFacts
|
ee2b383869acc7812dc6d80ea157390ab56a60d0
|
[
"MIT"
] | 1
|
2021-09-23T05:48:08.000Z
|
2021-09-23T05:48:08.000Z
|
App/handlers.py
|
gyankit/SacheFacts
|
ee2b383869acc7812dc6d80ea157390ab56a60d0
|
[
"MIT"
] | null | null | null |
from flask import render_template, request
from App import app
@app.errorhandler(403)
def unauthorised(e):
return render_template('errors/403.html', msg=e), 403
@app.errorhandler(404)
def page_not_found(e):
return render_template('errors/404.html', msg=e), 404
@app.errorhandler(405)
def method_not_allowed(e):
return render_template('errors/405.html', msg=e), 405
@app.errorhandler(500)
def internal_server_error(e):
return render_template('errors/500.html', msg=e), 500
app.register_error_handler(403, unauthorised)
app.register_error_handler(404, page_not_found)
app.register_error_handler(405, method_not_allowed)
app.register_error_handler(500, internal_server_error)
| 27.84
| 57
| 0.78592
| 106
| 696
| 4.924528
| 0.273585
| 0.1341
| 0.099617
| 0.16092
| 0.206897
| 0
| 0
| 0
| 0
| 0
| 0
| 0.076433
| 0.097701
| 696
| 25
| 58
| 27.84
| 0.754777
| 0
| 0
| 0
| 0
| 0
| 0.086083
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.111111
| 0.222222
| 0.555556
| 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
|
5011ae2a4c67186306a5461174537b99eb2ed1e6
| 1,467
|
py
|
Python
|
code/python/third_party/Deadline/ConnectionProperty.py
|
mikeroberts3000/ml-hypersim
|
75b363ee52fbdbd0cc9b554c34c1aadea404183e
|
[
"AML"
] | 10
|
2020-11-17T00:33:42.000Z
|
2022-02-16T23:31:58.000Z
|
code/python/third_party/Deadline/ConnectionProperty.py
|
mikeroberts3000/ml-hypersim
|
75b363ee52fbdbd0cc9b554c34c1aadea404183e
|
[
"AML"
] | null | null | null |
code/python/third_party/Deadline/ConnectionProperty.py
|
mikeroberts3000/ml-hypersim
|
75b363ee52fbdbd0cc9b554c34c1aadea404183e
|
[
"AML"
] | null | null | null |
import sys
import subprocess
import os
import json
import traceback
from . import DeadlineSend
class ConnectionProperty:
def __init__(self, address, useAuth=False):
self.address = address
self.useAuth = useAuth
self.user = ""
self.password = ""
def GetAddress(self):
return self.address
def SetAddress(self, address):
self.address = address
def GetAuthentication(self):
return self.user, self.password
def SetAuthentication(self, user, password):
self.user = user
self.password = password
def AuthenticationEnabled(self):
return self.useAuth
def EnableAuthentication(self, enable):
self.useAuth = enable
def __get__(self, commandString):
return DeadlineSend.send(self.address,commandString, "GET", self.useAuth, self.user, self.password)
def __put__(self, commandString, body):
return DeadlineSend.pSend(self.address, commandString, "PUT", body, self.useAuth, self.user, self.password)
def __delete__(self, commandString):
return DeadlineSend.send(self.address,commandString, "DELETE", self.useAuth, self.user, self.password)
def __post__(self, commandString, body):
return DeadlineSend.pSend(self.address, commandString, "POST", body, self.useAuth, self.user, self.password)
| 29.938776
| 116
| 0.638037
| 148
| 1,467
| 6.189189
| 0.22973
| 0.108079
| 0.122271
| 0.131004
| 0.497817
| 0.472707
| 0.439956
| 0.286026
| 0.148472
| 0
| 0
| 0
| 0.272665
| 1,467
| 49
| 116
| 29.938776
| 0.858482
| 0
| 0
| 0.060606
| 0
| 0
| 0.010899
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0.242424
| 0.181818
| 0.212121
| 0.757576
| 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
|
50190e532bbea46f5dfe666c4b0569515248a463
| 1,120
|
py
|
Python
|
subeana/models.py
|
izumin2000/izuminapp
|
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
|
[
"MIT"
] | null | null | null |
subeana/models.py
|
izumin2000/izuminapp
|
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
|
[
"MIT"
] | null | null | null |
subeana/models.py
|
izumin2000/izuminapp
|
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
|
[
"MIT"
] | null | null | null |
from django.db import models
# Create your models here.
class Channel(models.Model) :
name = models.CharField(default = "", max_length = 50)
isexist = models.BooleanField(default = True)
url = models.CharField(default = "", max_length = 50, blank = True, null = True)
def __str__(self):
return self.name
class Song(models.Model) :
title = models.CharField(default = "", max_length = 50)
lyrics = models.CharField(default = "", max_length = 5000)
url = models.CharField(default = "", max_length = 50, blank = True, null = True)
channel = models.ForeignKey("Channel", on_delete = models.DO_NOTHING, blank = True, null = True, related_name = "song_channel")
imitate = models.ForeignKey("Song", on_delete = models.DO_NOTHING, blank = True, null = True, related_name = "song_imitate")
isexist = models.BooleanField(default = True)
def __str__(self):
return self.title
class Ai(models.Model) :
lyrics = models.CharField(default="", max_length = 50)
isgood = models.BooleanField(default = False)
def __str__(self):
return self.lyrics
| 40
| 131
| 0.675
| 138
| 1,120
| 5.289855
| 0.297101
| 0.123288
| 0.180822
| 0.205479
| 0.671233
| 0.550685
| 0.29589
| 0.29589
| 0.29589
| 0.29589
| 0
| 0.01566
| 0.201786
| 1,120
| 28
| 132
| 40
| 0.800895
| 0.021429
| 0
| 0.333333
| 0
| 0
| 0.031963
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0
| 0.047619
| 0.142857
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
5020e9345e8b5334285af92b4ac73fa35e018bf3
| 48
|
py
|
Python
|
Modulo 2/Lista06/7.py
|
BelfortJoao/Programacao-1
|
2d463744379ad3e4b0f5882ad923aae7ff80197a
|
[
"MIT"
] | 2
|
2021-08-17T14:02:13.000Z
|
2021-08-19T02:37:28.000Z
|
Modulo 2/Lista06/7.py
|
BelfortJoao/Programacao-1
|
2d463744379ad3e4b0f5882ad923aae7ff80197a
|
[
"MIT"
] | null | null | null |
Modulo 2/Lista06/7.py
|
BelfortJoao/Programacao-1
|
2d463744379ad3e4b0f5882ad923aae7ff80197a
|
[
"MIT"
] | 1
|
2021-09-05T20:18:45.000Z
|
2021-09-05T20:18:45.000Z
|
x = [int(x*x) for x in range(1, 20, 2)]
print(x)
| 24
| 39
| 0.5625
| 13
| 48
| 2.076923
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 0.1875
| 48
| 2
| 40
| 24
| 0.589744
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
5045d4a6c16d4e5419b8e6c57566af746ac2d143
| 212
|
py
|
Python
|
src/catalog_engine/test/scraper_test.py
|
rxng8/Gettysburg-Course-Crawling-System
|
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
src/catalog_engine/test/scraper_test.py
|
rxng8/Gettysburg-Course-Crawling-System
|
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
src/catalog_engine/test/scraper_test.py
|
rxng8/Gettysburg-Course-Crawling-System
|
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
from scraper import CourseURLScraper
def test_course_URL_scraper():
sc = CourseURLScraper()
print(sc)
# if __name__ == '__main__':
# print("Testing all method...\n")
# test_course_URL_scraper()
| 21.2
| 38
| 0.693396
| 25
| 212
| 5.32
| 0.68
| 0.150376
| 0.195489
| 0.300752
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.183962
| 212
| 10
| 39
| 21.2
| 0.768786
| 0.438679
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.5
| 0.25
| 1
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
504b7dd9fb088fd703022ed753bd525ec4e0fdd1
| 401
|
py
|
Python
|
bob/db/base/script/db.py
|
bioidiap/bob.db.base
|
714d2f7b605aa6480f447b92127678444971ca64
|
[
"BSD-3-Clause"
] | null | null | null |
bob/db/base/script/db.py
|
bioidiap/bob.db.base
|
714d2f7b605aa6480f447b92127678444971ca64
|
[
"BSD-3-Clause"
] | 4
|
2016-06-17T11:57:43.000Z
|
2016-07-28T18:13:19.000Z
|
bob/db/base/script/db.py
|
bioidiap/bob.db.base
|
714d2f7b605aa6480f447b92127678444971ca64
|
[
"BSD-3-Clause"
] | 2
|
2016-03-08T11:14:51.000Z
|
2016-07-28T16:12:55.000Z
|
"""The main entry for bob.db (click-based) scripts.
This adds a ``db`` sub-command to the ``bob`` command.
"""
import click
import pkg_resources
from click_plugins import with_plugins
from bob.extension.scripts.click_helper import AliasedGroup
@with_plugins(pkg_resources.iter_entry_points('bob.db.cli'))
@click.group(cls=AliasedGroup)
def db():
"""Database management commands."""
pass
| 26.733333
| 60
| 0.750623
| 58
| 401
| 5.051724
| 0.586207
| 0.03413
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127182
| 401
| 14
| 61
| 28.642857
| 0.837143
| 0.334165
| 0
| 0
| 0
| 0
| 0.039841
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| true
| 0.125
| 0.5
| 0
| 0.625
| 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
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
aca7fb456e43167f872d0ed4577dd17ebdb52b83
| 213
|
py
|
Python
|
Programe something fun.py
|
NickYxy/JustPractice
|
d8b6eacf12da2bef2b3ff4e1f8bc8b53c00bb619
|
[
"MIT"
] | null | null | null |
Programe something fun.py
|
NickYxy/JustPractice
|
d8b6eacf12da2bef2b3ff4e1f8bc8b53c00bb619
|
[
"MIT"
] | null | null | null |
Programe something fun.py
|
NickYxy/JustPractice
|
d8b6eacf12da2bef2b3ff4e1f8bc8b53c00bb619
|
[
"MIT"
] | null | null | null |
from bottle import route, run, template
@route('/hello/<name>')
def index(name):
return template('<b>Hello {{name}}</b>', name=name)
#ajax('aaa.txt?t=' + new Date().getTime(), function(str){}, fucntion{})
| 21.3
| 71
| 0.633803
| 30
| 213
| 4.5
| 0.733333
| 0.133333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126761
| 213
| 9
| 72
| 23.666667
| 0.725806
| 0.328639
| 0
| 0
| 0
| 0
| 0.241135
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 0.75
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
acc30545ce261ac97f78b5cfaf626f49fa34cc30
| 135
|
py
|
Python
|
conversion/test_conversion.py
|
sheecegardezi/PyRate-2.0
|
0acd4a27f2c16a012606e1078e3a5c44b86a276d
|
[
"Apache-2.0"
] | null | null | null |
conversion/test_conversion.py
|
sheecegardezi/PyRate-2.0
|
0acd4a27f2c16a012606e1078e3a5c44b86a276d
|
[
"Apache-2.0"
] | null | null | null |
conversion/test_conversion.py
|
sheecegardezi/PyRate-2.0
|
0acd4a27f2c16a012606e1078e3a5c44b86a276d
|
[
"Apache-2.0"
] | null | null | null |
# get list of original dataset
# convert it using new script
# read newly created dataset
# read legacy dataset
# compare the results
| 19.285714
| 30
| 0.77037
| 20
| 135
| 5.2
| 0.85
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.192593
| 135
| 6
| 31
| 22.5
| 0.954128
| 0.911111
| 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
|
acc68fadb01abe3d8f5e9d98fc435e2ae84e88e5
| 368
|
py
|
Python
|
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/tools/dcheck_macros.py
|
wterkaj/ApertusVR
|
424ec5515ae08780542f33cc4841a8f9a96337b3
|
[
"MIT"
] | 158
|
2016-11-17T19:37:51.000Z
|
2022-03-21T19:57:55.000Z
|
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/tools/dcheck_macros.py
|
wterkaj/ApertusVR
|
424ec5515ae08780542f33cc4841a8f9a96337b3
|
[
"MIT"
] | 94
|
2016-11-18T09:55:57.000Z
|
2021-01-14T08:50:40.000Z
|
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/tools/dcheck_macros.py
|
wterkaj/ApertusVR
|
424ec5515ae08780542f33cc4841a8f9a96337b3
|
[
"MIT"
] | 51
|
2017-05-24T10:20:25.000Z
|
2022-03-17T15:07:02.000Z
|
macro DCHECK(x) = do { if (!(x)) (process._rawDebug("DCHECK: x == true"), process.abort()) } while (0);
macro DCHECK_EQ(a, b) = DCHECK((a) === (b));
macro DCHECK_GE(a, b) = DCHECK((a) >= (b));
macro DCHECK_GT(a, b) = DCHECK((a) > (b));
macro DCHECK_LE(a, b) = DCHECK((a) <= (b));
macro DCHECK_LT(a, b) = DCHECK((a) < (b));
macro DCHECK_NE(a, b) = DCHECK((a) !== (b));
| 46
| 103
| 0.559783
| 63
| 368
| 3.15873
| 0.301587
| 0.120603
| 0.241206
| 0.271357
| 0.577889
| 0.527638
| 0.527638
| 0
| 0
| 0
| 0
| 0.003215
| 0.154891
| 368
| 7
| 104
| 52.571429
| 0.636656
| 0
| 0
| 0
| 0
| 0
| 0.046196
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
acdf09fb67299b2a4d7753647937cced709f649f
| 1,225
|
py
|
Python
|
imouto/magicroute.py
|
bakalab/imouto
|
01944746d4f7530a741bcb082866e18c48d07f3a
|
[
"BSD-3-Clause"
] | 9
|
2017-06-18T06:03:00.000Z
|
2019-05-07T10:06:22.000Z
|
imouto/magicroute.py
|
bakalab/imouto
|
01944746d4f7530a741bcb082866e18c48d07f3a
|
[
"BSD-3-Clause"
] | 3
|
2017-08-05T08:01:42.000Z
|
2017-12-08T01:58:33.000Z
|
imouto/magicroute.py
|
bakalab/imouto
|
01944746d4f7530a741bcb082866e18c48d07f3a
|
[
"BSD-3-Clause"
] | null | null | null |
from imouto.web import Application
from imouto.route import URLSpec
class MagicRoute:
__slots__ = ['_magic_route', 'get', 'post', 'head', 'put',
'patch', 'trace', 'options', 'connect', 'delete']
class Route:
def __init__(self, method, path):
self.method = method
self.path = path
def __gt__(self, handler):
# TODO refactoring the ugly code, try to replace the Slot
app = Application()
if self.path in app._handlers:
setattr(app._handlers[self.path].handler_class,
self.method.lower(), handler)
else:
obj = MagicRoute()
setattr(obj, '_magic_route', True)
setattr(obj, self.method.lower(), handler)
# Application is singleton
app._handlers[self.path] = URLSpec(self.path, obj)
class HTTPMethod(type):
def __truediv__(self, path):
return Route(self.__name__, path)
class GET(metaclass=HTTPMethod):
pass
class POST(metaclass=HTTPMethod):
pass
class HEAD(metaclass=HTTPMethod):
pass
class OPTIONS(metaclass=HTTPMethod):
pass
class DELETE(metaclass=HTTPMethod):
pass
class PUT(metaclass=HTTPMethod):
pass
| 21.12069
| 66
| 0.623673
| 137
| 1,225
| 5.372263
| 0.394161
| 0.065217
| 0.1875
| 0.190217
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.267755
| 1,225
| 57
| 67
| 21.491228
| 0.820513
| 0.065306
| 0
| 0.176471
| 0
| 0
| 0.059545
| 0
| 0
| 0
| 0
| 0.017544
| 0
| 1
| 0.088235
| false
| 0.176471
| 0.058824
| 0.029412
| 0.470588
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
4a195da4e4e59bef0f4858c98b8b3b635a85fd57
| 89
|
py
|
Python
|
home_user/dj_iot/iotdata/apps.py
|
IoTree/IoTree42
|
b7bb31f39add4e719a04e63cdd336983f8017137
|
[
"MIT"
] | 4
|
2020-06-04T08:43:54.000Z
|
2021-11-15T17:29:23.000Z
|
home_user/dj_iot/iotdata/apps.py
|
IoTree/IoTree42
|
b7bb31f39add4e719a04e63cdd336983f8017137
|
[
"MIT"
] | 3
|
2020-05-02T10:53:03.000Z
|
2021-05-20T13:17:08.000Z
|
home_user/dj_iot/iotdata/apps.py
|
IoTree/IoTree42
|
b7bb31f39add4e719a04e63cdd336983f8017137
|
[
"MIT"
] | 3
|
2020-10-27T13:06:51.000Z
|
2022-01-08T14:56:36.000Z
|
from django.apps import AppConfig
class IotdataConfig(AppConfig):
name = 'iotdata'
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.