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
6a42d49d7d83b0b0520c6e6d394d79b1e6c4fd48
b8302a17ad124b2432380c7274e4780ec5adfe55
/exercises/de/solution_04_03.py
e63f7c7a9d4320eaae8436a4c058573e32639ff4
[ "MIT", "CC-BY-NC-4.0" ]
permissive
FrankGrimm/spacy-course
10da4ebf976d93aec50aa1b200019b4217f4043e
5e09ef9d296dad2b0fd5ff1945f4cf9a55109906
refs/heads/master
2022-04-24T18:18:06.202131
2020-04-21T19:17:09
2020-04-21T19:17:09
257,692,388
1
0
MIT
2020-04-21T19:14:21
2020-04-21T19:14:20
null
UTF-8
Python
false
false
650
py
import json from spacy.matcher import Matcher from spacy.lang.de import German with open("exercises/de/iphone.json") as f: TEXTS = json.loads(f.read()) nlp = German() matcher = Matcher(nlp.vocab) # Zwei Tokens, deren kleingeschriebene Formen "iphone" und "x" sind pattern1 = [{"LOWER": "iphone"}, {"LOWER": "x"}] ...
[ "ines@ines.io" ]
ines@ines.io
91ed919fe4f82d66d4c1e181233dc01892ee1182
420376c5a1fbf8a4572545a9c891a0f8f204ed5b
/scrapy_amazon/items.py
d2aeed20eb2ea2833ebfb79da6fce00b903d6891
[]
no_license
kishoresurana/scrapy_amazon
946fb8fe198736ba4233a2f3727ca1a1873ae937
bbb72cdb5f468d5c8b605d273bb5c93b9a2b249a
refs/heads/master
2020-12-25T21:55:35.192394
2014-07-27T20:09:24
2014-07-27T20:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class ScrapyAmazonItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() price = scrapy.Field() conditi...
[ "aniversarioperu1@gmail.com" ]
aniversarioperu1@gmail.com
1bd983fda08cc124332618ea8d57b23525828d1e
9e3335031701144d34780466febb13ab3e5f7ce6
/k/flask1.py
6fc6d0b81b9c9edea46d9d9dd5267dc1c5bce20d
[]
no_license
Ananthan7/students-portal-flask
876a29bd48c94a2eba2f1fd3665ff6992f5e529f
067253be8f9740d46a1aaec8399345d810de08cd
refs/heads/main
2023-04-18T08:33:59.202499
2021-04-24T13:11:31
2021-04-24T13:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
from flask import Flask from flask import redirect from flask import url_for app=Flask(__name__) @app.route('/admin') def hello_admin(): return 'hello admin' @app.route('/guest/<guest>') def hello_guest(guest): return 'hello %s as guest'%guest @app.route('/user/<name>') def hello_user(name): if(name=='admin...
[ "ananthankrishnan77@gmail.com" ]
ananthankrishnan77@gmail.com
d2669e23bfc199cd2b0f481099012e03524dc9b0
48c9fcc9d7856f92f9cda06aae0c5dcf350e48ea
/matchbook/endpoints/marketdata.py
670579a7d6b05033308759dfb454fc6635fd1266
[ "MIT" ]
permissive
rozzac90/matchbook
1753d29918eadf5f26ba61611f27c3569ad6850e
d29f4704a0f69fa623422243d0b8372c8c172a2d
refs/heads/master
2021-12-25T18:25:05.002996
2018-11-24T17:34:35
2018-11-24T17:34:35
96,877,596
14
12
MIT
2021-12-15T18:07:03
2017-07-11T09:45:34
Python
UTF-8
Python
false
false
10,544
py
import datetime from matchbook import resources from matchbook.endpoints.baseendpoint import BaseEndpoint from matchbook.enums import Boolean, Side, MarketNames, MarketType, MarketStates from matchbook.utils import clean_locals class MarketData(BaseEndpoint): def get_events(self, event_id=None, before=None, af...
[ "rory.cole1990@gmail.com" ]
rory.cole1990@gmail.com
9eb155ab168b320e301794c6d06721d8159379c8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/329/usersdata/297/91364/submittedfiles/dec2bin.py
f499b6f8e6c0b866d68629df150aa2c83d3d617b
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
# -*- coding: utf-8 -*- while(true): p=int(input('digite um numero p: ')) q=int(input('digite um numero q: ')) if q>=p: break if str(p) in str(q): print('S') else : print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e6080c62d3170229f32b8403d65ad8f216e5cae7
090d9e9dd0e8c1cf7a3338ea1464897c72ab82be
/KerasCNN.py
ddfb334d5b546ccf31c08de75d4af2c1c3e12db4
[]
no_license
zhanming-wang/CNN_digit_recognizer_kaggle
f5451514a2990ae60342e96b715cbe9cd2708d31
e0dded47d0a44ef2c0a74bc6ff459fa83e78a246
refs/heads/master
2020-12-04T00:26:33.478317
2020-01-03T07:59:45
2020-01-03T07:59:45
231,537,504
0
0
null
null
null
null
UTF-8
Python
false
false
5,465
py
import plaidml.keras plaidml.keras.install_backend() #use AMD GPU ''' import cv2 import os import random import pickle import matplotlib.pyplot as plt import matplotlib.image as mpimg from sklearn.metrics import confusion_matrix import itertools ''' import numpy as np import pandas as pd import keras from sklearn.mod...
[ "noreply@github.com" ]
zhanming-wang.noreply@github.com
c4e8389d93f36f8805d8c3cdf58cabc747343f84
91fe8f479fa921fa84111d19222a5c6aa6eff030
/basis/execute-unit/aiohttp-and-asyncio-test.py
25312be5c6ecba564f33a7ed14ddc40b68021a95
[]
no_license
romanticair/python
2055c9cdaa46894c9788d5797643283786ed46dd
6f91fe5e7cbedcdf4b8f7baa7641fd615b4d6141
refs/heads/master
2022-11-03T17:17:17.608786
2019-07-05T07:07:29
2019-07-05T07:07:29
195,356,190
0
1
null
2022-10-14T20:51:14
2019-07-05T07:00:33
Python
UTF-8
Python
false
false
1,355
py
""" asyncio 可以实现单线程并发IO操作。如果仅用在客户端,发挥的威力不大。 如果把asyncio用在服务器端,例如Web服务器,由于HTTP连接就是IO操作, 因此可以用单线程+coroutine实现多用户的高并发支持 asyncio实现了TCP、UDP、SSL等协议,aiohttp则是基于asyncio实现的HTTP框架 aiohttp的初始化函数init()也是一个coroutine,loop.create_server()则利用asyncio创建TCP服务 编写一个HTTP服务器,分别处理以下URL 1. / - 首页返回b'<h1>Index</h1>'; 2. /hello/{name} - 根据URL参数...
[ "1024519570@qq.com" ]
1024519570@qq.com
1f45dcf7f0f4b3b2d3317758fe808c0da08e5812
749831b8cea53b9f10926512b34d6a0e97a9df98
/traffic/examples/camera.py
5c9a6bbd5c2e78a814af07b7d5c1c69089270182
[ "MIT" ]
permissive
tasigabi97/traffic
cab0422382c0e4cf78b468c2e9ab94da02240bae
f90c6679b77a6c55717ccb9e5d53daff56fa30d2
refs/heads/master
2023-02-12T16:27:19.004386
2020-12-23T20:22:27
2020-12-23T20:22:27
291,692,793
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
""" Egy példa arra, hogyan lehet használni a cv2-es kamera ablakokat. """ def main(): from traffic.camera import choose_camera from traffic.imports import imshow_cv2 from traffic.cv2_input import cv2_input with choose_camera() as camera: # Feldobja az elérhető kamerákat, amikből egyet kell kiválaszt...
[ "tasi.gabi97@gmail.com" ]
tasi.gabi97@gmail.com
61cb7f3485bd6f3f5d33ac83b9b52e22c3713c3e
9dbd3b20c33ec93c0ade5032287db728de6fa712
/src/intent_service.py
e030a7d34ab679697601e3e08b286405f1bdb703
[]
no_license
xs2pranjal/intent_via_audio
bd1ec058b51935463e781c159fbed2be02d18bd5
f57bce6ff9d8bcb7801bac362f2f52e57cba9204
refs/heads/master
2022-12-28T17:36:20.609023
2018-08-15T19:34:27
2018-08-15T19:34:27
144,739,836
0
0
null
2022-12-08T02:22:14
2018-08-14T15:35:49
Python
UTF-8
Python
false
false
2,388
py
import traceback import numpy as np from heapq import nlargest from sklearn.metrics.pairwise import cosine_similarity from helpers.noun_chunking import NounPhraseExtraction from docs.config import CATEGORIES from helpers.model_loader import GloveService class IntentService(): ''' The class is for Extracting the to...
[ "pranjal@bitbucket.org" ]
pranjal@bitbucket.org
d3c659c5b2ff919672ec54e7eac8e65d13674bbe
9e510a65df0400925845a29e43ae5ddd010671f8
/appengine/subscription_handlers.py
53b1e2c41d7691ccc796637e5b3b77dcdb81ffe2
[]
no_license
nstahl/scoping_nyc
bda4c8beee8c5c9e3c3aab1ddc8a38b63da11f2b
bfb8b00f0d3196534551ad89aa0b8fd335e61897
refs/heads/master
2020-06-05T07:02:40.072555
2013-04-06T16:26:19
2013-04-06T16:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,575
py
import app_constants import json import logging import time import urllib import webapp2 from google.appengine.ext import db from google.appengine.api import urlfetch class LocationInfo(db.Model): """ Models a location and everything we want to keep about it """ object_id = db.StringProperty(indexed = False) # ...
[ "r.niko.stahl@gmail.com" ]
r.niko.stahl@gmail.com
b7d7318c9811ece1a6235ddd3b823c0e77caf9d3
c760566d38787fc212d95d1b18172ad8093e2758
/muse_redshifting.py
e58c15958c9b05998a506c259f6572abaf9f230c
[ "Unlicense" ]
permissive
sdjohnson-astro/redshifting
86b35111607034d59621e78823fc862fc30992f6
2aa81524fec8717cd4469f64d729a609bec1a9b9
refs/heads/master
2022-12-26T14:25:49.720710
2022-12-13T13:59:41
2022-12-13T13:59:41
170,399,163
7
4
Unlicense
2021-02-10T03:27:14
2019-02-12T22:10:25
Python
UTF-8
Python
false
false
72,406
py
#!/usr/bin/env python from PyQt5 import QtGui, QtCore # (the example applies equally well to PySide) import pyqtgraph as pg import sys import os from astropy.io import fits from astropy.table import Table, Column, vstack, unique from scipy.signal import savgol_filter from scipy.interpolate import interp1d from astropy...
[ "seanjoh@umich.edu" ]
seanjoh@umich.edu
3107387d5fc4b538b140c287cf51aa5e4414d44b
940c664cd3c64d21a4d6197cd0aff79d0c6b0532
/src/common/functions/external_memory_func.py
088f20ce34b264d52d0b8abbe72febeb40191fed
[ "MIT" ]
permissive
0shimax/chainer-learning-to-remember-rare-events
2093385adee2ad3ec2c189cc9ffb3738f8cee5d6
8cf27a6afbaa058f8ad03df4d2ee91a62cccdf7d
refs/heads/master
2021-01-22T23:37:05.765437
2017-04-23T10:32:36
2017-04-23T10:32:36
85,662,113
4
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
import numpy as np import chainer from chainer import cuda, function class ExternalMemoryFunction(function.Function): def forward(self, inputs): self.xp = cuda.get_array_module(*inputs) if len(inputs)==5: embedding_vecs, t, self.memory, self.update_weight, train = inputs else:...
[ "shin.keeper@gmail.com" ]
shin.keeper@gmail.com
4fa5e4bfbcb5d4dec360160ee5738b8e68aa6d1d
60b0e49d153f7581ce89372c2b2d237359872b8d
/billboard/wsgi.py
48984655e483643c48ff8a25e6963156a348ba03
[]
no_license
talkl/billboard
b8bd306b3b74ef193351e181077d3149cf534edb
040c344c73fb7f6099b7e1d461e2951dea2cbb16
refs/heads/master
2020-04-16T10:17:00.388726
2019-01-13T11:46:18
2019-01-13T11:46:18
164,896,745
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for {{ project_name }} project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "talkl120@gmail.com" ]
talkl120@gmail.com
7886885f54375d2f98bbbf17d45a2cb79cd2a9ec
46040c370239ac6e91372e61d9729a22ba9af33c
/lw/translations/models/__init__.py
cbb5793539bbcc7a879c4befabaaaa02af0411ee
[]
no_license
lesswrong-ru/django-site
85e066ab42857fa0d81c98a1efaf2a0dc403d4d2
ac4d6f0a5a11751ea9d3eb16f5b8bab53cb4f731
refs/heads/master
2021-06-17T01:22:58.764120
2021-03-26T14:20:11
2021-03-26T14:20:11
196,754,119
0
1
null
2021-03-26T14:20:12
2019-07-13T18:32:09
Python
UTF-8
Python
false
false
201
py
from lw.translations.models.translation_index_page import TranslationIndexPage from lw.translations.models.translation_page import TranslationPage from lw.translations.models.book_page import BookPage
[ "me@berekuk.ru" ]
me@berekuk.ru
e3f9b9ccd9704d797def23c50f582b8c877f8f37
9059d9cbad4188ed2980f551151b9678ffb68b44
/Chapter12_logging/12-3.logging_config_example.py
0262db2fa4267b523bc6fa234849422e7c5042d2
[]
no_license
mhee4321/python_basic
ad0e64fa21ecfab231a6627ba6abeea82d725690
86031975a9121efe5785e83f663255a7b4e4ba77
refs/heads/master
2023-02-11T20:31:54.353219
2021-01-07T05:44:31
2021-01-07T05:44:31
326,850,491
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
import logging # 로깅 모듈 탑재 import logging.config # 로깅 설정 모듈 탑재 # 설정 파일 읽어 오기 logging.config.fileConfig('12-2.logging.conf') # 로거 생성 logger = logging.getLogger(__name__) # 로거 생성 # 로그 메시지 출력 logger.debug('이 메시지는 개발자만 이해해요.') # DEBUG 로그 출력 logger.info('생각대로 동작 하고 있어요....
[ "nannanru@gmail.com" ]
nannanru@gmail.com
99dc52c0d9b077fb1c98d68ddd2a713856f59b3b
8cacc6f6ba0f18f0ea051869d631d2b3fa0e64f1
/whitechapel_blog/migrations/0007_auto_20170407_1124.py
05d461b9cfa2f565b5fa44b091946f6a67c5319b
[]
no_license
ddunc23/survey-of-london-whitechapel
9099d644a8b3616a6be6b32f9b412e933d65a75d
0a37ade163a260d670b020f243e1fa4322f8c655
refs/heads/master
2022-06-28T14:16:23.167916
2018-07-20T15:19:34
2018-07-20T15:19:34
51,997,516
2
0
null
null
null
null
UTF-8
Python
false
false
637
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('whitechapel_blog', '0006_post_past_event'), ] operations = [ migrations.AddField( model_name='post', ...
[ "hay.duncan@gmail.com" ]
hay.duncan@gmail.com
882ecd305b42a60c92502be43bfd2f9327957b9c
443178cedeba3ab80c8d20db7a5b8e6938928e29
/serverless/apps/tests/qctokyo/test_notificator.py
fc301ec7b634dfbfdbce7c5443a3b29b4c00110c
[ "Apache-2.0" ]
permissive
silky/qctokyo
ba49aff4dc611d7245fa6bcdb5143a4b1b474553
ae81f50b6ddc70f2aa78300c98e4d0d1d33f2f39
refs/heads/master
2022-10-27T08:11:55.460674
2020-06-15T16:09:52
2020-06-15T16:09:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,082
py
import json from logging import INFO, ERROR import os import requests import requests_mock from qctokyo import notificator def setup_module(module): os.environ["STAGE"] = "dev" os.environ["SLACK_WEBHOOK_URL"] = "hooks.slack.com/services/dummy" def teardown_module(module): del os.environ["STAGE"] d...
[ "tsukano@acroquest.co.jp" ]
tsukano@acroquest.co.jp
2b1c5f19d53ea7c2b14a5fb15ce6cec51689d316
732585af552e79c8f1bff48a75b6929ff28e106a
/pvapp/models/ExperimentData.py
5976bf674745532c9d82e8f45341c8638d38b74b
[]
no_license
urbanophile/ui
7c3b5cef12d273700d0e7971757f83eef696f593
a594ace92c3d032b98719afb38777f409342efaa
refs/heads/master
2020-12-28T20:31:24.283673
2015-11-16T04:06:25
2015-11-16T04:06:25
38,616,477
0
1
null
2015-12-19T02:36:17
2015-07-06T12:08:34
Python
UTF-8
Python
false
false
2,159
py
import numpy as np import scipy from util.Constants import ( CHANNEL_INDEX, ) from test.utils import make_sin_data class ExperimentData(object): """docstring for ExperimentData""" def __init__(self, data=None, metadata=None): super(ExperimentData, self).__init__() # make secondary datas...
[ "contact.matt.gibson@gmail.com" ]
contact.matt.gibson@gmail.com
e9056dcc8a8628a344e0ddf4e9add6e257ddabae
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_310/ch25_2019_03_01_00_00_25_791523.py
70bb03eaebe4809ffcc0bcea7e9b4073d6f8312b
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
km=int(input(distancia): if km <=200: preco= km*0.5 print("{:.2f}".format(preco)) else: preco= km*0.45 print("{:.2f}".format(preco))
[ "you@example.com" ]
you@example.com
bf69580ef7eca1b5b2b9c34696e053a163f42e56
dd0122daefdc6010dc7409278880d6e9371d67cb
/OLD/DAWdjango/mysite/myapp/urls.py
0b53d47e81ceea86b1f3af453ef607410702e0be
[]
no_license
mblancca/Videoclub-DAW-2018
03957db284a86c170dd4395dfa58b116d098fff2
cf61d98e1ed9f73884bdf5a2b4bf3802cc8b839c
refs/heads/master
2021-09-17T14:45:19.576400
2018-07-02T19:38:12
2018-07-02T19:38:12
126,895,120
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
from django.urls import path from . import views from django.conf.urls import include, url from myapp.views import SignUpView, BienvenidaView, SignInView, SignOutView urlpatterns = [ #path('', views.acceso, name='acceso'), path('index/', views.index, name='index'), url(r'^$', BienvenidaView.as_view(), name='bienve...
[ "mariano.blanco.cantero@alumnos.upm.es" ]
mariano.blanco.cantero@alumnos.upm.es
cfd0ccbddf683ab936c9b2d0b3b2a16fbce0b47d
8ac9111348c1a6239aa44491c8204b4567bf8a30
/mtsp_planner/scripts/solvers/tsp_trajectory.py
80ab1922fbbcb65c4bd08ba1418ab61879cb65df
[]
no_license
semberecki/mrsss
d4f878ade8b1620a3872eee9bf06c6a11939285c
e150b07430b4a90e5fd317dc27fcccfb5025db08
refs/heads/master
2020-06-27T20:54:23.483221
2019-08-02T10:41:13
2019-08-02T10:41:13
200,046,555
0
0
null
null
null
null
UTF-8
Python
false
false
21,162
py
""" Custom TSP Loader @author: R.Penicka """ import rospy import matplotlib.pyplot as plt import matplotlib.patches as mpatches import math import time from mrs_msgs.msg import TrackerPoint from mrs_msgs.msg import TrackerTrajectory import dubins # #{ dist_euclidean_squared() def dist_euclidean_squared(coord1, coo...
[ "penicrob@fel.cvut.cz" ]
penicrob@fel.cvut.cz
8a7818455d82620f37170b9ac842f62c8df49b7a
a69d82e6e74d72deb03ef7f4b9682b74f0eba993
/gold/scoreboard/modules/available/bitcoin/render
7ef432ac087372d8c770685e163de1edd8b69a30
[ "WTFPL" ]
permissive
krebs/painload
f903e07d71c65b49af009a0b1e7b8f5f68b4a91f
2b09702300843947d40c8671776ea4227d1ad6d6
refs/heads/master
2023-08-31T04:11:51.835401
2023-08-20T22:20:40
2023-08-20T22:20:40
1,703,153
17
3
WTFPL
2023-07-06T23:14:49
2011-05-04T20:21:18
Shell
UTF-8
Python
false
false
296
#!/usr/bin/python import json,urllib,datetime,sys today = datetime.datetime.now() result = json.load(sys.stdin) print today.strftime("%Y-%m-%dT%H:%M:%S"), print '%s' % result["blocks"], print '%s' % result["difficulty"], print '%s' % result["keypoololdest"], #print '%s' % result["keypoolsize"]
[ "root@euer.krebsco.de" ]
root@euer.krebsco.de
8a4871b4d661ef4a0a122394b00d6b5f55566f2e
9d2bafb07baf657c447d09a6bc5a6e551ba1806d
/ros2_ws/build/std_msgs/rosidl_generator_py/std_msgs/msg/_multi_array_layout.py
e830a59dc03efc5d1893c4f8d32f97cabca4ecd6
[]
no_license
weidafan/ros2_dds
f65c4352899a72e1ade662b4106e822d80a99403
c0d9e6ff97cb7cc822fe25a62c0b1d56f7d12c59
refs/heads/master
2021-09-05T20:47:49.088161
2018-01-30T21:03:59
2018-01-30T21:03:59
119,592,597
1
0
null
null
null
null
UTF-8
Python
false
false
3,630
py
# generated from rosidl_generator_py/resource/_msg.py.em # generated code does not contain a copyright notice import logging import traceback class Metaclass(type): """Metaclass of message 'MultiArrayLayout'.""" _CONVERT_FROM_PY = None _CONVERT_TO_PY = None _DESTROY_ROS_MESSAGE = None _TYPE_SUPP...
[ "austin.tisdale.15@cnu.edu" ]
austin.tisdale.15@cnu.edu
d67b665d803c3b6550f549ca34cb453a74320f06
02f0e89f7e3a67fe5787f2cc7c7e7d790efb6541
/pac_bot/network.py
ca9f1677557c6ca4286f5ace8095d98751fb3770
[]
no_license
walter090/PacManBot
c087e365ac404314e2cfe8ed44e1d58941868424
e177d2c7572a9607de6baa6db546e0544edc2984
refs/heads/master
2021-07-07T03:41:49.973861
2017-10-06T18:54:42
2017-10-06T18:54:42
103,622,161
0
0
null
null
null
null
UTF-8
Python
false
false
2,650
py
import tensorflow as tf from . import layers class Network(object): def __init__(self): self._encoded = None self._lstm = None self._lstm_output = None def encoding_network(self, x, layers_config=None, activation='lrelu', name='encoding'): """Build the encoding network. ...
[ "walter.wu090@gmail.com" ]
walter.wu090@gmail.com
e844333d221d13709680224fc0f09e232050f599
f21ec456a7a1d136e70585bbdf34a72e19cd418c
/examples/her/her_ant_goal.py
65d0dea6ae25948d7f88ddffab00c0330713f37e
[ "MIT" ]
permissive
cmoyacal/rlkit-offline-rl-benchmark
6d22b57913dc8039b223c03648e0fd28e2ecba79
55193e63b2e3303fba1815dc1754fc94dd6850e0
refs/heads/master
2023-03-19T19:07:23.569069
2020-03-20T22:03:21
2020-03-20T22:03:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
import gym import rlkit.torch.pytorch_util as ptu from rlkit.data_management.obs_dict_replay_buffer import ObsDictRelabelingBuffer from rlkit.launchers.launcher_util import setup_logger from rlkit.samplers.data_collector import GoalConditionedPathCollector from rlkit.torch.her.her import HERTrainer from rlkit.torch.ne...
[ "aviralkumar2907@gmail.com" ]
aviralkumar2907@gmail.com
ddb052956a9b3c82471c441582e3b5d983378e07
690ed5a6611f9b3ffb272fce1c48ce7ded67791d
/audio/dial_tone_wav.py
6a0b51ebfd6c3ea6491853ebeae69988ab675f2d
[]
no_license
dservo/expl_wireless
96d0ec4e783a3834c35edc156f89a0d83fba74d5
31a40b176c13978d5752372aa01082db1025b1f3
refs/heads/master
2020-04-07T05:46:28.576866
2018-11-20T16:57:30
2018-11-20T16:57:30
158,109,241
1
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
#!Z:\gr-build\src-stage2-python\gr-python27\python.exe # # Copyright 2004,2005,2007,2008,2012,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the ...
[ "noreply@github.com" ]
dservo.noreply@github.com
4635cefeb2889b33eeeaced1b5abbd2302c4e626
20a1250a7fb5f601b12d58acfd2607fa6d8d672f
/knockblock/knockblock/tasks.py
957924e88f6dc0bcfaf013c13e3c3f250889133b
[]
no_license
pboes/Knockblock
a7aa9e523c69a795e6c914c2a6ddb189f06a0cc1
420357fef5df5e1949cf6b90fd5c17b7194e3dba
refs/heads/main
2023-02-19T10:22:29.965680
2021-01-19T10:25:47
2021-01-19T10:25:47
330,638,902
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
from __future__ import absolute_import #from django.conf import settings from celery import shared_task import json @shared_task(name="twitter_job") def twitter_job(twitt_input): idd = twitter_job.request.id inputdict = {"inputt": twitt_input,"idd" : idd} print inputdict #sys.argv = [settings.STATIC_BREV + static(...
[ "pvboesgmail.com" ]
pvboesgmail.com
bc889162571b4332bdf0ce4453e6b6200902ad6e
103a0b3baba5a8fecade0fe4aca0aef68bf875b8
/projects/helloapp/howdy/urls.py
08ad118e8a783ebd0669998d01f5d4bc9ece8b8c
[]
no_license
royce-matthew/royce-matthew.github.io
e1acdd10b27c6e98c5fadff62d7a0b6036030ad6
d5a107364ef3f155bcb3856f0e2e69519a713559
refs/heads/master
2021-05-02T02:57:11.567475
2018-07-02T16:32:29
2018-07-02T16:32:29
120,889,131
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns from howdy import views from rest_framework import generics urlpatterns = [ url(r'^$', views.HomePageView.as_view()), url(r'^products/$', views.ProductList.as_view()), url(r'^products/(?P<pk>[0-9]+)/$', views.Pro...
[ "royce@Royces-MacBook-Pro.local" ]
royce@Royces-MacBook-Pro.local
e0829e4a8d084cfe4241b760879020b048ba1451
09b6b680637080805587e83f8d5c1c166a0dc476
/asset_management/myapp/views.py
6dbe31081198406230cdcdfb09ddd0f175dd38f7
[]
no_license
Mamtha-Vathar/Asset_Management
8ce19b6068ce1c47f375cb83cfc8a9e1a719c1bf
172ef8a5e2a4f774c0e7ea6f9fca926edc22f8c2
refs/heads/master
2023-01-14T09:13:14.040053
2020-11-25T17:31:56
2020-11-25T17:31:56
315,995,208
2
0
null
null
null
null
UTF-8
Python
false
false
4,189
py
from pyexpat.errors import messages import logging, requests import urllib from django.views.generic import View from .models import motor logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) from django.core.serializers import json from django.http import HttpResponse, JsonResponse, HttpRespon...
[ "mamt17cs@cmrit.ac.in" ]
mamt17cs@cmrit.ac.in
3cc7dc94fdb029bb70bc409a3dc8ffef0368bf06
2cec0797981b73c497866a75fb6d33f4c3a4c06c
/brain_tumor_classification/modules/data/utils.py
e5cd18bf3458f2de6aa299ac09b545c77cfc04b4
[]
no_license
Vadbeg/brain_tumor_classification
ed44e50076627a0682e2eca13cf115716c510ed1
ba87b65717cd1fe75871f3108db1394de271c62d
refs/heads/master
2023-08-01T13:46:27.176780
2021-09-19T15:14:32
2021-09-19T15:14:32
397,667,617
1
0
null
null
null
null
UTF-8
Python
false
false
2,718
py
"""Module with utilities for dataset""" from pathlib import Path from typing import List, Optional, Tuple, Union import numpy as np from monai.transforms import ( AddChanneld, Compose, LoadImaged, Resized, ScaleIntensityRanged, Transform, ) from torch.utils.data import DataLoader, Dataset de...
[ "vadbeg@tut.by" ]
vadbeg@tut.by
df6468f53af378e405bda553802e02e64b84587f
fa1e281807939511dbbefaf58e8ecd59436188c4
/cinebot_mini_display_server/server.py
85674e722628a4bb7a25e6fffdc7eb69bd291c3f
[ "MIT" ]
permissive
cheng-chi/cinebot_mini
2292204fad3d072012d8b336033430f394e7889f
708a7c80d2f203dfe3b52bf84d9cbafac7673d27
refs/heads/master
2020-05-20T10:29:33.526060
2019-05-08T04:16:53
2019-05-08T04:16:53
185,526,427
0
0
null
null
null
null
UTF-8
Python
false
false
6,845
py
from cinebot_mini import SERVERS from aiohttp import web import aiohttp_cors import json from copy import * import os from shutil import copy2 import asyncio from aiohttp_sse import sse_response screenConfirmed = {} screenDisplay = {} nextDisplay = {} routes = web.RouteTableDef() routes.static('/ui', 'lightbox-ui', n...
[ "chicheng.usa@gmail.com" ]
chicheng.usa@gmail.com
d7bbfb79de6ceb4fe82fa686f5fa0434db9fbde8
d608974e671f57b949950125108da49c43753725
/news_app/models.py
da8b15bdfc64fb873a59cb71fc7c593446d30498
[]
no_license
swooshnews/swoosh-news
67b1cb0f520b723e29913f0aeda6eb34fd188a5c
0530ecd5e0632519376496cbc0701779371987a1
refs/heads/master
2021-01-23T20:14:13.313887
2009-09-18T00:50:27
2009-09-18T00:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,434
py
""" These are models for news that are in the database. """ from django.db import models from django.contrib.auth.models import User import news.conf as news_settings # This is used to set up the signals and callbacks for this app. # The signal stuff needs to get imported early on, so it should go here. import news.s...
[ "cdep.illabout@gmail.com" ]
cdep.illabout@gmail.com
20d215ab84216efee4da368d5a8ad6e24ed57fc4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03679/s358798230.py
083bf4ccd4da704fe0bfff938691cf5dbc1ec004
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
X, A, B = map(int, input().split()) if A >= B: print('delicious') elif A + X < B: print('dangerous') else: print('safe')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
519e6d1ad5bda54f6ed5b6ff5dc4202c57d10141
6f0d8416daeb787b13938d5fa49c3d2e08d15e02
/tests/test_cam.py
5a5dbc61b10d60caf62b858b4f880f2bed62d9ec
[ "MIT" ]
permissive
MartinHjelmare/matrixscreener
cbfc0ba95614c7dd6e152bb63a24b67ed03045ca
b6e93d9c96139cf5f2b8942d61681e45d7b6b4e5
refs/heads/master
2021-01-22T14:21:16.758654
2015-02-19T11:53:46
2015-02-19T11:53:46
57,959,734
0
0
null
2016-05-03T10:03:40
2016-05-03T10:03:40
null
UTF-8
Python
false
false
1,526
py
from matrixscreener.cam import * import pytest class EchoSocket: "Dummy echo socket for mocking." msg = '' def send(self, msg): self.msg = msg return len(msg) def recv(self, buffer_size): return self.msg[0:buffer_size] def connect(self, where): pass def setti...
[ "arve.seljebu@gmail.com" ]
arve.seljebu@gmail.com
d1ec7fe86549c7f36ecf5a7f839e9777eb08de7c
7722801646278ecf6a027858b08bdd0e88e7d3a2
/cnblog/settings.py
3290a5e1d5a2a831e425538c69bc8ef48705f7a1
[]
no_license
ExBurner/BBS-Blog
39fbb17ffe1bc6d73db25b0c52434e6175a57860
bd57b2251f67b0b1c99adea9a02cec4deb4f1774
refs/heads/master
2020-03-23T21:26:45.309556
2018-07-24T05:14:20
2018-07-24T05:14:20
142,107,257
2
0
null
null
null
null
UTF-8
Python
false
false
3,780
py
""" Django settings for cnblog project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "1411694882@qq.com" ]
1411694882@qq.com
25e43d5322bcc7e128c8c0debcbe2fe7cc9c0bb3
357488978a1436f1ef6d93f757c0ef06a21be50a
/setup.py
70d8a8f9fd8a1a5232c392041962f633dbec95be
[ "MIT" ]
permissive
bgraver/Irelia
bd4fdd3a0fb5d925f871ccee6cc64d741df5313c
d1785fac7a3dadfa3af523f0637f5a838f830408
refs/heads/main
2023-03-18T15:14:11.416314
2021-03-20T23:16:57
2021-03-20T23:16:57
342,065,708
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
import pathlib from setuptools import setup, find_packages HERE = pathlib.Path(__file__).parent.resolve() README = (HERE / "README.md").read_text() description = "A lolesports api wrapper" keywords = "api, lol, league of legends, lolesports, esports, wrapper" VERSION = "0.0.7" setup( name="irelia"...
[ "graver.brandon@gmail.com" ]
graver.brandon@gmail.com
4b32a00c650bafd26ad85ee0f76ed96d200dfce0
d99ac626d62c663704444a9cce7e7fc793a9e75e
/crypto_implementations/virgil-crypto-c/wrappers/python/virgil_crypto_lib/foundation/_c_bridge/_vscf_alg_info_der_serializer.py
222936908c80c90638db7d52f3cdf4d1a644e7ae
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Experiment5X/CryptoFunctionDetection
3ab32d5573a249d24db1faf772721bc80b8d905d
dac700193e7e84963943593e36844b173211a8a1
refs/heads/master
2023-04-19T09:12:35.828268
2021-05-13T22:39:27
2021-05-13T22:39:27
355,299,557
1
0
null
null
null
null
UTF-8
Python
false
false
6,174
py
# Copyright (C) 2015-2020 Virgil Security, Inc. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistributions of source code must retain the above copyright # notice, this li...
[ "xmeadamx@gmail.com" ]
xmeadamx@gmail.com
030cdfb3525f9d9fc8ae8a7fe08cf161d7ff1b7d
f59866c0dc5c8d9ff8b1f9073b00e952dbf2821a
/convnet3d/maxpool3d.py
afe4acf0f26c7bbb9975d0e5ff7d8f48719f225a
[]
no_license
FancccyRay/ChaLearn2014-Gesture-Recognition
a27a22c8c1ec487a1bbf5eefc6a5eae74d470c4e
e696fdbca0602463da58dfa89f839232eebf6a43
refs/heads/master
2020-03-27T12:48:59.052115
2019-11-14T07:13:27
2019-11-14T07:13:27
146,571,629
4
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
""" Max pooling spatio-temporal inputs for Theano """ from theano import tensor from theano.tensor.signal.downsample import DownsampleFactorMax, max_pool_2d def max_pool_3d(input, ds, ignore_border=False): """ Takes as input a N-D tensor, where N >= 3. It downscales the input video by the specified fa...
[ "noreply@github.com" ]
FancccyRay.noreply@github.com
e2fab65a5b6ecf140c91a2424279ee50dad96516
352baad0e880b5de14e8fa497edb7effab484423
/no_greedy_repetion.py
733db3229f85d28a0ae4acc4fa894a352ac6ae4b
[]
no_license
avicse007/python
ac714e0b58fafa2f9f6db993f36546a1d9d46c7e
56ab13aa411af0e3fc2d58e9ce4a61b99ef5583b
refs/heads/master
2021-08-24T00:28:53.280371
2017-12-07T08:14:49
2017-12-07T08:14:49
113,421,914
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
#no_greedy_repetion.py import re from pattern_syntax import test_pattern test_pattern( 'abbaabbba', [ ('ab*?', 'a followed by zero or more b'), ('ab+?', 'a followed by one or more b'), ('ab??', 'a followed by zero or one b'), ('ab{3}?', 'a followed by three b'), ('ab{2,3}?', 'a followed by two to three b'), ])
[ "avkumars@adobe.com" ]
avkumars@adobe.com
6c8f6d9c70fff9f3031bcd03deeb4a685a6af478
985b52bd0c0a569fb97ee334de544ba18fcbd90c
/code/提取表达量.py
dfd391a5543ef18be4e93103569cd23e0f1f3563
[]
no_license
Lch-SYSU/Undergraduate-Graduation-Project
e10a73ddf9b63fa1d6df684c938a8752aff654e8
a51668eae203664e4a5b342747d29a600ecb0236
refs/heads/master
2020-04-30T15:17:43.932341
2019-05-05T15:44:14
2019-05-05T15:44:14
176,916,735
0
1
null
null
null
null
UTF-8
Python
false
false
1,232
py
# -*- coding: utf-8 -*- """ Created on Sun Mar 24 13:44:55 2019 @author: lin """ import pandas as pd with open(r'D:\学习\毕设\数据\data\HELA\SRR3589958.T.txt') as f1: # 读入ENSG数据,储存于列表 data = pd.read_table(r'D:\学习\毕设\数据\data\HELA\GC0.5 ENSG.txt', encoding = 'UTF-8', engine = 'python') seq_en...
[ "noreply@github.com" ]
Lch-SYSU.noreply@github.com
2182531e49175062ac8b030e998b5c2c6ca3ae8d
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/PyTorch/Recommendation/NCF/feature_spec.py
40d56a0e310d345e17261e9bbfbd4618f5acb691
[ "Apache-2.0" ]
permissive
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
1,943
py
# Copyright (c) 2021, NVIDIA CORPORATION. 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 applic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
e40999a46c01874385822376d0d5db29b424fbeb
b232603cf25a61a2f5f78c3041360e3188883049
/KNN Movie Recommendation/movie-recom.py
8d9adcb6027ff45e631fcba90b1cbefa08d7afb6
[]
no_license
charankurru/Recomendation_systems
2a9f75feb03dfbbfbfdacfb1c2673c51a7f46131
144f6a30a24df4ffc155119007aa1d3804b392b3
refs/heads/master
2022-12-01T15:06:31.544847
2020-08-22T08:16:58
2020-08-22T08:16:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
# importing libraries import pandas as pd import numpy as np import matplotlib.pyplot as plt #importing datasets movie_df = pd.read_csv('movies.csv') ratings_df = pd.read_csv('ratings.csv') #merging datasets movie_ratings = pd.merge(ratings_df,movie_df,on = 'movieId') movie_ratings = movie_ratings.drop(["timestamp","...
[ "61787496+charankurru@users.noreply.github.com" ]
61787496+charankurru@users.noreply.github.com
da878145baa16b59947043420038f917d29d43bd
e7b483d88f80703c89553e1b9e2f5dd0322f7e38
/sketch/util/http.py
e69fe5f151af3818aae7e26ffc6a7d32826a3f52
[ "BSD-2-Clause" ]
permissive
nikcub/Sketch
0f559ff9948bd355407257c25c261c1e0f237021
5d2d5f7e51c3eed374a8b12441dc8577b16c101e
refs/heads/master
2016-09-09T23:32:10.243530
2011-11-04T13:56:03
2011-11-04T13:56:03
2,592,091
1
0
null
null
null
null
UTF-8
Python
false
false
5,451
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim:ts=2:sw=2:expandtab # # Copyright (c) 2011, Nik Cubrilovic. All rights reserved. # # <nikcub@gmail.com> <http://nikcub.appspot.com> # # Licensed under a BSD license. You may obtain a copy of the License at # # http://nikcub.appspot.com/bsd-license # """ Sketch...
[ "nikcub@gmail.com" ]
nikcub@gmail.com
7671b176825739808ea2026fb1ee698eaf08d5a7
7282797285061f0394f5e4050d57141762749d71
/aoc-5-1.py
9bb4c1722a3d4fbe48395f0b6c2c71b20162a4bc
[]
no_license
woodgern/AdventOfCode2018
c54804d5190af8d91c3625a1a9edd3d1953bf82c
d6d17310e81b38d9a930c230f442a2463c5394b2
refs/heads/master
2020-04-17T12:21:29.811465
2019-01-19T18:36:51
2019-01-19T18:36:51
166,576,351
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
def match(string1, string2): return string1.lower() == string2.lower() and string1 != string2 with open("aoc-5-1.txt") as f: content = f.readlines() content = [x.strip() for x in content][0] checking = False while True: i = 0 while i < len(content) - 1: if match(content[i], content[i + 1]): check...
[ "woodgern@gmail.com" ]
woodgern@gmail.com
deca86cac4f0a3e968294001655f7a01e2beeb98
1060ba4bf43f92d91ade4fc33f7fa36cc76a1029
/batch/das_client.py
2b2109491430d7b9c4b4f0505ad14544562a49ee
[]
no_license
CMS-PD/ALPHA
599035f9d328b126c34362030fceebd56881fb94
22ed23d28f8a6ad041c8be574732e68c2a850975
refs/heads/master
2021-01-17T02:49:11.755447
2017-12-12T08:45:25
2017-12-12T08:45:25
58,551,780
0
11
null
2017-12-12T08:45:26
2016-05-11T14:23:33
C++
UTF-8
Python
false
false
19,324
py
#!/usr/bin/env python #-*- coding: utf-8 -*- #pylint: disable=C0301,C0103,R0914,R0903 """ DAS command line tool """ from __future__ import print_function __author__ = "Valentin Kuznetsov" # system modules import os import sys import pwd if sys.version_info < (2, 6): raise Exception("DAS requires python 2.6 or gr...
[ "Jacopo.Pazzini@pd.infn.it" ]
Jacopo.Pazzini@pd.infn.it
5d1dd29b6073c8dc28f947bfaa07c99c5d3c2bdb
b316b7af230857311abe9071fa8118118d4c9cad
/test_utils/test_utils/vpcsc_config.py
b8854b2a46a48d88caab4bca7c85286c994efe33
[ "Apache-2.0" ]
permissive
chrisrossi/google-cloud-python
686c7bf432696686df5a208ed91b8fec4643a37e
7a3a74d2cd3d3fef6c875b347ebd8595fb9b08fb
refs/heads/master
2020-04-03T22:45:10.899398
2019-11-06T16:36:30
2019-11-06T16:36:30
155,608,683
0
0
Apache-2.0
2018-10-31T18:56:39
2018-10-31T18:56:38
null
UTF-8
Python
false
false
4,174
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
chrisrossi.noreply@github.com
a62efcd438da500c37657f34872bc7490d540f54
29d803b14ceb73cdbdd48083824cf474babee1af
/pygta5-4.py
c48ce88085f2a87bf285d08bc660750b13e727f7
[]
no_license
burak-karakus/pygta5
5aa20c18d9b012afca7fced5be498e10723caab4
72d681570b4e12f782827e75084d94930f71e9bf
refs/heads/master
2022-07-06T08:14:02.855621
2020-05-15T15:06:59
2020-05-15T15:06:59
263,359,658
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
import numpy as np from PIL import ImageGrab import cv2 import time from directkeys_mac import KeyPress,KeyDown,KeyUp def roi(img, vertices): mask = np.zeros_like(img) cv2.fillPoly(mask, vertices, 255) masked = cv2.bitwise_and(img, mask) return masked def process_img(org_img): p_img = cv2.cvtColor(np.float32(or...
[ "sadiburak@Sadi-MacBook-Pro.local" ]
sadiburak@Sadi-MacBook-Pro.local
84d52f4962391da32f236a15c38fbc7c6a56035a
0d15d68b4e9c466ed63cd860887f3b49c219ec3d
/super_admin/backends.py
9b2c9c848d779187de3200e1e78ec8052880a7ff
[]
no_license
shaheenhyderk/primis
729ac88ebc048bb5f2e5f56f47a8778c75146d05
0b737943df3a45ac432b85b101e5b91c36982534
refs/heads/master
2023-01-02T06:22:41.589842
2020-10-25T01:45:24
2020-10-25T01:45:24
306,910,593
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
import jwt from rest_framework import authentication, exceptions from django.conf import settings from django.contrib.auth.models import User class JWTAuthentication(authentication.BaseAuthentication): def authenticate(self, request): auth_data = authentication.get_authorization_header(request) i...
[ "shaheenhyderk@gmail.com" ]
shaheenhyderk@gmail.com
e9850940fb4d78027c9ef247607e23a58b0feaaa
c12e9e88ca22a1c85eb55d5fa1b6e593e71edbb0
/duplicate_edit_pipeline/duplicate_pipeline.py
81b0ccbcda8d7362c1f93933050afeea31992dfb
[]
no_license
deanproctor/streamsets_sdk_examples
a39e0b9484669f81c304df5a856547c360f05566
7fba054b9e0f475a9579c6e40d3b0da980809668
refs/heads/master
2020-05-23T16:30:58.084556
2019-05-15T15:17:10
2019-05-15T15:17:10
186,851,007
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
#!/usr/bin/env python from streamsets.sdk import ControlHub sch_url = 'https://cloud.streamsets.com' sch_user = 'user@org' sch_pass = 'mypassword123' sch = ControlHub(sch_url, username=sch_user, password=sch_pass) pipeline = sch.pipelines.get(name='myPipeline') builder = sch.get_pipeline_builder() builder.add_erro...
[ "dean@streamsets.com" ]
dean@streamsets.com
4c160b362ff7db0589bf52739596171879e3d409
190d442aa9db6ef7e5a66e3e69db3c7737fbf48b
/Site/data_collections/signals/handlers.py
243b2a951143a853c36bbebcb0b4762968aeb213
[]
no_license
Darbados/SWAnalysis
68e01482872403577dd08be2c63a9a2826a29ab7
2f097202694383f56fee997e1ea9a8ad8ec9491f
refs/heads/master
2023-09-01T03:50:49.439716
2021-10-13T08:12:34
2021-10-13T08:12:34
371,733,539
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import os from django.db import models from django.dispatch import receiver from data_collections.models import DataCollection @receiver(models.signals.pre_delete, sender=DataCollection) def auto_delete_collection_file_on_collection_delete(sender, instance, **kwargs): if instance.file: path = instance.f...
[ "pesho.netev@gmail.com" ]
pesho.netev@gmail.com
a3b674690a85d8b1b49ae220b7ba9776a941d9a3
740847ec6c7b70b97418d8ee517a3cb8ffff7fea
/hidroponic_server/hidroponic_server/urls.py
5e9a98e21d7b1e518dc58afa329a0805cd1374d5
[]
no_license
JoaquinIMT/hidroponic_project
7dea723f30e74dbc9b9914afda55182f78562cf3
63c7620162669e9943e112ba29375454548b9e51
refs/heads/main
2023-08-23T18:58:33.805046
2021-09-19T03:29:38
2021-09-19T03:29:38
408,020,922
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
"""hidroponic_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "joaquinla07@gmail.com" ]
joaquinla07@gmail.com
6c011191d8a77acf3a5f735a391eecb401da6ef2
44281037e35d704856554ae78a63a421b9ed530e
/work12.py
b07c991967000bd06c431b79d6e10225edf5192b
[]
no_license
adivyas99/Gender-Recognition-Times-Internet-
97d8207afb9ceb473d91b3f841af25ec10ed1e3b
dfb3bfd2a40f466463b4b635930c72dce31b1c64
refs/heads/master
2020-07-07T14:44:54.877609
2019-09-19T10:54:06
2019-09-19T10:54:06
203,379,122
3
1
null
null
null
null
UTF-8
Python
false
false
23,947
py
# taking by each user so that we can exact stuff # Combining features and then applying this thing # Implement UNDER sampling and both sampling -->>> import numpy as np import ast import pandas as pd from googletrans import Translator translator = Translator() translator.translate('good boy').text Translator.translate(...
[ "noreply@github.com" ]
adivyas99.noreply@github.com
0d86c1a673ca1bf515b589a6acb7e6df2a38dbe3
62664aed311b6f1e67895893ebbfc36d186f7053
/Modules/Config/Config.py
ce59cd9fc0dda896df415975ca25a30ad7987f22
[]
no_license
mdobrychlop/pyry3d
0a9c332a530c11f1cdd891d379253d92f8d44cba
44ea539179e41545fbbf5c38f515e377934dbd67
refs/heads/master
2021-05-08T00:36:11.839372
2017-10-20T13:40:13
2017-10-20T13:40:13
107,682,963
2
0
null
null
null
null
UTF-8
Python
false
false
35,180
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # www.genesilico.pl # #creates ranked 3D models of macromoleular complexes #based on experimental restraints and a whole complex shape. __author__ = "Joanna M. Kasprzak" __copyright__ = "Copyright 2010, The PyRy3D Project" __credits__ = ["Janusz Bujnicki"] __licen...
[ "mateusz.dobrychlop@gmail.com" ]
mateusz.dobrychlop@gmail.com
2da64711a5d90ce39dce1b13f6653c5df230d136
fcc83583ed505381c7e1e2ca961a54e52552e8b4
/scylla/providers/pubproxy_provider.py
a8bacaafebdaa91022adc689f232b03b0b343820
[ "Apache-2.0" ]
permissive
imWildCat/scylla
959485585c5ed742ce1659f5305a46b6198c798d
46f6f6bd2eba6e49603d263209efc59b74badf07
refs/heads/main
2023-09-02T23:10:23.000529
2023-05-22T17:48:29
2023-05-22T17:48:29
128,911,431
3,898
566
Apache-2.0
2023-08-14T21:53:20
2018-04-10T09:55:11
Python
UTF-8
Python
false
false
286
py
from scylla.providers.plain_text_provider import PlainTextProvider class PubproxyProvider(PlainTextProvider): def urls(self) -> [str]: return [ 'http://pubproxy.com/api/proxy?limit=5&format=txt&type=http&level=anonymous&last_check=60&no_country=CN', ]
[ "songhou@advance.ai" ]
songhou@advance.ai
cde5214a36a39b2137d3749a9e9e6e5bb14a2891
e56bba9d878de6cf3bb5fa39955606d5688c46c2
/.net/lib/python3.9/site-packages/aws_cdk/aws_cloudwatch/_jsii/__init__.py
504e0454e7246e627e3583773da9cce29f22a376
[]
no_license
marrnik/network-pipeline
ce8132344f564c9e114602d0dc72e1c81e41d708
9715d51c187cd230c366fd1d3b8273435c5a7fe0
refs/heads/master
2023-03-16T06:29:34.787374
2021-03-10T23:43:48
2021-03-10T23:43:48
345,172,191
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions import aws_cdk.aws_iam._jsii import aws_cdk.core._jsii import constructs._jsii __jsii_assembly__ = jsii.JSIIAssembly.load( "@aws-cdk/aws-cloudwatch", "1.92.0", __name__[0:-6], ...
[ "marrapun@amazon.com" ]
marrapun@amazon.com
76bd6b923760ccfa252ad5ce041eb33e2cb9fc88
b72f8c38be680d56b710a41fc7e34821523588b9
/iletisim/urls.py
831fc7524163572bc8215056b4fc17e153cc1c3d
[]
no_license
gnyylm/ams
7c96eed3c568d23548d737485b4f97276f8d8d44
8c8f4b99b4aaceb903c87fef854e5e88519c642a
refs/heads/master
2020-04-24T20:55:18.856755
2019-03-03T19:14:19
2019-03-03T19:14:19
172,260,125
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name="iletisim"), ]
[ "gnyylm@gmail.com" ]
gnyylm@gmail.com
6413fd233edd0ff1cd6d551d5f116647d2c3bd63
b961139f628cbda2221df78599f919847e9962b6
/[2020][modulo][Processamento_Linguagem_Natural]/codigos/venv2/bin/pip
a98340eaf9a3968d8ce912b3cdb5c05496b87bf1
[]
no_license
rafaelstojoao/pos-unip
167fe60e752b1660172c71cd5a3607101b8b3d49
50d9711e313fdcac59fa89498b0a3ea5d004ac49
refs/heads/master
2022-12-21T14:20:36.790476
2020-10-25T11:52:41
2020-10-25T11:52:41
246,832,526
4
1
null
2022-12-19T10:12:14
2020-03-12T12:47:17
Python
UTF-8
Python
false
false
298
#!/mnt/DADOS/DOCS/Unip/[2020][modulo][Processamento_Linguagem_Natural]/codigos/venv2/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rafaelstojoao@gmail.com" ]
rafaelstojoao@gmail.com
ac4cec9c23d857374e16c812fac948e0c272797e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03108/s870352488.py
0b87a41dcc411c3fbc8ae14366e08bef4bb0f7fc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
import sys import collections readline = sys.stdin.readline class UnionFind(): def __init__(self, n): self.n = n self.parents = [-1]*n self.rank = [0]*n self.size = [1]*n def find(self, x): if self.parents[x] < 0: return x else: self.par...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a22c4a5d4c713c99170baa66626b92928dfab26e
3acdc5bd817913a2eed491ea58087a9c9d2d5bec
/100/thirties/thirty-two.py
2574190641982c2bcd8b90e29168be3b119f2b56
[]
no_license
o-90/project-euler
a6a1f968107803bdf75f5835bf0ae1e670158599
f64f9b600b41b2c2af8aaaae68eafd7fe48374c9
refs/heads/master
2023-01-27T12:57:48.921347
2017-01-23T15:43:04
2017-01-23T15:43:04
49,388,553
1
0
null
null
null
null
UTF-8
Python
false
false
925
py
# -*- coding: utf-8 -*- from itertools import permutations # 32) # We shall say that an n-digit number is pandigital if it makes use of all the # digits 1 to n exactly once; for example, the 5-digit number, 15234, is 1 # through 5 pandigital. # # The product 7254 is unusual, as the identity, 39 × 186 = 7254, contain...
[ "john.r.martinez14@gmail.com" ]
john.r.martinez14@gmail.com
9d31dd701cf90d929170893cddab05db06011ba7
c4544c22c0618451746795090e07c80bc85a0877
/file_upload/article/forms.py
fd00ffba0492b96c7d39b7f2448d488bfccf1d67
[]
no_license
RelaxedDong/Django_course
35f7027dc552ad148d2dc8679a19a1ffb12b8d14
2965089d15e4c80cd6402d362ee37f8cc675c08b
refs/heads/master
2022-01-09T14:28:40.503099
2019-05-24T07:07:03
2019-05-24T07:07:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
#encoding:utf-8 # __author__ = 'donghao' # __time__ = 2019/5/13 21:52 from django import forms from .models import Book from django.core import validators class BookForm(forms.ModelForm): cover_url = forms.FileField(validators=[validators.FileExtensionValidator(allowed_extensions=['jpg','jpeg'])]) class Meta: ...
[ "1417766861@qq.com" ]
1417766861@qq.com
bbb6268281ee09c15af62c26d0df2d1c6065e735
f9d5bc590bd6c6274d7a6efec0f60cac1d8286b2
/assets/coins/monero/moneroImportPrices.py
6a92df9ceca004c233c3ecc5ce2799c0931dad42
[]
no_license
pr0logas/grepblockBEpython
35c83c1bf2114fc9417bedff6cf2a6e2ad2e667e
bbeaa290d13d80f993d843c7f1dbbfd373eee332
refs/heads/master
2022-10-03T23:35:44.600740
2020-03-09T08:24:53
2020-03-09T08:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#:: By GrepBlock.com developers // pr0logas #:: Modified date: 2019-11-30 #:: Description: This file is a workspace for Prices importation. import sys, time from time import gmtime, strftime from monero import * sys.path.append('../../../') from mongoDB import * from parsePrices import parseCoinGeckoPrices db = datab...
[ "tomas@dappradar.com" ]
tomas@dappradar.com
f6d2ffae909f5992e8ceea3bdc223d04acc73d4b
2c3da6e0bddf55d64d650040bbf286c47b31811a
/学习路线/1.python基础/day05/02-for-else语句.py
ec56422c4833eede814e9a25e0dca957f39f600e
[ "MIT" ]
permissive
Bngzifei/PythonNotes
76bd53db3033a9c51ab4bdd727842cd89607b584
01590e1b6c1bc0f04aa2d355fa2553c04cce27f2
refs/heads/master
2023-02-04T06:49:00.725463
2020-12-15T09:26:40
2020-12-15T09:26:40
155,154,662
1
2
MIT
2020-09-08T01:30:19
2018-10-29T05:02:48
Python
UTF-8
Python
false
false
670
py
list1 = ["zhansan", "lisi1", 'ww'] # for name in list1: # 运行2次,出现逻辑错误 # if name == 'lisi': # print('找到') # else: # print("没有找到") """当for执行完成后,默认for后面的else都会执行一次,如果不想让for后面的else执行,在for里面写个break""" for name in list1: # 批量查找数据 if ... in...(判断有没有,True或False) 判断有没有我要的那个并返回(因为后续要用这个返回的)用for(break) else (判断有没有我要的那个) ...
[ "bngzifei@gmail.com" ]
bngzifei@gmail.com
cfa3dd642fe26db896b36347b90e698533b6c023
097ab159765aef32c7d05a1bc21b1abb3bc6f520
/orders/admin.py
7fbc0af18bb6ea0b0e96de50364052263b476adb
[]
no_license
vijayrajmane/Pinocchio-s-Pizza-Django
ea42ca11e9e29b077a8f38f6f5b3fa754f5c3cb8
f8c26c7e15d5b0c634e536c01fc7f1de3b17fe27
refs/heads/master
2022-11-28T14:12:04.455263
2020-08-05T12:26:06
2020-08-05T12:26:06
284,448,929
0
0
null
2020-08-05T12:24:44
2020-08-02T11:34:28
Python
UTF-8
Python
false
false
512
py
from django.contrib import admin from .models import pizza_category,pizza,topping,sub,salad,pasta,dinner_platter,Category,user_order,Order_counter,order # Register your models here. admin.site.register(pizza) admin.site.register(pizza_category) admin.site.register(topping) admin.site.register(sub) admin.site.register(s...
[ "vijay.rajmane77@gmail.com" ]
vijay.rajmane77@gmail.com
e44931d7645146a5f5ccd3e49417ae4ec7fc5af8
1115935baf990eaa474e6bd66b090e9e226432d2
/hujan_ui/maas/vlans/forms.py
ad5564c7e1b989238f54ed9e1472d85c8f09ad05
[ "Apache-2.0" ]
permissive
hasanasari/hujan_ui
3cea8159622152c6cfef1949c8ef574091556d60
90dd7545478662a3e648507f36cb7079109be442
refs/heads/main
2023-03-19T01:41:27.675866
2021-03-03T03:29:52
2021-03-03T03:29:52
351,787,722
1
0
Apache-2.0
2021-03-26T13:16:04
2021-03-26T13:16:03
null
UTF-8
Python
false
false
1,828
py
from django import forms from hujan_ui import maas class BaseVlanForm(forms.Form): fabric_id = forms.ChoiceField(required=True,label='Fabric',) space = forms.ChoiceField(required=False) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.fields['fabric_id'...
[ "arvanria@gmail.com" ]
arvanria@gmail.com
cc8316692d63ad5a54a62873075af4ebc3c51ddf
34b9b39442bde1a3c8fa670ef60bcc84d772a067
/Assignment 4 - Deadline 17 oct 2017/wallCalculations_MARRUGO.py
a00655f65a7afe19d116f4477dd8fb5e2329c415
[]
no_license
bnajafi/Scientific_Python_Assignments_POLIMI_EETBS
b398fc2754b843d63cd06d517235c16177a87dcf
8da926e995dcaf02a297c6bb2f3120c49d6d63da
refs/heads/master
2021-05-07T22:36:14.715936
2018-01-16T21:12:33
2018-01-16T21:12:33
107,265,075
38
86
null
2018-01-16T21:12:34
2017-10-17T12:24:04
Python
UTF-8
Python
false
false
7,174
py
# -*- coding: utf-8 -*- # Assigment 4 Functions for Calculation of the overall unit thermal resistance (the R-value) # and the overall heat transfer coefficient (the U-factor) in parallel and series # Librery of materials material={"Inside_surface":0.12,"Outside_surface_winter": 0.030, "Outside_su...
[ "nicolasmarrugo93@gmail.com" ]
nicolasmarrugo93@gmail.com
a72ef93895eefdf271fe78bdf774e556db7d501f
53963fb073afb4719e60fad3d4b1ed94326559b3
/wordcount/urls.py
6af4dbaae5e584f262af2bf2ea7503b3fdc7519c
[]
no_license
harshaldesai01/wordcount-project
5754f030a418a43e35a763110a3263e155ef4a1f
01c59f3f10eeecbd6157fee506fd3a22a596ec10
refs/heads/master
2020-05-24T16:38:24.641312
2019-07-13T17:33:52
2019-07-13T17:33:52
187,365,060
0
0
null
2019-07-13T17:29:29
2019-05-18T14:04:16
Python
UTF-8
Python
false
false
215
py
from django.urls import path from . import views urlpatterns = [ path('',views.homepage, name='home'), path('count/', views.count, name='count'), path('about/', views.about, name='about'), ]
[ "harshaldesai01@gmail.com" ]
harshaldesai01@gmail.com
e5029b3854dbaef24fb6cce6c6025ff4d71cca34
e8e2f3cb21e3f3c289b890dcf3cde567bb92dc32
/venv/bin/chardetect
a471d60fdc696af75d4b511e1d3b9a0af3f271c1
[]
no_license
Timur597/Feliz
a0071b93a87eab015dd205e14cba88bcb5f34926
6f712ded791c84dee71f75934fb77d0ae101f5e6
refs/heads/master
2023-05-27T15:54:54.782528
2021-06-09T16:34:45
2021-06-09T16:34:45
373,058,036
0
1
null
2021-06-09T16:47:59
2021-06-02T06:07:12
Python
UTF-8
Python
false
false
262
#!/home/timur/PyCharmProjects/feeliz-master/venv/bin/python # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "khalilov.timur97@mail.ru" ]
khalilov.timur97@mail.ru
4484b30afa060356763fe6262633868b534151bc
58d91b99f252ce924906bf0bbe054bf3b9706f74
/utils/data.py
e76a2f9af02635874507c42545a41849050e2792
[ "MIT" ]
permissive
rnoxy/ProjectDL2-Segmentation
c84df2da1f441bdfe674444d222c76405b6262fa
94c1ff41e770e56a01f115f64721173c66073f50
refs/heads/master
2022-11-11T18:24:56.890658
2020-06-18T10:55:08
2020-06-18T10:55:08
273,213,659
0
0
MIT
2020-06-18T10:54:09
2020-06-18T10:54:09
null
UTF-8
Python
false
false
4,903
py
from base.data_preprocessing import BaseDataPreprocessing import tensorflow as tf import os import numpy as np from utils.types import Datapoint from dataclasses import dataclass from typing import Sequence, Dict, Callable, Any import math DATASET_SIZE = 2913 """ Splits: 70%/15%/15% """ SUBSET_SIZES = { "train": ...
[ "jawor403@gmail.com" ]
jawor403@gmail.com
059bcedd66f7ef96cab189652c770b168fc24da1
0d0711c5588e80995d83cfd1fa814d8031f591a6
/offer/cut_rope.py
bb70a92793eef8546003539c57593d7c2c8027a9
[]
no_license
lxlscut/leecode
f215a85e42904cf40c6ff83b04ac1e0b9cd12ee0
121256d6d488869dcd19e0df3fe3142206cad6dc
refs/heads/master
2022-12-26T15:11:39.888532
2020-10-12T03:13:32
2020-10-12T03:13:32
303,265,125
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
def cut_rope(length): max = 0 # cut成m段 for i in range(2, length + 1): # 取整数部分 a = length // i # 取余数部分 b = length % i val = a**(i-b)*(a+1)**b if val>max: max = val return max if __name__ == '__main__': res = cut_rope(2) print(res)
[ "2684017046@qq.com" ]
2684017046@qq.com
8edf7add9dd89a5a59c9d84008f56f0adbe83abc
b7b40fffd7d192b89a7ad3bdb791a7dbd072ac64
/axelrod/tests/test_memoryone.py
44167991b5bf6387399275371a16858e90bad540
[ "MIT" ]
permissive
DEFALT303/Axelrod
f91911ad7a404c30edfef38afd02319fcd12bc15
e59fc40ebb705afe05cea6f30e282d1e9c621259
refs/heads/master
2020-09-24T08:39:49.107919
2015-04-16T16:15:42
2015-04-16T16:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,640
py
"""Test for the memoryone strategies.""" import random import axelrod from test_player import TestPlayer class TestWinStayLostShift(TestPlayer): name = "Win-Stay Lose-Shift" player = axelrod.WinStayLoseShift def test_strategy(self): """Starts by cooperating""" P1 = self.player() ...
[ "vincent.knight@gmail.com" ]
vincent.knight@gmail.com
057d9202a1f973f830d044a22df3ad832451bb6b
1aab2661491a7241096d75471aaa51c2a3f794f0
/para_parsing/main.py
18eb9a980088722380c8f0372bd1cd12bc1a2bde
[]
no_license
UdaySwami/qa_mapper
42b1e2d276b90106207153c5ce5991deccc0b851
4021e871da3d1e389f034c2a28dcc8f7b9a1f71a
refs/heads/master
2022-11-05T00:52:51.857567
2020-06-23T09:57:32
2020-06-23T09:57:32
274,156,462
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
import os from qa_mapper.para_parsing.file_parser import Parser # from qa_mapper.para_parsing import Parser import nltk nltk.data.path.append(os.path.abspath(os.path.curdir)) # nltk.download('punkt') # nltk.download('averaged_perceptron_tagger') class QAMapper: def __init__(self, paragraph_file_name): se...
[ "uday.swami@druva.com" ]
uday.swami@druva.com
fea402ed06f40785cacbf954f34865f10e62de55
76dba08689db40edf2d01a98856fa2a20d98d679
/甲鱼python/课程代码/第11讲/第11讲课后作业.py
f38d6087bebb08ecebe94960c7ce4388591454c7
[]
no_license
pangfeiyo/PythonLearn
ce0747d75b53eb21acb6199acfe10934778420b2
b514b3d7baa62fa7b801d26ff49266f02cb9cbd2
refs/heads/master
2021-05-11T10:20:14.818774
2020-01-16T15:47:16
2020-01-16T15:47:16
118,096,858
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# 从列表末尾取出一个元素,并将这个元素插入列表最前边 member = ['一','甲鱼','玩笑'] member.insert(0,member.pop()) print(member) #python支持负数下标,列表最后一个元素为-1 list2 = [1,3,2,9,7,8] print(list2[-3:-1]) #切片和赋值的区别 #切片相当于复制 sy1 = [1,3,2,9,7,8] sy2 = sy1[:] #切片复制sy1的内容给sy2 sy3 = sy1 #sy1赋值给sy3 sy1.sort() #对sy1进行大小排序 print('sy1:',sy1) print('...
[ "35551631+pangfeiyo@users.noreply.github.com" ]
35551631+pangfeiyo@users.noreply.github.com
0968ad217bcbd03cf908a4a1ff9df1b5fa2ba861
1c03f99fe47a528254a3b579f78714d914d6b893
/classes/entity/Size.py
1517182b4c82122b3d4530821a028338fc0aac92
[]
no_license
yuryprokashev/dress-plot
8ae569d2c445008fafbde235bdb117cac0134b00
10f240dcc8678b3465d9baa4842bf6faf41ef613
refs/heads/master
2020-04-08T04:30:01.074591
2018-12-08T09:48:15
2018-12-08T09:48:15
159,019,174
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
class Size(object): def __init__(self, half_neck, half_chest, half_waist, half_hip, back_till_waist, full_length, full_shoulder): self.half_neck = half_neck self.half_chest = half_c...
[ "yury.prokashev@gmail.com" ]
yury.prokashev@gmail.com
1950e1b780b8b85a152cd64094e8bcc0f574803a
04d3a5621916e0538fccf15d61b68b83566c6bdf
/Assignment_2/Rides/rideservice/models.py
aa96364c25b322a1da27128d1358fb6423cedfd6
[]
no_license
rachana-dani/Rideshare-CC-S6-2020
03a1e6515944a1edea5ef10ec457e7210d442a56
c243b5eaacfc99c3c0a412e054121c8139ebaec4
refs/heads/master
2022-07-29T10:35:40.379545
2020-05-14T06:50:45
2020-05-14T06:50:45
263,821,981
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
from django.db import models from django.utils import timezone import datetime class Ride(models.Model): ride_id = models.IntegerField(primary_key=True) created_by = models.CharField(max_length=50) timestamp = models.DateTimeField(max_length=30) source = models.IntegerField() destination = models....
[ "rachnadani.rd@gmail.com" ]
rachnadani.rd@gmail.com
88945a0a1f5a054699efb8b22abb6da368245cad
5576dffdcd0f6fcd3ca54041c7a7f82e5911f06f
/src/modules/linear.py
bd9f3009e0a7a787b38aa2da9c16e586f495252a
[ "MIT" ]
permissive
bcaitech1/p4-mod-model_diet
4268091d829ba0667807a88a523682385aca8df7
36d8a747e12c375b07d132ed4d08f9fc77126a8b
refs/heads/main
2023-05-29T03:10:51.761647
2021-06-20T08:56:41
2021-06-20T08:56:41
370,229,481
1
0
MIT
2021-06-20T08:56:43
2021-05-24T04:43:39
Python
UTF-8
Python
false
false
1,480
py
"""Linear module, generator. - Author: Jongkuk Lim - Contact: lim.jeikei@gmail.com """ from typing import Union import torch from torch import nn as nn from src.modules.base_generator import GeneratorAbstract from src.utils.torch_utils import Activation class Linear(nn.Module): """Linear module.""" def __...
[ "smithfrancis313@gmail.com" ]
smithfrancis313@gmail.com
c68f7274b878d6ce38cc6f4bf60a1f81062543ae
a6a046433cfccb68693f88fc37922d0696790002
/guessNumber.py
2c5b4effd3c82b8c205c1ab9739ff662d8ac9587
[]
no_license
SrishtiC-008/guessingGame
60a936847a836d5f2bba2d58b1742c78826e5038
cb28cbfa85b871f04013de645efb0556ac48fcc7
refs/heads/main
2023-07-18T03:04:10.119025
2021-09-02T11:36:16
2021-09-02T11:36:16
402,397,274
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
import random print("Number Guessing Game") chances = 0 number = random.randint(1,9) guess = int(input("Guess a number between 1 and 9: ")) while chances < 5: guess = int(input("Enter your guess: ")) if guess == number: print("Congratulations, you won") break elif guess < numbe...
[ "noreply@github.com" ]
SrishtiC-008.noreply@github.com
b66f70766f6fe3c97d830918ab3d7c33e5f9c1d4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/161/49113/submittedfiles/testes.py
3ede0d9001c5c08b41881d224976a6c2ae167e4c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
n=int(input('numero:')) soma=0 for i in range(1,n+1,1): soma=4*(-1*i/(2*i+1) print('%.4f' %soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
00df566357d11d45e4d51f2dfaeb0fec227b0d60
9e7e7125dff233fdd9b2722199f103b4df66e7f0
/ex4.py
f0b8c0ce790b38c5602b4cdcfc8617445dda7a17
[]
no_license
natalijascekic/MidtermExample1
d43b3478607bf6e8cc8b8a5db1d15e347cf6a565
5894d4d2ce5768c8d49f0aef4e0294fcb3e0e5b3
refs/heads/master
2021-04-06T08:27:00.915557
2018-03-08T10:45:33
2018-03-08T10:45:33
124,368,836
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
#suma cifara prirodnog broja def suma_cifara(broj): suma = 0 for i in str(broj): cifra = int(i) suma = suma + cifra return suma def suma_cifara_matematicara(broj): while (broj > 0): cifra = broj % 10 broj = broj // 10 print(cifra) print(suma_cifara(12345)) pr...
[ "natalija.scekic@udg.edu.me" ]
natalija.scekic@udg.edu.me
2ec758ced961e2640d9cce5faf9debaa46c1e165
959ecb8444de4f5dfd8bd309d31ec23e9b09f972
/twitter/pipeline.py
b638b230247f58327c9d4e90362a259d9ee78ac5
[]
no_license
themichaelusa/dealeye
c5072ac9cfadee43747789a6dcece31824bcd47d
5f49e1bedb8a6cd437839b86efaad3c16eb21bb3
refs/heads/master
2023-03-09T11:34:58.081187
2020-04-22T23:32:39
2020-04-22T23:32:39
253,937,917
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
### STDLIB IMPORTS import sys ## INIT COMMANDS sys.path.append('../') ### LOCAL IMPORTS import export from store import TwitterDataDB from scrape import TwitterScraper from extract import TwitterDataExtractor from url_utils import RedirectURLResolver from email_utils import HunterEmailResolver ### PACKAGE IMPORTS pa...
[ "meu2@illinois.edu" ]
meu2@illinois.edu
6d3a407300be31a52b42c56933a379199611b440
28c82784b17dd8bb1cbeb133e81958c33e875684
/6_lab_resonance.py
922e2997ef2b5ccbfd8c1ea04a5d26cc392c69dd
[ "MIT" ]
permissive
dwahme/physics_calc_enabler
7e7c673601a1fda720114a9fea0e2a9b7e52e311
f0fc4c9214cd024344c5f0d3684b29666339395e
refs/heads/master
2020-04-03T00:27:56.566201
2018-12-31T17:48:17
2018-12-31T17:48:17
154,900,221
0
0
MIT
2018-12-31T17:48:18
2018-10-26T22:16:38
Python
UTF-8
Python
false
false
435
py
import functions as f ################## # BEGIN DATA INPUT ################## mass_g = 0 mass_g_uncert = 0 k_const = 0 oscillation_periods = [ 0, 0 ] ################ # END DATA INPUT ################ # CALCULATIONS # predict the period of oscillation using mass_g and k_const # get average oscillation peri...
[ "dwahme1@gmail.com" ]
dwahme1@gmail.com
8b01c8a8e52c317ded383e0ea010e85e3d6512d6
1b9c3440db918240045ac9c271a8c4d5f376383c
/cogs/help.py
f9bd8227f94e6ed511ff09a7c356cfd922d0ab6f
[]
no_license
wyz3r0/Sewayaki-bot-no-Aruya-chan
c535260901281f619278bde1e6c61d7dae6332c0
f8a8ffec0ac8cd5ca0dd9c0604639d986641f0ef
refs/heads/master
2023-05-08T03:36:39.692081
2021-05-25T19:53:25
2021-05-25T19:53:25
349,130,132
0
0
null
2021-05-25T19:53:25
2021-03-18T15:45:21
Python
UTF-8
Python
false
false
1,698
py
from discord import Embed from discord.ext import menus from discord.ext import commands from discord.utils import get from typing import Optional from configparser import ConfigParser cfg = ConfigParser() cfg.read('/home/runner/Sewayaki-bot-no-Aruya-chan/cfg.ini') def syntax(command): cmd_and_aliases = "|".join([s...
[ "" ]
9154c2615a4416e3641be86e6dd82525a25bdeda
2ecb310c0be7eb44bef347f69eb67ca28ba1fd69
/Ej_1.py
1f54b185b6b48e7cd50c40511a2d06bcb91f6022
[]
no_license
DianaEstradaGarcia/PracticasPython
0a3a3c9a936b1eae4983fccc5e8dda84ca942973
b287cb381742c44f6543d27f2b81cea85c9b374e
refs/heads/master
2023-04-04T12:30:45.804064
2021-04-06T17:03:53
2021-04-06T17:03:53
341,021,508
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
numero1=int(input("enter first value ")) print(numero1) #Uso "print" para comprabar que la función input funciona numero2=int(input("enter second value ")) print(numero2) print(type(numero1)) # Uso la funcion "type" para ver que tipo de varibale es numero1. En este caso es un numero entero (int) mayor_que=numero1>nu...
[ "sima123939@gmail.com" ]
sima123939@gmail.com
3e30025d633cb0e086cacf1445281398ac862d4f
9c470198881812e20b8047529bd52cac5dcd5cb1
/quickread.py
4b4be7a7db20db45d7ac026bcfd2e5d80324ef79
[]
no_license
briochh/ptproc
43d679637b9fd9b574def7357623224a25fc060c
cfda2fb4784fb8670313e3c96427037137be6b26
refs/heads/master
2021-01-24T17:39:08.844093
2015-11-23T11:30:46
2015-11-23T11:30:46
30,016,083
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
# -*- coding: utf-8 -*- """ Spyder Editor This temporary script file is located here: /Users/briochh/.spyder2/.temp.py """ from t2data import * from t2grids import * from t2listing import * import os import pytoughgrav as ptg os.chdir('C:/Users/glbjch/Local Documents/Work/Modelling/Cotapaxi') mod='Cota20150604_1' #...
[ "brioch.hemmings@bristol.ac.uk" ]
brioch.hemmings@bristol.ac.uk
7a0acf73291ae56248b13eac72392da0f2c746b1
fb843a509e03efd4220715582766fda5e763879d
/business/Store.py
32cf230804943fb10a40d15be48b4ec7ac2aeba8
[]
no_license
santybm/mom
0c37bd579064f91b68b365ed63132b69d26b2651
e44ee6383eb6d3b09687c32d2709d22794046895
refs/heads/master
2021-01-10T04:00:21.506275
2015-11-01T18:56:55
2015-11-01T18:56:55
45,311,004
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
__author__ = 'Herb' from parse_rest.datatypes import Object class Store(Object): pass
[ "Johanos@bu.edu" ]
Johanos@bu.edu
d969b067a8794040e593162a61272a1202f041c6
4beabfbff92f922269ac96cc5a2b5ae04781cb13
/arduino_flattener.py
38b17dabd44be78587811b5d8b36229f380e6f48
[ "Apache-2.0" ]
permissive
rumpeltux/sd-spi-communications-library
895520b50b6406dd861d46cc2928fa8ce13c2424
72eb81c41d31a3ea614af75e7f9a01e2776d74f1
refs/heads/master
2020-09-27T12:28:58.567943
2019-12-07T10:20:33
2019-12-07T10:20:33
226,516,743
1
0
Apache-2.0
2019-12-07T13:20:24
2019-12-07T13:20:24
null
UTF-8
Python
false
false
3,087
py
## # @file arduino_flattener.py # @author Wade Penson # @date June, 2015 # @brief Flattens the folder structure making it easy to use the library # with the Arduino IDE. # @copyright Copyright 2015 Wade Penson # # @license Licensed under the Apache License, Version 2.0 (the "Licens...
[ "wadepenson@gmail.com" ]
wadepenson@gmail.com
376795b7290cf0947523c2c0f3d9bb3656459d5c
9157478eaf508276049f5fb80c2ec42f42b0d614
/oop/bus.py
ec44898aeacfa1d77877d105ded7ef2ef2a156c5
[]
no_license
JorgeRobins/python-blockchain
f640a9c3fa74e9b2bcf107d08d10f10025a19111
7b60ca0178cccb893e6d21040fa1c4c7d3f10bac
refs/heads/master
2020-04-27T22:03:13.819268
2019-03-23T23:07:04
2019-03-23T23:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from vehicle import Vehicle class Bus(Vehicle): def __init__(self, starting_top_speed=100): # super calls the constructor of the base class so we also include them not overwrite super().__init__() self.passengers = [] def add_group(self, passengers): self.passengers.extend(pass...
[ "jrobins@mazepoint.com" ]
jrobins@mazepoint.com
33a9ca4954a0be409500c41ace35ca2aa409ae49
524c0d4a584caef20abc6745037e100a2a0c0655
/cryptomath.py
d2e6fe2a83026fb2689ad4d4f51068c4f6c23d53
[]
no_license
Anthem9/CTF_Crypto
d26d4fe8ee99893e460ad68e17e18e4b54fb2555
de55e27fc1b371f3462bd1c32920aab440ef1958
refs/heads/master
2021-05-01T06:04:19.556653
2018-02-11T15:09:40
2018-02-11T15:09:40
121,135,226
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#Cryptomath Module def gcd(a, b): #计算最大公约数 while a != 0: a, b = b % a, a return b def findModInverse(a, m): #计算模逆 if gcd(a, m) != 1: return None u1, u2, u3 = 1, 0, a v1, v2, v3 = 0, 1, m while v3 != 0: q = u3 // v3 v1, v2, v3, u1, u2, u3 = (u1 - q * v1)...
[ "guoxiaoxiaoyu@gmail.com" ]
guoxiaoxiaoyu@gmail.com
1935e57dd7a332b65b5a71f3867409bf2495116c
a3783b1f5c075bb1ee3cb2d2d486710677204378
/lesson3_step6.py
eeeb095d79233f83dea0e89ddbfaaa2d99726a5e
[]
no_license
Yuliya4325/Auto-tests-course
2c1a3240f3c8d8ececa63ea5cec03c4ab07f3d64
b70fcaf0f04c5374e7c3f8ac77c42b1aad67f1dc
refs/heads/master
2022-11-25T23:27:21.961714
2020-07-15T20:08:32
2020-07-19T15:48:00
278,929,533
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
from selenium import webdriver import time import math try: link = "http://suninjuly.github.io/redirect_accept.html" browser = webdriver.Chrome() browser.get(link) button1 = browser.find_element_by_css_selector("button.trollface") button1.click() new_window = browser.window_handles[1] browser.switch_to.window...
[ "Yuliya1@iMac-Yuliya.local" ]
Yuliya1@iMac-Yuliya.local
c5934f4b90758b7b0e1417135576b43e12408f78
8f941c27b2fef6ca001d4c961b9969fb5c3af7aa
/farming/settings.py
7d23e64948b9ff1a2aaa94e2bccbdc121df5f5bf
[]
no_license
smithellis/farming
1671e51a42109aa43e0df138e6dbb5df68e572a2
5073a0880ce63e54718d58c6036e3c05dd302dbc
refs/heads/master
2021-01-15T11:18:45.301090
2014-11-04T19:23:42
2014-11-04T19:23:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
""" Django settings for farming 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, ...) im...
[ "smithe@gmail.com" ]
smithe@gmail.com
2ca40c9745cafec57f504ad00865b8a15eb016d0
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_15419.py
b16cd84c9dd57f33adebb10f84dbec1286edafa9
[]
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
79
py
# Python comparing individual lists of lists elements if x[i][0] &gt; y[i][0]:
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
10a42a6cd0ea1f64e2bcbb93e47165bbf0af7d3a
4b6add2be2207c64f9bab6d2611dff45ba655613
/02_ProgramFlow/21_augmented assignment loop_ CHALLENGE.py
5cee4ab942734bfa75165ae646111589d6b832b8
[]
no_license
bidhutdhakal/python
65a69d4c31239dc087dda41a6aba8aab021b351c
7174a33684df020b1afa339fa2d783e7614adb79
refs/heads/master
2022-11-15T02:10:13.250935
2020-07-19T10:23:17
2020-07-19T10:23:17
275,973,717
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") # Early computers could only perform addn. In order to multiply one number by another, they performed repeated addition. # For example, 5 * 8 was performed by adding 5 eight times. # 5 + 5 + 5 + 5 + 5 +5 + 5 + 5 = 40 #...
[ "bidhut1996@gmail.com" ]
bidhut1996@gmail.com
a6a8afa4e3ca2f14f48f0c9ebd11520a7b0e9b34
a65622c6b3d8c570f113af3ee49b4c4f2ec4995c
/PY_files/username.py
0cf47754330637e87f5921af0ad86947059ec343
[]
no_license
muthu255/python
62a88d32450d71a9297b65ae1865c6125a716a8d
4c1135388b2ba36ac4c23e952e064496db9cab82
refs/heads/master
2022-07-03T14:49:35.008669
2020-05-13T19:22:40
2020-05-13T19:22:40
263,722,427
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
import tkinter from tkinter import filedialog from tkinter import * root=tkinter.Tk() root.title('Enter your database crendtials') e1=Entry(root,width=20,borderwidth=5,) e1.grid(row=2,column=4,columnspan=3,padx=10,pady=10) e2=Entry(root,width=20,borderwidth=5,show='*') e2.grid(row=3,column=4,columnspan=5,...
[ "noreply@github.com" ]
muthu255.noreply@github.com
46a2e88f482b70548c82568f1d10bf2234d6b0e0
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_20/models/array.py
b454053102b55f917520181b04db56e7ba183f91
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
7,115
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.20 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
d0118703cd1be666f42813c975c6d146b4aba794
f72a82c5d8bc76078b9969ddd45d2cb94b65653d
/ccc/py/ccc15j3_oneline.py
a0e5b0f32ce89b79a0d8630a467725a6f845a374
[ "MIT" ]
permissive
tylertian123/CompSciSolutions
1f76d6d7b60358ea24812b96b9f3d7d54c5ffdc8
33769a20ea613439f92055b40deeac4927cb0a91
refs/heads/master
2021-06-17T20:55:49.812172
2021-02-21T05:42:24
2021-02-21T05:42:24
179,722,285
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
for c in input():print(c,(min((abs(ord(c)-ord(v)),v)for v in'aeiou')[1]+((chr(ord(c)+1)if chr(ord(c)+1)not in'aeiou'else chr(ord(c)+2))if c!='z'else'z'))if c not in('aeiou')else'',sep='',end='')
[ "tylertian123@gmail.com" ]
tylertian123@gmail.com
512035201e3a6c4d9414e34ad579f8b05cf82917
ff55d72d5265d42ce57f0e95347421c23c0e32f5
/python/p3
6b727111864558ab2950eca30cd757cb4a929756
[]
no_license
tolgaman/testrepo
927f563cdd8eb00557b231766cd20260b63f9d11
39fa5d1e82ccfb3931bc4a73bd41e187a005fe1f
refs/heads/master
2020-04-05T22:44:04.441075
2019-07-24T22:12:17
2019-07-24T22:12:17
32,182,896
0
0
null
2015-03-13T21:58:09
2015-03-13T21:58:09
null
UTF-8
Python
false
false
1,885
#!/bin/python pwd="lnzxklcvgonolxoy" import email, getpass, imaplib, os detach_dir = '.' # directory where to save attachments (default: current) user = raw_input("Enter your GMail username:") #pwd = getpass.getpass("Enter your password: ") # connecting to the gmail imap server m = imaplib.IMAP4_SSL("imap.gmail.com")...
[ "harun@eagle.crest.com" ]
harun@eagle.crest.com
400773e1388d41b266ef404a2c92ffa8990ba3f4
f5b4ff16138994d97bbdd7bc6bc9f3d6bbba9a1e
/Otp.spec
583003b8b3484a4d402bb0b891fb09e75127aa0b
[]
no_license
Sudhir7832/Otp.pyw
903b31d7b21a79e3f1e5d5fa2718a1f1cdc45863
2365721fc1b684ce74652c3ee870ef1d5573a5f2
refs/heads/master
2023-07-11T16:18:26.864103
2021-08-12T15:31:28
2021-08-12T15:31:28
395,364,366
0
0
null
null
null
null
UTF-8
Python
false
false
974
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['Otp.pyw'], pathex=['C:\\Users\\DELL\\Desktop\\otp'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "Skm02862@gmail.com" ]
Skm02862@gmail.com
a02d20ef716ffb5e171da88ab492aba679f903ae
c250f7e1f1cbbc45bf7a6f28f8169cf6e7c74b38
/venv/Scripts/pip3-script.py
91405bcc9a5225247189fbc367eae4dcef36f1aa
[]
no_license
Binetou1996/FirstProject1
40d74e4d1154a842ca2edbee0431ffcf17521c82
4af9b0269ac1c4e4ad2557e48b54934b4af5ca5f
refs/heads/master
2020-04-10T23:01:25.721331
2018-12-20T18:49:56
2018-12-20T18:49:56
161,339,363
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!C:\Users\HP\PycharmProjects\DjangoProject\FirstProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$...
[ "fatoubinetou196@gmail.com" ]
fatoubinetou196@gmail.com
bf43644aded3dbfbc4cbf8ae8a0f2aa704ba25ce
d416d916492cd48b75d9f21bbf01625072df4820
/DMeans.py
1e889061d9f6adf6fa81f3c7c017a52a9224cc51
[]
no_license
ZongweiZhou1/Multitude
da4392940d60e1cc827e31bdf75ce64e6d9f688d
db2a9df7ac00f13635b8a1408d9a01bbed1f846c
refs/heads/master
2020-06-26T00:09:55.397847
2020-01-13T03:33:35
2020-01-13T03:33:35
199,463,718
1
0
null
null
null
null
UTF-8
Python
false
false
3,131
py
import numpy as np import random from time import time from dynmeans_py.dynmeans import DynMeans from utils.matching import matching class DMeans(): def __init__(self, v_lambda, T_Q, K_tau, nRestarts=10, match_func=matching): Q = v_lambda / T_Q tau = (T_Q * (K_tau - 1.0) + 1.0) / (T_Q - 1.0) ...
[ "zhouzongwei2016@ia.ac.cn" ]
zhouzongwei2016@ia.ac.cn
044ef7733d33340e7cf093fa5b1b04a826c31548
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_summary.py
18d09be192ac1b4023f64ab173806411d3dcea87
[ "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
417
py
#calss header class _SUMMARY(): def __init__(self,): self.name = "SUMMARY" self.definitions = [u'done suddenly, without discussion or legal arrangements: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.js...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b6f61d9cae0e2d0f9dc640ed398d6d16ccf52c85
2e80c9630036d493400a5d568f2bae952ddd438a
/contents/1_Demo/05장 클래스/상속03_재정의.py
8eec3a91f2b0fe05c6a0375d0847b8878f3d9b58
[]
no_license
gregor77/start-python
2a18847f93c3630d4106d342b63632b5a1ec119d
26481941f61eddd1f34aa53aa4c6f4afd0c03580
refs/heads/master
2021-01-10T10:56:43.225164
2015-10-29T08:20:26
2015-10-29T08:20:26
44,936,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
class Person: " Super Class " def __init__(self, name, phoneNumber): self.Name = name self.PhoneNumber = phoneNumber def PrintInfo(self): print("Info(Name:{0}, Phone Number: {1}".format(self.Name, self.PhoneNumber)) def PrintP...
[ "gregor77@naver.com" ]
gregor77@naver.com