blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1db9e13e933486896e69dd010f0491a3f17c6bca
94da86b9772ce06c9444a56d6ef4c6edb7887ba5
/kafka-consumer.py
9607545e93bca4cdc1ed33af1c6407ad0e4d583c
[]
no_license
ThalesGabriel/projetoPsd
495316e6c545027a44000878a378cd71f86821b1
10d51770494dce3f11e751028f8875cb9c1ab7dc
refs/heads/master
2020-08-01T02:56:20.730858
2019-09-25T12:26:32
2019-09-25T12:26:32
210,836,998
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
from kafka import KafkaConsumer from json import loads consumer = KafkaConsumer( 'meu.topico.legal', bootstrap_servers=['172.16.205.225:9092'], auto_offset_reset='earliest', enable_auto_commit=True, group_id='my-group', value_deserializer=lambda v: str(v).encode('utf-8')) for message in c...
[ "thalesg88@gmail.com" ]
thalesg88@gmail.com
5f68224654afb98c99125e28a341ed8dd9de664a
316c473d020f514ae81b7485b10f6556cf914fc0
/scrapycrawlspidertest/scrapycrawlspidertest/spiders/universal.py
38f44ee1edb89a378c243113f5a699a7ccc43884
[ "Apache-2.0" ]
permissive
silianpan/seal-spider-demo
ca96b12d4b6fff8fe57f8e7822b7c0eb616fc7f3
7bdb77465a10a146c4cea8ad5d9ac589c16edd53
refs/heads/master
2023-06-20T03:47:04.572721
2023-05-24T06:27:13
2023-05-24T06:27:13
189,963,452
1
1
Apache-2.0
2022-12-08T03:24:54
2019-06-03T08:15:56
Python
UTF-8
Python
false
false
1,855
py
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from scrapycrawlspidertest.utils import get_config from scrapycrawlspidertest.items import * from scrapycrawlspidertest.wraps import * from scrapycrawlspidertest import urls class Univers...
[ "1206284818@qq.com" ]
1206284818@qq.com
1f143695018dec07dee3da5d12049c169c34e0c8
65d6a5b8ed19ed65c9e6747fc737844320ad054b
/packages/python-ldap/Tests/newapi.py
bc7b7a3c3209dbef0a50ee4f7d1e6a9875b2cb76
[ "Python-2.0" ]
permissive
mozilla/basket-lib
f3242c97508571516db9c86cfa4f54e469406aad
3978af377f5c132e30469cfc1af0e78fce356244
refs/heads/master
2023-09-03T19:49:52.871452
2015-12-03T21:51:42
2015-12-03T21:51:42
2,418,254
1
1
null
2022-01-12T19:47:40
2011-09-19T20:52:10
Python
UTF-8
Python
false
false
324
py
import ldap l=ldap.initialize('ldap://localhost:1390') print l.search_s('',0) l.search_s('dc=stroeder,dc=com',1) try: l.search_s('ou=not existent,dc=stroeder,dc=com',1) except ldap.NO_SUCH_OBJECT,e: print str(e) try: l.search_s('dc=stroeder,dc=com',2,'(objectclass') except ldap.FILTER_ERROR,e: print str(e...
[ "abuchanan@mozilla.com" ]
abuchanan@mozilla.com
2d99088ff7bd2fb53f503d19f03ef6d9e83351db
d23f2c0e75bd89629be12ff3e2977956f5b1add7
/HelloWorldHacktober.py
6ee42bfc40ce6e312fa4b1a11decc7eab045ff73
[]
no_license
AdaoNeves/Hello-Hacktober
22e03739530f244004819b06aac94c10fc1aff80
0c541056b54b7e10d8dc5776e7c90f1d9c67773f
refs/heads/master
2020-08-21T18:23:14.579135
2019-10-19T14:21:10
2019-10-19T14:21:10
216,217,768
0
0
null
2019-10-19T14:19:09
2019-10-19T14:19:09
null
UTF-8
Python
false
false
31
py
print('Hello World Hacktober!')
[ "noreply@github.com" ]
AdaoNeves.noreply@github.com
61321df20d7cbeb1a2ed9c6275bc03479378b0de
65e1fe550446890a874d56aa4c5b9ab516d752aa
/mysite/settings.py
fcadc07fb5f9c28765c38f3bb835deeafd40dfd5
[]
no_license
EijianAsax/my_first_blog
d0e093eccd323eb446c354b53b3c2e179a3061db
3e48cd9dd010ece3435a09de633df22296b7bfe3
refs/heads/master
2020-09-16T19:37:32.005580
2019-11-29T06:59:17
2019-11-29T06:59:17
223,870,057
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ i...
[ "yar_smart_my_life_dayo_eba2@ybb.ne.jp" ]
yar_smart_my_life_dayo_eba2@ybb.ne.jp
7fefa54d9f554c5233b70cab9dea453e0c81a844
23d2b9692d2723ec0f1f63497f36f5b9b59b0346
/2_Python_Data_Structures/Week_6/example_11.py
a43d19f289ff4d48bc9beb7bf41ccc2a1e07c3a2
[]
no_license
lincolnjohnny/py4e
1ee331d9da7dab599dee1208de978a6c266a44af
a18deb696cde6d55f9266f389c0ccfd6eea2c540
refs/heads/master
2022-12-26T04:23:45.651991
2020-10-12T15:45:53
2020-10-12T15:45:53
300,396,585
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# The top 10 most common words in a file fhand = open('romeo.txt') counts = dict() for line in fhand : words = line.split() for word in words : counts[word] = counts.get(word,0) + 1 lst = list() for key,value in counts.items() : tmp = (value,key) lst.append(tmp) lst = sorted(lst, reverse=True...
[ "lincolnjohnny@gmail.com" ]
lincolnjohnny@gmail.com
6c5c42ff2a8236b5cf4cb027d980ffb05aed63ad
fa258ee7abb5186120ff6162fbeba82d687799b5
/token/crowdsale.py
34d098e65637d28e10a87f9c9de830aa4b86bdda
[]
no_license
frenchtoasters/Project-Ultimatum
31b8b0baa44bc7237e7f322fbe4d4fc7028963d3
bc9b9ee57a4a363a44ff944616885aa030580db6
refs/heads/master
2021-10-10T19:18:50.464234
2018-06-01T01:26:00
2018-06-01T01:26:00
133,738,022
0
0
null
null
null
null
UTF-8
Python
false
false
6,677
py
from boa.interop.Neo.Blockchain import GetHeight from boa.interop.Neo.Runtime import CheckWitness from boa.interop.Neo.Action import RegisterAction from boa.interop.Neo.Storage import Get, Put from boa.builtins import concat from fuckstick.token import * from nex.txio import get_asset_attachments # OnInvalidKYCAddress...
[ "icowhalegithube@gmail.com" ]
icowhalegithube@gmail.com
666c1d248b09a8c294ba16b944e4a46a9012d7c7
f10a7a5e92f2d657ec7f5be87cd862792cad4772
/widget-qt4/testmodule.py
fd76dfde7123b0e4afd214fce928eb71dc21fb27
[]
no_license
shiroyasha/oldPorjects
88af98532bb9232c2a036346a0f2d3d77b7ca2fe
b062bcaceb2a1919e23a04877e06037e50f862c0
refs/heads/master
2021-01-10T21:17:10.678714
2012-12-05T13:44:13
2012-12-05T13:44:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
#!/usr/bin/env python import sys from PyQt4.QtCore import QSize, Qt from PyQt4.QtGui import QBrush, QPainter, QWidget print sys.version from PyQt4.pyqtconfig import _pkg_config print _pkg_config class Widget(QWidget): def __init__(self, *args): QWidget.__init__(self, *args) def __del__(s...
[ "igisar@gmail.com" ]
igisar@gmail.com
0e57cc74f355730d743a3e2caabe5ca9c4e7f1d2
66a1dd85f472cf6db1f6a34117fd37971502ff7e
/hotelling_server/message_box.py
76125cb2cb3df4c53ee4dc30c38d6bb4525ebe79
[]
no_license
AurelienNioche/HotellingServer
1c6d5bde6806d14f3a44cd8c5f8191af81133b80
bd288ca24d4ddf7f1c1a9a149fb2916dd50c3043
refs/heads/master
2021-07-01T06:58:03.472219
2018-02-16T23:10:50
2018-02-16T23:10:50
96,099,287
0
2
null
2017-11-17T14:04:51
2017-07-03T10:26:47
Python
UTF-8
Python
false
false
1,755
py
from PyQt5.QtWidgets import QMessageBox class MessageBox: def show_question(self, msg, question="", yes="Yes", no="No", focus="No"): """question with customs buttons""" msg_box = QMessageBox(self) msg_box.setText(msg) msg_box.setInformativeText(question) msg_box.setIcon(Q...
[ "basilegarcia@gmail.com" ]
basilegarcia@gmail.com
730b513d27ee1bb307ed3b428f8a412c5135393b
8436711618438240714022e6868fcc3e315c75f0
/exam-python/shop_online/serializers.py
5e7119c2d34563fd25f7ddf527b9c5cc290a9657
[]
no_license
MaximKhrenov/dip
5d01c8834cab1143a008f84492cddf4d215a8060
317072baceb6fdd17f982cd0cb2591d0d8abf44e
refs/heads/master
2021-06-16T00:40:10.948096
2019-02-28T14:37:39
2019-02-28T14:37:39
173,128,998
0
0
null
2021-04-20T17:53:20
2019-02-28T14:41:31
HTML
UTF-8
Python
false
false
2,855
py
from rest_framework import serializers from shop_online.models import (Product, Category, User, Cart, Order, ) class ProductSerializers(serializers.ModelSerializer): class Meta: model = Product exclude = () class CategorySerializers(serializers.ModelSerializer): class Meta: ...
[ "khrenoffmaxim@yandex.ru" ]
khrenoffmaxim@yandex.ru
a85d70022988f54dc486ed93a48ae927dda3851e
27867726be00243dde6d9883f98553fa6b882af0
/src/Python/untyped_functions.py
d4b7ab5e90beb2f88c9c97f3c296919850ed058e
[]
no_license
JRWu/spring2017_cs842typesystems_final
33d13ef5f27647cadc684237712c22cd40769f88
40a42e66af512f4799bf8c24229145b47b289f99
refs/heads/master
2020-06-27T18:06:13.468364
2017-07-25T23:45:05
2017-07-25T23:45:05
97,070,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
#1) Arithmetic Primitives def addition(x, y): n = 0 for i in range (0,10): n += x + y return n def subtraction(x, y): n = 100 for i in range (0,10): n = n - (x + y) return n def multiply(x, y): n = 2 for i in range (0,10): n = n * x * y return n def divide (x, y): n = 1000 for i in range (0,10): n...
[ "jwu424@gmail.com" ]
jwu424@gmail.com
57fd2a9e1342209b3a30476890b6f91eb8a2545f
87094a2ba48e9d8390c7b661065889cdd0008aa3
/web-scraping/opt-categories.py
07e44b706a29072fd4fa9899390f47e815a8ec1a
[ "MIT" ]
permissive
mponweiser/thesis-LDA-in-R
e25eb6263f52482aafd67ac9b26ed5e40d2ce217
e3be172f97e96c53c3941801e0b913d68621a1a0
refs/heads/master
2021-01-19T03:55:05.278670
2016-08-06T10:07:20
2016-08-06T10:07:20
46,223,108
4
3
null
null
null
null
UTF-8
Python
false
false
1,285
py
#! /usr/bin/python from csv_unicode import * """ Create a separate categories.csv, for deciding which categories to merge. Not needed for a regular run of the scraper. """ def main(): categories_major = [u"Biological Sciences", u"Physical Sciences", u"Social Sciences"] filename = "meta.csv" reader = Uni...
[ "m.ponweiser@gmail.com" ]
m.ponweiser@gmail.com
1627e2f2e17f6ce0d5c676d0f49c707e37e14b3e
9a6fce2ab99b489ec326725080b44d8cb312ca1c
/main/views.py
aeb5caad58faddb130a531dfddd144c68afe8cbf
[]
no_license
jeksifrost/test_simple_website
ba6d39e73be91341b347010999a46ccb112ad238
b088c60da308529df2b63e69d4158055fb452f88
refs/heads/master
2023-07-01T07:40:26.395649
2021-08-04T13:28:26
2021-08-04T13:28:26
384,142,806
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from django.shortcuts import render def index(request): data = { 'title': 'Main page', 'values': ['Some', 'Hello', '123'], 'obj': { 'car': 'BMW', 'age': 18, 'hobby': 'Football' } } return render(request, 'main/index.html', data) def abou...
[ "jeksifrost@gmail.com" ]
jeksifrost@gmail.com
811b90f182bb790b2abaffda188bf3d3ceb63adb
c90de8337f3a0a924ecbd6df625485c616b0d01e
/examples.py
7fdd9f938879ed4040eb8e00b42a0490b8b8d391
[]
no_license
A-M-Simmons/BOM_Weather_Data
9dea735d2cf5e3475fb54a55773fdcd4f651e5f5
a177c2d470c44e27d4f909c58f7637759cde3168
refs/heads/master
2022-12-12T22:03:24.086230
2019-07-23T05:13:48
2019-07-23T05:13:48
195,521,747
0
0
null
2022-12-08T01:05:05
2019-07-06T09:28:27
Python
UTF-8
Python
false
false
1,697
py
from api import getCurrentSites from api.database import connectToDatabase from api.database import connectToDatabaseThreading from api.database_models import Location from scraper.data_scraper import getStationList from scraper.data_scraper import parseStationList from scraper.data_scraper import insertStation ...
[ "alex.m.simmons@protonmail.com" ]
alex.m.simmons@protonmail.com
d22b71abe4cadc80afcd1046ec644eef0dd4ee2a
0e1f2d0e990940c0a61df99a9418cb92bf51d256
/Desktop/6.003/c11_code/wav_utils.py
40e10dc294b98fa16b46ddd9b8af2f5235aa3d7e
[]
no_license
jossotriv/Cool_Stuff
e57e81598c99e84f8cd08b54a8f066276e2cac6a
13fa757be5618f5d6a0fc35180501afe8eeb5759
refs/heads/master
2020-03-23T06:53:25.572943
2018-07-25T19:41:40
2018-07-25T19:41:40
141,235,473
0
0
null
null
null
null
UTF-8
Python
false
false
3,068
py
import os import wave import numpy import struct import tempfile import matplotlib.pyplot as plt try: import pyaudio except: pyaudio = None class Wave: def __init__(self, samples, sample_rate): self.sample_rate = sample_rate self.samples = samples def save(self, filename): ou...
[ "jossotriv@yahoo.com" ]
jossotriv@yahoo.com
8309c5957a8298e9e57c2403dd478a0c8bfc3e13
fa7d727b59678d51656b4bb2747b24744e17d771
/get_color_replace.py
e2d4004abd7ad66956019df0f5210215e67205ee
[]
no_license
Du-Sen-Lin/TraditionCV
0998cd642284404fc7de2724b56781f26e92ec12
3155f9dfe145cb1f882eeb4078454ae72829f761
refs/heads/master
2023-02-03T02:57:16.369407
2020-12-23T13:33:10
2020-12-23T13:33:10
317,179,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
import cv2 import os import numpy as np from matplotlib import pyplot as plt import time __all__ = ['ColorReplace'] input_path = '' out_path = '' class ColorReplace(): def __init__(self, input_path=None): """ :param input_path:images path """ self.path = input_path def replac...
[ "dusl0713@thundersoft.com" ]
dusl0713@thundersoft.com
9a79f974209db57f80154e7407a52ed74cadadec
2a953e337f4321f2fcb396d8e2f93a5bccb91186
/SICK_rl_pub/src/nn_utils/integration_func.py
7959242c5ec0821f3fe8bb38eff0f864c241712f
[ "Apache-2.0" ]
permissive
taoshen58/ReSAN
d9486e8189aca0457f62d073d53ce25bf11bf4da
f65f3fe656907be0ec14ddf18cd7d2608e7ef905
refs/heads/master
2020-03-07T14:11:35.128966
2018-05-02T22:06:58
2018-05-02T22:06:58
127,520,810
31
8
null
null
null
null
UTF-8
Python
false
false
10,077
py
from src.nn_utils.general import get_last_state, exp_mask_for_high_rank, mask_for_high_rank from src.nn_utils.nn import linear, get_logits, pooling_with_mask, softsel, feature_combination, dropout,\ bn_dense_layer from src.nn_utils.rnn_cell import SwitchableDropoutWrapper from src.nn_utils.rnn import dynamic_rnn, b...
[ "hishentao@gmail.com" ]
hishentao@gmail.com
148c8c1bdb66c854ea93aeb9cece58c80697e932
c6a8aa51d489358381c9ba51ad162169243de16c
/10_1-10_3/StreamNetwork.py
d88915ebc6281a336a1e2ee0f66688d2f3d41da7
[]
no_license
aantonio99/FCToolbox
e6fa78bb2f3a5fb0eb3174e9f80baa832b174bcc
4c76e5923dfff1833fd944c8af4cc5ddb3c91f08
refs/heads/master
2021-07-21T07:04:17.671545
2017-10-31T12:38:14
2017-10-31T12:38:14
108,995,073
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,528
py
# -*- coding: utf-8 -*- ''' Created on 21 fev. 2013 Last update on 07 fev. 2014 @author: Clement Roux @contact: clement.roux@ens-lyon.fr CNRS - UMR5600 Environnement Ville Societe 15 Parvis René Descartes, BP 7000, 69342 Lyon Cedex 07, France @note: For each use of the FluvialCorridor t...
[ "aurelie.antonio@ens-lyon.fr" ]
aurelie.antonio@ens-lyon.fr
a5d5b5d8d00dd3c8d9faee9c11aeea428df67616
fd94ec2d4cfcdb8aa41c2ecf92504a6502987b54
/scripts/EmuMarker.py
27dad104e3e1fda0c3243804da0f8a2a8f3c2f84
[ "LicenseRef-scancode-glut", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Unlicense", "MIT", "SGI-B-2.0" ]
permissive
greggman/regal
70bccfd935c42f2a532471f84f164b9992886bce
60d5f5f060dcbfa6ff2cdd5bf8823fd5a9cf11db
refs/heads/master
2020-12-30T19:11:25.692166
2012-09-12T14:39:39
2012-09-12T14:39:39
5,432,185
1
0
null
null
null
null
UTF-8
Python
false
false
854
py
#!/usr/bin/python -B formulae = { 'Insert' : { 'entries' : [ 'glInsertEventMarkerEXT' ], 'impl' : [ '_context->marker->InsertEventMarker( _context, ${arg0plus} );', 'RegalAssert(_context->info);', 'if (!_context->info->gl_ext_debug_marker) return;' ] }, ...
[ "nigels@users.sourceforge.net" ]
nigels@users.sourceforge.net
3179c6041c2a657e53e9e100decdba0a0356ce6e
9e774859a540a09b7e3f6b3c051516586fc9f744
/DesignPatterns/Observer/Observer.py
e00307b92a8415397bd119e6a34dcaa339a4ca12
[]
no_license
Cat-Garfield/PythonProject
4895cf36eddbd7b24989039c2ccdd7a5a7ffaa48
5696d7bd280c095bf5fb562eb4d5b04a225e11c0
refs/heads/master
2022-08-21T23:04:18.758703
2020-05-28T13:19:03
2020-05-28T13:19:03
266,335,826
1
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
# -*- coding:utf-8 -*- import time class ObserverBase(object): def __init__(self): self._observered_list = [] def attach(self, target): if target not in self._observered_list: self._observered_list.append(target) def detach(self, target): if target in self._observered...
[ "WadeIsShuaiB@github.com" ]
WadeIsShuaiB@github.com
92b3b0104e4a06cbb52b0414b983ceafbca9d1a4
58b5624341f2352c5ac7c50320a6009bd72ad3c4
/external/amazon_scraper/__init__.py
74b3f536b9b00a6784f8e290f6ea51744be80fd5
[ "MIT" ]
permissive
MachineLearningStudyGroup/Smart_Review_Summarization
ca74682206db64600d3c3e55d5777c24b29f5b71
2f6667b504243d195cea1a3a85af72fdd950d2a8
refs/heads/master
2021-01-19T01:01:48.113683
2017-08-29T01:19:16
2017-08-29T01:24:12
53,262,459
8
4
null
2016-09-28T01:49:15
2016-03-06T15:44:56
Jupyter Notebook
UTF-8
Python
false
false
8,903
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import logging import re try: import urlparse except: import urllib.parse as urlparse import urllib import functools import time import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disabl...
[ "tailinwu2009@gmail.com" ]
tailinwu2009@gmail.com
64a39dd67dddf05fdb4cef56c2b7f43657b17747
9196d8e25360e0efeb4a7bd2ec7e0d6546466738
/app/config.py
7435b88677d8613f4077dd7c357574e10a4591f4
[]
no_license
abj/test_api
3e5267391ac68381183738492b5352962909386e
87a90195f94d5f7ade4f6a8c823de1870d70f8a3
refs/heads/master
2022-12-05T23:05:12.296666
2020-08-26T09:23:12
2020-08-26T09:23:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): USERNAME = 'anna' PASSWORD = 'pass' SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \ 'sqlite:///' + os.path.join(basedir, 'test.db') SQLALCHEMY_TRACK_MODIFICATIONS = False JWT_SECRET_KEY = 'sek...
[ "fredegrec@gmail.com" ]
fredegrec@gmail.com
142d5cfb6d73ff3e397f0370c9bcfd309bf228e1
9ca1e1ee000b2aaf6f9f80be7afe73ebf20c5259
/modules/neuralnetwork/training.py
6e089faea6a3b36648e50a8276a47d08d834b8c4
[ "MIT" ]
permissive
kfoerderer/ANN-based-surrogates
c8e4ad32a97184f7c27dec3fa00759f5fc73e9b3
aef0eca9e969858e47babfc73a15c04262285e6b
refs/heads/main
2023-08-14T21:41:35.675510
2021-09-14T10:17:01
2021-09-14T10:17:01
363,385,685
0
0
null
null
null
null
UTF-8
Python
false
false
14,846
py
import traceback import sys import logging import logging.handlers import os import shutil import queue import pprint import numpy as np import torch import torch.nn as nn import torch.optim import torch.multiprocessing as mp from ..neuralnetwork.samples import SampleCache class TrainingCallback: def __...
[ "foerderer@fzi.de" ]
foerderer@fzi.de
4a160eac6a0bf3a897d8c676fcde80f0a1fd5dca
d6d3793eee29ffacc43a7dbf2b1165950c626efa
/convy.py
f2a1a5f36f386e8dc58002255d62c0779a17f86f
[]
no_license
rahulkadavil/convy
7a32720847ad7e6270c725b51d9e40575a9eaf8c
1c740cf53d5569895b34792c7f3b9bd0926dd394
refs/heads/master
2020-03-11T18:52:27.012569
2018-04-19T18:42:46
2018-04-19T18:42:46
130,190,694
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
#!/usr/bin/env python print "Enter the value:" s =raw_input() listhex = [] listdec = [] listbin = [] for i in s: print "Converter for " +i hexa = hex(ord(i)) listhex.append(hexa) listhex.append(" ") print "Hexadecimal :" + hexa inte = int(hexa[2:],16) listdec.append(str(inte)) listdec.ap...
[ "noreply@github.com" ]
rahulkadavil.noreply@github.com
f4acaf7682a9a1e14d09298963943cca14536cb0
7b38197bb4772724f5e875f9d3b79d61050a072b
/BioSTEAM 1.x.x/biorefineries/cornstover/_plot_spearman.py
0c107226c916f5a7750fac6a89132a83827bf351
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yalinli2/Bioindustrial-Park
fac6d58d82af56f5081f529c3ee0c65a70fe7bd3
196e2d60ec9bf0466ef804d036c995b89bc72f72
refs/heads/master
2021-09-24T11:24:26.586458
2021-09-09T14:05:33
2021-09-09T14:05:33
232,337,200
2
0
MIT
2021-09-09T14:05:34
2020-01-07T14:04:05
Jupyter Notebook
UTF-8
Python
false
false
2,749
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 16 00:02:57 2019 @author: yoelr """ import pandas as pd from biosteam import colors from biosteam.evaluation.evaluation_tools import plot_spearman # %% Plot Spearman correlations # Replacement parameter labels replacement_labels = { 'Stream-Ethanol price': 'Ethanol...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
c36fb34eb4696a80e01c380bf976584be74eab70
0725317eae7710c5991ff0976a6f99032ccaad69
/ex_cbv/models.py
89150ef7c3399ef880c44e93078196df5132cbe4
[]
no_license
rajivshankar/rs-django-training
536d40cdd4d30bdc01d4b011e3affbe7b504b153
bdf80425e317fcb48c975ac964ac74dd0c0d11d3
refs/heads/master
2021-01-10T05:39:37.883531
2015-11-17T10:06:54
2015-11-17T10:06:54
43,615,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
# myproject/ex_cbv/models.py # -*- coding: UTF-8 -*- from django.db import models from django.core.urlresolvers import reverse class Publisher(models.Model): name = models.CharField(max_length=30) address = models.CharField(max_length=50) city = models.CharField(max_length=60) state_province = models....
[ "mail.rajiv.shankar@gmail.com" ]
mail.rajiv.shankar@gmail.com
048a8174ef620c5df230102eae4c84935ea54b6d
f67b330c8dfb8cb21fc7f57507d196a1febcfdbb
/check_armstrong_num.py
10619c910c516ff4f2965fcc86ef0f02133fc755
[]
no_license
harshuop/GeeksforgeeksEXE
0d3ffeb61c7e9c8ead7c20821b0a272096697a5f
fa98d4f9a23b6b531194bf1ea23748104e01a1de
refs/heads/master
2023-03-02T16:51:03.670646
2021-02-13T06:09:32
2021-02-13T06:09:32
333,089,666
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
def power(n): return len(str(n)) def process(n): x = power(n) x = [46] p = map(lambda x: return x, x) print(p)
[ "harshwardhanxyx@gmail.com" ]
harshwardhanxyx@gmail.com
b158a6dd4f53ebb5d27053bc682f95514166b60a
468ea25f9d118bf423391f67b363bda09c3d240e
/core/admin.py
5ffb15849f41a317d17e686ee022fe18443ebb12
[]
no_license
eferrares/codeinquero
569eb7ac62450935d4ae8658b20187acffbe2c11
cb8302e5a8b80e7c2948ff074761b45f1f4d551b
refs/heads/master
2020-03-15T18:03:22.657945
2018-10-26T17:08:12
2018-10-26T17:08:20
132,275,128
1
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django.contrib import admin from .models import( Enterprise, Moderation, User, ) class UserAdmin(admin.ModelAdmin): list_display = ('__str__', 'email') list_filter = ('name', 'email') search_fields = ('name', 'email') list_per_page = 20 fields = ('name', 'email', 'password', 'is_...
[ "erich.rodrigues@yahoo.com.br" ]
erich.rodrigues@yahoo.com.br
4615ba74a389ed212b9aeec0d5795e0b39da0b9e
882984d795866e55a7b863558eddad0e13e37894
/stock/mysqltoexcel.py
0560cf761cc49212b3d011a2e64cd9e9587aa195
[]
no_license
fanghuiuo/pytest
cd5ad8bd6d8845c618c653c7d0bd91fb6eaf6a46
b1023e20023a006148f668397ed53fdf61f6c1df
refs/heads/master
2022-01-28T17:43:31.637723
2021-06-08T08:53:44
2021-06-08T08:53:44
213,566,947
0
0
null
2022-01-15T07:06:31
2019-10-08T06:40:14
Python
UTF-8
Python
false
false
387
py
import pandas as pd from sqlalchemy import create_engine def mysqltoexcel(strsql): ce = create_engine('mysql+pymysql://root:root888@127.0.0.1:3306/pytest') rows = pd.read_sql_query(strsql, ce) df = pd.DataFrame.from_records(rows) df.to_excel('d:/movie.xlsx', encoding='utf-8') if __name__ == '__main_...
[ "fanghuiuo@163.com" ]
fanghuiuo@163.com
b05d8df69188a171c3b0d96360051ce235e9c9fc
a085a2fec46ae5507f93f4d4e2fc379cd693c086
/suspicious.py
056347eec468cc9a5606d97422a081e05be6ebea
[]
no_license
Eduardo359/irccat-commands
94822ab429979a21641fe3fa1f58f9b1e4c98adb
b85c8648cb7e386b2babc8619c6800dd33276fc0
refs/heads/master
2022-11-06T16:33:41.850655
2020-06-25T09:26:55
2020-06-25T09:26:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
#!/usr/bin/python import random suspicious = [ 'http://i.imgur.com/cgxBjhz.jpg', 'http://goo.gl/KrrNCQ', 'http://goo.gl/AgyDB0', 'http://goo.gl/s4UpVu', 'http://goo.gl/wOjkwH', 'http://goo.gl/ewD2tO', u'http://hack.rs/\u0ca0_\u0ca0.jpg', ] print suspicious[random.randrange(len(suspicious))...
[ "marksteward@gmail.com" ]
marksteward@gmail.com
7fde49b6b4a3be2ef140b933e37e632328f9a629
98770c4d1a3a02e555b7ab70b176d983e7b204ca
/weeklyReportGather.py
4da353bca34decfa109e8274a7a570bb0ff9a480
[]
no_license
zhengxiaoqing/hello-world
dbc8183836c87b36b15c083cd92c9946353d50d9
91655a486d5ebd038e141a4182f2f1d41f413f30
refs/heads/master
2021-01-21T10:33:43.224460
2019-10-31T06:24:37
2019-10-31T06:24:37
83,448,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
import glob import openpyxl #将所有人的周报xlsx放入固定文件夹,xls格式不可用 #获得所有周报的一个名字列表 listOfReport = glob.glob(r'D:\documents\testop\*.xlsx') #打开汇总excel wbAll = openpyxl.load_workbook(r'D:\documents\huizong.xlsx') #当前汇总表的活动工作簿---sheetAll sheetAll = wbAll.get_active_sheet() #获得所有人员名字的列表 NameList =[] for cellName in sheet...
[ "noreply@github.com" ]
zhengxiaoqing.noreply@github.com
2b519583110d810f29e0c4ea22a6de95ab38a252
a782c9df6d2ffdb5274a175d553f560d1a4036a9
/users/views.py
2b065c3a74d7ab06afbb29c445c629db62be0873
[]
no_license
python-cyl/Django_BSM
0a36914075f6fa166e4994ceb036594bbf5e006b
84e674550d61f2f5be34123c36150b64cc196cd2
refs/heads/master
2020-07-02T00:53:43.570580
2019-08-09T01:47:41
2019-08-09T01:47:41
201,365,502
2
0
null
null
null
null
UTF-8
Python
false
false
962
py
from django.shortcuts import render from django.views.generic.base import View from users.models import UserProfile from django.contrib.auth import authenticate, login # Create your views here. class UserView(View): def get(self, request): return render(request, 'Empt classroom.html', {}) def post(sel...
[ "1206571585@qq.com" ]
1206571585@qq.com
b7c97ebb040f1cf79b042263d6c24c17b9d3970e
13f6ab0c4d8fe9c102d3f4ebdf7e15b0bf9b91b6
/main.py
6ec36484f7c25e1b31abd4b88c784964e3edc0de
[]
no_license
jrg96dev/SpaceInvaders_pygame
86cb0b2bf44104df1889c5a2e08dc3d4972a8a59
c47747252b13432d3f372c43553faed9d8cb4095
refs/heads/master
2023-01-22T16:35:40.515822
2020-12-09T06:22:55
2020-12-09T06:22:55
319,838,699
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import pygame from enemy import Enemy # This has to be the first line always FPS = 30 pygame.init() clock = pygame.time.Clock() # -------------- RESOURCE LOADIN ------------------ icon = pygame.image.load('ufo.png') player_img = pygame.image.load('player.png') enemy_img = pygame.image.load('enemy.png') # -----------...
[ "jrg96dev@gmail.com" ]
jrg96dev@gmail.com
a20649e0095086f43d8f53bcec3275635830d3e5
2d4cf380c38701e1129709e9724587f1d75f9eef
/quickstart/serializers.py
d2394dc51e7bfb92b337a6fea5fab7b288033bfb
[]
no_license
saurabh9567/drf_apis
62d822f8d753c23218722d8d07450a3de565150a
f54f58c763e967f3346cbaa148a777dfc28f6a90
refs/heads/master
2023-08-28T19:10:39.128834
2021-10-19T06:44:38
2021-10-19T06:44:38
418,793,119
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.contrib.auth.models import User, Group from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id', 'username', 'email') class GroupSerializer(serializers.HyperlinkedModelSerializer): class Meta: model ...
[ "saurabh956@gmail.com" ]
saurabh956@gmail.com
4a6c022fea9e0a2c4bbbba123317ce49c4d26618
ecf7ad944c3533dbfc60406efcacf79ccc9eac1e
/dota2bbq/admin.py
6c25b039e27aeb0abd85f912249dd5480c2c09f0
[]
no_license
zhoutuo/dota2bbq-django
846322cf85d0af1c55a64c0af5bd2059e683ac8d
abe6caa56fa649346f54b664a02fcffde3811d28
refs/heads/master
2020-03-29T15:28:16.079590
2013-02-13T03:29:39
2013-02-13T03:29:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from dota2bbq.models import Hero, Item, Skill from django.contrib import admin admin.site.register(Hero) admin.site.register(Item) admin.site.register(Skill)
[ "yzt25864126@gmail.com" ]
yzt25864126@gmail.com
507716ccdcdc0b231befe78143fdbf537dbd0212
64cee8c8f33ae6be8edf0daa7a3a83efee86c82c
/cemba_data/tools/hdf5/netndf.py
81594d52043eb0370f2dfeaaea81a3b7c7138127
[ "MIT" ]
permissive
shengyongniu/cemba_data
52881061dac63c5dca4bbedf9bc7f1f345b13575
6d076ed7f19ac76650d91fe9172393cc6c10e686
refs/heads/master
2021-10-09T14:31:43.849987
2018-12-29T23:19:53
2018-12-29T23:19:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,259
py
import numpy as np import pandas as pd import xarray as xr from anndata import AnnData def _calculate_posterior_mc_rate(mc_array, cov_array, var_dim='chrom100k', normalize_per_cell=True, clip_norm_value=10): raw_rate = mc_array / cov_array cell_rate_mean = raw_rate.mean(dim=va...
[ "liuhq@ucsd.edu" ]
liuhq@ucsd.edu
3d789c0bfd09acd2dfc7c3933b922e0cb1c7e4c9
c0a83d3efcaba2bff6dbd64d285b09e44800018b
/Ex1/venv/bin/pip3.7
7e9fbef70ac576daacc01f9f20f2971609a5a4dc
[]
no_license
murchelon/Python_Projects
0d9755e35abdc1d76395154c284656ef7c574fca
6f2c1fed9ac5f9226df7caaebe115ed98ef40726
refs/heads/master
2021-08-18T01:27:36.608781
2020-05-04T22:16:43
2020-05-04T22:16:43
177,201,698
2
1
null
null
null
null
UTF-8
Python
false
false
425
7
#!/Users/macbookpro/Documents/GITREP/Python_Projects/Ex1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "macbookpro@Macbooks-MacBook-Pro.local" ]
macbookpro@Macbooks-MacBook-Pro.local
8704238126ae2592998c08408bf1fef66626d8c2
484699c7b0329e8b8bd16814e3b7729722c6b8f0
/api/flaskAPI/appointmentDb.py
fa9dd107b822672d47f594363f2551c4e1873931
[]
no_license
Merxon22/Appointmeow_demo
3fa7a016ad953a5625f36925665af8af3ff6bc67
1308ea778157658867fd56d62fbb275d2a3fa55b
refs/heads/main
2023-07-30T12:08:31.138072
2021-09-20T01:24:52
2021-09-20T01:24:52
366,699,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
from eventDb import UserEventsBetweenTime import mysql.connector db = mysql.connector.connect(host="freedb.tech", user="freedbtech_PeterYuan", passwd="81704002_oahnauY", database="freedbtech_Appointmeow") cursor = db.cursor() createAppointmentTable = """ CREATE TABLE appointment( appointmentID INT NOT NU...
[ "merxon22@gmail.com" ]
merxon22@gmail.com
9a1a1bdc04ee35d0744eed400f9333d11541d4ad
e23a4f57ce5474d468258e5e63b9e23fb6011188
/030_control_flow/003_for/_exercises/_templates/Python 3 Most Nessesary/4.3.Listing 4.7. Enumeration of elements of the list of tuples.py
8299ab5805fc0af5d024b0635257ef3563f010f0
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
132
py
# # -*- coding: utf-8 -*- # # arr = [(1, 2), (3, 4)] # Список кортежей # ___ a, b __ ? # print(a, b)
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
5cc4b052f8af56030d1a18a236cfee198c0e14a0
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gst/_gst/Date.py
b079f8261188a978cb48855b5781e2227e2dea1e
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# encoding: utf-8 # module gst._gst # from /usr/lib64/python2.6/site-packages/gst-0.10/gst/_gst.so # by generator 1.136 # no doc # imports import gobject as __gobject import gobject._gobject as __gobject__gobject import gst as __gst class Date(__gobject.GBoxed): # no doc def __init__(self, *args, **kwargs): ...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
941af6b87f9ce9e928a4dc4d2bfd8774c56592b0
1ea9a7a807ca8f8049e09bc7716fcbf0490474c5
/camera/pir.py
3a5f4af9d523c8d07e33d69fee30678f85cf69de
[]
no_license
Funnylaksa/picam
232d388a2541cfaa4e9d7daddeabfaebb138c8b7
5f05d45a241d840b2fff97ee22043dd74f65604a
refs/heads/master
2023-07-21T22:01:21.281244
2021-09-05T14:34:31
2021-09-05T14:34:31
254,529,817
0
0
null
null
null
null
UTF-8
Python
false
false
2,847
py
import RPi.GPIO as GPIO import time import sys import os from datetime import datetime import logging start = datetime.now() dt_start_string = start.strftime("%Y%m%d_%H%M%S") date_string = start.strftime("%Y%m%d") #Create and configure logger logging.basicConfig(filename="/home/pi/picam/log/app." + date_string +...
[ "ivan.lee.ch8@gmail.com" ]
ivan.lee.ch8@gmail.com
57ad5861651ace41207b327cb51221ca46a23310
5eb456b3a51b585cf7598bc4ef31f7b92ced6381
/P4HW2_RunningTotal_Tennant.py
e19cb3a6dbed4c0a91391a70a8c50ddd92c42dcb
[]
no_license
jared10ant/cti110
87d4e64475936db85b081fd8819c936231f8f577
7db2a707afa9542c544cd1bcd846b55838e1d347
refs/heads/master
2021-01-23T16:08:12.148675
2018-05-15T01:21:23
2018-05-15T01:21:23
93,285,495
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
#CTI-110 #Jared Tennant #Running Total #3/25/18 print('Enter your numbers at the prompt. Enter a negative number to exit.') total = 0 number = int(input('Enter a number: ')) while number >= 0: total += number number = int(input('Enter a number: ')) print('Total: ', total)
[ "noreply@github.com" ]
jared10ant.noreply@github.com
e8cbc351c5c69afa6bf7b356ded024118c2008e9
09ef36e5091fe6b28740bbdf7231daccbe8e6f6d
/testnet/testudp/testrw/testclient1.py
820ae9acc4e017f14ac3420437ea13281f0e816a
[]
no_license
baiyang0223/python
59fee6762a57630e48e077dca47a6607778d7628
95ff2bdffefe9bba36f17dd492b94ed9889d816c
refs/heads/master
2020-04-02T17:06:16.780375
2020-03-05T06:51:44
2020-03-05T06:51:44
154,643,881
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
import socket def send_msg(udp_sock): """发送消息""" dest_ip = input("输入对方IP:") dest_port = int(input("输入对方端口:")) send_data = input("输入你要发送的数据:") udp_sock.sendto(send_data.encode("utf-8"),(dest_ip,dest_port)) def recv_msg(udp_sock): """接收消息""" recv_buf = udp_sock.recvfrom(0x1024) recv_da...
[ "yang01.bai@hobot.cc" ]
yang01.bai@hobot.cc
d3735613f495321756b10b4cad78141f3669bb8e
9c29a853a26d57668a377e1a6e23a67c9cb541d4
/days_19-21_iteration/scrabble.py
fd14edc2af6ea7c0b23e5cae3787cec232f2df96
[ "MIT" ]
permissive
vkoprivica/100_Days_of_Python
5f83deb113e1309b58913c8a286be9a17c8ae656
736b8a41a03673db44cdbd095433254e60d3316b
refs/heads/master
2020-11-24T18:27:12.922206
2020-03-23T20:19:40
2020-03-23T20:19:40
228,118,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
import itertools import os import urllib.request # PREWORK DICTIONARY = os.path.join('/Users/Vule/Documents/Python/PyBites/dictionary.txt') # urllib.request.urlretrieve('http://bit.ly/2iQ3dlZ', DICTIONARY) with open(DICTIONARY) as f: dictionary = set([word.strip().lower() for word in f.read().split()]) letters ...
[ "blog@koprivica.net" ]
blog@koprivica.net
01f0b1d097130a7f1499abe7d1410fb59a691ca0
07f7fd8ce8de643f31721b9726b78dc215fbfbb9
/sara.py
4dce83d2b1ab798c2932fbef1efd69180378543d
[]
no_license
sadig2/morse
8525224f012ad88a94663b1596c5bf316ef7a24c
e77ee1c4a7b344b06fcebe8fd3cc6364c523e115
refs/heads/master
2022-12-16T10:22:08.232402
2020-09-16T19:39:51
2020-09-16T19:39:51
296,130,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
import re val = input("Enter your value: ") word = [] valList = re.split(r"[^\S]+", val) for letter in valList: if letter == '.-': word.append('a') elif letter == '-...': word.append('б') elif letter == '.--': word.append('в') elif letter == '--.': word.append('г') ...
[ "clanzu2@yahoo.com" ]
clanzu2@yahoo.com
dd75709a986e89e33cd45b61c6b9ac695f16dca2
c7344879c91c2eaf8b33c45341f27857ede67890
/src/predict.py
f2677e314216781db11cbd8ba30ffb33008920d8
[ "MIT" ]
permissive
brooklinsantosh/CategoricalFeatureEncodingChallenge
74669637c12d2c93cb6cc45c46b349a1101d09f4
28217157e36c921bb6929b33243e042c68769ccd
refs/heads/master
2023-03-08T09:30:12.998344
2021-02-16T19:55:50
2021-02-16T19:55:50
338,914,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
import os import pandas as pd import numpy as np from sklearn import ensemble from sklearn import preprocessing from sklearn import metrics import joblib import model_dispatcher TRAINING_DATA = os.environ.get("TRAINING_DATA") TEST_DATA = os.environ.get("TEST_DATA") MODEL = os.environ.get("MODEL") def predict(): ...
[ "brooklinsantosh@users.noreply.github.com" ]
brooklinsantosh@users.noreply.github.com
348f4f79a100d74fc0a86c6e1e03208fa5cc6fe3
8280f3378c28be3126d67b45ff5abec07cb63cc5
/setuplutptr3.py
6487bd0cc96382a9c391a40364faeaf65de2873f
[]
no_license
RoshanPasupathy/3d_localisation
f3522372b80fdede2b858f706063d047e261dcdd
26705b1acabe65374897f3a86ce2ec302166424e
refs/heads/master
2021-01-10T15:28:20.994553
2017-01-05T00:18:37
2017-01-05T00:18:37
45,695,585
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from distutils.core import setup from Cython.Build import cythonize setup(name="LUTptr3", ext_modules = cythonize("/home/pi/ip/LUTptr3.pyx") )
[ "rp3g13@soton.ac.uk" ]
rp3g13@soton.ac.uk
e2a134539647aff5a20fb68320c55d08b79679d4
af46ef78a8e680733efa0056e0388db529a523a3
/dictionary/del.py
dd0ebbdf23dc634d3de3887209157f088bdd56ec
[]
no_license
mjhea0/python-basic-examples
90f3aa1cb1a1399a7fe7b1b7e07cced517433490
aaf4a5458f3e016703b6677033ea17b9cc901596
refs/heads/master
2021-01-15T18:31:28.455291
2013-09-21T03:59:23
2013-09-21T03:59:23
13,141,089
1
0
null
null
null
null
UTF-8
Python
false
false
245
py
#coding:utf-8 d = {"server":"A", "database":"master"} print d del d['server'] print d d.clear() print d del d try: print d except: print "Error, Not Defined."
[ "wang.bo@okcash.cn" ]
wang.bo@okcash.cn
8578bce6f8dc26887e3f83b9e0df1ba00636d6df
81930dc35807f2a8d575642ab7bebeb5fee78cfb
/kaplan_plot.py
33d00c3423ab3bfa18a13007cd9f1952e1d76059
[]
no_license
arvindb95/LIGO_O3_events_summary
fbc478e4f06ca766a6feb521b15fab5b626cd4eb
f54037922c6f45ffd8ad890fc77e5aff289e2a3b
refs/heads/master
2021-01-07T00:21:50.378758
2020-04-02T23:00:47
2020-04-02T23:00:47
241,524,766
0
0
null
null
null
null
UTF-8
Python
false
false
7,432
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as mpatches from astropy.table import Table import matplotlib.transforms as transforms from astropy.time import Time from matplotlib.lines import Line2D months_jd = Time(np.array(["2019-03-01T00:00:00","2019-04-01T00:00:00", "2019-05-01T00:0...
[ "arvind.b@students.iiserpune.ac.in" ]
arvind.b@students.iiserpune.ac.in
fc6a828d8062bedbbd9dd0d28c43cd6242055201
339cbabee232b6911f9d78251411cf64e3f4cde8
/weddingsite/snorlax/admin.py
e8e2eb12c8c3b2f1abf5e0d40c83039951f1f9ca
[]
no_license
pedroxido/wedding-site
b6b0000ceca2fac3ba0bd89f28d00613a832ff3e
e8824b5a9cebbfb9c0e83c9b7c75c7137caa75bc
refs/heads/master
2020-04-18T01:37:15.088046
2019-02-23T21:54:51
2019-02-23T21:54:51
167,125,706
1
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.contrib import admin from .models import * admin.site.register(Person) admin.site.register(FamilyGroup)
[ "pedro.orellana.manzano@gmail.com" ]
pedro.orellana.manzano@gmail.com
ba6debbc3718be3a2b21ad9029cffc2a16d99d9f
25c3e2f3a98934556dd5d06b7aebc9f68abe60e3
/dojo_model/urls.py
48a6c6d4b21d67a764a9892a8e779622575b9329
[]
no_license
jeremy-dardour/django-dojos
30d46c52c8ad5572e9b33032b89e57b627c2414e
5356392836a3a8849d954ea9b9c12eec611814ff
refs/heads/master
2020-03-15T04:29:04.425177
2018-05-03T08:42:09
2018-05-03T08:42:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
"""dojo_model URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "jerem.dardour@gmail.com" ]
jerem.dardour@gmail.com
77e6c2bbf898517312d116dee4d28d6178a86068
a7c84f44b4d52cbc2ec8e3a1e89c5e5f2a2be07c
/td/migrations/0011_waregion.py
cc5b968f25115d416ec7fded7126698d3463031e
[]
no_license
unfoldingWord-dev/translationDatabaseWeb
561351a78d8a4ef1121d766b8fb44dd5c0539079
b6c2521df9a7baed1eb4610581d61c75c52419ef
refs/heads/master
2023-06-09T08:55:58.981746
2023-06-06T12:28:28
2023-06-06T12:28:28
25,008,788
9
8
null
2023-06-06T12:28:29
2014-10-09T21:11:28
Python
UTF-8
Python
false
false
771
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-01-28 14:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('td', '0010_remove_region_wa_director'), ] operations = [ migrations.CreateMode...
[ "vleong2332@gmail.com" ]
vleong2332@gmail.com
e45dcd9c4e995ad520f6103a5d16583c791a71be
243f97eb122ad4fa5c8412b93f6135fa5258ad60
/w5/5_2.py
36b83225cc61f1821ccfe9916f08792a586976ae
[]
no_license
tj---/ba1
bc27d38d19aef62bcc972160a8745a3d0e666b9b
a484e87eb71d10b342846b689c55ff8f4e0b971a
refs/heads/master
2016-09-06T21:43:07.077190
2015-05-24T17:38:51
2015-05-24T17:38:51
14,373,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,539
py
import sys def main(): lines = [line.strip() for line in open(sys.argv[1])] reversed_pairs = reversed_pairs_map(lines) global_results = [] first = True while(len(reversed_pairs) > 0): clean_pairs(reversed_pairs, global_results, first) start = find_start(reversed_pairs) if(-1 == start): for key, val in re...
[ "tjain@walmart.com" ]
tjain@walmart.com
71f09344d33d23e6d19b7a1d9894d79eb5f34f8d
986236feac0d098977dc3f98b705d68155048233
/0x06-python-classes/100-singly_linked_list.py
1e413ac97d382295ceaf0a64d2ca75f43de9041b
[]
no_license
Noeuclides/holbertonschool-higher_level_programming
1f1ec5731840f39ab988593ace190403f701ee67
fcf0d733b73904a848b5718266a644c4f6452166
refs/heads/master
2020-05-18T03:28:56.901071
2019-10-03T17:30:20
2019-10-03T17:30:20
184,145,627
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
#!/usr/bin/python3 class Node: def __init__(self, data=0): if type(size) is not int: raise TypeError("size must be an integer") elif size < 0: raise ValueError("size must be >= 0") else: self.__size = size def data(self): return(self.__size **...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
02e645c4778cad4c943a92f52a7b3ab301a2e0a9
b0e0c3b61cfcc3adba469019de37147c8fcc5235
/L2-Copy contents from one array to anoother.py
c06eadf0f50854524a032fd86c94a8d9ddcafad1
[]
no_license
121910314010/10B14-Lab-Assignment
04ae577f9f41c6b65a3bb94c431ef49c02eda5e5
e9354e8a096d8e43cf30fd257412a7d6277f1061
refs/heads/master
2023-01-20T07:35:08.544442
2020-11-26T09:53:24
2020-11-26T09:53:24
290,730,612
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
#Copy the contents from one array to another array #Initialize array arr1 = [1, 2, 3, 4, 5] #Create another array arr2 with size of arr1 arr2 = [None] * len(arr1) length = len(arr1) #Copying all elements of one array into another for i in range(0, length) : arr2[i] = arr1[i] #Displaying elements of array arr1 p...
[ "noreply@github.com" ]
121910314010.noreply@github.com
52b48012a0255a71d6d731f870148a4e08e2f81f
9ac1f1ac18037b94556a04af64929fa76b59f59b
/mysite/polls/migrations/0001_initial.py
61d419ad5c2c90f3e5f7add83ac52d39099f32b2
[]
no_license
afizing/djangoapps
58c59609763f4535db43bd302c79b1496271867d
ad1c29b2e250770f8007c304d31c28eb9aa78d87
refs/heads/master
2021-01-17T12:38:42.375793
2016-09-30T12:51:26
2016-09-30T12:51:26
64,114,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-22 08:30 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
[ "afiz2u@gmail.com" ]
afiz2u@gmail.com
01be1944208fee630c220d4581bb38c37136b962
47085b6b92779bc076774d5f7d08bcd54e6fa41f
/scraping/eumPrac.py
0bc9bc96025941602ec1c3e23d20cfe7d05864c9
[]
no_license
his7876/Insure_Tech-2021
9c6f60a91f955c235a519bb1cab3cf40a2bade57
29c5f8f059e2f2c979d92504c086daba28e2f863
refs/heads/master
2023-07-15T17:36:10.566018
2021-08-27T06:54:28
2021-08-27T06:54:28
389,842,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
from selenium import webdriver from selenium.webdriver.support.ui import Select driver = webdriver.Chrome('./chromedriver') # 크롬을 통해서 스크래핑을 진행 크롬 드라이버 로딩 driver.get('https://www.eum.go.kr/web/am/amMain.jsp') #addressInput = driver.find_element_by_xpath('//*[@id="recent"]/input') #addressInput.send_keys('서울특별시 광진구 자양...
[ "his7876@daum.net" ]
his7876@daum.net
7f1bc74cfaa62ab5a8142c71c53727d2b94f319d
624ac147a39a244aa2a83106a0a7142d96d27861
/src/tracker_registration/apps.py
6709e21fea4866c46c00b7a68044f8f52a89b0bc
[]
no_license
realaravinth/tracking
3e7138300fe90f6e677b4d6408ff071071414f5b
6344dc921ea02d0869fe8b7b34da6d2134131789
refs/heads/master
2020-09-11T05:59:08.615432
2020-06-28T14:39:21
2020-06-28T14:39:21
221,962,382
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
from django.apps import AppConfig class TrackerRegistrationConfig(AppConfig): name = 'tracker_registration'
[ "aravinth7820@gmai.com" ]
aravinth7820@gmai.com
928d9ad7691259312c5e90d3b9d8b07e137765ca
493b11ebd30b3c94470186ef4dab0d41fe74a9cf
/scripts/opencl/get_html.py
2bdfb3daeac10bb47eb7ec718d2a4b7a658471f1
[]
no_license
stoneforestwhu/Khronos
a2a7d1cc681f60abb605a3e04547a0127e3a13d3
e735bb23c6103411e59d40dc901e122bf0bfd5fe
refs/heads/master
2020-12-29T15:25:21.984159
2020-02-09T03:35:17
2020-02-09T03:35:17
238,653,167
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
# -*- coding: utf-8 -*- import os import urllib.request def getHtml(url): html = urllib.request.urlopen(url).read() return html def saveHtml(file_name, file_content): # 注意windows文件命名的禁用符,比如 / with open(file_name.replace('/', '_') + ".html", "wb") as f: # 写文件用bytes而不是str,所以要转码 f.write(file_content) aurl...
[ "stoneforestwhu@163.com" ]
stoneforestwhu@163.com
3fe66672ed5b331e6d30d04d1e42efee28ac75ac
59c5c84824b610692c19663d8b56fe19b66c41f2
/test_scripts/v_user.py
e3d9022a9a79001010fcbbfe00d5ddf9f99480ea
[]
no_license
chesarin/Multi-test
bc124d1c9a3cf41e533e7845899b8c815909ef99
e0e79978b2b1520072e97395c8adb647bed45db0
refs/heads/master
2016-09-15T19:20:12.664378
2012-07-24T20:22:50
2012-07-24T20:22:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
import mechanize import random import time class Transaction(object): def __init__(self): self.custom_timers = {} self.base_url = 'http://www.aliceandolivia.com' # pass def run(self): br = mechanize.Browser() br.set_handle_robots(False) start_timer = time.time...
[ "vargasces@gmail.com" ]
vargasces@gmail.com
fbafc943f1395563edbc22151835c6f3584f5b7d
e1a68ace5a30e4ec4bdf0962a9653fba7dd2e615
/src/pickle_face_model.py
d1994f7c96c3d63ce215e85e60593c0f67ba4e37
[]
no_license
ivychill/arcface_test
8d36a0ebcaeb097551b5d3544bf7a6c09cf6c5da
3c448382e6c6f8b2d775b37928d690fb8904ff3f
refs/heads/master
2020-06-24T10:31:13.840538
2019-07-26T03:41:25
2019-07-26T03:41:25
198,939,611
0
0
null
null
null
null
UTF-8
Python
false
false
4,888
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from scipy import misc import sys import os import pickle import argparse #import tensorflow as tf import numpy as np import mxnet as mx import random import cv2 import sklearn from sklearn.decomposition impor...
[ "feng.chen@kuang-chi.org" ]
feng.chen@kuang-chi.org
8a71bd06c462c475ee7a108466c20a6930551e9f
a97bf388ba8b50c7c4fb5e2bfd40df7ed72a348d
/python/live/spider.py
2c66b396b58b9041aaca9167786c44c4dec3afe9
[]
no_license
baboy/BK
5bea71944b3a7731394242b17fff4772ee6a4f5c
1d00d014cf418c97c38ebff9c4ffcec64f05fa46
refs/heads/master
2021-01-22T02:08:25.028535
2015-06-08T04:36:16
2015-06-08T04:36:16
15,705,700
0
2
null
null
null
null
UTF-8
Python
false
false
2,009
py
# -*- coding:utf-8 -*- import urllib2, sys import json import dateutil.parser import time from HTMLParser import HTMLParser import re from lxml import etree import lxml.html as lhtml import lxml.html.soupparser as soupparser import StringIO import email.utils as eut import datetime import DB import md5 import json imp...
[ "baboyzyh@gmail.com" ]
baboyzyh@gmail.com
f4fbc66cba4d9d7cd720b6577b123dc775e79f58
8642008cec13a401d3b633d907c295851b615d22
/check_evals.py
fd2d9c3095e89183f427c81d1f652e922bbca86e
[]
no_license
yjxiao/disentrepr_wtc
174a397108515af027ec782bbd74785321f34b26
79b86e7ee1a8f32727363e70313eef5e633da041
refs/heads/master
2023-02-14T17:59:18.470431
2021-01-07T00:43:32
2021-01-07T00:43:32
181,963,450
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
import os import numpy as np import pickle from colorama import Fore, Style result_dir = 'results' record_file = 'results/list.pkl' template = 'M-{}.D-{}.T-{}.{}-{}.S-{}.csv' datasets = ['dsprites', 'cars3d', 'shapes3d'] metrics = ['mig', 'factor', 'modularity', 'recon', 'wmig', 'wmod'] tasks = ['vae', 'tc', 'factor'...
[ "yijunxiao@cs.ucsb.edu" ]
yijunxiao@cs.ucsb.edu
823b24b4795ed11e530fa7bbbbd864226b91e019
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-4168.py
aaa834c9f7fe2dfdd97888d1a63ea8e948edcaf2
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
13,348
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
4b3efe39bb0661581d9f7709df149ac517e2a194
292cec77b5003a2f80360d0aee77556d12d990f7
/src/bentoml/_internal/resource.py
b1e467fceda9f9dc881734dfe05cc85bb1bd5c39
[ "Apache-2.0" ]
permissive
yubozhao/BentoML
194a6ec804cc1c6dbe7930c49948b6707cbc3c5f
d4bb5cbb90f9a8ad162a417103433b9c33b39c84
refs/heads/master
2022-12-17T00:18:55.555897
2022-12-06T00:11:39
2022-12-06T00:11:39
178,978,385
3
0
Apache-2.0
2020-12-01T18:17:15
2019-04-02T01:53:53
Python
UTF-8
Python
false
false
9,725
py
from __future__ import annotations import os import re import math import typing as t import logging import functools from abc import ABC from abc import abstractmethod import psutil from ..exceptions import BentoMLConfigException logger = logging.getLogger(__name__) _RESOURCE_REGISTRY: dict[str, t.Type[Resource[t...
[ "noreply@github.com" ]
yubozhao.noreply@github.com
c2ef80a416cc1c202f00d685ef27f6d11b3faf08
4fed7ad67d3bb7da502acaf347dff542971c1c4c
/app.py
24f400a3d432d02740af9391a5b196df5498a484
[ "MIT" ]
permissive
coolsnake/WebFtp
b62437b895261f3083d3f7d3550b541116b30cef
d76bce2391d393d2eeb92be7700dd49a1663e696
refs/heads/master
2021-04-15T14:05:50.752335
2017-09-25T10:59:50
2017-09-25T10:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
#!/usr/bin/env python3 import tornado.ioloop import tornado.web from controllers import index from controllers import account settings = { 'template_path': 'template', 'static_path': 'static', 'static_url_prefix': '/static/', 'cookie_secret': '43809138f51b96f8ac24e79b3a2cb482', 'login_url': '/logi...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
125c58858d61224fa2a38a8a70833d29d4b3427f
8476cfdf99e500e50f199080f7f8a93b4892b24b
/Lab3/influence-maximization/IC/degreeHeuristic.py
cb20203e3ae6b4ac84aedc67be288dc77516f6d9
[]
no_license
liziwl/AI-Lab
31def6d445a740e5201ad42324301f71f08009ee
ec2e0b2af00210a19a60317a06761275d4c276c6
refs/heads/master
2021-03-24T13:50:44.418255
2018-07-10T03:28:17
2018-07-10T03:28:17
104,038,567
16
2
null
null
null
null
UTF-8
Python
false
false
1,413
py
''' Implementation of degree heuristic[1] for Independent Cascade model of influence propagation in graph G. Takes k nodes with the largest degree. [1] -- Wei Chen et al. Efficient influence maximization in Social Networks ''' __author__ = 'ivanovsergey' from priorityQueue import PriorityQueue as PQ # priority queue ...
[ "leezisy@gmail.com" ]
leezisy@gmail.com
7896802cac5205e45b06d674a76f0d54a7d854a6
7f8abf3a11122387be37c889c4aa7373777234af
/Free_energy_day1/OpenMM/density.py
f586c2598862d264549f9264fa97d94581f983b0
[ "CC-BY-4.0" ]
permissive
QCMM/workshop2017
625473a2e3772e2ebf7c0fa10a62ed80b3690642
29b9f58046e4e85daee816995fb5b6944a333106
refs/heads/master
2021-08-24T05:25:24.930948
2017-12-08T07:00:13
2017-12-08T07:00:13
110,884,696
1
3
CC-BY-4.0
2017-12-02T06:51:53
2017-11-15T20:47:00
HTML
UTF-8
Python
false
false
10,844
py
#-------------------------------------- # OpenMM Minimization, NVT, NPT, PROD # # Author: Dr Gaetano Calabro' # University of California, Irvine # ver 0.0 06/23/2016 # Adapted Nov. 2017 by David Mobley #-------------------------------------- import numpy as np import os, sys import math import simtk.openmm as mm fro...
[ "dmobley@gmail.com" ]
dmobley@gmail.com
15d41f5280efb5554ef32689ce5240ce74d45955
94c9ed7d19ca70a12f3d8e9323620453879ee1f4
/config.py
03c764ab5e1e672ca869ca1c99276990bfd5f1f3
[]
no_license
weiss00/Spider_test_jiepai
a31e5c3a8fe020d356f7bfe0ebd4e69725deea1a
f64f1861f2ae17493105625823c78cae8a3419de
refs/heads/master
2020-04-03T19:45:30.511707
2018-10-31T09:58:31
2018-10-31T09:58:31
155,511,983
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
MONGO_URL='localhost' MONGO_PORT=27017 MONGO_DB='toutiao' MONGO_TABLE='toutiao' GROUP_START = 0 GROUP_END = 20 KEYWORD = '街拍'
[ "1318714789@qq.com" ]
1318714789@qq.com
9c26acdd9f243cc659a6ae97ad61d70e3a774709
af3ec207381de315f4cb6dddba727d16d42d6c57
/dialogue-engine/src/programy/spelling/textblob_spelling.py
17dce9132a295389213305638b9ac113ad1c6fc2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mcf-yuichi/cotoba-agent-oss
02a5554fe81ce21517f33229101013b6487f5404
ce60833915f484c4cbdc54b4b8222d64be4b6c0d
refs/heads/master
2023-01-12T20:07:34.364188
2020-11-11T00:55:16
2020-11-11T00:55:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,540
py
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
[ "cliff@cotobadesign.com" ]
cliff@cotobadesign.com
73bb00c9fbe898b48b2ca8580141ce0982e1a4fc
478c77145d3c89b76f64447dd7abb39f6ee343db
/.ipynb_checkpoints/model-checkpoint.py
978b01939e2502bc161067479661f662fb382ffd
[]
no_license
UsamaKhurshid3240/Facial-Recognizition
e9629e15e4a893ba071e0f624749979e086fca65
1b097fc3458d682a526af897b376968bd58ecf52
refs/heads/master
2023-03-15T07:11:08.683448
2021-03-14T19:29:21
2021-03-14T19:29:21
347,560,369
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
from tensorflow.keras.models import model_from_json import numpy as np import tensorflow as tf class FacialExpressionModel(object): EMOTIONS_LIST=["Angry", "Sad", "Happy", "Disgust", "Fear", "Neutral", "Surprise"] def __init__(self, model_json_file, model_weights_file): with open(model_json_file, "r"...
[ "rasolgulam649@gmail.com" ]
rasolgulam649@gmail.com
981f6d0a13465e0a9d5c80cd70b5ca1e9910eb1a
431bcf84338b97dfa767b5dceaf21d28e971b788
/cell_tracker/ui/__init__.py
dc2a1b5a7c9088460460ae84aa03e606323b8d1e
[]
no_license
glyg/cell-tracker
c2812b533afa13961e3182faa08a4f6b1681e4aa
33528c975caa2592ae6613ad085b9d7d3951690a
refs/heads/master
2020-06-26T08:46:55.760550
2014-10-02T15:58:42
2014-10-02T15:58:42
18,338,940
6
0
null
null
null
null
UTF-8
Python
false
false
436
py
# -*- coding: utf-8 -*- try : from .ipy_widgets import set_metadata from .ipy_widgets import set_parameters from .ipy_widgets import SettingsWidget from .qt_dialogs import get_cluster, get_multiple_clusters from .manual_tracking import ManualTracking, pick_border_cells from .sort_ellipses impor...
[ "guillaume@mitotic-machine.org" ]
guillaume@mitotic-machine.org
44774962f73f1f0b3db51759451f21631171633b
4d159501df67958bfd036890e598ca183eec04d3
/2019-03/03-11/11724.py
ab4ffb37c31fab736fbf6a0e9052ded7c55c524e
[]
no_license
nonameP765/back-joon
96a413bff4e7d5b3716135981936d76880b871c9
4fceaa6d8dbbb65615b39c643dd809ad96104369
refs/heads/master
2020-04-21T08:01:20.666912
2019-03-22T04:59:18
2019-03-22T04:59:18
169,407,280
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
c, n = map(int, input().split(' ')) # 그래프 제작 graph = {i: list() for i in range(1, c + 1)} for i in range(n): a, b = map(int, input().split(' ')) graph[a].append(b) graph[b].append(a) visited = [False for i in range(c + 1)] count = 0 # 모든 정점을 순환 for j in range(1, c + 1): # 물론 방문하지 않은 경우만 if not vi...
[ "nonamep765@gmail.com" ]
nonamep765@gmail.com
4d489cf9efd5758aefc378379f5a79166be8b461
9159df50596dcfbbe3e41eaf15a0a360a95e7089
/textcleanup.py
c864bb1b297efb48e2a88fd8179d3f544ad3ecc7
[]
no_license
stephengough/enigma
c1144a244e0d4d2aa35b008c8d57f6482829d162
6afe9e7383924cafcbf01ed301410512f4443b95
refs/heads/master
2021-01-23T13:53:05.277937
2015-06-13T23:45:29
2015-06-13T23:45:29
37,391,347
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
class TextCleanup: def preprocess(self, msg): ret = '' for c in msg.upper(): if c >= 'A' and c <= 'Z': ret += c return ret
[ "stephen_j_gough@yahoo.co.uk" ]
stephen_j_gough@yahoo.co.uk
1a23070fad57bfc873607928750f628128a6a1fd
00a22eaf2ea17eeda6151af145d63f6a2c13a985
/footballleagues/migrations/0008_auto_20201114_1554.py
bf1e53af7a000e89a0b6c22c56b05fe5781d045d
[ "MIT" ]
permissive
RicardoSilveira23/TonicAppChallenge
ad20df4af38fdb8662a7befb0457c66f06ca9c9a
961107acbcdd93551bcd1b4b0ecd877fb4a7d813
refs/heads/main
2023-01-15T20:26:05.503585
2020-11-16T13:45:01
2020-11-16T13:45:01
312,053,857
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# Generated by Django 3.1.3 on 2020-11-14 15:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("footballleagues", "0007_auto_20201114_1551"), ] operations = [ migrations.AddIndex( model_name="team", index=models....
[ "rs@hiri.ai" ]
rs@hiri.ai
8a71537eee5a52e3e22a887e3fa309e65110a7be
f0bb47d3e1ef3740b4b0c819019d827578018bab
/svm.py
05e16ed0fab1742811cccd8cd3fb0cc4b375821b
[]
no_license
s-ravichandran/classification-using-scikit-learn
cb618ba118b634bd42a46a3511a8bd561b43143a
f72a5b1988031c29d392c63a01b1af3185383bb9
refs/heads/master
2021-04-18T22:02:50.412661
2018-03-24T13:46:14
2018-03-24T13:46:14
64,988,755
0
0
null
null
null
null
UTF-8
Python
false
false
7,852
py
import numpy as np import pandas as pd from sklearn import svm from sklearn import metrics from sklearn.metrics import precision_recall_curve from sklearn.cross_validation import StratifiedShuffleSplit import matplotlib.pyplot as plt import random import sys # args : svm.py float(sampleRatio) data_dir = './input/' #...
[ "srini@cs.wisc.edu" ]
srini@cs.wisc.edu
a20a63970a6c3e2a6a1e1b14d79d7b061637d7e9
f4f83a705819f64735ae591b66664f93a577bf8a
/Monitor/dev06/dev06/settings.py
14efcaeafd92c47e1489fc18e873e8c411827a96
[]
no_license
bbhunter/CyberSecLabs
b0a7733121c60ca67b053cbe7d9064d43dd08ef3
72664f58ca10af82b515aa95b0388cf459bb19b6
refs/heads/master
2022-12-21T10:58:53.291238
2020-10-02T17:43:51
2020-10-02T17:43:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
""" Django settings for dev06 project. Generated by 'django-admin startproject' using Django 2.2.9. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "vanroeyrobbe@hotmail.com" ]
vanroeyrobbe@hotmail.com
ea94d8096bd583c418ffdb82662ac4b9b3264e25
608d79135ea65c2350ffe688dc870a8ce09424e4
/color_map_test.py
6cc205789c7cbc08a8c1013cd437754f6874f283
[]
no_license
dips4717/rico_autoencoder
735620f330d9aaeb1a034ae30fe5cb8d08d19f86
77f4e68587a44c3fa1c1a52ef601b052012ac62c
refs/heads/main
2023-06-06T06:11:58.356203
2021-06-23T11:11:50
2021-06-23T11:11:50
379,320,228
4
0
null
null
null
null
UTF-8
Python
false
false
3,736
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jan 7 10:28:33 2020 @author: dipu """ """ ================== Colormap reference ================== Reference for colormaps included with Matplotlib. This reference example shows all colormaps included with Matplotlib. Note that any colormap listed h...
[ "dips4717@gmail.com" ]
dips4717@gmail.com
1e932951935e4ac0d6611ea52ba46a22e4559273
98581234e58e4ae9faa297c0c8af3b18d892a705
/basicswap/protocols/atomic_swap_1.py
5f164102ae052746314419c1b6cf9688551ae7b2
[ "MIT" ]
permissive
cryptoguard/basicswap
d97ccc507bb4f0d5d6b517664dfb2b6e0218e57c
0890d643ffca1205179b92508746a267fc1393e8
refs/heads/master
2023-03-18T17:03:00.136171
2023-03-16T14:01:35
2023-03-16T14:01:35
203,665,859
0
0
MIT
2020-12-18T21:11:38
2019-08-21T21:18:06
Python
UTF-8
Python
false
false
3,097
py
# -*- coding: utf-8 -*- # Copyright (c) 2020-2022 tecnovert # Distributed under the MIT software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php. from basicswap.db import ( Concepts, ) from basicswap.util import ( SerialiseNum, ) from basicswap.script import ...
[ "tecnovert@tecnovert.net" ]
tecnovert@tecnovert.net
2146739f9834f0af7d112fc44b3b75d696d80c39
f1a51bb6cb5810a2dfac27cbbe32f5c5761bd8ec
/angrmanagement/data/object_container.py
63b931645b8e1c14d8a5902e8eb52b570ff38979
[ "BSD-2-Clause" ]
permissive
sraboy/angr-management
904848408e9eec6662e16d9b69a0991b0374d3c6
4c4c1df7bce7083547ae38a19709f33dd10b7e22
refs/heads/master
2020-04-30T17:23:24.427321
2019-09-21T09:34:21
2019-09-21T09:34:21
176,977,927
0
1
BSD-2-Clause
2019-03-21T15:52:06
2019-03-21T15:52:06
null
UTF-8
Python
false
false
2,374
py
from ..utils.namegen import NameGenerator class EventSentinel: def __init__(self): self.am_subscribers = [] def am_subscribe(self, listener): if listener is not None: self.am_subscribers.append(listener) def am_unsubscribe(self, listener): if listener is not None: ...
[ "fish@cs.ucsb.edu" ]
fish@cs.ucsb.edu
fec8c459674c303f15e9c9aac189788a40d17919
90066fb845694ccffa446950232a95709561c8e7
/RB3.py
a7058a621f094894260aa67fc2e80463d3b2f6b1
[]
no_license
Rxdxxn/Rezolvare-If-While-For
9773929f50d58da754fb793592fc1c8c801500e2
7e20b0f216dafbc6389fe2fe2c6fc7b7bedc0e8e
refs/heads/main
2023-01-08T23:17:52.247412
2020-11-20T21:21:14
2020-11-20T21:21:14
311,920,227
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
m=eval(input("Dati numarul m:")) n=eval(input("Dati numarul n:")) puterea='' if n>m: for i in range (1,n+1): if(m**i==n): puterea='da' if puterea=='da': print(n,"este putere a lui ",m) else: print(n,"nu este putere a lui ",m) else: print("Eroare"...
[ "noreply@github.com" ]
Rxdxxn.noreply@github.com
0a8aac0ef720cad72a6d407a4e8438d1a60ba7db
5ad3ec206586985161547cf606a10e32d38b9a80
/telegramwrapper.py
d04b8241c931f7f4e7963245bcc70df8fb738568
[ "MIT" ]
permissive
lorenzobenvenuti/cashbot
85c179731074f9bfe45968e27ffd70dae5da58fd
0a5d6187141af798fec1d7dfd14b6aa99572438c
refs/heads/master
2020-06-11T03:41:47.690384
2017-10-06T14:19:55
2017-10-06T14:19:55
76,013,039
1
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, RegexHandler import logging logger = logging.getLogger(__name__) class Command(object): def __init__(self, name, function, pass_args): self._name = name self._function = function self._pass_args = pass_args @p...
[ "lorenzo.benvenuti@gmail.com" ]
lorenzo.benvenuti@gmail.com
1da44a2aab753c615c080b5c74b624c3c6bcc490
564e447120baa940ba3a3e43676c14cdfaa69979
/Plan 8.py
bac522c3ebfbf5efa7d03a5414520307918c375f
[]
no_license
agivins/Python-JBN
4a9329fdb099c480a70abbdafdc2e4be61baf598
fcbc3c06500c2fa7fcb5685baf3b96e3e0dd90e4
refs/heads/master
2023-01-31T11:39:35.907929
2020-12-17T20:08:57
2020-12-17T20:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import matplotlib.pyplot as plt import pandas as pd get_ipython().run_line_magic('matplotlib', 'inline') Location = "C:/Users/Admin/Desktop/datasets/gradedata.csv" df = pd.read_csv(Location) df.head() # In[3]: df.hist() # In[4]: df.hist(column="hours") # In[5]...
[ "noreply@github.com" ]
agivins.noreply@github.com
d93fcc608737fe23b284d4e66f3a1b37d68278ab
af4940ba8a638423934a16d55253b726312fe1f5
/pset04/pset04.py
d8998ae06ed5661234ea90f91dc0df457f02d1f3
[]
no_license
blinvarfi/ML-FuldaWS19-20
ff11194abdb2d0198fab59f03bfbea5278173cac
c3b1db2e3632d0a87db7b7226e40c412834a0f38
refs/heads/master
2022-04-12T17:21:14.934651
2020-01-03T04:56:26
2020-01-03T04:56:26
230,134,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 1 04:28:56 2020 Problem Set 04 Solutions @author: Blin """ from matplotlib import pyplot as plt import numpy as np traind, testd, trainl, testl = np.load('../data/mnist.npz', 'rb').values(); # customizing matplotlib plt.style.use('dark_background') # 3) print('Ques...
[ "blinvarfi@gmail.com" ]
blinvarfi@gmail.com
0d62359f4aa4b91e0b20b2e5dc8b3ae4daab4878
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03292/s123105438.py
9c05d46bc0b47e9e16017b20ebf76cfb8fcba1cc
[]
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
69
py
a,b,c = sorted(map(int,input().split())) print(max(a,b,c)-min(a,b,c))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a4f282d077acf231c813e0781067964299e282f7
6f50d88145923deba55f5df5f88e872a46504f71
/siteconfig/utils.py
e51be1affa4f0bc68f3bca34d399fc656a2d03cf
[]
no_license
vfxetc/siteconfig
ce85cff95a865a8ab6271f305b70643c364c1952
7124e941cf5068a70f07d0011902af797b74657e
refs/heads/master
2021-09-12T13:00:40.933138
2017-08-04T15:08:42
2017-08-04T15:08:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import re def normalize_key(input_): input_ = re.sub(r'[^\w\[\]]+', '_', input_) input_ = re.sub(r'^(\w+)', lambda m: m.group(1).upper(), input_) return input_ def shell_escape(input_): return str(input_).replace('"', '\\"') def shell_quote(input_): return '"%s"' % shell_escape(input_)
[ "github@mikeboers.com" ]
github@mikeboers.com
96fa13be2d366e4a842b4ae5921ef5f00857a845
4bb958d84d8fc53f091f7b49dc26751aeff98bcc
/venv/bin/pip
6ee3e866c9ee3706f7db4e90cc2e7ba33383c826
[]
no_license
samfeder/banter-deepspeech
d2856d08c906ef9627b426c8b20bc09be831d08c
7ab8f51772c69e41a676e51fcea1124783bc8dda
refs/heads/master
2022-12-08T12:49:31.676710
2020-03-28T18:23:25
2020-03-28T18:23:25
250,857,781
1
0
null
2022-12-08T03:54:56
2020-03-28T17:46:32
Python
UTF-8
Python
false
false
278
#!/Users/samfeder/Development/banter/banter-deepspeech/venv/bin/python3 # -*- 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())
[ "sam.feder1@gmail.com" ]
sam.feder1@gmail.com
adec90e1bcd2ef78cd772b602c1e316d2a295e83
5891324384c1eb96c19bde7a6d21df91890bacce
/Algoritmos 2016-1/1-lista(professor_fabio)/6.py
1163590928b44a3286c5a4f6f2c76982b3d2826b
[]
no_license
Guilherme2020/ADS
f41324f48e6e2bc6ddd7e4310328e09f79b8a7a9
6d3ac6effca7633d6bc309ecfa9c5e8349f8e680
refs/heads/master
2021-01-17T21:06:21.874766
2018-01-19T21:49:40
2018-01-19T21:49:40
60,442,107
0
0
null
2016-06-08T13:57:25
2016-06-05T03:51:00
Python
UTF-8
Python
false
false
292
py
#Leia uma velocidade em km/h, #calcule e escreva esta velocidade em m/s. (Vm/s = Vkm/h / 3.6) velocidade_kmh = float(input("Insira a velocidade em km/h")) velocidade_metros_segundo = velocidade_kmh/3.6 print(" %.2fKm/h equivale a %.2f m/s "%(velocidade_kmh,velocidade_metros_segundo))
[ "guilhermerodrigues123477@gmail.com" ]
guilhermerodrigues123477@gmail.com
ca4852f3a092ee87833c2a498724083f66a0ca0e
99be0cd3df5a38376406ad85c106a553505ba77b
/astroraf/fos/__init__.py
fe3fac3aa4d1266a2c9a30db0e0380a098286997
[]
no_license
justincely/astroraf
72da22b79b99f37808d4224f94315862a0d2ffa5
af7875771ff337ff4a4d1576db99ca35709be5ba
refs/heads/master
2016-09-05T18:54:04.800462
2015-06-19T18:58:54
2015-06-19T18:58:54
11,696,336
1
0
null
null
null
null
UTF-8
Python
false
false
18
py
from fos import *
[ "justincely@gmail.com" ]
justincely@gmail.com
fb4130f05a417263abf2c2d20790c2ac2f668e41
4850f693e3b15c5871218353088eb4898b2c6cd0
/python_tutorial/python_tutorial/settings.py
662cf383ff151240f17d07a19be4e955e7b54866
[]
no_license
SaiSwaroopPadala99/Test-
61ef04a39c4ce3c4301a49074c4bfac14a18492b
141d7e7300b7e6624a0615a1499625e9ff0985bd
refs/heads/master
2020-12-07T19:53:04.670818
2020-01-09T11:01:29
2020-01-09T11:01:29
232,786,638
0
0
null
null
null
null
UTF-8
Python
false
false
3,131
py
""" Django settings for python_tutorial project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impo...
[ "swaroop.padala99@gmail.com" ]
swaroop.padala99@gmail.com
1ad07b528ea8b1ff960f11a81b99eee198db74fb
8b31eb19740cca14c3a2a4782f713be837b43563
/src/__init__.py
db15ec81e0a677b8fc5fafba3954f5c513642832
[]
no_license
polytopeSVM/XNODE-WAN-PDE-solver
aa52dd81a02ccbaabc5a1b84ad8f4bcc86b56bec
46a3f12bcb17e6908b160a3e20b541a6962d6216
refs/heads/main
2023-08-29T00:46:59.938572
2021-10-18T10:47:13
2021-10-18T10:47:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from src.dataset import * from src.loss import * from src.model import * from src.training import *
[ "noreply@github.com" ]
polytopeSVM.noreply@github.com
6c095a481e7dfa080fa67bb206897f5e02b14490
7bcfed7d85c13346ace0ab4283438e74f4dce510
/movierater/settings.py
2dff8853e782837570bd072c67b39ca7b2c94e6d
[]
no_license
dipee/MovieRaterApi
f41f191c11419783d584ff378eff7297863c4a72
0acca6650fc1422b194c853a21ea60d4afaa255a
refs/heads/master
2023-03-06T23:42:54.482959
2021-02-24T18:33:41
2021-02-24T18:33:41
339,626,847
0
0
null
null
null
null
UTF-8
Python
false
false
3,457
py
""" Django settings for movierater project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "dipen.2052@gmail.com" ]
dipen.2052@gmail.com
a1521f4e71a967581dae1bf9a7a5d37ebd572ef0
76816fc8b04087b37af28364b26576c2d16e0940
/envname/lib/python3.7/ntpath.py
b08f2539aafa36f80bc1b3c8e5080d05716e7d76
[]
no_license
logg926/AutoGen_Flask
6703c97759ed34e091d79997127d33887dd738f7
8edbba185dd6086482f6afaa5c2f00e4073a59f5
refs/heads/master
2020-04-18T17:57:16.406268
2019-01-26T09:16:54
2019-01-26T09:16:54
167,670,042
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
/Users/loggcheng/anaconda3/lib/python3.7/ntpath.py
[ "logg.com@gmail.com" ]
logg.com@gmail.com
30054b750cf65f48a5410dc67d6c9fd17cee69f1
53947441840357e3966eda580c6a5de3e0b92613
/blaze/module/qualname.py
65b9d324944ebfcc5fd2d0ce2f7ac4a97f5915c3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
jedbrown/blaze-core
8b9eda6267253e1609a7382197ffdf67a41407f6
b2f0d350f5cb7b802819ca46738bacdbe70db13a
refs/heads/master
2021-01-17T06:24:38.307059
2013-04-04T18:24:36
2013-04-04T18:24:36
9,283,188
2
1
null
null
null
null
UTF-8
Python
false
false
1,381
py
#------------------------------------------------------------------------ # Names #------------------------------------------------------------------------ class Namespace(object): def __init__(self, names): self.names = names def show(self): return '.'.join(self.names) class QualName(object)...
[ "stephen.m.diehl@gmail.com" ]
stephen.m.diehl@gmail.com
5df22589a40000c4156181a331d14179c3df1724
ab36737215b5d2b1afc2116f65204d70f7166656
/script/进程间不同享全局变量.py
234f067cd629154678858e8cdd88c3966dc1dc00
[]
no_license
kuki123456/Send_Data
666cd8b532e0aec24ecd23c3740caa16601bbbc4
f99de7a77ca918a38ee0537d4007a423185ce7c2
refs/heads/master
2023-03-12T03:55:38.878901
2021-03-03T16:22:36
2021-03-03T16:22:36
344,188,664
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# -*- coding:utf-8 -*- from multiprocessing import Process import os import time nums = [11, 22] def work1(): """子进程要执行的代码""" print("in process1 pid=%d ,nums=%s" % (os.getpid(), nums)) for i in range(3): nums.append(i) time.sleep(1) print("in process1 pid=%d ,nums=%s" % (os.getpid(...
[ "huqi@bonree.com" ]
huqi@bonree.com
bcb660a70c23a57e06a129b7d5e0ac8a48ccc062
440736bf8cdfff0b5569105519204414414b455a
/reviewboard/hostingsvcs/tests/test_bitbucket.py
17ebf6a31a0ba0b0ec1a00ab52f35359a3acad75
[ "MIT" ]
permissive
bbbbbgit/reviewboard
ef456bbd848a26a0babe9bbf9d1ccfdf6cafcffc
f9cff6699ec387600d1d0540db32d1a0517c203d
refs/heads/master
2022-07-17T01:38:12.774767
2020-05-12T02:43:03
2020-05-12T02:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,819
py
"""Unit tests for the Bitbucket hosting service.""" from __future__ import unicode_literals import logging from django.contrib.auth.models import User from django.test.client import RequestFactory from django.utils.safestring import SafeText from djblets.testing.decorators import add_fixtures from reviewboard.hosti...
[ "christian@beanbaginc.com" ]
christian@beanbaginc.com
85fef74f9fafbfcb48446ecb151b3d7349bc61cb
553987c369aa12a42553a4adac305f499aa9f2a1
/PyQt5/curso/jogo/teste_rc.py
aedb8a74f950dbfe3c575f08da214834ba97629e
[]
no_license
barmvicente/Study
a7dc7df2841dfbfb19a791cd2130479afe6d7004
ffdfbc80cb7e58c0f142f4f4840577b18f9382ea
refs/heads/master
2021-08-16T09:41:10.435668
2017-11-19T13:49:59
2017-11-19T13:49:59
111,299,243
1
0
null
null
null
null
UTF-8
Python
false
false
432,419
py
# -*- coding: utf-8 -*- # Resource object code # # Created: sáb nov 18 16:17:24 2017 # by: The Resource Compiler for PyQt (Qt v5.2.1) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x7a\x20\ \xff\ \xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x02\...
[ "bar.mvicente@gmail.com" ]
bar.mvicente@gmail.com
183732c08312c07a290ffa9361595cea00c05abb
a3bca9d835214df6db839d9b02d7a89b16cca4e7
/scripts/ympcli
998b7d73e8a3e326fa035dc6420b6712237d9065
[ "MIT-Modern-Variant", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
michel-slm/ymp-tools
7eece1f9957429f66718ab114a5f4d702bf3c326
be6dd58afe5378b684c74a71b2c48991a0af9076
refs/heads/master
2021-01-22T14:32:54.672486
2012-06-05T04:14:54
2012-06-05T04:14:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
#!/usr/bin/env python from ConfigParser import ConfigParser from lxml import etree import sys from ymp.repos import * NS = 'http://opensuse.org/Standards/One_Click_Install' def make_path(start, *components): pathstr = start for c in components: pathstr += '/{%s}%s' % (NS, c) return pathstr def ...
[ "michel@sylvestre.me" ]
michel@sylvestre.me
0237b7a65a84dd7422316e2658be58ff39456d31
4f8bdddd8a6a9b6bd7ef42ee4c2f89a73ce5564b
/Image Recognition.py
ea31c007b23ba6ffaae6cb9b3c0bed4011e28785
[]
no_license
KshitizzB/Image-Recognition
b169233d3e10362d32c8df2f2c7b0a3cf85f856d
951ab0b08fcf443bd5df58a474f9ff821f56eb21
refs/heads/master
2020-03-22T11:56:53.908138
2018-07-06T16:23:00
2018-07-06T16:23:00
140,006,522
1
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
# Importing the Keras libraries and packages from keras.models import Sequential from keras.layers import Conv2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense # Initialising the CNN classifier = Sequential() # Step 1 - Convolution classifier.add(Conv2D(32, (3, 3...
[ "noreply@github.com" ]
KshitizzB.noreply@github.com
1a377c2f9288f3316176cf81e143d1af481d0b2c
47bd89fed1060372eb38a49b104f0a98b086f264
/manage.py
5c4d961af399f8e46e3d45df4fdb0e33aa318b11
[]
no_license
micaelagimenez/constancia-monotributo
d1384bef966f47ac0ee8a9159204bbdd036ef3a3
c1ac8565964f27fb16a56d807589b37c01fe5275
refs/heads/master
2023-03-22T10:50:33.380337
2021-03-17T15:30:17
2021-03-17T15:30:17
343,550,277
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'page.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "micaelagimenez@live.com.ar" ]
micaelagimenez@live.com.ar