blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
cb9b99aa461b45357f30e30ccba0ff2fdd376c3a
29e4d393351c87741f069092eb8d0ab6f1221d6f
/venv/lib/python3.6/site-packages/pdfminer/ascii85.py
b0af08c8b04af97930de0d7ab9ac088154718fef
[ "MIT" ]
permissive
masora1030/eigoyurusan
f0eb7d9761aa150379b558c13fc2477daf504417
fa82044a2dc2f0f1f7454f5394e6d68fa923c289
refs/heads/master
2022-12-01T09:31:17.330620
2020-07-22T14:51:59
2020-07-22T14:51:59
279,682,018
11
2
MIT
2020-07-22T22:02:57
2020-07-14T20:03:45
Python
UTF-8
Python
false
false
2,490
py
#!/usr/bin/env python """ Python implementation of ASCII85/ASCIIHex decoder (Adobe version). This code is in the public domain. """ import re import struct # ascii85decode(data) def ascii85decode(data): """ In ASCII85 encoding, every four bytes are encoded with five ASCII letters, using 85 different t...
[ "soraemonpockt@icloud.com" ]
soraemonpockt@icloud.com
0ea758e348df140e2e167621fa3bc788a8118685
e2eefb2da7f1a113e44bde5c09074bc8c368e94f
/threadingx/thread1.py
e16003387239d6402f37ce96e21356419e3a8a81
[]
no_license
piyushbhadauriya/WJU_OS
88c73001c30c116f8f59b587ad27ade33561137d
7d70f23bcb0485abe91abceaedb4a41c3e911e4f
refs/heads/master
2020-03-28T22:10:25.391954
2019-01-15T01:00:55
2019-01-15T01:00:55
149,210,169
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
import time import threading def countdown(aname, account): while account > 0: print(aname, " : counting down ",account) account -=1 time.sleep(2) print(aname,' :exit') return t1 = threading.Thread(target = countdown, args = ('t1',10,)) t1.start() t2 = threading.Thread(target = co...
[ "coolpiyushsingh@gmail.com" ]
coolpiyushsingh@gmail.com
1e7ab58e067aa60cdb37f60639f963b9c658b7d7
cb1711f4bb5d77994738b034a264eb9a1f96e86d
/basic/dojo/views_cbv.py
8c032acdda55dfce8706fbc3bd94f44c28afbfde
[]
no_license
Junhong-Kim/ask-django-lesson
8cd8826ecaac2d8b9ff246256de893fe4431b91a
af475bfb9f52c5a243a3a12861c7644db43de7f2
refs/heads/master
2021-05-14T12:38:10.698709
2018-01-13T17:46:17
2018-01-13T17:46:17
116,348,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
import os from django.http import JsonResponse, HttpResponse from django.views.generic import View, TemplateView # HttpResponse class PostListView1(View): def get(self, request): name = 'Kim' html = self.get_template_string().format(name=name) return HttpResponse(html) def get_templ...
[ "jhk1005jhk@gmail.com" ]
jhk1005jhk@gmail.com
6e26412342eb240df11bbd524eeca3b26f04bf20
dce57a9b68a9dbc4ef9da3a7e193bffcadf6a03b
/benchmarks/migrations/0027_auto_20160202_1303.py
b3873d6f6346ff7e310a1705470df3ea6c418fbe
[]
no_license
Linaro/art-reports
263579d5e47e3b14c0d97309c067a3a3f0f54335
a2efe96174b11b0f438fea6fafc976f2f8cf29b0
refs/heads/master
2020-07-12T00:04:40.441291
2019-05-17T19:18:53
2019-05-17T19:28:02
54,223,014
2
3
null
2018-08-06T14:56:53
2016-03-18T18:25:40
Python
UTF-8
Python
false
false
696
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models def migrate(apps, schema_editor): Result = apps.get_model("benchmarks", "Result") for result in Result.objects.filter(name="linaro-art-tip-build-nexus9-MicroBenchmarks-Baseline"): result.gerrit_ch...
[ "sebastian.pawlus@gmail.com" ]
sebastian.pawlus@gmail.com
5889762761a190b70a9ae493826cbb071ec02449
5afdb507921d990702cd7ca1e532d804ec852c73
/vqvae/VQVAE/esoftmax.py
a304952a90f2cc883158f789190a74ca3361b059
[ "MIT" ]
permissive
Zirui0623/EvSoftmax
1c07c9c8789beb3b7e54f176dcb1330abc16a22e
e161e55432f5e30fedf7eae8ae11189c01bcd54a
refs/heads/main
2023-08-30T05:03:39.393930
2021-10-25T00:03:41
2021-10-25T00:03:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,127
py
import torch import torch.nn.functional as F INF = 1e6 EPS = 1e-6 def log_esoftmax(input: torch.Tensor, dim: int, training: bool = True) -> torch.Tensor: return torch.log(esoftmax(input, dim, training)) def esoftmax(input: torch.Tensor, dim: int, training: bool = False) -> torch.Tensor: mask = input < torch...
[ "phil@Phils-MacBook-Pro.local" ]
phil@Phils-MacBook-Pro.local
04e9181223e4bd97243feb5684e728af7ed5b29d
2945ac394970e1fbbf46fbcfdbd74d8095b89428
/lifelong_rl/core/rl_algorithms/offline/offline_rl_algorithm.py
0fed211317dedc771d9ff0d1edbb5550b0088fcd
[ "MIT" ]
permissive
snu-mllab/EDAC
fbca5fec29407dd3ddc03e8585cdf341c4b834c0
198d5708701b531fd97a918a33152e1914ea14d7
refs/heads/main
2023-04-18T05:57:14.753222
2022-08-14T04:44:27
2022-08-14T04:44:27
415,660,116
64
4
null
null
null
null
UTF-8
Python
false
false
5,617
py
import gtimer as gt import abc from lifelong_rl.core import logger from lifelong_rl.core.rl_algorithms.rl_algorithm import _get_epoch_timings from lifelong_rl.util import eval_util class OfflineRLAlgorithm(object, metaclass=abc.ABCMeta): def __init__( self, trainer, evaluatio...
[ "white0234@snu.ac.kr" ]
white0234@snu.ac.kr
42f83313223bdf6899a7aa3bc49e3dbd77685249
a79032631c21fb07b93b467569b2e82e7e912c48
/venv/Lib/site-packages/slider/tests/test_beatmap.py
73b6997565aa3340691dbb5ec8de7143f50c0808
[]
no_license
Rishikathegenius/django-miniproj-rishika
c2107db8db2386d320b044f57afd61d8e7d0fdfd
4cb2fbe7c54bdb6079228be65d88b32a9219f1df
refs/heads/master
2023-04-21T16:07:17.390623
2021-05-19T07:52:34
2021-05-19T07:52:34
364,608,353
0
0
null
null
null
null
UTF-8
Python
false
false
7,524
py
import pytest import slider.example_data.beatmaps import slider.beatmap import slider.curve from slider.position import Position from datetime import timedelta from math import isclose @pytest.fixture def beatmap(): return slider.example_data.beatmaps.miiro_vs_ai_no_scenario('Tatoe') def test_parse_beatmap_for...
[ "dancefivaella@gmail.com" ]
dancefivaella@gmail.com
bd22ad59dd6d627890c5d26d85d4715723be0995
f193fe64b1f71470f8272ececde5520938970eba
/rabbit/RBPub.py
25da4cbc7ccb4563b60efbaff7d184ad9ea01e19
[]
no_license
eduardo-sarmento/Trabalho-2-PPD
917bebac9e0b6b241525ea444e70317c227b956a
988c243b288480125a58af6a185b825ace822507
refs/heads/master
2023-08-14T18:33:33.215841
2021-10-06T22:26:57
2021-10-06T22:26:57
406,138,393
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
#!/usr/bin/env python import pika connection = pika.BlockingConnection( pika.ConnectionParameters(host='localhost')) channel = connection.channel() channel.queue_declare(queue='rsv/hello') channel.basic_publish(exchange='', routing_key='rsv/hello', body='Hello World!') print("Sent 'Hello World!'") connection.clo...
[ "eduardosarmento49@gmail.com" ]
eduardosarmento49@gmail.com
758f161cf8f14adcbc1f4fe3840d1cf4000f5479
428c97701b166c177256cdd510eac9373e75dea8
/Activity7.py
f8ab7896ba549140951dc70ef46875689ac17bef
[]
no_license
mferri17/lstm-text-generator
2b240e820dbca6dd047645afa6407bc8956265bf
9454dd80c320cf4f476d87752480e8168185b09d
refs/heads/master
2022-12-11T12:38:02.486497
2020-09-07T21:05:18
2020-09-07T21:05:18
293,628,787
1
0
null
null
null
null
UTF-8
Python
false
false
9,684
py
# -------------------------------- # %tensorflow_version 1.x import io import numpy as np import tensorflow as tf import tensorflow.python.util.deprecation as deprecation deprecation._PRINT_DEPRECATION_WARNINGS = False # -------------------------------- # from google.colab import drive # drive.mount('/content/driv...
[ "m.ferri17@campus.unimib.it" ]
m.ferri17@campus.unimib.it
cbf8b086ac33bdab4294086c67a15e4d00b65498
69d9ffc34f6f542bcb6f2f5658d23d8dcd72eb7b
/restframework/filtering/api/views.py
ca1e1fe9fdfbf457f9d3b09abca2bb369992e9f6
[]
no_license
golammahmud/rest-framework
9c82254944729d9d669ab38c8bd2cb48f789e66f
913e3630469c14fa67edc419d17184e94d19c9b1
refs/heads/master
2023-08-24T15:59:49.139124
2021-10-12T14:54:53
2021-10-12T14:54:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
from django.shortcuts import render from rest_framework import viewsets from rest_framework.authentication import SessionAuthentication, BasicAuthentication,TokenAuthentication from rest_framework.permissions import IsAuthenticated,IsAdminUser,DjangoModelPermissions,IsAuthenticatedOrReadOnly from .models import Student...
[ "golam.mahmud99@gmail.com" ]
golam.mahmud99@gmail.com
d3b5e91d6fe0172f1293634ddffe96ec82a5abea
5c1afc37f583622c820cdc093210dc4122278f8e
/mummy/models.py
80624c800b41b335ed18ab393be636c57e438d34
[]
no_license
jordangallacher/LucasSite
681474ee2fd9228b33833f959331846769fefb82
9363a702ecf76ade4ecccdc22d8ef4ddfb9d8b3e
refs/heads/master
2022-01-24T07:08:00.152391
2019-07-30T07:37:34
2019-07-30T07:37:34
198,356,378
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
from django.db import models # Create a Blog model here. # title # pub_date # body # image class Mummy(models.Model): image = models.ImageField(upload_to='images/') title = models.CharField(max_length=255) pub_date = models.DateTimeField() body = models.TextField() def __str__(self): retu...
[ "jordan.gallacher@gmail.com" ]
jordan.gallacher@gmail.com
daabf75fa0ee4ee0fca9b3cd286480f785179c3c
c42d708c04d510ba34ab4b7d058a16ca8098d8de
/nogeo/gis.py
f51a1ca2cc43af43f931dba60f5e418ed4979215
[]
no_license
kuki-gs/noweapons
75bb6764b73b92877fb0090ea42bbc3b10186c99
8bbb68d0ffce761f5a556d613babc5bb4a16b1dc
refs/heads/master
2022-02-22T13:43:24.764841
2019-09-19T08:16:01
2019-09-19T08:16:01
209,465,305
0
0
null
null
null
null
UTF-8
Python
false
false
9,454
py
# -*- coding: utf-8 -*- import math import pandas as pd from lxml import etree from pykml.factory import KML_ElementMaker as KML ''' 经纬度转平面直角坐标,米勒投影 输入输出:均为带有经度、纬度或x、y坐标的列表 ''' def GPS_to_XY(gps): L = 6381372 * math.pi * 2 # 地球周长 W = L # 平面展开后,x轴等于周长 H = L / 2 # y轴约等于周长一半 mill = 0.6...
[ "noreply@github.com" ]
kuki-gs.noreply@github.com
0e2e8fb97a3cefd834a2f935fe8284b71ce38843
bdbaa26a91b46598a1b77b736639e97e39be5572
/MapPro/orders/migrations/0003_order_is_archived.py
a93d436121cb24c4eddd09c7b70a0675ea53faba
[]
no_license
Armenvardanyan95/mappro_api
457c7bb054909150d1cf1e6b74a9e57fd80c99ff
30d8acf9560097aad92a8379eb1d0c58384ed351
refs/heads/master
2020-03-12T02:24:43.928045
2018-04-20T18:58:32
2018-04-20T18:58:32
130,401,977
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-08-20 18:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0002_auto_20170812_1437'), ] operations = [ migrations.AddField( ...
[ "armenvardanyan95@gmail.com" ]
armenvardanyan95@gmail.com
c89f1bd79b26aa7ced8a1a83e589f2abcbd2a9c4
6a6b9a3f06e1a5bf80b9313428ced8719aafe644
/image_load.py
57d2f3d9259b7443b7fd57f87d27e93e1e1c362f
[]
no_license
PhilCoker/BnP-YGO
fe1b291431313e1d9089c424f28f4a8790ca89ec
892ebe7d5311b0ef17fba2bec04cf991a749d6b9
refs/heads/master
2021-01-20T11:13:44.963048
2014-10-13T01:11:27
2014-10-13T01:11:27
23,847,105
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
import os import sys import urllib if( len(sys.argv) < 2 ): print 'Provide the deck name.' sys.exit(0) base = 'http://static.api5.studiobebop.net/ygo_data/card_images/' #See if img dir exists, if not then create it if 'img' not in os.listdir('.'): os.mkdir( 'img' ) #Go through all cards in deck and download image...
[ "phillip.coker@gmail.com" ]
phillip.coker@gmail.com
da8ed9569251ebd3679be699e72cfe847fd69021
3fbaf156377676d0971275dbbecdb1198c0016d6
/apps/organization/models.py
fe3f16fda9b27443a7a94e65e4df3b9006eab185
[]
no_license
handsome-man/MxOnline
c171848546b0bdcd1d6fc29f2364f3d9f8803f8b
a3253f56552d5cc20b248c39b175815aed297c14
refs/heads/master
2020-04-29T06:34:58.819180
2019-05-17T07:42:42
2019-05-17T07:42:42
175,921,170
0
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
# organization/models.py from datetime import datetime from django.db import models class CityDict(models.Model): name = models.CharField('城市', max_length=20) desc = models.CharField('描述', max_length=200) add_time = models.DateTimeField(default=datetime.now) class Meta: verbose_name = '城市' ...
[ "lunan.liu@gesion.net" ]
lunan.liu@gesion.net
e6e443870ee55b979e6309a4240301ce1c4bfac1
85284870656a0ce68790492d18fac20dd323d5e1
/ps2.py
9e5745e261a426ce5a3e4b258334b51f842c1d5f
[]
no_license
2018EET2555/Assignment_8
da448c9a2c717632b179091ff4216412216ac1da
f7ef82dfd103bb242e1103f3771662c9391e8c67
refs/heads/master
2020-07-27T20:53:40.862713
2019-09-18T07:04:15
2019-09-18T07:04:15
209,213,079
0
0
null
2019-09-18T03:54:25
2019-09-18T03:54:25
null
UTF-8
Python
false
false
3,355
py
#print welcome message print("Welcome to the Game!") #this function enters the value at position and return 4 ig game is draw returnn 1 if player 1 wins or 2 if player 2 wins and 0 for continue game def enter(p,v,player): flag=4 #inintiallize a flag to check the draw i=(p-1)/3 #array indicis using position j=(p-1)%3...
[ "eet182555@ee.iitd.ac.in" ]
eet182555@ee.iitd.ac.in
434186f4c4cad82219aec208733f761601a3a107
db73aac3a075276f6917250417dcfa08964bbecd
/src/tests/conftest.py
e05d911358b8777aeb3fb535b1db4f65a78188d8
[]
no_license
alexandershov/aio
3000af9cc699dcf95a6d7bec05b6dfbd7a2d4def
da50e258e8416700ff4d6eff3921b3e95e49ce28
refs/heads/master
2020-04-05T17:41:24.498274
2018-12-02T16:54:34
2018-12-02T16:54:55
157,071,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
import logging import pytest import aio @pytest.fixture(name='future') def future_fixture(request): del request # unused return aio.Future() @pytest.fixture(name='loop', autouse=True) def loop_fixture(request): del request # unused loop = aio.new_event_loop() aio.set_event_loop(loop) yie...
[ "codumentary.com@gmail.com" ]
codumentary.com@gmail.com
52fb348cf10da06e9826fe37f4a38f2cdf289d0e
53405777b878efa8b2200f73455bf47701227dd8
/answer_desc2.py
13de4a8aea39397b335c4ec09c13a8a788732022
[]
no_license
shraddhansahula/AutomaticQA
912ac31e9fc78094900af9987af75effe994315f
fe89d64871b4e5a5cc2622e099641484343cae3a
refs/heads/master
2020-12-30T13:07:54.801108
2017-05-28T19:13:34
2017-05-28T19:13:34
91,323,824
1
1
null
null
null
null
UTF-8
Python
false
false
5,716
py
# -*- coding: utf-8 -*- import sys sys.path.append('./LCS') sys.path.append('./headRelated') sys.path.append('./ngramOverlap') sys.path.append('./skipBigram') sys.path.append('./synHypOverlap') sys.path.append('./treeKernel') import os import re import pickle import nltk from nltk.tokenize import sent_tokenize, word_to...
[ "gupta.anu1995@gmail.com" ]
gupta.anu1995@gmail.com
87ddf8d6595c8889f6590dc836af99201a598e30
46dc310cf50c41bd909c22d26060e6e2b525a844
/reports.py
eac1991fd3d4f2e5c0f857836ed7d9c7963e18d0
[]
no_license
mderamus19/student-exercise-reports
090fd224c81975c840314f7e986a35b59ffd28cf
6d45f0e0b3c2f08bdf95b20fd066d11dc7cd3f9b
refs/heads/master
2020-07-26T04:13:02.726894
2019-09-16T18:11:22
2019-09-16T18:11:22
208,530,656
0
0
null
2019-09-16T18:11:16
2019-09-15T02:24:15
Python
UTF-8
Python
false
false
7,154
py
import sqlite3 class Student(): def __init__(self, first, last, handle, cohort): self.first_name = first self.last_name = last self.slack_handle = handle self.student_cohort = cohort def __repr__(self): return f'{self.first_name} {self.last_name} is in {self.student_co...
[ "mistyderamus@gmail.com" ]
mistyderamus@gmail.com
bfcec09fb2a9c0b6cc6a755d255269a6957f56b4
61f12e69b3d7a11f9e0e6cf9cedb43c9af07c245
/Graph_Algorithm/Breadth_First.py
bafe54d3d78ef76eea5bdc2edf0ea9cd3dbc0638
[]
no_license
ananabh/Graph_Algorithm
7bc6c35031fb82638239adb394fa41d27a632e14
c9d3c4b5ee720701d76d65eace00eeab484d4187
refs/heads/master
2021-07-24T13:40:21.312361
2020-01-03T10:19:08
2020-01-03T10:19:08
101,926,480
5
2
null
null
null
null
UTF-8
Python
false
false
447
py
from queue import Queue import numpy as np def search(graph, start=0): queue = Queue() queue.put(start) visited = np.zeros(graph.numVertices) while not queue.empty(): vertex = queue.get() if visited[vertex] == 1: continue print("Visit :", vertex) visited[v...
[ "abhianan@users.noreply.github.com" ]
abhianan@users.noreply.github.com
677c1989fdeda9af47f28bd069d7fa5eb7a950dd
8e035733fa236599e7af5ad4819882cf07b38689
/djangoquill/djangorestquill/tests.py
d50f1c8c7871322b46cf521820a65189926ade13
[]
no_license
suhjohn/Django-Rest-Quill-Test
ee0a3a60484c71e73c861c118c6ac60e7e53a9eb
5d7e3075af1e9d6dd16071f0dd7fc86074cecd1f
refs/heads/master
2021-09-03T06:08:24.659637
2018-01-06T06:35:58
2018-01-06T06:35:58
116,368,295
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django.test import TestCase # Create your tests here. # Test for Problems such as # What if content doesn't exist? # What if content is in wrong format? # What if content length is 0? # What if content length is super long? # What happens when we update? from rest_framework.test import APITestCase class Quil...
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
5d5711105462042d67bf0ef658d2b857aeadfc20
b62ba4f33cca622e78da298afa33f9dcf431e4b3
/server/expenses/migrations/0003_auto_20190920_1259.py
471777671ed4a1e3134dd6ec92966ed2c5c756d3
[ "MIT" ]
permissive
cristicismas/top-budget
98c7c96288a5df1dece195d0e953247188dad509
d61db578287b2f77c12032045fca21e58c9ae1eb
refs/heads/master
2021-10-30T17:26:48.957692
2020-09-29T11:57:18
2020-09-29T11:57:18
189,410,116
0
0
MIT
2021-10-05T22:08:17
2019-05-30T12:30:04
JavaScript
UTF-8
Python
false
false
733
py
# Generated by Django 2.2.4 on 2019-09-20 12:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('expenses', '0002_auto_20190829_1335'), ] operations = [ migrations.AlterField( model_name='expe...
[ "cristicismas99@gmail.com" ]
cristicismas99@gmail.com
05d8440c2736146da4ffc999819c9caf857631f5
6cf2b45ee8516c7b65fbe362928bfee90ff50779
/2-EstruturaDeDecisao/exercício11.py
79cbe12f143385a1a86b576402093055d87b9ff0
[]
no_license
nralex/Python
1d719179ebf22507132584b8285380c55499d9da
17cbb5544265aec715c8959699a2f34ccc1f9b01
refs/heads/main
2023-02-17T10:20:10.155394
2021-01-09T23:21:20
2021-01-09T23:21:20
319,101,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
# As Organizações Tabajara resolveram dar um aumento de salário aos seus colaboradores # e lhe contraram para desenvolver o programa que calculará os reajustes. # Faça um programa que recebe o salário de um colaborador e o reajuste segundo o seguinte critério, baseado no salário atual: # * salários até R$ 280,00 (...
[ "alexserno@gmail.com" ]
alexserno@gmail.com
8c6def7114c99b3c611a71cb5478f0f823098672
119c82b3c1719753b93bd925e157b10e72cdd11f
/blog/urls.py
693ba80b5090141a7be0bcb3b844403ab0b7fdac
[]
no_license
siddharth007-singh/Blog-Website-
bee83ac276ff4fffda4f6c6a98f93da74e6e15af
ed7a544b0afa2c5df651fdac6fe91745c747e9fd
refs/heads/main
2023-04-12T04:56:18.035098
2021-05-12T08:00:17
2021-05-12T08:00:17
366,699,889
0
0
null
null
null
null
UTF-8
Python
false
false
2,453
py
from django.contrib import admin from django.urls import path from datawork import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), path('', views.home, name="homepage"), path('detail/<int:post_id>', views.detail, ...
[ "siddharth.code.cws@gmail.com" ]
siddharth.code.cws@gmail.com
86ffea4bdb21794f082509a02de64082e37e21f9
e9b6e2318d537830b848b9c1c67d6954865fe0c3
/pet/petenv/bin/tkconch
e7c7d8dd4ef6ecced5216302f28bedb98ba94527
[]
no_license
lvkunpeng/webspider
3c59b67a8e9274605366640cd20d4293cbc7232d
681a77586974f4c17673763f8c6f42421cd694b5
refs/heads/master
2022-12-14T04:20:12.921858
2018-02-11T08:28:07
2018-02-11T08:28:07
113,159,632
0
1
null
2022-11-16T23:57:17
2017-12-05T09:14:34
Python
UTF-8
Python
false
false
252
#!/root/Desktop/pet/petenv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.tkconch import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "‘lvkunpeng@163.com’" ]
‘lvkunpeng@163.com’
73c8395ae9161ae8bc73887438f449575c6db641
d055b5225381a86b00a7373440b248e5b016e37c
/flaskforum/users/forms.py
255d85c672c4d85a221e634de885140a4b890f40
[]
no_license
HariRam1998/flask-forum-plant-disease-prediction
a9220d6fff1648c20ae57e514f676ca55532fc38
dd8f61fd2fa74e5c6c670eae89bed43506c93ec8
refs/heads/master
2023-04-10T18:47:09.891687
2021-04-23T11:31:49
2021-04-23T11:31:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,656
py
from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Length, EqualTo, ValidationError from flask_login import current_user from flaskforum.models import User class LoginFo...
[ "HariRam1998@users.noreply.github.com" ]
HariRam1998@users.noreply.github.com
b26813fea036ee40ff9c130c6296d8e1f3fcd9f7
1e182b7cbedc5bf3696ecaa236990c57983fcc0b
/tests/test_tensor_maps.py
7fcb52c2f635ed4bc6478c68f9d6f05be306bc93
[ "BSD-3-Clause" ]
permissive
mit-ccrg/ml4c3-mirror
c1c87230c5e9f18164bc1d9085328ad0117a1c6e
0e25886083ccefc6cbb6250605c58f018f70a2e9
refs/heads/master
2023-02-28T15:15:36.481784
2021-02-08T15:01:57
2021-02-08T15:01:57
337,133,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
# Imports: third party import pytest from tensorflow.keras.losses import logcosh # Imports: first party from tensormap.TensorMap import TensorMap # pylint: disable=no-member class TestTensorMaps: """ Class to test ECG tensor maps. """ @staticmethod def test_tensor_map_equality(): tensor...
[ "noreply@github.com" ]
mit-ccrg.noreply@github.com
c8b3f6213dc2511271bb7c53d95522854e18f936
5700b2c6bfe55291444d77db74e23e03b2b03681
/MergeSort.py
bbec45bb6ddc236a1dfc6c3384025a0633fa303f
[]
no_license
IrsyadMakarim/TubesAKA
024a579441aa1b3ea43c5e0f9adeb1a28c19c52d
d96838459077bb638e7d3d6162ff4638e3689daf
refs/heads/master
2023-02-20T12:59:49.811746
2020-12-26T09:10:33
2020-12-26T09:10:33
324,094,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,451
py
import pygame import random import time pygame.font.init() startTime = time.time() n = 151 screen = pygame.display.set_mode((900, 650)) pygame.display.set_caption("SORTING VISUALISER") run = True width = 900 length = 600 array = [0] * n arr_clr = [(0, 204, 102)] * n clr_ind = 0 clr = [(0, 204, 102), (255, 0, 0), ...
[ "1rsy4d.m@gmail.com" ]
1rsy4d.m@gmail.com
2fe1fd45dcf963302d499f8cd39946fc538d073b
aaf772cc4830a98839f6bbba28fc0e7523fdc341
/mme_ave_msk.py
e344d5c0f4f7ab8e747822d48d34dcd48b87bcc5
[]
no_license
eguil/Density_bining
a01df60b79ec3382399062b3f7dfe35f5641f695
a450ecaa784965e4d09453a1b255874bb5a82318
refs/heads/master
2021-09-20T03:05:20.099344
2021-09-15T09:06:38
2021-09-15T09:06:38
18,653,021
4
3
null
2019-05-21T17:12:38
2014-04-10T21:48:22
Python
UTF-8
Python
false
false
15,302
py
import os,glob,sys,resource,socket from libDensityPostpro import mmeAveMsk1D,mmeAveMsk2D, mmeAveMsk3D from modelsDef import defModels from correctBinFiles import correctFile from string import replace import warnings import time as timc warnings.filterwarnings("ignore") # -----------------------------------------------...
[ "Eric.Guilyardi@locean-ipsl.upmc.fr" ]
Eric.Guilyardi@locean-ipsl.upmc.fr
741da4aa788642759e3693ac73deec10287f9425
66c917eeefbd2eb0d7c2de16c67b1211518cc74e
/k-means.py
5a7d5822410f9f0af41be575c3db2fdad9f97060
[]
no_license
yz-chen18/AndrewML
201d993ee9f834f37dac6d59b896ab8f9c933239
b10e6dffb2f92f8193a1d2a15cdddb72a4529be0
refs/heads/master
2020-07-14T03:48:17.109479
2019-09-10T03:01:16
2019-09-10T03:01:16
205,230,340
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
import numpy as np import matplotlib.pyplot as plt def loadData(fpath): mat = [] labels = [] with open(fpath, 'r') as f: for line in f.readlines(): label = line.split()[-1] line = line.split()[:-1] line = [float(num) for num in line] mat.append(line) ...
[ "yz_chen1999@163.com" ]
yz_chen1999@163.com
7d4a92cde5a395b02c3428e9df8b95c0e88be56a
6f6205a6be1377b1f765cd7f752be6d40709e7e2
/core/infer.py
33cc2ee70ce17022f478cd5d42d8f9ac5f04e42d
[]
no_license
imounish/HCR_Flask
5793f6ce2bf98aa995151a49d521b51e0d0026b8
92d4f29f1536bd98a1158b7e644f4d750bcf458c
refs/heads/master
2022-06-19T17:31:10.499946
2020-05-09T17:10:08
2020-05-09T17:10:08
262,615,429
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
import os import cv2 from core.Model import Model, DecoderType from core.SamplePreprocessor import preprocess from core.DataLoader import Batch class FilePaths: fnCharList = os.path.abspath("../hcr_flask/model/charList.txt") fnAccuracy = os.path.abspath("../hcr_flask/model/accuracy.txt") # fnInfer = os....
[ "ish.mp98@gmail.com" ]
ish.mp98@gmail.com
7d9d64e560d6b1485394ab64f0bb032a2d1fc7ca
ac8a93c0917945b9a1dc7e0343b016d518424f05
/frexp/test_util.py
715167cb0fb8947120c46e175ac492470d742b78
[ "MIT" ]
permissive
brandjon/frexp
f90af9a7268b191e3ef11c05515dfeaab1d80676
246ca0d9c4f4e7a849fcd0709748a7f7ac0961bc
refs/heads/master
2021-01-18T23:01:00.746997
2014-11-26T04:28:47
2014-11-26T04:28:47
18,230,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
"""Unit tests for util.py.""" import unittest from frexp.util import * class UtilCase(unittest.TestCase): def test_stopwatch(self): n = 10 def dummytimer(): return n t = StopWatch(dummytimer) # Init. self.assertEqual(t.elapsed, 0) ...
[ "jon.brandvein@gmail.com" ]
jon.brandvein@gmail.com
7a9b82e11189361007fff141564ebe00b71a73c4
65993766064d0973b055103272a5630bf3662ada
/dataset/taskset.py
6ed50019f17bebc315d4d734563780d6d90956b2
[]
no_license
unlimitlife/Temporal-Ensembling
ea0e477345f52bc58b4dce46d7de6aa8b3f8c8df
839857033bdf54e2d80930226913e501a394baf7
refs/heads/master
2022-09-05T19:08:17.192724
2020-06-01T05:46:53
2020-06-01T05:46:53
268,435,060
0
0
null
null
null
null
UTF-8
Python
false
false
6,923
py
import os import pickle import random import copy import numpy as np from torchvision.datasets import ImageFolder from torch.utils.data import IterableDataset from PIL import Image import bisect import torch import torchvision import torchvision.transforms as transforms import torch.utils.data as data from .TinyImageN...
[ "unlimitlife@naver.com" ]
unlimitlife@naver.com
2e90384cfa5f35cd00ef16bf0072d0a2d0e3fd30
5e14dbed4139925544a24cdf299d3db73c31f960
/books/migrations/0001_initial.py
f3f3daf19c9684d6e303193e0f81f26b5e342feb
[]
no_license
JJuniJJuni/book_management
aa0867328f81e4641d5266b0cf2af454ca101962
7068ab109c3477740fb3e1b7fadbdc8d79494272
refs/heads/master
2022-12-16T14:35:52.375170
2019-09-16T14:28:01
2019-09-16T14:28:01
139,111,221
0
0
null
2021-06-10T21:08:14
2018-06-29T06:40:32
Tcl
UTF-8
Python
false
false
1,939
py
# Generated by Django 2.0.6 on 2018-06-11 05:31 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Book', fields=[ ('id', models.AutoField(aut...
[ "gud305@gmail.com" ]
gud305@gmail.com
921fdfb2ed89dff1c23de5a2ea5c4ddd22590652
b88b6fd3e7965b1df338589f4d7d1db205eb649a
/kindadmin/pager.py
caaac006cd1b8a279e1bcd4e30b88f1a73e9df4f
[]
no_license
xieyousheng/Kindadmin
b47747b0bf65da576f3e7c122285d313be45a3eb
fe65727ec290260a2b20a6972f7b660fcd564d5f
refs/heads/master
2020-11-28T20:58:49.244902
2019-12-24T14:41:28
2019-12-24T14:41:28
229,918,477
0
0
null
null
null
null
UTF-8
Python
false
false
6,127
py
class Pagination: def __init__(self,items,getargs=None,url='',pageItemLs=1,maxPageNum=11): ''' :param items: 数据库查询的数据 :param currenPageNum: 当前页码 --- curren_page_num :param pageItemLs: 一页显示多少条数据--- page_item_list :param maxPageNum: 页面最多显示多少页码---max_pa...
[ "noreply@github.com" ]
xieyousheng.noreply@github.com
c1b97a227b543d07d9d07e860a85c5260abd350c
9db46d4400247152a3e203f3ea911fb380987cc8
/waits.py
19c6292b19d6b3afbf5924096c6148350590199b
[]
no_license
kren1504/Python_Selenium_DDT_project
354f778f27e19d296309c20c350369e55b487cfa
693ec05c5525767e6b0e65feada44a2e8ca49d1c
refs/heads/main
2023-05-11T15:15:01.196162
2021-06-07T02:20:40
2021-06-07T02:20:40
350,905,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
import unittest from selenium import webdriver from time import sleep from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class NavigationTest(unittest.TestCase): def setUp(self): self.driver = webdrive...
[ "kren1504@hotmail.com" ]
kren1504@hotmail.com
ef1344159a67b2724a5f45c55b235d2af12ec257
b53b1f4d3741570c8ad42c1bedd2f3598980730b
/exercise7.py
b44bd190ca11d3596d7d65328f6f63733481d690
[ "MIT" ]
permissive
nikhadif/Advanced-Programming
575912aee51fb59359cfd63b329cf43b10cd2767
e5bf4f5014c17c252bc0cb93c9d44c7c615b79c0
refs/heads/main
2023-01-29T17:57:38.117060
2020-11-21T21:22:35
2020-11-21T21:22:35
314,827,244
1
0
null
null
null
null
UTF-8
Python
false
false
87
py
data_file = open("example.txt", 'r') for line_str in data_file: print(line_str)
[ "hadif.nik@gmail.com" ]
hadif.nik@gmail.com
5ba1360e974bb9d3dcb3cbff20b1de8ea546185d
93c94374aa97e7cfac87506270f1064bc406339c
/Webdriver Commands.py
586617f66f6ece1942df88538552663c4da411bf
[]
no_license
Ravjot03/Selenium-with-Python
66af3f3c05838c03551501e6873acd87efe05b30
9b2ed606252f60385f5478a89e2d6ddce9843eec
refs/heads/master
2022-04-18T11:44:28.344079
2020-04-20T19:06:06
2020-04-20T19:06:06
257,086,761
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from selenium import webdriver driver= webdriver.Chrome("D:\Chrome Driver\chromedriver.exe") driver.get("https://www.makemytrip.com/") # Returns the title of the page print(driver.title) # Returns the URL of the page print(driver.current_url)
[ "noreply@github.com" ]
Ravjot03.noreply@github.com
4727a1221f0dc2188075fd7838b1d1f0dc1f9c19
a76803a441b76595372329a54e84e2b2d8fd5c6b
/typesan/__init__.py
6dfd5f3f0e862b059bb8c896eb3e868b3ffcd09c
[]
no_license
securesystemslab/sanitizing-for-security-benchmarks
ac66b1e6bd67a954a88e48751df8ea98b2b400b9
c2bf9d922ec8564208a7f926dce56e3a2dfc8355
refs/heads/master
2020-03-19T07:34:23.463598
2018-06-05T06:04:35
2018-10-04T04:28:34
136,126,254
20
4
null
null
null
null
UTF-8
Python
false
false
22
py
from typesan import *
[ "dokyung.song@gmail.com" ]
dokyung.song@gmail.com
ec7f116ef7b00dc8259fa4a5002bc9309c32e10b
f101fe75892da8d7b5258d22bd31534d47f39ec1
/ConvertNpzToMat.py
e137f11a7b1d3f999076ff7217fb1d4f89bf77eb
[]
no_license
xianjunxia/Acoustic-event-detection-with-feature-space-attention-based-convolution-recurrent-neural-network
2ae9d4d0148f5082cc6739f753bf750e1940ecfb
d2a7b36700e798e0da02d3efebb27cd340235f36
refs/heads/master
2020-03-22T17:11:53.028900
2018-07-10T05:15:32
2018-07-10T05:15:32
140,379,734
1
0
null
null
null
null
UTF-8
Python
false
false
388
py
import numpy as np import scipy.io as sio feat_file_fold = '/data/users/21799506/Data/PRL2018/Evaluation/feat/' + 'mbe_mon_fold0' + '.npz' dmp = np.load(feat_file_fold) _X_train, _Y_train, _X_test, _Y_test = dmp['arr_0'], dmp['arr_1'], dmp['arr_2'], dmp['arr_3'] name = '/data/users/21799506/Data/PRL2018/Evaluat...
[ "noreply@github.com" ]
xianjunxia.noreply@github.com
324846bdc1a33530a491dd793d925c60de0513e6
90f7f011a3071a5116e5eca293a892b87ca7f9cd
/rich/_log_render.py
b5fb6c26a4f2cbbe10536b126c3057de4b2994b8
[ "MIT" ]
permissive
gkando/rich
862d53b410d4603362de0e8cc7fa88716f2f4be1
9e6ac1e0ee6dc8938daab5f86028aa52ecd6ed05
refs/heads/master
2022-11-15T04:28:12.928279
2020-07-02T19:00:33
2020-07-02T19:00:33
276,956,105
1
0
MIT
2020-07-03T17:40:32
2020-07-03T17:40:32
null
UTF-8
Python
false
false
2,316
py
from datetime import datetime from typing import Iterable, List, Optional, TYPE_CHECKING, Union from .text import Text, TextType if TYPE_CHECKING: from .console import Console, ConsoleRenderable, RenderableType from .table import Table class LogRender: def __init__( self, show_time: boo...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
3a0e5f00f550ad757fd4e79463d9e1b6f71dba5e
98a435a3d25cc14c6ca807d38012e42f32e3b073
/PythonFile/TestStatus.py
2b380be2669b43f8abbce42171714b1f14412f54
[]
no_license
congnguyen53/FantasticFour
9b0780e284638e1774b9adec3d9131e428e508e3
8576d30e53a97695e1c18fcea16ea595b977f8d8
refs/heads/master
2021-03-05T15:19:00.762662
2020-04-18T02:56:46
2020-04-18T02:56:46
246,130,223
0
2
null
null
null
null
UTF-8
Python
false
false
5,319
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TestStatus.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Test(object): def setupUi(self, MainWindow): ...
[ "noreply@github.com" ]
congnguyen53.noreply@github.com
277ead3ec5a5cbba60b9ea0253dfa9ef4caa72ba
b44d20c67f9acd5842a1b33245829df2c56477e9
/lesson07/vector.py
8eae1f01d2697bcf52e9ebbeab9fb907a0eec7d2
[]
no_license
yxdragon/python_study
c6f344b2ab0776e97a4527a21b7b78a39dabf7e0
0fdea17598c8d1338919aa66e61a6a0f507bdc83
refs/heads/master
2021-09-03T20:12:36.808985
2018-01-11T17:09:13
2018-01-11T17:09:13
113,181,903
1
0
null
null
null
null
UTF-8
Python
false
false
654
py
import numpy as np import matplotlib.pyplot as plt def vectordot(): v1 = np.array([3,0]) v2 = np.array([2,3]) print(np.dot(v1, v2)) def vectorcross(): v1 = np.array([3,0]) v2 = np.array([2,3]) print(np.cross(v2, v1)) def triarea(p1, p2, p3): v1 = np.array(p2)-np.array(p1) v2 = np.arra...
[ "imagepy@sina.com" ]
imagepy@sina.com
b58ca56d1b2430ff3129ed9bdc14dbf57d872bc1
11a57d6fb851762ef22248f4c0a83b2bf84734fa
/node_modules/app.js/node_modules/jsdom/node_modules/contextify/build/config.gypi
ae4f56bb1cc85e5f4c33269039cbfe72a4df7202
[ "Apache-2.0", "MIT" ]
permissive
diennguyen90/MongodbBlog
094ebef2eeb893c12219dfd97fa2d3f19d1081b8
e6b4c92871786ba8e119b8ebe3b593d58d162ccb
refs/heads/master
2020-05-21T13:16:12.473729
2015-04-07T10:20:10
2015-04-07T10:20:10
33,200,089
1
0
null
null
null
null
UTF-8
Python
false
false
3,200
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "diennguyen90@yahoo.com" ]
diennguyen90@yahoo.com
5557027ea330017c972d13f21cffde827f4eb448
2825bf6479e08dfead428ff9f29f28d5c23d953e
/24_2/24_11.py
304ba9bae57ecb98b831ca046b177afe5ea24486
[]
no_license
zedaster/ImaevIntensive
bc459187dace7946d8ad75a04e058748134aeac4
b91760fa23f25ce2d19778781f35416c177ab881
refs/heads/main
2023-06-22T00:24:47.039208
2021-07-20T10:40:54
2021-07-20T10:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
file = open('24-153.txt') line = file.readline().replace('\n', '') data = {} for i in range(2, len(line)): if line[i-2] == line[i-1]: symb = line[i] if symb not in data: data[symb] = 1 else: data[symb] += 1 print(data)
[ "serzh.kazantseff@gmail.com" ]
serzh.kazantseff@gmail.com
6158c49a8c266213f56fbcfaba232e8b7c064876
e386b999ffb35c267ce237faed9d9a5a444836aa
/import requests.py
45ac6df220e3e4e9d36eaba748c1dbff5ccf9981
[]
no_license
jgotting/test_requests
e7946d8741671d092499e164704a9f4d98e99ab5
c32c27c89e3356e21e93ff90f4be6aacebd2d942
refs/heads/main
2023-07-14T20:36:14.516938
2021-08-26T12:09:58
2021-08-26T12:09:58
397,298,573
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
import requests response = requests.get("https://jsonplaceholder.typicode.com/todos/2") print(response.status_code) res = (response.json()) # Transform JSON to a python dictionary print(res) print(type(res)) # Check the type for key in res: # Iterate through the Dict print(key, " --> ", res[key])
[ "johan@gotting.com" ]
johan@gotting.com
2e1f1061f771d1f7f74627ae140395e510728bee
6c721f3cfce6dc88396cd3b5f6a59d65a2ea5033
/some_learn/Data_Set_handle/Caltech-Dateset/param_copy/copy_param.py
3b86ec1b6b3778a1e258d9286b759fc6c22fe8a2
[ "MIT" ]
permissive
unicoe/PycharmProjects
20a3dabe88c7874da54451c7bb16999afc0eee35
23ff314eb5ac9bfa01a8278089d722b5d0061751
refs/heads/master
2020-03-23T09:16:25.907188
2019-12-21T03:10:49
2019-12-21T03:10:49
141,377,686
4
1
null
null
null
null
UTF-8
Python
false
false
673
py
# -*- coding: utf-8 -*- # @Time : 19-3-4 下午8:31 # @Author : unicoe # @Email : unicoe@163.com # @File : copy_param.py # @Software: PyCharm source_ls = [] target_ls = [] for source_i in open("/home/user/PycharmProjects/some_learn/Data_Set_handle/Caltech-Dateset/param_copy/source.txt"): source_ls.append(sou...
[ "unicoe@163.com" ]
unicoe@163.com
10dd7a08250f2c7156f886c74ef886a92bf41c9b
5419d8d02a7fdec15f542498840d19af939fa130
/LeetCode_June_Challenge/Day_2_Delete_Node_in_a_Linked_List.py
06bd7812d8148323ec6c59a2a6fd2cd9fb5c8a74
[]
no_license
foolchauhan/DataStructureAndAlgorithms
3cf1d4927b6b11592789cb8d1a6800c9de4822e2
d53281a724a8b58ccc67ebe8c0e0af6c4ae63c4a
refs/heads/master
2022-10-10T08:29:14.461248
2020-06-10T16:18:36
2020-06-10T16:18:36
244,270,954
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
''' Delete Node in a Linked List Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = [4,5,1,9], which looks like following: Example 1: Input: head = [4,5,1,9], node = 5 Output: [4,1,9] Explanation: You are given the second node wit...
[ "chauhanchetan82@gmail.com" ]
chauhanchetan82@gmail.com
bcf8cc6ce6fe953c3fafda864ffdde4f0dc32dae
3b384fd6e34c8df6514a7c22349cb7ba997b2aa8
/prendi.py
97fd4762347ef249a0cd611003a1eff9f9aff0b6
[]
no_license
raspberryveronica/termostato
e428dc819b3ab136a576ee4a61ee8298c64b555d
85ca7b330d94a7d28416c653a112fa7e3d2a50b8
refs/heads/master
2020-03-28T01:23:19.253860
2018-09-05T10:35:06
2018-09-05T10:35:06
146,267,582
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
#!/usr/bin/env python import MySQLdb db = MySQLdb.connect("localhost", "monitor", "password", "temps") curs=db.cursor() #curs.execute ("SELECT * FROM tempdat") curs.execute ("SELECT * FROM tempdat ORDER BY tdate DESC, ttime DESC LIMIT 1") print "\nDate Time Zone Temperature Termostato" print "===========...
[ "vsmacchia@dg.gostec.it" ]
vsmacchia@dg.gostec.it
bd3157a476e2b4f85fd51c0484bf86d06c75c84f
0a1ed4a884ebc5789a2e6513eba7ee5f1eeb1f6d
/nuxeo-tools-hooks/nxtools/hooks/tests/webhooks/github_handlers/test_push_notify_mail.py
bb316a21543c01c967530c4db9c4a0e0f90fcba6
[ "Apache-2.0" ]
permissive
pombredanne/nuxeo-tools-hooks
0ea4d447d7fa4e61850a35c5d703d9495985cb0f
9f96f91a28c1e42da9e4786efbad1c294a3d0c57
refs/heads/master
2021-01-18T12:48:44.534835
2016-07-21T14:05:33
2016-07-21T14:05:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,633
py
# -*- coding: utf-8 -*- """ (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and contributors. 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...
[ "pgmillon@nuxeo.com" ]
pgmillon@nuxeo.com
072e2c0969f1deda38a2d236caa3579400bd9720
32d1578c73b8aaf1fa4efe85e6645bf7fd0c13fc
/_WIP/circleDetect.py
21af9cac11da35357c5119a8dac91dd7b7ca517f
[]
no_license
arelroche/AutoCheckers
25a6bd8e290a0d4a56f09692608c879a0c110c65
042d428eb8107af7918a6d3fe7a15695c06ebb11
refs/heads/master
2016-08-12T04:02:06.433157
2016-04-07T22:12:00
2016-04-07T22:12:00
50,674,520
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
import cv2 import numpy as np #CvCapture * camera = cvCaptureFromCAM(CV_CAP_ANY) #camera = cv2.CaptureFromCAM(CV_CAP_ANY) #cvSetCaptureProperty(camera, CV_CAP_PROP_FRAME_WIDTH, 1920) # width of viewport of camera #cvSetCaptureProperty(camera, CV_CAP_PROP_FRAME_HEIGHT, 1080) # height of ... #img = cv2.QueryFrame(cam...
[ "ashisghosh@live.com" ]
ashisghosh@live.com
74798b159143bc4185b94ec639cc3f2139af5665
d8c4f1c25cc3d574b730abf11d7276af71378445
/main.py
cf70cc72c2157591bde6ea955863ac97f669db54
[]
no_license
TeppeiIwaoka/myPortfolio
72f91127b4925864c1bd9de9ddd286bb89926154
4528002974cdb373a99344da1f6fe8971b322e59
refs/heads/master
2023-03-06T15:57:09.093496
2021-02-20T06:43:21
2021-02-20T06:43:21
340,577,867
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
from flask import Flask, render_template, redirect, url_for, flash from flask_bootstrap import Bootstrap import pandas as pd from portfolio import Portfolio app = Flask(__name__) app.config['SECRET_KEY'] = '8BYkEfBA6O6donzWlSihBXox7C0sKR6b' Bootstrap(app) portfolio_list = [] portfolio_df = pd.read_csv("data.csv") for...
[ "tep731kaizi@gmail.com" ]
tep731kaizi@gmail.com
ba8731a70c64645bc17fa5ba6a5c3c163d06baf6
6daa8327721172d133c95535037ba6105265f74a
/other chapters/reverselist.py
db91792734539abb100a8ee53198062a72d03851
[]
no_license
shaheershantk/Anand-Python
9f4a9a226caada1e9e180131d19c02f88571b059
d522b386fbe3ca5ddef6150f2b67a05f4a8adb79
refs/heads/master
2019-03-13T20:17:26.750850
2014-11-10T15:17:19
2014-11-10T15:17:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
a='apple' if a in 'applearrsnncx': print True else: print False
[ "shaheer.shan@gmail.com" ]
shaheer.shan@gmail.com
1d0d9f547edc97c5d5bdfdb642f35d61dfa39938
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/web/v20210115/static_site_user_provided_function_app_for_static_site.py
c88e320226209cca78deb66fd5230b802c3d0415
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,672
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
f36b7b0cab0b8035a993b971e4007ba116125864
25418d09c0355c4f4536b87614f09c2d81c14ffc
/snake.py
c1c5a617b54b24f2936dc16e19c8f879d588a41f
[]
no_license
yufangwen/snake
b34da9ceb8b94074e9fd44d2b5cb35489474dfb8
04ec4ee692f412b836ddc6d789ae63d115ea5534
refs/heads/master
2021-01-06T20:40:03.755631
2017-08-07T05:49:11
2017-08-07T05:49:11
99,540,787
0
0
null
null
null
null
UTF-8
Python
false
false
3,385
py
import random import select import sys import termios import time import tty current_milli_time = lambda: int(round(time.time() * 1000)) class Snake: def __init__(self): self.body = [(5, 5), (6, 5), (7, 5)] # tail to head self.direction = 'right' def setdir(self, direction): # cannot turn bac...
[ "yynyygy@gmail.com" ]
yynyygy@gmail.com
34b7687e7ffa5870bb2abf402f4245d6f5a00b60
0636aa9b74672a522d56fa7d3985f6958062caa7
/Solutions/Euler Prob 9.py
4ff18fd8d7f6848257721e0ea04d5440500a0904
[]
no_license
LeonidasRex/Project_Euler
34ad4bcfc123ae3da21589bb42f18f7c86f9dcf7
010faf852db5254661cb16faf0766a8e3b5c93ab
refs/heads/master
2020-08-06T01:59:26.139374
2013-06-05T16:52:05
2013-06-05T16:52:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
''' Project Euler Problem #9: A Pythagorean triplet is a set of three natural numbers, a b c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc. ''' for a in range(1,1001): for b in range(1,1001): ...
[ "stilessc@gmail.com" ]
stilessc@gmail.com
28d108589b0bccabf7c29553384b607a5d6be272
358145111dcc031668e1b3ed9c3b2e0ca874c58a
/复习_python/ProxyPool/run.py
7120f9ec38c6d1fc5863186ca1ebf4dab09e074f
[]
no_license
leibushi/venv_test
63179ed4085bf39719380b225ec99b53cbc36529
2461b0e09726c473b825bad74ba69e5f39ae3404
refs/heads/master
2023-04-08T04:29:51.927671
2021-04-16T09:54:29
2021-04-16T09:54:29
256,421,826
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
# -*- coding: utf-8 -*- # @Time : 2021/3/9 14:52 # @Author : Mqz # @FileName: run.py from proxypool.scheduler import Scheduler import argparse parser = argparse.ArgumentParser(description="ProxyPool") parser.add_argument('--processor', type=str, help='processor to run') args = parser.parse_args() if __name__ == ...
[ "MeI17771982161" ]
MeI17771982161
b416966ec3aa7ac7d57149617c4caa3c750b3ad3
8f75acdcaa44b7b6e7fc614bc097dd5752daeeaf
/app/view.py
7b04a0a284bf73f2d0562b2a04f8a2f085386d9c
[ "MIT" ]
permissive
williamHuang5468/PuppyPicture
f4e97f315d936629239dddeca8219355f3e126d0
c869305f3e499292af2199bda5b6788854fd5732
refs/heads/master
2021-01-22T08:47:46.468871
2017-02-14T16:26:00
2017-02-14T16:26:00
81,920,048
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from app import app from flask import Flask, jsonify import sqlmodel @app.route("/<slug>") def get_puppy(slug): result = sqlmodel.read(slug) index, name, full, url = result name, url = name.strip(), url.strip() output ={ "name" : name, "image_url" : url, } return jsonify(output)...
[ "chobits5468@gmail.com" ]
chobits5468@gmail.com
d6ef8085f2bdcf5ee8a5ac5b1b7805d136bfe8e1
d07070b37eb23a89dd9d697f45a9508f3d5a6290
/app.py
564fcc19160e9c8c4b64e1abec76344dbbd29153
[]
no_license
klazarz/autonomousdata
123bf25dd83f446814607ee9e751129a2d59c1a5
453aced1a9989cf73a81b35c32a28dbd5b1e85c4
refs/heads/main
2023-08-23T14:31:18.081291
2021-10-08T21:00:41
2021-10-08T21:00:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
import socket from bs4 import BeautifulSoup import requests import login url ='https://www.dfb.de/3-liga/spieltagtabelle/?no_cache=1&spieledb_path=%2Fde%2Fcompetitions%2F3-liga%2Fseasons%2F2021-22%2Fmatchday%2Fcurrent' r = requests.get(url) soup = BeautifulSoup(r.content, "lxml") print(soup.prettify())
[ "kevin.lazarz@oracle.com" ]
kevin.lazarz@oracle.com
141f08f366c353ae4acbc123cb2b8bdca0494601
4ffa0ea3526482615da3e4f65d4018706d45e49d
/terraing/settings.py
409c903ed01b0001a20d061aa37b367ceb1eb8c5
[]
no_license
GisHel/pagina
d7afa6ec6d3fce4d5b3d188fba6e6df80a7ebe33
d3cb1b03f964ade59013c9345005a1ec826c4dc3
refs/heads/master
2021-01-15T20:13:14.089104
2015-03-25T18:06:46
2015-03-25T18:06:46
31,960,139
1
0
null
2015-03-10T13:53:42
2015-03-10T13:53:42
null
UTF-8
Python
false
false
2,253
py
""" Django settings for terraing project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) i...
[ "vandermicra@hotmail.com" ]
vandermicra@hotmail.com
560c4a9c0649fceddd4ad231faa46bda18a72dd5
407c3ee381ef44d36d6d82330b1e77fa16bf6122
/distance.py
23f1bec5e35590392c05799578d15bf72bbd8d2f
[]
no_license
AllenShielder1994/MyCode
d8abcf6492915a68d7fffe90d166104a0123aa1a
e01384bcc89e69506c0acf4c098b792dedafbc60
refs/heads/master
2021-03-25T19:52:52.988153
2020-03-20T04:46:14
2020-03-20T04:46:14
247,642,093
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
import numpy as np import cv2 from cv2 import cv2 import imutils #Green #lower = np.array([35,43,46]) #upper = np.array([77,255,255]) #RED #lower = np.array([156,43,46]) #upper = np.array([180,255,255]) #YELLOW #lower = np.array([26,43,46]) #upper = np.array([34,255,255]) #BLUE lower = np.array([78,43,46]) upper = n...
[ "AllenShielder1994@gmail" ]
AllenShielder1994@gmail
d1b24a7fefdf62d576205a051ce817d63fb5715b
3d4a813ed74451f99d28d5697511f797c600aa33
/cracking_coding/7_OOP/singleton.py
2fece46f6ef6be0d6e96335f6404c74bf3984529
[]
no_license
921kiyo/algorithms
6af48900c7479f8318df10169c22eee4bb229837
94d27453e5b6ab88f519c405fcb49fedbd12234c
refs/heads/master
2021-10-09T23:51:19.845248
2019-01-04T17:53:28
2019-01-04T17:53:28
76,173,936
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
class Singleton: def __init__(self, decorated): print("decorated ", decorated) self._decorated = decorated def instance(self): try: return self._instance except AttributeError: self._instance = self._decorated() print("self._decorated()", self...
[ "kk3317@vm-shell4.doc.ic.ac.uk" ]
kk3317@vm-shell4.doc.ic.ac.uk
477e0bd62704234c4b45393d26431dae1fb08ac0
af147e3493938eba7fbf2001aff7e56520b297e7
/LeetCode-Easy/Most Common Word.py
2cb06cce3932790a5bc77e83cfe4b5c4b1df20cb
[]
no_license
pranita-s/Python-codes
c4f8fa44a07e080953a646f5af9bbb4dd6dddefd
c2b3d19de222c6f7ae135f8c677902b7f7ea701b
refs/heads/master
2021-09-24T04:58:17.312686
2018-10-03T14:04:57
2018-10-03T14:04:57
109,510,407
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# TIME - O(m + n) # SPACE - O(m + n) import collections def mostCommonWord(paragraph, banned): lookup = set(banned) words = collections.Counter(word.strip("!?';.") for word in paragraph.lower().split()) result = '' for word in counts: if (not result or counts[word] > counts[result]) and \ ...
[ "noreply@github.com" ]
pranita-s.noreply@github.com
bf71fd4bc7905f9e95be2083dbfc243497e3a581
1433054bc2cd0d6f6f0010cfd5bc9536d64f7de0
/schedule/models.py
b6ad3998a9243cdda967a928528bbb8fbf6f0c62
[]
no_license
Pinaz993/SymposiumTimer
72b3a560394c6c1a327e22b89e37ffe2a6d91b49
c322a388d261c7b9aadd29ae464b21c635519341
refs/heads/master
2023-05-05T14:59:02.324198
2021-05-24T18:59:12
2021-05-24T18:59:12
357,275,692
0
0
null
2021-05-11T19:13:11
2021-04-12T17:06:25
Python
UTF-8
Python
false
false
2,015
py
from datetime import timedelta from django.db import models from django.utils.timezone import now class Program(models.Model): """ A model to represent a program of timers that all have a duration and a label. The program will have a name so that it can be selected in a drop down menu. """ name ...
[ "pinaz993@gmail.com" ]
pinaz993@gmail.com
70769fad60b605dbcb303dbc89427d8eccf77179
543e4a93fd94a1ebcadb7ba9bd8b1f3afd3a12b8
/maza/modules/creds/routers/technicolor/telnet_default_creds.py
980ff68f95cac218e0a1233c2b8c3486f099c9e9
[ "MIT" ]
permissive
ArturSpirin/maza
e3127f07b90034f08ff294cc4afcad239bb6a6c3
56ae6325c08bcedd22c57b9fe11b58f1b38314ca
refs/heads/master
2020-04-10T16:24:47.245172
2018-12-11T07:13:15
2018-12-11T07:13:15
161,144,181
2
0
null
null
null
null
UTF-8
Python
false
false
908
py
from maza.core.exploit import * from maza.modules.creds.generic.telnet_default import Exploit as TelnetDefault class Exploit(TelnetDefault): __info__ = { "name": "Technicolor Router Default Telnet Creds", "description": "Module performs dictionary attack against Technicolor Router Telnet service. ...
[ "a.spirin@hotmail.com" ]
a.spirin@hotmail.com
63a65db3990b1ce57f1e19b376c76051673b6a47
4958810ad94f12731e271ac930ee75046284c0a0
/ImageAI/digitclassifier.py
04851b74af25d990d1db1ccf541ecc102d45fff9
[]
no_license
tensorcoder/AI
366d8b188c994d2d1d57c0dad9de225a74fa5ada
84bc152b6e4d511e519495cc08f70427419b7c70
refs/heads/master
2021-01-25T07:54:30.295346
2017-07-18T18:32:02
2017-07-18T18:32:02
93,680,396
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf sess = tf.InteractiveSession() x = tf.placeholder(tf.float32, shape=[None, 784]) # not a specific value but a placeholder that we'll input when we ask TF to run a computati...
[ "m.kedziera@gmail.com" ]
m.kedziera@gmail.com
dac9d82403d8aeb3bb3a2476cb84c8b617198acd
ce558d70bb9e6a084f3c29c904a5b38ba4b9574c
/script/greg_model.py
2049316dfb17802df2900c6927ef4945a790b8ad
[]
no_license
lamsking/Intership
964b19dcd647d656d2a996a67410dbdd08ebf79b
20958153a6b615a9e411f45ac86256f0ded0679d
refs/heads/master
2022-07-06T23:58:41.153905
2020-05-18T15:09:52
2020-05-18T15:09:52
262,166,568
0
0
null
null
null
null
UTF-8
Python
false
false
9,318
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Dec 12 15:49:07 2019 @author: pam """ # -*- coding: utf-8 -*- import warnings warnings.filterwarnings("ignore") import os, cv2, random import numpy as np import pandas as pd #%pylab inline import matplotlib.pyplot as plt import matplotlib.image as mpim...
[ "oumaroulamine98@gmail.com" ]
oumaroulamine98@gmail.com
b45d434d1d89a5b013673fd130656faaaa82b14f
b1a68e09ba4a24518ce5ad715b7caf88e7428d56
/schema.py
b171243c3978583d4ae6367209a59375b818de7e
[]
no_license
BEaStia/sanic-graphql-pg
271160945f213775492210ef97f01a6f21472035
4280913399a3f320782823b5b925ff624ccb25c6
refs/heads/master
2021-01-23T22:57:48.525231
2017-09-09T11:10:36
2017-09-09T11:10:36
102,949,372
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
import graphene from graphene import relay from graphene_sqlalchemy import SQLAlchemyConnectionField, SQLAlchemyObjectType from models import User as UserModel from models import Entity as EntityModel class User(SQLAlchemyObjectType): class Meta: model = UserModel interfaces = (relay.Node, ) cla...
[ "gophan1992@gmail.com" ]
gophan1992@gmail.com
0f5a13ac6079eefa1bb891e6945ac036114eebc9
95f585b11475132c5f7b74a48a9bf08dc939af5a
/blog/migrations/0005_remove_blog_read_num.py
493790a7e730c9d5d09100cafa3f569a6f1bc63f
[]
no_license
yuyukunn/myblog
4c0814c33934b8570e8855f9ea2368eaa51780d9
987383042f587fac4f1ef40adf51e681378006ba
refs/heads/master
2023-01-10T22:16:08.651579
2019-09-28T09:19:44
2019-09-28T09:19:44
209,440,941
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# Generated by Django 2.2.4 on 2019-08-29 06:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0004_blog_read_num'), ] operations = [ migrations.RemoveField( model_name='blog', name='read_num', ), ]
[ "983249451@qq.com" ]
983249451@qq.com
2fa5e37d3c202e2ae621b5537919c525b196bbe7
663a91c519ec83a452fc09e9a03a0486c4439110
/app/blueprints/base/encryption.py
fc4b10b302274a53d45cb886d6ca67d3f32bfc28
[]
no_license
carthach/schedulr
b6ba695c77f71d71e3ebf9ce8b9efae3afff6b31
e8b933bcfbc4f307d0c37b5eb9f9267cc8ae51e3
refs/heads/main
2023-03-22T16:52:35.845345
2021-03-11T06:12:25
2021-03-11T06:12:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import os from simplecrypt import encrypt, decrypt def encrypt_string(plaintext): key = os.environ.get('SECRET_KEY') ciphertext = encrypt(key, plaintext) return ciphertext def decrypt_string(cipher): key = os.environ.get('SECRET_KEY') plaintext = decrypt(key, cipher).decode('utf-8') return p...
[ "rickycharpentier@gmail.com" ]
rickycharpentier@gmail.com
fda80d7c7873e181ef37a8d5bc9b6fcbf3cde78f
9a7964447d05e98dfc6ec1f2266fd87d3f9f0075
/app/api_1_0/authentication.py
88697043e2ac151688b1afc2c51952eba5f8595b
[ "MIT" ]
permissive
thisisshrocit/ztool-backhend
2932d779eee8b509bf42a1c81f06640dba869d26
65c9f700d245ac434ca22d5aee052a302beeb502
refs/heads/master
2021-01-19T09:55:51.429940
2017-02-16T07:35:14
2017-02-16T07:35:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
from flask import g, jsonify, request from flask_httpauth import HTTPBasicAuth from ..models import User, AnonymousUser from . import api_1_0 from .errors import unauthorized from .constant import login_required_list auth = HTTPBasicAuth() @auth.verify_password def verify_password(email_or_token, password): if e...
[ "me@jack003.com" ]
me@jack003.com
7dc4f5c7179d89692de7be2c86522194de1cfa3e
e6fef51adfce8cbf70fe1b54bfb71a5bc1b4b4d3
/django/loginRegistration/loginRegistration/settings.py
57efaf0fa2fc9552b34f8a882e85ef2a1fc60ca8
[]
no_license
py1-10-2017/nathan-m-python1
dee4e3ecc4b079929a5da63104507f099271a0de
73bef2f826422158d0838a141e2e4b59cdf83880
refs/heads/master
2021-09-10T15:42:34.264552
2018-03-28T14:16:50
2018-03-28T14:16:50
106,894,965
0
2
null
null
null
null
UTF-8
Python
false
false
3,159
py
""" Django settings for loginRegistration project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
[ "nortmahoney@gmail.com" ]
nortmahoney@gmail.com
88b87e552ef1adfbb60c80914b314490c65cb183
2b0c08a1b217bedc53b8b67c15a94205f261b3fa
/03_ML/m10_pipeline_gridSearch1_iris.py
1742d10c9e8ea8afb946ad998d488bcc54f29e1f
[]
no_license
kimsoosoo0928/BITCAPM_AI_CLASS
385d1db23a9efebe90b68c9b6595067ff1869b76
e9d093fbb00fdc5b1f0e85f5d6c31fd23d94e366
refs/heads/main
2023-07-18T23:49:02.197472
2021-08-30T06:51:43
2021-08-30T06:51:43
399,345,983
1
1
null
null
null
null
UTF-8
Python
false
false
3,944
py
from sklearn.datasets import load_diabetes, load_iris from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import KFold, cross_val_score, GridSearchCV, train_test_split, RandomizedSearchCV import warnings warnings.filterwarnings('ignore') from sklearn.metrics import accuracy_score import tim...
[ "kimsoosoo0928@gmail.com" ]
kimsoosoo0928@gmail.com
93b651e8c698f4f1d5aa832c177c67a6a41cf433
e02ed92f564da0421a124359fad87c467c25d07e
/Part 1 Exercise 9.1.py
6aab72f150db6489e21c47b4f0504598f3d066c3
[]
no_license
ZandbergenM/Homework-week-5_Zandbergen
a5565e23bb44da71d62501166c855be714bf5b9d
5bb6906cd4be1ac121c788ca39b8e833ef6cb7b9
refs/heads/main
2022-12-29T20:02:59.201154
2020-10-18T08:32:53
2020-10-18T08:32:53
305,056,348
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/env python # coding: utf-8 # In[7]: #9.1Write a program that reads words.txt and prints only the words with more than 20 characters fin = open('words.txt') def read(x): for line in fin: word = line.strip() if len(word)>20: print(word) read(fin) # In[6]: pwd ...
[ "noreply@github.com" ]
ZandbergenM.noreply@github.com
8959da063f764c002ae65ed049748b6291ec43db
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_gooks.py
8a2800a5ed0d45d1b6901685ac2ed2ea326ccdf2
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#calss header class _GOOKS(): def __init__(self,): self.name = "GOOKS" self.definitions = gook self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['gook']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
85939232ef344819edd0a6ebae7850091ec28d47
aaae9c5b3be233b8953b457977cd5d82e4d9ef12
/contrail-analyticsdb/hooks/contrail_analyticsdb_hooks.py
380f871ea4f8d5b309c44ac83d382bea0e2e032d
[ "Apache-2.0" ]
permissive
mfmsilva/tf-charms
2b615db17c080165f343b5f2f0000c8c28f38794
b0d0283c07740338919d845d47911ecf1496039d
refs/heads/master
2022-07-03T19:50:24.915057
2020-05-11T17:27:47
2020-05-11T18:55:00
263,873,681
0
0
null
2020-05-14T09:38:18
2020-05-14T09:38:18
null
UTF-8
Python
false
false
4,571
py
#!/usr/bin/env python3 import sys from charmhelpers.core.hookenv import ( Hooks, UnregisteredHookError, config, log, relation_get, related_units, relation_ids, status_set, relation_set, ) import contrail_analyticsdb_utils as utils import common_utils import docker_utils hooks = ...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
217bc5d3a299667d66483f2cb5c9a3aff2b7f119
ae4969954630c3684f795cfa316537fee8b92386
/splicing_outlier_calling/pre_process.py
de9a5a6eb1fffaf81e6880c1cd8c90ab7ee96387
[]
no_license
BennyStrobes/process_rv_data
d84f024e695c52b1652daf38ee7704c98d5a13b7
32c49470e45f80701ddaea3dba94e9c34cb52005
refs/heads/master
2021-05-02T11:23:25.031244
2018-03-13T13:44:39
2018-03-13T13:44:39
120,776,459
0
0
null
null
null
null
UTF-8
Python
false
false
6,425
py
import numpy as np import os import sys import pdb ##Get list of tuples. Where tuple[0] is GTEx tissue name conventional string and tuple[1] is the string of the tissue name that appears ##in sample_attribute_file def get_tissue_pairs(tissue_list_input_file): f = open(tissue_list_input_file) tissue_pairs = []...
[ "bstrober3@gmail.com" ]
bstrober3@gmail.com
76a39b53458953ae5c942270504cbf79b9007c50
f70b2ca7e639423ac47097b5a304b31bc8e75ddd
/hbmqtt/__init__.py
6e4ee646c237735f3848b1d90e87274351a9f105
[ "MIT" ]
permissive
gitter-badger/hbmqtt
1bfc0d6b6501acad9595084b916ef223e798dd99
79d07685663a9342f2096487ef682af700b05047
refs/heads/develop
2021-01-24T16:02:50.494238
2015-06-30T12:31:19
2015-06-30T12:31:19
38,318,868
0
0
null
2015-06-30T15:58:00
2015-06-30T15:57:59
null
UTF-8
Python
false
false
123
py
# Copyright (c) 2015 Nicolas JOUANIN # # See the file license.txt for copying permission. VERSION = (0, 2, 0, 'alpha', 0)
[ "nico@beerfactory.org" ]
nico@beerfactory.org
84b24c633b70c909cbcb33987e50db04839f9c23
5a9e78250f7372ef2e19958c06978985a4d21359
/BasicApp/views.py
000632b9ee2eded3f338221c174d7d12eb60f625
[]
no_license
KaptejnSzyma/ClassBasedViews
500c8f105965595404de30649cdc20e2f382b697
727f6d24af44795fbb70aed0e82232ff41f3ab6d
refs/heads/master
2020-03-29T13:30:41.687487
2018-09-27T16:10:44
2018-09-27T16:10:44
149,966,960
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
from django.shortcuts import render from django.views.generic import (View, TemplateView, ListView, DetailView, CreateView, UpdateView, DeleteView) from . import models from django.core.urlresolvers import reverse_lazy...
[ "szymon.rzadca@gmail.com" ]
szymon.rzadca@gmail.com
e1a376b6b17541bc109543e9c46855bb10132c87
b2f3a076bb2640f227340cabc5d641ce39632c73
/Week 1/arg.py
46532d860469b5c283e7d6cac150626f25c4540e
[]
no_license
rosmoke/DCU-YEAR2
6694568a48265a7e1d46f20d315753705827d233
a99ee6c3f1090838ac60c6bb9252bbc194181535
refs/heads/master
2021-05-04T06:34:12.791397
2016-10-10T12:43:51
2016-10-10T12:43:51
70,486,522
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
import sys d = sys.argv[1] print(d)
[ "danielasofiei@yahoo.ie" ]
danielasofiei@yahoo.ie
51f4e9020500cd42b9cbb0a6524ddeadd2fbbc9e
0f8b56ae8147577afe811f4e6f1c0c3f263c7eb2
/src/fc_convert.py
689e6af4a64c9cea5389efebc5215b805c6b4118
[]
no_license
JiangQH/Hypercolumns-Based-Surface-Normal-Recovery
ee6ba295e292d8f9ee6660874e56a7c85fa4e987
db8a116b64982e902eda292aa1a6a6016fea7f17
refs/heads/master
2021-06-14T17:45:55.245742
2017-01-15T03:18:34
2017-01-15T03:18:34
55,966,961
1
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
import caffe # load the vgg net vgg_16 = caffe.Net('../model/vgg_16/VGG_16_deploy.prototxt', '../model/vgg_16/VGG_ILSVRC_16_layers.caffemodel', caffe.TEST) params = ['fc6', 'fc7', 'fc8'] fc_params = {pr: (vgg_16.params[pr][0].data, vgg_16.params[pr][1].data) for pr in params} for f...
[ "qinhongjiang@zju.edu.cn" ]
qinhongjiang@zju.edu.cn
ab42f22a4e3e9f7ce0b09850827ba7ff92854944
b8a77ee310e5a8710706ec940ad50d158c053907
/1/1.18.2xinghao.py
9d1e51895beb2eb0625e99a374ba01ff6a92d5df
[]
no_license
black-star32/cookbook
526308f28aa960a5a2b99ea9a32aff1f1b151430
5e9f69f35258084224621d23d5826ab04268b547
refs/heads/master
2020-04-29T20:55:45.593173
2019-05-05T03:05:29
2019-05-05T03:05:29
176,397,405
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
# python中 * 的用法 # 1.表示乘号 # 2.表示倍数,例如: def T(msg, time=1): print((msg + ' ') * time) T('hi', 3) # 单个 * # (1)、如:*parameter是用来接受任意多个参数并将其放在一个元组中。 def demo(*p): print(p) demo(1, 2, 3) # (2)、函数在调用多个参数时,在列表、元组、集合、字典及其他可迭代对象作为实参,并在前面加 * # 如 *(1,2,3)解释器将自动进行解包然后传递给多个单变量参数(参数个数要对应相等)。 def d(a, b, c): print...
[ "453431821@qq.com" ]
453431821@qq.com
46ae371434b34ec1f03902283881e48c229e0ae6
7be056eb23515c8bd42769fe5d5c365dc16d9a76
/Crear_archivo.py
8facf7d97cc31cd5ca9e4d4fc0ccf96324482f6e
[]
no_license
ZayBit/Python-Crear-archivos-simple-proyecto
c31feda203c5dbe4d4dc796157362b077a5c8c6f
e571feebb2a80a4f15694b2ed18cf8901f74d298
refs/heads/master
2020-07-10T10:48:20.026118
2019-08-25T04:18:21
2019-08-25T04:18:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
# Import de os para limpiar la consola con os.system("cls") import os # Funcion de para crear un nuevo archivo def createFile(): # Nombre del archivo print ("Nombre del archivo") nameFile = input() # Añadir una extension al archivo que se creara print ("Nombre de la extension (Ej: txt,py,etc)") ...
[ "frank_dcoder@hotmail.com" ]
frank_dcoder@hotmail.com
55f5b5e050101220dc734e5ca00dfb61aff7bfc2
615e3cdc2c136b2f66b5c553d375823d3580fd08
/mundo3/venv/Scripts/pip3.7-script.py
5fbeae62b9543b82408d1ca1050366d630a6c596
[]
no_license
Android-Ale/PracticePython
859a084e224cfb52eed573e38d7d9dc91f405885
cab2ac7593deb22e6bb05a95ecd19a8ea2c96b0a
refs/heads/master
2023-05-06T06:33:36.724569
2021-05-15T00:12:06
2021-05-15T00:12:06
369,307,842
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!C:\Users\Alpha\PycharmProjects\mundo3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "alesson9silva@gmail.com" ]
alesson9silva@gmail.com
fd7ea4054b2620b7833e02dfd04cbf0b396aa44b
05a10473091d29db159b3345cfc5bbba52bc7c51
/ex9.py
79e599473fdd5b24b5ea88052bde104547e3661e
[]
no_license
willfu3/Han-Academy-Coding-Class
5b523415ae2a8be62075e1f3ea7b6cb2f588b33b
c35f271093f1596e8c536587780cf4fee0066a8e
refs/heads/master
2021-07-09T18:42:19.325588
2017-10-08T20:13:19
2017-10-08T20:13:19
106,207,369
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import random number = random.randint(1, 100) tries = 0; prevguess = -1; while True: stringguess = raw_input("guess: ") guess = int (stringguess) if not guess == prevguess: tries += 1 prevguess = guess if guess < number: print("too low") elif guess > number: print("too high") else: print("correct") ...
[ "ziranfu@Zirans-MacBook-Pro.local" ]
ziranfu@Zirans-MacBook-Pro.local
0801b46b6440f1ad1ff3e824b86706f1c12303a5
1d7a2ac35ace0ace728e70a849da7abb4a76f18d
/Escalones/prueba_csv.py
8e1a1d99c1ac3875158c31e892c56b33db15ff08
[]
no_license
Jeisongarcia9713/Control_Robot
df7d740e266e86093b03b40c24fc938346c34e7c
920a846f3b9d41e388f003b0e4139e2c550d0231
refs/heads/master
2021-04-15T20:00:31.877773
2020-04-23T19:52:11
2020-04-23T19:52:11
249,295,556
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
import pandas as pd import csv import numpy as np import matplotlib import matplotlib.pyplot as plt datos=pd.read_csv('VelocidadAngular4.txt',header=0) tiempo=datos['t'] VL=datos['i1']/60 VR=datos['i2']/60 motor1=datos['i3']/60 motor2=datos['i4']/60 motor3=datos['i5']/60 motor4=datos['i6']/60 W=datos['i7'] Angulo=da...
[ "jegarciat@correo.udistrital.edu.co" ]
jegarciat@correo.udistrital.edu.co
74c693c36ec36c9029d22123a40817590f16a51c
80e5090a2dda10d982c58224e43575942bfe82d8
/python/py_exception_assertion/challenge/1/exception_assertion_challenge.py
07ed844dd7cb861e13c14b2934cbe522017e0c89
[]
no_license
cskamil/PcExParser
3c2035f064a0f4e117695c2b848c87a9b4e4421a
688638f6c3fa3d31c4f8be6391147d773e1aa9dd
refs/heads/master
2023-05-01T10:45:33.725819
2023-02-16T03:19:09
2023-02-16T03:19:09
94,392,330
1
0
null
2022-11-16T00:39:30
2017-06-15T02:42:19
Java
UTF-8
Python
false
false
2,924
py
''' @goalDescription(Construct a program that takes in a decimal larger than 1.0, and prints whether it is divisible by 0.5. There should be try-except blocks and assertion statements to handle the situation where the entry is not a valid decimal, or it is not greater than 1.0.) @name(Raising Exceptions With Assertions...
[ "cskamil@gmail.com" ]
cskamil@gmail.com
b7d77c8289d285f822abfe65c4847f4f4158ea64
670c844e5cfa1cdf11212cc53972ecd8f7a25949
/python/test/test_OneThreeTwoPattern.py
cda75bb9a052a48f244aadd31e9bb0165a6d143e
[]
no_license
IamConstantine/LeetCodeFiddle
74d580a0741e40397f1283beadd023f9b9323abd
5ec509505a394d53517fb005bbeb36745f06596a
refs/heads/master
2022-05-31T05:25:14.273605
2022-05-23T02:46:47
2022-05-23T02:46:47
100,910,327
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from unittest import TestCase from OneThreeTwoPattern import find132pattern class Test(TestCase): def test_find132pattern(self): self.assertEqual(False, find132pattern([1, 2, 3, 4])) self.assertEqual(True, find132pattern([3, 1, 4, 2]))
[ "vishalskumar12@gmail.com" ]
vishalskumar12@gmail.com
6b7abd96ecbb7cfa29b2fcac04282fd635e11d40
09d79c3509252cfccac35bb28de9a0379094823a
/alx/manage.py
e8d4eb94d3bf60dfc0acba8fd7b49a23dc8ee099
[]
no_license
marianwitkowski/python2311
73ad491016cd6d0010d0203db43aca2c6debe0ad
9bbeca3fb6d8658a1321ab099ff2102cd7de76e0
refs/heads/master
2023-01-22T13:13:56.695680
2020-12-02T14:58:15
2020-12-02T14:58:15
315,350,865
0
1
null
null
null
null
UTF-8
Python
false
false
659
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', 'alx.settings') try: from django.core.management import execute_from_command_line except ImportEr...
[ "marian.witkowski@gmail.com" ]
marian.witkowski@gmail.com
f4d5d09bdb229613906bbbbc629c5eada724940f
ee824fa57eafa8cf54320203da22e70952acf395
/estoque/urls.py
a8fa56f51d4d5083214e158823c70b43c089ea5c
[]
no_license
luizrenatolr/CadastroCompraProdutoDjango
a9e7cbb0b316bad6e50008edbaf2302f5706d2ad
792dc05836eeb732502a18a7441e3a6c66899772
refs/heads/master
2020-03-22T13:32:08.218353
2018-07-07T20:41:03
2018-07-07T20:41:03
140,114,578
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('login/', views.login_view, name='login'), path('lista-compra/', views.listar_compras, name='lista_compra'), path('realizar-compra/', views.realizar_compra, name='realizar_compra'), path('logout/', vi...
[ "" ]
101e407c7acc1dbde95edb4fb5860bcf6001cbf0
a508ffe0942f75721d4623fcda9e57808f93f07d
/7a/main.py
580734f6da382e661e5d68fb833a9142dc259c32
[]
no_license
ag8/magic
3a14a81f3c06fa67cd77de07045ee3dc3899ca7f
2768fc7490e6cc55b522be68926ad24d3caa939c
refs/heads/master
2021-01-22T06:49:29.561849
2017-10-30T23:34:57
2017-10-30T23:34:57
102,300,107
0
0
null
null
null
null
UTF-8
Python
false
false
5,170
py
import sys import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import overlap_input from constants import FLAGS from vae import VariationalAutoencoder # Load MNIST data in a format suited for tensorflow. # The script input_data is available under this URL: # https://raw.githubusercontent.com/...
[ "andrew2000g@gmail.com" ]
andrew2000g@gmail.com
de708aaa979599b2d6db0a5f4f2aae32ec9ee164
f21ce1669b00d80e8d064363342bafe6cc2bca71
/personal_website/authuser/models.py
3351f461005ff3e61aa8a39ff00b51dc4986ff0a
[]
no_license
sandipan898/personal-website
760a87b42373c0098d67dd3bedb96bac16147e38
62ae9dc2be63f9b7d4297596dcffa329e2d9b961
refs/heads/main
2023-06-30T03:03:42.374597
2021-07-31T21:31:41
2021-07-31T21:31:41
328,332,461
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from django.contrib.auth.models import User # Create your models here. class UserProfile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, null=True, blank=True) bio = mod...
[ "sandipan.das898@gmail.com" ]
sandipan.das898@gmail.com
5c31db258bef00591c87b00f77fd2d40fa916811
54c8a1c0cb93794cfc1afe1937f50b81345bec0f
/home_page.py
a3ac5319ac75c66cc7ded60d225d78d55bf8f396
[]
no_license
lalitv19/Stock-Prediction-Analysis
5ed2e9200a331b9b5d66b85532b5970fea3b5e63
a79bc9526468f7c2fdb8b2ac06874da19af06338
refs/heads/master
2022-04-25T09:24:16.493313
2020-04-26T22:03:11
2020-04-26T22:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,282
py
#Please import all the packages by pip install import pandas_datareader as web import pandas as pd import numpy as np import datetime as dt from datetime import timedelta import calendar import pandas_market_calendars as mcal import descriptive_analytics as da import predictive_analytics as pa import candle...
[ "noreply@github.com" ]
lalitv19.noreply@github.com
9e21a9283b6e462755a39d4174705ef6d4380d1b
2827d7a837eb29c3cb07793ab6d3d5a753e18669
/alipay/aop/api/request/AlipayCommerceLotteryPresentlistQueryRequest.py
3ed44f8e695e01f038dcf08768a6e8f476ae06b2
[ "Apache-2.0" ]
permissive
shaobenbin/alipay-sdk-python
22e809b8f5096bec57d2bb25414f64bdc87fa8b3
5232ad74dff2e8a6e0e7646ab3318feefa07a37d
refs/heads/master
2020-03-21T04:51:39.935692
2018-06-21T07:03:31
2018-06-21T07:03:31
138,131,022
0
0
null
2018-06-21T06:50:24
2018-06-21T06:50:24
null
UTF-8
Python
false
false
4,021
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayCommerceLotteryPresentlistQueryModel import AlipayCommerceLotteryPresentlistQueryModel class AlipayCommerceLotteryPresentlistQ...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
31f76246510b89268fc4b16de3d456aac7978a02
3fd82399f9498d9dc03aa3bb76c4526754da5c54
/ijik/monitor.py
df0ba8a7b9e9ad3e5155bd7fe1f6bdfa176f773b
[]
no_license
teknologiakerho/ijik2
ac722190d569700776913920a6fd051836ac6cb9
8f22b544fb86c5661c31c7c93b6dd6c73e0f8b32
refs/heads/master
2023-03-04T00:43:13.809848
2021-02-01T03:59:07
2021-02-01T03:59:07
330,416,868
0
0
null
null
null
null
UTF-8
Python
false
false
7,527
py
import collections import csv import functools import html import io import re import fastapi import ijik class Hooks: @ijik.hookspec def ijik_monitor_setup(monitor, router): pass class Monitor: table_template = "monitor/table.html" main_template = "monitor/index.html" field_template =...
[ "tl@cat.pm" ]
tl@cat.pm
73cee0f13c58dcf564d63b0a94b91ed9059b482b
75262e26d53201a2f142fa333e96f6325289843c
/mattstuff/modomics_csv_tool.py
f651e404e8ea0dafb81c1cfa7293bdf814807a22
[]
no_license
ModSquad2020/SD_Matt
4ec705aa41c2250d021fc624a66ac3cd6d1e25c0
56da68fcbd095c3dbf5db3d94d22abf94cfe6e0b
refs/heads/main
2023-03-14T01:06:46.617478
2021-03-03T04:16:57
2021-03-03T04:16:57
305,460,805
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
''' Looks like we want the 5th column and the format wack as heck. I downloaded E.Coli tRNAs, visualized as Modomics Symbols, and it looks like they have a pattern of name-of mod[show modidication pathway]\');return false"> in front of every modification.Potentail use for regular expressions. lowercase|num...
[ "matt.kozu@gmail.com" ]
matt.kozu@gmail.com
553186729974dfaff8398beaca45f2845bf8da60
c234b8c3bfe8cca26a61118a46acbd6dffdef837
/python assignment11/Module4/Question-06/flatter_list.py
72c8294ddad39bb5f88426e1b3798a64567f47fb
[]
no_license
SejalChourasia/python-assignment
6dbd702e340518b0aac094fdee9c3fecfdcb1e48
702fe6b3cba740cd00dbe7b1c78bb9992e77a0d7
refs/heads/master
2020-12-15T11:04:37.367463
2020-01-25T15:49:48
2020-01-25T15:49:48
235,083,900
1
0
null
null
null
null
UTF-8
Python
false
false
265
py
l=[[int(i) for i in range(10)]for j in range(10)] print('Unflattened list',l) flatten=[i for sublist in l for i in sublist if i<5] ''' for sublist in l: for i in sublist: flatten.append(i) ''' print('flattened list with less than 5 ',flatten)
[ "noreply@github.com" ]
SejalChourasia.noreply@github.com
6d8afbb844d2e9fdb38b4fce51cb1183de14c6ab
3f4f2bb867bf46818802c87f2f321a593f68aa90
/smile/bin/activate-global-python-argcomplete
21a6f61e1ff6b53be2b7b307e4aa76a46c62d189
[]
no_license
bopopescu/Dentist
56f5d3af4dc7464544fbfc73773c7f21a825212d
0122a91c1f0d3d9da125234a8758dea802cd38f0
refs/heads/master
2022-11-23T12:42:23.434740
2016-09-19T15:42:36
2016-09-19T15:42:36
282,608,405
0
0
null
2020-07-26T08:30:16
2020-07-26T08:30:16
null
UTF-8
Python
false
false
3,256
#!/SHARED-THINGS/ONGOING/We.smile/smile/bin/python # PYTHON_ARGCOMPLETE_OK # Copyright 2012-2013, Andrey Kislyuk and argcomplete contributors. # Licensed under the Apache License. See https://github.com/kislyuk/argcomplete for more info. ''' Activate the generic bash-completion script for the argcomplete module. ''' ...
[ "jamaalaraheem@gmail.com" ]
jamaalaraheem@gmail.com
e39b536d7f60bf324bc7edab967e0ce81795eeaa
aee61ceed0cffd9aa8048ae1ae65277c91c078a8
/create_ec2.py
f7b5ec159c8a2d44edb0a56037a2bb7b7d206c3d
[]
no_license
narayanareddy641/aws_programs
fd87565e9a78223d9d33e5b6a742cf6309ce4170
216caf736574074316bca9e17ce82ac615b6b3e9
refs/heads/master
2021-01-05T19:15:57.921442
2020-02-17T14:19:22
2020-02-17T14:19:22
241,112,901
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import boto3 ec2 = boto3.resource('ec2') # create a new EC2 instance instances = ec2.create_instances( ImageId='ami-09a4a9ce71ff3f20b', MinCount=1, MaxCount=1, InstanceType='t2.micro', KeyName='reddy-key' ) print(instances)
[ "noreply@github.com" ]
narayanareddy641.noreply@github.com
dcad98b8060b86ce63c094f703ef2726a6debf3a
c0b310a0b8037f92ac431cd694168ea847f8fe09
/fetchingNewStores.py
f6ce685f21be002659817cc2438c6fd8be1ccead
[]
no_license
lndhub/lightningnetworkstores.github.io
192321b81b32374c170f102882e5afd396450c61
b7e2af9453e6d3511a464eadceace6c096ba47d8
refs/heads/master
2020-03-23T03:33:58.541427
2018-07-15T08:21:01
2018-07-15T08:21:01
141,037,097
1
1
null
2018-07-15T15:10:35
2018-07-15T15:10:35
null
UTF-8
Python
false
false
3,877
py
# this script looks at the names of the nodes, detects those that have a name for a website and tries to open the website. # if a positive response is obtained, this might be a new store :) import requests import re # needs to be improved with https://www.robtex.com/lightning/node/?sort=-discovered nodes = req...
[ "noreply@github.com" ]
lndhub.noreply@github.com