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
fbe5bbf72cfc77e0e0a289bbf4f3e02ff45f6c7d
c421330a5e03df01aa4ec9dc1c60dd2b9c514423
/movieproject/movieapp/urls.py
29e716810f30b03d4a9e060a55a905cdf4dcd5f1
[]
no_license
sayanth123/movieapp
16051774cbb1766c513a3e2b28c45b905c45c4d0
f4e50a7f1b7441390ab234c11a13e1d989ec3118
refs/heads/master
2023-05-06T05:41:09.735871
2021-05-26T12:46:47
2021-05-26T12:46:47
371,027,811
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from . import views from django.urls import path app_name='movieapp' urlpatterns = [ path('', views.index,name='index'), path('movie/<int:movie_id>/', views.detail,name='detail'), path('add/', views.add,name='add'), path('update/<int:id>/', views.update,name='update'), path('delete/<int:id>/', views.delete,name='delet...
[ "you@example.com" ]
you@example.com
63b6f5beff30f469db12c028c0a1fefdad4c79f5
d507d0846902e0012a4b2a0aaaea1cbbdb21db46
/supervisely_lib/annotation/json_geometries_map.py
394b5674ece0eb53c38ebf1dfc6160b66988b185
[]
no_license
wpilibsuite/supervisely
a569fdc0d5e5f2fb912f32beab8f3fedb277504e
19805ca9b2bd20e31d6d41a99dc37dc439bc257a
refs/heads/master
2022-09-09T02:32:54.883109
2020-06-01T20:55:49
2020-06-01T20:55:49
267,916,361
2
3
null
2020-06-03T13:59:56
2020-05-29T17:27:30
Python
UTF-8
Python
false
false
843
py
# coding: utf-8 from supervisely_lib.geometry.bitmap import Bitmap from supervisely_lib.geometry.cuboid import Cuboid from supervisely_lib.geometry.point import Point from supervisely_lib.geometry.polygon import Polygon from supervisely_lib.geometry.polyline import Polyline from supervisely_lib.geometry.rectangle impor...
[ "austinshalit@gmail.com" ]
austinshalit@gmail.com
996df35200d2adc6b93a637fd11c0fe8b8974d26
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/receipt/_claims_models.py
9859688f266bb0aff4d28d6e620d07a0fd31064e
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,138
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ """Models for application claims.""" from typing import Any, Dict, Optional, Union from dataclasses import dataclass @dataclass class LedgerEntryClaim: """ Le...
[ "noreply@github.com" ]
Azure.noreply@github.com
0185c4f4c626389ea2464ebda9f072d8a3b86e50
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow/python/keras/api/_v2/keras/applications/xception/__init__ 2.py
bf93ae01110de2a54ca5eaeaa25020b85ad82eab
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:bdac5cda377d4d39bccb19a4cdeafc9b8f2a51c4983a1c81f5f33a22b6729864 size 731
[ "business030301@gmail.com" ]
business030301@gmail.com
5528da26ff17297745c4e882767344421f6747fc
5da373c7f45b65894804002ef33fd53264d976f9
/ppim/models/__init__.py
375413f9f747aca74a305719606c6d34f8708fba
[ "Apache-2.0" ]
permissive
chenhaohan88/Paddle-Image-Models
55bfafdbb43ef001faa4ea2e53570ab3248e4786
c80e3423ce57779b3426c3c024f3fc51cdb9d1b7
refs/heads/main
2023-04-10T22:52:45.251251
2021-04-04T02:20:15
2021-04-04T02:20:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
# Transformer # from .tnt import tnt_s, TNT from .vit import VisionTransformer from .pit import pit_ti, pit_s, pit_xs, pit_b, pit_ti_distilled, pit_s_distilled, pit_xs_distilled, pit_b_distilled, PoolingTransformer, DistilledPoolingTransformer from .deit import deit_ti, deit_s, deit_b, deit_b_384, deit_ti_distilled, de...
[ "2286040843@qq.com" ]
2286040843@qq.com
de9883ebf4e9b195992a3a40d7ed18ada729acc7
ab1c920583995f372748ff69d38a823edd9a06af
/hw/day9/day9_hw3.py
16f8486856923f4b36925b819f6988b3d58adbad
[]
no_license
adyadyat/pyprojects
5e15f4e33892f9581b8ebe518b82806f0cd019dc
c8f79c4249c22eb9e3e19998d5b504153faae31f
refs/heads/master
2022-11-12T16:59:17.482303
2020-07-04T09:08:18
2020-07-04T09:08:18
265,461,663
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
for i in range(1,9): for j in range(8,i,-1): print(' ',end='') for k in range(1,i+1): print(i,end='') for x in range(2,i+1): print(i,end='') print() for i in range(7,0,-1): for j in range(i,8): print(' ',end='') for k in range(i,0,-1): print(i,end='') for x in range(i,1,-1): print(i,end='') print() ...
[ "omorbekov.a@gmail.com" ]
omorbekov.a@gmail.com
45ee33f2b96eb380d8ed54ad93aab76653c54a7a
c3396691665741fe3c680e7d44ee127b05b54a0d
/tensorflow/python/training/sync_replicas_optimizer_test.py
e340a22374f7487b4ab4d96cd1720203e8322f36
[ "Apache-2.0" ]
permissive
ravi-teja-mullapudi/tensorflow
72506388755fae70e27bb6b907f3f7e6c3208c3d
e8d0ce80414e2402f648a86b1d3bf3ad435467a9
refs/heads/master
2021-05-04T08:35:00.029305
2016-11-08T22:49:42
2016-11-08T22:49:42
70,420,798
0
0
null
2016-10-09T17:57:48
2016-10-09T17:57:47
null
UTF-8
Python
false
false
11,997
py
# Copyright 2016 The TensorFlow Authors. 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
5b809ff208831e26008b58b30ecc4453fe7f150d
fcc665fc2792820e438d32339cc12ae796c1835c
/opps/core/models/profile.py
d012047a545730de5be9f658dfa00941a86911e5
[ "MIT" ]
permissive
marcelomilo/opps
e3614e644d97ebc6b62e0083aee9a42c242f567c
bf92a003b6ad1f521d662d767a29f58a6033cb3d
refs/heads/master
2021-01-16T18:50:12.146646
2013-03-02T05:15:51
2013-03-02T05:15:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _ class Profile(models.Model): user = models.ForeignKey(User, related_name='user') twitter = models.CharField(_(u"Twitter"), max_length=75, blank=True, ...
[ "thiagoavelinoster@gmail.com" ]
thiagoavelinoster@gmail.com
ef2d18211c323bd7603ec0938ce87dce09755d62
b4c2bbf32748f381f8918c2c20d2a86b5453dc87
/plugins/convert/mask/box_blend.py
f42177463e6d8e748353a1bd9354d1eaf432d0ff
[ "MIT" ]
permissive
oveis/DeepVideoFaceSwap
d45c7a18204f851a5c8b9cb6c9618284d4314b59
e507f94d4f5d74c36e41c386c6fb14bb745a4885
refs/heads/dev-gan-model
2022-07-14T10:06:08.131201
2019-07-09T00:48:16
2019-07-09T00:48:16
184,978,011
6
5
MIT
2022-06-21T22:00:38
2019-05-05T04:09:53
Python
UTF-8
Python
false
false
1,990
py
#!/usr/bin/env python3 """ Adjustments for the swap box for faceswap.py converter """ import numpy as np from ._base import Adjustment, BlurMask, logger class Mask(Adjustment): """ Manipulations that occur on the swap box Actions performed here occur prior to warping the face back to the background fram...
[ "jinil@nyu.edu" ]
jinil@nyu.edu
1a6bfbbed305ea623e2da442fa25a000b9f34077
53568d7c9ca6d53f3f90fe45d33cf6357a732a88
/170521-lambda-expresions,list-comprehension,classes/ulamek.py
4b3d6cf7509a99713ff711da7a639b031f54f698
[]
no_license
majsylw/Python-3.x-examples
eb7ce7df9c582f7b56fa6d40db5f96479858f867
59b56ca98a0ea27ce48fb47a173333bf0a9d1349
refs/heads/main
2023-06-08T07:24:53.052672
2021-06-29T12:46:15
2021-06-29T12:46:15
348,288,268
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
""" Przykładowa definicja klasy ułamek -- wykorzystanie metod specjalnych """ import math class Ulamek: def __init__(self, licznik, mianownik): assert(mianownik > 0) self.licznik, self.mianownik = licznik, mianownik self.skracanie() # funkcja print def __str__(self): retur...
[ "58003896+majsylw@users.noreply.github.com" ]
58003896+majsylw@users.noreply.github.com
1edbe9210cdaf8b6747c0577918cd4156ca3452d
57ddfddd1e11db649536a8ed6e19bf5312d82d71
/AtCoder/ABC1/ABC184/D.py
b4c97e61d1c7838d65bbca5688a51931bd044ccf
[]
no_license
pgDora56/ProgrammingContest
f9e7f4bb77714dc5088c2287e641c0aa760d0f04
fdf1ac5d1ad655c73208d98712110a3896b1683d
refs/heads/master
2023-08-11T12:10:40.750151
2021-09-23T11:13:27
2021-09-23T11:13:27
139,927,108
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
import sys sys.setrecursionlimit(10**9) memo = {} def search(a,b,c,cnt): tot = a+b+c if a > b: a, b = b, a if b > c: b, c = c, b if a > b: a, b = b, a if a in memo: if b in memo[a]: if c in memo[a][b]: return memo[a][b][c] else: ...
[ "doradora.prog@gmail.com" ]
doradora.prog@gmail.com
f64139a35c4373ac2f6b69e9c1b8e0b8a2ff93ff
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/480/usersdata/321/110867/submittedfiles/Av2_Parte2.py
130a05edcdad51dd3406a9fd3116a763a0ab7756
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
# -*- coding: utf-8 -*-valor numero= int(input('Insira um número: '))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6cbdb1487c6d3378423262ea3ae076dec93232d6
7c6b801ff36aa0a82ceb30c98e90091209320c7c
/cloudant121234.py
36222d26b5123a8e34eafb378d33919373468894
[]
no_license
SmartPracticeschool/llSPS-INT-2442-Smart-Waste-Management-System-For-Metropolitan-Cities
5872fc64c1290991bb36b8f7fdc03eceb0025a8f
c6673bf9171b66b08a0c5a5f6643799b0d7fc3e6
refs/heads/master
2022-10-20T07:07:52.180598
2020-06-09T14:23:00
2020-06-09T14:23:00
267,571,204
2
0
null
null
null
null
UTF-8
Python
false
false
4,459
py
import time import sys import random import ibmiotf.application import ibmiotf.device #Provide your IBM Watson Device Credentials organization = "q2va6d" # repalce it with organization ID deviceType = "rsip" #replace it with device type deviceId = "108" #repalce with device id authMethod = "token" authT...
[ "noreply@github.com" ]
SmartPracticeschool.noreply@github.com
9a5b1d2e7d6dea3e986d99e0bb25fe5acc6bb443
63b0f544dc8ad899dd605d36e6048077c7a9ed6e
/tests/test_shrinking.py
1c5b0a732701a01bc5dd6b9c42af810e40883b84
[]
no_license
DRMacIver/structureshrink
c2372d7e4686879cb035292573d32a60459f1024
625e01236d6a7d72295782277737595f81d77d2a
refs/heads/master
2020-05-22T02:47:24.446684
2016-06-16T12:16:39
2016-06-16T12:16:39
55,408,891
101
6
null
2016-04-18T20:24:31
2016-04-04T12:20:29
Python
UTF-8
Python
false
false
734
py
from structureshrink import shrink from hypothesis import given, strategies as st import hashlib @given(st.binary(), st.random_module()) def test_partition_by_length(b, _): shrunk = shrink(b, len) assert len(shrunk) == len(b) + 1 @given( st.lists(st.binary(min_size=1, max_size=4), min_size=1, max_size=5...
[ "david@drmaciver.com" ]
david@drmaciver.com
b22e2138f9c4c2578dd2761ab351bdc609613b66
381b75fe68a4da258e2e60a97105b66ac47214e4
/qa/rpc-tests/getblocktemplate_proposals.py
bd844d49dd91db1fa1eb0f16535ccea2625de16b
[ "MIT" ]
permissive
lipcoin/lipcoin
3a5997dfc9193ee7dee6f9fa0adc1cb5fb8c92a3
7afc0a02d63620e5a5601474cca131cb0cf3bbe4
refs/heads/master
2021-01-24T07:57:56.248620
2018-03-17T19:04:38
2018-03-17T19:04:38
112,155,869
0
0
null
null
null
null
UTF-8
Python
false
false
5,726
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The LipCoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import LipCoinTestFramework from test_framework.util import * from bi...
[ "support@lipcoins.org" ]
support@lipcoins.org
3d3ed85bb76718a4e5973252aefc6b9b998ef6c6
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Datatypes/KlOmegaElementMateriaal.py
0e4f888f71af1341513eee503beab2556145d36f
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
2,285
py
# coding=utf-8 import random from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlOmegaElementMateriaal(KeuzelijstField): """De gebruikte material...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
bf7636f3f80aa31b41bfea8c5de09a9c2c78081e
be5e5aebd753ed1f376dc18ce411f0fac6d2f762
/natuurpunt_purchase/__openerp__.py
2c5775f49e8c2d135a4f1389ae4e637f0ac437cf
[]
no_license
smart-solution/natuurpunt-purchase
7d9fcfdde769b6294d8dc705cecc99a177b4573c
0ac94cb68cee4ef464158720e04007ee12036179
refs/heads/master
2021-05-22T04:43:21.594422
2020-11-02T13:32:27
2020-11-02T13:32:27
39,186,322
0
2
null
2020-11-02T13:32:28
2015-07-16T08:42:31
Python
UTF-8
Python
false
false
1,548
py
# -*- coding: utf-8 -*- ############################################################################## # # Smart Solution bvba # Copyright (C) 2010-Today Smart Solution BVBA (<http://www.smartsolution.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the ...
[ "fabian.semal@smartsolution.be" ]
fabian.semal@smartsolution.be
981bbfed69a5508f0cfab20fc831cfd657c03bfd
690c4fd238926624c1d3fa594aeb9d7140618b5b
/day04/mysite4/mysite4/settings.py
b6283d1c8dc99f4cc72597551584c5d90b1ccbf3
[]
no_license
dalaAM/month_04
66c4630a169294f4e4dca26c77989ad5879da2ca
322532fedd095cd9307ee4f2633026debe56f551
refs/heads/master
2022-12-04T06:02:12.995054
2020-08-23T04:06:19
2020-08-23T04:06:19
286,018,771
0
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
""" Django settings for mysite4 project. Generated by 'django-admin startproject' using Django 2.2.13. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "1105504468@qq.com" ]
1105504468@qq.com
2a7b308b9a147c9384f1af15affa987a9c80bc18
78144baee82268a550400bbdb8c68de524adc68f
/Production/python/Autumn18/WWW_4F_TuneCP5_13TeV-amcatnlo-pythia8_ext1_cff.py
0404dac24ac1af443c07c6d7567e3d26aecf82b0
[]
no_license
tklijnsma/TreeMaker
e6989c03189b849aff2007bad22e2bfc6922a244
248f2c04cc690ef2e2202b452d6f52837c4c08e5
refs/heads/Run2_2017
2023-05-26T23:03:42.512963
2020-05-12T18:44:15
2020-05-12T18:44:15
263,960,056
1
2
null
2020-09-25T00:27:35
2020-05-14T15:57:20
null
UTF-8
Python
false
false
2,416
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIIAutumn18Mi...
[ "Alexx.Perloff@Colorado.edu" ]
Alexx.Perloff@Colorado.edu
387622b9565cfcaa2fe10c694aeb971fe457181e
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonCnv/MuonByteStream/share/WriteMuonByteStream_jobOptions.py
a8c537456ede0b7ccc707e97e9cfe4a5455e6a66
[]
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
221
py
theApp.Dlls += [ "MuonByteStream" ] StreamBS = Algorithm( "StreamBS" ) StreamBS.ItemList +=["4187#*"] StreamBS.ItemList +=["4190#*"] StreamBS.ItemList +=["4186#*"] StreamBS.ItemList +=["4183#*"] StreamBS.ForceRead=True
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
235b0d7e97c24574ab59397ad07507f0a41dccd3
45d515a0e33794e7c46a3ad7e1cfdf3ac6c2ee83
/collector.py
75168f49016e4b9e35ec36b52b159adbb814a41a
[ "MIT" ]
permissive
djcarter85/Fantasy-Premier-League
12b2aaef62c5bc4e0656b83572c2ff9087aa4238
46a8e72b80b34a1afe3d7a9c9b4f8ad0cba48b7e
refs/heads/master
2021-07-03T13:04:05.621833
2020-12-21T17:16:41
2020-12-21T17:16:41
201,034,915
1
0
NOASSERTION
2019-08-07T11:16:27
2019-08-07T11:16:26
null
UTF-8
Python
false
false
4,066
py
import os import sys import csv def get_teams(directory): teams = {} fin = open(directory + "/teams.csv", 'rU') reader = csv.DictReader(fin) for row in reader: teams[int(row['id'])] = row['name'] return teams def get_fixtures(directory): fixtures_home = {} fixtures_away = {} f...
[ "vaastav.anand05@gmail.com" ]
vaastav.anand05@gmail.com
5d1f082d6d49219104ea342bd2d205351bf8267c
a4a01e251b194f6d3c6654a2947a33fec2c03e80
/PythonWeb/Django/1809/Day02/DjangoDemo01/sport/apps.py
8dc5fb5c302ddd038a2fa5369b1ba78cfd405151
[]
no_license
demo112/1809
033019043e2e95ebc637b40eaf11c76bfd089626
e22972229e5e7831dce2aae0b53ce19a6e3bb106
refs/heads/master
2020-04-09T07:10:49.906231
2019-02-27T13:08:45
2019-02-27T13:08:45
160,143,869
0
2
null
null
null
null
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class SprotConfig(AppConfig): name = 'sport'
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
bb010b096427cce84eb368767cc9d17ddb8f16db
a9fc496e0724866093dbb9cba70a8fdce12b67a9
/scripts/field/eunwol_house.py
131e7ecadea4a9957479632d96bd39eede25e3ea
[ "MIT" ]
permissive
ryantpayton/Swordie
b2cd6b605f7f08f725f5e35d23ba3c22ef2ae7c0
ca6f42dd43f63b1d2e6bb5cdc8fc051c277f326e
refs/heads/master
2022-12-01T09:46:47.138072
2020-03-24T10:32:20
2020-03-24T10:32:20
253,997,319
2
0
MIT
2022-11-24T08:17:54
2020-04-08T05:50:22
Java
UTF-8
Python
false
false
878
py
# 410000001 if sm.hasQuest(38002): sm.removeEscapeButton() sm.flipDialoguePlayerAsSpeaker() sm.sendNext("What happened? A house and a new name... But what happened to my friends? Are they alive? If I am, then maybe we failed to seal the Black Mage...") sm.sendSay("No. They wouldn't give up that easily. ...
[ "mechaviv@gmail.com" ]
mechaviv@gmail.com
cc95e675ce9006d3e9f7d28cffe4c7ef20978ece
e024cc2f51d2c9104a514f3f1a77c5cabbe7691a
/examplePandas.py
c717fed2795c5e5ce4b716fd2779e9a249e1c041
[]
no_license
wilsonsk/Machine-Learning-for-Stock-Trading
1818f144df02e69ce3e29fe1eb576675d512324a
bf5a36942e0f39e6c6d1c521bb3532e7eb82b669
refs/heads/master
2021-06-08T18:47:35.787532
2016-09-23T05:13:22
2016-09-23T05:13:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
import pandas as pd def test_run(): df = pd.read_csv("data/AAPL.csv"); print df #print entire dataframe #print df.head() -- print first 5 rows #print df.tail() -- print last 5 rows #print df.tail(n) -- print last n rows if __name__ == "__main__": test_run()
[ "root@localhost.localdomain" ]
root@localhost.localdomain
294428420539f48b42712835aa446ba29b706061
60096eba428275a28ab53d364aef0b9bc29e71c8
/hris/models.py
9a2b067dfbdab5351c3fedc2181e89d2624e2c8f
[]
no_license
RobusGauli/hris_new
30ef8d17aceceb5f6c8f69f65df508228cb31f33
634f18d162310df9331543f7a877cac619ee1622
refs/heads/master
2021-01-19T21:55:39.279378
2017-04-29T04:32:38
2017-04-29T04:32:38
88,724,501
0
0
null
null
null
null
UTF-8
Python
false
false
15,787
py
from sqlalchemy import ( Column, String, Integer, ForeignKey, Text, Enum, CheckConstraint, DateTime, func, Date, Float, Boolean ) #default #onupdate from psycopg2 import IntegrityError from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker,...
[ "user@Users-MacBook-Air.local" ]
user@Users-MacBook-Air.local
6b2dc4c4ace54c42df53fad4d1201457c5f52c49
881041fab1b4d05f1c5371efed2f9276037eb609
/tasks/where-civilian-complaints-were-reported-2005-2009/depositor.py
cfc1f38a64c3ca6b8dd165f0179f14f18bf8bf97
[]
no_license
ResidentMario/urban-physiology-nyc-catalog
b568f3b6ee1a887a50c4df23c488f50c92e30625
cefbc799f898f6cdf24d0a0ef6c9cd13c76fb05c
refs/heads/master
2021-01-02T22:43:09.073952
2017-08-06T18:27:22
2017-08-06T18:27:22
99,377,500
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
import requests r = requests.get("https://data.cityofnewyork.us/api/views/wqr5-zmgj/rows.csv?accessType=DOWNLOAD") with open("/home/alex/Desktop/urban-physiology-nyc-catalog/catalog/where-civilian-complaints-were-reported-2005-2009/data.csv", "wb") as f: f.write(r.content) outputs = ["/home/alex/Desktop/urban-phys...
[ "aleksey.bilogur@gmail.com" ]
aleksey.bilogur@gmail.com
216af594580d96800f9747a8650c7a4f5c81e89f
88ba19b3303c112a424720106a7f7fde615757b5
/03-data_manipulation_with_pandas/01-transforming_data/sorting_rows1.py
0939c1757697add7f2c7c4dbd665fad67ebd8b1c
[]
no_license
mitchisrael88/Data_Camp
4100f5904c62055f619281a424a580b5b2b0cbc1
14356e221f614424a332bbc46459917bb6f99d8a
refs/heads/master
2022-10-22T18:35:39.163613
2020-06-16T23:37:41
2020-06-16T23:37:41
263,859,926
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> # Sort homelessness by individual homelessness_ind = homelessness.sort_values("individuals") # Print the top few rows print(homelessness_i...
[ "noreply@github.com" ]
mitchisrael88.noreply@github.com
170a9f6840626ccbdc39ec724bedd10138df1fc0
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/security/azure-mgmt-security/azure/mgmt/security/_configuration.py
9aa2b7aa11ce32d405db56ca4db44791e423a5c6
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,145
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 ...
[ "zikalino@microsoft.com" ]
zikalino@microsoft.com
07ccca1ad2d1ac1eabc7ee6a124434a18a9abf44
5e5799e0ccce7a72d514fbc76dcb0a2108013f18
/DAQConst.py
97bc899ca96bfab6e6bceb5513c84de6b84fe56f
[]
no_license
sourcery-ai-bot/dash
6d68937d225473d06a18ef64079a4b3717b5c12c
e1d1c3a601cd397d2508bfd4bb12bdb4e878cd9a
refs/heads/master
2023-03-07T17:15:39.174964
2011-03-01T17:11:21
2011-03-01T17:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
#!/usr/bin/env python # # DAQ Constant values class DAQPort(object): "DAQLive port" DAQLIVE = 6659 "IceCube Live logging/monitoring port" I3LIVE = 6666 "CnCServer XML-RPC port" CNCSERVER = 8080 "CnCServer->DAQRun logging port" CNC2RUNLOG = 8999 "DAQRun XML-RPC port"...
[ "dglo@icecube.wisc.edu" ]
dglo@icecube.wisc.edu
6eb0d84530b500e74e8e9edde1228aadfe50f8ea
8966d83bf85d4738d644624bd7b7063e8534a515
/data.d/code/python/example/wxpython/frame_boxsizer_horizontal.py
cb90c4dd5a0b24d8d1c6b59f67b455c564814a00
[]
no_license
taka16a23/.emacs.d
84a77c04c4d5e00c089cb01cc42a94b884f729ae
ac5794e2594037e316d5fe9cf6bf1fd20b44a726
refs/heads/master
2023-05-29T06:25:38.449977
2023-05-16T22:08:04
2023-05-16T22:08:04
82,106,233
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from time import sleep import wx def _main(): app = wx.App() frame = wx.Frame(None, wx.ID_ANY, 'test Frameme', size=(400, 200)) panel = wx.Panel(frame, wx.ID_ANY) panel.SetBackgroundColour('#AFAFAF') button_1 = wx.Button(panel, wx.ID_ANY, ...
[ "root@qu" ]
root@qu
d29954de8f62e3c9ec1497319acc72009ec90777
42d8bea28c7a34dde8d47f81e9463c5970af7120
/app/api/convert.py
6b5629f6f561c782c33307b24c72610c5501db73
[ "MIT" ]
permissive
Tharitos/mse_teacher_plan
1e26818811db4991eadca3157b28b2c9ae691416
4c577f810eb040c4a74810c98e2c8c4b514caf5d
refs/heads/master
2020-04-07T05:57:52.084094
2018-11-18T19:04:02
2018-11-18T19:04:02
158,116,922
0
0
NOASSERTION
2018-11-18T19:01:48
2018-11-18T19:01:48
null
UTF-8
Python
false
false
2,032
py
from typing import Union, List, Type, Dict import bson import datetime import mongoengine from mongoengine.document import Document ConvertedField = Dict[str, Union[str, int, List[str]]] ConvertedDocument = List[ConvertedField] def f(text: str, name: str, type: str, opts: List[str] = None, value: str='', fix...
[ "thexcloud@gmail.com" ]
thexcloud@gmail.com
c09c4c872e08f2b035c24a8533dc2d86407835e1
ee53b0262007b2f0db0fe15b2ad85f65fafa4e25
/Leetcode/1488. Avoid Flood in The City.py
8c3fd8f830fe17cfd954caa9f8977d15f440474a
[]
no_license
xiaohuanlin/Algorithms
bd48caacb08295fc5756acdac609be78e143a760
157cbaeeff74130e5105e58a6b4cdf66403a8a6f
refs/heads/master
2023-08-09T05:18:06.221485
2023-08-08T11:53:15
2023-08-08T11:53:15
131,491,056
1
0
null
null
null
null
UTF-8
Python
false
false
3,234
py
''' Your country has an infinite number of lakes. Initially, all the lakes are empty, but when it rains over the nth lake, the nth lake becomes full of water. If it rains over a lake that is full of water, there will be a flood. Your goal is to avoid floods in any lake. Given an integer array rains where: rains[i] > ...
[ "xiaohuanlin1993@gmail.com" ]
xiaohuanlin1993@gmail.com
e3bc9b5713cf79fea2f4287a0cc8aff9065c8319
fc772efe3eccb65e4e4a8da7f2b2897586b6a0e8
/Compute/nova/service.py
581b43fe5ed3c2b69b793788585d38688f6cf69a
[]
no_license
iphonestack/Openstack_Kilo
9ae12505cf201839631a68c9ab4c041f737c1c19
b0ac29ddcf24ea258ee893daf22879cff4d03c1f
refs/heads/master
2021-06-10T23:16:48.372132
2016-04-18T07:25:40
2016-04-18T07:25:40
56,471,076
0
2
null
2020-07-24T02:17:46
2016-04-18T02:32:43
Python
UTF-8
Python
false
false
16,592
py
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance wi...
[ "wwang@linx-info.com" ]
wwang@linx-info.com
d7c897b1fa38a472e0636bfb49694cb78a9a4151
5492859d43da5a8e292777c31eace71e0a57dedf
/chat/migrations/0021_auto_20190711_2100.py
648c9ff6915b6a1a5b5e87052c58dbab41893255
[ "MIT" ]
permissive
akindele214/181hub_2
93ad21dc6d899b6c56fbe200354b1678bb843705
48b8814b5f66ad87f9a54721506076ddf70fe9bc
refs/heads/master
2022-12-13T01:15:07.925556
2020-05-19T09:39:57
2020-05-19T09:39:57
196,470,605
1
1
MIT
2022-12-08T01:22:55
2019-07-11T22:04:42
Python
UTF-8
Python
false
false
762
py
# Generated by Django 2.1.5 on 2019-07-11 20:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('chat', '0020_reportchat_content'), ] operations = [ migrations.AlterField(...
[ "yaomingnakel@gmail.com" ]
yaomingnakel@gmail.com
72c5c560be0c150db2650cd8ddc1d2d5d0b5b6df
f4d8faeebbf9b7fe43396c637096a56c01a70060
/blog/migrations/0006_auto_20201105_1114.py
5f8babf0fc5e5c91344168878c7a39cc28a2de29
[]
no_license
eloghin/blog
eb44f6d57e88fefacb48111791b9c96fd4883be9
3c27a112bb3d51a5a25e901c10a632d4d6251a15
refs/heads/main
2023-01-07T05:47:59.124104
2020-11-05T13:12:48
2020-11-05T13:12:48
309,698,269
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# Generated by Django 3.1.2 on 2020-11-05 11:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0005_auto_20201021_0920'), ] operations = [ migrations.AlterModelOptions( name='comment', options={'ordering...
[ "contact@elenaloghin.ro" ]
contact@elenaloghin.ro
90687734a25d313028207d5b66add9b5d039eb1f
6ab217b675b0d33dec9d8985efc2de314e3a7a28
/menus/controllers/restapi/menu_category/urls.py
05579b2896e01b722317338f1b06535471c80647
[]
no_license
nujkram/dream_cream_pastries
3547928af859ebbb93f8d6ff64d02796d8c61a0c
c6a764f4f2c16191661ee6747dc0daa896eae5ec
refs/heads/master
2023-06-20T20:20:21.001373
2021-07-29T00:55:49
2021-07-29T00:55:49
375,721,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
from django.urls import path from dream_cream_pastries_project.urls import ( URL_READ_ONLY, URL_DETAIL, URL_CREATE, URL_UPDATE, URL_DELETE ) from .api import( ApiPublicMenuCategoryListDetail, ApiPrivateMenuCategoryViewSet ) VERSION = 'v1' urlpatterns = [ # public path( f'{...
[ "markjungersaniva@gmail.com" ]
markjungersaniva@gmail.com
0646e9fd57a5a8ba9198885afcbdf59f25a09de9
027635467005c93a5b5406030b6f8852368e6390
/question1_highest_average.py
a26682a8d9d01efbdae4eb073f9c60eec3e52feb
[]
no_license
Shadyaobuya/Opibus-Assessment
0472a05e4c78b28cc5779d1a2a78c29cabb1ba04
8675e82a1c64d864eb4f85604d7843670a3f8078
refs/heads/master
2023-08-22T16:14:57.912494
2021-10-16T11:40:14
2021-10-16T11:40:14
417,516,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
#This is a program that takes in a list of discharge rates and returns the highest average def find_highest_average(discharge): new_list=[] #create an empty list that will hold the sum of two contiguous rates for rate in range(len(discharge)-1): high=discharge[rate]+discharge[rate+1] ne...
[ "shadyaobuyagard@gmail.com" ]
shadyaobuyagard@gmail.com
1a54da2add1bd9577ec9109d3620de423fa16e30
d31d744f62c09cb298022f42bcaf9de03ad9791c
/federated/tensorflow_federated/__init__.py
7153a5a59599a5d2457dc00818688f32f3380d26
[]
no_license
yuhuofei/TensorFlow-1
b2085cb5c061aefe97e2e8f324b01d7d8e3f04a0
36eb6994d36674604973a06159e73187087f51c6
refs/heads/master
2023-02-22T13:57:28.886086
2021-01-26T14:18:18
2021-01-26T14:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,090
py
# Copyright 2019, The TensorFlow Federated Authors. # # 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 o...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
abada1167457df8faaf71d0f85057c37fcd5b748
929fc8dd47b91c963c8c2f81d88e3d995a9dfc7c
/src/subject/Tree.py
3ebe30494ae72e4da3574a67bea453247420b88b
[]
no_license
1325052669/leetcode
fe7571a9201f4ef54089c2e078810dad11205b14
dca40686c6a280bd394feb8e6e78d40eecf854b9
refs/heads/master
2023-04-01T17:53:30.605822
2021-04-10T15:17:45
2021-04-10T15:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,284
py
class TreeNode: def __init__(self,val): self.val=val self.left =None self.right = None class Tree: def __init__(self): pass def pre_order_traverse(self,root): if not root:return [] res = [] def dfs(node,res): if not node:return ...
[ "js7995@nyu.edu" ]
js7995@nyu.edu
eb96064b42e96778d4d8b0bdffaf9669ba512f73
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2178/60692/285974.py
d49a0e281bfcaae701b49245a014c2d5ce39431b
[]
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
816
py
from collections import defaultdict ''' n = int(input()) list1 = input().split(" ") count = 0 s1 = '' res = [] dic1 = defaultdict(int) for i in range(n): count += i + 1 if i == 0: s1 = list1[i] else: s1 += list1[i] if list1[i] == list1[i - 1]: dic1[list1[i]] += 1 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
5a68d169b1831d85bb68d490f987e3d2d2cbac5a
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil979.py
e80fc8be8c4791851baaa5a6a9e04a24ad913cfd
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
# qubit number=5 # total number=43 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=3 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
becca70bff7e7bf31f995812875dc8047fd6f021
177455bdf1fece221eef93b50f16253d342aa6a6
/alerta/api/v2/views.py
b3627e1aa8dedf3635fb8cf886a08f541b70a809
[ "Apache-2.0" ]
permissive
ntoll/alerta
c42630d91bf16cb649b43b69ae798abe60f39ed6
8122526b1791a0ff0d1aa26061129892b7e86f00
refs/heads/master
2021-01-18T05:18:30.062671
2013-03-03T23:17:10
2013-03-03T23:17:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,637
py
from flask import jsonify, request, current_app from functools import wraps from alerta.api.v2 import app, mongo import datetime # TODO(nsatterl): put these constants somewhere appropriate MAX_HISTORY = -10 # 10 most recent # TODO(nsatterl): use @before_request and @after_request to attach a unique request id @app....
[ "nick.satterly@guardian.co.uk" ]
nick.satterly@guardian.co.uk
49ef83378fcd0ea9e5514661358c72f05e5b41ae
d37bac0cca5a3fce2eaeded5ab8262f3ec215b85
/backend/home/migrations/0002_load_initial_data.py
7de06fbaafa1d57c815551632a91d73c08613ed1
[]
no_license
crowdbotics-apps/m-18-nov-dev-15260
52ada15c3d64dc0ba8fdc83a0887e830268ff02c
4e951ccfe3ab16025f995ef8fea500522e0470e0
refs/heads/master
2023-01-16T06:03:20.219329
2020-11-18T06:47:21
2020-11-18T06:47:21
313,847,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "m 18 nov" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a85b227b221113c684d0bdf1520dd764534526b4
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/EDataServer/OAuth2ServicesClass.py
0ce66dc147beaec73e1fb4e0fb2dfd8bde750bc9
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,857
py
# encoding: utf-8 # module gi.repository.EDataServer # from /usr/lib64/girepository-1.0/EDataServer-1.2.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attrib...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
a20ffd93c0dcbfea4dfc93f1a9c4a64f1c8d25aa
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0838/0838.py
ca1246e69387c77941ed2610ee370d69c953d1e0
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2022/2/21 11:16 # File: 0838.py # Desc: class Solution: def pushDominoes(self, dominoes: str) -> str: l = list(dominoes) status_c = l[0] status_id = 0 for i in range(1,len(l)): c = l[i] if c =...
[ "1014585392@qq.com" ]
1014585392@qq.com
af5e890ed0bb583636307a1cf2b0d3b8d7d1c779
6b66e499e7c2c6246c114029b83ae6ed3a4daa27
/barista/kinematicplots_Bu.py
01e0803f97f8df228c08c070882104a36adfa5fd
[]
no_license
DryRun/boffea
d837723eee13650306ede501a6e9fe1c5a9c610b
433fdb92f3b60b6f140c0a0a3b2761d812b7044e
refs/heads/master
2023-09-01T17:41:04.451388
2023-08-24T21:55:18
2023-08-24T21:55:18
232,651,843
1
0
null
2022-06-22T04:50:57
2020-01-08T20:24:05
Python
UTF-8
Python
false
false
6,047
py
import sys import numpy as np import matplotlib.pyplot as plt from cycler import cycler from coffea import hist, util from pprint import pprint import glob import mplhep plt.style.use(mplhep.style.ROOT) plt.tight_layout() from brazil.aguapreta import * figure_directory = "/home/dryu/BFrag/data/kinematic/" input_file...
[ "david.renhwa.yu@gmail.com" ]
david.renhwa.yu@gmail.com
88c304f224ab60062582abbfa1146a651e1233e6
f21814f3b4c8217e830af48b427de0b24dc398d4
/missing_value_count_and_percent.py
aed47ea11574bbab9b091a7ff7b5448c8d28d997
[]
no_license
CaraFJ/Utility
2d1dbc3f09c33d9d92bf1e602f1a01b0f3ba656e
f032e6b376d65a05fe9d25fca31794c1302ec7ed
refs/heads/master
2021-09-08T16:47:26.173366
2021-09-08T04:51:04
2021-09-08T04:52:05
248,438,511
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
def missing_value_count_and_percent(df): """ Return the number and percent of missing values for each column. Args: df (Dataframe): A dataframe with many columns Return: df (Dataframe): A dataframe with one column showing number of missing values, one column showing percentage of ...
[ "cc4167@columbia.edu" ]
cc4167@columbia.edu
b9515ac414e5682d45d712d99903e92145a5210f
72319a157507386e7ef9210de3b1e1ab673dcd8c
/activities/jawbone/__init__.py
e5aa8a881b2b208cab7cfcd8a09df8c1327e542b
[ "MIT" ]
permissive
mcescalante/open-humans
9ddd2b9c89094f05492cb10eebfd9994ecffbc95
fe474530c8492ad9925e91f72e7736406b7e42e6
refs/heads/master
2021-04-29T18:00:54.049868
2018-03-05T06:02:20
2018-03-05T06:02:20
121,683,595
0
0
null
2018-02-15T21:14:39
2018-02-15T21:14:38
null
UTF-8
Python
false
false
93
py
default_app_config = '{}.apps.JawboneConfig'.format(__name__) label = __name__.split('.')[1]
[ "beau@beaugunderson.com" ]
beau@beaugunderson.com
27b94c9d7849b71176bca1cb1da910235230ce4d
c087e0bbeeac080335240c05255bd682cfea100e
/remap_reads_consensus.py
f0decb7ac4e13e3cab2add1986e43a77371c997a
[]
no_license
ifiddes/notch2nl_10x
f537481da544ec5e3c62a2899b713b4cb68e7285
35cfd95b0e7563bad0c5d2354fd7be526bc3a39d
refs/heads/master
2021-01-10T10:18:59.098115
2016-03-24T17:43:03
2016-03-24T17:43:03
50,366,711
1
0
null
null
null
null
UTF-8
Python
false
false
5,718
py
""" Run the traditional WGS-SUN based pipeline on 10x data to compare to the results """ import pysam import sys import vcf import string import itertools import numpy as np import argparse import tempfile import os import subprocess from pyfasta import Fasta from operator import itemgetter from itertools import group...
[ "ian.t.fiddes@gmail.com" ]
ian.t.fiddes@gmail.com
f59db1371af75f94b82190561a99278bcd02b079
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-dds/huaweicloudsdkdds/v3/model/balancer_active_window.py
aeea9247f02f3b36a9f8fd0019a8e52731f28dcd
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,518
py
# coding: utf-8 import pprint import re import six class BalancerActiveWindow: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the val...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
07cfd1607796d3ca94ad028d3b8c573a0d32cc3b
4f998e9798b5d72a508a62013d8179e58d94b8bb
/home/migrations/0001_load_initial_data.py
592ecd278b5ad39a6095474d97880b4060026301
[]
no_license
crowdbotics-apps/testcerabc-27781
72437420dc97964cfd2c882f723f6e8dc4177fe8
a58dc42415d0c2c7a523a8b9566f3a64b20a6164
refs/heads/master
2023-05-12T14:34:46.264425
2021-06-06T18:47:08
2021-06-06T18:47:08
374,438,770
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from django.db import migrations def create_site(apps, schema_editor): Site = apps.get_model("sites", "Site") custom_domain = "testcerabc-27781.botics.co" site_params = { "name": "testcerabc", } if custom_domain: site_params["domain"] = custom_domain Site.objects.update_or_cr...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4d905cd191f636da17e610812a9398e3eae689d3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4255.py
e4efe63d4df69c3a17f2b7294ac199c649e5d2fb
[]
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
31,757
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
01aa0cb5b3fc74abb677dc0ee9eb917630e512c3
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20210301/security_partner_provider.py
4e4a82226720393cf0603bb544fee7d22d602c3a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,291
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
b3b8eb91fa66a2775490954f8c3ff2b4d06a219f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_critics.py
daa20c16b7ffcfd31864b2f9e82bd272a677bdae
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.nouns._critic import _CRITIC #calss header class _CRITICS(_CRITIC, ): def __init__(self,): _CRITIC.__init__(self) self.name = "CRITICS" self.specie = 'nouns' self.basic = "critic" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
91b1725adfaa4f3636377b6571089cf7925ad856
05e634a232574f676434dfa8e4183f3d0a1a4bc9
/tutorials/pp-series/HRNet-Keypoint/lib/metrics/json_results.py
9e0ceea69b6c0e57ed0f0224ad12a02078870de0
[ "Apache-2.0" ]
permissive
PaddlePaddle/models
67ac00d93c5255ac64a9d80ae5be2e8927e47cee
8042c21b690ffc0162095e749a41b94dd38732da
refs/heads/release/2.4
2023-09-04T15:23:59.543625
2023-07-20T11:54:16
2023-07-20T11:54:16
88,868,842
7,633
3,597
Apache-2.0
2023-09-05T23:23:54
2017-04-20T13:30:15
Python
UTF-8
Python
false
false
5,121
py
# Copyright (c) 2021 PaddlePaddle Authors. 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
c22c2d6937f2f8e7d0605c8690d553ce6add5b2e
2aac13d0048f12ac877af92a93f73c4ef1311d6e
/mrchunks/process.py
49a1ec417764052f224f2e231e044e3ae6be2ef8
[]
no_license
victorpoluceno/mrchunks
18250e2bf0be375de48e01b2a42976285d556e85
8328ed3d836144ccc563b135d78f59e50ff4104b
refs/heads/master
2021-01-15T22:18:39.091832
2015-11-22T23:00:53
2015-11-22T23:00:53
32,928,863
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
import zmq from mrchunks.concurrent import Engine, switch from mrchunks.mailbox import Mailbox from mrchunks.serializer import decode, encode class Server: def __init__(self): self._context = zmq.Context() def __call__(self, *args, **kwargs): self.listen(kwargs['address']) while Tru...
[ "victorpoluceno@gmail.com" ]
victorpoluceno@gmail.com
5bcb5224d286df6b18619cd81e4a38ee67d7c03a
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/tests/modeltests/user_commands/__init__.py
f026fbc3a9ca470bd92710829f6f0b97924d31b1
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
108
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/tests/modeltests/user_commands/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
530ae96e854fca34aa8899b13ba869d5d6b1f658
019fd2c29b8239d7b0a3906cfbdddfd440362417
/asset/google/cloud/asset_v1beta1/gapic/asset_service_client_config.py
340e89de38b2510f4f5c219239170706bfdfdc83
[ "Apache-2.0" ]
permissive
tswast/google-cloud-python
1334d26cdb994293f307d889251d7daef5fcb826
d897d56bce03d1fda98b79afb08264e51d46c421
refs/heads/master
2021-06-10T17:40:06.968584
2020-01-11T17:41:29
2020-01-11T17:41:29
58,775,221
1
1
Apache-2.0
2019-04-10T17:09:46
2016-05-13T22:06:37
Python
UTF-8
Python
false
false
1,179
py
config = { "interfaces": { "google.cloud.asset.v1beta1.AssetService": { "retry_codes": { "idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"], "non_idempotent": [], }, "retry_params": { "default": { "initia...
[ "noreply@github.com" ]
tswast.noreply@github.com
91c46ed6861438fb001bf94fe1fa600cd41ad2c9
423f9cbe3b39e431b7eca2ba6ad15b2fd70ef56b
/EditDistance.py
d1cb6dc2cf6a49df28a308e6019e0e55bb7329c4
[]
no_license
SerChirag/Dynamic-Programming
8f7e6f23fd76c8d99fb8eb23b4324e1eb8e5b790
672bf3cb726cea302ce72ad7183d7f684b2788f0
refs/heads/master
2021-10-10T17:29:16.346125
2019-01-14T18:00:59
2019-01-14T18:00:59
115,982,525
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
def edit(str1,str2): edit = [[0 for j in range(len(str2)+1)] for i in range(len(str1)+1)] count = 0 for i in range(1,len(str1)+1): for j in range(1,len(str2)+1): if(str1[i-1] == str2[j-1]): edit[i][j] = edit[i-1][j-1] + 1 else: edit[i][j] = m...
[ "you@example.com" ]
you@example.com
9947c254c93bcc92b396bff46d6f0321e70fe555
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adverbs/_bleakly.py
28b608df7c1220eda261a778a410c245be7da9ea
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
#calss header class _BLEAKLY(): def __init__(self,): self.name = "BLEAKLY" self.definitions = [u'in a way that suggests a lack of hope: ', u'in a way that is cold and empty: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adverbs' def run(self, obj1,...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
79f2687bc8f4a9add7c0fbbba2af25d1ce45be2a
4fcb2e797ba83b310fe05461d48f02931ea5a427
/2017/day-19/solution.py
b22d5be009cad3f1c42f831b1e093a846f34a4d9
[]
no_license
BrentChesny/AdventOfCode
5a642d081505563f7518c5244bb814e9e4dfc5de
dad5224961539149bed5757bbae0ccc35a3a293d
refs/heads/master
2022-12-11T19:51:22.138655
2022-12-04T21:46:29
2022-12-04T21:46:29
47,266,210
1
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
def parse_input(): return [list(line.strip('\n')) for line in open('input.txt').readlines()] def solve_part_one(): grid = parse_input() pos_r, pos_c = 0, grid[0].index('|') dir_r, dir_c = 1, 0 result = '' while grid[pos_r+dir_r][pos_c+dir_c] != ' ': pos_r, pos_c = pos_r + dir_r, pos_c ...
[ "brent.chesny@gmail.com" ]
brent.chesny@gmail.com
128d601cae05a0f318b0a90ac3ac53d97636fa48
e0980f704a573894350e285f66f4cf390837238e
/.history/home/models_20201026174905.py
36accded34a74330fba536c865386a721c5957a3
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
from django.db import models from wagtail.core.models import Page from wagtail.core.fields import StreamField from wagtail.admin.edit_handlers import FieldPanel, PageChooserPanel, StreamFieldPanel from wagtail.images.edit_handlers import ImageChooserPanel from wagtail.snippets.blocks import SnippetChooserBlock from st...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
77d4308ef4f478de26c6fc394155d3854b2ea2a6
058e5be6d77df6448197708c1b12fd5aca5616e1
/scripts/dualtor_neighbor_check.py
161177008a20df1c0e6dcb6bdbda625234238344
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
Junchao-Mellanox/sonic-utilities
d958c8699032cc01155802c29d7174e3fb79c2d8
8cb7320e4b9b364da110b7b737eeaf991665b300
refs/heads/master
2023-08-31T21:00:17.622141
2023-08-16T22:27:23
2023-08-16T22:27:23
242,450,146
0
0
NOASSERTION
2023-08-31T08:37:57
2020-02-23T03:30:43
Python
UTF-8
Python
false
false
18,441
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ dualtor_neighbor_check.py This tool is designed to verify that, for dualtor SONiC, the neighbors learnt from mux ports should have correct neighbor/route entry in ASIC. """ import argparse import enum import functools import ipaddress import json import logging import...
[ "noreply@github.com" ]
Junchao-Mellanox.noreply@github.com
0f3a08eb19415e6839f084ef6b5fd54d9bb6cee3
6019b48f027b1f62de8474a834f52157fc8faf2c
/src/ch3/cv2io/negaposi.py
7aa3463cf05aee3a2932641dbca8b3d908f3f44e
[]
no_license
kujirahand/book-mlearn-gyomu
d540aebf96af84d5c271fa11f31bf18417c16f34
b1d5f04a69777fb3896b28144ecb18d49a744c25
refs/heads/master
2023-07-04T01:14:39.673001
2023-04-05T13:27:53
2023-04-05T13:27:53
135,913,708
127
113
null
2020-08-10T23:16:30
2018-06-03T14:56:59
Jupyter Notebook
UTF-8
Python
false
false
212
py
import matplotlib.pyplot as plt import cv2 # 画像を読み込む img = cv2.imread("test.jpg") # ネガポジ反転 img = 255 - img # 画像を表示 plt.imshow(cv2.cvtColor(img, cv2.COLOR_BGR2RGB)) plt.show()
[ "kujira@kujirahand.com" ]
kujira@kujirahand.com
3ac431c651416db7e8b8bd8732d24001a67016a2
5e8d86f6ddfd516b9768e8617ced0baca8112f4c
/core-python/Core_Python/loop/ForLoopDominoEx.py
811f9121f51aa999d3f8922e54f65f566aac9aab
[ "MIT" ]
permissive
bharat-kadchha/tutorials
0a96ce5a3da1a0ceb39a0d464c8f3e2ff397da7c
cd77b0373c270eab923a6db5b9f34c52543b8664
refs/heads/master
2022-12-23T11:49:34.042820
2020-10-06T03:51:20
2020-10-06T03:51:20
272,891,375
1
0
MIT
2020-06-17T06:04:33
2020-06-17T06:04:33
null
UTF-8
Python
false
false
123
py
for left in range(1,7): for right in range(left,7): print("["+str(left)+"|"+str(right)+"]",end=" ") print()
[ "deeppatel.dd@gmail.com" ]
deeppatel.dd@gmail.com
7d7f982e88dc574bb2ed1b7b4f0f6c36f495a5a7
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/addons/archipack/presets/archipack_stair/l_wood_over_concrete.py
d4fc1344a54ccd723bdcb01aad8a5764c427b8b4
[ "Unlicense", "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", ...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
5,867
py
import bpy d = bpy.context.active_object.data.archipack_stair[0] d.steps_type = 'CLOSED' d.handrail_slice_right = True d.total_angle = 6.2831854820251465 d.user_defined_subs_enable = True d.string_z = 0.30000001192092896 d.nose_z = 0.029999999329447746 d.user_defined_subs = '' d.idmat_step_side = '3' d.handrail_x = 0....
[ "admin@irradiate.net" ]
admin@irradiate.net
c3f1f40c430acf8791af7d15a9c634c03815ed76
3b7b6648b72910046b6a227db30f71aeee2cba9c
/2021-03-08-SimpleRNN/StockReturnPredictionWithLSTM.py
f0ad401fbb2df1790b2b25eb955c0d967a9b1a7c
[]
no_license
ken2190/deep-learning-study
f2abeb1cd302e405a15bbb52188ae44ffb414e2f
f2998be89d0c931176f158ae5f48ca562786e171
refs/heads/main
2023-04-02T05:07:08.504212
2021-04-11T15:11:22
2021-04-11T15:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
from tensorflow.keras.layers import Input, SimpleRNN, GRU, Dropout, LSTM, Dense, Flatten, Softmax from tensorflow.keras.models import Model from tensorflow.keras.optimizers import SGD, Adam from sklearn.preprocessing import LabelBinarizer, StandardScaler import numpy as np import pandas as pd import tensorflow as tf i...
[ "machingclee@gmail.com" ]
machingclee@gmail.com
14e14add80032e04c6e82d148372cd9e1ea89a4a
dbe7731552d8e6d1e63cc0f2e27d3810cc61f350
/hyper_paras/hp_a2c.py
1265b7c895a914b699bf58d2d2719a54eb9e5c15
[]
no_license
ZhangRui111/rl_breakout_tf
6bb3f57f2b1d52f196323916393234e8abb990ac
04f259cd3c32eaffbad87fe1035b0f87c96127b0
refs/heads/master
2020-04-08T19:24:16.018734
2018-12-18T02:42:56
2018-12-18T02:42:56
159,653,713
1
1
null
2018-12-18T02:42:57
2018-11-29T11:12:04
Python
UTF-8
Python
false
false
356
py
from hyper_paras.base_hyper_paras import BaseHyperparameters class Hyperparameters(BaseHyperparameters): def __init__(self): super().__init__() self.model = 'A2C' self.MAX_EPISODES = 50001 # 50001 : 500 self.LEARNING_RATE_ACTOR = 0.00005 self.LEARNING_RATE_CRITIC = 0.0001...
[ "zhangruisg111@163.com" ]
zhangruisg111@163.com
7e11fd6bffade16b50990049c688e90b29754bf0
282769509af68245596dc73de42f552cfd73cd21
/autoindex/watcher.py
d560ceaf60985c133ac610de4bc2a6e3972819c7
[]
no_license
brutasse-archive/autoindex
1130173d22c1d996a7cb38fcd59b51d07c0b8068
cc5cfc414325aff133c684257e8c2bfdc9aaa672
refs/heads/master
2021-01-19T14:34:18.472167
2012-07-17T21:31:27
2012-07-17T21:31:27
5,048,409
15
5
null
null
null
null
UTF-8
Python
false
false
1,877
py
import logging import os import signal from pip.download import is_archive_file from pyinotify import WatchManager, Notifier, ProcessEvent, EventsCodes from .indexer import index logger = logging.getLogger(__name__) class IndexProcess(ProcessEvent): def __init__(self, wm, mask): self.wm = wm se...
[ "buburno@gmail.com" ]
buburno@gmail.com
e1a6d1b6a7f2d662c54225f864327197af261dea
2b6fa34dac030ec1f2918b1377956bf791219d22
/leetcode/medium/unique-paths.py
ec4b4d43fdfd54d17af687e347baacf85881da50
[ "MIT" ]
permissive
rainzhop/cumulus-tank
aa13fb8f14c27893838a67d2eb69fdd2ac3d6450
09ebc7858ea53630e30606945adfea856a80faa3
refs/heads/master
2020-06-06T23:24:37.498966
2020-01-06T09:52:16
2020-01-06T09:52:16
192,874,778
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
# https://leetcode.com/problems/unique-paths/ # # A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). # # The robot can only move either down or right at any point in time. # The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram bel...
[ "rainzhop@gmail.com" ]
rainzhop@gmail.com
7ec19266d0afa42c553c1b841b452ceb46a5277f
8148be8c475ff2b5ae2a55ef1c05d4c2d5626e71
/test_booking/settings.py
f9de63467db7e3150a7cb59ad754bc5dc9e9bda3
[]
no_license
dimka1993kh/test_booking
91836b51e4e005c4ad5f732f56f6f3e5593a63ec
ee5bbeb60317cac8627ce949c76640b16d4688a8
refs/heads/master
2023-03-21T11:02:03.611810
2021-03-07T12:37:05
2021-03-07T12:37:05
344,217,711
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
""" Django settings for test_booking project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pa...
[ "dimka1993kh@gmail.com" ]
dimka1993kh@gmail.com
7b505f33af2491c87a3f1c1bec2cb2ef5c788ad5
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/GetSecureTokenRequest.py
9d569e099197463fe544d1b9af836d4aecbe0764
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
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 u...
[ "1478458905@qq.com" ]
1478458905@qq.com
0134e66eaf291387bdcb920be040ffff6e4875bd
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/grpc/src/src/python/grpcio_reflection/grpc_version.py
6dcf1062815aab517877c456458f2dc0678f019e
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause", "MPL-2.0" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
705
py
# Copyright 2016 gRPC authors. # # 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...
[ "jengelh@inai.de" ]
jengelh@inai.de
ac1ad02284692842c69e7ab3e57e4d92cd325310
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_load_balancer_backend_address_pools_operations.py
1f45b31465fa0acc9e5bab5cd50ec9f8f0a5fe55
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
8,822
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 may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
4729a3d9e08865cacd04820127685a2d0a867ff4
aa3f670fcc2b43d8a5eb8a131082510bed2eb4d8
/nagios/check_raster.py
92fd2d22b4429549a4571011b62d3ee9c259b62b
[ "MIT" ]
permissive
jamayfieldjr/iem
e0d496311d82790ad518c600c2fcffe44e834da1
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
refs/heads/master
2020-08-07T11:55:56.256857
2019-10-04T04:22:36
2019-10-04T04:22:36
213,439,554
1
0
MIT
2019-10-07T17:01:20
2019-10-07T17:01:20
null
UTF-8
Python
false
false
782
py
"""Check a raster file and count the number of non-zero values.""" from __future__ import print_function import sys from osgeo import gdal import numpy def main(): """Go Main Go.""" ntp = gdal.Open('/home/ldm/data/gis/images/4326/USCOMP/ntp_0.png') data = ntp.ReadAsArray() count = numpy.sum(numpy.whe...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
53241e5667493e3b22a78779f524d5b575342228
2fb755e1d23267495345d1a94f4b79a1356657e7
/black_box_tests/mapper_example.py
45461118a2357b70b83703ecf1eaf2fdcd10696d
[ "MIT" ]
permissive
daringer/lollygag
66bc86c7bea7943fd713cd5e463d911552b4d979
27da172cfa769ef7b850de517f778059068badca
refs/heads/master
2021-05-16T03:24:15.691274
2017-10-11T12:45:45
2017-10-11T12:45:45
105,471,520
0
0
null
2017-10-01T20:19:20
2017-10-01T20:19:20
null
UTF-8
Python
false
false
849
py
#!/usr/bin/python from lollygag import run from lollygag.services import Services from lollygag.dependency_injection.inject import Inject from lollygag.core.crawlers.mapper_crawler import MapperCrawler import json def on_finish(log_service, crawler): def callback(*args): log_service.important("----------...
[ "littlesnorrboy@gmail.com" ]
littlesnorrboy@gmail.com
43dde8d0256d76c729723e64d08000466a23902b
d3055f3eedfdb124084f092c0f4540aa82a0f04d
/texture_tool/describe.py
62e6307f6e97bb0cf9de3478bdc4598cdf08df36
[]
no_license
podgorskiy/texture-tool
a90ec9adee2c8d19b21cdf42b714d8d4917c9612
f8973871ee2ce72b4d4756796276b07be06e42dd
refs/heads/master
2022-04-17T13:36:05.448525
2020-04-08T18:03:36
2020-04-08T18:03:36
253,153,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
# Copyright 2020 Stanislav Pidhorskyi # # 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 wri...
[ "stanislav@podgorskiy.com" ]
stanislav@podgorskiy.com
b29df2eab12bee0ea732b5953df4904701e18f95
c34380b64145b4ce26df9b27c34139d08de27515
/highest_scoring_word.py
d6718e1ecce87a61b07dea1aab9b93f1d03c0fe1
[]
no_license
codeandrew/python-algorithms
531bc1574700cb7d822904f1e1ead9a596a85d29
c71b0941f14825fcaa3fbb1429365ca1f28a3018
refs/heads/master
2023-04-28T23:56:01.283434
2023-04-05T03:06:22
2023-04-05T03:06:22
169,078,505
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
""" Given a string of words, you need to find the highest scoring word. Each letter of a word scores points according to its position in the alphabet: a = 1, b = 2, c = 3 etc. You need to return the highest scoring word as a string. If two words score the same, return the word that appears earliest in the original s...
[ "jeanandrewfuentes@gmail.com" ]
jeanandrewfuentes@gmail.com
75dc35285e4cc28b0a0071cdf2c074aa2ea6f960
37fd103f6b0de68512e3cb6098d0abb9220f5a7d
/Python from scratch/014spectogram_waveform.py
fb3fad05fc153b831ee682fc1949eb029c556f40
[]
no_license
FlyingMedusa/PythonELTIT
720d48089738b7e629cad888f0032df3a4ccea2c
36ab01fc9d42337e3c76c59c383d7b1a6142f9b9
refs/heads/master
2020-09-11T18:17:17.825390
2020-04-21T16:38:03
2020-04-21T16:38:03
222,150,066
0
0
null
2020-04-21T16:38:04
2019-11-16T19:37:33
Python
UTF-8
Python
false
false
562
py
from scipy.io import wavfile import matplotlib.pyplot as pyplot sampling_frequency, signal_data = wavfile.read('sample_for_task_013.wav') # duration = len(signal_data)/ sampling_frequency pyplot.subplot(311) # three rows, one col,1st plot pyplot.specgram(signal_data, Fs = sampling_frequency) pyplot.title('Some spectog...
[ "sleboda.m98@gmail.com" ]
sleboda.m98@gmail.com
1088e21e565a1e3657d113b966546a1b0eb98ac8
5679731cee36c537615d285ed72810f4c6b17380
/167_TwoSumII_InputArrayIsSorted.py
4ea08c7abe24681955be0a656cf106fb19e4146e
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
##43.90% class Solution(object): def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ if len(numbers) < 2: return [] left, right = 0, len(numbers) - 1 while left < right: ...
[ "noreply@github.com" ]
manofmountain.noreply@github.com
ce63be621dd2fa160d3e9198752579ac7e8f9b18
364b36d699d0a6b5ddeb43ecc6f1123fde4eb051
/_downloads_1ed/fig_fft_text_example.py
78f8d57d71630eb3e61ff1ec81dc25ae5256806e
[]
no_license
astroML/astroml.github.com
eae3bfd93ee2f8bc8b5129e98dadf815310ee0ca
70f96d04dfabcd5528978b69c217d3a9a8bc370b
refs/heads/master
2022-02-27T15:31:29.560052
2022-02-08T21:00:35
2022-02-08T21:00:35
5,871,703
2
5
null
2022-02-08T21:00:36
2012-09-19T12:55:23
HTML
UTF-8
Python
false
false
2,376
py
""" Example of a Fourier Transform ------------------------------ Figure E.1 An example of approximating the continuous Fourier transform of a function using the fast Fourier transform. """ # Author: Jake VanderPlas # License: BSD # The figure produced by this code is published in the textbook # "Statistics, Data ...
[ "vanderplas@astro.washington.edu" ]
vanderplas@astro.washington.edu
cfbb540e6dfba1237f2ee80097afe65bc324da40
177df2b442866474377498a8b85f3d58410d0193
/create_glidein_tarball.py
45b070a821e819c0b6f139301c0d4fe04e8cab66
[]
no_license
briedel/pyglidein
6c19f2d310bd15a85df50eb384e8d2f186aaff50
835c458e4f7f0dc0dcf785120da31ffa9425f0bd
refs/heads/master
2020-12-11T03:35:27.540075
2017-03-24T14:28:47
2017-03-24T14:28:47
49,531,789
0
0
null
2016-03-18T17:26:32
2016-01-12T22:02:49
Python
UTF-8
Python
false
false
7,707
py
""" Create a glidein tarball by downloading the source, building it, then copying what is needed into the tarball. """ import sys import os import shutil import subprocess import tarfile import tempfile if sys.version_info[0] < 3 and sys.version_info[1] < 7: raise Exception('requires python 2.7+') def libuuid_do...
[ "davids24@gmail.com" ]
davids24@gmail.com
f1fdec782a19b71a749c643458ec9d0408978d66
053221e1d90b365f68701dbd5b6466f30d1f6fd7
/Day4/vd2.py
d2624b1ae91bd834e7c6b6d1c9a499d95af8c68b
[]
no_license
pytutorial/py2011E
eceb4d563cc807294b08b818edadd521ed8da488
306437369b0bfe55a2fa827b098283856242e731
refs/heads/main
2023-02-28T23:57:32.851536
2021-01-30T14:56:12
2021-01-30T14:56:12
318,186,117
1
1
null
null
null
null
UTF-8
Python
false
false
364
py
# vd2.py # Nhập vào họ tên đầy đủ của một người # In ra Họ, tên đệm, tên của người đó ho_ten = input('Họ và tên:') #TODO : items = ho_ten.split() ho = items[0] ten = items[-1] ten_dem = '' for i in range(1, len(items)-1): ten_dem += items[i] + ' ' print('Họ: ', ho) print('Tên đệm:', ten_dem) print('Tên: ', ten)
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
6859b7420def17cbc91c49bd229e6028b100e87d
bf3a87fd7725ad4e7e85492509f3e5aa68709fd0
/chat/.history/Cliente_20191106204840.py
8b51d56c2ef6c7a8b2f56ce7b17b3a47b7f38cdd
[]
no_license
slalbertojesus/merixo-grpc
f468b4f6349b4367ad6064f175cef7c3e49d829f
182569a89cad605fd81b095861fd58390729c720
refs/heads/master
2020-09-04T21:39:53.488701
2019-12-25T02:07:24
2019-12-25T02:07:24
219,899,136
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
import grpc import uuid import chat_pb2 as structure import chat_pb2_grpc as grpc_chat from Usuario import Usuario class Cliente(): def IniciarCliente(self): id = uuid.uuid1() print(id) channel = grpc.insecure_channel('localhost:50051') conn = grpc_chat.ChatAdminStub(...
[ "slalbertojesus@gmail.com" ]
slalbertojesus@gmail.com
e9689e0654946bbe442befd797dac771d63f7c28
4e30d990963870478ed248567e432795f519e1cc
/tests/models/validators/v3_1_1/jsd_a4d5b5da6a50bfaaecc180543fd952.py
24d54b381f25a25dd8d542827e9372430e636dad
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
7,787
py
# -*- coding: utf-8 -*- """Identity Services Engine createDeviceAdminTimeCondition data model. Copyright (c) 2021 Cisco and/or its affiliates. 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 with...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
405a1959f9d4f85a7a2f446f5fc40e3adc4d2834
f89cd667200844f019dbf2c93798e7fee96b89e2
/dynamic-programming/exercises/ugly-numbers.py
ab24762e2184774dfc0008339825acefc4170efc
[]
no_license
radomirbrkovic/algorithms
575f4540c7aab2daf3e55d0df99030e440ee2060
621d0f82e0e4cd253afc0e07772a201b019f7889
refs/heads/master
2023-07-15T23:59:29.725946
2021-09-01T19:47:08
2021-09-01T19:47:08
250,455,390
0
0
null
2021-09-01T19:47:09
2020-03-27T06:12:52
Python
UTF-8
Python
false
false
596
py
# Ugly Numbers https://www.geeksforgeeks.org/ugly-numbers/ def maxDivide(a, b): while a % b == 0: a = a / b return a def isUgly(no): no = maxDivide(no, 2) no = maxDivide(no, 3) no = maxDivide(no, 5) return 1 if no == 1 else 0 # Function to get the nth ugly number def getNthUglyNo(n): ...
[ "radomir.brkovic@pmf.edu.rs" ]
radomir.brkovic@pmf.edu.rs
b97fb55d1d42347a1c75e55752aa6e6c1587cce1
342cd75882fbe61c97c8e6abe68baabac058f89b
/xalpha/misc.py
d134fe8d7993fd847215b4f942a940b9c6b4c474
[ "MIT" ]
permissive
refraction-ray/xalpha
c8b787dd88810fa32e5e2e223854fd7dbe4e3060
ad5c9d91942bbcba5f4e27af2b26abdb83056b5d
refs/heads/master
2023-08-05T10:38:14.014019
2023-07-24T11:30:06
2023-07-24T11:30:06
143,284,193
1,851
384
MIT
2022-02-20T14:03:09
2018-08-02T11:12:10
Python
UTF-8
Python
false
false
9,598
py
# -*- coding: utf-8 -*- """ modules for misc crawler without unfied API """ import re import pandas as pd import datetime as dt import logging import numpy as np from bs4 import BeautifulSoup from functools import lru_cache logger = logging.getLogger(__name__) from xalpha.cons import ( rget, rpost, rget_...
[ "kcanamgal@foxmail.com" ]
kcanamgal@foxmail.com
31cdbe882af4808f510d60c5303fc71448bad50f
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2016/Symbol.keyFor.spec
4405fe814db693ef8c40840d1d430431bc104824
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
396
spec
1. If Type(_sym_) is not Symbol, throw a *TypeError* exception. 1. For each element _e_ of the GlobalSymbolRegistry List (see <emu-xref href="#sec-symbol.for"></emu-xref>), 1. If SameValue(_e_.[[Symbol]], _sym_) is *true*, return _e_.[[Key]]. 1. Assert: GlobalSymbolRegistry doe...
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
b27373bc38eff28a67ebaad6b5aa01a01e97f5e3
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Livro-Desenvolvimento web com Flask/Capitulo02/Nível 02/exemplo07a.py
0129fa2065636c4e62560194d3ba20d2e016d1d8
[ "MIT" ]
permissive
ramonvaleriano/python-
6e744e8bcd58d07f05cd31d42a5092e58091e9f0
ada70918e945e8f2d3b59555e9ccc35cf0178dbd
refs/heads/main
2023-04-10T14:04:24.497256
2021-04-22T18:49:11
2021-04-22T18:49:11
340,360,400
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Program: exemplo07a.py # Author: Ramon R. Valeriano # Description: Programa do Capítulo 2, para melhorar a fixação # Developed: 02/03/2020 - 16:29 from flask import Flask, make_response app = Flask(__name__) @app.route('/') def index(): response = make_response('<h1>Este documento esta sendo carregado em um co...
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
eb14ad9cc026342ecb88f0372c9d46218bb7bf1c
584db1be8b6bdedaa56d186692ad72da5ee07164
/patron/cells/weights/__init__.py
d83f31e1ab2fdb889a4e774c5b82817b6dad2c51
[ "Apache-2.0" ]
permissive
casbin/openstack-patron
66006f57725cf1c3d735cd5529d3459fd77384c8
b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25
refs/heads/master
2023-05-31T05:23:37.721768
2015-12-31T12:18:17
2015-12-31T12:18:17
382,054,546
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# Copyright (c) 2012-2013 Rackspace Hosting # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "hsluoyz@qq.com" ]
hsluoyz@qq.com
d999acb14a4258c765255569ad0349f26990ecdc
38bf7e24a2150983f482a6749dc661ed4c4a4439
/docs/source/conf.py
914308cfb0a62a3b79401f3a79e53ff0e90b1f3c
[]
no_license
guoweikuang/flask_v2ex
15b6247d979146ada57fe2e6dd7c93f7708297ff
d84c14b1d90be78e634677dee332a63bca69c7fc
refs/heads/master
2022-12-17T19:36:57.945884
2019-10-23T13:25:44
2019-10-23T13:25:44
116,472,843
20
5
null
2022-11-22T02:08:35
2018-01-06T10:09:07
JavaScript
UTF-8
Python
false
false
4,776
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "673411814@qq.com" ]
673411814@qq.com
35191925acafc83ea20ead8135b3732eb249d9f9
e6132244015942c5ec75c8eff4f90cd0e9302470
/src/wshop/apps/shipping/__init__.py
15be34284e0e5d483fe1421db9999cd651d83f84
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
vituocgia/wshop-core
d3173f603861685b523f6b66af502b9e94b7b0c2
5f6d1ec9e9158f13aab136c5bd901c41e69a1dba
refs/heads/master
2020-03-18T08:25:14.669538
2018-05-23T05:55:56
2018-05-23T05:55:56
134,508,443
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
default_app_config = 'wshop.apps.shipping.config.ShippingConfig'
[ "dotiendiep@gmail.com" ]
dotiendiep@gmail.com
9bf3d2c051c29082aa33cfeceab377e3427f85ff
05abb78c60a69422ae3e00a542bbd4573faf8174
/python-para-zumbis/lista2/exercicio1.py
9918795b5836c2bd55e4644ea40ede511eb2e42b
[]
no_license
xuting1108/Programas-de-estudo
72b812d52f5b130a95103c38dbe9e471dc5aa6f9
01fe21097055d69c2115cff3da2199429e87dead
refs/heads/master
2022-10-20T17:06:14.517643
2019-04-08T11:16:12
2019-04-08T11:16:12
179,678,721
0
1
null
2022-10-09T13:13:57
2019-04-05T12:38:23
Python
UTF-8
Python
false
false
600
py
# Faça um Programa que peça os três lados de um triângulo. O programa deverá informar se os valores podem ser um triângulo. # Indique, caso os lados formem um triângulo, se o mesmo é: equilátero, isósceles ou escaleno. lado_a = float(input('informe a medida do lado a: ')) lado_b = float(input('informe a medida do lad...
[ "xuting1108@hotmail.com" ]
xuting1108@hotmail.com
b9bbeafefaafd8ff7661334198c1365cd73e36d1
f73bcada5ab8432d2af07b5cb7fd7a38109d3e3a
/.history/parser_20201108170616.py
c0517d7feb1c60b713329f35cfcf547572ddba48
[]
no_license
mariajbp/gedcomparser
837bf4ae5628a81e535d233c7c35313c6d86d78c
6fc55899e5a82c4071991ab94a344b64c014b84d
refs/heads/master
2023-01-23T09:01:27.459597
2020-11-19T23:58:53
2020-11-19T23:58:53
310,900,559
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
#!/usr/bin/python3 #python3 parser.py input/bible.gedcom > test.txt import sys from re import * filename = sys.argv[1].split('/')[1] assetPath = "assets" indPath = "individuals" famPath = "families" cssPath = "assets/gedcom.css" def createFamily(fk,fi): f = open('assets/families/'+fk+'.html', 'w') f.write('...
[ "mariajbp00@gmail.com" ]
mariajbp00@gmail.com
4a5d3fe945019ad4717eef5286af1768dc05b083
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_vicarage.py
3cfe8615692b2c6a7f3f67bc930f9033fcdd2e06
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
#calss header class _VICARAGE(): def __init__(self,): self.name = "VICARAGE" self.definitions = [u'the house in which a vicar lives'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4c9ec16df1b6a85b34a767c4e8a4d46e53d950f7
82256eb259bf5fa75a8f15500a6b5a1306a07034
/addintegers3.py
f6d586ed9a6c80d2002f3850a12e20180a03404d
[]
no_license
dennisnderitu254/Andela-Exercises
1c0d2c309b6ea113a4d812e313ded867f6dea9a4
edb17f0ed867a4436478a8d9bf5690a749155781
refs/heads/master
2021-05-05T13:38:06.658363
2017-10-31T14:35:38
2017-10-31T14:35:38
105,002,996
3
3
null
null
null
null
UTF-8
Python
false
false
193
py
# Exhibiting functional composition num1 = int(raw_input('Please enter an integer value:')) num2 = int(raw_input('Please enter another integer value:')) print(num1, '+', num2, '=', num1 + num2)
[ "dknderitu@gmail.com" ]
dknderitu@gmail.com
a972d8916751e7929616031a929acb51c7a7b956
3e2447737acc8e6bef6728b1a8e5f1d5e6db2968
/opennem/pipelines/wem/balancing_summary.py
fd431bcabfb48da0aacae2723bb3de03f7e58e17
[ "MIT" ]
permissive
gaslitbytech/opennem
5a5197003662725ccd2f82d790cdb1495a975a07
deec3e2079db9d9d84171010fd0c239170d1e7ce
refs/heads/master
2023-07-23T14:08:28.949054
2020-10-09T03:53:20
2020-10-09T03:53:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
import csv import logging from sqlalchemy.dialects.postgresql import insert from opennem.db.models.opennem import BalancingSummary from opennem.pipelines import DatabaseStoreBase from opennem.schema.network import NetworkWEM from opennem.utils.dates import parse_date from opennem.utils.pipelines import check_spider_p...
[ "nc9@protonmail.com" ]
nc9@protonmail.com
c54cbc847e347a11beaa33ad2bd3cb4e97c48277
28cd350c10e5fe3542f2913e1833f5725aa56fd5
/prepare_VehicleID.py
17adc3f1c349e6a19d4ae965ba534f591054547c
[ "MIT" ]
permissive
layumi/Person_reID_baseline_pytorch
dffeb79f25f2fe1b83646746bbb295f2df36bad4
4dae9cdf42f71c72a44a64fb23bfc470c501085f
refs/heads/master
2023-09-03T14:34:04.082508
2023-08-17T04:12:26
2023-08-17T04:12:26
115,712,649
4,042
1,132
MIT
2023-06-19T08:29:17
2017-12-29T10:22:41
Python
UTF-8
Python
false
false
2,992
py
import os from shutil import copyfile def copy_file(s, t): for root, dirs, files in os.walk(s): for name in files: copyfile(root+'/'+name,t+'/'+name) # You only need to change this line to your dataset download path download_path = './data/VehicleID_V1.0/' if not os.path.isdir(download_path):...
[ "zdzheng12@gmail.com" ]
zdzheng12@gmail.com
16ee84d5d1b6441baaf6dbf58d95f65b16fd49cb
e1b3816615cce62ebe2b6c59b0eb3fbd3693d73b
/solutions/167-two-sum-ii-input-array-is-sorted/two-sum-ii-input-array-is-sorted.py
60d0a04a154052849aad48a3e763a43ca3bebcba
[]
no_license
fagan2888/leetcode-6
1fb18979ffacb82d5db77988b38ecd7371b428b9
14176f1752e2bb94dec51bd90dfd412896ed84de
refs/heads/master
2022-01-10T03:27:51.388066
2019-06-15T14:13:48
2019-06-15T14:13:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
# -*- coding:utf-8 -*- # Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. # # The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. # # Note: #...
[ "rzhangpku@pku.edu.cn" ]
rzhangpku@pku.edu.cn
8852e9dcd8cde183a336da575c9de3ddf255095c
15a2a8c612545e61dab18a5d0673b1cef95a9638
/Part/神龙天女.py
a09f4df92188101b24dd402950e0a0ce29b7c469
[]
no_license
YICHENG-LAI/DNFCalculating
6fa10b692580dad119446307508a3bf32ff46d1a
426375e4e0034e435a8f38974ce81323c8ea7f9c
refs/heads/master
2022-11-17T00:18:06.650791
2020-07-05T07:28:50
2020-07-05T07:28:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,360
py
from PublicReference.base import * class 神龙天女主动技能(主动技能): def 等效CD(self, 武器类型): return round(self.CD / self.恢复 * 1.05, 1) #念珠1.05 class 神龙天女技能0(神龙天女主动技能): 名称 = '罪业加身' 所在等级 = 10 等级上限 = 60 基础等级 = 48 基础 = 2014 - 204.4468 成长 = 204.4468 CD = 6.0 TP成长 = 0.08 TP上限 = 7...
[ "wxh_email@yeah.net" ]
wxh_email@yeah.net