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
1e9d73f85497670f670f89472a4b1a7f7b9a3bae
2935db7e302796d72f574ad0ebb62fdf56d1fb37
/backend/tiny_silence_29182/urls.py
ef32c3a7151b5031d49045bd9dd529023e212bb9
[]
no_license
crowdbotics-apps/tiny-silence-29182
e736c58052d4310645ab938cac57c9f13f8ea9ae
2ad3fc11b3b8c29d53aee3bac8f029456446dc1e
refs/heads/master
2023-06-26T18:17:09.099364
2021-07-26T02:19:35
2021-07-26T02:19:35
389,484,864
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
"""tiny_silence_29182 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
22d66b6c60f2607d094ce92187bfec45c56da208
c9b5a2cd00764ee4a0b889b5b602eb28fd08e989
/python/63-unique-paths-II.py
4947f191881c0af61ac4b51dea4c5334e4b1ac0c
[]
no_license
cwza/leetcode
39799a6730185fa06913e3beebebd3e7b2e5d31a
72136e3487d239f5b37e2d6393e034262a6bf599
refs/heads/master
2023-04-05T16:19:08.243139
2021-04-22T04:46:45
2021-04-22T04:46:45
344,026,209
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
from typing import List class Solution: def uniquePathsWithObstacles(self, obstacleGrid: List[List[int]]) -> int: "DP, Time: O(mn), Space: O(1)" m = len(obstacleGrid) n = len(obstacleGrid[0]) obstacleGrid[0][0] = 0 if obstacleGrid[0][0] == 1 else 1 for j in range(1, n): ...
[ "cwz0205a@gmail.com" ]
cwz0205a@gmail.com
1e126d4075a3843fff2f8003d14a0e28d3f76a69
3655215852ee2fb1864dbfa1ce924290a2c4f4b9
/Assignment 1/5.py
9f244905a00c04e73fdef91ac44efcb01fdf5ce7
[]
no_license
shubhamkanade/Niyander-Python
8b318df2b8ae33b943dcf83eb01c00577914ca59
2b6a4780707e26852aa950d7c3e54be1f3b2080b
refs/heads/main
2023-06-16T03:44:07.833619
2021-07-06T03:09:16
2021-07-06T03:09:16
383,021,140
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
def Display(): for i in range(10,0,-1): print(i) Display()
[ "shubhamkanade98@gmail.com" ]
shubhamkanade98@gmail.com
30bb8e7526f77b0bf40cfe4818de9d57aec62fcf
194153b962896cc9c2dacb701e10732d71c3a5e2
/tests/test_urls.py
15b5534fee1d15d07cc279dfd3fa459c7dea1205
[ "MIT" ]
permissive
dizhaung/ioc-finder
c0d89b4e57858ff4a61fbc502d99c0cd5c07c02f
fcd19cdeb1178c9fba1fa6ebd7ed5fe358e80a35
refs/heads/master
2022-12-24T01:49:21.848928
2020-09-25T22:08:28
2020-09-25T22:08:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Test the URL parsing against the urls here: https://mathiasbynens.be/demo/url-regex.""" from ioc_finder import find_iocs VALID_URLS = [ 'http://foo.com/blah_blah', 'http://foo.com/blah_blah/', 'http://foo.com/blah_blah_(wikipedia)', 'http://foo.com/blah...
[ "floyd.hightower27@gmail.com" ]
floyd.hightower27@gmail.com
75f73f3124ba84b954090f37a00b97a14832151d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_076/ch66_2020_04_27_19_21_00_575265.py
2b53848061c9b0dcffbf194a7c22182ad3a8984e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
def lista_sufixos (string): lista_sufixos = [] i = 0 while i < len(string): sufixo = string[i:] lista_sufixos.append(sufixo) return lista_sufixos
[ "you@example.com" ]
you@example.com
0c3371fe0abc6a711c8edf3f0e3e137c7b830cb0
7d3b96b2f21b919fe9cf4e0284cb7c9e74493819
/yaib.py
536f963dafe7ce0ad1b82782dd4831077f8015fc
[ "MIT" ]
permissive
collingreen/yaib_ludumdare
e74e9d7a0cc2bbe559d7a664d687a2657ba3f055
5ff7ad5c35c7217cac3e72c4f97fd88d6da1d7e7
refs/heads/master
2021-01-02T09:26:39.888557
2015-01-21T07:05:50
2015-01-21T07:05:53
28,587,884
1
0
null
null
null
null
UTF-8
Python
false
false
19,767
py
#!/usr/bin/env python """ YAIB - Yet Another IRC Bot https://github.com/collingreen/yaib Collin "Keeyai" Green - collingreen.com You can see the original yaib in #ludumdare on irc.afternet.org. The official yaib channel is #yaib on irc.afternet.org. Yaib is built using Twisted: http://tw...
[ "collin@collingreen.com" ]
collin@collingreen.com
f4983290a6cf6249048d0a6689b4b7b213f8ebd8
b1303152c3977a22ff9a0192c0c32310e65a6d77
/python/651.4-keys-keyboard.py
f03797e4e765d336cc76356db8df870402c0d5c0
[ "Apache-2.0" ]
permissive
stavanmehta/leetcode
1b8da1c2bfacaa76ddfb96b8dbce03bf08c54c27
1224e43ce29430c840e65daae3b343182e24709c
refs/heads/master
2021-07-15T16:02:16.107962
2021-06-24T05:39:14
2021-06-24T05:39:14
201,658,706
0
0
Apache-2.0
2021-06-24T05:39:15
2019-08-10T16:59:32
Java
UTF-8
Python
false
false
60
py
class Solution: def maxA(self, N: int) -> int:
[ "noreply@github.com" ]
stavanmehta.noreply@github.com
c456572984820affc8425b8f01adeb10a94a62eb
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN4-M-206.py
3e8b16525c36e80e65eb870bacad6c6fbcefde56
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
# Tu pišite svoje funkcije: from math import * kraji = [ ('Brežice', 68.66, 7.04), ('Lenart', 85.20, 78.75), ('Rateče', -65.04, 70.04), ('Ljutomer', 111.26, 71.82), ('Rogaška Slatina', 71.00, 42.00), ('Ribnica', 7.10, -10.50), ('Dutovlje', -56.80, -6.93), ('Lokve', -57.94, 19.32), ('Vinica', 4...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
20fc5da58505833a696174fe55a86a6b0052df51
a52ce78ae1dcd35343c7c8aa333e8910bc7f437b
/iteraveis/genexp_x_listcomp.py
e680c286e4fadb28bac871c43be296bdb45df6e1
[]
no_license
oturing/ppqsp
6990e224a98f9f07e8657b1007b428f5b877cc8d
5d6b9b9c536cc314c21fb450db5761b746514c40
refs/heads/master
2020-06-04T03:04:28.285886
2013-08-21T00:32:14
2013-08-21T00:32:14
2,854,873
11
6
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python # coding: utf-8 ''' >>> for i in [letra for letra in gera_letra()]: ... print i ... gerando 'A'... gerando 'B'... gerando 'C'... A B C >>> for i in (letra for letra in gera_letra()): ... print i ... gerando 'A'... A gerando 'B'... ...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
c15402fe8d25bacde308b1503141d5ba49743c67
bbd20b6467df5a52737eb5c858fb025605e34fc3
/03/part_02.py
6b6af5ef97e2a8f7df5be6f1779d2665c6429603
[ "MIT" ]
permissive
euribates/advent_of_code_2018
7e2709d2b7d1f01c6791b8f7d28c05bc80dfaed0
133fac9b01cf46edf9ec8c6ad9cef785d6858c70
refs/heads/master
2020-04-09T02:38:18.381985
2018-12-27T15:26:14
2018-12-27T15:26:14
159,948,438
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
#!/usr/bin/env python3 import tools from collections import defaultdict if __name__ == "__main__": mapa = defaultdict(int) max_cols = 0 max_rows = 0 for claim in tools.read_input(transform=tools.parse): max_cols = max(max_cols, claim.left+claim.width) max_rows = max(max_rows, claim.to...
[ "euribates@gmail.com" ]
euribates@gmail.com
1b8cc9cbb23f3bc63340fe898bb0766f6afa0865
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v4/services/hotel_performance_view_service_client_config.py
de953afee4a344b6d232d5f09adcbefd5959e899
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
false
827
py
config = { "interfaces": { "google.ads.googleads.v4.services.HotelPerformanceViewService": { "retry_codes": { "idempotent": [ "DEADLINE_EXCEEDED", "UNAVAILABLE" ], "non_idempotent": [] }, "retry_params": { "default": { "initial_retry_...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
573cf1476feaa7977602385ee176882cd5869fc0
78d0bcad3e48d7ba11d2d2bdafc74ce455d2771c
/AI/Genetic Algorithms/Python/Main.py
4ea0ed4b51ea48e3a92a068603ae97c23fb88c8f
[]
no_license
rakshithvasudev/generic-projects
8a068375cb6b4d7ceeb7343569dd848c277d0a78
2da0e69c3090826a0aecc1ac5e99d5e483e03efe
refs/heads/master
2021-03-27T20:22:49.342618
2018-10-18T20:24:19
2018-10-18T20:24:19
102,914,716
1
1
null
null
null
null
UTF-8
Python
false
false
3,698
py
import copy import time from Genetic_Algo import initialize_population, breed_population, mutate_population, sort_population def get_best_pop(init_pop, bred_pop, mutated_pop): """ Selects the best population amongst all the population in a given generation. This reduces the steps to converge to a solution...
[ "rakshithvbharani@gmail.com" ]
rakshithvbharani@gmail.com
d99a0f2bad9ed5949e4229f701edabe2654cfc4d
fd8be020b3f26feeffc960db2cc4fcec7a6bacd5
/setup.py
36baea54a68524b7f3d9334180df93c75e1f0e38
[ "Apache-2.0" ]
permissive
goofy0530/modlunky2
cabe5b09a60f7e132138306a1471180ab1c4c2b5
8756e7a390716258129c28637773ededd0d603b6
refs/heads/main
2023-03-01T04:56:17.365958
2021-02-10T06:24:45
2021-02-10T06:24:45
337,790,792
0
0
Apache-2.0
2021-02-10T16:55:30
2021-02-10T16:55:29
null
UTF-8
Python
false
false
2,990
py
import pathlib from setuptools import find_packages, setup HERE = pathlib.Path(__file__).parent.resolve() LONG_DESCRIPTION = (HERE / 'README.md').read_text(encoding='utf-8') VERSION = (HERE / 'VERSION').read_text(encoding='utf-8').strip() with open('requirements.txt') as fp: install_requires = fp.read() setup( ...
[ "gary@byoteki.com" ]
gary@byoteki.com
8dea85ffc133245fdfe3025cf16db868208762db
5fb32bc4f1de0dfd2fa22bb92108b27386d77298
/tools/workspace/boost/repository.bzl
8783aaa7d7c455cdbbc93e342a5e9ae3524af180
[ "Apache-2.0" ]
permissive
mjbots/bazel_deps
5415e61324c6167cba7c3c0917cad387d9e5107a
6c9ba1867b5d0ab5e59a7f1205adfd750a6c3610
refs/heads/master
2023-07-24T05:19:51.945623
2023-07-12T18:22:50
2023-07-12T18:22:50
139,143,430
96
38
Apache-2.0
2021-01-05T13:02:09
2018-06-29T11:52:09
Python
UTF-8
Python
false
false
1,278
bzl
# -*- python -*- # Copyright 2018-2020 Josh Pieper, jjp@pobox.com. # # 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 a...
[ "jjp@pobox.com" ]
jjp@pobox.com
cbfd65e341a06a88991aefd6e634b86f00f6e3fc
01a40dcca5b8105f3131e0df2a58c0c568b6bf52
/examples/iris-scatterplot.py
892f492e34f1c51ea5cd0d5db8e5abc8484af78f
[ "MIT" ]
permissive
xy1234552/pyprobml
72eb2dde10552828178f194cbb2c5981026cd9b5
9e7e5e3a8685a3d3ab4d00cc8b0ae9cede4a105f
refs/heads/master
2020-04-25T14:22:44.471275
2019-02-26T06:11:27
2019-02-26T06:11:27
172,839,749
1
0
null
2019-02-27T03:57:22
2019-02-27T03:57:22
null
UTF-8
Python
false
false
320
py
#https://seaborn.pydata.org/generated/seaborn.pairplot.html import matplotlib.pyplot as plt import os import seaborn as sns; sns.set(style="ticks", color_codes=True) iris = sns.load_dataset("iris") g = sns.pairplot(iris) g = sns.pairplot(iris, hue="species") #plt.savefig(os.path.join('figures', 'iris-scatterplot.pdf'))
[ "murphyk@gmail.com" ]
murphyk@gmail.com
07e8d2906794dede85bc3d6593145bdb2ca44335
66fe6eb64afeb7313a4c7685a8748455325b6726
/344-reverse-string.py
41d03e0bf04c9fcf06dcdf7ca2e81fb2b7cd4a49
[]
no_license
anantkaushik/leetcode
b54eb27b17ed95b02ab426392208c346f2d87aaa
06f0a6dbff2e2062fa4568efa5f01ad982d6ac94
refs/heads/master
2022-03-07T18:21:35.881943
2022-02-23T12:27:24
2022-02-23T12:27:24
120,501,367
40
13
null
2019-10-11T11:07:22
2018-02-06T18:05:51
Python
UTF-8
Python
false
false
818
py
""" Problem Link: https://leetcode.com/problems/reverse-string/ Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. You may assume all the char...
[ "anant.kaushik2@gmail.com" ]
anant.kaushik2@gmail.com
7b3efd4b6b854ad75fdca4954944575fd0279a25
0ca5b8f12662cd67de90095277107d6714628c9d
/OPL_Testing/TC_13256_RFC_2659_Title_of_PVR_RC_bottons.py
5af38cc482efbf7bfe6b3ad9d717e8818d9042b7
[]
no_license
OLSTOMASZPOLAND/tvtest
ca777f5f73be668be466386cbfc03d9ce0f08950
1b81e5ed5072a5fc6777494c8212060e03f206a3
refs/heads/master
2021-08-07T15:26:24.519418
2017-11-08T12:51:53
2017-11-08T12:51:53
105,535,403
0
0
null
null
null
null
UTF-8
Python
false
false
3,661
py
# -*- coding: utf-8 -*- import time from NewTvTesting.Config import * from OPL_Testing.TC_OPL_template import TC_OPL_template from NewTvTesting.DataSet import LiveData class TC_13256_RFC_2659_Title_of_PVR_RC_bottons(TC_OPL_template): """Implementation of the HP QC test ID - TC_13256_RFC_2659_Title...
[ "olstomaszpoland@gmail.com" ]
olstomaszpoland@gmail.com
083424b7745bbc2e58d0480d4dca72a7ebbe3023
061a4064a6f856989c3a84038dd1949e89439d87
/todo/views.py
226c26f7d383a22a8b419b04d979a67500796d1b
[]
no_license
rgrohit80/todo_uber_scrapper
446fd192185527e4656c8a407dca7c57bd7c6c54
6903d541c3f7633d5f794145e66578bb50f818fb
refs/heads/master
2022-12-02T05:13:53.952308
2020-08-11T07:29:27
2020-08-11T07:29:27
286,676,642
0
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
from rest_framework.views import APIView from .models import Task, Step from .serializers import TaskSerializer, StepSerializer from rest_framework.response import Response from rest_framework import status from django.http import Http404 from rest_framework import generics from rest_framework.authentication import Ses...
[ "rohit.kumar4@happiestminds.com" ]
rohit.kumar4@happiestminds.com
3fbca9c441e1ebb6ffccd1129820929a8062df1c
66c94b5e427c0b8f8f7101de9c17af1423f00682
/keras/keras41_cifar100_2_CNN.py
4fbb4377986d4b26e2e655f8a43f464f6c873945
[]
no_license
NamkyuHan/bit_seoul
a34ea3c49666ee2183026e960e45092778643d55
3112eb576089cdf906c4f326337b4d2b5e5e4c29
refs/heads/master
2023-01-30T19:02:53.323592
2020-12-17T01:05:17
2020-12-17T01:05:17
311,277,610
0
0
null
null
null
null
UTF-8
Python
false
false
3,994
py
#이미지 종류가 100개 = 100개의 클래스 #1. 데이터 from tensorflow.keras.datasets import cifar100 from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Dense, Conv2D, LSTM from tensorflow.keras.layers import Flatten, MaxPooling2D import matplotlib.py...
[ "rksh333@naver.com" ]
rksh333@naver.com
519007946e62256b9113cab6d60b195c0e232de0
408f8c561a695ac20b792ba0c4a230c154dad347
/src/agents/smooth_tdc/SmoothTDCadagrad.py
d4bbd48fec0e292c0b54cb26c25b5a97e9a67566
[]
no_license
andnp/acceleration-v2
a407888c74a247e6d441259d50d77cf6194f728b
52b8a42c3e315ddbb4549a3a941afda81e92be9b
refs/heads/master
2022-11-26T05:42:17.680125
2020-08-02T23:25:01
2020-08-02T23:25:01
204,991,770
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import numpy as np from src.agents.smooth_tdc.SmoothTDC import SmoothTDC from src.agents.optimizers.AdaGrad import AdaGrad class SmoothTDCadagrad(SmoothTDC, AdaGrad): pass
[ "andnpatterson@gmail.com" ]
andnpatterson@gmail.com
39595714fb73db112e556490e311f1de1e9bcd32
9e28200b71d43de1e122a964e88f1b547bfde465
/pyfunc/Counter_demo.py
ce5ca8d33c089257c7491326d0d9d5816f81eade
[]
no_license
paul0920/leetcode
6f8a7086eefd3e9bccae83752ef41cbfee1acaea
474886c5c43a6192db2708e664663542c2e39548
refs/heads/master
2023-08-19T14:10:10.494355
2021-09-16T20:26:50
2021-09-16T20:26:50
290,560,326
1
0
null
null
null
null
UTF-8
Python
false
false
267
py
import collections secret = "1211" guess = "2221" s = collections.Counter(secret) g = collections.Counter(guess) print s print g print s & g # Counter works like a hash table and returns an array print (s & g).keys() print (s & g).values() print (s & g).items()
[ "39969716+paul0920@users.noreply.github.com" ]
39969716+paul0920@users.noreply.github.com
b7703d05820fb064a9e23a9075891f4f7a531005
638af6b8c580eeae23fc1034882c4b514195137a
/Packages/visus/src/pyvisus/tests/testIsoSurface.py
1c9d5cd6c5e159082103fd712d0995a96ce7e83f
[]
no_license
doutriaux1/uvcdat
83684a86b514b8cac4d8900a503fc13d557fc4d2
37e9635f988696c346b4c3cdb49144d1e21dab5d
refs/heads/master
2021-01-17T07:57:22.897539
2015-02-02T22:52:12
2015-02-02T22:52:12
14,878,320
1
0
null
2015-02-19T20:54:25
2013-12-02T23:44:46
C
UTF-8
Python
false
false
10,565
py
######################################################################## # # Copyright (c) 2008, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory # Written by bremer5@llnl.gov,pascucci@sci.utah.edu. # LLNL-CODE-406031. # All rights reserved. # # This file ...
[ "doutriaux1@meryem.llnl.gov" ]
doutriaux1@meryem.llnl.gov
9df01bd952d2383aa54d8a6987d2bb6dcc060627
be92135c9bacd13a61e2b28092f97fb9b524923d
/blog/mainsite/views.py
bb76630938e3f9e1f231a3e34c8920da831f13b1
[]
no_license
ChihYunPai/personal-website
337f3e6d19a2850795633277a4ebab28a89e4fd1
c002c5d72c2b902ef4efd17fa9426130b032fdf5
refs/heads/master
2020-05-16T16:46:34.973963
2019-05-10T11:35:28
2019-05-10T11:35:28
183,172,604
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
from django.shortcuts import render from django.shortcuts import redirect from django.http import HttpResponse from django.http import Http404 from .models import Post from .models import NewTable from .models import Product from .models import PhoneProduct from datetime import datetime # Create your views here. d...
[ "tonypaiwhite@gmail.com" ]
tonypaiwhite@gmail.com
fb24416793527b08c11002c213a1f0489910f00a
92ac0059aba240594caacea057310ae5f8dedc72
/reviewboard/diffviewer/evolutions/add_diff_hash.py
395671308b0298a03d2a130bbfa5b0df86206b10
[ "MIT" ]
permissive
asterisk/reviewboard
3117be93784f137843aa7948fe8ea4da828ff573
02aead64a8e3717c0a4a44bf764b80094787372b
refs/heads/master
2021-01-15T18:08:22.593916
2013-04-24T07:55:46
2013-04-24T07:55:46
1,844,275
1
0
null
null
null
null
UTF-8
Python
false
false
500
py
from django_evolution.mutations import AddField, RenameField from django.db import models MUTATIONS = [ RenameField('FileDiff', 'diff', 'diff64', db_column='diff_base64'), RenameField('FileDiff', 'parent_diff', 'parent_diff64', db_column='parent_diff_base64'), AddField('FileDiff', 'diff_hash', models.Fore...
[ "chipx86@chipx86.com" ]
chipx86@chipx86.com
f5f43c1eae79afc7bfd82dbd3bb9fc7e90927d7f
21e6a09131ac76d734102c829260c3b8e3a0094b
/solutions/17_serialization/task_17_4.py
6a90343212e5965e53bd53a04969dbe9af5b5b41
[]
no_license
Egor-Ozhmegoff/Python-for-network-engineers
5fbe8f3a754263ab65c28093fed667684ae76ded
6b70f4f9df658698ea0d770a064ee0e12b4e4de2
refs/heads/master
2023-08-11T20:52:12.999495
2021-09-09T14:42:14
2021-09-09T14:42:14
306,354,285
1
0
null
null
null
null
UTF-8
Python
false
false
3,750
py
# -*- coding: utf-8 -*- """ Задание 17.4 Создать функцию write_last_log_to_csv. Аргументы функции: * source_log - имя файла в формате csv, из которого читаются данные (пример mail_log.csv) * output - имя файла в формате csv, в который будет записан результат Функция ничего не возвращает. Функция write_last_log_to_c...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
f01229e439804165943cd4326583f88d9b9b26e7
6a0d42149f8bbe5f7d6cb8103fe557d0d048c832
/products/helpers/particular_audit_firm.py
5d008c2841c92cb667d4580286b90192712c3744
[]
no_license
syfqpipe/product-public
8f3b2f81d0c9fdc61bb5841db1d4d9d26bb618a1
62b918bd9f24b4a47fab04398ca8112268e1e2b1
refs/heads/master
2023-01-22T05:14:19.132567
2020-12-05T03:22:56
2020-12-05T03:22:56
318,689,598
0
0
null
null
null
null
UTF-8
Python
false
false
9,735
py
import string import pytz import json from datetime import datetime from django.utils.timezone import make_aware from .mapping import ( state_mapping, origin_country_mapping ) def particular_audit_firm(mdw_1, mdw_2, lang): data_mdw_1 = mdw_1 data_mdw_2 = mdw_2 print('____________ ') p...
[ "syafiqbasri@pipeline-network.com" ]
syafiqbasri@pipeline-network.com
fc378b790c6b7c92d7b0251edd362d9fed207734
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/8438da2a347b065054fad0b4e0414c543ddaf42f-<has_expired>-fix.py
0e9b1d61026a1d38043fa5431157b193b0a7f776
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
def has_expired(self, key): if (self._timeout == 0): return False cachefile = ('%s/%s' % (self._cache_dir, key)) try: st = os.stat(cachefile) except (OSError, IOError) as e: if (e.errno == errno.ENOENT): return False else: display.warning(("error i...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
2c2f9d5784b390b80b60415427ec00816a5f24e2
99ba551645dc9beed36f0478b396977c50c3e7ef
/剑指offer/42_连续子数组的最大和.py
1108d1396dfab0a868dc0dc0f3414ef48d7ac46b
[]
no_license
wulinlw/leetcode_cn
57381b35d128fb3dad027208935d3de3391abfd0
b0f498ebe84e46b7e17e94759dd462891dcc8f85
refs/heads/master
2021-08-09T17:26:45.688513
2021-07-15T14:38:30
2021-07-15T14:38:30
134,419,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
#!/usr/bin/python #coding:utf-8 # // 面试题42:连续子数组的最大和 # // 题目:输入一个整型数组,数组里有正数也有负数。数组中一个或连续的多个整 # // 数组成一个子数组。求所有子数组的和的最大值。要求时间复杂度为O(n)。 import heapq class Solution: def FindGreatestSumOfSubArray(self, nums): n = len(nums) dp = [float('-inf')] * n maxSubSum = float('-inf') dp[0] = num...
[ "wulinlw@gmail.com" ]
wulinlw@gmail.com
ff12e333063aba32bb3abc3e1fee22e1bf6cc360
02e5b1240db2ef04b4f8b661a9ac4ce060144d74
/examples/inference/standard_sgd_demo.py
fb4c7c9757d8096be65f2a2229f7caba464dcba1
[ "MIT" ]
permissive
jayeshchoudhari/pyhawkes
b3b143a5040730826c23a9b3703159dbeb9bf21d
f4b0e6e3ce7f74e647f0ed2254ea334c22d6e82b
refs/heads/master
2021-06-12T12:55:54.740142
2017-03-27T06:47:16
2017-03-27T06:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,594
py
import numpy as np import matplotlib.pyplot as plt from pyhawkes.models import DiscreteTimeNetworkHawkesModelSpikeAndSlab, DiscreteTimeStandardHawkesModel def sample_from_network_hawkes(C, K, T, dt, B): # Create a true model p = 0.8 * np.eye(C) v = 10.0 * np.eye(C) + 20.0 * (1-np.eye(C)) c = (0.0 * (...
[ "scott.linderman@gmail.com" ]
scott.linderman@gmail.com
bd2fea50e2fe6363cb298e41d0c725b646eb73e4
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/ItemSkuAddRequest.py
28feea966f9a7dc1f3740b84b17688b3ba49b8fd
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class ItemSkuAddRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.item_price = None self.lang = None self.num_iid = None self.outer_id = None self.p...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
be7a710d5ca10a38eeffcbe7055f2cb57b59fe6a
3056736f013b25d1e70adb355082c578e5091314
/ml_quality/datasets/shit/Final car.py
6f46dfde4944276a0d869c2ea71fd20693938be1
[]
no_license
flerchy/codestyle-core
dcad1385b76678e4473f0804d2ecfaa03866d124
a009bcd2f17dadd440ea5ff24bd3167e38948bff
refs/heads/master
2021-01-20T03:21:16.694322
2017-06-05T05:52:35
2017-06-05T05:52:35
89,524,181
0
1
null
null
null
null
UTF-8
Python
false
false
17,772
py
# ----------- # User Instructions # # Familiarize yourself with the code below. Most of it # reproduces results that you have obtained at some # point in this class. Once you understand the code, # write a function, cte, in the run class that # computes the crosstrack # error for the case of a segmented path. You will ...
[ "flerchy@gmail.com" ]
flerchy@gmail.com
4778ccecb1b12a11e8b7a188708316d2fe650291
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03078/s600099502.py
d53d5d28a0f7051da50dc8da4887a8ff3f9fb97e
[]
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
974
py
def read_int(): return int(input().strip()) def read_ints(): return list(map(int, input().strip().split(' '))) def solve(): X, Y, Z, K = read_ints() A = read_ints() B = read_ints() C = read_ints() BC = [b+c for b in B for c in C] BC.sort(reverse=True) A.sort(reverse=True) l...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
837e41ca1373d743bd6348b3d77a98a4a5ffd08d
46b40bbf9433f659cc331457bdfa453a41294c6b
/file handling task/DOB, sales, file handling/Sales Tax Calculation File Handling Task/Reading_CSV.py
5381b706ba7b6cbb0dff3af0493c515ce074ce82
[]
no_license
deepsinghsodhi/python-OOPS-assignments
f0f79878c494f48e11120249ae5299de92c1c7b0
356c53dd328c6cabcd9f899c2e2edb9ddfd1d95f
refs/heads/master
2022-12-20T19:57:38.020057
2020-09-30T18:43:20
2020-09-30T18:43:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#reading CSV file f = open('location.txt', 'w') f.write('asdjkhaskdaskjfhsdkjhcb kbjcc kjkjcnjsjhvlksdjlnvvlkcx') print(f.read()) # #writing CSV file # with open('lavda.csv', 'w', newline = '') as f: # csv_writer = csv.writer(f, delimiter = ',') # csv_writer.writerow(['Name', 'dep', 'DOB']) # csv_writer.w...
[ "you@example.com" ]
you@example.com
48619ecdea1b130129b7917bf295d927961d1cf4
f4f57c50d4c91c7c02a4fbb443093b66eac20882
/vnpy/api/sopt/generator/generate_api_functions.py
956205e6492674001ebd65710c37a693703c088e
[ "MIT" ]
permissive
nick-nh/vnpy_eng
7579c4b15ea8206e39c5503120663e17e5c83198
e1306c5ae2e4247f9d866f4eed495c5063912a1d
refs/heads/master
2020-08-01T03:31:43.781735
2019-09-24T17:01:37
2019-09-24T17:03:22
210,846,497
3
2
MIT
2019-09-25T13:01:50
2019-09-25T13:01:49
null
UTF-8
Python
false
false
13,101
py
"""""" import importlib class ApiGenerator: """API builder """"" def __init__(self, filename: str, prefix: str, name: str, class_name: str): """Constructor""" self.filename = filename self.prefix = prefix self.name = name self.class_name = class_name self.call...
[ "alh@exante.eu" ]
alh@exante.eu
15172488e6fc0f71afea822ddbec925d8dcf5386
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/generalized_rates/kld_optimization/experiments.py
1e85d768f89a0296f5904a065c62b5be543853bc
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
8,403
py
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
4d1159ac55e0ab29af26af53f03f4c763a25fa07
f188379dc9c1e5b63e432d434c782a4d6997872b
/1_Basic Syntax, Conditional Statements and Loops/Exercises and More Exercises/13. Wolf in Sheep's Clothing.py
0a86fc9d8b82e583409b0b0e9d877702426fb9d8
[]
no_license
GalyaBorislavova/SoftUni_Python_Fundamentals_January_2021
39d7eb8c28f60ff3c293855b074c49ac622a6036
7d479fd6c8e4136fb07b765458cc00088e09767a
refs/heads/main
2023-06-15T04:16:17.084825
2021-06-30T18:05:42
2021-06-30T18:05:42
381,785,764
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
str1 = input() str1 = list(str1.split(", ")) for n in range(len(str1)): if str1[-1] == "wolf": print("Please go away and stop eating my sheep") break if str1[n] == "wolf": wolf_position = n sheep_position = len(str1) - (n + 1) print(f"Oi! Sheep number {sheep_position}! ...
[ "galyaborislavova888@gmail.com" ]
galyaborislavova888@gmail.com
7913cf35886e3d7953c71ebd3df8270546dd505c
6c58da2c54a3d35273e7984313d181f1da9981fc
/Courses/djangoEnv/bin/wheel
74de7676dbdadcb36998f4bc9103287d5ef5b489
[ "MIT-0" ]
permissive
py1-10-2017/rgero215_PY1-10-2017
e582cb12cc63f84b1c0c14d09a922cb6cb228016
f455b335ec9c8c850571f3a75dcd95759b4cfdad
refs/heads/master
2021-09-04T03:23:48.062326
2018-01-14T21:07:26
2018-01-14T21:07:26
105,612,652
1
0
null
null
null
null
UTF-8
Python
false
false
269
#!/Users/RGero13/Desktop/rgero215_PY1-10-2017/Courses/djangoEnv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rgero215@gmail.com" ]
rgero215@gmail.com
9a9b8085b30ebfc1f52ffb7039db4e59a96e15ae
ac6f3ab88c67b09e187c92652e29fabd5bf5ffd5
/code/297_solution.py
ebed6724c364c56bce14531a01e6e2c4ed872e65
[]
no_license
YanjiaSun/leetcode-3
f3c87ef6961220c39d48094ef65db921f34d070f
59d323161dba8d250d6dd7f31c40731845356f21
refs/heads/master
2022-12-05T17:15:55.601506
2020-08-03T11:38:39
2020-08-03T11:38:39
284,863,415
1
0
null
2020-08-04T03:05:05
2020-08-04T03:05:04
null
UTF-8
Python
false
false
2,430
py
# [1,2,null,null,3,4,null,null,5,null,null] # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None # 1byte for flag indicating type of node # 4byte for the node value # [1byte flag][4byte data] # 0x0 -> ...
[ "ryanzjlib@gmail.com" ]
ryanzjlib@gmail.com
883e577e9bb60c24235055b372351aacc0fd4d7d
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/securitycenter/v1beta1/securitycenter-v1beta1-py/google/cloud/securitycenter_v1beta1/types/organization_settings.py
cdaa630daf514ff7d92881335a9f7ef728e391a6
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,404
py
# -*- coding: utf-8 -*- # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
e32ea44f01d856514af5f9ae5c064100a5bf2b95
2e45fd4598b019865f358fe2f402047637c47aa9
/onshape_xblock/check_base.py
c4a82a74d6a701cff254868600a373af004cf842
[]
no_license
onshape-public/onshape-xblock
0f0c1c191aba42725a65d7ae0afcd797ea535191
f8569d21f0b9987fe8b4db3f2f685fb79d338db1
refs/heads/master
2020-05-26T15:18:55.230653
2019-06-18T19:47:11
2019-06-18T19:47:11
188,282,328
0
0
null
2020-04-04T23:26:36
2019-05-23T17:57:03
Python
UTF-8
Python
false
false
9,588
py
from abc import abstractmethod, ABCMeta, abstractproperty from onshape_client.client import Client from onshape_client.onshape_url import OnshapeElement from jinja2 import Template from onshape_xblock.utility import res_to_dict from copy import deepcopy class CheckBase(object): """Instructions for making a new ch...
[ "ethan.keller@gmail.com" ]
ethan.keller@gmail.com
982a7abd44228d666181097642ad439bfc09d8df
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/databoxedge/azure-mgmt-databoxedge/generated_samples/device_capacity_request_post.py
babc7191b2d590269fcd350833e7124d164d5123
[ "MIT", "LicenseRef-scancode-generic-cla", "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
1,757
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" ]
Azure.noreply@github.com
bad21589dd683a9c11ecd6f70487925c565aa18d
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/27573004.py
9dbbeaafd48b3898ab5f41075b129db32a0eea64
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,429
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/27573004.py generated: Fri, 27 Mar 2015 15:48:06 # # Event Type: 27573004 # # ASCII decay Descriptor: [D*+ -> (D0 -> K- mu+ nu_mu) pi+]cc # from Configurables import Generation Generation().EventType = 27573004 Generation().SampleGenerationTool = "SignalP...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
8f5f198e8b44bd0602397256ad45501427ca6303
0f24270e3c305c3ffb984a631ec4ab5c9d7609d7
/conscrap/settings.py
86ce010a18f022aaa4ef0d327ebb103996387313
[]
no_license
desertSniper87/constitution_scraper
0c4364588cb6baa300657a603a3848b6eb4fa0b5
74219fe351f4e42a8e38a2ae875d29dc4a06594a
refs/heads/master
2023-03-06T19:00:05.286203
2021-02-20T14:03:23
2021-02-20T14:03:23
340,588,325
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
# Scrapy settings for conscrap project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middlewar...
[ "torshobuet@gmail.com" ]
torshobuet@gmail.com
d8dc0309bcacaac6086ea61524144db2590e0239
f1383139241526c0c0ebf4be416d511d1defc0dd
/neighbour/models/info.py
3006f7679cf6b1f0f519c8fbbb0c1b6f4e43b986
[]
no_license
qitianchan/neighbour_0.1
585b8c4178eb6d9b002b88a568541ec325ac2282
c4c4f5a3539f6476c30a7bbda63674cbe2ddc57f
refs/heads/master
2021-01-10T04:47:45.257828
2015-10-11T05:53:07
2015-10-11T05:53:07
43,542,360
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# # -*- coding: utf-8 -*- # from neighbour.extensions import db # from neighbour.utils.database import CRUDMixin # # # class Info(db.Model, CRUDMixin): # """ # 消息,用于通知小区管理员的消息 # """ # __tablename__ = 'info' # id = db.Column(db.Integer, primary_key=True, autoincrement=True) # description = db...
[ "qitianchan@sina.com" ]
qitianchan@sina.com
bb7a9168385bfc81e0f47f45b6efb88401afdeea
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/rtctrl/setrtmetricdef.py
2c82a53240eaf7cb65426132bcef5cdf02b83c01
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
5,969
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
9c59fe865975c76fdaa6fbc6187648ad190cdbfc
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/tests/unittests/test_solve_op.py
99c5eb21db449b01e8613a171e69d22d87f5d627
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
21,274
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 app...
[ "noreply@github.com" ]
jiweibo.noreply@github.com
412abdd7697fc315f0c599bfb46285125b661bf5
8c549ca2cff2dae4a1106d96962ce528ade70b8c
/mpcontribs/rest/_apidoc.py
998e549ab8b462059e060395051b56db6280d22f
[ "MIT" ]
permissive
Tinaatucsd/MPContribs
4422e55cfca9071cff08466547988407dccf3692
dca8e085c6576f3dc3d45c53328ae58c20ed7b5b
refs/heads/master
2020-03-23T06:19:26.572769
2018-07-11T20:49:41
2018-07-11T20:49:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
""" @api {post} /query?API_KEY=:api_key Query contributions @apiVersion 0.0.0 @apiName PostQueryContributions @apiGroup Contribution @apiDescription Query the contributions, materials, or compositions collections given specific criteria and projection @apiParam {String} api_key User's unique API_KEY @apiParam {String...
[ "phuck@lbl.gov" ]
phuck@lbl.gov
2337a268f0de5561a457f11c702d3da446695439
c2f35e5d3cfbbb73188a0cd6c43d161738e63bd1
/12-Django框架学习/bj18/test5/booktest/templatetags/filters.py
27b5063ae10a38fcb8b120d1592ca588999bcb88
[]
no_license
yangh-zzf-itcast/Python_heima_Study
2a7cd0d801d9d6f49548905d373bb409efc4b559
7d753c1cdd5c46a0e78032e12b1d2f5d9be0bf68
refs/heads/master
2020-04-30T06:59:04.000451
2019-04-19T12:15:30
2019-04-19T12:15:30
176,670,172
1
0
null
null
null
null
UTF-8
Python
false
false
404
py
# 自定义过滤器 # 过滤器的本质就是Python的函数 from django.template import Library # 创建一个Library对象 register = Library() # 自定义过滤器最少一个参数,最多两个参数 @register.filter def mod(num): """判断是否为偶数""" return num%2 == 0 @register.filter def mod_val(num, val): """判断num是否可以被val整除""" return num%val == 0
[ "2459846416@qq.com" ]
2459846416@qq.com
f22536b5dec2ebcca1d11deb860eff0b084b6613
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/program/database/data/BuiltinDBAdapter.pyi
2ba32b15927c38c29d9bc4bb0f86b675febe3c55
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
579
pyi
import java.lang class BuiltinDBAdapter(object): """ Database adapter for managing built-in data types. """ def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.lang.Class: ... def hashCode(self) -> int: ... def notify(self) -> None:...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
04ce7867c5d27e732b3116c6f49f676cd1363925
3e879618053d86aa6c3d1a3a4de76a8337ed4ff8
/lecture08.py
2131f0cce7685c8bc4ffb922c46e638ec0b643ae
[]
no_license
robertvandeneynde/parascolaire
a3bad82e420dfc2a9d2ed72b717453a388dc8b3e
444a7b8ea862571d120e8e165943ae5c034ede70
refs/heads/master
2021-04-29T00:02:21.674614
2021-02-01T06:09:32
2021-02-01T06:09:32
77,689,850
1
1
null
null
null
null
UTF-8
Python
false
false
228
py
#!coding: utf-8 L = [1,2,7,2] c = 7 # Que valent les valeurs de i au cours du temps ? # Qu'affiche ce code ? # Essayez aussi avec c = 5 i = 0 while i < len(L) and L[i] != c: i = i + 1 if i == len(L): i = -1 print(i)
[ "robertvandeneynde@hotmail.com" ]
robertvandeneynde@hotmail.com
8d87dcae6ea5bfbc283968604bc826d7dbef06ee
095c0f8b5a67f19ff9bd987b1442992f208cb842
/gocode/src/cuauv.org/shm/cli/configure.py
442815a26b66c27526dd0ccc6741071d71562bfe
[ "BSD-3-Clause" ]
permissive
forbesk/software
484d5fc5e57be2e12a384fc06e2349c65a390045
abadfa65bb5ad3d1d14c49079baeefa1ab8f2604
refs/heads/master
2021-01-14T12:40:37.081869
2016-05-11T22:58:13
2016-05-11T22:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
#!/usr/bin/python from build import ninja_common build = ninja_common.Build('gocode/src/cuauv.org/shm/cli') build.go_build('auv-go-shm-cli', pkg='shm/cli', inputs=['main.go'], go_deps=['shm'])
[ "software@cuauv.org" ]
software@cuauv.org
19b60bcd4bde9ed924f5391ef6d626950c7d2c98
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-cdn/azure/mgmt/cdn/models/resource_usage.py
ba216e259427144d7f81c7c6e8cf1ecc7d587fb3
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,712
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
ca066c7117ac3f237bfe071148d6a8eff16b1689
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/49pyDP8dE3pJ2dYMW_15.py
4f9e533cde7b4943fff84669b90deb423b95609f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
def divisible_by_five(n): return not n%5
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bf8c9fd5570fc727dddb1fac505d8329ba5a9e74
9a0d178a9128b8b3f33334f10d65abc7c2d8ed6e
/main/backend/capstone_project/chat/migrations/0003_chatroom_creator.py
8d30f897dccb99b6e35e8be647adf721444bb7ca
[]
no_license
kookmin-sw/capstone-2021-5
b19917d3d9fe5d2edfd8ebea5745a2806414aff3
322a2cd5d79d8bfd639f60e015af5db5dd7bc4a1
refs/heads/master
2023-05-06T01:24:00.457598
2021-05-26T14:43:28
2021-05-26T14:43:28
329,216,184
0
9
null
2021-05-24T05:05:41
2021-01-13T06:35:50
JavaScript
UTF-8
Python
false
false
594
py
# Generated by Django 3.1.6 on 2021-05-17 01:37 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), ('chat', '0002_chatroom_pa...
[ "you@example.com" ]
you@example.com
18f985ccb1d9420af7b4500834d34586a472f96f
1898456162422859f8b7da7902582e43ed3afffb
/1_Algorithmic_Toolbox/week5_dynamic_programming1/3_edit_distance/edit_distance.py
10a06499aa83da88dda2f8c88002d1d75bba037c
[ "MIT" ]
permissive
AnthonyRChao/UCSD-DSA
275a5e668d3c54e0e27c8530280ad3c234f93933
877d7f1d7f3d3d9d6a0c6cda2421ec130b64da3d
refs/heads/master
2020-04-22T14:34:18.824210
2019-05-06T06:46:09
2019-05-06T06:46:09
170,448,258
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
# Uses python3 def edit_distance(s, t): a = len(s) b = len(t) # Handle any empty strings if a * b == 0: return a + b # Initalize the DP Matrix D = [] for _ in range(a + 1): D.append([0] * (b + 1)) # Populate null string row and column of DP Matrix for i in range(a...
[ "anthony.r.chao@gmail.com" ]
anthony.r.chao@gmail.com
ec0d6b61579afd118e71f88edd55cf8038987096
2c1280bd276bef207b748c89a50c4ee51ef3afa5
/src/tweetme/settings/base.py
0a3ffdc4cf723ac23e9c1fccf18d45d46c76a012
[]
no_license
apabhishek178/error
4c86cfeea8cb5d7c49be0fa34545f15715d40ed6
f2d6db18d20dc2dfdd146dcead506b3ce2c23770
refs/heads/master
2022-11-09T14:04:12.094851
2018-07-29T06:03:45
2018-07-29T06:03:45
142,734,788
0
1
null
null
null
null
UTF-8
Python
false
false
3,260
py
""" Django settings for tweetme project. Generated by 'django-admin startproject' using Django 1.9.13. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "apabhishek178@gmail.com" ]
apabhishek178@gmail.com
908abf0242604a1f94e69785b9d33108151c7de0
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArCellRec/share/LArCell_jobOptions.py
dd7cc676a6be6d345c0d26c17d4ef02f8b7cd56e
[]
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
182
py
# default jobOptions file for LAr Cell Reconstruction # with full corrections and with the possibility to add the noise. include( "LArCellRec/LArCellFromLArHit_MC_jobOptions.py" )
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
628b91914b18e0aa460f72f80a7c2ae896b439bf
e70477993d2940e224e79938752fef4550040896
/02.neural-network/05.mnist-neural-network/test.py
b9f5056271299f1d068c86c580593cf7179fb0c3
[]
no_license
et0511/deep-learning
00f56f585c18307ebce670f7b591c24c033c0930
68e424e101b364a7832c9de5c315ec92f260e68e
refs/heads/master
2023-01-22T02:20:02.541719
2020-12-04T06:51:52
2020-12-04T06:51:52
315,176,127
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import numpy as np a1 = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9]) a2 = np.array([ [1, 2, 3, 4, 5, 6, 7, 8, 9], [10, 20, 30, 40, 50, 60, 70, 80, 90] ]) b1 = np.max(a1) b2 = np.max(a2) print(b1, b2)
[ "shinwon0511@gmail.com" ]
shinwon0511@gmail.com
44f5340fde7989132da87e83760f3a05510a5452
01fdd206c8c825b30870bdd3f6e75f0aa113b849
/test/record/parser/test_response_whois_register_com_registered_without_updated_on.py
0a709ff624f86b3d571b4e77a8bf994ebb857dcd
[ "MIT" ]
permissive
huyphan/pyyawhois
0fbc5a7d64a53ae6e3393fdc1c7ff0d0ac5f22b5
77fb2f73a9c67989f1d41d98f37037406a69d136
refs/heads/master
2021-01-23T22:42:55.989651
2015-09-19T16:40:06
2015-09-19T16:40:06
23,335,785
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # spec/fixtures/responses/whois.register.com/registered_without_updated_on # # and regenerate the tests with the following script # # $ scripts/generate_tests.py # from nose.tools import * from dateutil.pa...
[ "dachuy@gmail.com" ]
dachuy@gmail.com
4314155f446e639f6f34059661897f2bd410e605
004924ff440299e20b1bee95941a8d045a098173
/01-basic-python/04-lists/06-includes/tests.py
5a3b23767897a391505fb6269f1e4d5176e7b7d5
[]
no_license
UCLeuvenLimburg/scripting-exercises
cfc5afaf9c5767063500ca11106c2fc49a0b2526
3a21c99b9e389bbad6b4c52df36dcb70fb9dc48d
refs/heads/master
2022-05-01T02:23:42.012534
2022-03-30T12:44:39
2022-03-30T12:44:39
168,198,257
10
20
null
2020-10-19T14:32:28
2019-01-29T17:36:36
Python
UTF-8
Python
false
false
654
py
from contextlib import contextmanager from scripting.testing import test from scripting.quick import reference_based_test from scripting.reference import active_reference_implementation_from_id, reference_file with reference_file('solution.py'): with reference_based_test('includes') as testcase: testcase(...
[ "frederic.vogels@ucll.be" ]
frederic.vogels@ucll.be
f499620a3ca7e770c2cdf58ee982bff94dd07371
c1036fa9241f6f9e832cf62e65b96e3f1b6aecab
/pythonFiles/Front_BackYard_calculation.py
0bbd36ec810223ba69cf1037c92d7ac2d2b20885
[]
no_license
Skunkler/ImageClassification2016
386cfe0f4e7ccaf24ab5a35a3c07f41bfeea634b
37dbff2af14373aca474c5085895246fed3e1aaa
refs/heads/master
2021-01-16T15:30:07.345611
2020-02-26T04:58:22
2020-02-26T04:58:22
243,168,252
0
0
null
null
null
null
UTF-8
Python
false
false
4,558
py
import arcpy, string, os, sys, time, datetime from arcpy import env ws = r'H:\missing_sets\workSpace.gdb' env.workspace = ws arcpy.env.overwriteOutput = True fcs = arcpy.ListFeatureClasses() roads_layer = r"E:\2016_ClarkCounty_imageryclassification\las\Road_Work.gdb\GISDBA_roadparc_no_major_buf15" GISDBA...
[ "noreply@github.com" ]
Skunkler.noreply@github.com
a619901029d7d12177ffa9c1ca9eb64d1822b768
bf1257f42fbef87d3e2c41414c2215e46c3b7fa0
/day2/template_demo1/template_demo1/urls.py
b9885a3ca63fb8cef22a5928072eb6f0d0522419
[ "Apache-2.0" ]
permissive
gaohj/django1903
29746e32bdb56451ccde0a56534ded8da311f035
af14b0e46831f64b25a791053be05e1bea457b73
refs/heads/master
2020-09-22T17:09:20.703440
2019-12-18T09:36:03
2019-12-18T09:36:03
225,280,582
1
1
null
null
null
null
UTF-8
Python
false
false
785
py
"""template_demo1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home...
[ "zhao@163.com" ]
zhao@163.com
d1a9af2b6a85ac63ce384671c761a7e7d752bddc
fe06311a7de13a02ca0be37d84c542c3cece3f33
/Chapter29/file_29_1_3a.py
5678867909ed2348389dc0c9df57951997500f78
[]
no_license
mooksys/Python_Algorithms
a4a84ddabc34ec4b7cc0ac01d55019880af38514
375817e3dfdec94411cf245fe3f685a69d92b948
refs/heads/master
2020-08-24T06:35:05.791979
2018-07-30T01:22:24
2018-07-30T01:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
N = int(input()) s = 0 i = 2 while i <= 2 * N: s = s + i ** 2 i += 2 print(s)
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
67b889ce695fbdf28bed3ed725fd652e01c8631d
c8b18f0530f290fcd451b2a34d8e64d62477c3e5
/codes/SmartBook/pages/ReaderListPage.py
14369c277595adae9ac4663dde5695c28f9d226a
[]
no_license
YorkFish/hello-world
a8e2e019e51a814bae4dbb134abce90fd02317d4
31f8b807c57bd942fc805466ad9d5ff9b9614b55
refs/heads/master
2021-10-23T00:41:09.867934
2021-10-12T01:25:20
2021-10-12T01:25:20
165,218,921
0
0
null
2019-01-11T11:19:18
2019-01-11T09:42:33
null
UTF-8
Python
false
false
379
py
# coding: utf-8 """ author: York date: 2021-10-02 """ from pages.SuperPage import SuperPage class ReaderListPage(SuperPage): PAGE_MESSAGE = [ "---读者管理---", "注册读者{len(UserinfoDAO.select(level='reader'))}", ] PAGE_ACTIONS = [{ "KEY": "rl", "DESC": "读者列表", "ACTION": ...
[ "18258788231@163.com" ]
18258788231@163.com
cd996c544bc5328835666bc32ec1d1a6e609c359
479696ed99f10e449308bf3379e8b3d167365ebe
/spa/models/event.py
20048b75ac993c6adfa9c5796c66efc6b25a1050
[ "BSD-2-Clause" ]
permissive
fergalmoran/dss
7c690ba0b858c3d7d115af54655954ecee64407e
684fb4030e33212c3ecde774ca86cb74a1ffc8ac
refs/heads/master
2021-07-06T02:46:49.064282
2015-01-04T22:19:31
2015-01-04T22:19:31
5,353,985
0
0
BSD-2-Clause
2021-06-10T17:35:38
2012-08-09T10:03:17
JavaScript
UTF-8
Python
false
false
841
py
from datetime import datetime from django.contrib.auth.models import User from django.db import models from spa.models import Recurrence from spa.models.venue import Venue """ class Event(views.Model): class Meta: app_label = 'spa' event_venue = views.ForeignKey(Venue) event_date = v...
[ "fergal.moran@gmail.com" ]
fergal.moran@gmail.com
4042e466a3eb603b0f15ea0853780d60e29d4b56
c2ee9d6d84e2270ba4c9d6062460a2be0ff5f19c
/98. Validate Binary Search Tree.py
ca57f62a6b28617a1ecccf1ebda77282e5f421f2
[]
no_license
Peiyu-Rang/LeetCode
0dd915638e8c41c560952d86b4047c85b599d630
f79886ed3022664c3291e4e78129bd8d855cf929
refs/heads/master
2021-11-27T23:48:39.946840
2021-11-09T12:47:48
2021-11-09T12:47:48
157,296,661
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
# -*- coding: utf-8 -*- """ Created on Mon May 31 18:11:02 2021 @author: Caven """ # 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 class Solution: def helper(self, node, ...
[ "prang3@gatech.edu" ]
prang3@gatech.edu
17f507986b61e00c50a3ea5045de6b19a7e4ee9f
44acddb177357193581926bbc65423f19fc48d03
/graphql/__init__.py
18318560b71a0f0a391426581521ff23c473ce83
[ "MIT" ]
permissive
changeling/graphql-core-next
b6d87b89873a2640e646dec816f9c972843b03e7
c977e3402388660fa764c5c3d33bb2f71eac9cce
refs/heads/master
2020-05-23T07:26:15.251271
2019-05-14T18:42:28
2019-05-14T18:42:28
186,678,477
0
0
null
2019-05-14T18:30:07
2019-05-14T18:30:06
null
UTF-8
Python
false
false
16,826
py
"""GraphQL-core-next The primary :mod:`graphql` package includes everything you need to define a GraphQL schema and fulfill GraphQL requests. GraphQL-core-next provides a reference implementation for the GraphQL specification but is also a useful utility for operating on GraphQL files and building sophisticated tools...
[ "cito@online.de" ]
cito@online.de
aa7a56194319f5fa8cc5fb5123dd0717cc2e8f68
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp205_7500.py
36615247cd5699856dcae06c84b6e6671f2e9183
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,823
py
ITEM: TIMESTEP 7500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.6672854112257519e+02 2.1392854112261952e+02 -1.6672854112257519e+02 2.1392854112261952e+02 -1.6672854112257519e+02 2.1392854112261952e+02 ITEM: ATOMS id type xs ys zs 816 1 0.0164033 0.864039 0.455377 201 1 0.424855 0.0265937 0.0193819 1002 1 0...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
d5dce9668304124ade6e0b1166123275b79f19ce
14e1fd11ecf21781314d0d169e4f36996f5cf85f
/MxOnline/apps/organization/migrations/0006_auto_20180103_1230.py
ae0744301dec844fee141c326b95e2a000b981f7
[]
no_license
lixiang007666/Education
6dcdd5f91c9fba264a488afa4ff86b10d6a44cab
715823a7d7430641e9c1ef0b7843d52912998057
refs/heads/main
2023-06-08T18:38:10.137472
2021-07-05T07:18:13
2021-07-05T07:18:13
383,049,832
3
0
null
null
null
null
UTF-8
Python
false
false
491
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-03 12:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organization', '0005_auto_20180103_1229'), ] operations = [ migrations.Alte...
[ "54010254+lixiang007666@users.noreply.github.com" ]
54010254+lixiang007666@users.noreply.github.com
e847dc089e3fd9bc2c94e855bb092e51f5a04f37
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch116_2020_04_11_22_46_59_350080.py
2c8836c8db8d0acac69713fe4478eaa9ad8741de
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
def raiz_quadrada(numero): tempo = 0 i=0 x= True while i <= numero: numero -= i print('Valor do contador: ', i) if numero == 0: x = False i += 2 tempo += 1 return tempo
[ "you@example.com" ]
you@example.com
553e8441edbc1e04cfe0ade13fc8a1bc115d684d
f9308d5a8efe2dbb48e9cc87cd06405b60a9dc7b
/samples/python/apidocs/ee_number_evaluate.py
3c3571d53e90e1ce27a8b1c273fe768b16906b9c
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
google/earthengine-community
4e054b421f66f03507d58668084aee981062fc24
ce931040c518860f8788b4888c0acfdebd2952fc
refs/heads/master
2023-09-01T14:47:54.812703
2023-08-31T23:01:00
2023-08-31T23:01:39
200,732,820
428
552
Apache-2.0
2023-09-13T21:46:51
2019-08-05T21:42:11
Jupyter Notebook
UTF-8
Python
false
false
867
py
# Copyright 2023 The Google Earth Engine Community 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
1b013aa166f1371b7d9898014bc979a53684b15a
d2fdd6b10b0467913971d1408a9a4053f0be9ffb
/datahub/event/migrations/0005_change_additional_teams_to_teams.py
fb2c5da36113c704840a783c684e9a8dacc154d5
[]
no_license
jakub-kozlowski/data-hub-leeloo
fc5ecebb5e4d885c824fc7c85acad8837fcc5c76
7f033fcbcfb2f7c1c0e10bec51620742d3d929df
refs/heads/master
2020-05-18T13:29:14.145251
2019-04-30T12:12:50
2019-04-30T12:12:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-05 08:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('metadata', '0001_squashed_0011_add_default_id_for_metadata'), ('event', '0004_add_lo...
[ "reupen@users.noreply.github.com" ]
reupen@users.noreply.github.com
28d11949f58eec3d88f321522a815b96a8b4190c
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/concat82/846-tideGauge.py
a2bebdebb0de53238dd8f42d482a3f5cf77e5090
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
# -*- coding: utf-8 -*- """ Created on Tue May 13 10:02:00 2020 --------------------------------------------------------- This script concatenates yearly predictor files Browses the predictor folders for the chosen TG Concatenates the yearly csvs for the chosen predictor Saves the concatenated csv in a separate dire...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
81f9593756f83c2d1e406abd1caa333fc111e4b2
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/enums/types/callout_placeholder_field.py
585cd4f70a09173c1ceec379c83bb535e7267412
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
1,128
py
# -*- coding: utf-8 -*- # 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...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
7719719f82aff135688104cefe1e2eaefce194dc
d16365c668a224c33842336c14150e73195b741a
/prepare_static.py
42e90c0b41c17a2ab93d1e87bbabeabedc5b61e0
[]
no_license
imbolc/aiorest-angular-template
1216acec2f27f27718cd2079ca988ee009fd0b3c
fcbd76df749b3d8ba5bb68e133c2f6ef1f2ce982
refs/heads/master
2016-09-05T13:23:42.457819
2014-08-15T13:23:06
2014-08-15T13:23:06
22,904,545
2
0
null
null
null
null
UTF-8
Python
false
false
414
py
import os import lib.fs import lib.jinja def client_config(**config): content = lib.jinja.render_string('client_config.js', config=config) lib.fs.update_file('client/cfg.svc.js', content) def render_html(*templates): for template in templates: html = lib.jinja.render_string(template) fi...
[ "imbolc@imbolc.name" ]
imbolc@imbolc.name
1db72aecc7397a0ab3a2ca0d82d5d917e603ddab
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GL/VERSION/GL_1_3.py
1e3e5dde5adcef0cad7ac221ec74788633b4eb68
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
4,874
py
'''OpenGL extension VERSION.GL_1_3 This module customises the behaviour of the OpenGL.raw.GL.VERSION.GL_1_3 to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/VERSION/GL_1_3.txt ''' from OpenGL import platform, constant, arrays fro...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
8579eef1b2adf5d2e8f6693e97285defc8e14aa5
af43615e07f2bfaa908d6d96b4c90f98ce3ad47b
/tests/workflow_tests/test_nph_sms_workflows.py
51cf9bcf8c5427e10d1235dd2eee3de45d376c3a
[ "BSD-3-Clause" ]
permissive
all-of-us/raw-data-repository
11aa25385543f5f8ef706663b79ce181775c1c9a
461ae46aeda21d54de8a91aa5ef677676d5db541
refs/heads/devel
2023-09-01T06:47:25.710651
2023-09-01T01:18:56
2023-09-01T01:18:56
66,000,771
46
22
BSD-3-Clause
2023-09-14T21:06:38
2016-08-18T13:47:08
Python
UTF-8
Python
false
false
14,755
py
import csv import datetime import os from unittest import mock from rdr_service import api_util, clock from rdr_service.api_util import open_cloud_file from rdr_service.dao.study_nph_sms_dao import SmsSampleDao, SmsN0Dao, SmsN1Mc1Dao, SmsJobRunDao from rdr_service.data_gen.generators.nph import NphSmsDataGenerator fro...
[ "noreply@github.com" ]
all-of-us.noreply@github.com
aaa32c4b4bf2b4417290c5fef5fb8c6ec91f8ef8
2c45a9d0fe239c9bb5f7541a4d2cf4a30a084cfa
/week4/Lagrange_theorem.py
b7a3107db0db8f32ce0256b2a5f272b8795bba90
[ "MIT" ]
permissive
nkuraeva/python-exercises
22e71a94bbf45968978a7da9887b47adb4795fbd
45bfc179f7f3402ff32bae8e9828ec8fa24345c9
refs/heads/master
2022-07-04T11:02:37.839214
2020-05-15T09:44:31
2020-05-15T09:44:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
# Lagrange theorem realized through recursion import math n = int(input()) A = list() i = 1 N = n def Lagrange(n): global A global i if n != 0: if len(A) < 4: a = math.floor(n ** 0.5) A.append(a) n = n - a ** 2 Lagrange(n) elif len(A) == 4: ...
[ "57593042+NK-Natalia@users.noreply.github.com" ]
57593042+NK-Natalia@users.noreply.github.com
ef0290f1b16e487fc39ea435da566a1801d529f0
36568b9928866b0056e2ae8da9315cd96ae16215
/cs/lambda_cs/02_algorithms/Sprint-Challenge--Algorithms/recursive_count_th/count_th.py
7afae0c44cffc26bf5b2c1e80204b3dd9ff83dc2
[ "MIT" ]
permissive
tobias-fyi/vela
90de580a17114194273b9a655d3239c020ba8ada
b0b3d3c6dc3fa397c8c7a492098a02cf75e0ff82
refs/heads/master
2023-01-12T19:40:45.290898
2021-05-14T03:10:05
2021-05-14T03:10:05
218,124,737
0
0
MIT
2020-03-31T09:06:08
2019-10-28T19:07:01
null
UTF-8
Python
false
false
1,001
py
""" Algorithms :: Sprint Challenge - "th" counter Your function should take in a single parameter (a string `word`) Your function should return a count of how many occurences of ***"th"*** occur within `word`. Case matters. Your function must utilize recursion. It cannot contain any loops. """ def count_th(word: str...
[ "tobyreaper@gmail.com" ]
tobyreaper@gmail.com
d12ee7fe0dedb7375ae78740eb80181711065f15
97605f605a74403638cb27bffe5e9cf5b1054778
/Scripts/RoboFabUtils/RewriteDemoFont.py
feb49fec3499b6c1521d6921bd1aade48901da29
[ "BSD-3-Clause" ]
permissive
twardoch/robofab
9d2aa7d2acbf56b8acf7c67392d526236b0f1f18
2ea0b6201cf67be866f6b6afa9574ef7219fd140
refs/heads/master
2023-04-01T14:49:56.867518
2018-03-16T14:29:53
2018-03-16T14:29:53
111,296,889
0
0
NOASSERTION
2023-03-21T05:35:45
2017-11-19T13:18:44
Python
UTF-8
Python
false
false
883
py
"""Read all glyphs from the demo font, and write them out again. This is useful for testing round-tripping stability, but also to update the font when the GLIF format changes. The third application is to update the contents.plist file in case glyphs have been added or removed. """ import os from robofab.test.testSupp...
[ "erik@letterror.com" ]
erik@letterror.com
5ba496e32fdbc6c4b4610edc4a78da98a8eb1b1f
09884a4c4977c990b2e7ea7f4620e314545e36ed
/restful_api/views.py
b27c4de076b86c96f776adb9893bc3b7660a58d4
[]
no_license
wekesa254/restapi
560541a0ceecee258163c3ee5e755bdab45a3f01
0a205a805ef0274d10bc3446aaddd09c48642416
refs/heads/main
2023-04-23T03:07:40.607891
2020-12-31T12:36:44
2020-12-31T12:36:44
325,805,569
1
0
null
null
null
null
UTF-8
Python
false
false
4,389
py
from django.shortcuts import render from django.http import HttpResponse, JsonResponse from rest_framework.parsers import JSONParser from .models import Article from .serializer import ArticleSerializer from django.views.decorators.csrf import csrf_exempt from rest_framework.decorators import api_view from rest_framewo...
[ "you@example.com" ]
you@example.com
3b82b650a56b8bc97f07911a2f1f6c9201e30c06
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/host_non_compliant_event.py
bcd3e5b2e4e408cb1b71af9f3fe4e46993777594
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,151
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def HostNonCompliantEvent(vim, *args, **kwargs): '''This event records that host went out...
[ "jmb@pexip.com" ]
jmb@pexip.com
7b6e9561fccf55a66cdd9c8a054237a7b14cd261
916480ae24345193efa95df013f637e0a115653b
/web/transiq/authentication/apps.py
f0f8b19adf118e71a63997b3fa270f1a239e512d
[ "Apache-2.0" ]
permissive
manibhushan05/tms
50e289c670e1615a067c61a051c498cdc54958df
763fafb271ce07d13ac8ce575f2fee653cf39343
refs/heads/master
2022-12-11T07:59:30.297259
2021-09-08T03:24:59
2021-09-08T03:24:59
210,017,184
0
0
Apache-2.0
2022-12-08T02:35:01
2019-09-21T16:23:57
Python
UTF-8
Python
false
false
178
py
from __future__ import unicode_literals from django.apps import AppConfig class AuthenticationConfig(AppConfig): name = 'authentication' verbose_name = 'User Details'
[ "mani@myhost.local" ]
mani@myhost.local
59aeff83b336b1eb6e0ecce25913a67c185755e7
63fe5eeecde055889edfa507cb05c764b6be8850
/0x01-python-if_else_loops_functions/5-print_comb2.py
5b7bb86b030b2a6e7303b501ef3c6986bb0209d0
[]
no_license
Haroldov/holbertonschool-higher_level_programming
7eecac6788578f93a18304c0fc2cfd178ead530c
0014d908c3721e2e39df81cf574c1abdb7f350b0
refs/heads/master
2020-05-18T03:15:11.928936
2019-09-24T21:27:37
2019-09-24T21:27:37
184,139,468
0
1
null
null
null
null
UTF-8
Python
false
false
134
py
#!/usr/bin/python3 for number in range(99): print("{0:d}{1:d}".format(number // 10, number % 10), end=", ") else: print("99")
[ "hvelez020@gmail.com" ]
hvelez020@gmail.com
893a845132a26b1e042367356e6d31439a1d7460
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scattergl/error_x/_value.py
1b9c9ad0a5bf17fec2fdc88e3211fc1ec8218301
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
438
py
import _plotly_utils.basevalidators class ValueValidator(_plotly_utils.basevalidators.NumberValidator): def __init__(self, plotly_name="value", parent_name="scattergl.error_x", **kwargs): super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
8766d61bda6a97177133060928f81fe4e9aa75eb
3345eb032afa159a5b4b32fe0b62e4435dac523f
/dingtalk/api/rest/OapiTdpTaskBasicGetRequest.py
d504026bf9da2f8d6a6f4cfcac9e407be79d7d7a
[]
no_license
xududu/dingDingApi
ada6c17e5c6e25fd00bdc4b444171b99bc9ebad7
b1e7c384eb8fb7f79f6f5a6879faadfa95d3eda3
refs/heads/master
2023-08-31T03:04:48.438185
2021-10-13T08:52:13
2021-10-13T08:52:13
416,558,271
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
''' Created by auto_sdk on 2020.12.23 ''' from dingtalk.api.base import RestApi class OapiTdpTaskBasicGetRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.microapp_agent_id = None self.task_id = None def getHttpMethod(self): return 'POST' def getapiname(self): return 'dingtal...
[ "739893589@qq.com" ]
739893589@qq.com
1dc204af03cca177b18b27f7fad375159f8521b0
9d454ae0d5dd1d7e96e904ced80ca502019bb659
/1399_countLargestGroup.py
20a249d43c95eb87253ed83c0cc39fe45fc7065a
[]
no_license
zzz686970/leetcode-2018
dad2c3db3b6360662a90ea709e58d7facec5c797
16e4343922041929bc3021e152093425066620bb
refs/heads/master
2021-08-18T08:11:10.153394
2021-07-22T15:58:52
2021-07-22T15:58:52
135,581,395
3
0
null
null
null
null
UTF-8
Python
false
false
283
py
import collections def countLargestGroup(n): groups = collections.Counter(map(lambda x: sum(map(int, str(x))) , range(1, n+1))) # group = groups.most_common() # sum(v == group[0][1] for k, v in group.items()) mx = max(groups.values()) return sum(v==mx for k,v in groups.items())
[ "1564256031@qq.com" ]
1564256031@qq.com
969d2d268eb04f470de51f6e413458e740bc64f1
e60a342f322273d3db5f4ab66f0e1ffffe39de29
/parts/zodiac/pyramid/scaffolds/alchemy/+package+/scripts/__init__.py
774bbefde22575be7e57a51c39e70214b55acf92
[]
no_license
Xoting/GAExotZodiac
6b1b1f5356a4a4732da4c122db0f60b3f08ff6c1
f60b2b77b47f6181752a98399f6724b1cb47ddaf
refs/heads/master
2021-01-15T21:45:20.494358
2014-01-13T15:29:22
2014-01-13T15:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
/home/alex/myenv/zodiac/eggs/pyramid-1.4-py2.7.egg/pyramid/scaffolds/alchemy/+package+/scripts/__init__.py
[ "alex.palacioslopez@gmail.com" ]
alex.palacioslopez@gmail.com
24c98f313c93eba60b285dd1340305049a7de582
ae798812ea0af0c929d440209cbbcd3d7cb06677
/chapter7/default_param.py
5b48b438c120903e0e39d8825bcd0d8ed324fd74
[]
no_license
liuyuzhou/python3.7sourcecode
d791a0e3ac2c85fdcd39228e005eb82aa94fdd90
ce0f8c2fd6f565ad0d8e23d6181d504c9bc45d57
refs/heads/master
2023-02-20T07:17:21.961950
2022-04-20T11:09:37
2022-04-20T11:09:37
129,906,657
46
23
null
2023-02-15T21:47:05
2018-04-17T13:11:56
HTML
UTF-8
Python
false
false
207
py
#! /usr/bin/python3 # -*- coding:UTF-8 -*- def default_param(name, age=23): print(f'hi,我叫:{name}') print(f'我今年:{age}') return default_param('小萌') default_param('小萌',21)
[ "liuyuzhou@banggood.com" ]
liuyuzhou@banggood.com
873678f48e18cff674b7aa86d6f28e515d7ec13b
e7cffb86ed2787789fc79d41bc6d846a2ccf5cdc
/coursebuilder/common/users.py
5f2b24339e99110d89be5bacf5125bf322a61113
[ "CC-BY-3.0", "Apache-2.0" ]
permissive
shan/course-builder
ca4e5dda5ed902f6323aba1894eec77b298e8444
8bdf7ffab3b3b42a87df0ead691d134d7d9d6039
refs/heads/master
2021-01-10T04:16:08.725206
2015-06-02T23:29:45
2015-06-02T23:29:45
36,749,739
0
0
null
null
null
null
UTF-8
Python
false
false
7,188
py
# Copyright 2015 Google Inc. 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 applicable law or ...
[ "psimakov@google.com" ]
psimakov@google.com
8ee8f808a540ccc1ed0fdfdcec5d795124959a8a
7c444608e2d8f3bfb4afdb50ace9a6d0a2514a2d
/manage.py
e44879e18b3bf3285d5de372684cb157954f86f2
[]
no_license
lukeshiner/awenarum
8272153ad7c638c1d7dbee79584cfceabbcde9e2
3967eeb1a9b19b44c35b20522a9cd983bff0da48
refs/heads/master
2021-06-11T08:24:09.021318
2016-06-25T15:08:29
2016-06-25T15:08:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awenarum.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "luke@lukeshiner.com" ]
luke@lukeshiner.com
12249efa73a8459e8749edf9ef158c2b1e91c657
8a55f44391a843dcea11be1c8144aeb745137a4a
/flask/migrations/versions/c3832ddad82e_.py
66a982ff31b43bccf55b89ab3af42885faa5c8c0
[]
no_license
hvarg/dockerpedia
30e4592e56e16c9fa0af26fabd93dea5e2dce0fe
aa97fca3433254c17ae5ca859b4d6cc4aa527bb4
refs/heads/master
2020-03-16T10:05:01.542504
2018-08-17T04:38:27
2018-08-17T04:38:27
132,629,083
1
0
null
2018-08-16T20:00:14
2018-05-08T15:29:59
Python
UTF-8
Python
false
false
644
py
"""empty message Revision ID: c3832ddad82e Revises: 8fcba8c805b5 Create Date: 2018-05-18 20:40:33.137276 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c3832ddad82e' down_revision = '8fcba8c805b5' branch_labels = None depends_on = None def upgrade(): # ...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
789ac62cb74acb973ee1ad01b51b7711408b6d05
1fffa1e7101b7a4ecab83b8b0c1aa31683d0ff58
/Codeforces/135/a.py
8c2ae423100e5a913c56cc9cc66b4f94d6b776d3
[]
no_license
build3r/programming-contest
5c438a218bf45a5fa6725b77ff7bb4b1b9af6324
72a02e3498ecefcc731b97c7802a52f6e7c5a727
refs/heads/master
2021-01-17T21:39:47.527011
2012-11-27T21:49:46
2012-11-27T21:49:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
import sys from collections import defaultdict count = defaultdict(int) n = int(sys.stdin.readline()) s = sys.stdin.readline().strip() for c in s: count[c] += 1 def get_string(): l = len(s) result = "" for c, cnt in count.items(): if cnt % n == 0: result += c * (cnt / n) ...
[ "piotrek.kaleta@gmail.com" ]
piotrek.kaleta@gmail.com
32346b838414b1d18ebed7f85875a281ee0b5547
90dfd9eba0103cbd44eb9e4f20d4d498a2509b41
/appengine/django/db/models/base.py
cc7b37a61058f8b28cc03be4cbcb8a495a7a6881
[]
no_license
prestomation/SOSpy
8303cb6cb157a6d66a1b2d3797ea3a48a7d189ac
110310a21a2f3e17478910e7ab7bb05d3dad0419
refs/heads/master
2021-01-13T02:12:14.831471
2012-03-04T20:46:33
2012-03-04T20:46:33
3,180,852
0
4
null
null
null
null
UTF-8
Python
false
false
42,527
py
import types import sys from itertools import izip import django.db.models.manager # Imported to register signal handler. from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned, FieldError, ValidationError, NON_FIELD_ERRORS from django.core import validators from django.db.models.fie...
[ "prestomation@prestomation-ubuntu.(none)" ]
prestomation@prestomation-ubuntu.(none)
bab8b3f5b252dfb4004e1034138d0c7da3ebc3e6
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GL/VERSION/GL_2_1.py
35b75ae4c2761d5e1d4a874f678f523c4f565f27
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
1,728
py
'''OpenGL extension VERSION.GL_2_1 This module customises the behaviour of the OpenGL.raw.GL.VERSION.GL_2_1 to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/VERSION/GL_2_1.txt ''' from OpenGL import platform, constant, arrays fro...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
af1f4d9e4f2d85c464f41393a05e4ab5fed68075
8f7615603d4d923fd2cda41a2105b85b596ab4c5
/leetcode/medium/454-4Sum_II.py
330f23e54b8a49a9ce86d102548e87ea6ef79c94
[ "MIT" ]
permissive
shubhamoli/solutions
e7ec922047c16cfdc10070aa5b884a278b12d8c5
5a24fdeb6e5f43b821ef0510fe3b343ddda18f22
refs/heads/master
2021-01-05T04:13:35.302613
2020-06-27T18:28:18
2020-06-27T18:28:18
240,875,585
1
0
null
null
null
null
UTF-8
Python
false
false
1,448
py
""" Leetcode #454 """ from typing import List from collections import Counter class Solution: # O(N^3) def fourSumCount_BRUTE(self, A: List[int], B: List[int], C: List[int], D: List[int]) -> int: if len(A) == len(B) == len(C) == len(D) == 0: return D_set = set(D) co...
[ "oli.shubham@gmail.com" ]
oli.shubham@gmail.com
994d3f9a907bf4db60a28922a205ef2f1a7bba42
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_enveloping.py
94b99bf79cdce3a5b77edf3e8e01480f286ede1f
[ "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
249
py
from xai.brain.wordbase.verbs._envelop import _ENVELOP #calss header class _ENVELOPING(_ENVELOP, ): def __init__(self,): _ENVELOP.__init__(self) self.name = "ENVELOPING" self.specie = 'verbs' self.basic = "envelop" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5dbeca5ba7d5268b70f8aa69e17720e580dd0617
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/area/marker/_color.py
53ecd04a8a899c855410c8cae0ae52fde731a60c
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
549
py
import _plotly_utils.basevalidators class ColorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name='color', parent_name='area.marker', **kwargs ): super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
7b8b9ad85edd4342de8f1e262edeeef0e32455e2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_penning.py
259fe9dc0c1da9f35842839e10558f6a4d9d2a59
[ "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
223
py
from xai.brain.wordbase.nouns._pen import _PEN #calss header class _PENNING(_PEN, ): def __init__(self,): _PEN.__init__(self) self.name = "PENNING" self.specie = 'nouns' self.basic = "pen" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
189df213f7137dba4964df521bf8c2734b4b57ad
df96c7785e35877f5b0cb7b12b4efdb76ab31cf2
/app/public/__init__.py
85fa7913c780c0c7f0d513fffdf96f729c30cd49
[]
no_license
caseydm/photog
df03e5a0ea64adb97bcb162f5a0ae85c02f95edd
2585264eb3dff045f10556e96f8589ede8533b92
refs/heads/master
2021-01-10T13:31:04.389230
2016-04-29T02:24:56
2016-04-29T02:24:56
43,471,527
2
1
null
null
null
null
UTF-8
Python
false
false
88
py
from flask import Blueprint public = Blueprint('public', __name__) from . import views
[ "caseym@gmail.com" ]
caseym@gmail.com