blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
19bb9d2eb1fd59d5f5aa8c40da2473f42aa6b9e3
6547458c4e635d73c6a4cc2680bedc6d850b4afa
/Scripts/resnetMod.py
a42e318f8e54bd86bba9f8c612a112937a92c4b4
[]
no_license
RoboTuan/FPAR
8e8f78cccc4d67bc9662a535724941c79e25b9c2
4d15e7b595aa43b0cd112bddef129dc18b1a26c5
refs/heads/master
2023-03-18T04:41:20.136642
2021-03-09T15:12:29
2021-03-09T15:12:29
261,726,922
2
2
null
null
null
null
UTF-8
Python
false
false
8,039
py
import torch.nn as nn import math import torch.utils.model_zoo as model_zoo __all__ = ['ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152'] model_urls = { 'resnet18': 'https://download.pytorch.org/models/resnet18-5c106cde.pth', 'resnet34': 'https://download.pytorch.org/models/r...
[ "testingapplication96.@gmail.com" ]
testingapplication96.@gmail.com
22fe1c6c9542d55b10b106a0c300b99532e0f570
eefa8aacfe381f8640505df00cf5c82113207e43
/monitor/admin.py
8fea922484e270e4fc89f519ab0bbc1991a64042
[]
no_license
Tu-xin/linux-monitor
01f66b869faeb887a8bbde71616c53f775a51272
0a1fce74944c579bb8dca66c5c0c5c7c541aa71a
refs/heads/master
2020-03-07T21:13:22.920230
2018-05-04T04:19:00
2018-05-04T04:19:00
127,720,809
7
3
null
null
null
null
UTF-8
Python
false
false
369
py
from django.contrib import admin from .models import monitors,Experience class monitorAdmin(admin.ModelAdmin): list_display = ('servername','item','value','serverip','time') class ExperienceAdmin(admin.ModelAdmin): list_display = ('title','author','timestamp') admin.site.register(monitors,monitorAdmin) a...
[ "974038517@qq.com" ]
974038517@qq.com
83a6820c70dd5963b3b10f5678751b50386b19c0
da80ee46bb7a463d97c20f64f4147aa2a66409e4
/darkfb.py
9a780bf420978b7caa84f2b478a945afbbc0caed
[]
no_license
SadboyCyber/darkfb
bf1473f046d7cba7c3222e19d9ef1ff81f2a947c
bde193e85b43adac4432b7ff8d63a96285c68cc4
refs/heads/master
2020-06-13T14:35:29.048427
2019-07-01T15:02:48
2019-07-01T15:02:48
194,688,613
0
1
null
null
null
null
UTF-8
Python
false
false
93,447
py
# -*- coding: utf-8 -*- import os, sys, time, datetime, random, hashlib, re, threading, json, getpass, urllib, requests, mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browser...
[ "noreply@github.com" ]
SadboyCyber.noreply@github.com
3751a2a35d514f1694cf440efacad8b63a48b242
ec7b8378698ed9dfc5e62b94c20524bf3aefc3c3
/tests/test_tileserver.py
6a0e6994f46f0788f9ea0abb259de8dd2e55e3d9
[ "BSD-3-Clause" ]
permissive
TissueImageAnalytics/tiatoolbox
52fe15704b396a055d9b4fccc678787ef489aed8
f26387f46f675a7b9a8a48c95dad26e819229f2f
refs/heads/develop
2023-08-16T15:47:19.282604
2023-08-14T16:50:45
2023-08-14T16:50:45
267,705,904
222
44
NOASSERTION
2023-09-14T16:57:15
2020-05-28T22:02:51
Python
UTF-8
Python
false
false
25,005
py
"""Test for tileserver.""" from __future__ import annotations import json import urllib from pathlib import Path, PureWindowsPath from typing import Callable import joblib import numpy as np import pytest from matplotlib import colormaps from shapely.geometry import LineString, Polygon from shapely.geometry.point imp...
[ "noreply@github.com" ]
TissueImageAnalytics.noreply@github.com
b5672b6644d3f9b924d68c39f805a0f714d220af
86e0fb87d135a8ae214f89c099564d980e52040d
/TimeChange_R01.py
6ca3da4250ccc9f906ce1734d5abe473e4f6fb2c
[]
no_license
enelius-github/USElect_Vs_Covid
eef85fdd22ded6b195ce59da6120733d031d3d71
d6ca9902ee5dd4c75701608b5cb979946dabbd9c
refs/heads/main
2023-05-04T16:13:51.513361
2021-05-29T05:10:02
2021-05-29T05:10:02
371,868,074
0
0
null
null
null
null
UTF-8
Python
false
false
8,985
py
import pandas import numpy as np import matplotlib.pyplot as plt Elec = pandas.read_csv('2016_US_County_Level_Presidential_Results.csv') # Found at: https://github.com/tonmcg/US_County_Level_Election_Results_08-16 Rona = pandas.read_csv('time_series_covid19_confirmed_US.csv') # Found at: https://github.com/CSSEGISa...
[ "enelius95@gmail.com" ]
enelius95@gmail.com
0eca2749b98ede803fa5d2d2c0ca919f30f41923
c13a8fc2573a5e78e5699b4032d7c3349202d9bf
/demo01.py
d0234518b58060cac2fe2453068fca68d08740e8
[]
no_license
xiaopacong/test
c12eea869bdca6c0fddc7570cd29f286f1b6edd1
4de9829e651eb47e4980da1891f485fbf89bb43e
refs/heads/master
2022-11-25T01:05:21.690420
2020-07-30T08:17:23
2020-07-30T08:17:23
283,494,665
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
a={"name":"蔡聪","age":24,"love":"basketball"} print(a) #print(a["name"]) # b=a.get("name") # print(b) # a["name"]="吕琪琪" # print(a) a.update(name="吕琪琪") print(a) # a.pop("name") # print(a)
[ "839168306@qq.com" ]
839168306@qq.com
1040690fb608e21de73df4e7b1449b42848a9d64
2c12dbd152d3483f54bf8cb619d9dfc070c90612
/utils/anchors.py
1ff2968b3119f91b43ad9ff402e99965f993d603
[]
no_license
simon108018/MobileNetV2-SSD
3647ad0dba236e8f08aac3adbdc974959647f240
5d1ceec17db92647de771439c0deed3d88f36aef
refs/heads/main
2023-02-01T03:24:25.897596
2020-12-18T07:44:55
2020-12-18T07:44:55
322,504,883
0
0
null
null
null
null
UTF-8
Python
false
false
5,902
py
import numpy as np import pickle import matplotlib.pyplot as plt class PriorBox(): def __init__(self, img_size, min_size, max_size=None, aspect_ratios=None, flip=True, variances=[0.1], clip=True, **kwargs): self.waxis = 1 self.haxis = 0 self.img_size = img_size i...
[ "noreply@github.com" ]
simon108018.noreply@github.com
b3b4f29f3d090c7c15bda01298b2f5944dbfeb4e
01c1ee55ff35e77cc6f0b69581d4f4b7a5d22746
/bot.py
5c4a56992d30cd5ed942201d814111af93f45f8f
[]
no_license
frutitutitut/bot1
ff6c670f9bac3e259b8517eb90f7f1c411830153
8ed4da179ddc6f298d684f0fa5af8bf7af3cf9b2
refs/heads/master
2022-11-28T22:51:03.280868
2020-08-08T07:15:06
2020-08-08T07:15:06
285,993,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,974
py
from plug.base64 import encoder, decoder from config import bot, chat_id, user_id from plug.web import webcheck, findip, scan from plug.start import start, help, send_text from plug.animals import cats, get_dogurl, dogs from plug.chat import get_id, private_bot, id_chat from plug.rate import eurorub, dollrub, btc...
[ "dymokks.kote@gmail.com" ]
dymokks.kote@gmail.com
d927f67f4ef95c3b1b9af40a2aae0a39ff4389c6
f88ca4fb700b04d6bd94ae58054c5ac7a0298e5d
/Phase_with_enthalpy.py
f8b3b4e529d2183c39321a307a117a058e8bbc66
[]
no_license
aqeelahmed168/Phase-change-with-enthalpy
6886b63b203141ba9ffed781c5b2f1b5ad200a3a
829d9daff0171fb133c4542c9538501292daada4
refs/heads/master
2020-04-20T14:13:57.490887
2018-07-11T13:04:18
2018-07-11T13:04:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,480
py
#Importing the required libraries. import fenics as fe import matplotlib.pyplot as plt import numpy as np # # Energy Equation # We need to solve the energy equation, # # 𝜌(𝜕𝑡ℎ+𝑢∙∇ℎ)=𝑘∆T. # # where 𝜌 = density # #...
[ "noreply@github.com" ]
aqeelahmed168.noreply@github.com
9beb2f007c5b1a2e985d1eb9cac90a3c7c0cb488
04b1803adb6653ecb7cb827c4f4aa616afacf629
/build/android/gyp/dex.py
9c551b9e78ce988f1b931a84bb34deb6a64e2c9a
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
14,446
py
#!/usr/bin/env python # # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json import logging import optparse import os import re import shutil import sys import tempfile import zipfile from util imp...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
676fa3cb7565381a95e4d28a1c19abc89c8bf72a
58b9c6d3326c5bb12420ad34439a90f4f4ca13b2
/python/extract_metrics.py
c389c3956a258708260035e4a2445c99d2cde150
[]
no_license
iliawnek/ir4-ex2
d24fb69c75271c6c496ca15e5a79f93c772211b0
8f66201e53f0db86bf0651d504ea2fd2c3e93926
refs/heads/master
2021-03-30T15:57:29.259077
2018-03-04T17:16:29
2018-03-04T17:16:29
123,592,678
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# Extract per-query map and P_5 values into separate files. files = ['te', 'te+amd', 'te+dap', 'te+dap+amd'] for file in files: with open('%s.eval' % (file), 'r') as src, open('map_%s.txt' % (file), 'w') as dst: for line in src.readlines(): split_line = line.split('\t') measure_name ...
[ "iliawnek@gmail.com" ]
iliawnek@gmail.com
5ddaff4d3f47ec52506877b069c768fa9de50663
ad9163889eab1d01f2f661fff003f6426960d3fb
/todosubject/todo_board/models.py
8170c2230687401527ccb6a90b518e40732b1218
[]
no_license
seokjaehong/todosubject
a84cc107586664f9ec8b8544fbfa28ff68322a86
26e88506578b9781fa43ae4dea8f4ccc079e14d0
refs/heads/master
2021-09-24T19:16:26.395189
2020-03-12T11:17:52
2020-03-12T11:17:52
243,719,657
0
0
null
2021-09-22T18:40:48
2020-02-28T08:59:48
JavaScript
UTF-8
Python
false
false
1,071
py
from django.conf import settings from django.db import models # Create your models here. # from user.models import User # from ..user.models import User # from todosubject.user.models import User # from user.models import User user = settings.AUTH_USER_MODEL class ProjectCode(models.Model): name = models.CharFi...
[ "hsj2334@algorithmlabs.co.kr" ]
hsj2334@algorithmlabs.co.kr
5e70dd92d37b33cee451a79110869edc240504ee
40b182f143fa034051fbfc80dc1bc77b204fdb89
/fft_2d.py
26fca42cbe8257f3a225e76e740aa65f3a6ab6f1
[]
no_license
phaustin/fft_2d
02ab6707cbbb1c3fcd836c4e9a6323b4439bed2a
a891669e2c70c70a87efa9b254e9103ec3d93af5
refs/heads/master
2016-09-06T10:51:35.568580
2014-02-11T06:52:04
2014-02-11T06:52:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
from __future__ import division from netCDF4 import Dataset import numpy as np import math from scipy import fftpack from matplotlib import pyplot as plt #plt.switch_backend('Agg') #batch plt.switch_backend('MacOSX') #interactive test=Dataset('a17.nc') tau=test.variables['tau'][:2000,:2000] nn = tau.shape[0] #...
[ "paustin@eos.ubc.ca" ]
paustin@eos.ubc.ca
b8de800954686a574f3c3ce972292fbb2e91812e
f2747140f003c95991b256ede06ead92df508f78
/applicationRouting/settings.py
bb8282b8a46021fb10d9d0a3fa819f2c8df9fe41
[]
no_license
naman342/gymkhana-app
133b15a9b3c915613f4d88f2c11ebbdeef23e3c7
751658863f71f40afc1e286a1abaebe0044c6f3e
refs/heads/master
2021-08-18T18:45:47.892898
2017-11-23T14:48:44
2017-11-23T14:48:44
111,799,571
0
0
null
null
null
null
UTF-8
Python
false
false
3,217
py
""" Django settings for applicationRouting project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """...
[ "narayannamish16@gmail.com" ]
narayannamish16@gmail.com
e5b3ea79e5902995e0db279583b7c31b714a036f
97ae2695e2b60cc03883b7eb2ffbe7cfbb3371cb
/pages/base_page.py
7c268de77466cb671943b0a215df6c2999a886ec
[]
no_license
AlexMakarenko/poster
f13d0fee46d894ec0a41f24405f00ee212502027
269b83aa30e5bd0dc177540d1e4cbfa45754fad3
refs/heads/master
2021-06-02T13:07:46.752275
2018-09-11T15:39:58
2018-09-11T15:39:58
147,691,522
0
0
null
2021-06-01T22:34:06
2018-09-06T15:05:01
Python
UTF-8
Python
false
false
421
py
from elementium.drivers.se import SeElements from selenium.webdriver.support.ui import WebDriverWait from config import log class BasePage: def __init__(self, driver): self.driver = driver self.se = SeElements(browser=self.driver) self.wait = WebDriverWait(self.driver, 5) def open_pag...
[ "makarenko.cr@gmail.com" ]
makarenko.cr@gmail.com
48837d221bf8a8197b544bccf238c4d81d81d16a
808ddf66080672836806de751da4cb2a6bdd6c32
/DataScienceVickyJeptoo/lesson2.py
f09ea1561429b846480ef8c27579fa0197eaefd1
[]
no_license
vickyjeptoo/DS2
319dc1dd5fec55ab48cd492f76f0c9f164c8a3d3
bf6aae2b40d7c309904e8b24f7da39d304853824
refs/heads/master
2020-08-29T10:46:31.623214
2019-11-21T10:17:00
2019-11-21T10:17:00
218,009,178
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
import pandas import matplotlib df = pandas.read_csv('school.csv') print(df) print(df.isnull().sum()) import matplotlib.pyplot as plt #piechart for rank df['Rank'].fillna(0,inplace=True) df['Rank'].replace({1:'Freshman',2:'Sophomore',3:'Junior',4:'Senior',0:'Unknown Rank'},inplace=True) fig,ax=plt.subplots() df.groupb...
[ "noreply@github.com" ]
vickyjeptoo.noreply@github.com
6398727d41745a5f48c6ccd6952f2945d5814a3f
8a1200f2bd0bf25a264c065da896d1806e45155a
/packages/ply-9999.py
591b952a924da74d2703d4d6bcf134dbd272ecc0
[]
no_license
mhulsman/enhance
fac908eca561749ab99ea708f19f37eaceabf6c5
761234a263e4962a8e10026ce143c1ea0e7e8728
refs/heads/master
2021-01-18T23:40:56.252953
2016-09-29T13:04:48
2016-09-29T13:04:48
1,520,086
3
4
null
null
null
null
UTF-8
Python
false
false
97
py
from package import * class ply(EasyInstallPackage): dependencies = ["setuptools","python"]
[ "m.hulsman@tudelft.nl" ]
m.hulsman@tudelft.nl
11520b9bd2e7f1c265961393aa9320f1abd2146f
4822668cd13da3fa30a5ef354d4a207f8dd387db
/m3_dev/nwm_station_db/lib/nwm_da_sqlite_db.py
801feb5f5498527bcd5226202956413db035efe1
[]
no_license
WanruWu-NOAA/nwm_da
6ace401cbe5c305d15abac9a47f245b404026fb1
aa6456bc4f61f9824191f25e6f068727cf662f0c
refs/heads/master
2023-02-02T10:13:06.647849
2020-08-27T16:09:45
2020-08-27T16:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
import os import sys import re import glob import datetime as dt sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', '..','lib')) import nwm_da_time as ndt def attach_databases(conn, forcing_single_db, land_single_db): ''' ...
[ "Gregory.Fall@noaa.gov" ]
Gregory.Fall@noaa.gov
d22177499c618ff254b7d77a4adadebd0fbc9c16
82ccbe6f52a89e0acd1b88cd3de6c2c434bcef6c
/lib/PanGenomeAPI/fetch_summary/main.py
64197ada34555c2089d05a55099c48806cd693d0
[ "MIT" ]
permissive
kbaseapps/PanGenomeAPI
e51da942cb61f4341824e7b296fa2b694b7deda6
52dfc557279824f3b1c3b0a537528ccfaee39ab1
refs/heads/master
2021-07-20T04:30:31.032517
2021-02-23T22:45:09
2021-02-23T22:45:09
89,646,247
0
3
MIT
2021-02-23T22:45:09
2017-04-27T22:42:41
Python
UTF-8
Python
false
false
7,818
py
""" Fetch and construct summary data for previewing a pangenome. """ from installed_clients.WorkspaceClient import Workspace as Workspace def fetch_pangenome_summary( pangenome_ref: str, workspace_url: str, token: str) -> dict: """ Construct a summary data object for a single pangenome...
[ "jayrbolton@gmail.com" ]
jayrbolton@gmail.com
d32ff8d6d91f2a76d7d8268ae80199f8576c9628
889b3ce82835575b6a8492df1acfd4223ef9a7d9
/chapter_03/cars.py
7bf0109f44de5f9c36416aea4f649cd088e98885
[]
no_license
MS1027439787/pythonBasic
dc3456f20d669459c8a829434d442c1ec277162e
627de187271a330cbc234b25a9d3f6d5d0bd933e
refs/heads/master
2023-04-09T06:07:25.425470
2021-04-20T05:51:08
2021-04-20T05:51:08
356,777,335
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
cars = ['bmw', 'audi', 'toyota', 'subaru'] print("Here is the original list:") print(cars) print("\nHere is the sorted list:") # 临时排序 print(sorted(cars)) print("\nHere is the reverse alphabetical list:") print(sorted(cars, reverse=True)) print("\nHere is the original list again:") print(cars) # 永久排序 cars.sort(rever...
[ "1027439787@qq.com" ]
1027439787@qq.com
cf960886e27a282e96793a265af4645d21cbffdb
763af65b4d651a893c1db17a9d96558cdcfbff36
/deployApp/migrations/0001_initial.py
c8682ce0d9cbe9d630d0fc8fccb1e207ebd6cbc0
[]
no_license
Tonyloyt/Sample_Image_upload_on_django
caa5304fb803df0f0785a0afee3de43f74bd71fb
648ad69431aecf3f081ca11324376e4c21b15ac8
refs/heads/main
2022-12-31T15:07:13.654687
2020-10-23T18:23:16
2020-10-23T18:23:16
306,715,116
1
1
null
null
null
null
UTF-8
Python
false
false
560
py
# Generated by Django 3.1.2 on 2020-10-23 17:58 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Hotel', fields=[ ('id', models.AutoField(au...
[ "tony@datascientist.tz" ]
tony@datascientist.tz
b339aef21130959862e1238010178a4c08a2aac9
b7b4cf655797ca1114d306657189b6631985116d
/ssb/run/ssb-pyspark.py
e489234590b15338835d2314615a7c9e6123ee21
[]
no_license
hurdad/datawarehouse-benchmark
43b1539ab271068f873e3867888af7313350b1bc
45fc5c5759a81e8f44a763be1adfb076b9b236af
refs/heads/master
2021-01-02T08:57:42.687698
2019-08-31T23:35:18
2019-08-31T23:35:18
19,026,112
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
import sys from pyspark import SparkConf, SparkContext, HiveContext if __name__ == "__main__": if len(sys.argv) != 4: print("Usage: ssb-pyspark <executor-cores> <executor-instances> <query> ") exit(-1) # Configure Spark conf = SparkConf().setAppName("SSBQuery").setMaster("yarn-client").set("spark.executor.inst...
[ "hurdad@gmail.com" ]
hurdad@gmail.com
5a218c58e18e2315f06c2ba24c1e494c74de5f76
b4886986e51e280db6259236eb77e79790cb846f
/fashion_mnist/code/config_parser.py
c9df78822c0c4a05de01b48a3d158b53b5e4edca
[]
no_license
Noploop/HMR
7a9781d2c30af089703e995909525839d7843e56
bed4d9cb8dcaa2eb46cefc2bb5031a025e7a2c48
refs/heads/master
2022-03-28T21:59:12.548410
2020-01-15T04:16:43
2020-01-15T04:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
import ast import os def parse_config(config_filename): config = {} file_content = {} with open(config_filename) as f: for line in f: line = line.strip() line = line.replace(' ', '') idx = line.find(':') file_content[line[:idx]] = line[idx + 1:] ...
[ "yuriwxz@gmail.com" ]
yuriwxz@gmail.com
cc15ab4da0e3d63290d555da764c4651e5b116d5
2368797b51548c0f6393d63bf4973898ac99d528
/strings/easy/q443.py
dfc657c4a91311384a0c289c38920c173469005f
[]
no_license
pengzhefu/LeetCodePython
595887d1625666962e7e959ffa148580f9b89ada
59eff778a5fd5cff3b5b6b88c6c7e76dd213dfb0
refs/heads/master
2021-06-08T19:44:52.487031
2021-06-01T15:44:29
2021-06-01T15:44:29
175,763,155
1
0
null
null
null
null
UTF-8
Python
false
false
2,906
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 30 23:39:02 2019 @author: pengz """ ''' Given an array of characters, compress it in-place. The length after compression must always be smaller than or equal to the original array. Every element of the array should be a character (not int) of length 1. After you are d...
[ "32311379+pengzhefu@users.noreply.github.com" ]
32311379+pengzhefu@users.noreply.github.com
d56087a4dd2c8057cef9ebf1388b7c6be56346be
a15cb54c04773fd7d0ef46590e2e56d48fd90725
/game_python/game2/Ex_complementar_1.py
87a5ab4da248ca2fdf31f5330596a0913a0428a1
[]
no_license
wcsten/game_python
f6c964922efc684ac4ee9089063be2e490c1f831
e77aceffe0e3e934fb085086bbdb3046935c973d
refs/heads/master
2021-01-22T03:44:14.439072
2017-02-09T13:31:22
2017-02-09T13:31:22
81,453,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
#coding=UTF-8 import time def displayIntro(): print('Converter horas em AM/PM') print('Programa para converter da notação de 24 horas para a notação de 12 horas.') def receiveHour(): hourList = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24] hour = int(input('Digite a hora para ser convertida:'...
[ "noreply@github.com" ]
wcsten.noreply@github.com
b2cec81969bcdc94b01c28fdb7df0ad7d85d7cf4
df1d49839642d5dd9d3232e550b448ff813b298e
/virtual/bin/pip3.6
3a0c125f493e9d8db29bb7bb6bbde2795be44256
[]
no_license
vincentmuya/Tech
86e486044eb968b25cb53edf003acde391936900
239dbab12a6f6324eec4c55223c331a3871375aa
refs/heads/master
2023-01-05T17:16:48.434239
2020-10-29T15:23:20
2020-10-29T15:23:20
308,339,499
0
0
null
null
null
null
UTF-8
Python
false
false
270
6
#!/home/v1nc3n7/Documents/Projects/Projects/blog/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "vincentmuya13@gmail.com" ]
vincentmuya13@gmail.com
3e9f75c07b7ff0be2d77ae15583de498bfd35d54
3941ec89010ca44057d9b8d0fe7b3a19b78fffe0
/Tweety/settings.py
3bc1f84e7632a651c93eca3748e932c8fb9799d1
[]
no_license
surilshah/TwittTrendz
609131c34fb006612c0734ee580689d599944f8b
b4a19db231ab6103f71752694057a9ace0ce0304
refs/heads/master
2021-07-05T19:21:54.160330
2017-04-22T20:51:06
2017-04-22T20:51:06
89,079,936
0
0
null
2021-06-10T18:45:18
2017-04-22T15:31:37
HTML
UTF-8
Python
false
false
3,283
py
""" Django settings for Tweety project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "suril.shah.94@gmail.com" ]
suril.shah.94@gmail.com
1f155611b98f6e17bb1e3d9874b47e462fbe64f6
f5c1e9dfcaac1590c5d7b90b0395f5f961c2fb07
/CacheUtils.py
a18f3537f4adf5f665b9029a266e4c532b9e7fa1
[ "MIT" ]
permissive
robpotter89/HackDay_Q3
67a37ae90dfed782b72b2eb382df7b115ed0b45c
647b7ec56d0d783e999c53761bb7839b24fac78a
refs/heads/master
2022-11-26T20:26:53.059824
2019-09-23T14:35:11
2019-09-23T14:35:11
209,398,981
0
0
MIT
2022-11-22T01:40:03
2019-09-18T20:32:57
Python
UTF-8
Python
false
false
8,104
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- import csv import json import os import re import time import zlib from datetime import datetime, timedelta from io import BytesIO, TextIOWrapper from urllib.parse import urlsplit from zipfile import ZipFile import requests from pymongo import MongoClient from redis im...
[ "noreply@github.com" ]
robpotter89.noreply@github.com
28beb8b65bbc25c5e6504c1cf35b51ca1ee2559e
c7231624f78a695cc0425f0062b8dcdbdb6b81e1
/manage.py
befd73c41ff82aa6799ec5d1a8282630e3d6a73f
[]
no_license
BraxtonBodel/hackerUsc-Back
08722afece39b1dce5234af3911dc605ac8a4ad6
9b1c3972f77940d1a5fc91c301bf2b9d973fb805
refs/heads/main
2023-01-20T11:52:27.695506
2020-12-01T17:33:00
2020-12-01T17:33:00
317,563,329
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backendHackerUsc.settings') try: from django.core.management import execute_from_command_line ex...
[ "brabodel@hotmail.com" ]
brabodel@hotmail.com
009a6db22d5cbcfa17aced05ceb3ed368d3c3b09
3d79f543ee5747e13c4d6d9a64a3d8260894e123
/config/common.py
c5823c65b8f9e543c891967b8408ad76e25c57c3
[]
no_license
kazak600/social-network-webinar
bd1cb4f80022f0b3c26ef4badaa11a04cf028d1b
72a99aed791f9573a20dbf9518b7abdba9335975
refs/heads/master
2023-08-07T00:44:22.675723
2023-07-25T09:36:24
2023-07-25T09:36:24
147,933,664
5
12
null
2023-08-02T02:18:07
2018-09-08T13:00:32
Python
UTF-8
Python
false
false
287
py
import pathlib class BaseConfig: debug = True app_name = 'Social Network' secret_key = b'TyzLMReLCWUiPsTFMActw_0dtEU7kAcFXHNYYm64DNI=' database_name = 'my_database' PROJECT_ROOT = pathlib.Path(__file__).parent.parent STATIC_DIR = str(PROJECT_ROOT / 'static')
[ "kakkazak@gmail.com" ]
kakkazak@gmail.com
e9401703c3aba5a5b74b8b032bd8e11d554487e4
ccc1930a820225f970f6121a310eaf406ff0afa1
/Lol_web_crawler/api_caller2.py
b392e5b9898e4949f208165c9f904c5c181d323f
[]
no_license
andreculham/Lol_web_crawler
72b888189e098f4796d68c13f4e508dbc14e8ae9
b6a8b188c4b2f4d2430b6df8e0cef32dfb2f9f9d
refs/heads/master
2021-09-10T03:51:29.309568
2018-03-20T22:35:13
2018-03-20T22:35:13
106,743,374
1
0
null
2018-02-21T06:56:48
2017-10-12T20:44:18
Python
UTF-8
Python
false
false
1,850
py
from riotwatcher import RiotWatcher import time import json watcher = RiotWatcher('RGAPI-b17a8469-7cf1-4f9d-bbd7-e244a4225b92') my_region = 'jp1' ''' me = watcher.summoner.by_name(my_region, 'test') print(me) # all objects are returned (by default) as a dict # get my 1 mastery page i keep changing my_mastery_pages = ...
[ "andre.culham@gmail.com" ]
andre.culham@gmail.com
cf425e83ff89715da8fdcf608b46377237011508
7c33168acb30d6ebb05062f8e2518a231359fbf5
/qa/rpc-tests/listtransactions.py
1590ec297800f8a928a698a33ef90d20500a344d
[ "MIT" ]
permissive
NPSCoin/npscoin-core
69b867c20f2100ce4a0343a33b5c6ef320ac4ce0
b6738d9f0eec0b12492b8763022889942317836a
refs/heads/master
2020-03-25T13:38:11.615816
2018-09-23T03:41:03
2018-09-23T03:41:03
143,836,153
2
2
null
null
null
null
UTF-8
Python
false
false
10,133
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # Exercise the listtransactions API from test_framework.test_framework import BitcoinTestFramework from ...
[ "team@npscoin.io" ]
team@npscoin.io
1c857f1653261cb7ab214242068db49ef0bc160e
cc94d2707e52b1aca03c482140f8a1dcd2b871d1
/app/data.py
40d7d85a776329669fa8eda9b9f27dad7689d673
[]
no_license
Pektech/quiz_2
5417b212708e7113e22df387d9840c2bff71a46f
026b57830f93302c18f663b46017043eb0734333
refs/heads/master
2022-12-13T01:08:22.148941
2018-11-09T04:23:34
2018-11-09T04:23:34
155,483,637
0
0
null
2021-06-01T22:51:54
2018-10-31T02:03:05
Python
UTF-8
Python
false
false
6,878
py
def parse_questions(text): new_text = text.replace(':"hard","question":', "") new_text2 = new_text.replace(',"correct_answer":', ":[") new_txt3 = new_text2.replace('"incorrect_answers":[', "") return new_txt3 data = { "QUESTIONS": [ { "Talos, the mythical giant bronze man, was ...
[ "14008446+Pektech@users.noreply.github.com" ]
14008446+Pektech@users.noreply.github.com
4a1131302a6d2169c5bec5347e9930175079807a
a20a818e19e6a2bdc7207ed5b073265a1a567bf0
/hello_world/main4.py
6b7dc98df760c47aaad1f4cf8ddc4b2ceb555566
[]
no_license
HareemZubair/Pycharm
d944d304dd64cc13167a981e8ddf41c80361afbf
383f924939c555a6884f1de860a2809a08e2c7ae
refs/heads/master
2020-11-23T22:41:00.430804
2019-12-13T13:54:32
2019-12-13T13:54:32
227,850,691
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
#tuples name = ("messi","harry","afridi") print(name)
[ "hareemzubair250@gmail.com" ]
hareemzubair250@gmail.com
4617256c20731fbbb1264d27b0f6bf009bf729fb
207c686ca0034e8b8c0b5768fe32b89404480553
/tu16.py
9dd2973f9fd0fa614f038d4993daf41a23f6d24c
[]
no_license
Louico/CIUTOKYO_questions
64b845c65adea5e9a60f0a646d231ee56d21c7e1
2f8e8abfe7dea51a2a947a3de67337801d45fd24
refs/heads/master
2020-04-16T23:55:18.448966
2019-01-24T13:57:00
2019-01-24T13:57:00
166,030,388
0
1
null
null
null
null
UTF-8
Python
false
false
8,185
py
rowtype1 = "****" rowtype2 = "| |" rowtype3 = "* *" rowtype4 = "*" rowtype5 = "|" rowtype6 = " |" rowtype7 = "| " rowtype8 = "* " rowtype9 = " *" def number(numbers): r= [""]*5 for i in numbers: if i=="0": r[0]+=rowtype1 r[1]+=rowtype2 r[2]+=rowtype3 ...
[ "450125293@qq.com" ]
450125293@qq.com
e449c66a114a30229389e02c99d5811d21aa2e4a
cb81226e6fdf76a22c486a463394e894e3f9341d
/Kinderly/Models/room.py
6b2d857bc0db662580497676d915d122ae2c9804
[]
no_license
deSudoers/Kinderly-server
9af494c224724170e0b6d80eb74f74271ea6d259
14a04260d490489c4ba8f765d63d0f6cf53f5cd2
refs/heads/master
2022-12-09T16:10:28.518237
2020-03-26T18:20:41
2020-03-26T18:20:41
163,542,370
4
0
null
2022-12-08T01:30:38
2018-12-29T21:31:48
Python
UTF-8
Python
false
false
1,840
py
import datetime from Kinderly import db class RoomModel(db.Model): __tablename__ = "Room" room_id = db.Column("RoomID", db.Integer, primary_key=True) capacity = db.Column("Capacity", db.Integer) has_attach_bath = db.Column("HasAttachBath", db.Boolean) has_ac = db.Column("HasAC", db.Boolean) ...
[ "shrijitsingh99@gmail.com" ]
shrijitsingh99@gmail.com
fa3b1ca565262dce9ffb2c7d31265835e092d735
14e5d98d56be5f87f4eb84d4cf988bfbd86248e8
/conf.py
77ddea8cb3cc21a76d79512bc13db42c5cdf7303
[]
no_license
WayneeLin/plsa_learning
79b76127c6206e2d90c317ad438c492f4eb9c25b
96d322112892fe1fa6fc6580671408a8b782c8fa
refs/heads/master
2021-01-18T19:25:35.733490
2013-12-31T06:11:53
2013-12-31T06:11:53
15,521,534
1
1
null
null
null
null
UTF-8
Python
false
false
157
py
#!/usr/local/bin/python # coding: gbk #lib import import ConfigParser CONF_PATH='./' plsa_cf=ConfigParser.ConfigParser() plsa_cf.read(CONF_PATH+'plsa.cfg')
[ "30122304@qq.com" ]
30122304@qq.com
7d8b83ad987f94f6be3f1db2985cad941bcfb925
5b25b0180ffcef444ad27fcb69005c985d8629df
/venv/bin/easy_install-3.5
4b8d3ed70c60d56643d16d3a5dd4cf01e64ee97c
[]
no_license
theheartthief/Flasky
6c8145f783a44d9ed157639e56385f04ef67ebf4
5f32acd83c1b9884c08e1cd13a3bfc7af07c1f74
refs/heads/master
2020-03-29T16:09:56.178770
2018-09-26T12:57:55
2018-09-26T12:57:55
150,100,882
0
0
null
null
null
null
UTF-8
Python
false
false
447
5
#!/home/zhang/PycharmProjects/flasky2/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.5' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$'...
[ "2640403479@qq.com" ]
2640403479@qq.com
b0c3d6b9a3b36724804759e23eae5515f5337337
8ba2043dac1b1f78c261edec045e8479e942af6a
/Individual_Labeled_Image_Generator.py
c9ab3b82e75e6f8f31be3e4e4cad359523dab27c
[]
no_license
deepaksinghcv/t_SNE_visualization
fc7f68cbaf0f300c3b9b423096efa5f841a51e5c
7592345f13854c42dbe2e8d670ccc88961561f11
refs/heads/master
2022-11-09T18:31:10.987461
2020-07-02T16:41:02
2020-07-02T16:41:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import multiprocessing import numpy as np from PIL import Image import uuid import time # In[2]: def delabeler(path_tuple): ''' Takes a tuple which consists of original RGB image and the labelIds image Generate individually labeled RGB images NOTE: T...
[ "deepak.singh@research.iiit.ac.in" ]
deepak.singh@research.iiit.ac.in
ef1ae83917df42c0cc383935c8cd37807cda3f12
280ca08784641379bd565832337b129900d64010
/pop3/script.py
b1c291fd63b2c879ab67e4a6935d06ef639001e1
[]
no_license
defntvdm/networks-anytask
c96a4a3de26b5996ac5a202c849aa8228796475d
7461953520559247a32a61ae8917c3fa1bc85f26
refs/heads/master
2021-05-31T11:26:18.419300
2016-06-24T13:34:39
2016-06-24T13:34:39
56,532,070
0
1
null
null
null
null
UTF-8
Python
false
false
5,926
py
#!/usr/bin/python3 import argparse import socket import ssl import re import base64 import os, sys import binascii def get_args(): parser = argparse.ArgumentParser(epilog="(с) Николаев Вадим", description="Показывает письма почты " "по логину паролю и серверу", prog="pop3") parser.add...
[ "nikolayevvadim@gmail.com" ]
nikolayevvadim@gmail.com
6aca68d20eb3755ef7a229aea72cd91fed6e1ad3
510bcf546e08ddd10fa5c09ed966e76ee9006569
/accounts/models.py
889f525ee019e6f5e988db4a01fdfb3a98e877e7
[]
no_license
4hey/First-Django-Project
02cf00fb17648960faa82bf4d6864c0231ad1780
a370291c11606eb748f123f82d9d4500bb5147c1
refs/heads/master
2022-11-18T03:40:28.950090
2020-07-11T05:23:34
2020-07-11T05:23:34
276,499,479
0
0
null
null
null
null
UTF-8
Python
false
false
4,644
py
"""ユーザー登録情報に関するユーザーモデルの定義""" from django.db import models from django.contrib.auth.models import AbstractUser from django.urls import reverse class User(AbstractUser): """ユーザーモデル   django既存のユーザーモデルを継承したオリジナルユーザーモデル Attributes: p_choices: prefectureフィールドのchoicesオプションの選択肢 c_c...
[ "phily.ai.3.yc.76@gmail.com" ]
phily.ai.3.yc.76@gmail.com
59409dadd7b7b3c1d6713977c4386d2632442ff6
7e1c34c4054c2ff001ec97e5b6568d687fbfa543
/consecutive-sum/try.py
ec558d21afab5d5778fdbd4765b07f8dcb3cc87e
[]
no_license
Ashishkapil/python-runs
5da9805dbd1a558f0f4c26160a97a7a526b1a4eb
788dbe6e60d1b7f06d395961eb531d668109a754
refs/heads/master
2020-03-20T23:05:31.985421
2018-02-13T00:39:10
2018-02-13T00:39:10
137,828,840
0
1
null
2018-06-19T02:14:13
2018-06-19T02:14:13
null
UTF-8
Python
false
false
555
py
# Given an array of positive integers and a target total of X, # find if there exists a contiguous subarray with sum = X # [1, 3, 5, 18] X = 8 Output: True # X = 9 Output: True # X = 10 Output: False # X = 40 Output :False #!/usr/bin/env python arr = [23, 5, 4, 7, 2, 11] target = 18 start = 0 end = start summ...
[ "vik@Vikhyaths-MacBook-Air.local" ]
vik@Vikhyaths-MacBook-Air.local
575ed02449017c1a4ecadde20439e92718777610
083ae8105750cc96306bfffcc2ee86b7977342f3
/star_leaders/repo_metadata.py
404cd8b0ff80ff49b30367b083f249f2dd7fdcb4
[ "LicenseRef-scancode-public-domain" ]
permissive
WallarooLabs/wallaroo-python-example
07e7213223fd02969895ddec3e069fc33a436680
25cd60207164b8e6cf3f0a7eafe4bd01d1278ab3
refs/heads/master
2020-03-17T08:18:40.550434
2018-06-14T18:48:32
2018-06-14T18:48:32
133,433,629
4
0
null
null
null
null
UTF-8
Python
false
false
4,903
py
import operator class RepoMetadata(object): """ This class is responsible for keeping tally of things like stars on a repo and recent events for the most popular repos. """ def __init__(self): self.current_hour = None self.window = [] self.repos = {} self.leader...
[ "brian@wallaroolabs.com" ]
brian@wallaroolabs.com
833f7986080b5020cce57c632acd7e198dfe66a9
04b5ffc196713cfc8eb94a1444c7c6959cf79627
/store/models/customer.py
69662d2d6048054887f3f9a01369355d557b41df
[]
no_license
shahab627/EcomerceDJango
6704c326ee972697bb1e27b07cea3a7cc558bcfd
c83a544c355167b6e701dda9185f62c750c4fe0c
refs/heads/master
2023-06-24T11:46:50.994519
2021-07-30T14:38:17
2021-07-30T14:38:17
347,714,110
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
from django.db import models class Customer(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) phone = models.CharField(max_length=15) email = models.EmailField() password = models.CharField(max_length=500) def register(self): # saving the...
[ "shahabmughal766@gmail.com" ]
shahabmughal766@gmail.com
f4bfcc0eabf9586b04429b532ed962af599e6db5
fcff051c9cfb72331e6b59d4a6b0d2fb8591adb8
/back_project.py
927c80846f86982f906e76df0033cfb4888e3c76
[]
no_license
BrunoKM/ct-simulation
cf808290270877692fc273dc43a944b05d98f940
8b8ad456af57426807d3af6b1aceae0a6a46e5e3
refs/heads/master
2020-05-20T21:58:54.061582
2019-05-16T14:05:56
2019-05-16T14:05:56
185,773,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
import numpy as np import math import scipy from scipy import interpolate import sys def back_project(sinogram, skip=1): """back_project back-projection to reconstruct CT data back_project(sinogram) back-projects the filtered sinogram (angles x samples) to create the reconstruted data (samples x...
[ "bkmlodozeniec@gmail.com" ]
bkmlodozeniec@gmail.com
69e0098c9da9ef73a596638a554362dc471a0434
7864e775c9561852633cdd79db3a43e94940b2b8
/migreat/bin/pip-2.7
d89ec5300302fc80736c265c97d3eac23f96383b
[]
no_license
Eleonore9/Geolocation
ccb520092b134e2f3c462a57036c9e27a4450900
45375d19ed963c32820dee1b14c69639aac3735a
refs/heads/master
2016-09-05T13:57:07.013656
2014-03-22T19:22:01
2014-03-22T19:22:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
7
#!/home/eleonore/Documents/Geocode_Migreat/migreat/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.3.1','console_scripts','pip-2.7' __requires__ = 'pip==1.3.1' import sys from pkg_resources import load_entry_point sys.exit( load_entry_point('pip==1.3.1', 'console_scripts', 'pip-2.7')() )
[ "eleonore.mayola@ymail.com" ]
eleonore.mayola@ymail.com
b8d293c61ac612e27ae925e7022d46e09fc967e0
59c74cf1100d9ca98b342bad65fc623978c56bf0
/Problem Set/BMI.py
d104dfc981c66eccb9ad535926b875bd40803f46
[ "MIT" ]
permissive
olgarozhdestvina/pands-problems-2020
4a16eb46f027fba20f00463124d73eb3a830a286
5d61bf6a86fbbe18adf00f547ce2380a39903e6e
refs/heads/master
2020-12-28T00:22:41.464416
2020-04-03T08:53:54
2020-04-03T08:53:54
238,118,242
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# Olga Rozhdestvina # This program calculates your Body Mass Index (BMI) height = float (input("Enter your height in cm: ")) weight = float (input("Enter your weight in kg: ")) squareOfHeight = height ** 2 / 10000 # convert cm to m BMI = weight / squareOfHeight print("Your BMI is {:.2f}".format(BMI)) # Rounding ...
[ "olgarozhdestvina@gmail.com" ]
olgarozhdestvina@gmail.com
7f8010f5ebfed5673267cda1ccb26abd4c6fdea8
490136a6e8518029300cb79ca7fd92e8d003b3b0
/main/migrations/0010_auto_20190418_1922.py
4f9dd4576f4279c73e814680dda8c97d620c096b
[]
no_license
mcescalante/oh-lastfm
8223d47e6c61bd86ae863a4774f7432a3497aab7
ccfa80b32ef8b87194b2b592ab9e45386136506c
refs/heads/master
2020-05-15T09:18:36.825817
2019-04-19T19:07:34
2019-04-19T19:07:34
182,174,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# Generated by Django 2.2 on 2019-04-18 19:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0009_auto_20181017_1735'), ] operations = [ migrations.RemoveField( model_name='datasourcemember', name='acces...
[ "mcescalante@gmail.com" ]
mcescalante@gmail.com
b6c79e76dd24def16d52f93e5c24223e42f05f24
b210d58b724c7199f43ddde031eba40996c82257
/submissions/sm_102_amit/week_13/day_4/session_1/sum_evens_list.py
91145a862a264ac398f9b2a886d4ce0d4d0f6812
[]
no_license
Tanmay53/cohort_3
0447efd2dc8b3c1284b03da7326b35393fdf5f93
351fb6e1d0c29995fb5cb3b6af411dbcf0ced64c
refs/heads/master
2021-05-23T17:55:36.508185
2020-04-05T12:58:07
2020-04-05T12:58:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
# Print the sum of all the even numbers in the given list of numbers numList = [12, 15, 7, 78, 45] sum = 0 for x in numList: if x % 2 == 0: sum += x print(sum)
[ "akamit21@outlook.com" ]
akamit21@outlook.com
f8bddbe0bca011790a2e4c1ded8cbf766682d2a5
b4abad3644619f044e952473ea4226488d13f7d5
/interface_test_automation/pyh.py
6995f5a379b1086c12418b7f15b69c9159ae9704
[]
no_license
guor911/automation
66010b38b59584cbe1cf9d169d03d72777c536cf
d9d791934aa5660170bb1b3f29433a3d09c281f6
refs/heads/master
2021-01-16T11:30:40.340406
2017-08-11T07:31:29
2017-08-11T07:31:29
99,999,187
1
0
null
null
null
null
UTF-8
Python
false
false
4,504
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @file: pyh.py # @purpose: a HTML tag generator # @author: Emmanuel Turlay <turlay@cern.ch> __doc__ = """The pyh.py module is the core of the PyH package. PyH lets you generate HTML tags from within your python code. See http://code.google.com/p/pyh/ for documentation. ""...
[ "guor911@users.noreply.github.com" ]
guor911@users.noreply.github.com
78fb7cd610c41aa44ce0675bafff2e566f43a844
27a9e16c3e4b6905645c4d0d2a6242191cfd2234
/daily-challenge/1-30/day-18.py
4a0dee5e3ec7227a64fb5def6db5fa80fc0265b6
[]
no_license
stosik/coding-challenges
6e58636991af384928401aea97299957dddf2655
9b52573c0da5dd125f8a2e96fae22cb4afe8a113
refs/heads/master
2022-11-30T07:18:19.792347
2020-08-16T18:21:12
2020-08-16T18:21:12
275,012,782
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
# This problem was asked by Google. # Given an array of integers and a number k, where 1 <= k <= length of the array, # compute the maximum values of each subarray of length k. # For example, given array = [10, 5, 2, 7, 8, 7] and k = 3, we should get: [10, 7, 8, 8], since: # 10 = max(10, 5, 2) # 7 = max(5, 2, 7) # 8...
[ "tosikszymon@gmail.com" ]
tosikszymon@gmail.com
24730b8c81b03751f2f0099ab19c0516e3c1f94d
c2acd258856cb9219134d079a9be0dd0505b9cd3
/demo54.py
108cfd036fd7f0a632ee4c29c132c5cc55d7e5f2
[]
no_license
dsissac-liu/bdpy0618
129537cf4b89f471bf02754af73f17745050fc69
a39c8dd389bd81a8576c22335e3045f969bac87b
refs/heads/master
2020-06-05T14:31:29.475967
2019-06-21T07:36:15
2019-06-21T07:36:15
192,460,440
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
file1 = open('data\\Python_Introduction') readme_txt = file1.read() file1.close() print type(readme_txt), len(readme_txt), readme_txt[:101] with open('data\\Python_Introduction') as file2: readme_txt2 = file2.read().decode('UTF-8') readme_txt3 = file2.read().decode('ASCII') print type(readme_txt2), len(readme...
[ "dsissacliu@gmail.com" ]
dsissacliu@gmail.com
3f9a0b1d182a5ddd38813da6721ae1a290403895
b4bc5fb10b0d498cb0d3e5ee2ce3473b10b553e5
/fast_transformers/recurrent/attention/self_attention/adamax_attention.py
1cac02af4c80484f39d1bc654fd0d6ccdea11efe
[]
no_license
minhtannguyen/momentum-transformer-code-submission
2f0005028ab7e32957612f642330acd802bded8e
68b11ce5564a8212cd91cb2093b457a00d511046
refs/heads/master
2023-05-31T19:20:57.380490
2021-06-04T15:08:26
2021-06-04T15:08:26
373,784,396
4
0
null
null
null
null
UTF-8
Python
false
false
4,429
py
"""Implement the causally masked linear attention as a recurrent model.""" import torch from torch.nn import Module from ....attention_registry import RecurrentAttentionRegistry, Optional, Float, Int, \ Callable, EventDispatcherInstance from ....events import EventDispatcher from ....feature_maps import elu_featu...
[ "mn15@rice.edu" ]
mn15@rice.edu
28b287c1814ef2863546e43451e26917e37be12f
ee7661ccaef52686ee81a7458c638504f81a1c14
/mercury/converter.py
b2435c52b9575bebac9297398e82162d18f26045
[]
no_license
bigkon2/mercury
c6cec9ce88c6b4cb980fe0f3db3d677bd2643346
ed791c9e9bccf73d84e945d32a5e75318def87c1
refs/heads/master
2016-08-11T21:22:49.389165
2015-12-16T11:22:25
2015-12-16T11:22:25
47,936,697
0
0
null
null
null
null
UTF-8
Python
false
false
2,520
py
from re import sub class Converter(object): kg_koef = 2.20462 cwt_koef = 100 meter_to_foot = 35.3146667 def camel_case_to_underscore(self, name): s1 = sub('(.)([A-Z][a-z]+)', r'\1_\2', name) return sub('([a-z0-9])([A-Z])', r'\1_\2', s1).lower() def convert_weight(self, value, src...
[ "bigkon@list.ru" ]
bigkon@list.ru
354e01fce6aefff99f4edd7b403fce517fd84aa9
5ade8b91512e174ace25c8357d408cc1887c84b7
/haigan/sipderPicture.py
91455071579d6537d2a827faea468daf0e5b78ed
[]
no_license
qiuzhuangshandian/haienNote
1f3d6ddc63172cfd12fd9f67ec587e3d13d3a4d3
a58617ad1bbebe3b7d66a23fbf1880f617299a23
refs/heads/master
2021-07-05T02:33:26.647133
2019-03-27T12:33:10
2019-03-27T12:33:10
114,324,158
0
2
null
null
null
null
UTF-8
Python
false
false
1,238
py
import requests from bs4 import BeautifulSoup import os import traceback def download(url,filename): if os.path.exists(filename): print('file exists!') return try: r = requests.get(url,stream=True,timeout=60) r.raise_for_status() with open(filename,'wb') as f: ...
[ "1102485579@qq.com" ]
1102485579@qq.com
9ae13a4bd3deeb4db33e4849dd540d691c16c490
ecd25dc270cd1c07116928001e8a6bfbbddb48b7
/ImdbPopShow/spiders/popShow_spider.py
c7d7c782ec7f5dd78c2a65306953bda28cabc954
[]
no_license
lienchewei/ImdbPopShow
72602caffcd226ead017a3985d8751cdaf14322e
c50b14f8feac934d474a1f1f2031a439b20824d1
refs/heads/master
2020-03-20T08:22:47.645285
2018-06-14T04:44:09
2018-06-14T04:44:09
137,306,914
0
0
null
null
null
null
UTF-8
Python
false
false
5,931
py
import scrapy from ImdbPopShow import ImdbpopshowItem main_url = 'http://www.imdb.com' class ImdbPopShowSpider(scrapy.Spider): name = "imdbPopShowSpider" start_urls = ['http://www.imdb.com/chart/tvmeter?ref_=nv_tvv_mptv_4'] def parse(self, response): pat = re.compile('http://www.imdb.c...
[ "lienchewei5@gmail.com" ]
lienchewei5@gmail.com
4b4b97ee6dc3d053e9824f6858b4ea2d37b51add
8f807dc92c56e23051bee0da53ca3385b617a277
/Metodos de las Listas/Metodo extend().py
d90987e08d98a1348f2613966348618034b55988
[ "MIT" ]
permissive
JSNavas/CursoPython2.7
5063e5bbba2dbc5b446d5fc636f63077e51d2b9a
d1f9170dbf897b6eb729f9696a208880e33c550b
refs/heads/master
2021-01-23T04:58:14.861736
2017-03-26T18:56:09
2017-03-26T18:56:09
86,256,153
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
lista = [1,2,3,4,5] lista2 = [6,7,8,9,10] print "\nlista 1: " print lista print "\nlista 2: " print lista2 lista.extend(lista2) # El metodo extend te permite agregar los elementos de un lista # al final de la lista en la que se utilice este metodo print "\nLista extendida: " print lista
[ "jesusnavas2210@gmail.com" ]
jesusnavas2210@gmail.com
b01c50870d43d27528b044e7e7e500dcee1a7d3b
8484b5610f9a38d5f9de5066d546ac3c40f33872
/menocare/migrations/0005_auto_20200917_1601.py
3bf03b8e89baabba864df528c6df900ca848c056
[]
no_license
CleoMugs/dentist
580755db645481cc6ff39cd2603b78c67d70f497
e2892746f6f36ded31e887b982a862c470308c14
refs/heads/master
2023-01-19T19:58:29.046705
2020-11-27T19:36:25
2020-11-27T19:36:25
289,466,864
0
0
null
2020-10-29T18:20:37
2020-08-22T10:27:57
HTML
UTF-8
Python
false
false
610
py
# Generated by Django 3.1.1 on 2020-09-17 16:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('menocare', '0004_auto_20200914_1733'), ] operations = [ migrations.AddField( model_name='comment', name='photo', ...
[ "cleophas.mugeni@gmail.com" ]
cleophas.mugeni@gmail.com
e481852479752fcb39853e0c43406eb0b815c9e4
fd1e90d9689f822656e86fa66190f514ceb9a1d6
/baseresource/greenresource.py
f6e2512878d9fa6a0b9966d6c18b481c96017d2b
[]
no_license
HSATAN/twistwuzhong
9635b9c066ec267d3012a010c6f0531cd47be287
fffa7c4a559d7298d9ce158b67e41b17ce93d308
refs/heads/master
2020-03-18T19:26:54.334572
2018-07-26T06:16:59
2018-07-26T06:16:59
135,154,902
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# _*_ coding:utf-8 _*_ from __future__ import print_function from twisted.web.resource import Resource import json class BaseResource(Resource): def render_HEAD(self, request): print("-------------------") return self.real_HEAD(request) def render_GET(self, request): print("get------...
[ "2499090390@qq.com" ]
2499090390@qq.com
c3d6c4f46612b7f7c5ec6f9758883ee9cf8a0f4a
d051f3fe9fda31b72fa0ddce67aa1f4293c7c37c
/infer/local_gibbs_move.py
e8d91c772ccb38d12b759ff202759798f9ddefa4
[ "BSD-3-Clause" ]
permissive
davmre/sigvisa
4e535215b6623310d8f5da64258f6fa9a378f9fd
91a1f163b8f3a258dfb78d88a07f2a11da41bd04
refs/heads/master
2021-03-24T10:24:52.307389
2018-01-05T19:33:23
2018-01-05T19:33:23
2,321,239
0
0
null
null
null
null
UTF-8
Python
false
false
5,990
py
import numpy as np from sigvisa.models.distributions import PiecewiseLinear from sigvisa.utils.array import index_to_time, time_to_index """ Methods to propose a param value from a piecewise linear approximation to the Gibbs conditional. This can be based on either the full model posterior (proxylp_full) or a cheap ...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
33e0ba3e0a69e34cf7ebd41107f6f66e2889c636
c9293ab68d0235a1830a3634a41a5b65b4eb5d6a
/Lessons/Section-03/lesson_0087/main.py
525fed4f815ccabfb1476b840d227c9ecfdc9c6d
[]
no_license
lipegomes/python-django-udemy-studies
4f836497ee10ece7ee5b40af1b636bb1c03deb75
938fa6a05f9505b8eaf6e7e6bc1c5e199b670432
refs/heads/master
2023-01-07T01:22:16.855346
2020-11-03T13:49:54
2020-11-03T13:49:54
283,852,942
1
1
null
null
null
null
UTF-8
Python
false
false
1,200
py
""" Faça uma lista de tarefas com as seguintes opções: - Adicionar uma tarefa - Listar tarefas - Opção de desfazer (a5 cada vez que chamarmos, desfaz a última ação) - Opção de refazer (a cada vez que chamarmos. refaz a última ação) """ def show_op(todo_list): print() print("Tarefas: ") pri...
[ "fgdl.py91@gmail.com" ]
fgdl.py91@gmail.com
61a0658adaede368302467d0fb0ad563b60268ce
3a0ce86cc76764a2679c72a76f47e93aec7179a4
/Sorting/selection_sort.py
0c1b2daaa07528b2aa413e456d8f3f324b89a65f
[]
no_license
Dhruvilshah007/Algorithm
0753458137c128846bb002043921949e55eb1176
e80afaef8be2f04c2e1be93e4ef4ebe39dc72cb7
refs/heads/main
2023-01-02T15:21:26.004484
2020-10-28T16:10:54
2020-10-28T16:10:54
305,989,500
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
import sys A = [68, 25, 19, 22, 13,28] # Traverse through all array elements for i in range(len(A)): min_idx = i for j in range(i+1, len(A)): if A[min_idx] > A[j]: min_idx = j # Swap the found minimum element with # the first element...
[ "noreply@github.com" ]
Dhruvilshah007.noreply@github.com
86101da67dc69b3cac58cb47af9a1d72e4694e2d
0523e61836a65c2e17e5bfaeff95a9e61bfdb736
/Guess_a_number_game.py
7e1432fb9687d78fc7e5f7ed68f00f35ffb70c30
[]
no_license
Oalecia/Guess_a_number_game
31858f3b2c039e6aa4b930e8d02edb61cc583195
543c70f1bd41363d67406a0939d1a51e20f97678
refs/heads/master
2020-09-24T02:01:58.791883
2019-12-03T14:10:43
2019-12-03T14:10:43
225,635,709
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
print("enter a whole number between 1-10, You have 1 in 10 chance of being correct") from random import randint for _ in range(10): a=randint(0, 10) x=int(input()) if x<a: print("YOU LOSE! The number you have entered is too low") if x>a: print("YOU LOSE! The number you have entered is too high") if x==a: ...
[ "noreply@github.com" ]
Oalecia.noreply@github.com
843f7dd30cd608334a71cfb94397992fbe593252
e40a692c7aab30df0a752761e9f6d267d8a7150e
/FP/Backtracking/Presentation/console.py
2e9b4a5fce0c4df117788b9e6e9d17fef3a24aa1
[]
no_license
CombatFrog/facultate
fe42f86c3dab4e4b5e5cee4477e7a1feb6ddae99
ea1c780a0a0fcdad8ef64d11f6de897bc3abbbec
refs/heads/master
2020-09-25T00:01:55.777505
2020-07-17T17:21:41
2020-07-17T17:21:41
225,874,635
0
0
null
2019-12-15T16:29:29
2019-12-04T13:31:45
Python
UTF-8
Python
false
false
463
py
class Consola: def __init__(self, backIter, backRec): self.__backIter = backIter self.__backRec = backRec def run(self): lista = input("Introduceti elementele listei separate printr-un spatiu: ") lista.strip() lista = lista.split() for i in range(len...
[ "noreply@github.com" ]
CombatFrog.noreply@github.com
26513c4aa0154dcc45a9dbf4881271ce85f5368e
4a506391d992d3f24401c242c271da8b4308eb8f
/002_if/9498.py
a9715c355be92704acd3ff321dc9b00fc343cd7e
[]
no_license
shdev95lee/baekjoon
a7c036750642717792c0faec607c23608952d789
0ed04c46ee0d811c744689072fd4fe4fdca3c267
refs/heads/master
2023-06-08T01:11:14.160480
2021-06-25T14:48:39
2021-06-25T14:48:39
379,516,329
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
i = int(input()) if i>=90: print("A") elif i>=80: print("B") elif i>=70: print("C") elif i>=60: print("D") else: print("F")
[ "shdev95lee@gmail.com" ]
shdev95lee@gmail.com
34652e3f6e13b791804cf8ac33a2cdd8f0bc04b0
e128d23ac2326f54a6a7b5203be84b72871a9aba
/Code/App/Calculation/Sharpe_Ratio.py
af6688950a78272a13661d193980b0f5cee66fd5
[]
no_license
Jackson-lk/asset_allocation_stock_app
ec1b6090b8469a476c0028c2e645a9294049c67f
e1edf3dfb4c5626b138328c72cdd9a3c68ea6bd5
refs/heads/master
2020-03-19T17:31:54.868025
2018-06-14T03:10:22
2018-06-14T03:10:22
136,764,515
0
0
null
null
null
null
UTF-8
Python
false
false
2,593
py
import pandas as pd import numpy as np # Purpose: To calculate the sharpe ratio of each stock # VALUES # Risk free rate of 5 yrs from US Treasury in % risk_free_rate = 2.74 # 2018 inflation rate in % inflation_rate = 1.9 # Load the datasets df_stats = pd.read_csv('../../../Dataset_clean/stats_UtoD.csv') ...
[ "noreply@github.com" ]
Jackson-lk.noreply@github.com
e963b984443ec4d68c597960486998c74e5281de
be6e135014a7553b8f13b99435369e3d53b58585
/course_python/Python/student_oop.py
43d9d213d2b47e37a632402e8d7e6afe58f5f69c
[]
no_license
ankitsoni5/python
a5555a6371e12b170703b8c16a4e8aab5988a373
a5fcf618a476cb1745095f038b9118ce724c0b7e
refs/heads/master
2020-09-10T23:35:45.001477
2019-11-23T13:41:37
2019-11-23T13:41:37
221,866,000
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
from com.ankit.collage.student import Student #s1 = Student() #student object #internally # 1. get address - 4001 Student Object # 2. Student : __init__(4001) print(Student.count) # it will give the number of count of object created of Student class. s1 = Student('Abhishek', 'Male', 1, 90) #internally # 1. ...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
7d6fbcfbeb723b86d1115052aebf86319aa7389d
a120ea00b9512e47b48802279f60aaef5e06ff7c
/venv/Scripts/easy_install-3.7-script.py
fe42eadeaefb1a344a81828187305b625c38f229
[]
no_license
adriancelej/BUS1
18f28a3ed01b0b02f1336e9f4f2b8d319f2f8e06
3980106b472e52d71ca1549990281984ad217a83
refs/heads/master
2020-08-23T16:34:47.658163
2019-10-29T13:43:49
2019-10-29T13:43:49
216,664,028
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
#!C:\Users\admina\Desktop\Uczelnia\BUS\lab1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __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\....
[ "adriancelej@o2.pl" ]
adriancelej@o2.pl
fb8a8216c0d51fc8522fdf4c07e087b4f63e245d
2755eae09a7745181cd37c318c68dc57cef575e9
/test/functional/feature_addressindex.py
dc8d059db421e5b2c2cafc544a0c175f58b94cda
[ "MIT" ]
permissive
mytitanium/Titanium-Core-1.0
fe6f73fcfe7c41a2cbd4ed565d0709aae2609d10
470e6a0a23de1ea867d693e362d1a0f6ccc12aa7
refs/heads/main
2023-08-14T09:53:05.357854
2021-05-17T06:30:36
2021-05-17T06:30:36
314,249,910
0
0
null
null
null
null
UTF-8
Python
false
false
14,626
py
#!/usr/bin/env python3 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test addressindex generation and fetching # from test_framework.test_framework import BitcoinTestFra...
[ "mastergamer6sep@gmail.com" ]
mastergamer6sep@gmail.com
320548dc77bda75db17d8543c10650d8287d1bb6
a9c6b63c803d2f13f7ac0fd4ec13cfb21f9a5bea
/set-1/string to integer.py
fa63e9c7c54ca8a3d1e1f557e7b34a6622adeb93
[]
no_license
12345k/GUVI-Code-Kata-Player
8fe81fa84b798593d2aa0294ea85cf510fd15baf
54f1ed074159132045854032fee3902a843299b6
refs/heads/master
2020-03-07T18:53:26.612358
2018-04-01T17:38:37
2018-04-01T17:38:37
127,655,427
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
s = str(input()) d=int(s) print(d)
[ "noreply@github.com" ]
12345k.noreply@github.com
5200aa96e9d81415b1bb84e8b209ab236f306a51
87b7e17db8a76876f8fdbb36e790f8636f979e37
/blog/models.py
263683c4f71d9c53464933dbe001282fccf47020
[]
no_license
intel64/my-first-blog
3781819b03550e9dfe5c72522f9323fd0ca02cf7
9155fba4d00632231e3adf506d3cb2888dedb642
refs/heads/master
2020-04-10T01:42:45.530247
2018-11-26T12:04:37
2018-11-26T12:04:37
160,723,137
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.user', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( defa...
[ "ajayiolawale757@gmail.com" ]
ajayiolawale757@gmail.com
4620c177df3478e05cc6d84a76cbc7bc79c80768
7ce479cac0a14d924159db9c784e3325b8f0bce7
/schemaorgschemas/Thing/Intangible/StructuredValue/PriceSpecification/PaymentChargeSpecification/__init__.py
cd82c29e455e399753f86c2537f0d702dd8cd6b2
[]
no_license
EvelineAndreea/AGRe
1f0c27237eb047a60bbcfb8d73e3157035406409
b952125896a82741f6617c259dd4060954583180
refs/heads/master
2020-04-08T16:08:11.517166
2018-11-28T07:15:56
2018-11-28T07:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
# -*- coding: utf-8 -*- from schemaorgschemas.Thing import potentialActionProp, descriptionProp, sameAsProp, imageProp, urlProp, mainEntityOfPageProp, additionalTypeProp, alternateNameProp, nameProp from schemaorgschemas.Thing.Intangible.StructuredValue.PriceSpecification import validFromProp, priceCurrencyProp, priceP...
[ "mihai.nechita95@gmail.com" ]
mihai.nechita95@gmail.com
918ad7bb0117b30c6486fbc80d1fd1b193eca18c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_393/ch118_2020_10_04_20_23_11_549205.py
0e12279bb35457c3ba0953ad701ea15292ec51a7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
import math def reflexao_total_interna(n1,n2,teta2): y= math.radians((((n1/n2)*math.sin(math.radians(teta2))))) if y > 1: return True else: return False
[ "you@example.com" ]
you@example.com
94c2bb9f2bf5ff780817f95501a01d2d0f22465d
d24631b5de1b16a2d066c549287c0bddfcf599cc
/src/profiles_project/profiles_api/migrations/0001_initial.py
292d9e4c9a3d11a364617d2a56562c436a4fdee3
[]
no_license
devomacdee/rest_profile_feed_api
d4ac796daeab5c22bb668647a14444096b319a33
1899e716d0f86e899157a9f32a1aaf43755a8898
refs/heads/master
2020-12-30T16:45:27.978687
2017-05-11T20:25:47
2017-05-11T20:25:47
91,020,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-05 14:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0008_alter_user_username_max_length'), ] operations = [ ...
[ "devingmccoy@gmail.com" ]
devingmccoy@gmail.com
a6967f5aeb2b2541339e96e0ff361039c1c4a1ef
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5753053697277952_1/Python/wiz4rd/solve.py
71ffac888475eabb0c81b27c4c0114a8c34376e6
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,255
py
# http://code.google.com/codejam/contest/4314486/dashboard#s=p0 from collections import defaultdict from re import match from numpy import array, argsort from time import sleep from numpy.linalg import matrix_rank def biggest(a,N): return argsort(a)[::-1][:N] def absolute(ls): s = int(sum(ls)/2);return any(e>s...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
77c496af1b25470977c1b8ab2fc6ed1d657e8f60
e972ebd59711a786780f4178f5b717fe245fd0a3
/Python/6thOct-13.py
3102deeb91980ca5c7cc047de29b64c79cdc3502
[]
no_license
sai-varshith/make-pull-request
a46ed30803070fc28fd0b70a152779e53f98bcad
8e1faa342fae423731090d271314cd5b9e23a9db
refs/heads/master
2023-08-14T11:25:41.460714
2021-10-02T05:00:27
2021-10-02T05:00:27
412,333,564
3
0
null
2021-10-01T05:02:53
2021-10-01T05:02:52
null
UTF-8
Python
false
false
593
py
def prime_check(num:int) -> int: if num > 1: for i in range(2, num): if (num % i) == 0: return 0 break else: return 1 else: return 0 def print_fibbonaci(n : int): n1, n2 = 1, 1 count = 0 while count < ...
[ "noreply@github.com" ]
sai-varshith.noreply@github.com
86dd4a53a05804ddf9ffde57e4cac11196104618
eac714c071af0dbd4edb46e7a85bc78646c8d6d1
/coworker/cities/admin.py
91d448674ecc2599d29434c62681d9bffb441a39
[ "MIT" ]
permissive
spacesmap/2
b38cc31f65533f469aef154fe3fd4990928874ea
83dbd29eeab063e40d787143b614313e93e609d9
refs/heads/master
2021-06-30T10:01:19.224033
2017-09-23T02:08:31
2017-09-23T02:08:31
104,549,850
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.contrib import admin from .models import City class CityAdmin(admin.ModelAdmin): list_display = ('name', 'level_type', 'status') admin.site.register(City, CityAdmin)
[ "arti3d.artem@gmail.com" ]
arti3d.artem@gmail.com
8a79220de4482d143c6b5692428d1cb67498137b
6a367892596ccf3ef0de0354edaba76a8a5175e4
/Online Judges/Hackerrank/Medium/Iterables and Iterators.py
54d6f216a7fa19825eed27866f1c3992e79483a4
[]
no_license
thepankj/Data-Structures-and-Algorithms
97930e6502f679d4edfd6f46aa8fa00b60129837
9e80e0c803f3518c3f5cc9c083049f6cf4c3e0a9
refs/heads/main
2023-03-23T01:42:52.226914
2021-03-17T10:40:32
2021-03-17T10:40:32
325,464,116
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
#!/usr/bin/env python # coding: utf-8 # In[28]: from itertools import combinations N = int(input()) letters = input().split() K = int(input()) combs = list(combinations(letters, K)) fav_outcome = 0 for i in combs: if 'a' in i: fav_outcome += 1 tot_outcome = len(combs) prob = round(fav_outcome/tot_outcom...
[ "noreply@github.com" ]
thepankj.noreply@github.com
2ddc5ca7f522f8159ec1ca17599d40bf2c4eca88
912c4445e7041869d1c8535a493b78d7ee35424b
/status/api/tests.py
fc4d45246e3fead061e60c2bd54215da6084c563
[]
no_license
maltezc/Udemy-DjangoRestAPI
3f243ec97ea5e8e9d6ddc2005986b6a05aa11097
de6f885cf0cddaf22fb6fd72d18fc805b9ce48d2
refs/heads/master
2022-12-14T06:04:43.011691
2018-08-05T01:10:17
2018-08-05T01:10:17
140,590,753
0
0
null
2022-11-22T02:48:04
2018-07-11T14:56:08
Python
UTF-8
Python
false
false
7,199
py
import os import shutil # shell utility method import tempfile from PIL import Image # pip install pillow from django.urls import reverse from rest_framework import status from rest_framework.reverse import reverse as api_reverse from rest_framework.test import APITestCase from django.contrib.auth import get_user_model...
[ "cflux.maltez@live.com" ]
cflux.maltez@live.com
a7c21d54856656b32e6782e79fe32019a7febf32
53b655c84f286de198e8ac896259d1d164d4d1f8
/childpages/plotpage.py
9462bad75b6d83c0fb932018f45512996aa0c992
[]
no_license
dragondjf/MetroMathPlot
d88643d041b9da102c6d78343bb4daf909085fa5
5b81edbecd29c0b2a339d4879930b623aa795914
refs/heads/master
2016-09-01T19:19:16.418917
2013-04-27T13:32:29
2013-04-27T13:32:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,007
py
#!/usr/bin/python # -*- coding: utf-8 -*- from PyQt4 import QtGui from PyQt4 import QtCore from guiutil import * import configdialog import util from appserver.wavehandler import WaveReplayHandler, WaveThreadHandler timeinteral = 100 class PlotPage(QtGui.QWidget): def __init__(self, parent=None): super(P...
[ "dragondjf@gmail.com" ]
dragondjf@gmail.com
f2b6801a79a953ed612d01a8adbf08cb086b9b60
587fca08b9c312315649eb388b1fe632ab6e9384
/venv/Scripts/pip3-script.py
1de906d033ac6205b28c88d6ed75eb67cb24e625
[]
no_license
Ahmadam37/Swift_Project
c3eacdac0954b3601204778aec2be0d73b7d8d07
f5398bc835f312e663570d7e070696eb44628671
refs/heads/master
2020-07-07T18:45:26.522466
2020-02-02T07:16:20
2020-02-02T07:16:20
203,442,943
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!C:\Users\admin\PycharmProjects\FDay\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "ahmadam37@hotmail.com" ]
ahmadam37@hotmail.com
a211d928cc23259cc403575946215f38bf503b3d
69d70a66b4636d381eb01a0d1985b52cced599d6
/decorativeFrame.py
74c478831a016fef8f1e3254a3607fdb36bb1e6b
[]
no_license
rmainhar/147_Image_Artist
b10cf70113ed56416a87ce20b169be50d10049a2
717f646d506413229e432fd96ecef84b19d6fffd
refs/heads/master
2021-01-25T13:36:44.468677
2018-03-13T20:42:11
2018-03-13T20:42:11
123,596,874
0
0
null
null
null
null
UTF-8
Python
false
false
4,010
py
import PIL import matplotlib.pyplot as plt # single use of plt is commented out import os.path import PIL.ImageDraw def frame(original_image, color, percent_of_side): """ Places a frame around a PIL.Image Change line 37 so that use_decorative_frame is False to answer Step 10. original_image m...
[ "rmainhar@shakopee.k12.mn.us" ]
rmainhar@shakopee.k12.mn.us
b5a4664e72adb9bca48d7513d00d7273c3814693
a2c2f7611f2711eb88c0d858c61a9f8dd3a72c1e
/src/courses/views.py
d6c48a3270296e984312a84bcc48751f6a325e1a
[]
no_license
apgomez85/trydjango
982e29f823be1f991ee158f3c520dcc147ce5cee
7642e64100a86c49a83e14b080625fdc8fc376ca
refs/heads/master
2022-11-06T11:53:47.460460
2018-08-04T03:14:38
2018-08-04T03:14:38
143,228,918
0
1
null
2022-10-20T09:20:36
2018-08-02T01:58:49
Python
UTF-8
Python
false
false
1,085
py
from django.shortcuts import render, get_object_or_404 from django.views import View from .models import Course # BASE VIEW CLass = VIEW class CourseListView(View): template_name = "courses/course_list.html" queryset = Course.objects.all() def get_queryset(self): return self.querys...
[ "apgomez85@gmail.com" ]
apgomez85@gmail.com
56488b551df60e95a3b374f9f34cef3c06407dd2
dbc35a06a6070c2a628fa601f265459085bdee21
/spencersapp/anil 1/0021_auto_20210201_1150.py
7f25be06ca1fb24b7cbe2f2e6c221d4f6f0d5031
[]
no_license
anilanu-hue/storeproject1
34ac0f2b53df42d0c18bd5c38d09300d3fb0b68b
17281c495d56b27bf0c11ab70ba9b197500dd179
refs/heads/master
2023-04-14T14:16:42.490785
2021-04-15T07:31:07
2021-04-15T07:31:07
358,165,268
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# Generated by Django 3.1.2 on 2021-02-01 06:20 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('spencersapp', '0020_auto_20210201_1150'), ] operations = [ migrations.AlterField( model_name='brand', ...
[ "anilanu4367@gmail.com" ]
anilanu4367@gmail.com
9d62730d91c81e90b92bfda809246a2eba0364c3
c365df5959c5fceca29899fb7eb2c06e83b793df
/001_目标检测实践_keras版YOLOv3训练自己的数据/code/_06_yolo.py
23996a288158a788c539db160a14489d6dabbfc0
[ "MIT" ]
permissive
ami66/AI_projects
d194f40211a259fde9c30c79bfd3fe5b0ce3802a
e6376e8f84e32b8309ed8ae4a32a60b8eb7382ac
refs/heads/master
2020-12-28T18:41:35.163249
2019-12-24T03:28:00
2019-12-24T03:28:00
238,445,296
1
0
MIT
2020-02-05T12:29:26
2020-02-05T12:29:25
null
UTF-8
Python
false
false
8,759
py
# -*- coding: utf-8 -*- # 导入常用的库 import os import time import numpy as np # 导入keras库 from keras import backend as K from keras.layers import Input # 导入yolo3文件夹中mode.py、utils.py这2个代码文件中的方法 from yolo3.model import yolo_eval, yolo_body from yolo3.utils import letterbox_image # 导入PIL画图库 from PIL import Image, I...
[ "474933858@qq.com" ]
474933858@qq.com
603882c35d1658fbb70d32cc0a4adab196eec5d2
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuits_operations.py
aa23a5fe60e0f1801b53387edc44271fb622cf79
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
52,312
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
9e891b8cbcbe8409b9682741e1d9a58a350a8144
f1183482e47167a9020046c061a53b88179193ec
/scripts/outcomes/site_gains/get_p_values.py
27bcdbdfc5aebf9759788126a2a688639809f241
[ "MIT" ]
permissive
morrislab/plos-medicine-joint-patterns
a7a4ff4ce5f16d673fe2af48429ebe43b5132458
cfdc6dd4854ec33e7e2efbf36d648b65d278df33
refs/heads/master
2020-04-17T09:33:09.077084
2019-01-18T19:33:32
2019-01-18T19:33:32
166,462,950
1
1
null
null
null
null
UTF-8
Python
false
false
2,528
py
""" Calculates P-values from the permutation test. """ import feather import functools as ft import numpy as np import pandas as pd import tqdm from click import * from logging import * from statsmodels.sandbox.stats.multicomp import multipletests def get_stats(df: pd.DataFrame, df_baseline: pd.DataFrame) -> pd.Dat...
[ "simonwmeng@gmail.com" ]
simonwmeng@gmail.com
c93ad99254f4c0e85f1924faf26875ded721372d
7f73e92e8fc1c1562e3743c886257eda68b407d7
/visual_filters.py
b73802558988846bfa3a525f9e8991f85eed061d
[]
no_license
fendaq/CNN_feature_visualization_pytorch
a9be03d747b8cf4f9a0acd959a08e7b03cbdb464
1e2c8e16735174e231e03e48b2cd0de4f84ffc1b
refs/heads/master
2020-04-14T22:49:21.154362
2019-01-04T11:57:24
2019-01-04T11:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import torch import torch.nn as nn from torch.autograd import Variable from torchvision.models.vgg import vgg16 import cv2 import copy import numpy as np import matplotlib.pyplot as plt from utils import deprocess_image # https://discuss.pytorch.org/t/why-cant-i-see-grad-of-an-intermediate-variable/94/6 grads = {} ...
[ "znzx075hl@gmail.com" ]
znzx075hl@gmail.com
3c7381700dd51e46681693cb02fba56bbe79e2f3
cea30aead7f0b529ee072c1bcab2896777e1408d
/PreprocessingCropsData/venv/Lib/site-packages/mpl_toolkits/tests/__init__.py
d5bd2047c484dceb46dbd677b7d1236edf7ab7ae
[]
no_license
pgj9702/FarmSolution
3730ab3ca983b335ed48a60935c5fa6e3983cbb1
a8cacc45b8519e79b51ab65b9539a01f5006e64f
refs/heads/master
2023-03-30T15:41:10.312044
2021-03-31T08:47:23
2021-03-31T08:47:23
334,019,778
0
1
null
2021-02-22T09:32:57
2021-01-29T02:52:46
Python
UTF-8
Python
false
false
375
py
from pathlib import Path # Check that the test directories exist if not (Path(__file__).parent / "baseline_images").exists(): raise IOError( 'The baseline image directory does not exist. ' 'This is most likely because the test area_data is not installed. ' 'You may need to install matplotl...
[ "cao147147@naver.com" ]
cao147147@naver.com
04d560051f784a7adef1e2450c98a8917ecc9863
297efd4afeb46c0b56d9a975d76665caef213acc
/src/multiplicity/migrations/0044_referencespacelocation_active.py
c685d927bce6613caf9aa25e774e3ac226361258
[ "MIT" ]
permissive
metabolism-of-cities/metabolism-of-cities-platform-v3
67716c3daae86a0fe527c18aef26ce29e069cbcc
c754d3b1b401906a21640b8eacb6b724a448b31c
refs/heads/master
2022-12-06T22:56:22.207853
2020-08-25T09:53:51
2020-08-25T09:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# Generated by Django 2.1.3 on 2019-03-04 07:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('multiplicity', '0043_auto_20190209_1723'), ] operations = [ migrations.AddField( model_name='referencespacelocation', ...
[ "paul@penguinprotocols.com" ]
paul@penguinprotocols.com
6ed344da8865beb7c48cefcf899b613e6539128e
62d82c9cbd336dbe0b2659b33a6d27b44175757c
/pages/navigation_catalog_page.py
6cbf47d10c6d60631c02bae8c87bfb8e3834d02a
[]
no_license
deingvard/python_shop_by
9c44d2fc3b3adaba05531d3794eead9a1aa8efc5
7db4914f5a2e97452e773b62c04a341c240ba687
refs/heads/master
2022-07-17T04:56:54.530450
2019-09-26T10:12:18
2019-09-26T10:12:18
210,331,617
1
1
null
2022-06-21T22:52:59
2019-09-23T10:52:34
Python
UTF-8
Python
false
false
450
py
from selenium.webdriver.common.by import By from webium import BasePage, Finds, Find class NavigationCatalogPageLocators(BasePage): sections = Finds(by=By.XPATH, value="//span[contains(@class, 'Catalog__SectionLevel1')]") subsections = Finds(by=By.XPATH, value="//span[contains(@class, 'Catalog__SectionLevel3'...
[ "iiuliyeu@scnsoft.com" ]
iiuliyeu@scnsoft.com
a02e962f1c5d82a41e748de8fb1d38b119166c0c
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/CondTools/Ecal/python/copyTrivialAlignEB_cfg.py
c690529c0fa086e7e9df506f16670a72c30d21b9
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
Python
false
false
1,416
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") process.load("CondCore.DBCommon.CondDBCommon_cfi") #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL' #process.CondDBCommon.DBParameters.aut...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
5bdcc6cf975d1c91609041403c71ecffcb959e0c
62def70e2d802375b1ad28b0ac85fee2010ee0a9
/displays/ws2801/rainbow.py
f9bd668f5edc1adab7f890ed626b53de332c52fb
[]
no_license
MarkAYoder/BeagleBoard-exercises
c48028b6e919d8c04dedfd2040a133c760f0f567
2fab7c7f7aa09bf101168dfb279e690bc43a6514
refs/heads/master
2023-07-22T08:06:19.482358
2023-07-12T19:24:51
2023-07-12T19:24:51
5,111,513
48
41
null
2021-07-29T18:02:29
2012-07-19T15:07:14
JavaScript
UTF-8
Python
false
false
1,091
py
#!/usr/bin/env python import time import math import sys from LedStrip_WS2801 import LedStrip_WS2801 amp = 10 f = 10 shift = 3 def fillAll(ledStrip, color, sleep): for i in range(0, ledStrip.nLeds): ledStrip.setPixel(i, color) ledStrip.update() def rainbow(ledStrip, nrOfleds): phase = 0 skip ...
[ "Mark.A.Yoder@Rose-Hulman.edu" ]
Mark.A.Yoder@Rose-Hulman.edu
0b11a394b645fdd4f2e368526624bb6177ad07cc
92fd8a66047915437783185f3bd181e997745554
/nonebot/drivers/fastapi.py
841b82e5ad82fc9bda6b7da1a3b2b82c7f896be9
[ "MIT" ]
permissive
pollidwtymje/nonebot2
a14b357f258be51c6cde6693ae1f313893a6a03e
a068040cbfc1284943eb8a65f6256e850df258a3
refs/heads/master
2023-02-03T07:43:19.185069
2020-12-15T05:55:03
2020-12-15T05:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,401
py
""" FastAPI 驱动适配 ================ 后端使用方法请参考: `FastAPI 文档`_ .. _FastAPI 文档: https://fastapi.tiangolo.com/ """ import hmac import json import asyncio import logging import uvicorn from fastapi.responses import Response from fastapi import Body, status, Header, Request, FastAPI, Depends, HTTPException from starlet...
[ "yanyongyu_1@126.com" ]
yanyongyu_1@126.com
4b1e41f432815b21dae58574c8193c76b20fb975
437c588da217fa0a3292fe3013b1325642b9f785
/apis/bin/pip
c29a8145ee6409f8eb474b479d3578ec5cda755e
[]
no_license
isemona/okta_api_testing
1f508b423023a4c87270014513a5c81e9cfcc32e
da252e7147d2717661ba5ff902f5339945db009f
refs/heads/master
2022-12-11T18:18:54.668981
2020-03-25T06:33:11
2020-03-25T06:33:11
247,847,717
0
0
null
2022-12-08T03:50:29
2020-03-17T00:55:47
Python
UTF-8
Python
false
false
244
#!/Users/semonaigama/okta_apis/apis/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "semona.igama@gmail.com" ]
semona.igama@gmail.com
cd892113b1909bb023c20fdd7b877cfbcf19debb
f6a61ffb8eb720fa1505d1ca1f52a3436968c6a1
/phys5794-homework1/phys5794-homework1-problem3.py
3294c90349b103180abeb1345de4f41109658ecf
[]
no_license
thominspace/phys5794-homework
6edc3ab6680cd847f652236e749daa0ce638b4be
60c04e0b98fbc7351a5d42fbdd1cabdc4b224408
refs/heads/master
2021-01-21T13:08:30.985763
2017-10-20T00:43:46
2017-10-20T00:43:46
51,550,711
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
# Thomas Edwards # PHYS 5794 - Computational Physics # 1/27/16 # Homework 1, Problem 3 # Problem statement: # Write a program to calculate the integral # exp(-x) dx, x = [0, 1] # and estimate its numerical accuracy by using the Simpson rule. The numerical accuracy can be # obtained by comparing with the analytical res...
[ "thominspace@gmail.com" ]
thominspace@gmail.com
5d69698ad01bbd10caf8a04dc238435399c102a0
c099f8d5b255320929ef9ee73bf8f51ceffdd655
/ball.py
2601e92ed66d68a2e606eac30dc225a384ddf250
[]
no_license
honcyeung/Ping-Pong-Game
7086c85a3f9b1dad31938f017de0c6b0228d18c6
edd88e558767b10f6460027c281acdeea160e9d9
refs/heads/main
2023-07-06T01:50:25.143885
2021-08-11T15:40:22
2021-08-11T15:40:22
395,037,890
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from turtle import Turtle class Ball(Turtle): def __init__(self): super().__init__() self.shape('circle') self.color('white') self.penup() self.speed('slow') #self.goto(0,0) self.x_move = 10 self.y_move = 10 self.move_speed = 0.03 ...
[ "noreply@github.com" ]
honcyeung.noreply@github.com
d0e0fa8c7ca3e92cb5dfab6cb3b690dae9ab9b27
9098740c69d805bf373000e6573854bd4c0de698
/Matplot/matplotExercise.py
d6eb4c6782b5d15b0eec18e069fa9a4d3d374677
[]
no_license
sureshk2a/Python-for-DS-and-ML
0d3bbd762d2b0f1fa76c551c57570023bbc77db9
c07a72c293a6d5eb9a0deeeab74eb8dca4979832
refs/heads/master
2022-11-26T10:03:09.662502
2020-08-03T00:39:56
2020-08-03T00:39:56
260,941,816
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import matplotlib.pyplot as plt import numpy as np x = np.arange(0,100) y = x*2 z = x**2 fig = plt.figure() ax = fig.add_axes([0,0,1,1]) ax.set_xlabel("X") ax.set_ylabel("Y") ax.set_title('title') ax.plot(x,y) plt.show()
[ "34769206+sureshk2a@users.noreply.github.com" ]
34769206+sureshk2a@users.noreply.github.com
9e66eff52beda5e4b7d85385b65e31b1f2b2ddbe
24a46dc04333b50c90f726b6d9a95d5638aae826
/DRestFramework/DRestFramework/asgi.py
262b28ca2b05f57f0059acbfdcc1dccb2c0451d2
[]
no_license
oguzhanztrk/DjangoProjects
e576c70d8951173c75a736e33a11a085191780e1
59802330805d1f5e715f049d66b14bc18dcff40f
refs/heads/master
2023-02-07T07:23:35.835487
2021-01-01T16:07:53
2021-01-01T16:07:53
288,226,258
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" ASGI config for DRestFramework project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "oguzhan.ztrk14@gmail.com" ]
oguzhan.ztrk14@gmail.com
6daab6643f2616881eb6b9a8fd052c5011a42ce3
1f4808e60d8753401b480d453d493ace634e3fe9
/e_business_spider/amazon/amazon/spiders/review_detail_spider.py
9772484f06c216ef79903dc79368b9ec02105655
[ "MIT", "Apache-2.0" ]
permissive
yousuowei123/e_business_spider
824124b122dc757f4cded53cd182c6c8b0d50c4b
74c26811693491607f1ef13db4876176c07c8d57
refs/heads/master
2021-04-06T06:13:19.706637
2018-03-13T01:58:46
2018-03-13T01:58:46
124,976,791
0
0
null
null
null
null
UTF-8
Python
false
false
6,537
py
import math import subprocess import scrapy from pydispatch import dispatcher from scrapy import signals from amazon.helper import Helper from amazon.items import ReviewDetailItem, ReviewProfileItem from amazon.sql import ReviewSql class ReviewSpider(scrapy.Spider): name = 'review_detail' cust...
[ "noreply@github.com" ]
yousuowei123.noreply@github.com