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
1a6a6d190573f01bbf7d17a030aaa51dbe22656f
51dcd31096526bfa6aeae4baea9f0f45657c6623
/ocean/tests/util.py
dba4670d5424620103eed74a400c139a2532af16
[]
no_license
sopac/ocean-portal-docker
eba5de774e5a2b3e9b019440c39e7f0041715dd9
159aeba7143e66fdd9ed253de935407f898b4873
refs/heads/master
2021-01-20T08:07:58.698449
2017-09-10T09:24:04
2017-09-10T09:24:04
90,103,531
1
5
null
2017-12-13T03:30:45
2017-05-03T03:19:57
Python
UTF-8
Python
false
false
826
py
# # (c) 2012 Commonwealth of Australia # Australian Bureau of Meteorology, COSPPac COMP # All Rights Reserved # # Authors: Danielle Madeley <d.madeley@bom.gov.au> import os import os.path from glob import glob import pytest from ocean.config import get_server_config config = get_server_config() def clear_c...
[ "sachindras@spc.int" ]
sachindras@spc.int
329c0354906ea7def69064595589467c698a674a
d2720ce687c6000b06255d51824770e0f91e04ca
/stepper.py
267c5e17ffb11e2af50b1bca497cfccc928eda5c
[]
no_license
patildayananda/Raspberry-Pi
92eae96579b599b23640f2c9431a31fded3c7ed4
835ace7b9d6843ef8697e6b8b6efe7cf44f29282
refs/heads/master
2021-06-02T00:48:11.897537
2016-08-17T06:39:05
2016-08-17T06:39:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) coil_A_1_pin = 24 # pink coil_A_2_pin = 23 # orange coil_B_1_pin = 4 # blue coil_B_2_pin = 17 # yellow # adjust if different StepCount = 8 Seq = range(0, StepCount) # seq size is of 8 Seq[0] = [0,1,0,0] Seq[1] = [0,1,0...
[ "noreply@github.com" ]
patildayananda.noreply@github.com
01673d7cfb58ab7724853b1300c74cb91d74ff39
392768f9038b6ed5752e3ce0a2fd1400da90d2e0
/14_List.py
9a3354e2e7c70b3c30d981a471af7a28a8c1a616
[]
no_license
msbhosale/python_workshop
0816566ed3a37a5f6a26351f70291155b4122595
7403aacda74cf5c7199875067d6d0ce587017424
refs/heads/master
2020-05-03T21:30:38.944051
2019-04-03T07:13:52
2019-04-03T07:13:52
178,824,983
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
my_list = [15,"Jay",False,2.15,"KK"] my_list[0] = 56 print(my_list) # for item in my_list: # print(item) # my_list.append("Lunch") # print(my_list) # length_of_my_list = len(my_list) # print(length_of_my_list) # print(my_list[2:]) # for i in range(0,length_of_my_list): # print(my_li...
[ "noreply@github.com" ]
msbhosale.noreply@github.com
ec1e5dbc338ecf43d1bd53ded885b1450fb0c5be
da570c2047d335b3553e63c27ac7f60b57b28b7e
/images/urls.py
6c3df5aaf6b9ca607cd5fbcabe80ae605ee575b6
[ "MIT" ]
permissive
mfannick/viewImages
8c799fc52566de03f4909d36f5ccc50e7fff9564
27e447faff455fba306ef3e677d5f2f63160065e
refs/heads/master
2021-09-09T11:53:42.786004
2019-10-14T09:21:16
2019-10-14T09:21:16
214,357,014
0
0
null
2021-09-08T01:21:15
2019-10-11T06:11:06
Python
UTF-8
Python
false
false
425
py
from django.conf.urls import url from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns=[ url('^$' ,views.homePage,name='homePage'), url(r'^search/', views.searchImageByCategory, name='searchImageByCategory'), url(r'^description/(\d+)',views.imageDescrip...
[ "mfannick1@gmail.com" ]
mfannick1@gmail.com
3c1e2609185afba2ced84ebd4fc0350d03478685
a0fe82f6134fa6f0423d95116ffb5c4a15f6a299
/Eduspace/student/views/student.py
fb79a9c91e56322d53d0a27a17ea7dff2f19beb9
[]
no_license
akshaykrsinghal/demorepository
bdc8bc81b4944ba2effcafc8f108a335a27fce4b
b845150740a4e7127718e2265c5e55d60b1c11c6
refs/heads/master
2022-12-19T17:07:38.027458
2020-10-10T10:37:46
2020-10-10T10:37:46
302,876,650
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from django.http import HttpResponseRedirect from django.shortcuts import render, redirect from ..models import * def student(request): a=request.session['rollno'] # image=user.objects.filter(rollno=a) image=user.objects.filter(rollno=a) data={'images':image} print(image) return render(re...
[ "59149089+Akshaykumarsinghal@users.noreply.github.com" ]
59149089+Akshaykumarsinghal@users.noreply.github.com
d3059af279cb484debf3bea11242351e608798c6
cba86fc39209a9bb273ed9a8f1620068909578c1
/刘美宁/Python+Appium/test/app.py
3aa531b550b0e630a1cf82fc4e5102f78a71ca31
[]
no_license
fengrao1/practice
c2303b7ca71e38f0029a251d2b9842384a856eb8
701f5d910ec39d6f575f219bf7c8f53f94b98c82
refs/heads/master
2022-11-06T05:34:13.782766
2020-06-07T02:25:51
2020-06-07T02:25:51
258,391,682
1
0
null
null
null
null
UTF-8
Python
false
false
716
py
from appium import webdriver from appium.webdriver.webdriver import WebDriver from page.login_page import LoginPage #初始化driver,关闭driver class App(): driver:WebDriver=None @classmethod def start(cls): cap = {"platformName": "Android", "deviceName": "8KE5T19B11004244", ...
[ "2996331661@qq.com" ]
2996331661@qq.com
0c537c7a76a12d5ad4b319e5ecd8695d74b3b0f6
5c5458622ab8413fef8ab11ef5e09dcdcd42ff69
/1.py
ad47b2fba1e02ef70d242917fbf7c8954a6efe8d
[]
no_license
zhenyakeg/Console
127fbbfe33cf86a0e4d5eb968c783407168364f5
31eea7a22a95701049872d4da2c01307f05e920d
refs/heads/master
2021-01-13T10:06:17.797796
2016-10-27T17:59:03
2016-10-27T17:59:03
72,119,199
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
__author__ = 'student' # импортируем модуль import sys # выводим на экран список всех аргументов s=0 for arg in sys.argv: if len(arg) == 3: s+=1 print (s)
[ "egor.rozinskiy@mail.ru" ]
egor.rozinskiy@mail.ru
54bb0c609bfe5631ed4693791271a60989565bef
e918334824eb32c1c8b365a2821c6676eb66b25c
/manhattan_graph.py
e02881545614b0f22edbcffbef9fcd987efcfded
[]
no_license
brianramaswami/SearchingAlgorithms
b4fb32f9f84d0866c6ab89a96d1785921821b3ab
5bb95ce31ac8d5602a6abc2df472858c2a6610ed
refs/heads/master
2022-01-30T06:34:07.861678
2019-07-20T22:48:18
2019-07-20T22:48:18
197,987,239
1
0
null
null
null
null
UTF-8
Python
false
false
7,668
py
class graph_vertex: def __init__(self, name, x, y): self.name = name self.position = (x, y) def __lt__(self, other): return self.name < other.name thirty_third_and_madison = graph_vertex("33rd Street and Madison Avenue", 33, 4) thirty_third_and_fifth = graph_vertex("33rd Street and 5...
[ "brianramaswami@yahoo.com" ]
brianramaswami@yahoo.com
0365a71e6ddcbf5d739bd768676f3f793715d525
1799fe1d9dfcf5f9619a87a11f3fa6170e1864fc
/00998/test_maximum_binary_tree_ii.py
44cc467d9b38a539320c803e7bc639b674e44c3e
[]
no_license
SinCatGit/leetcode
5e52b49324d16a96de1ba4804e3d17569377e804
399e40e15cd64781a3cea295bf29467d2284d2ae
refs/heads/master
2021-07-05T18:51:46.018138
2020-04-25T04:06:48
2020-04-25T04:06:48
234,226,791
1
1
null
2021-04-20T19:17:43
2020-01-16T03:27:08
Python
UTF-8
Python
false
false
1,519
py
import unittest from maximum_binary_tree_ii import Solution, TreeNode class TestSolution(unittest.TestCase): def test_Calculate_Solution(self): solution = Solution() # 6 # / \ # 1 4 # / \ # 3 2 t25 = TreeNode(6) t21 = TreeNode(...
[ "sincat@126.com" ]
sincat@126.com
78556512deea6fa868b272820fdf67d59eb5298e
c459c724af99b09b30253909898827fe9c2d79cd
/Advent2017/Day/Day_24.py
c746812a9748f60002d82994b147c63d792d3627
[]
no_license
Rafq77/Advent2015
72f3e6cd598a057ed79c3a9d125898edff13182b
0acecb4982d46bdf63e4e35350e76da0a7196ce0
refs/heads/master
2021-01-10T16:07:57.911724
2019-09-10T18:36:05
2019-09-10T18:36:05
47,354,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
fd = open("""../Resources/Day_24.txt""", 'r') src = fd.read() fd.close() lines = src.split('\n') print("Length: " + str(len(lines))) components = list() for each in lines: p1, p2 = each.split('/') components.append((int(p1), int(p2))) import itertools import collections components.sort() #for c in componen...
[ "sokol-77@wp.pl" ]
sokol-77@wp.pl
8c55b1b583c89eaaf63961ca00dde5c69b6b67c5
5e5799e0ccce7a72d514fbc76dcb0a2108013f18
/Textfile2DefDomGeom.py
710ab37655fe1cd3158b6347c04304f6a2e29644
[]
no_license
sourcery-ai-bot/dash
6d68937d225473d06a18ef64079a4b3717b5c12c
e1d1c3a601cd397d2508bfd4bb12bdb4e878cd9a
refs/heads/master
2023-03-07T17:15:39.174964
2011-03-01T17:11:21
2011-03-01T17:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
#!/usr/bin/env python # # Use doms.txt or nicknames.txt file to create a default-dom-geometry file and # print the result to sys.stdout # # URL: http://icecube.wisc.edu/~testdaq/database_files/nicknames.txt import sys from DefaultDomGeometry import DefaultDomGeometryReader, DomsTxtReader, \ NicknameReader if __n...
[ "dglo@icecube.wisc.edu" ]
dglo@icecube.wisc.edu
546d674261f3df935f47d76c22d816e02e5c5599
4e0ee2b68398a90b0986975f645350033a624558
/tests/onnx_resnet18/test_onnx_resnet18_int8.py
5c23ade3f33cd92e177415de06a1d717c36ea894
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kindsenior/nngen
697b80b32cf2b33e7f2c64e4d1a27eb2d739b30c
301b19b35e50174d8abb1a757b061ae80cdfe612
refs/heads/master
2022-09-21T05:53:34.565461
2020-05-03T14:58:19
2020-05-03T14:58:19
269,007,213
0
0
Apache-2.0
2020-06-03T06:26:43
2020-06-03T06:26:42
null
UTF-8
Python
false
false
2,129
py
from __future__ import absolute_import from __future__ import print_function import os import sys # the next line can be removed after installation sys.path.insert(0, os.path.dirname(os.path.dirname( os.path.dirname(os.path.abspath(__file__))))) import nngen as ng import veriloggen import onnx_resnet18 act_dt...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
82bb97b65913316755124594969ad638d47401ba
657a0e7550540657f97ac3f7563054eb4da93651
/Boilermake2018/Lib/site-packages/chatterbot/logic/low_confidence.py
bb8ebfd230f6cde219dcb021a1575d6b17714cb8
[ "LicenseRef-scancode-unknown-license-reference", "CC0-1.0" ]
permissive
TejPatel98/voice_your_professional_email
faf4d2c104e12be61184638913ebe298893c5b37
9cc48f7bcd6576a6962711755e5d5d485832128c
refs/heads/master
2022-10-15T03:48:27.767445
2019-04-03T16:56:55
2019-04-03T16:56:55
179,291,180
0
1
CC0-1.0
2022-10-09T13:00:52
2019-04-03T13:01:50
Python
UTF-8
Python
false
false
1,930
py
from __future__ import unicode_literals from chatterbot.conversation import Statement from .best_match import BestMatch class LowConfidenceAdapter(BestMatch): """ Returns a default response with a high confidence when a high confidence response is not known. :kwargs: * *threshold* (``float``)...
[ "tpa244@uky.edu" ]
tpa244@uky.edu
2395d2b12aae09a4d84ec5301df48e4ee082a499
c33e0ec5662dad35fae8e7f1c3638c728c6a626c
/diseno_naiandy.py
3bc3941b24c138dd26603fc26443b45b2b4ebff4
[]
no_license
Ivanjarv/NaiandyC
516445c5a860bfe8634ab6d6115a8eae3592e8d2
3fcfee7b7a51c5eac94d3f26bae6293ecd2ca340
refs/heads/main
2023-01-09T07:08:08.244458
2020-11-08T21:18:46
2020-11-08T21:18:46
311,152,796
0
0
null
null
null
null
UTF-8
Python
false
false
26,797
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # # generated by wxGlade 1.0.0a8 on Sat Sep 26 14:14:55 2020 # import wx class Entry(wx.Panel): def __init__(self, *args, **kwds): kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self.SetBackgr...
[ "jrvadez@gmail.com" ]
jrvadez@gmail.com
ed817dc1416c6f9ee3bd63420344cf905981be76
f8b77d8b7d90dabfa3b222116d9fe462d890e89b
/plans/fixed_ensemble_resnet_linear_4.py
53480a497b356b8478b73ceacb2478cfd372a96e
[ "BSD-2-Clause" ]
permissive
dbis-uibk/MediaEval2021
94e4041d6e82a28ceb95c68994808d0acc725915
14d754d9cea36415090aaa115db81f5ace465964
refs/heads/master
2023-08-27T19:12:17.758042
2021-11-03T12:12:57
2021-11-03T12:12:57
424,210,495
1
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
"""Ensemble plan manually split by type moode/theme.""" import json from dbispipeline.evaluators import FixedSplitEvaluator from dbispipeline.evaluators import ModelCallbackWrapper import numpy as np from sklearn.pipeline import Pipeline from mediaeval2021 import common from mediaeval2021.dataloaders.melspectrograms ...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
09d98803d9190b4e2b6db8953c989dbe125f17b9
77f794a8e2c915073f32b9278e7123b49af9b71f
/hm_12_列表的数据统计.py
84e6106b2aac6bcdc6269f43cfc6c01a3a7fe07a
[]
no_license
Chuxiaxia/python
5c1c1a3c511bce9bf527db151173f1a72742a024
b6408f2805bd890e09e1040a0b881bd3cddd4c0c
refs/heads/master
2020-04-24T09:33:05.746018
2019-02-21T13:40:20
2019-02-21T13:40:20
171,865,855
1
0
null
null
null
null
UTF-8
Python
false
false
438
py
name_list = ["Xey", "ajl", "安家樑", "Xey"] # len(length长度)函数可以统计列表中元素的总数 list_len = len(name_list) print("列表中包含%d个元素" % list_len) # count方法可以统计列表中某一个数据出现的次数 count = name_list.count("Xey") print("Xey出现了%d次" % count) # 从列表中删除第一次出现的数据,如果数据不存在程序会报错 name_list.remove("Xey") print(name_list)
[ "353091935@qq.com" ]
353091935@qq.com
1230bd8aea0ed2cf0e02c98811fd1bca3bac9353
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/smallestGoodBase/smallestGoodBase.py
0fc48f86b09d916c4865349241f9dfd2a7f0a365
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
843
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/smallest-good-base/ # Author: Miao Zhang # Date: 2021-02-15 class Solution: def smallestGoodBase(self, n: str) -> str: num = int(n) # n = 1 + k + k^2+....k^(m - 1) # i:m for i in range(int(mat...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
2e75f2970a695204c2cad568f28caace7e93c6bf
4834c27030b42cd710e9fd19c25f882a690cc734
/tools/vis.py
09d5d20f7597cb6909cf963d32a6d2442baf8394
[ "MIT" ]
permissive
Muphys/ship_detection
c80d348bc8d541100b2b871f4f6fe945698c6563
9e6ce6a11c51843ebb877e471546f15438b09718
refs/heads/main
2023-01-21T09:25:53.275309
2020-12-04T08:44:12
2020-12-04T08:44:12
318,425,830
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
import numpy as np import matplotlib.pyplot as plt # %matplotlib inline def get_data(str, tag): tmp = str.split(f"{tag}: ")[1].split(" ")[0] return float(tmp) if __name__ == '__main__': it = [] total_loss = [] loss_cls = [] loss_box_reg = [] loss_mask = [] loss_rpn_cls = [] loss_r...
[ "971199215@qq.com" ]
971199215@qq.com
5d8e997cb1f97285a004ae94b1041e7d033ef71e
54e9710eb0e8da36d420acf1d74426aaad4a85d0
/main.py
c86a5c77f47f45b54cdad4eeb7a2a15b37425004
[]
no_license
syedhassanabbas347/ADM-HW3
2fc632c26f8afff8d612de15b86b046a5637a8eb
f455a4ed5f2e5c7571d80a73dd3e60abec39efcf
refs/heads/master
2020-09-03T20:09:50.679499
2019-11-17T22:58:06
2019-11-17T22:58:06
219,557,215
0
0
null
null
null
null
UTF-8
Python
false
false
6,360
py
#!/usr/bin/env python # coding: utf-8 # In[32]: import urllib.request from bs4 import BeautifulSoup import requests import csv import pandas as pd import json import collections import math # we write routines functions that will clean our data # In[44]: # we load the dictionnary we just created with open('dic1....
[ "noreply@github.com" ]
syedhassanabbas347.noreply@github.com
a99d095a7e339d7dba315704bd84f046d2fd11f5
2a10ec3bc377beb0bfb0998b02ce2a0fab98ede0
/venv/Scripts/pip3-script.py
20403cd6bd20f168b34ece56f0949e0072b33b9d
[ "ISC", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Zlib", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSD-3-Clause", "OpenSSL", "MIT" ]
permissive
bopopescu/StockMarketGame
6a3dd8d22c23a9dafef6415000df1acd4d751923
48e777e1bda31c663c40fe18ff3229eeb2257b46
refs/heads/master
2022-11-22T10:08:18.542410
2019-11-10T01:54:43
2019-11-10T01:54:43
281,805,787
0
0
null
2020-07-22T23:42:10
2020-07-22T23:42:10
null
UTF-8
Python
false
false
424
py
#!C:\Users\estigum\Documents\GitHub\StockMarketGame\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "estigum@gmail.com" ]
estigum@gmail.com
ad03fec15fe1915e7eea4a6164a1ec3c19cc4515
12373d8a1dacbd7eb87d3af22d7f80b0cab7712e
/store_locator/asgi.py
c5389502121bb5c911bc96f3c8561a58fc320ac5
[]
no_license
mayurbiw/store_locator
e1672149a8bfd2751801919cde6e93ebcf9611ba
afec4b3dfc7db40731c8e39a288d9c60f9e5db39
refs/heads/main
2023-01-30T23:50:30.487494
2020-12-18T16:38:43
2020-12-18T16:38:43
319,128,325
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for store_locator 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "mayurbiw@gmail.com" ]
mayurbiw@gmail.com
b454e42a2bc91d38dbdb4c2052da1a603fdaf6db
4f026ddcf8f058d884f15259f0e42c2178eb2157
/clare/clare/application/factories.py
0dadccd763c699f4a366d61970db657bafff708f
[ "MIT" ]
permissive
dnguyen0304/roomlistwatcher
afd95e5f601f77fc8d7c4cd4307e60f36b53162c
7ac4d5172de22dd8906662da521995c8e06c2617
refs/heads/master
2021-01-20T22:55:04.289589
2017-11-16T04:09:49
2017-11-16T04:09:49
101,829,306
0
0
null
2017-11-16T04:09:49
2017-08-30T02:38:56
Python
UTF-8
Python
false
false
2,677
py
# -*- coding: utf-8 -*- import Queue import os import threading import uuid from . import applications from . import download_bot from . import room_list_watcher class Application(object): def __init__(self, infrastructure, properties): """ Parameters ---------- infrastructure ...
[ "dnguyen0304@gmail.com" ]
dnguyen0304@gmail.com
455f0eb252681dc48ed0c75166d18be7a3427598
d518877677fc47ec794bd52c874975ad05e35aba
/6.24/队列列表实现.py
72f7e5a091981d78b4988c7b0c0c2f2f49d8e222
[]
no_license
lulu-yaya/ds
ea0bfa5c9a612ecf2aefe74ddefb30b4fc2e3d16
b4353d11b21651d0f71922e41f0474fac4219b5d
refs/heads/master
2022-11-10T19:31:40.567789
2020-06-26T10:01:42
2020-06-26T10:01:42
275,071,405
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
class Queue: def __init__(self): self.enteries=[] self.length=0 self.front=0 def __str__(self): printed="<"+str(self.enteries)[1:-1]+">" return printed # 入队 def put(self,item): self.enteries.append(item) self.length +=1 # 出队,先进先出 def get...
[ "1319040466@qq.com" ]
1319040466@qq.com
3c23686db6886c323c64f68a9b984e0c008fc6a3
1383830de3ffb5cd88d82a124da502d0a4145a4e
/ANN-Lab2/CompLearning2D.py
906832a5177072a02e6f89efff4d6365e6875315
[]
no_license
ayoubbargach/ANN-Examples
5f835659d08235635809aef525b7e35181dcab57
bdbdd0188b6c641a9ef942b09e5e7854426d1f15
refs/heads/master
2020-04-02T03:59:52.841409
2018-10-21T10:07:52
2018-10-21T10:07:52
153,994,500
0
0
null
null
null
null
UTF-8
Python
false
false
9,207
py
import math import random import numpy as np import matplotlib.pyplot as plt import argparse from sklearn.neural_network import MLPRegressor np.set_printoptions(threshold=np.nan) #Always print the whole matrix def CL(RBF_Nodes, input_pattern, leaky = False): iters = 1000 cl_learning_rate = 0.25 for _ in range ...
[ "bargachayoub@gmail.com" ]
bargachayoub@gmail.com
215c8f57546333741fc0493c871ce51784463d85
0838c6d72c707380865767759bb47f084af361ab
/Multiples_of_3_and_5.py
4827b837aefa70113549e10897f61e5c972194c7
[]
no_license
gsmcclellan/project_euler
ecb4fc23bfc6e92eac23d7b37ba7d33890cadc02
4140bf5004fd5395c8625f7f0a0027fc049b7018
refs/heads/master
2021-01-19T11:34:19.079026
2013-09-22T03:55:47
2013-09-22T03:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
def sum_of_multiples(lower_limit, upper_limit): numbers = [x for x in range(lower_limit, upper_limit) if x % 3 == 0 or x % 5 == 0] sum = 0 for num in numbers: sum += num return sum sum = sum_of_multiples(1, 1000) print(sum)
[ "gsmcclellan@gmail.com" ]
gsmcclellan@gmail.com
4d04156b9c968e0dc15e18554f9ec5ba6c3673cc
07bfbab59aaf8b5d9853139a3c5a4c0ac0bdb6c4
/server/expedition_manager.py
e51490cfd9c52f61f09a93a4d1c63d553e94ec26
[]
no_license
AngXingLong/ict2x01-2019t1-team16
a45e9262f40a01e3f183a9d1293b2b61ad0503c5
1a4c042c46b39b2e44f32c4853dd935e71d4df9b
refs/heads/master
2022-12-09T07:03:45.895243
2019-11-28T12:54:23
2019-11-28T12:54:23
220,923,826
0
0
null
2019-11-18T09:06:46
2019-11-11T07:20:41
Python
UTF-8
Python
false
false
7,116
py
import mysql_helper from expedition import expeditionClass import user_manager import datetime import random import unittest """ Send in a User Object """ """ Author: Felix Wang Purpose: Returns a list of Expedition Objects Returns: List of Expedition Objects Parameters: hero_power_level ...
[ "leeyuma.ly@gmail.com" ]
leeyuma.ly@gmail.com
ff019f07eb5c8e7f8b76ea211847e34d492d6b19
ad06ae5cfcb8a30233d741a349fbcae47bdd67f6
/gwn/__init__.py
d49c771cd60ba3c8ea6f3fb723f58ee135f89829
[]
no_license
temiolugbade/GlobalWorkspaceNetwork
36d351e801ecd39e87e29a20a23ee57f3465a542
ef6f74740fe3b1062a41fcee95264ac381090e8e
refs/heads/master
2023-03-25T04:35:57.046662
2019-09-01T12:18:47
2019-09-01T12:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
# __init__.py # author: Cong Bao
[ "bao_cong@outlook.com" ]
bao_cong@outlook.com
776d1393cd969acc0453d91a41711836eed317e4
9483dd999c98dcfcd564e15eaa3182ea561a6ab3
/migrations/versions/97fd285963c7_.py
6524521410bb060f8fca5069fd2e55f00e244a76
[]
no_license
Rhpozzo/FlaskAPI
3ff441300b867fe728d5e25b3c3e2b45070e94b8
6748fa1376e3ca6659e082ff14e4cbde4a09018a
refs/heads/master
2021-07-02T21:43:19.909968
2020-01-24T01:37:41
2020-01-24T01:37:41
234,431,197
0
0
null
2021-05-06T19:58:20
2020-01-16T23:24:49
Python
UTF-8
Python
false
false
786
py
"""empty message Revision ID: 97fd285963c7 Revises: 540192f3b71d Create Date: 2020-01-18 20:07:20.091637 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '97fd285963c7' down_revision = '540192f3b71d' branch_labels = None depends_on = None def upgrade(): # ...
[ "guest_@Gabys-MacBook-Pro.local" ]
guest_@Gabys-MacBook-Pro.local
3ab2c27c1233ee479a6aa9263023772ffa279da1
ac53f97ed730da035a0decb391aef03528e0e628
/test.py
bc5babfe9c27e996599600c9590f076c717b805d
[]
no_license
jerryqypan/rl_rubiks
575a96e2c4d8c4fefecc2bdd6254b8cf685dd8aa
9710bfe8bebd7964174964b94ef3fc248b29f2d8
refs/heads/master
2021-08-29T14:12:15.028096
2017-12-14T02:45:12
2017-12-14T02:45:12
114,042,029
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
import random import numpy as np import pycuber as pc move = ["R","R'","R2","U","U'","U2","F","F'","F2","D","D'","D2","B","B'","B2","L","L'","L2"] shuffle = ' '.join(np.random.choice(move,20)) cube = pc.Cube() cube(shuffle) print(cube)
[ "qp7@duke.edu" ]
qp7@duke.edu
dabb78bebf00d0ba0d51170326598ab7bc9dadee
34a134afbbcd3aa242b1f6bd05dace8a390caf64
/src/ui/window.py
ccbf45f9c147111b406c849b0cd0929ba7bc3957
[ "MIT" ]
permissive
tulustul/MusicPlayer
ca6279fe114d7e2b4ac955015fbc72bf194f8953
e44ea89a00c3cf46936544e579191fbbf64b0417
refs/heads/master
2020-07-16T16:15:20.628072
2019-06-02T21:37:05
2019-06-02T21:37:05
73,945,357
4
0
MIT
2019-05-16T21:07:08
2016-11-16T17:44:50
Python
UTF-8
Python
false
false
3,132
py
import asyncio import curses import logging from typing import Dict, Optional, List import os from core import keyboard from core.config import config from . import colors from .renderer import Renderer from .components.abstract_component import AbstractComponent from .components.layout import Layout from .components...
[ "tulfm@poczta.fm" ]
tulfm@poczta.fm
74e2f3fa38eda7d3f367db73cc95cbfd4cf52c1c
a07103a8180702f1a835c17f06f2561755473dc6
/amazon_spider/middlewares.py
c9b05e691a663f4b7c3411f3f8e608fa09919ba9
[]
no_license
dejesusjmb/amazon_spider
245fc3f1362490aabc7aaa2daceffde8218f0b8a
38c51d43df3960501578e65ec73c5aaba9b18097
refs/heads/main
2023-06-16T18:36:33.974325
2021-07-02T10:12:56
2021-07-02T10:12:56
380,139,391
1
1
null
null
null
null
UTF-8
Python
false
false
3,660
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 AmazonSpiderSpiderMiddlewar...
[ "jdejesus@buildzoom.com" ]
jdejesus@buildzoom.com
35b1952b06b8274553605dae56d4b25d5da81a3d
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211116215222.py
58d5bb8d7d70ef65639f0d85425607bc5e56f6aa
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
11,136
py
import data as list_product import random import pandas as pd # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
e3b8d5850095b18d45030906c434323935662296
b76ead7d69245710beb9eba31c70804e3d32a3bc
/avro_extract.py
6063905d72469a16f2a4c519a663be3bd95c4303
[]
no_license
holbech/scrap_scripts
d4a01d9ddc6bdaa74aab50706d138b5f6a17d8b4
f41b9f3af939b9f4418d816a8209644893bf98e4
refs/heads/master
2022-04-27T16:44:44.518027
2022-03-08T18:29:35
2022-03-08T18:29:35
16,314,209
0
0
null
null
null
null
UTF-8
Python
false
false
4,881
py
#!/usr/bin/env python import argparse from collections import defaultdict from itertools import chain import sys from multiprocessing import Pool import fastavro as avro parser = argparse.ArgumentParser(description='Extracts fields from avro-files to tsv lines') parser.add_argument('filenames', nargs='+', help='if e...
[ "sh@realtime-targeting.com" ]
sh@realtime-targeting.com
bb9ac282b2774e54759acf1c0d583b248bd85841
0a08281fde5c5f37f9251c6e60e8a662a880b625
/timing_decode.py
35edefb77b07b0ce7359e484add7390c515a2c1b
[]
no_license
robzwolf/huffman
3f7c9b82354266363e10ffd57b5d5b4dabdfd651
0d51100e9a368a02d12899752a1f6c4f9c7cb4ce
refs/heads/master
2021-09-07T02:11:37.353223
2018-02-15T15:59:57
2018-02-15T15:59:57
120,305,463
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import huffman for i in range(1, 9): print("\nCalling encode(timing_{}.txt)...".format(i)) huffman.decode("timing_{}.hc".format(i))
[ "5098748+robzwolf@users.noreply.github.com" ]
5098748+robzwolf@users.noreply.github.com
b00220203fdd6ed05a580a478f9bdbb63a9ba0c2
1031f441f7077599ce0e74e53ee3b8828c2e50c4
/src/other/test_uni.py
f3da28a0afed2f0503577fd4d056a0d198199570
[]
no_license
Sejuapig/prod_log
22067a584781c21829f84550fa29c9a1fb9282d6
69f1a2aecf1488a5a5ca9c259b8234813bcd625c
refs/heads/master
2021-06-16T09:29:09.239012
2017-04-04T07:33:58
2017-04-04T07:33:58
81,428,272
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
import unittest,sys import connexion as connexion class premierTest(unittest.TestCase): """ Tests pour 1.py """ def test0(self): bd, cursor = connexion.run() cursor.execute("SELECT id_activity FROM activity where nom_activity ='Triathlon'") ...
[ "sejuapig@gmail.com" ]
sejuapig@gmail.com
33228e114bc20b0765bb650ad30f6d98a5f253bd
bfdc7a8c744375f734ab286098f87bc0b802bbe9
/patient/apps.py
69be906cb849a94acc39c04165642e78e1837278
[]
no_license
hopgausi/egpaf-project
a153444beb2daf8c553d0d76898636a478329a6b
87df3dcca0b6c1a960f1dff9efc4a93fdd0fbdee
refs/heads/main
2023-03-01T18:43:31.542909
2021-02-11T01:57:22
2021-02-11T01:57:22
337,459,906
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class patientConfig(AppConfig): name = 'patient'
[ "jspyhack@gmail.com" ]
jspyhack@gmail.com
a819988d7ff2b5dd395cdf6647f534d1e2bd76d9
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/External_Libraries/Archives/boost/tools/build/v2/test/test2.py
cb74b851f46253b5bae80ccdd8ca872abd5ef6de
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
Python
false
false
471
py
#!/usr/bin/python from BoostBuild import Tester, List from time import sleep t = Tester() t.set_tree("test2") t.run_build_system("-sBOOST_BUILD_PATH=" + t.original_workdir + "/..") file_list = 'bin/foo/$toolset/debug/runtime-link-dynamic/' * List("foo foo.o") t.expect_addition(file_list) t.write("foo.cpp", "int m...
[ "quhang@stanford.edu" ]
quhang@stanford.edu
28d7344bcf92d96c8e335aa3a125aa44f7ff2ff3
1a60dbe9eafd5e7fbae95d10ecd1255dff0f6cd8
/stdlogger/outputs/file.py
35671977237c0825543299cb0751ce801b5973be
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
verm666/stdlogger
2dacc9ba49707d6dd722e838ea41745b6dcdd022
8208730d50dce52671d92d1c43ac8b631ec11a02
refs/heads/master
2021-01-15T22:28:56.427660
2011-09-26T20:28:38
2011-09-26T20:28:38
2,327,133
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from threading import Thread import os import time class Output(object): """ Class for redirect logs to file. """ def __init__(self, **kwargs): # set filename if 'filename' not in kwargs: ...
[ "verm666@gmail.com" ]
verm666@gmail.com
04a0ae35c0b49d0518e6a68d481f6e317f214115
3a8c2bd3b8df9054ed0c26f48616209859faa719
/Challenges/surroundedRegions.py
570dcbb6b411e6fd035814e01998a9a4779b635f
[]
no_license
AusCommsteam/Algorithm-and-Data-Structures-and-Coding-Challenges
684f1ca2f9ee3c49d0b17ecb1e80707efe305c82
98fb752c574a6ec5961a274e41a44275b56da194
refs/heads/master
2023-09-01T23:58:15.514231
2021-09-10T12:42:03
2021-09-10T12:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
""" Surrounded Regions Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded region. Example: X X X X X O O X X X O X X O X X After running your function, the board should be: X X X X X X X X X X X X X O...
[ "bennyhwanggggg@users.noreply.github.com" ]
bennyhwanggggg@users.noreply.github.com
3d59814cd8d4c6d2a9fc0c9ed16e2cddfe7045f4
e44674fc2960c62812eeaa4232b6829b0273a1d0
/attacks/cw_l2.py
7f1445d77d8c3e3f4018628be21d15a047750f37
[ "MIT" ]
permissive
psturmfels/adversarial_faces
890190582e158f2faa8550961b4420898a623953
e193a8a5b16a1085ddfe52150aa7f7a57bfa7a31
refs/heads/master
2023-01-28T09:32:02.861184
2020-12-04T00:00:32
2020-12-04T00:00:32
242,216,749
0
0
null
null
null
null
UTF-8
Python
false
false
5,664
py
""" Implements the L2 version of the Carlini-Wagner attack. Ported into TensorFlow 2.0 from: https://github.com/carlini/nn_robust_attacks/blob/master/li_attack.py and https://github.com/bethgelab/foolbox/blob/3999d4334969b7d3debdf846f3f0965eb9032013/foolbox/attacks/carlini_wagner.py """ import tensorflow as tf import ...
[ "psturm@cs.washington.edu" ]
psturm@cs.washington.edu
7b11a37746ad28f3e18303de213f4beb2bbb4404
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/SimTotem/RPTimingDetectorsDigiProducer/python/BeamMisalignmentFinder.py
3ff7d944d97f722285c3413832867036093dcd54
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
6,414
py
import ROOT import os import argparse import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit from scipy import exp parser = argparse.ArgumentParser(description='Finds beam misaligned between given template and misaligned ntuple') parser.add_argument('template_file', metavar='template_f...
[ "eliza@cern.ch" ]
eliza@cern.ch
dece0de38d388908615b7dfa117a5a0a64cc883f
fe40fb53bdeb3d693174a57fe336503e92fe299b
/eheritage/utils.py
f8dbc0756aecfe7426966fb4198086045afbacea
[ "BSD-2-Clause" ]
permissive
uq-eresearch/eheritage
8c8d096d43888e6e41fbbacdf55f2c6808bace27
e4a2f01c56d438d8b3f4de63d50d979a8105d652
refs/heads/master
2022-07-18T19:21:53.224175
2016-08-05T02:40:08
2016-08-05T02:40:08
18,045,275
0
0
BSD-3-Clause
2022-07-06T19:49:44
2014-03-23T22:33:56
HTML
UTF-8
Python
false
false
281
py
from flask.json import JSONEncoder class IterableAwareEncoder(JSONEncoder): def default(self, o): try: iterable = iter(o) except TypeError: pass else: return list(iterable) return JSONEncoder.default(self, o)
[ "damien@omad.net" ]
damien@omad.net
d79cce936c0204d7a981d5be8ec0003d8e75651e
84dc366925e685fb36ad06ccda4678ee0e0e6f6c
/CModule_Pytorch/utils/utils.py
bd8c4dce524f98ffb38a73116b3e6a138697d6c5
[]
no_license
thanhpt55/Efficientnet-Pytorch
def9ea6dd6726034a6f514b8a7729077767b7977
40648b9d8ed5ea4d9c5ecbb73eead24652fc23c2
refs/heads/master
2022-12-21T20:41:22.919313
2020-09-18T03:32:58
2020-09-18T03:32:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,993
py
from torchvision import transforms import sys import os import torch.nn as nn import torch.nn.functional as F import torch import numpy as np import skimage from prettytable import PrettyTable from gpuinfo import GPUInfo import cv2 import json def set_GPU(num_of_GPUs): current_memory_gpu = GPUInfo.gpu_usage()[1] ...
[ "turing@emageai.com" ]
turing@emageai.com
22274fc64978d6fbf2abfb1060b193c21cbe7bf9
14bfd073b8ddb556acdc2fee88f88c0b30d3a745
/store/migrations/0002_variation.py
77690a2c7ab7caca20c48db8444cad87afdd5e80
[]
no_license
thilanse/greatkart-django
e29c45244e9e6c7f25c0c3de4642ecfbe86f2d31
44c2d6cd476f700e75104605c142b7ea3f75b571
refs/heads/master
2023-05-31T12:35:13.613769
2021-06-20T06:31:11
2021-06-20T06:31:11
372,538,602
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# Generated by Django 3.1 on 2021-06-06 07:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('store', '0001_initial'), ] operations = [ migrations.CreateModel( name='Variation', f...
[ "thilansenanayake@gmail.com" ]
thilansenanayake@gmail.com
c75f937366c08e5b63af4b9e6aefd59a0a5c040f
25621da01d7193f6ae847953937b18c095d32258
/plugins/operators/load_fact.py
ebf85cdd6cf797b3b9308c21d73a2e48374e61d4
[]
no_license
fpcarneiro/data-pipelines-with-airflow
95de37b231a1c95414661db726847616051e995d
e477930e2817ad4d41f09148e8dbb975232b4434
refs/heads/master
2020-07-24T10:57:58.283392
2019-09-17T18:07:38
2019-09-17T18:07:38
207,901,219
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class LoadFactOperator(BaseOperator): ui_color = '#F98866' @apply_defaults def __init__(self, # Define your operators params (with defaults) he...
[ "fpcar@yahoo.com.br" ]
fpcar@yahoo.com.br
a40004ba548e520cede3f28efbf8c20e012e0185
373cd41477438cc8826cd2a2f8689be84f486339
/msticpy/config/ce_data_providers.py
461dd3a6013e76b92a7875acbbc937f2d5327b61
[ "LicenseRef-scancode-generic-cla", "LGPL-3.0-only", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "ISC", "LGPL-2.0-or-later", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "LGPL-2.1-only", "Unlicense", "Python-2.0", "LicenseRef-scancode-python-cwi", "MIT", "LGPL-2.1-or-later", "GPL-2....
permissive
RiskIQ/msticpy
cd42d601144299ec43631554076cc52cbb42dc98
44b1a390510f9be2772ec62cb95d0fc67dfc234b
refs/heads/master
2023-08-27T00:11:30.098917
2021-06-17T22:54:29
2021-06-17T22:54:29
374,787,165
1
0
MIT
2021-09-16T19:05:43
2021-06-07T20:05:09
Python
UTF-8
Python
false
false
1,049
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- """Data Pr...
[ "noreply@github.com" ]
RiskIQ.noreply@github.com
367cdaa2588a8d236c60d962af442c3a618499d2
aecaa97a62610a8821c6b9991eb2a9e6af056922
/backend/wallet/transaction.py
23985990776c99e5ab1e38bc72dc35a1c15e4248
[]
no_license
shanni12/Blockchain
b720385113a2556ac25545c15b870afcac922c2c
331faaab253c2e8baf040068931a60ac23224eec
refs/heads/master
2022-11-25T07:53:32.200270
2020-07-30T17:34:43
2020-07-30T17:34:43
283,831,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
import uuid import time from backend.wallet.wallet import Wallet from backend.config import MINING_REWARD,MINING_REWARD_INPUT class Transaction: def __init__(self,sender_wallet=None,recipient=None,amount=None,id=None,output=None,input=None): self.id=id or str(uuid.uuid4())[0:8] self.output=output or...
[ "sdshahanaj180@gmail.com" ]
sdshahanaj180@gmail.com
03de0fc83a788151f867f5df447891d4ac6214e8
bc759393672f8e2bf40136691460713ea7ba2e97
/robocar/distance_sensor2.py
0d4faea2a8d84d1c264f7f0bfff1301bdf924ab3
[]
no_license
gordongekko67/robocar
3c98a2f6f04fd9a8b3d9f12450fbfa446ded88db
7d6fbdc2ea57cbc46597458356aa499e40fdb7bd
refs/heads/master
2022-12-17T18:11:12.889197
2020-09-10T10:47:39
2020-09-10T10:47:39
294,380,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
#!/usr/bin/env python # license removed for brevity import rospy from std_msgs.msg import String import RPi.GPIO as GPIO import time # GPIO Mode (BOARD / BCM) GPIO.setmode(GPIO.BCM) # set GPIO Pins GPIO_TRIGGER = 20 GPIO_ECHO = 21 # set GPIO direction (IN / OUT) GPIO.setup(GPIO_TRIGGER, GPIO.OUT) GPIO.setup(GPIO_ECH...
[ "noreply@github.com" ]
gordongekko67.noreply@github.com
4b73eae85e7d5060c6775ebd859a11f41185e949
ee489a6f449d4a26bb64510e8f1bc7f03f3b090a
/description.py
429a125e7397d3d647bc4269c5c8efdd5ff73633
[]
no_license
eduardo-and/Normalize-Data
dd922d37cb39420514b771e18123c97799b60fb4
5e70466cb8521182f81481c1cad9588df0f04f99
refs/heads/master
2022-11-04T19:25:16.134886
2020-06-19T00:45:47
2020-06-19T00:45:47
273,363,098
0
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
import normalization as norm import pandas as pd import numpy as np # # The library performs data normalization using two techniques, "0 to 1" and score-z. The function accepts the following entries: list, DataFrame pandas, # Series pandas, and numPy array. The format of the output is the same as the input. If the dat...
[ "eduardo.ufg@hotmail.com" ]
eduardo.ufg@hotmail.com
c4ceb5f6147352218943fd33a4665c65102248ef
68103b6b90dad4661d1663c9cbc051210aa6018f
/bookmanage3/book3/apps.py
08a1f4cd71c02b6b60d455e53bb46b9f4b1ad67f
[]
no_license
tiantao-94/python01
c45aeca2a79c2c7dfa33a8a155a21c7333cda695
2404003a80db330543b327c7c1e0b5bb57addd6d
refs/heads/master
2022-12-21T07:52:37.142300
2020-09-27T15:05:10
2020-09-27T15:05:10
297,329,032
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class Book3Config(AppConfig): name = 'book3'
[ "1595328432@qq.com" ]
1595328432@qq.com
2cce3230a7c808e0ea29c2bc2a6e9d058a134ed0
9872c2c3206f1f67c72eb530a6e6446dff952872
/PROCESS_GiftMaster.py
cf868d424d6584d1ad9265f927981a594fbfc16a
[]
no_license
saikatsengupta89/TTS
4a7f15b46367cddbe62753caba14cf2d452d9cd9
8a38c908e1ae2e06b6e7f15be8cc3330d10a0ad1
refs/heads/main
2023-03-06T22:11:50.309639
2021-02-13T21:14:35
2021-02-13T21:14:35
326,279,964
0
0
null
null
null
null
UTF-8
Python
false
false
2,372
py
# Databricks notebook source import pandas as pd import numpy as np from pyspark.sql import types from pyspark.sql.functions import col pathGiftMaster="/mnt/adls/TTS/raw/monthly/gift_master/" pathPRCGiftMaster='/mnt/adls/TTS/processed/references/ref_gift_master' #reading the latest article master from the raw layer i...
[ "noreply@github.com" ]
saikatsengupta89.noreply@github.com
53184abe0b9d0cc7e28ab1ab15066c700988bf39
22bcb68759d516eea70d18116cd434fcd0a9d842
/scrap/booksadda_scrap.py
f8cbcbef3fd0f32b0ab736622fb7afee1cde6327
[]
no_license
lovesh/abhiabhi-web-scrapper
1f5da38c873fea74870d59f61c3c4f52b50f1886
b66fcadc56377276f625530bdf8e739a01cbe16b
refs/heads/master
2021-01-01T17:16:51.577914
2014-10-18T15:56:42
2014-10-18T15:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,758
py
import downloader import dom import urllib import re import time import datetime import simplejson as json import pymongo from collections import defaultdict import util siteurl='http://www.bookadda.com/' books=[] book_urls=set() logfile=open('bookadda_log.txt','w') dl=downloader.Downloader() ...
[ "lovesh.bond@gmail.com" ]
lovesh.bond@gmail.com
be0b1ecda58d90e672c985713d33a45eff2bee10
0a2c84d6c7e0f65d98ebf8c899b5b357d60a4f84
/all_ticker_details.py
0c5944bf0fc9ca2131b3fb6813c53803b58db032
[]
no_license
Xelanor/StockNinjaPython
6dcff3c2345d2516a45843b188f0b8660f4fe74d
8e01b11fcbd0dc4254b5bc18e2a1ad9469c17ede
refs/heads/master
2020-11-24T15:45:26.520563
2020-02-01T05:43:58
2020-02-01T05:43:58
228,224,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
from constants.tickers import tickers import json import utils def fetch_all_stocks(): result = [] stock_names = ",".join(tickers) stocks_data = utils.get_current_tickers_data(stock_names) negative = 0 total = 0 for data_dict in stocks_data: price = data_dict["regularMarketPrice"] ...
[ "44201710+Xelanor@users.noreply.github.com" ]
44201710+Xelanor@users.noreply.github.com
71fa92b615354dcd3f6006400b3a7a0539adb78f
cbb2be6194ef23dbedef9a69732b210b54c8f03b
/users/admin.py
6de27bc5d23f660edec618ac95a1581c5a3a16e3
[]
no_license
cavblk/pub-net
28bd7e25e26ff61115dbd29a9d7e5add0fc7b458
4b2ff6eaae448028135102e7c11c3cb1c1456907
refs/heads/master
2023-04-20T13:27:39.145232
2021-05-10T12:32:51
2021-05-10T12:32:51
365,173,363
2
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.utils.translation import gettext_lazy as _ from django.urls import path from users.models import AuthUser from users.forms import UserCreationForm # Register your models here. @admin.register(AuthUser) class ...
[ "mihai@academicmerit.com" ]
mihai@academicmerit.com
ecffd0cb40db3a2541dd08f1f6cbc13ea53320ed
ed0dd577f03a804cdc274f6c7558fafaac574dff
/python/pyre/weaver/mills/CxxMill.py
d5307d0adaae8fcbb9fa32dd74b5c3f627978cec
[ "Apache-2.0" ]
permissive
leandromoreira/vmaf
fd26e2859136126ecc8e9feeebe38a51d14db3de
a4cf599444701ea168f966162194f608b4e68697
refs/heads/master
2021-01-19T03:43:15.677322
2016-10-08T18:02:22
2016-10-08T18:02:22
70,248,500
3
0
null
2016-10-07T13:21:28
2016-10-07T13:21:27
null
UTF-8
Python
false
false
701
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~...
[ "zli@netflix.com" ]
zli@netflix.com
d4adbe198d9a9e8a3154b16d3b046067822802d5
2836c3caf8ca332635640a27254a345afd449081
/iem/regain_hour_map.py
b88680e83d256a083176bb0d735984295da3bb65
[ "Apache-2.0", "MIT" ]
permissive
akrherz/DEV
27cf1bac978a0d6bbfba1851b90d2495a3bdcd66
3b1ef5841b25365d9b256467e774f35c28866961
refs/heads/main
2023-08-30T10:02:52.750739
2023-08-29T03:08:01
2023-08-29T03:08:01
65,409,757
2
0
MIT
2023-09-12T03:06:07
2016-08-10T19:16:28
Jupyter Notebook
UTF-8
Python
false
false
1,689
py
"""Plot the scam that is DST""" import ephem import mx.DateTime import tqdm from pyiem.plot import MapPlot def compute_sunrise(lat, long): arr = [] sun = ephem.Sun() ames = ephem.Observer() ames.lat = lat ames.long = long sts = mx.DateTime.DateTime(2018, 3, 10) interval = mx.DateTime.Rel...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
e2707cb27cb58cb71c2bbf62349e32ddf30f03e5
12c371e397a00af391b796ae592a54794afdf42d
/code/FEMDataExtraction/test/testlish.py
e59e4bf12f81fcda546fe4e8112decd5486aea97
[]
no_license
zhaoweisonake/FFR_FlexibleBody
feefa5367c908c4ce98b43b6a8a652a9d939ecad
2a0554b5d0a0e1b0956892e1f8a335df194f45f7
refs/heads/master
2020-05-15T03:49:59.549201
2015-09-04T14:03:48
2015-09-04T14:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
with open('testRead.txt') as input_data: # Skips text before the beginning of the interesting block: for line in input_data: if line.strip() == 'Start': # Or whatever test is needed break # Reads text until the end of the block: for line in input_data: # This keeps reading the file...
[ "wangzhanrock@gmail.com" ]
wangzhanrock@gmail.com
71b73dbd03f5e6c2ae9f74bb922c758bf2c94fd9
71de5c4d038a470ba80bd978303a2f4438d6b7c8
/PyPoll/main.py
267bd771f8fff1291489044373f2725db6275797
[]
no_license
tardis123/python-challenge
463526c5b133cc9a81df5882cc50d2e3ca02c2fc
7f96d9b18cd0aefc9d7bdd14a4bd1cb40f7e48a7
refs/heads/master
2021-04-03T21:06:56.355730
2018-03-12T23:38:15
2018-03-12T23:38:15
124,706,288
0
0
null
null
null
null
UTF-8
Python
false
false
2,728
py
# Dependencies import os import csv #Ask which file should be analyzed (file must be in csv format) input_file = input("Enter the name of the file you want to analyze (without extension, must be csv file) : ") + ".csv" # Set file path (input file should be located on the same level as the folder raw_data) csvpath = o...
[ "renevenema@gmail.com" ]
renevenema@gmail.com
a705dfd941c63c982c157e1239484d4cc9ee5a5c
2417cdceb80e884ebc997c00a4203202e1e4bfe6
/src/754.reach-a-number/754.reach-a-number.py
572f45835d3ac931f4194b8582087266fa8bc01a
[ "MIT" ]
permissive
AnestLarry/LeetCodeAnswer
20a7aa78d1aaaa9b20a7149a72725889d0447017
f15d1f8435cf7b6c7746b42139225e5102a2e401
refs/heads/master
2023-06-23T07:20:44.839587
2023-06-15T14:47:46
2023-06-15T14:47:46
191,561,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
# # @lc app=leetcode id=754 lang=python3 # # [754] Reach a Number # https://leetcode.com/problems/reach-a-number/discuss/410112/Python-Solution # @lc code=start # You are standing at position 0 on an infinite number line. There is a goal at position target. # On each move, you can either go left or right. During the ...
[ "anest@66ws.cc" ]
anest@66ws.cc
0099a17b3d889215f6691b3cf3cf8b91a101bab1
05b4fc99b193530db6609e1eca1226ad9205e839
/CalUsingifelse.py
1705d0b8811cdf4a2856a92765088c4224a003b9
[]
no_license
hemanth1011/coding-dump
c5dc26ec684a911972765a8f88c4d19681285e31
91a6b5d2c455e1c0cce8be12eaa503b96abf2b35
refs/heads/master
2020-06-22T19:00:23.906974
2019-07-25T06:02:38
2019-07-25T06:02:38
197,781,716
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# Note : there is no switch case in python. so, here im using if and if-else statements. #--------------------------------------------------------------------------------------- a = input("Enter first number") b = input("Enter second number") op = input("Enter opertion from below \n+\n-\n*\n/\n") if(op=="+"): ...
[ "hemanthmanikantabunga@gmail.com" ]
hemanthmanikantabunga@gmail.com
5b55fd22321c6012af593f2b24bd9b3c94ac8bc7
7003c85d303f0f18558cff629acebeed8e0893e4
/Algo/Divide and Conquer/isMajority.py
14401d728c2d8a0463eb10adf44cca6a502886f3
[]
no_license
hardik96bansal/Algorithm-DS-Practice
6e2e9b63df4487058483133a19534815a49c4b2e
eb2c0d0d21f4cd1fee00eaa2988d20da9c496dc1
refs/heads/master
2023-04-30T06:52:05.994755
2023-04-17T13:09:55
2023-04-17T13:09:55
241,435,628
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
def isMajority(arr,num): firOcc = firstOccur(arr,num,0,len(arr),-1) n = len(arr) if(firOcc == -1 or firOcc>n//2): return False if(arr[firOcc+n//2]==num): return True else: return False def firstOccur(arr,num,l,r,i): if(r>l): mid = (l+r)//2 if(arr[mid] == ...
[ "hardik96bansal@gmail.com" ]
hardik96bansal@gmail.com
13c9e664f8305eab4364a967fcda8656ceb1630b
b41fd68840e7345066189d76a3ecdd7d7c00a67f
/food_tracker/food/views.py
53455d90e81e93d7cce666ea936343808ab8d9f0
[]
no_license
AlexisAguiluz/food_tracker
34064635d0260bd4143d5f0338b25201b96c1efb
ab3024af7eaffaa3a30f13761893c9b3460dbf53
refs/heads/master
2020-09-21T21:59:24.618266
2019-11-30T02:13:54
2019-11-30T02:13:54
224,947,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
from django.shortcuts import render from django.http import HttpResponse from .models import Food, Meal from django.http import HttpResponseRedirect from django.urls import reverse_lazy from .forms import MealForm def index(request): template = 'list.html' meals = Meal.objects.all() context = { 'meals'...
[ "noreply@github.com" ]
AlexisAguiluz.noreply@github.com
bc518a828d6081912b765f39a3b95bd87e6fbcf1
bc1c3b7386b80c8aa1ee9660606084aacf499e93
/Bronze II/2309.py
6046624080cc3e450a4191c11bcbc546e2e9ae02
[]
no_license
Thesine/BOJ_Sine
ad93bcd47f622cb68ae794fbd70c3b73044c76aa
4bde63726c0f14e9dea30eeb5d262039509b9e8b
refs/heads/master
2022-11-05T01:22:55.674606
2020-07-15T07:14:49
2020-07-15T07:14:49
265,505,315
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
l = [] for i in range(9): l.append(int(input())) sum = 0 l.sort() for i in l: sum += i for i in l: if len(l)==7: break for j in l: if i+j == sum-100: l.remove(j) l.remove(i) break for i in l: print(i)
[ "noreply@github.com" ]
Thesine.noreply@github.com
dd2f007d5531fe7a3a72581701ad253e6d6eb614
9815041feb5bd2a89e39d86e544ca44c2e17e318
/config/settings.py
fdd605a6aef832ee03fc0708d15aa8ca4282d1b3
[]
no_license
raimbaev223/django-docker-postgres-template
5ecb62fdc57bb3af77815c3c4d1f03c98d0fdaf3
f97449cf90b87daed374576ba52e545fc1694be0
refs/heads/master
2023-04-03T05:22:38.668148
2021-04-05T10:47:52
2021-04-05T10:47:52
354,720,373
0
0
null
null
null
null
UTF-8
Python
false
false
3,247
py
""" Django settings for djangoforprofessionals_ch3 project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings...
[ "raimbaev.223@gmail.com" ]
raimbaev.223@gmail.com
8539aa648cbcf6f39e0fe38345d487fbf450fffa
bb1118b2bf391af6671c55e68121e64795791411
/week2/asig2/pa2-autocorrect-v1/python/StupidBackoffLanguageModel.py
58980bce15b3805309d064eb0dcfda14e0b21bb6
[]
no_license
jdcheesman/python-nlp
5dbe65252755d205f287a90ef6c08c545936393a
fac11bf5fac5323031e7e11b9609f31584412b99
refs/heads/master
2020-05-29T22:37:50.739462
2012-06-14T15:29:24
2012-06-14T15:29:24
3,726,555
1
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
import math class StupidBackoffLanguageModel: unigrams = dict() bigrams = dict() total_tokens = 0 total_vocab = 0 def __init__(self, corpus): """Initialize your data structures in the constructor.""" # TODO your code here self.train(corpus) def train(self, corpus): """ Takes a corpus an...
[ "jim.cheesman.work@gmail.com" ]
jim.cheesman.work@gmail.com
a07324a9d67bfb019bf47a4e379d797eab6ed5f3
728f639b8d536348e200a6c6b8dfd3e70a781d85
/HTMLTestRunner测试报告&unittest/可以复用项目/webTest/comm/common.py
967c849ad0793853febfe741f742e28639cee19c
[]
no_license
jingshiyue/my_dict_forPython
00adad2a1492b7ecff66a3de44793f17682aaea6
7a0da28d68eb130e62d196467d0ef0ee3d8ebf95
refs/heads/master
2023-04-05T18:29:36.707082
2023-03-30T10:30:13
2023-03-30T10:30:13
192,511,669
0
0
null
null
null
null
UTF-8
Python
false
false
7,436
py
# -*- coding:utf-8 -*- import os import readConfig as readConfig from xlrd import open_workbook from xml.etree import ElementTree as ElementTree from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from comm.webDriver import MyDriver as Driver import time import comm.runSet as r...
[ "173302591@qq.com" ]
173302591@qq.com
3f2b9edec5b874889539962e8060e37f70b0e80b
ce03246acb0759c698b096430d7a3d8f5bf2be41
/ups/migrations/0007_auto_20141230_1451.py
58635d7a6754e9715c1a9fe260444855b77f4b1d
[]
no_license
grovesr/mirai-clinical-ups
07b8f8f9b596fdad26f81622b1baec972d7bc9bb
89db247b3ac4431859dd65c3582a4840c3809483
refs/heads/master
2020-05-17T04:12:50.973958
2015-02-23T12:49:48
2015-02-23T12:49:48
28,535,784
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('ups', '0006_auto_20141230_0814'), ] operations = [ migrations.AlterFie...
[ "grovesr1@yahoo.com" ]
grovesr1@yahoo.com
09cebb2e4a74f46e415c95b46e898d0f613ea202
1dae87abcaf49f1d995d03c0ce49fbb3b983d74a
/programs/subroutines/Grav Comp Ramp.sub.py
d53530d7c120d2b2fbd9cc6eeda242696b5c8d6d
[]
no_license
BEC-Trento/BEC1-data
651cd8e5f15a7d9848f9921b352e0830c08f27dd
f849086891bc68ecf7447f62962f791496d01858
refs/heads/master
2023-03-10T19:19:54.833567
2023-03-03T22:59:01
2023-03-03T22:59:01
132,161,998
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
prg_comment = "" prg_version = "0.5.1" def program(prg, cmd): prg.add(0, "Grav Comp", 0.000000) return prg
[ "carmelo.mordini@unitn.it" ]
carmelo.mordini@unitn.it
8a6f89c809cc96aab322db6b24f652d3838b3138
487fb49582444005fd55158b22b1428b8146adf4
/models/resnet.py
11f4cf9e8341e90600c0c78c9b3cd99c77f7d32e
[]
no_license
speciallan/BCNN
c7a7374931b581c73b8b24ec5e31b77578bdf6b0
6964181acb35c3005f65fb0aa38263a986efcaf0
refs/heads/master
2020-09-21T18:18:03.819322
2019-12-23T12:19:25
2019-12-23T12:19:25
224,879,530
0
0
null
null
null
null
UTF-8
Python
false
false
22,474
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author:Speciallan """ResNet, ResNetV2, and ResNeXt models for Keras. # Reference papers - [Deep Residual Learning for Image Recognition] (https://arxiv.org/abs/1512.03385) (CVPR 2016 Best Paper Award) - [Identity Mappings in Deep Residual Networks] (https://arxiv.org/...
[ "350394776@qq.com" ]
350394776@qq.com
6c0c670495008cbd06140f21e047f3da7ee7a9c9
6ceea2578be0cbc1543be3649d0ad01dd55072aa
/src/examples/elphf/diffusion/mesh1D.py
b8a851a3a7a81fb4e593b52c70dcb733f0cf0331
[ "LicenseRef-scancode-public-domain" ]
permissive
regmi/fipy
57972add2cc8e6c04fda09ff2faca9a2c45ad19d
eb4aacf5a8e35cdb0e41beb0d79a93e7c8aacbad
refs/heads/master
2020-04-27T13:51:45.095692
2010-04-09T07:32:42
2010-04-09T07:32:42
602,099
1
0
null
null
null
null
UTF-8
Python
false
false
6,365
py
#!/usr/bin/env python ## # ################################################################### # FiPy - Python-based finite volume PDE solver # # FILE: "mesh1D.py" # # Author: Jonathan Guyer <guyer@nist.gov> # Author: Daniel Wheeler <daniel.wheeler@nist.gov> # Author: James Warren <jwarren@nist.gov> ...
[ "regmisk@gmail.com" ]
regmisk@gmail.com
b4e3ece9d63cafcc0094b68b757097aa4f19d1a0
6c00499dfe1501294ac56b0d1607fb942aafc2ee
/eventregistry/Query.py
b5101c6dd57c31efc43c5f5eb21add58b4e548fd
[ "MIT" ]
permissive
EventRegistry/event-registry-python
dd692729cb5c505e421d4b771804e712e5b6442b
bf3ce144fa61cc195840591bae5ca88b31ca9139
refs/heads/master
2023-07-06T11:04:41.033864
2023-06-23T08:40:31
2023-06-23T08:40:31
40,995,963
176
48
MIT
2020-10-21T09:17:06
2015-08-18T20:29:23
Python
UTF-8
Python
false
false
16,151
py
from .Base import QueryParamsBase, QueryItems import six, datetime from typing import Union, List class _QueryCore(object): def __init__(self): self._queryObj = {} def getQuery(self): return self._queryObj def setQueryParam(self, paramName, val): self._queryObj[paramName] = val...
[ "gleban@gmail.com" ]
gleban@gmail.com
4f1582bbf56436afb92f7af0ff6c1f673aacefc3
d625191d67030c8008e3e60264ca0cfe7c0cb3d9
/test_rollsum.py
4274b65a958c8d4bc6318aa82d0f5e8c30644cf2
[ "MIT" ]
permissive
pombredanne/camlipy
be809215e6aa562eb4e694fc40131b921dd94178
e17069e5609e5ca93baf7a484eb5975ab230d06f
refs/heads/master
2021-01-17T14:04:32.471174
2013-10-02T20:31:51
2013-10-02T20:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
# -*- coding: utf-8 -*- __author__ = 'Thomas Sileo (thomas@trucsdedev.com)' import random from camlipy.rollsum import Rollsum, WINDOW_SIZE def test_rollsum(): buf = [] for i in range(100000): buf.append(random.randint(0, 255)) def rsum(offset, length): """ Test function that returns Rol...
[ "thomas.sileo@gmail.com" ]
thomas.sileo@gmail.com
b5d487b81b641cc90591376e94929e2e5628c3a1
bb4d490ee0af38c02ff5ab324a69a47a5df58acc
/recomendr/wsgi.py
9dab3d4f4fcdc4d318faf3ee77b21612cced267f
[]
no_license
courageousillumination/recomendr
e0c56a68fce3477ae365d0f8751bf15237e1ee5b
279d0571dd4560f788e50a32ac45a1a4086e0c50
refs/heads/master
2016-09-01T18:10:59.458408
2014-05-10T18:30:59
2014-05-10T18:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
""" WSGI config for recomendr project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "tristanr93@gmail.com" ]
tristanr93@gmail.com
f2b143296fbea3999a82fe232f7a8f0538481cb9
87921ae417ff1e47a086ce03747509666f9d1dd0
/ServerConsole/test/retstat.py
5a48298d0ef99fae9aa00beb0e705731f6a3f829
[]
no_license
Demon-HY/monitor-history
f7e0ad0f0763a22d4afabc99ed049a634ba4790b
1c268d1704a87bd9369e93e5afb68e0dea6a3f59
refs/heads/master
2021-06-13T16:55:00.595005
2017-04-11T03:47:37
2017-04-11T03:47:37
75,525,738
1
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
# coding:utf8 # System Error OK = "OK" # 错误码:参数错误 ERR_BAD_PARAMS = "ERR_BAD_PARAMS" # 错误码:无访问权限 ERR_FORBIDDEN = "ERR_FORBIDDEN" # 错误码:非法JSON串 ERR_INVALID_JSON = "ERR_INVALID_JSON" # 错误码:资源不存在 ERR_NOT_FOUND = "ERR_NOT_FOUND" # 错误码:无法解析post数据 ERR_READ_POST_EXCEPTION = "ERR_READ_POST_EXCEPTION" # 错误码:没有返回码 ERR_STAT_NOT_S...
[ "1764496637@qq.com" ]
1764496637@qq.com
e4819429a7fe9df8fcb508e0a4e58e531c3b358e
c6d4fa98b739a64bb55a8750b4aecd0fc0b105fd
/ScanPi/QRbytes/472.py
cd01befc97225989650424096a854c59ae1dc148
[]
no_license
NUSTEM-UK/Heart-of-Maker-Faire
de2c2f223c76f54a8b4c460530e56a5c74b65ca3
fa5a1661c63dac3ae982ed080d80d8da0480ed4e
refs/heads/master
2021-06-18T13:14:38.204811
2017-07-18T13:47:49
2017-07-18T13:47:49
73,701,984
2
0
null
null
null
null
UTF-8
Python
false
false
94,948
py
data = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ...
[ "jonathan.sanderson@northumbria.ac.uk" ]
jonathan.sanderson@northumbria.ac.uk
5cd9e9dd98ec55f0c9de426827164c6dd342b934
873e591baaede123face7c317e6e014df0366d65
/listeners/ADBCatAllListener.py
ce3e940144667dd926a4cc04f5e5d11ac9d9c00a
[]
no_license
Lynazhang/UIDocMonkey
aa57521c86448242c12bc704b356e72e3ccfbd76
3fbc41b7c70b43851b2e74e5b32ac912e82d8ba4
refs/heads/master
2021-06-09T17:32:21.483718
2016-11-22T13:59:44
2016-11-22T13:59:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,660
py
import SocketServer from subprocess import* import json from threading import Timer class ADBCatAllListener(SocketServer.BaseRequestHandler): """ The RequestHandler class for our server. It is instantiated once per connection to the server, and must override the handle() method to implement communicat...
[ "v-lzhani@microsoft.com" ]
v-lzhani@microsoft.com
60d6cb2db006e20e4b18abeedfcd5b7a69a9801b
5d48aba44824ff9b9ae7e3616df10aad323c260e
/tree/653.two_sum_IV_input_is_a_BST.py
4ece9fd24ef54b435eb886456dcb70ac2d4e7d17
[]
no_license
eric496/leetcode.py
37eab98a68d6d3417780230f4b5a840f6d4bd2a6
32a76cf4ced6ed5f89b5fc98af4695b8a81b9f17
refs/heads/master
2021-07-25T11:08:36.776720
2021-07-01T15:49:31
2021-07-01T15:49:31
139,770,188
3
0
null
null
null
null
UTF-8
Python
false
false
940
py
""" Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their sum is equal to the given target. Example 1: Input: 5 / \ 3 6 / \ \ 2 4 7 Target = 9 Output: True Example 2: Input: 5 / \ 3 6 / \ \ 2 4 7 Target = 28 Output:...
[ "eric.mlengineer@gmail.com" ]
eric.mlengineer@gmail.com
f3b5e09e66bafffac5eec9791d1a6b1d10af59e6
64ebf80fb795daab018241ee2933732866540d2a
/reservationapp/migrations/0004_alter_reservation_seat.py
e0c0c640e96a524778da1de1c7ad4c11ec3439fe
[]
no_license
minwoo9629/ticketing_service
48248fb66e4cf0209d77224212d41c647dff6d05
2367dd3dd15a12e7ccf707ee1824d6b22662abcb
refs/heads/main
2023-08-14T16:41:32.092443
2021-09-24T13:18:34
2021-09-24T13:18:34
387,129,430
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
# Generated by Django 3.2.5 on 2021-08-11 17:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('concertapp', '0016_remove_seat_reserve'), ('reservationapp', '0003_auto_20210811_1608'), ] operations = [ ...
[ "minwoo9629@gmail.com" ]
minwoo9629@gmail.com
652a982f2c2c8f30b11e873185f76263a3ae85b2
0bc2f9fd2a8cf8acfb36e88b9fd489921b7afaa0
/resumes/forms.py
53217e956929e64f729c406117481db6bcac60d1
[]
no_license
temitope3201/hng_resume_app
e83bf108be921602467b55e9934ee815f2e39f45
c1bfa43711d0fc5d0c82539522e42a7f857e3d32
refs/heads/main
2023-07-11T06:56:25.431978
2021-08-24T08:13:28
2021-08-24T08:13:28
398,298,694
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django import forms from .models import Contact class ContactForm(forms.ModelForm): class Meta: model = Contact fields = ('email', 'message',)
[ "temitopeadebayo749@gmail.com" ]
temitopeadebayo749@gmail.com
2a189c9890d4fe2943b93bd7d46bd3a23066fce2
c48c71b2f798361d6892d3bec88a077839366d31
/phy/test_scripts/tput/tput_test.py
56287bef55935f0f5536d2f582a2bf9d9a6689e4
[]
no_license
wenh81/scatter-phy
5026d8fa6a38221e362f20c707f2b4d734c418ed
e9b1fec1eced5c356e753f79fd62567cca55aa02
refs/heads/master
2022-03-05T04:07:14.586517
2019-11-21T12:22:35
2019-11-21T12:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
import select import socket import time import _thread import threading import getopt import queue import random from time import sleep import signal, os import sys sys.path.append('../../../') sys.path.append('../../../communicator/python/') from communicator.python.Communicator import Message from communicator.pyth...
[ "zz4fap@users.noreply.github.com" ]
zz4fap@users.noreply.github.com
479053d6aa7c88f3da69053c1db32172e48dadc4
af1723ba6a09cc116c1a7697c990bcf3349dfa6e
/Python book/Chapter_8/even.py
ffc65a4aea62740f873797127a73b7d8a11f5b2d
[]
no_license
ballib/SC-T-111-PROG
1eb7233c985ddb8330a604bb3191f64147ea2c78
24f63aa1e1a7dc7e891f3ad916039f39da58d5c3
refs/heads/master
2020-12-05T03:38:46.335547
2019-01-10T11:07:12
2019-01-10T11:07:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
def evens(n): evens_list = [] for i in range(1,n+1): evens_list.append(2*i) return evens_list # or def evens2(n): return [2*i for i in range(1, n+1)] print(evens(5)) print(evens2(5)) ####################################### def mirror(pair): return pair[1], pair[0] first, second = mir...
[ "jonio18@ru.is" ]
jonio18@ru.is
d7b88364e46a9b7f3dd0506ed9c5415e3564bb45
5fae31c2aa1e47f82048e9856778efc35106e248
/django/orm/orm/settings.py
3ecd159fd73b5f3d98d3dd9a05e9eea90a1f80f3
[]
no_license
Eomazing/TIL-c9
989f208cf3947ef32eac9a68704d70d8aa1b2330
bd1e2361d3ecfc677b6851edf6fc9b49d9e74951
refs/heads/master
2020-04-17T17:18:05.943544
2019-05-09T10:48:10
2019-05-09T10:48:10
166,777,139
0
0
null
null
null
null
UTF-8
Python
false
false
3,151
py
""" Django settings for orm project. Generated by 'django-admin startproject' using Django 2.1.8. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
[ "amuse0701@gmail.com" ]
amuse0701@gmail.com
b439d7638443722eacd39df345093a0d8b47adfa
ded67d2ddc604fad9ff53caf33ffa69ccc229482
/bin/easy_install-3.7
ca6e4985a433e0a369c96fb8b7b1081627f8a336
[]
no_license
CeliaGMqrz/wagtail
ed5c3e6ca336e6de7361d9f4aae386f69bed36ad
1eddebb178630119dcfcb6000cb4e2b732d823f5
refs/heads/main
2023-03-04T03:14:14.546619
2021-02-17T20:51:53
2021-02-17T20:51:53
332,208,660
0
0
null
null
null
null
UTF-8
Python
false
false
255
7
#!/home/celiagm/venv/wagtail/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "celiagm@debian" ]
celiagm@debian
cf59517324943219c2e5d63407b2866a634428cf
981901751c35eabaef52e263900d10ff22936830
/autoSvn.py
3bc4e8fa56756b2fd50f3d5bf37a861f17db5844
[]
no_license
tsuyuzaki00/subversionScripts
573ba23fb75d9e15a09ebb916b4ccbe7bd04676a
2414f771c2483b9452b4d4c5cc217b9d124f31e1
refs/heads/main
2023-02-01T22:13:51.896457
2020-12-17T02:02:43
2020-12-17T02:02:43
321,924,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
import os import subprocess import svn.local def kameSvnAdd(_path): commit_command = [ "TortoiseProc", "/command:add", "/path:" + _path, "/closeforlocal:0" ] subprocess.call(commit_command) def kameSvnCommit(_path): message = "testUpdate_to_USD" commit_command = [ ...
[ "tsuyuzaki.tatsuya@engi-st.jp" ]
tsuyuzaki.tatsuya@engi-st.jp
f1bfe5de0e26671054c332bdfc93d2f0d9d4265e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_070/ch74_2020_04_06_14_56_45_688915.py
fbd6fc22f27f23767e365de5db1099f9b9558694
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
def conta_bigramas(x): dicionario = {} for i in range(len(x)-1): dicionario[x[i],x[i+1]] = 0 for i in range(len(x)-1): dicionario[x[i],x[i+1]] += 1 return dicionario
[ "you@example.com" ]
you@example.com
00ae17b2c630ccf0d4036a300ee15ed0a9356121
4e3c976773526fd610d64ffb83589bccfaee5e68
/sponge-app/sponge-app-demo-service/sponge/sponge_demo_depending.py
ff40131a936612f5da6d6cd33534a1a8234f44d8
[ "Apache-2.0" ]
permissive
softelnet/sponge
2313d2328953fcff49a002e727bb803757870627
7190f23ae888bbef49d0fbb85157444d6ea48bcd
refs/heads/master
2022-10-28T16:19:55.619882
2021-09-16T19:50:08
2021-09-16T19:50:08
95,256,030
10
2
Apache-2.0
2022-10-04T23:55:09
2017-06-23T20:58:49
Java
UTF-8
Python
false
false
2,884
py
""" Sponge Knowledge Base Demo """ class DependingArgumentsAction(Action): def onConfigure(self): self.withLabel("Depending arguments") self.withArgs([ StringType("continent").withLabel("Continent").withProvided(ProvidedMeta().withValueSet()), StringType("country").withLabel...
[ "marcin.pas@softelnet.com" ]
marcin.pas@softelnet.com
9c71981567308ad84f8cdd6d9663bb32cd4dd6f4
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/neekanee_solr/solr_query_builder.py
bb3792600dc6a9c0af8eefbc4cd05bff2fbb4fb6
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
5,806
py
KM_PER_MILE = 1.61 class SOLRQueryBuilder(): """ Build a SOLR query given a GET QueryDict for a job search. """ def __init__(self): self.qdict = {} # # Mapping of refine search query parameter names to SOLR doc # field names. All refine search query parameters are impl...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
89e8d4c866269cd3f51dddc34d7b5e3cf06252a1
8993c99a50ce8813c53d6e49ac524f9ca9e5843c
/setup.py
b4098b433855c8d1114e948eab338decdcc08ccf
[ "BSD-2-Clause" ]
permissive
thisfred/val
2b84d5c8c0bf704385e5f101bad6c8b8c14e6aae
7bbe4d892d74cc5c1bc3c9345e938f9f8f6e658f
refs/heads/master
2021-01-21T11:45:20.983710
2019-08-12T21:06:59
2019-08-12T21:06:59
11,887,783
7
0
null
2015-04-12T16:58:57
2013-08-05T01:28:28
Python
UTF-8
Python
false
false
1,516
py
""" val: A validator for arbitrary python objects. Copyright (c) 2013-2015 Eric Casteleijn, <thisfred@gmail.com> """ from setuptools import setup import os import re def find_version(*file_paths): """Get version from python file.""" with open(os.path.join(os.path.dirname(__file__), ...
[ "ec@trapit.com" ]
ec@trapit.com
492d57c20836f33c2380017662aa3dbd57fd1f04
21e5bbc1888ca85f68e6d511f222f9e94746632d
/ai/AlgoritmoGenetico.py
3be622e8f3bfad9204ac3e370e488daea09ee837
[]
no_license
fgsl/classes
83614cc5ee654aa484a0bfd5ea91aaf97f91a282
e41e103beafa8b68c011c4c96486a82e47d12dd7
refs/heads/master
2020-06-05T21:15:39.342214
2020-03-11T17:49:12
2020-03-11T17:49:12
192,548,182
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
# coding: utf-8 import random class AlgoritmoGenetico: tamanhoDaPopulacao = 0 regras = None maximoDeIteracoes = 0 def __init__(self, tamanhoDaPopulacao, regras, maximoDeIteracoes): self.tamanhoDaPopulacao = tamanhoDaPopulacao self.regras = regras self.maximoDeIteracoes = maximoDeIteracoes def executar(...
[ "flavio.lisboa@fgsl.eti.br" ]
flavio.lisboa@fgsl.eti.br
8bc823c166c4a65c4048e30e2d7438e795a32306
018d804d6b53cc544e0adf8c38656bf27152706c
/ucsd_catalog_order.py
ed744750f3c2affb71f43eccdfbf1a19bb0c13f8
[]
no_license
luisroco/cisco_cloud
c664520eb1021c7b36577a08d23dbf1b8dd7bd75
6bbf7c4f0c0af47860170835cfebc924f1b4c867
refs/heads/master
2021-01-09T20:11:19.048918
2017-02-07T19:06:58
2017-02-07T19:06:58
81,242,442
0
0
null
2017-02-07T18:53:53
2017-02-07T18:53:53
null
UTF-8
Python
false
false
3,208
py
#! /usr/bin/env python ''' Command Line Utility to order a Catalog option ''' import requests import json from ucsd_library import catalog_order if __name__ == '__main__': import sys from pprint import pprint from argparse import ArgumentParser, FileType p = ArgumentParser() p.add_argument...
[ "hank.preston@gmail.com" ]
hank.preston@gmail.com
c8bea8e9e2f916ff8d8abe5acd8693635d3a3f4f
f2bd2a3c4d8d48341cc96e7842020dd5caddff8e
/archive/DUCS-MCA-Batch-2017-2020/DU-PG-2018-2nd-sem/PGmca.py
fa2ab42fe2316ce7c0a48373a06c343fb8a0bde8
[ "MIT" ]
permissive
jatin69/du-result-fetcher
ab51684bfa9c52ffcd45edf0d9d6784f1e6fd28e
4106810cc06b662ba53acd5853b56c865f39f1a4
refs/heads/master
2022-12-09T07:08:25.614765
2022-12-01T12:56:02
2022-12-01T12:56:02
118,005,826
7
0
MIT
2022-12-01T12:56:03
2018-01-18T16:08:03
Python
UTF-8
Python
false
false
9,043
py
""" DU MCA 2018 2nd sem """ import sys import requests from bs4 import BeautifulSoup CONST_VIEWSTATE = """/wEPDwUKMTU1ODI4OTc2Mw8WAh4JSXBBZGRyZXNzBQwxMDMuNzguMTQ4LjgWAgIDD2QWCgIBD2QWAgIFDw8WAh4EVGV4dAU0UmVzdWx0cyAoMy1ZZWFyIFNlbWVzdGVyIEV4YW1pbmF0aW9uIE1heS1KdW5lIDIwMTggKWRkAgcPDxYCHwEFECAoTWF5LUp1bmUgMjAxOClkZAIVDxAP...
[ "jatinrohilla69@gmail.com" ]
jatinrohilla69@gmail.com
5616b42ddb8bebe817060b5cb8acfdce3c667372
7776fce3e9ee1da84ea299a757905c3cc6f2ada7
/stockindex/admin.py
83ef09b6f16532c4aad99c45dbfcf29213bfd46c
[]
no_license
krystian-warzocha/PythonZaliczenie
c0852bfdd30456c66ea431a20f5d8969cca493af
e2b551fd53e559f3ca36826b169775257d2ff756
refs/heads/master
2021-01-10T07:59:31.918144
2016-03-28T19:42:11
2016-03-28T19:42:11
54,917,864
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
from django.contrib import admin from .models import StockIndex, Equity admin.site.register(StockIndex) admin.site.register(Equity)
[ "kwarzocha@sigma.ug.edu.pl" ]
kwarzocha@sigma.ug.edu.pl
78dafda26133ed996d721c0ceffcb533ef977b3b
afdd3c8bb99a6351f958c62eb7b8d7dbe0c8fe48
/TextCNN/loader.py
75e50b85dbad566b44a5945f2e5cdf4d603ddd82
[]
no_license
JingfengYang/PTEexperiments
9be5aead7f7e9652f3d990816e30e4f7fd23d4c7
0265638a34c238850dd52b96b5452e9633b0ce43
refs/heads/master
2020-09-05T10:40:40.263354
2019-11-18T04:15:24
2019-11-18T04:15:24
220,074,779
3
5
null
2019-11-18T02:21:25
2019-11-06T19:34:04
JavaScript
UTF-8
Python
false
false
3,318
py
import os import re import random import numpy as np import pickle import sys import torch from utils import read_word_embeds from torch.utils.data import Dataset, DataLoader class TextDataset(Dataset): def __init__(self, dataset, prc='', test=False, wo_unlabel=False): _extend = '.without_unlabel' if wo_un...
[ "zoxtang@gmail.com" ]
zoxtang@gmail.com
78c07603a7231513247c90a35a64d892b27da22e
6bb47d64abcc131781b702495e690efeba59b988
/Hello/home/urls.py
882036078de5dcb609bffa8dc8fbd5b55e0902ee
[]
no_license
jewells07/Django-Startup
acd349cef056569f815317f92ffcbd06ed807991
8cb2de607e0a19e70181689ebcec7fa72eb44396
refs/heads/master
2022-06-20T12:05:36.388950
2020-05-08T14:02:02
2020-05-08T14:02:02
262,338,233
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from django.contrib import admin from django.urls import path from home import views urlpatterns = [ path("",views.index, name = 'home'), path("about",views.about, name = 'about'), path("services",views.services, name = 'services'), path("contact",views.contact, name = 'contact'), path("contact",vi...
[ "jewellsjoshi437@gmail.com" ]
jewellsjoshi437@gmail.com
673ab9861bcae85a1a55c3ed742550710ec90195
99d7a6448a15e7770e3b6f3859da043300097136
/src/hardware/core/i_core_device.py
653c0e71ab0666d2da9b754da7fe944a400daac1
[]
no_license
softtrainee/arlab
125c5943f83b37bc7431ae985ac7b936e08a8fe4
b691b6be8214dcb56921c55daed4d009b0b62027
refs/heads/master
2020-12-31T07:54:48.447800
2013-05-06T02:49:12
2013-05-06T02:49:12
53,566,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
#=============================================================================== # Copyright 2011 Jake Ross # # 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/license...
[ "jirhiker@localhost" ]
jirhiker@localhost
ba92d4f9f437fcf74daf2e0b5f28089408f310c4
aaa06c63f0fba6c5aad5121d83715d0be828ce4e
/OpenStreetMap/models.py
6746038957e195d82202ad40ba008a0f5667564b
[]
no_license
scotm/Comrade
b023b338f0daf5d083ae37e2e3a73d3d424f8a7c
c7186f00cd20916a78cc2282ea201f440102ebb7
refs/heads/master
2020-05-18T06:49:01.411310
2014-07-25T08:13:10
2014-07-25T08:13:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,658
py
from django.contrib.gis.db import models class BaseOsmModel(models.Model): access = models.TextField(blank=True) addr_housename = models.TextField(db_column='addr:housename', blank=True) addr_housenumber = models.TextField(db_column='addr:housenumber', blank=True) addr_interpolation = models.TextField...
[ "scott.scotm@gmail.com" ]
scott.scotm@gmail.com
b086729dbab27bed113d6c9a6300cbe79200e959
481e3dd1953ab4444e37cee8892f6b8dfb567a98
/app/models/example_todo.py
40cedf6926ec8ab3de0eb9998a69c92915793f28
[]
no_license
JeongHoJeong/react-flask-boilerplate
b34262fa895ee28c2366dbd50183024eeadec2dc
bd36ddc41cbcbbb5ae3101ba7d1947584e66b06a
refs/heads/master
2020-03-30T01:33:25.677581
2018-11-08T08:02:27
2018-11-08T08:02:27
150,581,781
1
0
null
null
null
null
UTF-8
Python
false
false
227
py
from sqlalchemy import Column, BigInteger, String from app.models import OrmBase class ExampleTodo(OrmBase): __tablename__ = 'example_todo' id = Column(BigInteger, primary_key=True) description = Column(String)
[ "fiil12@hotmail.com" ]
fiil12@hotmail.com
362cdc331020a5268fd371e1eac03259c7a14bba
f3d01659c2a4465cdf7a5903d18058da008f1aac
/src/sentry/models/groupbookmark.py
f6cee4369c180e59d520ca7fe8093daee2869739
[ "BSD-2-Clause" ]
permissive
Mattlk13/sentry-1
f81a1e5dc5d02a07e5c6bbcdb5e1ce53f24f53c1
19b0870916b80250f3cb69277641bfdd03320415
refs/heads/master
2023-08-30T21:49:49.319791
2019-07-30T19:23:07
2019-07-30T19:23:07
81,418,058
0
1
BSD-3-Clause
2023-04-04T00:22:49
2017-02-09T06:36:41
Python
UTF-8
Python
false
false
1,064
py
from __future__ import absolute_import from django.conf import settings from django.db import models from django.utils import timezone from sentry.db.models import FlexibleForeignKey, Model, BaseManager, sane_repr class GroupBookmark(Model): """ Identifies a bookmark relationship between a user and an a...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
b55fd799bada92e8f1cd6d17a26da62618bdf02a
f6a8d93c0b764f84b9e90eaf4415ab09d8060ec8
/Lists Advanced/the_office.py
de39a3b8b66d23417344eae1ded709f3c883b3b7
[]
no_license
DimoDimchev/SoftUni-Python-Fundamentals
90c92f6e8128b62954c4f9c32b01ff4fbb405a02
970360dd6ffd54b852946a37d81b5b16248871ec
refs/heads/main
2023-03-18T17:44:11.856197
2021-03-06T12:00:32
2021-03-06T12:00:32
329,729,960
2
0
null
null
null
null
UTF-8
Python
false
false
656
py
employees_list = [int(x) for x in (input().split(" "))] HIF = int(input()) # happiness improvement factor happy_count = 0 increased_happiness_list = list(map(lambda employee: employee * HIF, employees_list)) average_happiness = sum(increased_happiness_list) / len(increased_happiness_list) happy_list = list(filter(lam...
[ "noreply@github.com" ]
DimoDimchev.noreply@github.com
3cb225f72576655ceb256774a37ab22d8364393f
6a25171b9f0a6b47f844aa6f22538917c25c2a45
/REST API - Tensorflow/server.py
c63739a4aeb3685b5a5fdd163b769146a99b8be0
[ "MIT" ]
permissive
mauryas/DataScienceTasks
c37d52f88a03d7c15d7cbc7dff33084b24098138
78cd4c47067101128de668a641b999d6fb406ab8
refs/heads/master
2020-04-01T13:59:02.947765
2018-10-16T13:39:58
2018-10-16T13:39:58
153,275,401
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
#%% Import Libraries import flask from model.model import ImageClassifier import io import numpy as np import os from sklearn.preprocessing import OneHotEncoder import zipfile from PIL import Image import psutil import logging from config.config import IMG_COLS, IMG_ROWS, TO_TRAIN # Setting logging file path try: ...
[ "shivammaurya@outlook.com" ]
shivammaurya@outlook.com