Dataset Viewer
Auto-converted to Parquet Duplicate
content
stringlengths
21
24.2k
avg_line_length
float64
10.4
231
max_line_length
int64
20
8.17k
alphanum_fraction
float64
0.25
0.82
licenses
sequence
repository_name
stringlengths
11
51
path
stringlengths
7
121
size
int64
21
24.2k
lang
stringclasses
1 value
nl_text
stringlengths
19
20.6k
nl_size
int64
19
20.6k
nl_ratio
float64
0.8
1.07
#----------------------------------------------------------------------------- # Copyright (c) 2015-2017, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this s...
39.538462
78
0.529183
[ "MIT" ]
JohnWJackson/arcadePython
venv/Lib/site-packages/PyInstaller/hooks/hook-netCDF4.py
514
Python
----------------------------------------------------------------------------- Copyright (c) 2015-2017, PyInstaller Development Team. Distributed under the terms of the GNU General Public License with exception for distributing bootloader. The full license is in the file COPYING.txt, distributed with this software.-----...
446
0.867704
# The MIT License (MIT) # # Copyright (c) 2015, Nicolas Sebrecht & contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights ...
41.419355
79
0.759346
[ "MIT" ]
Deepanshu2017/imapfw
imapfw/testing/libcore.py
1,284
Python
The MIT License (MIT) Copyright (c) 2015, Nicolas Sebrecht & contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
1,094
0.852025
# -*- coding: utf-8 -*- """ Authors: Tim Hessels Module: Collect/SRTM Description: This module downloads DEM data from http://earlywarning.usgs.gov/hydrodata/. Use the DEM functions to download and create DEM images in Gtiff format. Examples: from pyWAPOR.Collect import SRTM SRTM.DEM(Dir='C:/TempDEM4/', latlim=[29, ...
20.95
76
0.711217
[ "Apache-2.0" ]
DHI-GRAS/wapor-et-look
pyWAPOR/Collect/SRTM/__init__.py
419
Python
Authors: Tim Hessels Module: Collect/SRTM Description: This module downloads DEM data from http://earlywarning.usgs.gov/hydrodata/. Use the DEM functions to download and create DEM images in Gtiff format. Examples: from pyWAPOR.Collect import SRTM SRTM.DEM(Dir='C:/TempDEM4/', latlim=[29, 32], lonlim=[-113, -109]) ...
341
0.813842
"""Plot graphs from human-readable file formats."""
26
51
0.730769
[ "MIT" ]
Sean1708/uniplot
uniplot/__init__.py
52
Python
Plot graphs from human-readable file formats.
45
0.865385
# Configuration file for jupyter-notebook. #------------------------------------------------------------------------------ # Configurable configuration #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Sing...
36.942197
109
0.668388
[ "Apache-2.0" ]
TrinathY/pipeline
config/jupyter/jupyter_notebook_config.py
19,173
Python
Configuration file for jupyter-notebook.------------------------------------------------------------------------------ Configurable configuration------------------------------------------------------------------------------------------------------------------------------------------------------------ SingletonConfigura...
17,935
0.93543
# # Tencent is pleased to support the open source community by making Angel available. # # Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. # # Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of ...
31.967742
102
0.744702
[ "Apache-2.0", "BSD-3-Clause" ]
20100507/angel
angel-ps/python/build/lib/pyangel/running_mode.py
991
Python
Enum for running mode Tencent is pleased to support the open source community by making Angel available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obtain ...
793
0.800202
# MIT License # # Copyright (c) 2019 Red Hat, Inc. # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge,...
50.318182
80
0.775971
[ "MIT" ]
FilipSchad/packit
packit/cli/__init__.py
1,107
Python
MIT License Copyright (c) 2019 Red Hat, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
1,065
0.96206
# inclass/mongo_queries.py import pymongo import os from dotenv import load_dotenv import sqlite3 load_dotenv() DB_USER = os.getenv("MONGO_USER", default="OOPS") DB_PASSWORD = os.getenv("MONGO_PASSWORD", default="OOPS") CLUSTER_NAME = os.getenv("MONGO_CLUSTER_NAME", default="OOPS") connection_uri = f"mongodb+srv://{D...
26.685864
150
0.566314
[ "MIT" ]
ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases
assignment3/a3_mongo_queries_abw.py
10,194
Python
inclass/mongo_queries.py print(dir(client)) print("DB NAMES:", client.list_database_names()) > ['admin', 'local'] "ds14_db" or whatever you want to call it print("----------------") print("DB:", type(db), db) collection = db.ds14_pokemon_collection "ds14_collection" or whatever you want to call it print("-------------...
8,333
0.817442
# -*- coding: utf-8 -*- # # Python Github documentation build configuration file, created by # sphinx-quickstart on Tue Feb 3 23:23:15 2015. # # 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....
31.524164
79
0.71816
[ "MIT" ]
nicchub/PythonGithub
docs/conf.py
8,480
Python
-*- coding: utf-8 -*- Python Github documentation build configuration file, created by sphinx-quickstart on Tue Feb 3 23:23:15 2015. 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 v...
7,108
0.838208
''' TRIES Trie support search, insert, and deletion in O(L) time where L is length of the key why Trie? * With Trie, we can insert and find strings in O(L) time where L represent the length of a single word. This is obviously faster than BST. This is also faster than Hashing because of the ways it is im...
28.925
147
0.703544
[ "MIT" ]
Wmeng98/Leetcode
CTCI/Data Structures/Trees/tries.py
1,157
Python
TRIES Trie support search, insert, and deletion in O(L) time where L is length of the key why Trie? * With Trie, we can insert and find strings in O(L) time where L represent the length of a single word. This is obviously faster than BST. This is also faster than Hashing because of the ways it is impleme...
1,015
0.877269
# Configuration file with default options, # There are four main sections: General, Features, LQP and Learning corresponding to different # functionalities. You can disable any of the Features or Learning section (by commenting it out) according to your requirement. [General] # general options idir=/home/hussain/dat...
68.241379
256
0.698585
[ "BSD-3-Clause" ]
csgcmai/lqp_face
face-rec/config.py
3,958
Python
Configuration file with default options, There are four main sections: General, Features, LQP and Learning corresponding to different functionalities. You can disable any of the Features or Learning section (by commenting it out) according to your requirement. general options images directory path path where cropped_i...
3,347
0.845629
# -*- coding: utf-8 -*- # # python_exameple documentation build configuration file, created by # sphinx-quickstart on Fri Feb 26 00:29:33 2016. # # 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 fil...
32.511864
79
0.719737
[ "MIT" ]
bascloud/BASCloudAPI
pyBAScloudAPI/docs/conf.py
9,591
Python
-*- coding: utf-8 -*- python_exameple documentation build configuration file, created by sphinx-quickstart on Fri Feb 26 00:29:33 2016. 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...
8,018
0.835992
# Demo Python Datetime - The strftime() Method ''' The strftime() Method The datetime object has a method for formatting date objects into readable strings. The method is called strftime(), and takes one parameter, format, to specify the format of the returned string. Directive Description ...
57.333333
111
0.354236
[ "MIT" ]
luis2ra/py3-00-w3schools
0-python-tutorial/25-dates05_strftime23_z.py
2,408
Python
The strftime() Method The datetime object has a method for formatting date objects into readable strings. The method is called strftime(), and takes one parameter, format, to specify the format of the returned string. Directive Description Example %a ...
2,588
1.074751
#!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: Shijie Qin @license: Apache Licence @contact: qsj4work@gmail.com @site: https://shijieqin.github.io @software: PyCharm @file: __init__.py.py @time: 2018/11/8 3:13 PM """
17.928571
35
0.669323
[ "Apache-2.0" ]
shijieqin/flatfish
core/__init__.py
251
Python
@version: v1.0 @author: Shijie Qin @license: Apache Licence @contact: qsj4work@gmail.com @site: https://shijieqin.github.io @software: PyCharm @file: __init__.py.py @time: 2018/11/8 3:13 PM !/usr/bin/env python encoding: utf-8
237
0.944223
""" Listas Listas em Python funcionam como vetores/matrizes (arrays) em outras linguagens, com a diferença de serem DINÂMICO e também de podermos colocar QUALQUER tipo de dado. Linguagens C/Java: Arrays - Possuem tamanho e tipo de dado fixo; Ou seja, nestas linguagens se você criar um array do tipo int e com tamanh...
25.703812
116
0.712949
[ "MIT" ]
vdonoladev/aprendendo-programacao
Python/Programação_em_Python_Essencial/5- Coleções/listas.py
8,882
Python
Listas Listas em Python funcionam como vetores/matrizes (arrays) em outras linguagens, com a diferença de serem DINÂMICO e também de podermos colocar QUALQUER tipo de dado. Linguagens C/Java: Arrays - Possuem tamanho e tipo de dado fixo; Ou seja, nestas linguagens se você criar um array do tipo int e ...
8,938
1.019738
import re from pygbif.gbifutils import gbif_baseurl, bool2str, requests_argset, gbif_GET def search( taxonKey=None, repatriated=None, kingdomKey=None, phylumKey=None, classKey=None, orderKey=None, familyKey=None, genusKey=None, subgenusKey=None, scientificName=None, countr...
50.844282
250
0.676748
[ "MIT" ]
livatras/pygbif
pygbif/occurrences/search.py
20,897
Python
Search GBIF occurrences :param taxonKey: [int] A GBIF occurrence identifier :param q: [str] Simple search parameter. The value for this parameter can be a simple word or a phrase. :param spellCheck: [bool] If ``True`` ask GBIF to check your spelling of the value passed to the ``search`` parameter. IMPORTANT: This ...
16,767
0.802364
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. All rights reserved. # # 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 ...
36.172414
76
0.656816
[ "Apache-2.0" ]
HydAu/AzureSDKForPython
azure-mgmt-resource/azure/mgmt/resource/features/__init__.py
1,049
Python
coding=utf-8 -------------------------------------------------------------------------- Copyright (c) Microsoft and contributors. All rights reserved. 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...
883
0.841754
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
35.711538
79
0.661282
[ "MIT" ]
keathmilligan/flask-jwt-refresh
docs/conf.py
1,857
Python
Configuration file for the Sphinx documentation builder. This file only contains a selection of the most common options. For a full list see the documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html -- Path setup -------------------------------------------------------------- If extensions (or mod...
1,546
0.832526
# partesanato/__init__.py
13.5
26
0.777778
[ "MIT" ]
edgarbs1998/partesanato-server
src/partesanato/__init__.py
27
Python
partesanato/__init__.py
23
0.851852
# Copyright 2015 Ciara Kamahele-Sanfratello # # 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...
36.727273
85
0.75
[ "Apache-2.0" ]
ciarakamahele/sasy
simulator/Planners/Planner.py
808
Python
Copyright 2015 Ciara Kamahele-Sanfratello 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, so...
648
0.80198
End of preview. Expand in Data Studio

Dataset Card for "python_comment_code_ratio_08"

More Information needed

Downloads last month
9