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
a3dafb3d4576186964f7d3265b17eb05cf0d5f78
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/359/usersdata/282/109815/submittedfiles/lecker.py
ac07eef3ffae2806101fd83deb886992b12a8634
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# -*- coding: utf-8 -*- c=int(input('Digite o número de consultas: ')) pedidos=[] fabricados=[] for i in range (0,c,1): pedidos.append(int(input('Digite o tamanho do taco: '))) for i in range(0,c,1): if pedidos[1] not in fabricados: fabricados.append(pedidos[i]) fabricados.append(pedidos[i]) pri...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e0719050ff49a3b843702d0edb828058ac1fa8b4
72dc9db1fa6272b1148f90e19d88799962075275
/azureEventHubRSS.py
19ef668a924935a80c5e6ae8c64a0a6fbd44ba67
[]
no_license
Gyt94/PPD1516-CloudComputing
73e33bd395dcdb552da16ffce6363fcd201f9955
1acb14d315703fe98c05371df10103dde78f65dc
refs/heads/master
2021-01-18T22:40:21.424336
2016-06-04T10:53:43
2016-06-04T10:53:43
49,195,558
0
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
from azure.servicebus import ServiceBusService import json,codecs import feedparser import time import config cpt = 0 sbs = ServiceBusService(service_namespace=config.servns, shared_access_key_name=config.key_name, shared_access_key_value=config.key_value) # Create a S...
[ "gygy.tho@gmail.com" ]
gygy.tho@gmail.com
f05442e9741b182f1e7c3ffa18d1cc16ef6bc203
7b1c5c1236caa3a79f6c7834a217d952d41d9347
/portfolioWebsite/urls.py
f8537ba9a97684c9ad4ef837501d0191cdabaaab
[]
no_license
WallerTheDeveloper/portfolio_website
b00002387aef9aa3b4327552b3d7fce8f4187646
a4e17b9c278a1c118ea40061e7a35cdf6fd77bf2
refs/heads/main
2023-08-29T08:44:10.643796
2021-10-16T19:53:39
2021-10-16T19:53:39
417,798,840
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
"""portfolioWebsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "golo7ov.danil@gmail.com" ]
golo7ov.danil@gmail.com
b41aa3d3259e4334540595adda736be80537b7a5
9dc178afac0e82800e2f8466a3d9850339db3a59
/Assignment 4/settings.py
7b0142a9ea0fa0b4adc242902946241e632487b3
[]
no_license
katherinevelasco/SoftwareDesign
3d9d14686e1dd047432846a6a609a88789f84da2
50531c6826aeb7b4b30e72dd7d956dfab89ecb55
refs/heads/master
2022-12-01T21:03:53.831025
2020-08-03T07:19:00
2020-08-03T07:19:00
273,292,546
2
0
null
2020-06-18T17:00:03
2020-06-18T16:50:51
null
UTF-8
Python
false
false
3,185
py
""" Django settings for djangoProject project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
[ "noreply@github.com" ]
noreply@github.com
116c698dc0441a0dfb1b2be68349f103920bfe2f
35a237030be25c38932368f6914db78acef7158e
/python_zipfile.py
46043e411c8f425f4c5f31eb4590541934f5d12e
[]
no_license
Tanvir-Chowdhury/Python-Modules
39206e2e5a541ecd69e208c6530cd22eed3d9f04
1523a82b8ad739120c6c5c98f01f775c8ababaae
refs/heads/master
2023-06-23T21:57:50.233719
2021-07-28T12:16:55
2021-07-28T12:16:55
271,040,510
1
0
null
null
null
null
UTF-8
Python
false
false
747
py
from zipfile import ZipFile import os def get_all_file_paths(directory): file_paths = [] for root, _, files in os.walk(directory): for filename in files: filepath = os.path.join(root, filename) file_paths.append(filepath) return file_paths def main(): filepaths = get_a...
[ "tanvirvlogger@gmail.com" ]
tanvirvlogger@gmail.com
edf5e83b359ed5b8efb8591884d8569faa659898
17baf167558456f2aaa702abdd3e95d33e1e1cd8
/gics/gics/wsgi.py
4b05ddba7d0a473c34e6281ef553af38168f227f
[]
no_license
jilljenn/gics.fr
e746d0ba901d5d59b8942f8d869a330b957c455c
8a6a850a4011b88bf93b7776e97465c3554ea608
refs/heads/master
2020-04-06T04:13:54.883582
2017-02-24T10:03:46
2017-02-24T10:03:46
83,024,726
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for gics project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gics.settings") from django.core.wsgi im...
[ "vie@jill-jenn.net" ]
vie@jill-jenn.net
766956206154a35eeb62808af4bc7e50542f7f8a
1805a5bb1eb1256da8359f7ace546b9ebe29f293
/games/tables.py
fbb153f96d29046e5af5472bec42ca8d8f82d62a
[]
no_license
loztop/oxaside
57e48e45360dd80ba9315931334a78bc3d9ca80f
9efca323820fbbc5ec69528bd14d37f9742ad028
refs/heads/master
2022-11-28T16:59:35.941956
2015-01-27T15:32:49
2015-01-27T15:32:49
29,323,550
0
0
null
2022-11-22T00:24:35
2015-01-15T23:33:52
JavaScript
UTF-8
Python
false
false
2,332
py
import django_tables2 as tables from games.models import Game from django.utils.safestring import mark_safe from django.utils.html import escape class DeleteColumn(tables.Column): empty_values = list() def render(self, value, record): return mark_safe('<button id="%s" class="btn btn-info">Delete</...
[ "lorenzuberger@gmail.com" ]
lorenzuberger@gmail.com
d4ef79f1d42135b241425cfb23eada729d85805d
420f974d85376031e66bb7241caedee1675b93ec
/init.py
a071836a49381b59b0ae48ee879ae0dacc8fbade
[]
no_license
uiandwe/chatting
060c8b513ecd53db9519c97f99198c09cc918e0a
e8430cf4db173d44ee37601b96a8028271000cd1
refs/heads/master
2020-04-01T23:33:02.324646
2016-06-29T02:26:53
2016-06-29T02:26:53
62,188,927
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
__author__ = 'hyeonsj' # db host = '127.0.0.1' user = 'root' passwd = 'spoqa' db = 'spoqa' charset = 'utf8' # logging level # debug 10 # warning 30 # error 40 log_level = 10
[ "uiandwe@gmail.com" ]
uiandwe@gmail.com
15a008b1080fa777b4e6d8d5a5e00ca0b967ea59
3a351e36919aa20e833e26543f25b9e47761d42e
/filter.py
940b83fab992d5ebdf1fd9b70eda2f67fa8e09e3
[]
no_license
047/pyspark_exercise
56d4fb57e7d0817ccd84e39364bb4ae487b3d7b4
7d96d3182f397b8f6f51294ea43f6e6a2bdd6649
refs/heads/master
2023-04-23T23:21:08.523092
2021-05-17T18:34:41
2021-05-17T18:34:41
368,286,971
0
0
null
null
null
null
UTF-8
Python
false
false
1,977
py
import sys from os.path import exists from pyspark.sql import SparkSession from pyspark.sql.functions import col def filter_clients(personal_data_path, financial_data_path, countries_of_interest): spark = SparkSession.builder.getOrCreate() spark_context = spark.sparkContext log4jLogger = spark_context._j...
[ "m.d.volodin@gmail.com" ]
m.d.volodin@gmail.com
75909244f23ef13c6850631c801a95fcc525f524
e32ee307e4c59cc18f9dea18d797784a1b23148f
/calculate the number of local extrema in the given array..py
b2eb8e2bd69cb0f68b09931e45bd4707c0c00a29
[]
no_license
GuhanSGCIT/SGCIT
f4ab44346186d45129c74cbad466c6614f9f0f08
8b2e5ccf693384aa22aa9d57f39b63e4659f6261
refs/heads/master
2020-07-11T05:47:54.033120
2020-07-07T05:02:41
2020-07-07T05:02:41
204,459,836
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
n = int(input()) l = [int(x) for x in input().split()] count = 0 for i in range(1, n-1): if (l[i]>l[i-1] and l[i]>l[i+1]) or (l[i]<l[i-1] and l[i]<l[i+1]): count+=1 print(count)
[ "noreply@github.com" ]
noreply@github.com
7b13f2453af39f2d8ce8980fb548903267988fb9
e47d5da2a947c3b3a834817d0b084ee65d302067
/atcoder.jp/aising2020/aising2020_b/Main.py
066248010306017828be4a1ada26949f6befc4c7
[]
no_license
aki-nlp/AtCoder
3293b9b183c0a8cefbf20d7f4f491c6f1e7604b8
9385805cbb1fa158f6d3c4a2415cdf7ba94547e5
refs/heads/master
2023-02-25T06:04:10.913237
2020-10-03T12:02:00
2020-10-03T12:02:00
296,792,313
2
0
null
null
null
null
UTF-8
Python
false
false
217
py
def main(): n = int(input()) a = list(map(int, input().split())) a = a[::2] ans = 0 for aa in a: if aa%2 == 1: ans += 1 print(ans) if __name__ == '__main__': main()
[ "akiuo.ou@gmail.com" ]
akiuo.ou@gmail.com
4fc2004df32c632fb5b93a61788feb353544192a
b65325d8381b2cd1d0306c441915b621aae3b372
/day3.py
bd97d9daf51544f13b2644d0d904e237206b781c
[]
no_license
ljuba95/advent2016
fe435007db41a4f191d4b3e118fc4aa7af71df4c
d2a50f7f1c3e62fceee4b936e6fbb2176c0ccd9c
refs/heads/master
2021-01-22T23:06:53.826487
2017-03-25T18:19:08
2017-03-25T18:19:08
85,611,359
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
num = 0 with open("input/input3.txt") as f: for line in [x.strip() for x in f.readlines()]: [x, y, z] = sorted(map(int,line.split())) if x + y > z: num+=1 print(num)
[ "ljuba95@hotmail.com" ]
ljuba95@hotmail.com
7138199d17ce5d21d5395a8ea2228f815ea2bb79
27acb207b21b4572561de4a5f7dfb9740318c0b8
/Python-Data-Representations/Week1/Ex6_W1_substring.py
b5a1afe3b91a4d51ec0978800eac5b19ff906c2d
[]
no_license
iamieht/intro-scripting-in-python-specialization
ee836ef05b62f6c74fe8da3ee137687b4d0035cf
8ea4f85f0ed3dcd541f89521c013335e9eb32980
refs/heads/master
2021-01-16T05:35:51.616276
2020-06-08T18:39:45
2020-06-08T18:39:45
242,993,577
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
""" Function that tests for substring """ def is_substring(example_string, test_string): """ Function that returns True if test_string is a substring of example_string and False otherwise """ # enter one line of code for substring test here return test_string in example_string # Tests ...
[ "iamieht@gmail.com" ]
iamieht@gmail.com
42e3bf03fca2ccebb1cc469a3293a7cde0dec928
260611f7fa8743dd0080affbedf63d882f8c0f56
/Maison.py
23010504748f331049968ff49881b5bedc91fd72
[]
no_license
servajon/jeu
4b18cfacbaee4b5a7423f979df31777967418173
d885254acce5eeacb7529bad509b162143050443
refs/heads/master
2023-03-01T10:22:57.605456
2021-02-11T16:31:18
2021-02-11T16:31:18
337,098,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
import pygame class Maison(object): def __init__(self, x, y, nom): self.nom = nom self.x = x self.y = y self.centrex = x self.centrey = y if self.nom == 'Artichaut': self.sprit = pygame.image.load('sprit/assets-image-maison-Fruit+Légume/maison-artichaut...
[ "m.servajon@laposte.net" ]
m.servajon@laposte.net
72ad00e39cc8e6c09b50e778412f8d9d2094a9e5
3996539eae965e8e3cf9bd194123989741825525
/EventFilter/Utilities/rawStreamFileWriterForBU_cfi.py
55b0b4128380e1fd75980e1887abc4c5ada3b947
[]
no_license
cms-sw/cmssw-cfipython
01990ea8fcb97a57f0b0cc44a8bf5cde59af2d98
25ee4c810103c4a507ca1b949109399a23a524c5
refs/heads/CMSSW_11_2_X
2023-09-01T16:56:00.658845
2022-06-20T22:49:19
2022-06-20T22:49:19
136,184,115
1
0
null
2022-10-19T14:04:01
2018-06-05T13:47:28
Python
UTF-8
Python
false
false
291
py
import FWCore.ParameterSet.Config as cms rawStreamFileWriterForBU = cms.OutputModule('RawStreamFileWriterForBU', source = cms.InputTag('rawDataCollector'), numEventsPerFile = cms.uint32(100), frdVersion = cms.uint32(6), microSleep = cms.int32(0), frdFileVersion = cms.uint32(0) )
[ "cmsbuild@cern.ch" ]
cmsbuild@cern.ch
b7b69d6d417a01a9049cb34dc3f1738cb8619b6e
70788b6851ca21e228d765b2f7e5e74cb3f885ca
/printfile.py
7cf13a18cafc244bd557ea8c59c7bdb8ced7b5fd
[]
no_license
johnnysaldana/python_practice_exercises
7e324acf85cc0b852fe0d17d17f7c69fdbb38846
2656ac679d80b6cf1774a706dda120d901cc6c14
refs/heads/master
2021-01-21T15:00:34.360038
2017-06-25T16:02:19
2017-06-25T16:02:19
95,369,769
1
0
null
null
null
null
UTF-8
Python
false
false
141
py
# printfile.py def printfile(fname): with open(fname) as f: print(f.read().split()) def main(): printfile("inp.cwl") main()
[ "noreply@github.com" ]
noreply@github.com
ffbd97eec034ae214e9ce58a07ae52a18ef44d5b
1f5b24ad2baaf0138d708fec9d8cde963e6dfd17
/gorden_crawler/spiders/item_luisaviaroma.py
0390d551050cdd7a09789afa8cfa61d6123fe6d9
[ "Apache-2.0" ]
permissive
Enmming/gorden_cralwer
d4661f8cd31f88303fddb4405a8abe64db1b703c
3c279e4f80eaf90f3f03acd31b75cf991952adee
refs/heads/master
2020-03-19T21:45:54.559137
2018-06-11T16:24:29
2018-06-11T16:24:29
136,949,276
2
1
null
2018-06-11T16:04:35
2018-06-11T15:59:26
null
UTF-8
Python
false
false
1,720
py
# -*- coding: utf-8 -*- from scrapy.spiders import Spider from scrapy.selector import Selector from gorden_crawler.items import BaseItem, ImageItem, SkuItem, Color import scrapy from scrapy import Request from scrapy_redis.spiders import RedisSpider from random import random from urllib import quote import re import e...
[ "em.yu@idiaoyan.com" ]
em.yu@idiaoyan.com
b518623e6b6b8ea63ff29e7ca800daeb7394776f
69d563773005cc3c8f62ffb5b967d7e4485d379d
/repositories/country_repository.py
dd507a3b3c4ce81d4934cabf69267af48b3e04e0
[]
no_license
M4RC1N76/python_project
c7b5f36324ce9ae2d474f12f23c732346d8e9c08
2ca532ceea9e1111d96d43d63b4e521757a1be35
refs/heads/main
2023-07-31T22:21:19.917651
2021-09-24T09:58:35
2021-09-24T09:58:35
407,251,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
from models.city import City from db.run_sql import run_sql from models.country import Country def save(country): sql = "INSERT INTO countries (name, visited) VALUES (%s, %s) RETURNING *" # removed id from brackets values = [country.name, country.visited] # country.id was wrong and removed results = run_sq...
[ "borowski1976@yahoo.com" ]
borowski1976@yahoo.com
d470c0605d5fe7642c5fee077b40a812c7a198f4
ba69d3462e6b6031a460052d930076536e8fb780
/test/test_basic_func.py
f6e2454658c204c998f1b6f63b1eebe3b2fcbe0c
[]
no_license
rahanahu/py_unittest_beginner
34120d9cd9618d188b711bc88f27c5fa5ba1a58e
2bfb9500ff44cd8927f51e8b45190614f8947b64
refs/heads/master
2022-08-02T20:23:36.566776
2020-05-30T19:59:42
2020-05-30T19:59:42
268,143,129
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
import unittest import sys import os TO_ROOT = '../' HERE = os.path.dirname(__file__) sys.path.append(os.path.join(HERE, TO_ROOT)) from source.basic_func import * class TestBasicFunc(unittest.TestCase): def test_add_num(self): self.assertEqual(add_num(2,3),5) pass def test_sum_list(self):...
[ "ra87who@gmail.com" ]
ra87who@gmail.com
ba1a284531e5e1f2b4e492eca0027f9a3e9bc9b6
102a33464fd3a16ceedd134e9c64fea554ca5273
/apps/shop/forms.py
22014c7b482f0b94dbeda97e4c41e71fdb9827e3
[]
no_license
pythonguru101/django-ecommerce
b688bbe2b1a53c906aa80f86f764cf9787e6c2fe
f94de9c21223716db5ffcb86ba87219da88d2ff4
refs/heads/master
2020-07-24T14:57:02.047702
2020-06-10T06:06:23
2020-06-10T06:06:23
207,961,132
1
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
import re from django import forms from django.utils.translation import ugettext as _ from markdownx.widgets import MarkdownxWidget from apps.shop.models import Product, ShippingType, Category from .plugshop.forms import OrderForm as PlugshopOrderForm class CategoryAdminForm(forms.ModelForm): class Meta: ...
[ "pythonguru101@gmail.com" ]
pythonguru101@gmail.com
6a6d24c52e172aba9136809c35577ee343ebaed0
8da40e29e5881421d3db9c7c5a75c89369b27b46
/3.tts.py
1130f897eeefa1c2fcf15f9c2fb17994149bc64e
[]
no_license
raylee0703/Embedded_system_project
424513a14061e45325ff96d9ead0d55161406e98
3dba93ac1fb130d8b0549ad7193d4f0c39aa0326
refs/heads/master
2022-12-19T05:18:20.893535
2020-09-20T11:52:17
2020-09-20T11:52:17
297,064,646
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from gtts import gTTS import os import dht11 import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) instance = dht11.DHT11(pin=7) result = instance.read() hum = result.humidity temp = result.temperature report_string = "The temperature is now " + str(temp) + " degrees" tts = gTTS(text=report_string, lang='en') tts.sav...
[ "raylee0703@gmail.com" ]
raylee0703@gmail.com
eda8dd15828e7c7de2fd1653046a30914f5492b4
adae7220c201bdd6b88f4f31a230d2124ac336f9
/mysite/settings.py
026f6fb2ad0e26e61e49663b527b74c91b729259
[]
no_license
scampins/my-first-blog
97a5e861b7eba57b5030a8a390ed40ab3f86529a
625e7ab4fd1c386522001c97a9a5c90aae170b77
refs/heads/master
2020-04-23T07:04:09.108129
2019-02-17T14:59:25
2019-02-17T14:59:25
170,995,401
0
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "scampins@gmail.com" ]
scampins@gmail.com
bad48b717af6d0fe998ea77eafc3f833bc2306be
438a0364d37383a914ecf337ffdb63cb891e54a2
/adOfRoommate/migrations/0003_auto_20200719_0213.py
5d1e20cdd918db31edb3422afc47cbe96ad1f9b4
[]
no_license
Amiti3/HamAshian
ac846df546272d6089b870dc21a1d8ffbe461f9a
278b683c33c70f0dd08e1d0469c8bf6ccda8ff81
refs/heads/master
2022-11-06T22:12:12.623500
2020-07-21T20:31:08
2020-07-21T20:39:22
281,482,989
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# Generated by Django 3.0.8 on 2020-07-18 21:43 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('adOfRoommate', '0002_auto_20200717_1622'), ] operations = [ migrations.AlterField( model_name='adofroommate', ...
[ "mari.ghayouri@gmail.com" ]
mari.ghayouri@gmail.com
4a8a08909397b5d1c28e2f029ec69e5bba7a0535
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2437/60586/311745.py
df394328050a5b32f1a4d7b71b3a5abaa5a94c4e
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
176
py
x=input() if x=="6 2 ": print(6,end="") if x=="6 3 ": print(1,end="") elif x=="8 3 ": print(3,end="") elif x=="8 5 ": print(0,end="") else: print(x)
[ "1069583789@qq.com" ]
1069583789@qq.com
6622914b56a3c2109a3987bd2e46dcaa651add0a
f4fb002cca1f2fa60924b6dabb7acf93b2a46be3
/mysql.py
ab9c0e33ad2c1e139d344cb92042411f430bfe45
[]
no_license
ManT21/SevendAutoTest
909d71d731cf53ba1f10f82108b606e5f8ab9911
80527bc439395a14a0ff00d773123a6eac2019b7
refs/heads/master
2020-07-09T13:15:48.440093
2019-08-23T10:28:35
2019-08-23T10:28:35
203,977,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/env python # coding=utf-8 import pymysql def connectdb(): # 打开数据库连接 # 用户名:hp, 密码:Hp12345.,用户名和密码需要改成你自己的mysql用户名和密码,并且要创建数据库TESTDB,并在TESTDB数据库中创建好表Student try: db = pymysql.connect(host='10.40.11.180', user='root', password='dafy1024', port=3306) return db except: pr...
[ "luoyujuan@7daichina.com" ]
luoyujuan@7daichina.com
d823fca9b27f34af478f6c88c97725a4014d1c14
c7aadaba9ee8f8f28cf1b2fc604d671f12675b49
/src/transient/diffusion/d3_d2D.py
2085a7f7796dc3b1d05dc6336268aa3832a7d63b
[]
no_license
ellipsis14/fenics-tutorial
2147656822afa36e4e6b8d39e9728d63708d6c73
a1d9a7352675048b9d7f388b9b737701e7e78399
refs/heads/master
2021-01-15T23:45:09.826960
2015-03-04T10:46:33
2015-03-04T10:46:33
31,659,473
1
0
null
2015-03-04T13:54:36
2015-03-04T13:54:36
null
UTF-8
Python
false
false
3,107
py
""" FEniCS tutorial demo program: Diffusion equation with Dirichlet conditions and a solution that will be exact at all nodes. As d2_d2D.py, but here we test various start vectors for iterative solution of the linear system at each time level. The script d3_d2D_script.py runs experiments with different start vectors an...
[ "hpl@simula.no" ]
hpl@simula.no
8bf896583d058f0c4eb88b11b3e5b5b50bbfd43c
749f867b96f4021cf80b1c298db6b14756a23cd0
/030CAICT-AtlasToolkit/main_last_v1.py
46de87b5b0d20deeca1e6cc52ada7a11c4a6d382
[]
no_license
mandeling/Crawler4Caida
4e4ae53ca64bff140d1353171c774522103aace4
4f85526d6ea49e7206038e0c9b8f4d87b488bd45
refs/heads/master
2022-12-23T22:25:03.815280
2020-09-23T10:31:34
2020-09-23T10:31:34
297,939,217
1
0
null
2020-09-23T10:50:56
2020-09-23T10:50:55
null
UTF-8
Python
false
false
12,745
py
# coding:utf-8 """ create on Feb 29. 2020 By Wenyan YU Function: 实现CAICT地图绘制工具箱(CAICT-AtlasToolkit)的主界面 """ from tkinter import * import tkinter as tk from tkinter import ttk import tkinter.messagebox import tkinter.filedialog from ttkthemes import ThemedTk, ThemedStyle def get_screen_size(window): return windo...
[ "ieeflsyu@outlook.com" ]
ieeflsyu@outlook.com
3c972da0222637e910a4db503ff3014c0230098c
5c40acb734e03a39e0c34fdddf927181ffe85437
/geek_for_python/LXF/test.py
167b944c3db9069bf0e2e756c5a57e9803175839
[]
no_license
hyc123no1/Python-100-Days
075feee0f25e12388a8aa94671f2ce0d9c7216c1
beec317971abb85d6b7b854058d676adfdd98156
refs/heads/master
2020-05-18T17:04:18.944074
2019-11-12T08:00:18
2019-11-12T08:00:18
184,543,479
0
0
null
2019-05-02T08:05:21
2019-05-02T08:05:21
null
UTF-8
Python
false
false
128
py
import subprocess print('$ nslookup www.python.org') r = subprocess.call(['nslookup','www.python.org']) print('Exit code:',r)
[ "869995755@qq.com" ]
869995755@qq.com
9630f08498dcfff585aa7d19b7cebc5da20e0548
5db5c8b21d412762c1713a466f9d3a8a8a3743ab
/Test_Generators/Thirtysix/full_hydra/scripts/fixed-point/works/intconversion.py
14a3e3b1bf12fba9ef369d70ac14010bc3d157fb
[]
no_license
r4space/Fynbos
f3ee6d7cce1f7d14cbc672227be6d922274912c5
cda7034e1ba5ba3916a87490cec702a6f48e89fb
refs/heads/master
2021-01-21T21:39:01.498126
2016-05-03T17:23:23
2016-05-03T17:23:23
24,953,613
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
#!/usr/bin/python2.6 #File containg the function version of int1.py to convert input to int data word import sys from math import pow DATA_SIZE_C =36 ######Decimal integer to binary############# def Intdec_to_bin (int_in,DATA_SIZE_C): a = range(0,DATA_SIZE_C) for i in range(0,len(a)): a[i] = 0 k = int_in ...
[ "r4space@users.noreply.github.com" ]
r4space@users.noreply.github.com
75f93e34d8ca3a0b0979c369e1660952c13e8142
dd90264bbfb79700d1d32effc207b555c29f3bcf
/python/task/Daemon.py
ca16c6dff3fddd699904cfbeebcfd5065fe1a956
[]
no_license
tomzhang/other_workplace
8cead3feda7e9f067412da8252d83da56a000b51
9b5beaf4ed3586e6037bd84968c6a407a8635e16
refs/heads/master
2020-04-22T22:18:23.913665
2019-01-26T03:36:19
2019-01-26T03:36:19
170,703,419
1
0
null
2019-02-14T14:23:21
2019-02-14T14:23:20
null
UTF-8
Python
false
false
221
py
#!/usr/bin/python3 # coding=utf8 import daemon class Daemon: def task(self): pass # 后置进程 def main(self): # 后置进程 with daemon.DaemonContext(): self.task()
[ "Pj879227577" ]
Pj879227577
df7dfb75533316e32a45428f1c897409c9f474a3
5ec3f7e4e6dca1504ec421813f879d7f24224f2b
/src/website/search/indexes.py
f80577607509c75285d5c0aa79b8d8cf35bab03e
[]
no_license
samsath/secondeditions_main
afe77a272ce5ea1a4e24dc7bc3e79453d0601b5c
a529abb8294483a35396d869f84254a1dbae3c13
refs/heads/master
2021-01-25T07:27:40.002304
2015-09-28T18:49:20
2015-09-28T18:49:20
39,802,409
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
# -*- coding: utf-8 -*- from haystack import site, indexes from django.conf import settings class BaseSearchIndex(indexes.RealTimeSearchIndex): text = indexes.CharField(document=True, use_template=True) absolute_url = indexes.CharField(indexed=False) modified = indexes.DateTimeField(model_attr='modified')...
[ "samhipwell@gmail.com" ]
samhipwell@gmail.com
94fc9317eee3472ca965e14dcea7ae89cb599a30
6492dcf3d93765cc27ce592131460fb6ecb892cb
/scripts/leader_example.py
247ca2a1be5c1e597780c9b534116d1a5d39b64d
[ "MIT" ]
permissive
buckbaskin/drive_stack
d3beb3f7af11c794358826078381b7040c5a893d
7a242969c4189379d6545782d9584692976b9687
refs/heads/master
2021-01-18T22:04:33.929328
2016-02-26T19:23:30
2016-02-26T19:23:30
42,958,401
1
2
null
2016-01-18T21:46:00
2015-09-22T20:16:04
Python
UTF-8
Python
false
false
3,674
py
#!/usr/bin/env python # import sys # print sys.path import leader import rospy import math from geometry_msgs.msg import Point, Vector3 from nav_msgs.msg import Odometry from utils import heading_to_quaternion class ExampleLeader(leader.Leader): # methods to override: # generate_initial_path, generate_next_...
[ "mobile.wbaskin@gmail.com" ]
mobile.wbaskin@gmail.com
06fb5bc9ee57f17f7fc682b0ed72f5547f527deb
69dca600d8338901fe6167c7172992caae2eb78b
/resize.py
ab55b54ab538e8eb8ba196a202a9b6984b53e3d4
[]
no_license
bilel46/flask_project
eaf64bd221aa84eeeff984bc6ceb9dcdf0221c8d
71e0ee70c62518ebc9c749bba69b1edc4a77b0e1
refs/heads/master
2021-01-01T23:44:10.699920
2020-02-10T00:52:01
2020-02-10T00:52:01
239,395,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
import cv2 import numpy as np """ def resize_c(image,a,b): img_x = np.ones((a,b,3), np.uint8) img_x[:,:,0] = cv2.resize(image[:,:,0],(b,a)) img_x[:,:,1] = cv2.resize(image[:,:,1],(b,a)) img_x[:,:,2] = cv2.resize(image[:,:,2],(b,a)) return img_x cart1 = cv2.imread('images\\nouveau.png') # sou...
[ "boumedieneb68@gmail.com" ]
boumedieneb68@gmail.com
b088b7e8a4069b741246eaf5ac68d6faad85613b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04012/s874951633.py
7b934360297ee1e1391f1376a323f92dc1ecebb8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
# coding: utf-8 w = list(input()) w_ = list(set(w)) flg = True for a in w_: if w.count(a)%2 != 0: flg = False if flg: print("Yes") else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c7078179eccf187a64bbe80888d14d3535eb0d98
d524dc1cf48dfb3dac6b288d0f5d3206ac2ad33b
/CMSSW/src/PhysicsTools/PatAlgos/python/selectionLayer1/electronCountFilter_cff.py
6db059f5323f864264d77bcab418c770ba1ea90b
[]
no_license
bainbrid/usercode
59e7e2c2ba66be8ee6696be5b7fdddc3fa5d6d2a
3d1ae8563ff470725721100f6e5a2e7b5e8e125e
refs/heads/master
2016-09-07T18:38:31.267514
2013-09-10T20:21:21
2013-09-10T20:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.selectionLayer1.electronMinFilter_cfi import * from PhysicsTools.PatAlgos.selectionLayer1.electronMaxFilter_cfi import * countLayer1Electrons = cms.Sequence(minLayer1Electrons + maxLayer1Electrons)
[ "" ]
35b0dbd07007d03f639af45783b1420ae34e0735
1831b957d155b8cdbef50a28ad05084f67606725
/dl_hw3/single_crnn/train.py
d413999e19a30621aa0999331b206a9e0753e4e7
[]
no_license
GaomingOrion/dl_hw
898f77fea92ca05c5e2c667afe36159bbab51011
b0858162763325c286d547533c130a01506f09e1
refs/heads/master
2020-04-27T21:19:21.738722
2019-06-20T12:31:04
2019-06-20T12:31:04
174,691,970
3
2
null
null
null
null
UTF-8
Python
false
false
5,699
py
import tensorflow as tf import numpy as np import os, time from crnn_SVNH import CRNN from dataset import Dataset from common import config def train(prev_model_path=None): # prepare dataset dataset_train = Dataset('train') dataset_test = Dataset('test') # define computing graph model = CRNN() ...
[ "542043468@qq.com" ]
542043468@qq.com
c77ed32e11c93dc6f6c61f0c74f6bf30e7c98353
0064a139ed764cfb8cf13db2ae987bc525f65f2f
/src/manage.py
9448f6699c561ffdffcd0101a2cb3a76d1defcf0
[]
no_license
opencookiecms/motorlist
3b41d4822ccfb2db65f8f3670e5f0cc3d7c8f94d
49082fc02fe6a6b131cc0929f21588018e33cc3c
refs/heads/main
2023-05-25T01:52:46.247779
2021-06-02T08:54:36
2021-06-02T08:54:36
373,091,087
0
0
null
null
null
null
UTF-8
Python
false
false
664
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', 'motorapp.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "syed.m.afiq@outlook.com" ]
syed.m.afiq@outlook.com
3b3bceaa15059ec9733d3e15f201a0871bc15447
d89bc18590e0aec61a34499ac06ac88354d2fc75
/crawler/twitter.py
5d5132e8959070c016454baee4bfad53446887e5
[]
no_license
socjordi/osint
92fa96a0f824467c2ff9b1c3724c40c37d2c94f3
15162a3fecd6f2a6cc621fb3f6d4729c4fae19b7
refs/heads/master
2020-04-18T02:32:47.660179
2019-01-23T10:49:53
2019-01-23T10:49:53
167,166,935
1
0
null
null
null
null
UTF-8
Python
false
false
10,590
py
#!/usr/bin/python import os import json import time import sys from datetime import datetime #from dateutil.parser import parse from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream from tweepy import API from elasticsearch import Elasticsearch import hmac import hashlib...
[ "jordi.gilabert@gencat.cat" ]
jordi.gilabert@gencat.cat
6641def8d36aeae4adcb4258668f75e5a08deee0
cdb4eb5d34b06655a9868643ede0712572720be7
/URLshortener/views.py
1246f99e2ec14aa5332c962cf14a75732adc2683
[]
no_license
parthpandyappp/StripURL
5d35ed4e24d0feffd122b16fe429ba73599d3887
d5430584b28fe658701ee934c430cc61a520c592
refs/heads/master
2023-01-23T00:02:16.831378
2020-11-29T11:11:29
2020-11-29T11:11:29
292,256,080
3
1
null
null
null
null
UTF-8
Python
false
false
699
py
from django.shortcuts import render import pyshorteners import pyqrcode import png from pyqrcode import QRCode import shutil import os # Create your views here. def index(request): return render(request, "URLshortener/index.html") def process(request): if request.method == "POST": link = request.PO...
[ "parthpandyappp@gmail.com" ]
parthpandyappp@gmail.com
168e26e56ef3cf1c3ce8fd1273233f37536f2858
1dd3c51f26fd0d9a20381683575e4d01f897232c
/src/profiles_project/profiles_api/urls.py
773e922b0f5a187658c364b7158a91221e5a72fc
[]
no_license
ranganadh234/Rest-apis-profile-management
3e8a6a517b1aa2acc459a96307ee33d471799939
f40f17d8641819b55fe9c485f345201303e111f9
refs/heads/master
2022-05-04T02:05:53.545068
2019-09-25T08:53:19
2019-09-25T08:53:19
210,784,616
0
0
null
2022-04-22T22:23:07
2019-09-25T07:39:00
Python
UTF-8
Python
false
false
1,324
py
"""profiles_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "ranganadh234@gmail.com" ]
ranganadh234@gmail.com
f031c303d9e4960a7cf1940403553395066f27c9
a32c35a4e8ebb73557bbd0e2805b71e4a4890d10
/145_post_order.py
26aecc1f3840e9c6fa39c816b4a8b9ba3c23b926
[]
no_license
Yiling-J/leetcode
6c7351a78d09a4139f09942b59b19eaa11fcf9e0
ca01cd89c43445b750654aa52ef4e8bd92e54dcf
refs/heads/master
2021-07-12T03:09:48.207372
2019-01-01T14:53:09
2019-01-01T14:53:09
144,372,929
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
""" Easy to understand loop stack solution. We put the node and an integer val to stack. val can be: 2: not traversal left and right 1: traversal left 0: traversal left and right when val is 0, we can pop that node. """ class Solution(object): def postorderTraversal(self, root): """ ...
[ "njjyl723@gmail.com" ]
njjyl723@gmail.com
d3a6aa42166b4d18271f903f734bb3137b484836
0ec0fa7a6dc0659cc26113e3ac734434b2b771f2
/4.refactored/log/2016-11-21@09:03/minibatch.py
81fc07180a820f169d2b248b9cd4647a948aba64
[]
no_license
goldleaf3i/3dlayout
b8c1ab3a21da9129829e70ae8a95eddccbf77e2f
1afd3a94a6cb972d5d92fe373960bd84f258ccfe
refs/heads/master
2021-01-23T07:37:54.396115
2017-03-28T10:41:06
2017-03-28T10:41:06
86,431,368
0
0
null
null
null
null
UTF-8
Python
false
false
46,935
py
from __future__ import division import datetime as dt import numpy as np import util.layout as lay import util.GrafoTopologico as gtop import util.transitional_kernels as tk import util.MappaSemantica as sema import util.frontiere as fr from object import Segmento as sg from util import pickle_util as pk from util impo...
[ "matteo.luperto@polimi.it" ]
matteo.luperto@polimi.it
f48f72b17ce051d9183e15e314f5e015b0dbba9e
de15fe164850e5fb84b0e0a3bf98aa6a9f38e109
/recreation/migrations/0001_initial.py
cbfd222d44d66a1a7425fa7bca5b5092c11beb0a
[]
no_license
arthurarp/api_rest-django
d6b88851153005c8fa24c6c5a680991a1f10817a
3f4b6c90843d11feef4f0aa4a8e49fc8e6bbb665
refs/heads/master
2023-04-08T00:34:12.268906
2020-02-29T21:37:38
2020-02-29T21:37:38
240,120,836
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# Generated by Django 2.2.10 on 2020-02-17 20:45 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Recreation', fields=[ ('id', models.AutoFi...
[ "arthurarp@hotmail.com" ]
arthurarp@hotmail.com
28c1dfc61258264f239362b028882e8afb8f980b
b6285bd7cc7695c76877686c9567743b051a3339
/app1/migrations/0017_job.py
0434e40d0b0b3f6afe2526b3b521bb4c26674b68
[]
no_license
Janeclear/newone-1
bd09cbbe37bbd675d4bb21e67aa8e626cf5b4800
623a528ef26b3aa307d439103c25da8242509f2d
refs/heads/master
2022-07-28T08:46:40.902787
2020-05-21T11:50:56
2020-05-21T11:50:56
254,839,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2020-04-20 10:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app1', '0016_auto_20200418_1849'), ] operations = [ migrations.CreateModel(...
[ "1255019407@qq.com" ]
1255019407@qq.com
03bc87f53f061e3f2e48f8dad7316e3b8b59329f
884d1630093460668c40abf0313a47fddc25bd88
/Oil.py
fc74e26121fe0148f4b5db4c37fe2658fcc67653
[]
no_license
Gregoryish/MohovHW
c087bb61784b8baa70403bbd8406b211fdbc0644
da4d2b27639dcc05931d534df86b729fca91881e
refs/heads/master
2022-04-23T01:18:25.379048
2020-04-14T06:08:36
2020-04-14T06:08:36
254,909,289
0
0
null
2020-04-14T06:08:37
2020-04-11T16:31:37
Jupyter Notebook
UTF-8
Python
false
false
8,370
py
#!/usr/bin/env python # coding: utf-8 # Иходные данные # # 1. density_oil_without_gas - плотность дегазированной нефти ( p_0 = 0.1 *10^6 МПа, Tст = 293 К), кг/м^3 # 2. viscosity_without_gas - вязкость нефти в стандартных условиях , мПа*с # 3. gas_saturation - газонасыщенность (газосодержание) пластовой н...
[ "gregoryish@gmail.com" ]
gregoryish@gmail.com
0361b75dc0630118ca7291ef92d6eedb19e0f3ed
f0c35cd1d458f2f9ec1c605d73b9fc4738f62986
/web/admin/forms.py
59ea21852a00a9dacdc2d9f95b918f1dafa08ad3
[]
no_license
dougmpx/xiaoli
9e57c7bdd1d6e9ab55adb657ad5fa9d10dbe2a50
88f28754d1a67351b90461ad004ca5d36dde1e02
refs/heads/master
2021-04-15T07:39:06.655988
2013-01-05T08:10:02
2013-01-05T08:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,099
py
#coding=utf-8 from tango.models import db, Category from nodes.models import Vendor, Model from .models import Miboid, Module from flask_wtf import Form, TextField, PasswordField, HiddenField, SelectField, IntegerField, \ QuerySelectField, TextAreaField, widgets, ValidationError, required, equal_to, email c...
[ "thewawar@gmail.com" ]
thewawar@gmail.com
50f4218bab8cab402a3642b888fffb7a6a8f06f5
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ief/huaweicloudsdkief/v1/model/update_edge_node_device_response.py
c0a8a018e150454b0fe2df63d8f1a2d583739033
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,496
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateEdgeNodeDeviceResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name an...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
585d2a8ccbc5b0922cb2cf1b62436fa98b0eb552
83107ca8671e2e11ea09b9bdfeac02ac6fe34bdf
/customer/urls.py
ed949122f18e5247440cb27dfaccc8cc168f610a
[]
no_license
findjoywfj/question_web
be0d003e98e563ca20eb147219e11cf3df0314ea
411b446cb0528c2ab364f558100c125b82e17ab8
refs/heads/master
2020-04-28T02:57:15.376147
2019-05-09T10:10:38
2019-05-09T10:10:38
174,906,828
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from django.conf.urls import url from customer.views import qes_show, home, qes_result, record_show, api_record_get urlpatterns = [ url(r'^$', home), url(r'^qes_body/(?P<query_id>\w+)/(?P<user_type>\w+)/$', qes_show), #url(r'^qes_body/(?P<query_id>\w+)/$', qes_show), url(r'^qes_body/(?P<query_id>\w+)/\...
[ "35032786+findjoywfj@users.noreply.github.com" ]
35032786+findjoywfj@users.noreply.github.com
8840fbe076ce35c5499f8951c83283b21e45ffd8
c76ef7ef852dba81ab99099a9feef0c84573c629
/crud.py
487106c352504520c5fc9ebed513e8def33b6795
[]
no_license
DhivyaMyl/Python_Practice
4a28cf01336b853151747b4fc8dccde71b57e05f
00d03175504de91fac67afc3f3b7c1628496d7f1
refs/heads/master
2022-11-08T14:57:46.197447
2020-06-14T20:04:11
2020-06-14T20:04:11
272,273,368
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
from flask import * import sqlite3 app = Flask(__name__) @app.route("/") def index(): return render_template("index.html"); @app.route("/add") def add(): return render_template("add.html") @app.route("/savedetails",methods = ["POST","GET"]) def saveDetails(): msg = "msg" if request....
[ "noreply@github.com" ]
noreply@github.com
70bfc243e42e01faf5fa18aa2024cf3b5efcf67b
a311614fe6fc8f23f08573b6f4f1ce022293260e
/Week7/final-exam-q4/blogPostDAO.py
e307cc00e11a9c3ef3668dd1fa42ff89c44deb0d
[]
no_license
edombowsky/MongoDB-Course
e257e18f259cc180eed6b66b61c57449b376746d
aa7cef5ec6160fbdc6915b08c8c6f3f233717d16
refs/heads/main
2021-11-27T14:46:04.974091
2014-11-27T21:16:02
2014-11-27T21:16:02
27,203,253
0
0
null
null
null
null
UTF-8
Python
false
false
5,667
py
__author__ = 'aje' # # Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ "earl.dombowsky@ventyx.abb.com" ]
earl.dombowsky@ventyx.abb.com
e9e2d6ef3a1fb49514eb3fc0a6c17562f3c25eea
b767254735e59713b181205a7ff53835b09bad96
/integer-to-english-words.py
96d61b6225b5d3289bb10a41f7fd386b478eaa62
[]
no_license
kavyan92/amazon_practice_problems
c21e9a4b2337795e922906429eaf0b4d5cdf0b1e
f3f5f163d6d1453baa6a11bd5b23c127c54f396e
refs/heads/master
2023-09-04T10:34:53.819952
2021-11-16T19:36:24
2021-11-16T19:36:24
417,314,954
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
"""Convert a non-negative integer num to its English words representation. Example 1: Input: num = 123 Output: "One Hundred Twenty Three" Example 2: Input: num = 12345 Output: "Twelve Thousand Three Hundred Forty Five" Example 3: Input: num = 1234567 Output: "One Million Two Hundred Thirty Four Thousand Five Hundred ...
[ "kavya.0219@gmail.com" ]
kavya.0219@gmail.com
8f47c688cf3c18166740580337dc753cbebfe9b3
592dfddfbcaa22263c1bcffa231b5a8d337d5594
/CVE_FSE/Step3_ApplyCVEData/Tongji_All_Affected.py
6f20fe3d6ac733231b875790c64329cbb103304b
[]
no_license
CongyingXU/CodeMiningTeam_Tasks
40f930cb6f8723e067c2358d8d36cecd877cac8c
cc9af9662bc3d965c3204a6c57346e284d7d14c5
refs/heads/master
2020-09-22T21:53:46.912934
2020-08-01T10:59:59
2020-08-01T10:59:59
225,327,790
1
2
null
null
null
null
UTF-8
Python
false
false
5,184
py
# -*- coding: utf-8 -*- """ Created on 2020-02-25 15:21 @author: congyingxu 用于统计 当前实验对象的相关数据 哪些项目,用了哪些GAV,触发了哪些CVE? 最多的,最少的项目是?平均是?中位数是?上下4分位数是? """ from CommonFunction import JSONFIle_processing All_affected_pojs_path = "Wangying_FSEData/affected_projs_total.json" All_used_vule_ga_path = "Wangying_FSEData/used...
[ "1084729816@qq.com" ]
1084729816@qq.com
e96ab559085b5370e1cee8a9eebe298fe0b46529
5dd139ac9d1f849be31d187d373e0db262d73131
/person.py
616e32c839f908bc6e197af2fca8b20da4943455
[]
no_license
Ashanthe/van-input-naar-output
774f7ff76f914d6775e19213c821ff5f9e285732
3c9eef7c2760149dc79261a85bd6de19b86f688f
refs/heads/main
2023-08-22T22:42:06.630795
2021-09-15T09:02:40
2021-09-15T09:02:40
404,260,062
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
print("----------------------------") naam = input("|Naam : ") adres = input("|Adres : ") postcode = input("|Postcode : ") woonplaats = input("|Woonplaats : ") print("----------------------------- ")
[ "99069097@mydavinci.nl" ]
99069097@mydavinci.nl
f757d1832d1fc67dd4e6c72dc50225804a3b7819
1061c149ac193631c2c80cb50bc27a7c5b7a5af2
/Craps.py
42ab57aa4368ad276d061992a86d76d8ad18982d
[]
no_license
waidei/Craps
94f3f7bbba499a1bfb75b0eab1e1c955676723be
d8d26da6850fe1d02f42f7f9567604083e8eeb56
refs/heads/master
2020-08-26T15:45:54.992673
2019-10-28T15:39:08
2019-10-28T15:39:08
217,060,394
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
# Isaac Waide # October 23, 2019 # Craps Due Friday Oct 25,2019 import random bank = account roll = roll_dice bet = bank def account(): print("Welcome to Hartwick College roll of chance.") print("How much money will you be betting today?") bet = int(input) while bet <= 0: print("Sorry boss, you cannot bet...
[ "waidei@hartwick.edu" ]
waidei@hartwick.edu
c5b5216e50a35624832cb3c83ef89b17bad936c6
fc3f784c8d00f419b11cbde660fe68a91fb080ca
/algoritm/20상반기 코딩테스트/보급로/1249.py
f8cb979771655a3bd22b8164a902086c5eea5c12
[]
no_license
choo0618/TIL
09f09c89c8141ba75bf92657ac39978913703637
70437a58015aecee8f3d86e6bfd0aa8dc11b5447
refs/heads/master
2021-06-25T07:01:34.246642
2020-12-21T04:57:13
2020-12-21T04:57:13
163,782,782
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import sys sys.stdin = open('1249.txt','r') from collections import deque dx=[1,0,-1,0] dy=[0,1,0,-1] def IS(y,x): return -1<y<N and -1<x<N for t in range(int(input())): N=int(input()) A=[list(map(int,input()))for y in range(N)] Map=[[10**9]*N for _ in range(N)] Q=deque([(0,0,0)]) while Q: ...
[ "choo0618@naver.com" ]
choo0618@naver.com
9655f6ea3d766232c5547a27623614157acc8830
ca192c1d7939a8e32cb0b6fda5d6fba614893e25
/SECUNIA_RESEARCH/SECUNIA_RESEARCH -Yokogawa/SECUNIA_RESEARCH/settings.py
64742f68b6313cd41d4a9e58b0d3c00c0e802e3e
[]
no_license
Bruba/Webscraper
9c59e33f6c7e96f43c79777988fbde00824a16be
093b2350371e0cb3aafd1709ff2d2435be93a0d3
refs/heads/master
2020-03-19T00:08:36.711987
2018-05-30T14:47:00
2018-05-30T14:47:00
135,456,269
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
# -*- coding: utf-8 -*- # Scrapy settings for SECUNIA_RESEARCH project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/...
[ "bizougreat@gmail.com" ]
bizougreat@gmail.com
2582a401d6b72c269a71b87bbd3c57b88dbe66c6
d723d8d5d32e6a3bdb43ee78efca1280949741f4
/CycleGAN_DRPAN/proposal.py
f1c27d3fd77e12db974dafd42a4f4bf0bddb1345
[]
no_license
godisboy/DRPAN
8a224f8b8c64038f9fdcb683ba3d1507b87c9c54
c4d62a15d1f6379f4ef94528851fed92a02ea889
refs/heads/master
2021-06-09T03:21:29.277681
2020-01-06T08:35:26
2020-01-06T08:35:26
142,092,208
52
13
null
null
null
null
UTF-8
Python
false
false
7,340
py
import numpy as np import torch import torch.nn as nn from torch.autograd import Variable from roi_align.roi_align import RoIAlign def to_varabile(arr, requires_grad=False, is_cuda=True): tensor = torch.from_numpy(arr) if is_cuda: tensor = tensor.cuda() var = Variable(tensor, requires_grad=requir...
[ "jiangyufeng77@163.com" ]
jiangyufeng77@163.com
8e2285e97c33aaae42dc1d4463e35d6f6d1a9b56
dffee54c9c40b495e56cd56d191aef0e4ebe6064
/composer/core/algorithm.py
25317300f7dca6dce28ebd33f352a1721d4460c4
[ "Apache-2.0" ]
permissive
zeeroocooll/composer
3afb0427e713c3e19197c780f03b510fbf6c936b
6dd0a0f297cafb404333d6280a5344bcb7f3bee6
refs/heads/main
2023-08-20T04:21:51.536149
2021-10-13T20:34:29
2021-10-13T20:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,933
py
# Copyright 2021 MosaicML. All Rights Reserved. from __future__ import annotations from abc import ABC, abstractmethod from typing import TYPE_CHECKING, Optional from composer.core.serializable import Serializable if TYPE_CHECKING: from composer.core import Event, Logger, State class Algorithm(Serializable, A...
[ "averylamp@gmail.com" ]
averylamp@gmail.com
babcd86669606969ca94181114c3944258ecfa56
6bdb32ddbd72c4337dab12002ff05d6966538448
/gridpack_folder/mc_request/LHEProducer/Spin-1/Wprime_WZ_WhadZlep/Wprime_WZ_WhadZlep_narrow_M2000_13TeV-madgraph_cff.py
aef83982aeb269928c449b90de344527b31a631c
[]
no_license
cyrilbecot/DibosonBSMSignal_13TeV
71db480de274c893ba41453025d01bfafa19e340
d8e685c40b16cde68d25fef9af257c90bee635ba
refs/heads/master
2021-01-11T10:17:05.447035
2016-08-17T13:32:12
2016-08-17T13:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
import FWCore.ParameterSet.Config as cms # link to cards: # https://github.com/cms-sw/genproductions/tree/master/bin/MadGraph5_aMCatNLO/cards/production/13TeV/exo_diboson/Spin-1/Wprime_WZ_WhadZlep/Wprime_WZ_WhadZlep_narrow_M2000 externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvm...
[ "syu@cern.ch" ]
syu@cern.ch
ff0f808215c2519b32558f33049af40cc7bae534
fcd927827816696d56502979f9c02e4f71695ce9
/getNews/getNews/pipelines.py
65604560b3b21cf038df05b1bcdd41baa840fd6d
[ "MIT" ]
permissive
loserking/MLB-Search-Engine
3b628272859b7cb595a29c1e6d8b62cdf2334005
bcaccf403efdbb6b229e323906624c8f0f2c671b
refs/heads/master
2020-12-08T05:24:22.773039
2019-09-20T09:32:33
2019-09-20T09:32:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import json class GetnewsPipeline(object): def __init__(self): #打开文件 self.file = open('data_new.json', 'w...
[ "zex18@mails.tsinghua.edu.cn" ]
zex18@mails.tsinghua.edu.cn
3999edfc7af1cd19427c2363a2b1ecbaa9faaafa
522b300449b87cd4554492ccb66b0f4232379be1
/Dev_Aprender/03_Colecoes/aula01.py
c05b59fca82e68c37c4ed912666a22d07035050d
[]
no_license
victor1cg/Python
6e569ec95fa6553918c34b0fba08c614f24a138f
3ae6c2da34f6af4f79e79b952fd15ba5acca46c6
refs/heads/master
2023-01-08T09:40:32.590723
2023-01-05T20:32:54
2023-01-05T20:32:54
254,467,366
2
1
null
2022-10-31T12:59:56
2020-04-09T20:04:01
Python
UTF-8
Python
false
false
1,152
py
#! LISTAS precos = [10,20,30,40,50,60,80,55,69,25] print(precos[1]) #Indice print(precos.index(25)) #acha o valor, retorna o indice #* Multiplicação de valores lista_de_noves = [9]*10 print(lista_de_noves) #* Usando gerador range faixa_numeros = list(range(20)) print(list('Cavalo')) #* Lista de Lista matriz_nomes ...
[ "victor1cg@hotmail.com" ]
victor1cg@hotmail.com
5531e802e6e0131bfab313bbb6fe0f400f8fc8d2
698cb8d24879fe75669af6f2667c3f88660a0a1e
/FM/deepfm/deepfm_movielens_sample.py
4d5736c139d3a64e02b438bc0dbd2fbacb19ae68
[]
no_license
HuichuanLI/Recommand-Algorithme
c83c5d34d75eebd127e2aef7abc8b7152fc54f96
302e14a3f7e5d72ded73b72a538596b6dc1233ff
refs/heads/master
2023-05-11T03:01:30.940242
2023-04-30T08:03:19
2023-04-30T08:03:19
187,097,782
71
19
null
null
null
null
UTF-8
Python
false
false
1,684
py
import pandas as pd from sklearn.metrics import mean_squared_error from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelEncoder from deepctr.models import DeepFM from deepctr.inputs import SparseFeat,get_feature_names #数据加载 data = pd.read_csv("movielens_sample.txt") spar...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
7e085178d4d5b0eff678f9e232ffb896608bd78f
508aa3493b65812b418a2b73ae4313f07f53e928
/alunop.py
1056c0a88c4b9d409a936420d7b575c095640ea4
[]
no_license
robinhosz/ataDePresen-a
6834ff18ef8edf9ac3a6c8b663015fcded475cfc
969495972bf1485a8a182908f5cff610994dec28
refs/heads/main
2023-09-01T06:17:30.650675
2021-10-31T02:36:21
2021-10-31T02:36:21
423,007,918
3
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
from tkinter import * import os import banco def gravarDados(): if tb_nmatricula.get() != "": vnmatricula=tb_nmatricula.get() vnome=tb_nome.get() vdata=tb_data.get() vturma=tb_turma.get() vobs=tb_obs.get("1.0",END) vquery="INSERT INTO P_alunos (N_Matricula, Nome, Da...
[ "joserobsonsiqueira23@hotmail.com" ]
joserobsonsiqueira23@hotmail.com
f82d94ad5533aa17f9c433b5546780f562802e2a
d1507ee333bf9453a197fe997b58871b527811bf
/venv/bin/automat-visualize
51f0d1222abf19fd9b8ca755d742738686858191
[]
no_license
hirossan4049/screenshare
a336f2cf0e0584866356a82f13683480d9d039f6
004f0e649116a6059af19d6489aeb13aed1741f3
refs/heads/master
2021-01-27T09:21:48.891153
2020-04-12T04:55:40
2020-04-12T04:55:40
243,476,234
0
0
null
null
null
null
UTF-8
Python
false
false
269
#!/Users/linear/Documents/pg/pythonnnnn/screenshare/venv/bin/python # -*- coding: utf-8 -*- import re import sys from automat._visualize import tool if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(tool())
[ "haruto405329@gmail.com" ]
haruto405329@gmail.com
539b7ee6d20575f474c0cc7e6c7c3bbaf0bd818b
cbfcf61131bff227d01550e197e55f42e2b2437e
/mons/mons/wsgi.py
b961cc038d4503864ee4daf23b3b2f6f1ef5a113
[]
no_license
thomblr/mons-challenge
e23ec4a9b3b0bc631f6dbf5bb6903bd487c6a044
e3f5ee1d4724e79eaeef3d723ccce12b8822a75d
refs/heads/master
2023-03-03T05:04:44.668170
2021-02-05T10:06:08
2021-02-05T10:06:08
335,672,811
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for mons project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "thomas.1111@live.be" ]
thomas.1111@live.be
c6fad8cd2fd91208b4855b48d7b68e779e4b475d
c5188ce9a28532d594578972bd4c7f2087f8e200
/test/test_builder.py
81975e2810bc5f82a65fa7d7f9766cb5a084cacd
[]
no_license
allnightlight/BanditProblemReinforcementLearningPractice
f111fc47341111c562e582ac51658b1e49bb4f0d
e4b546ca76c4ea31157760b390108dff908dced6
refs/heads/master
2022-07-23T16:12:12.217071
2020-05-10T13:04:00
2020-05-10T13:04:00
260,108,518
0
0
null
null
null
null
UTF-8
Python
false
false
2,168
py
''' Created on 2020/05/05 @author: ukai ''' import os import shutil import unittest from ConcAgent import ConcAgent from ConcAgentFactory import ConcAgentFactory from ConcBuildOrder import ConcBuildOrder from ConcEnvrionmentFactory import ConcEnvironmentFactory from ConcMyLogger import ConcMyLogger from ConcRewardGiv...
[ "shouta.ukai@gmail.com" ]
shouta.ukai@gmail.com
b67bdc2778d6912fd32a3f2f82c23d26caaaadec
a273c33036b697eaa90b01a22e5f01a31c61fda5
/edx/ProblemSet7/NewStory.py
e25f77c0fba45482c4914593f5b08683b955e539
[]
no_license
allaok/codestores
1a55ed8798f6c99476fe24f27fda9a3c3fa03116
f000bbb2518a8202875cbbcf6cc3a11e57db5792
refs/heads/master
2021-01-19T05:44:06.981591
2015-07-29T22:56:16
2015-07-29T22:56:16
39,902,477
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from ProblemSet7 import ps7 __author__ = 'root' from ps7 import * class NewsStory(object): def __init__(self,guid, title, subject, summary, link): self.guid=guid self.title=title self.subject=subject self.summary=summary self.link=link def getGuid(self): retur...
[ "alexis.koalla@orange.com" ]
alexis.koalla@orange.com
723e50bc489b2f7410ac7e7cd702faa4037c038e
6dbc2a8a88bf7b42d6964c3aa8ffee96dcc1e92e
/articles/views.py
d2bd8ed4b901a2936fbb6ce02c10731954235dc0
[]
no_license
Lynextion/Expery_Share
82c2473ab3a415737b886239ce8bf6e1cc1ec7ab
b4c396cff29006ae27001000b33c9f131d7ad346
refs/heads/master
2023-01-23T14:46:32.089315
2020-11-24T13:17:58
2020-11-24T13:17:58
315,044,257
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
from django.shortcuts import render,redirect from .models import Article from django.http import HttpResponse from django.contrib.auth.decorators import login_required from . import form import time from account.models import Profile def article_list(request): articles = Article.objects.all().order_by('date') ...
[ "47065577+Lynextion@users.noreply.github.com" ]
47065577+Lynextion@users.noreply.github.com
8f466c4ee1cf92fbffc72bc1988d40b2eb3d0412
31155acd49915b9d0ce0731670c2b2e86d087953
/afheuristics/comparework.py
2851093b8c1cf402f789e95287683efe7fa65899
[]
no_license
rudi-c/computational-photography-research
2660d507ba2329d819f3eb5850b066d8b1f9c289
24ac27f6686afea7e1396f4caa5507ac59f42240
refs/heads/master
2020-04-28T21:28:28.273609
2014-11-11T07:35:42
2014-11-11T07:35:42
13,477,775
1
0
null
null
null
null
UTF-8
Python
false
false
12,996
py
#!/usr/bin/python """Runs a set of peak search algorithms on our scenes. """ import getopt import sys import coarsefine import random from cameramodel import CameraModel from direction import Direction from scene import load_scenes seed = 1 simulate_backlash = True simulate_noise = True def print_aligned_da...
[ "rudichen@gmail.com" ]
rudichen@gmail.com
f9b029536257b33e2c5061ee0df46395eef5ae31
9a3f201f5acc2941b0f74b1f1946aeb040b7aec7
/3Drefine_parser.py
1313b9377d1b28bfcd7f0a1030e96b4c625b4c4f
[]
no_license
DavisOwen/cvcRunAll
bf678d45945ae4798e549a36b55d51864950dfbb
271d62368d865eb3490c8a045336f213973a14e7
refs/heads/master
2021-01-01T06:48:01.644761
2017-07-24T18:30:24
2017-07-24T18:30:24
97,517,978
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
#!/usr/bin/env python import os import sys import subprocess import shutil f = open(sys.argv[2],'r') length = len(sys.argv[1]) for line in f: string = line.split() if len(string) >= 5: if string[1] == 'SUMMARY' and string[2] == 'OF' and string[3] == 'JOB': direct = string[4] if len(string) >= 4: if string[0...
[ "sdowen12@gmail.com" ]
sdowen12@gmail.com
6d79d1bdfaa99f326c1686dd06a25a83dd5f4f71
7a066aec96ae67e0177808c347ad296b0d4c17a2
/node.py
cd6c80bb730a031591a9040fca1839538855a53b
[]
no_license
varun-sundar-rabindranath/automatic-differentiation
c4e9dddb6aa4ed2a7a88af01bf2f8ad6b42dceac
805521474240a4d768e755a45975bc412766b287
refs/heads/master
2020-12-28T16:50:32.713518
2020-02-08T01:32:42
2020-02-08T01:32:42
238,412,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# Node class for graph from ad_numpy import ndarray_ from decorators import primitive from grad_fns import grad_fn_mapping class Node: def __init__(self): self.inputs = {"args" : None, "kwargs" : None} self.outputs = None self.op = None self.name = None self.grad_fn = Non...
[ "varunsundar08@gmail.com" ]
varunsundar08@gmail.com
9922f2132d7a55e28ab30681e4779b4cd437e51a
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210201120223.py
e793aeaa52c922c7f1eb6842bef7196a3a28ad87
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
17,707
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # 东方财富网 首发申报 import re import pickle from datetime import datetime, timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup import configparser config = configparser.ConfigParser() config.read('Con...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
c10038b3362c2b7e3e9c1956fd39e8f43a1d2c38
72e42be7ad8cea3a55ffb67cf71a37502f63373a
/samples/migrations/0010_patient_consent.py
10cdfa6bcf24e0ae319256700b8193dafdf5b5d5
[]
no_license
joshv2/biomarker2
117cee7b693529df0090626aa77b3346559a31a5
71ed1296c9231b56d44a8e84afbf78f573277dc1
refs/heads/master
2020-04-22T13:27:43.322480
2020-02-19T06:41:32
2020-02-19T06:41:32
170,410,393
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# Generated by Django 2.0.1 on 2018-05-24 00:39 from django.db import migrations, models import samples.models class Migration(migrations.Migration): dependencies = [ ('samples', '0009_remove_patient_consent'), ] operations = [ migrations.AddField( model_name='patient', ...
[ "joshv2@gmail.com" ]
joshv2@gmail.com
5649179f8c1bb20ed44f3c4504259fd0c3f51967
3c868540c8f5b0b9b46440e9b8e9160de9e8988f
/ch06/handle_with_condition.py
fe8d59c97207d94fc31608b8c1b50584d2ba69ac
[]
no_license
sarte3/python
cc8f41b8b22b0a980252d6546358dd212324e2cd
15d984e5df03387950692092b6b5569adab845bb
refs/heads/master
2023-01-18T18:37:40.720326
2020-11-17T08:43:27
2020-11-17T08:43:27
304,824,911
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
user_input_a = input('정수 입력 > ') if user_input_a.isdigit(): number_input_a = int(user_input_a) print('원의 반지름 : ', number_input_a) print('원의 둘레 : ', 2 * 3.14 * number_input_a) print('원의 넓이 : ', 3.14 * number_input_a * number_input_a) else: print('정수를 입력하지 않았습니다')
[ "sarte@outlook.kr" ]
sarte@outlook.kr
6dc1a9ada1602097156dbad46de7e233470ba7bf
53912aab38b4f155db2642b7b62bede9df9edc0a
/my_script.py
e28271662bce4a1c463aa2f9a43bb72ee382fe70
[]
no_license
rbeyhum/my-own-repo-2021
b2b69e2d550ce828e5a93be055042a3b5231b14c
e3e0fec9aab05b9c91916b9da3208cc569b9273b
refs/heads/main
2023-03-17T13:40:48.458186
2021-03-15T21:47:13
2021-03-15T21:47:13
348,128,248
0
0
null
2021-03-15T21:47:14
2021-03-15T21:30:36
null
UTF-8
Python
false
false
19
py
print("Hello.")
[ "noreply@github.com" ]
noreply@github.com
d4bec57822cd7f1cce6d006733f6096f23077dcf
ea0db4285f76da55e48be1b718afebea2f0d6b87
/src/models/stores/store.py
de3907bc841eb0207722d77073385640b50cbf61
[]
no_license
isabelitagr/price_of_chair_web
dc160873248f652e95cfa7fa9d236f44a78c72ef
9fdebefe1046c892b6bc3b1ef56da6aad59004f4
refs/heads/master
2021-01-20T18:09:56.394387
2016-08-10T19:26:37
2016-08-10T19:26:37
65,105,016
0
1
null
null
null
null
UTF-8
Python
false
false
2,502
py
import uuid import src.models.stores.constants as StoreConstants from src.common.database import Database import src.models.stores.errors as StoreErrors class Store(object): def __init__(self, name, url_prefix, tag_name, query, _id=None): self.name = name self.url_prefix = url_prefix self...
[ "isabelitagr" ]
isabelitagr
7069d8dae75b1aa649b24c927694adb46dc57f3c
732e1285934470ae04b20d64921a8cba20932875
/neuedu_cnblogs_spider/pipelines.py
d19805a40bcea08c1a72fa65eb9c955cfba04a39
[]
no_license
infant01han/neuedu_django_scrapy_es_cnblogs
69ee11c7840b25b8ae6d37b21324389dfdacf371
d293bae6ab5a7a360289afe35b7c3320dbce2dc8
refs/heads/master
2021-04-19T05:43:49.618157
2020-03-24T07:51:20
2020-03-24T07:51:20
249,584,790
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class NeueduCnblogsSpiderPipeline(object): def process_item(self, item, spider): item.save_to_es() retur...
[ "you@example.com" ]
you@example.com
6babdc36ffef1bb282e9e6628a2ecb4feb57f075
fdbb86a474ca935a68882ec5630c4b0e35b24c1a
/quqs/front/migrations/0001_initial.py
7c6b0ba020d3ecee19b72e03fc8f2daf003372fd
[]
no_license
Ravall/quqs.ru
24d565614b3f17af6102b1fd538fa7b8b18cf2cb
cc4a3ff2f5a1fe3251d27d2aa56741dbe068f734
refs/heads/master
2021-05-04T10:36:10.156850
2017-05-02T19:31:27
2017-05-02T19:31:27
51,449,172
0
0
null
null
null
null
UTF-8
Python
false
false
2,168
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Autor' db.create_table(u'front_autor', ( (u'id', self.gf('django.db.models.field...
[ "valery.ravall@gmail.com" ]
valery.ravall@gmail.com
b5719efc41c1787dbdbf3f5fd14e1e331769b2cf
55a4d7ed3ad3bdf89e995eef2705719ecd989f25
/main/law/spark_short/spark_short_limai_and_wenshu_origin/lawlist_to_lawid_2018-05-10_imp_other_etl_online.py
e9734a7e27e63e8f7b1081c614d979c3b4078dbe
[]
no_license
ichoukou/Bigdata
31c1169ca742de5ab8c5671d88198338b79ab901
537d90ad24eff4742689eeaeabe48c6ffd9fae16
refs/heads/master
2020-04-17T04:58:15.532811
2018-12-11T08:56:42
2018-12-11T08:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,190
py
# -*- coding: utf-8 -*- from pyspark import SparkContext,SparkConf from pyspark.sql import SQLContext from pyspark.sql.types import * import re def p(x): if x[1]: print type(x) print x # print x[1] # exit(0) def filter_(x): if x[1] and x[1] != '': #过滤掉数据库中,lawlist为Null或...
[ "985819225@qq.com" ]
985819225@qq.com
a2f96c692c168e1bf683f2c7e038bc39c1564e38
a16c547e3a205870b683eba93b73a83aaa18c70d
/main.py
f6d982b83d7f406c1b061914f6e2c4ee630f32fc
[]
no_license
ehayes9/halifax-crime-data
553f87e021d11f2502152ea1aafe70f6a186dff9
9cd9a45fcdc8957a342b6b22c860548d200fb402
refs/heads/master
2022-11-17T02:03:36.714820
2020-07-16T13:05:23
2020-07-16T13:05:23
274,170,512
1
0
null
null
null
null
UTF-8
Python
false
false
3,885
py
import requests import json import pandas as pd from google.cloud import bigquery client = bigquery.Client() # TODO: update variables to match your project, update project, dataset & table name in query below TABLE_NAME = "" DATASET_NAME = "" def extract_values(obj, key): """source: https://hackersandslackers.com...
[ "erinhayes@Erins-MacBook-Pro.local" ]
erinhayes@Erins-MacBook-Pro.local
2a9081357518966565fbc2eb8aae7d9e6ed4aaba
40374b6eaec92fa473b3351d0109836f80eae430
/cranfield_testdata/ttdata.py
ca178540bf6b843abbf30d91b00ead35427c2ccc
[]
no_license
Lnna/ability
7e0d5ce0510ae10c11254c93edeb64c3d72510aa
a2a0caf0defc3763560005189a126b2be42f2b86
refs/heads/master
2020-03-18T03:11:29.520050
2019-03-07T07:22:04
2019-03-07T07:22:04
134,227,245
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
from src.com.zelkova.db import DButil def __fetch_origin(): db=DButil.DB("10.144.5.121",3306,"web_crawler","curidemo","web_crawler",charset='utf8') res=db.fetch_all("select title,content from pages where update_time>='2018-07-01 00:00:00'") return res def __insert_tt(res:list): if res: # db=DB...
[ "lnn@lnn-X411" ]
lnn@lnn-X411
250f31b763d02f2dba25473438a3e6fdcc71ebc9
55a9b1b294d5a402c63848f9f7386e3bf93645da
/docker/src/clawpack-5.3.1/pyclaw/src/petclaw/tests/test_io.py
56c544ed1ff6d6cd39629552d19d32f8513d88d9
[ "LicenseRef-scancode-public-domain", "CC-BY-4.0", "MIT", "BSD-3-Clause" ]
permissive
geohackweek/visualization
b606cfade5d31f59cc38602df05930aed6e19b17
5d29fa5b69d69ee5c18ffaef2d902bd51f5807c8
refs/heads/gh-pages
2021-01-21T13:34:44.622039
2019-09-06T23:28:08
2019-09-06T23:28:08
68,648,198
11
13
NOASSERTION
2019-09-06T23:28:09
2016-09-19T21:27:33
Jupyter Notebook
UTF-8
Python
false
false
509
py
from clawpack import pyclaw from clawpack import petclaw import os class PetClawIOTest(pyclaw.IOTest): @property def solution(self): return petclaw.Solution() @property def file_formats(self): return ['hdf5'] @property def this_dir(self): return os.path.dirname(os.path...
[ "arendta@uw.edu" ]
arendta@uw.edu
92d1db39462651296a9f6cb842c88db3256465a3
aa490f6d0562edb70560716a6de0982e1fe852b4
/2017/tree/Flatten_Binary_Tree_to_Linked_List.py
d653434904bf9bda884c0b0deb6825aacbcb2886
[]
no_license
buhuipao/LeetCode
30bb9293d4e2db2c2020bc2e0b583ec216ce9974
9687f8e743a8b6396fff192f22b5256d1025f86b
refs/heads/master
2023-05-26T05:45:08.742410
2023-05-22T01:11:10
2023-05-22T01:11:10
94,600,745
5
1
null
null
null
null
UTF-8
Python
false
false
1,063
py
# _*_ coding: utf-8 _*_ ''' Given a binary tree, flatten it to a linked list in-place. For example, Given 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 \ 5 \ 6...
[ "chenhua22@outlook.com" ]
chenhua22@outlook.com
27b05a4a438b2511c23bed2d0bad0d8de56a97fc
8a3a180e23db62df84f6d8a600dce371846cad65
/french/urls.py
858d188b3c17ca5dfdacead758b80fed86986d60
[]
no_license
johnofkorea/kimoujoon_com
2cca288adfe677f6292d1b7197cfb65a6068e51e
1d68ad9aac08c0b2a40e4291488ad17d70d9eb87
refs/heads/master
2021-07-12T18:09:21.955932
2019-01-01T10:00:33
2019-01-01T10:00:33
143,883,257
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
from django.conf.urls import include, url from . import views urlpatterns = [ url(r'^$', views.home), url(r'^newsfactory/(?P<year_month>\S+)$', views.newsfactory), url(r'^thought/(?P<yy_mm_dd>\S+)$', views.thought), url(r'^search/$', views.search), url(r'^contributors/$', views.contributors), ...
[ "john.of.korea@gmail.com" ]
john.of.korea@gmail.com
a681e35076faabaf9130db917c45481b60e479f7
dd83170701699d8f36ed0bb88d32d24ed0311f23
/PugliaEventi_recommender/api/serializers.py
19d678c4b74486f9c41978e1e3ffecfa4b9920fe
[]
no_license
gperniola/PugliaEventiDocker
f6519f987a529aa85951fef8888498c758d6dada
dc9755addfd7696bb98dce523660447d853cee71
refs/heads/master
2022-12-11T12:44:41.626753
2019-10-23T15:44:40
2019-10-23T15:44:40
170,752,839
0
0
null
2022-12-08T01:38:26
2019-02-14T20:21:49
TSQL
UTF-8
Python
false
false
7,221
py
from rest_framework import serializers from .models import Utente, Place, Event, Distanza, PrevisioniEventi, PrevisioniComuni, Valutazione, Sperimentazione from datetime import datetime class UtenteSerializer(serializers.ModelSerializer): class Meta: model = Utente fields = ('id', 'username', 'location', 'first_...
[ "g.perniola22@gmail.com" ]
g.perniola22@gmail.com
d3154802016831a9607ed823f19441a46c3f2353
e1f67984994dac861dfd03a9218c5afc37076037
/venv/badtouch-develop/setup.py
0d597e14961fe652d7d737e8188ec7ff1e4dd00f
[]
no_license
rishikanthc/Basklitball-mlh-prime
ba04c4732de4e1103798c0375184975db3461a06
dde506c58d5fd882b50786d29194a2c20721f514
refs/heads/master
2021-01-09T20:45:07.297711
2016-08-08T22:48:18
2016-08-08T22:48:18
65,244,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
# -*- coding: utf-8 -*- import codecs from setuptools import setup, find_packages install_requires = open("requirements.txt").readlines() test_requires = [] for line in open("requirements-test.txt").readlines(): if line.strip() and not line.startswith("-r"): test_requires.append(line.strip()) long_descr...
[ "rishikanth@dyn-160-39-142-100.dyn.columbia.edu" ]
rishikanth@dyn-160-39-142-100.dyn.columbia.edu
372a1ab30f84b9a8c5f673b6c1f21e2219d23e8e
66a588eaff6714569b918eb6d898d56aad06227e
/ovirt_list-vm.py
59afcf8714e1360d63735312f9e9539f20bafea4
[]
no_license
Fabian1976/python-hypervisor-api
19e3b58c518550814348b4cb574a44f83aac7e87
eda7068a1f765644f5a32aa9b7733c5c56698689
refs/heads/master
2020-12-25T05:45:56.431215
2015-02-11T13:06:00
2015-02-11T13:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
#! /usr/bin/python #this script requires ovirt-engine-sdk-python from ovirtsdk.api import API from ovirtsdk.xml import params from time import sleep def main(): URL='https://<ovirt-host>:443/api' USERNAME='admin@internal' PASSWORD='secretpass' api = API(url=URL, username=USERNAME, password=PASSWORD,in...
[ "jensdepuydt@gmail.com" ]
jensdepuydt@gmail.com
336c253c1eb34cbc6702a52383fca4b3c9ac0f56
00c13d6096bb216a88efc9d623fa36acfd36b2e0
/restuygulama/urls.py
141c8ab27678755af0db417eebea221f5ed2f946
[]
no_license
bunyadahmadli/django_rest_framework_example
7d0fa0e735bcca24220b3332a319d3113dc52c67
33a99db1d2df6ee98760ff550c2c651a036c25f1
refs/heads/master
2022-10-31T21:46:26.042952
2020-06-17T09:21:44
2020-06-17T09:21:44
272,548,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
"""restuygulama URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "bunyad.ahmadli@gmail.com" ]
bunyad.ahmadli@gmail.com
265a5e2c314e412b545f2390b981e49d3b9d7a25
09ae3f372d1000f118ad80874870ae420a4be66f
/scikit-learn-master/examples/compose/plot_digits_pipe.py
c5b0fb2a136094f0d16c180883cdcc3175896a9d
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
lqkweb/learnMLflow
998f80c3828879b8d542125bc95c6345b8e9b29a
13c5decaebba95b1b90f92021be35e343b4764af
refs/heads/master
2022-10-18T06:17:23.584172
2019-01-18T09:51:38
2019-01-18T09:51:38
166,145,472
2
0
Apache-2.0
2022-09-30T18:26:17
2019-01-17T02:22:29
Python
UTF-8
Python
false
false
2,395
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Pipelining: chaining a PCA and a logistic regression ========================================================= The PCA does an unsupervised dimensionality reduction, while the logistic regression does the predictio...
[ "leiqk@dxy.cn" ]
leiqk@dxy.cn
1cd72e89e784bd4076712d2ec310a468dc2d12d0
f598881a0679dc4af35b6f92f99257fde1119f1a
/Solutions/Problem 1.py
c4b822d35e59a315baf175ecb8b20b6fd48a9196
[]
no_license
Ashton-Sidhu/Daily-Coding-Problems
05b0b6424bde946df776ee29b72ab7d03cedab8a
10ddf98cc2a8c17e3bb6df0c91dbfcc88786230c
refs/heads/master
2020-03-20T23:25:53.197547
2019-01-21T16:25:17
2019-01-21T16:25:17
137,845,929
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
#QUESTION: #Given a list of numbers and a number k, return whether any two numbers from the list add up to k. #For example, given [10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17. #SOLUTION: def AddToK(li, k): #Go through each element and check if the compliment of itself has been seen before and store...
[ "ashton.sidhu1994@gmail.com" ]
ashton.sidhu1994@gmail.com
7a9326929a7f53b2662c7335eb71b4aa4bf2e76a
8ef21c0efa61d77beb7633643f38704d980dba2a
/docker/worker/docker_run.py
f8fb42d20fbbb36747ce8b2106c3e2e96fa664ed
[ "MIT" ]
permissive
nachtmaar/androlyze
9d813c61f25d9788ff205c3b43f2f5e76f5ec82c
cfdbf5ddc7da0eff8554de1ac89e3acf8142100d
refs/heads/master
2021-01-10T21:49:34.080866
2015-06-28T22:31:18
2015-06-28T22:31:18
38,138,174
18
4
null
null
null
null
UTF-8
Python
false
false
297
py
#!/usr/bin/env python # encoding: utf-8 __author__ = "Nils Tobias Schmidt" __email__ = "schmidt89 at informatik.uni-marburg.de" import sys # DO not move this line under androlyze specific imports! sys.path.append(".") from androlyze.docker.start_worker import start_workers start_workers()
[ "schmidt89@mathematik.uni-marburg.de" ]
schmidt89@mathematik.uni-marburg.de
df6757eea70ca6beff741d0f7edfea3f0b34882d
e6d4c0b873e84dbfc4ac006338a24e34712bf32b
/test/psf/psf_calib_plot.py
1dcbaaf4d49854160eaf2ea55ab90f05106a9099
[]
no_license
streeto/SpecMorph
d965f865806ebab70ce90155be37196cf7839f74
b21248d112f01a621b80ce28e014f39b20d921f9
refs/heads/master
2020-05-16T22:25:17.550976
2015-08-25T12:19:09
2015-08-25T12:19:09
10,758,346
0
0
null
null
null
null
UTF-8
Python
false
false
7,256
py
# -*- coding: utf-8 -*- ''' Created on 10/09/2014 @author: andre ''' import numpy as np from pylab import normpdf import matplotlib.pyplot as plt import glob from os import path import sys ################################################################################ def plot_setup(): plotpars = {'legend.fonts...
[ "streetomon@gmail.com" ]
streetomon@gmail.com
12e211c6a0b585809fd340585465804edab79022
f43476c365eb0f87f61f1ffa81ef57e8924f6294
/src/smartbin.py
d2c5a734b5c509842cbbdc1ccf5934ce3bf1f32c
[]
no_license
DeltaC6/RPI_SmartBin
e4476ab9701b36bb1ee6171660ab90643f82d7d8
50d68d17472fd0a38fed6ae0ad56a7b1b595125c
refs/heads/master
2023-03-19T03:25:39.019683
2021-03-15T12:26:01
2021-03-15T12:26:01
317,552,922
0
0
null
null
null
null
UTF-8
Python
false
false
6,903
py
################################################################################ ## # @author Syed Asad Amin # @date Dec 1st, 2020 # @file smartbin.py # @version v1.0.0 # | v1.0.0 -> Added the smartbin class. # Integrated the GPS and ultrasonic sensors. # ...
[ "s.asad.amin@gmail.com" ]
s.asad.amin@gmail.com
d4a1f096540f26beec481251d4c1aff36fd8c6cc
5bb7eab7b6eae5acfd000a9ca36a2a9549a188b1
/lab2_submission/wordseg/lstm/7/develop_set.py
65a4cd52249dee96bf7eb0496acf149162184565
[]
no_license
Clarity-1021/SmartSystem_Lab2
91893ea8f0c987450173860b8708cbee06e11585
e5f14259b0fbe3d38de0f2dfbbe3e311b011a2da
refs/heads/main
2023-01-30T02:07:42.661325
2020-12-16T16:51:34
2020-12-16T16:51:34
317,869,658
0
1
null
null
null
null
UTF-8
Python
false
false
4,093
py
[(['推', '行', '股', '份', '制', '要', '遵', '循', '经', '济', '规', '律', ',', '尊', '重', '群', '众', '意', '愿', '。', '改', '革', '的', '最', '终', '目', '的', '是', '让', '群', '众', '得', '实', '惠', ',', '使', '企', '业', '有', '活', '力', '。', '不', '切', '实', '际', '地', '强', '制', '推', '行', ',', '把', '职', '工', '完', '全', '置', '于', '被', '动', '的', '位', '置...
[ "798098945@qq.com" ]
798098945@qq.com
94540f69b51e297493e925141b698ebc43c6f40c
933ba604582e8dee2640c0b8a89208cd8d723792
/apps/camb_legacy/bin/camb_legacy_work_generator
21d67ae0045f75bc9575c575e1b901b4872b94a5
[]
no_license
marius311/cosmohome
0feb2ed940eb283268e68d88dc1ed6c187ec82d5
ea3a19ff1660c7d0058be4343a6f3639d9c1373e
refs/heads/master
2021-07-08T16:34:01.047646
2020-06-10T22:54:51
2020-06-10T22:54:51
39,478,943
22
12
null
2016-12-15T12:30:00
2015-07-22T01:37:28
PostScript
UTF-8
Python
false
false
395
#!/usr/bin/env python import sys sys.path.append('../bin') import boinc_path_config from Boinc.work_generator import WorkGenerator from Boinc.create_work import check_output if __name__ == '__main__': class MyWorkGenerator(WorkGenerator): def make_jobs(self,num=1): check_output(['../bin/camb...
[ "mmillea@ucdavis.edu" ]
mmillea@ucdavis.edu
b3d3d006e1aa95b8e587502ae2d8da532a1e6b67
bfd5c5af9fe7b42d82e0aded8b70fa3cbcec434b
/nolearn_mnist/simple_mnist_2.py
7cb82b233047a18dd42a65c11009df82300e0c34
[]
no_license
BassyKuo/Neural-Network
40f53a2e6fea1bee782bcf2bef79c78070c7a3dd
fc1f846c2685109144825f1be42cbbccf2e45cdb
refs/heads/master
2020-12-07T06:07:34.696571
2016-09-02T12:46:12
2016-09-02T12:46:12
66,934,793
0
0
null
null
null
null
UTF-8
Python
false
false
2,605
py
#!/usr/bin/env python # Filename: simple_mnist.py #Source: http://nbviewer.jupyter.org/github/dnouri/nolearn/blob/master/docs/notebooks/CNN_tutorial.ipynb import matplotlib.pyplot as plt import numpy as np from load_mnist import load_mnist_set from lasagne.layers import DenseLayer from lasagne.layers import InputLayer...
[ "aaammmyyy27@gmail.com" ]
aaammmyyy27@gmail.com
a3479fa7ee212668e8fb1c930b24849b72f17174
6ac88d95b4c1bb157384da0bb4d814d32602d391
/Lesson2-1.py
1b8325cec0097f914418bd4dae6656c3ad3cc366
[]
no_license
hamar82/HomeWork
cd5a729c946589896472f7c3977deba74a4d843a
b8023f209f3948883150c7b3ffe3ae9e92da0000
refs/heads/main
2023-07-01T01:32:08.380202
2021-08-01T06:00:32
2021-08-01T06:00:32
391,538,552
0
0
null
2021-08-01T06:46:45
2021-08-01T05:46:55
Python
UTF-8
Python
false
false
633
py
"""1. Создать список и заполнить его элементами различных типов данных. Реализовать скрипт проверки типа данных каждого элемента. Использовать функцию type() для проверки типа. Элементы списка можно не запрашивать у пользователя, а указать явно, в программе.""" my_list = [5, 2.2,'Text', True, None, []] def my_type(...
[ "hamar82@gmail.com" ]
hamar82@gmail.com
f0c172434f75157fd2f9d04b95acc34c5ef8c9c2
7705ea99590a6d495b78fbfdf65019efbd9c7f0d
/main.py
1683e0f7b8012f364009142bcbc0bf60e3d181eb
[ "MIT" ]
permissive
Lotayou/point2mesh
e9d3657dfe6107e5356f5f89aebde91ba2ed3f53
0e3d288c03b5165e28430aada841bd6c25db8cb7
refs/heads/master
2022-08-01T12:14:59.021377
2020-05-25T21:09:56
2020-05-25T21:09:56
266,933,474
1
0
MIT
2020-05-26T03:14:22
2020-05-26T03:14:22
null
UTF-8
Python
false
false
3,847
py
import torch from models.layers.mesh import Mesh, PartMesh from models.networks import init_net, sample_surface, local_nonuniform_penalty import utils import numpy as np from models.losses import chamfer_distance from options import Options import time import os options = Options() opts = options.args torch.manual_se...
[ "github@hanocka.com" ]
github@hanocka.com
4661f874d007a11754a46c3beedde6041690f9e9
f6fafa5ade66f3168a4c8960389d6fb75539cf9b
/authmobile/views.py
c589d37ac540e48d45157b3ada270cf700ef5c9a
[]
no_license
tokibito/nullpobug-mobile-twitter-client
7fc6593bd086017eaa7fad96f60efa43193ff526
dbfb75a16d4020f471187bb1398e06ef42fc9862
refs/heads/master
2020-07-25T07:39:49.730289
2009-07-23T07:27:06
2009-07-23T07:27:06
208,217,866
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
# vim:fileencoding=utf8 from django.http import HttpResponseBadRequest, HttpResponseRedirect from django.conf import settings from django.views.generic.simple import direct_to_template from django.contrib.auth import authenticate, login from django.core.urlresolvers import reverse from authmobile.models import MobileU...
[ "xxshss@yahoo.co.jp" ]
xxshss@yahoo.co.jp
f23c218410aec4dc0f9a350359c03997fa9f593d
cd323d09192ca9d8a9e258a0455ff6f07f874896
/src/map_module/map_builder/structure_generators/_structure_generator.py
e1477f18baf856d4fcd1dcd511b04612acbdb729
[]
no_license
matszach/wildrealm
d9cc03c4b71e79d074cd166242cc3143e67e254a
6e46a4b2de2c24fa18703fa1f482b95ef5114e8b
refs/heads/master
2020-08-07T12:53:32.412078
2019-10-24T21:28:56
2019-10-24T21:28:56
213,458,051
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
from src.map_module.worldmap import WorldMap from random import random from math import sqrt class StructureGenerator: def generate(self, wmap: WorldMap, possible_floor_ids: list, spawn_chance: float, min_range: int = 100): for x in range(wmap.x_size): for y in range(wmap.y_size): ...
[ "lkaszubowski@gmail.com" ]
lkaszubowski@gmail.com