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
cc0f8b6f81250521d58ab355afa7c69856634c8c
84beae5897780aa2fd70016bc2916475252680cb
/migrations/versions/454cbbd0f266_user_table.py
e510b762d9e45f5cd1fbc60fd79a84453127be27
[]
no_license
perica22/GameColor
39a79cec0b77b4a1edf9a168b92ef5fa85d4a30f
ff62c164b17484f2d0dce22ff34aafe7d6b29f83
refs/heads/master
2020-04-16T07:22:29.163305
2019-01-12T12:34:46
2019-01-12T12:34:46
165,383,998
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
"""user table Revision ID: 454cbbd0f266 Revises: Create Date: 2018-12-31 13:44:36.346623 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '454cbbd0f266' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generat...
[ "pprokic22@gmail.com" ]
pprokic22@gmail.com
ba3e56151cdaa39a758eec07e458620ed7dd3939
5301f6a0c1a84690fe43e8a7506e5a75b93f68e5
/sec6_reinforcement_learning/_3_upper_confidence_bound.py
0d5aae25f6f461724c4ee1031994ed9e70581b1e
[]
no_license
gungoren/ml_lecture_notes
7b08c81fa113680649ddb02b2aedffc6422bfbac
24944fb8e5ccbbb741df9cf4512fea1a0a203c98
refs/heads/master
2020-06-28T21:51:13.668536
2020-02-12T16:01:01
2020-02-12T16:01:01
200,351,395
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt veriler = pd.read_csv('Ads_CTR_Optimisation.csv') import math #UCB N, d = veriler.shape #Ri(n) oduller = [0] * d #Ni(n) tiklamalar = [0] * d toplam = 0 secilenler = [] for n in range(1,N): ad = 0 max_ucb = 0 for i in range(0,d): ...
[ "mehmetgungoren@lyrebirdstudio.net" ]
mehmetgungoren@lyrebirdstudio.net
7eed2d5611b691b7f7d6e3bef55d4869a2792295
04bdc6684be0c05bc9e54e3ef79a4390e31386c7
/todoproject/todoapp/migrations/0001_initial.py
af965b0a5a98c34d717862bf7aefa2ee1e34e4ba
[]
no_license
anandhureji/todoapp
aff4153a7533b98aa7123cca1a9979aa22b2f102
a5f91eba2770bb85a0f5b36f710c61811fcd9dfd
refs/heads/master
2023-04-28T04:35:01.666392
2021-05-18T14:17:15
2021-05-18T14:17:15
368,552,465
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# Generated by Django 3.2 on 2021-04-23 16:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Task', fields=[ ('id', models.BigAutoField(au...
[ "anandhureji33@gmail.com" ]
anandhureji33@gmail.com
8e4c19e91b0ee905017c4d65646fb1eadea55e38
684490173da009901863ffe53f1a97b788528134
/api/src/application/user/enums.py
57fddda545daf7575599a11c5ca8e71c2b4bc82d
[ "MIT" ]
permissive
iliaskaras/VCFHandler
88f439b5e7ae9ac0d674e645c76f93832ac94364
5372659e4472207be964e0d233994a0ffff536fe
refs/heads/main
2023-04-26T13:28:35.541591
2021-05-19T01:04:52
2021-05-19T01:04:52
367,017,292
0
0
null
2021-05-19T00:57:13
2021-05-13T10:44:33
Python
UTF-8
Python
false
false
235
py
from typing import List from enum import Enum class Permission(Enum): read = 'read' write = 'write' execute = 'execute' @classmethod def values(cls) -> List[str]: return [member.value for member in cls]
[ "hlias.karas@yahoo.gr" ]
hlias.karas@yahoo.gr
5a4c72d4e208f1c0a24bf6e5cb4584e59696e6b4
51d48106e416075f74985c258fd0a4fc802d46cd
/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py
445cafb2d57cbe5719de82cb19fdaae08fd33e50
[ "PostgreSQL" ]
permissive
KaiBarrett/pgadmin4
2651d80f7d1784c42309c7867115db950dc1e58c
954fee7b8a6e04d40c83d2882a4453c15588897f
refs/heads/master
2022-11-28T16:28:38.196803
2020-08-12T14:34:38
2020-08-12T14:34:38
286,761,581
0
0
null
null
null
null
UTF-8
Python
false
false
62,439
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2020, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## """ Implements Ut...
[ "morderkai@hotmail.com" ]
morderkai@hotmail.com
b37335f9e0440c5cb31486bf57494e3aa0f993a9
45f6a4dfc837998565d4e4e4cde258a27fdbd424
/learn_hb_acc/acc/Source/DataLock/Lock2.py
1f369f5272c0e61228b6a273a5cd7e036b4c6fce
[]
no_license
isoundy000/learn_python
c220966c42187335c5342269cafc6811ac04bab3
fa1591863985a418fd361eb6dac36d1301bc1231
refs/heads/master
2022-12-29T10:27:37.857107
2020-10-16T03:52:44
2020-10-16T03:52:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python #-*- coding: UTF-8 -*- __author__ = 'ghou' from Source.DataLock.Lock1 import Lock1 class Lock2: def __init__(self, lock): # print "lock" self._lock = lock self._lock.Lock() def __del__(self): # print "release" self._lock.Release()
[ "1737785826@qq.com" ]
1737785826@qq.com
3a06e9e9cb617ccb4aaab63ae309614690860766
91c71d5b6c2200f97037a4d53ca7bc23beebf98e
/CyberSecurityRumble CTF/Crypto/ezdsa/signer.py
cec927fe006be092c29143d0d2bbf7e89af7cef9
[]
no_license
ROFLailXGOD/CTFs
caf4394057987d2dfd0cb048375a9f7a271defc8
8f9a0d2957298014e34e43b5ea84c51cf8a787cc
refs/heads/master
2023-03-02T18:38:56.181437
2021-02-06T10:43:03
2021-02-06T10:43:03
292,396,776
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import socketserver import random import ecdsa key = open("secp256k1-key.pem").read() sk = ecdsa.SigningKey.from_pem(key) def sony_rand(n): return random.getrandbits(8*n).to_bytes(n, "big") def sign(data): if data == b"admin": raise ValueError("Not Permitted!") signature = sk.sign(data, entrop...
[ "vovavovava@mail.ru" ]
vovavovava@mail.ru
f23dd6761564ddb1c16f96850078e43e8e6b7d06
6e5cbf71ba43e83e1e1e381a3da645a1f9575703
/ece681PatternRecognition/CourseProject/senti_analysis_final/Python_Code/last_sprint_0.py
b8bc2a82cd113966de519e9e4835565f0407a1fc
[]
no_license
AmberWangjie/qsx_duke_course
ab5a2a4eea28bf719b03f1750f593c5cf46af1be
b1d780bf1b6da1590d6f85cedd2f2f70c47bce71
refs/heads/master
2021-05-03T23:58:17.291403
2017-05-10T01:31:41
2017-05-10T01:31:41
120,403,601
0
1
null
2018-02-06T04:54:40
2018-02-06T04:54:40
null
UTF-8
Python
false
false
2,243
py
#-*- coding: utf-8 -*- import re,os,glob,copy from sklearn import datasets,svm,cross_validation,tree,decomposition from sklearn.metrics import roc_curve, auc from sklearn.naive_bayes import MultinomialNB,GaussianNB,BernoulliNB import numpy as np import matplotlib.pyplot as plt import nltk,string wordcount={} wit...
[ "qsxyh123@gmail.com" ]
qsxyh123@gmail.com
fa01f2c4235022464b36c98cf0478c200258f51c
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc013/B/4419292.py
e610ae7336b7f2edb3c78c31116d79ff4b9ad53d
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
359
py
c=int(input()) info=[] for i in range(c): info.append(list(map(int,input().split()))) n_max=0 m_max=0 l_max=0 for j in range(c): info[j].sort() if n_max<info[j][0]: n_max=info[j][0] if m_max<info[j][1]: m_max=info[j][1] if l_max<info[j][2]: l_max=info[j]...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
108e662bdbbe0750ef625548e598ffa8f551dbb3
e2952eadc5d28354251139d6b184c8b096e57e11
/pythonStudy/example/判断闰年.py
2549501fa4c9ef5fcf6516247584650c1aa3be3c
[]
no_license
haohualiangshi/studyPath
5067c2029cd34f9c21af3e54bfe916a1fa70eb37
396266254797eeb73feb6d2cf9321e2cca2a869b
refs/heads/master
2022-12-22T00:45:53.935467
2021-04-13T12:27:04
2021-04-13T12:27:04
85,938,728
1
0
null
2022-12-11T17:37:21
2017-03-23T10:48:54
JavaScript
UTF-8
Python
false
false
138
py
""" 判断闰年 """ year = int(input("请输入年份:")) is_leap = (year % 4 == 0 and year % 100 != 0 or year%400==0) print(is_leap)
[ "13525006097@163.com" ]
13525006097@163.com
03d14277c5344e701582ab6202425e25a138540c
62af1d87b47ecd6b7e9e1613f0772f7bc5bd14e2
/triangle.py
d7b030e5699b0587a694db1e2aa3f22d76074f6d
[]
no_license
hernandez26/Projects
2db8d353e75b576b0ca5e20a4685faadbbb39020
4ae34e83664d1dd06e06ed19969746cd90a7e0a2
refs/heads/master
2020-08-05T20:14:53.399223
2020-05-11T18:26:43
2020-05-11T18:26:43
212,692,760
0
0
null
2020-05-11T18:23:21
2019-10-03T22:29:46
Python
UTF-8
Python
false
false
1,114
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 3 09:25:30 2019 @author: Princess """ from collections import Counter # WHILE LOOP x = 3 while x < 10: print(x) x = x + 1 x = int(3) y = int(7) z = int(4) if x == y == z: print("Equalateral triangle") elif x==y or y==z or z==x...
[ "noreply@github.com" ]
hernandez26.noreply@github.com
ddfb118d4ac2c9352c6c4a430804c39aedb00e10
93c2e40b60e02c114f71227badf70175b0367321
/app/models/checkin.py
7f8e1a4b5d5a0f140f18a67dbc63adb6ce929917
[]
no_license
italovieira/prontuario-backend
b2d63806c27f4110e97508f9f5a2b8fbfb99477e
5c698a2d4ae9eae71c376db436c0b6d09e70e4b2
refs/heads/master
2023-05-10T11:48:44.078222
2019-06-18T01:41:48
2019-06-18T01:43:39
190,486,717
0
0
null
2023-05-01T20:57:41
2019-06-06T00:18:59
Python
UTF-8
Python
false
false
582
py
from .model import Model from ..util import format_date class Checkin(Model): def __init__(self, cpf_paciente, cpf_secretario, data): self.cpf_paciente = cpf_paciente self.cpf_secretario = cpf_secretario self.data = format_date(data) def serialize(self): from ..dao.usuario i...
[ "italogv@hotmail.com" ]
italogv@hotmail.com
396806327b28e7f9e7ffb2fb37a19b82b5c85ef1
98842f31692bb5ae785f0ef10086bca8c46dec97
/tests/test_models.py
e8cfc236853e908c3e94ed3b301c251105f935ff
[ "MIT" ]
permissive
akashsengupta1997/segmentation_models
b90266056e95de3cd5bcb3e534d674ee8afd9b7c
ac2e5f6dd9fb5833c14c4265faf985f817b27885
refs/heads/master
2020-04-13T10:19:49.107250
2019-05-16T10:50:11
2019-05-16T10:50:11
163,136,690
0
0
MIT
2018-12-26T04:38:49
2018-12-26T04:38:49
null
UTF-8
Python
false
false
2,745
py
import sys import pytest import random as rn import six import numpy as np import keras.backend as K sys.path.insert(0, '..') from segmentation_models import Unet from segmentation_models import Linknet from segmentation_models import PSPNet from segmentation_models import FPN from segmentation_models.backbones impor...
[ "qubvel@gmail.com" ]
qubvel@gmail.com
d33f220321e336e138837e39ee23debce2c0c27e
e64e11891cc0dc3f55168841026d260a0fdb45d5
/webapp/forms.py
87879743747f84a96a0dde2b58dba1288d500fbb
[]
no_license
yikkin/my_webapp
79f5bdbfec650d004ab3be76698994ecaaf4930f
2bd1fd4aeac5d606085313402b39f04edace0de2
refs/heads/master
2023-01-13T05:13:05.613563
2020-11-15T21:45:55
2020-11-15T21:45:55
313,128,448
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django import forms from . models import Technologies class TechnologiesForm(forms.ModelForm): class Meta: model = Technologies fields = ["techno"]
[ "yongwe52@gmail.com" ]
yongwe52@gmail.com
e8cba1e488bb187b94ce98f304dd63715debf0e0
1e457efb459352143ed307cae6ffbd862e36b878
/20200603-2集合常见操作.py
e73d789409fa29031bb790f76b067cfca056dcb7
[]
no_license
xuzhanhao06/PythonBase
950653874e695a7802f2326bb6f8a99a98518eed
9bf46bdf24819aa7aa829aa1ccfa88cf3181da8b
refs/heads/master
2022-10-11T04:23:04.138757
2020-06-11T14:25:05
2020-06-11T14:25:05
271,566,122
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
s1={10,20} print('---------add() ,集合可变类型,不可序') s1.add(100) print(s1)#{100, 10, 20} print('集合有去重功能!') s1.add(100) print(s1)#{100, 10, 20} #s1.add([10,20,30]) #print(s1) 报错!!! print('---------update() 增加的数据是 *序列*') print(f's1:{s1}') s1.update([10,20,30,50]) print(s1)#{100, 10, 50, 20, 30} #s1.update(100) ...
[ "noreply@github.com" ]
xuzhanhao06.noreply@github.com
7cf0ae9730b5c29b23c9020d99b8a0ada544610a
6b619df7af97326589444ad89dc775045958a81e
/mnc/venv/Lib/site-packages/validator_collection/checkers.py
29f8fbc2a976f31450817075c039ce692e43e6e6
[]
no_license
muhammadali07/coding_interview
f06216e00c3c4395d80437bef42e1e35328e24db
2f2d4f5f4db24ddc9a6084b47a48c503c3499340
refs/heads/main
2023-06-20T11:32:47.271925
2021-07-15T09:56:29
2021-07-15T09:56:29
378,059,719
1
0
null
null
null
null
UTF-8
Python
false
false
54,533
py
# -*- coding: utf-8 -*- # The lack of a module docstring for this module is **INTENTIONAL**. # The module is imported into the documentation using Sphinx's autodoc # extension, and its member function documentation is automatically incorporated # there as needed. # pylint: disable=W0703 import io import sys import ...
[ "36842581+muhammadali07@users.noreply.github.com" ]
36842581+muhammadali07@users.noreply.github.com
981c3a051141f5a0d5af4da62da922d3ffae287f
b509431d2ca7d2ceac85e9765d442e6a04153e47
/hackathon/python-api/flask/bin/sdbadmin
9e982496a78d29f2ee35ae64b506a5787082377d
[]
no_license
Mashiat31/know_your_rights_workplace
c57ab8e101f25053b8932722d89d4042f08786a0
54063624bdea1543ae4ed2d2e08d58d9eebedd46
refs/heads/master
2022-04-07T08:47:15.340501
2020-03-08T19:59:47
2020-03-08T19:59:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,053
#!/home/dama/know_your_rights_workplace/hackathon/python-api/flask/bin/python2 # Copyright (c) 2009 Chris Moyer http://kopertop.blogspot.com/ # # 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...
[ "damacorrech@gmail.com" ]
damacorrech@gmail.com
05302549e808192e9666ab082e798253d02d5e19
d52aadf33f41edd66997f04d78c9f11e6aa9c22e
/tests/imfusion/test_ctg.py
844a8b741a91c3b4ce813844c2fc7c90d1597796
[ "MIT" ]
permissive
sofiaff/imfusion
3ec3404715e6c9fbca749a551a384f80217d8068
796c546802b40ae4aa34e60c6dd308ef4a3c80b1
refs/heads/master
2021-07-11T21:56:16.484192
2017-05-11T20:50:36
2017-05-11T20:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,138
py
# -*- coding: utf-8 -*- """Tests for imfusion.ctg module.""" # pylint: disable=wildcard-import,redefined-builtin,unused-wildcard-import from __future__ import absolute_import, division, print_function from builtins import * # pylint: enable=wildcard-import,redefined-builtin,unused-wildcard-import from collections imp...
[ "julianderuiter@gmail.com" ]
julianderuiter@gmail.com
77cbac08c036ca1e98da48e154c14c9d66922d1b
005f02cb534bbf91fe634fcf401441e1179365c8
/15-Blog Project/ruxhino/blog/forms.py
7e963ad3556465665a256eb2e063fe2ed71ea748
[]
no_license
Ruxhino-B/django-deployment-example
220a39a456871a1bf42a64fd5b945731056fc7b9
e19713ac1e11af202152ad20d7c3c94891a77e83
refs/heads/master
2020-04-18T02:21:10.505691
2020-01-06T14:18:18
2020-01-06T14:25:25
167,159,223
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from django import forms from blog.models import Post,Comment class PostForm(forms.ModelForm): class Meta(): model = Post fields = ('author','title','text') widgets = { 'title':forms.TextInput(attrs={'class':'textinputclass'}), 'text':forms.Textarea(attrs=...
[ "ruxhino@gmail.com" ]
ruxhino@gmail.com
9cc7f8b8f3d0bb3c00162281ecb39f2f4f78cfb6
57ee98c57c566260f4d134e8160ce2245810c7ae
/scripts/bioconductor/bioconductor_skeleton.py
2b95a277635abe0217c9388192b303805c4ee483
[ "MIT" ]
permissive
inodb/bioconda-recipes
c2b3e9af0940fd90bf8335b987e3a5d6d4749b74
5d28e0dbaf62f3c3a87d3c2a125f60a23874f3d0
refs/heads/master
2021-01-18T02:32:13.931120
2016-05-11T20:04:39
2016-05-11T20:04:39
58,580,064
1
0
null
2016-05-11T20:47:58
2016-05-11T20:47:58
null
UTF-8
Python
false
false
15,426
py
#!/usr/bin/env python import shutil import tempfile import configparser from textwrap import dedent import tarfile import pyaml import hashlib import os import re import bs4 import urllib from urllib import request from urllib import parse from urllib import error from collections import OrderedDict import logging imp...
[ "dalerr@niddk.nih.gov" ]
dalerr@niddk.nih.gov
6520da5bb0edf10bbc7c9d36a7777515cfa145a9
8a54e11b6ed11d2974e13bb86c554cbbb4bb35ec
/iot/models.py
04d723d9a8de929987755509468a51e19d0ecc4b
[]
no_license
DesigningShit/DSCore
222f853e46dce181b81fd4e188038bbd09fc1496
2e0ea24be171bd8cbdf7be3e3db8562a2cc94bf0
refs/heads/master
2020-03-25T09:56:47.936561
2018-08-09T15:37:24
2018-08-09T15:37:24
143,680,134
1
0
null
null
null
null
UTF-8
Python
false
false
2,296
py
from django.db import models as m from api.keygen import getRandomID from api.models import Profile class IOTTenant(m.Model): owner = m.ForeignKey('api.Profile', related_name='TenantOwner', to_field='userkey', on_delete=m.CASCADE) name = m.CharField(max_length=150, default='.') tenantid = m.CharField(max_l...
[ "mpuckett@designingshit.com" ]
mpuckett@designingshit.com
74dddc3fa04e29a5d4f6cc7672029d37a1350ca3
aeab159551473506f1f187388df10e010ec3e16d
/Practice Problems 3.1-3.13/3.12.py
77e05946e530837863c54018bafee236f2376085
[]
no_license
Osama710/Assignment-3
5b27f52f1bd4cf4f3c19e335396e1d3c7e6a9008
5238f570cf253135b7807a8096b5ab736d5eea3e
refs/heads/master
2020-04-07T21:29:50.868286
2018-11-22T17:23:23
2018-11-22T17:23:23
158,729,413
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
print("Muhammad Osama - 18B-003-CS - Sec'A'") print("Practice Problem: 3.12 ") def negatives(lst): for i in lst: if i < 0: print(i)
[ "noreply@github.com" ]
Osama710.noreply@github.com
8286d2fa7b3c0d2bdd92e58a5fbd42d12ea04b67
7d21e180f943d902833162dd22697ebff2f7c83f
/references/Collect_v04.py
27c83e35b1e00bd5e232ab4a443f3733f6b1bc53
[]
no_license
joinmm/c4d-export-to-render-farm
811556da359e17ecf0e352f869814b67e026da46
b3a657703528a81c50dc00510f53dcd9ab63929d
refs/heads/master
2022-12-21T03:31:32.033015
2020-09-27T12:59:10
2020-09-27T12:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
import c4d from c4d import gui def get_targetPath(): targetPath = c4d.storage.SaveDialog() if not targetPath[-4:] == ".c4d": targetPath = targetPath+".c4d" else: None return targetPath def main(): doc=c4d.documents.GetActiveDocument() docpath=doc.GetDocume...
[ "carlos@dynetv.com" ]
carlos@dynetv.com
96a9e58ece7758108a958f45ccfeaf172c17d3c3
7c8857320bc9ef04244dc799a1e7f9348ee01de9
/transaction.py
498bb7f44f0a6411e93aa67df8c51e8c19cda8d5
[]
no_license
pagliuca523/financial_automation
2415cce6040192bbf9991a30540aa2de073c0255
54a11977ffc25a23ffc79989cbf069f27e2885ae
refs/heads/main
2023-03-14T01:24:37.963857
2021-03-07T19:44:02
2021-03-07T19:44:02
336,790,956
0
0
null
2021-03-07T19:44:02
2021-02-07T13:15:58
Python
UTF-8
Python
false
false
74
py
class Transaction: def __init__(self, date, name,Balance ) pass
[ "pagliuca523@hotmail.com" ]
pagliuca523@hotmail.com
fcced74d0a0788e38378e8e59aab7c132a1a13e4
941a611199b8ee963dc904693e54e8fa8aa18ddb
/python/surf/devices/silabs/_Si5326.py
ea9453a734164017a2dabf8e3d0a8bab9a9fc3ea
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cjchin/surf
84dab5716a6a5d3c6f2b9dc8226b7bc55de999e3
c52c3520c10a4459ca88751a57fb51c20f6a431a
refs/heads/master
2023-05-12T06:42:18.312381
2023-04-24T19:32:53
2023-04-24T19:32:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,856
py
#----------------------------------------------------------------------------- # This file is part of 'SLAC Firmware Standard Library'. # It is subject to the license terms in the LICENSE.txt file found in the # top-level directory of this distribution and at: # https://confluence.slac.stanford.edu/display/ppareg/LI...
[ "ruckman@slac.stanford.edu" ]
ruckman@slac.stanford.edu
35625f181c0366611d6ea6e2f30127b29f67add9
00af94d633b29adb849409a264caa49d4702822e
/examples/depthai-python/lib/python3.6/site-packages/ipykernel/tests/test_message_spec.py
a142165f164c95aaa04015dedcc3a6b672439191
[ "MIT" ]
permissive
gromovnik1337/depthai-python
bcc0fe5aff3651a698ee86daf07a5a860f3675d4
2b17444aba2f94a236222934e1572c4dd06062dc
refs/heads/main
2023-03-28T00:34:03.525543
2021-03-27T15:28:09
2021-03-27T15:28:09
348,476,293
0
0
MIT
2021-03-20T08:20:56
2021-03-16T20:01:17
null
UTF-8
Python
false
false
15,929
py
"""Test suite for our zeromq-based message specification.""" # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import re import sys from distutils.version import LooseVersion as V from queue import Empty import nose.tools as nt from nose.plugins.skip import SkipTest...
[ "vice.roncevic@luxc.tech" ]
vice.roncevic@luxc.tech
eeced7e4f26e641d78ffaa365396b40acb467179
aa09c3985477e3104448a9ca2f37286ffb4fbfbd
/NASA_Wind_Test/test_Programs/test_ROS.py
1ca950fa223c89933ff27a5237e665542b3fd532
[]
no_license
samA94/Test_Files_Wind_Overshoot
10855a7b8347e8216cc4b0240d04104fa9467066
b2155d09da4e9c577c99d8f32c70c7ac02fc5b2a
refs/heads/master
2021-01-13T15:04:58.598141
2017-01-30T15:20:17
2017-01-30T15:20:17
76,274,216
0
0
null
2017-01-12T20:01:20
2016-12-12T16:24:56
Python
UTF-8
Python
false
false
1,272
py
import rospy from geometry_msgs.msg import PoseWithCovariance from mavros_msgs.srv import CommandBool, SetMode, StreamRate from mavros_msgs.msg import OverrideRCIn import time rospy.init_node("send_Waypoints") rospy.wait_for_service("mavros/set_stream_rate") setRate = rospy.ServiceProxy("mavros/set_stream_rate", Stre...
[ "noreply@github.com" ]
samA94.noreply@github.com
067e6698922e5217a1602d5a4f7363c299b73a15
e69b36ec130b76f422a32eff98a366661a41561e
/mercenarylair/common/accounts/models.py
c3785f39cfaaa4774c5c9c66d6594719b2b6f1dd
[]
no_license
manuel-delverme/mercenaryLair
8c7001d00859d6045d51e921168059e46e67eab0
9171773904409e43588f614d4c2a82b50f699986
refs/heads/master
2021-01-01T19:11:49.272941
2013-08-24T14:02:10
2013-08-24T14:02:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from django.db import models from django import forms from django.contrib.auth.models import User from django.utils.translation import ugettext as _ from userena.models import UserenaLanguageBaseProfile class UserProfile(UserenaLanguageBaseProfile): user = models.OneToOneField(User,unique=True,verbose_name=_('user')...
[ "production@41.215.240.102" ]
production@41.215.240.102
94e2d9ac109fe7b31e9dde5bcd721061f309f6dc
36d4c9a57b53f5e14acb512759b49fe44d9990d8
/python_essential_q/q10.py
28bd1c40de356fab38ca5b007fc0e628028b6f26
[]
no_license
yosef8234/test
4a280fa2b27563c055b54f2ed3dfbc7743dd9289
8bb58d12b2837c9f8c7b1877206a365ab9004758
refs/heads/master
2021-05-07T22:46:06.598921
2017-10-16T18:11:26
2017-10-16T18:11:26
107,286,907
4
2
null
null
null
null
UTF-8
Python
false
false
1,851
py
# Question 10 # Consider the following code, what will it output? class A(object): def go(self): print("go A go!") def stop(self): print("stop A stop!") def pause(self): raise Exception("Not Implemented") class B(A): def go(self): super(B, self).go() print("go ...
[ "ekoz@protonmail.com" ]
ekoz@protonmail.com
282f5a44c5c5feb9a18b032f70b02529bdb6567c
c54b6d130dbc229a2aec7432af9f8623acd1b760
/DL-ICP4/question1.py
3f6650a6649dbeccb0704106f8b35bec0cded60a
[]
no_license
sabdj2020/CSEE-5590---Python-DeepLearning
58f5ce8ef39c5ea03882335accfe9db1d728911e
5a9ffa2d5f9b2d7f6f2860154acfba93557a63b1
refs/heads/master
2022-11-21T13:02:44.343148
2020-07-24T05:00:01
2020-07-24T05:00:01
271,330,420
0
0
null
null
null
null
UTF-8
Python
false
false
3,856
py
# import libraries import numpy from keras.datasets import cifar10 from keras.models import Sequential from keras.layers import Dense from keras.layers import Dropout from keras.layers import Flatten from keras.constraints import maxnorm from keras.optimizers import SGD from keras.layers.convolutional import C...
[ "noreply@github.com" ]
sabdj2020.noreply@github.com
f7c870c6b9331ebece86690f381856c76fc12e39
fb913727279d104311af5dffe7fbb2f7ab86c57c
/sentiment_analysis.py
db329c7bc551780545f1a126f5c41c6cc0bcd706
[]
no_license
ariequeve/twitter_sentiment_analysis
b0aedebe0ca0cbe202998b7cca77305375355d5c
5519b275837a54154666a2e8cb959f24a3d6ce47
refs/heads/main
2023-07-16T22:20:42.642613
2021-08-25T17:55:34
2021-08-25T17:55:34
308,977,067
0
0
null
null
null
null
UTF-8
Python
false
false
5,673
py
""" Adaptado de: https://www.freecodecamp.org/news/how-to-make-your-own-sentiment-analyzer-using-python-and-googles-natural-language-api-9e91e1c493e/ """ import tweepy import os import json from datetime import datetime, timedelta import re from nltk.tokenize import WordPunctTokenizer from google.cloud impor...
[ "noreply@github.com" ]
ariequeve.noreply@github.com
1edbd04e266260b0d6e143036234a1f6dc851899
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayEbppInstserviceDeductConsultResponse.py
c95c7306da6e9fcd48e6f3c6a8c8e345a727b215
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,603
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayEbppInstserviceDeductConsultResponse(AlipayResponse): def __init__(self): super(AlipayEbppInstserviceDeductConsultResponse, self).__init__() self._allow_sign = ...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
11b220cc5aeec4a4d8cf8455718322627d9e49fc
13a35ef1c6a222b33ed6d1859d958533647aefda
/punchykickgravityflipwarz/sprite_sheet.py
23e6423f3a2de4f55bd5a4899ce5ababb69d483c
[ "MIT" ]
permissive
BeerNCode/punchykickgravityflipwarz
ee6b4146e91391922b407177e9acf32e862209de
d6a2c3879f47c9ec9752c888b1f0b0deb713f0e3
refs/heads/master
2022-12-02T19:08:00.112910
2019-11-23T14:08:19
2019-11-23T14:08:19
223,481,859
0
1
MIT
2022-11-22T04:50:43
2019-11-22T20:32:16
Python
UTF-8
Python
false
false
723
py
import pygame class SpriteSheet(object): def __init__(self, filename): self.sheet = None self.filename = filename def image_at(self, rectangle): if self.sheet is None: self.sheet = pygame.image.load(self.filename).convert_alpha() rect = pygame.Rect(rectangle...
[ "thomasjackdalby@gmail.com" ]
thomasjackdalby@gmail.com
5b970b86771c3f3f30534af76e990e04bda051b8
53167f3a60bf8ef0ea76abae571ba2c8cf81d0fa
/Model/BackBone/ResNeXt3D.py
aa21f20f1a3eb52ac492b093d43474e89d651706
[]
no_license
Magnety/UNetTransformer
c5cc546b576e181c2fa99c6ed5df4541394d173a
05114dee83dd16e1c078cb0ed22bdb85ca023a2a
refs/heads/master
2023-03-25T12:50:55.376053
2021-03-26T05:22:04
2021-03-26T05:22:04
351,639,457
2
1
null
null
null
null
UTF-8
Python
false
false
8,554
py
from functools import partial import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable def conv3x3x3(in_planes, out_planes, stride=1): """3x3x3 convolution with padding.""" return nn.Conv3d( in_planes, out_planes, kernel_size=...
[ "liuyiyao0916@163.com" ]
liuyiyao0916@163.com
93dfe2f8a97410e4fcd89278abfcdf944a3425f2
16516732031deb7f7e074be9fe757897557eee2d
/yukicoder/No.537 ユーザーID.py
9576d19f8d5f00b37f4292691eb9cd8cda00ecd4
[]
no_license
cale-i/atcoder
90a04d3228864201cf63c8f8fae62100a19aefa5
c21232d012191ede866ee4b9b14ba97eaab47ea9
refs/heads/master
2021-06-24T13:10:37.006328
2021-03-31T11:41:59
2021-03-31T11:41:59
196,288,266
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# yukicoder No.537 ユーザーID 2020/01/28 n=int(input()) def divisors(n): div=[] for i in range(1,int(n**0.5)+1): if n%i==0: div.append(i) if i!=n//i: div.append(n//i) div.sort() return div div=divisors(n) ans=set() for d in div: ans.a...
[ "calei078029@gmail.com" ]
calei078029@gmail.com
8874c003d22d321b6138652f2967a1e13dbc8fbb
6f87f5db0fb8a86178f0cbf073d22ecfd9c92431
/__init__.py
5394c94a4a707ef1dbe2b52523f80718ea3b9efb
[]
no_license
BlenderCN-Org/HDR_Lightmapper
fbea54db7cfa0ded3756fe63389845a499357d47
c8fa49dbaa14ce4e36608c861b5fe48599320b47
refs/heads/master
2020-07-19T16:09:53.235454
2019-09-04T18:31:32
2019-09-04T18:31:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
85,268
py
bl_info = { "name": "HDR Lightmapper", "category": "Render", "location": "Properties -> Render -> HDR Lightmapper", "description": "HDR Lightmapping solution for Blender", "author": "Alexander Kleemann", "version": (0, 0, 1), "blender": (2, 80, 0) } import bpy, math, os, platform, subproces...
[ "KleemannAlexander@gmail.com" ]
KleemannAlexander@gmail.com
52ccceca34d6d4cec9966afc584abee44795bdae
10e4e5f3b66f39a3949557aab86e95ae6e219556
/evil/test/test_parser.py
756880c651a7e05604d556e2e6e77d0dfec957de
[]
no_license
dextero/evilvm
9afca07d51ed9560f4e6023b2c23704255a6607f
b3a9ab10947d10628dce3ce81861a5266d33bd38
refs/heads/master
2020-03-20T07:17:34.912643
2018-06-29T20:22:53
2018-06-29T20:22:53
137,277,415
1
0
null
null
null
null
UTF-8
Python
false
false
4,575
py
import unittest from evil.parser import * from evil.cpu import Operations class ParserTest(unittest.TestCase): def test_parse_label(self): self.assertEqual(Label('foo'), Statement.parse('foo:')) def test_parse_constant_definition(self): self.assertEqual(ConstantDefinition('FOO', NumericExpres...
[ "marcin@mradomski.pl" ]
marcin@mradomski.pl
713245f2eed71c403e73486f52448030d77a1350
b4e28b35e134018bd5514f17552f5c4522faf61a
/profiles/views.py
6900f5d5db954c72eac50e6e69c53129fb44be37
[]
no_license
mmrshohan/hubblelook-app
ccdd403026d237f66f110f5dcefff1bfe56ee9aa
51a25335633a488c0081f791b21040c99e1cd69f
refs/heads/master
2021-07-12T00:09:26.560552
2019-02-05T03:17:09
2019-02-05T03:17:09
142,327,506
0
0
null
null
null
null
UTF-8
Python
false
false
5,736
py
from django.shortcuts import render from django.urls import reverse from django.urls import reverse_lazy from django.shortcuts import redirect from django.contrib.auth.models import User from django.contrib.auth import get_user_model from django.contrib.auth.decorators import login_required from django.views.generic i...
[ "mmrshohan09@gmail.com" ]
mmrshohan09@gmail.com
87b5b866783807ecb5033d508c8c6fa54c82f4a6
eba82ef06bf93061b88aa7f0794c63814149c943
/data/urls.py
88f57d096a705cbf2abf963fdf18f4e82a73af71
[]
no_license
NuDron/FanVue
bf55642b6fcf282d43e83e13f260a4d90f92f28a
ece5090eb6753868e660050683c397d581850617
refs/heads/main
2023-04-08T13:51:35.093544
2021-04-27T09:39:18
2021-04-27T09:39:18
362,057,334
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from django.urls import path, include from rest_framework.routers import SimpleRouter from .serializers import ArtistSerializer, AlbumSerializer from .views import ArtistViewSet from . import views router = SimpleRouter() router.register("api_artists", ArtistViewSet) urlpatterns = [ path('v1/', include((router.ur...
[ "noreply@github.com" ]
NuDron.noreply@github.com
920a7385980152c3fb1832f4d7d2be695cc0b3e3
6f044a0541ddf467bb6251645c3d8107df5f5756
/message/serialize.py
983e91b05f2a947332a1b91d868c065f3d308468
[]
no_license
tpvt99/new-social-network-backend
04ae9f0551c09eceb5fd6b4bcf50430243e53199
a18d6279a27ba0ce3af1f5d6e985b4b147a4233a
refs/heads/master
2021-09-04T01:50:43.430961
2018-01-14T08:59:41
2018-01-14T08:59:41
117,415,992
1
0
null
null
null
null
UTF-8
Python
false
false
3,156
py
from django.db.models.query import QuerySet from django.core.exceptions import ObjectDoesNotExist from user.serialize import serialize_user_basic from account.models import OnlineTime def friend_serialize(friend): data_serialize = [] if type(friend) == QuerySet: for i in friend: try: ...
[ "tranphong96.hbk@gmail.com" ]
tranphong96.hbk@gmail.com
c79dba71f7ebe424f45d1b0b78d05bff552e4d3f
a25bcf8ef670790b04bb24141d986c6542143e23
/main/settings.py
95e98bad6fb131d6f01604c179868cbe54fc1a9e
[]
no_license
kwonsujee/django_facebook
e27110412ddf399a7164042dd1e01ff829f56121
8505d6c251ba1c9ee3bf50056166006735fc82bf
refs/heads/master
2022-12-08T05:40:58.880887
2020-09-07T09:42:46
2020-09-07T09:42:46
293,034,343
0
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 3.1. 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 pathlib impo...
[ "lkdj1205@naver.com" ]
lkdj1205@naver.com
f030b47e84a5b1a150befc9521d28ac44b0c9c2b
53b67db91791f91b712cff3d1b2add1cd1aa8d36
/manage.py
083aaf0037f8117577915ec4023802b837355dff
[]
no_license
florije1988/django_rest_demo
af95f9ca17237748b8136db0100051538c697a8f
a63f9eba27125e900a27605bcc7cae9c8be13b0c
refs/heads/master
2016-09-16T02:03:26.512039
2014-11-12T10:11:42
2014-11-12T10:11:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_rest_demo.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "florije1988@gmail.com" ]
florije1988@gmail.com
8bb72338276793c2c478b7c0cb117fd31eeb6b17
ffa26f16bf90ace7bcac003144e58d3a485f5b72
/snippets/urls.py
6c2300c171831ac5a87eb2870f2fb26d4272d2b6
[]
no_license
nouhben/test-repo
f2675b301777b8c5eefee8dac7b8502aae735c9c
985071c3d168d5c0dac3d76614b617b9f144f0c3
refs/heads/main
2023-02-03T05:01:51.759224
2020-12-17T10:04:56
2020-12-17T10:04:56
322,244,743
0
0
null
2020-12-17T10:04:58
2020-12-17T09:28:19
Python
UTF-8
Python
false
false
328
py
from django.urls import path, include from . import views from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ path('snippets/', views.snippet_list, name='snippests'), path('snippets/<int:pk>/', views.snippet_detail, name='snippest-detail'), ] urlpatterns = format_suffix_patterns(urlpa...
[ "benkadi.nouh@icloud.com" ]
benkadi.nouh@icloud.com
172e89cae1e9a80fe0e9e1f674f9bfd31c911a0c
fd88ba1c649539d17191ca118b9704b6ed0031bf
/全站图片链接抓取.py
38dbe32e84ab0e3842df787a7daa379bc5b6a28d
[]
no_license
ayuday/pachong
f542a8ee0f069c69a2628c035ff3e76155fd9e1a
fe8768ac162a7ac00697cb8c20e521ee064bf81e
refs/heads/master
2020-06-18T00:42:11.060909
2018-09-20T15:32:41
2018-09-20T15:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
import requests import re from bs4 import BeautifulSoup from time import sleep # data-original="(https://i.loli.net\S+)" urls_path = r'C:\Users\owen\Desktop\urls.txt' image_path = r'C:\Users\owen\Desktop\res.txt' pattern = r'data-original="(https://i.loli.net\S+)"' def get_image_url(text): ''' 获取图片外链地址,返回值为图片链...
[ "qcgzxw@qq.com" ]
qcgzxw@qq.com
2d09ba06fefef1fd6fc5b38917cd579402a12f58
c9579ecc197a3213fff8c3f46f425db74e759977
/pratice7.5.py
4282c4e06f0882ece3c48f08ed22aaf2fb2172a5
[]
no_license
onlycau/core_python_programming2
d4b1379bf34e1c7db78cc7f21c7e75d98427bac4
e20c7bee7b6ff1771e20c876bc62668f5c73f593
refs/heads/master
2020-06-09T09:38:34.713087
2019-06-28T07:36:08
2019-06-28T07:36:08
193,417,806
0
0
null
null
null
null
UTF-8
Python
false
false
2,330
py
#!/usr/bin/env python3 import time import os class login(object): def __init__(self): self.users = self.users_get() def users_get(self): with open('names', 'r') as f: names = [] for line in f: names.append(line.strip()) with open('passwords...
[ "990246984@qq.com" ]
990246984@qq.com
fe5fde3f921f53a66c6654807bc0ffcea9e11437
16028f3868ae934bb97474bc888f18069eba2ac9
/playground/ella-mypage-75b28d7/tests/unit_project/test_utils/test_settings.py
6349f8b12d490370ac5b66ffccc9ee52f05ace4c
[]
no_license
veilevil/test
d536d2a459aa250538f2e9bcac88739e22b2ea11
18469d66690e05b5ec973f6a89371419498bcedb
refs/heads/master
2020-12-30T10:50:01.160357
2012-12-18T15:38:32
2012-12-18T15:38:32
3,152,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import sys from unittest import TestCase from django import conf from mypage.utils.settings import Settings class DummyModule(object): SAMPLE_CONFIG_OPTION = 'sample-config-value' class TestSettings(TestCase): def setUp(self): dummy_module = DummyModule() sys.modules['tmp_tests_someapp_con...
[ "ve@ve-PC.(none)" ]
ve@ve-PC.(none)
509e4f61eb8ec5503c3b29d7e5356670fe5e43ed
aca2d9a5fd9ec3811d95aa8152aef71e9d2e15c4
/tasks/migrations/0001_initial.py
90b78707bb4bfbac84997977ae539221050808ae
[]
no_license
celestinoObrabo/trabalhodeCC
2eb66c56fe83296518acb74b3f13df73583bf16e
68b007a859ce4d0ccbdc2e1e23603a71ebd395d9
refs/heads/master
2023-03-06T08:01:39.249978
2021-02-08T19:01:33
2021-02-08T19:01:33
337,175,135
0
0
null
null
null
null
UTF-8
Python
false
false
2,203
py
# Generated by Django 3.0.2 on 2020-11-28 14:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('orientacao', '0001_initial'), ] operations = [ migrations.CreateModel( name...
[ "celehte1@hotmail.com" ]
celehte1@hotmail.com
c085bb6f2ab2a2c4590becd5e464d927fb09e39a
317c44e7c5bd759512157f1623ccc995690aaa95
/chapter10/thread_sync.py
52ef2cee00bb6ceafc0a53596eae348173460e6c
[]
no_license
Echo002/AdvancePython
83ae4abb91beb164320c77b67a18428a46564d5d
198eaf68cd9c7559b10ff3a3e94238f079371842
refs/heads/master
2023-02-11T17:51:42.785039
2021-01-06T08:11:42
2021-01-06T08:11:42
313,544,462
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
from threading import Lock import threading # import dis # def add(a): # a = a + 1 # return a # # print(dis.dis(add)) # total = 0 lock = Lock() def add(): global total global lock for i in range(1000000): lock.acquire() total += 1 lock.release() def desc(): global total...
[ "xugaohero@163.com" ]
xugaohero@163.com
abb0e461ca3d7b43b49aa46e2c5e8ae4736b620a
37fdc797f0060a67c1e9318032bc7102d4fd9ecd
/spider/beautifulsoup_test/lib/python3.7/site-packages/twisted/trial/test/test_script.py
9356d140416a706d9d43af3731a7de771d62bb0a
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Change0224/PycharmProjects
8fa3d23b399c5fb55661a79ca059f3da79847feb
818ba4fd5dd8bcdaacae490ed106ffda868b6ca4
refs/heads/master
2021-02-06T15:37:16.653849
2020-03-03T14:30:44
2020-03-03T14:30:44
243,927,023
0
0
null
null
null
null
UTF-8
Python
false
false
30,600
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from __future__ import absolute_import, division import gc import re import sys import textwrap import types from twisted.python import util from twisted.python.compat import NativeStringIO from twisted.python.filepath import FilePath from twist...
[ "lijj0224@163.com" ]
lijj0224@163.com
03c0640068bf2705bf09b53a659d53535f91bc9d
e79071195ff8ab508ce351b09cff065263c0fb72
/platform/suzuka/gunicorn.conf.py
90eafb111e05648a116f308ce33b7a6bd17cbae2
[]
no_license
ArcLightSlavik/zeppelin
68d09d56bd7364c3ebd32a3fda8bde4c39138ab9
2eb7a947e92984a7530974b91a2d7b8a4d309dd5
refs/heads/master
2023-04-01T11:14:51.122076
2021-04-11T13:27:27
2021-04-11T13:27:27
289,992,268
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
worker_class = 'uvicorn.workers.UvicornWorker' workers = 1 threads = 2 accesslog = '-' errorlog = '-'
[ "arclight.leskiv@gmail.com" ]
arclight.leskiv@gmail.com
60973622121d1f9482e976ea26b955a1d5ff191c
0e23e581b85e4fdf847b2c8d902fc8c781f1131f
/main/migrations/0004_penguin.py
927fd778edd772e019652fd85c2e9d2a3517b1f0
[]
no_license
kmhoran/ministry_server
2a32d55b458acb6eeeb3f1de025f4f4cc96ef962
0dab7eea4d05f6f9943bd998129fd866ffa20559
refs/heads/master
2020-03-19T03:52:53.506643
2018-06-20T13:31:41
2018-06-20T13:31:41
135,771,187
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# Generated by Django 2.0.4 on 2018-06-14 13:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0003_menu_page'), ] operations = [ migrations.CreateModel( name='Penguin', fields=[ ('id', m...
[ "kevin.michael.horan@gmail.com" ]
kevin.michael.horan@gmail.com
dcaabb3312d0257d882d19bc7561f3fdee7b8158
71d2f3d5744cb51333a926b14f92c2f19fdc4cff
/mangonel/contentviewdefinition.py
9b836c689bcc37c8851358d25aca20272a8cfe78
[]
no_license
vittyvk/mangonel
39d54227af4037873aaebd8049cbdaf62f887057
ab3a1ec17ec2094a5c0495fa3bb3152c08bd5109
refs/heads/master
2021-01-15T23:50:44.572753
2013-08-02T14:38:27
2013-08-02T14:38:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
from common import * import datetime import json import sys import time try: from katello.client.api.task_status import TaskStatusAPI from katello.client.api.content_view_definition import ContentViewDefinitionAPI except ImportError, e: print "Please install Katello CLI package." sys.exit(-1) class ...
[ "ogmaciel@gnome.org" ]
ogmaciel@gnome.org
16627b2ebb4dcd0ef9471d3c8484d3d6efdb4d44
fea70084724eca8767cc03d78d03436f18b213a7
/employee_management/employee_management/settings.py
2e838a26b5a018dcc0aa8eb04950400126acb205
[]
no_license
dzikri/employee_management
60ece752329bd38a64fecbfdd521e252ca35c7e7
3342edfcd7c599d347326fbeed17736ace12562e
refs/heads/master
2021-01-21T11:07:58.755019
2013-11-21T07:44:31
2013-11-21T07:44:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,044
py
""" Django settings for employee_management project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_...
[ "ozawa.seijiro@aainc.co.jp" ]
ozawa.seijiro@aainc.co.jp
cab0953e14b4bc90d90dd18b872fac1e11081f7d
40339cf0c6139a224572fa0a96b6b760df2e0aa2
/util/visualize.py
19e8e2c06ed3130001fb5b22a7f9520259ab1b23
[ "MIT" ]
permissive
xieyufei1993/TextSnake.pytorch
5f635a410f99f01729e4ade5454b7f19b07c3000
e5eafdfc3845823dfef297ca6e576a1d72af57f7
refs/heads/master
2020-04-15T04:55:11.772700
2019-01-07T08:54:37
2019-01-07T08:54:37
164,401,634
0
0
MIT
2019-01-07T08:32:19
2019-01-07T08:32:18
null
UTF-8
Python
false
false
1,662
py
import torch import numpy as np import cv2 import os from util.config import config as cfg def visualize_network_output(output, tr_mask, tcl_mask, prefix): tr_pred = output[:, :2] tr_score, tr_predict = tr_pred.max(dim=1) tcl_pred = output[:, 2:4] tcl_score, tcl_predict = tcl_pred.max(dim=1) tr_...
[ "princewang1994@gmail.com" ]
princewang1994@gmail.com
0a7d856b55326966396ccfde7e006198513b05eb
212efe1339d27651fee1a933706f7f93c5ba67b5
/爬虫-Day06动态数据爬取/02_selenium和Chorom操作百度界面.py
d9d5fcf03ab17dc797f1168cb0fc0d531f925131
[]
no_license
MMrLiu/LiuShuaitao
a747376eadd022f51609693abbedd43fab1b694d
79ab66e0550eeba5e4a0566695ac497df23e4efd
refs/heads/master
2022-12-04T13:23:52.965453
2020-08-24T10:16:26
2020-08-24T10:16:26
103,352,294
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
# 导入包 from selenium import webdriver import time # 设置当前谷歌浏览器不进行界面渲染 from selenium.webdriver.chrome.options import Options # 创建一个配置 option = Options(); # option.headless = True # 无界面 # [1]调用谷歌驱动 - 带界面 - 效率低 driver = webdriver.Chrome(options=option) # [2]请求一个网站 driver.get('https://www.i4.cn/') # [3]获取网站数据源码 # data = dri...
[ "mmrliu@163.com" ]
mmrliu@163.com
b0e6213b906a3c9ed44d794883b2a6715bbdaf0b
a0b7e5eb015eb3ca35ac14d3d9a6c6f9780ad190
/mqtt.py
e0908fdc1c188993f7e659714efe2080a2caf670
[ "MIT" ]
permissive
DrTom/hab_comfoconnect2mqtt
445fab80a9130b2fbcb12543b812df49bbbee520
a919bdcb9e6253583c089ea2f553a6f8ebef035d
refs/heads/master
2020-04-20T13:07:58.154542
2019-05-19T11:53:51
2019-05-19T11:54:05
168,860,930
1
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/usr/bin/env python import paho.mqtt.client as mqtt # The callback for when the client receives a CONNACK response from the server. def on_connect(client, userdata, flags, rc): print("Connected with result code "+str(rc)) # Subscribing in on_connect() means that if we lose the connection and # reconn...
[ "DrTom@schank.ch" ]
DrTom@schank.ch
0162308e5d04959a8adf7fbaa5e7cb5f99e8fd47
93f0e371eaf76da4623befea4d7b5306095cc3dd
/lessonprep/turtlegrapics.py
f5c213b08fa8497a65701d9237223daca47a6777
[]
no_license
Davestrings/PythonCode
1e760e8d63a755893d84a67333d7a36b98a0fea5
48103a9aad3d97ba3e581e6d2833993992f8eed0
refs/heads/master
2020-12-13T19:02:33.054886
2020-11-13T16:18:16
2020-11-13T16:18:16
234,503,157
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
import turtle as t def setup(): t.Screen() t.screensize(1000) t.bgcolor('blue') t.speed(0) t.hideturtle() def body(): t.penup() t.goto(0, 250) t.pendown() t.circle(120) t.fillcolor('white') t.penup() t.goto(0, -10) t.pendown() t.circle(80) t.penup() t....
[ "fatunbidavidkayode@gmail.com" ]
fatunbidavidkayode@gmail.com
fa41abde6ebd66915adb29acf84fd09bb407d0dc
6f74475f1e314378297dcbababfaa1d8978d0f54
/venv/Lib/site-packages/supervisor/web.py
1d06dc1f2b5559c2c3635733700e1408f804aec5
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
wenyueFan/devopsOfBk
74dbe2ea960ec4e66fcf00ac4ced5b9f278c285b
ab5f53f2296101ecb40f8f1b3eead7aa736d12fa
refs/heads/master
2022-10-06T03:20:48.940202
2020-03-17T03:27:20
2020-03-17T03:27:20
157,644,397
0
0
NOASSERTION
2022-09-16T17:52:55
2018-11-15T03:06:21
Python
UTF-8
Python
false
false
23,522
py
import os import re import cgi import time import traceback import urllib import datetime from supervisor.medusa import producers from supervisor.medusa.http_server import http_date from supervisor.medusa.http_server import get_header from supervisor.medusa.xmlrpc_handler import collector import meld3 from superviso...
[ "fanwenyue2006@126.com" ]
fanwenyue2006@126.com
44c12b3df66472acd4049e23df201a02cb251da8
e588da296dd6ec3bedee9d24444dfca6e8780aef
/7.py
124a9ecd248a7bc484cd69e9c13fa6dc847fb673
[]
no_license
sujith1919/TCS-Python
98eac61a02500a0e8f3139e431c98a509828c867
c988cf078616540fe7f56e3ebdfd964aebd14519
refs/heads/master
2023-03-02T09:03:10.052633
2021-02-02T16:40:18
2021-02-02T16:40:18
335,355,862
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# getting started with if aura = 2 if aura < 2.5: print "you are not healthy" # if else aura = 2 if aura <= 1: print( "You're dead!" ) else: print( "You're alive!" ) input( "\nPress Enter to exit..." ) # if elif else aura = 2 if aura <= 1: print "You're dead!" ...
[ "jayarajan.sujith@oracle.com" ]
jayarajan.sujith@oracle.com
a2b0473e8d15c63a5af714b108e19f3e0d6828cc
89f490b1290e64fd76a2b1717ce52bb9efddbf9e
/extra/example.py
2fe36e8dd0f9d782959598835592f53c3917a038
[ "Apache-2.0" ]
permissive
Auugustocesar/NabBot
7f5238e6c1e60a7b7b8cf3b1905bffe613715714
f5dd02768195e852f312f19b61793e97692bcb23
refs/heads/master
2020-04-24T09:40:35.167280
2019-02-04T20:18:40
2019-02-04T20:18:40
171,869,696
0
0
null
2019-02-21T12:41:43
2019-02-21T12:41:43
null
UTF-8
Python
false
false
1,865
py
from discord.ext import commands from nabbot import NabBot from cogs.utils import checks from cogs.utils.config import config from cogs.utils.tibia import get_share_range class Example: """Example cog""" def __init__(self, bot: NabBot): self.bot = bot def __unload(self): """This will be ...
[ "allan.galarza@gmail.com" ]
allan.galarza@gmail.com
e5cf68fe8b17a972e06917dbe9199e7427f5c2f9
cef34a9dec4c88aa2e9f5a945927a4896224db5d
/Multi Layer Perceptron/mlp.py
edf1e2a03f38b9c869627eed48f7a6403e47558e
[]
no_license
yerok/Statistical-Machine-Learning
8546e034dc663fbec54687b630172699896dd201
d590c4ec95ae2f4827af85bcfd60cacdc12d4bc3
refs/heads/master
2021-10-16T04:16:39.508401
2019-02-07T16:13:05
2019-02-07T16:13:05
115,798,690
1
0
null
null
null
null
UTF-8
Python
false
false
27,246
py
from __future__ import print_function import numpy as np import matplotlib.pyplot as plt from collections import defaultdict import gzip import os import pickle as pickle import urllib # --------------------------------------- # -------------- DATASETS --------------- # --------------------------------------- def lo...
[ "jimmy.leblanc@etu.univ-nantes.fr" ]
jimmy.leblanc@etu.univ-nantes.fr
6f280b2ebcba4084589b60a8f6f9e3f93de48dc3
8ad1a86ee4a2ea9a391fcaad02086af781a6b384
/cartoonify.py
409f7a2dc9434e9656e7bedb75a00b02b076a630
[ "MIT" ]
permissive
adl1995/image-processing-filters
5238278594256b1cbce6dc218f53fd36bb6ee5e2
850e4a6e23ef0f3843cc306cf1e42569f705f07e
refs/heads/master
2020-04-06T04:27:13.163935
2017-02-23T09:16:31
2017-02-23T09:16:31
82,903,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
#!/usr/bin/env python __author__ = "Adeel Ahmad" __email__ = "adeelahmad14@hotmail.com" __status__ = "Production" import matplotlib.pyplot as plt import numpy as np import skimage as ski import Image def cartoonify(im, display=False): """ function receives an image and add its gradient magnitude in it and add it ...
[ "=" ]
=
9f426f14a9c50f481bb32c219bebb40e5e099ba0
ec8b04108de6eee3d1676df2d560045458c23b66
/bchscript/bchopcodes.py
1fda707d29cf5ff17553f3c18d109fb2278d9d61
[ "MIT" ]
permissive
gandrewstone/bchscript
d8679d29603720d41c99f44a9ce7ae5501465582
c73a69f259b4cfb71546903c736e4a94fd0680d7
refs/heads/master
2021-07-15T15:29:58.218262
2020-05-13T19:39:19
2020-05-13T19:39:19
135,616,739
7
4
null
null
null
null
UTF-8
Python
false
false
2,799
py
opcode2bin = { # push value "OP_0": 0x00, "OP_FALSE": 0x00, "OP_PUSHDATA1": 0x4c, "OP_PUSHDATA2": 0x4d, "OP_PUSHDATA4": 0x4e, "OP_1NEGATE": 0x4f, "OP_RESERVED": 0x50, "OP_1": 0x51, "OP_TRUE": 0x51, "OP_2": 0x52, "OP_3": 0x53, "OP_4": 0x54, "OP_5": 0x55, "OP_6...
[ "g.andrew.stone@gmail.com" ]
g.andrew.stone@gmail.com
e717e626c031df9a19ca4ed3c60e1dc17c7e7a9d
d4f3089dfba275c82e1d3733d8318658ac594d32
/step5.1-compareNetworkWithGoldStandard.py
c715d7c9d3e651828545a0bf004c11171c49c60c
[]
no_license
chemokine/python-scripts
34680a812ad55ad97976c1fcfc0930b2ffc18241
f74c0ec5ca1a154931c71c5975c5b412ce224b77
refs/heads/master
2021-01-25T14:39:32.317179
2016-08-17T18:13:11
2016-08-17T18:13:11
33,831,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
import os import pandas as pd import time import sys import pylab as pl from sklearn import metrics from sklearn.metrics import roc_curve, auc resultFolder = "/global/scratch/xiaoxi/projects/GEO/scripts/result/network/cancer/Homo_sapiens__numberOfSimulation-100__numberOfDatasetsToSample-150__correlationMethod-" def cre...
[ "dfdongxiaoxi@gmail.com" ]
dfdongxiaoxi@gmail.com
b09bf4b28d6b594b0e715effe5bc7c1c947ca501
335eb3cd12e97581dd6a83296953b89170f67302
/rock_paper_scissors.py
32d4fbc2e980d9cfedc63dcc7ec30d1a02dec2d5
[]
no_license
eirkostop/Python
c4b6881dedf6d7af16311887a285f038d30ebc5f
e132403818ebb904fb07f4da35e3b11c21af482e
refs/heads/master
2020-05-25T03:49:13.106826
2019-11-16T09:38:49
2019-11-16T09:38:49
187,612,731
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import random choices = ['rock', 'paper', 'scissors'] player_points = 0 computer_points = 0 while player_points < 3 and computer_points < 3: player_choice = input('Choose rock, paper or scissors: ') player_choice = player_choice.lower() while player_choice not in choices: player_choice = input('Ch...
[ "lysistrat@hotmail.com" ]
lysistrat@hotmail.com
21b078718717a70a60a2c48e1176daaf13f729a3
fd238c847c0cfc71a1114ee09bde350e93f1b5b8
/practice1/practice1-9.py
1129cb79bc0759f03eb57d49b5c22ab440c977a5
[]
no_license
ApplauseWow/IT_new_technique_assignment
2f934dab39be4a2b1bc9afb39a89841c96817994
cd6236459c3c78e757cde80998379f5d7d4c3399
refs/heads/master
2021-10-27T05:09:29.133907
2019-04-16T03:19:58
2019-04-16T03:19:58
180,495,470
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
# -*-coding:utf-8-*- # created by HolyKwok 201610414206 # 统计电影工作人员 # practice1-9 import numpy as np def static_num(top_dic, who): """ 统计参与数 :param top_dic: 统计表 :param who: 统计对象 :return: none """ top_dic[who] = top_dic.get(who, 0) + 1 def list_top(statistic_list): """ 显示统计结果 ...
[ "holykwok@163.com" ]
holykwok@163.com
6d9ac4b8268198a0baea9753583be94ef5bf5a41
41cd308910049a9af29896550e94c4fa5ac7bd19
/practice37_pass.py
111fa0e82633b2b92fabc82acf2d0db35422eeac
[]
no_license
OO-b/python_basic
627de5994d7cb7c91b2b4dea8ba6a2ab2b80317c
9f9aa62c11bb5f6cf67e107693b6c5386fc480e5
refs/heads/main
2023-06-19T23:07:01.932347
2021-07-18T14:37:55
2021-07-18T14:37:55
344,044,396
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
#pass #: 아무것도 안하고 일단 넘어간다 # 일반유닛 class Unit: def __init__(self, name, hp, speed): self.name = name self.hp = hp self.speed = speed def move(self, location): print("[지상 유닛 이동]") print("{0} : {1} 방향으로 이동합니다. [속도2]"\ .format(self.name, location, self.speed)) ...
[ "baeiiyy@gmail.com" ]
baeiiyy@gmail.com
78053329357a80d9505891224f3f336f78edc62a
9517f00e8a84b3a59c395af8b0b8e045c04674f9
/covidData/manage.py
fbc808e6e6e3065cd6e0ad4d9df79866810a77c5
[]
no_license
nkrishx/openAppRepo
b9a1d182ad4a13b6dc131a2690c40d365a96850b
9897ed640cc36dc8259a232ef980cd3ddc1221ee
refs/heads/master
2023-09-05T05:02:49.799799
2021-11-17T11:20:11
2021-11-17T11:20:11
427,826,249
0
0
null
null
null
null
UTF-8
Python
false
false
665
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', 'covidData.settings') try: from django.core.management import execute_from_command_line except Im...
[ "naveen.gowda.rm@gmail.com" ]
naveen.gowda.rm@gmail.com
84a465ac06841641b8d85e9347c56bd55734883f
cb087f1f5ce9d2a64e75614284fe2e38cdb85233
/src/cayenne_client.py
3cf7e3ba9e886e1c01a162128d9de5e828ba09f2
[ "MIT" ]
permissive
dsidor/home-iot
e7fe6aea1695dd2e39718f9c22338df8eb2448c7
03313de5c5b7470e52d391d407af63e35db9e3c0
refs/heads/master
2022-04-26T23:22:55.598875
2022-03-16T15:34:30
2022-03-16T15:34:30
83,122,035
0
0
MIT
2022-03-16T15:34:32
2017-02-25T09:44:56
Python
UTF-8
Python
false
false
1,441
py
import cayenne.client from cayenne.client import CayenneMessage, TYPE_RELATIVE_HUMIDITY, UNIT_PERCENT import time #from drivers.hts221 import Hts221 # Cayenne authentication info. This should be obtained from the Cayenne Dashboard. MQTT_CLIENT_ID = '31b6c4c0-facd-11e6-a722-0dd60d860c87' MQTT_USERNAME = 'f22327f0-a8eb...
[ "damian@kontakt.io" ]
damian@kontakt.io
03354dc6ce266c9bba9011d61e93cc92ed2d2041
78bb44c98f241d16a853e318cdbe9573d307d3e1
/google/appengine/tools/devappserver2/devappserver2.py
6c15f6f360755323a22c83db4010b7bf4fade2c4
[ "Apache-2.0" ]
permissive
vicmortelmans/catholicmissale
2a8129eef31142b43e66fbd72620c7454b3c929b
b36916181d87f4f31f5bbbb976a7e88f55296986
refs/heads/master
2021-01-17T11:36:49.768808
2020-11-17T18:14:16
2020-11-17T18:14:16
11,186,395
1
0
null
null
null
null
UTF-8
Python
false
false
40,546
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # 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 required by applicable law o...
[ "vicmortelmans@gmail.com" ]
vicmortelmans@gmail.com
548e71f94d58e9cc020a8279722b8113107429fe
57a70f402b555061b540da26e072d3227e2f9f1b
/Electshelf/testcase/test_018_send_delGoods_package.py
51e8a90636ea470a39368094549a728c0c9a0c39
[]
no_license
yushen1993/yushen
46caa8fea19e71eb62fee53be8c28861a27112c5
97bd73032ba7141091b073722508bd48fe54a795
refs/heads/master
2020-11-30T15:32:43.094176
2020-08-07T02:56:19
2020-08-07T02:56:19
230,431,226
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
#-*- coding:utf-8 -*- # @Author : yushen # @Time : 2020-04-01 10:06 from electshelf_Common_Lib.common_libs import * def test_018_send_delGoods_package(): '''删除分类下商品''' #删除商品前先列出分类商品,获取caseid response =commodityManage_queryCategoryCommodity() assert response['meta']['errno'] == 0 assert response['me...
[ "1140656553@qq.com" ]
1140656553@qq.com
d4afff4bf853ce2396e510f7b56cc75c24dabd65
6dac326bc43ac671748b1866b109a808cc7dcf39
/backend/wallet/transaction_pool.py
453a5f95b373ff069e8fc84afd67ceaf19e17b62
[]
no_license
gautyverma/Da-Coins
bbffee93983e647c6ff6a530465643ae94e9ebf2
fe2b96abeb28a2dfa8188325664df542565278c7
refs/heads/master
2022-11-15T07:45:46.428835
2020-07-09T16:02:18
2020-07-09T16:02:18
278,345,257
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
class TransactionPool: def __init__(self): self.transaction_map = {} def set_transaction(self, transaction): """ Set a transaction in the transaction pool. """ self.transaction_map[transaction.id] = transaction def existing_transaction(self, address): """ ...
[ "32440155+gautyverma@users.noreply.github.com" ]
32440155+gautyverma@users.noreply.github.com
d8c998171350105a1f7df527c014dcc42b7a88d6
e493f7696a81ed31bb2de908ea6f9c05a4669be9
/autoshots/__init__.py
b36eb36e832971b589f059da0b43530bf2b24ddc
[]
no_license
cz4rny/AutoShots
597d0eaeb2f537963f087b6b6fba6e90cbbbed14
301dadd19317ceb76297959e760842faeccc764c
refs/heads/master
2021-01-10T20:32:15.905313
2011-09-09T19:00:50
2011-09-09T19:00:50
2,355,324
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
# -*- coding: utf-8 -*- import autoshots import job __all__ = ['autoshots', 'job']
[ "cezary.krzyzanowski@gmail.com" ]
cezary.krzyzanowski@gmail.com
72c9c9813eee51be77582a53539c011c085177f0
3d599a1c9110388d2f2e60be687b7d01bc254feb
/doc/examples/python/forum/router_spin.py
53182acb16833723f0455652ad8cc4f3f702f784
[ "MIT" ]
permissive
jacksontj/dataman
4bed72c6d15de618271163a3c59f9f3a1c52246a
49e54609ed1c4232d940bd60b76ebb79edc6d4af
refs/heads/master
2020-05-23T19:33:44.202445
2019-02-22T03:47:12
2019-02-22T03:50:06
84,783,502
12
7
MIT
2019-02-22T03:50:08
2017-03-13T04:19:04
Go
UTF-8
Python
false
false
1,541
py
import random import json import tornado.ioloop import tornado.httpclient http_client = tornado.httpclient.AsyncHTTPClient() schema_json = json.load(open('example_forum_sharded.json')) schema_json['name'] = 'example_forum' # set the datastore id schema_json['datastores'][0]['datastore_id'] = 54 @tornado.gen.corout...
[ "jacksontj.89@gmail.com" ]
jacksontj.89@gmail.com
eab0d7e8ecde7d24751b1fd7c972a81e7ba3a896
22b19bb6404dae3f9e2f8340972c81efbd532e3b
/NetSCAN/netscan.py
20cffcca4674cc53519abfe1bca36167d777adc2
[]
no_license
Talessil/parallelized-dc
0a75e10d4f0d4b87aaa62531b3fb8798f6a38d5d
0222d52879aaabde107e5ef9d90278f1a3f206aa
refs/heads/master
2021-02-11T08:54:55.469545
2021-01-24T00:05:10
2021-01-24T00:05:10
244,474,721
4
1
null
null
null
null
UTF-8
Python
false
false
1,098
py
from neo4j import GraphDatabase import pandas as pd import csv import time graphdb = GraphDatabase.driver(uri="bolt://localhost:7687",auth=("neo4j", "1234")) if __name__ == "__main__": start_time = time.time() session = graphdb.session() session.run("Load csv with headers from 'file:/graph.csv' as csvlin...
[ "noreply@github.com" ]
Talessil.noreply@github.com
9bd5c03b079f38c49033ce349f05d09a582df453
e505339761042a6ab3e4c42157c365d53fdb28f3
/Language/Python3/Python编程从入门到实践/Chap8-函数/01_Album.py
19a77ee933e6fe15687fc40024ba7cf734741cd7
[ "Apache-2.0" ]
permissive
edmontdants/Programming-Practice-Everyday
e3d56a36e543d763f0f632b34ace3ad00ffef8ef
029138569f455c22c0d093ab1cdb3962d71ca701
refs/heads/master
2023-02-04T00:30:29.860568
2020-12-19T12:40:59
2020-12-19T12:40:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
""" @Author: huuuuusy @GitHub: https://github.com/huuuuusy 系统: Ubuntu 18.04 IDE: VS Code 1.35.1 工具: python == 3.7.3 任务: 1. 编写一个名为make_album()的函数,它创建一个描述音乐专辑的字典 这个函数应接受歌手的名字和专辑名,并返回一个包含这两项信息的字典 使用这个函数创建三个表示不同专辑的字典,并打印每个返回的值,以核实字典正确地存储了专辑的信息 2. 给函数make_album()添加一个可选形参,以便能够存储专辑包含的歌曲数 如果...
[ "hushiyu1995@qq.com" ]
hushiyu1995@qq.com
34ca2b289959dcce975ee9aadfc5c93342a2b0a0
a4fdeb66f18ff6126a89309a256467f6f0310586
/modulo1_ordenacao/src/grafo.py
f3718197f70366114c15c4a2c6592346b69fb66f
[ "Apache-2.0" ]
permissive
FelipeAguiar1/Works-ED2-2019.2
741d21c90fa7890e4afdb191618f50befbd95890
15220687c175fe1a50db83420cbaeaf6efcc561f
refs/heads/master
2020-08-06T08:51:35.489577
2019-10-04T23:06:19
2019-10-04T23:06:19
212,913,669
1
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
import json import copy class Grafo(object): def __init__(self): self.algoritimoDeOrdenacao = None self.vertices = None self.arestas = None return def _algortmoDeOrdencaoErro(self): if self.algoritimoDeOrdenacao is None: print('Algoritmo de Ordencação Nulo,...
[ "noreply@github.com" ]
FelipeAguiar1.noreply@github.com
ecaf9b7b1a288e185e38861e2fd16d215ddb80a2
2a02e4e4bd05e0a6c71c302feb723e5817964b17
/caps_project/caps_project/asgi.py
bcd593334a8b8593afabb0ee4f02ccd20cfd7f16
[]
no_license
dishankkalra23/blog-website
f92f0a529d2f601464f1c0027cebec2fd450b566
2c217a16b1afafd881f64b6d5b2752a5d6a782db
refs/heads/master
2023-04-21T21:22:39.611933
2021-05-02T07:15:14
2021-05-02T07:15:14
361,186,690
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for caps_project project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "dishankalra@gmail.com" ]
dishankalra@gmail.com
73413f54b7519e3ecf3e8f8b3abd31abc01d4147
3c9d472aa6b02c2e0ae6a5ef1566fc266558249a
/test/augmentation/test_container.py
ca72bb148d7ed53333515458f77bb9ab563df26f
[ "Apache-2.0" ]
permissive
unite-deals/kornia
bf23eb835443f4a19ff745b7795f3474b746c691
397e2e4928387004b42c66ebf614069dd619183c
refs/heads/master
2023-06-11T03:49:43.925818
2021-06-27T08:54:01
2021-06-27T08:54:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,618
py
import pytest import torch from torch.testing import assert_allclose import kornia import kornia.augmentation as K from kornia.constants import BorderType from kornia.geometry.transform import bbox_to_mask class TestVideoSequential: @pytest.mark.parametrize('shape', [(3, 4), (2, 3, 4), (2, 3, 5, 6), (2, 3, 4, 5,...
[ "noreply@github.com" ]
unite-deals.noreply@github.com
fcdd07b215cc8020fc9283218ec26953827e5584
38bd2c22647e0ac575e48ca52f9c5365bf32733d
/List-2/sum13.py
6bf6818b382249eb505d15b6f3f6e4033e3a3d8a
[]
no_license
KasperOmari/Coding-Bat-Solutions
dd3bc2f4b847d7e85e8b91868834c0a8014acef3
c1a21b6346b0901b34b683554235c5527a3c217f
refs/heads/master
2022-12-27T22:38:50.011476
2020-10-09T15:37:03
2020-10-09T15:37:03
150,594,582
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
def sum13(nums): cnt=0 for i in range(len(nums)): if(nums[i]!=13): cnt+=nums[i] if i<len(nums)-1 and nums[i] == 13: nums[i]=0 nums[i+1]=0 return cnt
[ "mohammadomari852@hotmail.com" ]
mohammadomari852@hotmail.com
9661a9d0dc51343f6a8a8b2309a834244ba67b1b
7ebd6061a5152f537b9d1838ecfd3a326089ee70
/src/ant/plus/rower.py
73545d9d9450e8dda7c6a596903ed3ac7b9965b8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mch/python-ant
13e629de185ecd5bb4f6ffd5520d5034a37d0ef7
02e045825434a17ffe113a82cc8191683223ea5f
refs/heads/master
2022-02-17T07:00:35.360513
2022-02-01T04:02:16
2022-02-01T04:02:16
89,795,395
21
14
MIT
2022-02-01T04:02:17
2017-04-29T15:46:59
Python
UTF-8
Python
false
false
1,785
py
# -*- coding: utf-8 -*- from .plus import DeviceProfile from .genericFEC import genericFEC ################################################################################################# class rower(DeviceProfile): channelPeriod = 8192 deviceType = 0x11 #FE-C name = 'Rower' de...
[ "noreply@github.com" ]
mch.noreply@github.com
22677b52a969991dfb9411ba83a44021d785fc65
c6ebec2a2849baa82bc6528a480818329c6c1f38
/RoboND_Mapping/build/common_msgs/shape_msgs/catkin_generated/pkg.develspace.context.pc.py
ff07f30c170bc8dbf07f867d034b68a6b067bf2a
[]
no_license
ykim104/udacityRoboND
01b7ffbadde28a210831dc6eda4cae73418b1b10
d755d1c089bd2b0923dd0af3fe5aed581cc7de9d
refs/heads/master
2020-03-16T04:19:05.701579
2018-06-02T02:30:09
2018-06-02T02:30:09
132,508,403
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/nvidia/catkin_ws/devel/include".split(';') if "/home/nvidia/catkin_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;message_runtime;std_msgs".replace(';', ' ') PKG_CONFIG_L...
[ "kimyejin2000@gmail.com" ]
kimyejin2000@gmail.com
2768addb0155e27ca34a39ccb331b205053d5bc9
5ae0ca549a9355afe19c06896dd799aabae8b5b0
/Util_Cmd/StringContent.py
b8b128659a6657dd51cab844460069d35f1632d5
[]
no_license
Jack-GVDL/Scheduler-Backend
b4aa2a353a4802ef0dcf934baf99722ee7e86571
2d61a00fcd46a9958c072490d9eecc0ee57c3f47
refs/heads/main
2023-08-28T01:33:53.806244
2021-04-07T13:36:41
2021-04-07T13:36:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from typing import * class StringContent: def __init__(self, content: str, color_fore: str = None, color_back: str = None) -> None: super().__init__() # data self.content: str = "" self.color_fore: str = None self.color_back: str = None # operation self.content = content self.color_fore = color_f...
[ "33114105+Jack-GVDL@users.noreply.github.com" ]
33114105+Jack-GVDL@users.noreply.github.com
cb7b43959e66eccc6a45b38d394ee5813bf926a6
d73a3ac0e7da9aece5d0144189a10d711490ca38
/Exercise Files/Chap14/modules.py
882ee6b17655b669c3ac997cfa1c12dd7c027c26
[]
no_license
YancongLi/Python_Essential_Training_ExerciseFiles
f55fe7870ba9516410cb0aaf91c7d471bc117b1a
7405b014888fb463587aaf66c2dbf0b795deb21f
refs/heads/master
2020-03-12T12:26:19.415089
2018-08-06T21:30:35
2018-08-06T21:30:35
130,618,076
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
#!/usr/bin/env python3 # Copyright 2009-2017 BHG http://bw.org/ import sys import os import random import datetime def main(): v = sys.version_info print('Python version {}.{}.{}'.format(*v)) print(os.name) print(os.getenv('PATH')) print(os.getcwd()) print(os.urandom(2).hex()) pr...
[ "yancong.li@alumni.ubc.ca" ]
yancong.li@alumni.ubc.ca
9c8f03a0ffd05d3f984cc70d72601e55f3a6a65a
6069d7014aeb8070375a4b8af77190f79e62831e
/data.py
0e8330dd52eb43240626bfb01dcd176c3874e67f
[]
no_license
0k/report_xml_crafting_libs
626de616de7fc343c71b65428b4c0fdf1b52f2d6
f1ef6ff7ddf59bae7a50aa108ddd2e625f516b77
refs/heads/master
2021-01-02T08:52:31.257203
2013-04-03T16:27:20
2013-04-03T16:27:20
9,198,994
1
0
null
null
null
null
UTF-8
Python
false
false
265
py
"""Data manipulation functions """ from openerp.addons.report_xml.mako_tools import register, MakoParsable @register def group_by(elts, key): heaps = {} for elt in elts: k = key(elt) heaps[k] = heaps.get(k, []) + [elt] return heaps
[ "valentin.lab@kalysto.org" ]
valentin.lab@kalysto.org
d6b8e853f9e2dcfadc229abb2dea4c6529b52973
e9a5ab0267b49e2d2268db2807ac4fdf35ed3d54
/Python/barrage/barrage_test.py
3b1a32bb5b156842c2593771675f10260087f6f4
[]
no_license
masterkeze/oldprojects
73f0303fc0e96ee566d6a235fecaef34e32c45e4
0460d1a0db5b0d4e5c223adcc2244e24ff8e53b5
refs/heads/master
2022-11-25T18:02:29.252241
2020-08-02T09:22:57
2020-08-02T09:22:57
284,399,246
0
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
from tkinter import * import random,time,math height = 400 width = 600 root = Tk() root.title('Barrage test') root.geometry('%sx%s+100+100'%(width,height)) C = Canvas(root, bg='gray', height=height,width=width) C.place(x=-2,y=-2) class bullet(): def __init__(self, diameter = 5, x=width/2, y=height/2, direction ...
[ "861168745@qq.com" ]
861168745@qq.com
826424a346ad68a935553be2dea4bccd54fafd34
9f1fb85f723496724c4c1360029cc75e0c1ed109
/elgamal/elgamal.py
0489fd1d52736dfcc49596d78d710f928465aa59
[]
no_license
mrybarczyk/krypto-projects
541dcf3fbc2802823c08d051f820c0c52c700b3b
bbb17a3d6c93c56cca5eed07c2942db23af5f0db
refs/heads/master
2023-03-14T16:55:37.866137
2021-03-31T15:44:01
2021-03-31T15:44:01
353,400,130
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
import sys import random import fractions def error(): print("Podany parametr nie jest obslugiwany.") def keygen(): while True: try: elgamal = open("elgamal.txt", "r") except IOError: print("Nie znaleziono pliku elgamal.txt") break ...
[ "martarybarczyk98@gmail.com" ]
martarybarczyk98@gmail.com
72e84d55486531cd727781a7e20e14c5748f4fb7
ea0d8963a12d6a4c0691adcf2418868681c6c267
/main.py
2f9fefbaea02091e32283a51b756f84f0de5c7a5
[]
no_license
ericmcmullen/Extreme-Weather-Alert-System
748d00f01b63b1990060b6a8ec1dbb0f4e1ed910
7d23ba37acb09e52181eefa7812a197d5d2da327
refs/heads/master
2020-05-15T10:21:13.016735
2019-04-19T20:23:11
2019-04-19T20:23:11
182,190,798
0
0
null
null
null
null
UTF-8
Python
false
false
2,474
py
# Extreme Weather Alert System # 2019 Eric McMullen # Author: Eric McMullen <ericmcmullen.com> # URL: <https://github.com/ericmcmullen/Extreme-Weather-Alert-System/> # An Extreme Weather Alert System. Used openweathermap.org api, # SMTP email sending and hosted for free on pythonanywhere.com. # The program recieve...
[ "noreply@github.com" ]
ericmcmullen.noreply@github.com
9673be696228ffcd9432425eb21b08e390e2649b
1331557a8e49c42841d8cb8950a6b8d76b72f2fb
/labs/image_manipulation/lab_16.py
d82116a249481791e4239570d3b6d3cd687edf29
[]
no_license
mfroehlich1/Bootcamp_Froehlich
9d6273d5e07102367773a5ff1ba5df8dd444004f
a2d80fd438ebb1575a63da2d7888847eaf56acf4
refs/heads/master
2020-05-04T05:39:17.400810
2019-05-10T00:57:31
2019-05-10T00:57:31
178,989,710
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
from PIL import Image img = Image.open("Lenna_(test_image).png") # must be in same folder width, height = img.size pixels = img.load() for x in range(width): for y in range(height): r, g, b = pixels[x, y,] brightness = int(0.299*r + 0.587*g + 0.114*b) pixels[x, y] = (b, r, g) img.show()...
[ "mitchel.froehlich@gmail.com" ]
mitchel.froehlich@gmail.com
0c09866708a9484b26d01272c5a19419dc93c290
77e9243eae852d3890bac2ff408b8332f91613f6
/FUnIE-GAN-master/TF-Keras/nets/funieGAN.py
570e905b44f329342a1025837855a39afe67f3ff
[ "MIT" ]
permissive
pj-solver/UnderWater-image-restored
1702aff4ca069dd12108ce949dc239699a873870
3130b516392ed561061b2b74102c1f480bb1be7c
refs/heads/master
2023-08-17T22:52:35.279874
2021-09-28T06:16:16
2021-09-28T06:16:16
411,114,771
0
0
null
null
null
null
UTF-8
Python
false
false
8,511
py
""" # > FUnIE-GAN architecture # - Paper: https://arxiv.org/pdf/1903.09766.pdf """ from __future__ import print_function, division ## python libs import os import numpy as np ## tf-Keras libs import tensorflow as tf import keras.backend as K from keras.models import Model from keras.optimizers import Adam from kera...
[ "you@example.com" ]
you@example.com
c93af26af9114e779d077516b4c930f1987d131c
93bf4bbafe0524335ea1216f7f2941348c2cd1bd
/tensorflow/examples/skflow/iris.py
ea44428d541ba09cea34e50db11e6a0be56b3d15
[ "Apache-2.0" ]
permissive
sachinpro/sachinpro.github.io
c4951734b09588cad58711a76fe657f110163c11
c3bbd8d89818f5d8bb7296c851ed5e52c19728e3
refs/heads/master
2022-12-23T10:00:13.902459
2016-06-27T13:18:27
2016-06-27T13:25:58
25,289,839
1
1
Apache-2.0
2022-12-15T00:45:03
2014-10-16T06:44:30
C++
UTF-8
Python
false
false
1,313
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # 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 required by appl...
[ "x0234443@ti.com" ]
x0234443@ti.com
bbfb7ee7500a0b560a1bdffd3c10e2ab2d3b2efa
d64a443604ca21f7bc7da696ba53dc0861be92dd
/twitter_alike/twitter_alike/asgi.py
5a9108db232f7edd749b2364281371fdc2ced83b
[]
no_license
tsuji1/django_twitter_tsuji1
bd7362ee0311d0af03312019c816da9e89b065c8
7e4d793d4fe6115cc892c04c909ff49b936ddc1c
refs/heads/master
2023-08-04T22:09:48.073169
2021-10-02T08:16:20
2021-10-02T08:16:20
405,905,434
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for twitter_alike project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "tyobigunngennsui@yahoo.co.jp" ]
tyobigunngennsui@yahoo.co.jp
a505fe43518e4a7a7b8b40f574a5d25741e3b63b
ec9b9bc9f5a91d51489d27b2ee3f90087a94a4c5
/graph_linear_regression.py
c277cd2f8bb832c60c97e0343ca78191cc715d7f
[]
no_license
xuetongwei/YelpReviwsAnalysis
e099b26def8b6c2f2ec90fee7ec09bf680a66544
fec47509abeaaede477e94618c70180ea97077ff
refs/heads/master
2021-08-23T12:28:35.749569
2017-12-04T22:38:08
2017-12-04T22:38:08
113,102,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,168
py
import matplotlib.pyplot as plt; import numpy as np width = 0.2 if __name__ == "__main__": print("LINEAR REGRESSION") x = 0.3155 y = -0.0733 objects = ("Ambience 1", "Ambience 2") position = np.arange(len(objects)) performance = (x,y) sample = plt.bar(position,performan...
[ "noreply@github.com" ]
xuetongwei.noreply@github.com
b9f3c730e9b405fd15290052511631684da3d575
1ef354d23be4f3fbd6edecfe4edd720ee775f11c
/snippets/serializers.py
7ec53a42ef3ef097d0e58e5858602cc360e54f17
[ "MIT" ]
permissive
damiclem/django-rest-tutorial
8d8fb945fa1adede242c47ab5a3a73fd4226e873
a8bfce3e94cd8c8d7b1bc2d8ed851980e38b86fa
refs/heads/main
2023-08-21T11:30:57.209332
2021-10-18T15:09:45
2021-10-18T15:09:45
417,547,669
0
0
null
null
null
null
UTF-8
Python
false
false
3,365
py
# Import serializers library from rest_framework import serializers # Import snippet module from snippets.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES # Import user module from django.contrib.auth.models import User # class SnippetSerializer(serializers.Serializer): # class SnippetSerializer(serializers.Mod...
[ "damiano.clementel@gmail.com" ]
damiano.clementel@gmail.com
be637a40b4825a8a91e3ae57ee0fe1e0afdde849
453d9e4f703d44d9f915b8f31f8a386476c76838
/LIstings/migrations/0007_auto_20191124_0437.py
0f0835de9d9986211747e3f2f4a9c4aded09abf9
[]
no_license
narendraiungo/IUNGOInteriors
0fb7fe5ce60edcd6ff77c178f719a342b6a86758
19aa01ae4d3992088d3f3e0461682683bf218856
refs/heads/master
2020-09-17T00:56:24.387522
2019-11-25T12:04:52
2019-11-25T12:04:52
223,938,492
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
# Generated by Django 2.2.7 on 2019-11-24 04:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('LIstings', '0006_remove_iungouser_profile_image'), ] operations = [ migrations.DeleteModel( name='Architects', ), ...
[ "narendra@iungoadvantec.com" ]
narendra@iungoadvantec.com
ef0e043eabe1dd4b86656981f0f292e482495b8f
a4ce81b1bea451cf9ebe633f0aebc67d36efdfa3
/task_23/todo_list_02_用户登录/routes.py
fadc71321aa8b0cc6745790efe8bc7d781d05dae
[]
no_license
DaZhiZi/python.davizi
c0618beb0fb9d86553ed281a72bdb12babe9841f
0fc0753754b9800b6544c7e04507cf74993f13e2
refs/heads/master
2022-10-25T12:59:14.362193
2020-06-11T03:04:59
2020-06-11T03:04:59
240,255,974
4
0
null
null
null
null
UTF-8
Python
false
false
7,193
py
from utils import log from models import Message from models import User import random # 这个函数用来保存所有的 messages message_list = [] # session 可以在服务器端实现过期功能 session = {} def random_str(): """ 生成一个随机的字符串 """ seed = 'abcdefjsad89234hdsfkljasdkjghigaksldf89weru' s = '' for i in range(16): # ...
[ "2799987642@qq.com" ]
2799987642@qq.com
ac4141a56f2e09c75309c00199565753190c690b
81e6c0e33c7d249090c121fe943572463f9eff3b
/Dustin Ch 5.11 Math.py
52a4980dcb8f13d7ff4d80aaf224d4aecd3ecd6f
[]
no_license
DustinSmith37/Python-Stuffs
a42d5da555db90d036b54a3164231868ec9a57ab
021cc95ba9ea8f33bbc1d7db33d61ffad30e3960
refs/heads/master
2020-04-09T18:55:14.572959
2018-12-05T14:45:15
2018-12-05T14:45:15
160,528,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
#Dustin Smith #Problem 11 #Random math problems #import random import random #question counter question = 1 #input check def inputCheckerInt(inputTopic): while True: try: userInput = int(input(inputTopic)) return userInput except ValueError: pr...
[ "noreply@github.com" ]
DustinSmith37.noreply@github.com
d96e0cb24eff922f7e3a208ea0bd1836652f6387
0bd7132b29ac5cf509e6728116f8d4af9a6561d8
/SSC-hcsr5.1.py
3196064c5d5f7d25393c27d2c9ed0744329eebac
[]
no_license
ppigmans/SSC-Sensor-packet
e0ac326c5639a21f9597933562ed544d06ed0cc4
cfda67dc3c9bf308e8c1c5f9d6cfe5270a8415ac
refs/heads/master
2020-03-21T02:39:16.400031
2018-06-21T07:30:00
2018-06-21T07:30:00
138,010,076
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
import RPi.GPIO as gpio import time import paho.mqtt.client as mqtt import json gpio.setmode(gpio.BOARD) spin1 = 7 spin2 = 11 gpio.setup(spin1, gpio.IN) gpio.setup(spin2, gpio.IN) host = '172.16.85.250' user = 'weather-station' msensor_1 = {0} msensor_2 = {0} next_reading = time.time() INTERVAL=2 client = mqtt.Clien...
[ "noreply@github.com" ]
ppigmans.noreply@github.com
1cf4d45df81860bebd238bedf179f212bac6e245
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21033.py
c56846f87dd0c3bf7107742e70803486ed9f6c15
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
# How to find the Pi subscript match
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
b0403f8e2d3d12b418734af371a7698e278a3789
a6b73b12fe2572dfec3ac0a5a2d9c01361d78e8c
/kctl/kctl.py
760a1c942b616a5c8ffb6c8ea26bc53be002ff28
[ "Apache-2.0" ]
permissive
fdgonthier/tbxsosd
c80926beb4ee83f12dcfa15f79ada34632f5ecff
e5017139f2d06b962413b1985777f87fd2a45d47
refs/heads/master
2021-01-15T17:55:21.167620
2013-08-14T20:44:31
2013-08-14T20:44:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,036
py
#!/usr/bin/env python # -*- mode: python; tab-width: 4; indent-tabs-mode: t; py-indent-offset: 4 -*- ##### ##### MAIN ##### from sys import stdout, stderr import os, sys, string, shutil, ConfigParser, readline, re, time, random, getopt from kreadline import * # kctl-lib from kctllib.kdatabase import * from kctllib....
[ "fdgonthier@lostwebsite.net" ]
fdgonthier@lostwebsite.net