blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
c259f5026a586e6ea50ad764940a3a142ae65202
c7f4387733c95ced53dae485f36618a88f18ea45
/Uri/1061.py
3e14cd823da4b724d092a9f5fbb6458bae7fd7b6
[]
no_license
douradodev/Uri
25d7636b5d5553fafdbd61a38d7c465c4cb79c0c
e879ebca7a87de674d69d739617c4207156ce349
refs/heads/main
2023-06-03T18:53:11.749866
2021-06-22T12:40:11
2021-06-22T12:40:11
379,264,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
def main(): begin_day = input().split() begin_time= input().split(' : ') end_day = input().split() end_time= input().split(' : ') begin_time = int(begin_time[0]), int(begin_time[1]), int(begin_time[2]) end_time = int(end_time[0]), int(end_time[1]), int(end_time[2]) total_day = 0 total_time = [0,0,0] total_d...
[ "victorhenrique01000@gmail.com" ]
victorhenrique01000@gmail.com
1522254803b17907540e7f62b7738bd022e97f1f
ce083128fa87ca86c65059893aa8882d088461f5
/python/sistema-de-contatos/.venv/lib/python2.7/site-packages/toolz/__init__.py
43226df7316aa0545101101540d51ff04f94c368
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
314
py
from .itertoolz import * from .functoolz import * from .dicttoolz import * from .recipes import * from .compatibility import map, filter from . import sandbox from functools import partial, reduce sorted = sorted # Aliases comp = compose functoolz._sigs.create_signature_registry() __version__ = '0.8.0'
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
a299a1c5458db60b310cd56594e34e8b29f23903
6237fb1efc6f92581b81fb2739e33b6c67cd7ec1
/plugin.video.sportsmania/default.py
f2e4c385b0815ce8470e4638b32e5db4c69ca5ff
[]
no_license
moga1061/My-Repo
d4900a99983ddb037e18b1df774f849d1357d9ec
570a5bea5607ababac9c6b0440e68319230ecfdc
refs/heads/master
2020-12-29T02:06:38.227694
2015-03-19T15:26:54
2015-03-19T15:26:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,982
py
import xbmc, xbmcgui, xbmcaddon, xbmcplugin, urllib, re, string, os, time, json, urllib2, cookielib, md5, mknet addon_id = 'plugin.video.sportsmania' art = xbmc.translatePath(os.path.join('special://home/addons/' + addon_id + '/resources/art/')) selfAddon = xbmcaddon.Addon(id=addon_id) user = selfAddon.getSettin...
[ "tcz009@hotmail.co.uk" ]
tcz009@hotmail.co.uk
02cd1a8335a5bb3b571f1771e9a15260965e9062
2bc3d01380d4b67b720972e81c2a6362f82ee654
/server.py
2312ae9dcb638d163cdf0b91be22e97420da6a57
[]
no_license
ntoonio/Valnatt
145e4fbc21f02bf579fed096e64e0ad4ba2fc5e7
8c1e1b5bc81a3e363199f8e0c1dfb3c40b308bf0
refs/heads/master
2020-03-11T14:28:06.843890
2018-09-04T11:44:45
2018-09-04T11:44:45
130,055,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
# -*- coding: utf-8 -*- import getVotes import getParties import getRegions import json from flask import Flask, request, send_from_directory app = Flask(__name__) @app.route("/") def indexRequest(): return "<h1>Hej!</h1>" @app.route("/<path:reqPath>") def jsRequest(reqPath): if reqPath.endswith("/"): reqPath ...
[ "ntoonio@gmail.com" ]
ntoonio@gmail.com
91e509fd52450a4ec57391030561780e171a2470
095ff3a7db143af55ab380274037533284cdde43
/source_cloudsearch/lambda_function.py
1882c48dbd01703c2a2541688b037129cbc4b910
[]
no_license
ww2or3ww/near-near-map-function-search
88e47c36b0f7b66c2ca27cc3efb494c89b42044f
88cda0d4f8838869440b3d2891ac34ad698cabb4
refs/heads/development
2023-05-13T11:10:41.993164
2021-01-01T03:27:26
2021-01-01T03:27:26
261,432,873
0
0
null
2021-06-02T02:50:42
2020-05-05T10:49:54
Python
UTF-8
Python
false
false
4,315
py
import json import os import requests from urllib.parse import urljoin import logging logger = logging.getLogger() logger.setLevel(logging.INFO) API_ADDRESS_CLOUDSEARCH = "" if("API_ADDRESS_CLOUDSEARCH" not in os.environ) else os.environ["API_ADDRESS_CLOUDSEARCH"] def lambda_handler(event, context): ...
[ "w2or3w@gmail.com" ]
w2or3w@gmail.com
d17fc95127131914a39bebb4baeb10f344ec6e06
3e6c10f13f3d70def2d67681475a3b99a354dd81
/WebcamStream/resource.py
686ce2958e2810717fb3256c89ed28de80fc54b9
[]
no_license
wastedMynd/pythonProject
11204ed93cc79f60f3f071015565ce49009835ae
52be40d1b71708d4f24040a6bb17002d863cf2c6
refs/heads/master
2022-12-19T04:04:00.581103
2020-09-30T19:29:10
2020-09-30T19:29:10
287,287,748
2
3
null
null
null
null
UTF-8
Python
false
false
227
py
def gen(camera): while True: frame = camera.get_frame() yield ( b'--frame\r\n' b'Content-Type: image/jpeg\r\n\r\n' + frame + b'\r\n' )
[ "kin.afro@gmail.com" ]
kin.afro@gmail.com
46c7ec22e04673371751fa9f59abf5a306202f3d
c2907af96097a003f7dfce6718e35299f8c62564
/setup.py
73648bd9aa15edc6531e739ea51738303a89cecf
[]
no_license
markcutajar/rllabs
d52fcc8104350e3b5431f6feeb78fef850a8f9e9
bf5676054c3ac5f2d56387d84987989824e28512
refs/heads/master
2023-03-16T07:01:34.782183
2021-02-28T21:46:05
2021-02-28T21:46:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from setuptools import setup, find_packages setup( name='config', packages=find_packages(), )
[ "mcut94@gmail.com" ]
mcut94@gmail.com
680806512eab14a55d2e056a2269f2faa910c457
f9c8af20349f2fe4a73be4d038826caff87e0ab1
/Problem Solving/Basic/staircase.py
0559c2cbfb0eaf8579ceebaa0a06a9603c427ce8
[]
no_license
danylo-boiko/HackerRank
0ea14716328ac37377716df7c2fa997805d3f9bf
1a5bb3462c59e9d8f4d675838a32c55e593f4b8a
refs/heads/main
2023-08-14T12:36:18.179156
2021-10-05T23:13:29
2021-10-05T23:13:29
400,652,036
1
0
null
null
null
null
UTF-8
Python
false
false
244
py
# https://www.hackerrank.com/challenges/staircase/problem # !/bin/python3 def staircase(n): for i in range(1, n + 1): s = '#' * i print(s.rjust(n)) if __name__ == '__main__': n = int(input().strip()) staircase(n)
[ "danielboyko02@gmail.com" ]
danielboyko02@gmail.com
811034c0c35cd0fccb11bcb53b93c1b425c7d22f
928f919a3f138917f3dd6ff3696cd496d86ba4c2
/message-thrift-py-service/message/api/MessageService.py
f73e9bab97c68bdd45137370c494e9cb1c8f30f3
[]
no_license
kongdou/micro-service-project
0b3552d8c4a1d44d5b31d49de13ac86308b71700
a81c18ddb5931951974b92e0c55ffc2ebfaf47c4
refs/heads/master
2020-04-03T08:49:32.595519
2018-11-01T15:11:56
2018-11-01T15:11:56
155,145,892
0
0
null
null
null
null
UTF-8
Python
false
true
14,758
py
# # Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException import sys import logging f...
[ "zhao.xiao.jie@outlook.com" ]
zhao.xiao.jie@outlook.com
517f21fac637648cd6e23eefffb68fd925e0fc0c
3bb1aad442fa6202bfb44977ef1aab8c81790cdc
/CNN.py
068467537ae6e17aab2300eb89d1775865078e80
[]
no_license
peymanbey/faceKeyPointDetection
5bca6caf04f98aaca6f99f3a675d20a88906c86d
1594c296cc83241edcbcba0ffbd4ea9ae45c9a8f
refs/heads/master
2021-01-19T02:54:48.578222
2016-12-14T20:41:29
2016-12-14T20:41:29
52,149,913
2
5
null
null
null
null
UTF-8
Python
false
false
8,758
py
from utils import data_set, shared_dataset, build_update_functions, early_stop_train import numpy as np from lasagne.layers import InputLayer, DenseLayer, NonlinearityLayer, count_params from lasagne.layers import DropoutLayer, get_all_layers, batch_norm, ElemwiseSumLayer from lasagne.layers import Pool2DLayer as Pool...
[ "p.beyranvand@gmail.com" ]
p.beyranvand@gmail.com
3056ee16f7416b3552aad2023ab5e45bf0fe7280
c81fe584dca70292c44367194c662487c890ff7f
/alibi/api/defaults.py
c6e49ce5b9a674fe9cfcf4f3e04201bd15e5d698
[ "Apache-2.0" ]
permissive
alexcombessie/alibi
f3d7ea022ed4a013c5f1f7accc705b8749a3633c
6fa5c3968e387259c8d5e781e509fbcc09c90a79
refs/heads/master
2023-04-20T04:01:09.620927
2021-05-14T09:35:29
2021-05-14T09:35:29
366,784,442
0
0
Apache-2.0
2021-05-12T16:41:13
2021-05-12T16:41:12
null
UTF-8
Python
false
false
4,980
py
""" This module defines the default metadata and data dictionaries for each explanation method. Note that the "name" field is automatically populated upon initialization of the corresponding Explainer class. """ # Anchors DEFAULT_META_ANCHOR = {"name": None, "type": ["blackbox"], ...
[ "noreply@github.com" ]
noreply@github.com
88890e99af2180a2a755d3c8e097e85249847f22
782331de990cedc6b1e616cbcd53e65e635449ee
/code/gui_me_code.py
d474a49c73c7042e9940416c9c22b0b709aa0244
[ "MIT" ]
permissive
masonrogers14/speedbot
7462b62b05a621d35fada68106931ffdd5bc181a
f71f4b4dbdb60b68c111e9c9bb935c0e7b6644c6
refs/heads/master
2020-12-14T04:57:40.908610
2020-01-20T16:32:55
2020-01-20T16:32:55
234,648,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jun 2 10:17:50 2019 @author: Mason """ from PyQt5 import QtCore, QtWidgets import gui_code as gc import jump_classes as jc uiME = None; MainWindow = None; ui = None; events = None def setup_me(tempUIME, tempMainWindow, tempUI, tempEvents): #Initi...
[ "Mason@dhcp-18-20-190-187.dyn.mit.edu" ]
Mason@dhcp-18-20-190-187.dyn.mit.edu
9bf5fa02f6351b3f46596cb21455d8c9b6cfaf90
36e369fa4f09955a76796a46d5364502e3445266
/server/server/__main__.py
460050f492a672ab9c99e6d8d738e37bb7169748
[]
no_license
darrenswhite/plagiarism-detection-plugin
480b56b2c04c1d26aa3ab5913ce12a3abf3de3b2
1398f44c9cac0fe553a9e7e7e5e0be3ebbdb1ed0
refs/heads/master
2021-03-27T10:29:46.258155
2020-07-24T14:52:51
2020-07-24T14:52:51
120,503,426
0
0
null
2020-07-24T14:53:20
2018-02-06T18:20:58
Python
UTF-8
Python
false
false
377
py
# This file is used for executing the module when using "python -m server" import sys if __package__ is None and not hasattr(sys, 'frozen'): # direct call of __main__.py import os.path path = os.path.realpath(os.path.abspath(__file__)) sys.path.insert(0, os.path.dirname(os.path.dirname(path))) from s...
[ "darrenswhite95@gmail.com" ]
darrenswhite95@gmail.com
757ad5797b4182e0b1dc39f8fd424e66c7e6df6b
23307f8e889f232724756bb26b1def1f0ba3323b
/fairseq/tasks/speech_to_text.py
9388047a5e92e1c66236022de664b0480b9862be
[]
no_license
krisjeong/fairseq_data
9395cb574d91147c95b6f08eecd814e4cb2fdad8
f29e7dae3c2be3a908e795bfc952cc845b80280d
refs/heads/master
2023-07-12T22:21:22.349970
2021-08-18T06:20:11
2021-08-18T06:20:11
397,152,122
0
0
null
null
null
null
UTF-8
Python
false
false
5,214
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import os.path as op from argparse import Namespace from fairseq.data import Dictionary, encoders from fairseq.data....
[ "krisjeong00@gmail.com" ]
krisjeong00@gmail.com
d932b6575f84114548c86880689a28bd8eb32410
026051fd279d7d9fe5852ab060933ff75201f702
/Web_Development/django_project/manage.py
3b86e4c0b0548e52b13dee56fe55108495228681
[]
no_license
cutnada/Python-Notes
2a211f3c15c1c83c38fb7c1f549741a3726a1ea9
37445db1d871911ec0045a1cebce4982e657b574
refs/heads/master
2022-09-23T07:38:36.322331
2019-07-19T12:08:43
2019-07-19T12:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'd_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "noreply@github.com" ]
noreply@github.com
fa350fdb3e72dd4791fd8ec26ddfb37adacabbf3
c84a3895e6fdcaff5a9f97abe9c3efbecbad535f
/trader/connector/bitmex/trader.py
8a25600d285d7b0035c8a73b3cceaf9e557e151c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cal97g/siis
5a171eb34dd3f7ae6e19d8065ff1e2f8b6251319
adc06e48e5df6ffd7bed6ee6b79d0aa3cfe80e0d
refs/heads/master
2020-07-23T18:11:57.267225
2019-09-05T01:00:37
2019-09-05T01:00:37
207,663,001
0
1
null
2019-09-10T21:05:25
2019-09-10T21:05:25
null
UTF-8
Python
false
false
22,885
py
# @date 2018-08-21 # @author Frederic SCHERMA # @license Copyright (c) 2018 Dream Overflow # Trader/autotrader connector for bitmex.com import time import base64 import uuid import copy import requests from datetime import datetime from notifier.notifiable import Notifiable from notifier.signal import Signal from t...
[ "frederic.scherma@gmail.com" ]
frederic.scherma@gmail.com
43c06f8278a5366020f9d1faef6d11fbe0df03ae
82ebc6142f7044f8e908ffd6b2dc9e699191fd36
/users/serializers.py
a7c000728c4688b5ce63c1f4c258ca68ee3a3d0d
[]
no_license
32dantey/shopbuild
4f775209e5b320364a8a845583c0d3c77f9844ee
745b6cf73c8da52ed93b8bfe49055624dfa0aea2
refs/heads/master
2023-08-25T17:29:23.470994
2021-11-14T14:17:05
2021-11-14T14:17:05
427,917,564
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.contrib.auth.models import User from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ['username', 'email', 'is_staff']
[ "root@localhost.localdomain" ]
root@localhost.localdomain
a09e1fca395152b9a322a0ac515257f8df319da7
81c713f21ba0bbc5d2a82c6739ff08ace13cc4ce
/PyGo/Go.py
55612c0ad094a145bfc218efe1afa9203f365ee4
[]
no_license
Shua1Chao/18S103138
29aa4e9aa737aacdd84bb962a2973b27706ab492
8bd2e85371d17b36d3a4ecf1a5f719aeb61c6615
refs/heads/master
2020-06-27T04:54:54.895821
2019-07-31T12:41:07
2019-07-31T12:41:07
199,849,232
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from GoGame import GoGame from GoGame import BoardSize from GoDisplay import GoDisplay import sys import pygame game = GoGame(BoardSize.Large) print(game.to_string()) gameDisplay = GoDisplay(game) gameDisplay.start()
[ "491922401@qq.com" ]
491922401@qq.com
aa29aa9dd6c0b5f6833afd90f618c86c2bebc4b7
0386591b51fdbf5759faef6afb8729b64a3f1589
/layerserver/widgets/creationuser.py
0d14842f70435682d0eb6129fb35fbba132c0939
[ "BSD-3-Clause" ]
permissive
giscube/giscube-admin
1e155402e094eb4db1f7ca260a8d1402e27a31df
4ce285a6301f59a8e48ecf78d58ef83c3827b5e0
refs/heads/main
2023-07-11T17:23:56.531443
2023-02-06T15:12:31
2023-02-06T15:12:31
94,087,469
7
1
BSD-3-Clause
2023-07-07T13:22:09
2017-06-12T11:12:56
Python
UTF-8
Python
false
false
371
py
from .base import BaseWidget class CreationUserWidget(BaseWidget): base_type = 'string' @staticmethod def create(request, validated_data, widget): validated_data[widget['name']] = request.user.username @staticmethod def is_valid(cleaned_data): if not cleaned_data['readonly']: ...
[ "abusquets@gmail.com" ]
abusquets@gmail.com
db2c4c8a768349cb60470463d4f49679f5f70077
95576660c9afd77f671f7fcff98ca7e34af6dca9
/project/yolo more.py
56cfd1e4e8e8f704d14e1fcef2110246d8fb1ab8
[]
no_license
PrafulAradhyamth/Yolo
e5cd4d12137390e4c59865aa1214eb87a8ff7cea
3e6d08f4c3b6949f8914b52bd9eae8185b169921
refs/heads/master
2022-12-27T06:35:49.222795
2020-09-12T05:59:51
2020-09-12T05:59:51
294,881,047
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
import cv2 import matplotlib.pyplot as plt import numpy as np import pyttsx3 net = cv2.dnn.readNet("yolov3.weights", "yolov3.cfg") classes = [] with open("coco.names", "r") as f: classes = [line.strip() for line in f.readlines()] layer_names = net.getLayerNames() output_layers = [layer_names[i[0] - 1] for ...
[ "noreply@github.com" ]
noreply@github.com
40ba18cb7fe2eda9948ef8ce918e76f44ed9cdac
f6e3040ba1bf5ebf85ccc3691d62d929711c5ab7
/personal_portfolio/settings.py
8da8602337553126fc5aa542ae118e1b001446c3
[]
no_license
YdvBikAsh/django3-portfolio
946e07d9dfacec94c6ee00d56a699cbdf774755b
f31216a31208800bf32fbb5a6db2c902bf10172d
refs/heads/master
2022-11-30T15:48:57.542321
2020-08-15T04:25:19
2020-08-15T04:25:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,428
py
""" Django settings for personal_portfolio project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ i...
[ "yadavbeecash33@gmail.com" ]
yadavbeecash33@gmail.com
815579dd6d44ae403fc012a4f99d9bb8a607d842
4aec44fe50fa5c40f80c45bfb160d2fa7a98a0a9
/students/jsward/lesson07/assignment/linear.py
f11fc105aa5a6d00df68e15542e76269dc162e4d
[]
no_license
UWPCE-PythonCert-ClassRepos/220-Advanced-Summer-2019
4e51fde79921e6e75f590bef223bc1b0f118ef41
6ffd7b4ab8346076d3b6cc02ca1ebca3bf028697
refs/heads/master
2022-12-13T01:22:01.063023
2019-09-22T10:21:37
2019-09-22T10:21:37
194,944,978
4
18
null
2022-12-08T01:22:40
2019-07-02T22:51:07
HTML
UTF-8
Python
false
false
3,005
py
# They are not, in fact, constants... # pylint: disable=C0103 # pylint: disable=W0703 """ Lesson 7: Linear Relational concept Mongo DB equivalent Database Database Tables Collections Rows Documents Index Index """ import cProfile import csv import datetime import logging i...
[ "james@Jamess-MacBook-Pro.local" ]
james@Jamess-MacBook-Pro.local
691a94982dc700efbbb5c794b5cbfbf7c32a3c7b
8159f252c93f6c0668fa814dff6b1c52d48c6cfd
/ch02_test_bigram.py
077349fcaf79717f0dca52ae5ee69ac284325248
[]
no_license
hirobo/nlptutorial_myscript
67772b9c9011e256664c35149ae5e62350f72b4b
4269d5f38d76ba1fdb809d6ebb3fcc2947a2199f
refs/heads/master
2016-08-10T23:53:19.117274
2016-04-05T17:07:32
2016-04-05T17:07:32
55,445,117
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
# coding: utf-8 from collections import defaultdict import math import ch01_test_unigram def load_model(model_file): # format is same to the unigram model return ch01_test_unigram.load_model(model_file) def test_bigram(model_file, test_file): H = 0 # entropy W = 0 # word count lambda_1 = 0.95 # I...
[ "hiroko.hirobo@gmail.com" ]
hiroko.hirobo@gmail.com
4ad5a4ee7546234cfab7fe73fe7792776a900554
eb9b1197192e79b5deb60cee45a9d90f3a442ce7
/env/lib/python2.7/site-packages/sqlalchemy/dialects/mssql/base.py
b073af6af00b05eea644d24669c324f50e2edc83
[ "MIT" ]
permissive
lindsaygrizzard/ArtUP
c8f2c816fde14ff554330673fe3852523537768d
3eb4a5c4aa1b9708b37f8a15edc5782ffd6d7588
refs/heads/master
2020-05-16T22:20:19.545464
2016-02-15T03:47:18
2016-02-15T03:47:18
35,400,410
9
3
null
null
null
null
UTF-8
Python
false
false
62,971
py
# mssql/base.py # Copyright (C) 2005-2015 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """ .. dialect:: mssql :name: Microsoft SQL Server Auto Increment Behavior -----...
[ "lindsaygrizzard@gmail.com" ]
lindsaygrizzard@gmail.com
4ee7c2582572d9c3047f0d40ba2dfdeebec648d4
d83b03e5ede166cc4b21acf9bb600b7e5c0186cb
/flask/bin/pip
63fe7d5cd33486c89ab2b45e2e504204a5a8d853
[]
no_license
amanankur/book_transport
810f46448c343b1a06df4aeca7ad3a86c55e403c
c6b66c14d17066405631ab9941a5e1fabd456d97
refs/heads/master
2021-01-01T05:33:37.307928
2015-09-13T22:27:07
2015-09-13T22:27:07
42,414,931
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/Users/amanankur/projects/microblog/flask/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "amanankur1110@gmail.com" ]
amanankur1110@gmail.com
44025f8e0a8f02def9c3f49323a3d5c96e90b93b
91ea407d5750c04646a988b46c52ace04af86928
/models/basic_conv.py
17e923bf31e0be889fce780d8b1e95555af5c15f
[]
no_license
Quantum-Entropy/PoseGraph
0d8c39211a9c532e82bd1ff66faeb5d90d0c74cc
a9f91a5aab6336c20413975b0a893f6ed58047cf
refs/heads/master
2023-02-28T17:03:35.012596
2021-02-08T03:40:41
2021-02-08T03:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
from __future__ import absolute_import, division import math import torch import torch.nn as nn import torch.nn.functional as F class BasicGraphConv(nn.Module): """ Basic Graph Convolution Layer. """ def __init__(self, in_features, out_features, adj, bias=True): super(BasicGraphConv, self).__...
[ "yiranupup@gmail.com" ]
yiranupup@gmail.com
ba6b29d49bdbf778c8073b6ef9f093ca22f74bfe
ceae98e18e66d07ae3e86c45b6fae1766dad6259
/controllers/unit_test/quad_unittest.py
6c47471dbdb306660a64e2a9f994b247fa3628f5
[]
no_license
wallischau/tempproject
b20e1b8f1d797e066b16601d9b3ec13d7d677c90
0d84ca2d4a4fbdbe125b99a33b3fe30b15d11da1
refs/heads/master
2020-03-21T01:15:57.400391
2018-07-05T18:36:06
2018-07-05T18:36:06
137,933,036
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
import unittest from ..quadattenuator import QuadAttenuator class QuadAttenuator_Test(unittest.TestCase): quad = QuadAttenuator('10.3.65.153') def test_get_info(self): fields = self.quad.get_info() self.assertTrue('QA' in fields['dev_name']) def test_get_atten(self): self...
[ "wchau8899@gmail.com" ]
wchau8899@gmail.com
d6d3bcf5c2af59efd9530bb1120bca225c9cc3d5
cfb8b2403d64ca6aa2a336c67159144c55bf58e8
/module4/zyBooksChpt5/halfArrow.py
e10912482ae4c3deb1dde76fa122f34002a24c7e
[]
no_license
DomfeLacre/zyBooksPython_CS200
77bd43f89fbeec7589e50842365100cc9ce284f8
959dcc12dec808b39a42a25adee69dbf152bac96
refs/heads/master
2020-08-06T22:51:05.160759
2018-05-15T01:38:38
2018-05-15T01:38:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
# zyBooks Chpt.5 Exercise 5.13 Drawing a half arrow (Python 3) print ('Enter arrow base height: ') arrow_base_height = int(input()) print ('Enter arrow base width: ') arrow_base_width = int(input()) print ('Enter arrow head width: ') arrow_head_width = int(input()) while arrow_head_width <= arrow_base_width: pri...
[ "chad@thewickk.com" ]
chad@thewickk.com
0a3c43e80309e905dfeb62af395d1d634b1f8e89
cf52e9223630410fe0b4ab5ac89cd7d09c61ad66
/finance/biz/client_bank_account.py
2eed05fe690fd66e7a2ae262504fa31ff60ddc90
[]
no_license
ydtg1993/shaibao-server-python
f6ba2afecc62e1be77f238e90b415eaedbe5f762
a4cb2794d9a9c1ecfaa324a6ad0787a80db2c8ee
refs/heads/master
2022-12-13T11:24:05.459781
2019-12-14T13:53:21
2019-12-14T13:53:21
228,029,404
0
0
null
2022-12-08T06:16:48
2019-12-14T13:42:14
JavaScript
UTF-8
Python
false
false
195
py
from finance.models.bank_account import BankAccount def search(): pass def add(): pass def remove(): pass def search(): pass def switch(): pass
[ "ydtg1993@outlook.com" ]
ydtg1993@outlook.com
17e40ff1b093bbdab0f8dfb815287979849dcf2b
d2a51bd4765d1fbcb769ae9cea7c9e528e7acf1f
/hw1/hw1.py
230fe0ea95fa0883d3ba754e2478db7b073550d7
[]
no_license
nba556677go/ML2019SPRING
272d94ff199e707c6678c9417d83f4acda565145
9c00f5a3d096ce78fc9c15fc4a76432a2b926e93
refs/heads/master
2022-09-09T16:13:09.934493
2019-06-07T04:03:16
2019-06-07T04:03:16
172,427,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
import numpy as np import math import sys import csv testing_data_path = sys.argv[1] output_file_path = sys.argv[2] w = np.load('model-5.52295.npy') test_x = [] count = 0 #feature_list = [5,6,7,8,9,12] feature_list = [i for i in range(18)] #feature_list =[3,4,5,6,7,8,9,10,12,13] #feature_list = ["NMHC", "NO" ,"...
[ "b04507025@ntu.edu.tw" ]
b04507025@ntu.edu.tw
bc99ce65235a3ffa79223116c532a78ee3ef3d86
4273f162abb12ef1939271c2aabee9547ac6afee
/studio_usd_pipe/resource/push/maya/uv/extractor_thumbnail.py
8f6da8661609560730437f9504ee9bfc291638a7
[]
no_license
xiyuhao/subins_tutorials
2717c47aac0adde099432e5dfd231606bf45a266
acbe4fe16483397e9b0f8e240ca23bdca652b92d
refs/heads/master
2023-07-28T13:42:41.445399
2021-09-12T11:02:37
2021-09-12T11:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
NAME = 'Extract UV Thumbnail' ORDER = 1 VALID = True TYPE = 'extractor' KEY = 'uv_thumbnail' OWNER = 'Subin Gopi' COMMENTS = 'To create uv thumbnail file' VERSION = '0.0.0' MODIFIED = 'April 19, 2020' def execute(output_path=None, **kwargs): import os from studio_usd_pipe.core import common from studio_us...
[ "subing85@gmail.com" ]
subing85@gmail.com
f49da3128a76bc15d196a17fba356f2e9ff87149
5ee644f78fb22a5af93b52d870f6b3b4c90d6453
/Python/models/official/nlp/bert/tokenization_test.py
f405819f9ceeb50aac4970e4d0cb5b629726f75f
[ "Apache-2.0" ]
permissive
ZeinaMaan/masters_repo
247b2cd86abdd78fd7802ed57411b1dabbf4e49d
01058969acc26be7e0cdbd1993e9c788c8ac0965
refs/heads/master
2023-05-03T03:02:58.534777
2021-05-26T00:11:21
2021-05-26T00:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,003
py
# Copyright 2019 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...
[ "sarmadtanveer@gmail.com" ]
sarmadtanveer@gmail.com
dd384ca5264931a9c225d9165e50e3e1a69d3935
ff644162d29c5de65b472c86ae1d8494179f5f13
/histogram_equalization.py
eef361f096a24f6892fb83f8e4948382f3ad9f06
[]
no_license
alrivero/histogram_equalization
caadd88437bd5afca7ed855c49ea0de9d3a50c70
dd76c3e5b3f175beef9dff5af8d2857b3630e617
refs/heads/master
2022-12-19T07:10:34.296611
2020-09-17T22:43:45
2020-09-17T22:43:45
296,457,568
0
0
null
null
null
null
UTF-8
Python
false
false
2,736
py
import cv2 import numpy as np from math import floor def compute_cdf(histogram, img_dim): cdf = np.copy(histogram) cdf = np.cumsum(cdf) cdf = cdf / (img_dim[0] * img_dim[1]) return cdf def compute_hist_equalizer(img): hist_blue = cv2.calcHist([img], [0], None, [256], [0, 256]) hist_green = ...
[ "alfredo.rivero@outlook.com" ]
alfredo.rivero@outlook.com
f9753db2629117a89fe194bb4578912ece1a39d0
5b1300ce5b9c2095957967e09a1213c2a506195f
/codes/list/recurve.py
a3a4e1e0d867782d54d7809e83936cbf7d65f2e6
[]
no_license
zqiang3/getmore
18e6131e0432125b56b9f2dc51467c27ce572215
1d8766f16caf0d4ee2bc4757625fa8bd9bd1d44e
refs/heads/master
2020-05-30T00:48:51.273662
2019-05-30T20:03:16
2019-05-30T20:03:16
189,466,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,918
py
class Node(object): def __init__(self, value): self.next = None self.value = value class List: def __init__(self): self.head = None def insert(self, value): newnode = Node(value) newnode.next = self.head self.head = newnode def display(self): c...
[ "zqiang3@126.com" ]
zqiang3@126.com
0716e9b663e856dbfcba23874219d938f3e669a9
e54b736fbded93258cf1ebef5931634400986013
/apps/analyzer.py
3d67242a663d220c512eac84908b3741d9959e77
[]
no_license
uniray7/jagereye_ng
0842c9b627a9ba8345e973cfdc5a7e7024b94983
2fb0fa0f213e844732edfc2d383ada9402e60906
refs/heads/master
2020-03-11T02:40:20.482329
2018-04-18T10:52:34
2018-04-18T10:52:34
129,725,729
0
0
null
2018-04-16T10:27:34
2018-04-16T10:27:34
null
UTF-8
Python
false
false
12,036
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import asyncio import time, datetime from dask.distributed import LocalCluster, Client from multiprocessing import Process, Pipe, TimeoutError from concurrent.futures import ThreadPoolExecutor from pymongo impo...
[ "wtchou1209@gmail.com" ]
wtchou1209@gmail.com
069ccad9aaaa0e7b13d4b0c7e69ca03e953c533d
fbf9d596f55099ad2e4d319df1ae634f085f39c5
/hw/show.py
046394238d25e00306e9de466a8b197a12a25618
[]
no_license
wym037935/flanker
d29150d7313b132b2ba071197f6e59f61bf3ca1e
c8ca436960481d47fe5b3c631dfe4fbed591d45c
refs/heads/master
2021-01-10T01:54:06.890653
2016-03-14T15:25:19
2016-03-14T15:25:19
53,789,297
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
#coding=utf-8 from django.shortcuts import render_to_response from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from django.shortcuts import render_to_response import MySQLdb import re import os import database import init import newtask import thread import subproces...
[ "wym6110@gmail.com" ]
wym6110@gmail.com
02745d439ba2092e295b7fc772592e5856fe923b
812ec66111f3f71acbc6ca98a557edee419e3e76
/detectors/s3fd/__init__.py
e203b65f8fa459b3046415bfda680eaaf8c85421
[ "MIT" ]
permissive
AlanSavio25/AVSR-Dataset-Pipeline
7a35d922607901f0fa70593d1e34b89f3276e993
6e6d44eca6133c2e0223e9be8d011be0b68c73d1
refs/heads/main
2023-07-07T00:01:28.025308
2021-08-11T16:47:27
2021-08-11T16:47:27
389,610,550
6
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
import time import numpy as np import cv2 import torch from torchvision import transforms from .nets import S3FDNet from .box_utils import nms_ PATH_WEIGHT = './detectors/s3fd/weights/sfd_face.pth' img_mean = np.array([104., 117., 123.])[:, np.newaxis, np.newaxis].astype('float32') class S3FD(): def __init__(s...
[ "s1768177@hessdalen.inf.ed.ac.uk" ]
s1768177@hessdalen.inf.ed.ac.uk
8c3bb4ff9108f69d52a356f2f3f50384b9c530d6
da44df49207eb26aa5c3e4e01b4d4ee882ae72c6
/venv/Lib/site-packages/botocore/__init__.py
a8298b3e4d4640b23254ec63c18db3abb6b0a5f6
[]
no_license
juliojose3000/ObjectDetentionServerPython
221fd89cd152fce26afbf518ee63e2e5b693c26e
65f9182def9685495e859416276475184d35ff21
refs/heads/master
2020-09-01T05:35:29.308485
2019-11-10T17:31:17
2019-11-10T17:31:17
218,890,790
1
0
null
null
null
null
UTF-8
Python
false
false
3,486
py
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http...
[ "juliojose3000@gmail.com" ]
juliojose3000@gmail.com
fe721a5d634410d1e7eae1f657adedf3d2a421f4
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/keras/preprocessing/image.py
f2a6b9eb3dcc6002673a3e3a13516299983498ad
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:dd9edf94ef6b932c96aa6c9f40e3c19503ccfed4c5a10d0871bd11259eafd357 size 21747
[ "github@cuba12345" ]
github@cuba12345
b68be730fe886ebea5a66fb439c78439510f4794
e7a46c0f63e7595a533ab58a7db07b1c12ef6092
/begpyprog/integr.py
6504b69f2a91ac9fcea08095da70da492eb0ce9f
[]
no_license
sockduct/Books
263ab81b72e39a11acc83b698c76b41104d8bd20
954039ff4abf51bbfec05944e5175cefe232a68f
refs/heads/master
2021-01-10T03:37:47.340931
2016-10-29T12:34:58
2016-10-29T12:34:58
55,922,532
0
1
null
2016-10-29T12:34:59
2016-04-10T21:06:00
HTML
UTF-8
Python
false
false
970
py
#################################################################################################### ''' Simple program to convert a string of integers separated by commas into an integer list ''' # Imports import sys from BadInput import BadInput __version__ = '0.0.1' def parse(input): curlst = input.replace(' ...
[ "james.r.small@outlook.com" ]
james.r.small@outlook.com
dd5fb141bcd9f73f628e6e312f3c1f15a25b8810
7bc6fcbb3da7bcc32e11286a5d22718c4c9f8b33
/data_collection/gazette/spiders/sp_sao_roque.py
ba8b30302a0ff864ce82a0afc7def0fe6860de62
[ "MIT" ]
permissive
tiagofer/querido-diario
c6db924f6963788679c76489abd1922fab6da92f
feef1d36d540b052ec0b178015872a215352ba80
refs/heads/main
2023-01-31T00:07:31.814159
2020-11-20T02:33:03
2020-11-20T02:33:03
310,901,697
1
0
MIT
2020-11-07T17:55:15
2020-11-07T17:55:15
null
UTF-8
Python
false
false
275
py
from gazette.spiders.instar_base import BaseInstarSpider class SpSaoRoqueSpider(BaseInstarSpider): TERRITORY_ID = "3550605" name = "sp_sao_roque" allowed_domains = ["saoroque.sp.gov.br"] start_urls = ["https://www.saoroque.sp.gov.br/portal/diario-oficial"]
[ "noreply@github.com" ]
noreply@github.com
967dc456ae8754460e5768a8eb7b68d269bb5fd9
d4bbbb07826fd11d071624761c3a452e431cec8f
/models/process_data.py
398631223021b2ea0a47c8b791f81c6922aaaaa5
[ "MIT" ]
permissive
planetnest/epl-prediction
ecb88fb1b9fbea8d93637a547fb559b004f29bb7
ffd4eb626d18829df49e07663ef74cd3735ca9d3
refs/heads/master
2021-07-06T19:07:14.132246
2017-09-27T23:45:15
2017-09-27T23:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,335
py
import os.path import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from .preprocess import process_data DATASET_DIR = '../datasets/' DATA_FILES = ['epl-2015-2016.csv', 'epl-2016-2017.csv', 'epl-2017-2018.csv'] CURR_SEASON_DATA = os.path.join(DATASET_DIR, DATA_FILES[-1]) USELESS_...
[ "javafolabi@gmail.com" ]
javafolabi@gmail.com
84fe21610da001e48a5e0167042b87fd278622ed
19a58949170a819cd9d427b4ec121dc5bae87035
/post/api/serializers.py
c3457dcc242b7d5c7bd7917f0e49962a0609c5f4
[]
no_license
Shamsullo/social_media
54f1cf3a5dccd93813e5ee4cd40875f68288c177
dbf6cfab5a699a5e51bcd6a0228d42dcf5201b2d
refs/heads/main
2023-04-13T20:20:30.235865
2021-04-23T19:12:30
2021-04-23T19:12:30
360,502,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
from datetime import datetime from django.db.models import Count from rest_framework import serializers from ..models import Post, PostLike class PostSerializer(serializers.ModelSerializer): # author = serializers.SerializerMethodField(read_only=True) likes = serializers.SerializerMethodField(read_only=True) ...
[ "shamsulloismatov@gmail.com" ]
shamsulloismatov@gmail.com
e95aec4dfc086b6babea0099f94c9fd140043879
743c897a6e6094759cad6c28169482089e454ca5
/agent/ddqn_prioritized_replay_agent.py
76c8c31b597adedb420c7efc1bb2e2eeef599d51
[]
no_license
frandres/Udacity_DeepRL_p1_navigation
3c9fb72c5fd45d50ff08a19b11dec3940f814d98
3654cd33aa12c6817edd9d5a9aeac3a55ba2d286
refs/heads/main
2023-04-03T14:21:01.416803
2021-05-02T07:58:22
2021-05-02T07:58:22
363,205,625
0
0
null
null
null
null
UTF-8
Python
false
false
13,958
py
import numpy as np import random from collections import namedtuple from agent.dqn_model import QNetwork import torch import torch.optim as optim from torch import nn BUFFER_SIZE = int(1e5) # replay buffer size BATCH_SIZE = 64 # default minibatch size GAMMA = 0.99 # discount factor TAU = 1e-3 ...
[ "francisco.rodriguez@glovoapp.com" ]
francisco.rodriguez@glovoapp.com
95a41e8e1bf20627b0ddfce2c69ca3075ee1ef0b
afd6cd04f45720ec0271acc2af23aa508583cde1
/bloom_database/lib/bloom_database/models/models.py
4b96c11579e6c5f6ff32da0819701965f7a91598
[]
no_license
misodope/BloomCreditChallenge
15e8518ab156b3d2540f2803ef46dc150f45fb03
98567354c5e88c31700dce8bce3f214316a9212e
refs/heads/main
2023-06-30T05:24:57.546938
2021-08-09T15:55:33
2021-08-09T15:55:33
392,828,612
0
0
null
null
null
null
UTF-8
Python
false
false
6,466
py
from . import db from sqlalchemy.dialects import postgresql from sqlalchemy import Integer, Text class CreditRecords(db.Model): __tablename__ = 'credit_records' uuid = db.Column(Text, primary_key=True) name = db.Column(Text) ssn = db.Column(Text) x0001 = db.Column(Integer) x0002 = db.Column(I...
[ "misodope@cap-rx.com" ]
misodope@cap-rx.com
94dbeb2675acafae474f9db4dcc4d4115a25d94f
ecae7275fd43ec93ca5771083e05ae864685faf9
/list/list_multiplication.py
e7375b7967c1e5ea8c97cb6557e6b9a2c5eae460
[]
no_license
shamoldas/pythonBasic
104ca8d50099c2f511802db1f161f6d050f879cc
3a7252a15f6d829f55700ec2ff7f7d153f3ec663
refs/heads/main
2023-01-09T06:38:55.357476
2020-11-11T12:27:31
2020-11-11T12:27:31
311,960,017
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
import numpy as np a = [1,2,3,4] b = [2,3,4,5] d=a*b print(d) c=np.multiply(a,b) print(c)
[ "noreply@github.com" ]
noreply@github.com
8bf6f30a0b6898775a955c99c1135e2fb41fbb1c
9f46d82b1bbb561d663fbdbaa14331b9193fb18d
/buses/migrations/0002_auto_20200903_0438.py
eba7853d4e57eefbd553a172fc37a6f95240605f
[]
no_license
ziaurjoy/simple-class-based
32012b56bb727ca5891d3938b024cdda4c4f30c8
9fd881d83e2e573c7974caeefc89bb7b03a78a05
refs/heads/master
2022-12-07T23:50:03.114676
2020-09-07T14:11:06
2020-09-07T14:11:06
293,546,616
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
# Generated by Django 3.1 on 2020-09-03 04:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('buses', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='bussescompany', ...
[ "ziaurjoy802@gmail.com" ]
ziaurjoy802@gmail.com
55a76b7c36242321864d93bf1b2295f2d8f36aec
49fab88db7591c9d57d129a43b29f95f4c8ec7a7
/geo-graph-part-clean/main.py
76f91be69a24f2d3cd3c8d74d78bf32cd82ecc01
[]
no_license
thomasxu14/geo-graph-part-clean
ee09c1eb04037d882df459e8ae77c30caec017e5
9f20ff0694f49f822a12648f212717b608fb457e
refs/heads/master
2020-03-22T03:56:02.337574
2018-07-02T15:31:53
2018-07-02T15:31:53
139,461,203
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 13 11:28:34 2018 @author: A671118 """ import igraph as ig import coarse import random from graph_utils import visualize, delete_isolated import data.graph_generator as gen import numpy as np from LP import partitionLP import refining as ref nData = 100 ...
[ "noreply@github.com" ]
noreply@github.com
b6aa8f21a3a33363272b6cea39b75dea74785535
557d35f398f8bfdedae9ec747336ccf7eef872ae
/kg.py
91045ed92ee663fbaeae9d13b907556bd3c4c235
[]
no_license
walxc1218/git
1ffc3ae82a46b8c987cbbf61f6acd364a7f007a7
4a043689da2222a1b42ac6a40a508d43e2dabc18
refs/heads/master
2020-04-19T16:46:11.264043
2019-01-30T08:07:30
2019-01-30T08:07:30
168,314,166
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
b = input("请输入一个字符串:") print(b[0]) print(b[len(b)-1]) if len(b) % 2 == 1: print(le)
[ "jialeiboy@163.com" ]
jialeiboy@163.com
314e10e1247fac1da48844e2bdf3687af9894a4c
7548442e3c36039fe87a3a3b5e5056000a92f061
/first_project/settings.py
a1cc9ff086886f64ed1f8d665f20d12a1c91e9fe
[]
no_license
fastaro/ffwebsite
8ee5738fbd08f66807af2fe6b6af4c8aecdf8b39
b6de58ee55582cdc7979d9f7913223d0d5aa41ab
refs/heads/master
2023-04-16T17:19:25.004277
2021-04-26T13:59:52
2021-04-26T13:59:52
361,766,966
0
0
null
null
null
null
UTF-8
Python
false
false
3,453
py
""" Django settings for first_project project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
[ "robertfustero@gmail.com" ]
robertfustero@gmail.com
37c437109dc0a5eb263881371b0d2111b53e300d
4bed9370c2ca2355bbcacd900f00934707a27151
/ChestRayXNet/code/data_preproces.py
daca354457950e66ebda3e2fffe3d78bdd884579
[]
no_license
NoicFank/ChestRayXNet
0bd529d90cf45e038cb674c4e26e5610a36f33d2
07b1d9169b3e9d596d06e6ff53049ef878bc4f63
refs/heads/master
2020-03-12T20:23:05.883865
2018-04-23T14:02:20
2018-04-23T14:02:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,102
py
"""Provides utilities to preprocess images for networks.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorflow.python.ops import control_flow_ops def apply_with_random_selector(x, func, num_cases): """Computes func(x...
[ "rubans@Rubans.local" ]
rubans@Rubans.local
e411a3f2ff7be97ff72496885a1285324ae4b0cd
b40d1a26ea04a19ec0da7bf55db84b7ee36cc898
/leetcode.com/python/895_Maximum_Frequency_Stack.py
b083d8b11400faa43d9540631aac9d70eb9f35a3
[ "MIT" ]
permissive
partho-maple/coding-interview-gym
5e8af7d404c28d4b9b52e5cffc540fd51d8025cf
20ae1a048eddbc9a32c819cf61258e2b57572f05
refs/heads/master
2022-09-11T16:36:01.702626
2022-03-14T08:39:47
2022-03-14T08:39:47
69,802,909
862
438
MIT
2022-08-18T06:42:46
2016-10-02T14:51:31
Python
UTF-8
Python
false
false
797
py
from collections import defaultdict import heapq class FreqStack(object): def __init__(self): self.counter = defaultdict(int) self.stackIdx = -1 # initially the stack is empty self.maxHeap = [] def push(self, x): """ :type x: int :rtype: None """ ...
[ "partho.biswas@aurea.com" ]
partho.biswas@aurea.com
a6e979ce1a312de10484182a1911c6a85077783f
1a89fa74c121a4556c49dde9a205acad0259834d
/patterns/pattern.py
44c3fc9f8473b5de701a245a3924a08aa5d65f17
[ "MIT" ]
permissive
cassm/pyzzazz
d0dcfc5bd10c024355119269f21b1d23a0cdac8b
a21a03a670a14847dcc35bac068596613ecd4b1d
refs/heads/master
2022-06-19T01:54:00.586439
2022-05-22T19:16:06
2022-05-22T19:16:06
179,993,183
3
1
null
2019-05-17T20:52:34
2019-04-07T16:34:03
Python
UTF-8
Python
false
false
270
py
class Pattern: def set_vars(self, args): pass def update(self, leds, time, palette_handler, palette_name): pass def cache_positions(self, leds): pass def get_pixel_colours(self, leds, time, palette, palette_name): pass
[ "ingeniousmammal@gmail.com" ]
ingeniousmammal@gmail.com
a07d7cf0536d204bd1cda0df92806034ba497890
e8e8a8c4923ce564f7f7cfc1aab11d6adf711bdf
/Web/DashBoard/main.py
07398f276c546b129bcdec2ccecaab4465e284a5
[]
no_license
st2257st2257/Chess
4b6f15cc5cd3970a14fd8b4515ed8a3b51478163
9bd8099f8fbb6e58187fcf1f10a8a0e7a835789a
refs/heads/main
2023-02-23T23:33:23.596199
2020-12-17T10:25:32
2020-12-17T10:25:32
312,585,090
4
2
null
2020-12-04T21:12:24
2020-11-13T13:36:15
Python
UTF-8
Python
false
false
5,098
py
# import pygame import pygame from numpy import pi import numpy import random import socket import sqlite3 conn = None cursor = None vis = 0 def init(): global vis, conn, cursor conn = sqlite3.connect('example.db') if vis: print("...Start connection...") cursor = conn.cursor() def cancel():...
[ "noreply@github.com" ]
noreply@github.com
2039099e81f34c9b58cb20f1d92e9e1ff970b34b
d67ae9fb7fa47cbcc7e26fb21a18dcb8afc82167
/easypap-se/plots/runningSableLil.py
a735a5b6db1d9c67fc9b75af027a269efb352671
[]
no_license
tfurelaud/PAP
1cc5f3ba94882fcd13dd8ba95e5b63c7be02b110
ee11c79607e4aa6140e0333872b9ae9bc0e75b44
refs/heads/master
2023-01-02T12:59:30.071338
2020-10-28T20:40:48
2020-10-28T20:40:48
308,101,347
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python3 from graphTools import * from expTools import * import os #8 THREADS seq alea 480 easyspap_options = {} easyspap_options["--kernel "] = ["sable"] easyspap_options["--variant "] = ["seq -a alea -s 3840"] omp_icv = {} omp_icv["OMP_NUM_THREADS="] = [24] omp_icv["OMP_SCHEDULE="] = ["static"] execu...
[ "thomas.furelaud@gmail.com" ]
thomas.furelaud@gmail.com
21122cdf9ef4f1ff2f14dc0b9b81ae7c9dd2aacb
87152c554687b972b1c951bd93ae27603d66d801
/74.py
1f111496d760f1ce002cd8381227d7e97341bd09
[]
no_license
logeswari-j/python
a983cfcd1b7791f827e3aa47e711fd358b41a49a
6e965a60468bfab28bd81ce898978af3fbf191a1
refs/heads/master
2020-06-07T14:27:02.918526
2019-08-03T04:54:44
2019-08-03T04:54:44
193,041,241
0
2
null
null
null
null
UTF-8
Python
false
false
57
py
import math aa=float(input()) aa=math.ceil(aa) print(aa)
[ "noreply@github.com" ]
noreply@github.com
0822c6d268c72e35841f6ce36cf3344327461159
328b2a4c2a2bfa83367c96afae39a1689b98f033
/cash_task_app/views.py
649f9be9871135db228edd03d072769bfbaef8dd
[]
no_license
vincesalazar/Cash-Task
a75699783cb6503a828e0c2a7d63c2f298ee18cf
4b51828a43f44b1acc03a55bd05cd35f28ad07ff
refs/heads/master
2022-10-05T05:13:49.892979
2020-06-12T06:21:25
2020-06-12T06:21:25
266,043,443
0
0
null
null
null
null
UTF-8
Python
false
false
5,555
py
from django.shortcuts import render, redirect from django.contrib import messages import bcrypt from time_man_app.models import User, Task, Collection from cash_task_app.models import Job from django.core.paginator import Paginator """ TEMPLATES """ def index(request): return render(request, "cash...
[ "noreply@github.com" ]
noreply@github.com
7c5f10be6bb29de0efad4fe84a70e7dd2449fd64
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D01B/MSCONSD01BUN.py
eb4f55884635f28f92c53726be35f53eb089349d
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,763
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD01BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 9}, {ID: 'CUX', MIN: 0, MAX: 9}, {ID: 'RFF'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
2c0bdac1bb4f9a3ff2e6e7d54b86516a03ea5aa3
d8ffc7077b962cef053def9e1bf391b000dd133f
/Linear/input_data.py
8cd7edb1f9c401a36b05605c7a011c168e0c391c
[]
no_license
nrgdoublex/Statistical-Machine-Learning-Project
85a5c907bcb32eea27a8f2dc320e57cf938f89b1
3523e5342894a2df7049eddea798133ec81ff78a
refs/heads/master
2021-01-12T17:07:56.031580
2017-08-16T17:58:20
2017-08-16T17:58:20
71,514,392
1
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
import numpy as np import matrix_operation as mo test = False def read_trainingdata_MS(feature_dim): training = open("training_data.txt") training_matrix = [] lines = training.readlines() for line in lines: list = line.rstrip('\n').split(',') list = map(float,list) training_mat...
[ "nrgdoublex@gmail.com" ]
nrgdoublex@gmail.com
cf8be04dc2453ed60a1c1ed76234c4441a6026e2
a4ec840eae9ba57a93f3a884186578c2dd29bb68
/funcs_test_harrismatch.py
54cf2b6bee7107bff09760f7d81be8a7169c288f
[]
no_license
ian4hu/jump-assistant
e7bbc3b29e43e113e63643dd6397ec363338904f
ca5bdbd561677e0e705d37f818212b488692af7f
refs/heads/master
2021-09-02T10:40:35.343522
2018-01-01T23:52:03
2018-01-01T23:52:03
115,862,173
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
from pylab import * from numpy import * from PIL import Image import funcs as harris from PCV.tools.imtools import imresize """ This is the Harris point matching example in Figure 2-2. """ im1 = array(Image.open("./a.png").convert("L")) im2 = array(Image.open("./a1.png").convert("L")) # resize to make matching fast...
[ "jixuhu@ctrip.com" ]
jixuhu@ctrip.com
de91d6fc4ed104ef9cb0733fa0725e3637e56a7e
88e60d4c463355775a2f1d5959edf91965ded6c2
/mysqrt.py
015fe07630af1a689186297a384a94d1f704fe3e
[]
no_license
924235317/leetcode
5a6a35c827cec301f6a9829405b9f4ee148acdad
d6b887b1f2fd4713f60e732712f989eeffa9938b
refs/heads/master
2020-07-27T19:46:41.699959
2020-05-26T03:09:44
2020-05-26T03:09:44
109,564,813
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
def mySqrt(x: int) -> int: if x == 0: return 0 if x == 1: return 1 left = 0 right = x // 2 mid = (left + right + 1) // 2 while left < right: mid = (right + left + 1) // 2 if mid**2 > x: right = mid - 1 elif mid**2 < x: left = mid...
[ "liuao03@baidu.com" ]
liuao03@baidu.com
63932968068bc9e0d03dad37b567321d1d050ad4
c13878ed7dbace40080028bd537d70898cfd303e
/format_data.py
3700e0f93b4e52d645a0deeb08c0e71804246023
[ "MIT" ]
permissive
7568/ORVP
f1b3950375547a42cb0fc8c97c4f994f282a4a31
558943bdf416c5a5c21047918928cca58c2c6134
refs/heads/main
2023-08-23T04:18:03.380638
2021-10-02T08:25:42
2021-10-02T08:25:42
403,240,675
0
0
null
null
null
null
UTF-8
Python
false
false
16,127
py
# -*- coding: UTF-8 -*- """ Created by louis at 2021/9/13 Description: """ import os import gc import glob import torch from pandas import DataFrame from torch import nn import torch.nn.functional as F import torch.optim as optim import numpy as np import pandas as pd import time from itertools import islice from torc...
[ "18508227568@163.com" ]
18508227568@163.com
64fb01142f1af659deff75c1e992308d52b79ffa
abb5c57aca959927a8337cdc59df978337108524
/slovnik.py
8fc1481c08af330979ecf73e9f92194e12121f0a
[]
no_license
b-mi/python-tests
eb225482831b7863a0380971cca5a6ecd90f7260
c29c4aed61a32a2507686fbb7ed507e3b7b8fb23
refs/heads/main
2023-05-20T11:51:13.095536
2021-06-06T15:36:08
2021-06-06T15:36:08
374,215,613
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
slovnik = {} food = {"ham": "yes", "eggs": "yes", "spam": "no"} print(food) food["yoghurt"] = "no" print(food) for k, v in food.items(): print(f"{k} => {v}");
[ "site@arxa.eu" ]
site@arxa.eu
a49dd69ff0cdd8b1de22a754b9217b4cc52d5f80
deaccb91a53ce50cde2805883e89c60fc2e3de58
/modified/neutronserver/neutron/services/instantvpn/driver/instantvpn_smtpdriver.py
38cca24e6f59af7226ec8e334332dc18b16ed494
[]
no_license
VikramChoudhary/instantvpn
11353641db0d5dbcfdbfe831c295c6100d4b2ddf
3d070fe4768fa8cdc2376b14c81e498093c92455
refs/heads/master
2021-01-10T14:34:03.744474
2015-06-01T07:06:03
2015-06-01T07:06:03
36,642,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Somebody # 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/license...
[ "vikram.choudhary@huawei.com" ]
vikram.choudhary@huawei.com
b455760f7be5f2c85f2e420ebba2c429ac85fc71
cf22dbba3dd94d761d3e8269c49e14c2b5b72635
/Python1/newLine.py
4854f3b48bdb9e668cc760b5397a5df7df167760
[]
no_license
derdelush/project1
7647c15a64d74cdc06707b86d05e6b78579c544b
b768f9cb66c7eaf7652be733c9106e8fbe01ffcc
refs/heads/master
2022-09-11T17:48:44.108552
2020-06-01T16:22:40
2020-06-01T16:22:40
261,424,906
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
equation = "2 + 2 =" answer = 4 print(equation, answer) output = equation + " " + str(answer) print(output) line1 = "These data types, \nare really fundamental\n when it comes to writing\n useful programs!" print(line1)
[ "noreply@github.com" ]
noreply@github.com
9b6263e9ba80bbfbc22bd0697bf35aaebf5fef39
2cdde02ee35e7e9eb23a3d832263ecb6274e8d85
/Solutins/perceptron.py
bab6ac6ad32f19fd7e4605d9bc95042ad5b422ca
[]
no_license
akash72/LeetCode-Practice
fee69aef986572ab842f03275d6f905a6089a396
0278d6446305b300d3aba36c0fc8444bcb024154
refs/heads/master
2020-05-09T20:33:23.687919
2019-04-15T04:29:40
2019-04-15T04:29:40
181,411,903
0
0
null
null
null
null
UTF-8
Python
false
false
6,582
py
import numpy as np from numpy import linalg def linear_kernel(x1, x2): return np.dot(x1, x2) def polynomial_kernel(x, y, p=3): return (1 + np.dot(x, y)) ** p def gaussian_kernel(x, y, sigma=5.0): return np.exp(-linalg.norm(x-y)**2 / (2 * (sigma ** 2))) class Perceptron(object): def ...
[ "noreply@github.com" ]
noreply@github.com
6a3ed7899e201a6c2834904751cb35c888707708
5da064a2d8566074444c29adf9404532c3a88e9a
/Assignment1-ETL/bobhe/utils/convert_date_time_format.py
498edbd7ce0339df4b3d8b3f8c6d076ce16fa9e1
[]
permissive
BinYuOnCa/Algo-ETL
92e28c3dada05d419d891069ffda2ed5f1d52438
952ab6f3a5fa26121a940fe91ea7eb909c6dea54
refs/heads/main
2023-04-03T21:49:59.710323
2021-04-14T17:20:47
2021-04-14T17:20:47
330,030,143
1
37
MIT
2021-04-14T17:20:48
2021-01-15T21:51:46
Jupyter Notebook
UTF-8
Python
false
false
418
py
from datetime import datetime from datetime import date def convert_unix_date_format(dt): """ conver YYYY-MM-DD to unix datetime fromat :param dt: (str) YYYY-MM-DD :return: (int) unix datetime format """ return int(datetime.strptime(dt, "%Y-%m-%d").timestamp()) def get_today_date(): """ ...
[ "bobgxp@gmail.com" ]
bobgxp@gmail.com
a27fe1917e7622ce4fd80485d888d7e0e79c03a4
7bc3cb63ef0f6046b22a736c206ae61bbacb68c4
/src/timesheet/forms.py
13376c90f68a1bf6c0c09d97d4aabb5f0f3e5578
[]
no_license
jwoods02/Mosaic-Island-Timesheet-System
f3b5ec7bdf20cc08e1616436e75771dd6f1d14cf
7e9aa9436151aac3e85d210dbdd1c425971e00ac
refs/heads/master
2021-03-27T10:57:03.558394
2016-01-28T09:47:23
2016-01-28T09:47:23
48,131,068
1
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
from django import forms from .models import RowControl, Entry, Department, Activity class RowControlForm(forms.ModelForm): class Meta: model = RowControl fields = ['month_control_record', 'department', 'activity', 'notes'] class EntryForm(forms.ModelForm): class Meta: model = Entry...
[ "james@jwoods.me" ]
james@jwoods.me
95a097ec8b8543de52dbe26616b63804d1678bd2
a7975a2fa9f4af97be6a1ecbf2e6ba16f6691088
/node-python-roulette-master/old/list_resourcegroups.py
0bc1c7254f19998672528ba08d44f75c0d450707
[]
no_license
MohamedJuned/aws
855afd10605964de854cbfce8311690cc5a95856
0a107fd0fc41bc7fc09eedfc4f19f1f4ecef76af
refs/heads/master
2020-04-29T11:22:04.962760
2019-03-17T12:34:52
2019-03-17T12:34:52
176,095,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
import os import traceback import sys import psycopg2 #postgres library. command to install pip install psycopg2 import json from collections import defaultdict from azure.common.credentials import ServicePrincipalCredentials from azure.mgmt.resource import ResourceManagementClient from azure.mgmt.network import...
[ "md.junedulla@gmail.com" ]
md.junedulla@gmail.com
6f5980258752082c35aaff63112e57d84ac32d19
21fec19cb8f74885cf8b59e7b07d1cd659735f6c
/chapter_13/getone-urllib.py
879783dfb46bea3276181cea113fd47ade1bf7c0
[ "MIT" ]
permissive
bimri/programming_python
ec77e875b9393179fdfb6cbc792b3babbdf7efbe
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
refs/heads/master
2023-09-02T12:21:11.898011
2021-10-26T22:32:34
2021-10-26T22:32:34
394,783,307
0
0
null
null
null
null
UTF-8
Python
false
false
2,020
py
"Using urllib to Download Files" ''' Python urllib.request module: given an Internet address string—a URL, or Universal Resource Locator—this module opens a connection to the specified server and returns a file-like object ready to be read with normal file object method calls (e.g., read, readline). We can use such a ...
[ "bimri@outlook.com" ]
bimri@outlook.com
0bf62614546ffaaceb1eccb62147ec59466e6958
86970d48696260e5e4781fd32df3fb8b9d7586fc
/app/resources/stats.py
91e54d478916493a2cc55c097b297b6e223a87c1
[ "Apache-2.0" ]
permissive
pieterlukasse/rest_api
ee867f001aaf162559c2800ab8092c855ee1af09
2a25de7ade58b77a79ccd5fd690987624e5d9fc6
refs/heads/master
2020-12-29T04:20:23.904522
2018-02-20T12:48:23
2018-02-20T12:48:23
123,285,941
0
0
null
2018-02-28T13:04:09
2018-02-28T13:04:09
null
UTF-8
Python
false
false
661
py
from app.common.auth import is_authenticated from app.common.rate_limit import rate_limit from app.common.response_templates import CTTVResponse from flask import current_app from flask.ext import restful from flask.ext.restful import abort import time __author__ = 'andreap' class Stats(restful.Resource): @i...
[ "andreap@ebi.ac.uk" ]
andreap@ebi.ac.uk
0f6536464144f51c0061d20f423decaaf971937d
b3d2a42cc62b1a7b62d37a010974a4e3ecd3239f
/agents/actor.py
269b41c44f49ea315cfb756379043546ba08e8a2
[]
no_license
op317q/RL-Quadcopter-2
7e3dedf6737283b9f645313d54f891beb50a6e20
2e3783c3d02b5d46ddffaeb5ca2b7be001ffab39
refs/heads/master
2022-07-11T10:35:59.663026
2019-10-31T00:56:57
2019-10-31T00:56:57
218,449,302
0
0
null
2022-06-21T23:14:41
2019-10-30T05:22:53
Jupyter Notebook
UTF-8
Python
false
false
2,248
py
from keras import layers, models, optimizers, initializers, regularizers from keras import backend as K class Actor: """Actor (Policy) Model.""" def __init__(self, state_size, action_size, action_low, action_high): """Initialize parameters and build model. Params ====== sta...
[ "op317q@att.com" ]
op317q@att.com
d8ebc2e90f08ce24e537c39ea79a7c75a1287255
74f2e6326095d747673f6098513c0fa1d0161fa9
/na_galimberti/__manifest__.py
03b9afb0b028d886853c51edaecc8eb943262683
[]
no_license
Galimberti/odoo12
1f326f7e3a0b2b6785e0208c1ba1a7ad40212e63
846f1015f35f601747d885881e74c2bcaa692cbe
refs/heads/master
2020-05-20T11:46:17.628836
2019-05-08T09:38:44
2019-05-08T09:38:44
185,557,131
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
# -*- encoding: utf-8 -*- { 'name': 'NexApp Galimberti', 'version': '1', 'depends': [ 'account', 'base_geolocalize', 'contacts', 'crm', 'mail', 'purchase', 'sale_management', 'sale_crm', 'stock', 'sale_stock', 'web_googl...
[ "mpagani@nexapp.it" ]
mpagani@nexapp.it
3d48d25fcba7435e461ef9bfa788273f1d6a4285
2a5e289bda0ca06bee73ed89c629654466bbe37f
/common/lockfile.py
5fa9d7fef5c55f998ce894d9c319e9470ff2ed35
[]
no_license
eocampo2000/factelec
b7121e52fcfb592475cfe078ba59eb0ac4069424
6773a6f5822efec409f21d8150362c240e0e15dc
refs/heads/master
2020-07-03T11:56:34.950423
2016-11-18T23:19:00
2016-11-18T23:19:00
73,839,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,051
py
''' Created on Jun 27, 2012 @author: eocampo New Style class ''' __version__ = '20120923' # flock.py import os import sys import utils.fileutils as fu import utils.strutils as su import proc.process as ps class LockFile(object): '''Class to handle creating and removing (pid) lockfiles''' def __init...
[ "eocampo2000@hotmail.com" ]
eocampo2000@hotmail.com
c531e8963a8bdd1fd5685361f3d120b112d7931c
f0acc407f95b758fa734f5ed5f6506a8b20d2706
/docs_src/parameter_types/bool/tutorial004_an.py
1cb42fcc86f69fbffbf6fb0cd4576c958c05ba79
[ "MIT" ]
permissive
shnups/typer
ede6d86c5b169e8caa7823b0552f8531ed041f84
e0b207f3f577cb2e59fdd60da39686a2f5ed0e77
refs/heads/master
2023-08-31T01:54:21.168547
2023-08-01T09:36:09
2023-08-01T09:36:09
313,047,732
0
0
MIT
2020-11-15T14:22:06
2020-11-15T14:22:05
null
UTF-8
Python
false
false
276
py
import typer from typing_extensions import Annotated def main(in_prod: Annotated[bool, typer.Option(" /--demo", " /-d")] = True): if in_prod: print("Running in production") else: print("Running demo") if __name__ == "__main__": typer.run(main)
[ "noreply@github.com" ]
noreply@github.com
2abbedbe62a9a485cb164c84c4b9060e5596384d
9d0b3029a2c10683e6c7bda94887154857bfe634
/Beginner/URI_1959.py
fc2d39f56b9fa4201baedf6f921b534d62bcecec
[ "MIT" ]
permissive
rbshadow/Python_URI
559b25a559fbe955c0e1fe6bdc1c39e30f5c18a9
4f7df8cdea0eba5c550bb3016b1a7ab6dc723d56
refs/heads/master
2020-02-26T15:53:55.367919
2018-10-04T00:43:31
2018-10-04T00:43:31
70,911,515
3
0
MIT
2018-02-15T17:35:56
2016-10-14T13:13:13
Python
UTF-8
Python
false
false
122
py
def math(): n, L = map(int, input().split()) res = (n * L) print(res) if __name__ == '__main__': math()
[ "iqbal2053@diu.edu.bd" ]
iqbal2053@diu.edu.bd
8c549578be2ffe70b1219f0eaee724f0e01297a6
55b877071f1dc660dae32bcb7eee6933327318f4
/match/urls.py
b736c62099924e6a1059ad28704c98e57b9dd878
[]
no_license
dnd-hack/backend
61a18c3f35e8b447b6dfe65e1611b513250a7926
0a908b125141a217217dfe160a1367e30aed2c76
refs/heads/master
2023-09-02T18:26:41.110359
2021-11-20T07:25:36
2021-11-20T07:25:36
429,919,658
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from . import views from .views import * router = DefaultRouter() router.register('group', views.GroupViewSet) urlpatterns = [ path('', include(router.urls)), path('joined_member/', JoinMember.as_view()), path('match_li...
[ "julysein723@gmail.com" ]
julysein723@gmail.com
4430c8ca579d7e8d75862ff789f16ec07bb3e5ff
d3f708811f4a3a84b6241ec388ebe0bb9f8583cd
/Lab2.4/apicem.py
52519bf95d022ffc154109fd909b7b8171499d6c
[]
no_license
mk-99/p4ne
4938b2dfab2916936dd318d54d1e0ebec4e2fb56
16990b36248a26e760f66421e2748e5a520ce412
refs/heads/master
2022-09-03T21:14:56.123319
2022-08-04T16:46:17
2022-08-04T16:46:17
66,036,817
3
5
null
null
null
null
UTF-8
Python
false
false
1,920
py
import requests, json, pprint from flask import Flask from flask import render_template, jsonify # controller = "devnetapi.cisco.com/sandbox/apic_em" controller = "sandboxapicem.cisco.com" def new_ticket(): url = 'https://' + controller + '/api/v1/ticket' payload = {"username": "devnetuser", ...
[ "mklochkov@gmail.com" ]
mklochkov@gmail.com
1d4682439a3ec9cebb7221e6ed9577f7be10a86c
41cd61226440c7f0a6fcf77f7e4f65e65c28aaa1
/wg_auto/a1_inject/sql_injection/intro.py
2a1bcbc73989354939d03940f43f8d0cb3c7b42d
[]
no_license
xx-zhang/webgoat_auto
6d99d98148e180b6eacf46c5d2b4de81b552fb1e
8d47d6af68530940987a272224e9c21f870bf402
refs/heads/master
2023-04-03T22:24:54.675321
2021-04-16T09:23:30
2021-04-16T09:23:30
358,497,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,860
py
# coding:utf-8 from wg_auto.base import request_wrap def sql2_test(q="select department from employees where first_name='Bob' and last_name='Franco'"): __url = '/SqlInjection/attack2' return request_wrap(method='post', url=__url, data={"query": q}) def sql3_test(q="update employees set department='Sales' wh...
[ "you@example.com" ]
you@example.com
35ea7aee6833455e696b851f5b9719929a46676f
a764f739cb663faca21f84ae0fcffc06c29de491
/webapp/manage.py
ed1b33804aafe5ed79627d1a35bc2c73c716bb22
[]
no_license
iViolinSolo/SJ-KnowledgeGraphMS
8e990c03de699fe96aced6ffd337b371f4e28362
60106eb08243bd0420dbd5d5bdfa3c92084c171f
refs/heads/master
2021-05-31T23:58:50.729343
2016-01-30T12:07:23
2016-01-30T12:07:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,235
py
# -*- coding: utf-8 -*- from flask import Flask, render_template, redirect, url_for, request, flash, session from flask.ext.script import Manager from flask.ext.bootstrap import Bootstrap from tj.db.util.cayley_util import CayleyUtil from tj.util.import_util import import_excel_new_version from forms import AddRelatio...
[ "violiniselegant@gmail.com" ]
violiniselegant@gmail.com
a40a61da4b281943142d8d4709eff02cb23d9dca
2ca3b6cc4f9145438e283d4e055e55fff550ec90
/flask/hello.py
68f2d487bdd7eac37fde1aad5bf11e7ee96000bc
[]
no_license
manuck/python_practice
e39a7e3be41608dd9bf8a7bdb9228a22ceb652b6
7adbefbe616f305430c75e896d817ec8e7f938d3
refs/heads/master
2020-04-12T02:45:06.427693
2018-12-21T01:15:31
2018-12-21T01:15:31
162,252,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
from flask import Flask, render_template import datetime import random app = Flask(__name__) @app.route("/") def hello(): return render_template("index.html") @app.route("/ssafy") def ssafy(): return "방가방가룽~" @app.route("/isitchristmas") def christmas(): if datetime.datetime.month == 12: if datet...
[ "snc9000@naver.com" ]
snc9000@naver.com
6354aa7b7ba28bde4173cb4edc107ac16ee3a368
a3050fc7faa04e3b54aef166d1cda8d1159f3f7e
/SpiderPractice/scrapy_edu/qianmu/qianmu/pipelines.py
1b7c23fed951c07cab49b5c7d144da90ed4f8c3c
[]
no_license
cdsire/mySpider
5cb3f340a9819d51d4b59dd819cace0fcf582d57
24a7f7217be77ecae970eeda81cf510883defd65
refs/heads/master
2020-03-07T21:38:32.444089
2018-04-02T11:37:55
2018-04-02T11:37:55
127,732,357
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class QianmuPipeline(object): def process_item(self, item, spider): return item
[ "po@ubantu.com" ]
po@ubantu.com
e2da485c57742e78b5fda5b4a27556d22741da6f
53db61f70e15d276a89c9f3a3fd1765fe6caa193
/hw5Files/bayesnets.py
1403441c6418058782b28fed840a11643f164436
[]
no_license
KyleMortek/pythonAI
ac369493aa2c9e3d0d78c0b6a089fffa4ac67c3d
b37256924178b2b51980c802ad324e413adcd140
refs/heads/master
2020-03-28T13:12:13.520742
2019-01-31T17:32:54
2019-01-31T17:32:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,113
py
""" Probability models. (Chapter 13-15) Nils Napp Based on AIMA code """ import random from numbers import Number class ProbDist: """A discrete probability distribution. You name the random variable in the constructor, then assign and query probability of values. >>> P = ProbDist('Flip'); P['H'], P['T']...
[ "kmortek@buffalo.edu" ]
kmortek@buffalo.edu
7177569b14c063b92ba3d33a07cd863c3c8cf26e
d66d1979914d11f218b79e56758faae9347542fd
/telegram_markov.py
6ecbc564345c7c61daf680e79f5bff78791cdf8f
[]
no_license
ValeriaVol/projects
c6db4f20c94df0327001e2f5a3644d980b3ff24e
0e79864af7207bdc364111e816d0a68abd87d338
refs/heads/master
2020-05-22T18:37:32.513839
2019-12-09T11:53:11
2019-12-09T11:53:11
186,476,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import pickle import pandas as pd import markovify import telegram from telegram.ext import Updater, CommandHandler, MessageHandler, Filters df = pd.read_csv("wiki_movie_plots_deduped.csv") def Model(msg): corpus = list(df.Plot) example = markovify.Text(corpus) plot = example.make_sente...
[ "noreply@github.com" ]
noreply@github.com
34c6e82241951242631ee6d1911dfe903c5385f7
9f930df50f28e6cbc74089057fb4418460a7f657
/registrations/migrations/0014_auto_20160114_1326.py
b864677ac0b537caa2270c8df03d09e5df250be0
[ "MIT" ]
permissive
xxyyzz/apogee-2016
2c57b3c48334e798cab560d6525567da9b2ede61
c55f6427bbe246060aacbeb831e1519fb051a1b1
refs/heads/master
2021-05-16T11:55:21.525340
2017-09-07T19:05:00
2017-09-07T19:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('registrations', '0013_auto_20151217_1104'), ] operations = [ migrations.AlterField( model_name='paper', ...
[ "prateek.g1509@gmail.com" ]
prateek.g1509@gmail.com
574e6ebe552a5a31852ca844355d2fbf29fe83c7
18e94e29ad968c8b9b6550ad8b060600b099d243
/unet3d/predictor.py
0932f5b52b8850125d7343e6ab04b352fcf7d7bb
[ "MIT" ]
permissive
zzz123xyz/pytorch-3dunet
cf8de5f1b0c86f88aaecbbf4e965ca883ce9cdbb
5bab6968b23cff5c6ae456b343285bfa9b104294
refs/heads/master
2020-06-22T01:04:13.943289
2020-05-26T15:54:41
2020-05-26T15:54:41
197,595,039
0
0
MIT
2019-07-18T13:43:38
2019-07-18T13:43:37
null
UTF-8
Python
false
false
20,847
py
import time import h5py import hdbscan import numpy as np import torch from sklearn.cluster import MeanShift from datasets.hdf5 import SliceBuilder from unet3d.utils import get_logger from unet3d.utils import unpad logger = get_logger('UNet3DTrainer') class _AbstractPredictor: def __init__(self, model, loader,...
[ "zyx321zzz@gmail.com" ]
zyx321zzz@gmail.com
3e253e722e54bbe8f9ba24c1e6f62976f365e4f0
4cbb2067f7c816acaa30dc9f13d80a591ecd70ad
/setup.py
c9d8d68faf56b65e1b64e3569ed122bdb4bfdacc
[]
no_license
apparazzi/kryptoflow-serving
0022344d68c232cba917d65c6cfed6b0f1036672
805f40fb7f1c20f756f54e69f8698007c252ec55
refs/heads/master
2020-03-21T14:36:20.117009
2018-06-19T02:55:03
2018-06-19T02:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup file for kryptoflow_serving. This file was generated with PyScaffold 3.0.3. PyScaffold helps you to put up the scaffold of your new Python project. Learn more under: http://pyscaffold.org/ """ import sys from setuptools import setup, find_package...
[ "carlo.mazzaferro@gmail.com" ]
carlo.mazzaferro@gmail.com
db619209d99e9c11e7884096814e36d0ecfb565e
bdfd3937f6222157d436dbdc7d7efad2b1b3f8f6
/appengine/logging/writing_logs/main_test.py
339caa4ef66206268f60e87b58a9339a9577a20d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
b-fong/python-docs-samples
81f089db6f4378cb7cfd278d3c8f9fb198aeb504
493f850306f7860a85948365ba4ee70500bec0d6
refs/heads/master
2020-12-25T08:37:37.864777
2016-02-17T22:54:50
2016-02-17T22:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Copyright 2015 Google Inc. 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 applicable law or a...
[ "jon.wayne.parrott@gmail.com" ]
jon.wayne.parrott@gmail.com
90bf70ca65b9533d94cc48452db642e4e2e6e5d8
3b9f83d768cf411c8a06e69b5e73c57652f17da0
/server/wsgi.py
e444db59a5ef96c0ac140e11f6c82b34136055d9
[]
no_license
ichoukou/JuziServices
be8efcf3489cdc6e5497d424ca3293becaba18e3
9217f1d596214603877057f32924373bf1b785ad
refs/heads/master
2020-07-19T18:53:21.536588
2019-01-04T09:00:56
2019-01-04T09:00:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# coding: utf8 # Copyright 2017 Stephen.Z. 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 appli...
[ "15242200221@163.com" ]
15242200221@163.com
8f086c8011e8050bec4d7f6614aa3937ffc6c47c
00b0d20508d27807ad999d90aa3012cff8626be0
/cchain/processors/exceptions.py
73bb5dd4021bed4c2ae771bfdfea83f536f5aa30
[]
no_license
krisb78/couch-chain
5789ab81b8497dcdf0d5673adcb01ad0cced5771
240411dbdb715cc12981836fa1813065bb9708ab
refs/heads/master
2023-04-18T07:55:54.938950
2023-04-10T19:57:45
2023-04-10T19:57:45
29,787,766
1
3
null
2022-01-21T18:57:32
2015-01-24T18:58:38
Python
UTF-8
Python
false
false
107
py
class ProcessingError(Exception): """Raised when there was an error while processing changes. """
[ "krzysztof.bandurski@gmail.com" ]
krzysztof.bandurski@gmail.com
a3d1bc0e4278dc91ff2dc1dc70906472fdd4ecfa
b195cbe44b84f2f56e49fbce3afeee5f82d27b0c
/chrvis-server/home/admin.py
43c28bc546ca8a6d8f10db3410571723b7bb9954
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
orionpax00/ChrVis
72b1774f55e5d48ff3b25f5eb71dad96411830dd
0589feef56cc0e2d5266898defb837c5dbb1201d
refs/heads/master
2022-08-09T12:08:28.371140
2020-01-16T16:01:06
2020-01-16T16:01:06
188,672,741
2
1
Apache-2.0
2022-07-15T20:31:41
2019-05-26T11:10:33
Jupyter Notebook
UTF-8
Python
false
false
122
py
from django.contrib import admin from .models import Document # Register your models here. admin.site.register(Document)
[ "durgesh123.iitr@gmail.com" ]
durgesh123.iitr@gmail.com
a4aa24ec5521424963907b8bcfa6a69be7b6b532
3e42a1027e40da3c0aceb5f96879a915c3e97b7a
/scraping/migrations/0001_initial.py
90065d035815f4b6522f69a80a981df8c3ccda34
[]
no_license
SmartBoY10/scrapling_service
775a06f4a7c842a9944f3e6e59817e5783c81c6e
0e772b4abbee28f69cd5b11df478838b5e00f9c7
refs/heads/main
2022-12-24T02:45:53.771161
2020-10-01T18:43:48
2020-10-01T18:43:48
300,363,984
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# Generated by Django 3.0.3 on 2020-10-01 18:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='City', fields=[ ('id', models.AutoField(aut...
[ "qurol.abduajalilov99@gmail.com" ]
qurol.abduajalilov99@gmail.com
cf33a7a9d0b7505b10b4181e0638317e524ace1d
124f40a026d1ec3854972200f0d2402edd86f96a
/Сортировка_выборкойy.py
96e03138067fa2fc9bff91e9c4305196a2853778
[]
no_license
doharo2001/Python_algorithms
0305a3bba8fbbd64ad356138621979366fedf33c
26fe3347def820bae7b2762650a2af4151335dfd
refs/heads/main
2023-07-07T17:52:33.015694
2021-08-22T12:43:55
2021-08-22T12:43:55
398,783,828
1
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# Сортировка выборкой # Суть: разбить список на две части (условно на левую и правую), в левой части будет хранится # отсортированная часть списка, а в правой неотсортированная. Цмклом проходим по правой части, # пока там не останется всего один элемент, при этом каждый раз мы будем искать наименьший элемент # в право...
[ "doharo2001@gmail.com" ]
doharo2001@gmail.com
66034e4237f03e3feea6cf0c1cb3a5d2f84b4f3e
7f81c7b4110640f73b769b6a41e9ef3ae2495611
/bert_multitask_learning/__init__.py
e9e702d00da1d9e2c6bc914b6a59975fe2a14257
[ "Apache-2.0" ]
permissive
ml2457/bert-multitask-learning
26464c6d1ad94e7aeebd93d02f2604298ebde5db
993c1e6ca279e90e12ce4a684260219b18bbea70
refs/heads/master
2023-02-10T14:05:27.643723
2021-01-10T15:22:11
2021-01-10T15:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
__version__ = "0.6.10" from .read_write_tfrecord import * from .input_fn import * from .model_fn import * from .params import * from .top import * from .run_bert_multitask import * from .utils import * from .preproc_decorator import preprocessing_fn from . import predefined_problems from .special_tokens import *
[ "junpang.yip@gmail.com" ]
junpang.yip@gmail.com
f78963add4b60ef66c7ce35ce18852ad3a6e9be9
33daf4c69a8f46d7ad8d93eaa73fc60e36fd022d
/gestion/asignaciones/20150908-todos-cuerpos/procesar_tabla.py~
6817418317f466cb6fa5e7e4a9ff2c5abf0fe429
[]
no_license
OscarMaestre/estructurado
81cfc9412b77d5015be1bebf66785c357746d8e2
7649747e48128cb9c17dee937574e9490fcc9087
refs/heads/master
2021-01-10T15:05:47.695362
2016-04-28T07:30:50
2016-04-28T07:30:50
53,923,820
0
0
null
null
null
null
UTF-8
Python
false
false
4,671
#!/usr/bin/env python3 import re import sys import os NUM_SUBDIRECTORIOS_ANTERIORES=1 SEPARADOR=os.sep RUTA_PAQUETE_BD=(".."+SEPARADOR) * NUM_SUBDIRECTORIOS_ANTERIORES DIRECTORIO= RUTA_PAQUETE_BD + "db_nombramientos" #aqui = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, DIRECTORIO) import GestorDB...
[ "profesor.oscar.gomez@gmail.com" ]
profesor.oscar.gomez@gmail.com
27f95d2e43a12b557a7ce14431e53368ee5452e3
ae2c06e5e01132bdc9d2fd3d78a558d0d92ad85b
/qa/rpc-tests/txn_clone.py
ae4587bfcb6ddc9583a7f010648f3f06e894a30e
[ "MIT" ]
permissive
communitycoin1/cc
1cd8c2736a626635ffb0c59fab7a0c7ead3b0fb3
d539107da36b68ccebe320acaa4bfd1819751825
refs/heads/master
2020-03-21T16:13:08.729536
2018-06-27T21:25:11
2018-06-27T21:25:11
138,757,652
0
0
null
null
null
null
UTF-8
Python
false
false
8,017
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test proper accounting with an equivalent malleability clone # from test_framework.test_framework im...
[ "eddie@es.home" ]
eddie@es.home
0725b208bc125d2ab8e98b94ffeab22dd91dd229
4aaa2f751fe129e2fb479b52467bb9a13ffc970e
/day6.py
6f03853c18dc4275d162b6d358b4d64f26d332a5
[]
no_license
jillesme/AdventOfCode2017
b43fb604149ea055c26c76c2401bc5c6c63e6cdf
eb5156cba860622abe68dd553e41803ca3685b72
refs/heads/master
2021-08-28T17:25:01.932872
2017-12-12T22:58:45
2017-12-12T22:58:45
112,797,928
1
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
input = '5 1 10 0 1 7 13 14 3 12 8 10 7 12 0 6' def challenge_one(input): memory = [int(n) for n in input.split('\t')] track = [] steps = 0 while (memory not in track): steps += 1 track.append(memory[:]) highest_index = memory.index(max(memory)) highest_memory = memory[...
[ "jilles.soeters@udemy.com" ]
jilles.soeters@udemy.com
7b726e78d17e8a9f49a6de856f02862ac492efba
bd2dc60667bf96b0960f86647e245642bb8af532
/python/BLOSEM_tutorial/EVControllerMsgFed.py
1e9c35d7af185522f85f40418aec07b076cb92c5
[ "BSD-3-Clause" ]
permissive
activeshadow/HELICS-Examples
4a25bf35845199d66056fdd3e59f229b607828f1
750cd111eb11efc681d2575b4919759bdce38e51
refs/heads/master
2021-06-06T04:12:57.628736
2021-05-12T04:57:49
2021-05-12T04:57:49
149,702,075
0
0
null
2018-09-21T03:01:28
2018-09-21T03:01:28
null
UTF-8
Python
false
false
6,388
py
""" Created on 8/27/2020 This is a simple EV charge controller federate that manages the charging at a set of charging terminals in a hypothetical EV garage. It receives periodic SOC messages from each EV (associated with a particular charging terminal) and sends back a message indicating whether the EV should continu...
[ "trevor.hardy@pnnl.gov" ]
trevor.hardy@pnnl.gov
bcc44dd356766361c249296518c49be6feaab444
a077400e92e995c1b939c6d4a822e868bacea8ad
/plotting.py
a9ecf5e3dae77dc3cc688933b016e57ba7ad8563
[]
no_license
aryatejas2/dashcam-footage-accident-prediction
7ea3fa5f6e6be3f6253e473f4abab3b7d27a79c6
2341d8d2440de831ce7046211221a6786499ba28
refs/heads/master
2023-07-30T11:45:54.676536
2021-09-17T18:07:17
2021-09-17T18:07:17
407,627,847
0
0
null
2021-09-17T18:07:18
2021-09-17T17:32:31
Python
UTF-8
Python
false
false
611
py
""" @author: Tejas Arya (ta2763) @author: Amritha Venkataramana (axv3602) """ import matplotlib.pyplot as plt arr = [[0.847466766834259, 0.46666666865348816], [0.6447384357452393, 0.5333333611488342], [0.7249559164047241, 0.6000000238418579]] loss = [] accuracy = [] for each in arr: loss.append(each[0]...
[ "noreply@github.com" ]
noreply@github.com
f932861d369b33babe2d491bf2a81d7802552474
7e6be6d1e8d85795313410a739537ce0a2ce641a
/Mining-Demo/tweetgatherer.py
326e5f6cc49a24071cc39867d964c9c7ad9ca757
[]
no_license
ianiemeka14/data-mining-project
4951379c4c97c7625c6cb4139724cc3dbbca7126
826a9004fb76bec34491303148f7cd1c55ffc201
refs/heads/master
2020-07-26T15:13:04.351917
2019-09-16T01:20:19
2019-09-16T01:20:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,397
py
#Import the text pre-process function and a custom stream Listener, as well as API keys. and other needed files from textpreprocess import preprocess from streamlistener import MyListener from Authorize import api import tweepy from tweepy import Stream from tweepy.streaming import StreamListener from Authorize ...
[ "noreply@github.com" ]
noreply@github.com