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
547e6a3a571c9e2c706f867b40ebd19184612a68
4b64dd47fa9321b50875e96298a5f0766ffe97c9
/adventofcode/2020/day7/run.py
9046f4736d837a0d56f7717eedabdfc086788e75
[]
no_license
choupi/puzzle
2ce01aa85201660da41378c6df093036fa2d3a19
736964767717770fe786197aecdf7b170d421c8e
refs/heads/master
2021-07-23T13:17:45.086526
2021-07-20T11:06:28
2021-07-20T11:06:28
13,580,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
def dfs(bag): if bag == 'shiny gold': bag_result[bag] = 1 return 1 if bag in bag_result: return bag_result[bag] if bag not in bag_dict or not bag_dict[bag]: #print(bag) bag_result[bag] = 0 return 0 for b in bag_dict[bag]: if b in bag_result and bag...
[ "chromosome460@gmail.com" ]
chromosome460@gmail.com
ce12c3bac2fa1e50590db1267dd69ad54d66dae2
1bfca35cb83842000a3e37f81a69627535a12bf6
/examples/testWhile3.py
78d24d522215b5cd084dafeb3a2c0b6ab0f53bc6
[]
no_license
scar86/python_scripts
4a8a51f15d21f3b71fa8f0cd2131f75612c40613
686b1229c6736147b7cfcd2d0bf31e5f12e85e00
refs/heads/master
2021-01-11T00:28:31.989712
2016-11-04T18:52:21
2016-11-04T18:52:21
70,526,392
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
'''Test yourself again: what happens?''' nums = list() i = 4 while (i < 9): nums.append(i) i = i+2 print(nums)
[ "gogs@fake.local" ]
gogs@fake.local
29131f57a53f289fa1acbf453e12bd04d8254414
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03971/s324739743.py
cf8d957b84e9ee6c1e59d6f5affdedeba9c06742
[]
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
376
py
N, A, B = map(int, input().split()) S = input() ac_count = 0 ac_b_count = 0 for s in S: if ac_count < A + B: if s == 'a': print('Yes') ac_count += 1 elif s == 'b' and ac_b_count < B: print('Yes') ac_count += 1 ac_b_count += 1 els...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b592bfd26e518c213f887d4d3836f718c8a09754
4234dc363d0599e93abc1d9a401540ad67702b3b
/clients/client/python/test/test_ui_container.py
c3e92fd3828cd09328d2c9a7225f247880fd3b55
[ "Apache-2.0" ]
permissive
ninjayoto/sdk
8065d3f9e68d287fc57cc2ae6571434eaf013157
73823009a416905a4ca1f9543f1a94dd21e4e8da
refs/heads/master
2023-08-28T03:58:26.962617
2021-11-01T17:57:24
2021-11-01T17:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.21 Contact: support@ory.sh Generated by: htt...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
8771d96e92a6351aa1051fd247148c3df97ae325
f27996a45d59afbd9619f2cb92639e088e6bea3c
/python/geodjango/fishtracking_receivers/manage.py
5718fae7f83fc3162c599c88b338320c96e1adb6
[]
no_license
bopopescu/snippets
d7e689b5c74207f716b0f9c57a342b86662f39a5
1924cd8c7938dc32b6c1a50137cc7f053d4aafb2
refs/heads/master
2021-05-31T12:04:26.588555
2016-05-04T14:05:26
2016-05-04T14:05:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fishtracking_receivers.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "bart.aelterman@gmail.com" ]
bart.aelterman@gmail.com
e9ebc7aaca1f90e2f3771a9aa5a6dcfda029d314
762de1c66746267e05d53184d7854934616416ee
/tools/MolSurfGenService/MolSurfaceGen32/chimera/share/AddAttr/gui.py
6e64524fe36c39941dcf1ec1fd3c40af7584d9e7
[]
no_license
project-renard-survey/semanticscience
6e74f5d475cf0ebcd9bb7be6bb9522cf15ed8677
024890dba56c3e82ea2cf8c773965117f8cda339
refs/heads/master
2021-07-07T21:47:17.767414
2017-10-04T12:13:50
2017-10-04T12:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
# --- UCSF Chimera Copyright --- # Copyright (c) 2000 Regents of the University of California. # All rights reserved. This software provided pursuant to a # license agreement containing restrictions on its disclosure, # duplication and use. This notice must be embedded in or # attached to all copies, including partia...
[ "alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5" ]
alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5
b0ebcf408ec96db2f5de565245fba1fe6890b293
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/6e9ea2f74da3868e106375d8efe39de34707e2ee-<_check_result>-bug.py
7dbf8d31b95766ecf041fb78095a44679e970643
[]
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
3,414
py
def _check_result(x, fun, status, slack, con, lb, ub, tol, message): '\n Check the validity of the provided solution.\n\n A valid (optimal) solution satisfies all bounds, all slack variables are\n negative and all equality constraint residuals are strictly non-zero.\n Further, the lower-bounds, upper-...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
83865e2461c7fdd4cb466554d9f685060a332d9a
345b37bd2d062f4d020b3c974854e016e727afd7
/black.py
24c57ca4aee1d54ae862e8e879a4d27f9577f029
[ "MIT" ]
permissive
AfolabiOlaoluwa/black
04d458de4aa841e12bdc1e0b577fcee09392915e
4c086b137e8869166282765a8242808785605278
refs/heads/master
2021-04-06T02:26:23.245318
2018-03-14T21:38:33
2018-03-14T21:38:33
125,282,966
1
1
MIT
2018-03-14T22:43:03
2018-03-14T22:43:02
null
UTF-8
Python
false
false
47,591
py
#!/usr/bin/env python3 import asyncio from asyncio.base_events import BaseEventLoop from concurrent.futures import Executor, ProcessPoolExecutor from functools import partial import keyword import os from pathlib import Path import tokenize from typing import ( Dict, Generic, Iterable, Iterator, List, Optional, Set...
[ "lukasz@langa.pl" ]
lukasz@langa.pl
c2dc614ebb35d37b1f02d60a7a2b4379aa756714
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/eventgrid/v20200601/list_domain_shared_access_keys.py
1f55623514778ec7b92005163dffba4572484403
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
2,637
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 from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
782df01ee7388692ea2870c9a5f8b636234f32e9
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/isosurface/colorbar/title/font/_color.py
3d45a80274dd4a6a4d2f5e5279d0ca5accc9ccbe
[ "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
497
py
import _plotly_utils.basevalidators class ColorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name='color', parent_name='isosurface.colorbar.title.font', **kwargs ): super(ColorValidator, self).__init__( plotly_name=plotl...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
1e877888ec765a400293dfc038262acb74aba999
3baad9ca9756a8dbe6463df6e7f535aa2e0bffa3
/{{ cookiecutter.site_name }}/{{ cookiecutter.main_module }}.py
31d3b2b7913d472088c2dc695f0841b9d91b3e82
[ "MIT" ]
permissive
brettcannon/python-azure-web-app-cookiecutter
7fcaece747e7cef6d584c236aad4b842b63fa2f0
e7a3fbc3a724b7bbde43eb5904881d2e0cc07c42
refs/heads/master
2023-07-12T07:10:22.594048
2017-02-27T20:00:29
2017-02-27T20:00:29
63,901,465
5
2
null
null
null
null
UTF-8
Python
false
false
1,264
py
{% if cookiecutter.site_type == "socket" %} """An example HTTP server using sockets on Azure Web Apps.""" try: from http.server import HTTPServer, BaseHTTPRequestHandler except ImportError: from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler import os import sys class PythonVersionHandler(BaseHTTPRe...
[ "brett@python.org" ]
brett@python.org
8cd013a5cfbea88a36682c33babb0f3b7dae5129
b0c39c21ea63904d3e3c610a06c1e11b0a0c80d9
/setup.py
3998246ca1e02d4c827786524e5a89b7b902ab42
[ "Apache-2.0" ]
permissive
kevenli/FeedIn
d9893d6f7c29d818460da875d5abcb5b9f25b958
9b45ba9090d279834ac59887a24154e6ac7f4593
refs/heads/master
2021-01-23T00:48:30.404336
2015-05-26T06:33:05
2015-05-26T06:33:05
27,056,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
from distutils.core import setup from setuptools import find_packages setup(name='FeedIn', version='0.1', author='Keven Li', author_email='kevenli@users.noreply.github.com', url='https://github.com/kevenli/FeedIn', download_url='https://github.com/kevenli/FeedIn', description='Web...
[ "pbleester@gmail.com" ]
pbleester@gmail.com
a89d0a7db49b9c97787f5713a000415bb2870f84
a97db7d2f2e6de010db9bb70e4f85b76637ccfe6
/leetcode/743-Network-Delay-Time.py
89a0689140f2f23f05b225a027399d92382c2f3c
[]
no_license
dongxiaohe/Algorithm-DataStructure
34547ea0d474464676ffffadda26a92c50bff29f
a9881ac5b35642760ae78233973b1608686730d0
refs/heads/master
2020-05-24T20:53:45.689748
2019-07-19T03:46:35
2019-07-19T03:46:35
187,463,938
0
1
null
null
null
null
UTF-8
Python
false
false
557
py
class Solution(object): def networkDelayTime(self, times, N, K): routes, seen, minHeap = collections.defaultdict(list), {}, [] for u, v, w in times: routes[u].append([v, w]) heapq.heappush(minHeap, [0, K]) while minHeap: time, tmpNode = heapq.heappop(minHeap) ...
[ "ddong@zendesk.com" ]
ddong@zendesk.com
37c24b3960134c61b5a8710012b9ad3ebf8a62fe
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Python/Scripts/Auto py to exe/build/lib/auto_py_to_exe/dialogs.py
08ced7a66201b6e9c57607cc3cabb9a7329be462
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:17632a1084b74f79b082631a021c864a01bee63a94b1fb5768945e30f05a405b size 2899
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
7461b94a60fcbe15ed116a2853262476e06aaafd
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/_tensorflow/linear/linear.py
70f197e8d2ad5074603c813b803127c0355fe803
[ "MIT" ]
permissive
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
1,092
py
# -*- coding: utf-8 -*- import tensorflow as tf class Linear(tf.keras.Model): def __init__(self): super().__init__() self.dense = tf.keras.layers.Dense( units=1, activation=None, kernel_initializer=tf.zeros_initializer(), bias_initializer=tf.zeros_in...
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au
f68f3963d1b07205e946987a8cdae6983f09b17b
b32fa26f60e71311a51055122a21fc908d4e9566
/0x04-python-more_data_structures/3-common_elements.py
4d0ebf389400a9e00ea67c424e45d465d8bc12a8
[]
no_license
felipeserna/holbertonschool-higher_level_programming
3ac4fdc91bf70477285994a1d41a72cd6987a277
9529bcdd50834569e25f1e0407922b3703807d45
refs/heads/master
2023-06-30T04:34:49.806549
2021-08-04T02:42:35
2021-08-04T02:42:35
259,475,665
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
#!/usr/bin/python3 def common_elements(set_1, set_2): common = set_1 & set_2 return(common)
[ "feserna86@gmail.com" ]
feserna86@gmail.com
237b5db6e779a7de6c8b385bcac3bf982604e07e
931aa9c6a44f86e86440c17de62801b26b66fce8
/constance/LV/getLineUnbalanceAndLosses.py
f92c4871027b8e1d87960321b14354a1e8ea4bb7
[]
no_license
Constancellc/epg-psopt
3f1b4a9f9dcaabacf0c7d2a5dbc10947ac0e0510
59bdc7951bbbc850e63e813ee635474012a873a4
refs/heads/master
2021-06-08T11:33:57.467689
2020-04-01T13:19:18
2020-04-01T13:19:18
96,895,185
1
0
null
null
null
null
UTF-8
Python
false
false
7,785
py
import csv import random import copy import numpy as np import matplotlib.pyplot as plt from lv_optimization_new import LVTestFeeder import pickle #outfile = '../../../Documents/simulation_results/LV/voltages.csv' stem = '../../../Documents/ccModels/eulv/' alpha = 0.328684513701 g = open(stem+'lnsYprims.pkl','rb') da...
[ "constancellc@gmail.com" ]
constancellc@gmail.com
9c541ff8948b8d049f61e4e3e61cfa30a9bb0056
33170e7fc26b6af2ab61b67aa520c307bbd0e118
/py/trash/947_predict_0228-4.py
09ef21e955ea5f5f8ebc8ba007660cc1fa85d498
[ "MIT" ]
permissive
alaskaw/Microsoft-Malware-Prediction
26e56adb803184328d1a8f5a3423d5edda7fc400
103cbf7c4fc98ae584e1aa9d1c220bb79ddbbd80
refs/heads/master
2020-04-28T21:22:06.403542
2019-03-14T04:36:01
2019-03-14T04:36:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,407
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 28 16:52:33 2019 @author: kazuki.onodera """ import numpy as np import pandas as pd import os, gc from glob import glob from tqdm import tqdm import sys sys.path.append(f'/home/{os.environ.get("USER")}/PythonLibrary') import lgbextension as ex im...
[ "luvsic02@gmail.com" ]
luvsic02@gmail.com
ef3126368dbc5fb7408a2d35f7fc575b6e8fb814
5aee5e9274aad752f4fc1940030e9844ef8be17d
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPu7CaloJetSequence_pPb_jec_cff.py
d5e8f0b11759a74be3f22036f437b49b4dd08852
[]
no_license
jiansunpurdue/5316_dmesonreco_hiforest
1fb65af11ea673646efe1b25bd49e88de9bf3b44
a02224ad63160d91aab00ed2f92d60a52f0fd348
refs/heads/master
2021-01-22T02:53:43.471273
2014-04-26T16:10:12
2014-04-26T16:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,574
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * akPu7Calomatch = patJetGenJetMatch.clone( src = cms.InputTag("akPu7CaloJets"), matched = cms.InputTag("ak7HiGenJetsCleaned") ) akPu7C...
[ "sun229@purdue.edu" ]
sun229@purdue.edu
bc4dde6205e2dc08c3f1b2c7b8d97523b58c76b8
8b00e2b136636841b38eb182196e56f4721a1e4c
/trio/_core/_exceptions.py
45f21d389ae8d6f15662d6ff796adfea373bad80
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
xyicheng/trio
77c8c1e08e3aa4effe8cf04e879720ccfcdb7d33
fa091e2e91d196c2a57b122589a166949ea03103
refs/heads/master
2021-01-23T00:05:59.618483
2017-03-16T04:25:05
2017-03-16T04:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
import attr # Re-exported __all__ = [ "TrioInternalError", "RunFinishedError", "WouldBlock", "Cancelled", "PartialResult", ] class TrioInternalError(Exception): """Raised by :func:`run` if we encounter a bug in trio, or (possibly) a misuse of one of the low-level :mod:`trio.hazmat` APIs. This sho...
[ "njs@pobox.com" ]
njs@pobox.com
f9c568a46854f97c14938d17f5845aa1f9cf72f9
915ea8bcabf4da0833d241050ef226100f7bd233
/SDKs/Python/test/test_contract_item.py
d3f8d89ca8fd4f3b3678876eb22038d67bad2eb9
[ "BSD-2-Clause" ]
permissive
parserrr/API-Examples
03c3855e2aea8588330ba6a42d48a71eb4599616
0af039afc104316f1722ee2ec6d2881abd3fbc07
refs/heads/master
2020-07-10T22:17:24.906233
2019-08-26T03:06:21
2019-08-26T03:06:21
204,382,917
0
0
null
2019-08-26T02:48:16
2019-08-26T02:48:15
null
UTF-8
Python
false
false
922
py
# coding: utf-8 """ MINDBODY Public API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import impo...
[ "christopher.volpi@mindbodyonline.com" ]
christopher.volpi@mindbodyonline.com
537ecd9ff7dea52514e94a67ec8488f4a88abd28
10f1f4ce92c83d34de1531e8e891f2a074b3fefd
/graph/gcn_utils/feeder.py
9b012bf3355a26228cac9c53bbd94c997bfe56d8
[ "MIT" ]
permissive
sourabhyadav/test_track
d88c4d35753d2b21e3881fc10233bf7bbb1e2cec
d2b4813aaf45dd35db5de3036eda114ef14d5022
refs/heads/master
2021-01-06T12:38:56.883549
2020-02-05T07:08:46
2020-02-05T07:08:46
241,328,706
1
0
MIT
2020-02-18T10:06:14
2020-02-18T10:06:13
null
UTF-8
Python
false
false
2,751
py
''' Author: Guanghan Ning E-mail: guanghan.ning@jd.com October 24th, 2018 Feeder of Siamese Graph Convolutional Networks for Pose Tracking Code partially borrowed from: https://github.com/yysijie/st-gcn/blob/master/feeder/feeder.py ''' # sys import os import sys import numpy as np import random...
[ "chenhaomingbob@163.com" ]
chenhaomingbob@163.com
05a2d22595769aabb8ba1288219cbc5896aff69b
837fcd0d7e40de15f52c73054709bd40264273d2
/practices_loop-master/sum_user_quit.py
7d4bd070a2e7a364a41b6719421b8247f5090e2f
[]
no_license
NEHAISRANI/Python_Programs
dee9e05ac174a4fd4dd3ae5e96079e10205e18f9
aa108a56a0b357ca43129e59377ac35609919667
refs/heads/master
2020-11-25T07:20:00.484973
2020-03-08T12:17:39
2020-03-08T12:17:39
228,554,399
0
1
null
2020-10-01T06:41:20
2019-12-17T07:04:31
Python
UTF-8
Python
false
false
333
py
#In this program if user input 4 then sum all numbers from starting to ending. if user input quit then program exit" user=raw_input("enter your number") index=1 var1=0 while index<=user: if user=="quit": break user=int(user) if index<=user: var1=var1+index index=index+1 if var1!=0: ...
[ "nehai18@navgurukul.org" ]
nehai18@navgurukul.org
ae4c1c1b0df6cf9a31d0f6d154fe645dd8e7fe8e
fd5c2d6e8a334977cda58d4513eb3385b431a13a
/extract_census_doc.py
a1445f608f735d677f398b8b2b123c44cf91d16e
[ "MIT" ]
permissive
censusreporter/census-api
817c616b06f6b1c70c7b3737f82f45a80544c44d
c8d2c04c7be19cdee1000001772adda541710a80
refs/heads/master
2023-07-28T06:17:26.572796
2023-07-05T20:37:03
2023-07-05T20:37:03
9,879,953
146
52
MIT
2022-07-11T07:16:19
2013-05-06T05:24:57
Python
UTF-8
Python
false
false
7,414
py
#!/bin/python import psycopg2 import psycopg2.extras import json from collections import OrderedDict conn = psycopg2.connect(database='postgres') cur = conn.cursor(cursor_factory=psycopg2.extras.RealDictCursor) state = 'IL' logrecno = '89' # Evanston city, IL def sum(data, *columns): def reduce_fn(x, y): ...
[ "ian.dees@gmail.com" ]
ian.dees@gmail.com
bc23b9d69210017a402610181ac43e53d89e6aa2
a5a489f8a268e3d13286fa7ca000d3f26d10d263
/Basic_Stat/hypothesis_test.py
812bfd5a97f557194fda9a43b59d377e9ed321c2
[]
no_license
jusui/Data_Science
cd36e1b9d675be7b5deb98a6034ce57339f09b41
7d2ffea15532e35ea64597b3d6f53752a1d4322e
refs/heads/master
2021-09-24T06:38:55.588645
2018-10-04T14:50:08
2018-10-04T14:50:08
110,791,573
0
0
null
2018-08-04T15:44:22
2017-11-15T06:13:28
Jupyter Notebook
UTF-8
Python
false
false
33
py
# coding:utf-8 import numpy as np
[ "junya.usui.0714@gmail.com" ]
junya.usui.0714@gmail.com
e90dcd78bc4629be7d9cf48e3f2d6f93f21ae201
cdcbe6ea97dd870357998b17f0cdedec0636781d
/extra_apps/xadmin/views/dashboard.py
a6b43c1b335ff64a990a360ffc76b0dbe1ea8264
[]
no_license
supermanfeng/eduplatform
8815fad056ac9d1206f219220453f9f7e7382128
a4288c7af7f4dd980a3f4f2e337899cdf9d15b43
refs/heads/master
2022-12-09T23:04:57.239321
2018-04-10T11:11:11
2018-04-10T11:11:11
128,721,691
1
0
null
2022-12-08T00:51:44
2018-04-09T05:57:55
Python
UTF-8
Python
false
false
23,644
py
from django import forms from django.apps import apps from django.core.exceptions import PermissionDenied from django.core.urlresolvers import reverse, NoReverseMatch from django.template.context_processors import csrf from django.db.models.base import ModelBase from django.forms.forms import DeclarativeFieldsMetaclass...
[ "2252506855@qq.com" ]
2252506855@qq.com
470cfb5e9ae74a30f9f96b586becfb3043effda3
233f97c6f360d478bf975016dd9e9c2be4a64adb
/guvi_4_3_8.py
5474fe795104649ed224413b4b7e015287da17e6
[]
no_license
unknownboyy/GUVI
3dbd1bb2bc6b3db52f5f79491accd6c56a2dec45
d757dd473c4f5eef526a516cf64a1757eb235869
refs/heads/master
2020-03-27T00:07:12.449280
2019-03-19T12:57:03
2019-03-19T12:57:03
145,595,379
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
print("guvi_4_3_8.py")
[ "ankitagrawal11b@gmail.com" ]
ankitagrawal11b@gmail.com
5d565e7d89b2cf7e44965b839844bcc6a47e0e56
ecbbc5cf8b49de00dd956386ea7cf31951aecbf8
/src/KalmanFilter.py
d0005ea5d794108215ebbe567191ff497c0fe45c
[]
no_license
connorlee77/ardrone_stateestimation
9e49339c6d916a146a709acc4adf947453c9d626
253722cf1940fd368bc10dcd90be0c0113bb4339
refs/heads/master
2021-01-10T13:13:57.845898
2016-03-18T08:53:18
2016-03-18T08:53:18
53,226,979
0
1
null
null
null
null
UTF-8
Python
false
false
1,290
py
import numpy as np import matplotlib.pyplot as plt import rospy class KalmanFilter: def __init__(self, A, P, R, Q, H, B, dimension): self.A = A self.P = P self.x_k = 0 self.kalmanGain = 0 self.R = R #constant self.Q = Q #constant self.H = H self.B = B self.dimensions = dimension def predictState...
[ "connorlee77@gmail.com" ]
connorlee77@gmail.com
aa0a9e73022a1268c8dc56985d5d5848748aa64e
3fe272eea1c91cc5719704265eab49534176ff0d
/scripts/item/consume_2439898.py
fdc636b193089e8c5f0e75eb0dac9c8a17c50c85
[ "MIT" ]
permissive
Bratah123/v203.4
e72be4843828def05592298df44b081515b7ca68
9cd3f31fb2ef251de2c5968c75aeebae9c66d37a
refs/heads/master
2023-02-15T06:15:51.770849
2021-01-06T05:45:59
2021-01-06T05:45:59
316,366,462
1
0
MIT
2020-12-18T17:01:25
2020-11-27T00:50:26
Java
UTF-8
Python
false
false
217
py
# Created by MechAviv # Valentine Damage Skin | (2439898) if sm.addDamageSkin(2439898): sm.chat("'Valentine Damage Skin' Damage Skin has been added to your account's damage skin collection.") sm.consumeItem()
[ "pokesmurfuwu@gmail.com" ]
pokesmurfuwu@gmail.com
acc0cbbbbef590f361a5a6744807f18458d0e078
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/130/usersdata/228/34476/submittedfiles/al8.py
99d23561646b83280774cd80f4ab4ad83803ccaf
[]
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
141
py
# -*- coding: utf-8 -*- n=int(input('digite um valor:') nfat=1 for i in range(2,n+1): nfat=nfat+i print(nfat)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8e9f1d89a0a10175a73f79346baaea3a012c4479
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/algorithms/nas/modnas/estim/dist_backend/base.py
1725fd222057fa4b91024747947592087e159828
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
1,712
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
682039f30aaa220caa90f937bbaf5bd7075dd986
fad752f7e4ae9c9fae7a472634a712249fb6f83f
/sato/cli.py
9697a09e053b96555f2b63cdabb75bc724fcc61c
[ "Apache-2.0" ]
permissive
VIDA-NYU/sato
895da0de833681335ec5122c4487555d2285f351
8fb51787b36114df13f54c1acd11df12a66ad3e4
refs/heads/master
2021-07-13T16:55:53.621521
2020-11-26T01:01:07
2020-11-26T01:01:07
225,955,500
0
0
Apache-2.0
2019-12-04T20:56:16
2019-12-04T20:56:15
null
UTF-8
Python
false
false
2,252
py
import click import pandas as pd from sato.predict import evaluate @click.command('predict') @click.option( '-n', '--count', default=1000, help='Sample size' ) @click.argument( 'src', nargs=-1, type=click.Path(file_okay=True, dir_okay=False, exists=True) ) def run_predict(count, src): """...
[ "heiko.muller@gmail.com" ]
heiko.muller@gmail.com
f531d8e47a46f16095ff0a4522cfedaf5eca3518
b8688a6c1824335808182768c3349624722abba6
/uamqp/constants.py
987bcaef27fd21d840f5b9e8ca36ca97fd73228c
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
gdooper/azure-uamqp-python
65d64e19190921c16cc65947ddcb01f686cd4277
8a71c86c7598b439afea28f216a97437b3ebaaed
refs/heads/master
2020-03-30T00:33:55.710726
2018-05-29T16:06:34
2018-05-29T16:06:34
150,530,862
0
0
MIT
2018-09-27T04:57:31
2018-09-27T04:57:31
null
UTF-8
Python
false
false
3,876
py
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- from enum i...
[ "antisch@microsoft.com" ]
antisch@microsoft.com
b61e50e76ad27bc63647d402ed7b18c3b7bc2aae
9d1701a88644663277342f3a12d9795cd55a259c
/CSC148/07 Sorting/runtime.py
6d1020dee852cd090d7eccdd33874dd33c64eccf
[]
no_license
xxcocoymlxx/Study-Notes
cb05c0e438b0c47b069d6a4c30dd13ab97e4ee6d
c7437d387dc2b9a8039c60d8786373899c2e28bd
refs/heads/master
2023-01-13T06:09:11.005038
2020-05-19T19:37:45
2020-05-19T19:37:45
252,774,764
2
0
null
2022-12-22T15:29:26
2020-04-03T15:44:44
Jupyter Notebook
UTF-8
Python
false
false
3,989
py
VIDEO: https://www.youtube.com/watch?v=6Ol2JbwoJp0 NOTES ON THE PDF: def max_segment_sum(L): '''(list of int) -> int Return maximum segment sum of L. ''' max_so_far = 0 for lower in range(len(L)): for upper in range(lower, len(L)): sum = 0 for i in range(lower, upper + 1): sum = sum +...
[ "coco.yang@mail.utoronto.ca" ]
coco.yang@mail.utoronto.ca
dd7a3ac6d291dc2db98817190f8813c458576953
66dd570bf5945dcbd183ed3c0cf897c0359cbccd
/python/python语法/pyexercise/Exercise03_09.py
4560a8df9de30b98aa5d9640c98b118b4dc4a3be
[]
no_license
SamJ2018/LeetCode
302cc97626220521c8847d30b99858e63fa509f3
784bd0b1491050bbd80f5a0e2420467b63152d8f
refs/heads/master
2021-06-19T10:30:37.381542
2021-02-06T16:15:01
2021-02-06T16:15:01
178,962,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# Obtain input name = input("Enter employee's name: ") hours = eval(input("Enter number of hours worked in a week: ")) payRate = eval(input("Enter hourly pay rate: ")) fedTaxWithholdingRate = eval(input("Enter federal tax withholding rate: ")) stateTaxWithholdingRate = eval(input("Enter state tax withholding rate: "))...
[ "juksam@centos7.localdomain" ]
juksam@centos7.localdomain
e3ede7d4acdd774e7b8621e60be2e1b12dc0f0e1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02845/s251805975.py
a8e1b9dedbc87deeb6d7dd5ca8fac2fa7aa26e80
[]
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
434
py
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): n = int(readline()) a = list(map(int, readline().split())) cnt = [0] * 3 ans = 1 for x in a: p = cnt.count(x) if p == 0: return print(0) a...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d41c69e29c794cbabb1c2e1f208a21b4bf0f2f48
0e8b6f94467c25dd2440f7e2ea1519244e689620
/MarlinJobs/CalibrationConfigFiles/Stage27Config_5x5_30x30.py
3435a6f9a3f6a73455fa0470d23dcbb790425599
[]
no_license
StevenGreen1/HighEnergyPhotonAnalysis
97a661eaca2efd00472f1969855c724c9d505369
8a82ac57f56aad5bdbe99d4a5afb771592bc1725
refs/heads/master
2021-01-10T14:08:50.550184
2015-10-12T12:43:47
2015-10-12T12:43:47
43,491,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Calibration config file for testing # Digitisation Constants - ECal CalibrECal = 42.4326603502 # Digitisation Constants ILDCaloDigi - HCal CalibrHCalBarrel = 49.057884929 CalibrHCalEndcap = 54.1136311832 CalibrHCalOther = 29.2180288685 # Digitisation Constants NewLDCCaloDigi - HCal CalibrHCal = -1 # Digitisation ...
[ "sg1sg2sg3@hotmail.co.uk" ]
sg1sg2sg3@hotmail.co.uk
8eff0f0a7ccda0cc6e4779d87cd907c9f72549f8
f04fb8bb48e38f14a25f1efec4d30be20d62388c
/哈希表/204. 计数质数.py
2bd3e79467b7525a3d7e1a7e82f4074be703fff9
[]
no_license
SimmonsChen/LeetCode
d8ef5a8e29f770da1e97d295d7123780dd37e914
690b685048c8e89d26047b6bc48b5f9af7d59cbb
refs/heads/master
2023-09-03T01:16:52.828520
2021-11-19T06:37:19
2021-11-19T06:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
""" 统计所有小于非负整数 n 的质数的数量。 示例 1: 输入:n = 10 输出:4 解释:小于 10 的质数一共有 4 个, 它们是 2, 3, 5, 7 。 """ from math import sqrt class Solution(object): # 题意是统计[2, n] 中质数的个数 def countPrimes(self, n): """ :type n: int :rtype: int """ if n < 2: return 0 # 初始化标记数组,假设都...
[ "15097686925@163.com" ]
15097686925@163.com
6ffe2a06880751514bb23ef6b2258b10f8257c43
14d7f5f83b6f84871ff6ebfa0af4c17b7115a33f
/remote_sensing/MODIS_data_test_v3.py
1f15cb363abab3ce4c3e8caedc88d88198bb5e8d
[]
no_license
tonychangmsu/Python_Scripts
8ca7bc841c94dcab36743bce190357ac2b1698a5
036f498b1fc68953d90aac15f0a5ea2f2f72423b
refs/heads/master
2016-09-11T14:32:17.133399
2016-03-28T16:34:40
2016-03-28T16:34:40
10,370,475
2
0
null
null
null
null
UTF-8
Python
false
false
3,468
py
#Title: MODIS_data_test.py #Author: Tony Chang #Abstract: Test for opening MODIS data and examining the various bands #Creation Date: 04/14/2015 #Modified Dates: 01/20/2016, 01/26/2016, 01/28/2016, 01/29/2016, 02/01/2016 #local directory : K:\\NASA_data\\scripts import numpy as np import matplotlib.pyplot as plt impo...
[ "tony.chang@msu.montana.edu" ]
tony.chang@msu.montana.edu
6c88d27d3b37ee3630d08d1654d8b7b2c1a7f640
dce7ca1ebab403bf7c23b77368ee26a2dd4475b6
/tests/test_cos.py
cd57475224ee19e74c5d9fa421f172e8a7f9fb4b
[]
no_license
qcymkxyc/Graduate
3b7e89b3f44141d9fd011c15690f902674a9e979
2afedacaaa3a0f4d9bbc13596d967ec8808d43d6
refs/heads/master
2022-12-10T12:32:37.326653
2018-11-10T07:49:13
2018-11-10T07:49:16
148,103,320
0
0
null
2022-12-08T01:14:09
2018-09-10T05:25:40
Python
UTF-8
Python
false
false
317
py
import unittest from app.util import cos class COSTestCase(unittest.TestCase): """ 腾讯云测试 """ def test_cos_upload(self): """ 腾讯云cos上传测试 """ cos.upload_binary_file(b"abcde","login_success.txt") if __name__ == '__main__': unittest.main()
[ "qcymkxyc@163.com" ]
qcymkxyc@163.com
d20be627a406e2379a3cd53a20a70ac4b5852db4
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/284-tideGauge.py
255f5e1573a5a697bd3fef71c7b6f3022772b778
[]
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,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
5833e03ed33a8ec7549369840b1fa07513ad8d85
4cb40963ebc95a9e4cdd5725ac4ae882594a363d
/tests/influence/_core/test_tracin_self_influence.py
0f327ce3fbc6230024bf4d2190c00f2750105f8c
[ "BSD-3-Clause" ]
permissive
NarineK/captum-1
59592277aed8c97dd8effed4af953676381d50c8
a08883f1ba3abc96ace06b11883893419b187d09
refs/heads/master
2022-12-23T22:39:50.502939
2022-08-01T16:30:43
2022-08-01T16:30:43
215,140,394
1
0
null
2019-10-14T20:36:19
2019-10-14T20:36:19
null
UTF-8
Python
false
false
5,906
py
import tempfile from typing import Callable import torch import torch.nn as nn from captum.influence._core.tracincp import TracInCP from captum.influence._core.tracincp_fast_rand_proj import TracInCPFast from parameterized import parameterized from tests.helpers.basic import assertTensorAlmostEqual, BaseTest from test...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
c6ae34b2b23ff9afcccd235018498cdb235efb99
6f0e74cdc81f78ffc5dbc1b2db1cef8cbec950c4
/aws_interface/cloud/logic/delete_function_test.py
7a62e2c7c9241aa10726b393c1fa616aa7aa066f
[ "Apache-2.0" ]
permissive
hubaimaster/aws-interface
125b3a362582b004a16ccd5743d7bdff69777db5
5823a4b45ffb3f7b59567057855ef7b5c4c4308d
refs/heads/master
2023-01-19T15:43:38.352149
2023-01-12T01:38:00
2023-01-12T01:38:00
149,847,881
57
10
Apache-2.0
2023-01-12T01:39:49
2018-09-22T05:17:43
JavaScript
UTF-8
Python
false
false
742
py
from cloud.permission import Permission, NeedPermission # Define the input output format of the function. # This information is used when creating the *SDK*. info = { 'input_format': { 'test_name': 'str', }, 'output_format': { 'success': 'bool', } } @NeedPermission(Permission.Run.Log...
[ "hubaimaster@gmail.com" ]
hubaimaster@gmail.com
6291a6042041500296cbde2708740f0bf984e374
0bb3bc8eea74d316377bb1f88a8600162d83d98a
/test_demo/dianping_food_top100.py
ddf32f2ecd1973f9a3ea2ec62336876b0d284b9a
[]
no_license
WangYongjun1990/spider
10a1f03c26a083b8a1b5e25a9180f69d50994d73
f13d756790a19d1465624f6c8b1f0ecb87870f51
refs/heads/master
2020-03-08T09:16:08.748865
2018-04-16T01:54:26
2018-04-16T01:54:26
128,042,969
1
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# -*- coding:utf-8 -*- """ File Name: `test_dianping_top100`.py Version: Description: 爬取南京评价最高的100家餐厅信息,对应网页 http://www.dianping.com/shoplist/search/5_10_0_score Author: wangyongjun Date: 2018/4/13 11:45 """ import requests headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (...
[ "yongjun.wang@mi-me.com" ]
yongjun.wang@mi-me.com
4a1fc4dc9297f3161f4f30e0492a815011a04b8c
747012e5b750cdc67748798c09b3ce1eb819568f
/strategy/migrations/0002_auto_20170703_1645.py
3a98d12dd70048ac2070500f701c0c01dc044e67
[ "MIT" ]
permissive
moshthepitt/probsc
da30c3829d5b8bf42804950320f006c78d2b94aa
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
refs/heads/master
2020-06-06T11:46:05.573933
2018-01-10T20:42:51
2018-01-10T20:42:51
192,730,789
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-07-03 13:45 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): dependencies = [ ('strategy', '0001_initial'), ] operation...
[ "kelvin@jayanoris.com" ]
kelvin@jayanoris.com
0f4787e023609643731531af8d73e021450dd660
ca4e57a6861f1e24d1521bf5b775aee3b6db7725
/bitonic.py
47601639559708727cbcf4862e71d39937310f86
[]
no_license
mathi98/madhu
e296a477f3684a596c74a228c9ce867f1f60c3f8
cae2adb19ccf7c7f12212d694cd0d09614cd5d81
refs/heads/master
2020-05-23T01:06:54.830389
2019-06-28T14:13:07
2019-06-28T14:13:07
186,582,298
0
2
null
null
null
null
UTF-8
Python
false
false
65
py
k=int(input()) a=[int(x) for x in input().split()] print(max(a))
[ "noreply@github.com" ]
mathi98.noreply@github.com
9fb6a68ceb3cf80621af5ba80af61427c4540b14
e1450725c9637e15709064aaa48bc4e053a213d5
/tests/test_funcptrdecl.py
a4d3a4d89874a4fe3280f0584e431cc6717bed5d
[]
no_license
gotoc/PyCParser-1
9d4e4c40a8c24923a689b1a0e3ebd4f07528d75b
b00cdd67a688792c0bc49b383a36199c50cc5cf2
refs/heads/master
2021-01-20T10:54:25.196102
2014-09-11T12:27:29
2014-09-11T12:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import sys sys.path += [".."] from pprint import pprint from cparser import * import test testcode = """ int16_t (*f)(); int16_t (*g)(char a, void*); int (*h); // ISO/IEC 9899:TC3 : C99 standard int fx(void), *fip(), (*pfi)(); // example 1, page 120 int (*apfi[3])(int *x, int *y); // example 2, page 120 int (...
[ "albert.zeyer@rwth-aachen.de" ]
albert.zeyer@rwth-aachen.de
a25245a35cacaea636067ccaec32d3b7094f710e
e5c9fc4dc73536e75cf4ab119bbc642c28d44591
/src/leetcodepython/math/hamming_distance_461.py
6ee39b31c590979bec6f64edd79227ce8fd40f94
[ "MIT" ]
permissive
zhangyu345293721/leetcode
0a22034ac313e3c09e8defd2d351257ec9f285d0
50f35eef6a0ad63173efed10df3c835b1dceaa3f
refs/heads/master
2023-09-01T06:03:18.231266
2023-08-31T15:23:03
2023-08-31T15:23:03
163,050,773
101
29
null
2020-12-09T06:26:35
2018-12-25T05:58:16
Java
UTF-8
Python
false
false
1,473
py
# encoding='utf-8' ''' /** * This is the solution of No. 461 problem in the LeetCode, * the website of the problem is as follow: * https://leetcode-cn.com/problems/hamming-distance/ * <p> * The description of problem is as follow: * ================================================================================...
[ "zhangyu_xtb@geekplus.cc" ]
zhangyu_xtb@geekplus.cc
3637a41ea27d8219504f33dd65eda2ea0971739d
dd256415176fc8ab4b63ce06d616c153dffb729f
/aditya-works-feature-python_programming (1)/aditya-works-feature-python_programming/Assigment_5_01-Aug-2019/Assigment_5_5.py
24aa63c26add06b9baeb2c0235963e5db861b091
[]
no_license
adityapatel329/python_works
6d9c6b4a64cccbe2717231a7cfd07cb350553df3
6cb8b2e7f691401b1d2b980f6d1def848b0a71eb
refs/heads/master
2020-07-24T17:15:39.839826
2019-09-12T07:53:28
2019-09-12T07:53:28
207,993,516
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
def accept(): name = input("Enter your string : ") val= [] for i in name: val.append(ord(i)) print(sum(val)/len(val)) accept()
[ "aditya.patel@1rivet.local" ]
aditya.patel@1rivet.local
599f4edbf8bbbcf5be1ba76d41791b9964071018
35a6f5a26ea97ebed8ab34619a8eec51719d2cc0
/Python_Basic/17 文件操作/5 seek函数.py
115eb71e6b1003cafcc78f9afeea357211ceaa76
[]
no_license
PandaCoding2020/pythonProject
c3644eda22d993b3b866564384ed10441786e6c5
26f8a1e7fbe22bab7542d441014edb595da39625
refs/heads/master
2023-02-25T14:52:13.542434
2021-02-03T13:42:41
2021-02-03T13:42:41
331,318,291
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
""" 语法:文件对象.seek(偏移量,超始位置) 0开头,1当前 2结尾 目标: 1.r改变读取文件指针:改变读取数据开始位置或把文件指针放结尾(无法读取数据) 2.a改变读取文件指针,做到可以读到数据 """ # 1.1.改变读取数据开始位置 # f.seek(2, 0) # 1.2.把文件指针放到结尾(无法读取数据) # f.seek(0, 2) # f = open('test.txt', 'r+') # f.seek(2, 0) # con = f.read() # print(con) # # f.close() # 2.把文件指针放到结尾(无法读取数据) f = open('test.txt', 'a+') f.s...
[ "gzupanda@outlook.com" ]
gzupanda@outlook.com
ca0312e44c689d8a119737d9102edca66c6d0e32
757433be241afbff1c138d77daf13397f858aef3
/scorpio/urls.py
166247c53f8b21e7f1bf3184baad8bf10b8db329
[ "MIT" ]
permissive
RockefellerArchiveCenter/scorpio
1f9d152bb440bb98c007f652fa644602e3b8b483
f308cac3880ba9008d3aadfdc66a4062d4d27492
refs/heads/base
2023-08-20T22:34:32.085492
2023-08-07T17:00:58
2023-08-07T17:00:58
215,400,734
0
1
MIT
2023-09-08T21:09:13
2019-10-15T21:33:10
Python
UTF-8
Python
false
false
1,601
py
"""scorpio URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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') Class-based...
[ "helrond@hotmail.com" ]
helrond@hotmail.com
f428c560237217ad3f5dd49edbabd5734a5b4eff
0a679896fbe96a8a0a59ad9f4f55edb4aa044a93
/Duplicate File Handler/task/handler.py
040a40e81fc3f6eef361f3690d7a85ad20d01559
[]
no_license
TogrulAga/Duplicate-File-Handler
5b7bd9c9508ae3ee96751bc3e56ebaccc44c46f9
66fef381572c0e6697330463b0b720c2dbca82e6
refs/heads/master
2023-06-30T07:07:24.524591
2021-08-06T15:47:00
2021-08-06T15:47:00
393,424,765
0
0
null
null
null
null
UTF-8
Python
false
false
4,500
py
import os import argparse import hashlib class FileHandler: def __init__(self, directory): self.directory = directory self.file_format = None self.sorting_option = None self.files_dict = dict() self.dict_items = None self.numbered_dict = dict() self.get_form...
[ "toghrul.aghakishiyev@ericsson.com" ]
toghrul.aghakishiyev@ericsson.com
6c36391267af20d2d0df7f255c2d1d4f98c496d0
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part003650.py
2809c442b3ba17c08e9f9aa9bc7b006e27b8a3e8
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
3,946
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
0e3f366f9b2f023474aa0f26b034f046a6e738bd
4ade37d929b07b1eea07337b9cc843661a66e6d0
/trails/feeds/nothink.py
f40ae15122ffc7c0e6f962eac4765945bd5dded1
[ "MIT" ]
permissive
Dm2333/maltrail
bade5c99583b99f4ad1128aef295e95c977d82b1
2f32e0c3ff65544fc07ad3787d4d9b210f975b85
refs/heads/master
2021-04-12T10:44:25.125653
2018-03-20T11:50:40
2018-03-20T11:50:40
126,193,051
1
0
MIT
2018-03-21T14:40:05
2018-03-21T14:40:03
Python
UTF-8
Python
false
false
674
py
#!/usr/bin/env python """ Copyright (c) 2014-2018 Miroslav Stampar (@stamparm) See the file 'LICENSE' for copying permission """ from core.common import retrieve_content __url__ = "http://www.nothink.org/blacklist/blacklist_malware_irc.txt" __check__ = "Malware IRC" __info__ = "potential malware site" __reference__ ...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
a4df1412e80429c8ca05612b28da392af78863c4
06fa1aefc051ee0d6c325afef13dfcc14e52c6e4
/ulmo/runs/SSL/MODIS/v2/ssl_modis_v2.py
26d4899ae5c17be07d9a144ad971c07e06b78342
[]
no_license
cxzhangqi/ulmo
98e7b2783720b13f0e31a8bdf6ae70ab2a217bc7
c1c570e75332243b8a2a16a8d6c68544e1ba02cd
refs/heads/main
2023-06-30T19:15:04.279986
2021-07-31T19:45:51
2021-07-31T19:45:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,898
py
""" Module for Ulmo analysis on VIIRS 2013""" import os import numpy as np import time import h5py import numpy as np from tqdm.auto import trange import argparse import h5py import umap from ulmo import io as ulmo_io from ulmo.utils import catalog as cat_utils from ulmo.ssl import analysis as ssl_analysis from ul...
[ "xavier@ucolick.org" ]
xavier@ucolick.org
dd7f146df693ac042cde1345a5080c70862c344e
222a7d69a78f1350772c9c8bfb0b36c640e5cd6e
/MarlinJobs/CalibrationConfigFiles/Stage59Config_5x5_30x30.py
2b94d6d91472c95d504b20257b87d7e3b5afb347
[]
no_license
StevenGreen1/JERDetailed
2a8cb30ec32781791ba163e5125bcdb87239e9a4
27ed19dc0930570f16019b2c7820ae715dd0ec57
refs/heads/master
2021-01-17T06:55:11.384992
2016-08-10T14:41:38
2016-08-10T14:41:38
44,620,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# Calibration config file for testing # Digitisation Constants - ECal CalibrECal = 42.3662496409 # Digitisation Constants - HCal CalibrHCalBarrel = 50.3504586994 CalibrHCalEndcap = 55.6419000329 CalibrHCALOther = 30.5873671511 # Digitisation Constants - Muon Chamber CalibrMuon = 56.7 # MIP Peak position in directed...
[ "sg1sg2sg3@hotmail.co.uk" ]
sg1sg2sg3@hotmail.co.uk
2a62f1bef54bfd2cb7615ca2e9e0483f7ca9fd76
5ab2ccf70fddd30ea88155f2a5adb0711bf3dc9a
/Chap10/factorsingles.py
5d413a283dcbbe5de549074b7b5cbee0eafea399
[]
no_license
jdukosse/LOI_Python_course-SourceCode
32d66fd79344e9ab9412a6da373f2093b39cad92
bf13907dacf5b6e95f84885896c8f478dd208011
refs/heads/master
2020-12-05T23:27:53.862508
2020-01-24T13:42:28
2020-01-24T13:42:28
232,276,680
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
n = int(input("Please enter a positive integer: ")) factors = [x for x in range(1, n + 1) if n % x == 0] print("Factors of", n, ":", factors)
[ "jdukosse@hotmail.com" ]
jdukosse@hotmail.com
9461f02ac4fdcbf48b760055e18b17a595c5d8e0
5451997d7b691679fd213d6473b21f184a5c9402
/pymaze/wsgi.py
4aff83a8a210e68f9e6d3d976da790c63895747e
[ "MIT" ]
permissive
TerryHowe/pymaze
9ba54c7d328abf94f6709593795a587f28be752b
a5b7e90b5019a5f99a7f80317796ace72ca0754f
refs/heads/master
2022-05-01T07:39:17.896430
2022-04-23T10:41:48
2022-04-23T10:41:48
89,522,507
1
0
MIT
2022-04-23T10:41:49
2017-04-26T20:13:13
Python
UTF-8
Python
false
false
390
py
""" WSGI config for pymaze project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "terrylhowe@gmail.com" ]
terrylhowe@gmail.com
b8d7a99ad4e5d9a13b4ce30cd3d4f23c799f5ddd
6e928e1651713f945c980bca6d6c02ac5dce249a
/task1/3.py
7cd2b6493d849db45fc01607283f0cb988c3dd8e
[]
no_license
Akzhan12/pp2
97334158b442383df32583ee6c0b9cab92a3ef45
56e33fd9119955ea8349172bf3f2cc5fbd814142
refs/heads/main
2023-06-28T08:30:11.068397
2021-07-29T08:34:43
2021-07-29T08:34:43
337,359,826
1
0
null
null
null
null
UTF-8
Python
false
false
60
py
a = list(map(int, input().strip().split())) print(*a[::-1])
[ "noreply@github.com" ]
Akzhan12.noreply@github.com
5eff0169132197e41737862349d9ad181777010a
fe8f7febac1ff93b829256cdfd0be69e94498c76
/python/fluent_python/code/clockdeco_param.py
4700886d4acf8383701a414070e3f4635df7f784
[]
no_license
bioShaun/notebook
c438eba1d29b736704c3f5325faf15ad61a1e9d5
ce5f477a78554ed0d4ea5344057c19e32eb6c2b8
refs/heads/master
2020-03-26T16:16:06.458545
2018-08-23T00:54:53
2018-08-23T00:54:53
145,090,588
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
import time import functools DEFAULT_FMT = '[{elapsed:0.8f}s] {name}({args}) -> {result}' def clock(fmt=DEFAULT_FMT): def decorate(func): def clocked(*_args, **kwargs): t0 = time.time() _result = func(*_args, **kwargs) elapsed = time.time() - t0 name = func...
[ "ricekent@163.com" ]
ricekent@163.com
e7e3c115506553ab1cbc5ca31ff9c0144325dd24
16e266cf50a712ed29a4097e34504aac0281e6cb
/Functions/venv/lib/python3.6/site-packages/_TFL/_SDG/_C/Macro.py
75f2950512e90bf9922859188d30c81a9164101c
[ "BSD-3-Clause" ]
permissive
felix-ogutu/PYTHON-PROJECTS
9dd4fdcfff6957830587b64c5da3b5c3ade3a27e
8c1297dbda495078509d06a46f47dc7ee60b6d4e
refs/heads/master
2023-06-05T04:41:36.727376
2021-06-25T20:36:52
2021-06-25T20:36:52
380,348,911
0
0
null
null
null
null
UTF-8
Python
false
false
6,540
py
# -*- coding: utf-8 -*- # Copyright (C) 2004-2007 TTTech Computertechnik AG. All rights reserved # Schönbrunnerstraße 7, A--1040 Wien, Austria. office@tttech.com # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http...
[ "you@example.com" ]
you@example.com
f7aae61ca9fb68f5eef8a568456a9cbeba341313
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4461294.3.spec
e94005b8acdac761a61712abf74af485df3afd67
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
21,999
spec
{ "id": "mgm4461294.3", "metadata": { "mgm4461294.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
03c89f87bc946fe9d2a1f054e5f392aa88cc88c2
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/carbon/common/script/net/httpAuth.py
4e0d808e60ebe4b4b14cadffc1f8dc510f115517
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,364
py
#Embedded file name: carbon/common/script/net\httpAuth.py import base import cherrypy import httpJinja import macho import blue import const import base64 from datetime import datetime SESSION_KEY = '_cp_username' AUTH_LOGIN_URL = '/auth/login' DEFAULT_URL = '/default.py' def CreateSession(username, password): ses...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
027954b13256b665ac1641929f4678fcdca3ee95
a1657a0c5c8f3f8b51b98074293e2f2e9b16e6f4
/libs/pipeline_model/tensorflow/core/framework/function_pb2.py
ed2c403e475d8930c09fb9f953cc005855abe240
[ "Apache-2.0" ]
permissive
PipelineAI/pipeline
e8067636f5844dea0653aef84bd894ca2e700fc6
0f26e3eaad727c1d10950f592fe1949ece8153aa
refs/heads/master
2023-01-07T15:27:33.741088
2022-10-25T23:01:51
2022-10-25T23:01:51
38,730,494
2,596
512
Apache-2.0
2020-01-30T23:00:08
2015-07-08T03:49:23
Jsonnet
UTF-8
Python
false
true
12,092
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: tensorflow/core/framework/function.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf ...
[ "chris@fregly.com" ]
chris@fregly.com
d1832ec2bedb704f090af6d27a3a27a0abf67623
8bb4060c4a41d1ef1b31c59fb8b9bc375e3e2ba4
/setup.py
c26e6e1cb822af51c1da20528c39ff488e7edd81
[]
no_license
hanxianzhai/distribution
a6c5f96bb954e7e18bae0d6a7ac6976fae59d332
628f670f4ed39478007e3402a77653f6596d0529
refs/heads/master
2021-04-01T06:21:29.086943
2020-03-18T03:55:28
2020-03-18T03:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import config from init import app if __name__ == '__main__': app.run( host='0.0.0.0', port=config.app_conf["server"]["port"], debug=False )
[ "tanshilinmail@gmail.com" ]
tanshilinmail@gmail.com
6a405e8f55909b6ed9222b949bef9230edd24b17
abfa0fcab2bc9a9c3cccbc3a8142cdd4b2a66ee9
/698-Partition to K Equal Sum Subsets.py
8aceeaa11fdcd8709c3a984236173baf0a4fbd70
[]
no_license
JinnieJJ/leetcode
20e8ccf3f8919028c53e0f0db86bcc2fbc7b6272
26c6ee936cdc1914dc3598c5dc74df64fa7960a1
refs/heads/master
2021-04-15T09:18:08.450426
2021-03-06T01:53:27
2021-03-06T01:53:27
126,275,814
3
1
null
null
null
null
UTF-8
Python
false
false
670
py
class Solution: def canPartitionKSubsets(self, nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ sums = [0] * k subsum = sum(nums) / k nums.sort(reverse=True) l = len(nums) def walk(i): if i == l: ...
[ "noreply@github.com" ]
JinnieJJ.noreply@github.com
1f0f69d04585b8216b8268a4c3dc0e5868618db7
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/1289. Minimum Falling Path Sum II/solution2.py
e9ebe9c9ba9a53af13d879fb8d254dac546a99d0
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
class Solution: def minFallingPathSum(self, arr: List[List[int]]) -> int: m = len(arr) n = len(arr[0]) @lru_cache(None) def count(i: int, j: int) -> int: if i >= m: return 0 m1 = m2 = inf k1 = k2 = 0 for k in range(n): ...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
7a79bff67cf9d6148338e6e1465395f08c394acb
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/module_utils/facts/hardware/aix.py
442f4a95486811ff2e1f40a4627017bb23de131b
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
9,947
py
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
[ "sifang@cisco.com" ]
sifang@cisco.com
2efe378579a32f494f6942fa0ac13a700a233957
cffee94b843fff699f68eaae972ed829858fbb0d
/typings/mediafile/mutagen/mp3/__init__.pyi
da26b2285df4dd3b5373082919fadc979a486824
[ "MIT" ]
permissive
Josef-Friedrich/phrydy
3b5fae00d3d7210821dc9037d00f9432e1df3c2d
c6e17e8b9e24678ec7672bff031d0370bfa8b6f8
refs/heads/main
2023-08-25T12:11:47.333984
2023-08-08T14:50:08
2023-08-08T14:50:08
66,490,323
6
0
null
null
null
null
UTF-8
Python
false
false
3,255
pyi
""" This type stub file was generated by pyright. """ from __future__ import division from functools import partial from io import BytesIO from mutagen._util import BitReader, cdata, iterbytes """ http://www.codeproject.com/Articles/8295/MPEG-Audio-Frame-Header http://wiki.hydrogenaud.io/index.php?title=MP3 """ cl...
[ "josef@friedrich.rocks" ]
josef@friedrich.rocks
14ecb79893f2a150fcc1e6200c9e85886e0f7225
e282226e8fda085f4c64c044327eceb3388e94ce
/mainapp/api/urls.py
1b3871642a15056f10650c9fb8bffcec8a5d906f
[]
no_license
Pavlenkovv/REST-API
2bf36f40104a51f2735ce3dd3eebcf274061a1a2
352d0bd24e88fdb793e658c5b6eaffa97b56062c
refs/heads/main
2023-03-15T22:45:50.121953
2021-03-07T07:56:31
2021-03-07T07:56:31
344,887,432
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .api_views import AuthorViewSet, NewsPostViewSet, CommentViewSet router = DefaultRouter() router.register(r"newsposts", NewsPostViewSet, basename="user") router.register(r"author", AuthorViewSet) router.register(r"comment", C...
[ "pavlenko.vyacheslav@gmail.com" ]
pavlenko.vyacheslav@gmail.com
1b41395082d1617e92cb4539c977d7f616a594fc
ecd630f54fefa0a8a4937ac5c6724f9a3bb215c3
/projeto/avalista/migrations/0022_auto_20200910_1230.py
8922215b9bc4a928404f7c8043839ce3aebed4a8
[]
no_license
israelwerther/Esctop_Israel_Estoque
49968751464a38c473298ed876da7641efedf8de
d6ab3e502f2a97a0d3036351e59c2faa267c0efd
refs/heads/master
2023-01-07T20:21:38.381593
2020-11-12T17:35:14
2020-11-12T17:35:14
258,642,721
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# Generated by Django 3.0.7 on 2020-09-10 12:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('avalista', '0021_avalista_fiador_n_operacao'), ] operations = [ migrations.AlterField( model_name='avalista', name='...
[ "israelwerther48@outlook.com" ]
israelwerther48@outlook.com
6fcd77974cc305566c9496941a87ef64cb688e50
66fda6586a902f8043b1f5e9532699babc7b591a
/lib_openshift/models/v1_deployment_trigger_image_change_params.py
cdb5495ce392554744c8473da2b748a72362bdae
[ "Apache-2.0" ]
permissive
chouseknecht/lib_openshift
86eff74b4659f05dfbab1f07d2d7f42b21e2252d
02b0e4348631e088e72a982a55c214b30a4ab9d9
refs/heads/master
2020-12-11T05:23:17.081794
2016-07-28T20:15:39
2016-07-28T20:15:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,799
py
# coding: utf-8 """ OpenAPI spec version: Generated by: https://github.com/swagger-api/swagger-codegen.git 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 ...
[ "jdetiber@redhat.com" ]
jdetiber@redhat.com
f9242da26ab0e85261149acc3935789753a44160
0cafca9e27e70aa47b3774a13a537f45410f13f7
/idb/ipc/push.py
c7f6d1ab8f6e77317e6d081e0655d31ebf0c16a5
[ "MIT" ]
permissive
fakeNetflix/facebook-repo-idb
18b67ca6cfa0edd3fa7b9c4940fec6c3f0ccfa73
eb4ed5a7dc4a14b224a22e833294d7366fe4725e
refs/heads/master
2023-01-05T13:19:40.755318
2019-08-16T15:23:45
2019-08-16T15:25:00
203,098,477
1
0
MIT
2023-01-04T07:33:09
2019-08-19T04:31:16
Objective-C
UTF-8
Python
false
false
1,039
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from idb.common.stream import stream_map from idb.common.tar import generate_tar from idb.grpc.idb_pb2 import Payload, PushRequest, PushResponse from idb.grpc.stream import Stream, drain_to_stream from idb.grpc.types import ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
181269644d8602fc2dcb673b30857f2da8b2b11f
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/sqlmap/tamper/least.py
53a8a6aadefe283a268fd3ad7a0c5fd1f51f2a67
[ "Unlicense", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-other-permissive" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
1,126
py
#!/usr/bin/env python """ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ import re from lib.core.enums import PRIORITY __priority__ = PRIORITY.HIGHEST def dependencies(): pass def tamper(payload, **kwargs): """ Replaces greater than ope...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
788ecb8dfd993ef9d68c1c979145bef4be44c7a1
516dea668ccdc13397fd140f9474939fa2d7ac10
/enterprisebanking/middlewares.py
ad1d6a91a6ff2f6a7afebb8c4d5c122ae4ea0f71
[]
no_license
daniel-kanchev/enterprisebanking
08f1162647a0820aafa5a939e64c1cceb7844977
bdb7bc4676419d7dcfe47ca8e817774ad031b585
refs/heads/main
2023-04-09T19:29:30.892047
2021-04-07T08:10:15
2021-04-07T08:10:15
355,463,635
0
0
null
null
null
null
UTF-8
Python
false
false
3,670
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class enterprisebankingSpiderMidd...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
a8691c22467753872cc6ea65d244c12c491dc815
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_nationality.py
4e1dcbd9aa26fd3af3fbdc1264cb9f070b10fdb7
[ "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
413
py
#calss header class _NATIONALITY(): def __init__(self,): self.name = "NATIONALITY" self.definitions = [u'the official right to belong to a particular country: ', u'a group of people of the same race, religion, traditions, etc.: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata =...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8fb5e452de9da869a55ccca9cd00839bdadeeeab
3bfa43cd86d1fb3780f594c181debc65708af2b8
/algorithms/sort/heap_sort.py
0f1953ff4b5ac7e3fd902dd4f15744131c3cc8bf
[]
no_license
ninjaboynaru/my-python-demo
2fdb6e75c88e07519d91ee8b0e650fed4a2f9a1d
d679a06a72e6dc18aed95c7e79e25de87e9c18c2
refs/heads/master
2022-11-06T14:05:14.848259
2020-06-21T20:10:05
2020-06-21T20:10:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
""" <https://docs.python.org/3/library/heapq.html> <https://www.youtube.com/watch?v=AEAmgbls8TM&feature=youtu.be> Steps: 1. Put every item in the list into a heap 2. Each step get the smallest item from the heap, put the smallest into a new list 3. Repeat until the heap is empty ```python from heapq import heappu...
[ "wangxin19930411@163.com" ]
wangxin19930411@163.com
265d01952ab7506e909f20767daaeac5d52864e4
4ce2cff60ddbb9a3b6fc2850187c86f866091b13
/tfrecords/src/wai/tfrecords/object_detection/dataset_tools/create_oid_tf_record.py
271fd0aac175d399dda9b528a9a311145f48cfc1
[ "MIT", "Apache-2.0" ]
permissive
8176135/tensorflow
18cb8a0432ab2a0ea5bacd03309e647f39cb9dd0
2c3b4b1d66a80537f3e277d75ec1d4b43e894bf1
refs/heads/master
2020-11-26T05:00:56.213093
2019-12-19T08:13:44
2019-12-19T08:13:44
228,970,478
0
0
null
2019-12-19T03:51:38
2019-12-19T03:51:37
null
UTF-8
Python
false
false
5,240
py
# Copyright 2017 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...
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
8da1f2b67b46206e3835fdfee41f7365ac844f46
577f03954ec69ed82eaea32c62c8eba9ba6a01c1
/py/testdir_ec2_only/test_parse_covtype20x_s3.py
d6207e11b1f8763b5cd9fdd1466e72b472d7c03f
[ "Apache-2.0" ]
permissive
ledell/h2o
21032d784a1a4bb3fe8b67c9299f49c25da8146e
34e271760b70fe6f384e106d84f18c7f0adb8210
refs/heads/master
2020-02-26T13:53:01.395087
2014-12-29T04:14:29
2014-12-29T04:14:29
24,823,632
1
2
null
null
null
null
UTF-8
Python
false
false
1,962
py
import unittest, sys, random, time sys.path.extend(['.','..','../..','py']) import h2o, h2o_cmd, h2o_browse as h2b, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): print "Will build clouds with increment...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
b2c6540ba4582aa077ad54bbf8c43422c96bc68e
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/comp/trnsmtderrpktshist1d.py
132265e9aed2a406e03e9466df4b0697c29e891b
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
19,008
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
5d0a2f7e05ee7c3731f9b7550e0d5d9f8625cb88
78c08cd3ef66836b44373280a333c040ccb99605
/ostap/fitting/tests/test_fitting_convolution.py
3f980fbf093211f18849b15254d2f25697d8e7a7
[ "BSD-3-Clause" ]
permissive
Pro100Tema/ostap
11ccbc546068e65aacac5ddd646c7550086140a7
1765304fce43714e1f51dfe03be0daa5aa5d490f
refs/heads/master
2023-02-24T08:46:07.532663
2020-01-27T13:46:30
2020-01-27T13:46:30
200,378,716
0
0
BSD-3-Clause
2019-08-03T13:28:08
2019-08-03T13:28:07
null
UTF-8
Python
false
false
3,426
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================= # Copyright (c) Ostap developers. # ============================================================================= # @file test_fitting_convolution.py # Test module for ostap/fitting/convolution...
[ "Ivan.Belyaev@cern.ch" ]
Ivan.Belyaev@cern.ch
f66e5ca5bccba463ba1c7ea0e178e85c4982a93f
3e5ecad4d2f681f2f4f749109cc99deea1209ea4
/Dacon/solar1/test04_solar9.py
0f9e499e4f86263fff68de5a667aeda9b729cb92
[]
no_license
SunghoonSeok/Study
f41ede390079037b2090e6df20e5fb38f2e59b8f
50f02b9c9bac904cd4f6923b41efabe524ff3d8a
refs/heads/master
2023-06-18T06:47:55.545323
2021-07-05T00:47:55
2021-07-05T00:47:55
324,866,762
1
0
null
null
null
null
UTF-8
Python
false
false
4,798
py
# 7일의 데이터로 2일의 target값 구하기 # 시간별로 데이터를 나눠서 훈련 import numpy as np import pandas as pd import tensorflow.keras.backend as K from tensorflow.keras.models import Model, Sequential from tensorflow.keras.layers import Dense, Input, LSTM, Dropout, Conv1D, Flatten, MaxPooling1D, GRU, SimpleRNN from tensorflow.keras.backend im...
[ "76455292+SunghoonSeok@users.noreply.github.com" ]
76455292+SunghoonSeok@users.noreply.github.com
f1c1d1272813db29b692fe04bc813b6a679526fc
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/20dbcc2a-5cc5-11e4-af55-00155d01fe08.py
b39c4aee05264d664cba5c47aa38bafddd842eb2
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
#!/usr/bin/python ################################################################################ # 20dbcc2a-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
390ee336f83088e3f9b8609b7c854dfa3f4ea232
2e5e990955957cf04367ef6eedd62e6add7ccdc7
/oms_cms/backend/api/v2/social_networks/serializers.py
24a77bc22571a871c6dfb51890fd85f061a40858
[ "BSD-3-Clause" ]
permissive
RomanYarovoi/oms_cms
3dfcd19ff03b351dc754f73f4a0d8a9986cf28ec
49c6789242d7a35e81f4f208c04b18fb79249be7
refs/heads/master
2021-07-06T18:49:51.021820
2020-10-15T05:52:55
2020-10-15T05:52:55
196,556,814
0
0
BSD-3-Clause
2020-10-15T05:52:57
2019-07-12T10:07:29
JavaScript
UTF-8
Python
false
false
312
py
from rest_framework import serializers from oms_cms.backend.social_networks.models import SocialNetworks class SocialNetworksSerializer(serializers.ModelSerializer): """Сериализация социальных сетей""" class Meta: model = SocialNetworks fields = '__all__'
[ "arsavit@gmail.com" ]
arsavit@gmail.com
2cac3d08334c146dd3333f471c8ee1fa6546c71d
bc9c1a4da0d5bbf8d4721ee7ca5163f488e88a57
/research/urls.py
fe0aeb667e57278015b49196ad14403f92bec46d
[]
no_license
mit-teaching-systems-lab/newelk
77f43666f3c70be4c31fdfc6d4a6e9c629c71656
a2e6665bfcf9e2ea12fde45319027ee4a848f93c
refs/heads/master
2022-12-13T20:50:17.632513
2019-10-03T19:02:01
2019-10-03T19:02:01
132,154,880
0
4
null
2022-12-08T01:26:56
2018-05-04T15:04:20
Python
UTF-8
Python
false
false
222
py
from django.urls import path from . import views urlpatterns = [ # path('chatlogs/', views.streaming_chat_csv), # path('answerlogs/', views.streaming_answers_view), path("feedback/", views.toggle_feedback) ]
[ "bhanks@mit.edu" ]
bhanks@mit.edu
068c3a2719668d0fbb119a48641c6c1176aefbd9
7b4cbaa1e7bab897e34acba06f73ac17760d394a
/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization_status.py
222415631e7bf3e8af75e91992c1a625ab626c3d
[ "Apache-2.0" ]
permissive
nHurD/argo
0fab7f56179c848ad8a77a9f8981cb62b4a71d09
f4a65b11a184f7429d0615a6fa65bc2cea4cc425
refs/heads/master
2023-01-13T04:39:54.793473
2022-12-18T04:48:37
2022-12-18T04:48:37
227,931,854
0
2
Apache-2.0
2019-12-13T22:24:19
2019-12-13T22:24:18
null
UTF-8
Python
false
false
12,163
py
""" Argo Workflows API Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-g...
[ "noreply@github.com" ]
nHurD.noreply@github.com
64ad76f77783d4b8a4cb1b9d87b673ea62470bf1
f566dfc5ce189d30696b9bf8b7e8bf9b1ef45614
/Example/DQN_SimpleMaze/DoubleDQN_SimpleMazeTwoD.py
a8615b896bcd6023b12a714b7533a963e26b7691
[]
no_license
yangyutu/DeepReinforcementLearning-PyTorch
3dac4ad67fa3a6301d65ca5c63532f2a278e21d7
7af59cb883e24429d42a228584cfc96c42f6d35b
refs/heads/master
2022-08-16T13:46:30.748383
2022-07-30T05:47:47
2022-07-30T05:47:47
169,829,723
12
6
null
null
null
null
UTF-8
Python
false
false
2,382
py
from Agents.DQN.DQN import DQNAgent from Agents.Core.MLPNet import MultiLayerNetRegression import json from torch import optim from copy import deepcopy from Env.CustomEnv.SimpleMazeTwoD import SimpleMazeTwoD import numpy as np import matplotlib.pyplot as plt import torch torch.manual_seed(1) def plotPolicy(policy,...
[ "yangyutu123@gmail.com" ]
yangyutu123@gmail.com
5a8b3968a4cc55cdc7a8bc045270be33a8d29f1b
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/AlphaPowerSystem-MIB.py
c83f2dc059508d3a6ad59c5621b516f5335d4221
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
87,886
py
# # PySNMP MIB module AlphaPowerSystem-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AlphaPowerSystem-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:33:13 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
f92d14e56e3f2106526540e9015138bc89fc3d77
c12008fee6b319ccc683956d0a171a00e12debb0
/everyday/e191020.py
53e6428caf621fada6c4bfabfffe7d54a1250dd8
[]
no_license
yrnana/algorithm
70c7b34c82b15598494103bdb49b4aefc7c53548
783e4f9a45baf8d6b5900e442d32c2b6f73487d0
refs/heads/master
2022-04-13T23:50:53.914225
2020-04-01T12:41:14
2020-04-01T12:41:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
def solution(arr): l = len(arr) n = 0 for i in range(l): if arr[i] != 0: swap(arr, i, n) n += 1 return arr def swap(arr, i, j): tmp = arr[i] arr[i] = arr[j] arr[j] = tmp print(solution([0, 5, 0, 3, -1])) print(solution([3, 0, 3]))
[ "nyryn0945@gmail.com" ]
nyryn0945@gmail.com
bf880139591dc7c773d8e6bf7be78b1c793a73ef
364b36d699d0a6b5ddeb43ecc6f1123fde4eb051
/_downloads_1ed/fig_poisson_continuous.py
686b96403de5b92c73a2308049b03cfd324a149b
[]
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
3,102
py
""" Unbinned Poisson Data --------------------- Figure 5.14 Regression of unbinned data. The distribution of N = 500 data points is shown in the left panel; the true pdf is shown by the solid curve. Note that although the data are binned in the left panel for visualization purposes, the analysis is performed on the un...
[ "vanderplas@astro.washington.edu" ]
vanderplas@astro.washington.edu
6f7629ccc4c0086b3e895b41224590449279acb5
60ec81571533bbfda62ed3b383c3ae984af005a8
/recipes_exam/recipes_exam/urls.py
c7848c3dcbca30149e5701b86d5f782f2068f718
[]
no_license
fingerman/django-projects
f35f4a39810b0db6294bfe689c30ad62947839b9
ba3606abf7d77025ff08ffaffb64110ea2f4f92c
refs/heads/master
2023-02-27T05:18:53.600833
2021-01-31T21:07:25
2021-01-31T21:07:25
334,756,435
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""recipes_exam URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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') Class-...
[ "adamov.george@gmail.com" ]
adamov.george@gmail.com
6c16e2c8f646a76de7c95d1bce0bd8207155521e
5d0dd50d7f7bf55126834292140ed66306e59f10
/MIGRATE/msgpack_to_sql.py
4ce966fdef93c6b79fcabe824ec1177b571c63de
[]
no_license
JellyWX/tracker-bot
32d2c8666a7c6ca0835aa94695be4ccd7fc37bb5
b0909c4883b0ee6e0300a163e94ea0d69dffa062
refs/heads/master
2021-05-02T16:14:11.638292
2018-04-26T19:47:50
2018-04-26T19:47:50
120,670,416
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
import msgpack import sqlite3 with open('../DATA/USER_DATA', 'rb') as f: data = msgpack.unpack(f, encoding='utf8') connection = sqlite3.connect('../DATA/data.db') cursor = connection.cursor() for user, values in data.items(): command = '''CREATE TABLE u{user} ( game VARCHAR(50), time INT ) ''...
[ "judewrs@gmail.com" ]
judewrs@gmail.com
d7919c38e0ac4b378ccf1771060a7670a3744ca6
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/freestyle/styles/apriori_density.py
1de2c4c033457e302c229c3c7014b55c0b8010d7
[ "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", "GPL-2.0-or-lat...
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
1,743
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "admin@irradiate.net" ]
admin@irradiate.net
b341d8e48eb23d4b830ebca10113720caf32a3d5
d9f85e88424c03072b2939e1e0681c4a28595c91
/matrixstats.py
029f8de3b6299f5014b614f677c049cae10ec691
[ "BSD-2-Clause" ]
permissive
Cadair/chat_stats
1d826377c95462d555a3d5df1a840f1b9f32c9b3
c34648d80b67f8e66a9a8adcad92147644ad7923
refs/heads/master
2022-09-05T21:26:13.611506
2022-08-05T10:22:33
2022-08-05T10:22:33
160,004,133
0
0
null
null
null
null
UTF-8
Python
false
false
10,373
py
""" This file contains a set of helpers for analysing the history of groups of matrix rooms. """ import unicodedata import re import datetime from urllib.parse import quote from collections import defaultdict from matrix_client.errors import MatrixRequestError import pandas as pd import numpy as np __all__ = ['get_r...
[ "stuart@cadair.com" ]
stuart@cadair.com
5ecff5ad5fe3286e9a8e813f3c9de2d599229c34
781116645c0d60de13596aac81a76c791ed0c18a
/kivy_garden/flower/__init__.py
6793aaafcc1aa355b42b381f1800e9714707bb6e
[ "MIT" ]
permissive
matham/flower
503dae3446110da05ecd2a527b3459f7e1bcadb3
e7c71346563573197ae304ceb343bff14e54a5cd
refs/heads/master
2020-05-24T22:33:43.761720
2019-05-19T08:56:14
2019-05-19T08:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
""" Demo flower ============ Defines the Kivy garden :class:`FlowerLabel` class which is the widget provided by the demo flower. """ from kivy.uix.label import Label __all__ = ('FlowerLabel', ) __version__ = '0.1.0.dev0' class FlowerLabel(Label): def __init__(self, **kwargs): super(FlowerLabel, self)...
[ "moiein2000@gmail.com" ]
moiein2000@gmail.com
9d95173045444ddceac7aaebc34b8f75adf12995
fff26da96c4b324cdbc0315c3fdf1fe2ccbf6bf0
/.history/test_celegans_corrected_weights_20210615130634.py
a875acee9236154c606750101651e4d37fd22fd9
[]
no_license
izzortsi/spreading-activation-networks
ebcd38477a4d4c6139a82b0dd7da3d79a0e3f741
f2cf0bf519af746f148fa7a4ea4d78d16ba6af87
refs/heads/dev
2023-06-28T03:49:34.265268
2021-06-15T18:07:51
2021-06-15T18:07:51
376,718,907
0
0
null
2021-06-15T18:07:51
2021-06-14T06:01:52
Python
UTF-8
Python
false
false
3,390
py
# %% import graph_tool.all as gt import numpy as np import numpy.random as npr # import matplotlib.colors as mplc from matplotlib import cm import matplotlib.colors as mplc import os, sys from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, GLib from plot_functions import * # %% def init_elegans_net(): g...
[ "istrozzi@matematica.ufrj.br" ]
istrozzi@matematica.ufrj.br
25b61e304b936c5e84ffe57f9d196cca268179ff
63b864deda44120067eff632bbb4969ef56dd573
/object_detection/ssd/Config.py
f444dc728514a6492170e0eaf1c5d65542716889
[]
no_license
lizhe960118/Deep-Learning
d134592c327decc1db12cbe19d9a1c85a5056086
7d2c4f3a0512ce4bd2f86c9f455da9866d16dc3b
refs/heads/master
2021-10-29T06:15:04.749917
2019-07-19T15:27:25
2019-07-19T15:27:25
152,355,392
5
2
null
2021-10-12T22:19:33
2018-10-10T03:06:44
Jupyter Notebook
UTF-8
Python
false
false
481
py
import os.path as osp sk = [ 15, 30, 60, 111, 162, 213, 264 ] feature_map = [ 38, 19, 10, 5, 3, 1 ] steps = [ 8, 16, 32, 64, 100, 300 ] image_size = 300 aspect_ratios = [[2], [2, 3], [2, 3], [2, 3], [2], [2]] MEANS = (104, 117, 123) batch_size = 2 data_load_number_worker = 0 lr = 1e-3 momentum = 0.9 weight_decacy = 5e-...
[ "2957308424@qq.com" ]
2957308424@qq.com
2235add0ce48477a2a58d68f369f8cd3ba1fbf2b
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/swaggeraemosgi/model/com_adobe_granite_frags_impl_check_http_header_flag_properties.py
b32110895772ddda09288d935ee3f1e98dbd4215
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
7,658
py
""" Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0-pre.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-generator.t...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
c714879ab292decf242cb272a4d05560414fb170
72d010d00355fc977a291c29eb18aeb385b8a9b0
/LV2_LX2_LC2_LD2/ParamMap.py
12d64819be32886c056b2489f3ffb2779ffe3981
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
2,876
py
# Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/LV2_LX2_LC2_LD2/ParamMap.py # Compiled at: 2018-04-23 20:27:04 from __future__ import absolute_import, print_function, unicode_literals import Live class Callable: def __init__(self, anycallable): ...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
bf61729fa718b439998532f367204e3cf8b93cf6
35fe9e62ab96038705c3bd09147f17ca1225a84e
/a10_ansible/library/a10_ipv6_neighbor_static.py
9c058e6fee3024c46ed849ab350ff96c39149478
[]
no_license
bmeidell/a10-ansible
6f55fb4bcc6ab683ebe1aabf5d0d1080bf848668
25fdde8d83946dadf1d5b9cebd28bc49b75be94d
refs/heads/master
2020-03-19T08:40:57.863038
2018-03-27T18:25:40
2018-03-27T18:25:40
136,226,910
0
0
null
2018-06-05T19:45:36
2018-06-05T19:45:36
null
UTF-8
Python
false
false
6,211
py
#!/usr/bin/python REQUIRED_NOT_SET = (False, "One of ({}) must be set.") REQUIRED_MUTEX = (False, "Only one of ({}) can be set.") REQUIRED_VALID = (True, "") DOCUMENTATION = """ module: a10_static description: - author: A10 Networks 2018 version_added: 1.8 options: ipv6-addr: description: ...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com