blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b93cd5e9e48d830d27790b90745f070aa03e1232
9bb6f7a8e547480edab135bdba01cdf84901b660
/December14/cocoa1.py
1397d64520903468af58645334cd84fd3dd9eaa1
[]
no_license
super-cooper/Advent-of-Code-2018
ada35065028ba2f3e01614587a8e5c7fdc1e3965
421bf16e436a3d09fe13b284c20ab8dbf44989c6
refs/heads/master
2020-04-09T01:38:52.468971
2019-01-01T21:47:07
2019-01-01T21:47:07
159,912,138
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
scores, e1, e2 = [3, 7], 0, 1 n = int(input()) while len(scores) < n + 10: scores.extend(map(int, str(scores[e1] + scores[e2]))) e1, e2 = (1 + scores[e1] + e1) % len(scores), (1 + scores[e2] + e2) % len(scores) print(''.join(map(str, scores[-10:])))
[ "adamcooperrc@gmail.com" ]
adamcooperrc@gmail.com
854c6b2812dfc8cef0a54855aa4f831665df4f1c
d9fe6ce3350cdb2b261f8fd2d5dd9cec7f436629
/nablapps/interactive/migrations/0010_auto_20190205_1436.py
4912ece124e2e2a5d63fea8144cc505d401d74a3
[ "MIT" ]
permissive
pettaroni/nablaweb
d1421e47ef77e27ecdf1950d94cbd67d377f5355
5e610698a276884b9cd779a718dfdee641713636
refs/heads/master
2021-01-06T17:01:12.358350
2020-02-18T16:25:08
2020-02-18T16:25:08
241,408,081
0
0
MIT
2020-02-18T16:17:36
2020-02-18T16:17:35
null
UTF-8
Python
false
false
534
py
# Generated by Django 2.1.5 on 2019-02-05 14:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('interactive', '0009_auto_20190205_1416'), ] operations = [ migrations.RemoveField( model_name='quiz', name='publicat...
[ "oystein.hiaasen@gmail.com" ]
oystein.hiaasen@gmail.com
cb7435a2465543b6f17d0a1405bb8cb894e41d92
ef158f8e811044fa02849289bfc4bd52e7acbfeb
/plus_grand.py
d41a44dfe35c6765f5b46781ba8b2bea429913cb
[]
no_license
garou93/algorithms-python-collections
df2912e6c1798ea768257063fdedaa1ca96d0a6a
721598f91be86a2c579f9ab9236f046842919125
refs/heads/master
2023-07-16T09:27:54.551151
2021-09-05T08:07:24
2021-09-05T08:07:24
379,366,627
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# haithem ben abdelaziz: haithem.ben.abdelaziz@gmail.com #!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Mon Jun 21 21:10:38 2021 @author: haihem """ a = [3,8,3,5,9,1,104] #plus grand tableau #m=max(a) print(max(a)) #indice plus grand print([i for i, j in enumerate(a) if j == max(a)]) #cas nombre et s...
[ "haithem.ben.abdelaziz@gmail.com" ]
haithem.ben.abdelaziz@gmail.com
d400e929aeef17d0f72bdab9293bd6a3ea74d8a2
d21ab06a071827a77a3e066758135b435595c3e0
/dictIO/phonebook.py
9b6db02725c6421d538baa8020368af33745842a
[]
no_license
andytanghr/python-exercises
9e6cbe065b0554aeb476c8f17c330aa12ef51499
9f388c2781b105a2e38b8104a939caa1387e62cd
refs/heads/master
2021-05-04T00:48:41.585668
2018-02-20T14:57:43
2018-02-20T14:57:43
120,352,534
0
0
null
null
null
null
UTF-8
Python
false
false
2,305
py
import json phonebook = { 'Melissa': { 'number': '584-394-5857', 'email': 'melissa@melissa.com', 'website': 'www.melissa.com' } } def displayMenu(): menu = ''' Electronic Phone Book ===================== 1. Look up an entry 2. Set an entry 3. Delete an entry 4. List all entries 5. Save...
[ "30758932+andytanghr@users.noreply.github.com" ]
30758932+andytanghr@users.noreply.github.com
a912c5cc9376aea176d078090f76580d4de5ed97
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/operations_async/__init__.py
05bef6268f24dc985a5ca1e307acc0438f7e1c5a
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,903
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" ]
YijunXieMS.noreply@github.com
83b28dfae5f1ca84681ff03e90a71b786b5a70af
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_LOG/test_c142773.py
37a9287d71bc936fc993044620543234de87ae83
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_physical_interface import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * ...
[ "15501866985@163.com" ]
15501866985@163.com
7b9cd7c6fc9a6073dfccdd903607664815e6dd41
58790f01a79ab1676db4e560da63e9b6fa1de2bc
/ecommerceapp/migrations/0003_customer_totalprice.py
d85791cb27a32e110b8a9757dc85fd7077785680
[]
no_license
uday525252/ecommerceproject
e5d9355e7edf37f7c42befd8d2186e6b992fb4a6
28f85d5d70e87726f956246cf13637e553bc8de1
refs/heads/master
2023-05-07T16:50:30.081823
2021-06-03T04:35:25
2021-06-03T04:35:25
373,380,714
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# Generated by Django 3.1 on 2021-06-02 05:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ecommerceapp', '0002_customer'), ] operations = [ migrations.AddField( model_name='customer', name='totalprice', ...
[ "udaykirantutor@gmail.com" ]
udaykirantutor@gmail.com
632e8ba575b0717ce3c1b6802327b84c71482acf
4c77f1579b68f86891e64640e58224b9309e0b06
/src/gremlin/graph/traversals.py
cc58440c29cf45655a14bcd0cc0a2638c44cc0a4
[]
no_license
rokujyouhitoma/gremlin
aa5ccd5646b8882fb94d915d652fa1d72537d811
783d765e5e6af28a3200103b528dc95144477cbc
refs/heads/main
2023-06-03T00:01:17.367580
2021-06-20T00:07:42
2021-06-20T00:07:42
324,054,307
0
0
null
null
null
null
UTF-8
Python
false
false
26,570
py
import typing from abc import ABCMeta from gremlin.nodes import ( AnyNode, IntegerNode, MethodCallNode, MultipleNode, Node, StringNode, gNode, ) from gremlin.structures import List class Traversal(metaclass=ABCMeta): def iterate(self) -> "Traversal": pass def next(self, a...
[ "rokujyouhitomajp@gmail.com" ]
rokujyouhitomajp@gmail.com
e661c88b5aabf2d6d3d0f44afff3d533ddfc6d03
6cceeeea6fb4f103ef01b31881aab56982290af1
/supervised_learning/0x0A-object_detection/0-main.py
3cac5979c14595c830d2dd1f1c2b39f27139495d
[]
no_license
KatyaKalache/holbertonschool-machine_learning
7be17a2abf5873f2eb0e82804074ef388eb8cda6
7a23ec62d7deee6260067c8125f0e32ac9ef9f0e
refs/heads/master
2020-04-11T10:46:14.714349
2020-04-10T08:35:21
2020-04-10T08:35:21
161,725,673
3
2
null
null
null
null
UTF-8
Python
false
false
591
py
#!/usr/bin/env python3 if __name__ == '__main__': import numpy as np Yolo = __import__('0-yolo').Yolo np.random.seed(0) anchors = np.array([[[116, 90], [156, 198], [373, 326]], [[30, 61], [62, 45], [59, 119]], [[10, 13], [16, 30], [33, 23]]]) yolo = ...
[ "katya@kalache.fr" ]
katya@kalache.fr
798c9fa0d1722861c9bcfc89ca213fdbf7890707
d7a5ef00d186938ec551a198c18c4214a13aa511
/data_utils.py
fbaef085a040d8c9ee67f2b0ecfd3ad45bb2ff45
[ "MIT" ]
permissive
vimaljosehere/KBGAN
4bb3ce3eaae776ba353c4c950410626f1c997212
ce5f41ca7779d7f2722dc11ed0db315648459f27
refs/heads/master
2020-06-09T19:43:19.787561
2019-06-24T23:55:49
2019-06-24T23:55:49
193,495,456
0
0
MIT
2019-06-24T11:50:00
2019-06-24T11:50:00
null
UTF-8
Python
false
false
2,206
py
from random import randint from collections import defaultdict import torch def heads_tails(n_ent, train_data, valid_data=None, test_data=None): train_src, train_rel, train_dst = train_data if valid_data: valid_src, valid_rel, valid_dst = valid_data else: valid_src = valid_rel = valid_dst =...
[ "cai_lw@126.com" ]
cai_lw@126.com
d046195875fb2aa1f05bfd5640d8e0d4351decfe
12b38b947500ffabe48607adfc26cb3f6d86137a
/app/app.py
356f43505eba79e4b6619d1a9c77d21b3a635c47
[ "MIT" ]
permissive
jlmcgehee21/torque_server
a8e3f4fa932db31c1206eaec4bda35f45981ceb3
7acfb588a50168de0751745ecadb08755282fcd5
refs/heads/master
2021-01-17T13:01:39.662187
2016-05-15T03:23:29
2016-05-15T03:23:29
58,543,719
5
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
import os from flask import Flask, g, redirect, url_for from api import api import time from .extensions import influx_db, auth BLUEPRINTS = ( api, ) def create_app(config=None, app_name=None,): """Create a Flask app.""" if app_name is None: app_name = __name__ app = Flask(app_name) ...
[ "jlmcgehee21@gmail.com" ]
jlmcgehee21@gmail.com
9d2c1b4816f839a127201bb7f40cdbd868072c9d
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_nthai_1.py
ec17df9d7ed5e83f1250e60016d5a1d1cf20fd6b
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
718
py
def getResult(num): allnums = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} counter = 0 if num == 0: return 'INSOMNIA' while allnums and counter < 10000: counter += 1 digits = set(map(int, str(num * counter))) allnums = allnums - digits if counter == 10000: print('-----------------ERROR--------------------') ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
398fdb8a05c5bef22bcd84dc5484b8599937e755
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_azure_firewalls_operations.py
b18dcec1c77cd167725c728f44687be857c9a1f2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
30,031
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
3d0b683f903e32f3e287953fa7c7baedf310f878
e4f0882033c614a1c501d2c5a7dffa8eac12849a
/classificationnet.py
42a622b7b08e9cb032835ab050bcaca18e542265
[]
no_license
fendouwangshan/APEN
c4084c1459ca90ff6efb7868c51aaa4d000c7d01
9a8c61d2ce0c848089bc4555518f4eb89e5a6f04
refs/heads/master
2022-12-10T15:51:11.735316
2020-09-09T07:08:41
2020-09-09T07:08:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
import torch.nn as nn from torchvision import models vgg16 = models.vgg16(pretrained=True) class vgg(nn.Module): def __init__(self,num_classes): super(vgg, self).__init__() self.features = vgg16.features self.classifier = nn.Sequential( nn.Linear(512 * 7 * 7, 4096), ...
[ "1730401025@st.btbu.edu.cn" ]
1730401025@st.btbu.edu.cn
359e0c55b1bc4c0f98004112b00b2bd7176fdef8
e70ccd8d27af13e1568e2d1d6f3d918df2b72e3f
/src/qrl/core/txs/LatticeTransaction.py
695bc941624a438139d2901ea6c3bc259a432202
[ "MIT" ]
permissive
theQRL/QRL
21be76cdea5134ae8f8b83a334f3a569ca85ab14
7600ec054edecc22f0b86b76b8e00f11a161486a
refs/heads/master
2023-08-16T23:58:58.566589
2023-08-01T17:45:29
2023-08-01T17:45:29
71,055,814
462
215
MIT
2023-08-01T17:45:31
2016-10-16T14:32:40
Python
UTF-8
Python
false
false
5,031
py
from pyqrllib.pyqrllib import bin2hstr from qrl.core.State import State from qrl.core.StateContainer import StateContainer from qrl.core.misc import logger from qrl.core.txs.Transaction import Transaction from qrl.generated.qrl_pb2 import LatticePKMetadata class LatticeTransaction(Transaction): def __init__(sel...
[ "kaushal.forex@gmail.com" ]
kaushal.forex@gmail.com
2927afbebbe1493ca4e13a8a5bee70ec710f5a8a
ef1526cffbac065fc55f3a0839bcf06c12061d13
/trainer.py
1107698be1ad8c271754f033cd67804547fb7322
[ "MIT" ]
permissive
xilongzhou/MaskDnGAN
2a13e71159290db0d064e8f5bfd8837672e50247
c43e93483ce7c75c689f3ab01f21279700e52031
refs/heads/main
2023-08-11T09:26:10.534301
2021-08-28T05:14:20
2021-08-28T05:14:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
from network import GAN_Denoiser class Trainer(): """ Trainer creates the model and optimizers, and uses them to updates the weights of the network while reporting losses and the latest visuals to visualize the progress in training. """ def __init__(self, args): # Save args self...
[ "43282710+avinashpaliwal@users.noreply.github.com" ]
43282710+avinashpaliwal@users.noreply.github.com
d1dcfccc842e5e4628718def51f98cc9a34cafb1
c19ebdaaa005e1247de6f99c2f8c817cfd379c86
/ssd_train.py
7f4fbf424b0473a35afbeefdefd60111be874783
[ "Apache-2.0" ]
permissive
gunpowder1473/mySSD
ea5921eded5142eb259ff83dad132b948238a8db
ee7b44de1ef2f6013b6b17ca3cdefd52729ed479
refs/heads/master
2021-05-12T00:01:09.379574
2018-01-15T14:00:03
2018-01-15T14:00:03
117,524,400
0
0
null
null
null
null
UTF-8
Python
false
false
12,926
py
import tensorflow as tf from tensorflow.python.ops import control_flow_ops from Tfrecord import analysis_tfrecord from network import ssd_network, ssd_network_calc from Bboxes import bboxes_method from Imagine import image_method from Preprocessing import image_preprocessing from Common import common_methods, common_co...
[ "836025852@qq.com" ]
836025852@qq.com
0109c5ed6c4550d7d8153a0007a043c2a0058fbe
c719367f2f26a4f9f03239835dcf2a21d25dadf9
/week11/drp354_assignment_9/problem1.py
15df5065ecbdbcb9d186b7324d68444ce3ddd63d
[]
no_license
jjdblast/Principle-of-Urban-Informatics
688fea3679646b619c9d95384b1190b1c0541267
538848d94b8ddf493b002cf18d6fd5452fd594aa
refs/heads/master
2020-06-13T22:07:23.802689
2015-01-22T06:01:06
2015-01-22T06:01:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,330
py
############################################## ############################################## # Principle of urban informatics # # Assignment 9 # # Dimas Rinarso Putro | drp354@nyu.edu # # No.1 # #####################################...
[ "dimasrinarso2003@yahoo.com" ]
dimasrinarso2003@yahoo.com
5ef36ddd93c406aea348149a77e7a346d7fd167c
148478348d9db36ea95b1b3f06fbefdf179fa13b
/old/mcts.py
85989228e956d5f72f470191b94419a78a21bf46
[]
no_license
JBLanier/directed_exploration
e394d545cb2f4e26907b8f9cefe8fe0f056b42f5
0f682c4934051eaa63502ebbb6c347a8f0bef69d
refs/heads/generator
2020-03-12T17:56:32.568009
2018-07-28T17:58:31
2018-07-28T17:58:31
130,749,104
0
0
null
2018-07-28T18:00:29
2018-04-23T19:53:35
Python
UTF-8
Python
false
false
4,816
py
import math import numpy as np EPS = 1e-8 class MCTS(): """ This class handles the MCTS tree. """ def __init__(self, game, nnet, args): self.game = game self.nnet = nnet self.args = args self.Qsa = {} # stores Q values for s,a (as defined in the paper) self....
[ "johnblanier@gmail.com" ]
johnblanier@gmail.com
985b483695819b2ebf1b5a96b48d5fd8d0c25f20
2db704b6853682a9e3283b24013beadf5171d44b
/Behavioral_mode/template_method.py
58296f60cd7df78a6f03dbf2d0c2d3b33bc7e85b
[]
no_license
zxy1013/creat_mode
d9a1487ac1c88f68a1ea17cd4c60910fbf237d66
45a75e29f13497059d0367466b97698b0e449734
refs/heads/master
2023-04-05T22:55:44.057347
2021-05-07T07:58:58
2021-05-07T07:58:58
365,157,888
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
from abc import ABCMeta, abstractmethod from time import sleep # 抽象类 class Window(metaclass=ABCMeta): @abstractmethod def start(self): # 原子操作/钩子操作 不变的东西Window写了 变的东西还需要子类实现 pass @abstractmethod def repaint(self): # 窗口重新绘制 pass @abstractmethod def stop(self): # 原子操作/钩子操作 ...
[ "1253141170@qq.com" ]
1253141170@qq.com
a2edc242756fe3bccdb3e77606306ba46b993019
8d64c023327783582a3beed5df826f532dc46999
/enemyArtHandler.py
58aabdd01cef923b8dc2f78d8671d648397376d6
[]
no_license
aloobyalordant/7DRL2015
deaeebe4e07ac58749e70add212c365e1c4b8b1c
08381adc835deccb54c6703a489a8b7510339be6
refs/heads/master
2020-12-24T06:42:13.301673
2018-11-11T18:35:45
2018-11-11T18:35:45
48,754,319
2
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
import csv import os # A class that loads non-mechanical enemy data stuff (names, sprite location, colors, description) from a csv file, # and then returns that data to the game when requested class EnemyArtHandler: def __init__(self,pathname, dataFile = "enemyArtData.csv"): datapath = os.path.join(pathname, dataF...
[ "markelliotlloyd@gmail.com" ]
markelliotlloyd@gmail.com
793b504aefa0334a3db3790c84bd5775c17b2bc2
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/identity/azure-identity/tests/test_app_service.py
13151d95d390eb967adfff1fb9634fb14fc79f24
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
1,984
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import os from azure.identity._credentials.app_service import AppServiceCredential from azure.identity._constants import EnvironmentVariables import pytest from helper...
[ "noreply@github.com" ]
scbedd.noreply@github.com
0dc73c2a32d3f240e6706a68ceca1e73c17f8b5e
876b16099c5671be86e5ba15f9cc161a8df658e0
/Flaskapi/data_input.py
43370c8c8291c83ac315800b65aaf9c73221b416
[]
no_license
KarthikChary1/Salary_prediction_Data_Scientists
90cddde98ffe476bd4890740e2e92b722b33c5b8
9cc4f629c46f2bb93a249b20949bd7ba9cd86825
refs/heads/master
2022-12-11T22:06:20.617123
2020-08-14T06:35:32
2020-08-14T06:35:32
286,713,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 11 14:29:06 2020 @author: VENUHYMA """ data_in=[3.6, 0.0, 0.0, 0.0, 1.0, 34.0, 0.0, 0.0, 1.0, 4644.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0...
[ "karthikchary078@gmail.com" ]
karthikchary078@gmail.com
a2e42e709eda6693c8b426646fc61dabecabe108
b9c24117a729f16ea0aa1510874e0a69e6c26faa
/shallow and deep copy.py
9a7bc970b98d0149ab642736f76e20deb821e8f4
[]
no_license
janakiraam/Python_Basic_Advance
1255c54084e604d65542fadb4479162eef111de0
b2aafaac5e9675d5c504e2912f1ccf97c160eb97
refs/heads/master
2023-03-24T23:51:52.315236
2021-03-06T16:44:16
2021-03-06T16:44:16
241,824,261
0
0
null
null
null
null
UTF-8
Python
false
false
2,119
py
# Normal usage : # ================ # ================= list_of_name = ['raam', 'janaki', 'ravi'] new_list_of_name = list_of_name list_of_name.append('raju') print(list_of_name) print(new_list_of_name) print('\n') new_list_of_name.append('aravind') print(list_of_name) print(new_list_of_name) print...
[ "noreply@github.com" ]
janakiraam.noreply@github.com
ffe6003a60e96f7e84532b6a1b26cb930799a22a
e67dcfdcc691d21e0fc85a6790923b9366b1a0b3
/retrieval_chatbot/route_exchange.py
5657c12c6655f3d655149fd4575d348b928968e4
[]
no_license
Blackmamba-xuan/Meme
483f97e6811e12e86e49808a30a84fc1dd032e0c
623fba1f8f5bf5e5ce227803d531655f67496803
refs/heads/master
2020-07-11T06:07:07.512764
2019-11-01T13:00:35
2019-11-01T13:00:35
204,461,961
1
0
null
null
null
null
UTF-8
Python
false
false
426
py
def main_model(input_utterance): task_type = classification_task() if task_type == "weather": result = weather_api() if task_type == "poems": result = poems() if ...: ... ... ... if task_type == "chat": result = rules() if not result: re...
[ "18094409g@connect.polyu.hk" ]
18094409g@connect.polyu.hk
7cc93e0cd1acce5e592bf76f655825a0dc70c55d
b7a07ef19ee9c817fdc2d8bba2e20aaaeb811a04
/Interface/delayWindow.py
ac283db84ca8b4d82e04accbe2d18c82bd5998d2
[]
no_license
CXZgogogo/Topo
378e027fe4083e005124b3152e7ba738fd92df28
613b1ed569a02cd25b55427d29a32bcad3656e20
refs/heads/master
2022-06-08T23:06:20.935581
2020-05-06T07:12:59
2020-05-06T07:12:59
261,679,442
0
0
null
null
null
null
UTF-8
Python
false
false
5,544
py
from PyQt5.QtWidgets import QMessageBox # import serial_test01 as ser from SerialCommunication import Serial as ser from Interface.delay import Ui_shiyan from PyQt5.QtCore import * from PyQt5 import QtWidgets from Interface.sharedClass import * import sys # from getTopo import * import matplotlib matplotlib.use("Qt5Ag...
[ "1289010857@qq.com" ]
1289010857@qq.com
4d42db21772329cedb1feb2ae1647f5c401730ee
3246cad39a0e05a049e3e39fae6af58338048a4b
/PCS/stackinghaybales.py
86c5f0aec0b26e4ab0ebe8c812b06da2bf1ff9af
[]
no_license
josephsurin/cp-practice
dd333a93a43b4cf892035b39bd5732f2fc04d060
da9208ce9ce1b808a998944599fdc1faf7a1209c
refs/heads/master
2021-07-14T13:28:15.945699
2020-06-30T23:39:11
2020-06-30T23:39:11
174,022,379
0
1
null
null
null
null
UTF-8
Python
false
false
604
py
from bisect import bisect_left from itertools import combinations def bsearch(a, x): p = bisect_left(a, x) return p != len(a) and x == a[p] T = int(input()) for _ in range(T): yay = False N, H = [int(s) for s in input().split()] Hs = [int(s) for s in input().split()] A, B = Hs[:N//2], Hs[N//2:] As = [0] Bs = [0...
[ "joseph.surin@gmail.com" ]
joseph.surin@gmail.com
4f01af13340f00b1a771eeebe991e21e898ef8b4
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_check.py
6ccb6d970b3fddbb2a5bd1e2adfb2cc3e7311736
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
9,232
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 ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
3009a0127697ed914a468e906398c7a75618b777
aea257b107055b068b9b76ffec3b5510c8a70854
/manage.py
3567b48281fb8b8e43244b1bf890a77d1da362be
[]
no_license
Rajkishor1994/MigrationsPro
0073ff430821b41a07403380f18cef2261731bb6
3a24c475a4ab5331f11312d4fdd11389685041a2
refs/heads/master
2022-12-01T09:34:52.240894
2020-08-13T16:18:10
2020-08-13T16:18:10
287,323,738
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MigrationPro.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "rajkishorpatel2020@gmail.com" ]
rajkishorpatel2020@gmail.com
b032ad08d3b3065c5de630e39a8aa2182566f721
67a0355498545cae7970dccd4a400ad56e2c942e
/CaliperGraphsSingle - Copy.py
cd3f631dfac88c8a1a753053663ef831d6c57e55
[]
no_license
bradmartin333/ChartsAndFigures
58c7701800db7a704c7c8c85a6f079339a0fa9b1
ea57df73ba29e6bb0cbcbcd45fa08c695287fd7a
refs/heads/main
2023-01-31T03:00:52.850041
2020-12-14T16:35:04
2020-12-14T16:35:04
321,408,576
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
import pandas as pd import matplotlib.pyplot as plt import matplotlib.patches as mp file = 'LED' variable = 'White' types =[['ContactPost', 'NoStampPost', '100umMesa', 'NoStampMesa'], ['black', 'black', 'black', 'white'], [0.25, 0.35, 0.45, 0.55], ['/', '', '', '\\']] fig = plt.figu...
[ "noreply@github.com" ]
bradmartin333.noreply@github.com
939c745e451bfe5a503c3b80cf6f016aa69f713e
66bf5c4eee37b11ef90f096b6d9b0228409e1f6e
/GoodAI.py
dbd7015049bc5459e018a50dbeac32aea00b5287
[]
no_license
vermaapoorva/TicTacToe
0c1b612ff22cbfa14300c767201d857ac590ffcc
07f60704c3a0bd8ddf453c190c39d4d9bf9e8c2e
refs/heads/master
2021-01-02T20:28:25.368585
2020-06-30T22:01:34
2020-06-30T22:01:34
239,786,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
import random import TicTacToeBoard def computer_AI(board): # If possible, win immediately for i in range(0,9): if board.is_free(i): copied_board = board.copy() copied_board.input_move(i, TicTacToeBoard.NOUGHT) if copied_board.win(TicTacToeBoard.NOUGHT): ...
[ "noreply@github.com" ]
vermaapoorva.noreply@github.com
35fe41746b2676448b15ca7357c272a97101293c
dc65113c485f9e256b1dbdcc4e357f0a6a3a2652
/Session03/create.py
e4bbd5e1d13a00d3815948f27580ad48d974a44e
[]
no_license
tvloc38/loctran-fundamentals-C4E18
ce44dcf9aaf8f62110f79391132cc3a5e766152c
522ad3c9d88170464d635c461bb16be58b38222b
refs/heads/master
2020-03-18T15:44:57.552022
2018-09-09T05:07:02
2018-09-09T05:07:02
134,927,428
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
fav = ["an", "ngu", "lam viec"] print("Hi there, here you favorite things so far", end=" ") print(*fav, sep=", ") add = input("Name one thing you want to add? ") fav.append(add) print("Hi there, here you favorite things so far", end=" ") print(*fav, sep=", ")
[ "auwater@BBJulie.net.fpt" ]
auwater@BBJulie.net.fpt
52b7eea9a050eed7f435bdd2937508bcf221a867
fa7295b2e6d37d8bd19153982ae66cfb550485eb
/Python/Esfera.py
7b4b17e9a3e4f25f88faeb04c8202ae2d1a1dc9c
[]
no_license
rNexeR/Intro520
78da63e0eb18098881b95254371621f58cd9b18d
836c371aebd0c2ddbbe5b285e78f212987d0e7c9
refs/heads/master
2021-01-10T21:20:02.650956
2015-09-11T00:33:10
2015-09-11T00:33:10
41,833,225
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
from visual import * sphere() #box()
[ "rnexer@gmail.com" ]
rnexer@gmail.com
dea6df01c0631c976e880034fba3284ad134ab64
51e91402a7bc9bdc2c4924d8cb9905bb832099ce
/apps/users/urls.py
d8634ad3dbf7c2db179b8f2623b9b9ef565956e0
[]
no_license
pywjh/Myblog
26aef534ae7963bca437fd8f947184f487ea0112
d3896c2d5333614b2ced9658b5968ff6f1c7cf0f
refs/heads/master
2021-07-24T09:07:33.432962
2020-05-15T08:00:42
2020-05-15T08:00:42
167,568,700
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
# -*- coding: utf-8 -*- # @Time : 2019/1/29 15:14 # @Author : wjh # @File : urls.py from django.urls import path from . import views app_name = 'users' urlpatterns = [ path('login/', views.LoginViews.as_view(), name='login'), path('register/', views.RegisterView.as_view(), name='register'), path('...
[ "15885405914@163.com" ]
15885405914@163.com
66b3156915e1f3b46de157ac6faffe557b2aa457
b68c92fe89b701297f76054b0f284df5466eb698
/LeetCode/Solved/Easy/SortArrayByParity.py
5ef6610d9aedbd1aaa33126b7e37f5df4949867d
[]
no_license
makrandp/python-practice
32381a8c589f9b499ab6bde8184a847b066112f8
60218fd79248bf8138158811e6e1b03261fb38fa
refs/heads/master
2023-03-27T18:11:56.066535
2021-03-28T04:02:00
2021-03-28T04:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
''' 905. Sort Array By Parity Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies this condition. Example 1: Input: [3,1,2,4] Output: [2,4,3,1] The outputs [4,2,3,1], [2,4,1,3], ...
[ "awalexweber99@gmail.com" ]
awalexweber99@gmail.com
4b017969fbab241b1cc35b3426fdff46ec1d1471
b8350d2accaa09c1a626a40fc420649647716921
/PollingApp/settings.py
329a7676fc846cf06c0bd271525fa7037df3a36b
[]
no_license
Shahriar-Nibir/Django-Polling-App
763b20a2a88625bf348a6b4af55fd07f109e23d2
96a4da9d50c82f95a79ebb361a84b4ff5cfd9405
refs/heads/master
2023-03-16T21:10:03.987365
2021-03-11T12:57:12
2021-03-11T12:57:12
340,272,500
0
0
null
null
null
null
UTF-8
Python
false
false
3,449
py
""" Django settings for PollingApp project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "shahriarnibir615@gmail.com" ]
shahriarnibir615@gmail.com
46c5a276fd993f87a1989f4b32bfcecd5f5fb22b
2b72ba57136ba502ac17461f6fa8ff9119c9e6e3
/main.py
d5a3d6d65330dbe709851ccbc0ee9cc5547960c2
[]
no_license
therobertc/alpaca-trading-algo
d29e97d89a84048ef9441c0052f552f1bd2135fc
226411086451bd1e4920d4e54144085dc4d4dad5
refs/heads/master
2023-01-14T14:02:32.387480
2020-11-19T00:13:08
2020-11-19T00:13:08
311,785,897
0
1
null
null
null
null
UTF-8
Python
false
false
1,024
py
#import alpaca_trade_api import alpaca_trade_api as tradeapi import time #live_trading_key #paper trading key key = "PKISDQ3TNH5GKBZLZM56" sec = "GENERATE NEW API SECRET KEY" #API endpoint URL url = "https://paper-api.alpaca.markets" #api_versions #important to read documentation on version updates api = tradeapi.R...
[ "rob.jcalderon@gmail.com" ]
rob.jcalderon@gmail.com
066dc8d71ad062c05947a5e3b00572768533e252
a6418fe6229a408557cb53acbf94a6f4b30a2c2a
/pygazebo/pygazebo/test.py
21c4d2919a2513a8e091d4f8352cdb6356e18992
[]
no_license
Freedom-Guo/Pygazebo_TurtleBot3
02474f013b5f90a2a0e7a34a581d30d370ec2411
f2270ed86085dbd3a4576dd15fe7ed0c0a8bd5f6
refs/heads/main
2023-03-22T10:12:22.772549
2021-03-05T09:32:56
2021-03-05T09:32:56
344,750,849
0
0
null
null
null
null
UTF-8
Python
false
false
2,487
py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. import random import pygazebo as gazebo import numpy as np import matplotlib.pyplot as plt import time import math gazebo.initialize() world = gazebo.new_world_from_file("/home/freedomguo/3D_collisionavoidance/world/turtlebot3_stage_2.world") # world = gazeb...
[ "2354323727@qq.com" ]
2354323727@qq.com
22671a7b227fefc57639bba7a66549f10b6c7acd
056d8a5f562f7d76ccae743383f8bebe9bbf4170
/set2/challenge12.py
7fd03ee504dd854cb8f17184d99bb7116839806f
[]
no_license
dychen/cryptopals
7fc0d93fc1f65fafe5eba90967540d6d7b0bb817
267fd7425774d9d373d7c0a9922bbb1b7bf44a2b
refs/heads/master
2020-04-06T18:38:10.051305
2015-08-22T07:14:34
2015-08-22T07:14:34
31,119,952
5
7
null
null
null
null
UTF-8
Python
false
false
9,285
py
""" Byte-at-a-time ECB decryption (Simple) -------------------------------------- Copy your oracle function to a new function that encrypts buffers under ECB mode using a consistent but unknown key (for instance, assign a single random key, once, to a global variable). Now take that same function and have it append t...
[ "daniel@a16z.com" ]
daniel@a16z.com
d325b9be14d75eede58d5c841d095ea2f32060a1
8d0c2f23b802b50edf9314a782aff39517a59918
/venv/bin/flask
b1d3d69212cd29fccc6c1ca71aa4695623464654
[]
no_license
Andchenn/CookiesPool
f224e8737665956f55c6ef5f4f80135670856082
690f321f884296818c92748207c2fd116725582d
refs/heads/master
2020-03-26T03:09:28.221394
2018-08-12T06:04:12
2018-08-12T06:04:12
144,441,951
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/home/feng/PycharmProjects/Login/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "1476204794@qq.com" ]
1476204794@qq.com
87f494cac3d5aa590858d5ac8ffbef57ec70e2f0
e2a2df02f1c30a31207e58bffbb074021c6dfd4f
/data_analysis_2/first-level/first.py
53eb75a60b5c1583c811199c5877613ef7284ced
[]
no_license
yuriyward/data_analysis
e0903702ee0cfdad9a48454df185962614d844a7
c0291da9df3d742b68acc3132f24b4fc9121bd05
refs/heads/master
2023-08-08T05:25:03.803527
2018-11-29T22:51:21
2018-11-29T22:51:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,946
py
import numpy as np import pandas from scipy import stats import matplotlib.pyplot as plt from collections import Counter import seaborn as sns def read_data(): global data data = pandas.read_csv( '../data/abalone.data', header=None, names=[ 'Sex', 'Length', 'Diameter', 'Hei...
[ "yuriy.babyak@outlook.com" ]
yuriy.babyak@outlook.com
2ef6c853d57178c1a9db42cd2c9660cd2b2a3efe
a3281e0308119657faf79637bc66f02e1c8717c1
/blog_src/blog_src/asgi.py
9a6cd011b93e53b4ffb7ad590e29a41770544217
[]
no_license
Divve99/web-pages_2
f2060bcbc80db9f13b8b4e4ebdfc7660ce995bae
92d62610cbed0cae27cbbe7bb4abfaa02e79814c
refs/heads/master
2022-12-19T10:23:24.123057
2020-09-22T10:14:07
2020-09-22T10:14:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for blog_src project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "aparnanaidu20@yahoo.com" ]
aparnanaidu20@yahoo.com
4bae25882f49ca2d8b00d02deae8726d043f23ac
561e8e91b147f66c1bc0d0c2550268b487512aa3
/Analysis_3.py
4bd351b07ba42c6db392d82564710e095f3ddc09
[]
no_license
Khushali26/TwitterDataSentimentAnalysis
7fb0e604eef2980a054a5aefd0c8c8e0747e1abb
26b3f2a3d3f9a59686544b7ef80700bfbcb4f4d9
refs/heads/master
2020-04-01T03:08:18.277885
2018-12-10T00:30:58
2018-12-10T00:30:58
152,810,877
0
0
null
null
null
null
UTF-8
Python
false
false
2,888
py
import numpy as np import pandas as pd import json import pip pip.main(['install','twitter']) pip.main(['install','textblob']) from textblob import TextBlob !python -m textblob.download_corpora import twitter from twitter import Twitter from twitter import OAuth from twitter import TwitterHTTPError from twitter impor...
[ "noreply@github.com" ]
Khushali26.noreply@github.com
1e4434b6a362482aede50fa79ed03e8a6e71be40
78c367a2231e41b1d69c4f484f94ce652b3e700d
/algorithm/facenet_wgan/generator.py
b84d5ba76783b91238d4131781cc885459697422
[]
no_license
Mr-Yu-21/FIC-Facial-Image-Compression-
4dcdd8e803c3df0d248bbac20d7fa3fa741891e2
809c137cccec5b0790b3cf96a163f4de483026fe
refs/heads/main
2023-04-29T02:34:19.827637
2021-05-19T11:01:53
2021-05-19T11:01:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
import torch.nn as nn import torch from encoder import Encoder from decoder import Decoder class Generator(nn.Module): def __init__(self): super(Generator, self).__init__() self.encoder = Encoder() self.decoder = Decoder() def forward(self, x): x = self.encoder(x) x = t...
[ "2993968012@qq.com" ]
2993968012@qq.com
beec3f446371debd2b3c38ec8b3642d0c5a1514a
248c535f3612c646bccadecafdca649fd788bb1f
/.history/config_20210927034406.py
dbb1cfe87f74853e85d866bbe6c1b60da716e2cf
[ "MIT" ]
permissive
GraceOswal/pitch-perfect
3b923e4de5fff1a405dcb54374a1ba0522232025
d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b
refs/heads/master
2023-08-16T01:42:18.742154
2021-10-01T06:59:11
2021-10-01T06:59:11
410,224,294
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
import os from dotenv import load_dotenv as ld ld() class Config: debug = True SECRET_KEY = os.environ.get('DATABASE_URL') SQLALCHEMY_TRACK_MODIFICATIONS =
[ "graceoswal88@gmail.com" ]
graceoswal88@gmail.com
7c945093ff498c1f2f06405646c3c67c9a86d5a5
a4930cecb0da288d745d7e16233ee7e9a08cf9d9
/lab_03/CDA.py
bc2c433b5c8d0184a53d8ab3a56d334e7624a4a3
[ "MIT" ]
permissive
Winterpuma/bmstu_CG
514b8e97a03a517f718edd17a49f3033ab292623
59a0793aed8e9e8d4f435cb2e8263d610dfac688
refs/heads/master
2020-04-23T08:32:15.376453
2019-12-30T12:52:55
2019-12-30T12:52:55
171,040,446
26
4
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Алгоритм цифрового дифференциального анализатора #from math import round def cda_test(ps, pf): dx = abs(pf[0] - ps[0]) dy = abs(pf[1] - ps[1]) if dx > dy: L = dx else: L = dy sx = (pf[0] - ps[0]) / L sy = (pf[1] - ps[1]) / L x = ps[0] y = ps[1] while abs(x - pf[0]...
[ "32524078+Winterpuma@users.noreply.github.com" ]
32524078+Winterpuma@users.noreply.github.com
b2ac17820d9376270ad9e59b52048295c486afb4
e23407eea7eefee5065fe19aabf028b3f29b64af
/plenum/server/consensus/primary_selector.py
1078366cb6c09d98b6de2fb6cb108a47b8fb05c7
[ "Apache-2.0" ]
permissive
kkc90/indy-plenum
b4731b776b4231d1f725131945143e2395defcf9
29adcb033487138e1711898104e95fbbb527f8b2
refs/heads/master
2020-09-07T12:52:53.510544
2019-11-08T15:22:10
2019-11-08T15:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,716
py
from abc import ABCMeta, abstractmethod from typing import List from common.exceptions import LogicError from stp_core.common.log import getlogger logger = getlogger() class PrimariesSelector(metaclass=ABCMeta): @abstractmethod def select_primaries(self, view_no: int, instance_count: int, validators: List[...
[ "alexander.sherbakov@dsr-corporation.com" ]
alexander.sherbakov@dsr-corporation.com
0c097470ff806797d2dd7234e512c87b70fc4f6c
7db470ac37a2dd717ce41db19d6949a91109efb5
/Code/share/gps/support/core/lal_utils/lal_view.py
4484c1d64c800fee5522e02909c644190236ad11
[]
no_license
AaronC98/PlaneSystem
63e7d486ec8ca8ff1e234193ac1ebaf5cb348b22
5b91c1816aadfa3a08bba730b8dfd3f6a0785463
refs/heads/master
2023-04-26T19:30:01.098578
2021-06-03T19:55:05
2021-06-03T19:55:05
373,625,259
0
0
null
null
null
null
UTF-8
Python
false
false
11,539
py
"""A tree view to explore Ada/SPARK code using libadalang. """ import GPS import os import libadalang from modules import Module from gi.repository import Gtk, Gdk, GLib, Pango from gps_utils import make_interactive COL_LABEL = 0 COL_FOREGROUND = 1 COL_START_LINE = 2 COL_START_COLUMN = 3 COL_END_LINE = 4 COL_END_COLU...
[ "46718011+AaronC98@users.noreply.github.com" ]
46718011+AaronC98@users.noreply.github.com
9e243d91dbc7d98392a1a3a667e36c2efaf787a6
cb68601bebd3ce06128e20bf24a553cd666bd1e5
/0x0A-python-inheritance/3-is_kind_of_class.py
de160f572d73cb0fe1c7dd945dc3e10a12e93e1e
[]
no_license
pgomezboza/holbertonschool-higher_level_programming
11755d9823d828518f3f4844b68e7a0cc92be0a7
47f04a767fa26c9ecc30fa43fd8e9681cfa60147
refs/heads/main
2023-08-21T20:30:14.043327
2021-10-25T00:50:29
2021-10-25T00:50:29
361,944,894
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
#!/usr/bin/python3 """ Module: 3-is_kind_of_class """ def is_kind_of_class(obj, a_class): """ finds if obj is an instance of a_class or a class inherited from a_class. args: obj: objecto to look a_class: class to be check return: true or false. """ if issubclass(type(obj), ...
[ "pgomezboza@gmail.com" ]
pgomezboza@gmail.com
47dd7590646cb7dec2e36e3857f155b2538ccc1b
0df898bf192b6ad388af160ecbf6609445c34f96
/middleware/backend/app/alembic/versions/20201110_072326_.py
10c7da8e75d56b8f336ce266199ba95ee4a6fdf3
[]
no_license
sasano8/magnet
a5247e6eb0a7153d6bbca54296f61194925ab3dc
65191c877f41c632d29133ebe4132a0bd459f752
refs/heads/master
2023-01-07T10:11:38.599085
2020-11-13T02:42:41
2020-11-13T02:42:41
298,334,432
1
1
null
null
null
null
UTF-8
Python
false
false
812
py
"""empty message Revision ID: 20201110_072326 Revises: 20201110_072235 Create Date: 2020-11-10 07:23:27.554149 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '20201110_072326' down_revision = '20201110_072235' branch_labels = None depends_on = None def upgra...
[ "y-sasahara@ys-method.com" ]
y-sasahara@ys-method.com
2dd94770181038d1043c10188f896ea0d9257387
437a375d600b4847362946cde1bccb531a92d6aa
/park/park/urls.py
ebfed66868b36567a741bf2a052954f13a89425e
[]
no_license
JoshuaRosenfeld/park
f99ff79077397cb989438a002afba1665e336a6b
fea21c9a4f3df157f3cc26cdf21fc410e8a45d24
refs/heads/master
2021-01-10T16:37:24.252695
2015-12-07T17:07:31
2015-12-07T17:07:31
45,141,242
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from django.conf.urls import include, url from django.contrib import admin from django.contrib.auth import views as auth_views urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^accounts/login/$', auth_views.login), url(r'^accounts/logout/$', auth_views.logout,), url(r'^spots/', include('spots.urls'...
[ "jlr0802@gmail.com" ]
jlr0802@gmail.com
8bf23c064642fb7e8106648faf05340c5abe2751
b2797dc00ae1fed53e50f09cae6618c6a1612b22
/rlpyt/models/dqn/atari_iqn_model.py
f974b12105a6b95008074ef66f0d38db8dd5d63c
[]
no_license
frederikschubert/ARA
c0bc6eaab2cbced2ee3bf09f950f15a1761f2672
3af30d7b03d3a393de659ab0f281060a7a7cbad3
refs/heads/master
2023-08-15T00:50:48.451363
2021-09-27T13:26:34
2021-09-27T13:26:34
385,935,170
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
import torch import torch.nn as nn import torch.nn.functional as F from rlpyt.models.quantile_conv2d_model import QuantileConv2dModel from rlpyt.utils.tensor import infer_leading_dims, restore_leading_dims class AtariIqnModel(QuantileConv2dModel): def forward(self, observation, tau, prev_action=None, prev_reward=...
[ "frederik.schubert@mailbox.org" ]
frederik.schubert@mailbox.org
d58da21638423d026b507688d69aaedd6ec2c7b2
f572f83a5ba79469d47f4b018aa1f99c47e23593
/train_code/nn_dropout.py
cfaaef0bd1b23636dfe5203f15b507693203638d
[]
no_license
Seongmun-Hong/Deeptector
89d2017c6b9838e1dc5853c782a786c934b31e33
6f8d090f85833b24b011f9f244bfea1063673565
refs/heads/master
2021-04-09T13:26:55.954155
2019-11-26T05:35:34
2019-11-26T05:35:34
125,702,009
3
3
null
null
null
null
UTF-8
Python
false
false
4,403
py
# Lab 10 MNIST and Dropout import tensorflow as tf import numpy as np import random # import matplotlib.pyplot as plt tf.set_random_seed(777) # reproducibility xy = np.loadtxt('training_data4.csv', delimiter=',', dtype=np.float32) x_data = xy[:, 0:-1] y_data = xy[:, -1] #output의 갯수!!!!!! nb_classes = 16 # 1:punch...
[ "hsm63746244@gmail.com" ]
hsm63746244@gmail.com
270343a6f74c1670971833bb68841c7b2fbf8908
6328ce8d58260fcdd81994c35a2a8aea0fcfd5f7
/kglib/cross_correlation/Normalized_Xcorr.py
6c92542b07d8429ee1991a4151ef8d07393c523c
[ "MIT" ]
permissive
kgullikson88/gullikson-scripts
6e03aafa069d357f5dc4d29b4cd02a20c1f9a098
8a9f00a6977dad8d4477eef1d664fd62e9ecab75
refs/heads/master
2021-01-10T08:19:46.440979
2016-04-19T21:22:15
2016-04-19T21:22:15
49,740,211
4
1
null
null
null
null
UTF-8
Python
false
false
23,840
py
from __future__ import print_function, division, absolute_import import numpy as np from scipy.ndimage import convolve # Try and use the faster Fourier transform functions from the anfft module if # available try: import anfft as _anfft # measure == True for self-optimisation of repeat Fourier transforms of ...
[ "kevin.gullikson@gmail.com" ]
kevin.gullikson@gmail.com
ce292be2901110f156ffab596434149b7b74fc9a
a0b099d4d1ed950ae8a21d0cf8a65a0e97c19e4a
/setup.py
c5abd288126ba8b77dfcbbdb4151eb253850119e
[ "MIT" ]
permissive
jdonkervliet/dedalov2
f1b81b21e5e092222cdee6ace3789fec2a196cee
255b707e36acce384596662bde97a333f900fc89
refs/heads/master
2020-05-14T17:40:39.613678
2019-07-15T19:30:43
2020-02-29T19:06:35
181,896,330
0
1
null
null
null
null
UTF-8
Python
false
false
768
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="dedalov2", python_requires='>=3.7.2', version="0.0.1", author="Jesse Donkervliet", author_email="j.donkervliet+dedalo@gmail.com", description="Explain groups of URIs on the Semantic W...
[ "j.j.r.donkervliet@vu.nl" ]
j.j.r.donkervliet@vu.nl
e28bbc9c4c6764d0f73d4f807b475e298db2d173
fc5734ad9b0dc154b3a36ec2f5d848b3d693473f
/solutions/Strings/string_rotation.py
1043f636e9825fc4b25b17aaff50db95a52885ee
[ "MIT" ]
permissive
aimdarx/data-structures-and-algorithms
8e51ec2144b6e0c413bc7ef0c46aba749fd70a99
1659887b843c5d20ee84a24df152fb4f763db757
refs/heads/master
2023-08-28T12:00:33.073788
2021-11-07T08:31:28
2021-11-07T08:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
""" String Rotation: Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, sl and s2, write code to check if s2 is a rotation of sl using only one call to isSubstring (e.g.,"waterbottle" is a rotation of"erbottlewat"). """ def is_substring(str, substring):...
[ "noreply@github.com" ]
aimdarx.noreply@github.com
bd9a1f78e4a556f15d2ad64818463fb0ae59adcb
a15551724e193e086a6b69b3af9c91cd8c70b67a
/Sorting_algo_graph/interesting graph.py
5b96ce154cf0e3d2b232339d4c1af03f5f3c18a0
[]
no_license
arymandeshwal/Sorting_algo_representation
7de12d0fc4982e37df35574579987287e522084a
44b4f40fce50d27d39972178b774a3850a4d140f
refs/heads/master
2020-08-06T07:27:45.964785
2019-10-04T19:32:12
2019-10-04T19:32:12
212,888,496
1
0
null
null
null
null
UTF-8
Python
false
false
429
py
import matplotlib.pyplot as plt import matplotlib.animation as animation import time ##x= [1,2,3,4,5] ##y= [10,20,30,500,40] ## ## ##plt.bar(x,y) fig = plt.figure() ax1 = fig.add_subplot(1,1,1) def animate(): xs=[] ys=[] for i in range(1,20): xs.append(i) ys.append(i*10) ax1.clear(...
[ "noreply@github.com" ]
arymandeshwal.noreply@github.com
cddba6213ee471ef0db6de44dc5080df3860c224
09dec9bf9703fa7f7159b9e8b71438cd4808de69
/picture/views.py
a1571ac333d3c09c3235a7a1903fa7245a831271
[]
no_license
wiejar/ZaawTprO
bd3dc01bb5e0b92c52deb67738985bab9d2d05ed
32ba3256d4a138a336b353e7af91a3eb85625396
refs/heads/master
2016-09-06T08:35:57.284630
2015-09-10T19:18:35
2015-09-10T19:18:35
33,627,793
0
1
null
null
null
null
UTF-8
Python
false
false
380
py
# -*- coding: utf-8 -*- from picture.models import Picture __author__ = 'slawek' from rest_framework import viewsets from picture.serializers import PictureSerializers class PictureViewSet(viewsets.ModelViewSet): """ View - get serialized picture data to client-side application. """ queryset = Pict...
[ "kowalskislawomirkarol@gmail.com" ]
kowalskislawomirkarol@gmail.com
055e5acbc789048d5312b82ad4a0b25569faf6af
625488541743e8d02da02ccd8073ba0018f577cd
/main.py
a1c7ee9a0c80b51f75e2209d54edb1331150c14c
[]
no_license
Archit1008/Vs_Code_Editor
01257120ea2b93469139fbab16aa53149b0cbc0b
25ecc0ef24c54591f06a0b2cfcc7d1145283cc77
refs/heads/main
2023-08-07T23:54:09.450659
2021-09-11T18:51:18
2021-09-11T18:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,011
py
from tkinter import* from PIL import ImageTk from tkinter import messagebox, filedialog import subprocess import os class Vs_code: def __init__(self,root): self.root = root self.root.title("Untitle- VS Editor - Developed By Vaibhav") self.root.geometry("1200x700+0+0") sel...
[ "noreply@github.com" ]
Archit1008.noreply@github.com
3277647540b48355be9ed39c7da40af81a33e829
08a7da9926cbf32d5c66a726c2873e0a2603cf34
/ex085.py
48824bd75fc156e074bcb76379f53cb2948e36dd
[]
no_license
lucassilva-2003/Cursoemvideo_Python_100exs
ae9b0bcd2abdaadb308c6d31fd8a6ecb801708b0
8450ca7099cbc222abea0e2aa003864d4f7b7467
refs/heads/master
2022-11-25T13:23:32.078187
2020-07-23T18:45:21
2020-07-23T18:45:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
lista = [[], []] # Cria duas listas dentro de uma lista for c in range(1, 8): n = int(input(f'Digite um valor para a posição {c}: ')) if n % 2 == 0: # se o valor for par ele é colocado na primeira lista lista [0] lista[0].append(n) else: # se não ele é colocado na segunda lista[...
[ "noreply@github.com" ]
lucassilva-2003.noreply@github.com
907594a44b147cda939842c8cfb807c93df0a453
7f6775640ee7ad886a57665a07d20e28cf239da7
/hd_mesos/migrations/0001_initial.py
4091815dcaaf719a3e43095bb2ff484d0524d6f0
[]
no_license
Rmond/mysite
fa643924d1988fa0877cd16d57539b370fdfc396
2bc732d279b640d0d998ee2049a882168aa756b7
refs/heads/master
2020-03-16T14:12:33.666271
2018-12-28T05:16:56
2018-12-28T05:16:56
130,977,394
1
0
null
null
null
null
UTF-8
Python
false
false
5,120
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-04-25 06:04 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] opera...
[ "710324581@qq.com" ]
710324581@qq.com
fbcfe14dd13f5a30f79f31f21d29a58d41e981ea
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/-57053121/PyQt5/QtNetwork/QSslError.py
d32f401606abccbd6549153dde9d3bab66afe1c3
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
# encoding: utf-8 # module PyQt5.QtNetwork # from C:\Users\Doly\Anaconda3\lib\site-packages\PyQt5\QtNetwork.pyd # by generator 1.147 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip class QSslError(__sip.simplewrapper): """ QSslError() QSslError(QSslError.SslError) QSslErr...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
c6e7b980440b388f5c28db485b2c6df09de7162f
994be8da4cb2d79edc1d078d04f0c2326eecbd0a
/app/functions.py
3bf68d685991bf8eaa96b9877bff85e51e4a493b
[ "MIT" ]
permissive
tjgavlick/whiskey-blog
0e9287d6ff51d3f27d4147d13dd1efa3550a107c
f34a339cca0bcfab2afeb7d0ab3d29f5f95ffe04
refs/heads/master
2020-12-23T21:10:49.156725
2016-08-04T23:35:13
2016-08-04T23:35:13
56,724,636
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
# -*- coding: utf-8 -*- import datetime from flask import request from werkzeug import url_encode from app import constants def allowed_file(filename): return '.' in filename and filename.rsplit('.', 1)[1] in constants.ALLOWED_EXTENSIONS def format_price(price): if price % 1 == 0: return '${}'.fo...
[ "tjgavlick@gmail.com" ]
tjgavlick@gmail.com
75f77ccdaf3e7164f93e7d4b4ae4dfa223110249
a3be9ec7b7da211842c818fc63c85bf10469c647
/environnement_virtuel/bin/pylupdate5
f88e0a7124e9cfb4ad93ad8c39f74cb01bef520e
[]
no_license
clementverc/CurrentConverter
97ef4e52e6b0144e830d703d8789f3ae3bb89a96
173d047f0178fb597d9748e0d12e6c2ea6ed615e
refs/heads/master
2020-12-05T12:24:19.903746
2020-01-06T14:08:00
2020-01-06T14:08:00
232,108,993
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/clement/Documents/ProjetPython/environnement_virtuel/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from PyQt5.pylupdate_main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "clement.vercucque@orange.fr" ]
clement.vercucque@orange.fr
3265522f3031fdb9f900fd1d7525c2d9a49fa979
3c0526e87e9ea80ef2676058f3023e9111d0eab9
/twilio/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.py
2fbd634e0ae9b138bca32021ab70fa46f8faec03
[]
no_license
smgood/cryptobot
f24ef69b9b253b9e421bf5bbef3b750fcc1a7332
13448eb8dfc34fedaba4d10ce642c38fe80a3526
refs/heads/master
2020-07-21T15:36:55.353596
2019-09-07T03:37:56
2019-09-07T03:37:56
206,910,383
1
1
null
null
null
null
UTF-8
Python
false
false
15,742
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import serialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import ...
[ "sean@smgoodrich.com" ]
sean@smgoodrich.com
1e4e83e230dd2f77b65787b08e278e29ca6b9990
2c384f470f8f1fcf8e2000fe67e668580df239b4
/week 3/hw_knn.py
9b7dae74a481ad08e03b64a6164cc5333cd1f78d
[]
no_license
psheshke/mipt_canvas
0f046210fb079924c560847831041d664647cfe4
172cc333bfc681d96a87029bf37cdb459e7b9bc9
refs/heads/master
2020-05-02T22:56:19.662016
2019-06-11T11:12:14
2019-06-11T11:12:14
178,267,255
8
5
null
null
null
null
UTF-8
Python
false
false
8,068
py
# coding: utf-8 # <img src="https://s8.hostingkartinok.com/uploads/images/2018/08/308b49fcfbc619d629fe4604bceb67ac.jpg" width=500, height=450> # <h3 style="text-align: center;"><b>Физтех-Школа Прикладной математики и информатики (ФПМИ) МФТИ</b></h3> # --- # На основе [курса по Машинному Обучению ФИВТ МФТИ](https://...
[ "eaagekyan@mail.ru" ]
eaagekyan@mail.ru
dff4e2d8383c878901837392bdfdc2ac9f6ec193
01b174952357069b2330bcfb4760a7f81817c12d
/JamStats.py
57b579dbdfd735eefd9d4683f854539314f099ea
[]
no_license
jostaylor/Music_Playlist_Search_Engine_and_Stats
86db0c2d5c5aee67196d4eade645e78a84dde927
925781efd0851f7809f4717e007e375445d22a7b
refs/heads/main
2023-02-26T22:18:42.197047
2021-02-09T22:39:27
2021-02-09T22:39:27
337,553,375
0
0
null
null
null
null
UTF-8
Python
false
false
27,633
py
# This program finds different statistics about Dueber and David's Daily Jams import tkinter import math import time from datetime import datetime import requests from bs4 import BeautifulSoup import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() # Asks user where they are ''' location = 0 w...
[ "joshataylor99@gmail.com" ]
joshataylor99@gmail.com
acda7499126a87857ce83af8d1d80462994ae4b7
159c89a4939f263f978b8224eca171bff18b5b06
/application/db.py
2a73d84db0c43db72b5e506b11660df2f13fa06f
[]
no_license
Leovim/lend
c6ae68bda102221b11e925e930a53e006df429e4
34af793978bc780e4427f188930bb9c19800060f
refs/heads/master
2020-05-09T22:00:41.537997
2014-04-04T10:18:29
2014-04-04T10:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,940
py
#coding=utf8 from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base from config import options Base = declarative_base() engine = create_engine(options.sqlalchemy, encoding="utf-8", pool_recycle=3600) class User(Base): __tablename__ = 'user' user_id = Column(Integer, primary_key=T...
[ "changtong1993@gmail.com" ]
changtong1993@gmail.com
d315f5bcb6c815382fec9c8e4b88c18bba852efd
f6b626820cb9911b2abf232ec4d220351cc11cf7
/Обучение/Стоп слово.py
f5d1e472dbdc506ee5e39183d382cfc61a277401
[]
no_license
aaskorohodov/Learning_Python
fc6b5889a8b481842fb7c2dd54aafbde32c2f005
d736ff0d8c7b3b40de23c92cfe750762863cedc8
refs/heads/master
2023-07-26T14:13:04.353880
2021-08-31T11:43:53
2021-08-31T11:43:53
390,396,425
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
words = list(input().split()) c = 0 while c < len(words) and words[c] != "stop" : print(words[c]) c += 1 for x in words: if x == "stop" or x == "asd": break print(x)
[ "aaskorohodov@gmail.com" ]
aaskorohodov@gmail.com
4de0b26402d5cf3518aba5692c0dd3420af8fb04
fbf546c2896c6cd6805f1cbf10a54a3f9e0ba8f0
/assignment.py
fd39e95534357a883b3171582ade5c8acdd3f887
[]
no_license
YouHyeJi/assignment
c4584107718eb6c3d206950daf090a3208c43b6b
a2c24a6f8a49e09eea273e63fdcd60c421008860
refs/heads/master
2020-05-05T14:03:02.078662
2019-04-08T08:34:02
2019-04-08T08:34:02
180,104,898
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
class contact: def __init__(self, name, phone_number, sex): self.name = name self.phone_number = phone_number self.sex = sex result = [] while True: name = input("이름을 입력하세요 : ") if name == "그만": for i in result: print("이름은" + i.name + "전화번호는" + i.phone_number + ...
[ "gpwl0773@gmail.com" ]
gpwl0773@gmail.com
8c83aff26eee45cf733ddd482d1d776cd006d303
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_112500.19-074112.7/sdB_SDSSJ_112500.19-074112.7_lc.py
c5af2aeaea090865c4a951f0aa7f46d762d25355
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[171.250792,-7.686861], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SDSSJ_112500.19-074112.7 /sdB_SDSSJ_112500.19-074112.7_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
f0c1510eecf19b8fca78dd77970e528b1b07f019
79122ab4de578e1758e30db113aa7d6ae26ef15e
/neuraltoolkit/findspikesfromraw.py
088637889300b523f99f00b85a1fc9ec22023f4a
[]
no_license
kasterlevi/neuraltoolkit
ac32533a9ee7362ea107fd4c97cb162585682054
922144df19e7849b7e92411669cb8a6cc43ba0ed
refs/heads/master
2023-08-21T00:13:35.848682
2021-10-22T00:01:36
2021-10-22T00:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,676
py
import neuraltoolkit as ntk import numpy as np import matplotlib.pyplot as plt # rawfile = '/Volumes/bs001r/users/EAB_09-12/EAB_00010_2018-06-08_15-06-33/Headstages_64_Channels_int16_2018-06-10_11-21-42.bin' # number_of_channels = 64 # hs = 'hs64' # nsec = 1 # number_of_probes = 1 # ch_list = [43,44,63] # thresh = -50...
[ "sbrunwas@Samuels-MacBook-Pro.local" ]
sbrunwas@Samuels-MacBook-Pro.local
8c286b1aea6608b37c1d6b43bd135b0c104cda52
e7ecf4f96272193a0e943d23c097b1af0ce3e8a5
/Scripts/FileManager/UniLeipzigApiCaller.py
35eae67c1cb0322f8b7cf61a5e3f415e712cdc0b
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ReleasedBrainiac/MultiAmbiguityToTopicMapping
12a57b2e458bae77c3c9b607d5d4dc65d7ec38ad
89cb8c5a64dd47b9fb80b67cf1bafa55498aaabc
refs/heads/master
2020-05-19T06:51:09.301824
2019-09-04T07:36:14
2019-09-04T07:36:14
184,884,516
0
0
null
null
null
null
UTF-8
Python
false
false
3,863
py
import requests import json from SupportMethods.ContentSupport import isNotNone, isNotEmptyString, isInt class UniLeipzigAPICaller(): def __init__(self, word:str, result_limit:int, base_url:str = "http://api.corpora.uni-leipzig.de/ws/sentences/", corpus:str = "deu_news_2012_1M", task:str = "sentences"): "...
[ "tobias.turke@gmx.net" ]
tobias.turke@gmx.net
ec903f9ccda2297f466d3d5d649495d6ea6a3c8d
77063a816306b2b6996ec649199c474cb3043da5
/catkin_ws/src/task_planning/src/lever_sampling.py
5b3832c2d6e74d0336e02506b956c99d5808ed6c
[]
no_license
mcubelab/mpalm_affordances
c08af865b5c1a5f34b3cb3567f17ce382b9a2462
00333129e867aaa90e6ac706497ae79ce0b00588
refs/heads/master
2022-07-10T21:38:16.388647
2020-06-19T17:26:05
2020-06-19T17:26:05
213,663,907
0
0
null
2022-06-21T23:26:11
2019-10-08T14:22:02
Python
UTF-8
Python
false
false
15,901
py
import sys, os sys.path.append(os.environ['CODE_BASE'] + '/catkin_ws/src/config/src') import itertools import numpy as np import rospy from helper import helper from helper import roshelper from helper import visualize_helper import util from copy import deepcopy import tf.transformations as tfm from geometry_msgs.msg ...
[ "asimeono@mit.edu" ]
asimeono@mit.edu
8aaf5edf7bb152c4373b9ec1501bb333897e8344
1d9dca90f8aefe637c5ffcb72972d629b588e231
/Assignments/PS1/starter_code/pacman.py
5bd460c4085f797847afcab7a72b44c4858f4929
[]
no_license
fanfeng2015/Artificial-Intelligence
2bcfec6031d62538753476b46b4ea4bb4b801b23
acb5fe537a4e2404d7192139481950c1d65fc88b
refs/heads/master
2020-04-25T12:58:34.108015
2019-05-08T07:19:52
2019-05-08T07:19:52
172,794,260
0
1
null
null
null
null
UTF-8
Python
false
false
26,336
py
# pacman.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # A...
[ "fanfeng2015@gmail.com" ]
fanfeng2015@gmail.com
1609f70860867a529b1e53248793fe3397b745f3
bab1a8b7547d1ceb2177998dafde85d1a80c949d
/zfit/core/integration.py
d217ed4b4ea670e2fc93246de66d2be6220277a3
[ "BSD-3-Clause" ]
permissive
olantwin/zfit
99d518e75171f0bad0fc54d3fcd9d1db95a87363
d5e6fbcc73cec053752be08c2157e9e1c4cdd8f6
refs/heads/master
2021-07-14T02:17:42.271975
2019-03-30T12:42:42
2019-03-30T12:42:42
179,468,861
0
0
BSD-3-Clause
2019-04-04T09:44:49
2019-04-04T09:44:48
null
UTF-8
Python
false
false
22,208
py
""" This module contains functions for the numeric as well as the analytic (partial) integration. """ import collections import numpy as np import tensorflow as tf import tensorflow_probability as tfp from typing import Callable, Optional, Union, Type, Tuple, List import zfit from zfit import ztf from zfit.core.dime...
[ "mayou36@jonas.eschle.com" ]
mayou36@jonas.eschle.com
0e3a4182b0655427f3f767ef4844a5f92e0082a3
e7360e5a9aa3ac92eec2aad3fb36613febcb5e8a
/b2b/migrations/0020_auto_20200818_1342.py
715be2f088f7dda69a95fc4f47fc9bb69d14fdec
[]
no_license
devmikado/phonebooth
6a7b49d3748424f52cbbaed9fa67a72f9f23d5bc
2711b4913c2ee7bc5f677b7aaaf192658dbe9754
refs/heads/master
2023-02-09T21:21:26.483410
2021-01-05T13:41:10
2021-01-05T13:41:10
324,892,889
0
1
null
null
null
null
UTF-8
Python
false
false
2,424
py
# Generated by Django 2.0 on 2020-08-18 13:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('social_django', '0010_uid_db_index'), ('nationality', '0006_delete_dummymodel'), ('b2b', '0019_auto_20200818_1331'), ] operations = [ ...
[ "v.mote@splendornet.com" ]
v.mote@splendornet.com
bca07c6ee8c8e2f2ba5bff9f8f1583f23c7dee76
97d397dae2eee337e494949ba6f8655cc35bd09b
/venv/bin/django-admin
cbf88ae96839329d2d8062b5a0c5f0b2ebda8638
[]
no_license
arphone-main/youtube
f5283d66c9919e61fb0e6591e3a7ff77f6a5765d
976792530467a0f1f58375f372ec44a0ad8b0991
refs/heads/main
2023-05-12T08:05:18.091043
2021-05-29T05:13:57
2021-05-29T05:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
299
#!/Users/apple/PycharmProjects/youtube/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "chayan.datta@decentro.tech" ]
chayan.datta@decentro.tech
1529b6e30ae281f1bc292ea9ee0eb3250db256ff
48b90238414fd31df392e2f871a3901f8568c3da
/djenga_tests/urls.py
092138416100f565fae4fa4410fe1de232199edb
[ "BSD-3-Clause" ]
permissive
2ps/djenga
ccae21bec16fca1c5eb04811886b446daa0c1807
85ac2c7b0b0e80b55aff43f027814d05b9b0532c
refs/heads/master
2021-08-17T03:09:48.444869
2021-07-21T02:32:14
2021-07-21T02:32:14
19,199,344
6
1
BSD-3-Clause
2019-06-26T21:57:44
2014-04-27T08:21:30
Python
UTF-8
Python
false
false
768
py
"""test_django URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "pshingavi@gmail.com" ]
pshingavi@gmail.com
a59c87e12366efded39a4a976f77c45e22a61dce
67efb90cf4dc60b7ef9cda949a9a8a95a601783e
/src/imovie/urls.py
1eec77abe9d9ff5a7995b403a07a9f70bc5e19a1
[]
no_license
osama-abbasss/download-apple-movie-trailer
05654331d59bd9a5a90997792b34e01565334979
3dd6b0ac8107f02c31e9d9afdaeefdd325720187
refs/heads/master
2022-06-04T03:12:50.056430
2020-05-01T18:50:18
2020-05-01T18:50:18
260,534,815
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from django.urls import path from . import views app_name = 'imovie' urlpatterns = [ path('', views.download_trailer, name='list') ]
[ "eng.oabbass@gmail.com" ]
eng.oabbass@gmail.com
24a3ddcdb2ec4e348fbc71bc3f5ee8fd12bb1d69
b2ee0959efe9bc1a1acaecc5487c711fe7f4b1e4
/app01/models.py
4736d636d1e682fe7a2ecf7a96bf8f1fd044a71c
[]
no_license
wuxiaoliu123/admin_demo
9834712ad722f10b28d5047f307f883ad5a588cc
a1f7c6b9a3a9deecf45e750d2f040feb07725c28
refs/heads/master
2020-05-27T00:49:10.925915
2019-05-24T08:21:49
2019-05-24T08:21:49
188,429,353
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
from django.db import models # Create your models here. from django.db import models # Create your models here. class Author(models.Model): nid = models.AutoField(primary_key=True) name=models.CharField( max_length=32) age=models.IntegerField() #将admin中的表名替换成中文 class Meta: verbose_name = ...
[ "6165@qq.com" ]
6165@qq.com
36b3a20cb723efb4eac4fa1c0e78c20049cd3c24
e26cc73cd3990389a0aebc1d6890d3dabe1a1744
/sklearn/utils/_array_api.py
ed16ce767a0cd3231219676c182a58d615d6c073
[ "BSD-3-Clause" ]
permissive
neurodata/scikit-learn
705f2d0f09a843a01e0c7a959c412c220cac272c
3ad522ac06b92c20223d4e141a3565839b6a8057
refs/heads/submodulev3
2023-08-16T17:24:51.220830
2023-08-15T21:58:09
2023-08-15T21:58:09
197,068,409
8
6
BSD-3-Clause
2023-08-24T23:48:17
2019-07-15T20:33:57
Python
UTF-8
Python
false
false
17,520
py
"""Tools to support array_api.""" import itertools import math from functools import wraps import numpy import scipy.special as special from .._config import get_config from .fixes import parse_version def yield_namespace_device_dtype_combinations(): """Yield supported namespace, device, dtype tuples for testin...
[ "noreply@github.com" ]
neurodata.noreply@github.com
5d008af1fe2e68f966cd6cb40d4cc4a415f37850
003d32a0948f83d456010b82284a0323bd524e58
/PartB/QueueEvent.py
384d29492101bb952d6939bd9185af92b4094728
[]
no_license
Skymike868/Discrete_Simulation
4d6122ba5ed3ab184a9cff5699906f0732c0658d
2e2544d505da40dc9a4a136f60a432eacebf2582
refs/heads/master
2020-04-28T19:24:29.944286
2019-03-13T23:12:38
2019-03-13T23:12:38
175,509,852
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
from PartB.SimulationEvent import SimulationEvent from enum import Enum class QueueEventTypes(Enum): ARRIVAL = 0 DEPARTURE = 1 ARRIVAL = QueueEventTypes.ARRIVAL DEPARTURE = QueueEventTypes.DEPARTURE class QueueEvent(SimulationEvent): def __init__(self, event_time, event_type): super().__ini...
[ "M3618861@hotmail.com" ]
M3618861@hotmail.com
73648b74a1ebd8dbcaaba72205343f8e41529f72
612093b414a3869b500d5029b66ea20788c1d258
/kaggle_m5_forecasting/eda/weather.py
b365552db7f1d7093318ccf1f8336ce0ce3eda4f
[]
no_license
kiccho1101/kaggle_m5_forecasting
1bec3ed258e0d2821deb22bbc1f596c26f034caf
278ebb0d3623963dd4dd4110f16dcbb0eb4cda8e
refs/heads/master
2023-01-02T21:10:28.880998
2020-10-14T08:30:35
2020-10-14T08:30:35
249,624,395
6
1
null
null
null
null
UTF-8
Python
false
false
1,909
py
# %% import pandas as pd from thunderbolt import Thunderbolt import sys import os sys.path.append(os.getcwd() + "/../..") from kaggle_m5_forecasting.data.load_data import RawData from kaggle_m5_forecasting.data.fe_weather import read_weather_data from kaggle_m5_forecasting.utils import decode_ids tb = Thunderbolt("....
[ "youodf11khp@gmail.com" ]
youodf11khp@gmail.com
0e127b01383041fc76e6b429509cb4aadac82a01
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/HLT/Event/ByteStreamEmonSvc/share/l1bits4emon
efe0560c94f319753634fc1f286498acd665777b
[]
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
433
#!/usr/bin/env python import sys def l1bits(bits): result = 0L for i in bits: result |= 1L << i print "Full: 0x%x" % result mask = (2**64-1) print '[',"0x%x" % (result & mask),',', print "0x%x" % ((result >> 64) & mask),',', print "0x%x" % ((result >> 128) & mask),',', print "...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
e410330b360d8dcf91745a5c636e64137c2856a9
055ff4b5faad0e7b1f99f03bf16989f6b0a70be4
/venv/bin/pylint
ec160ceb66efeebdc5f1ef8cbed87243aaae6e91
[]
no_license
Cashley112/Dj_Portfolio
9f8f4dc6beeae9d1a3c52717e5dcff551cda5028
1f5036c9ffc900261434bf535a1a4217a62cc58d
refs/heads/master
2022-12-06T03:24:10.628292
2020-08-25T02:51:08
2020-08-25T02:51:08
290,095,075
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/Users/connorashley/django_portfolio/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "connorashley@Connors-MacBook-Pro.local" ]
connorashley@Connors-MacBook-Pro.local
04616e090f78a429c2421054de60e0e9a4ec6a46
8bdce915174678a90a6be811ea91b50930b9d26a
/elk/shares/shares_from_sina/data_from_sina2.py
793d83f7dcc94fad86f72758e6de6dcd56691d01
[]
no_license
CharlesBird/Resources
daefffef8fb3735e656cd0a3bf400d5e2ff85cc0
517ac7b7992a686fa5370b6fda8b62663735853c
refs/heads/master
2022-12-15T02:54:56.530940
2020-02-29T14:33:43
2020-02-29T14:33:43
109,668,108
1
1
null
2022-12-08T05:04:25
2017-11-06T08:34:30
Jupyter Notebook
UTF-8
Python
false
false
4,307
py
import tushare as ts from elasticsearch import Elasticsearch from elasticsearch import helpers import re import requests from datetime import datetime TOKEN = '137e3fc78e901b8463d68a102b168b2ea0217cb854abfad24d4dc7f7' pro = ts.pro_api(TOKEN) es = Elasticsearch(['47.103.32.102:9200']) index = "shares_real_time_data_201...
[ "1016784928@qq.com" ]
1016784928@qq.com
bb7d86785330fb4f70a6863312bec508877cef0c
96744930057da883e3c1728fa34dfbf649322135
/dbc2excel_main.py
0137aede3b5f0a4693c3697c5aeecc3f6542f9a7
[]
no_license
BlackCatKnight/dbc2excel
b87cdf83c7be4be0405ce3a8e876a66803806f40
bcb841b3d12d83982bc34c7321d9ebc01c79277b
refs/heads/master
2020-10-01T14:37:32.238027
2020-02-17T05:21:01
2020-02-17T05:21:01
227,557,688
0
0
null
2019-12-12T08:32:23
2019-12-12T08:32:23
null
UTF-8
Python
false
false
6,699
py
#!/usr/bin/env python import wx import dbc2excel as d2e class MyFrame(wx.Frame): """ We simply derive a new class of Frame. """ def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, size=(600, 500)) self.path = '' #self.SetSizeHints(wx.DefaultSize, wx.DefaultS...
[ "1248832396@qq.com" ]
1248832396@qq.com
772ae11af58a259ee1b609eb3c4b3502947ba004
45b00dd318c3ba92a29495988d975f5bcd8a19c3
/venv/lib/python3.8/site-packages/cloudinary_cli/core/utils.py
f5b7976c6bc25ca4940398cab33c35c55359489a
[ "BSD-3-Clause", "MIT" ]
permissive
Jn-mic/Projects-Portfolio
b122d334457495ac7beed1707a61e4e3ab002468
642b9e58b81e8d505cc7462370e80fbab2945fd9
refs/heads/master
2023-06-13T22:38:06.123016
2021-07-20T15:43:07
2021-07-20T15:43:07
386,660,112
0
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
from webbrowser import open as open_url from click import command, argument, option, Choice, echo from cloudinary import utils as cld_utils from cloudinary_cli.core.overrides import cloudinary_url from cloudinary_cli.utils.api_utils import handle_command from cloudinary_cli.utils.utils import print_help cld_utils.cl...
[ "jackotienokey@gmail.com" ]
jackotienokey@gmail.com
b0c92b082c127ce02470aafbb990e891b8e29ce8
5727534e65d551b5d202d9cc9ceb987aeb5a6a20
/envipyarclib/test/config.py
8710a9fcb818f07d49538160c9e94775fbd3a432
[ "MIT" ]
permissive
envi-idl/envipyarclib
4122d884fc0134883f9a5bcddb50646eddfce6e9
3ebd62107ba04364dfdf5b1e436b4a7ad7715851
refs/heads/master
2023-02-16T10:21:12.407573
2023-02-10T19:37:18
2023-02-10T19:37:18
97,256,013
1
1
MIT
2023-02-10T19:38:07
2017-07-14T17:03:55
Python
UTF-8
Python
false
false
2,393
py
""" """ import os import difflib import glob from abc import ABCMeta, abstractmethod import arcpy from ..metaclass import with_metaclass class Config(with_metaclass(ABCMeta, object)): """ Defines the configuration for running the datatype tests. """ @property def test_data_dir(self): """ ...
[ "elefebvre@ittvis.com" ]
elefebvre@ittvis.com
3334aa2448162bc9082686b1db06663e35a07d1e
6f3a7be25bf5106911af06713715b88b6f2477a8
/fixture/orm.py
debdd80d37bab1a78a66ad5b99c3608b4fe97f74
[ "Apache-2.0" ]
permissive
werbk/task-7.22
477929bab1b2e46652562fa04b587b51b2cff71c
61a8c98846ccf385a7ef34ced19031b855593182
refs/heads/master
2021-01-01T17:05:25.175711
2015-08-09T10:46:23
2015-08-09T10:46:23
39,339,305
0
0
null
null
null
null
UTF-8
Python
false
false
2,616
py
from pony.orm import * from datetime import datetime from tests_contract.contact_helper import Contact from tests_group.group_helper import Group from pymysql.converters import decoders class ORMFixture: db = Database() class ORMGroup(db.Entity): _table_ = 'group_list' id = PrimaryKey(int, col...
[ "werbk@bk.ru" ]
werbk@bk.ru
0043b3f702afc3174da07d8caba0ca4d2413d7d4
2f700e4dbcf0d06d718a33c25611a0ce7660c361
/twittube/urls.py
8300fee2907e43145b44ce25d2d9c8b225f1cfca
[]
no_license
DeminLi/twittube
15d17e19cb2f5a0ec82fcc5e862d5384cf031e38
d2fb605f36b4d0e53c5da535b8dc644c04e7d7a9
refs/heads/master
2020-05-04T16:41:23.529645
2014-04-30T15:24:19
2014-04-30T15:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'twittube.views.home', name='home'), # url(r'^twittube/', include('twittube.foo.urls')), # ...
[ "lideminismine@gmail.com" ]
lideminismine@gmail.com
2e3756bb08c6075914a70fe3ece7029d2345edaf
5d8717adf9229160a0cb72a4f73755ed8a88a1dd
/LeafCounting/utils/transform.py
c16ab3c4cb2c5c4efa5ac78d951d9fb745a131ea
[]
no_license
harrishsmith/Leaf-Counting
1837ff6881fb737f3ad0c2c5631e4daf48bf7912
3cb6515cdccd0df26dc4e0ecd709ee8f4678cfb6
refs/heads/master
2023-08-21T01:39:34.026143
2021-10-05T05:33:59
2021-10-05T05:33:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,765
py
import numpy as np DEFAULT_PRNG = np.random def colvec(*args): """ Create a numpy array representing a column vector. """ return np.array([args]).T def transform_aabb(transform, aabb): """ Apply a transformation to an axis aligned bounding box. The result is a new AABB in the same coordinate syste...
[ "guyfar@post.bgu.ac.il" ]
guyfar@post.bgu.ac.il
46efb5b0d22a66151fe0aee2e2e57566136aa783
3178c199a3a6f5805fc45c8791204259bcb39125
/PythonAPI/synchronous_mode/visualize_NN_summary.py
8925ea845a9bb5543b4ae5cf603d5d29d5b52008
[]
no_license
zwc662/CARLA
e3550d6fa2b07036c69d10a9f1642cc975ce5e2e
ec32181c67417c56d93d3d7afd22946c50e78a6c
refs/heads/master
2021-07-21T14:12:52.241222
2020-08-21T01:20:37
2020-08-21T01:20:37
207,066,345
1
1
null
null
null
null
UTF-8
Python
false
false
3,112
py
import numpy as np import matplotlib import matplotlib.pyplot as plt import torch import torch.nn.functional as F from torch.autograd import Variable # from torchviz import make_dot from torchsummary import summary from NN_controller import mlp torch.set_default_dtype(torch.float32) num_wps = 10 model = mlp(nx=(5+...
[ "zwc662@gmail.com" ]
zwc662@gmail.com
ab01193036fd55bd00dd3212bb26c3216275c79c
7bb6c90ff26a7b55f8cd5227a4efadf58c7906b4
/utils/raw2model_data.py
6f278ee8df5da5f07eb007ff7de0405d595bbe19
[]
no_license
bangbangbang12315/Persona-Dialogue-System
2321175078093cd4610c57cab8c5af8fa14dd6f1
bdcfb2e76680f7b53a0b9af3cdc2e09f535cf89d
refs/heads/master
2022-11-21T15:53:25.947512
2020-07-15T06:23:22
2020-07-15T06:23:22
279,768,821
1
0
null
null
null
null
UTF-8
Python
false
false
8,962
py
import os import sys import json from tqdm import tqdm # from sentence_similarity import similarity from multi_process_wraper import Worker, MultiProcessor def get_history_rank(query, histories, model='cosine'): scores = dict() query_seg = query.split(' ') for key in histories: key_seg = key.spli...
[ "hanxun_zhong@ruc.edu.cn" ]
hanxun_zhong@ruc.edu.cn
eab75732120eb4e8789bd9f3d9ca8b93a8cd6a81
9f8ba2a30a4d454b09d02b7efb47f232cc1173b1
/mediator/tests.py
4b204a5d2004468d3450d63b3ba3433e73bac394
[]
no_license
selectnull/django-mediator
07b062edf95cb125219c35069dce4248c2e36218
d486ac3900dbe4368dffa99f55f12f56fe5f2a98
refs/heads/master
2016-09-05T20:47:15.872718
2012-04-07T14:07:19
2012-04-07T14:07:19
3,953,091
1
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.utils import unittest from mediator import MediaMapping class MediaMappingTest(unittest.TestCase): def setUp(self): self.root_dir = '/home/foo/public_html' self.root_url = '/media/' self.mm = MediaMapping(self.root_dir, self.root_url) def test_sanity(self): ...
[ "sasha@selectnull.com" ]
sasha@selectnull.com
8651ac38c94c1e85c9d0792e0f3b2ddff244c669
2a3059227ff8c162d1a8dcfc2e9d227adbb78d45
/0001. Two Sum/1.py
2617cc8a5c1928c5dcae7152603aad6d5b91ed05
[]
no_license
121025/LeetCode-Python
ca4d1d3437145cf1491b683f73599b455c5f98f6
5a13cd3da42f6a3f3e9436c47b9c166435297163
refs/heads/main
2023-07-10T03:07:08.847464
2021-08-23T14:06:08
2021-08-23T14:06:08
391,373,772
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
#4092ms class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: for i in range(0, len(nums)): for j in range(i + 1, len(nums)): if nums[i] + nums[j] == target: return [i, j]
[ "noreply@github.com" ]
121025.noreply@github.com
90246fc8ec69618e16e2cd33834a1be5f4b63c3d
51a065360b8b2f4a8cde43842a357b729ce6931a
/computer/RoadLaneDetection/line_hough_detector.py
473e966e68f05c209f2c52618cc0e0247c726c0a
[]
no_license
muratory/perception
8fd95c1a865c5f2317c61110906856fd1eaa9f2d
23b03a3d33d526318e85748d978c48782298fd4f
refs/heads/master
2021-05-15T22:39:28.659715
2018-06-17T16:43:44
2018-06-17T16:43:44
106,734,394
0
0
null
null
null
null
UTF-8
Python
false
false
3,192
py
# import the necessary packages import numpy as np import argparse import glob import cv2 def _auto_canny(image, sigma=0.33): # compute the median of the single channel pixel intensities v = np.median(image) # apply automatic Canny edge detection using the computed median lower = int(max(0, (1.0 - s...
[ "pierre.muratory@gmail.com" ]
pierre.muratory@gmail.com
d25daf29e1bc3a62f0c1d407e5d6f4c7a6ed4d89
cb9c909a82db154cf820b22f7b3adc5b964bdf76
/JupiterDailyFiles.py
49494a9d706271d1018f6445611a54ad068045ee
[]
no_license
slomuscio/Jupiter
901e8446a36e5b799188a3d90ed9a7ff8d5539dd
8edce53035fe3a4849cc8d07d614aa3c46aa29c5
refs/heads/master
2020-06-17T20:16:54.130177
2019-08-01T13:34:14
2019-08-01T13:34:14
196,041,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
""" Generates files for fake Jupiter with 40 degrees subtracted from right ascension Samantha Lomuscio """ import math import pandas as pd import os import numpy as np from astropy.time import Time from coordinates import equatorial from gt_apps import filter, evtbin, maketime roi = 20 emin = 100 emax = 10000 num_...
[ "noreply@github.com" ]
slomuscio.noreply@github.com
ad9cb7cc5c6bb4360989a06e4790b08d45e26375
68d2d58bc3d24e5422ee0cf73c1ea5214fc190ab
/main.py
4c3ecbd38c5c99d793a2baa793d431a72293a646
[]
no_license
hector-han/easy_server
f92d0ec2abb91623125532b65bc3974ec4f2aeef
d73fedbcfa1f2d08023f54237581bc8f2889468d
refs/heads/master
2020-08-20T09:45:16.585204
2019-10-18T12:34:43
2019-10-18T12:34:43
216,008,316
1
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
import tornado.ioloop import tornado.web import json import datetime store_file = 'received_info.txt' fhandler = open(store_file, 'a', encoding='utf-8') class MainHandler(tornado.web.RequestHandler): def post(self): now = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') requestId...
[ "hanhengke@58ganji.com" ]
hanhengke@58ganji.com