blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
e26d4a6c0313fa49abae436161120ce69cc63449
f1c41d441f31f82e44a32e69cf697594e6f81f03
/homeassistant/components/risco/const.py
23d29bc11a9dd23d33edf461dac5f0325694f5c5
[ "Apache-2.0" ]
permissive
titilambert/home-assistant
363240782fb74b47251ccb5f2e518ab5ff790aa9
a2651845f379992231fd7b9c8458828036296ee0
refs/heads/dev
2023-01-23T04:19:40.006676
2020-08-26T16:03:03
2020-08-26T16:03:03
56,938,172
4
0
Apache-2.0
2023-01-13T06:01:54
2016-04-23T19:56:36
Python
UTF-8
Python
false
false
214
py
"""Constants for the Risco integration.""" DOMAIN = "risco" DATA_COORDINATOR = "risco" DEFAULT_SCAN_INTERVAL = 30 CONF_CODE_ARM_REQUIRED = "code_arm_required" CONF_CODE_DISARM_REQUIRED = "code_disarm_required"
[ "noreply@github.com" ]
noreply@github.com
8428e1f7302c80613880cf8d8a664368691cd001
58340a96d36013df5f7978c3f9b98e6a7badd65e
/python_multilabel_train/train/data_layer.py
a91c254514e7fdcbf540ae2c989d525ec98a74b6
[]
no_license
lvchigo/caffe_multilabel
00427974aebdf1a31943f0af92a4fd14e6be97da
c3f6b3a5af859fe4653546a83b5796f42cc94d54
refs/heads/master
2020-04-12T23:48:56.425307
2016-12-21T07:39:15
2016-12-21T07:39:15
68,178,965
1
0
null
null
null
null
UTF-8
Python
false
false
3,224
py
import sys sys.path.insert(0, '/home/xiaotian/caffe/python') import caffe import numpy as np import cv2 import copy import img_process import config class DataLayerTrain(caffe.Layer): def setup(self, bottom, top): self._batch_size = config.BATCH_SIZE self._class_num = config.CLASS_NUM self._image_width = co...
[ "xiaogao@in66.com" ]
xiaogao@in66.com
9d5940b50bb1c85781629bf130b65cdb741c45e3
6dc72f5c7a1f802a27cbefdd62f1ac05836c5219
/PyDemo/DataAnalysisCode/matplotlibTest.py
8e4a9d085e51d88380970dabe8927a0aa02479f9
[]
no_license
RockJohnson503/MyDemo
9e4e5c7b02ee76d5437fd54c36050655fca145fb
dc1062df01cc53eb9a2a1849709d2f88e8b4488c
refs/heads/master
2022-05-13T22:45:27.051170
2020-04-24T07:32:13
2020-04-24T07:32:13
123,227,439
5
1
null
2022-04-22T21:10:48
2018-02-28T04:07:08
Jupyter Notebook
UTF-8
Python
false
false
2,958
py
# encoding: utf-8 """ File: matplotlibTest.py Author: Rock Johnson """ import numpy as np import matplotlib.pyplot as plt def main(): # Line """ x = np.linspace(-np.pi, np.pi, 256, endpoint=True) # 用numpy生成x轴的线 c, s = np.cos(x), np.sin(x) # 用numpy定义正弦和余弦 plt.figure(1) # 绘制第一个图 plt.plot(x, c...
[ "836867547@qq.com" ]
836867547@qq.com
187474f9cc7c5845c7a05ff21704d32d32a98c2a
b5e5c37d4221242ec07808e3fb4c8af41d31cc44
/flask_blueprints/colleges_example/migrations/versions/546cf1124ce1_created_blueprints.py
f3a561ae533e0ae15a0d36c3c8a4d3e12562e293
[ "MIT" ]
permissive
yeshwindbz9/flask_crash_codes
1016b3cc1f3eeab474db1b250f903279e34abf4e
d7baf100c3ad3dd57f583fa2e524e737c5b4090a
refs/heads/main
2023-06-28T10:41:55.795560
2021-07-20T13:53:59
2021-07-20T13:53:59
387,804,719
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
"""created blueprints Revision ID: 546cf1124ce1 Revises: Create Date: 2021-06-13 22:48:00.089076 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '546cf1124ce1' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto...
[ "64612584+yeshwindbz9@users.noreply.github.com" ]
64612584+yeshwindbz9@users.noreply.github.com
2e7e9f5be7855f4a1ce1d0e1549965cb9c9a4803
348436759194f3645c283dadbf23e55012b63eea
/test_a_voice.py
49c06b86b802e62466adc280d0f692497771a25b
[]
no_license
alexandrali3/User-Identification
4352f8019dee16daee09fcb9b38214e60ae0c4d4
0103e822bb6acc8bfb58c514600804ec82bab119
refs/heads/master
2020-03-20T18:18:26.864607
2018-06-16T13:32:09
2018-06-16T13:32:09
137,581,324
0
0
null
null
null
null
UTF-8
Python
false
false
7,238
py
# coding: utf-8 # In[1]: get_ipython().magic(u'matplotlib inline') # In[2]: import sys import numpy as np import pandas as pd import re as re import matplotlib.pyplot as plt import xgboost as xgb # In[3]: def myPrint(x): print(x.head(15)) print(x.info()) def myPrint2(x): print(x) # In[4]: te...
[ "fjcyslyz@gmail.com" ]
fjcyslyz@gmail.com
8bce48d233329ce65bf3f6e60ce59314d8f51fe2
850bf848dbee72062f26f5202ab976bfb385f95c
/code/AutoRec.py
cf1a8c441f3c2abadf99e6a78942466bc4e1cc0d
[ "Apache-2.0" ]
permissive
Kaist-Master/RecSys
b90357af218c1c2c7fc541405907b8ca7d719130
2089d7cceda3a7239587239765d9095a64d4d04a
refs/heads/master
2022-12-04T23:11:40.114211
2020-08-23T03:57:08
2020-08-23T03:57:08
289,611,216
3
0
null
null
null
null
UTF-8
Python
false
false
7,500
py
""" 해당 코드는 pyTorch를 통해서 다음의 [논문](https://akmenon.github.io/papers/autorec/autorec-paper.pdf)을 구현한 코드입니다. """ import pickle import pandas as pd import numpy as np import os, sys, gc from torch.utils.data import Dataset, DataLoader import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.in...
[ "37744629+choco9966@users.noreply.github.com" ]
37744629+choco9966@users.noreply.github.com
81df218ebdbf7eda2d9096caf07641ec125c20f6
35aa0f20373a21f505d5812caa8d38a5de48fdd0
/drawing_board/wsgi.py
66cdb614e02ae0b114c025f01b055926461410b4
[]
no_license
RUiNtheExtinct/drawing-board
18b49c4f04a224dd34dab9807fc9ee884f01c612
6949d3ef8ee81b83a8d927aba373f6515afdc541
refs/heads/master
2023-03-19T12:11:58.151429
2021-01-19T18:15:51
2021-01-19T18:15:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for drawing_board project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "zhanto97@Zhantores-MacBook-Pro.local" ]
zhanto97@Zhantores-MacBook-Pro.local
199858b9ad674d6f94ac538db2d82a0dd171c926
15d1f1bea9c50e756ac01242861659029be92e3e
/Section10/ducks.py
0d36aa30900739430397a917117571d092cc40e0
[]
no_license
cantis/PythonCourse
45173a8f35939f03f2d0f00c66ced168188c74dd
7a86f997f9d99deaa7fd19cc40a495b950b65be3
refs/heads/master
2020-08-17T00:50:29.738311
2020-02-28T22:27:55
2020-02-28T22:27:55
215,582,219
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
class Wing(object): def __init__(self, ratio): self.ratio = ratio def fly(self): if self.ratio > 1: print("Weee, this is fun") elif self.ratio == 1: print("This is hard work, but I'm flying") else: print("I think I'll just walk") class Duck...
[ "eyoung@winnipeg.ca" ]
eyoung@winnipeg.ca
ed32e4c02cb282f7f450ab5e65bcc76a2e1045a7
6299a4095f6d51cc69e7bf26e1ac696d0b7da765
/io_unicode.py
a43b10d767457706f83cc78bb4cedd28cdb17de8
[]
no_license
xingshuiyueying/NewLearner
592b4eabc6ea3d17bcde2135506ae250f7742e67
c0e406cacd567b10083f6806f9d70ce2ee148d0b
refs/heads/master
2021-07-13T17:05:42.048123
2017-10-19T13:57:56
2017-10-19T13:57:56
107,552,051
0
0
null
2017-10-19T13:57:57
2017-10-19T13:45:05
null
UTF-8
Python
false
false
656
py
# encoding=utf-8 import io # 打开模式可以是阅读模式('r' ) ,写入模式('w' ) 和追加模式('a' ) 。 # 我们还可以选择是通过文本模式('t' ) 还是二进制模式('b' ) 来读取、写入或追加文本。 # 在默认情况下, open() 会将文件视作文本( text) 文件,并以阅读( read) 模式打开它。 f = io.open("abc.txt", "wt", encoding="utf-8") f.write(u"Imagine non-English language here") f.close() text = io.open("abc.txt", encoding="ut...
[ "noreply@github.com" ]
noreply@github.com
d0b6568b123647b509018e6d384314d73e68e422
387ed9a5a7e8427d95a6b18c0901bf24f05c2342
/Charpter1.网络扫描与信息收集/Scapy_ARP请求代码.py
aa15800911ac00d735dc1af3ee453e77e7cdef36
[]
no_license
fat39/Kali_Hacker
efa101ec7407f55457a682c9abb290d8d52d2615
aad0a920cf317645e00c5f4c5e41218380d7930b
refs/heads/master
2020-03-21T11:09:01.832035
2018-06-24T15:11:49
2018-06-24T15:11:49
138,491,806
1
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
#!/usr/bin/python3 # -*- coding=utf-8 -*- import logging logging.getLogger("scapy.runtime").setLevel(logging.ERROR)#清除报错 from scapy.all import * from GET_IP_IFCONFIG import get_ip_address_ifconfig #获取本机IP地址 from GET_MAC import get_mac_address #获取本机MAC地址 def arp_request(ip_address, ifname = 'eth0'): #获取本机IP地址 ...
[ "fat39@163.com" ]
fat39@163.com
afce78ee6775b66c45f63079b9f5005c73737504
694fd7b88754ab8890ad47b9a472c7fedc92fde7
/flask1.py
8b59ec3a8f74c895fc0cd385266e6593893855ef
[]
no_license
ent1k1377/stat_vk_flask
5b15d237d5326acba380b5d43bfe024d89a53da6
9a5206a73d4fe4b3d6636d804fd28a235e5f4324
refs/heads/master
2022-12-18T12:11:40.077885
2020-09-21T17:41:09
2020-09-21T17:41:09
255,080,366
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
from flask import Flask, render_template from main import main, auth_handler app = Flask(__name__) app.config['SECRET_KEY'] = 'yandexlyceum_secret_key' @app.route('/') @app.route('/index') def index(): stat = main() actv = stat[0] ages = stat[1] city = stat[2] return render_template('base.html',...
[ "ent1k1337@yandex.ru" ]
ent1k1337@yandex.ru
60e3220f12616d371c602c53ea446a45cbf5549b
96c3b1d27970d7a852ec6334c36ac2c04b531d22
/old/kasokudo_py2.py
28bfcb5f9537d76253f85386bd8e0f671b257e36
[ "MIT" ]
permissive
chigakucat/Seismograph
a6d43a7d9bfbbf4e03a77222a88a985c1e0043b9
a179c9d7b9c39e03f63ea5faa8b7478f5c678129
refs/heads/master
2023-04-08T12:45:54.462256
2023-03-16T09:18:06
2023-03-16T09:18:06
238,935,847
1
0
MIT
2022-04-18T09:43:53
2020-02-07T13:57:21
Python
UTF-8
Python
false
false
2,018
py
# -*- coding: utf-8 -*- import time import datetime import math import socket import spidev import os import sys # FPS制御 ----- # ターゲットFPS target_fps = 200 start_time = time.time() frame = 0 # SPIセンサ制御 ----- spi = spidev.SpiDev() #spi.open(bus、device) spi.open(0,0) spi.max_speed_hz = 1000*1000 def ReadChannel(chann...
[ "noreply@github.com" ]
noreply@github.com
a964bd4169bb3261d5073b82773caf0f4bdbcde1
0b65b45d4b529f5505271185705cbedb8d0722cc
/django_base/common.py
0208fabd4ce5f9315428fa6217b96fc4841f040f
[]
no_license
alaalqadi/django_base
f6f2dbdf1f5b5202e2abde16d1f42bb88376d5da
d8b0eb798d0ba8341fd3f4e48144f4ee230513c3
refs/heads/master
2020-12-30T19:10:48.992272
2015-12-16T00:31:19
2015-12-16T00:31:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,118
py
""" Django settings for django_base project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "a.bazadough@sit-mena.com" ]
a.bazadough@sit-mena.com
6baecec635bf967fa145e7d86f368f87fea7756f
fb6e49665488de0db22e6cde43cc1ada94be3783
/t.py
004a6e8793f8e916b248f552900b3f53ab5e6e2a
[]
no_license
sjffsgafksagfhfggas/tel
d3c02bf57316123754fb00dcd40223162a604f28
a1ced45e56016df93ff0df696d964d4ad9f44770
refs/heads/main
2023-01-11T12:17:05.918112
2020-11-14T16:21:55
2020-11-14T16:21:55
312,600,082
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import requests import time url = 'https://persian-follower.000webhostapp.com/tel/online.php' s = requests.session() headers = {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'} r = s.get(url, headers=headers) while True: print(r) ...
[ "noreply@github.com" ]
noreply@github.com
b35dfd51e5226ddc5f657b7ab3840b643ee5244d
b310e5088348af07396a9e65b377d8d80b26ea99
/temperature_conv.py
20c2f33ad3d17b596d71c5435762ec018aef3bd6
[]
no_license
rajeshvermadav/XI_2020
adc14c0829662539ebf376267fc105712beef640
9ba6d0afa7bd8af49bf31ed647840976080e419e
refs/heads/master
2023-01-19T09:52:04.691236
2020-11-23T14:35:18
2020-11-23T14:35:18
287,901,794
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
#Convert Celsius to Fahrenheit cel = float(input("Enter temperature in Celsius:-")) f = (cel*9/5)+32 print("Temperature in Fahrenheit is :-", f)
[ "noreply@github.com" ]
noreply@github.com
1fa8944113bfb629cb7489f5c1d4834c35d30a65
58b05de781d26f436aaeaa44cb8fb31478574883
/emp_project/employees/migrations/0004_auto_20200503_1936.py
6a1300273140cb86d0c68efc5838d6cd4bb6ed49
[]
no_license
levyEstrabillo/employee-todo-app
fdec07cd5f527ffb9e817fb54c376d0aa9893562
25aa2b3ad442b0c0ff8c2f8640f2683b6fdac56c
refs/heads/master
2022-07-01T11:02:50.430042
2020-05-10T02:02:59
2020-05-10T02:02:59
262,693,216
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.0.2 on 2020-05-03 11:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('employees', '0003_auto_20200503_1935'), ] operations = [ migrations.AlterField( model_name='employeeinfo', name='thu...
[ "levy.estrabillo58@gmail.com" ]
levy.estrabillo58@gmail.com
527591750afea831b3278161d06180013dbcdebb
d995b07b2653884b0254890d80f77e8af9b71041
/mysite/news/apps.py
5e687201cea2cf9f24b10bc2023dfb83770f5a98
[]
no_license
Axl-M/Django_News-Blog
d2a6a449e8be2f61b03dcc6050773cc817913214
d3001567e249e129b6ed8a37d2fce599fa8234df
refs/heads/main
2023-03-30T05:06:03.947738
2021-04-03T04:29:03
2021-04-03T04:29:03
354,167,917
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from django.apps import AppConfig class NewsConfig(AppConfig): name = 'news' verbose_name = 'Мои новости'
[ "noreply@github.com" ]
noreply@github.com
014a8aab3305226f095b71f76e73bfc13dc1caa5
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/19-07-21_20210905224104.py
016085b1d34f5ea2a80953238ca45e9068b0410c
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
class MENU (): def __init__(self,titulo,opciones=[]): self.titulo = titulo self.opciones = opciones def menu(self): print(self.titulo) for opcion in self.opciones: print(opcion) opc=input("Elije opcion [1 ..... {}]:".formato(len(self.opciones))) ret...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
0b701c732d9ec6fcdb9862d7c4c3919ff3e5e7c8
761e3ede4c8eb6ecb08f635cb56303e26a6681c7
/resnet.py
2da7db8dc57d107601adcf3c9f3073187691738a
[ "MIT" ]
permissive
zhaobinNF/PSPNet
09be6a329ffad6f352f486c2a7f5d337d7a78e46
8e37762679a9e19fa9ac7adab4b8f5e3bcf1d09d
refs/heads/master
2022-12-06T20:44:51.154156
2020-09-01T11:28:10
2020-09-01T11:28:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,715
py
import torch import torch.nn as nn import torch.nn.functional as F import os import urllib.request as urllib from tqdm import tqdm model_urls = { 'resnet50': {'url': "https://download.pytorch.org/models/resnet50-19c8e357.pth", 'id': 'resnet50-19c8e357.pth'}, 'resnet101': {'url': "https://download.pytorch.org...
[ "leaderj1001@gmail.com" ]
leaderj1001@gmail.com
a703462fda9bdaeb385543eac5df408a92a07cc6
0f58400f5e489eb3492e92409ca39a6435ca5dc3
/auth/views.py
3e39ac26aba96cede5bfbc407d8fa3e436d216f6
[]
no_license
vovdl/recipe
e603e3a0f121898c441d2d3ce1a6dc5d1c4c5079
80a8510e33a1a2642dce243a528ad90e80a7675d
refs/heads/master
2020-03-07T22:06:20.049408
2018-04-02T11:33:03
2018-04-02T11:33:03
127,745,007
0
0
null
null
null
null
UTF-8
Python
false
false
2,264
py
import json from time import time import aiohttp_jinja2 from aiohttp import web from aiohttp_session import get_session from auth.models import User def redirect(request, router_name): url = request.app.router[router_name].url() raise web.HTTPFound(url) def set_session(session, user_id, request): sessio...
[ "vovdl18@gmail.com" ]
vovdl18@gmail.com
aa4b51c030f7c0c9e8572f498c6745abb8292658
5323e193bbbe46b6c0904737c595a4c0add0f5fa
/questions3.py
02413c9f19409a37e7af29f26cacdf16aed5227f
[]
no_license
Pidgens/crackingcode
177c7a1b1d66729716237bd71d53170a51f25ee1
99bb08261b975d99c095369795bdc7bf19553e45
refs/heads/master
2020-12-24T07:53:35.678531
2016-08-09T23:04:35
2016-08-09T23:04:35
41,328,682
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
#################################################################### #################################################################### #################################################################### import ll t1 = True t2 = False t3 = False def deleteMiddleNodeLinkedList(middle_node): nextData = middle_...
[ "dederekchiu@berkeley.edu" ]
dederekchiu@berkeley.edu
3fd8ab1f668b0d8a569b3ba61119bad8f0731db0
31b05ac1d1a0658d41b3a37fa22803032890491c
/pragati/read.py
4daa810f0cd9ba354789056c09b0f9b09f44f449
[]
no_license
pragatimagar/personal
811d0dfe0a0154be090ddaecdf13779f947185be
c2513dde846d64b34691161e18dfbe0b3bf4c007
refs/heads/master
2023-08-20T05:16:02.931435
2021-10-12T06:59:19
2021-10-12T06:59:19
398,735,703
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
f = open('sample.txt') data = f.readline() print(data) data = f.readline() print(data) data = f.readline() print(data) f.close()
[ "pragatimagar28sep@gmail.com" ]
pragatimagar28sep@gmail.com
6821dd97ae86fe803b6cbd0fd537924cbb40832c
67b9cc8dce21e3ebb2654beff15c3564109eb84d
/app/modelviews.py
850a32a31482a62157d0497e167ad7ed01d40b45
[]
no_license
mikekutzma/fyodor
4e8014fb1e192bcd43b013f075e5773970381d8c
5f32160f759e9a0fce96c70e5444f57f6351d27d
refs/heads/master
2023-08-10T14:44:15.716157
2023-05-24T19:57:02
2023-05-24T19:57:02
237,362,877
1
0
null
2023-07-20T13:14:48
2020-01-31T04:54:54
JavaScript
UTF-8
Python
false
false
501
py
from flask_admin import AdminIndexView from flask_admin.contrib.sqla import ModelView from flask_login import current_user class AdminModelView(ModelView): column_exclude_list = ["password_hash", "api_key"] column_editable_list = ["is_approved"] def is_accessible(self): return current_user.is_aut...
[ "michaelkutzma@gmail.com" ]
michaelkutzma@gmail.com
f9c0d63812fdae71748924c3aa6603eb056a331e
94a1b2d95f6e36e6892e79c89b306cbb54501839
/code/testcases/advectreact_analytical_MC_PLOT.py
20fbaa49e53a661c07c8d6f4e5be611d66c7be37
[ "MIT" ]
permissive
josephbakarji/learning-pdf
010c00983a64c54e531b31db667e1634125b5c8c
12ec54635322d627089b14802082590a86872f3e
refs/heads/master
2021-07-05T14:42:49.373363
2021-05-25T22:02:04
2021-05-25T22:02:04
239,627,436
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
from __init__ import * import matplotlib.pyplot as plt from matplotlib import rc rc('text', usetex=True) from data_analysis import Analyze from mc2pdf import MCprocessing from datamanage import DataIO from montecarlo import MonteCarlo from analytical_solutions import AnalyticalSolution, gaussian from mc2pdf import MCp...
[ "josephbakarji@gmail.com" ]
josephbakarji@gmail.com
55a852eeaeb901d55c44ca536f1252719a8088a2
4edf5c9393ed71248026aff9557792b2f1bad05c
/manifold/transformers/smooth_pearson.py
99507b8579adb3c08611026c4bb531f0a503d9e4
[]
no_license
xxasifxx/manifold-rl
5c41ff72ee773d26ce029d08b1dc890205e82b72
366ecea2c74be8982498a1127fda6f8190dbf2f4
refs/heads/master
2020-12-08T22:40:30.694848
2020-01-10T18:33:45
2020-01-10T18:33:45
233,115,183
2
0
null
2020-01-10T19:20:02
2020-01-10T19:20:01
null
UTF-8
Python
false
false
1,800
py
import uuid import creme import creme.stats from manifold.base_types import Transformer class SmoothPearsonTransformer(Transformer): def __init__(self, window=20, **kwargs) -> None: super().__init__() rolling_window = kwargs.get("mean_window", None) if rolling_window is None: ...
[ "funguanainc@gmail.com" ]
funguanainc@gmail.com
795506467416cd08d0abe7dcb6647249fe597fa3
b7002e04caa55e2422f537604018361ccb49db37
/lesson4_task3.py
3abbd11b08c3ae60f2d818bda9b0f2f9394ea055
[]
no_license
trumpumpumpum/ITEA_py
a10d0716d60ce7edaa3a842e5d88e3b19d5f3456
d55e70c24f9e99c3ffe0f25a20e4dd42109e4ade
refs/heads/master
2022-08-26T01:17:20.988744
2020-05-26T19:30:43
2020-05-26T19:30:43
259,420,815
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from collections import Counter my_list = (input('Введите последовательность: ')) def function (x): return x[1] sublist, count = max(Counter(tuple(sorted(x)) for x in my_list).items(), key=function) print('%s - %d' % (list(sublist), count))
[ "noreply@github.com" ]
noreply@github.com
b777223f076ace65e55bd0c622a6919bce5bd167
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/m9bcZKy4niMmsg3JX_24.py
53034914b39b9e5514126b1c339d6d3218688fbc
[]
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
637
py
""" A group of friends have decided to start a secret society. The name will be the first letter of each of their names, sorted in alphabetical order. Create a function that takes in a list of names and returns the name of the secret society. ### Examples society_name(["Adam", "Sarah", "Malcolm"]) ➞ "AMS" ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f971b7cb4264b307272b78014e5745b41ec49a78
fe4247267a21b4d76bbf3ec3ea560453b93b4c88
/testroutes.py
d868b0a86ccaf63e60509e99950b08de3e05616e
[]
no_license
dudmel/Flask
0b5715a3256117f584a3405e2e5240647a837495
f048c2547aff34774e143107a5fd034a8d13e956
refs/heads/master
2021-01-11T18:05:22.871050
2017-01-19T20:02:54
2017-01-19T20:02:54
79,489,626
0
0
null
null
null
null
UTF-8
Python
false
false
7,161
py
""" Routes for the flask application. DEV!! DEV!! DEV!! DEV!! """ from FlaskServer import app from flask import jsonify, request from flask_jwt import JWT, jwt_required, current_identity from Dev import mockedDataRequest import consts as consts from Routes.Alignment import * from Routes.Alignment.alignmnetmockup impor...
[ "dudu@misterbit.co.il" ]
dudu@misterbit.co.il
470029f0f4c61c538c098d0ae1782a8c73ebdda8
dc865cfa6d7d0d9d11af1b0ddc2f8a82f148af0f
/main.py
687a0cb2449763c1d21b52dd67b1ac5fb527143a
[ "MIT" ]
permissive
gnovaro/python-audio-transcription
75072b17ebbe3a7cd4f48b823ee25f1cbe69f4b1
328ba6b8ef7d8fa7432399cd8621814696bd302e
refs/heads/main
2023-02-08T07:02:14.318234
2020-12-30T14:41:27
2020-12-30T14:41:27
325,573,102
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# Python audio transcription from audio file import speech_recognition as sr import sys from os import path from pydub import AudioSegment import sphinxbase import pocketsphinx from pprint import pprint # if __name__ == '__main__': try: arg = sys.argv[1] except IndexError: raise SystemExit(f"U...
[ "gnovaro@gmail.com" ]
gnovaro@gmail.com
3d3d447d47cf4de951fd26d005eab160fee57292
2baad3d7ac8df92ac7669bc5226b295f6e572109
/openstack/horizon-mitaka/openstack_dashboard/dashboards/admin/networks/subnets/tests.py
7fc01c9ac5f3a691c3aa99508ff482236d4349f6
[ "Apache-2.0" ]
permissive
naanal/reference
649d61110c0200718de186012466183c35071399
e5401ab6d185f9879da4b7fd20dead4823d662cc
refs/heads/master
2020-04-12T07:33:59.989760
2016-12-21T12:26:30
2016-12-21T12:26:30
57,004,495
0
0
null
null
null
null
UTF-8
Python
false
false
13,953
py
# Copyright 2012 NEC Corporation # Copyright 2015 Cisco Systems, Inc. # # 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 # # Un...
[ "rajagopalx@gmail.com" ]
rajagopalx@gmail.com
88d084a5e639c06765a2703e2fe746e1bdda29b8
5fa1b6503dde1e46f56245496d263e60a96884f7
/products/migrations/0008_auto_20200120_0634.py
91af1015a2795d0e416c9870fd247c0248b72766
[]
no_license
AlexeyGarmash/test-api
ab2100d69399c49df82a75ca134cbc28f8c15b01
6feea95baff0aa9c7956edd244767b27cd52f8b5
refs/heads/master
2022-12-10T02:31:49.567737
2020-01-21T17:10:20
2020-01-21T17:10:20
235,076,658
0
0
null
2022-12-08T03:28:43
2020-01-20T10:34:09
JavaScript
UTF-8
Python
false
false
494
py
# Generated by Django 3.0.2 on 2020-01-20 04:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0007_comment_photo'), ] operations = [ migrations.RemoveField( model_name='comment', name='photo', ...
[ "i.republic2014@gmail.com" ]
i.republic2014@gmail.com
24d57aa224c97de21b2deb7be132ea3fdbf88ba2
1f1704af13eececeec48cd5300910386f1849639
/src/partial_testing.py
211c61a72d01aee52d6f7a49e1840cf468563ed1
[]
no_license
michaelmathen/Kernel_Paper
40787fc8add1574365ec4ad30d45011f77b2e630
9cf513e0a69a04a0df336e62a695accce5c1b0dd
refs/heads/master
2020-05-25T17:36:51.873810
2019-06-20T21:12:03
2019-06-20T21:12:03
187,912,240
0
0
null
null
null
null
UTF-8
Python
false
false
13,940
py
import csv import numpy as np import time import pyscan import random import matplotlib.pyplot as plt import math from scipy.special import erfinv import Mapping def sqr_dist(pt, center): return (pt[0] - center[0]) ** 2 + (pt[1] - center[1]) ** 2 def kernel(pt, center, bandwidth): return math.exp(- sqr_dist(p...
[ "michaelmathen@gmail.com" ]
michaelmathen@gmail.com
eecca24a0adcd29352d7af9f0f13143148db787d
bcc2eadf72d0c2a38e595f973ad4840ac038bd53
/Valid Palindrome.py
f674e38ffc21634991493803e1287fdb53981cfe
[]
no_license
jke-zq/myleetcode.py
5841cec144884bcef9f0adadbb10dbe4ed34963f
e0f032f34f7fa8fa4f6e5af65c60b3fe581fdc23
refs/heads/master
2020-04-03T23:24:39.657299
2016-09-18T14:35:25
2016-09-18T14:35:25
49,498,500
4
0
null
null
null
null
UTF-8
Python
false
false
523
py
class Solution(object): def isPalindrome(self, s): """ :type s: str :rtype: bool """ left, right = 0, len(s) - 1 while left < right: while left < right and not s[left].isalnum(): left += 1 while left < right and not s[right].isa...
[ "jke0zq@gmail.com" ]
jke0zq@gmail.com
3e49bd42d62f972de0165d6b58cb355f27bb58d7
decce6355fc5573056e1464e0d860d5393bd0bd9
/archive/scraper.py
c7877e871a8b5e1c5d07066501fa1ed235b0cb46
[]
no_license
coolstoryjoe/used_cars
e64f4f952432b61677bea6d85b249700c8caaa94
fe9476ae68ac272f1703775b48730bc41b98384a
refs/heads/master
2023-02-26T00:06:47.520692
2021-01-31T18:32:55
2021-01-31T18:32:55
334,579,782
0
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
from bs4 import BeautifulSoup as soup from urllib.request import urlopen as uReq import pandas as pd import matplotlib.pyplot as plt from sqlalchemy import create_engine from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdr...
[ "josepholeynik@Josephs-MacBook-Pro.local" ]
josepholeynik@Josephs-MacBook-Pro.local
d42bb7243da4d8b4e2ecee6adc37f84734b86402
0c0b5a384ab533f809fcf8f20cd0d4d6f410db44
/sublime-text-3/Backup/20160824124035/LaTeXTools/latex_cite_completions.py
e7314e46f5396793957a2bc72c92c4844822f549
[]
no_license
jordlynn/.files
1a4708289b40480585ab485775026924935f1ec2
a371e19160a3fecb35b4446d3f3ab6e31609ba6e
refs/heads/master
2021-06-11T07:59:49.753728
2017-02-14T10:08:37
2017-02-14T10:08:37
50,607,631
0
0
null
null
null
null
UTF-8
Python
false
false
20,559
py
''' This module implements the cite-completion behaviour, largely by relying on implementations registered with latextools_plugin and configured using the `bibliograph_plugins` configuration key. At present, there is one supported method on custom plugins. `get_entries`: This method should take a sequence of bib_...
[ "snake.river52@gmail.com" ]
snake.river52@gmail.com
a3680abdf8ea1f58cb021e30012ae67da1030aa1
c53c08efa1118f0083da981029c0b6e4f44d2cab
/fileshare/admin.py
2ea155603ecc9de84a22a56694bd77356ae025f8
[]
no_license
refik/uppsala
f448acc1fed9215baaa256b91bd8d914e1741c97
3e7f37ccc0014baa54551005fcfec0048b8be302
refs/heads/master
2020-12-24T16:42:50.689115
2010-05-15T18:59:25
2010-05-15T18:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from uppsala.fileshare.models import UploadedFile from django.contrib import admin admin.site.register(UploadedFile)
[ "gro.tiiy@yiit.org" ]
gro.tiiy@yiit.org
18822a247320d7bea2a9c353a0d312e2991fcffb
0f684f1f5271bd18475113a46c0d7c1232a3da5a
/apps/users/views.py
7eb719adb4c0d73a937698f828eb26b67dc2132f
[]
no_license
aaronmyatt/talespace-backend
20eb648422eef326c1b622e9a1b675fefa6a004f
c229ea3d5554a80e0b5d193921b2a6f8dea58f17
refs/heads/master
2020-07-12T09:31:44.441170
2017-04-07T01:31:50
2017-04-07T01:31:50
73,912,315
1
0
null
2017-04-11T13:17:32
2016-11-16T11:11:42
Python
UTF-8
Python
false
false
955
py
from rest_auth.views import UserDetailsView from rest_framework.viewsets import ModelViewSet from .models import UserDetails, UserSkills from .serializers import UserSkillsSerializer class CustomUserDetailsView(UserDetailsView): def get_object(self): user = self.request.user return UserDetails.o...
[ "aaronmyatt@gmail.com" ]
aaronmyatt@gmail.com
ff5805ad92b2c3b4b50586b984b637a7c56cd144
76addcb531eea2f3c6715e2e6f8750c4dc274cfc
/jushacore/_jushacore.py
68e0e73865e98b2b865ae1a32e9bf7ae36e98330
[]
no_license
luxiaolei/JushaMS
1171f0bcbce89b56e63daddf2485ca99db36006f
4262910f57793dc66da3aa997ed921d24af759db
refs/heads/master
2021-05-01T10:45:47.892952
2016-04-29T11:06:25
2016-04-29T11:06:25
57,284,360
1
1
null
null
null
null
UTF-8
Python
false
false
15,573
py
# -*- coding: utf-8 -*- ''' This file is part of the Python jushacore package, an open source tool for exploration, analysis and visualization of data. Copyright 2011–2015 by the authors: Daniel Müllner, http://danifold.net Aravindakshan Babu, anounceofpractice@hotmail.com Python jushacore is distributed unde...
[ "26442779@qq.com" ]
26442779@qq.com
e2c46e9c3c12ed70166afee419a09e346f651ad9
09df89395816834ddf77de620f959c22e74d8c00
/Bit Manipulation/Single Number.py
382f244e2e89ffbe38dd4070043ad097ea451177
[]
no_license
gdh756462786/Leetcode_by_python
c853c4e3de255a8b4016c59944a0d40213a539a7
6387543a2a23c30aef1d5d37db54ca72cfb19270
refs/heads/master
2020-06-22T11:53:24.758506
2018-12-28T03:03:31
2018-12-28T03:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
# coding: utf-8 ''' Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? ''' class Solution(object): ''' 对数组元素执行异或运算,最终结果即为所求。 由于异或运算的性质,两个相同数字的异或等于0,而任意...
[ "pengshuang92@163.com" ]
pengshuang92@163.com
2a9dd4046fdba27ca3f4b55180f1d9043b3eb125
e585a3c695d5b06f47b36c4e54af44756e50916b
/manage.py
1151335c8f2a3bdb7c606e1268b14a3179c2edd9
[]
no_license
anishchapagain/djangoPoll
d756b7aedc5cdf05508b3b9eaa3e7d8f66ce9d55
1510f2f8e4eb1746c2beb8873a653f6bb9ac639a
refs/heads/master
2021-01-20T00:33:30.322392
2019-08-19T15:36:15
2019-08-19T15:36:15
89,148,848
2
0
null
null
null
null
UTF-8
Python
false
false
803
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mypoll.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "anishchapagain" ]
anishchapagain
a1d751994efc5489e5445b3a868a6d761bfe842f
56169cb87066ca6ae3c8c86086cb5240df82e523
/accounts/migrations/0001_initial.py
05c2946e3efc3a5043e820260fb6f170a4c19fa8
[]
no_license
s-bekk/greatkart-django-proj
7a9d34a55a5e2bb899ef045cc82519be164f9f54
9d5861cbce5f5330c84d395ffb0f61cc0b1da007
refs/heads/main
2023-07-12T02:06:19.500976
2021-08-16T22:09:56
2021-08-16T22:09:56
391,713,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# Generated by Django 3.2.3 on 2021-07-18 17:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.BigAutoFie...
[ "sb6187@nyu.edu" ]
sb6187@nyu.edu
930bdd6c664af3339a2e4cd163054d717ef73e87
8600ea155f279e5a8dfe5a1926038511f6b6a7ea
/hr_timesheet_invoice/report/account_analytic_profit.py
600535ee02795acbe0674bc506d0626bbe7cc93d
[]
no_license
MarkNorgate/addons-EAD
c2fff89ab16fce3ba19fbe433ee5863705a6f4e5
840f28642b5d328e4b86839c413e5164622295a5
refs/heads/master
2020-04-23T22:11:00.164438
2015-07-22T12:24:53
2015-07-22T12:24:53
39,501,011
0
0
null
null
null
null
UTF-8
Python
false
false
5,780
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "mark.norgate@affinity-digital.com" ]
mark.norgate@affinity-digital.com
5b40a924ba782f0ff2c051bc0ed22e9b2c4c3bdd
5a5a3d428454885cb0798e6574d714141bbfb8d7
/boolean_app/api.py
1edc8a136364eb019e5df06aad3a73ecdcea0a5d
[]
no_license
jariberi/boolean
5c226bf1935eed32931b02bb9e376c8146e66055
5149a8cb1ff0a18ff0752750565001a817948ef3
refs/heads/master
2021-01-21T04:39:15.587478
2017-08-08T18:46:59
2017-08-08T18:46:59
32,043,913
0
0
null
null
null
null
UTF-8
Python
false
false
33,615
py
from boolean_app.models import Articulo, Venta, Recibo, Detalle_cobro, Proveedor,\ Valores, Compra, Dinero, OrdenPago, ChequeTercero, Cliente, ChequePropio from django.db.models import Q from StringIO import StringIO from django.http.response import HttpResponse import json from datetime import date from django.cor...
[ "jariberi@gmail.com" ]
jariberi@gmail.com
e7b1234dabcd20980a3ecafe45c7a90b8b2eb887
5d9b8f8c8d5d3d5619aa4a4315f15f3595120e8a
/lcs/agents/yacs/__init__.py
84f29ef38ed5c526be58faf5d67e17cf667526f8
[ "MIT" ]
permissive
ParrotPrediction/pyalcs
e752d87cec4c9a7ea59099e9162a22edf2c5e751
9811bc5cde935e04e0fd87fb5930bd1b9170e73a
refs/heads/master
2023-06-10T01:36:20.465974
2022-04-11T12:14:02
2022-04-11T12:14:02
78,022,708
11
17
MIT
2023-05-31T17:09:37
2017-01-04T14:28:53
Python
UTF-8
Python
false
false
38
py
from .yacs import Configuration, YACS
[ "noreply@github.com" ]
noreply@github.com
cdb0f62c22ca6450cb047066dfa91fdc6c7c1520
769c05bab5d656eaa060af78f2974422970c7a86
/salary_simulation_API/models/pessoas/pessoa_juridica.py
4db9170b7adfd2c4c0a6dfffd9360479bdd6825b
[]
no_license
IanniMuliterno/salary-simulation-API
e201cc0f690797a541629054f8bfb9f0a3228dc7
ffb5a93db8d15a9b0dab4ab832aaf8225939eae5
refs/heads/master
2023-01-22T07:11:32.102657
2020-11-16T09:15:53
2020-11-16T09:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from salary_simulation_API.models.pessoas.pessoa import Pessoa class Pessoa_Juridica(Pessoa): def __init__(self, nome, cnpj, qtd_dependentes): super().__init__(nome, cnpj, qtd_dependentes)
[ "diogotnascimento94@gmail.com" ]
diogotnascimento94@gmail.com
d71225a5971b289a663790b22a26fbfd50314c32
5857ce4d4579381ce03938f32e96f482f0b59485
/session6/exp_1/exp_1_2.py
69c102057ecac35e66cfd6d9307715b6f1461852
[]
no_license
Burntt/Python_for_Data_Science
3ae9eeb10a94a194c0e7436613929aad1a1dbd56
5ef040a23953bf48a6654cb9c6f9ebf6f1dc99ce
refs/heads/master
2023-04-23T03:26:40.412523
2021-05-05T19:25:48
2021-05-05T19:25:48
312,195,854
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
from sklearn import preprocessing from sklearn import linear_model from exp_1.exp_1_1 import feature_transformation, train, predict, classifier, fit_classifier from exp_1 import exp_1_1 def init_classifier(): # global classifier exp_1_1.classifier = linear_model.LogisticRegression( penalty = 'l1', ...
[ "allesaangort@gmail.com" ]
allesaangort@gmail.com
8df5cec16f173c8706a8a401d7180c003d9c5c7b
ebbb5fd79e8ea187de2e4deafd340b15a361020e
/src/flask_multi_view/extensions/sqlachemy.py
6cfb2184545f14c9be838f9d9757333590c8a2e4
[ "MIT" ]
permissive
wooyek/glosuj-w-lomiankach
0b90f7062d821234b4f8f9b940d46fd437a7edbd
0bc957d3a3d05127ea16d07c112a6a3705dcdc88
refs/heads/master
2021-01-22T17:22:06.416701
2014-10-21T11:02:50
2014-10-21T11:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,637
py
# coding=utf-8 # Copyright 2013 Janusz Skonieczny import json import logging from flask import request, render_template, make_response from .. import form_next, ViewSetupError from ..actions import BaseActionView from ..forms import DefaultDeleteForm from werkzeug.exceptions import NotFound from werkzeug.utils...
[ "js@bravelabs.pl" ]
js@bravelabs.pl
c682dbe0c08b2b8188a1f15f8be584ff2944f575
0810b308b09e6680b5df2b5f412494d07d02f181
/1905/month01/code/day11/demo01.py
6df18b52956cef2cc3a75f7c6d67874f3607f4cf
[]
no_license
952033053/python3
d323ecff1bcd208fc81b74e2ab7e0eb9ce31d514
29c8fb7f3ca90e18cce1f9a62a27415aac946c46
refs/heads/master
2020-06-21T18:19:55.610435
2019-07-18T02:57:31
2019-07-18T02:57:31
197,524,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
class Wife: def __init__(self, name, age, weight): self.name = name # 本质:障眼法(实际将变量名改为:_类名__age) # self.__age = age self.set_age(age) # self.__weight = weight self.set_weight(weight) # 提供公开的读写方法 def get_age(self): return self.__age def set_age(sel...
[ "lvze@tedu.cn" ]
lvze@tedu.cn
3e5c8a02435756870b66ed8e37cefa1637efcfc2
85180a2385e0b336ab0ebc2159627a992b4b99ea
/personal_portfolio_project/blog/urls.py
8cd9037a72c7c570932044e80eaa39eaf40160dd
[ "MIT" ]
permissive
HuyNguyen260398/Django-Portfolio
d939157006902e2f9e5010ef43edd2035eddf2ba
6edfe98f0296a76e7b0b783c79df7565555bb9e9
refs/heads/master
2022-10-06T16:29:45.443896
2020-06-07T14:52:47
2020-06-07T14:52:47
269,487,297
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from django.urls import path from . import views app_name = 'blog' urlpatterns = [ path('', views.all_blogs, name='all_blogs'), path('<int:blog_id>/', views.blog_detail, name='blog_detail'), ]
[ "huynguyen260398@gmail.com" ]
huynguyen260398@gmail.com
bc22e398eb6df31cbeb29c3afa9753fce3ee2209
d5552053db67872b4c914931208a76f3a4dc190d
/app/auth/forms.py
6083cf97bcac4e50a3e9a320b2d1027756104366
[ "MIT" ]
permissive
LonglyCode/flask-blog
24e5df9ae904d67e825077f4c6ed513d63f88bc6
b7f36e8798c61aa1669ede59452f3ca446f5b9ce
refs/heads/master
2021-01-12T13:28:52.947100
2017-04-09T12:08:05
2017-04-09T12:08:05
69,955,539
2
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
from flask_wtf import Form from wtforms import (BooleanField, PasswordField, StringField, SubmitField, ValidationError) from wtforms.validators import Email, EqualTo, Length, Regexp, Required from ..models import User class LoginForm(Form): email = StringField('Email', validators=[Required()...
[ "emoxun8215@gmail.com" ]
emoxun8215@gmail.com
5022aed0c12a9d2b6cc6445c59f653eb34a351a5
3e89e83b5d6d603b08328a24af3ebed04fbffe70
/apps/storybase/models/base.py
35124d23be4ad87e75f439e3704cf96d832b68f9
[]
no_license
jwirfs-brock/atlas
cd955dc81750c415030f89bd4f71478717c68b61
ceee382c206b483d21c0cfdb99603bf647de18df
refs/heads/master
2021-01-21T00:04:54.837863
2012-09-21T16:03:44
2012-09-21T16:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,975
py
"""Abstract base classes for common Model functionality""" from datetime import datetime from django.db import models class LicensedModel(models.Model): """Abstract base class for models with a license""" # Class "constants" DEFAULT_LICENSE = 'CC BY-NC-SA' LICENSES = ( ('CC BY-NC-SA', u'Attrib...
[ "geoff@terrorware.com" ]
geoff@terrorware.com
5305a63f29462426d834113f01d8cae548e68af0
96513b17edbc399aad3a788c08b1338c0acdaa44
/manage.py
0035c98fbfd42bce9e0c6dfe18d103ff627680c7
[]
no_license
lostarray/BaiduMusic
bd6b5e2931cbc2beececf70c1bc5c6c066ee3c54
a5005c29833cc8b41ca462dd14b4877632cf5e1d
refs/heads/master
2021-01-01T18:41:47.278945
2013-09-07T14:38:33
2013-09-07T14:38:33
12,340,507
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "baidumusic.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "dev@lostarray.com" ]
dev@lostarray.com
f1ece8a87e4704cc91b73d8644f880bf5fdb87f6
726a328641d1d22c061233847b9b869476a0708d
/users/models.py
e27865c503925206fa44b511f51430c3c65c1da5
[]
no_license
dennix2014/bandersnatch
081af3420ae0b5823fca931c39c670f310ca434e
1b0322e0aa0f5af6e05a0a216592d1242ffa55fb
refs/heads/master
2020-08-01T05:07:34.606924
2019-09-25T21:06:07
2019-09-25T21:06:07
210,865,999
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.db import models from django.utils import timezone class UserManager(BaseUserManager): def _create_user(self, email, password, first_name, last_name, is_staff, is_superuser, **extra_fields): if not email: ...
[ "denisu29@gmail.com" ]
denisu29@gmail.com
904dd720156582a9d32aad1b748857d40ea41d53
b2aea92629c72fcc8333b5638711336636cc4ca4
/website/__init__.py
1e1fba60009aa596d22e4558e0e73af874badadc
[ "MIT" ]
permissive
prathits012/songData
ed0e0959af7f7456661f51ead220aab72c3bb4af
8f42cacc55f5a62d22e968619d134f5771781f64
refs/heads/main
2023-02-19T15:33:56.947217
2021-01-16T06:45:20
2021-01-16T06:45:20
324,482,675
0
1
null
2021-01-05T04:11:18
2020-12-26T04:43:00
Python
UTF-8
Python
false
false
1,036
py
"""WEBSITE package initializer.""" import flask # app is a single object used by all the code modules in this package app = flask.Flask(__name__) # pylint: disable=invalid-name # Read settings from config module (website/config.py) app.config.from_object("website.config") # Overlay settings read from a Python file ...
[ "sharjani@umich.edu" ]
sharjani@umich.edu
0538ced83301e51cdbcd5ac5065bade2f2a5a2ec
ff79c73d6c4d9f53099880a9ce5f614685268601
/fuzzers/machxo3/007-plc2_cemux/fuzzer.py
65f503f3f4fdb86a1af598aa909b74984e85f1ad
[ "ISC", "MIT" ]
permissive
YosysHQ/prjtrellis
79f88b5a398c67730601813330f77826902b7664
e830a28077e1a789d32e75841312120ae624c8d6
refs/heads/master
2023-08-06T17:00:57.091823
2023-07-03T15:20:30
2023-07-03T15:20:30
123,840,862
152
33
NOASSERTION
2023-09-08T23:34:29
2018-03-04T23:57:10
Python
UTF-8
Python
false
false
952
py
from fuzzconfig import FuzzConfig import nonrouting import fuzzloops import nets import pytrellis import re cfg = FuzzConfig(job="PLC2REG", family="MachXO3", device="LCMXO3LF-1300E", ncl="empty.ncl", tiles=["R10C11:PLC"]) def main(): pytrellis.load_database("../../../database") cfg.setup() empty_bitfile ...
[ "mmicko@gmail.com" ]
mmicko@gmail.com
a23a7e33c1782c9ee33febac97d8c7f5bf25be3c
c9a57c4d9692883287c8c761e097bc9203340428
/예제.py
dab0378b03387f291c0d133bbb9a372b98e78eb8
[]
no_license
KANG-YEONWOOK/ppythonn
ce3f58bf1f332742466c9a90196ab5947e622373
ca6366d09cfbcff0b8b2f7580581dd32ff59fe67
refs/heads/master
2023-03-01T19:35:50.831326
2021-02-14T10:15:41
2021-02-14T10:15:41
338,767,104
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
a = ("홍길동", "고길동", "김길동", "이길동") b = [[1,2,3,0,1],[2,3,4,0,1],[1,2,4,0,1],[3,3,4,0,1]] for i in range(0, len(a)) : for j in range(0, len(b)-1) : b[i][3] = b[i][3] + b[i][j] for i in range(0, len(b)) : for j in range(i+1, len(b)): if b[i][3] < b[j][3] : b[i][4] += 1 elif b[i...
[ "wook1833@gmail.com" ]
wook1833@gmail.com
68525d7c28155593970297ce734a3defb5f52017
6c725248ae880e52e2fb9f1cd007eb50cdffa272
/paper/generate_heatmaps.py
9ca3a97abffb9bcfffc00732acefda4953b51c82
[ "MIT" ]
permissive
mymuli/memory-wrap
921850ace41de347e700346391f5d4df7a065b99
b26ca3b2567bd5cd6e114957cd799153f620ac7b
refs/heads/master
2023-06-30T17:07:18.231782
2021-08-04T13:26:59
2021-08-04T13:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,331
py
import torch # type: ignore import numpy as np import absl.flags import absl.app import os import datasets import aux import matplotlib.pyplot as plt # type: ignore from matplotlib import figure # type: ignore import captum.attr # type: ignore # user flags absl.flags.DEFINE_string("path_model", None, "Path of the tra...
[ "noreply@github.com" ]
noreply@github.com
db752e445c89dce58b999281d862e5596a6a40a7
f64b3d29310b4284f4e56151aeb481e9c1d20fc0
/src/training.py
77392fcfb6a21ae10205e0c08435436f6f3f470f
[ "BSD-2-Clause" ]
permissive
jcboyd/roi-gan
da13e73484571f39ba15f2bd15b8cd1753a22806
663b8847b62e701b03767a65efc1a3ee27cceabd
refs/heads/master
2021-01-14T02:37:11.054536
2020-09-14T15:21:20
2020-09-14T15:21:20
242,568,902
1
0
null
null
null
null
UTF-8
Python
false
false
3,022
py
import torch from torch.nn import MSELoss, L1Loss def train_on_batch_discriminator(discriminator, imgs, optimiser, device): images, labels, fake_labels = imgs batch_size = images.shape[0] h, w = images.shape[2:4] disc_patch = (1, h // 2 ** 2, w // 2 ** 2) input_images = torch.cat([images, imag...
[ "joseph.boyd@curie.fr" ]
joseph.boyd@curie.fr
7b02734b673f07ee117030f9239e9637a5e104a6
99b30366e96963839ad61d49d1eeaa5782d8780f
/api/liberouterapi/modules/jobs/JobManager.py
ce7883a73f285bbfe0884fed55b7e2d815697b9c
[]
no_license
petrstehlik/examon-web
bd114171aaa055565bd9c23151764f26c9aa538f
75d42b93bf8dc8b429e969d6679448ce4ba6219f
refs/heads/master
2021-01-20T21:23:29.949813
2017-08-30T10:39:30
2017-08-30T10:39:30
101,760,427
1
2
null
2017-08-29T13:02:48
2017-08-29T12:48:59
Python
UTF-8
Python
false
false
8,605
py
""" PBS Job Manager class This class manages all incoming messages regarding the PBS job info Author: Petr Stehlik <xstehl14@stud.fit.vutbr.cz> @ 2017/07 """ import paho.mqtt.client as mqtt import logging, json, copy import time class JobManager(): # Callback function on what to do with the message before ...
[ "xstehl14@stud.fit.vutbr.cz" ]
xstehl14@stud.fit.vutbr.cz
94de5cb261739463d38134ab19e54dd476e3672b
ba9117112b9a7926519cc0dcd5eb5856f08ca10f
/django-for-beginners/pages_project/pages_project/urls.py
5faf08f59b52759a4a70cb98f3cfbdd60c98fa0d
[]
no_license
vertinskiy-oleg/learning
b3aafaf7f7f4774691f3d5133a5cfcfd24ed41d5
d61975ed8ff6b87dc268519b80a98e102ccfaa05
refs/heads/master
2020-07-07T12:08:15.784115
2020-05-11T08:56:16
2020-05-11T08:56:16
203,342,675
0
0
null
2020-05-05T20:21:30
2019-08-20T09:21:35
Python
UTF-8
Python
false
false
822
py
"""pages_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home'...
[ "decruel89@gmail.com" ]
decruel89@gmail.com
e149e5a6365c00732f7a4af4d55d89261f54742e
a0494d363be4b8deba66b99a4782e85917692169
/season.py
8a9af92660cdf2618397e06a6d1ba63936939ec6
[]
no_license
anliely/Python
5f0db606381b200f7094a10c98bcd4c7cf6a55c6
27350fc602ad44157e329df4a70c6c981796c0c6
refs/heads/master
2020-03-27T12:33:31.921696
2018-11-27T09:37:58
2018-11-27T09:37:58
146,553,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
import requests from bs4 import BeautifulSoup def get_weather(city_id): url = "http://www.weather.com.cn/weather/{}.shtml".format(city_id) headers = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36'} response = requests.get(...
[ "noreply@github.com" ]
noreply@github.com
213c596a45abec1b5e81f530fba91b5f6cc9caaa
d24081eb0903ad71acf31dd35afc93152a07abb7
/musician_server/musician_server/urls.py
28636a83198890ba0a566b42dfc4dde2ffc4fd0a
[]
no_license
jordondoug2019/react-CRUD-musicians
25995bb973db8831eba33e6cdab5d943563c23da
c64ff8e23161507ff1261cbbb0d1f60f6835c919
refs/heads/master
2023-01-21T04:26:46.519512
2019-11-06T15:16:50
2019-11-06T15:16:50
219,938,006
0
0
null
2023-01-05T00:40:36
2019-11-06T07:35:05
JavaScript
UTF-8
Python
false
false
810
py
"""musician_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "jdouglas2015@gmail.com" ]
jdouglas2015@gmail.com
6cf4bd1d3c45c16ef34b1e3634aecb269328e5c2
74df9ce87872f43ff6836563cd8019eb9b95f5b0
/20_catchment_attributes/src/tests/test_upstream_agg.py
e4fed6c9e9b273d4bbced707d80ad68b192d54f7
[]
no_license
USGS-R/delaware-model-prep
017f0d9f727d5d5b4449cd69758c4b32f12860ed
45e1ffeee7d6ea4a95e374e16cbc1196bf703f41
refs/heads/main
2023-06-08T19:38:46.764070
2023-06-01T23:56:42
2023-06-01T23:56:42
202,405,091
2
14
null
2023-04-07T23:28:32
2019-08-14T18:31:12
R
UTF-8
Python
false
false
1,966
py
import os from catch_attr import relate_attr_to_segments from aggregate_upstream import aggregate_upstream_attr def test_agg_to_seg(): attr_w_id_file = 'tests/sample_combined_cats_w_ids_02.feather' random_segs = [3356, 2768, 2317, 1714, 1646] temp_outfile = 'temp_out' seg_attr = relate_attr_to_segment...
[ "jsadler@usgs.gov" ]
jsadler@usgs.gov
34796e03ad42278148564162c60c8e9b9f5fc4b8
56c3cefe1da4731175ee73d90ca2629d79bfe696
/egs/ptb_chime4test/local/run_trf_nce_cnn.py
3e8eeb368c4f54c64b8acffe0aafefdd38e84a84
[]
no_license
wbengine/TRF-NN-Tensorflow
022a187c80c80293553958c17a267c7eaf81213f
e225829c36043293d092cf8ed620d6dce0abc8f0
refs/heads/master
2022-04-16T10:20:46.999159
2020-03-05T04:56:20
2020-03-05T04:56:20
114,067,559
5
1
null
null
null
null
UTF-8
Python
false
false
3,475
py
import tensorflow as tf import os import sys import time import numpy as np import task from model import wblib as wb from model import reader from model import trfbase from model import trfnce from model import lstmlm import run_lstmlm # [data] data = reader.Data().load_raw_data([task.train, task.va...
[ "wb.th08@gmail.com" ]
wb.th08@gmail.com
c5e0b845eec88fe50d7ed7cfda31c0af3417e7a8
e645ebf3b5177eb0ebedb7f239bd6e1b40bf1b07
/ups/minuit2.cfg
53e4d870fb2d8ee6bb0e4e0ceb063982e4b81138
[]
no_license
lsst-dm/bp
e095cdb7412124fef39bdd8428fce70bbf0f462a
31c0b65866d06a09575a53d0dd558320e6994a06
refs/heads/main
2023-07-22T11:32:48.479329
2023-07-10T00:30:32
2023-07-10T00:30:32
37,212,636
0
0
null
null
null
null
UTF-8
Python
false
false
2,936
cfg
# -*- python -*- """ Dependencies and configuration for minuit2 """ import os.path import eups def _get_root(): """Return the root directory of the package.""" return eups.productDir("minuit2") dependencies = { # Names of packages required to build against this package. "required": [], # Names of...
[ "jbosch@git.lsstcorp.org" ]
jbosch@git.lsstcorp.org
d5b92e89495e020133c29af5b45314200c8b6a13
cb329f0f6b19d3b799faca722ed625f8df5eef28
/no_necesarios/islas.py
6017277124794fe1f93885062a763378f35fabae
[]
no_license
AlfilAlex/pdfrename
46668f728d2e6c29782a6fe20d531208717dae91
117c2ce7d459edd885a1f92976afcb9ce63d9a43
refs/heads/master
2023-05-21T20:45:46.515265
2021-06-06T22:28:54
2021-06-06T22:28:54
332,865,620
0
0
null
null
null
null
UTF-8
Python
false
false
2,593
py
#%% import pandas as pd class islas: def __init__(self, pajaros, nodos, nombre): self.pajaros = pajaros self.nodos = nodos self.nombre = nombre def pajaros_isla(self): return self.pajaros def nodos_isla(self): return self.nodos def nombre_isla(self): ret...
[ "cabimax@outlook.com" ]
cabimax@outlook.com
e66abe47562b3982f3bf9d1c381c53dcbbaa823b
2530418e9788d1e1e191534f044b8313fbe6b5be
/Insta/models.py
fb7a8a93cbe7da52a89ce1e660c134f2bb219e22
[]
no_license
Huayuehu/django-instagram-proj
7134bdf494a7c6fc2ffc501cc68322ea1be8b7d2
c0e371547f4e5c418a5d772a3d59f74cf25b90a8
refs/heads/master
2022-12-15T02:25:04.355882
2020-09-04T06:54:56
2020-09-04T06:54:56
292,764,352
0
0
null
null
null
null
UTF-8
Python
false
false
4,840
py
from django.db import models from django.contrib.auth.models import AbstractUser from imagekit.models import ProcessedImageField # Django中常见的第三方的显示图片的库 from django.urls import reverse # 用于处理url常见的函数 # # Create your models here. # # Define a model for picture post class InstaUser(AbstractUser): # 自定义的user model继承了dja...
[ "huayuehu@usc.edu" ]
huayuehu@usc.edu
e6f6045cc2fb7e9d2b61ded3d712cc41bf1bd78b
c6e5d5ff2ee796fd42d7895edd86a49144998067
/platform/core-scheduler/polyaxon/polyconf/wsgi.py
752f03d7945e907b86cc6786cbdc1116ab7a7e94
[ "Apache-2.0" ]
permissive
zeyaddeeb/polyaxon
f4481059f93d8b70fb3d41840a244cd9aaa871e0
1f2b236f3ef36cf2aec4ad9ec78520dcc9ef4ee5
refs/heads/master
2023-01-19T05:15:34.334784
2020-11-27T17:08:35
2020-11-27T17:08:35
297,410,504
0
0
Apache-2.0
2020-09-21T17:20:27
2020-09-21T17:20:26
null
UTF-8
Python
false
false
995
py
#!/usr/bin/python # # Copyright 2018-2020 Polyaxon, Inc. # # 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 ...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
6973e7ab73a7308979ed796297693210c4ebf6a6
950bae8d6a6a5506960f2e5c527f8f22e70e5d10
/material/curso_em_video/ex046.py
1337928b9eed58565b8ecdf4a0df65657790ec4f
[ "MIT" ]
permissive
sergiodealencar/courses
766f3933c9de439ee30f688d2113f7a97f57f13e
c9d86b27b0185cc82624b01ed76653dbc12554a3
refs/heads/main
2023-02-25T22:17:05.934354
2021-02-04T01:31:06
2021-02-04T01:31:06
313,715,483
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from time import sleep for c in range(10, -1, -1): print(c) sleep(1) print('\nBOOOM!!!')
[ "55211077+sergiodealencar@users.noreply.github.com" ]
55211077+sergiodealencar@users.noreply.github.com
15ad9fc31a64afdb97a2b6c515ba068674988d2d
8ad1853764e19a1b01be01299f611fd07d367f8a
/for_submit/advocate1.py
49b7309c014714a729c1fec5e5c71422ed63f4d9
[]
no_license
SummerVibeQi/Kaggle-Quora-Insincere-Questions-Classification-1
110ee986db6922fcfea6cab5670e9df7b0d39f72
99375a00bc5d11e46e9761772ad7bd71c2da52d0
refs/heads/master
2021-04-09T00:45:07.532500
2019-02-04T15:09:33
2019-02-04T15:09:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,631
py
# import time # from sklearn.externals import joblib # import random # import pandas as pd # import numpy as np # import gc # import re # import torch # from tqdm import tqdm_notebook, tnrange # from tqdm.auto import tqdm # # tqdm.pandas(desc='Progress') # from collections import Counter # # import torch.nn as nn # imp...
[ "a14z7ym@aiit.ac.jp" ]
a14z7ym@aiit.ac.jp
98ac30fd2bd0aa5285eea162827c1942b83d46d7
dee6fd2475bebfba6c12c861b5b3e6c60aad0b96
/music/migrations/0001_initial.py
de1e503bdb714abd5eac041ff7032969d444438e
[]
no_license
kevin-roark/adhoc-x2
4c67f66a62deb0b4e18c2ce202eda429b08d2cce
944fda23eaa6ed6f0ded70a08af7912b715c7825
refs/heads/master
2021-06-04T09:19:17.683899
2017-10-23T16:03:44
2017-10-23T16:03:44
16,844,748
0
0
null
null
null
null
UTF-8
Python
false
false
4,512
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Artist' db.create_table('music_artist', ( ('id', self.gf('django.db.models.fie...
[ "gupta.udbhav@gmail.com" ]
gupta.udbhav@gmail.com
c752f809883f4437516c5a4abb09f34955fe40e2
fd2981b5b2bb37587c90c51b03d353630d58ffb4
/Orientada Objeto/lista_exercicios3.py
531cc2d57a1eb9e94dc5afa7a718d0b4f370466e
[]
no_license
vitosoliveira/Python
00363a55a78356149310cf86a20dbf7b7c84c278
4ae1ed6e9dca9b5e38bbf9a422022761056f95bb
refs/heads/master
2022-07-28T12:15:44.383056
2020-05-20T20:45:43
2020-05-20T20:45:43
247,159,094
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
class Pessoa(): __telefone = "" def __init__(self,nome,endereco): self.__nome = nome self.__endereco = endereco def get_nome(self): return self.__nome def get_end(self): return self.__endereco def get_tel(self): return self.__telefone def set_nome (self,no...
[ "vitor.soliveira@aluno.faculdadeimpacta.com.br" ]
vitor.soliveira@aluno.faculdadeimpacta.com.br
cad49a464e253ae9342c164c950fd6c0ec78bdcf
d5a32e532fe231c16e52149604f0db34c5f4d2f9
/binarysearch.io/sum_of_the_deepest_node.py
a7848ee9b46081b4f3607498a2a3079159af306e
[ "MIT" ]
permissive
mishrakeshav/Competitive-Programming
93705f63337639e8464c1d50f3394434b7422f15
00c1bd272646754ca4c260d57989304c8e323838
refs/heads/master
2023-07-06T07:32:23.042324
2023-06-29T15:27:24
2023-06-29T15:27:24
216,195,590
3
3
MIT
2020-10-03T07:55:18
2019-10-19T11:27:53
Python
UTF-8
Python
false
false
1,288
py
# class Tree: # def __init__(self, val, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def solve(self, root): # Write your code here nodeLevel = {} def deepest(root,level=0): if root is None: ...
[ "mishrakeshav@users.noreply.github.com" ]
mishrakeshav@users.noreply.github.com
09705c6a4dfd5febaf20aa02490ba12bb957faad
b95ea9ec7a46a9c008e66eba4d96665dc7fab4df
/caspr/models/utils.py
99101475f7b862315a2d9de3588f17a7e7218a72
[ "MIT" ]
permissive
davrempe/caspr
05b3bff46dfa6caf4b46652451a5d3c86a0ecadb
b8360dab9b1bd9087b10e7568a2a4c6cc63f009a
refs/heads/main
2023-04-02T16:47:14.746292
2023-03-30T20:39:48
2023-03-30T20:39:48
306,191,089
76
6
null
null
null
null
UTF-8
Python
false
false
894
py
# # Adapted from https://github.com/stevenygd/PointFlow # from math import log, pi import torch import numpy as np def standard_normal_logprob(z): log_z = -0.5 * log(2 * pi) return log_z - z.pow(2) / 2 # Taken from https://discuss.pytorch.org/t/implementing-truncated-normal-initializer/4778/15 def truncated...
[ "davrempe@gmail.com" ]
davrempe@gmail.com
ee736b75cbe69fbf7495f8be1a6d931650aa9a87
cdafe4cf77b7be4e7395e9518bec65c3debc46ac
/client/menu/__init__.py
c3fbcd0d1799ee926fe6949b0e72b04b30023f7c
[ "MIT" ]
permissive
rrsilaya/spaceteam
e87e5cc9a92c14cc8ed175171e282f07827d66c5
eca853d82f14d1d5f5f892977dfb35d20da40d0b
refs/heads/master
2020-04-03T11:27:08.118968
2018-12-12T05:06:53
2018-12-12T05:06:53
155,222,034
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from menu.main import Main from menu.lobby import Lobby from menu.connect import Connect from menu.username import Username from menu.welcome import Welcome from menu.connecting import Connecting from menu.getip import GetIp from menu.howtoplay import HowToPlay
[ "rrsilaya@gmail.com" ]
rrsilaya@gmail.com
5d2e5134e1095e1fd5b25e03a0582d9165899207
f0e048b2398b42a3c3ec42925ab75f754cd8d214
/configs/RAChallenge/s2anet_r101_fpn_1x_ms_ra.py
a06a8e7cd56271360518b99aafbdbfc70973c468
[]
no_license
myknowntime/RIDet
c56535f52ccf76e41bd181faf2bceb2f0e8fbd57
96bee9a7089a267855d494fbf9d2f2f78064c54e
refs/heads/master
2023-08-14T23:46:32.849835
2021-10-06T14:29:31
2021-10-06T14:29:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,958
py
# fp16 settings # fp16 = dict(loss_scale=512.) # model settings model = dict( type='S2ANetDetector', pretrained='torchvision://resnet101', backbone=dict( type='ResNet', depth=101, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), ...
[ "mq_chaser@126.com" ]
mq_chaser@126.com
a8d6d37a709547b86f9836a1d6b38849d9760e04
e0eddd9133560e1598f49feda94fd67eb121df1e
/GoEatApp.py
497524792ef3b7c6adc1e44a7943bbb6c10740e7
[]
no_license
gun0317/GoEat
c39126573a24bf48460445fe3fef111d06378df7
d045642fb1a726e5815c2c5ef6a0f89b4582065e
refs/heads/master
2020-09-09T08:25:45.025911
2019-03-08T07:36:07
2019-03-08T07:36:07
221,399,126
1
0
null
2019-11-13T07:32:46
2019-11-13T07:32:45
null
UTF-8
Python
false
false
3,456
py
import numpy as np import pickle import pandas as pd import GoEat from GoEatWebCrawler import GoEatWebCrawler from collections import Counter from konlpy.tag import Hannanum from konlpy.tag import Kkma from konlpy.utils import concordance, pprint import scipy import sklearn import konlpy import re import pymysql db =...
[ "35717288+taenyun93@users.noreply.github.com" ]
35717288+taenyun93@users.noreply.github.com
87c6b732826010a09b36dc58caec09f610519427
8d946e49d0e9c5e038b6dd5fdfc11c72f64470f9
/instagram/urls.py
f97803739aafc2feba7d773b1e1fc52f1f78a5e7
[ "MIT" ]
permissive
gabyxbinnaeah/TwinterApp
bfc955fdf529b5ecce89f62ab6bd4f8ecf9e461e
a0f68527a3e01cd47e49f9a17988ec5095422695
refs/heads/master
2023-06-16T01:07:43.531740
2021-07-14T08:37:50
2021-07-14T08:37:50
384,447,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
"""instagram URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "gabyxbinnaeh4@gmail.com" ]
gabyxbinnaeh4@gmail.com
730866580b73659ddb97537f635907379b8b456e
7b36bf1b3f298412c5cf6cda8a654aec3408966e
/test/verifywithizhaoyue.py
152a3d8695f50624bb6a0fb5a48958944bd11233
[]
no_license
machine-w/vguangserver
9b4621f25d11e8f552a22882d13db7c4892df6a8
6dc44832bbad274aa4467befa35ba8f627874682
refs/heads/master
2022-04-24T05:32:58.764328
2020-04-28T13:47:50
2020-04-28T13:47:50
258,980,970
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import sys sys.path.append("..") from .resultinterface import OperResult class ToList(OperResult): def __init__(self,SimpleRate,**extendInfor): super().__init__(SimpleRate,**extendInfor) self.dataList =[] def read(self): print(self.dataList) def write(self,step,stepTime,curTime,da...
[ "steve2008.ma@gmail.com" ]
steve2008.ma@gmail.com
6d1a989bb6d0863e4392b6b5982cb9a5e2b1b642
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano993.py
6a4a6c9844658758121f01dd960432ed50dbceed
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
cefa36b71fd4da6c8b37f32c155e0eb34813882b
0296bc69a0d9608ed826ad7a719395f019df098f
/Tools/semantic_check.py
7bbe1e264b5436b25ade1ce79adfe0c38466b046
[]
no_license
jcn16/Blender_HDRmap_render
c0486a77e04c5b41a6f75f123dbdb3d10c682367
50e6cdb79fef83081de9830e7105dd425a235a9e
refs/heads/main
2023-07-19T22:22:53.622052
2021-08-20T06:29:10
2021-08-20T06:29:10
377,757,283
2
0
null
null
null
null
UTF-8
Python
false
false
559
py
import os from tqdm import tqdm ''' check if semantic_mask is complete ''' root='/media/jcn/新加卷/JCN/JCN_test_datset/Train_512' child_dirs=os.listdir(root) child_dirs.sort() pbar=tqdm(total=len(child_dirs)) for model in child_dirs: pbar.update(1) sub_dirs=os.listdir(os.path.join(root,model)) sub_dirs.remo...
[ "591599635@qq.com" ]
591599635@qq.com
3187f7441f3e10f1fb6b9e456dee754204018c84
76ac66b96091e60d5521ab7db69a086d620fefce
/unidad5/ejercicio.py
b96bb987cc8096f1d55284105ca07623bf2d0a29
[]
no_license
Jesus121299/EJERCICIOS_INDIVIDUALES
aa88980cb3aa43c2dbef1624d70f2150c833171c
b663d3d331b7d455b9d13240c7d5bde5022e7791
refs/heads/master
2020-09-21T08:37:12.151621
2019-11-28T23:24:14
2019-11-28T23:24:14
224,743,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# -*- codig: utf-8 -*- import re patch = "ejerciciounidad5.txt" try: archivo=open(patch,'r') except: print("el archivo no se pudo ejecutar") quit() texto="" for linea in archivo: texto += linea #Ejercicio 1 variables= r'([A-Za-z-_]+\s*[=|;])' resultvar = re.findall(variables,texto) p...
[ "noreply@github.com" ]
noreply@github.com
831bf874cf91a60dd3b751441f81891df7c7e738
6d21a0366cd7eaf9be4cda90d3db999e7f0ebcf6
/detection/yolo/data/ayudajf.py
9071217f81ec0248ce019ac36ede09d143950953
[]
no_license
juanfra16/PizzaRecognition
b8299c9c5e60f0fe9b9bc81c48f4bc908c18fd33
2613dbcf502c92cfdbf40014b80279a8adb00bf4
refs/heads/master
2022-11-22T10:36:57.672332
2020-07-20T06:27:21
2020-07-20T06:27:21
280,964,869
0
0
null
2020-07-19T22:56:50
2020-07-19T22:56:49
null
UTF-8
Python
false
false
172
py
import sys archivo1, nuevo = sys.argv[1:3] with open(archivo1) as file: datos = file.read().replace("../","") with open(nuevo, "w") as file: file.write(datos)
[ "jfrojas5@uc.cl" ]
jfrojas5@uc.cl
afd31b55843500b8234e4d0c37c5e4063cf5bb46
6ff2e7e5a1db3643fde55fa1368ecc1ec747a2e6
/lib/adbUtils.py
e2a8aa4e0fbe9a2df1d01589968ac4736325c848
[ "MIT" ]
permissive
thanksdanny/Auto_Analysis
4985b41f2ba56cd1a7e930ff5d0107a88caa4311
284d116b6397cb77c72c2c45a0bffa2a8f62e384
refs/heads/master
2021-01-20T07:32:07.181213
2017-03-08T02:12:46
2017-03-08T02:12:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,326
py
# -*- coding: utf-8 -*- __author__ = 'joko' """ @author:joko @time: 16/11/8 下午2:52 """ import platform import subprocess import re from time import sleep import time import os import random PATH = lambda p: os.path.abspath(p) # 判断系统类型,windows使用findstr,linux使用grep system = platform.system() if system is "Windows": ...
[ "joko@joko.local" ]
joko@joko.local
ce9c54594a00ae100c7357c987125ca30237ad11
0b1036624fb01e6e80b60911e902d43893d5556c
/Point_sources/two_point_sources.py
bb7caef2f209958a0d165230556b389be5e1e4b1
[]
no_license
InstitutdAcoustiqueGraduateSchool/CalendrierAvant2021
f39b93a3c140463fce4c168985ed71b343a1de1a
56cafe3d02149ff752e10eb4b7171e6969cfa95a
refs/heads/main
2023-01-23T23:52:05.538082
2020-12-04T14:17:12
2020-12-04T14:17:12
318,491,805
0
0
null
null
null
null
UTF-8
Python
false
false
2,960
py
import numpy as np from numpy import sqrt, exp import matplotlib.pyplot as plt from matplotlib import animation # import myfig plt.rc('lines', linewidth=2) plt.rc('font', size=14) plt.rc('axes', linewidth=1.5, labelsize=14) plt.rc('legend', fontsize=14) class Monopole(): def __init__(self, coords, Q, phase=0): ...
[ "nicolas.pajusco@gmail.com" ]
nicolas.pajusco@gmail.com
038f08193105dd2adb3c942429af7abf567fd8e4
f63835e383b07bda24b9ec7ed40bd4247a332823
/client_code/Old/zzzTicketNewDetailsContent/__init__.py
3b11e292b1404767387b1486a79895bf38d9d1d5
[]
no_license
rhosyn/Customer-Support
bdf199d4ebc4c5b6506ad23ccbc28cba75df06a5
967b241cd920db43124826a5b006a22974e95111
refs/heads/master
2020-12-06T20:37:34.886170
2020-01-08T12:04:52
2020-01-08T12:04:52
232,547,246
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
from ._anvil_designer import zzzTicketNewDetailsContentTemplate from anvil import * import anvil.facebook.auth import anvil.google.auth, anvil.google.drive from anvil.google.drive import app_files import anvil.users import anvil.tables as tables import anvil.tables.query as q from anvil.tables import app_tables import ...
[ "bridget@anvil.works" ]
bridget@anvil.works
f061946cae59ba198cc5cbd450bcdb35f93ca5d8
739712a0a65460b75aa0ab4fdc73cf01cd023a0e
/functions/get_forecast_weather.py
be1cd985b7cdda8ab9fb4eb4423fb0ae3a380ecc
[]
no_license
newini/wasshi-bot
fc082d226ad181285d9ab5837588bec34c8f37d0
2883e9ec69b6ab1be0e23898286b654058ed2ea0
refs/heads/master
2023-01-11T10:40:25.464130
2023-01-03T02:10:15
2023-01-03T02:10:15
191,912,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
#!/usr/bin/env python3 # coding:UTF-8 from configs.production import * # Timezone timezone = 9 JST = datetime.timezone(datetime.timedelta(hours=timezone), "JST") # Use Open Weather Map API def getForecastWeather(city_jp): if city_jp == "": shutil.copyfile("assets/images/city_not_found.jpg", "tmp/city_not_...
[ "eunchong.kim@cern.ch" ]
eunchong.kim@cern.ch
b9c37c09364456c17e447fe1b6fd2676b5eef8a1
7ea9786bae7a490365440be59c042f166c584577
/ElastiSearch - Tutorias/sources/connection.py
1db2f22675a0a9deaa171da27ec2690ee9818a83
[]
no_license
gutohuida/AiProjects
c1283faf04e2af1fe9749d0dd1deef6857ae55d7
93bebe632d6506b8d4c01c459e4db1c0f19f6b35
refs/heads/master
2023-06-10T00:52:54.019089
2019-11-27T20:06:32
2019-11-27T20:06:32
214,003,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
# import flask dependencies from flask import Flask, request, make_response, jsonify from elasticDB import ElasticDB import json #Read config with open('./config.json') as file: config = json.load(file) #Start ElasticDB es = ElasticDB(config["connection"]) # initialize the flask app app = Flask(__name__) # defa...
[ "GUSTAVO.SAN@uninter.com" ]
GUSTAVO.SAN@uninter.com
78505e3632d0a004438b00fe97edb270d6d3e5c9
ca49fa7d54ea538751cc3338c4066d1cb9781322
/FP_350_image3_wealthgap.py
141bf76f30d0f474f56b8caa0e709f6b2e6ff8ec
[]
no_license
jtrax22/final_project_350
fc1d669e05b1558079b35747d6031faa3cc18384
86e0185aab67c15c53d1997ceae8c8ae7f66cea8
refs/heads/main
2023-04-05T20:40:24.521676
2021-05-05T22:33:48
2021-05-05T22:33:48
361,915,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Apr 26 21:25:24 2021 @author: jamestraxler """ from bs4 import BeautifulSoup as bs import requests import matplotlib.pyplot as plt import pandas as pd #from matplotlib import style #import statsmodels.api as sm import numpy as np #from matplotlib import...
[ "noreply@github.com" ]
noreply@github.com
29637ca1f514b6d45d39390e8c368590681c9c78
c3d97602991058def90746b90fa0e50e5215bc7f
/src/data/samplers.py
ca892fe776a88e73d6759dbe32ebd3e28c6779c4
[]
no_license
thanhtungbs00/ReID
0ac75609fefe404ea76032f4267aa0862807ed31
f0750e96eeba998146c77e6ddda1bf0d07cd683c
refs/heads/master
2021-05-24T09:52:17.738976
2020-04-05T00:14:04
2020-04-05T00:14:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
import torch import torchvision import random from src.data.datasets import ImageDataset class RandomBalanceBatchSampler(torch.utils.data.Sampler): def __init__(self, datasource: ImageDataset, classes_count=1, samples_per_class_count=1, iters_count=1): self.datasource = datasource self.classes_cou...
[ "hoangvan10it@gmail.com" ]
hoangvan10it@gmail.com
dcb59987c7a46a585c8c0bd5a323f824c579fb2d
9ed3294af5edc900f2acf248f67ca73327844e67
/TwoPointer.py/sortByColors.py
a265b3d1b130455d15bf162cc3aa560a1e875c2a
[]
no_license
sandeepkumar09/InterviewBit
f173531cee03cce7c9249c0e5b24999120179c4a
079705554659480ea7b3abbb96b6cfb606d4dff9
refs/heads/master
2020-04-11T06:18:53.542839
2018-12-13T03:29:28
2018-12-13T03:29:28
150,111,071
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
class Solution: # @param A : list of integers # @return A after the sort def sortColors(self, A): for i in range(len(A)): if A[i] == 0 and i != 0: A[i:i+1] = [] A.insert(0, 0) elif A[i] == 2 and i != len(A)-1: A[i:i+1] = [] A.append(2) else: pass ...
[ "sandeep.090896@gmail.com" ]
sandeep.090896@gmail.com
f2f183e30e51a8a92dd3ac4df1a0dfd0ad292f0d
351f39a29e38467f8137e9c90114293236ff4af9
/venv/Scripts/easy_install-3.6-script.py
49a23509e17f1497eb43e0fd530920d3b8e24411
[]
no_license
MasonWhite000/AlienInvasion
e6dc3a810b520d4347aacf0159ae9f05bdae5e3a
76a01d4e3f15abea6466752f8395ca6db1179c77
refs/heads/master
2020-03-16T22:23:54.694508
2018-05-29T12:44:09
2018-05-29T12:44:09
133,037,619
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
#!C:\Users\mcwhit02\PycharmProjects\AlienInvasion\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-sc...
[ "mason.white@stu.jefferson.kyschools.us" ]
mason.white@stu.jefferson.kyschools.us
9e9a78685cf9219df7db2543b3cb31fc4e86d42d
4524c4940d7fa830c23e4dc8e1144d5eec74365b
/ex15.py
75842d887ad14a1f8b08026f86360c2596f8855c
[]
no_license
AmyShackles/LearnPython3TheHardWay
ef493209a181f62bfa45ff3ec456ae0fd2c3e8a9
4e175d58dfe8c7295ebfbee3947e944b35e52f8c
refs/heads/master
2020-03-23T03:49:53.052976
2018-07-27T21:14:30
2018-07-27T21:14:30
141,051,327
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
from sys import argv # assigns arg[0] to the variable script and argv[1] to the variable filename script, filename = argv # assigns the function for opening the file to the variable txt txt = open(filename) # prints the string 'Here is your {value of variable filename}' print(f"Here's your file {filename}:") # print...
[ "amyshackles@gmail.com" ]
amyshackles@gmail.com
dd426cece91ace7c75c2382cf46a7a7d67142c58
8de6a35a7b5a227346f6434cde00903f3f711aa6
/tests/datasource/data_connector/test_inferred_asset_s3_data_connector.py
7085406d78e9db3d415b11de8f0680c4a33acb25
[ "Apache-2.0" ]
permissive
sfrancavilla/great_expectations
f893225a5a5fef127e2ad8c2255e70fc4ef5d8cb
e7c981589196ca4650bb4177c9a0a3d4570cf79c
refs/heads/develop
2023-03-26T19:22:29.727114
2021-03-15T16:50:59
2021-03-15T16:50:59
348,127,049
0
0
Apache-2.0
2021-03-15T21:25:24
2021-03-15T21:25:22
null
UTF-8
Python
false
false
33,328
py
from contextlib import ExitStack as does_not_raise from typing import List import boto3 import pandas as pd import pytest from moto import mock_s3 from ruamel.yaml import YAML import great_expectations.exceptions.exceptions as ge_exceptions from great_expectations.core.batch import ( BatchDefinition, BatchReq...
[ "noreply@github.com" ]
noreply@github.com
53c4d3223a86bdc4142d905742aa6d03c028bc0f
c968cbf08286394842d31fc9e8f6fe9d4e906d54
/pillo_demo.py
38f6ab4c109af56b1b5c128cc7be6e820b72a39c
[]
no_license
mchowdappa/python
0c605cb114599bad7402ab23bf259942c58f1926
8287dd3215f57624d6d08f4becf5711e6e3e411e
refs/heads/master
2021-08-23T19:34:13.003179
2017-12-06T07:34:05
2017-12-06T07:34:05
109,224,648
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
import Image img = Image.open("") img.show()
[ "chowdappa_m@intuit.com" ]
chowdappa_m@intuit.com
0f70dba87c98286e35f2d03c257f406ec7147bce
89e60cc6c7ba38ef598941f2f9dbe85f81a32ee4
/todo/forms.py
3fc1a874d01663fe5ca1c4f4f34cc0478ea64313
[]
no_license
cokoyoh/comprehensive-todo
e701d3f22ff7655ac820e7c41f9de4408662abc8
08961b0dc683900d5a9498678868c373948411e7
refs/heads/master
2020-05-30T11:45:33.795912
2019-06-13T06:32:33
2019-06-13T06:32:33
189,712,263
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django import forms from .models import Todo class TodoForm(forms.ModelForm): class Meta: model = Todo fields = ['task', 'date']
[ "charlesokoyoh@gmail.com" ]
charlesokoyoh@gmail.com
5c238ce0b9a909fcf22c755aac733637ade43929
3b451e8de359659a1648b95f86372549f29a193c
/searchlight_bound_match_GSBS_no_srm.py
0dbcd948da1c7882fb59eb9a23e82bbf9507ba97
[]
no_license
jamalw/music_event_structures_bucket
33dc0c5ffba46ab5a978a04268f88103148d2476
8ad5e9b2d767a3771cc618c061fbcb22f942cd51
refs/heads/master
2022-08-22T00:20:45.859935
2022-08-15T14:48:22
2022-08-15T14:48:22
126,224,420
0
0
null
null
null
null
UTF-8
Python
false
false
9,403
py
import numpy as np from scipy.stats import norm,zscore,pearsonr,stats from nilearn.image import load_img import sys from brainiak.funcalign.srm import SRM import nibabel as nib import os from scipy.spatial import distance from sklearn import linear_model from srm import SRM_V1, SRM_V2, SRM_V3 from statesegmentation imp...
[ "jamalw@princeton.edu" ]
jamalw@princeton.edu
4560b16d95bb169aab5d0111220c04b3b936e793
d1ce5d1a53eabf2dc7a51082e7374e53ee01a1e8
/dashboard/forms.py
d2f246d42ae1fe2f3e8adca14d59d4dc5e20d471
[]
no_license
Nitin15067/FCS-project
c3ecc1c733dd94e892eefb8b909182931908db23
55d84b3bbb636aa6f1cc2ebbb863c4fd1ab3bf47
refs/heads/master
2020-08-06T08:48:22.953304
2019-10-30T13:14:24
2019-10-30T13:14:24
212,912,497
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm, UserChangeForm from account.models import Account class EditProfileForm(UserChangeForm): class Meta: model = Account fields = ( 'email', 'first_name', 'last_name', 'phone_no', ...
[ "nitin15067@iiitd.ac.in" ]
nitin15067@iiitd.ac.in
04d9ad1e786f05e26021f6185659f3aae41db9f9
ac2f43c8e0d9649a7f063c59b3dffdfed9fd7ed7
/tests2/tests/fuji/test_sensor.py
1d54acae68dd7d60074e321cc3d4aa4b3266471c
[]
no_license
facebook/openbmc
bef10604ced226288600f55248b7f1be9945aea4
32777c66a8410d767eae15baabf71c61a0bef13c
refs/heads/helium
2023-08-17T03:13:54.729494
2023-08-16T23:24:18
2023-08-16T23:24:18
31,917,712
684
331
null
2023-07-25T21:19:08
2015-03-09T19:18:35
C
UTF-8
Python
false
false
13,978
py
#!/usr/bin/env python3 # # Copyright 2020-present Facebook. All Rights Reserved. # # This program file 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; version 2 of the License. # # This program is distributed ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0cdac74013d1815fdcf40dc9165e35d850ef2673
7b252f0c1b8ba7c9a35ead166482efbb4d804413
/mysite/books/views.py
aad9117e9fbeb9c02c506f754902dff380645397
[]
no_license
gzpgg3x/PythonExample
191024f04796a13106b46f4f00a59185c33af91b
c64563f91cd5188b6d3d01688d8184a37ded46eb
refs/heads/master
2021-01-10T19:38:53.325169
2013-04-11T22:36:29
2013-04-11T22:36:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,682
py
# Create your views here. # from django.shortcuts import render_to_response # from django.http import Http404, HttpResponse # def search_form(request): # return render_to_response('search_form.html') # def search(request): # if 'q' in request.GET: # message = 'You searched for: %r' % request.GET['q'] ...
[ "gzpgg3x@yahoo.com" ]
gzpgg3x@yahoo.com