blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
9b3819333e808913783007eba80920255b57e3c6
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/rasbt_mlxtend/mlxtend-master/mlxtend/classifier/multilayerperceptron.py
42f723cf529b36903010a7ecc949d7acdb1d6c50
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
9,902
py
# Sebastian Raschka 2014-2017 # mlxtend Machine Learning Library Extensions # # Implementation of a Multi-layer Perceptron in Tensorflow # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause import numpy as np from time import time from scipy.special import expit from .._base import _BaseModel f...
[ "659338505@qq.com" ]
659338505@qq.com
ffe3898008c45fa2cfd08d1bdaa6530548cee442
eeb98a9c6018dd291e524e1e2eda055f7fd2d4c7
/Bók-verkefni/Bók bls 171.py
626ae67e8724e358838d8f0711f82ca05bca3338
[]
no_license
thorakristin/Forritun
d04f45138109c2fb4761e9e1beb247a2cc60e69f
e3498b196c0c21618bd73e03fd3b87aa1ed68d0e
refs/heads/master
2020-07-20T06:48:52.153092
2019-09-17T09:38:22
2019-09-17T09:38:22
206,593,092
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
range(1,10) range(1, 10) my_range = range(1,10) type(my_range) range len(my_range) 9 for i in my_range: print(i, end=' ')
[ "tkk8@hi.is" ]
tkk8@hi.is
cc9598055b2c27f9664de6d0c40512da34be6efe
7802a68f4928acb5767bcf494d1c49199f46e42d
/project/urls.py
f859518f5f8865c508bdf4f1b266c1b2e1570575
[]
no_license
collins-adhola/expense_api
b651a05f2438f63de62f5457d5efc45145a3a947
eb4a1aed735c980d5078e6956e69b063afab9afc
refs/heads/main
2023-08-06T19:35:11.251616
2021-10-05T20:15:08
2021-10-05T20:15:08
413,975,327
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "coadhola@gmail.com" ]
coadhola@gmail.com
c006e72d485742e0e24ae62bfbfb57f79139c0dd
2ce0c97025f0cc644bcb747e1a7bc41b15890618
/src/powerful_benchmarker/ensembles/concatenate_embeddings.py
a6360ad6b300eeb1d7808ecc03f99a0a4389d704
[]
no_license
kwotsin/powerful-benchmarker
5412c9b42be385b0b525e9ae9893ba9d12bd21eb
b9cf4dd1ed1e21bfe10b9a88972e51f0db9a0545
refs/heads/master
2022-11-22T10:03:34.346800
2020-07-28T04:31:27
2020-07-28T04:31:27
285,510,355
2
0
null
2020-08-06T08:00:03
2020-08-06T08:00:02
null
UTF-8
Python
false
false
1,029
py
from ..utils import common_functions as c_f import torch from .base_ensemble import BaseEnsemble from .. import architectures class ConcatenateEmbeddings(BaseEnsemble): def create_ensemble_model(self, list_of_trunks, list_of_embedders): if isinstance(self.embedder_input_sizes[0], list): self.em...
[ "tkm45@cornell.edu" ]
tkm45@cornell.edu
3b6bfc3e77f83f7cee554a520237036597617472
1faa248589efec362481be76b536e66fb16784b8
/examples/datavault2-bigdata-example/dags/dvdrentals.py
d631cd5535ef9993bba4e0843ebecdd1e55dcfac
[]
no_license
JomaMinoza/etl-with-airflow
97769b77dd34420efd7545f8cc0980e5fc67540a
cc4fa33b3fb300c79da7cb3696eed8cebac5ca67
refs/heads/master
2020-03-19T18:31:57.234918
2018-06-10T09:13:46
2018-06-10T09:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,102
py
# -*- coding: utf-8 -*- # # 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 ...
[ "gtoonstra@gmail.com" ]
gtoonstra@gmail.com
833e689c5a7732b25871363526476d16fcf573c4
bfa87f118a551b5e9a83156f23608bec1d3a7072
/asses/asses/wsgi.py
c66772869a87fede23117fceb33716059e1e9963
[]
no_license
k-abhi1512/news
89e81746f14474335c7a99d2409931de0a123ef2
e4cae748c57c2d5f26d7e28bced02a451bf48158
refs/heads/master
2023-02-17T18:30:54.783403
2021-01-17T17:14:10
2021-01-17T17:14:10
330,151,958
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for asses 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "2akj1018@gmail.com" ]
2akj1018@gmail.com
eb8dde64965141d4ca481637413e0f6af4cc65e5
e13159f11c1ba0b00e0caf0e2d4285ac5fcf8714
/SmallScheme/parser.py
9306acb68d61820fae5dc4f24e3b41e3b9556d8c
[]
no_license
Origami404/SmallScheme
d95e496f4c0cc4783f4e8e3cb119d4b8b6355596
059c39c202e82cd7fd260e498aa2ae8979449383
refs/heads/master
2022-11-18T16:37:50.313967
2020-07-21T13:42:57
2020-07-21T13:42:57
281,407,982
3
0
null
null
null
null
UTF-8
Python
false
false
5,510
py
from os import sendfile from typing import Generic, Iterator, Sized, overload, Type from . import * from .lexer import IterBuffer, TokenLiteral, Token from abc import ABC, abstractmethod class AstNode: def __init__(self, dot: bool=False, ellipsis: bool=False) -> None: self.dot, self.ellipsis = dot,...
[ "Origami404@aol.com" ]
Origami404@aol.com
39454822a638df06c674a59ae22cb5d649384eea
cb29a89d8ba64cc7f5db359b05b47ecb519ab561
/client.py
cc96f9ef648a89eb02860c2897fcee8265de613a
[]
no_license
dimitarbez/SocketsTut
9e634c23615177446afd493b3e48294765931ac8
565309f6fb46ade0aaa3bde9bc04376a6ccbf409
refs/heads/master
2023-03-03T17:14:20.212139
2021-02-13T08:07:58
2021-02-13T08:07:58
338,531,363
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
import socket HEADER = 64 PORT = 4200 FORMAT = 'utf-8' DISCONNECT_MESSAGE = "!DISCONNECT" SERVER = "192.168.1.195" ADDR = (SERVER, PORT) client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect(ADDR) def send(msg): message = msg.encode(FORMAT) msg_length = len(message) send_length = str(...
[ "30288047+dimitarbez@users.noreply.github.com" ]
30288047+dimitarbez@users.noreply.github.com
306ec41cc500d91c1640b117158ea5f1c31c2ca2
62affe720ce0c736cc9a010bfe8b67d44df68d2f
/env/bin/wheel
2b70fd3b25390815bc93899a0c4612091d0af206
[]
no_license
AreJay-Smith/machine-learning-california-housing-predictions
57307e0911dedecc2c122c884c4f24fa4da40498
00a5325e874a3ed14b62401c0802de737d69e61c
refs/heads/master
2020-12-02T07:43:31.145912
2017-07-09T23:08:01
2017-07-09T23:08:01
96,716,524
0
0
null
null
null
null
UTF-8
Python
false
false
232
#!/Users/Urge_Smith/ml/env/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "randalljo@gmail.com" ]
randalljo@gmail.com
178dbd2c8d960aa86293f06153787741e81663d1
90e52dcb84180b4113b62629b360a6a0bb0a3e5e
/VENV_Tezat/Tezat/article/migrations/0002_auto_20180819_1443.py
e7aa8ff49e57d6a184b34a9f11c80417b29f0be8
[]
no_license
umutBayraktar/social-platform
2b97d6b809145b38d09a8e70e727e347b0533f7b
e5901099d0921ca289e8d9824b10dd3d15eeab7a
refs/heads/master
2022-12-02T05:33:32.813227
2019-06-15T22:12:55
2019-06-15T22:12:55
192,127,002
2
0
null
2022-11-22T02:39:29
2019-06-15T21:54:37
Python
UTF-8
Python
false
false
1,674
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-08-19 11:43 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('article', '0001_initial'), ] operati...
[ "umt9735@gmail.com" ]
umt9735@gmail.com
266089573ebcc85e9b0d1b80221934495747b62d
ec3b2978117e4021ce187c08c02074ccbe488cd7
/quickjobs/settings.py
f2b53bfcf4b9c7bb8b550a1f18539b50634703d8
[]
no_license
habeelmuhammed/quickjobs
577f40a217c0fc54cf466baa2566f734955396c8
40c0e4cd55703d1dc00a34afa60369a1e4ec1dff
refs/heads/master
2023-03-05T21:12:21.046877
2021-02-18T11:22:39
2021-02-18T11:22:39
340,026,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
""" Django settings for quickjobs project. Generated by 'django-admin startproject' using Django 3.1.3. 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/ """ import os f...
[ "habeelmuhammed19@gmail.com" ]
habeelmuhammed19@gmail.com
49c4fa5c25e6a664e828daf40dc1d96ad6ea99e3
8c098853257d8ae2466662fb9c8bd1da766c1582
/desktopNotification.py
9365fc1220359a69f5092784a64421a1aab1631f
[]
no_license
kabanitech-makerspace/pythonDesktopNotificationClient
1d9e2a384f4bff26167af804ec72eccc623b6351
e39256d2418baf30984849bf43a6add356c2654d
refs/heads/master
2023-02-17T12:59:29.727216
2021-01-14T06:41:41
2021-01-14T06:41:41
329,526,236
0
0
null
null
null
null
UTF-8
Python
false
false
2,132
py
# author : kabanitech # website : www.kabanitech.com #--------------------------------- import ast import time import requests from datetime import datetime from plyer import notification from pyfiglet import Figlet from termcolor import colored, cprint previusTimeStamp = 0; notificationInterval = 300; # 5 sec wa...
[ "akash.anjanam@gmail.com" ]
akash.anjanam@gmail.com
794ee8b5e9280e3685ccad77574041cb70b678f9
f20931826a557f0d884f8b46de259840c29b7428
/meiduo_mall/meiduo_mall/utils/views.py
6277b442a78467dc0f3a239d427d6ac13b413536
[]
no_license
zy723/meiduo_project
38ccecc2fa1d61f2eb848ebc572dd43d45a534c8
f50a8105c63554b57419cb3494c3d323bb343f9c
refs/heads/master
2022-12-15T02:34:42.578549
2020-05-20T16:56:27
2020-05-20T16:56:27
248,264,846
0
0
null
2022-12-12T20:28:41
2020-03-18T15:08:40
TSQL
UTF-8
Python
false
false
982
py
from django import http from django.contrib.auth.mixins import LoginRequiredMixin from meiduo_mall.utils.response_code import RETCODE class LoginRequiredJSONMixin(LoginRequiredMixin): """ 验证用户并返回json 的扩展类 """ def handle_no_permission(self): """ 重写 handle_no_permission 返回json ...
[ "zy723@vip.qq.com" ]
zy723@vip.qq.com
4a973dd5c4605eb01d3f3c3767d39a74840e34fa
7beb414f17ae3da889eb13d588ca860105479230
/Chap12.4p.py
9e7e69c448834bc712bf69b3b66f5b0d47257591
[]
no_license
Sajan390/github-upload
1a021645b06cdf56cfd3254986f845454f3ebca9
f3d4605615828ae958ccd609ab953df8510687a1
refs/heads/main
2023-04-15T08:06:24.493223
2021-04-24T09:09:37
2021-04-24T09:09:37
359,884,264
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
import urllib.request, urllib.parse, urllib.error from bs4 import BeautifulSoup fhand=urllib.request.urlopen('http://www.dr-chuck.com/page1.htm') counts={} for line in fhand: word=line.decode().split() for words in word: counts[words]=counts.get(words,0)+1 print(words) print(counts)
[ "mr.sajankasula@gmail.com" ]
mr.sajankasula@gmail.com
aa82180268a07290cee5098af7a357014e39d803
941ef7765081577f8b07e428a1fcd38239c96bbd
/mySite/urls.py
1a76e9ec5595b08eb7a0956ee6ed27996b50810e
[]
no_license
cdc94/mySite
b349f16e6acdaed6d86d5f596013d3624f48ee3c
458aed42f1dccd5864e65b69b42be61649cb28e9
refs/heads/master
2023-04-02T22:26:05.803794
2021-04-09T16:23:27
2021-04-09T16:23:27
356,332,926
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
"""mySite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "1094392181@qq.com" ]
1094392181@qq.com
d65d6e4f4ba1369b841240de66b91169a6a1d959
38dfa019833773bcce0af80509018cfbb5cc8839
/city_json.py
f8868c619623a6106038a54f1848521b8de2ae68
[]
no_license
chenkeren1994/python-spider
c59ee8184fd85d315a7b7ef60b5902fb0b65ea2e
15f334861a0477315bf7be7f0b359780bad994c6
refs/heads/master
2021-01-15T21:31:00.258085
2017-08-10T02:57:19
2017-08-10T02:57:19
99,874,544
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
# _*_ coding:utf-8 _*_ __author__ = 'seal' __data__ = '8/9/17' import urllib2 import json import jsonpath url = "https://www.lagou.com/lbs/getAllCitySearchLabels.json" headers = { "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0" } request = urllib2.Request(url, h...
[ "chenkerenqiqi@163.com" ]
chenkerenqiqi@163.com
c2499662862e75d8cd98a2ba30b55e5bff251e45
5852dc141d5d631abdba9a1b19ef749cd7809c0a
/Python2/Ex22.py
f65aea30ddc7442209e20adee733979541719e1a
[]
no_license
thatguy0999/PythonCodes
9b18f76611549f6697081d435a595b495355eea0
e6f3bec2e126f2eb12377c97e019d34c64e725a1
refs/heads/master
2023-02-03T08:59:36.916778
2020-12-22T10:01:28
2020-12-22T10:01:28
320,473,739
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from math import * length1 = float(input('please enter the length of the first side')) length2 = float(input('please enter the length of the second side')) length3 = float(input('please enter the length of the third side')) length_sum = length1 + length2 + length3 area = sqrt(length_sum*(length_sum-length1)*(length_s...
[ "chuaruyhan@gmail.com" ]
chuaruyhan@gmail.com
a71e3dfb3d120f35cc2b76d64013210f50176ec6
4ce5f83f93309e4d446296fad79a63ed859365a8
/models/__init__.py
fb8e3a9920cea7bf641bee8724bebbe4d794c8c7
[ "Apache-2.0" ]
permissive
amirunpri2018/TT-SRN
3024d05deeec69e3bb2ee8350b332ed24f07fc65
83eb03a9393442e6b09aa736862b3a2d5bdcf5b6
refs/heads/main
2023-08-14T04:28:10.419866
2021-10-08T11:57:29
2021-10-08T11:57:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
from .vistr import build def build_model(args): return build(args)
[ "noreply@github.com" ]
amirunpri2018.noreply@github.com
f3f74077e990422f6a0ad6cbad82bed2604164f4
5b64544c1a8f3b8ca4a22396e3c0670a6382ffbb
/pmem/wsgi.py
ac8448acde31ff51528720fb4e87abe964237f23
[]
no_license
Twbadkid/utcsKoiDavenSite
a9e624118d70aa469f57ca1b2c9f1277492de47d
33d1d3a334ff6eba169744ec770baaad49f81e4b
refs/heads/master
2021-01-25T08:37:23.023934
2014-12-09T16:57:48
2014-12-09T16:57:48
27,774,187
2
0
null
null
null
null
UTF-8
Python
false
false
707
py
""" WSGI config for pmem project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ # coding=UTF-8 import os import sys #sys.path.append('/srv/www') path ='/srv/www/pmem' if path not in...
[ "kkkoooiii2@yahoo.com.tw" ]
kkkoooiii2@yahoo.com.tw
792817e5a7b4e0705f00af285ebe1554b4fb1db9
6a5fffd4a6211dec189942e0dcef000dfab1f227
/scipy/optimize/_lsq/trf.py
d9d6c597b814533c09a23c32c04d12db5f58fb1f
[]
no_license
sumitbinnani/scipy
e4f85e7bb99b4d8f504cad2b669605ee74dba50e
7dd2b91935d008810f5391311d40bbc732ffefd7
refs/heads/master
2021-01-15T12:16:01.048358
2015-10-07T15:15:58
2015-10-07T15:15:58
43,842,116
1
0
null
2015-10-07T20:12:18
2015-10-07T20:12:17
null
UTF-8
Python
false
false
19,571
py
"""Trust Region Reflective algorithm for least-squares optimization. The algorithm is based on ideas from paper [STIR]_. The main idea is to account for presence of the bounds by appropriate scaling of the variables (or equivalently changing a trust-region shape). Let's introduce a vector v: | ub[i] - x[i]...
[ "n59_ru@hotmail.com" ]
n59_ru@hotmail.com
ba845bf835e404e92748f031eeee80ae23f30f72
a18932acad089e34ca3f3f662f92d310b4a55001
/1_Applied_Time_Series/python code/02_Transforming Time Series/stationarity.py
f8f40608c7a7a1ad7c8daddb9cbf4d123e17a92e
[]
no_license
Sun-Yize/Time-Series
211da31566ae2bbdee1a0ad46501477879ef0b3c
5c13ee62d8cb24e99cd6e1bea7e1d0ed2a0d850d
refs/heads/master
2022-11-30T04:02:14.750536
2020-08-15T10:02:33
2020-08-15T10:02:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
import numpy as np def first_difference(xt): y = np.array([]) for i in range(len(xt)-1): y = np.append(y, xt[i+1] - xt[i]) return y def second_differences(xt): y = np.array([]) for i in range(len(xt) - 2): y = np.append(y, xt[i + 2] - 2 * xt[i+1] + xt[i]) return y
[ "986765210@qq.com" ]
986765210@qq.com
d8bc08fc70db673b8e1086f76e64a1aad63d788f
f5fcd15495c4bb14845f60e9bc9dc04b1a485c8d
/봉우리/봉우리.py
2aa3f30a842e348b258e0435e73160e1ffbabb9b
[]
no_license
htchoi1006/python_algorithm
20ec72744345fc7c327c9d1907db338a300594d2
853defb36f899d63b2d353ab5c236b63453e7aef
refs/heads/main
2023-03-30T20:58:59.546000
2021-03-31T08:09:52
2021-03-31T08:09:52
334,844,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
''' 문제 지도 정보가 N*N 격자판에 주어진다. 각 격자에는 그 지역의 높이가 쓰여있다. 각 격자판의 숫자 중 자신의 상하좌우 숫자보다 큰 숫자는 봉우리 지역이다. 봉우리 지역이 몇개 있는지 알아내는 프로그램을 작성하라. 격자의 가장자리는 0으로 초기화되었다고 가정한다. 만약 N=5이고, 격자판의 숫자가 다음과 같다면 봉우리의 개수는 10개이다. 0 0 0 0 0 0 0 0 5 3 7 2 3 0 0 3 7 1 6 1 0 0 7 2 5 3 4 0 0 4 3 6 4 1 0 0 8 7 3 5 2 0 0 0 0 0 0 0 0 ''' import sys s...
[ "htchoi1006@kookmin.ac.kr" ]
htchoi1006@kookmin.ac.kr
e391070f15e48adc1a704e910937495fceb5ab8b
83f45cc80f26ea47965dc3dd4e7131786eab677f
/data_preprocessing/preprocess/county_locations.py
f1249e5247c4493eb59ad5175933ee6a5a6484eb
[ "MIT" ]
permissive
HannaMao/Context-Aware-Representation-Crop-Yield-Prediction-1
f5864aa7523df42e7e3343a49adb5745154db2ef
9c29459e9521303f40d9d6aaa938da0c23ab4ad8
refs/heads/main
2023-07-08T09:30:37.721935
2020-09-17T21:49:24
2020-09-17T21:49:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,724
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from netCDF4 import Dataset import numpy as np import numpy.ma as ma from pathlib import Path import pandas as...
[ "hannamao@fb.com" ]
hannamao@fb.com
a38ed6e688d5611c5e80126515266da0fc1ed0e5
37d09d797ec508a3b488b0a2656e7b6c1b2b99a7
/nozad/icd10/views.py
837681d69cd860951f6de41a52b227206d2abbaf
[]
no_license
javadkhd/jj
d3071dcef4b9dfeec54f8c6b278817fad8221fca
1b2bdf1047024955b1fea55a16a39a4784cc7540
refs/heads/master
2023-06-07T21:41:05.661237
2021-06-27T09:14:03
2021-06-27T09:14:03
374,952,434
0
0
null
null
null
null
UTF-8
Python
false
false
7,596
py
import re from urllib import parse from pprint import pprint from django.http import JsonResponse from django.shortcuts import render, redirect, get_object_or_404 from django.db import connection import sqlite3 from collections import defaultdict def col_1(): con = sqlite3.connect('db.sqlite3') cursorObj = co...
[ "j.khadem95@gmail.com" ]
j.khadem95@gmail.com
e1544ac802408a8bf030f8fb07b8b72b80dcac7c
ac122d54df21e3efcea1d4e887cf3f86400b2c8e
/bringyourownproxies/sites/pornhub/account.py
14fbf1fa4f6af40e622f11440fb31b18120a9707
[]
no_license
IAlwaysBeCoding/bringyourownproxies
26db3f09cd88844a02750a14da8040b4c5fd6576
045772135e37aaac272b2b6e9863b6762835532a
refs/heads/master
2020-04-15T11:29:42.591421
2015-11-13T23:03:11
2015-11-13T23:03:11
31,229,220
6
4
null
null
null
null
UTF-8
Python
false
false
5,778
py
# -*- coding: utf-8 -*- #!/usr/bin/python from bringyourownproxies.errors import AccountProblem,InvalidLogin,ParsingProblem from bringyourownproxies.httpclient import HttpSettings from bringyourownproxies.sites.account import _Account __all__ = ['PornhubAccount'] class PornhubAccount(_Account): SITE = 'Pornhub...
[ "tedwantsmore@gmx.com" ]
tedwantsmore@gmx.com
95c521e0caa0a0528325ba4954d10f1e4e232a2d
81a95cd239caaa775367848d73738522adeb2513
/pymtl/classes/applicative.py
60bbcc1c0baa1c814cf084339e0ea0f5bb896762
[]
no_license
jali-clarke/PyMTL
28cc7caeb4170a9aed3fd180efe99a883da33c43
6abf7173fc105e0c2a6387c52a8cd6a0ed58ba1a
refs/heads/master
2022-02-23T09:08:28.218575
2019-09-17T02:58:43
2019-09-17T02:58:43
208,918,878
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
import abc from .functor import Functor class Applicative(Functor): @classmethod @abc.abstractmethod def pure(cls, a): pass @abc.abstractmethod def ap(self, fa): pass def fmap(self, f): return self.pure(f).ap(self)
[ "coder@dev.lan" ]
coder@dev.lan
7d05b715727ad5d5fd20872c4299ebc0e0a481e2
c0e37f1011d5e01ac373db2947008afdf5c871a6
/venv/bin/cheroot
490cf62605b67f152613aa239141aacaa06c3586
[]
no_license
marcelohjw/interwebs
7e77a54e198627a03cd49f0e272ab09ec3855c9f
f8f0d35da4677370eea512f82f3b82cf4b0d7cb7
refs/heads/master
2023-03-29T20:00:44.466674
2021-04-04T12:04:49
2021-04-04T12:04:49
354,526,198
0
0
null
null
null
null
UTF-8
Python
false
false
246
#!/Users/mjj/PycharmProjects/interwebs/venv/bin/python # -*- coding: utf-8 -*- import re import sys from cheroot.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "marcelohjw@gmail.com" ]
marcelohjw@gmail.com
809004ba15b4faf10b513855dbc0ec5256e2228a
c682d1f08b357a094a489c6e1c2080117ea50e31
/Python3/convert_a_number_to_hexadecimal.py
ca7e17ae28514185b73889a87a96c14f6ccaeff0
[]
no_license
eric82714/LeetCode_405--Convert-a-Number-to-Hexadecimal
f14ecad823f38f6cbe57ba89e176f8a796a4b5a5
0670e8105b542587cd5a42e5719bb33c82b3085d
refs/heads/master
2021-05-23T15:18:21.165936
2020-04-06T00:22:43
2020-04-06T00:22:43
253,357,720
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
class Solution: def toHex(self, num: int) -> str: if num == 0: return "0" uNum = num if num > 0 else num + 2**32; result = ""; chars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']; while uNum > 0: digit = uNum ...
[ "noreply@github.com" ]
eric82714.noreply@github.com
634d0fd70bc87fb7c05bda9280f5e83fa5dd523c
e4eb62382cf48f8598f41041235e76ea96b36cd3
/multispinsys/GenEigFunc.py
65765589181e0f0702407243641e30c20f0bacd9
[ "Apache-2.0" ]
permissive
Marcupio/SpinProgram
f79e5fe9dbec21ee8d262fc9dd3d1d4ef844dfd6
4d47e5e5048423ae69869a0300558e1fee809bf0
refs/heads/master
2021-06-12T13:08:14.523778
2021-05-27T19:27:00
2021-05-27T19:27:00
176,645,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,618
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 7 18:48:47 2019 @author: nac2313 """ import numpy as np import Hamiltonians as H import time import multiprocessing as mp import random from multiprocessing import Pool import os import pathlib as pl import FilteredStates as fs #This code will generate, filter, and sto...
[ "32853691+Marcupio@users.noreply.github.com" ]
32853691+Marcupio@users.noreply.github.com
c2efc4f9c3599aa83f9a3a738a9ad0f480999c49
3744f434039df4efcc4b63dbdbcc0e0cce97f3d1
/roach/python/velociroach.py
2187b3c6034a8447099e9ff1a460364678a1f589
[]
no_license
cemkoc/CBC_Biomimetic_Project
240ecbd0705f2f596d58d74deae852d8d1588bd7
a528faa2e07f110c20e2b8b30c6497daa0080470
refs/heads/master
2021-01-10T13:33:53.260446
2015-11-17T23:30:58
2015-11-17T23:30:58
46,089,038
0
1
null
null
null
null
UTF-8
Python
false
false
16,474
py
import glob import time import sys from lib import command from callbackFunc_multi import xbee_received import datetime import serial import shared_multi as shared from struct import pack,unpack from xbee import XBee from math import ceil,floor import numpy as np import scipy.io # TODO: check with firmware if this val...
[ "cemkoc95@gmail.com" ]
cemkoc95@gmail.com
0b516dc1969f77f73f4da908e08ca5bf57a771d0
b068fe1eca9c83417f5818406873d3f596561354
/Generate_Features/Gen_features/miasm2/arch/aarch64/sem.py
e86226dfecdd3cabc0d13f3c8c4a48886449cea7
[]
no_license
zjuArclab/Focus
9ddb329f5f52dff11268372e428742a6ed719626
bba0b448fc71a1448b3ba50a3168bae326b941db
refs/heads/master
2020-10-01T18:30:29.561123
2020-06-13T12:50:57
2020-06-13T12:50:57
227,598,920
3
0
null
null
null
null
UTF-8
Python
false
false
27,168
py
from miasm2.expression import expression as m2_expr from miasm2.ir.ir import IntermediateRepresentation, IRBlock, AssignBlock from miasm2.arch.aarch64.arch import mn_aarch64, conds_expr, replace_regs from miasm2.arch.aarch64.regs import * from miasm2.core.sembuilder import SemBuilder from miasm2.jitter.csts import EXCE...
[ "fulirong007@gmail.com" ]
fulirong007@gmail.com
d588c63a39712c5cef1af4b962e2afc3a80a8af1
b8d800433b005e9629c77426b0a7fdb70b2ac217
/models/test.py
5dfbdf8379fbf534c98c3019afaa23b80e48ceaf
[]
no_license
ivpusic/mongo-spade-replicate
0e40c3b76a6b60731bfc78ab68c7c354350ccb9f
0710867482c7be54a123ef4150e3d3e5ba865e73
refs/heads/master
2016-09-06T11:32:49.479448
2014-02-08T10:25:34
2014-02-08T10:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
from bson.json_util import dumps, loads from event.mongo_event import trigger_add from event.mongo_event import trigger_update from event.mongo_event import trigger_delete from abc import ABCMeta def object_encoder(obj): if isinstance(obj, BaseModel): return obj.__dict__ return obj class BaseModel: ...
[ "pusic007@gmail.com" ]
pusic007@gmail.com
87ec679d46a9949e06b46f7c0e8ba22f4a61360e
9dae033887882a42f85fdb86f5d83a0437ff3554
/miedu/wsgi.py
6f0810966350bfd5c0d77423ce3b6524dacb0a0b
[]
no_license
MHMDhub/miedu
f0aa046ec1767dbd591dfd0b39f1ddb4f3de773e
110732ac6e972ce71ecbd2d552b99d76b873b75d
refs/heads/master
2021-01-16T22:36:42.572544
2013-04-07T04:03:48
2013-04-07T04:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
""" WSGI config for miedu project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`` se...
[ "si.alan090@gmail.com" ]
si.alan090@gmail.com
6b33e5850d5752b1c97651c879035e61e2918b02
0aa40a63af9b87f82206027567312d31e94ca51e
/Veridu/SDK/API.py
f6ff27c2dda1e33c01d6b4e2feb795dffe67c106
[ "MIT" ]
permissive
veridu/veridu-python
8ab56ac9fa20498b5ebb265f720090b0591b8057
65a680e44cea72bc0290e7c03b21e51a3f2a4b73
refs/heads/master
2021-01-10T02:00:11.692317
2016-02-11T13:25:36
2016-02-11T13:25:36
51,076,358
0
4
null
2017-04-12T12:29:59
2016-02-04T13:04:54
Python
UTF-8
Python
false
false
3,105
py
import urlparse import urllib import requests import random import time import collections import hashlib import hmac from Veridu.Exceptions.InvalidResponse import InvalidResponse from Veridu.Exceptions.InvalidFormat import InvalidFormat from Veridu.Exceptions.APIError import APIError from Veridu.Exceptions.NonceMisma...
[ "flaviohbatista@gmail.com" ]
flaviohbatista@gmail.com
47123de5d5d060b962af11e1a4e5c2005cd19e49
99ccdf4637c1575a98b4c3bdd7811dcd10bfc956
/todo/migrations/0002_auto_20210722_1527.py
09dde7b3be52ad14a0597f0f37d067037b37cd24
[]
no_license
tensho9408/django-todoapp-v2
89847dd831413237e3bb5751f542b53dd81d211b
a801e29bf24d07b2aee28ae6723824783ddf2b53
refs/heads/master
2023-06-18T22:34:53.769010
2021-07-24T15:45:28
2021-07-24T15:45:28
388,524,170
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
# Generated by Django 3.2.5 on 2021-07-22 06:27 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('todo', '0001_initial'), ] operations = [ migrations.AddField( model_name='todomodel', n...
[ "tenshoohashi@gmail.com" ]
tenshoohashi@gmail.com
b4c3e6a9ff92cc9e7436eaf4a093ab1686cc8108
109b24ada597936b60e7750ad6a7ed226a469081
/170223demo_merkletree.py
5f65646c418e90631c6bffb331d6e527ca217d78
[]
no_license
Fukuhara-Kichinosuke/myblockchain
272df55e123e21a5c543c4d4a6b83606ddf6e3cc
c805504a5b6222440ee0b76c308d11e6bbe41fe0
refs/heads/master
2020-05-22T18:51:18.145805
2017-03-12T06:48:05
2017-03-12T06:48:05
84,715,977
0
0
null
2017-03-12T10:01:33
2017-03-12T10:01:33
null
UTF-8
Python
false
false
1,308
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 9 2017 @author: fukuharakichinosuke """ import json import sys import requests import math import numpy as np from blockchainapi_mod import * from blockchain import blockexplorer block_hash = str(sys.argv[1]) cl00 = RequestModelResponse # RequestModelRes...
[ "noreply@github.com" ]
Fukuhara-Kichinosuke.noreply@github.com
fede31df8016b16d85ff35ad01ca6a1968c650ff
ed06a8f606f909aa82e41c5747a9fd0075a41912
/Mundo 1/Exercicio12.py
504c3770e396a1085f88ede0efbef43f80d13b66
[]
no_license
loumatheu/ExerciciosdePython
7a96ce19201e68846f152cdd0a5ebee70bef59b5
2ce067956c1b6a4fa91910070a727f127138e7d9
refs/heads/main
2023-09-04T10:30:31.456093
2021-11-10T19:23:14
2021-11-10T19:23:14
406,768,538
1
0
null
null
null
null
UTF-8
Python
false
false
780
py
cores = {'azul':'\033[1;34m','verde':'\033[1;32m','semestilo':'\033[m', 'vermelho':'\033[1;31m', 'lilas':'\033[1;35m', 'amarelo':'\033[1;33m', 'verdepiscina':'\033[1;36m'} print(f"""{cores['azul']}==================================================================== CHALLENGE 12 ===...
[ "luiz.matheus.77985@gmail.com" ]
luiz.matheus.77985@gmail.com
494c29e9fe3a84a374cb6cd28ca676afa31d980d
753a70bc416e8dced2853f278b08ef60cdb3c768
/models/research/object_detection/metrics/calibration_evaluation.py
e3fc4b05639b94d7425a8811ef92e1878c13f4f8
[ "Apache-2.0", "MIT" ]
permissive
finnickniu/tensorflow_object_detection_tflite
ef94158e5350613590641880cb3c1062f7dd0efb
a115d918f6894a69586174653172be0b5d1de952
refs/heads/master
2023-04-06T04:59:24.985923
2022-09-20T16:29:08
2022-09-20T16:29:08
230,891,552
60
19
MIT
2023-03-25T00:31:18
2019-12-30T09:58:41
C++
UTF-8
Python
false
false
10,266
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "finn.niu@apptech.com.hk" ]
finn.niu@apptech.com.hk
83d042904a986cd4ad3a58ee892205b4cf61e7b0
b156c2f5ee7417dfa1f6cdcf14e9773a25397544
/GeneVisualization/venv2/Lib/site-packages/itk/itkVectorConfidenceConnectedImageFilterPython.py
7bc6ab589db1a24b58adb144511094c296061932
[]
no_license
PinarTurkyilmaz/Vis
1115d9426e9c8eeb5d07949241713d6f58a7721b
4dd4426a70c0bd0a6e405ffe923afee29630aa67
refs/heads/master
2022-11-18T13:16:18.668065
2020-07-06T21:04:10
2020-07-06T21:04:10
226,217,392
0
0
null
null
null
null
UTF-8
Python
false
false
629,267
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkV...
[ "pinar.turkyilmaz@estudiant.upc.edu" ]
pinar.turkyilmaz@estudiant.upc.edu
4574c829390dab1c4b2ccbccc3376035ba788e83
a1b21aa9b4c3b99b9b16fd47686bcc76e6fafd18
/playground/people.py
b0f3a9910a955ad3632716f3dd4206debc55f55e
[]
no_license
irfan87/python_tutorial
986c5dae98a5ad928c3820bf0355f544c091caf0
71bbf8b8aba2d5a1fafc56b8cb15d471c428a0cf
refs/heads/master
2020-06-05T00:52:07.619489
2019-08-19T02:56:41
2019-08-19T02:56:41
192,257,432
0
0
null
2019-08-19T02:56:42
2019-06-17T01:53:46
Python
UTF-8
Python
false
false
689
py
# make a list of people dictionary people = [] person = { 'first_name': 'ahmad irfan', 'last_name': 'mohammad shukri', 'age': 32, 'job': 'web developer' } people.append(person) person = { 'first_name': 'ivy', 'last_name': 'ying', 'age': 21, 'job': 'hair dresser' } people.append(perso...
[ "nerve2009@yahoo.com" ]
nerve2009@yahoo.com
ebdcd52b0fe8663eece448224be9a0ef4e7b595a
3131fe19ebdd8c032d3bc57517fbf8c99e98308f
/pokemonproj/urls.py
e589903d002e354c0726d25aa3a1219b90965ab6
[]
no_license
Miguekos/django-pokemon-test
2707b3ecfc1a7f61831b5f87387f2865ea674d14
041054610d48bd18af6a2285e2cade359e2a5f77
refs/heads/main
2023-02-10T18:59:38.359283
2021-01-10T16:53:03
2021-01-10T16:53:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
"""pokemonproj URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "vladimirjmp@gmail.com" ]
vladimirjmp@gmail.com
ad8bc4ccdaeacf53c478abc76660ffecfb59ed1b
060c163435d72b16da7e251538488f8e117cf969
/myprojectflask/venv/Lib/site-packages/werkzeug/_compat.py
5406edf014da8697504400b8a852b42a5d184293
[]
no_license
ssingh7/Test-Management-Portal
ad6f7edb354968b5869eec5f938bc98b5994ef89
2bbe1febf387e37b89f4291dfbc9bac81df2a34e
refs/heads/master
2020-04-22T20:50:09.702810
2019-02-14T08:23:58
2019-02-14T08:23:58
170,653,573
0
0
null
null
null
null
UTF-8
Python
false
false
6,313
py
# flake8: noqa # This whole file is full of lint errors import operator import sys import codecs import functools import warnings try: import builtins except ImportError: import __builtin__ as builtins PY2 = sys.version_info[0] == 2 WIN = sys.platform.startswith('win') _identity = lambda x: x if PY2: ...
[ "Sameer.Singh@scientificgames.com" ]
Sameer.Singh@scientificgames.com
960e4f286ac0eda71d5dfdf90ec1389c19850bf6
b82ed891d9f876af6cf054d50da228a275964505
/python/knn/knn.py
ab0f1396c34f1567fb6aab238e4cec7cff4d03cd
[]
no_license
DryTobi/cab-420-qut-machine-learning
84a6c7008f538df41c7d72d00fd3021cac7c5e5f
9ffb3416903dc52747279c8df86d1772f1cd76c3
refs/heads/master
2020-05-25T11:49:59.494114
2019-05-21T07:46:12
2019-05-21T07:46:12
187,785,778
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from numpy import * import operator def classify(inX, dataSet, labels, k): """ knnClassifier """ dataSetSize=dataSet.shape[0] sqDiff=(tile(inX,(dataSetSize,1))-dataSet)**2 distances=sqDiff.sum(axis=1)**0.5 sortedDistIndicies = distances.argsort() classCount={} for i in range(k): ...
[ "noreply@github.com" ]
DryTobi.noreply@github.com
8d76ffea97abb5c8fdb73df1c7043bda42b0d655
a7742c5b97690d76c3872e2ad8f7300c5afa3856
/cartpole.py
21ad4c37376984389aee87449212635e43b4c2ce
[]
no_license
LeeCheer00/TF
bb98a62197848eab3a44278ed1aea5bdf3e5fe9c
eb4f41fd70e2177938124273fb41aed99f4a0d47
refs/heads/master
2020-03-19T15:37:00.162198
2018-07-10T12:57:25
2018-07-10T12:57:25
136,678,624
0
0
null
null
null
null
UTF-8
Python
false
false
3,826
py
import numpy as np import tensorflow as tf import gym env = gym.make('CartPole-v0') env.reset() random_episodes = 0 reward_sum = 0 while random_episodes < 10: env.render() observation, reward, done, _ = env.step(np.random.randint(0,2)) reward_sum += reward if done: random_epi...
[ "645513992@qq.com" ]
645513992@qq.com
c3755ae2fdf6cc60fcfdbdb6560afc07171d12e6
a39aba6245aab68a97ca92c62f6487d90ecb1808
/Weather.py
e4b21990d9463316ad72d668f2810c8b7c6e2ca9
[]
no_license
KowalewskiMateusz/Data-visualization-exercises
07a88fc35cdaf110f25b27bf762f09c067824bf0
3cb044eff795e1877167a960a5e52da56f93710d
refs/heads/master
2020-05-19T03:44:22.468054
2019-05-04T06:17:29
2019-05-04T06:17:29
184,808,623
0
0
null
null
null
null
UTF-8
Python
false
false
2,077
py
import csv import matplotlib.pyplot as plt from datetime import datetime filename_1 = 'death_valley_2014.csv' filename_2 = 'sitka_weather_2014.csv' with open(filename_1) as file_1: with open(filename_2) as file_2: reader_1 = csv.reader(file_1) reader_2 = csv.reader(file_2) header...
[ "noreply@github.com" ]
KowalewskiMateusz.noreply@github.com
92cfb05db74646ccddbc5c70833a6a1303308641
2e43fc58f2a70b38c8f74101d639d1ad6fffb609
/ParadoxTrading/Indicator/General/KDJ.py
bcec73dc9792d1d6b3c2bea58f33a1710705b2a3
[ "MIT" ]
permissive
ppaanngggg/ParadoxTrading
9cac27dee26a49739dde661c1e03d83bda09df9b
2c4024e60b14bf630fd141ccd4c77f197b7c901a
refs/heads/master
2021-05-11T20:13:14.871616
2018-07-13T05:49:15
2018-07-13T05:49:15
117,434,771
96
26
MIT
2018-03-21T08:47:27
2018-01-14T13:57:16
Python
UTF-8
Python
false
false
1,769
py
import statistics from collections import deque from ParadoxTrading.Indicator.IndicatorAbstract import IndicatorAbstract from ParadoxTrading.Utils import DataStruct class KDJ(IndicatorAbstract): def __init__( self, _k_period: int = 20, _d_period: int = 3, _j_period...
[ "hantian.pang@gmail.com" ]
hantian.pang@gmail.com
9b9fb2306b6d63ca35fd6410f142f97e9fbe80e2
3faf4b9fb76145b2326446bc6bc190a5712b3b62
/Algorithms/0547 Friend Circles.py
8df58948a81a0e77ac8d3781796868dd3678e6a6
[]
no_license
cravo123/LeetCode
b93c18f3e4ca01ea55f4fdebceca76ccf664e55e
4c1288c99f78823c7c3bac0ceedd532e64af1258
refs/heads/master
2021-07-12T11:10:26.987657
2020-06-02T12:24:29
2020-06-02T12:24:29
152,670,206
6
1
null
null
null
null
UTF-8
Python
false
false
3,332
py
import collections # Solution 1, DFS class Solution: def dfs(self, idx, seen, M, n): seen.add(idx) for i in range(n): if i not in seen and M[idx][i] == 1: self.dfs(i, seen, M, n) def findCircleNum(self, M: List[List[int]]) -> int: n = len(M)...
[ "cc3630@columbia.edu" ]
cc3630@columbia.edu
c79df475ffbfb4d044fa2c896464eb9892f52c11
8c6f7475f372c76bcc9c6538bd1d2b4a50cadf74
/trackerproject/trackerwebapp/views/students/student_withdrawal.py
2d69d05367f568f2c774d719ea130132ff09ce68
[]
no_license
stevebrownlee/python-foundations-tracker
a2169a70a0d29bd38eb416dfefb53110f69576b4
de1cd4fa6887bed725eabcc2e6842ced882adaf0
refs/heads/master
2023-05-25T11:16:55.252655
2021-05-31T20:23:48
2021-05-31T20:23:48
276,436,092
1
1
null
2021-06-09T19:23:10
2020-07-01T17:02:37
Python
UTF-8
Python
false
false
509
py
from datetime import date from django.shortcuts import render, redirect from django.urls import reverse from ...models import Student, Cohort def student_withdrawal(request): if request.method == 'POST': student_id = request.POST.get('student', None) student = Student.objects.get(pk=student_id) ...
[ "chortlehoort@gmail.com" ]
chortlehoort@gmail.com
34db01452bb0472dba8951642c9d0e7d2cdddeb2
aabb5c2d86595152845932402bd00456da8e1e1f
/backpack/extensions/curvmatprod/pooling.py
c88cb2c688e2dadb771603fe11ec7a59f3a203b9
[ "MIT" ]
permissive
rioyokotalab/backpack
4b9fbc4c71412b5b19e7d0210c5aa516e18b3f5f
3122de062d5bbcdcba8f8e02d24adb1bd2cdada6
refs/heads/master
2020-12-26T06:23:55.166571
2020-02-11T19:26:16
2020-02-11T19:26:16
237,416,333
0
0
MIT
2020-01-31T11:25:56
2020-01-31T11:25:55
null
UTF-8
Python
false
false
444
py
from backpack.core.derivatives.avgpool2d import AvgPool2DDerivatives from backpack.core.derivatives.maxpool2d import MaxPool2DDerivatives from .cmpbase import CMPBase class CMPAvgPool2d(CMPBase, AvgPool2DDerivatives): def __init__(self): super().__init__(derivatives=AvgPool2DDerivatives()) class CMPMax...
[ "frederik.kunstner@gmail.com" ]
frederik.kunstner@gmail.com
14d853b45c12de5e116c7849d610d99a3723e3d3
0a3ea150943e720a49b26d6786896f9e5c8e2234
/scripts/make_resRatio_plot.py
7f834d51229f8a316e9e53c2537a4aafddafda0c
[]
no_license
jeremy-lilly/MPAS-LTS-Experiments
3aad76802c4427bceee4c4f8a533d4d8a4d6697b
de4f2f83bd511e170c539f9375fc8a27c117b846
refs/heads/main
2023-07-03T01:19:14.480328
2021-08-11T21:00:10
2021-08-11T21:00:10
392,050,266
0
0
null
null
null
null
UTF-8
Python
false
false
4,502
py
#!/usr/bin/env python import os import sys import matplotlib.pyplot as plt import numpy as np import pandas as pd def main(): data = [] testdirs = [sub for sub in os.listdir('.') if os.path.isdir(sub)] for testdir in testdirs: if not 'rk4' in testdir: with open('./' + tes...
[ "lillyj@oregonstate.edu" ]
lillyj@oregonstate.edu
b011141f26bcb341f2544953a40d8dfec7d492c9
f68eda51246c95597def569224f3b56d4c3700e7
/top/api/rest/WdtDictLogisticsQueryRequest.py
c22cdf7b0450254198c06a58e33cabca338fbc47
[ "MIT", "BSD-3-Clause" ]
permissive
stoensin/taobao-openapi
47de8fb29ae2d8ce47d4fce07c0ccaeaee1ef91f
202a9df2085229838541713bd24433a90d07c7fc
refs/heads/main
2023-07-17T02:17:51.527455
2021-08-25T15:08:49
2021-08-25T15:08:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
''' Created by auto_sdk on 2020.06.01 ''' from top.api.base import RestApi class WdtDictLogisticsQueryRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.page_no = None self.page_size = None self.sid = None def getapiname(self): retu...
[ "samzong.lu@gmail.com" ]
samzong.lu@gmail.com
1a1f7b95d64439727243357716a53c633e050955
1d07922cfc7f8e561ba86cf94a885fd8d218bf9e
/week1-3/survey.py
4b368d3ff41ea19a79414892ff6a7dc8257bfa6c
[]
no_license
yyw02/GWC-SIP-2019
6d9cbafda911fdaf200b8d5adc3d68b457ee05b2
3049c36fee5fc631b4c807fc9f1b8141e13ce04b
refs/heads/master
2020-06-22T02:30:52.468435
2019-07-24T19:29:58
2019-07-24T19:29:58
197,611,460
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
question_1 = input("What is your name?") question_2 = input("What's your favorite color?") question_3 = input("What is your favorite drink?") question_4 = input("What is your favorite food?") {"question_1":[], "question_2":[], "question_3":[], "question_4":[]}
[ "weiy@bxscience.edu" ]
weiy@bxscience.edu
9b285e4f8f356068ea67dff53109ee2453b56ec4
e824791479470088b8c33ac1f7abe79f4ea4e6b0
/vim/.vim/.ycm_extra_conf.py
2bf1adf85103337ecf4df328402edba6ecb5ebd7
[]
no_license
imlyc/Stow
4b9f1dded59bb9a8179e9b3147aecf8574e5860b
1814e8560eeff7b6e48aed05225418ae2aad36bb
refs/heads/master
2022-02-20T22:07:13.928094
2022-02-10T22:48:46
2022-02-10T22:58:08
18,505,708
0
0
null
null
null
null
UTF-8
Python
false
false
5,996
py
# This file is NOT licensed under the GPLv3, which is the license for the rest # of YouCompleteMe. # # Here's the license text for this file: # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either...
[ "imlyc.mail@gmail.com" ]
imlyc.mail@gmail.com
ce46869c45f8367b47d0c3e115ef507c58066d9f
774818af38705b8c5cf5f667df41aa1b5916a059
/bhp066/apps/bcpp_subject/tests/test_demographic_form.py
f4da9cd211499be8b70b23176b7046095a12250b
[]
no_license
botswana-combination-prevention-project/bcpp-v1
73c399a747cb7757d04fcc2dead509c1838aaaac
fe3363c93d599bfe5d1f32997f79790400871315
refs/heads/master
2020-03-12T05:58:58.045448
2016-11-23T14:54:56
2016-11-23T14:54:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,518
py
from django.test import TestCase from django.utils import timezone from django.test.utils import override_settings from dateutil.relativedelta import relativedelta from datetime import date, datetime from edc.lab.lab_profile.classes import site_lab_profiles from edc.lab.lab_profile.exceptions import AlreadyRegistered...
[ "tsetsiba@bhp.org.bw" ]
tsetsiba@bhp.org.bw
9a2af41dc0bb310838bf6478dfe0522dd9a550ae
dd7e2cb3366855584fc27bbb2e0dc7ed63977117
/vida/vida/migrations/0002_person_pic_filename.py
e69a9729d6e00a91856e1f7adfb0e25db2cdea01
[ "MIT" ]
permissive
ProminentEdge/flintlock
3d3eb6efbe4a2d0e731f8a26e69ffcd314e25cb9
271c897b332f0c24e00a23c1fe86f5172fb9dd30
refs/heads/master
2021-01-17T07:58:49.650273
2016-03-05T02:06:59
2016-03-05T02:06:59
50,030,647
1
1
null
2016-03-04T05:10:45
2016-01-20T13:06:30
JavaScript
UTF-8
Python
false
false
415
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('vida', '0001_initial'), ] operations = [ migrations.AddField( model_name='person', name='pic_filenam...
[ "syrusm@gmail.com" ]
syrusm@gmail.com
b29c3cc6e9735c70ab606d234516c1b7feb0b706
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_3417.py
531231f8fd443d20800f3ab318d8c1b24d18059f
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
# Changing the encoding of a table with django+south migrations using --auto --auto
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
53283ad6f5c2217a5a71cff991b53a10091daa3b
09d3599c8e53b38104e96d479b2b40ac549d0bef
/Rakesh/permutation-combination/palindromic_permutation.py
128dfbbc9c13ad0ed8713cdc04433f515971161b
[]
no_license
rakeshsukla53/interview-preparation
54764c83c86a52c566899ec87d74dad84216764d
09355094c85496cc42f8cb3241da43e0ece1e45a
refs/heads/master
2016-09-06T02:08:50.436414
2016-02-01T00:31:52
2016-02-01T00:31:52
40,916,511
9
3
null
2015-12-31T05:00:55
2015-08-17T17:59:55
HTML
UTF-8
Python
false
false
1,726
py
from collections import Counter from itertools import permutations, repeat class Solution(object): def generatePalindromes(self, s): """ Generate all palindrome of a given sequence :type s: str :rtype: List[str] """ # for not be palindrome we cannot have two charact...
[ "rakesh.sukla53@gmail.com" ]
rakesh.sukla53@gmail.com
07549c00bd4f9d4c98dacd7d1e6de9ae69f986e3
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/container/v1beta1/container-v1beta1-py/google/container_v1beta1/types/__init__.py
63e366e3fc48ad2bfb6cf302007e3f7562e4d6eb
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,486
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
b4e791d6d5b79e2d392a46edb0f370b10920f691
3e30e334d759a3606be1dce6dca1154568808d68
/xlsxwriter/test/comparison/test_hyperlink05.py
639cc3fb1843d81ac62e040af046d02a719c2ee3
[ "BSD-2-Clause-Views" ]
permissive
cimarronm/XlsxWriter
59668816c4faf5b2e5fc7b96a4ab98d5797891b7
b440055bebfcc08339bc3e43cc2ce9819a142004
refs/heads/master
2021-01-18T10:07:21.729676
2014-08-12T23:17:43
2014-08-12T23:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2014, John McNamara, jmcnamara@cpan.org # import unittest import os from ...workbook import Workbook from ..helperfunctions import _compare_xlsx_files class TestCompareXLSXFiles(unittest....
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
b9a6b2fa64e6453c9b4a6750a68578fe3e6d933b
231f1337e6b58bdb7d5e11b5d46ef1a4736b18e0
/Week 4/assign04/order.py
19ff684c37d8184e2e060ceb6fa2470b46fe5f73
[]
no_license
onwuchekwa/CS241-Survey-Object-Oriented-Programming-and-Data-Structure
bd04c93c0f57331aa9613fcf6c41ec93a1314594
bb7cfbc420706416d9b0b075d30a8852b6a74935
refs/heads/master
2023-06-21T07:52:16.424062
2021-08-02T12:04:29
2021-08-02T12:04:29
391,932,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
''' File: order.py Purpose: Write programs that correctly use classes and objects to solve problems. ''' class Order: ''' init - Initializes to id="", and products to an empty list [] ''' def __init__(self): self.id = "" self.products = [] ''' get_subtotal - Sums the price of each produ...
[ "donsonde@gmail.com" ]
donsonde@gmail.com
d54c6547ef06e42e06f85f135f5937de2a8787a9
a1d5e1ae7c2c5190eee75bd80744b873cb0f9067
/DeepLearning/開啟和寫入檔案open&write.py
46b2c1a72a15f3e80e331d6a8c56e89e10422fa3
[]
no_license
stevezxyu/Machine-Learning
9899f4fd230c91b88cd2e42fc18fe4b5d5cfec25
e81542acd58923574c65f237fd95ff8463165a3f
refs/heads/master
2021-09-23T03:11:17.086961
2018-03-02T06:28:26
2018-03-02T06:28:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 2 11:47:10 2018 @author: Zhong-Xun Yu """ fp=open('file.txt', 'w') if fp !=None: print("檔案開啟成功") fp.close() fp=open('file.txt', 'w') if fp!=None: fp.write('小白') fp.close() fp=open('file.txt', 'r') if fp!=None: str=fp.read() # 字串被讀取出來 ...
[ "noreply@github.com" ]
stevezxyu.noreply@github.com
7afa65f7f69124ed8741ff517c1efa26551d2a42
13908a82c34136434e8c306f991413fa404f4277
/Proj1/String Fromating.py
dd67d1436d811f715424a33c9a94af27f4a3c9ff
[]
no_license
yuraboruk/MyLabRepo
4d2b1bb6523ffee95a04a0b9be0a92ebef85f24c
4f1e79e4ae65f264caf5c4b080a90ae109d70913
refs/heads/main
2023-04-15T00:52:14.561824
2021-04-30T01:02:51
2021-04-30T01:02:51
316,868,483
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
name = "Yura" print ("Hello, %s!" % name) age = 23 print ("%s is %d years old." % (name, age)) mylist = [1,2,3] print ("A list: %s" % mylist) ''' %s - String (or any object with a string representation, like numbers) %d - Integers %f - Floating point numbers %.<number of digits>f - Floating point numbers with a f...
[ "75191780+yuraboruk@users.noreply.github.com" ]
75191780+yuraboruk@users.noreply.github.com
86d4adf1467e93f4d8cda3c61bfaa7c57ab3fcc6
8f9f81ac188db289178a104329ecee38ec31ce4b
/network/Simple Group/client.py
06bf69364c6a50b00c6a85427dd926309b165b2a
[]
no_license
zahrayousefijamarani/SOCKET_PROGRAMMING
55d8f711a617d954bff1b4988795e83e720f2d7a
056f7e0fdabcf01d058bd7ffe9ea5cc54f2ad066
refs/heads/master
2023-07-06T23:35:57.098733
2021-08-20T07:15:59
2021-08-20T07:15:59
398,186,996
1
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
import socket import threading # host = '188.209.77.41' host = '2.177.67.132' port = 23005 client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect((host, port)) client.setblocking(True) user_id = "" accepted = False def receive(): global user_id, accepted while True: try: ...
[ "z.y.j.1379@gmail.com" ]
z.y.j.1379@gmail.com
0d568f635073a39c7b98c0ec0829ff15edcbbe2a
4284adba226f954ce1b523b54fe7a02f7c997697
/lk/migrations/0024_userdetal_account.py
66905039aa60c68dc3fbc6568d6adf0607e49869
[]
no_license
autodatabases/uchetka
d939cb0c73f1efcbeedf74991404c09da01f6f3f
c8d3db1dbb02928574eb0a7d969893655efe377f
refs/heads/master
2022-02-14T11:36:44.060211
2019-02-04T11:10:26
2019-02-04T11:10:26
175,680,533
1
0
null
null
null
null
UTF-8
Python
false
false
615
py
# Generated by Django 2.1.5 on 2019-01-30 09:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('lk', '0023_userdetal'), ...
[ "mailkyda@gmail.com" ]
mailkyda@gmail.com
e406ffc3efb630d8ef417c2617f8cda8a258e1b0
b778fbb103629262cfdbd72c5d8f0eafa685276f
/src/projects/migrations/0003_auto_20171227_1732.py
a5aa5c2f95d2adf6e9e95158ea7c3de99e6826bf
[ "MIT" ]
permissive
gvrossom/ants
ef2e9fbe03669d8fb1f57eb1ecc4fd7cb4a5a411
b361c44b03dd9a4f9ed17aaff63fcf37b4f41c72
refs/heads/master
2021-01-22T04:49:53.714074
2018-01-30T09:00:57
2018-01-30T09:00:57
81,590,469
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-12-27 17:32 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "gautier@base3.be" ]
gautier@base3.be
81496bc7dccae73bea29735f6af9cc13be3dc959
20d012143c994da48aa5d13d93f544c75e12b63a
/workScripts/space_structure.py
0ffe4554ee37936cf8592828134ba60cc7369ac3
[]
no_license
ivanNovikau/PyDiagORB5
248db753e8467e22ad611155834cb9ab1224ec43
5a1e46a698fe763818ad3f09a4d00013e21f71e9
refs/heads/master
2021-06-18T16:51:39.196005
2021-02-27T03:10:40
2021-02-27T03:10:40
174,345,711
1
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
import Mix as mix import common as cm import Global_variables as GLO import numpy as np def reload(): mix.reload_module(mix) mix.reload_module(cm) mix.reload_module(GLO) def poloidal_n1_t1(dd, **oo): n_mode = oo['n_mode'] t_point = oo['t_point'] plane = oo['plane'] # 'rz' or 'schi' slim...
[ "ivan90novik@gmail.com" ]
ivan90novik@gmail.com
cd99cc88148eee700ffc8af3c5913d772fc4bb78
f2889a13368b59d8b82f7def1a31a6277b6518b7
/391.py
3cab8540bcc577d43e48c5eceebe7ebc5562b23d
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
1,352
py
# ref: https://discuss.leetcode.com/topic/55923/o-n-solution-by-counting-corners # -with-detailed-explaination # ref: https://discuss.leetcode.com/topic/56064/python-solution-based-on-hxtang # -s-idea import collections class Solution(object): def isRectangleCover(self, rectangles): ...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
2042d5174b3aa20c74ebf96ade33fe236381d38b
8d0f432027f1c6ee318f0a065caa9e666d00fb6b
/doit_algorithm/chap01/max3_func.py
0ee5290250ea8289f09a0369726e4e06b2c21e4d
[]
no_license
HC-kang/algorithm
ca72e1e4edd8a9c68fca32d15739818dcfbb3c8b
5cd459608bffe28e4de9cfb3ab21880e64456201
refs/heads/master
2023-08-14T16:17:19.501251
2021-09-20T02:01:59
2021-09-20T02:01:59
363,345,024
3
0
null
null
null
null
UTF-8
Python
false
false
458
py
def max3(a, b, c): maximum = a if b > maximum: maximum=b; if c > maximum: maximum=c; return maximum print(f'max3(3,2,1) = {max3(3,2,1)}') print(f'max3(3,2,2) = {max3(3,2,2)}') print(f'max3(3,1,2) = {max3(3,1,2)}') print(f'max3(3,2,3) = {max3(3,2,3)}') print(f'max3(2,1,3) = {max3(2,1,3)}') print(f'max3(...
[ "weston0713@gmail.com" ]
weston0713@gmail.com
faf74d7a59215399e3d01bbbd54e200f20e328de
c1dcfea7617dc35b92ced6df984b47222a060eb8
/twelfth_lab/src/thinkplot.py
01184933c2425a0c833986ed93907e687bea6d44
[]
no_license
DwarfMason/OS_TASKS
faf7eb7fab02b09f0c930a5e535806ffd524c747
cea630a087a97be9d685f5148df3dfc7d032aa6c
refs/heads/master
2022-11-07T15:27:43.484580
2020-06-23T15:52:36
2020-06-23T15:52:36
250,163,995
0
0
null
null
null
null
UTF-8
Python
false
false
12,571
py
"""This file contains code for use with "Think Stats", by Allen B. Downey, available from greenteapress.com Copyright 2010 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ import math import matplotlib import matplotlib.pyplot as pyplot import numpy as np # customize some matplotlib attrib...
[ "igor2199@gmail.com" ]
igor2199@gmail.com
12fc8ff45fbc58d21b221a9285bb44f9a6b9a970
b85ea1ad2f7ea70d84b891ccd672cfd6439d445a
/naive.py
b9c9bfb5c32d435ee3b9757b30ccfbb141302b01
[]
no_license
pkt97/projects
8c024911175abfb76f244b68d7378b3f1d0bc116
8bce04504933a0f7dd4faaf889fe52bbc7d9e914
refs/heads/master
2021-04-15T16:15:57.878088
2018-10-01T13:59:51
2018-10-01T13:59:51
126,688,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
#/usr/bin/python """ This is the code to accompany the Lesson 1 (Naive Bayes) mini-project. Use a Naive Bayes Classifier to identify emails by their authors authors and labels: Sara has label 0 Chris has label 1 """ import numpy as np import sys from time import time sys.p...
[ "noreply@github.com" ]
pkt97.noreply@github.com
1ca5d46e810b70521464e1682fd3501144079cfe
52f9d2ad68391b481b35935b7fa4043624573564
/pykp/SubLayers.py
a99865a2c3277d3eed8f453785a7a9b19b9c48cb
[]
no_license
zhhengcs/keyphrase
a40610d4cdc997b94f5817e1a6203223b8942951
289ac042f8bf0fccedea36f5cd9aab462f8e758f
refs/heads/master
2020-03-26T01:08:38.145543
2018-09-09T02:01:09
2018-09-09T02:01:09
144,353,779
0
0
null
null
null
null
UTF-8
Python
false
false
6,898
py
''' Define the sublayers in transformer ''' import torch import torch.nn as nn import torch.nn.init as init import numpy as np __author__ = "Yu-Hsiang Huang" class Linear(nn.Module): ''' Simple Linear layer with xavier init ''' def __init__(self, d_in, d_out, bias=True): super(Linear, self).__init__(...
[ "304544807@qq.com" ]
304544807@qq.com
e482c7beef46ad7a9cbd29be3f5bc13e5190a5a4
b9c33f67fa66839ee18930e2679ac8f3a1b450fe
/build/robotiq/robotiq_3f_gripper_visualization/catkin_generated/pkg.develspace.context.pc.py
e3b1ba83c1205d0812d2f0e893634ee282b50cc4
[]
no_license
Haoran-Zhao/Ultrasound_and_UR3
e397e66207789c50b8fe7ca7c7be9ac9dfa6e2da
bb0e4b19216a4b21a1af4b6524f4ed98fee8d83c
refs/heads/master
2023-01-07T13:46:56.723360
2020-11-11T01:14:18
2020-11-11T01:14:18
274,579,555
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "robotiq_3f_gripper_visualization" PRO...
[ "zhaohaorandl@gmail.com" ]
zhaohaorandl@gmail.com
0747f07f2f274bde1a1d1eff63b5516798628722
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/wanop_services/type2_site/type2_site/wanop_primary/inpath_rules/inpath_rules/service_customization.py
240dde8fe5b4f13035c8e61590f5fe763c767c56
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
23,751
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
f8e0b084d4c69b8d8c7bd6530b3429b49114ddd8
ddabf67eb3b1fc996e98b41fcebfbc605f204a60
/stepwise_mol_bio/reverse_transcribe.py
b139f8e49e8c83fceab3e2cefabe24a612e99e12
[ "MIT" ]
permissive
kalekundert/stepwise_mol_bio
0f9f7154eb81cf8696ac3abf43efc82a0a25962b
6d699933405e266edf0f8fd05b64f7dfd16c9b2c
refs/heads/master
2022-12-21T12:55:45.984257
2022-12-20T17:08:36
2022-12-20T17:08:36
247,542,208
0
0
null
null
null
null
UTF-8
Python
false
false
23,615
py
#!/usr/bin/env python3 import stepwise import byoc import autoprop from stepwise import ( StepwiseConfig, PresetConfig, Reaction, Reactions, iter_all_mixes, format_reaction, pl, ul, before, ) from stepwise_mol_bio import ( App, Bindable, UsageError, bind, group_samples, ) from stepwise...
[ "kale@thekunderts.net" ]
kale@thekunderts.net
d4d98087653712e9fcd891ab6bb3bbb1c2f31baa
c46515f86db0e36f8eb7276d3aa8c5b9ced6f0a1
/disintegrating_plug/alternative_approach.py
abc7f6c41a45f9306a3a9afa51c48dc2e048abb6
[ "MIT" ]
permissive
bolverk/disintegrating_bullet
63e9e7b78576868840bbb75a4631d103581f295f
676bd2f575a70497ee0bebee801405f59df7bc9a
refs/heads/master
2022-01-24T06:36:05.231779
2022-01-23T17:11:32
2022-01-23T17:11:32
109,408,186
1
0
null
null
null
null
UTF-8
Python
false
false
7,615
py
from box import Box import sympy from probe import show from rhd import (psi, p, eta, c, t, r, nu) from riemann_invariant import ( calc_planar_riemann_invariant, calc_spherical_riemann_invariant ) from my_logging import logger from caching import memory from equation_of_motion import alpha def acceleration...
[ "almog.yalin@gmail.com" ]
almog.yalin@gmail.com
bc52fa60b953af658824b701fbcffe0304f2afca
9b248118c0c657e2c1d90f6fe98be8bfa5a4635b
/src/equipment.py
6f744228adf7a27660969ff1a48637a9293c64ca
[]
no_license
SanbyB/LD48
6d6a3ef37e64032f5b7ac38a09cf30d76932cd34
974f08267fc216c7af40f2a37ee8bff65c915081
refs/heads/main
2023-04-03T17:54:02.441238
2021-04-26T19:57:20
2021-04-26T19:57:20
359,168,756
0
0
null
2021-04-18T14:40:10
2021-04-18T14:40:09
null
UTF-8
Python
false
false
1,751
py
from resources import EQUIPMENT_PICKAXE import pygame from math import floor, cos, sin EQUIPMENT_SIZE = 40 HAND_LENGTH = 20 HAND_ANGLE = 45 SWING = 180 class Equipment: def __init__(self, world, player): self.world = world self.player = player self.x = player.x self.y = player.y ...
[ "callumimacmillan@gmail.com" ]
callumimacmillan@gmail.com
a419fbe34f9f7113d9641437e08a1811233f987a
063b19eb0e18bee85c588b06490285c9aed1e015
/larc_control/script/motors_bridge.py
acd6223edbca56be06d7397e0846f8c662f42517
[]
no_license
edgarcamilocamacho/larc_2019
fe4e8cd0cb5115e7cd1eca1f961d0a84951a86f6
64e263631f878ef6cf59010c8561cb7feee24497
refs/heads/master
2022-04-13T11:48:54.351426
2020-04-05T15:38:39
2020-04-05T15:38:39
213,656,106
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
import numpy as np import rospy from std_msgs.msg import Float64, String from sensor_msgs.msg import JointState from geometry_msgs.msg import Vector3 from dynamixel_controllers.srv import TorqueEnable class MotorsBridge: def __init__(self): self.pubs = { 'cmd_vel': rospy.Publisher("/cmd_vel"...
[ "camilo.im93@gmail.com" ]
camilo.im93@gmail.com
ab73cffd00347ebfe47b2bcd4096d0714af76787
b1cfd71e8b968a7dae7a3af107d302eccc6c829c
/mydewsbotslib/linepy/callback.py
62e6773d5ed087faee2f5b1469d5e9a4068d5ae1
[]
no_license
mydewsbot/projectbotAlpha
c0c597d3a524ca82b45bdcafe3cb36f507441c74
8aa9316e0be026f5456a94120dd980131778bfe0
refs/heads/master
2022-12-19T23:52:27.744640
2020-09-08T11:27:33
2020-09-08T11:27:33
293,788,985
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
# -*- coding: utf-8 -*- class Callback(object): def __init__(self, callback): self.callback = callback def PinVerified(self, pin): self.callback("Input this PIN code '" + pin + "' on your LINE for smartphone in 2 minutes") def QrUrl(self, url, showQr=True): if showQr: ...
[ "mydewstest@gmail.com" ]
mydewstest@gmail.com
fc89220d966cb686f06ce8592edc9ec47e3b9827
9a28a82f6c3b9ccff3f7a7c0d157dc6ddf0af232
/Table/migrations/0003_collectlist.py
4517d35a2eac35b5e9747c7e0c59a17fec199963
[ "MIT" ]
permissive
KarryBanana/ckr-zfy
df30811ddfee379908a5dcd4dede3b8cf8df1e9e
926160fc23e18b10189cd17861b81448b770c50d
refs/heads/master
2022-12-01T23:49:22.645046
2020-08-19T16:28:47
2020-08-19T16:28:47
288,340,618
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# Generated by Django 3.0.3 on 2020-08-14 02:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('Table', '0002_auto_20200...
[ "bill881@126.com" ]
bill881@126.com
eb31b3f4c4a4eba183840829ff5a1a8b5743c084
07c6c408a7993cba476538fa9539def2fc3efaf9
/BeautifulSoupDemo.py
70ad3c5791bf44c9a87c9463703c9af2d3461420
[]
no_license
reksHu/BasicPython
7a6a763f0376371fd48bba81d4c7a0304d16cef5
403affc92784349042a6b273fc73a66b734767b4
refs/heads/master
2020-03-19T08:10:37.576110
2018-06-07T14:43:39
2018-06-07T14:43:39
136,181,885
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
from bs4 import BeautifulSoup import requests url ="https://support.office.com/en-us/article/sharepoint-2010-training-c0e164fa-febc-4e6a-8f62-80d2043056c7" res = requests.get(url) soup = BeautifulSoup(res.text,'html.parser') sections = soup.select(".ocpSection section.ocpSection table tbody") for sec in sections: ...
[ "ahhongchun@126.com" ]
ahhongchun@126.com
ac74c9b0a69239a1a14ec0dc841fdb2dbf31ec7d
d6b4b757e1fc9d508af5e81682512b05f4f56bb0
/quest_manager/objects.py
b01c906dcc9ac1ab0df37d8e492a5588bd409d10
[]
no_license
RayYangFromOrderly/RIDAssistant
1fbc0ecc83102111d65996edec58e5f49c9fb5ff
d105ab02d86b5a81d2ac1178c7dad9a4a8bcd230
refs/heads/master
2023-08-02T16:07:31.453847
2021-10-08T06:39:50
2021-10-08T06:39:50
405,252,772
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
from PySide6.QtCore import QObject, QRect from PySide6.QtWidgets import QRadioButton import os import json from abc import ABC from tools.objects import Tool class QuestManager(Tool): def setup(self): from .ui import QuestManagerPanel panel = QuestManagerPanel(self) self.assistant.add_t...
[ "ridprivates@gmail.com" ]
ridprivates@gmail.com
93e107ae55cce47fff4fcdd575f75ef7cd3eb705
8958511bb0c309c931f4d370c14c5c05c111a6a9
/numberBaseball_python/hard_mode_number_base_ball_game.py
775791596791c1c52f3a2ec136b9166eb8da9e2f
[]
no_license
min9804/toyPorject
c0e9b590676433aebb500bd4aa30b5b0e49429f2
1dce5aa441fda2f8a37ceeb3891ed842f7c4624a
refs/heads/main
2023-02-25T20:50:30.593416
2021-01-31T12:35:47
2021-01-31T12:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,153
py
import random def intro(): print("+------------------------------------------------------+") print("| 궁극의 숫자 야구 게임(매운맛) |") print("+------------------------------------------------------+") print("| 컴퓨터가 수비수가 되어 세 자릿수를 하나 골랐습니다. |") print("| 각 숫자는 0~9중에 하나며 중복되는 숫자...
[ "dkdlel4763@naver.com" ]
dkdlel4763@naver.com
bd349212eb3f4511b8ad176e12164e2de74ec2b6
088d3b72005d40dc7231b1f8aed67ab95c37aacb
/speiceio_pybind11/__init__.pyi
7c4a705fc767e857ab4cec002d4f0a2e404120fc
[]
no_license
speice-io/release-the-gil-pybind11
2619c9f0535e178a63b14d96b3aa9c0d4ea95231
ae00acda367b35ae63142d27867639737e210837
refs/heads/master
2022-11-14T07:38:52.383972
2020-06-30T21:13:45
2020-06-30T21:13:45
276,178,253
0
0
null
null
null
null
UTF-8
Python
false
false
417
pyi
# Manually-written Python type stubs to assist IDE's. # # Theoretically, because annotations are recorded as an `__annotations__` attribute, # `pybind11` could generate this for us and the IDE/mypy could inspect it at runtime. # However, as far as I can tell, neither of these things happen in practice. def fibonacci_g...
[ "bradlee@speice.io" ]
bradlee@speice.io
08e5e8bcec397f406faefe2b85cc0a3453eae8ab
066f3c6da7a47243a8cf82f8974335ff40e3d051
/one_hit_wonder/account/migrations/0002_auto_20200522_0224.py
831d0d2af96af0196f2657aee94037c85d9d71ad
[]
no_license
ylijokic/CS361_Team21
42fe16e7dd1acec99c71eb9095530afb2b5cc1ff
880f833bb87010bd0e672960da42f7d2f9ba6f56
refs/heads/master
2022-12-13T19:31:45.606291
2020-06-07T21:33:56
2020-06-07T21:33:56
254,505,078
2
0
null
2022-12-08T09:59:38
2020-04-10T00:11:14
JavaScript
UTF-8
Python
false
false
610
py
# Generated by Django 3.0.6 on 2020-05-22 02:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AddConstraint( model_name='instrument', constraint=models.Uni...
[ "jordan-hamilton@users.noreply.github.com" ]
jordan-hamilton@users.noreply.github.com
269d0a6e0bc7c65461c883bde8a46f52797d0340
bc90cd4a3761dba16e731c5a946878daa3218620
/readsnapHDF5_without_filling.py
c5c0dcc8fe19a21c264c5f044c8d1217c8f1f3e0
[]
no_license
djmunoz/diegopy
eb9310068e3aff1c730d0066b4bd80dee080d346
248712ca32f963251e4f0ba6a8e372a83dcfba04
refs/heads/master
2020-12-24T19:13:37.125349
2018-03-06T16:37:10
2018-03-06T16:37:10
56,263,748
0
0
null
null
null
null
UTF-8
Python
false
false
14,552
py
# import readsnapHDF5 as rs # header = rs.snapshot_header("snap_063.0") # mass = rs.read_block("snap_063","MASS",parttype=5) # reads mass for particles of type 5 import numpy as np import os import sys import math import tables ############ #DATABLOCKS# ############ #descriptions of all datablocks -> add datablocks...
[ "diego.munoz.anguita@gmail.com" ]
diego.munoz.anguita@gmail.com
c83d25eb64c0139437acab82d9c697d97c4a35f1
fee24ca41833c73a0dc7dde2a8382ef700dc9635
/tower.py
e4212153bde73820e1858d0b4946b97a124d48d8
[ "MIT" ]
permissive
nik-panekin/pyramid_puzzle
febc76ec5320267f80c9550807ce41aafccd160e
ce5bfc9295e0c5b2b516cc3662440a86cb293943
refs/heads/master
2023-05-03T22:21:47.630389
2021-05-24T21:33:43
2021-05-24T21:33:43
370,489,900
6
2
null
null
null
null
UTF-8
Python
false
false
3,742
py
"""Module for implementation the Tower class. """ import pygame from disk import Disk from rounded_rect import RoundedRect class Tower(RoundedRect): """The Tower class implements the basic rules of the pyramid puzzle. Also it handles drawing the rod. Public attributes: disks: list(Disk) (read onl...
[ "nik.reflective@gmail.com" ]
nik.reflective@gmail.com
5b6c04aa591db9d8cb2167890a99aa0967e2659b
52b5773617a1b972a905de4d692540d26ff74926
/.history/counting_20200622230814.py
361e416c5aa16e50da9614bce0b62e3f72c61ca1
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
def counting(str): str = str.split('-') hour1 = int(convertTo24(str[0]).split(':')[0]) print('hour1',hour1) hour2 = int(convertTo24(str[1]).split(':')[0]) print('hour2',hour2) minutes1 = int(convertTo24(str[0]).split(':')[1]) print('min1',minutes1) minutes2 = int(convertTo24(str[1]).sp...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
5671a35b72e297cb0533b5cad41a331d2e5725d7
6a190cddd6bbb57ede41dc4d921627a49a004639
/train.py
bbb32ffa560bf7d90e0ea6bdea357ca41a2a13b3
[ "MIT" ]
permissive
antonstagge/pro_gan
e994ed10f52c578b756c587db440f4a337edef98
30a6c7d66368c155fecc5a1de14bdf4fc8dd5102
refs/heads/master
2020-04-24T14:37:03.195910
2019-02-22T09:34:05
2019-02-22T09:34:05
172,027,144
0
0
null
null
null
null
UTF-8
Python
false
false
3,618
py
import os import numpy as np from model import * from helpers import * n_epochs = 100 learning_rate = 0.0002 batch_size = 128 image_shape = [28,28,1] dim_z = 100 dim_W1 = 1024 dim_W2 = 128 dim_W3 = 64 dim_channel = 1 visualize_dim=196 mnist = tf.keras.datasets.mnist (trX, trY), (teX, teY) = mnist.load_data() dcgan_...
[ "antonstagge95@gmail.com" ]
antonstagge95@gmail.com
d2a0f896cfbc9229fd98fe36dd7776b8a6e06a9b
c53d7562ed73aa88d652748cbbb94679e13815b4
/FullStack/DjangoExercise/DjangoExercise/urls.py
7117c32443927eedc2a9df9d0c330d26ebcad5d5
[]
no_license
kptnew3/django
1c40e41b724ba7c2279b445736b7c3207806fd44
50073c96928b40113dc1d51257e15d870b32690b
refs/heads/master
2020-03-27T00:06:21.100975
2018-08-21T17:06:16
2018-08-21T17:06:16
145,594,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
"""DjangoExercise URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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') C...
[ "kptnew3@gmail.com" ]
kptnew3@gmail.com
2f860618c91ddd2790cbf9ab5a23363af82c9ded
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/matplotlib/backends/backend_wxagg.py
106578e7e14b4f64bcb6da6b5c7266b950eda808
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
2,916
py
import wx from .backend_agg import FigureCanvasAgg from .backend_wx import ( _BackendWx, _FigureCanvasWxBase, FigureFrameWx, NavigationToolbar2Wx as NavigationToolbar2WxAgg) class FigureFrameWxAgg(FigureFrameWx): def get_canvas(self, fig): return FigureCanvasWxAgg(self, -1, fig) class FigureCan...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
c17173af5f8aa43a22434bff3b92351e509e6d7e
bdfcd347fc5ab226d5134cb0e4f9dd05572e63e0
/venv/bin/pilprint.py
4ea4f029ecb0479ea95fd15d1cc9625875855aae
[]
no_license
Stosswalkinator/tango_rango
c4c68ef3911fd5240d5eadf52d5606834603383c
6aff84f53a29c4437955dc03c10618e5bbff3482
refs/heads/master
2020-12-02T22:35:07.817815
2017-07-05T03:17:26
2017-07-05T03:17:26
96,152,359
0
0
null
null
null
null
UTF-8
Python
false
false
2,637
py
#!/home/lukes/Documents/tango_django/rango/venv/bin/python # # The Python Imaging Library. # $Id$ # # print image files to postscript printer # # History: # 0.1 1996-04-20 fl Created # 0.2 1996-10-04 fl Use draft mode when converting. # 0.3 2003-05-06 fl Fixed a typo or two. # from __future__ import print_...
[ "luke.stoss@gmail.com" ]
luke.stoss@gmail.com
816876f1a3cf85f5befdd03711b1f6bcb99d008d
97998c62c84f319f6fbcde6787bccce4a73af196
/minimax/algorithm.py
ede72f8ee1e1b522d6a27c93422292bfd4252f01
[]
no_license
MohammedAl-Rasheed/Checkers-PyGame
bd8aeeb79e2f47699da2d962ba3ed99bcfa6f965
85d5820610757cae4ab2981517651034d51e484c
refs/heads/main
2023-02-28T19:17:35.541008
2021-02-10T00:59:27
2021-02-10T00:59:27
337,580,737
0
1
null
null
null
null
UTF-8
Python
false
false
1,857
py
from copy import deepcopy import pygame RED = (255,0,0) WHITE = (255, 255, 255) def minimax(position, depth, max_player, game): if depth == 0 or position.winner() != None: return position.evaluate(), position if max_player: maxEval = float('-inf') best_move = None for move...
[ "mohammed.satar.alrasheed@gmail.com" ]
mohammed.satar.alrasheed@gmail.com
dabfbab65b5d29975832bb0aff06d12158b82c34
2e83e004d8a69a773d1e305152edd16e4ea35ed8
/students/mark_mcduffie/Lesson3/strformat_lab.py
2ab575ec45a6f16656701d1e7e46d7d6a414b563
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_PY210
9b170efbab5efedaba8cf541e8fc42c5c8c0934d
76224d0fb871d0bf0b838f3fccf01022edd70f82
refs/heads/master
2021-06-16T20:14:29.754453
2021-02-25T23:03:19
2021-02-25T23:03:19
161,077,720
19
182
null
2021-02-25T23:03:19
2018-12-09T20:18:25
Python
UTF-8
Python
false
false
2,229
py
''' Mark McDuffie String Formatting Lesson 3 ''' tuple1 = (2, 123.4567, 10000, 12345.67) tuple2 = (1,2,3) tuple3 = (4, 30, 2017, 2, 27) list1 = ['oranges', 1.3, 'lemons', 1.1] #Task one #reformat tuple 1 def task1(tuple1): format = 'file_{:0>3d} :{:8.2f}, {:.2e}, {:.3g}'.format(*tuple1) return format #reform...
[ "mcdufm@uw.edu" ]
mcdufm@uw.edu
b1ea55976fc62d381b2c07b54783d9ce06d81890
db1a93c87b2f20bdac9f0355c6cfe3f899157325
/topbase/topbase_he1_phot.py
75290b9fde839a98bc3e54ee6c92ea379ce6ec1a
[]
no_license
agnwinds/data-gen
bcaa7fdadfe083818bcee0cc06b470e2eba5e722
c063959be22398c80e1ddb0c52c3c773f6523f73
refs/heads/main
2022-01-30T13:03:50.240210
2020-03-19T18:44:51
2020-03-19T18:44:51
81,351,012
1
1
null
null
null
null
UTF-8
Python
false
false
15,910
py
PhotTopS 2 1 100 1 24.310389 50 PhotTop 24.310389 7.313e-18 PhotTop 34.920950 4.038e-18 PhotTop 45.531512 2.408e-18 PhotTop 56.142073 1.623e-18 PhotTop 66.752635 1.138e-18 PhotTop 77.363196 7.959e-19 PhotTop 87.973758 5.565e-19 PhotTop 98.584320 4.158e-19 PhotTop 109.194881 3.144e-19 ...
[ "long@stsci.edu" ]
long@stsci.edu
ac64db1738c22f691938bc4cdd3fca3585a6424b
7e0cb1e22cb55b32eaa4dda927923315c816ffd4
/NTU-CTF-2017/hw[0]Bubblesort/exp.py
53db093093b6bd6007ce393e178957239d1d55c9
[]
no_license
shinmao/CTF-writeups
4c9e967b98e748e9fca47a3d77788059af3bc149
5a7f43569f19e909853489c9f9e67948526893a1
refs/heads/master
2023-01-24T19:43:20.910483
2019-08-05T23:01:20
2019-08-05T23:01:20
108,756,925
5
0
null
2023-01-11T01:06:45
2017-10-29T17:48:37
Python
UTF-8
Python
false
false
1,202
py
#!/usr/bin/env python from pwn import * #m = process('./BubbleSort') host, port = 'csie.ctf.tw', 10121 m = remote(host,port) # . The bubblesort itself can work with no problem # . The problem is at the argument of Bubblesort() # . we can just give it a signed number and bypass the Array # . Also pay attention to the t...
[ "shinmaox2016@gmail.com" ]
shinmaox2016@gmail.com
f0d60b04f5d072d5e73a3f12a5e55d33c3c0d349
e5564f79d15b7e26d3e5228d1339d2728accaa73
/app.py
1f3299c81752c15d1eafb347ad6eb4be348caa81
[]
no_license
codekoma/barchartrace
e6de7e362490c3597139a7d35f11aa41d5faa1c0
e79bb1223ce8a9ccfb5afb9bfdfcb1b351111663
refs/heads/master
2022-11-04T14:21:05.902432
2020-06-12T06:05:20
2020-06-12T06:05:20
271,721,685
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
from flask import Flask, render_template, jsonify, request from flask_restful import Api, Resource from flask_cors import CORS from pymongo import MongoClient import datetime import json from bson import ObjectId app = Flask(__name__) api = Api(app) CORS(app) # date = datetime.date.today() connection = MongoClient('l...
[ "komalrawat963@gmail.com" ]
komalrawat963@gmail.com
de73adfef01a5eb652a4762d51d7cfb9bf96153f
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/marvel.py
41030e82a8664c8f7f95379d78cc3def72f97fea
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,746
py
ii = [('BentJDO2.py', 1), ('LyelCPG2.py', 1), ('RogePAV2.py', 5), ('CoolWHM2.py', 2), ('KembFFF.py', 4), ('RogePAV.py', 3), ('SadlMLP.py', 2), ('FerrSDO3.py', 1), ('WilbRLW.py', 1), ('WilbRLW4.py', 3), ('RennJIT.py', 7), ('CookGHP.py', 25), ('MartHSI2.py', 1), ('LeakWTI2.py', 1), ('KembFJ1.py', 5), ('WilbRLW5.py', 1), ...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
cb340642654d13fece4f10520b98cee58834e5c7
0e2620ba25f018996ba91035a5ffe00c0c15ccd8
/pychronos/vendor/openapi_client/models/visibility.py
05f2a3e28f9fadd4940d988d644caed471e776f4
[]
no_license
chronosdb/pychronos
d145ea3b10c3e9582a77b0e2620226ff5ea5749b
e0f1170f7e57b3d5589127ef259c987287ca021c
refs/heads/master
2022-11-15T18:36:15.531571
2020-07-09T17:34:03
2020-07-09T17:34:03
278,014,808
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
# coding: utf-8 """ ChronosDB swagger ChronosDB time series database API # noqa: E501 The version of the OpenAPI document: 0.1 Contact: apiteam@chronosdb.io Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class Visibility(object): """NOT...
[ "mkuklik@gmail.com" ]
mkuklik@gmail.com
695a1f7a021817d1f297fe3530b2b4448107230e
1e7b0b4b23609ca0bdbc7ed2a032ff876505cd3e
/Crash_Data/02_21_21_Attempt/Code/Feature_Engineering_2.py
a0fb8cd0c3f77923dbfe3bbfdcf6e6c1c2da7bd5
[]
no_license
bburkman/619_Summer_2021
a1e7e02f1c498f29f9e80e0d4cd939838323dd34
ef5e8d9378b56666282f37b2d8158d253ab2e4d6
refs/heads/main
2023-06-01T09:18:26.365983
2021-07-12T16:57:07
2021-07-12T16:57:07
373,907,527
3
0
null
null
null
null
UTF-8
Python
false
false
4,522
py
import csv import math import numpy as np def Feature_Engineering(): with open('2019_Crash_1_Database.csv', 'r') as csvfile: Crash = list(csv.reader(csvfile)) Header = Crash[0] ind = Header.index("severity_cd") # d = {"A":0.9, "B":0.7, "C":0.5, "D":0.3, "E":0.1} # d = {"A":1.0, "B":0.0, "C":0...
[ "bburkman@lsmsa.edu" ]
bburkman@lsmsa.edu
8c9e896aea142dbcc3a7d374a5036652b671b871
a7432fc97062811d5335febec0a681d231478ba9
/main_app/urls.py
de9a5bfaab37a1575932206e7264e9bd44030853
[]
no_license
zahid-rahman/first-django-project
f3b67a2bd979be19d043fba2bfe528f2814f8ee9
bba40c4e546fb54f71f8828101f042be669a6054
refs/heads/master
2020-04-17T21:47:55.986970
2019-02-18T15:08:01
2019-02-18T15:08:01
166,966,769
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
from django.contrib import admin from django.urls import path,include from blog import views as user_views from django.contrib.auth import views as auth_view from django.conf import settings from django.conf.urls.static import static # urlpatterns = [ # # ... the rest of your URLconf goes here ... # ] + static(se...
[ "rahmanzahid94@gmail.com" ]
rahmanzahid94@gmail.com