blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
a8bc57e7b9636358a469235f83d9e06dd7c1bf0e
3f18a27cfea243d24be2d9428afad3bbd0ad6ec2
/gcamp_analysis_files_finished/180222-08-bottom-experiment/src/delta_video_config.py
989e334e7465dcf08bc26f105263ad6a24c65454
[ "MIT" ]
permissive
riffelllab/Mosquito-larvae-analyses-1
a4d7e8cd29b6481438798ed7b455a931f1f8c2b5
2701b1b2055d6ee1722898f0fa4e64a9b12e7b24
refs/heads/master
2023-01-19T04:18:56.894245
2020-10-16T19:01:08
2020-10-16T19:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
class Config: def __init__(self): self.basename = 'delta_video' self.directory = '/home/eleanor/Documents/gcamp_analysis_files_temp/180222-08-bottom-experiment/data' self.topics = ['/multi_tracker/1/delta_video',] self.record_length_hours = 1
[ "tabletopwhale@outlook.com" ]
tabletopwhale@outlook.com
62a7ddba3c3f9ec3e0cfaf00284c72841ec16e9d
687928e5bc8d5cf68d543005bb24c862460edcfc
/nssrc/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicylabel_sslpolicy_binding.py
bb2b0192c9040431360e0a21ca878f47addcb79c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
mbs91/nitro
c6c81665d6abd04de8b9f09554e5e8e541f4a2b8
be74e1e177f5c205c16126bc9b023f2348788409
refs/heads/master
2021-05-29T19:24:04.520762
2015-06-26T02:03:09
2015-06-26T02:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,488
py
# # Copyright (c) 2008-2015 Citrix Systems, 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 l...
[ "bensassimaha@gmail.com" ]
bensassimaha@gmail.com
20544d415fefef5a3cdeef196113798818d32e24
1588a1d601d29c18942d220657185d3bf7b17160
/programmers/level3/pro12979.py
9eedf137f30657867380e7152b1ebc68e0008148
[]
no_license
geonwoomun/AlgorithmStudy
1f8148e981beebd2e6f70e65193ce445fa59df96
d43b624aad80f10d687a8f4b37cc79d88fc772b3
refs/heads/master
2020-08-01T05:24:26.980370
2020-07-15T05:04:35
2020-07-15T05:04:35
210,878,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
# 프로그래머스 기지국 설치 # 풀다가 50점 정도는 나오는데 더 이상 풀기 어려워서... 블로그 참고 했습니다. # 좀 더 단순하고 효율적으로 생각하는 방법을 길러야겠다.. import math def solution(n, stations, w): result = 0 distance = [] for i in range(1, len(stations)): distance.append((stations[i] -w -1) - (stations[i-1] +w)) # 뒤의 기지국과 앞의 기지국 사이의 거리를 잰다. d...
[ "ansejrrhkd@naver.com" ]
ansejrrhkd@naver.com
9d3ed49cac3834d5be43d76726bc795f44e0a3c5
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/carbon/common/lib/aiming.py
0091bdb2195110fac1d6ee59e5cdd282d592b617
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
#Embedded file name: carbon/common/lib\aiming.py """ Constants for the AI aiming system. """ AIMING_VALID_TARGET_GAZE_ID = 1 AIMING_VALID_TARGET_COMBAT_ID = 2 AIMING_CLIENTSERVER_FLAG_CLIENT = 1 AIMING_CLIENTSERVER_FLAG_SERVER = 2 AIMING_CLIENTSERVER_FLAG_BOTH = AIMING_CLIENTSERVER_FLAG_CLIENT | AIMING_CLIENTSERVER_FLA...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
6ff33ad59dc302faa0e2bc760b2c46e5e5f389c5
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/HUAWEI-SWITCH-L2MAM-EXT-MIB.py
41d6ca43ecd8951b1d1366acb16a4a65062a8545
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
13,606
py
# # PySNMP MIB module HUAWEI-SWITCH-L2MAM-EXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-SWITCH-L2MAM-EXT-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:48:46 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
fc9e43bf3077454377017ccba304ace293c1bc05
214e67e48b5f9c24bd64d9c04c94db86ee0c85e0
/arcerojas/Propietario/urls.py
98ae012e41de1138d6b45a94c070f8f795612e75
[]
no_license
efnaranjo6/arcerojas
238542f11a91958cf5d3221781c8425c23a8a1c1
ace90508d2a95f837c255f9245af3d1bff0d8f02
refs/heads/main
2023-08-11T10:40:07.196737
2021-09-17T21:20:46
2021-09-17T21:20:46
407,409,322
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
from django.urls import path from .views import Propietarioview,Propietarioinsertar,Propietarioeditar,Propietarioeliminar urlpatterns = [ path('', Propietarioview.as_view(), name='propietarios'), path('propietario/new/', Propietarioinsertar.as_view(), name='Insertar'), path('propietario/Editar/<int:pk>', P...
[ "efnaranjo6@misena.edu.co" ]
efnaranjo6@misena.edu.co
5b8e8640194cc124752bcf19faabd9197a61a886
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/wikipedia/testcase/interestallcases/testcase2_008_2.py
7697a7118f975926627a9d91d9819390182e2f4e
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
5,859
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
b6008a92acebeb1a4b43cc9e053f074773796fb9
00b0cf3d93b7033e1f419b49a0278f5d463733b0
/script1.py
4f5b757d7c19b4eb20f0bd6b2e4b5a1aebbcf2d4
[]
no_license
aramidetosin/Nornir-BGP-OSPF
df46364b439fbfaa53542eeffbc39eba415fa950
c6837d109c8ce33053af3b1c023952b2cd315c9c
refs/heads/master
2022-12-10T06:11:18.312519
2020-09-13T08:37:18
2020-09-13T08:37:18
288,286,062
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
from pyats.async_ import pcall from genie.conf import Genie from genie.utils import Dq from genie.testbed import load from rich import print def get_ospf(hostname, dev): #get show output from routing table parsed = dev.parse('show ip route') # use DQ to parse the OSPF routes from the routing table get_...
[ "aoluwatosin10@gmail.com" ]
aoluwatosin10@gmail.com
fd01446c2f4d6707e0f766fe7bd1160a36c15b5b
358519772669c73092f625f630722c38e1d33783
/mccetools/examples/titrateHEWL_e8.py
cc186c9419106ff7bf6afa5e57a1598f9ca8d378
[]
no_license
minghao2016/mmtools
e7e61aca084498408ceae965dd6c9450ad89eafa
3ade988afb51cd54ee5a4067d8deaad88afbb0fe
refs/heads/master
2021-09-21T01:02:22.522187
2014-09-19T03:40:03
2014-09-19T03:40:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import mmtools.mccetools.mcce as mcce import os, sys ### INPUT LINES #### # # Specify the input and output PDB filenames # NOTE: pdbfile and outpdbfile should be local (not absolute) paths for this project pdbfile = '1e8l_model1.pdb' outfile = os.path.join(os.curdir,'titrateHEWL_e8_pK.out') # Specify the course of ...
[ "choderaj@mskcc.org" ]
choderaj@mskcc.org
4f3dc08a6a651f2e44d73ffb4fad06cf5da0274d
3453fc365a2f2e24aaf9b9770d94560440aedc4c
/settings.py
80abdc05ac5b330ad2d2737b6b010880904d5a50
[]
no_license
star1986xk/LOL_DB
6cd97e8f14fead69f0eac522d49be3cc3b19596a
5431e965f67c17e26152b842420ec292b79ab73e
refs/heads/master
2022-08-22T16:33:28.809745
2020-05-23T13:13:27
2020-05-23T13:13:27
266,339,126
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
SQL = { 'host': 'xxxx', 'user': 'xxxx', 'password': 'xxxxxx', 'database': 'lol', 'charset': 'utf8' } headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36' }
[ "173013905@qq.com" ]
173013905@qq.com
2dcb3f7173cb22ab12265f533657a71a52f75d7b
8226d4d618b524bfe958232d9e7dff09378acaec
/cowrie/ssh/userauth.py
922be4a236cf9d621a03c5826e03103f692b64f3
[ "BSD-2-Clause" ]
permissive
sergey-pronin/cowrie
4bb9d20a4a38fb338f1da8317f312bd61b777ffe
772cb2e41ea380a05e3d900fab4422f2583ec287
refs/heads/master
2021-05-14T06:38:08.606324
2018-01-03T04:49:57
2018-01-03T04:49:57
116,247,402
1
0
null
2018-01-04T10:34:00
2018-01-04T10:33:59
null
UTF-8
Python
false
false
6,132
py
# Copyright (c) 2009-2014 Upi Tamminen <desaster@gmail.com> # See the COPYRIGHT file for more information """ This module contains ... """ from __future__ import division, absolute_import import struct from twisted.python import log from twisted.python.compat import _bytesChr as chr from twisted.internet import def...
[ "michel@oosterhof.net" ]
michel@oosterhof.net
8d1dcfdf120fab339b7e7a0c1a0a455b6cfa8730
8911d294dbdc2c1b415804ec36112db11ca56148
/Best_Buy/App_Best_Buy/urls.py
eae0c5b9dcc63d349485ff10c69706ba788a620c
[]
no_license
generateintel/BestBuy_Scraper
8ab596fd0dd98bd4f57d3024f4e5862af67b0899
c6ffba85537250e41b0d450be8fafa4c96d004f7
refs/heads/master
2022-12-10T14:06:58.131437
2020-08-28T15:19:11
2020-08-28T15:19:11
291,078,961
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# import Views as Views from django.conf.urls import url, include from django.urls import path,include from rest_framework import routers from . import views from .views import * # urlpatterns = [ # ] router=routers.DefaultRouter() router.register(r'bestbuy(?:/(?P<id>[0-9]+))?', Best_Buy, 'bestbuy')#User apis url...
[ "frazmirza58@gmail.com" ]
frazmirza58@gmail.com
6992e6208c0a2fe642723a1efe1d37f8798929dd
bb8838e3eec624fd35a61d6d646f941eac1b266a
/saga/adaptors/cpi/filesystem/__init__.py
6eb35fd84bb36b6735f61432bc6f9c3a4a067591
[ "MIT" ]
permissive
agrill/saga-python
55087c03e72635ffbb2fe1ca56b5cc02b7ff2094
35101e3a40d3cfcb39cb9f0d0c5f64c6f8de5930
refs/heads/master
2021-01-22T10:14:11.922145
2013-11-19T14:38:50
2013-11-19T14:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
__author__ = "Andre Merzky" __copyright__ = "Copyright 2012-2013, The SAGA Project" __license__ = "MIT" from saga.adaptors.cpi.filesystem.file import File from saga.adaptors.cpi.filesystem.directory import Directory # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
[ "andre@merzky.net" ]
andre@merzky.net
d59f6584aa265e16f758ceaa9eaaa52f77180d65
602bdbd1d8ef4d36ccfdcae5756bc8e448d30584
/share/pollen/yamlutil.py
a827b5412580893d319067869fc0182c3328adcc
[]
no_license
timparkin/timparkingallery
1136027bf9cfbad31319958f20771a6fdc9f5fc4
6e6c02684a701817a2efae27e21b77765daa2c33
refs/heads/master
2016-09-06T00:28:16.965416
2008-11-25T21:15:45
2008-11-25T21:15:45
12,716
1
1
null
null
null
null
UTF-8
Python
false
false
1,522
py
""" Extension of PySyck that treats all scalars (implicit typing is switched off) as UTF-8 encoded strings. To convert scalars to specific types use the standard YAML syntax, i.e. "!int 1". """ import syck class Loader(syck.Loader): def construct(self, node): # Implicit typing is always disabled but ...
[ "info@timparkin.co.uk" ]
info@timparkin.co.uk
ebca3fd3419746cb6ce74eb0a9f19695c7d634ac
b1c7a768f38e2e987a112da6170f49503b9db05f
/userprofile/migrations/0023_auto_20190315_1624.py
3deeef30d6004cff0aecc2b7f825b79a7f5bed21
[]
no_license
Niladrykar/bracketerp
8b7491aa319f60ec3dcb5077258d75b0394db374
ca4ee60c2254c6c132a38ce52410059cc6b19cae
refs/heads/master
2022-12-11T04:23:07.504966
2019-03-18T06:58:13
2019-03-18T06:58:13
176,218,029
1
0
null
2022-12-08T03:01:46
2019-03-18T06:27:37
JavaScript
UTF-8
Python
false
false
1,776
py
# Generated by Django 2.0.6 on 2019-03-15 10:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('userprofile', '0022_serv...
[ "niladry.kar85@gmail.com" ]
niladry.kar85@gmail.com
ea506e927f56df9e77c165cbf17c39260478d62d
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/build/make_bioassembly.py
ace9b6f3a60d45deaeeb2648f73cdfcb64aea9d5
[ "MIT" ]
permissive
uibcdf/MolSysMT
ddab5a89b8ec2377f383884c5169d147cab01322
c3d713ba63db24eb8a2426115cf8d9cb3665d225
refs/heads/main
2023-08-08T15:04:16.217967
2023-08-04T05:49:56
2023-08-04T05:49:56
137,937,243
15
3
MIT
2023-06-04T20:27:06
2018-06-19T19:38:44
Python
UTF-8
Python
false
false
1,897
py
from molsysmt._private.digestion import digest import numpy as np @digest() def make_bioassembly(molecular_system, bioassembly=None, structure_indices=0, to_form=None): """ To be written soon... """ from molsysmt.basic import extract, merge, get from molsysmt.structure import rotate, translate ...
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
2161519984d316cb7df0e9c4a0aaf36ad2336703
d93a9c5e63612e26ce6d42b055caecac61f9e8f1
/src/analyse/cost_assumptions.py
2a7dfdfa8ebe97f09b9cb699dadcd36c0ab2b8d4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
timtroendle/geographic-scale
525bd9820128cd8340750cab59815555e1ed6520
81ec940e10b8e692429797e6a066a177e1508a89
refs/heads/master
2023-04-18T21:27:11.533352
2021-08-04T15:05:55
2021-08-04T15:05:55
170,466,995
3
1
null
null
null
null
UTF-8
Python
false
false
5,642
py
import math import calliope import pandas as pd import xarray as xr EUR_PER_KW = 1 / 1e3 # from €/MW(h) to €/kW(h) CT_PER_KW = 1e2 / 1e3 # from €/MW(h) to €ct/kW(h) M_TO_1000KM = 1e-6 EPSILON = 1e-12 TECHS = { "open_field_pv": "Utility-scale PV", "roof_mounted_pv": "Rooftop PV", "wind_onshore_monopoly": "...
[ "tim.troendle@usys.ethz.ch" ]
tim.troendle@usys.ethz.ch
75e594d130d4bb87a04ccd13b6cc04528faf8c26
e267c91f23055397201c3d9c23d7583b269d51b8
/backend/pugorugh/tests/test_serializers.py
9985fdce7df4cae83ff5caa706f06c94f6628da4
[]
no_license
mcintoshsg/pug_or_ugh_v1
8678213b4b4ea09a70f369aa08002ff4a8194a29
3e735cd840ffc5a85497eab48518800f0757d9f3
refs/heads/master
2020-03-19T15:26:41.152968
2018-06-14T01:30:49
2018-06-14T01:30:49
136,670,924
0
0
null
null
null
null
UTF-8
Python
false
false
2,917
py
from django.contrib.auth.models import User from rest_framework.test import APITestCase from pugorugh.serializers import (DogSerializer, UserPrefSerializer) class DogSerializerTests(APITestCase): '''SETUP ''' def setUp(self): ''' setup up dummy data for the Dog serializer ''' self.dog_1_dat...
[ "s.g.mcintosh@gmail.com" ]
s.g.mcintosh@gmail.com
c6f51cdc9597157d6863008f9a3144495adc25ba
b7f45072d056b80ed49e6bcde91877d8576e970d
/ImageJ/py/download_and_save_csv.py
e075d5dfd7ffc58315af83cc1b7b33371336e92f
[]
no_license
jrminter/tips
128a18ee55655a13085c174d532c77bcea412754
f48f8b202f8bf9e36cb6d487a23208371c79718e
refs/heads/master
2022-06-14T08:46:28.972743
2022-05-30T19:29:28
2022-05-30T19:29:28
11,463,325
5
8
null
2019-12-18T16:24:02
2013-07-17T00:16:43
Jupyter Notebook
UTF-8
Python
false
false
324
py
""" download_and_save_csv.py From: http://wiki.cmci.info/documents/120206pyip_cooking/python_imagej_cookbook """ from ij import IJ from java.io import PrintWriter content = IJ.openUrlAsString('http://cmci.info/imgdata/tenFrameResults.csv') out = PrintWriter('/Users/jrminter/tmp/test1.csv') out.print(content) out.clo...
[ "jrminter@gmail.com" ]
jrminter@gmail.com
f514aae0d2c12d93b9d619bb80ff773cf0f9e077
7c67952f1c18d42f283f395d02294e148f3dd349
/export/tracking/apps.py
148b73edaf24675007991d8d3903bdb8ad3ae9cb
[]
no_license
314casso/cportal
cfb4cc9e53819950177728bc5d42e47f2aa3d45e
a0a2043616241429571ec1b99302dada49af1485
refs/heads/master
2022-12-11T07:19:14.209367
2021-10-05T21:27:00
2021-10-05T21:27:00
110,969,703
0
0
null
2022-12-07T23:47:26
2017-11-16T12:37:59
HTML
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class TrackingConfig(AppConfig): name = 'tracking'
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
6db0fa2b73fdd334a453684a88261ba4cf2ee1cd
e1a71cc2773d94d1f6788f7ec830d3723b827745
/mayan/apps/redactions/tests/literals.py
d2c41f241b83003725ddd7d148d2aa308274f042
[ "Apache-2.0" ]
permissive
azees-math/Mayan-EDMS
e6ddcee6f188b87e6d64990a85c5af7ad9b95b0c
4be3496b233f77d33e16376cb715a80286a50da2
refs/heads/master
2023-08-06T05:09:57.788757
2021-10-07T08:06:51
2021-10-07T08:06:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import os from django.conf import settings TEST_REDACTION_ARGUMENT = "{'left': 10, 'top': 10, 'right': 10, 'bottom': 10}" TEST_REDACTION_ARGUMENT_EDITED = "{'left': 20, 'top': 20, 'right': 20, 'bottom': 20}" TEST_REDACTION_DOCUMENT_FILENAME = 'black_upper_left_corner.png' TEST_REDACTION_DOCUMENT_PATH = os.path.join(...
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
530588e4198ab812971feb9aac12ecfb9442af61
d9eef8dd3489682c8db41f2311e3058d1f369780
/.history/abel-network-files/mcmc_alg_implementation_own_two_20180701105942.py
7866626da6dfd8ef1f5122844411c56107d23daa
[]
no_license
McKenzie-Lamb/Gerrymandering
93fe4a49fe39a0b307ed341e46ba8620ea1225be
b7a7c4129d6b0fcd760ba8952de51eafa701eac3
refs/heads/master
2021-01-25T06:06:43.824339
2018-10-16T14:27:01
2018-10-16T14:27:01
93,526,515
0
0
null
2018-07-12T19:07:35
2017-06-06T14:17:47
Python
UTF-8
Python
false
false
7,212
py
# Author: Abel Gonzalez # Date: 06/26/18 # # Description: # This program uses the .shp file to create a network graph where each node # represents a census tract and the edge represents adjacency between each # tract, usign graph-tool instead of networkx import random import numpy as np import graph_tool.all as gt from...
[ "gonzaleza@ripon.edu" ]
gonzaleza@ripon.edu
cb8a337f99df522db71f2b13b2ef15b38319466d
d7753137a13c068cb0484bdc9a8237a36378db1b
/lintcode/array/search_in_rorated_sorted_array.py
52d5fbb376999b01e306bea3efa03460129f419d
[]
no_license
alexkie007/offer
740b1e41b9d87de3b31df961c33371a5e3430133
85ceaf8f3da0efd66b4394ef16669ea673218265
refs/heads/master
2021-04-12T11:56:49.779558
2018-11-03T05:26:51
2018-11-03T05:26:51
126,163,525
2
0
null
null
null
null
UTF-8
Python
false
false
928
py
class Solution: @staticmethod def search_in_rorated_sorted_array(nums, target): if len(nums) < 1: return -1 start = 0 end = len(nums) - 1 while start + 1 < end: mid = start + (end - start) // 2 if nums[mid] == target: return mid...
[ "alexkie@yeah.net" ]
alexkie@yeah.net
ea4ee80048587bafcca6e3c883d30179a89772a6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/eAnhzXPeGbobqk2P2_10.py
f3ba2d9fb2d0797b24386f1f2080ef7df5d01f84
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
""" Create a function that takes in a year and returns the correct century. ### Examples century(1756) ➞ "18th century" century(1555) ➞ "16th century" century(1000) ➞ "10th century" century(1001) ➞ "11th century" century(2005) ➞ "21st century" ### Notes * All years will ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
810266a72fa8a60275fcde3efd5f40941c1a6a9b
779a603f16a13c3cfc14f9923fae00b95430d041
/sentry.conf.py
4ff55b11ffacaa19364dcea51db814a33f8f66c2
[]
no_license
ImmaculateObsession/sentry-server
ee4b8e3b54e8b220efd479ba74486891cbbd68bd
f23a7098565d166200e2ee90b5db12555fff31ea
refs/heads/master
2021-01-25T04:01:57.710957
2013-10-12T01:13:41
2013-10-12T01:13:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,749
py
# This file is just Python, with a touch of Django which means you # you can inherit and tweak settings to your hearts content. from sentry.conf.server import * import os from django.core.exceptions import ImproperlyConfigured from unipath import Path def get_env_variable(var_name): """ Get the environment varia...
[ "pjj@philipjohnjames.com" ]
pjj@philipjohnjames.com
13faf6f38fe17b5382a1c81a9664af97121e9db8
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/tod/const.py
3b6f8c23e17435323c275b6e9c860f138def77d0
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
207
py
"""Constants for the Times of the Day integration.""" DOMAIN = "tod" CONF_AFTER_TIME = "after_time" CONF_AFTER_OFFSET = "after_offset" CONF_BEFORE_TIME = "before_time" CONF_BEFORE_OFFSET = "before_offset"
[ "noreply@github.com" ]
home-assistant.noreply@github.com
b3018f21a87b0c01ed7dde5c583582ff0924abff
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/concrete_instances/register-variants/mulq_r64/instructions/mulq_r64/mulq_r64.gen.vex.py
f053dc5ee41260d5e4a5978c50a17d898231afb4
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
import angr proj = angr.Project('./instructions/mulq_r64/mulq_r64.o') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
8951b1f773c495a07ac3b2745594420b096337f6
2ff83d7af0bcbc5822593d826b0c3276346d1276
/transformers_local_rep/src/transformers/models/dpr/tokenization_dpr.py
f0d1118eee35b0ced0d7fd6799327472fe7337ad
[]
no_license
mauricerupp/PolitBERT
43af66f5562bb5c5cf965aa99bb065d1c22f4fae
a8c4eb517eb38cb51101fc87780ed1de182560c8
refs/heads/master
2023-06-17T03:13:43.070682
2021-07-15T15:15:30
2021-07-15T15:15:30
386,334,080
1
0
null
null
null
null
UTF-8
Python
false
false
19,919
py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team, The Hugging Face Team. # # 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...
[ "maurice.rupp@gmail.com" ]
maurice.rupp@gmail.com
30844235afba20a859c1af14b83712062e315731
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Control/AthenaExamples/AthExThinning/share/ReadNonSlimmedData_jobOptions.py
38f99092450c5b1a4e3e2f5c68191d7da6279a5f
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
2,756
py
############################################################### # # Job options file # #============================================================== # from AthenaCommon.AppMgr import ServiceMgr as svcMgr from AthenaCommon.Constants import VERBOSE,DEBUG,INFO,WARNING,ERROR from AthenaCommon.AlgSequence import A...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
4426013e7d6c0671251a8c06ba7d5fc7a20944c8
80b7f2a10506f70477d8720e229d7530da2eff5d
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoeclientfdiscrange_7e4a81c3388682c456129454127b408c.py
7b59fcd8d7b61898e28f0369178ff573d1c324b5
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
85,902
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
aa760ca3f7d7c9e12b8ef69e0da9c1b134bc975e
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/installer/linux/debian/package_version_interval.py
b386fb69728bdb3c6f0077166773d44d2f2e85a1
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
4,844
py
#!/usr/bin/env python # Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re import sys import deb_version class PackageVersionIntervalEndpoint: def __init__(self, is_open, is_inclusive, version): ...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
b6ec3b1ebb177f78d0a5ea783b47f81b2a88d998
62b84f877ccb4171f558c225fa0fdd4fd2c44d6c
/latplan/puzzles/objutil.py
4321a402e19a332adf0f002fa2cc46e670e4467a
[]
no_license
guicho271828/latplan
b6dfb55f3cceac947df770fb623d496111f9ab19
75a2fc773de245b422a695b51fccaf17294da123
refs/heads/master
2022-10-25T02:02:05.547143
2022-03-25T20:42:06
2022-03-25T20:59:29
96,482,151
77
19
null
2023-03-04T14:10:46
2017-07-07T00:11:52
Python
UTF-8
Python
false
false
8,298
py
import numpy as np def bboxes_to_onehot(bboxes,X,Y): batch, objs = bboxes.shape[0:2] bboxes_grid = bboxes // 5 x1 = bboxes_grid[...,0].flatten() y1 = bboxes_grid[...,1].flatten() x2 = bboxes_grid[...,2].flatten() y2 = bboxes_grid[...,3].flatten() ...
[ "guicho2.71828@gmail.com" ]
guicho2.71828@gmail.com
88c81e959b5d2d8b8108c70ef1ae00c46a5f20a4
7ff333dd18ebea4159160b07c2e281461e021e25
/parsers/linux_software_parser.py
bab26705bf0a9b28917c545ee615ac75f91acce5
[ "Apache-2.0", "DOC" ]
permissive
defaultnamehere/grr
d768240ea8ffc9d557f5fe2e272937b83398b6e3
ba1648b97a76f844ffb8e1891cc9e2680f9b1c6e
refs/heads/master
2021-01-21T19:09:18.863900
2014-12-07T01:49:53
2014-12-07T01:49:53
27,655,857
3
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
#!/usr/bin/env python """Simple parsers for Linux files.""" import re from debian_bundle import deb822 from grr.lib import parsers from grr.lib import rdfvalue class DebianPackagesStatusParser(parsers.FileParser): """Parser for /var/lib/dpkg/status. Yields SoftwarePackage semantic values.""" output_types = ["So...
[ "amoser@google.com" ]
amoser@google.com
1f83f61dfa9497557e6936eb982a70d2efc4f3d7
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j05369+3955/sdB_galex_j05369+3955_coadd.py
491e3294e315021e4dbeb2b572fa220d4d65db96
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[84.234625,39.921497], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_galex_j05369+3955/sdB_galex_j05369+3955_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCUR...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
e5ea45b50f4220f2ee941a580567bfd3619b7a03
55c1218bdd3f87554b3e462ab3609d34442a427e
/ch06/codeListing06-8.py
a85ed3c9ddbee9cc137d4e073bdec128d50112b4
[]
no_license
oilmcut2019/Teaching_material_python
b0b0706ea14c9ef70ddabb3ec705e4be7f7783aa
28fd3c344c49d004e20322e8d33b1f0bfec38e0c
refs/heads/master
2020-05-18T16:43:40.805479
2019-05-02T06:47:36
2019-05-02T06:47:36
184,533,910
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
def get_vowels_in_word(word): """Return vowels in string word--include repeats.""" vowel_str = "aeiou" vowels_in_word = "" for char in word: if char in vowel_str: vowels_in_word += char return vowels_in_word
[ "m07158031@o365.mcut.edu.tw" ]
m07158031@o365.mcut.edu.tw
823128508170e7b6f582e87466c71dc6f760b04d
cf7d96bdd34205ede987f0985dfc9e3ab415ee06
/visual_export/spreadsheet/base.py
c910b70539f3680f0a48fb6616e889e1eccc7a93
[]
no_license
hendrasaputra0501/btxjalan
afc93467d54a6f20ef6ac46f7359e964ad5d42a0
d02bc085ad03efc982460d77f7af1eb5641db729
refs/heads/master
2020-12-30T11:02:05.416120
2017-07-31T01:34:08
2017-07-31T01:34:08
98,836,234
0
1
null
null
null
null
UTF-8
Python
false
false
576
py
# -*- coding: utf-8 -*- from cStringIO import StringIO class SpreadSheetBase(object): document = None table = None def __init__(self, title): self.title = title def tofile(self): if self.document is None: raise Exception('No document found') fp = StringIO() ...
[ "hendrasaputra0501@gmail.com" ]
hendrasaputra0501@gmail.com
c1fbb8cbba54fa88ad00b3eaefacc4651f85a474
57397e9891525c53d7d02c91634e917e1de74772
/src/procesamiento/python/PSD2RS.py
1e572a6acb6b68555a9a2ee8cdd39cd2814cd5f1
[]
no_license
gdiazh/pruebas_vibraciones
614964ad4fb2bb7770f67f885986f3b65e2c0571
0baabc76a6cd9444e6cedac8da14b0a78169b34e
refs/heads/master
2020-05-18T01:56:47.861642
2019-04-30T18:48:06
2019-04-30T18:48:06
184,103,338
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 4 15:13:08 2018 General approach PSD1: MIL-STD-1540C Acceptance Level PSD2: NASA random vibration for mass less than 22.7 kg (Acceptable condition in CubeSat) Conservator Damping ratio = 0.05 @author: Elias Obreque """ import matplotlib.pyplot as plt import numpy as np...
[ "g.hernan.diaz@gmail.com" ]
g.hernan.diaz@gmail.com
2e28a19cee408ed5614c805add202c7ba74dc8d9
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetCode_with_solution/070_Climbing_Stairs.py
05f4b4ef7410b23e15f28f34f471ea6cc27c358c
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
890
py
c_ Solution o.. # def climbStairs(self, n): # """ # :type n: int # :rtype: int # """ # dp = [0] * (n + 1) # dp[0] = 1 # dp[1] = 1 # for i in range(2, n + 1): # dp[i] = dp[i - 2] + dp[i- 1] # return dp[n] ___ climbStairs n ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
2a9667d79338cfcbe2d9bf465b8957a4e4ab8d3a
1cf7c11711303fc21c37fc091b2eefc30bc489c6
/moderate/number_pairs.py
88dee243e7fcc46404c1bcfac8a89aefbebe0783
[]
no_license
yamaton/codeeval
1c68b23459b6329c42e046f07bd19b4cecafb95f
eacd28106f76364d44fae9f6a4c2860711ea0dcc
refs/heads/master
2020-04-15T05:53:11.929711
2013-09-06T18:48:29
2013-09-06T18:48:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
#!/usr/bin/env python # encoding: utf-8 """ number_pairs.py Created by Yamato Matsuoka on 2012-07-17. Description: You are given a sorted array of positive integers and a number 'X'. Print out all pairs of numbers whose sum is equal to X. Print out only unique pairs and the pairs should be in ascending order Input ...
[ "yamaton@gmail.com" ]
yamaton@gmail.com
44aed721687e6b4f500f365adb3852fb95f20ddd
5c465756e28ae021e7afac1dddbc6e11ec8c00ec
/setup.py
d405b626d8f809bb3cd8e9d499465ec7b331ae22
[ "Apache-2.0" ]
permissive
waynew/pop
f9ffca2b98993ba1c6ddc95fdc66599c1eedfeff
d3b6128ada34ee31b16b9c6e1c600b3e059f4e31
refs/heads/master
2020-05-25T15:35:29.859674
2019-05-21T16:10:27
2019-05-21T16:10:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Import python libs import os import sys import shutil from setuptools import setup, Command NAME = 'pop' DESC = ('The Plugin Oriented Programming System') # Version info -- read without importing _locals = {} with open('pop/version.py') as fp: exec(fp.read(), None...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
9964c1a1e4d067a3b5d76587f7a21ab1eeb8d4e8
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/calendar_sms/models/calendar.py
26a857dd032ad94c770a8f3a0e11e031594e3c22
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. import logging from odoo import api, fields, models, _ _logger = logging.getLogger(__name__) class CalendarEvent(models.Model): _inherit = 'calendar.event' def _get_default_sms_recipients(self): ""...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
7ac9b3d42f3f46d4e3db59414eb2c88a9ebeaff6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03137/s045740522.py
2b93ba5faee17d63aa69bda2f022a1c7348ac45b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
import math import sys import collections import bisect def main(): n, m = map(int, input().split()) x = sorted(list(map(int, input().split()))) if m <= n: print(0) return y = sorted([x[i + 1] - x[i] for i in range(m - 1)]) print(sum(y[0:(m-n)])) if __name__ == '__main__': ma...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
95eee9b7c9240054cd6ba3174b1915da8273f6bc
9242319ca7796c6a3b18e760ddbf8290944d4b49
/flock/frontend/amp.py
933a74893288d7941edc8e3bc315d4091639d9e7
[ "MIT" ]
permissive
MainRo/python-flock
79cfd7ce4edab40439c556b6621768438868d16c
e1faa78d6aba374493336651848daadad82387a8
refs/heads/master
2021-01-10T19:16:52.907538
2015-11-18T21:15:38
2015-11-18T21:15:38
29,210,634
1
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
import logging import json from twisted.internet import reactor from twisted.internet.protocol import Factory from twisted.protocols import amp from twisted.internet.endpoints import TCP4ServerEndpoint from flock.router import Router from flock.message import FlockMessage # client API class MessageReceived(amp.Comman...
[ "romain.picard@oakbits.com" ]
romain.picard@oakbits.com
6880c878362b0b48c05526b91b9d4518b7206f2b
2ee29ea10cc2ad5577a2f8e7ed0fa1351d451a52
/django/bin/tox
19cb4c36ac6406b19087eb92ec3ba72ce35c0bf1
[]
no_license
guille1194/votbit2
6d1c792f4f43cdea25e31a8fbb8e9f1e20d9670b
63497d17a249c082730f39cc54caf0e2c1d4dc3c
refs/heads/master
2021-04-22T13:26:22.635235
2016-12-03T21:16:26
2016-12-03T21:16:26
75,500,637
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/home/guillermo/Documentos/votbit2/django/bin/python # -*- coding: utf-8 -*- import re import sys from tox import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "guille1194@gmail.com" ]
guille1194@gmail.com
e7607e9704c88c53d9835277d1ea1ef9a9502af4
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/pyinstaller/build/lib/PyInstaller/hooks/hook-reportlab.pdfbase._fontdata.py
4765de6acb08fe810b8f6653f67d9aa9e9d91ae1
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:70c3529a579452cddbe6fe3200d83c2064c7fa3a858851cb516a77177a79c258 size 538
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
d257dfaf805251a449fcec03c06aa55d97d4de0a
107c161846246ead49747b8257f0bffe57ff3866
/megabeast/old/test_models.py
2734639aa5e69b50f99f8ba217e27761079d30f9
[ "BSD-3-Clause" ]
permissive
BEAST-Fitting/megabeast
e1334786d23d33795bb5f613586fe1615406e102
b6b9efbe197bde0a5372bc9f09699ad9d3d99886
refs/heads/master
2023-06-07T18:14:52.276860
2022-02-17T21:25:07
2022-02-17T21:25:07
111,114,312
2
11
null
2023-05-27T08:09:38
2017-11-17T14:44:50
Python
UTF-8
Python
false
false
988
py
import pytest from megabeast.mbsettings import mbsettings from megabeast.singlepop_dust_model import MB_Model fd_model = { "Av": { "name": "gaussian", "varnames": ["mean", "sigma"], "varinit": [1.0, 0.25], "prior": { "name": "flat", "var_minmax": [[0.005, 5....
[ "kgordon@stsci.edu" ]
kgordon@stsci.edu
c1dfc3fc35f5262d91497aa645cd83d66e1f6ebf
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/comm/webconnstatesaghist15min.py
97af9701edebea0d009738a84053273d0f815f22
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
5,306
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
628189ff34d80255a49ce3bab9404cf4d4218ed9
34bb97862512778eae0352a543c60de926b17878
/test/probe/test_empty_device_handoff.py
5c1880c1ec9874f5fb20f9d29d4b803c21f94060
[ "Apache-2.0" ]
permissive
yasutaka-kamei/swift-token
2de8baec21ec6d97cf8f7af2ee5377badf1392c0
820366c0e35bd5244f23be19fc0423a96cb4ee59
refs/heads/master
2021-01-01T16:34:04.284109
2016-05-13T07:12:35
2016-05-16T00:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,922
py
begin_unit comment|'#!/usr/bin/python -u' nl|'\n' comment|'# Copyright (c) 2010-2012 OpenStack Foundation' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License");' nl|'\n' comment|'# you may not use this file except in compliance with the License.' nl|'\n' comment|'# You m...
[ "dmg@uvic.ca" ]
dmg@uvic.ca
a25f71c986a1212e69a747de32c5133c5b78a446
733496067584ee32eccc333056c82d60f673f211
/idfy_rest_client/models/person_navn_adresse.py
5f7e495f992d7a22d700bd3462ef1b39195572d8
[ "MIT" ]
permissive
dealflowteam/Idfy
90ee5fefaa5283ce7dd3bcee72ace4615ffd15d2
fa3918a6c54ea0eedb9146578645b7eb1755b642
refs/heads/master
2020-03-07T09:11:15.410502
2018-03-30T08:12:40
2018-03-30T08:12:40
127,400,869
0
0
null
null
null
null
UTF-8
Python
false
false
5,252
py
# -*- coding: utf-8 -*- """ idfy_rest_client.models.person_navn_adresse This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io ) """ from idfy_rest_client.api_helper import APIHelper class PersonNavnAdresse(object): """Implementation of the 'Person.NavnAdresse' ...
[ "runes@unipluss.no" ]
runes@unipluss.no
ec83755d7ceef5096637db15a3827324da7e2c2b
8311a4bc770d91b802b573b91ccc9c8e03f15123
/ac/administrative_communication/doctype/assignment_transaction_action/assignment_transaction_action.py
3c8b30c4d720c9453f81113f640d58aafa2d481c
[ "MIT" ]
permissive
aymenit2008/ac
d6756d32d291255ae4ba6d08700489b27377890f
8791d86679e10b57417559fcc9ca149321104845
refs/heads/main
2023-03-20T21:21:51.168016
2021-02-17T08:55:26
2021-02-17T08:55:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Aseel and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class AssignmentTransactionAction(Document): pass
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
738d45fb6a0616db48e488290215ae5066900004
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/aspirations/aspiration_tuning.py
e5c80726c76e612d54e640a7fd276e7089624c5d
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
22,481
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\aspirations\aspiration_tuning.py # Compiled at: 2020-03-21 01:18:58 # Size of source mod 2**32: 3412...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
f115526fdf25a9871453e6e4fb7ace173904b177
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/YXjx9G5uQ4CdYPuB4_9.py
2d28dd3b028ee0f16f9bafa9b0ccc53ff8f93765
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
""" **Mubashir** needs your help to compare two lists. First list `lst1` contains some numbers and second list `lst2` contains **squared values of numbers given in the first list**. Create a function which takes these two lists and returns `True` if all square values are available, `False` otherwise. lst1 = ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1915d25c38cc211538989aaa0b2bf604b6778c6e
1619511136a1d861a23f4e8c643916a303ac222c
/apps/blog/models.py
812adf98991dd66d4cd9c379fbf0b1c81af9a691
[]
no_license
2644783865/django2
29d00b4faa4169a5969d967e992d22b5285a5817
3909bfab85be620d95702eff4db0483b3676ac94
refs/heads/master
2020-06-29T00:05:57.622128
2019-08-03T08:30:51
2019-08-03T08:30:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,911
py
from django.db import models from django.db.models.signals import post_save from django.contrib.auth import get_user_model # from django.template.defaultfilters import slugify # from ckeditor.fields import RichTextField # 不包含上传文件 from ckeditor_uploader.fields import RichTextUploadingField # 包含上传文件 from pyquery import...
[ "zhuoqun527@qq.com" ]
zhuoqun527@qq.com
602eb9121165edb4c2356d3bf98d987ff4c1ae16
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/list_get_element_complex-2.py
6d104100d4429fa36c29aeb6f7ae3d25c91ca267
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
$Definition def next_int() -> int: global next next = next + 1 return next def make_list() -> [int]: return [next_int(), next_int(), next_int()] print(make_list()[next_int() - 3])
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
2a225dddd9fc8c12c4f1e8857ebbcc1a6a4cc4fc
e6e65a6704c20e6e0288cfc54915ee7ea9e1c0a7
/1recon/basicVersions/1pipeTrans/networks/modifiedVGG.py
ef58d51640d13f96c41606581d362c196412dd93
[]
no_license
schatzkara/REU2019
fbb1f17d860c5d51a7ccae3ba106960d4c733949
6de28b5a8992f6122f2e9813de8b92d9e97ccbf3
refs/heads/master
2020-06-06T03:50:40.753334
2019-11-07T14:11:50
2019-11-07T14:11:50
192,629,267
0
0
null
null
null
null
UTF-8
Python
false
false
7,172
py
# phase 3 # modified from https://github.com/pytorch/vision/blob/master/torchvision/models/vgg.py import torch import torch.nn as nn from torchsummary import summary __all__ = [ 'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn', 'vgg19', ] class VGG(nn.Module): """ Cl...
[ "36019128+schatzkara@users.noreply.github.com" ]
36019128+schatzkara@users.noreply.github.com
39874ed6f673a12d3460b09f8f3745e4cbb3f6ed
65890d9024b035d997c78a3968c05908df81a9c4
/sharpy/managers/extensions/__init__.py
6728d67326888cd4880b83ceb0fe8f4bbd438321
[ "MIT" ]
permissive
lladdy/sharpy-sc2
df43a266aa2ad90633b9a9f279fc14529740f30f
cf6f7850add6f8d33d6e7c5ccaf2a619e4838c52
refs/heads/develop
2023-08-03T17:49:51.939649
2023-07-31T10:04:34
2023-07-31T10:04:34
227,027,455
0
0
MIT
2023-08-30T08:39:00
2019-12-10T04:15:24
Python
UTF-8
Python
false
false
428
py
from .enemy_army_predicter import EnemyArmyPredicter from .build_detector import BuildDetector from .game_analyzer import GameAnalyzer from .data_manager import DataManager from .chat_manager import ChatManager from .memory_manager import MemoryManager from .archon import ArchonManager from .heat_map import HeatMapMana...
[ "aki.vanttinen@sedgestudios.com" ]
aki.vanttinen@sedgestudios.com
8a42f484b703ca5e6d8bacf2c9fbedaa62340aff
c380976b7c59dadaccabacf6b541124c967d2b5a
/.history/src/data/data_20191028083133.py
1bf93266354860aafa16ec794d7068be824878af
[ "MIT" ]
permissive
bkraft4257/kaggle_titanic
b83603563b4a3c995b631e8142fe72e1730a0e2e
f29ea1773773109a867278c001dbd21a9f7b21dd
refs/heads/master
2020-08-17T12:45:28.653402
2019-11-15T16:20:04
2019-11-15T16:20:04
215,667,760
0
0
null
null
null
null
UTF-8
Python
false
false
6,814
py
import pandas as pd import numpy as np from typing import Union from pathlib import Path from nameparser import HumanName class ExtractData: def __init__(self, filename: Union[str, Path], age_bins=None, drop_columns=None): # """Extract Training Data from file or Path # Arguments: # fi...
[ "bob.kraft@infiniteleap.net" ]
bob.kraft@infiniteleap.net
77b6f71d6095a7aedcb4e9fa8fb816536a942ae1
762c307de73db674c214619778802b863548bf2e
/env/bin/pildriver.py
b966081163f93b8efd36985cfb7efe42e5de776a
[]
no_license
mansourgueye275/django-bloggy
56d9d6a2131a71c20d6c341764503b76ba3a45c1
1b8080ad26244d3d60e20e24ad6520d7a663381b
refs/heads/master
2021-06-23T02:16:30.301697
2017-09-01T18:56:23
2017-09-01T18:56:23
102,141,125
0
0
null
null
null
null
UTF-8
Python
false
false
15,558
py
#!/home/mansour/Documents/RealPython/django-bloggy/env/bin/python3 """PILdriver, an image-processing calculator using PIL. An instance of class PILDriver is essentially a software stack machine (Polish-notation interpreter) for sequencing PIL image transformations. The state of the instance is the interpreter stack. ...
[ "zoe14@live.fr" ]
zoe14@live.fr
e13f315fcdd9f188936c67487b7406fc615608c7
0add67e1d0c2915caf84c3af5151ca68d9bb5682
/API_PROJ/asgi.py
6dbdaac532933c67632230a99da41926e98002b0
[]
no_license
kamran1231/MOVIE_REST_API
8b30d9b4ecacd788982a9da35046f9b159037c3e
677418f94225b60cc486e8027dd381e7d5549239
refs/heads/master
2023-05-31T23:17:25.761222
2021-06-29T12:20:05
2021-06-29T12:20:05
380,045,682
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for API_PROJ project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "khanbrother805@gmail.com" ]
khanbrother805@gmail.com
9596ca94cc905548e8c6637fbd52ec54c10719db
ce79d8a92ddc88ee17ccbfbab273fdb37600da0e
/0140_Word_Break_II.py
8afc6e7874b25d36b55e63afeae431ff16b40a41
[ "MIT" ]
permissive
coldmanck/leetcode-python
5bf5bc489213a5835acc93b047e1b0ff7a1392bc
fd4cf122cfd4920f3bd8dce40ba7487a170a1b57
refs/heads/master
2023-06-09T02:30:49.681803
2023-05-27T04:01:57
2023-05-27T04:01:57
249,945,225
6
2
null
null
null
null
UTF-8
Python
false
false
553
py
class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> List[str]: memo = {len(s): ['']} def sentences(i): if i in memo: return memo[i] memo[i] = [] for j in range(i + 1, len(s) + 1): if s[i:j] in wordDict: ...
[ "coldmanck@gmail.com" ]
coldmanck@gmail.com
006a2323f3e2a8bfdf5efcc2e45813474d8a20a5
5a7abc4537039860c49e9a80219efa759aad1b6f
/tests/providers/aws/services/trustedadvisor/trustedadvisor_errors_and_warnings/trustedadvisor_errors_and_warnings_test.py
e484ead322db370fdda3ad0f146d93ad57f31f8b
[ "Apache-2.0" ]
permissive
sec-js/prowler
d5a06c72f5d7e490bade1167966f83f7a5d7ed15
f72be9a1e492ad593c9ac267d3ca07f626263ccd
refs/heads/master
2023-08-31T22:48:33.983360
2022-12-22T16:02:28
2022-12-22T16:02:28
243,866,744
0
0
Apache-2.0
2022-12-23T12:23:20
2020-02-28T22:37:02
Python
UTF-8
Python
false
false
2,973
py
from re import search from unittest import mock from uuid import uuid4 from prowler.providers.aws.services.trustedadvisor.trustedadvisor_service import Check AWS_REGION = "eu-west-1" AWS_ACCOUNT_NUMBER = "123456789012" detector_id = str(uuid4()) class Test_trustedadvisor_errors_and_warnings: def test_no_detect...
[ "noreply@github.com" ]
sec-js.noreply@github.com
6bc17ae0f3d584cafcfcbc9be7eb61a854ffef96
d047fed56a7d1de1d7c32ce83b8d62646fa7d19e
/average_kitne_hai.py
65f5b01aaddc83e61a33bb02bfb1e308241e38a0
[]
no_license
shantinavgurukul/listQuestions
508b6bd489731d5b8a9ba1a27e5b88b1bb27341a
21f413f65b374e5fa63e0366591895757146d7c7
refs/heads/master
2022-11-23T07:56:15.392836
2020-08-02T03:51:46
2020-08-02T03:51:46
284,384,225
1
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# elements = [23, 14, 56, 12, 19, 9, 15, 25, 31, 42, 43] # index=0 # # average=0 # list1=[] # list2=[] # while(index<len(elements)): # if(elements[index]%2!=0): # list1.append(elements[index]) # # list1=list1+1 # average=elements[index]//7 # else: # list2.append(elements[index]) ...
[ "you@example.com" ]
you@example.com
e574432f721c510f0ea06c7b99ee335b99f78d75
091e97bcfe5acc0635bd601aa8497e377b74d41a
/openshift/installer/vendored/openshift-ansible-3.11.28-1/roles/lib_utils/lookup_plugins/openshift_master_facts_default_predicates.py
ddecf9cc6017fc3b0177a74857c0523c116be0e6
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
openshift/openshift-tools
d59b63778f25cb8fb3c7a0253afe22a173e72f9d
e342f6659a4ef1a188ff403e2fc6b06ac6d119c7
refs/heads/prod
2023-08-30T01:52:04.108978
2022-03-23T21:07:28
2022-03-23T21:07:28
36,827,699
170
254
Apache-2.0
2022-06-16T12:11:51
2015-06-03T20:09:22
Python
UTF-8
Python
false
false
3,662
py
# pylint: disable=missing-docstring from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase class LookupModule(LookupBase): # pylint: disable=too-many-branches,too-many-statements,too-many-arguments def run(self, terms, variables=None, regions_enabled=True, short_version=None, ...
[ "mwoodson@redhat.com" ]
mwoodson@redhat.com
18e964e43f650f2ccc67efec08a241936fe630f4
f607ef7417b73fdc5452ae6c9ea8172094476bdf
/hackerrank/nov_3.py
bd3effb2620982d72a38e061070ac24e83b6bb3b
[]
no_license
pratyakshs/Algorithms
9238f58c02cafd81d6d201e64750f4eb92c2ccf6
ed4e857dd0f8a48c8ae56111c20d2396d879409c
refs/heads/master
2016-09-10T01:21:05.258429
2014-01-07T09:44:15
2014-01-07T09:44:15
15,940,840
0
1
null
null
null
null
UTF-8
Python
false
false
94
py
T=input() for t in range(T): A,B = map(int,raw_input().split()) print pow(A,B,10**9+7)
[ "rohith.uppala369@gmail.com" ]
rohith.uppala369@gmail.com
b1a20c5c2747e5c43e1e7d1711018e92b8fdf035
b4166044870d1c026e86c95ac41e3e3613ee424f
/python_basic/abc086_a.py
9f109acd38679ee2f461c2e5a42f88e4fcfe00b8
[]
no_license
nsakki55/AtCoder
2cbb785415a7c0b9df9953ddc3706c90a5716a03
03c428e8eb8f24b8560d00e2388ba75509619690
refs/heads/master
2020-05-31T04:33:06.400697
2020-01-19T13:41:41
2020-01-19T13:41:41
190,099,669
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
a,b=map(int,input().split()) print('Odd' if a*b%2 !=0 else 'Even')
[ "n.sakki55@gmail.com" ]
n.sakki55@gmail.com
d48d8dcf7839f5f1eb56a0f65558ff6462b25843
e18a8c8ed113d51d99ae942204016a883925163d
/25stringchains/trial1.py
2f432bcc4243c495265c72aa4e256c91f3b7b115
[]
no_license
saurabh11baghel/dsalgo
e385fc7739c59e8a78a4f7e30d3cedfdfa4eac06
88a108bc3ce7ec95ffad8d95079260a2fc5f6e12
refs/heads/master
2021-04-30T08:36:56.312035
2017-02-20T22:32:40
2017-02-20T22:32:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 29 19:04:08 2017 @author: abgoswam """ #_words_cnt = int(raw_input().strip()) #_words_i=0 #_words = [] # #while _words_i < _words_cnt: # _words_item = raw_input().strip() # _words.append(_words_item) # _words_i += 1 # #print(_words) #def longestChain(words...
[ "abgoswam@gmail.com" ]
abgoswam@gmail.com
ea66726c00ea40930cc3627462df3a3a9bac9593
de470f0bad289ab9e8633a4527a2bf4c14a6b2d9
/manage-cli/get_sql.py
db028fd8f72b46fd3783c4f3d499549155512d80
[]
no_license
DingGuodong/kissops
f1a22e557ae6b1ea4366d88ffceb157fb0bb5450
06ca11d2082d4d7ae88681fc0456a7502d134b27
refs/heads/master
2021-01-11T11:02:33.583667
2018-04-17T08:20:06
2018-04-17T08:20:06
72,810,369
3
0
null
null
null
null
UTF-8
Python
false
false
625
py
#!/usr/bin/python # encoding: utf-8 # -*- coding: utf8 -*- """ Created by PyCharm. File: LinuxBashShellScriptForOps:get_sql.py User: Guodong Create Date: 2017/8/23 Create Time: 16:01 Description: References: http://luozhaoyu.iteye.com/blog/1510635 """ import os...
[ "uberurey_ups@163.com" ]
uberurey_ups@163.com
3d99cb9d17223816aa55786f68bb96c5ee9f812a
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/Dongola/common/account_asset_custom/wizard/account_data_migration.py
d16a9ffe00724622ae063143e33836fc790a1d27
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,631
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
ed96c6be42b15bb8c1698da40cf12109cdc094d7
6440a113597191d3b78aa6b5cae6cea9fb057e2e
/Daily-Grind/73.py
5c3188a2d7ef2ce664500cd3404c4e1039778d18
[]
no_license
DarshanGowda0/LC-Grind
40c162d8894df81ea7124f66daf20f86f327b6cb
f7b9a86797d52ab1057f0300352c0c5670a59bd5
refs/heads/master
2023-01-28T01:27:45.195164
2020-12-06T03:58:14
2020-12-06T03:58:14
277,024,335
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right from collections import deque class Solution: def levelOrder(self, root: TreeNode) -> List[List[int]]: if not root:...
[ "darshan.gowda008@gmail.com" ]
darshan.gowda008@gmail.com
da1ef01eb25bcea1e1925a60a6dd48a073d52c65
a1232023595eed48bf3d56c0c1dcb8f05cdc261a
/204. Count Primes/204.py
3ebfd940c7ef3e38ddb147a2bdf0c8607730b934
[]
no_license
NKcell/leetcode
2393ec3f8dc0e26b9ff098a592e4ffa9d7b774b8
88dec1c2106950e82819a0dd16425a9ee8fdaca4
refs/heads/master
2020-07-24T05:27:42.269903
2020-05-06T07:45:07
2020-05-06T07:45:07
207,814,442
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
""" 超时 def countPrimes(n): if n < 3: return 0 if n == 3: return 1 primes = [2] re = 1 for i in range(2,n): flag = 0 for j in primes: if i%j == 0: flag = 1 b...
[ "517343690@qq.com" ]
517343690@qq.com
996034a8186f4a0272c75010ab385800ae034cad
9e2d79a2cf1dbeaffe8ef897bb53f94af8b5b68c
/ichnaea/api/locate/tests/test_constants.py
476eaa06eae7fec95ad3c105304313df9d89e7f8
[ "Apache-2.0" ]
permissive
amolk4games/ichnaea
a7d1cbd12b6aa5c0d877fca380080b08fcff24b8
907c542da05b428c8e994bce1537390e22b3ca58
refs/heads/master
2021-01-19T07:21:54.851167
2016-04-08T15:20:37
2016-04-08T15:21:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,359
py
from ichnaea.api.locate.constants import DataAccuracy from ichnaea.tests.base import TestCase class DataAccuracyTest(TestCase): def test_compare(self): self.assertTrue(DataAccuracy.high < DataAccuracy.medium) self.assertTrue(DataAccuracy.high < DataAccuracy.low) self.assertTrue(DataAccura...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
095ee990026e24affd14798a17fabcd80698962c
2560feda0e6875e797571e3992192c1ad9b223ef
/A_CNN_sub_K-32-32-64-128_KS-37-37-37-37_MP-12-22-22-32_DO-2-2-2-2-2_AD.py
4c6f65a575028004a22f425a7df2a827ad59a62d
[]
no_license
kikivanderheijden/CNN_SoundLoc_NC
7060945e62973d21e9389659cb38b76e7fe76f7c
c158481524cef6af92487a16a711b00255732762
refs/heads/master
2023-02-07T16:20:39.412567
2020-12-29T14:50:18
2020-12-29T14:50:18
319,252,239
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
#------------------------------------------------------------------------------ # Specifications #------------------------------------------------------------------------------ # specify directories dir_wrfiles = "/workspace/notebooks/models" # for testing on DSRI #dir_wrfiles = r"C:\Users\kiki.vanderheijden\Documents\...
[ "Kiki.vanderHeijden@unimaas.nl" ]
Kiki.vanderHeijden@unimaas.nl
74105e5ec2623d439250e684bf167a4b94637c36
e9ff112a590a2707e66c518328ba71a4d964846a
/train_scripts/train_img.py
36a145fe2b40065fa0ddee19383018c080fd1909
[ "MIT" ]
permissive
n644t031/fastMRI-kspace
60a6ca9679ede25f0db89f174647a8451a578331
4c484b3183e9f06838b5ee108af283611c2e1e77
refs/heads/master
2022-08-30T17:19:23.105996
2020-05-24T13:55:40
2020-05-24T13:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,028
py
import torch from torch import nn, optim from pathlib import Path from utils.run_utils import initialize, save_dict_as_json, get_logger, create_arg_parser from utils.train_utils import create_custom_data_loaders from train.subsample import MaskFunc from data.input_transforms import Prefetch2Device, TrainPreProcessK ...
[ "veritas9872@gmail.com" ]
veritas9872@gmail.com
6e927067f2f9b821d839a61e0c4bc806d450dca4
df7b40e95718ac0f6071a0ba571b42efc81cf6de
/configs/cd_stb/liky_base_config.py
b09f7d24727fc477b50af4bc28b1118a4838038e
[ "Apache-2.0" ]
permissive
shinianzhihou/ChangeDetection
87fa2c498248e6124aeefb8f0ee8154bda36deee
354e71234bef38b6e142b6ba02f23db958582844
refs/heads/master
2023-01-23T20:42:31.017006
2023-01-09T11:37:24
2023-01-09T11:37:24
218,001,748
162
29
Apache-2.0
2022-11-03T04:11:00
2019-10-28T08:41:54
Python
UTF-8
Python
false
false
3,758
py
_base_ = [ # '../_base_/models/cd_vit.py', # '../_base_/datasets/two_input.py', # '../_base_/default_runtime.py', # '../_base_/schedules/schedule_40k.py' ] # model settings norm_cfg = dict(type='BN', requires_grad=True) # TO: BN model = dict( type='EncoderDecoder', pretrained=None, backbo...
[ "1178396201@qq.com" ]
1178396201@qq.com
44f63e331e30929d37a460bce7411a4a6ae31475
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2308/60668/302743.py
9d04c19613bf9cf13a8648209475e330103ce9a5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
211
py
def trees_5_after(s): if s=="6 3 9": print(0) elif s=="7 4 9": print(10) else: print(s) if __name__=='__main__': m,r = input().split() s = input() trees_5_after(s)
[ "1069583789@qq.com" ]
1069583789@qq.com
280fe52635c663628f4545cf099b820d4a2990b4
18dca9a552f5aa9303536613ec39f19cebf6647c
/BM25/BM25IndexingPrograms/index_mag_en_cs_allyears.py
1133c0c15e7ed385f68695ce4327e05ac3873006
[ "MIT" ]
permissive
ashwath92/MastersThesis
9a39ed7eec825ed559d09507721c21bd12e2ab9c
f74755dc0c32f316da3c860dd5dbfa4c9cad97b3
refs/heads/master
2021-08-16T12:01:33.282459
2020-06-27T16:00:16
2020-06-27T16:00:16
197,282,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
from gensim.parsing import preprocessing import contractions from tqdm import tqdm import pysolr # IMPORTANT: I'M KEEPING THE REFERENCE IDS IN THE CONTEXTS. SO WHILE CHECKING BM25, # CONTEXTS WHICH REFER TO THE SAME PAPER MIGHT BE MORE SIMILAR (IF CITATIONS ALREADY #EXIST) def clean_text(text): """ Cleans the tex...
[ "ashwath92@gmail.com" ]
ashwath92@gmail.com
a944ad7ef3a0746f8e1658a859afad898e97a673
56231e5b77a8b743e84e43d28691da36b89a0cca
/platform-tools/systrace/catapult/telemetry/telemetry/internal/platform/tracing_agent/cpu_tracing_agent_unittest.py
f87f00902938107c3301b6fa4b7a40f22fe76d77
[ "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "Apache-2.0" ]
permissive
cricketclubucd/davisdragons
ee3aa6ad72197c2218660843e03d58c562b965aa
99d5877377b80d1b20c78cc3c4c6f26795f29b14
refs/heads/master
2023-01-30T05:37:45.923195
2021-01-27T06:30:25
2021-01-27T06:30:25
96,661,120
2
2
MIT
2023-01-23T18:42:26
2017-07-09T04:32:10
HTML
UTF-8
Python
false
false
5,810
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import sys import time import unittest from telemetry import decorators from telemetry.internal.platform.tracing_agent import cpu_tracing_agent f...
[ "jena.suraj.k@gmail.com" ]
jena.suraj.k@gmail.com
2cf2548ec33a387b618360771da7ed86198cafc8
8845a9557ef7a93a4235bc5aff059110c7c0846c
/python_sql/book_scraper.py
baa3c24c9aa47a73c32f47b19104f533080c500d
[]
no_license
Makhanya/PythonMasterClass
c127791337c862bf5c6c8780a1643642d6e99ab6
241f48396e59cd20f1a275f15fa6fec3e8676bb6
refs/heads/master
2023-07-20T12:44:05.055259
2023-07-09T11:20:52
2023-07-09T11:20:52
86,587,952
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
import sqlite3 import requests from bs4 import BeautifulSoup # Request URL response = requests.get("http://books.toscrape.com/catalogue/category/books/history_32/index.html") soup = BeautifulSoup(response.text, "html.parser") books = soup.find_all("article") for book in books: # print(book.find("h3").find("a")["ti...
[ "makhanya.mzili@gmail.com" ]
makhanya.mzili@gmail.com
0ff8b707234a1ca0f9f6545c2a2a81e78061d016
a48eaa4419b87c011abdee1eebfd04b469f4417b
/.history/ghostpost/models_20200210194514.py
6e30172547ebdc65f4aca769b0575aa72372211a
[]
no_license
Imraj423/ghostpost
6418d6c9561528ac8c31dd70d8aae7fac4c77cca
4edc559eb1f9ef0d11aae78e2b1dbd5c4903ddb5
refs/heads/master
2021-01-02T13:32:58.032239
2020-02-11T23:21:31
2020-02-11T23:21:31
239,644,968
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
from django.db import models from django.utils import timezone class ghostPost(models.Model): message = models.CharField(max_length=280) time = models.DateTimeField(default=timezone.now) like = models.IntegerField(default=0) dislike = models.IntegerField(default=0) is_Boast = models.BooleanField( ...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
bcd73e2c410197d8acf9939ea8cc23d1fff8e9fe
b73ce9da9ddf21e59444b36d0b747994072f42da
/tests/html_parser.py
af2feee2a62d712a60506d9076cf8a291d3e0b0f
[ "MIT" ]
permissive
manga-py/providers
de68017205850f5d90869464aa41b1691dfca235
1ad9f74d1e672f62070632f77fc74e66d35d0e85
refs/heads/master
2020-07-28T17:29:07.923115
2020-05-23T08:27:22
2020-05-23T08:27:22
209,479,291
1
1
null
null
null
null
UTF-8
Python
false
false
2,443
py
import unittest from lxml.html import HtmlElement from manga_py.providers.exceptions import * from manga_py.providers.utils.html_parser import HtmlParser from ._test_variables import TestVariables class TestHtmlParser(unittest.TestCase, TestVariables): def test_parser(self): html = HtmlParser.parse(self...
[ "sttv-pc@mail.ru" ]
sttv-pc@mail.ru
ecc7bc3853d20d63778c3f3b2e9797f155087c66
0dcdf4d1e0d83e9af30369c5d7899f1ea069ead5
/project/backend/main/models.py
52ac188bfe05ccc30abb43c1bb2fe4e97623f310
[ "MIT" ]
permissive
senavs/website-hosting
a4684aef35943ee3635237f9b99d7efe89cc6161
b38589ca4478d9ca0189d0bfcedcbd854de7eacc
refs/heads/master
2023-05-12T11:43:28.230688
2020-05-29T15:19:36
2020-05-29T15:19:36
264,193,522
1
0
MIT
2023-05-01T21:40:34
2020-05-15T12:56:05
HTML
UTF-8
Python
false
false
2,021
py
import sqlite3 from sqlite3 import ProgrammingError from typing import Iterable # NOT USING ORM BECAUSE OF THE PROJECT REQUIREMENTS class Database: _connection = _cursor = None __tablename__ = None __tablecolumns__ = [] def __init__(self, url: str): self.url = url def __enter__(self): ...
[ "sena.matheus14@gmail.com" ]
sena.matheus14@gmail.com
127dd90853c25dbea635b9dd8408f5b3bdcf5419
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02641/s218012358.py
150b550e08d6d7ff5fea6bdc3c1c73415536a324
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
from sys import stdin readline = stdin.readline def i_input(): return int(readline().rstrip()) def i_map(): return map(int, readline().rstrip().split()) def i_list(): return list(i_map()) def main(): X, N = i_map() if N == 0: print(X) exit() P = i_list() p = list(map(lambda x: abs(x - X...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5082cfcb3ca5d5b78605012561050bd02c54c5d4
14b91c8b09eb6fd5b099743b85b0bd3cbfa20b0e
/Variables.py
6294b4f9b231896737258226ed0857da75a2cd4c
[]
no_license
artheadsweden/python_fundamentals
937e001fc1dc157286e166152d830b10524fb981
4d38fd7d69dccbf733f059a406f123d6e149f97f
refs/heads/master
2020-03-23T07:15:07.418803
2018-09-17T08:42:38
2018-09-17T08:42:38
141,258,276
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
def main(): x = "Hello There" y = x print(y) if __name__ == '__main__': main()
[ "joakim@arthead.se" ]
joakim@arthead.se
a5869970d2b78ec96897101cab117327353b702c
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2017_08_01/operations/load_balancer_frontend_ip_configurations_operations.py
9c0cdae555548e8f98c0c3052d6d83201eac652f
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
8,339
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
175bf5483a2bdabcdb51e0f86efdccc41148535b
c15847d7c689d45aa7273e608ea447e28f1dfff6
/performance_testing/jmeter/cancel_running_jobs.py
e645fd6420384b57448a43010e86b29305a60ef8
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/bigquery-utils
1b9ae6cff5aaa25b7312c4393551352066e0aa53
2e30dc06ef6452d3d1b6cdc5a468732a2327d11c
refs/heads/master
2023-09-03T07:08:37.783915
2023-08-11T16:51:04
2023-08-11T16:51:04
201,975,309
906
269
Apache-2.0
2023-09-07T11:43:23
2019-08-12T17:12:09
Java
UTF-8
Python
false
false
1,156
py
# Copyright 2020 Google LLC # # 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, s...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
15f0162edd3a76b4a984fee76ec8c64da65af592
b3fc3f3e92f4cfa7a69b3cc5e7f29dac372a5179
/pactools/dar_model/preprocess.py
023f7da5b9c681008b74606af26cd20e735704b6
[]
no_license
agramfort/pactools
29c23ed840a59b92e85e0663755f3693386bd944
d78b8e2eaa4ec2a5e3380d7e4ec41fa6d8a5e541
refs/heads/master
2023-07-06T19:41:13.734330
2017-03-29T14:32:18
2017-03-29T14:32:18
86,735,551
0
0
null
2017-03-30T18:30:15
2017-03-30T18:30:15
null
UTF-8
Python
false
false
19,159
py
import numpy as np from scipy import signal import matplotlib.pyplot as plt from ..utils.spectrum import Spectrum from ..utils.carrier import Carrier, LowPass from ..utils.arma import Arma from ..utils.validation import check_random_state def _decimate(x, q): """ Downsample the signal after low-pass filterin...
[ "tom.dupre-la-tour@m4x.org" ]
tom.dupre-la-tour@m4x.org
bd787adc4fb245d2acb71f579c985593fe27e6d8
b7e1d227d41542bf20f92d08bb0d453058cf6d19
/search/urls.py
1c810a86e3ed3a21dba7ab31f2b6f0dd6f3cd470
[]
no_license
rusrom/django-ecommerce
dfa35bdb2832abf4077dd0883ec0e5e79ffa9662
aebef77713ab7c1c2118d5c190deee5ccfbd3cb9
refs/heads/master
2020-08-04T23:36:09.610480
2019-10-22T14:00:04
2019-10-22T14:00:04
212,315,359
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.conf.urls import url from .views import SearchListView urlpatterns = [ url(r'^$', SearchListView.as_view(), name='list'), ]
[ "rusrom@guyfawkes.33mail.com" ]
rusrom@guyfawkes.33mail.com
0850525da95f116617b72ae302c4e47e6613f311
5d4504fe2a4881d20669d2a19392c7ac0d9b2831
/Prerequisites/Python27/Lib/site-packages/esphome/components/sensor/max6675.py
0ea383d4f693857d29a8459d19d278f8d2e144e2
[]
no_license
lanbing8023/esphome-tools
5c98f513b768f71742dc68ad68271e22652db9ea
6b641e2dcb35130432f2409c50e03ff93af5ceec
refs/heads/master
2020-05-02T13:24:19.744788
2019-03-11T02:25:57
2019-03-11T02:25:57
177,983,108
1
1
null
2019-03-27T11:48:47
2019-03-27T11:48:47
null
UTF-8
Python
false
false
1,494
py
import voluptuous as vol from esphome import pins from esphome.components import sensor, spi from esphome.components.spi import SPIComponent import esphome.config_validation as cv from esphome.const import CONF_CS_PIN, CONF_ID, CONF_NAME, CONF_SPI_ID, \ CONF_UPDATE_INTERVAL from esphome.cpp_generator import Pvaria...
[ "imhsaw@gmail.com" ]
imhsaw@gmail.com
2e05cf353597c2eb858f2a627d9d163053e35801
72bce1fbde45f03808f1dc5b8a3d6385d9a3fa61
/train_V1.py
ca123c889682ec02bd7465b4ab8b2d8b232c67fd
[]
no_license
Kimyuhwanpeter/2021-03-12
d3e1567899e7648bce66ca5a7f7184032d9222bd
cdd9b398bfe3d061dadad2b2039672acd9e2034c
refs/heads/main
2023-03-18T23:41:17.725492
2021-03-12T06:14:55
2021-03-12T06:14:55
346,961,557
0
0
null
null
null
null
UTF-8
Python
false
false
8,923
py
# -*- coding:utf-8 -*- from random import random, shuffle import tensorflow as tf import easydict import numpy as np import os FLAGS = easydict.EasyDict({"img_size": 224, "load_size": 266, "batch_...
[ "noreply@github.com" ]
Kimyuhwanpeter.noreply@github.com
3bcef533264cc999482acad54ede4c319059a45c
38c677ab6ad24a70319ca0c3b952e597e62991d1
/hackbright_web.py
7d365aa03731539222261baff7d67bca228a8647
[]
no_license
dmcdekker/project-tracker-flask
b24ce0a6c0e53ec7b596876d9a53096f492ee285
fe7fd68c9d1988d16bffad3ce45421aa334688ef
refs/heads/master
2020-03-13T03:35:24.274671
2018-04-25T03:41:00
2018-04-25T03:41:00
130,946,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
"""A web application for tracking projects, students, and student grades.""" from flask import Flask, request, render_template import hackbright app = Flask(__name__) @app.route("/student") def get_student(): """Show information about a student.""" github = request.args.get('github') first, last, git...
[ "denisemdekker@gmail.com" ]
denisemdekker@gmail.com
6b97d89ed87820245834127c27c74873a0e8da46
29881fa0c087f3d3ce0e27fb51309384266203e1
/listings/migrations/0008_listing_expiration_date.py
83b7fc387dda027d9abffaaa66e3772326f0ed97
[]
no_license
aidant842/mymo
0e5ec2a5c73b6755d994467e4afba10141f449ea
877e7a38198d1b5effc6c3a63ad12e7166c20a77
refs/heads/master
2023-07-17T15:30:21.350974
2021-08-24T12:43:18
2021-08-24T12:43:18
340,033,414
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.1.6 on 2021-02-23 11:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('listings', '0007_auto_20210222_1610'), ] operations = [ migrations.AddField( model_name='listing', name='expiration_...
[ "aidant842@gmail.com" ]
aidant842@gmail.com
3c558cd0e27631a53814488e91e71d01604fee41
6b6f2ebcc9fbf7518ec998e1d8d914dd875742d7
/djblets/mail/utils.py
5e37af0c35710562a82c3b0cbc9f3279caf60a13
[]
no_license
pombredanne/djblets
da89e0398fb44250b09e7201c940e54cffbebcb3
9c4e4a1e6fa71d59b4f555c6ec5699616eb19335
refs/heads/master
2022-03-02T00:00:21.921658
2022-02-08T11:30:56
2022-02-08T11:30:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,312
py
"""General utility functions for working with e-mail.""" from email.utils import escapesre, parseaddr, specialsre from django.conf import settings def build_email_address(email, full_name=None): """Build an e-mail address for a To/CC/BCC field from a user's information. Args: email (unicode): ...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
f5de3033852e2a457427fafdf76c59847f85f1cc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02393/s327666970.py
700b176b69a13b7dfa8a6b0295a518a8f481bbf1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
nums = [int(i) for i in input().split()] nums.sort() print("{} {} {}".format(nums[0], nums[1], nums[2]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0dc21621af4cce33fbdc36b818eb44f102674aca
838d23e9590bc855926628d0f7b4ffe73e108565
/Python_Programs/Madlibs_generator.py
6729ad7eb3eb4a0bd5cb64dd8890f7d84a433a8c
[]
no_license
ArnabBasak/PythonRepository
ca475b1bc728ede1e033c54f40392f5b4c3494d4
388478fd33c4ed654eb6b1cba5e0cbdcfb90cf0e
refs/heads/master
2021-07-15T17:05:47.435677
2020-07-17T09:09:56
2020-07-17T09:09:56
84,456,349
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
""" 3. Mad Libs Generator The Goal: Inspired by Summer Son’s Mad Libs project with Javascript. The program will first prompt the user for a series of inputs a la Mad Libs. For example, a singular noun, an adjective, etc. Then, once all the information has been inputted, the program will take that data and place ...
[ "arnabbasak11@gmail.com" ]
arnabbasak11@gmail.com
e8b8fdcaab85cea4620b71da164f18fd7dbe4449
947e71b34d21f3c9f5c0a197d91a880f346afa6c
/ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py
ef4585594bb4b167cfabe3c48136d2e3bc2bfe32
[ "Apache-2.0", "MIT", "GPL-1.0-or-later", "GPL-2.0-or-later", "OFL-1.1", "MS-PL", "AFL-2.1", "GPL-2.0-only", "Python-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
liuwenru/Apache-Ambari-ZH
4bc432d4ea7087bb353a6dd97ffda0a85cb0fef0
7879810067f1981209b658ceb675ac76e951b07b
refs/heads/master
2023-01-14T14:43:06.639598
2020-07-28T12:06:25
2020-07-28T12:06:25
223,551,095
38
44
Apache-2.0
2023-01-02T21:55:10
2019-11-23T07:43:49
Java
UTF-8
Python
false
false
2,076
py
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
[ "ijarvis@sina.com" ]
ijarvis@sina.com
f9aa49ceb8dcba436595b48509f035bc2bdb19d5
6daf9fe45d498ab0d9c765ee094bca55e5c14291
/polyaxon/polyaxon/config_settings/logging.py
f7a9ad2b70c05984062122943c0546f3e0302a97
[ "MIT" ]
permissive
vaer-k/polyaxon
7b23628093f017852735c893cf0a862cc983911e
da13c95d23999145763626f836f9be40a6e8f965
refs/heads/master
2020-03-13T08:19:15.744002
2018-04-25T10:37:39
2018-04-25T10:37:39
131,041,646
0
0
null
2018-04-25T17:32:05
2018-04-25T17:32:05
null
UTF-8
Python
false
false
1,828
py
import os from polyaxon.utils import ROOT_DIR LOG_DIRECTORY = ROOT_DIR.child('logs') if not os.path.exists(LOG_DIRECTORY): os.makedirs(LOG_DIRECTORY) LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'standard': { 'format': '[%(asctime)s] %(levelname)s...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
89f9ff1fc57d19bfc0ba90652c5632f79ae10a15
1f626975077725c2d6fa364a4ba530675566d6e0
/userHandling/urls.py
0b00f7539a6ad0671af093574b0d0b192e3910d2
[]
no_license
Nsokol44/Carthago
54a92acfcceef94feda4c3750f6cb469fd8fd571
b5dd0c14c05cb21b059ac48ff0b6416c5194c203
refs/heads/master
2023-02-17T02:36:46.413918
2021-01-19T20:33:44
2021-01-19T20:33:44
331,069,019
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='user-home'), path('register/', views.register, name='register'), path('user_login/', views.user_login, name='user_login'), path('user_logout/', views.user_logout, name='user_logout'), path('profi...
[ "nsokol@nicholass-mbp.lan" ]
nsokol@nicholass-mbp.lan
4723274435f75a11c268f333e216e32fd69a877d
eb0f13155a6c97a561e4df66f8c96f25b3587eb7
/api/sktkr.py
5f3313eb06461bf94d6137a07f2892163df44169
[]
no_license
jaehyek/stock-analysis
3005cdf9a118fa78f854fa8215eda837abf4e75d
2f78dacc9aee4254b958ab928ab913c4f3007979
refs/heads/master
2020-04-20T07:08:00.829939
2017-10-27T10:16:32
2017-10-27T10:16:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,521
py
""" sktkr.py This script should use sklearn to learn from stock market data. """ import io import pdb import os import flask import datetime as dt import flask_restful as fr import numpy as np import pandas as pd import sqlalchemy as sql import sklearn.linear_model as skl # modules in the py f...
[ "verystrongjoe@gmail.com" ]
verystrongjoe@gmail.com
953a315f777053b29c6890ea46141a5d1a775b67
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/h9o.py
7c4d926efac165c05ca196fb75ddfc9e4d37a0d0
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
c36737d70f36cd5e2a9ae0a8957a169c2ed18c6c
8417564be258bf1b8ed1c75cf8cdbcea346239b1
/venv/bin/pip3.5
26454f64bd409142cbde634ad3a4aa6107b1ac24
[]
no_license
rdahal35/djangoproject
abebe56f7e5be2a45fb656b030aed2b9c9c6e201
8aa0d967018d6eb4097235135661cda2c46d67a3
refs/heads/master
2021-09-09T23:02:17.107653
2018-03-20T05:40:26
2018-03-20T05:40:26
125,965,879
0
0
null
null
null
null
UTF-8
Python
false
false
251
5
#!/home/rupesh/python/django/yetanotherproject/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rdahal35@gmail.com" ]
rdahal35@gmail.com