blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
f229805f9cf2c5e9ccf9db6b269e61c6ee22a9e6
739e91039c05943352a3fc07e768641f74097482
/BaekJoon_Online/Math/No_10569.py
81399b6ffd373638043c6a8784cd45439e70058c
[]
no_license
doublejy715/Problem-Solve
651182079ded1a9da3478dd30a4c4507894de85e
57d5a672a48103769c8cc022cb7132d988624600
refs/heads/master
2023-07-13T09:51:23.145427
2021-08-31T04:35:04
2021-08-31T04:35:04
234,250,382
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
T = int(input()) for _ in range(T): V,E = map(int,input().split()) print(2-V+E)
[ "doublejy715@gmail.com" ]
doublejy715@gmail.com
b59e2feb7ab32d6a99987df4967c61e8d778901a
ebdd865324a7e3bd2e3a4de357483a3056a093e4
/web/django_server/scripts/init_db.py
07502590b9ebeb5b488180db88c9abccbed45220
[]
no_license
hanaui-call/contacts-v2
73f4d9fb68d0936b441b14f4339273806b4731ed
a14649cb45d41d91a9a2a20e5047e7fd572e2e30
refs/heads/main
2023-02-16T06:52:38.876648
2020-12-30T00:21:15
2020-12-30T03:05:41
325,415,016
0
0
null
2021-01-08T16:32:24
2020-12-30T00:20:20
CSS
UTF-8
Python
false
false
1,161
py
from django_server.models import Member from django.contrib.auth.models import User from django_server.const import SexEnum import datetime def run(*args): members = [ { 'name': '홍길동', 'email': 'kdhong@hanaui.net', 'password': '12345', 'birth': datetime.dat...
[ "luffy.a@kakaoenterprise.com" ]
luffy.a@kakaoenterprise.com
cb0467cf7981a70c05b02c4b293a20023ed38dcf
f036605fdf878e9c5bd44dad0f72f078d3b9ed25
/main.py
625c40050e2c2d99f87f967c7b14eab467019979
[]
no_license
hiriorima/audio-collecter
760b1892e64b67850759b9b772beea6c53f16c55
80d2b23e68a55ddb584e11135d8ff372d7a0a34c
refs/heads/master
2020-04-05T15:37:46.780798
2018-11-10T12:03:27
2018-11-10T12:03:27
156,977,008
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import pyaudio import sys import pylab import numpy chunk = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 44100 #秒数指定 RECORD_SECONDS = 2 WAVE_OUTPUT_FILENAME = "output.wav" p = pyaudio.PyAudio() stream = p.open(format = FORMAT, channels = CHANNELS, rate = RATE, in...
[ "g2117001@fun.ac.jp" ]
g2117001@fun.ac.jp
72095e6fd93a46905b087fc69f644ed46ff8da49
c762ab8c1c25ffa97229a62ff43a33543093f963
/venv/lib/python3.7/site-packages/cvxpy/tests/test_lin_ops.py
17e3218df682a1ee8db6508e8333ac3f078755cc
[ "Apache-2.0" ]
permissive
nahyunkwon/multi-ttach
e68948d66541e85b764216efc54a82f6fc9ac044
971d0d93cc39f295deb23ea71146647f6db50ebc
refs/heads/master
2023-08-09T18:25:31.658950
2023-07-24T17:46:04
2023-07-24T17:46:04
297,783,964
0
1
Apache-2.0
2021-04-07T07:46:24
2020-09-22T22:08:53
G-code
UTF-8
Python
false
false
5,197
py
""" Copyright 2013 Steven Diamond Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
[ "skgus2624@gmail.com" ]
skgus2624@gmail.com
8b0bbf53df939cdde5cf9d36134a502b02f7ccc9
21ff9739497feef293fdc438ecdb9946884abb3f
/Linear algebra/beta estimate by QRdecomp and QRsolve.py
4a84a07a365a1f7559a7ce7dd8fcb177fbe888f8
[]
no_license
mshasan/Python-Computing
877c8bcaaf1bdb9bd030945c4aec09ae1a96b269
dc4f6031becba29f601089677ac5e438c0014da8
refs/heads/master
2021-01-20T03:53:09.358852
2017-04-28T15:33:47
2017-04-28T15:33:47
89,597,755
0
0
null
null
null
null
UTF-8
Python
false
false
3,338
py
#------------------------------------------------------------------------------------------------------------------- #################################################################################################################### """some libraries to perform our desired calculations""" import math ...
[ "shakilmohamad7@gmail.com" ]
shakilmohamad7@gmail.com
7eb3286fb99fbbdb30d332b99846691d24f337d6
f507ddbb7b07a9e9acec144120bbf7d1a48747a6
/책/이진탐색/me부품찾기.py
af9e7dbf94b8a4828bfbe330f3bc8c3d661209df
[]
no_license
Insookim0702/python_Algorithm
9f3c95b61f07bce46a5dc82c613a23d5aec6d5cd
56ac719330ce03e2764c372cd37373e1e27a0614
refs/heads/master
2023-01-08T04:41:02.935269
2020-10-28T08:55:17
2020-10-28T08:55:17
298,799,593
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
# 15:53~ #16:00 n = 5 arr = [8, 3, 7, 9, 2] request = [5, 7, 9] def binary_search(start, end, target): if start > end: return None mid = (start + end) // 2 if arr[mid] == target: return mid elif arr[mid] > target: return binary_search(start, mid - 1, target) else: r...
[ "insookim0702@gmail.com" ]
insookim0702@gmail.com
e5aa57a5343b0198c4e1e63d15dafb59d41583a5
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/catboost/spark/catboost4j-spark/core/src/test/python/config.py
cd3c8b838d1d6354736665b42fbcdda4ac15a0b9
[ "Apache-2.0" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
58
py
CATBOOST_TEST_DATA_DIR = '../../../../../../pytest/data'
[ "akhropov@yandex-team.ru" ]
akhropov@yandex-team.ru
2fbb577a3736eb77df3b1f053a2b458f58cc1e6c
9cc1b58d0319308da98187d071295b2fabf1f080
/0727/a0728_台灣高鐵_爬蟲_05.py
d34d89a8c031566971cc6b77d581391a658c394d
[ "MIT" ]
permissive
Arwen0905/Python_Test
60d1dee383c9cf27df6b93cfde7884c91092229c
c75357e4354a684a9fae41f751dae60d4cf0716c
refs/heads/master
2023-01-13T13:14:55.355898
2020-10-31T18:52:07
2020-10-31T18:52:07
265,150,874
0
1
null
null
null
null
UTF-8
Python
false
false
609
py
import requests import pandas as pd from bs4 import BeautifulSoup as soup url = "https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20190101&stockNo=2633&_=1595925201119" # url = "https://rate.bot.com.tw/xrt/all/2020-01-06" # def convertDate(date): # str1 = str(date) # yearst = str1[:3] #取出民國年...
[ "qq23378452@gmail.com" ]
qq23378452@gmail.com
b7b085e55826b6bf4cb38342d4c8fdf379526942
b7da8b6ded5b59938d20a915c43e310c7324041d
/app/config/urls.py
9c9cfcb8b012a781a89d22ee314f74b6aeed6c38
[]
no_license
miguel250/miguelpz-core
1afb20b9f5386b246f94a9c163415a25e4fbb24c
a4dc01fbc8ec74382d36b21b66262a94eb8438f0
refs/heads/master
2021-03-12T23:33:55.312067
2012-07-02T05:40:54
2012-07-02T05:40:54
4,618,243
0
1
null
null
null
null
UTF-8
Python
false
false
152
py
from app.api import views as views_api from app.core import views as views_core prints = { views_core.main : '/', views_api.main : '/api', }
[ "miguel250@gmail.com" ]
miguel250@gmail.com
4a1a3fb6fa603b30f35c6503a4fbb2bcdd9db378
2f48beec577a5ec1357e3ed703bbb08ea45bec44
/01_jumptopy/chap03/116_tax_ver2.py
1889daa82b7b45e289014e642fea8f7f42d206a1
[]
no_license
kimgwanghoon/openbigdata
2a09edcce96f927692656e051d9c37499007edb7
274c3e8cf0b0562facfb496743b879fef6164c73
refs/heads/master
2021-09-11T15:25:13.973451
2018-04-09T07:52:40
2018-04-09T07:52:40
null
0
0
null
null
null
null
UHC
Python
false
false
421
py
# coding: cp949 print("\n-----택시 안내 가이드 프로그램 ver1-----") #money=2000 print("가지고 계신 금액을 입력하세요 : ",end='') money =int(input()) print("\n현재 가지고 계신 금액은 "+str(money)+"원 입니다") if money>=3000: print("택시를 타고 갈 수 있습니다") else: print("돈이 부족하니 걸어가야 합니다.") print("프로그램을 종료합니다")
[ "khkimykk@naver.com" ]
khkimykk@naver.com
7a433b27298f388c3634d5d6bc9acade8ea7a957
9d6debb136268baeed974370d043c17e1d476ba2
/27-10-2020/s1.py
e9673c7f9e554a91ef966c4e4579c5dc6fc6431d
[]
no_license
Prasannarajmallipudi/Django_Batch8
55a8d1460c75a1564ff0c02f00d6eacfb0150fa0
914d106ed1873793642428839b776be9e6ad5589
refs/heads/main
2023-01-03T05:09:12.207833
2020-10-28T05:13:43
2020-10-28T05:13:43
307,913,360
0
0
null
2020-10-28T05:13:03
2020-10-28T05:13:03
null
UTF-8
Python
false
false
593
py
'''class New: def __init__(self,name,designation): self.name = name self.designation = designation obj = New('Prasanna Raj','Multi Skill Tranier') class Abc: def __newfun__(self): print("Welcome New Function") ob = Abc() ob.__newfun__() ''' # Multiple Inheritances cla...
[ "noreply@github.com" ]
noreply@github.com
197c293cdb4e2329c9dc3f518eee7110737180ea
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/xrR8zHmdTvEWqdr5g_12.py
74311c6d3a51d72cede937f4cc9e28786e2be6af
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
""" Given the shortest side of a 30 60 90 triangle you have to find out the other 2 sides, (return the longest side, medium-length side). ### Examples returnsides(1) ➞ (2, 1.73) returnsides(2) ➞ (4, 3.46) returnsides(3) ➞ (6, 5.2) ### Notes * 30 60 90 triangles always follow this rule, le...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3c3e54dc504faee77326ce820cc0425e79b31ef0
9b290a914350b2ba0b386b0427d29a29268f3c9a
/controllers/mainh.py
bd4a176be851aec091813c183a38ac55e5ce5102
[]
no_license
bhaskarb/Donor-database
2a069ffecc14ec49a73631d8dd02ae471568e0ea
2fd8f3410ba66629426175a6750b4d050ac87e48
refs/heads/master
2021-01-19T04:55:34.888246
2012-02-08T00:36:52
2012-02-08T00:36:52
3,382,893
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env/python __author__ = 'Bhaskar Bharath' #import re import urllib2 import os from models.models import * from google.appengine.ext import webapp from google.appengine.api import users from google.appengine.ext.webapp import template class MainPage(webapp.RequestHandler): def get(self): #logging...
[ "bhaskar.bharath@gmail.com" ]
bhaskar.bharath@gmail.com
cd1ab1c2f86ee030b100d3545064382f648bb42a
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/25-dictionary-keys_20200413193453.py
2c7728e6e1aa45c4887103c0fb3fa3c9ef41a1c6
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
# Dictionary key has to be immutable # do not create an array as a key # for example [32]: true --- this does not work # 2 same keys game_archive = { 'weapons': [1,2,3], 'greeting': "Good day", 'is_Magic': True } print(game_archive['a'[1]])
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
1096e2be2a1a93f744e62127a8fb95b52a2e5b07
1a6c35729dcd7bf9d7661f1260f0a7b94a527ff3
/ParameterManager/get_from_db.py
31bd3eee45ba89d97365e720c2ccc1c388977fa2
[]
no_license
lentiann/production-manager
f433870da7e1990055002cfc48b26bab336650ee
d70cf7674c50cc82b61a475ed42276db496a57be
refs/heads/master
2020-09-01T16:50:03.367073
2019-12-02T08:44:19
2019-12-02T08:44:19
219,008,052
0
0
null
null
null
null
UTF-8
Python
false
false
9,596
py
from django.shortcuts import render from django.http import JsonResponse from opcua import Client from .models import Database, Node, Value from .models import Node, Value from datetime import datetime import time from .update_db import get_from_plc from django.db.models import Q from django.contrib.auth.decorators imp...
[ "lentianlatifi@gmail.com" ]
lentianlatifi@gmail.com
2fbaf648ba5bae81e14b36d711e2c3c32e9d6a84
782add83942f817364080f9dc8df298d94d53bc4
/circuits/http/server/routing/router.py
65ae15bc1d1d1da807d7bd994aed546a1cf20311
[]
no_license
spaceone/circuits.http
058ea3538600a9f82465dac85196da839d5d23c5
ad204b161ee45899ed4672384e4236d3ef3a9374
refs/heads/master
2021-11-22T17:50:07.660090
2021-10-07T23:31:24
2021-10-07T23:33:10
34,882,701
5
1
null
null
null
null
UTF-8
Python
false
false
1,172
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from httoop import FORBIDDEN, NOT_FOUND from circuits import BaseComponent from circuits.http.events import request, response from circuits.http.utils import httphandler class Router(BaseComponent): @httphandler('routing_success') ...
[ "space@wechall.net" ]
space@wechall.net
369118c3bb63fadbf9c81dbf0990bdd9080dcb3a
bba684fcdf354c5cbb0cde6c2ab7e26270056436
/links/views.py
ac0b98ee5a2818cd546a7aa1f414c00b94948859
[]
no_license
bekaarcoder/amazon-price-tracker
d2017b63076f1e67c84d2f8bc1234988f1564919
bcfe2e6bfad5e7e8627111c0bb8277ed306274ae
refs/heads/main
2023-04-04T16:30:09.514951
2021-04-20T17:22:18
2021-04-20T17:22:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
from django.shortcuts import render, redirect from .forms import AddLinkForm from .models import Link def home_view(request): no_discounted = 0 error = None form = AddLinkForm(request.POST or None) if request.method == "POST": try: if form.is_valid(): form.save() ...
[ "s_shashank@outlook.com" ]
s_shashank@outlook.com
9d12cb3b60ff395ea9823f4727db08d662aec2d3
7c18e950ac82775020cd118abc01840907c6a57f
/accounts/views.py
6fd48dfdd70dcc5c41b41dc6286caf67b65eda1e
[]
no_license
jayedeep/colortogreyscale
104998e1c7a6e1df091a0176c7abfb305aa3aa6a
5b854d00812c7a86c3e0608cbd71fe8ab49425e0
refs/heads/master
2022-12-28T16:05:59.304248
2020-10-01T02:43:17
2020-10-01T02:43:17
300,119,431
0
0
null
2020-10-01T02:42:34
2020-10-01T02:42:34
null
UTF-8
Python
false
false
2,036
py
from django.shortcuts import render, redirect, HttpResponse from django.contrib import messages, auth from django.contrib.auth.models import User def signup(request): if request.method == "POST": username = request.POST['username'] email = request.POST['email'] password = request.POST['pass...
[ "princesuriya14@gmail.com" ]
princesuriya14@gmail.com
b10f329072040843fe29da3ea7ff80d7ed7c4668
06bd8ff7e4b07b223639c9f462579b6e31bb9974
/read_data.py
da24129235512e196fda353414027df19b282f7a
[]
no_license
atantczak/Basic_Finance
e259b17d1593325c612ca2a6867a04030482b277
a59b53f3794888e5407aaab2e1273b23fcc51b20
refs/heads/master
2023-02-24T18:42:50.380161
2021-01-20T16:37:10
2021-01-20T16:37:10
274,242,961
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
# This is the SECOND 'Python Programming for Finance' episode from sentdex. import datetime as dt import matplotlib.pyplot as plt from matplotlib import style import pandas as pd import pandas_datareader.data as web style.use('ggplot') # This is simply a style choice. Feel free to look into others once you get going...
[ "atantczak@Andrews-iMac-Pro.local" ]
atantczak@Andrews-iMac-Pro.local
b732e224201c0f33230cda944132b44b1a322524
a652b1bcb5dbd5bbe57b1e26a1e80c45c42ed856
/apptest.py
90dbc8660f359a5ef64ad0b5ed1858c8cea365e7
[]
no_license
kvenkatasai4/test
a9f151265455b3adf5ac1dbfb0e9faf1fcc2346d
2ecf5e14ed7dc0fef9873205690194c130a69a4e
refs/heads/master
2021-09-24T10:11:12.188871
2018-10-07T21:32:57
2018-10-07T21:32:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
class App: a = 10 print(a)
[ "nikesh2804@gmail.com" ]
nikesh2804@gmail.com
5b2f410ad7d3aee2f2ebdb956b213c8d3ceaddfa
b8cc42d12d19129cd79850c5c17ee55fca12ffa1
/src/music/views.py
04ac79a74b859c25dbe47029c420c579fbfff110
[]
no_license
shashikantedx/django-music-project
eab7de3b1b4d71d3566d9954529e0ac1dec1b36f
c66411b14b64a24cef1622312afd3802f6706770
refs/heads/master
2021-07-13T08:05:22.388806
2020-09-02T12:44:10
2020-09-02T12:44:10
201,950,537
0
0
null
null
null
null
UTF-8
Python
false
false
4,833
py
from django.shortcuts import render, get_object_or_404 from django.contrib.auth import authenticate,login from django.contrib.auth.models import User from django.contrib.auth import logout from django.db.models import Q from .models import Album, Song , myplay from .forms import User_Forms # Create your views here. #...
[ "shashikantedx@gmail.com" ]
shashikantedx@gmail.com
657c41b1196bbd52be0069b9a51ee59954b7e73d
02b877ecb1922cbca67973970ea0873a21e6528c
/Queries-CM-Diagrams/Mean-AG-EBminR-Queries/OB-dataset_mean_AG-EBminR.py
8000567a034fc98b60949cfae62eda737986682d
[]
no_license
renlliang3/Gaia_research
681132c660622ecfe0c304501c8870e0433af133
6303185c41d549ebc8bc7bce020a5cbec0f8159f
refs/heads/master
2021-09-19T11:47:27.137611
2018-07-27T17:37:34
2018-07-27T17:37:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
import astropy.units as u from astropy.coordinates.sky_coordinate import SkyCoord from astropy.units import Quantity from astropy.io.votable import parse from astropy.table import Table from matplotlib.colors import LogNorm from astropy.io import fits import matplotlib.pyplot as plt import numpy as np extra_data = np....
[ "hashemi@student36.strw.leidenuniv.nl" ]
hashemi@student36.strw.leidenuniv.nl
96f88354793d8a9149846bf4e8fa205689bdf6b1
6dae400af965a87f209e5e72b18868927ae00053
/rooms/admin.py
2ffab64a5e43ca0a83a4d764f9e5bb31675f2f8e
[]
no_license
junha6316/airbnb-clone-using-Django
341ab71d7723ad413379723fc36c7a35a4d6fbba
fbce59ef9092c5ffbe6799b8c590492a9f0d40bf
refs/heads/master
2023-01-19T17:36:24.220832
2020-12-01T06:50:47
2020-12-01T06:50:47
292,712,609
0
0
null
null
null
null
UTF-8
Python
false
false
2,862
py
from django.contrib import admin from django.utils.html import mark_safe from . import models @admin.register(models.Photo) class PhotoAdmin(admin.ModelAdmin): """ Photo Admin Definition""" list_display = ("__str__", "get_thumbnail") def get_thumbnail(self, obj): return mark_safe(f"<img width =...
[ "junha6316@gmail.com" ]
junha6316@gmail.com
5d8aeed4c432b6a82a177870497c7821f93d0c08
e16f5e6158a9b1e3f9206744996f94f682248725
/assignment2/cs231n/classifiers/cnn.py
13984995b0cc61bce2adf12eb7c49953d17b9a93
[]
no_license
fighting-liu/cs231n
435284acc0511f6f6213294a345fe70b924ef469
952534f9d132068f41f08f7968c5c0174fe4a698
refs/heads/master
2021-01-01T05:17:37.137220
2016-05-05T02:46:54
2016-05-05T02:46:54
57,176,180
0
0
null
null
null
null
UTF-8
Python
false
false
5,905
py
import numpy as np from cs231n.layers import * from cs231n.fast_layers import * from cs231n.layer_utils import * class ThreeLayerConvNet(object): """ A three-layer convolutional network with the following architecture: conv - relu - 2x2 max pool - affine - relu - affine - softmax The network operates o...
[ "656604414@qq.com" ]
656604414@qq.com
4f86eca5a3468acb69cf9475c5fe32630dff5d7d
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/0653-two-sum-iv-input-is-a-bst/two-sum-iv-input-is-a-bst.py
72232f21d6dd661901232bc99868e4c984563a8f
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
1,135
py
# Given the root of a binary search tree and an integer k, return true if there exist two elements in the BST such that their sum is equal to k, or false otherwise. # #   # Example 1: # # # Input: root = [5,3,6,2,4,null,7], k = 9 # Output: true # # # Example 2: # # # Input: root = [5,3,6,2,4,null,7], k = 28 # Output: f...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
e0697c83f283140deb66bb3ec28117302a6ef0c3
47243c719bc929eef1475f0f70752667b9455675
/bungeni.main/branches/sterch-del-proxy/bungeni/core/workflows/transitioncron.py
21bf28399ed6dbf3bad899a54ce1e0ca84463de4
[]
no_license
malangalanga/bungeni-portal
bbf72ce6d69415b11287a8796b81d4eb6520f03a
5cf0ba31dfbff8d2c1b4aa8ab6f69c7a0ae9870d
refs/heads/master
2021-01-19T15:31:42.943315
2014-11-18T09:03:00
2014-11-18T09:03:00
32,453,405
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
# encoding: utf-8 #Automatically transition Questions #The system needs to provide a settable time-frame beyond which “Admissible” #questions which are available for scheduling - change status to “Deferred” import sys import datetime import zope.lifecycleevent import sqlalchemy.sql.expression as sql from bungeni.a...
[ "ashok.hariharan@fc5d704a-7d24-0410-8c4a-57ddeba10ffc" ]
ashok.hariharan@fc5d704a-7d24-0410-8c4a-57ddeba10ffc
dfb663789d60d50ac6cd1c56b4a8bf9a33a5d07b
abea9a09bf265a19bb947789e814b1c3e1f21e24
/iepy/preprocess/ner/literal.py
f3fafbba5df518d09cc9c67d1495cb37ae209e35
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
hanjx16/iepy_zh
ea28289c807ae97e131e68dd7b67c3f884dc5ee7
98c9acf76410a085c0a77dfbe8837daf81c27a48
refs/heads/master
2022-11-06T18:34:24.533294
2018-07-16T08:06:11
2018-07-16T08:06:11
141,105,817
1
0
BSD-3-Clause
2022-11-03T13:08:05
2018-07-16T07:58:03
Python
UTF-8
Python
false
false
3,791
py
import codecs from iepy.preprocess.ner.base import BaseNERRunner class LiteralNER(object): """Trivial Named Entity Recognizer that tags exact matches. """ def __init__(self, labels, src_filenames): """The i-th label is used to tag the occurrences of the terms in the i-th source file. If ...
[ "2658448319@qq.com" ]
2658448319@qq.com
27c8f713e9ddf86a65a0a33babb885ac9b025b97
0a0deefcf08355576acae85b47b9807574ccb552
/x.py
39a3b9b94a9827733f36ba137ab2fc2db3f95ad6
[]
no_license
val-labs/ll
792a38bf48174498c54cb8e407a8b6f43de9724b
2f3af6648fd3b9f6039ec1db9b143384ac614d14
refs/heads/master
2021-01-23T03:54:10.086043
2017-03-29T00:59:29
2017-03-29T00:59:29
86,135,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
#!/usr/bin/env python def push(x,y): x.append(y) ; return x def pop(x): return x.pop() import sys fni=sys.argv[1] ; fno=fni[:-1]+'o' fi,fo=open(fni),open(fno,'w') stack = [ 0 ] prev_line = '' N=-1 def count_spaces(line): for n,c in enumerate(line): if c!=' ': return n return -1 def do_line(l...
[ "jmward@gmail.com" ]
jmward@gmail.com
a5062b3d6841fb040c6222a02ba3122f057374e1
09f8a3825c5109a6cec94ae34ea17d9ace66f381
/cohesity_management_sdk/models/cloud_domain_migration_query_result.py
c7fa752fad7e5795b19de2a2f86a934d61dca4d9
[ "Apache-2.0" ]
permissive
cohesity/management-sdk-python
103ee07b2f047da69d7b1edfae39d218295d1747
e4973dfeb836266904d0369ea845513c7acf261e
refs/heads/master
2023-08-04T06:30:37.551358
2023-07-19T12:02:12
2023-07-19T12:02:12
134,367,879
24
20
Apache-2.0
2023-08-31T04:37:28
2018-05-22T06:04:19
Python
UTF-8
Python
false
false
4,050
py
# -*- coding: utf-8 -*- # Copyright 2023 Cohesity Inc. import cohesity_management_sdk.models.common_job_info import cohesity_management_sdk.models.universal_id class CloudDomainMigrationQueryResult(object): """Implementation of the 'CloudDomainMigrationQueryResult' model. CloudDomainMigrationQueryResult re...
[ "naveena.maplelabs@cohesity.com" ]
naveena.maplelabs@cohesity.com
ec31bc444aed72d7d0050366d378bddac1e55dab
1d230067a680871af1127f89cc23dda6901f02e3
/python/cursoemvideo/ex046.py
4795ce11e5367dd3ae8b87045d5eb898782bdca1
[]
no_license
pedrocambui/exercicios_e_desafios
981f47d8ef5b37eda5c637da76918c29f4a4d700
65eb86f232aad4abc7cc2e95897ca0d5bb72dcf2
refs/heads/main
2023-03-13T13:28:46.058769
2021-03-30T16:25:08
2021-03-30T16:25:08
353,064,135
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
import time for c in range(10, 0, -1): print(c) time.sleep(1) print('FELIZ ANO NOVO!')
[ "pcambuicorrea@gmail.com" ]
pcambuicorrea@gmail.com
e3a9d91fb649e5c2c2eda79763d811cec1053536
9fdd0b9b581c169f4e3f8e1cf8bb20a32285da7a
/misc/server/communicator.py
e5a95ecc52f182c4cb479f0b17439ebdd45cf9e0
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Adrien4193/windshape
ddf716e5554e2a94b3bb5f6bae5950ed1a1dd5a3
4c73a4a85409f04518029f0ddb8bd7e3c60e4905
refs/heads/master
2020-03-23T14:55:37.532702
2018-08-17T07:07:58
2018-08-17T07:07:58
141,708,616
0
1
null
null
null
null
UTF-8
Python
false
false
5,433
py
import socket import os import MySQLdb import threading import time import dbapi from Module import Module # THREAD 1: Get modules state from NUCLEO ######################################################################## def recvUDP(): time.sleep(0.1) print "[RECVTH] Receiving thread started..." # While send...
[ "adrien_le_hardi@hotmail.fr" ]
adrien_le_hardi@hotmail.fr
906045475be3ddf2f4693588bbc982f9337e92ff
9a731b24a38e356f0c53e2ef181d7bccf01f030c
/pythonProject/udiacce/android/gradle/UdiAcce/app/src/main/assets/python/app_packages/toga_android/window.py
2ebfa068c6713de41f094c287a32ada714f03753
[ "BSD-3-Clause" ]
permissive
yarinudi/udiacce
aa7a83237195c23ace7a4fe7ff57d6b81c76806c
4d0fc9734646768a117f28880cd606c66cc36fef
refs/heads/master
2023-07-13T05:55:35.400126
2021-08-06T12:14:47
2021-08-06T12:14:47
393,357,998
0
0
null
null
null
null
UTF-8
Python
false
false
3,775
py
from . import dialogs from .libs.android import R__attr from .libs.android.util import TypedValue class AndroidViewport: def __init__(self, native): self.native = native self.dpi = self.native.getContext().getResources().getDisplayMetrics().densityDpi # Toga needs to know how the current D...
[ "yarin@example.com" ]
yarin@example.com
e72b97ba944366314ab410155e3a81c1c4b77eb5
fe97a6d69fa1a18a280768a2aeb43c573a3b8e28
/A3/TTP.py
d39f45609a146e5591ae423ca1b29c96f511612d
[]
no_license
dylnstwrt/cpsc418
d4acccf4f7443d81635087070c86bce559b5f41f
a7bf4f3dd51ea10f02242d225822a5fe57df2cc6
refs/heads/master
2022-06-25T14:02:20.929829
2020-04-20T00:32:18
2020-04-20T00:32:18
235,682,883
0
0
null
null
null
null
UTF-8
Python
false
false
4,076
py
#!/usr/bin/env python3 ''' File: TTP.py Class: CPSC418 - Winter 2020 Name: Dylan Stewart UCID: 30024193 Assignment : 3 Problem: 8 ''' import socket import sys import os import sympy import secrets import time from cryptography.hazmat.primitives import hashes from cryptography.hazmat.backends import default_backend ...
[ "dylnstwrt@gmail.com" ]
dylnstwrt@gmail.com
72603b9a0cf234e5000de9a40607dcc4a986fda7
17a3418a6143ea2d953cf6509aeca7cc6e074686
/Final-Project/backend/venv/bin/mid3v2
e4b1fef5fc4f98a75b18321d25adc4e23bd0ab9d
[]
no_license
francolmenar-USYD/Internet-Software-Platforms
addb69a5582a63877e5f3408d64485a7ca942721
9e82ab6e7d0f8d4b3d55789cf5cfcd8e524a85df
refs/heads/master
2022-04-22T02:07:25.419086
2020-04-22T10:02:43
2020-04-22T10:02:43
256,714,630
0
0
null
null
null
null
UTF-8
Python
false
false
484
#!/mnt/c/Shared/ELEC3609/bird-repo/backend/venv/bin/python3 # -*- coding: utf-8 -*- # Copyright 2016 Christoph Reiter # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Li...
[ "francolmenar@outlook.es" ]
francolmenar@outlook.es
6c29e4c998dee4f35cd93f6f38bb8e40e1f9e3c0
ce4202088bf28a070d9ff015f916c1e09f107dfb
/trivial_main.py
43a88671aa5d854bc41452adbbb402e9c18192eb
[]
no_license
AHKerrigan/Epidemic-Control
f7b0fae49307317ca15565becb034f324157816d
dc3f2e315fb67f50e4f808c70e08088cbdb60bb2
refs/heads/master
2020-04-20T09:39:54.446033
2019-10-02T11:37:10
2019-10-02T11:37:10
168,770,608
0
2
null
null
null
null
UTF-8
Python
false
false
10,279
py
import argparse import sys import math from collections import namedtuple from itertools import count import gym import numpy as np import scipy.optimize from gym import wrappers import networkx as nx import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F import torch.opti...
[ "imor231@gmail.com" ]
imor231@gmail.com
3f20447565c06c4aa890c48c346f5587bbadcc92
e35ae6f6b15e81842f941988e9ee30deb142827b
/python/54.py
9b9541246364669514e6b9e37e7b7599c8c895eb
[]
no_license
MrHuxu/leetcode150
97f9862271f659a482c9e6775e47d421e779f1f1
dc6be12ae5d46f32d3f9334e2f0f0a866fc2c837
refs/heads/master
2023-08-22T03:58:19.400027
2023-08-15T03:55:53
2023-08-15T03:55:53
211,640,798
1
0
null
2023-04-25T07:08:47
2019-09-29T09:47:46
Go
UTF-8
Python
false
false
1,242
py
import unittest from operator import le from typing import List class Solution: def spiralOrder(self, matrix: List[List[int]]) -> List[int]: ret: List[int] = [] level = 0 m = len(matrix) n = len(matrix[0]) while len(matrix) > 0 and len(ret) < m * n: for i in ra...
[ "hxtheone@gmail.com" ]
hxtheone@gmail.com
6a4ced94e320a4124a9df23a43204e5406060955
e65fb2168c4aaa3def9c752f7b161cb430e7d9fb
/onap_tests/utils/utils.py
ea3ec54b15cded631ba21a491e605545c038873c
[ "Apache-2.0" ]
permissive
Orange-OpenSource/xtesting-onap-tests
ead27e0f809d53f1ad4aa407be578207454acdfd
ce4237f49089a91c81f5fad552f78fec384fd504
refs/heads/master
2023-06-11T00:57:37.514952
2018-05-16T08:34:40
2018-05-16T08:34:40
126,787,905
0
2
null
null
null
null
UTF-8
Python
false
false
4,297
py
#!/usr/bin/python # # This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # # http://www.apache.org/licenses/LICENSE-2.0 # # pylint: disable=missing-docstring from difflib import SequenceMatcher ...
[ "morgan.richomme@orange.com" ]
morgan.richomme@orange.com
b8e31604babd214cfd29e449025f1312f75e49db
4b0ccc880137b8d46501b84ba25af92449919e04
/screenshot.name.py
b4716e451eb382008e1b368893102d7cc38b06b8
[]
no_license
P-Jayaprakash/python_projects
6113309e9b64547da9cc6c48a338b1de4f073926
198d7879eabc5e6633fdaf16ebba987c5de9728e
refs/heads/master
2022-12-19T08:18:35.928697
2020-09-12T14:57:08
2020-09-12T14:57:08
291,396,317
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
#In this program a new name is generated for each screenshot according to the time. So there will be no chance for the overwritten of previous clicked screenshots. import time import pyautogui def screenshot(): name=int(round(time.time()*100)) name='{}.png'.format(name) time.sleep(5) img=pyautogu...
[ "noreply@github.com" ]
noreply@github.com
e8ed8b7bbc2c950827cdf8d68de707dbc93fde74
d483cd30d2ddea0da535e18258ea6906deae1495
/harmonic.py
4a27ff52e35066ec302c4f12cd0758d6facde4f8
[]
no_license
xLuis190/Python-School-work
4b19a3cb52e1ad9f565789eb3aed61e7f8aacbc2
235136aae3de5af2949b4ec3b314d3809e216706
refs/heads/master
2020-03-18T13:39:36.103043
2018-05-25T03:42:26
2018-05-25T03:42:26
134,798,828
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
def harmonic(n): i = 1 if(n > 1): return n / 2 elif(i == n): return i + harmonic(i+1) print(harmonic(10))
[ "xLuis190@hotmail.com" ]
xLuis190@hotmail.com
61bef9e4c7d1006aa90c415eebbab965bb28228a
32b72152fa92d3f87e233325d3050dbdb9a7fe20
/Django_blog/mysite/blog/migrations/0010_auto_20171011_1155.py
d141f39646f270c921e22f0a426d6c656bb2a1b2
[]
no_license
mshava/django-learning-projects
aa710243df461d84b965749dbb7c1cdc1f8e65e8
b95a10c1cb94e64169b1a2f92434efea312fd556
refs/heads/master
2021-07-13T17:04:04.866801
2017-10-18T12:23:01
2017-10-18T12:23:01
105,898,284
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-10-11 09:55 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0009_auto_20171011_1140'), ...
[ "sakhile@rhinoafrica.headoffice.co.za" ]
sakhile@rhinoafrica.headoffice.co.za
8a52917c00fc0bd7d1f0e5ffd6d1db0c38a5ed36
bdf630acc7cb153b53fe4b6b300e4d4ecfd23e96
/starmap.py
414142776565b710ba0b752b78da36d55d5f3bf1
[ "MIT" ]
permissive
icefoxen/games-ig
f4c5e569773c2f58abebbe710b30be75082cc121
89ef1e102b52bfb58d9511373475a3def300b2cf
refs/heads/master
2020-07-03T12:01:49.218366
2016-11-18T23:34:45
2016-11-18T23:34:45
74,171,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
# starmap.py # A map full of stars. Yay! # # This could be converted to blit itself onto a surface at an arbitrary # location, but it'd be a pain in the ass. It doesn't really matter, # so I'm not gonna bother. import star, sprite import spaceobj import wx class Starmap: w = 0 h = 0 # A quadtree wou...
[ "icefoxen@gmail.com" ]
icefoxen@gmail.com
861f58abc577b1b4cd88a46137677a2b41e1d526
05df41d9fdee79a5004bd5530864f3d8c42e52c2
/import_textures.py
6de3e3b611c80eee65cfcc62761867185e700779
[]
no_license
Aralta/NSI_Projet
675d69ae08042cfbe3e842bcf7a3a2a11dcfc004
619db4d5bc95fc3a42e79c18ff9b3f18caa3837f
refs/heads/master
2023-04-16T02:23:49.438544
2021-04-26T18:05:33
2021-04-26T18:05:33
312,720,442
2
0
null
2021-04-26T18:05:34
2020-11-14T01:15:14
Python
UTF-8
Python
false
false
5,355
py
import pygame zz = 0 aa= 1 ab = 2 ac = 3 ad = 4 ae = 5 af = 6 ag = 7 ah = 8 ai = 9 aj = 10 ak = 11 al = 12 am = 13 an = 14 ao = 15 ap = 16 aq = 17 ar = 18 aS = 19 at = 20 au = 21 av = 22 aw = 23 ax = 24 ay = 25 az = 26 ba = 27 bb = 28 bc = 29 bd = 30 be = 31 bf = 32 bg = 33 bh = 34 bi = 35 bj = 36 bk = 37 bl = 38 bm =...
[ "lexi.amoros@gmail.com" ]
lexi.amoros@gmail.com
d9d59927e2b551be7e2189f9d1e9d85d7cf08b1e
8f8423134350b754aa6fd7f431ebdbcecd0f4646
/files/babycrypto1.py
66d68d9a4d5dd272cdec6671ded6818ac518218b
[ "MIT" ]
permissive
niktay/niktay.github.io
363870e59c05d32cd775119dc196ea2dc6075890
4f7e81e9d8debb51618172bcdd731ce240b6d1b7
refs/heads/master
2022-03-26T09:28:02.285140
2022-03-13T01:44:50
2022-03-13T01:44:50
101,560,268
0
1
null
null
null
null
UTF-8
Python
false
false
2,316
py
#!/usr/bin/env python from base64 import b64decode from base64 import b64encode import socket import multiprocessing from Crypto.Cipher import AES from Crypto.Random import get_random_bytes from Crypto.Util.Padding import pad, unpad import hashlib import sys class AESCipher: def __init__(self, key): self....
[ "niktay94@gmail.com" ]
niktay94@gmail.com
07fa1a691d141b0be42e0ba1259ed7f1121db648
10b8fa6ce869e23c2d603f1a8aacda4136f907f2
/metrics/publisher/event_publisher_test.py
c62a483213687c9c21e3f936febdd5b05f45641e
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/ml-testing-accelerators
2fdbaa42fcc1cee19c0b191e83801dfd767112b1
96a8320b941d0bf9023657bd2e18ea8fedd03247
refs/heads/master
2023-09-01T01:07:35.887904
2023-08-29T23:12:18
2023-08-29T23:12:18
244,933,863
65
62
Apache-2.0
2023-09-13T20:45:03
2020-03-04T15:21:13
Jsonnet
UTF-8
Python
false
false
5,662
py
import collections import datetime import json import os from absl.testing import absltest from absl.testing import parameterized import kubernetes import event_publisher from google.protobuf import duration_pb2 from google.protobuf import timestamp_pb2 from google.protobuf import json_format import metrics_pb2 _STA...
[ "noreply@github.com" ]
noreply@github.com
b31c5121c198fa52ab61ce34b003dc8c404bb232
aece9569373acc984da8a2c45faa8272772e4486
/RTD_ws/src/autonomous_mode/FRS_intersect_ipopt.py
4ea32a10284cafd583ff4a9856daf5ad575ba7be
[]
no_license
ramvasudevan/roahm-rover
368e24d35cc234a8efd517fafbecaefc8896e044
f7e9b6606817e553f434b29dd0908089c630a669
refs/heads/master
2020-12-18T20:00:28.443179
2020-05-06T03:46:40
2020-05-06T03:46:40
235,506,314
0
0
null
null
null
null
UTF-8
Python
false
false
19,067
py
#! /usr/bin/env python # ----------------------------------------------------------------------------- # This script implements the online component of RTD. # It intersects the offline generated FRS (Forward Reachable Set) with # obstacles online and optimizes for a trajectory based on the safe parameters. # # Adopt...
[ "svanlee@umich.edu" ]
svanlee@umich.edu
ffd22fe756867d898a76925bc17830736ee33079
5fc266d4f08a9222744b3597b72e81c91dd94269
/Camera Calibration/undistort_img.py
9c3d262d29e807d60082c7e1f855b6c1d27afd01
[]
no_license
aldinataITS/BAYUSUTA
3986bb38486d12d0c007e5768b20f65ca2a4204b
48511b089ff80a4bd542d42d0822e80eff55f55a
refs/heads/master
2020-03-30T04:49:58.242740
2018-10-23T11:37:25
2018-10-23T11:37:25
150,764,424
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
import numpy as np import cv2 #Loading Calibration Data calibrationData = np.load('camcalib_3.npz') mtx = calibrationData['mtx'] dist = calibrationData['dist'] newcameramtx = calibrationData['newcameramtx'] roi = calibrationData['roi'] #Close File calibrationData.close() print mtx print dist print newcame...
[ "noreply@github.com" ]
noreply@github.com
e9562b760fcfc452be8a8be746853fa3948c58d2
bf9ff34412dbeadba43b4a355c351947d2f8c80e
/src/Functions.py
7eeeda272ad3203dac831cd7d6294fb6b87b35c0
[ "MIT" ]
permissive
zibaparsons/DPFL-IADMM-Classification
3b53d7fd2057a2a4135e598f2f9254ea1df23f6a
4610458edaad176f5108199393f2bc18c93659e2
refs/heads/main
2023-07-31T00:37:12.831700
2021-08-06T20:31:35
2021-08-06T20:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
import numpy as np #(activate this if CPU is used) # import cupy as np #(activate this if GPU is used) import math from scipy.stats import matrix_normal import time def calculate_hypothesis(W_val, x_train): Temp_H = np.exp( np.matmul(x_train, W_val) ) H = Temp_H/Temp_H.sum(axis=1)[:,None] H = np.clip(H,...
[ "minseok.ryu1@gmail.com" ]
minseok.ryu1@gmail.com
39e0d8160a3b0812c2a752531ce2c6e65bf47201
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L43/43-27_MD_NVT_rerun/set.py
c90bf6739886a0bcd70e144171deac7ecf6d72b5
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L43/MD/ti_one-step/43_27/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi.in' temp_prodin = filesdir + 'temp_prod.in' temp_pbs = filesdir + 'temp.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
7530a00760c2d03d1c4025884ae463e500444761
80be7278883df59d4cb045d1e97f01ec18f9e32a
/PivotRule.py
551a13362b3da9c63a2ef057214927547913e1f5
[ "MIT" ]
permissive
vladan-jovicic/SimplexMethod
05a60faa916aebd77e118ceaff2a27f247025511
9acf12db07da046f8563d3500183e54bb3d01860
refs/heads/master
2021-01-22T05:05:46.699376
2017-02-10T22:47:29
2017-02-10T22:47:29
81,613,885
1
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
#Pivot rule from fractions import Fraction import random class PivotRule: def __init__(self): self.bounded = True def bland_rule(self, curr_dict, n, m): enter, leave = (-1, -1) poss_enter = [idx for idx in range(n+m+1) if curr_dict[-1][idx] > 0] if (len(poss_enter) == 0): return (-1, -1) else: en...
[ "vladan1994.jovicic@gmail.com" ]
vladan1994.jovicic@gmail.com
d729f9bd86b204be425d7c8cc856b17c2f0b8974
1982eca7dbeaa012c52bd045dd2acc54432792ad
/blog/tests.py
8dfe1372c6e5da8d7789c27a40000c6195b7aa61
[]
no_license
joshkatz1/blog
3385b75d7baafb702f4c8edcc53213daa3860d3f
4053e7a9ebf440e62b528d741c9144fb6e1b42fa
refs/heads/master
2023-06-26T08:30:13.862244
2021-07-22T13:57:31
2021-07-22T13:57:31
387,840,350
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
from django.test import TestCase # Create your tests here. from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse from .models import Post class BlogTests(TestCase): def setUp(self): self.user = get_user_model().objects.create_user( username=...
[ "josh@senswim.com" ]
josh@senswim.com
874356f7c15835a2cbfbcaec020e7f92a683ee3a
a18369348e9ca657d15c47a0b6d5f05ecbe7f26e
/main.py
86cd7a5e577fc92a47e9f7e8248602ef9ee63aa2
[]
no_license
stevie-h/1.7.2021
39060bbb667874f8817a2db73f49a2c6738ac2d8
15ed20e3097a20c333ce1fdb64b38ec8eb60adc3
refs/heads/main
2023-06-17T18:16:43.786929
2021-07-07T19:28:54
2021-07-07T19:28:54
383,188,307
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
# HW # exercises from https://qaarchint.wordpress.com/2021/07/02/python-marathon/
[ "noreply@github.com" ]
noreply@github.com
8bc1b80e842f887f3ee0f579212732acf07cdd82
a302095a04f7781f1c264eb17fa9ebee8f6b26c4
/ch1-ex2.py
1e6704f6344a141e5c2d492c645bf737dab7af01
[]
no_license
opi-lab/preliminares-aosoriob
1f7459a5a1f928bfce7f7aafc58cfbd7105cab28
e9519bf98eeba18570e7b7e375bf22d2699124ff
refs/heads/master
2021-01-25T12:44:20.443481
2018-03-08T22:49:05
2018-03-08T22:49:05
123,505,690
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from PIL import Image from pylab import * from scipy.ndimage import filters im = array(Image.open("imagen2.jpg").convert('L'), "f") # Creando imagen blurred sigma = 3 blurred = filters.gaussian_filter(im,sigma) weight = 0.25# escalar que multiplica a la imagen una vez blurred unsharp = im - weight*blurred # ...
[ "noreply@github.com" ]
noreply@github.com
3ee4f2addec32c0e331746ce8d188d7dfa38e847
9a692b550b257a2e19ab146925b88ed172bbc6cf
/test_api/test_api/settings.py
f10126f29e2fa2b2c518c11740d0753a10c20fa0
[]
no_license
VVD-byte/py_dev_test
e1613d90ef548d891295813eacae16e438745dfd
a6930193bd0f64bec4ed8f2e410e2e1a9e7f8af4
refs/heads/main
2023-03-24T15:22:46.717750
2021-03-23T08:16:25
2021-03-23T08:16:25
349,413,207
0
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
""" Django settings for test_api project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathli...
[ "vovavoronin1999@gmail.com" ]
vovavoronin1999@gmail.com
3d9ae9ed97e2086ac26476056509fc5b0de09fd3
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/ddpm_w_distillation/ddpm_w_distillation/config/dir_sample_cifar_condw_stage2.py
21ef73b70eed5bf50147b39ceb9c3b6117bd6ed4
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
6,859
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
4ba728c054427c96406b9abe05531f8c65c9a67a
e03e118dfb61e4f414035011c80718cff026ba9e
/main/analysis.py
dda3fc0df74a8891cf93466725399d16861d61cb
[]
no_license
15minutOdmora/RedditAnalysis
6a946a9896a59f878425d38a75de874679c6cf4c
fdec33443cb889ed74c687a960f8e2fe679ca62a
refs/heads/master
2021-01-26T04:42:42.918884
2020-04-14T09:22:28
2020-04-14T09:22:28
243,310,546
2
0
null
null
null
null
UTF-8
Python
false
false
20,298
py
import numpy as np import matplotlib.pyplot as plt import os import json import math class Analysis: def __init__(self, dir): self.dir = dir self.counted_data_dir = self.dir + r'\counted_data' self.data_files = self.dir + r'\data' self.sorted_data = json.load(open(self.dir + r'\ana...
[ "44203081+15minutOdmora@users.noreply.github.com" ]
44203081+15minutOdmora@users.noreply.github.com
e58beda762c47efd010b46b6c3e5309149104c90
19b7d0e225839b75a767cc62aeff15159e33a451
/day-5/part-2.py
78873479e442acf4437cb77018c5bd2544c25f46
[]
no_license
TomBombadilV/advent-of-code-2020
6942aa2f4cf703adc54beafd653ef21b0da02d11
09e9d30ad8871d6561c0c52c6e4f9815d7bf7f89
refs/heads/master
2023-02-04T01:55:15.008358
2020-12-19T16:29:04
2020-12-19T16:29:04
318,918,687
1
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
# Day 5 Part 2 from typing import List def decode(seat: str, rows: int, cols: int) -> int: """ Converts a seat into its seat code """ # Keep track of current seat window row_left, row_right = 0, rows - 1 col_left, col_right = 0, cols - 1 # Iterate through seat string, updating current seat window...
[ "carolyngychan@gmail.com" ]
carolyngychan@gmail.com
88ab09b0541b8ab896ba88063c9590026c36615d
785f5a4bfd97ac77559110fb831f18a3822b4e17
/01-python_crash_course/01-ejercicios_teoria/chapter_03_lists/bicycles.py
ca801e145ff518b9cf4696b1a32b4130de4d5840
[]
no_license
lionelherrerobattista/practica_python
c552ae06336eb805172decd0d527b26a17c09cb9
44f09bae58748c2c7c2449adc5117591abd2828d
refs/heads/master
2020-03-28T02:28:09.910563
2020-03-14T21:31:31
2020-03-14T21:31:31
147,572,377
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
bicycles = ['trek', 'cannondale', 'redline', 'specialized'] # ~ print(bicycles) # ~ print(bicycles[0].title()) # ~ print(bicycles[1]) # ~ print(bicycles[3]) # ~ print(bicycles[-1]) message = "My first bicyle was a " + bicycles[0].title() + "." print(message)
[ "-" ]
-
630d30611df501066fd29f0272f88adbd73b6db0
977e49e3d9940b79ad7cc55fdd6a31a85e199ee0
/devtracker/time.py
b6a47db0e42cf97d5b56271813a142ee58685759
[ "MIT" ]
permissive
ConSou/devtracker
e051045ea5a27e633426dbd7da572df2490c2493
ea892d6d48aa5d4627b429469b59ae3f0ce7f10f
refs/heads/master
2023-01-11T13:41:52.849977
2019-03-27T20:02:38
2019-03-27T20:02:38
177,614,070
1
1
MIT
2022-12-27T15:34:29
2019-03-25T15:29:25
Python
UTF-8
Python
false
false
3,074
py
import csv from .dir_and_path_helpers import mk_file_path, check_file from .time_and_date_helpers import get_date, get_time, total_time def make_project_csv(dir): if check_file(mk_file_path(dir)): start_time(dir) else: print("[+] First time working on {0}, creating file...".format(dir)) ...
[ "ConorSouhrada@gmail.com" ]
ConorSouhrada@gmail.com
d9227e657d330eebfff8a7108bd6c60f522b0fd3
f83845488fb40ca954cc7785499e6f44a4efe3ee
/solution/admin.py
6f555088b794c33f64c3e7874e04807daf2e503f
[]
no_license
justin3527/security_solution_api_app
3f7ef0a1bc1651cb63c47ae06f129af340deda7e
264004e5b0244cee5776c113bad194e46931d3e4
refs/heads/master
2020-04-23T19:40:28.961961
2019-06-26T02:13:24
2019-06-26T02:13:24
171,412,595
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from django.contrib import admin from .models import ServerData # Register your models here. admin.site.register(ServerData)
[ "skyings5@naver.com" ]
skyings5@naver.com
e54b24fa76a561c7a37d1d7e336ccb90544fbd02
e8f73030d427792a9c934fd6e096ea67494bc378
/launcher.py
5f895fecfb44ee98992b48f86252f6a1e8b0945e
[]
no_license
renanklehm/WM-Lages
e474dad636e0a043a0edd976a56a711484404ab9
933d2a7482f4741e5295fec5a6a3edf797ce28d9
refs/heads/master
2022-11-30T04:17:43.076969
2020-08-19T20:31:36
2020-08-19T20:31:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
from DataBase import DataBaseConnection import main import shutil import os import glob """def recursive_copy_files(source_path, destination_path, override=True): files_count = 0 if not os.path.exists(destination_path): os.mkdir(destination_path) print('Creating destination directory') ...
[ "renanotivin@hotmail.com" ]
renanotivin@hotmail.com
7a4e7e606d7f94222297752f4a930850506e838e
215ea0eebf40b9e1037de4edc95db4fb8b3506b4
/boards/models.py
d7980143ad65186d29849b0454921e21ee82f5db
[]
no_license
kaznakamura193/ky_app
ba648f9c2f27b389ea6393a83ef14f9f49df3773
55b6e5674062c6aab6a13aacc13ac31bcd895939
refs/heads/master
2020-04-01T01:50:55.068110
2018-10-12T13:32:33
2018-10-12T13:32:33
152,754,816
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
from django.db import models from django.contrib.auth.models import User class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField(max_length=100) class Topic(models.Model): subject = models.CharField(max_length=255) last_updated = models.DateTimeFi...
[ "kaz.nakamura.193@gmail.com" ]
kaz.nakamura.193@gmail.com
b35416f37ad9cfc67851d947813070decac673a1
caf8cbcafd448a301997770165b323438d119f5e
/.history/chapter01/python_05_if_condition_20201128215219.py
71f44fdea34ec2a59f9af31a0d6f8d10ae606e99
[ "MIT" ]
permissive
KustomApe/nerdape
03e0691f675f13ce2aefa46ee230111247e90c72
aef6fb2d1f8c364b26d91bf8570b4487a24de69a
refs/heads/main
2023-01-23T10:13:26.584386
2020-11-28T22:29:49
2020-11-28T22:29:49
309,897,105
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
"""[if文について] もし〜だったら、こうして """ # if 条件: # 実行するブロック # 条件によって処理を適応したい場合 # 3000kmごとにオイル交換しないといけない distance = 3403 if distance > 3000: print('オイル交換時期です') # 文字列を比較する/リストを比較する if 'abc' == 'ABC': print('1同類です') if 'CDE' == 'CDE': print('2同類です') if 'あいうえお' == 'あいうえお': print('3同類です') if ['apple', 'banana'...
[ "kustomape@gmail.com" ]
kustomape@gmail.com
5fbc5c34b348b43fdf08241bcc02815f1289c467
6732ecf2f4277a59fd0877373bdd69d1c3d218f4
/book/urls.py
d0126601e3ee4fcd157b26a2bff91be0fe06cf48
[]
no_license
MatinaBajracharya/book-review-system
2cf29e9560b7639d2e7bc06962f4e6b4da852d71
434f9bba1068fee814533311e3579df23ee59939
refs/heads/master
2023-04-25T16:51:06.400151
2021-05-11T10:44:05
2021-05-11T10:44:05
309,442,967
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from django.urls import path from .views import * from django.conf.urls import url urlpatterns=[ # path('browse/', BookListView.as_view(template_name='browse.html'), name='browse'), path('browse/', book_list, name='browse'), path('browse/<int:pk>/', detail, name='book-detail'), path('history/', history...
[ "58813551+matina13@users.noreply.github.com" ]
58813551+matina13@users.noreply.github.com
bf078dfcd61f760ea0651879022062800b6f6d61
d54dd2e67a0df874abbe6e1a8d8b94700b1d4913
/brollop1/settings.py
2c91c1ddfbeb53a57ee1e600ffc1678ec16f20ea
[]
no_license
AAnkanJ/brollop
d381c720b9ecb06c9714ea8e3408bd92fb9d6ad9
95ad8fac01988774f75e64478c5bcccf22307174
refs/heads/master
2023-04-28T03:04:11.538490
2023-04-13T15:18:21
2023-04-13T15:18:21
223,752,159
0
0
null
2023-04-21T20:42:50
2019-11-24T13:53:41
HTML
UTF-8
Python
false
false
4,129
py
""" Django settings for brollop1 project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "annikajson@gmail.com" ]
annikajson@gmail.com
b4423b66842562f192d05801e125386cca36aff8
9a5b9c29c87bf3a2d325e85fdf582e6f44dcec5f
/chapter4/exercises/p09.py
4682911a9fe128b56e5edf5072c58004c9590726
[]
no_license
ksomemo/NltkStudy
814a9f8ca7a41fa790157607a6d46538ab87f2af
d4ab99d0bc68feae02ff5bc9fe6328f7548aa98a
refs/heads/master
2020-06-03T10:30:57.969586
2014-04-06T02:38:41
2014-04-06T02:38:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
# -*- coding: utf-8 -*- import unittest class TestSequenceFunctions(unittest.TestCase): """ 文字列の先頭と末尾の空白を削除して、単語間の空白を1文字にする """ def setUp(self): self.expected = 'a b c d' self.target = ' a b c d ' def test_split_join(self): actual = ' '.join(self.target.split()) ...
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
413cc13fdfa37037259e369fca378ec613bff873
d4f2f62ce6042382abd5e2f4be6993fd45c706d5
/pystone/nested_enviroment.py
ab3547d4ea99f4088659bb15b03b60ac23ac5ff8
[]
no_license
CosmosShadow/pystone
62667bb5f098eddca4b11586c4e539e35d7e5891
62cfcd21b37f834569a7a54ae8c707003683f44c
refs/heads/master
2021-03-27T15:46:57.594007
2017-10-15T17:21:14
2017-10-15T17:21:14
104,151,274
2
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
# coding: utf-8 from __future__ import absolute_import from __future__ import print_function from __future__ import division import copy import json from .enviroment import Enviroment from .exception import * class NestedEnv(Enviroment): def __init__(self, outer=None): super(NestedEnv, self).__init__() self._out...
[ "lichenarthurdata@gmail.com" ]
lichenarthurdata@gmail.com
b39ca9d3645b3881d5ac6e6afc2ad3e6641815d9
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/semantic_segmentation/DeeplabV3_for_Pytorch/mmseg/models/utils/inverted_residual.py
01b9be23cc2a64dc5a71e842fd2b365f099dd07c
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
7,777
py
# Copyright 2021 Huawei # Copyright 2021 Huawei Technologies Co., Ltd # # 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....
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
a457dfaf302c3936e9ab61ace2a95fb9b664ca19
462a3ff3a280623c0f76389e61fe129ad87f3f39
/tests/test_config.py
eabd0fc8ea84c8cdcf36488dbe62038d7b58ae2c
[]
no_license
cgnitash/MABE_testing
8c2365ae062633523d2bfcea0b4ed2a1771d2d53
b37bf7da89edc3634ba0e89bff806e20adf700ec
refs/heads/master
2020-03-19T04:44:46.428424
2018-05-30T16:25:16
2018-05-30T16:25:16
135,861,600
0
0
null
null
null
null
UTF-8
Python
false
false
4,386
py
import os, subprocess, pytest from utils.helpers import this_repo_path, mabe, dotSlashMabe, dirname_baseline, dirname_testline, path_baseline_exe, path_testline_exe from utils.helpers import cd, diff, repoDiff, runCmdAndHideOutput, runCmdAndShowOutput, runCmdAndSaveOutput, getFileContents from utils.helpers import copy...
[ "joryschossau@gmail.com" ]
joryschossau@gmail.com
ea5d1188a37085eef617480b440ef7078d84af08
6be5dfe95f8b4d60267b00aab6e162f62cb66e43
/jobscheduler/jobscheduler.py
c22cf03eb71efccf2997689afb5726eff5649575
[ "MIT" ]
permissive
wenbobuaa/pykit
5f0db60be4d86b46eb5c49739f5c05c1f8b7aae3
43e38fe40297a1e7a9329bcf3db3554c7ca48ead
refs/heads/master
2021-04-26T23:52:28.091347
2018-07-17T01:57:14
2018-07-18T10:02:34
123,873,359
0
0
MIT
2018-03-28T05:58:17
2018-03-05T06:12:41
Python
UTF-8
Python
false
false
8,685
py
import ctypes import datetime import logging import threading import time import pytz import tzlocal from pykit import threadutil from pykit import timeutil from pykit import utfjson SYS_gettid = 186 logger = logging.getLogger(__name__) class NextFireTimeError(Exception): pass class JobExistError(Exception)...
[ "zhi.ren@baishancloud.com" ]
zhi.ren@baishancloud.com
1f3a8832fcfc01a0ed8057f1fccc758b30dd56cb
b3cb41c81069ad2e447a7bab98fd269235996a51
/dev/phillips_compare.py
84e5f261e2193c6b85e1c4b41bff7cd61ce6b9d9
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
usuaero/PyProp
e289e8bd64d2d0db51547a808a1f019b37b14fc4
e568dda610632adf1ab208a6861cca8d8dd84e75
refs/heads/master
2023-06-03T01:35:08.525608
2021-06-21T16:45:51
2021-06-21T16:45:51
280,196,572
15
1
null
null
null
null
UTF-8
Python
false
false
2,831
py
"""Duplicates Phillips' "Mechanics of Flight" Example 2.3.1""" import pyprop import numpy as np from pyprop.helpers import to_rpm import matplotlib.pyplot as plt # Declare prop getter functions def airfoil_CL(**kwargs): alpha = kwargs.get("alpha", 0.0) a_b = np.asarray(alpha+np.radians(2.1)) return np.whe...
[ "cory.goates@aggiemail.usu.edu" ]
cory.goates@aggiemail.usu.edu
bc9a9fb49c34d6e77443b627f5818349c827d6ab
afb584832c8b70e15b93cf92bc2029c165c66482
/014-timecycle.py
1c7c49cd2fc0c40c44fe0db471ee72ce53d82e8d
[]
no_license
zenogears/BuRasPi
474c20856884b44c735180d608e3a14af5c9ebe7
d5284b7c2c3fbdb218e09f3b6a10d8b3079536bb
refs/heads/master
2020-12-29T01:54:50.352209
2016-04-20T23:33:12
2016-04-20T23:33:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,906
py
#!/usr/bin/python3.4 #coding=utf-8 import time from datetime import datetime import RPi.GPIO as GPIO import os GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) #Почему-то только в этом режиме #для моей схемы подключения модуля из 4 реле. Пример работы распиновки: http://www.youtube.com/watch?v=Ln2owTgYv9M&index=4&list...
[ "bugbut@mail.ru" ]
bugbut@mail.ru
4be336dfbf169295360a2a105ef7008b6e59a2a1
3241c360a6fa528ab282d5864ecaf054afd09360
/Algorithm/SANGMIN/11501.py
e85725c35e0b40b5e85b67c3071c7fdb036deff7
[]
no_license
sangjun-Leee/SangSangPlus
33128044a58fc4f428e3ac8318b06fdc75d9bd31
f7d976ef72489d393de4475463ca279ae4cb167f
refs/heads/main
2023-08-20T12:01:31.325122
2021-10-15T06:44:28
2021-10-15T06:44:28
406,429,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
''' https://www.acmicpc.net/problem/11501 주식 [풀이] 1. 핵심은, 두 가지이다. => 미래에 가격이 오르면 무조건 현재 산다. => 미래에 가격이 최대인 날에 주식을 판다. 2. 또한, 주어진 주식 데이터 길이가 1,000,000 이므로 N^2은 불가능 => N 으로 진행해야 겠다는 생각을 할 수 있음 3. 이 때, 현재를 기준으로 미래의 데이터를 조사(미래에 가격이 최대인 날을 찾는 과정)하려고 하면 N^2이 소요된다. => 따라서, 현재를 기준으로 과거 데이터를 조사하는 방향으로 하자. 4. 그렇게 되면 다음과 같은 통찰을 얻...
[ "noreply@github.com" ]
noreply@github.com
be07696d50b5ada8255d3fd83bee4267a66a07dd
2ad789090db7a377f746413e397b603c76f547fa
/V-REP_PRO_EDU_V3_6_0_Ubuntu16_04/programming/bluezero/bindings/python-ctypes/test-publisher.py
27a990ea5006c9e13b6a60bca395ffb9342c2393
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JasonLeeUT/Robotics
442b8217918a32b3e8df454b9890ab83280ee7f3
7e21e5d18b42cfcaafd01b0243f221a051692f11
refs/heads/master
2023-01-23T00:14:41.801025
2020-11-19T02:23:55
2020-11-19T02:23:55
314,112,186
0
1
null
null
null
null
UTF-8
Python
false
false
441
py
# -*- coding: utf-8 -*- import b0 import time node = b0.Node('python-publisher') pub = b0.Publisher(node, 'A') node.init() print('Publishing to topic "%s"...' % pub.get_topic_name()) i = 0 while not node.shutdown_requested(): msg_str = u'µsg-%d' % i i += 1 print('Sending message "%s"...' % msg_...
[ "18811526516@163.com" ]
18811526516@163.com
6f8999c0633473f5d33dcc21aa6d0f460b475531
b853c3b9e7892280bd4095a975e8dd762363f5f5
/api/migrations/0001_initial.py
3b1df9126365ff50502f09a889a81fb7dea0d1bf
[]
no_license
yeswanthannadata/genderapi
d3c3d89b21690b264b3eb94b01dd6e7cff6b612c
b9c3e4b840c8246e51e9d9a76e954c0a474923ab
refs/heads/master
2020-04-11T04:23:12.639388
2016-09-12T15:33:15
2016-09-12T15:33:15
68,022,115
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Details', fields=[ ('id', models.AutoField(verb...
[ "annadatayeswanth@gmail.com" ]
annadatayeswanth@gmail.com
d0dec12e629ac375ae18b31e5bc6d115b4badd64
f6f0cadc0d74aaad6512a3faab3fce2cfc858f10
/run_copy.py
fb1a1f244319e886d79d9f5d5c6c0c3ca227447e
[ "MIT" ]
permissive
wxwxzhang/extreme-summarization-of-source-code
f70f0a4ce7861866e012e52de4931a24c6cf7e35
e62b8174faa548bc4f240762835e61af46e5223e
refs/heads/master
2020-09-03T15:30:30.325805
2018-09-21T11:46:27
2018-09-21T11:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,161
py
import torch import torch.optim as optim import torch.nn as nn from torchtext.data import Field, LabelField from torchtext.data import TabularDataset from torchtext.data import BucketIterator import os import argparse import random import models import utils parser = argparse.ArgumentParser(description='Implementio...
[ "bentrevett@gmail.com" ]
bentrevett@gmail.com
3def15806b2c6935dae0896a56b6fcfb20bc592b
c225a68767e1d2a4123e19772f2e08e8967fb592
/mainsite/models.py
bd5259a67b860ad815b55e4bf228b644fc536050
[]
no_license
Sajor-X/Sajor_blog
379087e1b41874c4878e398ae09895d7d43d21b0
f318eb4494e120c6ee8f7e05eba111b54b32d1c5
refs/heads/master
2022-11-18T23:20:30.225447
2018-04-03T12:04:01
2018-04-03T12:04:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): title = models.CharField(max_length=200) slug = models.CharField(max_length=200) body = models.TextField() pub_date = models.DateTimeField(default=timezone.now) class Meta: ...
[ "565785929@qq.com" ]
565785929@qq.com
480cd6b1eaf6e81feaa834bfd246f0e85cf9695e
9e96e21a9c51a1ca4e2183f163e566bc24c07d42
/maskrcnn_benchmark/utils/comm.py
b12072aea4fd0f46b6578ee6c1b86782b587594d
[]
no_license
zhouhaocv/RLM-Net
7a13263f591a99bbd5abd126004240aff9ca66d7
c1a692e6b84e59957da7369dc6426a8515cb5d8e
refs/heads/master
2020-06-25T12:51:36.971532
2020-06-22T07:21:10
2020-06-22T07:21:10
199,311,490
16
2
null
null
null
null
UTF-8
Python
false
false
6,143
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """ This file contains primitives for multi-gpu communication. This is useful when doing distributed training. """ import os import pickle import tempfile import time import torch import torch.distributed as dist def get_world_size(): if no...
[ "1368982347@qq.com" ]
1368982347@qq.com
39bea274ace88e368afd36d0ea7fb79c2d3db73a
be6b100e09aeeb7e7172abd037a00a6d29dca4f4
/feeds/views.py
392b277ba842e20b217a1da03e5135ad09fb98e5
[]
no_license
forstleblue/DemoAppUser
fc93fe97398a1151fa9be10cdc60cb8f152ce9ec
6a31a82e0b7a82ae1e09631c86a787e7ae08eb1a
refs/heads/master
2021-07-08T01:55:00.244423
2017-10-01T04:01:05
2017-10-01T04:01:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,922
py
import json from django.contrib.auth.decorators import login_required from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator from django.http import (HttpResponse, HttpResponseBadRequest, HttpResponseForbidden) from django.shortcuts import get_object_or_404, render from djang...
[ "viktor@pcbetadeMac-2.local" ]
viktor@pcbetadeMac-2.local
592b026eea60637891126979c84878aa55bba9f2
b76e39e535499704368eddc26237dc0016ef7d06
/CASTERSIMULATION/Instrumentplc/latestfiles/calallABPdrives_V3.py
6729dbb4d7d6816a1535e1bf0a9b89eb163319bc
[]
no_license
BUBAIMITRA2018/castersimulation
0532e53df7d346c2824e577cc91cd0ac2ce4694c
eca5fddff5c0f33f785168f6b1e9f572c1622be0
refs/heads/master
2022-12-10T02:45:04.207196
2020-09-09T05:35:54
2020-09-09T05:35:54
260,110,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
from logger import * from fn_ABP_drive_V3 import * import logging logger = logging.getLogger("main.log") class Cal_ABBDrives: def __init__(self,df,com): self.df = df self.com = com self.listofdrives = [] self.listofdrivearea = [] self.devicelistperarea = [[]] sel...
[ "subrata.mitra@sms-group.com" ]
subrata.mitra@sms-group.com
309d07035024a6f4c4a5c2c4c3f509c78a162f46
0fc78025778bc2905be091e7840c0364d987133e
/weather_spider/__init__.py
4f6477075fee5c631cadede144c0956910e5a917
[]
no_license
jeffreyzzh/myspider
5e5acc52906ffb944c1c112be0ee9ab15ebe2868
d72befdd45edd059dfae4077cfde5969928323a8
refs/heads/master
2021-01-13T07:22:34.998234
2017-04-27T14:13:21
2017-04-27T14:13:21
71,528,170
1
0
null
null
null
null
UTF-8
Python
false
false
41
py
# -*- coding: utf-8 -*- # 2017/4/26 0026
[ "124303687@qq.com" ]
124303687@qq.com
7e0d728ad0e25fb39f5845003077a6be5587cfaa
5483eb59f8e0c950b1f2a337f0805da4081b06c1
/polls_project/polls/views.py
19a8bf634c1b40aefa084da76380528957031b54
[]
no_license
aust10/django_fun
666957414d7f4f069f2770c55db5cb5c46815817
93f7f9dde6b1b046582d5dd0685d274a7ac30bca
refs/heads/master
2021-09-27T05:19:55.651347
2020-07-22T18:12:36
2020-07-22T18:12:36
250,668,790
0
0
null
2021-09-22T18:55:42
2020-03-27T23:07:26
Python
UTF-8
Python
false
false
1,957
py
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from django.utils import timezone from .models import Question, Choice class IndexView(generic.ListView): template_name = 'polls/index....
[ "coteausten@gmail.com" ]
coteausten@gmail.com
edddb4dd1cd91eae4a9a569c9a35726d8a593b9c
47502e9033b20ad03d5861e3940c7ec6c95ffc86
/treemodeladmin/templatetags/treemodeladmin_tags.py
e952d2bc6dd6c12030bd1f6b39138ac371a29ba5
[ "CC0-1.0" ]
permissive
DalavanCloud/wagtail-treemodeladmin
30000aeb14815c1b733267e7a436cae06399f4ad
e2c49ceea5f378ff639f4bf467de189fe86fd3a0
refs/heads/master
2020-04-25T06:42:54.939620
2018-11-05T18:17:58
2018-11-05T18:17:58
172,590,191
1
0
null
2019-02-25T21:45:49
2019-02-25T21:45:49
null
UTF-8
Python
false
false
1,198
py
from django.template import Library from wagtail.contrib.modeladmin.templatetags.modeladmin_tags import ( result_list, result_row_display, ) register = Library() @register.inclusion_tag("treemodeladmin/includes/tree_result_list.html", takes_context=True) def tree_result_list(context...
[ "william.barton@cfpb.gov" ]
william.barton@cfpb.gov
4b59ec8381847efc181138f5b97710431cf9436a
a1e4b21a5fe07c9d9332e10dbcce25a6f5ed92de
/test.py
7ff6e92a921f2739360b039c3b751c85604e572c
[]
no_license
uditsharma29/AttributePredictionsVRAI
defaab8e7b3230f2345aa335817a96508338348c
fbd16971a9fa2d5bf14a993d570d08a33a1d898a
refs/heads/master
2023-01-14T12:05:19.681051
2020-11-20T01:53:15
2020-11-20T01:53:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,276
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 6 17:29:46 2020 @author: udits """ import argparse import os import warnings import matplotlib.pyplot as plt import numpy as np import torch import torchvision.transforms as transforms #from dataset import FashionDataset, AttributesDataset, mean, std from model import ...
[ "us2848@rit.edu" ]
us2848@rit.edu
eea81f8d92a5f4b5914eb02992153a06f56c77aa
f4d362f3c3a1bd127923ed3fa30c03a1587caa38
/pyactivemodel/base.py
be0a2dc7be4dbe0df77855ef7353b2b5e29633e2
[ "MIT" ]
permissive
zhuyifei1999/wmcn-activemodel-py
e8be64d06bb529d12a9ae11a6509aaf4345085ee
143d8f55fbd34fb21c401a9574530eba7f8d287b
refs/heads/master
2021-01-02T09:42:16.068768
2017-08-04T02:52:16
2017-08-04T02:55:22
99,283,216
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# -*- coding: UTF-8 -*- noop = lambda *args, **kwargs: None # noqa: E731 class ActiveModelBase(type): def __new__(metacls, name, bases, namespace, **kwargs): """Create the new class, run classinit_includes.""" cls = super().__new__(metacls, name, bases, namespace) for classes in reverse...
[ "zhuyifei1999@gmail.com" ]
zhuyifei1999@gmail.com
108209cb2a4a35deba0f4aa4d5f213e33ac9aea3
c8d8e570a1936952f170e4863a1fde871756160f
/core/management/commands/index_titles.py
783e8bb74b4258ed5e253d7d0ea3b40e88d6b5e5
[]
no_license
CDRH/nebnews
90db170cf4091dec328898f5e12a487f2f632929
b8f064c4dcc2561c0f130cfc0db02f114da527da
refs/heads/main
2023-08-22T20:25:04.638718
2018-08-09T17:29:30
2018-08-09T17:29:30
34,015,551
3
0
null
null
null
null
UTF-8
Python
false
false
465
py
import logging from django.core.management.base import BaseCommand from chronam.core.management.commands import configure_logging from chronam.core.index import index_titles configure_logging("index_titles_logging.config", "index_titles.log") _logger = logging.getLogger(__name__) class Command(BaseCommand): ...
[ "rioh@loc.gov" ]
rioh@loc.gov
2c9f982ff712ff03b6c2fb9764ef24fc322a0f82
650b516b1214c4d44fd6f04941e87e28e9049cde
/addons/script.mtvguide/streaming.py
8f841b20c43e14c1555bef8e094786504de6c532
[]
no_license
MultiWu/build
b85cc45a33b871f4ade58de8457fcd094761f385
f50a64f674b6499668e0a5758fe0879b016f5c38
refs/heads/master
2022-10-31T20:35:53.382826
2019-12-20T22:50:16
2019-12-20T22:50:16
228,462,984
0
3
null
2022-10-07T08:47:18
2019-12-16T19:46:39
Python
UTF-8
Python
false
false
11,622
py
# Copyright (C) 2012 Tommy Winther # http://tommy.winther.nu # # This Program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This Program is dist...
[ "oliwierminota@gmail.com" ]
oliwierminota@gmail.com
65a327b0db2fe61c17d851aef22248b05b86c466
9ff0e35334f06fa98d46b844d6bcd27e5c191266
/pageAction/order_action.py
01d14f70a0ab5faf524a5d68f80fbeeb64cda2ee
[]
no_license
zhangyuyu0222/mtx0117
ec6bfbd068b3422ac4d96d49a1756bbbac0be4a8
8a93c8bbab3dfcf11d59b9061380c74a1a3506ea
refs/heads/master
2023-02-16T14:24:44.150213
2021-01-16T03:39:43
2021-01-16T03:39:43
330,388,119
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
# 导包 import time from lesson13.lesson13_1买裙子调用类.pageAction.action_manager import ActionManage ''' 组合业务 引入页面对象 ''' class Buy_pinkskirt(ActionManage): def buy_pinkskirt_business(self): self.pageindex.click_pinkskirt() time.sleep(1) self.pageindex.change_window() time.sleep(1) ...
[ "1719151241@qq.com" ]
1719151241@qq.com
6267eb1c55485c3686510613a53527be2a437057
6e1fae6052a9fca260585439311128f06d449a34
/Python/createTablesSQLite3.py
b737711f4b3c0bf8fe8ca8e31beebc44087827ac
[]
no_license
thecodearrow/Programming-Tasks
797d687f405e021ae37b07ae6c15175ad693154c
8779dfb14a79b4451f8feafde9b1daf30eea9e4b
refs/heads/master
2020-05-22T02:33:56.289954
2018-07-28T09:18:51
2018-07-28T09:18:51
84,663,349
1
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
""" Table CREATION-- Books,Titles,Publishers,Zip Codes, Authors Titles, AUthors """ import sqlite3 def create_table(): #Exception handling for the sqlite connection try: conn=sqlite3.connect('library.db') c=conn.cursor() #CREATING TABLES c.execute('CREATE TABLE ZIPCODES(ZIP_CODE_ID TEXT PRIMARY KEY ...
[ "you@example.com" ]
you@example.com
0a89bf2cf3823d660a7228315a6db6e090c2d5b3
08d6dba0d2fbde98f572f2d1423a95d4f0addfb5
/modulo-1/desafio007.py
b9f94863e19e9b67dcbb436cfbee22eb313f71e6
[ "MIT" ]
permissive
Maximos007/Exercicios-Python-Modulo1
b859cf695d442a7abfb1f441d38160fb7cb6be19
fc269296e4fc2f4b08d949040c5e7fff51495f2c
refs/heads/main
2023-03-02T03:27:06.463453
2021-02-08T22:39:22
2021-02-08T22:39:22
336,445,295
1
0
null
null
null
null
UTF-8
Python
false
false
165
py
nota1 = float(input('Primeira nota : ')) nota2 = float(input('Segunda nota : ')) soma = nota1 + nota2 media = soma / 2 print('Soma {} média {}'.format(soma, media))
[ "waslleymax@gmail.com" ]
waslleymax@gmail.com
b269e0594b7094cc006a3156adb471214675a64e
457c3e20036060adfb6a019fc1917546b8585cc9
/dark.py
608d6af4e80b6867eb0e1e911c984a45c0e350be
[]
no_license
D1ARK-VA4U3/Birthday.wish
6973acdf5df4ca55c87b114e6055f333e479c6e6
041b2bc3091144d5ac5172f53119e7b8d0e16076
refs/heads/main
2023-06-21T19:30:22.693097
2021-07-17T15:58:46
2021-07-17T15:58:46
386,980,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
import itertools ban = ''' ''' print('\n------------------\n\n D1ARK-VA4U3 \033[32m2.0\033[m | Its Me Dark King\n\n~ Tools Make by: D1ARK-VA4U3 FROM BCA TEAM\n\n------------------\n') scale = input('\033[36m[!] provide a size scale [eg: "1 to 8" = 1:8] : ') star...
[ "noreply@github.com" ]
noreply@github.com
b0e2416d470cc5f24e7731d0491051295cc4f4b0
197420c1f28ccb98059888dff214c9fd7226e743
/happy_pythoning_cource/Part_4/4.1.1.Password_comparing/4.1.1.password_comparing.py
c522343418d97a0fd058b829a9b6f0fe5eff3384
[]
no_license
Vovanuch/python-basics-1
fc10b6f745defff31364b66c65a704a9cf05d076
a29affec12e8b80a1d3beda3a50cde4867b1dee2
refs/heads/master
2023-07-06T17:10:46.341121
2021-08-06T05:38:19
2021-08-06T05:38:19
267,504,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
''' Пароль При регистрации на сайтах требуется вводить пароль дважды. Это сделано для безопасности, поскольку такой подход уменьшает возможность неверного ввода пароля. Напишите программу, которая сравнивает пароль и его подтверждение. Если они совпадают, то программа выводит: «Пароль принят», иначе: «Пароль не прин...
[ "vetohin.vladimir@gmail.com" ]
vetohin.vladimir@gmail.com
f1b1f2e7cdbd3782caf07c6d8fac5894512e2308
27044bb88c709e7ffa5278afc7c81f37e0b6e9e4
/venv/lib/python3.10/site-packages/rich/errors.py
ab1fb97994c508091d92fe3fc2098585aa21c320
[]
no_license
mesaye85/organika_Inventory_project-with-React-
48c93efb6aba64d5e9310c57e4c5a06d3f2cc502
6aa3d29e8be3e22b8dc9163d558cdcc8c9122fd1
refs/heads/main
2023-02-19T10:11:47.880754
2023-02-14T01:55:43
2023-02-14T01:55:43
298,101,393
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/e6/93/f7/29ce5de1027f734285b31adfca18e23d57bb275ccea9215b140cdc57e6
[ "67935330+mesaye85@users.noreply.github.com" ]
67935330+mesaye85@users.noreply.github.com
214bbafb9ca631e71c4cff2fd4d55f1af76b2482
6c85401ae391b8c63808789ac4eaf583085b761e
/data_sync/sync_main/entrance.py
08ab1afef4643161607fd038d3587eb464199fe3
[]
no_license
rkzhang/data_sync
60691d8f1c3027b76722d5d41f3afcdda26c127b
cd98a4dc8e7ff9fe7b36df08d8c21eba2cee1f6d
refs/heads/master
2016-09-02T04:55:20.486096
2015-01-06T02:34:21
2015-01-06T02:34:21
28,586,594
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
362
py
#-*-coding:UTF-8-*- ''' Created on 2014Äê12ÔÂ24ÈÕ @author: zhangr01 ''' from sync_main.watcher import WatcherThread from sync_main.data_consumer import ConsumerThread import time t_watcher = WatcherThread(); t_watcher.start() for i in range(5) : t_consumer = ConsumerThread(); t_consumer.start() ...
[ "zhangr01@SHPC050.gdsh.china" ]
zhangr01@SHPC050.gdsh.china
c5c85e191d1f5478a197ed951010c41e372ca36b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_kv_result.py
3808e6c70a5cbc3fc914f863fa9c73ed150831e2
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,572
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class SmartDocumentRecognizerKvResult: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f721f383bba5a9421e5b1e98752bd34c7f0aa7fb
4ca59fa23ed7d26a5d1d29ad0b182d87df6885ad
/venv/Menu/Burgers.py
189d5fa858e62c6ce6bf5883603e20f5401fee79
[]
no_license
RAVISH-KUMAR-PANDEY/POS
2be8311fdf5ced6098b49dbdbf5a94720065f8d1
0a2fd3fd40223b4d329166ea07bd6ca9cff0453d
refs/heads/master
2020-03-21T23:19:00.950938
2018-06-29T17:54:08
2018-06-29T17:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
from Menu import lsBrg class Brg: def __init__(self,name,price): self.name=name self.price=price @classmethod def setterBrg(cls): objbrg=[] for i, j in zip(lsBrg.keys(), lsBrg.values()): objbrg.append(Brg(i,j)) return objbrg @classmethod def Show...
[ "ravishpandey312@gmail.com" ]
ravishpandey312@gmail.com
b50ccde95c834b12913d5b58f2734a388a0872a7
bc464d2f33ee41e4b2595b01dd3f29e5347edaaf
/PDF/01development/read_PDFtk_dumpdata.py
b917a6c1eff059193dbec535670b2dc954b7d0e4
[]
no_license
peterhsprenger/VuRProjects
b6256260ea36193bbb631398fbbae3572e1a822d
b082b1592b2bc1094a53086a1698a630f23e5e39
refs/heads/master
2021-01-10T05:31:52.989976
2015-11-05T01:58:04
2015-11-05T01:58:04
44,212,869
0
0
null
null
null
null
ISO-8859-1
Python
false
false
1,938
py
# -*- coding: iso-8859-1 -*- import os #import subprocess import re #import string dump_data = [] dump_data_path = "F:\UTBeScholars\LIEFERUNG\Inhaltsverzeichnisse\TMP" bookmarks = {} # Zusammenstellung aller Dateien im Verzeichnis zu weiteren Bearbeitung; es werden die Dateinamen ohne Pfad ausgegeben f...
[ "peter.h.sprenger@gmail.com" ]
peter.h.sprenger@gmail.com
0a874592b2b9ca19355cf79fad234aa814e89655
26b87e8933578c041232e60bc8f6f033c8bbdfb1
/main_app/migrations/0012_auto_20190825_1438.py
a573815651584c1a7765acaa948d4aaa78574bf8
[]
no_license
mchlsdrv/lucidpy_site
bb37bf84736eccf493a11d9e6eff915f6a561cdd
c04dfa534d2e192f0943541461821657f8c4c094
refs/heads/master
2023-09-02T18:43:42.196169
2021-11-01T09:49:07
2021-11-01T09:49:07
217,487,431
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Generated by Django 2.1.5 on 2019-08-25 11:38 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0011_auto_20190825_1429'), ] operations = [ migrations.AlterField( model_name='post', na...
[ "mchlsdrv@gmail.com" ]
mchlsdrv@gmail.com
f3006e05e8c84437c800d6eddecf68c544327558
53cc7d0c2cbeb3c2d6e26739e2b64c36e7580869
/networks/db1/3-3/submit.py
ee603cce95375c6067163d7adf8117440b15066a
[]
no_license
jkitchin/amp-tutorial
951720dc1071f62ca220b0aa7ec841e227086162
ea89852cbfea602db061dde48837604565b26f40
refs/heads/master
2020-12-25T03:21:25.386984
2017-03-16T16:53:33
2017-03-16T16:53:33
50,206,355
1
0
null
2016-01-22T20:41:32
2016-01-22T20:41:32
null
UTF-8
Python
false
false
456
py
#!/usr/bin/env python from amp import Amp from amp.descriptor import * from amp.regression import * calc = Amp(label="./", descriptor=Behler(cutoff=6.0), regression=NeuralNetwork(hiddenlayers=(2, 3))) calc.train("../train.db", # The training data cores=1, global_search=None...
[ "jboes@andrew.cmu.edu" ]
jboes@andrew.cmu.edu
465fd2c3192b8abcca71593d9b3ee7bc1848867e
b4ccb7e67d066649e5ece45d556e76ba45778683
/students/forms.py
89bf1de2af8b1dea340ec6bcb3daaafec34b3bfa
[]
no_license
elbination/Django-ELearning
51ca6e5feb411bf279729410abcc2e2e54241804
07d57a415885af37fac1e818ed172937df8798dd
refs/heads/main
2023-07-19T22:38:03.816242
2021-08-24T02:53:35
2021-08-24T02:53:35
392,744,316
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django import forms from courses.models import Course class CourseEnrollForm(forms.Form): # Use HiddenInput widget to not to show this field the user. # This form is used in the CourseDetailView course = forms.ModelChoiceField(queryset=Course.objects.all(), widget=...
[ "elbination1998@gmail.com" ]
elbination1998@gmail.com
7ada391c8583896595b322ab1117e8ecfb68820e
9f2ade5d29f61d1426ecbbe13120b14102b274ae
/core/settings.py
59a443f19ed3aca9f73d6d5a5a2dde1a084a588b
[]
no_license
Dieggg/DLD-Desarrollo-ET
4c7004bd02de97ad73a9bcd74763a4eabe5a2e78
f50f98e53ac2a5e4047c1547c2dcbc1ce908d77b
refs/heads/master
2022-12-10T19:43:08.624276
2019-12-13T03:37:21
2019-12-13T03:37:21
227,510,172
0
0
null
2019-12-12T03:17:01
2019-12-12T03:15:33
Python
UTF-8
Python
false
false
3,676
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Buil...
[ "die.sanchezc@alumnos.duoc.cl" ]
die.sanchezc@alumnos.duoc.cl