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
a95c01ed96b05945f6d8503894e978ae44c6d5fc
373227ba4efbb2a98098c987a3be9fdbb47a09c9
/admin/migrations/0034_auto_20180926_1613.py
80bf1f8919758d0eb595fcdaa6c6e6b6ca3cd784
[ "MIT" ]
permissive
rodlukas/UP-admin
758a6614084383cbcb6a820366bad951930a621b
324cb30f4382b98908bbf75536040f27313032d0
refs/heads/master
2023-08-16T08:03:09.852037
2023-07-12T05:59:39
2023-07-12T05:59:39
122,991,375
6
4
MIT
2023-07-25T23:37:13
2018-02-26T15:44:24
TypeScript
UTF-8
Python
false
false
317
py
# Generated by Django 2.1.1 on 2018-09-26 14:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("admin", "0033_auto_20180926_1043")] operations = [ migrations.AlterField(model_name="client", name="phone", field=models.TextField(blank=True)) ]
[ "rodlukas@fit.cvut.cz" ]
rodlukas@fit.cvut.cz
95dbf1a9e95316107759f6413119a0410eb5a9b4
4ace3913648b302d8663d187fd1de598d299fe82
/app.py
8cd02dae0836de684ac6040544c6bdb2ac71e0d8
[]
no_license
Ronak-B/Share_Extension_backend
09e0cd4afdbc604333f2ac4e321b2d8756b89e09
3cbaea4b5fa3a6336b0f41eb2efd9b237142e7a7
refs/heads/master
2020-05-03T09:04:45.259721
2019-03-30T10:31:21
2019-03-30T10:31:21
178,544,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
from flask import Flask, request, jsonify from flask_sqlalchemy import SQLAlchemy from werkzeug.security import generate_password_hash,check_password_hash app=Flask(__name__) app.config['SECRET_KEY']='5791628bb0b13ce0c676dfde280ba245' app.config['SQLALCHEMY_DATABASE_URI'] = r'sqlite:///extension.db' db=SQLAlc...
[ "noreply@github.com" ]
noreply@github.com
0d9bd3122e1a45a7875d6e02d805193f680f46af
aeefe478e5f625b2e10dd3596010b6f8881ae727
/tests/conftest.py
d7707a41b2528e30cd046bfedd19211dd5245c9b
[]
no_license
cshields143/climate_indices_issue_419a
53666c8ea7c007ba9dfe1a0600b2ac5fffd8c298
c14c7a11e2969bcc157cfd6b4958d9dffc53e9b8
refs/heads/main
2023-03-22T16:19:04.333040
2021-03-15T23:32:01
2021-03-15T23:32:01
347,898,714
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
import numpy as np import pytest @pytest.fixture(scope='module') def values(): return np.loadtxt('tests/fixture/values') @pytest.fixture(scope='module') def skews(): return np.loadtxt('tests/fixture/skew') @pytest.fixture(scope='module') def locs(): return np.loadtxt('tests/fixture/loc') @pytest.fixture...
[ "christopher.shields143@gmail.com" ]
christopher.shields143@gmail.com
f530002bae0140a6232ff9d319658f4de9263843
509acbe71f3a4d8a9315b15d99ad7063f6bdb656
/Advanced data structure in Python (GEOG-389)/Advanced data structure in Python (GEOG-389 (1)/Vector data/Selecting data by attributes/task.py
5781a269f37da8c8df59abcc2e7d91a64e1aa6a4
[]
no_license
md1321/PostGradCoding
62e37b49450749911a2a621c2c8337c736054328
132bcf34c7edace0fb87dc12eef0170c123403b4
refs/heads/master
2022-12-04T01:41:43.884546
2020-08-23T17:57:19
2020-08-23T17:57:19
285,395,014
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
# Load the geopandas package, and name it gdp import geopandas as gdp # Read the shapefile crime.shp into data. # Change the file path accordingly. You may copy from the previous task data = gdp.read_file("type here") # Get all unique offence types data[type here].unique() # Get all burglary incidents in Oahu. data...
[ "mike.donaher@gmail.com" ]
mike.donaher@gmail.com
ea4bd4c24d7b177c44d44b2885a68be6ee48dbad
be5f737b902df73ee19f7d74347b37c4656c2b11
/main/page/desktop_v3/index/pe_index.py
e7749fab5ace9d977cba2c0387cd13f9d8ff6b9b
[]
no_license
niufuzhen/selenium
965d3791e6ff4b81457d80d63f034d4fd7d5c150
e3bf21c77efc3f0954836c2318b87f88fd276d0a
refs/heads/master
2021-01-10T22:33:54.652490
2016-02-24T14:24:41
2016-02-24T14:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,262
py
from main.page.base import BasePage from selenium.webdriver.common.by import By from utils.lib.user import * class IndexPage(BasePage): _pl = "" # LOCATORS #PANEL LEFT _username_loc = (By.CSS_SELECTOR, 'div#side-profile div.clear-b div.span8 small.pull-left a') _deposit_amount_loc = (By.CSS_SELEC...
[ "herman.wahyudi02@gmail.com" ]
herman.wahyudi02@gmail.com
e93e6c381fdef0c3bfe2156535d997bdfa9c4f6d
3ddf87217c7e2528c83c683aa9d6f44e42256bd5
/plone/fab_config.py
e9fe9772702386f3774faed1d352fb2e62911be3
[]
no_license
jbeyers/projecttools
57bb26f84acaef92d378162d763f2317bea9f57a
cb4062f440812e27de8ebd4b6cec0cbc8e9e5c2f
refs/heads/master
2020-04-04T00:42:26.855069
2011-11-07T08:24:57
2011-11-07T08:24:57
2,293,948
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
""" Fabric settings for hosts. """ from fabric.api import env def qa(): """ Settings for the qa server. """ # If your buildout file for QA is qa.cfg, the following line is correct: #env.buildout_config = 'qa' # A list of hostnames to deploy on. The following will try to connect to # myqa...
[ "jbeyers@juizi.com" ]
jbeyers@juizi.com
1e854c44ac331f5e2e31a0b037cdde5960614efa
027b1a3a0d4dbec73db6f4fab970f8fe6c5a8dc7
/myshop/settings.py
9a09a9b56eeaa0fa5463dc108cd679212f916eac
[]
no_license
avodha871/dressvlog
b8a120a7ab368e660e651d60345f460204198619
c84008d9d9c29b84d16e4f01a7870dd2e7ee8d87
refs/heads/master
2023-07-06T05:46:10.589812
2021-08-10T08:10:11
2021-08-10T08:10:11
394,574,900
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
""" Django settings for myshop project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "divyaantony98@gmail.com" ]
divyaantony98@gmail.com
3cffc81fe48cbf26f24cfcdcb758d4739d6dddfc
97ae00e3691f3154d06b84204453d9e2e1a327b8
/Assignment1/cs231n/classifiers/k_nearest_neighbor.py
5de98f782dbec782db1b34040c5dbb4016a75ac9
[]
no_license
zhangsz1998/cs231n-Assignments
5165239a549b01d6054f6e3746d0dbabf1bd1517
11d7cce984d47278fcdd71c0f4080188570eac25
refs/heads/master
2021-07-09T07:23:21.129102
2017-10-09T12:50:29
2017-10-09T12:50:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,239
py
import numpy as np from past.builtins import xrange class KNearestNeighbor(object): """ a kNN classifier with L2 distance """ def __init__(self): pass def train(self, X, y): """ Train the classifier. For k-nearest neighbors this is just memorizing the training data. Inputs: - X: A nu...
[ "zhangshangzhio@qq.com" ]
zhangshangzhio@qq.com
010a928df8cce43b54998f72374c7d6d4ffcb1e0
73c6f4adaba5c8d86dbd42635ec9ba20573feb1c
/src/website/documents/migrations/0006_auto__add_field_category_description.py
b3c51319a83470f3c68bc5100a83ff30ad4a82de
[]
no_license
dmitryro/mqm
a3d7135f668108e70f8468bf17f0b819d1b38190
0517af5dced8dc45b0e391188b6ddfdd4110b2f1
refs/heads/master
2016-08-07T03:25:27.454916
2014-08-09T11:38:40
2014-08-09T11:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,696
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Category.description' db.add_column(u'documents_category'...
[ "gregor@muellegger.de" ]
gregor@muellegger.de
edae603671b42da4d38c87b7291b196fa5646365
aa5398d549b8838bca542a5225c2ea6ef018ebc5
/hard14.py
bf4ce2ce8f44acd8d2d8f58f2c3bc868f841bdd3
[ "Apache-2.0" ]
permissive
amrutra07j/abnamro
99c70fe2869a6b900a93785130241fcee21cb178
b31724f799238b28fe04230a2e66cbfb7fae3f63
refs/heads/main
2023-05-03T22:59:01.868187
2021-05-17T04:45:10
2021-05-17T04:45:10
368,053,710
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from sys import argv script, user_name = argv prompt = '> ' print "Hi %s, I'm the %s script." % (user_name, script) print "I'd like to ask you a few questions." print "Do you like me %s?" % user_name likes = raw_input(prompt) print "Where do you live %s?" % user_name lives = raw_input(prompt) print "What kind ...
[ "noreply@github.com" ]
noreply@github.com
83b6521cbb69e918d5adf86d3847e2be974e7380
33c1c5d0f48ad952776fe546a85350a441d6cfc2
/ABC/125/B.py
8f6837817b70aa2610cc83b398e4c54f113aa439
[]
no_license
hisyatokaku/Competition
985feb14aad73fda94804bb1145e7537b057e306
fdbf045a59eccb1b2502b018cab01810de4ea894
refs/heads/master
2021-06-30T18:48:48.256652
2020-11-16T11:55:12
2020-11-16T11:55:12
191,138,764
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
N = int(input()) S = input() K = int(input()) tar = S[K-1] ans = "" for c in S: if c != tar: ans += "*" else: ans += c print(ans)
[ "hisyatokaku2005@yahoo.co.jp" ]
hisyatokaku2005@yahoo.co.jp
f9ef9ad1927778c242c79e67d2e0f7ff53fd4308
5a38d66a8c462369cc643352764b2a0492ce24dc
/backend/customers/models.py
e7e38996e1776754db1c47837bd2a4aa9bfd8284
[]
no_license
Jayesh2812/car-service
774fbff2c507402c72d1050a11246b5b8927ff2d
2f2d417b0a84edc0cf69640673c0af4d17a26142
refs/heads/main
2023-03-28T03:37:14.024955
2021-03-27T21:47:55
2021-03-27T21:47:55
351,890,451
0
1
null
2021-03-27T21:44:09
2021-03-26T19:26:10
Python
UTF-8
Python
false
false
307
py
from django.db import models from django.contrib.auth.models import User # Create your models here. #customer model class Customer(models.Model): user=models.OneToOneField(User,on_delete=models.CASCADE) phoneNo=models.DecimalField(max_digits=10,decimal_places=0) emailId=models.EmailField()
[ "abhishek.dhule.79@gmail.com" ]
abhishek.dhule.79@gmail.com
e118248edce28ae82339bc2f39e8441b621a7f7a
1269833599eb6c8ea01fc2354bb6f9d18884ba5a
/machine translation/training_code/train_rnn_with_attention/train_vi.py
0f99c16b8d4fa110d4902380fb1e4ec7c4866e76
[]
no_license
qltf8/ds-1011-nlp
c5458d14ccace26e969760fa9777708256fa9214
c0dd4b9225e7a5ab2947197127e2605368dbe463
refs/heads/master
2020-04-02T02:58:05.776893
2018-12-15T03:55:10
2018-12-15T03:55:10
153,938,481
0
0
null
null
null
null
UTF-8
Python
false
false
17,450
py
import numpy as np import torch import torchtext import pickle import csv import unicodedata import re, random, time, string, subprocess import os, sys, copy TEXT_vi = torchtext.data.ReversibleField(sequential=True, use_vocab=True, batch_first = False, tokenize= lambda t:t.split(), ...
[ "ql819@nyu.edu" ]
ql819@nyu.edu
2e250dbb4c3fb7c838744418586a59e7ad45b5fa
74793fb4aa3b39eb0fa58219039138323a2d4e31
/Scrapy/Scrapy通用爬虫(爬取中华网科技类新闻)/scrapyuniversal/scrapyuniversal/items.py
b1cd42c601dfde34651a49ce2a802c6a7fb8b8e5
[]
no_license
zyhang8/web_crawler_development
ae0d43eff732edb9462094e0496b50e59164c0e6
0117014934b8cca3224084b687467131fe48a21c
refs/heads/master
2020-04-26T17:22:02.449389
2019-08-09T08:55:35
2019-08-09T08:55:35
173,710,709
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html from scrapy import Field, Item class NewsItem(Item): title = Field() text = Field() datetime = Field() source = Field() url = Field() website =...
[ "1023708557@qq.com" ]
1023708557@qq.com
d79c46fb13608d823353469aa85b54bae121f2aa
e58df4aeee11f8a97bdeede6a75a776d130f86d2
/scripts/umap_fig.py
b03fd226a1d337ffa3944fbc02708089ca66778a
[ "MIT" ]
permissive
ashuein/molpal
6ecd79767d8ef254e2c852e20f77cd9338844f35
1e17a0c406516ceaeaf273a6983d06206bcfe76f
refs/heads/main
2023-01-29T03:23:10.525555
2020-12-15T14:17:56
2020-12-15T14:17:56
321,720,018
1
0
MIT
2020-12-15T16:09:48
2020-12-15T16:09:48
null
UTF-8
Python
false
false
10,532
py
import argparse import csv from operator import itemgetter from pathlib import Path import pickle import sys from typing import Dict, List, Set import matplotlib.pyplot as plt from matplotlib.cm import ScalarMappable from matplotlib.patches import Ellipse import numpy as np import seaborn as sns from tqdm import tqdm ...
[ "deg711@g.harvard.edu" ]
deg711@g.harvard.edu
adefe9268150dc891ce092e1159c8d1543200a6b
444472d1a8b98634e147e58f6f4065ff3877a1df
/venv/Scripts/easy_install-3.8-script.py
543d4979b80016a5d43bac641c96f9f4764c3d75
[]
no_license
miyafung/Django
d45aad8cfb541d5365b7d9ee2a315274699b8ae6
4e2680c1b9fec9a7574d8f5a4228036e34e23536
refs/heads/master
2020-12-13T18:44:39.300348
2020-01-17T07:49:47
2020-01-17T07:49:47
234,498,304
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
#!D:\dev\devproj\Django\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "752875397@qq.com" ]
752875397@qq.com
c5028c3d3dafa9bccfb46704f6871bee52f2eea5
480ef178622c12adbadb37d204ee7afc7be5a8d3
/python/51-60/Jump Game.py
95417e832c3a1ce2cc94432ca3eac0d59a677948
[]
no_license
talentlei/leetcode
9e71154af31c1fe563f7ad8f64dbc442d1148108
edf983bffe51ba7842446957ae9f34af6decb917
refs/heads/master
2021-01-19T07:43:16.483054
2015-07-07T15:20:09
2015-07-07T15:20:09
30,535,746
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# @param A, a list of integers # @return a boolean def canJump(self, A): size = len(A) if not A: return True isReach = [0 for i in range(0,size)] isReach[0] = 1 Max=0 for i in range(0,size): if isReach[i]==1: if i+A[i]>=s...
[ "chenlei_0630@163.com" ]
chenlei_0630@163.com
1c8511d43344a1e4d70820bed6125f0579cc50c8
c112831974be5aa036a74bbe1bf3798a4f9a5907
/Python基础教程学习代码/venv/Scripts/pip3.7-script.py
5cd47a7d356bee3623bf1d548ec06ba97a352e59
[]
no_license
MuSaCN/PythonLearning_old1
5e1cb069d80cbe9527c179877b0d2026072c45c0
c9aa0938875959526cf607344c1094a8fbf76400
refs/heads/master
2020-07-31T23:51:08.591550
2019-09-24T10:59:46
2019-09-24T10:59:46
210,792,257
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
443
py
#!C:\Users\i2011\PycharmProjects\Python»ù´¡½Ì³Ìѧϰ\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
b90bf26ca1b076c55a7d3afb71ebd56f3ea5d44d
d46517ab5b0ed71f419baf32354514a3b8d89a3c
/school/kids/migrations/0005_auto_20170922_1322.py
f62d6c55daedee5d8d4973a84a135e2185ec2c27
[]
no_license
NagoorBhaskarReddy/Alamanac
246a6a69f7c7e56d0f4fd8b2edd90c64ebf96c58
c366b1a1900edf721647ccdd3b67cdf4f6fd13a0
refs/heads/master
2021-07-13T11:55:56.573785
2017-10-14T10:14:20
2017-10-14T10:14:20
106,835,663
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-22 13:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('kids', '0004_parents_p_mobile'), ] operations = [ migrations.AlterField( ...
[ "noreply@github.com" ]
noreply@github.com
e9d2c868d8e2649e31e4788d3c263f94d72f8372
54e452bf63bf97dcd05b3da55b8e8deef5f2aff5
/build/rviz_pkg/catkin_generated/pkg.develspace.context.pc.py
d148fa6a0f891e69c976c9b2c0d54aa4197f6d71
[]
no_license
Jonathanchan1996/ELEC4010k_project
2795f500d66059d831af9dac7d561835e490e5a5
4d1f022273d415edf22765eef5b4740888b8d413
refs/heads/master
2020-09-23T06:19:37.217485
2019-12-06T15:56:46
2019-12-06T15:56:46
225,425,531
0
0
null
null
null
null
UTF-8
Python
false
false
372
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 = "rviz_pkg" PROJECT_SPACE_DIR = "/home/...
[ "cljchanac@ust.hk" ]
cljchanac@ust.hk
f4d21a59dd31bfb8ed2395253e932a01579c8f76
bee2ca22668a07c76a846bbdc34a8c32e860d110
/Speech/KWS/infer_longterm_audio_average_duration_ms.py
7a25d4149fba82f08889e8f4d56575300cbce261
[]
no_license
wavelet2008/demo
5ddaf739f6ea315fabd181b899f7ae1ffb86528c
cddcbf6461ff77fd63b816a49492ae07c1758088
refs/heads/master
2023-01-14T12:39:50.532300
2020-11-02T09:59:35
2020-11-02T09:59:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,907
py
import argparse import pandas as pd import pickle import sys import torch.nn.functional as F from tqdm import tqdm sys.path.insert(0, '/home/huanyuan/code/demo/Speech/KWS') from impl.pred_pyimpl import kws_load_model, dataset_add_noise, model_predict from dataset.kws.dataset_helper import * from utils.train_tools imp...
[ "392940398@email.com" ]
392940398@email.com
7b2bcc78848034f7c8f4bb73d61272b0c48efda0
c544b2b7df185242cc09feebd0f23f91b8df4f3c
/migrations/versions/7cec85baef67_users_table.py
9145008fbf9f0332179141b766db25c6817328bc
[]
no_license
myoshibe/looker_bu_training
7c5fe62913b8565f610338a68ac10ff0fbef692a
fc8fb5ea74b471f6994bc84604d5c21b50978268
refs/heads/master
2022-06-01T10:32:21.904466
2020-05-01T09:28:17
2020-05-01T09:28:17
260,401,309
0
0
null
2020-05-01T07:18:42
2020-05-01T07:18:42
null
UTF-8
Python
false
false
1,644
py
"""users table Revision ID: 7cec85baef67 Revises: Create Date: 2020-04-30 16:04:04.681302 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7cec85baef67' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto genera...
[ "sam.pitcher@looker.com" ]
sam.pitcher@looker.com
6e2e961b1230e6ea174f6fcd4a88f93d5c5a148b
da3875acfa9de630fbe6b9ed88800dd4a365626b
/book_code/ch03.7-pong_v1.py
e137a4e87bc834136dfb866c1d168ac526ee15de
[]
no_license
hjc1985/python
96f9839a60a86ae07174a18bdb0062ceb242021b
f87aca3359257f8a1a3cbe2d2dae3630ad69c6e2
refs/heads/master
2023-06-16T07:37:38.926966
2021-03-20T02:44:34
2021-03-20T02:44:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,619
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 17 02:02:28 2019 @author: hwdon """ import pygame, sys from pygame.locals import * WIDTH = 600 # 窗口宽度 HEIGHT = 400 # 窗口高度 BALL_RADIUS = 15 #球的半径 ball_pos = [0,0] #球的位置 ball_vel = ...
[ "noreply@github.com" ]
noreply@github.com
53090ee9cbe0dcd8ee7ea9c5b92c13ba621fd579
6583be6a07cec50f5bc41edf87c828dd3a939539
/index.py
b9066869f81f1c2ed18c1324aba7bfcad1f881e3
[]
no_license
Goutham88/hackathon
64c0009a925a7968bde5bde696fc36a35c6665ec
ecad7c22e54634300b8df9dd54e152cb0e9f9d34
refs/heads/master
2023-04-11T16:04:37.665299
2021-05-09T15:17:45
2021-05-09T15:17:45
292,315,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,932
py
import validictory from flask import request, Flask, json from flask_restful import Api from base_controller import BaseController from common_validation import SCHEMA from leaderboard_handler import LeaderBoardHandler from submission_handler import SubmissionHandler app = Flask(__name__) app.secret_key = "secret key...
[ "gouthamchunduru8@gmail.com" ]
gouthamchunduru8@gmail.com
6711e7e7197a8a524223bc5c9d0bc7b748d3b9e3
e8fbe8a5a95da62214b9214c84f314312e066e0b
/tract_median_age.py
5c40eadcc7c7b2af35cb62e56516c12064aa5bba
[ "CC0-1.0" ]
permissive
Kibrael/hmda-viz-processing
81327a612f45f5c9db5bb1629993193cf9840214
fb6ddafd645533efc286d21f9724d8dd1e64054e
refs/heads/master
2020-12-25T10:42:08.893093
2015-09-18T13:29:21
2015-09-18T13:29:21
41,053,638
0
0
null
2015-08-20T21:28:41
2015-08-19T18:52:49
HTML
UTF-8
Python
false
false
2,190
py
import json import requests import psycopg2 import psycopg2.extras import os def write_JSON(name, data, path): #writes a json object to file with open(path+name, 'w') as outfile: json.dump(data, outfile, indent=4, ensure_ascii = False) def connect(): #parameter format for local use params = { 'dbname':'hmdamaste...
[ "breeroell@gmail.com" ]
breeroell@gmail.com
8635ec9f9c9cebffa3074b4bd378ae1c25bf01b4
62f11818dce1c681c0a324ef4b91b5d0fe70ce01
/final_network/lstm/test.py
a9bfdf537bae01ec1f764cfdb42569cfbe6b9910
[]
no_license
OniDaito/MRes
427ae0c15911b9e592a3bbf680ee9b7f45dbaeb7
79a60d33f368310b6f51166d1cb92b42b44dc3a7
refs/heads/master
2021-10-16T06:26:49.314964
2019-02-08T16:17:48
2019-02-08T16:17:48
105,301,799
4
0
null
null
null
null
UTF-8
Python
false
false
4,991
py
""" test.py - report the error on this net author : Benjamin Blundell email : me@benjamin.computer """ import os, sys, math, pickle import numpy as np import tensorflow as tf # Import common items if __name__ != "__main__": parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) os.sys.path.insert...
[ "oni@section9.co.uk" ]
oni@section9.co.uk
36c940953c72705242756e59246b3844d5304fdb
3f0b20e8ae160d60a21db91cd5fd9ad1300a7037
/scripts/plot_mem
2bc0080c4c73e00512603dc0ab819cafe2522020
[]
no_license
edman/json-compressor
28aa1b32d11a0b3f547b140315b28a820abfe7b4
4bd6931659c3ea7178741ab78427407af6d47c6e
refs/heads/master
2022-12-20T21:40:43.271695
2016-06-19T10:35:43
2016-06-19T10:35:43
35,529,808
1
1
null
2022-08-15T21:45:24
2015-05-13T05:23:04
C++
UTF-8
Python
false
false
1,822
#!/usr/bin/env python3 def fixM(a): return [x / 10**6 for x in a] import plotly as py import plotly.graph_objs as go import pandas as pd # Read massif data from csv format summary_file = 'test/inputs/mem_summary.csv' df = pd.read_csv(summary_file, skipinitialspace=True) # print(df.head()) x_axis = df['#input']...
[ "edmanjos@gmail.com" ]
edmanjos@gmail.com
24eb14140b8574a9f8976bab2a89f98bf49ad109
3186db1413e39be886fa0067e102b2addd73f4d8
/FP/OperatiiAritmeticeInBaze/bussines.py
aed6f8f49ef21c5ebcb6ec474adde329e75466bc
[]
no_license
elenamaria0703/MyProjects
516624425396814b37bfce249d4989aaabbc43a0
ed8c94a30c1ff9250a7d4ff2f1321b2bb598fdc6
refs/heads/master
2021-03-02T05:14:20.427516
2020-06-16T14:07:55
2020-06-16T14:07:55
245,840,381
0
0
null
null
null
null
UTF-8
Python
false
false
16,006
py
'''Proiect LC Elena Maria''' class ServiceOperatii(object): def __init__(self, __conversii): self.__conversii = __conversii def _Conversie(self,numar,bazaNr,baza): '''functia indica ce forma de conversie trbuie folosita in functie de baza numarului si baza destinatie''' ...
[ "elenamaria0703@users.noreply.github.com" ]
elenamaria0703@users.noreply.github.com
afbe0a36ff1f83a9c1ebd24646a5d41fef49fe65
73c05ee0cbc54dd77177b964f3a72867138a1f0f
/interview/CyC2018_Interview-Notebook/剑指offer/41_2.py
6ab655dbf45728e3718151f3849c4ee7f6f8943e
[]
no_license
tb1over/datastruct_and_algorithms
8be573953ca1cdcc2c768a7d9d93afa94cb417ae
2b1c69f28ede16c5b8f2233db359fa4adeaf5021
refs/heads/master
2020-04-16T12:32:43.367617
2018-11-18T06:52:08
2018-11-18T06:52:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- """题目描述 请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从字符流中只读出前两个字符"go"时,第一个只出现一次的字符是"g"。当从该字符流中读出前六个字符“google"时,第一个只出现一次的字符是"l"。 """ class Solution: # 返回对应char def FirstAppearingOnce(self): # write code here def Insert(self, char): # write code here
[ "mitree@sina.com" ]
mitree@sina.com
bea40a355ced6f6a99da070907536ee7aaae0dd6
68ae67d7076dd914c6ea04804fb9455f387f8c66
/users/urls.py
8552ec9ee650c25691ef745643cc2446e38ad6f1
[]
no_license
prabhumarappan/bare-comment-system
f96d84e1b9a0f267b2406efa3d6b36fa85f6118e
9c31068a4ceaed60e3d2cd17d7e22b573786d73f
refs/heads/master
2021-01-25T12:07:50.767184
2018-03-01T16:17:13
2018-03-01T16:17:13
123,455,014
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
from django.conf.urls import url from users import views urlpatterns = [ url(r'^$', views.UserHome.as_view(), name='userhome'), url(r'^login/$', views.SignInView.as_view(), name='signin'), url(r'^posts/$', views.UserPosts.as_view(), name='users_posts'), url(r'^comments/$', views.UserComments.as_view(),...
[ "prabhu@dozee.io" ]
prabhu@dozee.io
dbe6a7ff336e2612bcf19649381dabd0fb64385a
2521d80e163140303bac669fb44955fe4ee27eb3
/learn-sun/nushio3/03-learn-one-image.py
c0acb338056d28ccde5ca55b0873affacbfed81f
[]
no_license
space-weather-KU/chainer-semi
b71ae6fc2d1c8e8b8806ab285d8bdfcb2ff12b2a
ac482bea8304168307d70ce6a2fe0157e2062399
refs/heads/master
2020-12-24T07:53:52.521897
2017-03-04T17:25:14
2017-03-04T17:25:14
73,357,685
3
2
null
null
null
null
UTF-8
Python
false
false
4,813
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import matplotlib matplotlib.use('Agg') import json, urllib, numpy as np, matplotlib.pylab as plt, matplotlib.ticker as mtick import sunpy.map from astropy.io import fits from sunpy.cm import color_tables as ct import sunpy.wcs as wcs import datetime import matplotlib.dates...
[ "muranushi@gmail.com" ]
muranushi@gmail.com
59abb941173fc174e7c1871a202d8b4af137e040
68ee9027d4f780e1e5248a661ccf08427ff8d106
/extra/unused/qgisRasterColorscale.py
1ced8315150eba200810e34a79bad3ffd8fa1c6c
[ "MIT" ]
permissive
whyjz/CARST
87fb9a6a62d39fd742bb140bddcb95a2c15a144c
4fc48374f159e197fa5a9dbf8a867b0a8e0aad3b
refs/heads/master
2023-05-26T20:27:38.105623
2023-04-16T06:34:44
2023-04-16T06:34:44
58,771,687
17
4
MIT
2021-03-10T01:26:04
2016-05-13T20:54:42
Python
UTF-8
Python
false
false
1,429
py
#!/usr/bin/python # qgisRasterColorscale.py # Author: Andrew Kenneth Melkonian # All rights reserved def qgisRasterColorscale(qgs_path, qml_path): assert os.path.exists(qgs_path), "\n***** ERROR: " + qgs_path + " does not exist\n"; assert os.path.exists(qml_path), "\n***** ERROR: " + qml_path + " does not exist...
[ "wz278@cornell.edu" ]
wz278@cornell.edu
06dc48c81124fea793ef637fde3fec4caa144662
8f5ee885986e9a0ec8816c32a9ad2966fb747f7d
/src/aido_schemas/estimation_demo.py
eb7931f53cb1b8c34e57b5ea740582f2ec41d9cf
[]
no_license
duckietown/aido-protocols
3cca7564738d645785a5cc242bb39fd53936af0a
47b551d80151a76aba05f76a13e516f9fa06749c
refs/heads/daffy
2023-04-13T08:57:28.079004
2022-11-29T13:18:35
2022-11-29T13:18:35
169,989,925
1
1
null
2021-10-31T22:48:30
2019-02-10T15:00:05
Python
UTF-8
Python
false
false
523
py
from .basics import InteractionProtocol __all__ = ["protocol_simple_predictor"] protocol_simple_predictor = InteractionProtocol( description=""" An estimator receives a stream of values and must predict the next value. """.strip(), inputs={"observations": float, "seed": int, "get_prediction": type(None)...
[ "acensi@ethz.ch" ]
acensi@ethz.ch
d7546ddca3ea3c4970e80b72cc378b3eb2bc535b
663d807308b64c52c6c2ad93bda5d462540a36d3
/mylib.py
94073e5a1b7705cc571c43b409ace4b47b05a81c
[]
no_license
alex-bulgakov/pftp
95e6ee7aa62589bc61975123b58b42dde20ce2e9
58b9e12aab4b290f4a19a527747e25a57d9d427c
refs/heads/master
2023-04-25T02:07:39.904759
2021-05-05T05:27:09
2021-05-05T05:27:09
362,436,831
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
def get_ls(ftp_handle, name): result = {} if (name != ''): ftp_handle.cwd(name); for i in ftp_handle.mlsd(): if (i[1]['type'] == 'dir'): result[i[0]] = True else: result[i[0]] = False return result def print_list(list): for i in list: print(i...
[ "master8423@gmail.com" ]
master8423@gmail.com
7dfccc7d6a73e02339111529b2e6ddc4f91d759c
4f856a87be2ca95330416d8a1d461a03b8590674
/Experiments/vstca_vstnca_2.py
00eb35a3d2d296e279283817f25cce20f6121112
[]
no_license
oscarcorreag/PhD-code
ea71f3b7cdbd0e42f9f0a141790f73b1bfdd13bb
2a1a9bb22f5cd0332f6cf8491be9fa801966e89a
refs/heads/master
2021-06-26T12:47:20.497517
2020-11-04T12:03:56
2020-11-04T12:03:56
143,695,016
0
0
null
null
null
null
UTF-8
Python
false
false
8,469
py
import csv import getopt import sys import time import numpy as np import math from mpi4py import MPI from grid_digraph_generator import GridDigraphGenerator from link_performance import bpr from utils import distribute_pois_in_queries from vst_rs import VST_RS MASTER_RANK = 0 def print_usage(): print ('usage ...
[ "oscarcorreag@gmail.com" ]
oscarcorreag@gmail.com
55115fcc0c3e7a1a0da991f74b56743011deafc8
79d6bf8f380a758285fc06fc7bc390bd30f8349b
/build/urg_node-indigo-devel/catkin_generated/pkg.installspace.context.pc.py
15b28753234a568c1b4129fdae64f1ea02aad184
[]
no_license
18744012771/jrc_agv_ws
77b1b4fbe9733c6826ddc2e1fd1c9b98a70b4aa8
8feb380f3b57869b56706c557f85849572968d48
refs/heads/master
2020-04-23T06:12:15.130615
2019-01-03T07:01:49
2019-01-03T07:01:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/brucechen/nav_ws/install/include".split(';') if "/home/brucechen/nav_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "dynamic_reconfigure;laser_proc;message_runtime;nodelet;rosconsole;...
[ "cbbsjtu@126.com" ]
cbbsjtu@126.com
c4ac861f2ee0b8e2fc382f3d37a11fd699b479ca
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/plugins/lookup/cyberarkpassword.py
79e855c22d4b5573ba40e8c231017a3b2e10e868
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,196
py
# (c) 2017, Edward Nunez <edward.nunez@cyberark.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' lookup: cyberarkpassword short...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
8da4424e9f6b851a48964db0046f00d0ae6d4274
36c1a54444e8dfa1808700b7b6df48cd83785b63
/forms.py
14ad66b65b43367ee089640093424e77fc098e64
[]
no_license
agrawalkaran/ASSIGNMENT-SUBMISSION
eba82634d265bfe4d99303ce35dfc8a5efe42325
36e8e7ac271dc8d773488229b9363a5395b8b472
refs/heads/main
2023-03-22T03:35:25.539215
2021-03-07T12:16:40
2021-03-07T12:16:40
345,307,853
0
0
null
null
null
null
UTF-8
Python
false
false
9,150
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField,RadioField,SelectField,TextAreaField,TextField from wtforms.validators import DataRequired, Length, Email, EqualTo,ValidationError from wtforms.fields.html5 import DateField from wtforms import validators from...
[ "noreply@github.com" ]
noreply@github.com
c87aa7b331421cf19d7fc2a8bbc3abc5a955c02c
9dda882a68cc7e16550e25b12917fc1649f3a868
/app.py
4dfe2fe40db21995e9db5d661acc6b7118909701
[]
no_license
thedhamale/Loan-Prediction-
8cc88a5020104e7ecb13bfe2bb25bad551ef0dce
dda4b18129cd9a9bd534cbed81f23d1c71f66cfc
refs/heads/master
2023-01-07T10:18:10.717126
2020-10-25T09:19:47
2020-10-25T09:19:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
from flask import Flask, render_template, request import pickle import numpy as np app = Flask(__name__) model = pickle.load(open('XGBoost4.pkl', 'rb')) @app.route('/',methods=['GET']) def Home(): return render_template('html.html') @app.route("/predict", methods=['POST']) def predict(): Propert...
[ "noreply@github.com" ]
noreply@github.com
819d1ba8a7aa2a192c6361bb3a15ee40dfc7f970
8dd6367a2762092c16abb981870d677f1de47823
/my_predict.py
f2ba19de87b619824f22e0bac8483b4cc543936e
[]
no_license
gouyl/-AI-
93ec358e1032066c9920efcd8faea5d84cc34a5b
dda66055d49354538549ac0580d1f1a026d80218
refs/heads/master
2020-06-15T18:35:39.419097
2019-07-05T08:01:26
2019-07-05T08:01:26
195,366,089
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
from keras.models import load_model import numpy as np import os, time, random, re from PIL import Image from tqdm import tqdm_notebook from keras.preprocessing.image import img_to_array, load_img from scipy import misc model = load_model("model_unet_2w.h5") im_height = 256 im_width = 256 im_chan = 3 ...
[ "noreply@github.com" ]
noreply@github.com
d309e15758a8bb9586bf1fb4764ac853cb5ff95c
3602b714233a795e16d001d37c55461916aff486
/client.py
124967f5484e3cd19290f9a2f010b1077bfc4405
[]
no_license
teknus/AsyncChat
a037ee57242e6bf9fed075c30b2934607961533c
74e0284ac298d74781937d08099c5398458d1887
refs/heads/master
2021-01-20T13:54:44.946924
2017-05-07T16:43:40
2017-05-07T16:43:40
90,531,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
# telnet program example from __future__ import print_function import socket, select, string, sys, os def prompt(name) : sys.stdout.write(name) sys.stdout.flush() #main function if __name__ == "__main__": if(len(sys.argv) < 3) : print ('Usage : python telnet.py hostname port') sys....
[ "mateusteknus@gmail.com" ]
mateusteknus@gmail.com
27f10dff9fe70eb67bbbd8be5e27c8ee089b46f9
65dce36be9eb2078def7434455bdb41e4fc37394
/454 4Sum II.py
c5d654a137c6a70d3df07a7fcec921b7407065cd
[]
no_license
EvianTan/Lintcode-Leetcode
9cf2d2f6a85c0a494382b9c347bcdb4ee0b5d21a
d12dd31e98c2bf24acc20c5634adfa950e68bd97
refs/heads/master
2021-01-22T08:13:55.758825
2017-10-20T21:46:23
2017-10-20T21:46:23
92,607,185
1
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
''' Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make problem a bit easier, all A, B, C, D have same length of N where 0 ≤ N ≤ 500. All integers are in the range of -228 to 228 - 1 and the result is guaranteed to be at mos...
[ "yiyun.tan@uconn.edu" ]
yiyun.tan@uconn.edu
0372aded2d6c264a7e9cce586bc00655b1517d7c
89a7a78580fcf786c7a054ccf69adbd385510efe
/lojban/main/feeds.py
06a855ee7591d8edb7a4154f7e58eb30d5cb7535
[]
no_license
lagleki/lojban-website
0effacfd458724d489ec8a3f35d5cbd667813e2f
f2e1b4765bf918f295537e511fe870af3e5f8134
refs/heads/master
2021-01-24T22:52:24.851614
2008-08-02T11:07:26
2008-08-02T11:07:26
24,986,613
0
3
null
2020-10-02T08:01:56
2014-10-09T11:41:39
null
UTF-8
Python
false
false
501
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.contrib.syndication.feeds import Feed from django.utils.feedgenerator import Atom1Feed from lojban.main.models import NewsItem class NewsFeed(Feed): feed_type = Atom1Feed title = "News from Lojbanistan" link = "/news/" subtitle = "News about L...
[ "jim@git.dabell.name" ]
jim@git.dabell.name
e97e4caa02a91f4185685942cc774181c4259b6c
caaf56727714f8c03be38710bc7d0434c3ec5b11
/homeassistant/components/avri/__init__.py
3165b6ee87a77f41cca449f635f51943bbe62923
[ "Apache-2.0" ]
permissive
tchellomello/home-assistant
c8db86880619d7467901fd145f27e0f2f1a79acc
ed4ab403deaed9e8c95e0db728477fcb012bf4fa
refs/heads/dev
2023-01-27T23:48:17.550374
2020-09-18T01:18:55
2020-09-18T01:18:55
62,690,461
8
1
Apache-2.0
2023-01-13T06:02:03
2016-07-06T04:13:49
Python
UTF-8
Python
false
false
1,572
py
"""The avri component.""" import asyncio from datetime import timedelta import logging from avri.api import Avri from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import ( CONF_COUNTRY_CODE, CONF_HOUSE_NUMBER, CONF_HOUSE_NUMBER_EXTENSION, CO...
[ "noreply@github.com" ]
noreply@github.com
2bfb834c61e5fd67368ad0fbc61cdbb04f3ac348
1a4bc1a11fdb3f714f22f5e0e826b47aa0569de2
/lab/lab09/tests/q3_2.py
ca45e1c7feda06578903f5453e3fdb3f09c5adcf
[]
no_license
taylorgibson/ma4110-fa21
201af7a044fd7d99140c68c48817306c18479610
a306e1b6e7516def7de968781f6c8c21deebeaf5
refs/heads/main
2023-09-05T21:31:44.259079
2021-11-18T17:42:15
2021-11-18T17:42:15
395,439,687
0
1
null
null
null
null
UTF-8
Python
false
false
657
py
test = { 'name': 'q3_2', 'points': None, 'suites': [ { 'cases': [ { 'code': ">>> # Make sure your column labels are correct.\n>>> set(faithful_predictions.labels) == set(['duration', 'wait', 'predicted wait'])\nTrue", 'hidden': False, ...
[ "taylorgibson@gmail.com" ]
taylorgibson@gmail.com
ae604020c0ed94084fd173b76d055203e2f7b813
015518a4c80704d5cebbb49907f5b2df610cb5d7
/shotNoiseCharacterizations/characterizationStudy/detectorCharacterization2.py
bc71833e57a78ec8ca5517914e2bf178316a18d8
[]
no_license
danielpereiraUA/offlineQRNG
4da2078558b85e80028e975ed80b19972b15d7d1
dc8b2f68ba9eed9d0fe3caf1de8608ab8e250757
refs/heads/master
2021-09-29T03:44:41.201003
2018-11-23T14:47:58
2018-11-23T14:47:58
154,479,700
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
import numpy as np import matplotlib.pyplot as plt variance = np.loadtxt(open("variance.txt", "rb"), delimiter=",") plt.figure() plt.plot(variance[:, 0], variance[:, 1], '.') plt.show()
[ "danielfpereira@ua.pt" ]
danielfpereira@ua.pt
758f2f2c19abcdc277d1a86dcb42bee7f08ee51e
0b2cf106297d2e8afd18629d164d3260ebad9dca
/kit/migrations/0002_auto_20210205_0645.py
5793c5afe49d862286331420d5f331cd0f5e4e9f
[]
no_license
Kuljeet1998/timekit-clone
c3474d173779b34a9457cc7bfe8f74d0c77ceb4d
a8c92177c9daeb3efd7827e36a8c499c9d71f62b
refs/heads/master
2023-03-04T16:04:47.605886
2021-02-09T13:20:34
2021-02-09T13:20:34
336,971,842
0
0
null
null
null
null
UTF-8
Python
false
false
2,483
py
# Generated by Django 2.2 on 2021-02-05 06:45 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('kit', '0001_initial'), ] operations = [ migrations.AlterField( model_name='b...
[ "kbhengura@gmail.com" ]
kbhengura@gmail.com
3ebade0b69d6d4005c76fc444966770f2e952710
c932c53d3004853f5328caed01438ab69005bd9f
/utils/logger.py
8711f3afa7ed08c17431f3123ad4734499f6e488
[]
no_license
russ0616/NCTU_VRDL_HW2
8e84f55005bb66daea1b30b8ff672048bf586d4d
3ea83fe2bf15f132173f9a5b940e08e624533fd2
refs/heads/main
2023-01-21T07:59:41.140397
2020-11-26T05:43:03
2020-11-26T05:43:03
315,958,612
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# import tensorflow as tf from torch.utils.tensorboard import SummaryWriter class Logger(object): def __init__(self, log_dir): """Create a summary writer logging to log_dir.""" self.writer = SummaryWriter(log_dir = log_dir) def scalar_summary(self, tag, value, step): """Log a scalar v...
[ "noreply@github.com" ]
noreply@github.com
b474bc294dfdd65f1ee2cc101dd843636e5bccc2
9d5e5cbf9b11891f4cde70f115c82eba9220cee6
/hw4_git.py
afff454eaaaf0fcdec999f0ff3be68a065be0122
[]
no_license
xuanathon/hw4-git-practice
6d091cbab0157b1130f658da3a82798c7a63cdbf
bf88dfd7a4040609d96ff72ddff334d6c2abf4b8
refs/heads/master
2021-01-03T00:15:22.373505
2020-02-11T18:14:07
2020-02-11T18:14:07
239,830,949
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
def sayHello(): return "Hello World!" print(sayHello())
[ "email.xhuang@gmail.com" ]
email.xhuang@gmail.com
3bf974b01905f2a97f8d3506c3f812fdc4c90e10
7324417b008227587bb11e708196daa8e5540e16
/unittests/TestCase3.py
b6acdc56c1879e7ca2bb3721ad106e89f7f9978a
[]
no_license
ajrichards/cytostream
f5bfd4beebe17ec388a0b73eea140ac3780b1cc6
17aa5cb5da1f20691bfb8c9c414222b8c3900abf
refs/heads/master
2016-08-12T07:12:34.369476
2013-04-11T09:37:50
2013-04-11T09:37:50
36,160,148
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
#!/usr/bin/env python import sys,os,unittest,time,re from cytostream import NoGuiAnalysis ''' descriptio...
[ "ajrichards@users.noreply.github.com" ]
ajrichards@users.noreply.github.com
9b782c688e0dd74223de5b199c0bc92e6fa39895
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.1/server/openldap/actions.py
cb88cc11802e70a1cca7ea9961bec056dfadb4c4
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,360
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005, 2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.a...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
7b8466f0376f6de64cf039644fc1465308b1e644
e1c5b001b7031d1ff204d4b7931a85366dd0ce9c
/EMu/2016/plot_fake/check_data.py
285e253d884fcbc8e17661669330414a85534585
[]
no_license
fdzyffff/IIHE_code
b9ff96b5ee854215e88aec43934368af11a1f45d
e93a84777afad69a7e63a694393dca59b01c070b
refs/heads/master
2020-12-30T16:03:39.237693
2020-07-13T03:06:53
2020-07-13T03:06:53
90,961,889
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import ROOT try: tchain=ROOT.TChain('tap') tchain.Add('data_2016B_DoubleEG.root') except: print "errors!" run_list = [] n_passed1 = 0 totalEntry = tchain.GetEntries() for iEntry in range(0, tchain.GetEntries()): tchain.GetEntry(iEntry) if tchain.ev_run_out not in run_list:run_list.append(tchain.ev...
[ "1069379433@qq.com" ]
1069379433@qq.com
ff7282c609559212ee211ecf3f1df66bdfce0a0c
c8507d1eb884807c10995af25fe8712d56ec2ff7
/accounts/migrations/0001_initial.py
d60bbeddc96f5e13af488e818f5b64147f75ca48
[]
no_license
eunzz/happymoon
16d4b8bb291cca151e68c7fe8e5a2b2ecedd7c1f
1ec42fd1b0f3ff254b8ea18d91c8215a6d415530
refs/heads/master
2020-04-08T23:10:31.904539
2018-08-24T07:48:17
2018-08-24T07:48:17
159,814,426
1
0
null
2018-11-30T11:32:06
2018-11-30T11:32:06
null
UTF-8
Python
false
false
1,021
py
# Generated by Django 2.0.7 on 2018-08-16 13:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Information', fields=[ ('id', models.AutoFi...
[ "dajasin245@naver.com" ]
dajasin245@naver.com
8b4b2b904f9a127a18c7de5caeafb89569c9e117
106a3e0c5688a867e90b6dba92e32b0d970d71c8
/Class/ACME_Volume_2-Python/CVXOPT/cvxopt_intro.py
377b2bfee524615ab74e2f4e7b2963246ba8cbce
[]
no_license
scj1420/Class-Projects-Research
48cde615c650e2816665254c4676e646255fecb5
6e969de3a8337b0bd9bb4ba7abac722ab5c065ab
refs/heads/master
2018-12-20T15:44:41.090235
2018-09-17T18:26:58
2018-09-17T18:26:58
113,921,456
0
0
null
null
null
null
UTF-8
Python
false
false
4,557
py
# cvxopt_intro.py """Volume 2: Intro to CVXOPT. <Name> <Class> <Date> """ import cvxopt as cvx import numpy as np def prob1(): """Solve the following convex optimization problem: minimize 2x + y + 3z subject to x + 2y >= 3 2x + 10y + 3z >= 10 ...
[ "scj1420@gmail.com" ]
scj1420@gmail.com
68ebf0be7d954d7382efd358034e2d409192a457
597354b124d70e86bcce25551ebb6c63e5e01154
/LeetCode Graph/venv/LeetCode 200 Number of Islands.py
c0a80241b76c9e5395965dc492a26f58951d7149
[]
no_license
HHonoka/LeetCode-
acf361a15f1af8becf2a7225cc738d91bfda5ded
cd751a26fd097f542ab6fe2386a179ddf70de79b
refs/heads/master
2020-05-25T00:49:20.001811
2019-05-19T23:59:52
2019-05-19T23:59:52
187,539,890
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
class Solution: def numIslands(self, grid: List[List[str]]) -> int: count = 0 if not grid: return 0 for i in range(len(grid)): for j in range(len(grid[0])): if grid[i][j] == '1': self.dfs(grid, i, j) count += 1 ...
[ "shangshanghan16@gmail.com" ]
shangshanghan16@gmail.com
463c64b2a11dd3a5346f3222bf3bb3927143f553
25dbee4b914a268ec99f05043cd33f5351cddc71
/lib/python2.6/site-packages/twisted/web2/http_headers.py
1db89f913b32c93b6fc9827c5625edad0bffbfe5
[]
no_license
bmelton/CLAIM
cd6deb9bee2e43b4abe527d34ad6851228f129a3
5f220b81d44739cbf63e0ecb3862dbee3b1dfa13
refs/heads/master
2021-01-01T18:42:43.584449
2010-11-04T18:41:03
2010-11-04T18:41:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
/usr/share/pyshared/twisted/web2/http_headers.py
[ "barry.melton@gmail.com" ]
barry.melton@gmail.com
ea7860e1c15b5ad3ae2fab8fa8abb3312cc5c4aa
dc24716e7edebdb4af4e60bbcda752efc2d74799
/cprop.py
d86b7384aaa9dfa0cd8c8300bc9f0e47c8db500e
[]
no_license
hitesh4/OpenCV-Python-Implementation
1a188e45f166c1d8777f6f5f7e92162667c8fd54
77ab7829152bdfa6aee1ed0c90f36493d13bce5a
refs/heads/master
2021-08-23T12:02:05.003661
2017-12-05T07:38:04
2017-12-05T07:38:04
113,092,396
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import cv2 import numpy as np from matplotlib import pyplot as plt cap = cv2.VideoCapture(0) while(cap.isOpened()): ret, frame = cap.read(); if ret == True: framegray = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) ret1, thresh = cv2.threshold(framegray,127,255,0) image,contours,hierarchy = cv2.findContours(thresh, ...
[ "saini.hitesh4@gmail.com" ]
saini.hitesh4@gmail.com
44d2c91af62c4397eec5ddcda1e60e02cd58e9f2
2ea31e038b000b4262e636ca291cce5cd13776dd
/TIMS_GUI/TIMS_functions.py
7935e9b0a976bccbb9257565e0b86155428ec3f6
[ "MIT" ]
permissive
okdpetrology/TIMS_GUI
9395629b780da13251a67357097f1163246ce87a
9960e0c842310cd6e951dea3e89bf459b35803d0
refs/heads/main
2023-04-17T05:02:20.167801
2021-04-22T05:51:21
2021-04-22T05:51:21
360,406,436
0
0
null
null
null
null
UTF-8
Python
false
false
10,554
py
import pandas as pd import os import re import copy # Functions def get_raw_tables(file_name): df = pd.read_csv(file_name, header=None, skip_blank_lines=False) # df = dat_dataframe # date_ind = list(df.loc[df[0] == 'Date'].index.values) baselines_ind = list(df.loc[df[0] == 'Baselines for this Block']....
[ "noreply@github.com" ]
noreply@github.com
8801dc22bff5d819007bbb28597f482585ce99c7
2a6306cc6dbd32412b4c45c6d0c240e26271793a
/design/mechanical/calc/belt_drive.py
142e01e6e5f7dbebd6df73c732c36523684c8b9b
[]
no_license
hidmic/airi-hw
550151c776d04310359873a28c18e2649c52f6ce
3e27914a299eac699a9ef7c1c11266a76831aa14
refs/heads/master
2023-06-14T04:33:05.639178
2021-04-30T19:00:50
2021-07-09T23:01:53
178,717,762
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
import pint import numpy as np def belt_drive(): """ Cálculo de transmisión a correa. Ecuaciones y modelos tomados de """ units = pint.UnitRegistry() # Cálculo de torque mínimo de motor alpha = np.arctan(1.0/5.0) # Inclinación máxima de rampas (Ley 24.314) Pmax = 8 * units.kgf # Pe...
[ "hid.michel@gmail.com" ]
hid.michel@gmail.com
b6744307ed25dda4c35d25313c54275955c76d98
f97091116f61c6cfb5ffb442ce8351340696f443
/script/TS4-AizuSpiderSA-ROS.py
ca98834545848ec30d7c407c3777c769f1a3d82f
[ "CC0-1.0" ]
permissive
WRS-TDRRC/WRS-TDRRC-2020-Practice
0e4942b629b53ff6bed19bccae4bd181a359bad3
5bb66f8494d8998549b87047c3501cc3241c9388
refs/heads/master
2023-08-29T08:02:16.202376
2021-10-01T16:02:00
2021-10-01T16:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
import WRSUtil WRSUtil.loadProject( "MultiSceneViews", "TS4", "AGXSimulator", "AizuSpiderSA", enableVisionSimulation = True, remoteType = "ROS")
[ "shimizu@sist.chukyo-u.ac.jp" ]
shimizu@sist.chukyo-u.ac.jp
5a647f04533220fc84f5a02065135607beb9b7ae
870949dcecf17bac1f8ea5f09ce264454ef420ef
/mission5.py
e63db5b76a435477fe2ee9caeea8bd697060e46a
[]
no_license
jackiechen0708/PythonChallenge
f81caf3a64484f056f0eaba27b640f3b1caa7333
c29db313ea198cd27dd129bdc49c947fee0aa482
refs/heads/master
2021-01-10T10:31:20.039868
2016-03-14T16:05:51
2016-03-14T16:05:51
53,776,018
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import pickle p=pickle.load(file('mission5data')) for item in p: # print item print "".join(map(lambda p: p[0]*p[1], item))
[ "12307130250@fudan.edu.cn" ]
12307130250@fudan.edu.cn
7e51003812a04763942a01c01a8888c80f6f2dc8
789a3a72c9cce5011df8082cf9c4226152767fe2
/preprocessing-test.py
b93d94b360c1902af9fa91ac88235093709529a2
[]
no_license
ExTee/LanguageDetection
fd748df72eaf55a03c2bec2d6c33c0db7d2a6bf0
0eca58445360c5f285683e74cf1ffe1ab5c6ad61
refs/heads/master
2021-04-29T15:59:16.991397
2018-02-16T22:13:54
2018-02-16T22:13:54
121,805,952
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
# -*- coding: utf-8 -*- import csv from sklearn.preprocessing import LabelEncoder, StandardScaler import re import keras from keras.models import Sequential from keras.layers import Dense, Activation, Dropout import keras.optimizers from keras.utils import plot_model from sklearn.model_selection import train_test_spli...
[ "xintong.wang1995@gmail.com" ]
xintong.wang1995@gmail.com
af56f50878c6deef38a151cf456a1a89359011fc
7bd7f24a3ddb8ba62eab0594cc11fdcc93d1d4aa
/wk1/singleLL.py
523c9bbd6189ca5c5b681a879f204212a1233a61
[]
no_license
mjso7660/Blockchain-Simulation
806b84afd55f57a0f1c1657b9c829476b3d3656c
081697d1c83a0c91eb558817608eaff09b20f530
refs/heads/master
2021-09-04T20:11:19.523076
2018-01-22T03:09:51
2018-01-22T03:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,438
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 20 22:35:14 2018 @author: Min Joon So, Shailesh Patro Blockchain wk1 assignment """ class Node: ''' class node for doubly linked list ''' def __init__(self,key,value): self.key = key self.value = value self.next = None...
[ "noreply@github.com" ]
noreply@github.com
017b5e90f7909b8addc97becfd474488ecf4c16e
78fac3c0ffbb4859ac7ac16eefc696f43b0780ef
/proj09/cards.py
41f46ed7bf523737ddb8daae4b0ebd367fc44117
[]
no_license
merylmerylmeryl/Intro-to-Python
7337836d6a63d78ca343cd3da5e32e801add6a6b
31b988f7213dfe555059008a6eb8d8718339bd2e
refs/heads/master
2021-09-03T08:35:43.585875
2018-01-07T15:58:51
2018-01-07T15:58:51
116,578,684
0
0
null
null
null
null
UTF-8
Python
false
false
5,161
py
import random # needed for shuffling a Deck class Card(): """Denote a card with rank and suit""" # Protocol: # 1. 'no card' is represented by BOTH r = 0 and s = '' # 2. set_rank and set_suit should be commented out after development and debugging # 3 rank is int: 1=Ace, 2-10 face value, 11=...
[ "noreply@github.com" ]
noreply@github.com
961cc26729281f013409614ad41160edb6caace8
a97f789530412fc1cb83170a11811f294b139ee8
/疯狂Python讲义/codes/10/10.8/dict_vs_defaultdict.py
271ff0662c308adfa488ad5cc5242ed3fdbd5820
[]
no_license
baidongbin/python
3cebf2cc342a15b38bf20c23f941e6887dac187a
1c1398bff1f1820afdd8ddfa0c95ccebb4ee836f
refs/heads/master
2021-07-21T19:23:32.860444
2020-03-07T11:55:30
2020-03-07T11:55:30
195,909,272
0
1
null
2020-07-21T00:51:24
2019-07-09T01:24:31
Python
UTF-8
Python
false
false
244
py
from collections import defaultdict my_dict = {} # 使用 int 作为 defaultdict 的 default_factory # 当 key 不存在时,将会返回 int 函数的返回值 my_defaultdict = defaultdict(int) print(my_defaultdict['a']) print(my_dict['a'])
[ "baidongbin@thunisoft.com" ]
baidongbin@thunisoft.com
6a48c072b3f836446cbbaea3197cd6142ed8820a
90c90c9be8ff3dedd6a0c6c055e10ed47d588ae7
/put_ufile.py
07b38379dd8590f7e9c4dfde7f1f3c83e59e8e32
[]
no_license
ouyangxudu/bakfile_to_ufile
d6c8cc17013feaa220cb8a2fbc1419336ea72986
15cd4ff600254a13244235a2048829dfbdbe5f7c
refs/heads/master
2021-09-10T16:22:23.123221
2018-03-29T07:06:27
2018-03-29T07:06:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# -*- coding: utf-8 -*- import os from ucloud.ufile import putufile from ucloud.compact import b from ucloud.logger import logger, set_log_file import ucloud.ufile.config as config from ucloud.compact import BytesIO from config import * set_log_file() def putfile(dir,file): # 构造上传对象,并设置公私钥 ...
[ "root@10-13-181-13.(none)" ]
root@10-13-181-13.(none)
f721745c59dfa425155103c807994cc344f7ce31
93039551fbdef0a112a9c39181d30b0c170eb3a6
/day03/day03HomeWork.py
a399b93ad6e0b969a53525cf311c62598023889e
[]
no_license
wenzhe980406/PythonLearning
8714de8a472c71e6d02b6de64efba970a77f6f4a
af0e85f0b11bf9d2f8e690bac480b92b971c01bb
refs/heads/master
2020-07-14T20:46:45.146134
2020-05-28T12:16:21
2020-05-28T12:16:21
205,398,758
0
0
null
null
null
null
UTF-8
Python
false
false
8,561
py
# _*_ coding : UTF-8 _*_ # 开发人员 : ChangYw # 开发时间 : 2019/7/17 17:33 # 文件名称 : day03HomeWork.PY # 开发工具 : PyCharm #1 # #1) # if __name__ == "__main__": # score = [] # # #2) # if __name__ == "__main__": # score.append(68) # score.append(87) # score.append(92) # score.append(100) # s...
[ "noreply@github.com" ]
noreply@github.com
8b0b8a90a7800f75c7f3754a8069e53ce9b2bf41
9ad4200223a12e19538cfc4ae385a22ae6d5510b
/utils/queue.py
11042a72ecc444b7516b92f84c0e05d9b812d6a9
[]
no_license
pi-tau/fun-with-algorithms
29037266426940bc651a158eb94aa61e4291b8b9
341bdc7d144d18b49917453006461d670109e706
refs/heads/master
2023-03-16T01:38:17.240160
2021-01-15T08:16:16
2021-01-15T08:16:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
""" A queue is a collection of objects that are inserted and removed according to the first-in, first-out (FIFO) principle. The queue data structure supports the following accessor methods: Q.front(): Return the element at the front of the queue Q. Q.is_empty(): Return True if the queue Q is empty. len(Q): ...
[ "pavel.z.tashev@protonmail.com" ]
pavel.z.tashev@protonmail.com
91f2e18c0ffd9f7e62905e02ed08b8fbe643972a
455656d51975be13614fd2f7a577afb9d203bc02
/Aula 06/Exemplos_aula06.py
b2d7a2ee1112ee45d441f91ded93e252f47eb7c1
[]
no_license
wandersonDeve/Blue_T3C5_mod1
e75a8af489bac0e188dc2b719ca142d9052c1b7e
cc91363011e63b5f31b654511ae18f54d097595d
refs/heads/main
2023-06-19T05:11:23.872156
2021-07-18T14:42:55
2021-07-18T14:42:55
375,507,328
2
3
null
null
null
null
UTF-8
Python
false
false
119
py
from time import sleep nome = 'Wanderson' for letra in nome: print(f'{letra}', end='',flush=True) sleep(0.2)
[ "81826043+wandersonDeve@users.noreply.github.com" ]
81826043+wandersonDeve@users.noreply.github.com
5b54be2d8925014bf36e0946272f750a96fdcdf4
09d3a1687182125444fe508eaab580fd4c95512e
/Problem 4.py
db12228d792c2328104660d601122c6e5a5d0f95
[]
no_license
atulyaatul1999/project-2
cfb002b0945d0527890d7abe15f9da67da57ee83
de60765b4f0d4b0c31e076cca8e8cfa9b1604e22
refs/heads/master
2022-06-12T03:51:28.519970
2020-05-03T22:26:58
2020-05-03T22:26:58
260,627,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
class Group(): def __init__(self, _name): self.name = _name self.groups = [] self.users = [] def add_group(self, group): self.groups.append(group) def add_user(self, user): self.users.append(user) def get_groups(self): return self.groups def get_us...
[ "59124269+atulyaatul1999@users.noreply.github.com" ]
59124269+atulyaatul1999@users.noreply.github.com
c9772b396e6939e1731613d1b33ef2a3156f7d45
5fa5fca593f74a71964003096e7a62f556e5045b
/content/migrations/0002_auto_20210324_1446.py
9f4c566028c42b3d6e2b4b10fa7abea972e26c08
[]
no_license
ibrahimciftci/Python-Django-DernekProjesi
91981db6db69662bdd8e46efe0f08bef05155e43
182f4eacb3b8d69dde13a879ecbe95d73ce31575
refs/heads/main
2023-05-09T00:58:47.930029
2021-06-02T15:39:32
2021-06-02T15:39:32
349,974,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
# Generated by Django 3.1.7 on 2021-03-24 11:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('content', '0001_initial'), ] operations = [ migrations.CreateModel( name='Category', ...
[ "ibrhm.cftci@hotmail.com" ]
ibrhm.cftci@hotmail.com
02b39ec4aaf52e26f7c63601e86ed3348320ec60
836be3cde86848810ec221254f0c934f09b6062c
/array_sum/array_sum_sol1.py
109ca8e69dd7178dabab5fd746a9c9d2e0ead341
[]
no_license
kvijayenderreddy/2020_Devops_automation
c8b26af009dc0b4972fa970600beb6877ae11b56
d5bc5ec831d6fe25f05acde325482fb95e25ffdb
refs/heads/master
2022-04-08T17:15:23.991803
2020-03-11T00:46:07
2020-03-11T00:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
# Time Complexity: O(n) # Space Complexity: O(1) def arr_sum(arr,sum): i = 0 j = len(arr) -1 arr.sort() while(i < j): if arr[i] + arr[j] > sum: j-=1 elif arr[i] + arr[j] < sum: i+=1 else: print(arr[i],arr[j]) i+=1
[ "devops.everyday.challenge@gmail.com" ]
devops.everyday.challenge@gmail.com
d14b0abe4d34150707d282e67e01ee046841b36f
a4c9cd65c69ba6dcb90d16beeb5e3daf3f04fc55
/trees/binary_trees/threaded_binary_tree.py
d030d5d2d3c8be4e6355ec89af123e327a87643b
[ "MIT" ]
permissive
Hackerman272/python-sample-code
ee9e41728eff9f792362b8b8e03cbd95671a072b
5cea78b30b4b8f1ad3dcedc952fca56103638892
refs/heads/main
2023-08-22T12:16:26.378368
2021-07-04T06:36:38
2021-07-04T06:36:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,161
py
# Copyright © 2021 by Shun Huang. All rights reserved. # Licensed under MIT License. # See LICENSE in the project root for license information. """Threaded Binary Search Trees.""" from dataclasses import dataclass from typing import Any, Optional from trees import tree_exceptions from trees.binary_trees import bina...
[ "shunsvineyard@protonmail.com" ]
shunsvineyard@protonmail.com
305a1aebbb2dd4ca338ca97056069f55d581a16b
7428592b0783ec231a94f3c0a717a744c67fdbed
/venv/bin/symilar
b5d8631b3ee70b947e9a6e0d714c5724a27e21a4
[]
no_license
sagarkamthane/Code-with-harry
468bc31f8b5f9bb2720c10635726caf4d35dcbb8
5f63547876f034374004a7ad03f2eab729adff62
refs/heads/main
2023-01-22T15:14:06.391951
2020-12-03T17:13:00
2020-12-03T17:13:00
318,263,910
0
0
null
null
null
null
UTF-8
Python
false
false
272
#!/Users/sagarkamthane/PycharmProjects/CODEWITHHARRY/venv/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "sagarkamthane@sysadmins-MacBook-Pro-4.local" ]
sagarkamthane@sysadmins-MacBook-Pro-4.local
72bee9a42771f7552299c70b906ce7027a7a4d0e
661e6ee4f6c078fae31b960abc87777ae0dfe3ab
/build_adafruit_circuitpython_bundle_3.x_mpy_20181222/examples/slideshow_touch.py
e7cbc7717bd1e1d3479020faea4d891d24c35a22
[]
no_license
wangguanwu/human_detect_design
c22018a7c52518cb5f9c2277bdbf5190abf196cd
52530b9eaedacf9ef811c33604590e2af7d882e1
refs/heads/master
2020-04-12T22:27:37.892743
2019-01-01T03:51:54
2019-01-01T03:51:54
162,790,133
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
import board from adafruit_slideshow import SlideShow, PlayBackDirection import touchio import pulseio forward_button = touchio.TouchIn(board.TOUCH4) back_button = touchio.TouchIn(board.TOUCH1) brightness_up = touchio.TouchIn(board.TOUCH3) brightness_down = touchio.TouchIn(board.TOUCH2) slideshow = SlideS...
[ "2531507093@qq.com" ]
2531507093@qq.com
2557772b7d100f774d617492135465f035ea0c26
8698ddbe01fb67ecf8bffaea56eebbe206611cd6
/model/model_3D/SegNet.py
ff561664393e2de824a9522a1d24735662dc4f92
[]
no_license
hula-ai/organ_segmentation_analysis
ddc70bfc8cd16f7e744023e7dbb0095dc4a63946
5867e3ce21cc3bc7ee76dabcba032a3cd25d7223
refs/heads/master
2020-09-05T12:44:43.572185
2019-11-07T00:01:54
2019-11-07T00:01:54
220,108,637
8
3
null
null
null
null
UTF-8
Python
false
false
7,208
py
import tensorflow as tf from model.base_model import BaseModel from model.ops import conv_3d, deconv_3d, max_pool class SegNet(BaseModel): def __init__(self, sess, conf): super(SegNet, self).__init__(sess, conf) self.k_size = self.conf.filter_size self.build_network(self.inputs_pl) ...
[ "pyuan2@hula-13.ee.e.uh.edu" ]
pyuan2@hula-13.ee.e.uh.edu
c3a24b760defa2b2c5eb127fae5db04954b0950f
90cc2c3d7c9bcbba51273fc8cd402ace073f1169
/venv/bin/flask
bffb845abee1c5f4ce45c58fabe578ccc6bc9bb8
[ "MIT" ]
permissive
howtoosee/MooVieGo
912e4329a23d09613969526e9324f37c84e0455a
203dd454f4e7d5adbb615379febd3b1e5db8f149
refs/heads/master
2020-12-14T12:17:13.106024
2020-08-14T19:51:56
2020-08-14T19:51:56
234,739,802
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/Users/howtoosee/Documents/Enrichment/HnR2020/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "chenxihao0627@gmail.com" ]
chenxihao0627@gmail.com
a5e994b745288becf5f7c50b640bea1b03d4ad05
ae88dd2493c2329be480030f87e6e2a91470e255
/src/python/DQIS/Client/CommandLine.py
15d7a3b7f6f2e7ddc217564c71ac050dab93013c
[]
no_license
dmwm/DQIS
a48da3841ab6a086247ae8e437e2b5eb9e1c5048
bd861954c2531df1bd2e9dceb2585b9acd4cbbdc
refs/heads/master
2021-01-23T08:15:06.804525
2010-05-11T19:30:33
2010-05-11T19:30:33
4,423,793
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
''' Created on 7 May 2010 @author: metson ''' from DQIS.API.Database import Database from optparse import OptionParser import json D_DATABASE_NAME = 'dqis' D_DATABASE_ADDRESS = 'localhost:5984' def do_options(): op = OptionParser(version="%prog 0.1") op.add_option("-u", "--url", type="strin...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
a5230b855b505b17f14791a0061759b8f1b21930
fa27b2e9668484959772c6ac37622a7442396347
/sharing/app/api_1_0/register.py
039c61f8e235d2d4e7f5478a4cc4115a74de729a
[]
no_license
tangxiangru/2017-sharing-backend
5a3cc9ba6c22944046ae99221bee70245e326ffd
0905e38c9a30296cf01950efa6eed2708807f957
refs/heads/master
2021-01-13T11:30:24.026822
2017-02-11T18:56:29
2017-02-11T18:56:29
81,680,679
1
0
null
2017-02-11T20:37:08
2017-02-11T20:37:08
null
UTF-8
Python
false
false
994
py
#coding:utf-8 from flask import jsonify, redirect, request, url_for, flash from ..models import User from .. import db from . import api #注册 @api.route('/register/',methods = ['POST']) def register(): if request.method == 'POST': email = request.get_json().get("email") password = reques...
[ "504490160@qq.com" ]
504490160@qq.com
60c7985f07a5d4bcb5f9176bf1114a6c1cad3a3f
07be15341071074f4d32494219003003648153a9
/GongshwPlanService.py
9d9fb1d3236e330009ef4ced3017937bdaf8d522
[ "MIT" ]
permissive
gongshw/gongshw-plan-service
48a6eb21245e896374b889bb8c5e3ccebfe0a415
93d4b2192a2111d4067daa4450d9cf647e244880
refs/heads/master
2021-01-01T18:12:10.358870
2015-02-23T15:11:28
2015-02-23T15:11:28
30,861,727
1
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
# coding=utf-8 from flask import Flask, request, jsonify, g from Plan import RequestException import Plan import traceback app = Flask(__name__) def wrap_response(result): return jsonify(result=result, error=None) def success(): return wrap_response(True) # 测试服务器 @app.route('/') def ping(): return su...
[ "gongshw1992@gmail.com" ]
gongshw1992@gmail.com
b176f452b4b04e1e896a1e8baad962ed8b125d50
ed87ebb57f79f4f7efb51a8b08ebb0b49334ca1d
/apotos/make_folds.py
6d2c5213e60504602e5928680a4db16973af9d2b
[]
no_license
Thagio/kaggle-aptos
14aa9a5e78690540dc0ffc100221a54c0f99061d
f565335d34b46b7fa7ca925b7d325397df8e1fee
refs/heads/master
2020-06-22T07:46:02.605062
2019-08-07T10:06:46
2019-08-07T10:06:46
197,674,425
0
0
null
null
null
null
UTF-8
Python
false
false
5,380
py
# coding: utf-8 # In[2]: # FIXME : 以下の関数は定義されたファイルの形式に依存するので、utilsに記載できない。 def is_env_notebook(): """Determine wheather is the environment Jupyter Notebook""" if 'get_ipython' not in globals(): # Python shell return False env_name = get_ipython().__class__.__name__ if env_name == 'T...
[ "hagio_taichi@data4cs.co.jp" ]
hagio_taichi@data4cs.co.jp
781db3289dc529dcabb54cf418c3615c409d0251
5a6f15c49063cf976528fc4436fbbc093b894876
/Src/Algorithms/TabularPredictionAlgorithms.py
3b9359c153a229c14639a3917ea41e68c5cef36f
[]
no_license
julu123/julu1cme241
d98face2e4d691ded804eddf5851e05d15fe14ad
19dcc4cabeec894046ffbc3fd98de9f2d09e8c11
refs/heads/master
2020-04-15T19:58:58.433132
2019-11-25T11:27:42
2019-11-25T11:27:42
164,973,751
0
0
null
null
null
null
UTF-8
Python
false
false
6,451
py
import numpy as np import random from Algorithms.TabularBase import TabularBase from Processes.Variables import State, Action, Policy, Transitions_Rewards_Action_B # All my tabular methods are slightly simplified. I didn't really understand what generalizations needed to be # done in advance. The methods do work thoug...
[ "julu1@stanford.edu" ]
julu1@stanford.edu
7db882e4688f9ac422447f574f37c2abeeaeb1f8
d9759a656cbd80573fc30e28b8e153acee5f8ba6
/atom_types.py
551e63185c8830b655444ecf975c3d0d2856578d
[]
no_license
eriksondale/liGAN
d8cf04c5cb3eaf5bc3799a98b733c14412ce27ef
482f58e6cb898fbf71cfd786eb6fc25afe714ffb
refs/heads/master
2020-05-01T11:19:48.249807
2019-03-21T21:33:18
2019-03-21T21:33:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,536
py
from collections import namedtuple, defaultdict import openbabel as ob try: table = ob.OBElementTable() except AttributeError: table = ob get_atomic_num = table.GetAtomicNum get_name = table.GetName get_symbol = table.GetSymbol get_max_bonds = table.GetMaxBonds get_rgb = table.GetRGB atom_type = namedtupl...
[ "mtr22@pitt.edu" ]
mtr22@pitt.edu
12e3936893568ce3f48ea41898acde3506eb4f06
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC52_B.py
6a5c62026f989697559e55494fbdcbc27af93a36
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
N = int(input()) S = input() l = [0] x = 0 for i in range(N): if S[i] == "I": x+=1 else: x-=1 l.append(x) print(max(l))
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
eece76dcadf20e7096ee607dea6649b8656ee52f
97ead5252b1c21cb2a6b83e65ff3e8bd9895f5f5
/best_model_finder/tuner.py
7e3445bc0085465f14b7efdae628107224583890
[]
no_license
shrddha-p-jain/Insurance-Fraud-Detection
d65d0c473e904647d437546d98ce6095bbb47369
091ccb31ab64cb73e8912b9d9e8ae47972e4a949
refs/heads/main
2023-07-22T19:06:26.391279
2021-09-06T10:36:46
2021-09-06T10:36:46
403,577,241
1
0
null
null
null
null
UTF-8
Python
false
false
8,357
py
from sklearn.svm import SVC from sklearn.model_selection import GridSearchCV from xgboost import XGBClassifier from sklearn.metrics import roc_auc_score,accuracy_score class Model_Finder: """ This class shall be used to find the model with best accuracy and AUC score. Revi...
[ "noreply@github.com" ]
noreply@github.com
72e99ab5f865b18e80a5fd7dbe9e887b0bcfcdbc
8e8273a3c9b87e58e46dd6ab575a33eb6fde9f62
/version_manager/options_set.py
e9aa203b1975a30aac22e2e044a66baa54686947
[]
no_license
mdrotthoff/version-manager-py
69ddd1308f1f1c896739f583f372d1af09d3d384
e5f388ff3856f7f4f1818215422610233b2dcb1d
refs/heads/master
2020-12-07T07:07:02.762375
2020-01-08T22:52:38
2020-01-08T22:52:38
232,666,355
0
0
null
2020-01-08T21:46:51
2020-01-08T21:46:50
null
UTF-8
Python
false
false
782
py
from typing import Dict, List, Optional import yaml def get_parameter_values(parameter_values: Dict[str, str], values_list: Optional[List[str]]) -> Dict[str, str]: """ Override the parameter values that are given in the list. It assumes each parameter is in the 'KEY=VALUE' format....
[ "bogdan.mustiata@gmail.com" ]
bogdan.mustiata@gmail.com
d8330bd2056ad980bf0bf06bbfdcea2a48d482f0
dbdc002660adf3f633c4d5d4eb890ff43ba229a7
/funcoes_com_retorno.py
35a1a1ac1a078efe40f71a346472f67c48ebc534
[]
no_license
ArthurKVasque07/PythonGEEK
df1f184435a863ce872df1e366463b4fec9a6c64
bd8b86608fd854643d3f81f02b48db88f4e6f832
refs/heads/master
2022-10-06T18:49:04.441047
2020-06-10T20:54:18
2020-06-10T20:54:18
271,382,829
1
0
null
null
null
null
UTF-8
Python
false
false
2,354
py
""" Funções com retorno numeros = [1, 2, 3] ret_pop = numeros.pop() print(f'Retorno de pop: {ret_pop}') ret_pr = print(numeros) print(f'Retorno de print: {ret_pr}') OBS: Em Python, quando uma função não retorna nenhum valor, o retorno é None OBS: Funções Python que retornam valores, devem retornar estes valores...
[ "arthurkvasque.eng@outlook.com" ]
arthurkvasque.eng@outlook.com
3a4162c73e2895e4844d4a8ce5c4a057e8fa230e
cb703e45cf56ec816eb9203f171c0636aff0b99c
/Dzien06/loger.py
0e546809184bbae08d85b4ec2e6a1b2e188b982b
[]
no_license
marianwitkowskialx/Enzode
dc49f09f086e4ca128cd189852331d3c9b0e14fb
67d8fd71838d53962b4e58f73b92cb3b71478663
refs/heads/main
2023-06-04T20:58:17.486273
2021-06-24T16:37:53
2021-06-24T16:37:53
366,424,571
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Przykład logowania w Pythonie import logging log_format="%(asctime)s:%(levelname)s:%(filename)s:%(message)s" logging.basicConfig( format=log_format, handlers= [ logging.StreamHandler(), logging.FileHandler("app1.log") ], level=logging.DEBUG, #filename="app.log", datefmt="%Y-%...
[ "marian.witkowski@gmail.com" ]
marian.witkowski@gmail.com
b9a7e5bcbcc641fbd3a75a860f0167b605278136
06fb125430cfc6b7cd9972a1c8843a57a600a869
/booktime/main/migrations/0001_initial.py
10b6d792ba1c93fefe627e2b2e4e68c11e5b8cf8
[]
no_license
thtan89/djangotable2
7ad570d9ef19dba5804c2068abdfe7fb62d615ec
cf8cb9e8d129db56b4c788e4de2a458ce001ee98
refs/heads/master
2022-11-24T20:02:18.672819
2019-08-06T04:50:07
2019-08-06T04:50:07
200,616,495
0
0
null
2022-11-22T04:11:04
2019-08-05T08:38:51
Python
UTF-8
Python
false
false
4,329
py
# Generated by Django 2.2.4 on 2019-08-05 07:15 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import main.models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] oper...
[ "thtan@tssb.com.my" ]
thtan@tssb.com.my
880ee6e8c98c55f807f32262520214eb46a8e0a9
291241959449cba24057816d67bdfc42bcf060ac
/core/serializers.py
857771437ad66efc73b7a53ff41fbf46e7f2b0b8
[ "MIT" ]
permissive
Umutbek/courses_app_neobis
105aba08ab82ec3ea1e96b3ae25095c570d622fe
aca8215f2cfa0174cea832469b5611618ea07384
refs/heads/master
2022-11-29T02:18:20.207882
2020-08-11T17:48:31
2020-08-11T17:48:31
286,809,851
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
from rest_framework import serializers from core import models class CategorySerializer(serializers.ModelSerializer): """Serialize Category part""" class Meta: model = models.Category fields = "__all__" class BranchSerializer(serializers.ModelSerializer): """Serialize Branch"...
[ "noreply@github.com" ]
noreply@github.com
99c7a87a5d8431b21888a5a8c5512f6f205f3704
fd7598754b87536d3072edee8e969da2f838fa03
/chapter3_programming17.py
257697649b65df0980c01265e13efa08d4a817ce
[]
no_license
dorabelme/Python-Programming-An-Introduction-to-Computer-Science
7de035aef216b2437bfa43b7d49b35018e7a2153
3c60c9ecfdd69cc9f47b43f4a8e6a13767960301
refs/heads/master
2020-05-02T23:19:44.573072
2019-03-28T21:27:20
2019-03-28T21:27:20
178,261,171
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# Program using Newton's method to approximate square root import math def main(): # Title and description of the Program print("\nSquare Root Approximator\n") print("This program calculates the approximation of the square root of " +\ "a number using Newton's method.") # Obtain the number to take the square ...
[ "contact.dorabelme@gmail.com" ]
contact.dorabelme@gmail.com
91548eaadeb4ea8966098bd2101213fadc03cd07
653443f348293a6f8bc6b371077f508de81a960b
/libro/problemas_resueltos/Capitulo2/problema2_1.py
39b1175af56bbc3f503fcd6b617b89090968fddf
[]
no_license
RicardoBernal72/CYPRicardoBS
b6527f5e476df310cecae4ef997a7be17cf02189
8295523ba1641cbfba013215406d190d0a2af1ba
refs/heads/master
2020-07-23T18:46:51.968914
2019-12-10T19:54:42
2019-12-10T19:54:42
207,672,072
2
0
null
null
null
null
UTF-8
Python
false
false
171
py
N=float(input("numero de sonidos por min: ")) if N>0: T=N/4 + 40 print(f"la temperatura aproximada del ambiente es de {T}°") else: print("Fin del programa")
[ "RicardoBernal72" ]
RicardoBernal72
e43289d08b2bee5b02db3fd8e63c0ab77b14b898
4f793320d5d2d003b8e32d7d0204bc152f703d31
/hypercane/hfilter/containing_pattern.py
948a41498d104eff2c5521e4ca164b1533d8e629
[ "MIT" ]
permissive
himarshaj/hypercane
77ea458e75033a51fa452c557e82eb8ff5e0f887
99ac84834e2aad57cdf4687469a63b6305d20e47
refs/heads/master
2023-03-29T22:10:48.123857
2021-04-13T23:17:45
2021-04-13T23:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
import logging import concurrent.futures import re from ..utils import match_pattern module_logger = logging.getLogger('hypercane.hfilter.patterns') def filter_pattern(input_urims, cache_storage, regex_pattern, include): filtered_urims = [] compiled_pattern = re.compile(regex_pattern) with concurrent....
[ "jones.shawn.m@gmail.com" ]
jones.shawn.m@gmail.com
0470fae819522f030e278572527f496454c5ea54
cb0a2055ec70f178f9e4a6fc11b3474419c91718
/src/compas_fea/structure/interaction.py
da0ba450684e750041c94db6dad9abf75c9d22ab
[ "MIT" ]
permissive
ming91915/compas_fea
63b8388662a8d088580ea721eaf0fb1b8e74e596
1be3f6ce980bb9c001915ea1b3b75df08f7a50dd
refs/heads/master
2020-03-16T09:09:37.318758
2018-05-07T11:51:58
2018-05-07T11:51:58
132,609,915
2
0
null
2018-05-08T13:03:28
2018-05-08T13:03:27
null
UTF-8
Python
false
false
1,303
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function __author__ = ['Andrew Liew <liew@arch.ethz.ch>'] __copyright__ = 'Copyright 2018, BLOCK Research Group - ETH Zurich' __license__ = 'MIT License' __email__ = 'liew@arch.ethz.ch' __all__ ...
[ "liew@arch.ethz.ch" ]
liew@arch.ethz.ch
69fd83990f8d65b3de84b868c8044b4418654031
58b87ea29a95a5ceeaae4c2d7db1b16502ed158f
/Numerical Analysis/NumpyEx.py
e1d46e96f9ca5c400cabb5f12dbaf62414e01781
[]
no_license
meyerpa/Python
b609e8c036b478b20cd17a4cc47b71c129c968f8
3797f9be3341e69d5e9eccfc1b4e7f52fdd9c666
refs/heads/master
2021-01-01T03:58:40.183829
2018-03-14T14:24:57
2018-03-14T14:24:57
56,526,228
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
from numpy import zeros
[ "meyerpa@mnstate.edu" ]
meyerpa@mnstate.edu
641d57c8eb047f84c0272f6d000da25da437cc5a
647959c0d6ab322d1a6fd7478a78d47772f029af
/monitoraggio_MP/old_files/air_quality.py
423efbeff8d2475cbede3cc796ae0d092b6a8215
[]
no_license
PaoloMiseo/Air-pollutant-measurement
67160560ff2a0a64f5b1175b435500e5fbda24ee
f03fdba9dade75dc2658a7162132644a8306d5ec
refs/heads/master
2021-01-01T01:39:42.233771
2020-02-08T12:05:48
2020-02-08T12:05:48
239,125,691
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
import serial, time import numpy as np from matplotlib import pyplot as plt from matplotlib.animation import FuncAnimation from matplotlib import rc from datetime import datetime ser = serial.Serial('/dev/ttyUSB0') sampling_time = 2190 #ms # Graph Parameters x_len = 25 y_range = [0, 100] # Graph creation fig = pl...
[ "noreply@github.com" ]
noreply@github.com
d1aa5a956db621b997e15a643af44bad365da72b
bd690f474c0bd83320cde40db81bd6661d71be05
/mapserver/django/django_project/mapserver/__init__.py
5159896d98851f4448b7b4f7b1ffe3c7839a6d51
[ "MIT", "LGPL-2.1-only" ]
permissive
inasafe/inasafe-fba
0c48bd231e4cd47a4a5d6ffde2859370b45b4ae3
a8ab2054624fd3e93521bdd5ef2a8c00ee5b4923
refs/heads/master
2021-07-11T09:58:26.049441
2020-07-01T14:58:58
2020-07-01T14:58:58
232,991,302
1
7
MIT
2021-03-19T23:38:28
2020-01-10T07:32:38
JavaScript
UTF-8
Python
false
false
75
py
__author__ = 'Irwan Fathurrahman <irwan@kartoza.com>' __date__ = '09/06/20'
[ "lana.pcfre@gmail.com" ]
lana.pcfre@gmail.com
d1e6faa2b86d68166dd5d08790d18f69e6ca26a7
a9ce2f90130070b809f06a5b1f981cdd28b58533
/node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi
ec1873f401795ba763f9174a62fbd52ad68c92bb
[ "MIT" ]
permissive
bmhan319/reactCalc
1cb7ca776cc3175c11deb2c2c8e133d921c737e8
41b765583a1d51f8af229756b65db9758ddbf650
refs/heads/master
2023-01-11T14:12:33.907662
2020-11-14T05:49:16
2020-11-14T05:49:16
202,610,254
0
0
null
2023-01-04T07:19:11
2019-08-15T20:54:46
JavaScript
UTF-8
Python
false
false
5,603
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_ngh...
[ "bmhan319@hotmail.com" ]
bmhan319@hotmail.com
80f79e093a6bf655acd89b8a66db70c18f2b89a5
1cf3c9ed26259417feecaa65cc582d6543ad3e0d
/money_changer/exchange/views.py
2b7fe89fc20d483ee5dc5a01d34cd37ad549b55f
[ "MIT" ]
permissive
moshe742/money-exchange
ad56ec457a6982637ebd8e54599e4a125b63fb94
37320e96c5413d0b0a0633068a99ef4b23c93a0e
refs/heads/main
2023-04-06T23:26:16.337482
2021-04-10T21:17:11
2021-04-10T21:17:11
356,627,275
0
0
null
null
null
null
UTF-8
Python
false
false
4,492
py
from datetime import datetime as dt from datetime import timedelta from django.shortcuts import render from django.views import View from lxml import etree import requests from io import BytesIO from exchange.forms import ExchangeForm # Create your views here. def parse_xml(xml_data): bytes_string = bytes(xml_d...
[ "moshegrey@gmail.com" ]
moshegrey@gmail.com
10adb072e9eabcec4d2ad0f61ee7d6d29b38c97c
fdcb2cdee4d5b398eed4eefc830213234e3e83a5
/01_MIT_Learning/week_2/lectures_and_examples/3_guess_my_number.py
12e1fa8891345cf687bad33b67bd047e96880487
[]
no_license
daftstar/learn_python
be1bbfd8d7ea6b9be8407a30ca47baa7075c0d4b
4e8727154a24c7a1d05361a559a997c8d076480d
refs/heads/master
2021-01-20T08:53:29.817701
2018-01-15T22:21:02
2018-01-15T22:21:02
90,194,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
# ####################################################### # Create a program that guesses a secret number! # The program works as follows: # you (user) thinks of an integer between 0 (inclusive) and 100 (not inclusive). # The computer makes guesses, and you give it input - # is its guess too high or too low? # Using ...
[ "nikdaftary@gmail.com" ]
nikdaftary@gmail.com