id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
14,800
admin.py
osm-search_Nominatim/src/nominatim_db/tools/admin.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for database analysis and maintenance. """ from typing import Optional, Tuple, Any, cast import...
4,196
Python
.py
87
36.91954
89
0.586797
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,801
exec_utils.py
osm-search_Nominatim/src/nominatim_db/tools/exec_utils.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Helper functions for executing external programs. """ from typing import Any, Mapping, List, Optional imp...
3,826
Python
.py
84
38.119048
100
0.625471
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,802
tiger_data.py
osm-search_Nominatim/src/nominatim_db/tools/tiger_data.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for importing tiger data and handling tarbar and directory files """ from typing import Any, Te...
5,086
Python
.py
112
34.910714
98
0.59272
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,803
database_import.py
osm-search_Nominatim/src/nominatim_db/tools/database_import.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for setting up and importing a new Nominatim database. """ from typing import Tuple, Optional, ...
10,605
Python
.py
217
37.976959
95
0.608595
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,804
freeze.py
osm-search_Nominatim/src/nominatim_db/tools/freeze.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for removing unnecessary data from the database. """ from typing import Optional from pathlib i...
1,512
Python
.py
46
28.521739
94
0.671703
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,805
sp_wiki_loader.py
osm-search_Nominatim/src/nominatim_db/tools/special_phrases/sp_wiki_loader.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Module containing the SPWikiLoader class. """ from typing import Iterable import re import logging f...
2,566
Python
.py
58
34.327586
91
0.558847
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,806
importer_statistics.py
osm-search_Nominatim/src/nominatim_db/tools/special_phrases/importer_statistics.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Contains the class which handles statistics for the import of special phrases. """ import logging...
2,507
Python
.py
69
28.057971
98
0.576781
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,807
special_phrase.py
osm-search_Nominatim/src/nominatim_db/tools/special_phrases/special_phrase.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Module containing the class SpecialPhrase. This class is a model used to transfer a special phra...
1,322
Python
.py
32
34.875
89
0.635019
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,808
sp_csv_loader.py
osm-search_Nominatim/src/nominatim_db/tools/special_phrases/sp_csv_loader.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Module containing the SPCsvLoader class. The class allows to load phrases from a csv file. """ f...
1,370
Python
.py
37
30.810811
94
0.648036
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,809
sp_importer.py
osm-search_Nominatim/src/nominatim_db/tools/special_phrases/sp_importer.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Module containing the class handling the import of the special phrases. Phrases are analyzed...
11,360
Python
.py
221
39.60181
97
0.617536
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,810
url_utils.py
osm-search_Nominatim/src/nominatim_db/utils/url_utils.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Helper functions for accessing URL. """ from typing import IO import logging import urllib.request as url...
927
Python
.py
26
31.692308
76
0.705357
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,811
centroid.py
osm-search_Nominatim/src/nominatim_db/utils/centroid.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for computation of centroids. """ from typing import Tuple, Any from collections.abc import Col...
1,514
Python
.py
39
31.205128
74
0.617747
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,812
indexer.py
osm-search_Nominatim/src/nominatim_db/indexer/indexer.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Main work horse for indexing (computing addresses) the database. """ from typing import cast, List, Any, ...
9,382
Python
.py
186
35.473118
95
0.553417
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,813
runners.py
osm-search_Nominatim/src/nominatim_db/indexer/runners.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Mix-ins that provide the actual commands for the indexer for various indexing tasks. """ from typing impo...
6,283
Python
.py
127
39.251969
98
0.609465
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,814
progress.py
osm-search_Nominatim/src/nominatim_db/indexer/progress.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Helpers for progress logging. """ import logging from datetime import datetime LOG = logging.getLogger()...
2,555
Python
.py
59
34.932203
93
0.619911
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,815
icu_tokenizer.py
osm-search_Nominatim/src/nominatim_db/tokenizer/icu_tokenizer.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Tokenizer implementing normalisation as used before Nominatim 4 but using libICU instead of the PostgreSQ...
37,951
Python
.py
751
34.83755
102
0.53064
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,816
place_sanitizer.py
osm-search_Nominatim/src/nominatim_db/tokenizer/place_sanitizer.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Handler for cleaning name and address tags in place information before it is handed to the token analysis...
1,957
Python
.py
42
38.928571
96
0.674895
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,817
factory.py
osm-search_Nominatim/src/nominatim_db/tokenizer/factory.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Functions for creating a tokenizer or initialising the right one for an existing database. A tokenizer i...
3,521
Python
.py
77
40.714286
83
0.730567
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,818
icu_rule_loader.py
osm-search_Nominatim/src/nominatim_db/tokenizer/icu_rule_loader.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Helper class to create ICU rules from a configuration file. """ from typing import Mapping, Any, Dict, Op...
7,503
Python
.py
150
40.253333
93
0.65362
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,819
base.py
osm-search_Nominatim/src/nominatim_db/tokenizer/base.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Abstract class definitions for tokenizers. These base classes are here mainly for documentation purposes....
8,789
Python
.py
187
36.251337
82
0.63156
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,820
icu_token_analysis.py
osm-search_Nominatim/src/nominatim_db/tokenizer/icu_token_analysis.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Container class collecting all components required to transform an OSM name into a Nominatim token. """ f...
1,750
Python
.py
36
38.666667
82
0.643234
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,821
tag_japanese.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/tag_japanese.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ This sanitizer maps OSM data to Japanese block addresses. It replaces blocknumber and housenumber with ho...
3,356
Python
.py
108
22.87963
86
0.60142
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,822
tag_analyzer_by_language.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/tag_analyzer_by_language.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ This sanitizer sets the `analyzer` property depending on the language of the tag. The language is taken f...
3,839
Python
.py
76
40.157895
89
0.626471
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,823
config.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/config.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Configuration for Sanitizers. """ from typing import Sequence, Union, Optional, Pattern, Callable, Any, T...
6,579
Python
.py
121
41.272727
93
0.612943
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,824
strip_brace_terms.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/strip_brace_terms.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ This sanitizer creates additional name variants for names that have addendums in brackets (e.g. "Halle (S...
1,151
Python
.py
29
33.827586
79
0.671441
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,825
clean_postcodes.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/clean_postcodes.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Sanitizer that filters postcodes by their officially allowed pattern. Arguments: convert-to-address:...
3,067
Python
.py
61
39.672131
87
0.640107
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,826
delete_tags.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/delete_tags.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Sanitizer which prevents certain tags from getting into the search index. It remove tags which ma...
5,243
Python
.py
97
42.319588
96
0.626475
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,827
split_name_list.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/split_name_list.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Sanitizer that splits lists of names into their components. Arguments: delimiters: Define the set of...
1,152
Python
.py
32
29.78125
78
0.663971
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,828
base.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/base.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Common data types and protocols for sanitizers. """ from typing import Optional, List, Mapping, Callable ...
2,152
Python
.py
51
33.921569
83
0.644636
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,829
clean_tiger_tags.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/clean_tiger_tags.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Sanitizer that preprocesses tags from the TIGER import. It makes the following changes: * remove state ...
1,334
Python
.py
36
31.666667
77
0.673137
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,830
clean_housenumbers.py
osm-search_Nominatim/src/nominatim_db/tokenizer/sanitizers/clean_housenumbers.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Sanitizer that preprocesses address tags for house numbers. The sanitizer allows to * define which tags ...
3,022
Python
.py
62
39.290323
81
0.648878
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,831
generic_mutation.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/generic_mutation.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Creator for mutation variants for the generic token analysis. """ from typing import Sequence, Iterable, ...
2,070
Python
.py
46
37.717391
91
0.669151
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,832
config_variants.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/config_variants.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Parser for configuration for variants. """ from typing import Any, Iterator, Tuple, List, Optional, Set, ...
4,496
Python
.py
108
32.842593
86
0.591921
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,833
housenumbers.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/housenumbers.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Specialized processor for housenumbers. Analyses common housenumber patterns and creates variants for the...
2,462
Python
.py
56
37.928571
117
0.667647
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,834
postcodes.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/postcodes.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2022 by the Nominatim developer community. # For a full list of authors see the git log. """ Specialized processor for postcodes. Supports a 'lookup' variant of the token, which produces variants wi...
2,409
Python
.py
51
41.254902
114
0.706911
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,835
generic.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/generic.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Generic processor for names that creates abbreviation variants. """ from typing import Mapping, Dict, Any...
5,620
Python
.py
119
35.445378
94
0.587934
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,836
base.py
osm-search_Nominatim/src/nominatim_db/tokenizer/token_analysis/base.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Common data types and protocols for analysers. """ from typing import Mapping, List, Any from ...typing ...
4,095
Python
.py
80
38.175
84
0.617654
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,837
paths.py
osm-search_Nominatim/packaging/nominatim-db/extra_src/nominatim_db/paths.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Path settings for extra data used by Nominatim. """ from pathlib import Path DATA_DIR = (Path(__file__) ...
425
Python
.py
13
31.615385
58
0.708029
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,838
paths.py
osm-search_Nominatim/packaging/nominatim-api/extra_src/paths.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. # For a full list of authors see the git log. """ Path settings for extra data used by Nominatim. """ from pathlib import Path DATA_DIR = None SQLLIB_DIR ...
401
Python
.py
13
29.769231
73
0.72093
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,839
paths-py-no-php.tmpl
osm-search_Nominatim/cmake/paths-py-no-php.tmpl
# SPDX-License-Identifier: GPL-2.0-only # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2022 by the Nominatim developer community. # For a full list of authors see the git log. """ Path settings for extra data used by Nominatim (installed version). """ from pathlib import Path SQLLIB_DIR ...
475
Python
.py
13
35.461538
67
0.737527
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,840
mk_install_instructions.py
osm-search_Nominatim/docs/mk_install_instructions.py
# SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of Nominatim. (https://nominatim.org) # # Copyright (C) 2024 by the Nominatim developer community. from pathlib import Path import mkdocs_gen_files VAGRANT_PATH = Path(__file__, '..', '..', 'vagrant').resolve() for infile in VAGRANT_PATH.glob('Install...
1,080
Python
.py
27
31.703704
78
0.575382
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,841
create-manpage.py
osm-search_Nominatim/man/create-manpage.py
import sys import os from pathlib import Path sys.path.append(str(Path(__file__, '..', '..', 'src').resolve())) from nominatim_db.cli import get_set_parser def get_parser(): parser = get_set_parser() return parser.parser
233
Python
.py
8
26.625
65
0.705882
osm-search/Nominatim
3,062
711
96
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,842
setup.py
selfspy_selfspy/setup.py
import os import platform # dep_link = [] if platform.system() == 'Darwin': req_file = 'osx-requirements.txt' elif platform.system() == "Windows": req_file = "win-requirements.txt" else: req_file = 'requirements.txt' #dep_link = ['http://python-xlib.svn.sourceforge.net/viewvc/python-xlib/tags/xlib_0_15...
1,016
Python
.py
27
31.444444
116
0.640244
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,843
com.github.gurgeh.selfspy.plist
selfspy_selfspy/com.github.gurgeh.selfspy.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.github.gurgeh.selfspy</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/selfs...
400
Python
.py
15
23.133333
52
0.642487
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,844
models.py
selfspy_selfspy/selfspy/models.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
6,721
Python
.py
159
35.672956
105
0.663743
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,845
sniff_cocoa.py
selfspy_selfspy/selfspy/sniff_cocoa.py
# Copyright 2012 Bjarte Johansen # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy ...
10,236
Python
.py
258
27.341085
103
0.538508
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,846
sniff_win.py
selfspy_selfspy/selfspy/sniff_win.py
# -*- coding: utf-8 -*- # Copyright 2012 Morten Linderud # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any la...
4,695
Python
.py
121
29.371901
90
0.589074
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,847
check_password.py
selfspy_selfspy/selfspy/check_password.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
2,083
Python
.py
34
54.617647
771
0.691328
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,848
config.py
selfspy_selfspy/selfspy/config.py
#!/usr/bin/env python # Copyright 2012 Bjarte Johansen # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any lat...
795
Python
.py
17
45.411765
70
0.774611
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,849
__init__.py
selfspy_selfspy/selfspy/__init__.py
#!/usr/bin/env python # Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any late...
6,254
Python
.py
115
46.686957
456
0.680806
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,850
sniff_x.py
selfspy_selfspy/selfspy/sniff_x.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
8,152
Python
.py
192
30.463542
94
0.56321
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,851
stats.py
selfspy_selfspy/selfspy/stats.py
#!/usr/bin/env python # Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any late...
24,374
Python
.py
472
41.432203
606
0.60306
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,852
password_dialog.py
selfspy_selfspy/selfspy/password_dialog.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
4,290
Python
.py
117
29.153846
90
0.640901
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,853
activity_store.py
selfspy_selfspy/selfspy/activity_store.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
9,764
Python
.py
219
33.219178
161
0.581937
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,854
period.py
selfspy_selfspy/selfspy/period.py
# Copyright 2012 David Fendrich # This file is part of Selfspy # Selfspy is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Selfspy i...
1,938
Python
.py
47
32.787234
78
0.600959
selfspy/selfspy
2,404
231
72
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,855
setup.py
translate_pootle/setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import re im...
18,915
Python
.py
426
33.06338
84
0.575045
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,856
run_coveralls.py
translate_pootle/run_coveralls.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. # This file was cribbe...
1,014
Python
.py
29
30.758621
77
0.690816
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,857
manage.py
translate_pootle/manage.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import sys i...
705
Python
.py
19
35
81
0.756241
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,858
.pylint-travisrc
translate_pootle/.pylint-travisrc
# Travis specific pylint configuration # # ###################################### # # For Travis we only care to fail if a test fails, so no fancy reporting # # Adding new enabled checks: # 1. They must pass # 2. They must pass reliably, no false positives # 3. Prefer a checker over and individual check # 4. We don't i...
812
Python
.py
22
35.727273
117
0.73028
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,859
conf.py
translate_pootle/docs/conf.py
# -*- coding: utf-8 -*- # # Pootle documentation build configuration file # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commen...
14,845
Python
.py
347
40.170029
94
0.698943
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,860
jsonlexer.py
translate_pootle/docs/_ext/jsonlexer.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Sphinx extension to...
937
Python
.py
24
33.375
78
0.682068
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,861
pootle_docs.py
translate_pootle/docs/_ext/pootle_docs.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Sphinx extension with custom stuff for Po...
1,102
Python
.py
30
32.133333
77
0.702068
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,862
removed.py
translate_pootle/docs/_ext/removed.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Directove to describe a removal in a spec...
2,832
Python
.py
67
31.074627
78
0.579005
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,863
apache-wsgi.py
translate_pootle/docs/server/apache-wsgi.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import site import sys # You probably will need to change these paths to match your deployment, # most likely because of the Python version you are using. ALLDIRS = [ '/var/www/pootle/env/lib/python2.7/site-packages', '/var/www/pootle/env/lib/python2.7/...
1,407
Python
.py
39
32.487179
72
0.735793
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,864
plugin.py
translate_pootle/pytest_pootle/plugin.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from pkgutil import iter_modules import pyt...
2,236
Python
.py
63
28.47619
79
0.653401
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,865
search.py
translate_pootle/pytest_pootle/search.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from itertools import groupby from django.d...
4,667
Python
.py
127
28.76378
78
0.609013
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,866
factories.py
translate_pootle/pytest_pootle/factories.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from hashlib import md5 import factory fro...
6,277
Python
.py
159
31.993711
77
0.670251
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,867
utils.py
translate_pootle/pytest_pootle/utils.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Random utilities for tests.""" import io...
7,742
Python
.py
209
30.703349
77
0.655836
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,868
suite.py
translate_pootle/pytest_pootle/suite.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. def view_context_test(ctx, **assertions): ...
1,271
Python
.py
29
33.655172
79
0.51371
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,869
env.py
translate_pootle/pytest_pootle/env.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os from datetime import timedelta fr...
23,700
Python
.py
530
32.403774
84
0.593402
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,870
utils.py
translate_pootle/pytest_pootle/fs/utils.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. def parse_fs_action_args(action): comma...
988
Python
.py
27
29.740741
77
0.626694
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,871
signals.py
translate_pootle/pytest_pootle/fixtures/signals.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from contextlib import contextmanager impor...
3,264
Python
.py
93
25.451613
77
0.56038
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,872
pootle_terminology.py
translate_pootle/pytest_pootle/fixtures/pootle_terminology.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import pytest from translate.stor...
1,154
Python
.py
29
34.965517
77
0.725314
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,873
getters.py
translate_pootle/pytest_pootle/fixtures/getters.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from contextlib import contextmanager impor...
907
Python
.py
32
25.375
77
0.756977
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,874
import_export_fixtures.py
translate_pootle/pytest_pootle/fixtures/import_export_fixtures.py
# Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import shutil from collections import OrderedDict import py...
3,130
Python
.py
79
33.56962
78
0.703704
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,875
jsondata.py
translate_pootle/pytest_pootle/fixtures/jsondata.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict import ...
604
Python
.py
21
25.761905
77
0.693241
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,876
statistics.py
translate_pootle/pytest_pootle/fixtures/statistics.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture def anon_sub...
1,049
Python
.py
28
33.535714
77
0.728079
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,877
search.py
translate_pootle/pytest_pootle/fixtures/search.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict import ...
4,422
Python
.py
124
31.564516
79
0.672816
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,878
cache.py
translate_pootle/pytest_pootle/fixtures/cache.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture(scope='sessi...
540
Python
.py
13
39.384615
77
0.748092
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,879
dt.py
translate_pootle/pytest_pootle/fixtures/dt.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from datetime import datetime, timedelta im...
931
Python
.py
31
25.064516
77
0.696288
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,880
mock.py
translate_pootle/pytest_pootle/fixtures/mock.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Monkeypatching fixtures.""" from _pytest...
475
Python
.py
13
34.615385
77
0.751101
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,881
site.py
translate_pootle/pytest_pootle/fixtures/site.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import functools import inspect import os im...
7,026
Python
.py
198
29.282828
78
0.674878
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,882
debug.py
translate_pootle/pytest_pootle/fixtures/debug.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import functools import importlib import log...
1,268
Python
.py
42
25.5
77
0.702058
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,883
revision.py
translate_pootle/pytest_pootle/fixtures/revision.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture(autouse=True...
596
Python
.py
15
36.933333
77
0.747405
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,884
contributors.py
translate_pootle/pytest_pootle/fixtures/contributors.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict import ...
4,058
Python
.py
109
30.165138
77
0.6557
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,885
data.py
translate_pootle/pytest_pootle/fixtures/data.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest STATS_DATA = [ "max_unit...
654
Python
.py
23
25.391304
77
0.725962
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,886
views.py
translate_pootle/pytest_pootle/fixtures/views.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import functools import urllib from collecti...
15,942
Python
.py
410
32.482927
84
0.626696
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,887
formats.py
translate_pootle/pytest_pootle/fixtures/models/formats.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture def po(): ...
850
Python
.py
27
28.185185
77
0.74042
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,888
storefs.py
translate_pootle/pytest_pootle/fixtures/models/storefs.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os from collections import OrderedDic...
1,682
Python
.py
45
33.155556
77
0.705737
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,889
project.py
translate_pootle/pytest_pootle/fixtures/models/project.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import os import posixpath import shutil im...
4,296
Python
.py
121
29.85124
77
0.691638
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,890
user.py
translate_pootle/pytest_pootle/fixtures/models/user.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import copy import pytest from .language i...
4,196
Python
.py
127
27.755906
77
0.669978
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,891
config.py
translate_pootle/pytest_pootle/fixtures/models/config.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from collections import OrderedDict import ...
1,189
Python
.py
37
27.675676
77
0.567308
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,892
statistics.py
translate_pootle/pytest_pootle/fixtures/models/statistics.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture(scope="sessi...
787
Python
.py
22
31.272727
77
0.706579
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,893
language.py
translate_pootle/pytest_pootle/fixtures/models/language.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. """Language fixtures. NOTE: when adding new...
1,877
Python
.py
54
30.907407
77
0.727929
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,894
translation_project.py
translate_pootle/pytest_pootle/fixtures/models/translation_project.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest from pootle.core.delegate imp...
2,531
Python
.py
69
32.333333
77
0.741684
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,895
permission.py
translate_pootle/pytest_pootle/fixtures/models/permission.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest @pytest.fixture(scope="sessi...
1,820
Python
.py
47
32.829787
77
0.680524
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,896
vfolder.py
translate_pootle/pytest_pootle/fixtures/models/vfolder.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest VF_RULE_TESTS = [ "*", ...
569
Python
.py
19
27.263158
77
0.739852
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,897
unit.py
translate_pootle/pytest_pootle/fixtures/models/unit.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. import pytest from translate.storage.factory...
1,470
Python
.py
39
33.282051
77
0.734133
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,898
store.py
translate_pootle/pytest_pootle/fixtures/models/store.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. from __future__ import print_function from ...
17,251
Python
.py
422
32.770142
84
0.635966
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)
14,899
permission_set.py
translate_pootle/pytest_pootle/fixtures/models/permission_set.py
# -*- coding: utf-8 -*- # # Copyright (C) Pootle contributors. # # This file is a part of the Pootle project. It is distributed under the GPL3 # or later license. See the LICENSE file for a copy of the license and the # AUTHORS file for copyright and authorship information. def _require_permission_set(user, directory...
943
Python
.py
22
37.272727
77
0.718341
translate/pootle
1,486
288
526
GPL-3.0
9/5/2024, 5:11:58 PM (Europe/Amsterdam)