blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
6ede21e09928afe06f7ca4e59017bb4b664f3da2
afaef7fda04c6b9a72b9567dcb991037710ebab3
/dopy/action.py
da7f33b153fd6c3de1aec25846ceb24f1069d922
[]
no_license
B-Rich/DOPY
8ecce140dbc8ee1781bbfec1f48835087d7c2b47
c8a02b3ffefa7164515c4dc35ba0ed3bd2ff0c85
refs/heads/master
2016-09-06T09:22:08.123432
2014-08-02T00:26:31
2014-08-02T00:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
class Action(object): def __init__(self, data): self.id = data["id"] self.status = data["status"] self.type = data["type"] self.started_at = data["started_at"] self.completed_at = data["completed_at"] self.resource_id = data["resource_id"] self.resource_type...
[ "trvrmay@yahoo.com" ]
trvrmay@yahoo.com
9bee68782c0e527d2e9b4643372f1a7d9de2807e
8844cf13ea4a61aea6fafc285883f173aa3c46f4
/venv/Scripts/django-admin.py
03e0e6e44f5412c5a1efc294cefd8e6e4a9bac0e
[]
no_license
ImOkay-Ms/bookmark
bf9c0ba3b0d5192abcee65c3b04601d9eed1b67b
1e2512cd9be85067bf20c17a5661dbaadf3c01b8
refs/heads/main
2023-04-19T22:44:53.748534
2021-05-07T08:27:32
2021-05-07T08:27:32
365,162,348
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
#!c:\users\wallm\pycharmprojects\04_bookmark\venv\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-adm...
[ "56255367+ImOkay-Ms@users.noreply.github.com" ]
56255367+ImOkay-Ms@users.noreply.github.com
0a94b3a8f252d9c3cf1e6285b13b2ee7925ddcd3
6be41ba7ade71d84fd116d6eb132e6b30c34634a
/day25/day25.py
c28b774689f595a4021cff90a15b8aeabe039d71
[]
no_license
brianjp93/aoc2019
efaa8fc46430c3f8d94f8e28999c8c5a4548ab9d
63baebae9ce3c9c7fc2dfaff61f0f2f4e30f77c6
refs/heads/master
2021-07-15T00:19:42.692789
2021-06-25T00:42:18
2021-06-25T00:42:18
225,127,505
0
0
null
null
null
null
UTF-8
Python
false
false
2,473
py
"""day25.py """ from computer import Computer from itertools import combinations CHECKPOINT_ITEMS = ['asterisk','antenna','easter egg','space heater','jam','tambourine','festive hat','fixed point'] class Droid(Computer): def __init__(self, *args, **kwargs): self.sent = 0 super().__init__(*args, **...
[ "perrettbrian@gmail.com" ]
perrettbrian@gmail.com
c439e8bc4823a5c6fc7da35db3637314de577c9c
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/say_big_person_of_fact/hand_and_case/try_able_company_up_week.py
dfd64790159e034f5c52cd28b6e4a81e19f11920
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
#! /usr/bin/env python def different_place(str_arg): way(str_arg) print('thing') def way(str_arg): print(str_arg) if __name__ == '__main__': different_place('know_right_world_over_year')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
2bdbc779fc636376e7fdf31a9eb638963d99f2c7
ea023a0478c89e8f566d967321e2d0d645499f86
/hw05_01_persons.py
5988098836efc39ca1773a1a338e6cb6d9f13664
[]
no_license
NVMarchuk/go_QA
8ee8f75e9f7b37f0343393eba24b4d28e61fa122
4e14501ac6bb931a1a6b5703bf8f4b2f9695847b
refs/heads/master
2020-04-09T04:45:55.134388
2018-12-02T12:42:26
2018-12-02T12:42:26
160,035,536
0
0
null
null
null
null
UTF-8
Python
false
false
5,808
py
import datetime class Person: """ CLASS Person (два свойства: 1) full_name пусть будет свойством, а не функцией, а свойств name и surname нет (одно поле, тип строка и состоит из двух слов «имя фамилия»), 2) год рождения). """ def __init__(self, full_name=None, birth_year=None): ""...
[ "qamarchuk@gmail.com" ]
qamarchuk@gmail.com
9f8aaad6b22ea7ecc6945c8288570a353c7d7b8f
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2/async_samples/sample_classify_document_from_url_async.py
9e4775d42c58ae924f0d55dc072fb01011589d59
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
5,413
py
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
b51914fd7b3e6ca960cf28e6f04ff6f317fe58a5
66865b7ed119f42c8490bf3f8821602e1201eb0b
/tests/performance/time_mean.py
f6149a4c0aef131f24928bd33fcd8962974edd8b
[ "MIT" ]
permissive
chanedwin/pandas-profiling
1a8a35f6d985a93f02a25af6e1c650b24e11218a
d9ee4a8a589e075cfced9fc71ca500a20e2a3e73
refs/heads/develop_spark_profiling
2023-08-01T19:53:31.340751
2021-01-07T15:59:22
2021-01-07T15:59:22
288,504,610
1
3
MIT
2021-04-26T14:09:43
2020-08-18T16:14:57
Jupyter Notebook
UTF-8
Python
false
false
726
py
import timeit testcode = """ import numpy as np import pandas as pd np.random.seed(12) vals = np.random.random(1000) series = pd.Series(vals) series[series < 0.2] = pd.NA def f1(series): arr = series.values arr_without_nan = arr[~np.isnan(arr)] return np.mean(arr_without_nan) def f2(series): ...
[ "sfbbrugman@gmail.com" ]
sfbbrugman@gmail.com
69bed29a7ff68e4bc1e38f20eff1032b0709cdc7
ce9593eb4ec109b86f3f75ac161a372e6d99f067
/Problems/Beautify both output and code/main.py
cd06ffb22a2bed0cad2a1cdff2cf0c609f3bb1b4
[]
no_license
wangpengda1210/Rock-Paper-Scissors
0b2e5ef9b946dd209a85fa7440a7e40acfd83923
05c558ddfdf69eb4170185a158ded8a3a063359c
refs/heads/main
2023-02-20T08:35:09.379752
2021-01-23T06:31:48
2021-01-23T06:31:48
332,143,586
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
print("http://example.com/{}/desirable/{}/profile".format(input(), input()))
[ "515484505@qq.com" ]
515484505@qq.com
a4d637f4f3bdbf6475cb8ac0d01ca134d5e91a3e
fd2920a8ca609ea9f08c655104ac0a5e88f61fbf
/Struct/action.py
8a7200ef5c4bc0b7109ec1dc5ae406be6650fae2
[]
no_license
gtello79/Alg_Ford_Fulkerson
5a6dde5f921f83bc3d5204a7cd43973f6c3d43a2
0ada5311b4e1ce549363f5aeff350cb11b43a507
refs/heads/main
2023-01-30T14:31:45.023007
2020-12-13T19:54:48
2020-12-13T19:54:48
320,720,393
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
import copy as cp class action: def __init__(self, newPoint, value): self.actual = newPoint self.distance = value def getState(self, state): newState = cp.deepcopy(state) newState.node.append(self.actual) newState.eval += self.distance return newState ...
[ "gonzalotello79@gmail.com" ]
gonzalotello79@gmail.com
9bf54e5c86c4b04d3adf8d7b9ae99b50fe0cb1dd
7b6b64795d3aa8c1e72c7a87cfb9d3efd59da39a
/fosfile/decrypt.py
aa290d576869ea9ea0da50d796cfc70f8017d1ea
[ "MIT" ]
permissive
CleyFaye/FOS_View
9277ebc6a667740ac96982a99bc8f8cb04b64b19
9314a3a6aec24eec2211e3a5ddc532c1f4befd20
refs/heads/master
2021-01-10T17:39:19.174845
2015-10-20T18:48:31
2015-10-20T18:48:31
44,626,005
2
1
null
null
null
null
UTF-8
Python
false
false
982
py
from Crypto.Protocol.KDF import PBKDF2 from Crypto.Cipher import AES from base64 import b64encode, b64decode # Informations taken from FOSDecrypt.cs # (original author: superkhung@vnsecurity.net) class cryptoInfo(object): initVector = 'tu89geji340t89u2' passPhrase = 'UGxheWVy' keySize = 256 def decrypt(sr...
[ "github@cleyfaye.net" ]
github@cleyfaye.net
92dd37214e9ff42428ae4975726aa638fdb81f0b
da0dc454f7c81856eedec17663d5893ce1d83bd5
/4.d.9.py
4719dd322f50b6ec0b12e6bd5941987c46bf0fb8
[]
no_license
KritikRawal/Lab_Exercise-all
cf199f7f8d518a17464e67b6fdc16427aec11997
f377eedc558195d4c2de07913e0ff0c0733c842a
refs/heads/master
2021-01-26T14:05:13.288735
2020-02-27T14:27:59
2020-02-27T14:27:59
243,447,124
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
"""Write a Python program to iterate over dictionaries using for loops.""" d = {'x': 10, 'y': 20, 'z': 30} for dict_key, dict_value in d.items(): print(dict_key,'->',dict_value)
[ "noreply@github.com" ]
KritikRawal.noreply@github.com
c3412d496ec2458f35e2d607ca43e01d35c7d686
385a3c8cdd62a237bfa69e1a77359f81ce43542d
/variable_scope.py
860f9dc273fda258dccdf413a977c8cbf1db0950
[ "Apache-2.0" ]
permissive
tangentspire/Python_Practice
8528a6314a4dd02fe9c43b9cce43a38e9b38d43d
e7f22303230a2ffa4e3f5ae57854bac9c4c3bc34
refs/heads/master
2021-06-18T17:01:08.023455
2020-03-27T05:25:22
2020-03-27T05:25:22
138,232,355
0
0
Apache-2.0
2021-06-10T20:30:43
2018-06-21T23:34:13
Python
UTF-8
Python
false
false
1,327
py
# a exercise messing around with local, enclosed, and global variable scoping. # https://www.smallsurething.com/how-variable-scope-works-in-python/ x = "I am a global variable, x." # looks for x locally in the function, doesn't find it, so it looks globally and finds it at line 1 def global_print(): #global x print(...
[ "seanvenard@gmail.com" ]
seanvenard@gmail.com
d8327625f3951b94827154fcd1efc3bb31fd7e6a
a4e59c4f47873daf440374367a4fb0383194d2ce
/Python/987.py
071ba61e1dee050a891b2d02116afb3a3671fc25
[]
no_license
maxjing/LeetCode
e37cbe3d276e15775ae028f99cf246150cb5d898
48cb625f5e68307390d0ec17b1054b10cc87d498
refs/heads/master
2021-05-23T17:50:18.613438
2021-04-02T17:14:55
2021-04-02T17:14:55
253,406,966
0
2
null
null
null
null
UTF-8
Python
false
false
853
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def verticalTraversal(self, root: TreeNode) -> List[List[int]]: if not root: return [] ...
[ "tvandcc@gmail.com" ]
tvandcc@gmail.com
e5e3cbe5abeb2f0e0244f41aa88a0dc8c886e935
a77b1fd3128787a5479371d4fae357ffca4d17e4
/python/class.py
9af3c8c89d8a36200a9f58cb9ae3ae946b5d7c3d
[]
no_license
kaidee/kaidee
709fcd1218cc426d00735fea8bd39a5294ad71db
0ff11afe9222235328937bf68760829ba1fb00d0
refs/heads/master
2020-05-20T01:19:30.490372
2017-11-01T11:38:06
2017-11-01T11:38:06
8,902,365
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
class FirstClass: """docstring for FirstClass""" def __init__(self, arg): # super(FirstClass, self).__init__() self.arg = arg def setdata(self, value): self.data = value def display(self): print self.arg z = 100 x = FirstClass("ling") x.display() y = 'hello' # print locals() for k, v in locals().items():...
[ "lkaidee@gmail.com" ]
lkaidee@gmail.com
12437e1f025519cb508d5e60a98bb09581bceda3
e7f87113f8118b4e7879ee3b9c6e1fe2ebc8dfe6
/syntax_service/web_service.py
ac8c9dfb153d47754e7d6405aae6dcfdc1144094
[]
no_license
tarasen/question_generator
779d5d9a19d4c189a1184d6f70b4365fbcd04691
e46b01a5a3c022a17dc7f88ef29f9d117916e4ea
refs/heads/master
2021-06-17T16:40:58.009005
2017-06-15T16:49:07
2017-06-15T16:49:07
94,459,484
0
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
import subprocess from logging import getLogger, ERROR from time import sleep import rapidjson from cytoolz import take from flask import Flask, request from werkzeug.serving import WSGIRequestHandler from syntax_service.syntax_analyzer import SyntaxAnalyzer log = getLogger('werkzeug') log.setLevel(ERROR) app = Fla...
[ "cepxuopamoc@ya.ru" ]
cepxuopamoc@ya.ru
7f88fd1dedc0c43a5b4fb5c5c46af45d748f9898
16746b76421c9ebe834547dedb9e558f1f981c0a
/Yahoo_fianance_api_package/yahoo_finance_master/test/test_yahoo.py
1a05159abee1aa22f32b7fe7f4112d35e50ed106
[]
no_license
clementcole/Project_Pythia
39f49330d241538d5175772262b2edd3afd67cc6
23fef0a9f0368855f4b90c086e7b3571c81a8333
refs/heads/master
2021-03-27T13:47:28.039331
2017-03-05T19:10:17
2017-03-05T19:10:17
68,121,457
3
0
null
null
null
null
UTF-8
Python
false
false
3,491
py
import datetime import sys if sys.version_info < (2, 7): from unittest2 import main as test_main, SkipTest, TestCase else: from unittest import main as test_main, SkipTest, TestCase from yahoo_finance import Currency, Share, edt_to_utc, get_date_range class TestShare(TestCase): def setUp(self): ...
[ "cmr0263@unt.edu" ]
cmr0263@unt.edu
fd761c88737e3622a0466b6b6356c2175bc9c74e
18eba2edf1fe3dcb31d646269f1a41747500db9f
/karaoke.py
e0e4d40e2b47bc5409bb65286939778e57efb7f0
[ "Apache-2.0" ]
permissive
ziyua/ptavi-p3
32bc8428b2d9e26d4106c3b2580fe717fb770c69
d54e888bf74c773a9ec5668ec3616cc58e3c093d
refs/heads/master
2020-04-07T09:21:02.511566
2014-10-13T17:18:07
2014-10-13T17:18:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
#! /usr/bin/python # -*- coding: utf-8 -*- from xml.sax import make_parser import smallsmilhandler as ssh import sys import os class KaraokeLocal(): def __init__(self, filename): parser = make_parser() SSMILH = ssh.SmallSMILHandler() parser.setContentHandler(SSMILH) ...
[ "z.y.ma@qq.com" ]
z.y.ma@qq.com
cacd7937cdc425dcc72f8b26713976bf92e3d667
6e33f9472a6369a2c5219ef358e98f72ce9fe463
/load_data.py
18ffc9b777eed7e3a213a1e92165d17b5174d047
[]
no_license
harshkn/NeuralNetworkWithLasagne
599369f43e44a9463b5d53193f24b1983825106e
4a5c1770cca69029b3b0cc8b704a80396c3181af
refs/heads/master
2021-01-21T16:15:10.146334
2016-08-16T11:10:51
2016-08-16T11:10:51
65,447,067
0
0
null
null
null
null
UTF-8
Python
false
false
2,710
py
import sys import os import numpy as np def load_dataset(): # We first define a download function, supporting both Python 2 and 3. if sys.version_info[0] == 2: from urllib import urlretrieve else: from urllib.request import urlretrieve def download(filename, source='http://yann.lecun....
[ "harshkn@gmail.com" ]
harshkn@gmail.com
23b9f1d7d1bf70506e95ca0232b7de7c109195e2
567eb1054bd0c166dac12e46db09d0e39a70500b
/todos/migrations/0001_initial.py
547f19cf01983a9e3e9cda3f6e387a0405f719c0
[]
no_license
xudifsd/hook2do
2b8896c59579a7656676550f2ce7a56fe22dea61
f6c2bea9207a661da22e3c42d0a18decd1ba0135
refs/heads/master
2021-01-18T20:26:30.976320
2014-11-15T05:48:22
2014-11-15T05:48:22
26,671,337
1
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "xudifsd@gmail.com" ]
xudifsd@gmail.com
d4c8bd1b9a8bce6b448f64fc215674c63f47f37e
ca77e9e45d666771c7b0897e7e3093b3d3c12f65
/graphs/graphs.py
918a04980fe52256e43ef0951a6fea0dfcaf64e8
[]
no_license
2gDigitalPost/custom
46175d3a3fc4c3be21dc20203ff0a48fb93b5639
6a3a804ef4ef6178044b70ad1e4bc5c56ab42d8d
refs/heads/master
2020-04-04T07:40:17.962611
2016-12-28T18:35:28
2016-12-28T18:35:28
39,648,283
0
0
null
null
null
null
UTF-8
Python
false
false
34,650
py
ll__ = ["GraphHoursWdg"] import tacticenv, os from datetime import date, timedelta as td from pyasm.biz import * from pyasm.web import Table, DivWdg, HtmlElement from pyasm.common import jsonloads, jsondumps, Environment from tactic.ui.common import BaseTableElementWdg from tactic.ui.common import BaseRefreshWdg from t...
[ "topher.hughes@2gdigital.com" ]
topher.hughes@2gdigital.com
330cf22f710de37c4a2a14f3b365073cf76b16d8
336af6b9a3df1917bdf35ccb3ea0ed2a841ebc07
/src/lib/inputparser.py
95240236ba96361c17a1b8455987924863d388cf
[]
no_license
redsoxfantom/sprinkler_designer
3c9791a5e818341b08a6cafc5ad1fbaa3884e6e2
89d2fdbee66b5371a5fb28244f9f0964a1bde44d
refs/heads/master
2020-03-08T03:03:18.312543
2018-04-08T23:11:21
2018-04-08T23:11:21
127,879,365
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
import json from src.lib.sprinklers.factory import createsprinkler from src.lib.field import Field from src.lib.scorers.scorekeeper import ScoreKeeper from src.lib.strategies.manager import StrategyManager class InputParser: def __init__(self, filename): loadedfile = json.load(open(filename)) sel...
[ "redsoxfantom@gmail.com" ]
redsoxfantom@gmail.com
a4b07117ea536c0e1ad360a226b7b83d8cdc76f4
bd8fd0c735daeb93ae10dbdd58a224204790e05d
/stock_picking_invoicing_journal_type/wizard/stock_invoice_onshipping.py
9ba6e273d3bb7f5ce21671210be26bb76009a758
[]
no_license
Liyben/vertical-instaladores
87f3906240d2802c90b24e4402d48f33f468311b
623a4ee3745c84cff383fa52f65edf7e8806435e
refs/heads/master
2023-08-30T14:55:39.681612
2021-05-28T18:39:43
2021-05-28T18:39:43
235,099,352
0
0
null
2021-05-28T18:39:45
2020-01-20T12:44:53
Python
UTF-8
Python
false
false
5,396
py
# © 2020 Liyben # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields, api, _ from odoo.exceptions import UserError class StockInvoiceOnshipping(models.TransientModel): _inherit = 'stock.invoice.onshipping' @api.model def _default_default_debit_account_id(self):...
[ "soporte@liyben.com" ]
soporte@liyben.com
02f6df5ae4820400c31f0a44ab0af1722aff4957
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/datahub/databus/shippers/mysql/shipper.py
47bb186ba428a43fa955ca786b37cc8b70ff1a25
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
3,040
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
b902452d883e17b367874e8a5573c31469d0319a
bbbcd2ac7088ab1e0111798107e9719382b965b9
/German Traffic Signs Classification/german_traffic_signs.py
b5e74033a28853dfb1732636cbf3a4ab2c7e8d9c
[]
no_license
negatively/DS-ML-Project
5dccda0015389ae70e111f1d1b9a805cb83396da
da89b9bad4e167cd4fff632c72b64e0349bf0771
refs/heads/main
2023-09-03T06:13:25.211544
2021-11-02T15:48:25
2021-11-02T15:48:25
409,063,054
1
0
null
null
null
null
UTF-8
Python
false
false
5,243
py
# -*- coding: utf-8 -*- """German Traffic Signs.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/11oG_rJKdiuWQkcPL9tDivDONJYnFymeV ## Load Library and Dataset """ # Commented out IPython magic to ensure Python compatibility. import pandas as pd i...
[ "mileniandi39@gmail.com" ]
mileniandi39@gmail.com
10a476e13c38323dbe8b0c4072c8570fa256f26c
40fc1d38f2d4b643bc99df347c4ff3a763ba65e3
/examples/menus/basic1/data/states/menu2.py
6adb8054f7339f609ba0c3ea440473cc73fedab8
[]
no_license
alecordev/pygaming
0be4b7a1c9e7922c63ce4cc369cd893bfef7b03c
35e479b703acf038f47c2151b3759ad852781e4c
refs/heads/master
2023-05-14T05:03:28.484678
2021-06-03T10:11:08
2021-06-03T10:11:08
372,768,733
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
import pygame as pg from .. import tools import random class Menu(tools.States): def __init__(self, screen_rect): tools.States.__init__(self) self.screen_rect = screen_rect self.title, self.title_rect = self.make_text( "Menu2 State", (75, 75, 75), (self.screen_rect.centerx, 75)...
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
06d3e36130944e9c7a4d9343a486d6b700770ca1
c0a4879a91d0175af6ecd76a45a20a0e6643df6b
/app/models/ScannerThread.py
6d1ceb19f54bcdf2e55f3a0711c6e9fde0f2a20f
[]
no_license
Hugo291/Flask-OCR
e4c0e6e65fbd84c920ed08788e044b71e518615f
2d4872136715febd461a1008d318cb235bc8f090
refs/heads/master
2023-05-24T08:28:56.954393
2023-02-05T11:06:45
2023-02-05T11:06:45
129,457,196
7
3
null
2023-05-01T20:56:59
2018-04-13T21:53:21
Python
UTF-8
Python
false
false
5,608
py
import os import time from threading import Thread from app.config import UPLOAD_DIR_PDF, UPLOAD_DIR_JPG from app.models.OCR import OCR from app.models.Pdf import convert_to_jpg, page_number class ScannerThread(Thread): """ Construct """ def __init__(self): super().__init__() print("...
[ "33847075+Hugo291@users.noreply.github.com" ]
33847075+Hugo291@users.noreply.github.com
9b9be96e30df9c686070c80c225e104e3d02d81f
b13d6dfc382b65b07587d0cc3d5fb2478081ab6a
/main/forms.py
4ab89e187e10f6ecc082e2571e616bfe858a3988
[]
no_license
ashabdan/firstdjangoproject
2198ae10fda461a286c193f3d2cf363ee550793b
e00806f95c56ebf528f988291c4ea3eb098364c9
refs/heads/master
2023-05-22T09:08:37.741597
2021-06-11T12:16:18
2021-06-11T12:16:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
from ckeditor.widgets import CKEditorWidget from django import forms from .models import Post class CreatePostForm(forms.ModelForm): text = forms.CharField(widget=CKEditorWidget()) class Meta: model = Post fields = ['title', 'text', 'image', 'category', 'tags'] def __init__(self, *args, ...
[ "akimbaeva.a23@gmail.com" ]
akimbaeva.a23@gmail.com
380a73b7ffd584930d557f8d65de872cfdc9fbc7
a0cc2d898690a33db84124aae128a014f05c1748
/PE5/PE5_1.py
78699fa1d857a31568c764111d00a9e4d689e91e
[]
no_license
Hilgon2/prog
2bf9adb6315de3e6c95bb4cc944ec1e2842ae64f
b594dd523e2efa51250d3be43cf74cf2ca6229e9
refs/heads/master
2020-03-29T09:40:33.924573
2019-01-29T13:39:48
2019-01-29T13:39:48
149,769,217
0
1
null
null
null
null
UTF-8
Python
false
false
89
py
def som(getal1, getal2, getal3): return getal1 + getal2 + getal3 print(som(1, 5, 8))
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
d6e2ffc6e5a6866b95ee3fa8a2af8eb20885ea4c
b24e584c29f3ad68404f2345828ad3ed8fdd04de
/file_loader.py
52c79312cf872763fc101186c9613ced17f853ba
[]
no_license
urube/DE321_Assessment2
b17ca23159f78bf14d567d3bd6820e0807c5dac5
61bf4ea9dad3718ac8bdcf3156e3bb2c46ec13e7
refs/heads/master
2021-05-16T19:45:49.926933
2020-04-02T11:25:30
2020-04-02T11:25:30
250,444,097
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
import os class Controller: def load_file(): images = [] for filename in oslistdir()
[ "andaz.rai002@gmail.com" ]
andaz.rai002@gmail.com
a6ef29eb5bb901813eb35f2c5eb018aaaf451497
ce0a9815b0b265b3d75336f5128d44cc1a7944a0
/HW3/gosho_tests.py
ba7ce2e89d6e6886ec9ef8755f6d029c38bee8b9
[]
no_license
borisaltanov/Python-FMI
a81bc9ffab8b181664924996723e056cbeeb967a
43ca1864556b02f94ec962ce7fa294d984e3aa09
refs/heads/master
2021-01-12T12:44:34.096534
2016-09-30T13:05:58
2016-09-30T13:05:58
69,667,152
1
0
null
null
null
null
UTF-8
Python
false
false
18,442
py
import unittest import datetime import math from time import sleep import sol2 as s class TestUser(unittest.TestCase): def setUp(self): self.user = s.User("Lord Bendtner") def test_name(self): self.assertIsNotNone(getattr(self.user, 'full_name')) self.assertEqual(self.user.full_name...
[ "borisaltanov@gmail.com" ]
borisaltanov@gmail.com
2142b629fe750797192ebc632de853f0a3fff0db
d743b92e19cf85e4593d621a0b388ce6d7de3446
/PA3/TestCases/S3/output/q5-array-test3.tac
4437c083f84f8ffb6e21f8edbb242020076db638
[]
no_license
weiyx15/Decaf_2018
73db29f0da21efa8ecce8b9122a8e23fd76c3989
832af027483530bddf13a7b6a01a25e4ed82d720
refs/heads/master
2020-04-16T13:13:17.238653
2019-01-14T08:18:03
2019-01-14T08:18:03
165,616,599
0
1
null
null
null
null
UTF-8
Python
false
false
1,905
tac
VTABLE(_Father) { <empty> Father _Father.foo; } VTABLE(_Child) { _Father Child _Father.foo; } VTABLE(_Main) { <empty> Main } FUNCTION(_Father_New) { memo '' _Father_New: _T1 = 8 parm _T1 _T2 = call _Alloc _T3 = 0 *(_T2 + 4) = _T3 _T4 = VTBL <_Father> *(_T2...
[ "weiyx_1@126.com" ]
weiyx_1@126.com
fdcf94259376e6d3fa06d6a182d45cd8682133e8
9de495e040db39468a795a7a4072aa8f44e0eae1
/pyrasl/util/imageio.py
8db21f8de884763d371c5fe6cde8d85748d34776
[]
no_license
ejd2163/Barnhart-Lab-2020
7fdcafaa24f2e02d75d54b3e660d3c851eaf342d
d410c015cc057bc8e663019158a5a920eb65a3d2
refs/heads/master
2020-12-14T04:51:27.700188
2020-09-09T18:01:12
2020-09-09T18:01:12
234,646,253
0
0
null
2020-02-19T16:00:45
2020-01-17T22:16:34
null
UTF-8
Python
false
false
4,915
py
# __BEGIN_LICENSE__ # # Copyright (C) 2010-2012 Stanford University. # All rights reserved. # # __END_LICENSE__ import numpy as np import os def load_image(filename, dtype = None, normalize = False): """ Load the image supplied by the user using OpenCV, and then immediately convert it to a numpy array. The...
[ "33631472+zhengyuanlu@users.noreply.github.com" ]
33631472+zhengyuanlu@users.noreply.github.com
95b7fcc4be922b3b722eaca5d68a73ca8391b640
5c4beaa51bf73fef1c82d280561f012068a6333c
/extractFeatureTest.py
9665cfb72c4fa01f54a5a311fad07e6c6d3e98a7
[]
no_license
archimekai/autoAnswer
1a74f577db9ada7ca8db76b75c6c98e948113d92
d141bcf09a274b52e4fd8cf513fe58e9dc71ee9c
refs/heads/master
2021-01-12T15:41:36.379055
2016-12-07T12:32:09
2016-12-07T12:32:09
71,855,355
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# coding=utf-8 # author: WEN Kai, wenkai123111 AT 126.com # Nov/16/2016  11:27 PM from extractFeature import * import unittest class testExtarctFeature(unittest.TestCase): def test_getCausality(self): para = "因为哈密瓜生长在北方,所以哈密瓜很甜。因为太阳很大,所以太阳很热。" getCausality(para)
[ "wenkai123111@126.com" ]
wenkai123111@126.com
eababec9f6471e53a80fca79134347940be8d290
fe91ffa11707887e4cdddde8f386a8c8e724aa58
/components/schema_org/generate_schema_org_code_unittest.py
efe4f2b9872edd705ddf08553a7364cb1d9eefc1
[ "BSD-3-Clause" ]
permissive
akshaymarch7/chromium
78baac2b45526031846ccbaeca96c639d1d60ace
d273c844a313b1e527dec0d59ce70c95fd2bd458
refs/heads/master
2023-02-26T23:48:03.686055
2020-04-15T01:20:07
2020-04-15T01:20:07
255,778,651
2
1
BSD-3-Clause
2020-04-15T02:04:56
2020-04-15T02:04:55
null
UTF-8
Python
false
false
5,946
py
# Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for generate_schema_org_code.""" import sys import unittest import generate_schema_org_code from generate_schema_org_code import schema_org_id impor...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c03ac23ef226a1bbeab88e5ed757a872072ad21a
a7caaf953a0849f6081e44382da74a600a86b3da
/opencv-2.4.9/samples/python2/hist.py
09fc8f90d80e51999221a360503e5c40aaea3fa0
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
watinha/collector
22d22116fc1dbdfeec3bddb05aa42d05efe5b5b4
fc4758f87aad99084ce4235de3e929d80c56a072
refs/heads/master
2021-12-28T11:12:50.548082
2021-08-19T20:05:20
2021-08-19T20:05:20
136,666,875
2
1
Apache-2.0
2021-04-26T16:55:02
2018-06-08T21:17:16
C++
UTF-8
Python
false
false
3,475
py
#!/usr/bin/env python ''' This is a sample for histogram plotting for RGB images and grayscale images for better understanding of colour distribution Benefit : Learn how to draw histogram of images Get familier with cv2.calcHist, cv2.equalizeHist,cv2.normalize and some drawing functions Level : Beginner or...
[ "watinha@gmail.com" ]
watinha@gmail.com
e90d3f3264f8703b34328d969f8d6039d11892bf
ed8b8b363abba3e32bc07c3586ba9004c57470c3
/business_object/pokemon/supporter_pokemon.py
666a38ff5a94ac4f03ae21d6b62345c49f984290
[]
no_license
adrienensai/tp2_2021
1a1f0ce578c13ee43e81c823fd05ec2977652016
d61ea39c19d24e494fbbbe9972de423e942f1391
refs/heads/master
2023-08-14T14:14:25.596972
2021-09-23T15:29:18
2021-09-23T15:29:18
409,634,314
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
from business_object.attack.special_attack import SpecialFormulaAttack from business_object.pokemon.abstract_pokemon import AbstractPokemon class SupporterPokemon(AbstractPokemon): def __init__(self , stat_max=None , stat_current=None , level=None ...
[ "amontbroussous@DOMENSAI.ECOLE" ]
amontbroussous@DOMENSAI.ECOLE
f7f68b716a23f4dd64e3bf0e0319026f1f8abd0e
899a8953c1d00034c1674ac16fa27de28d49ef35
/iTest/report/lint.py
22c64830a763d0dc2cd2821af460871e2dcbd3af
[]
no_license
monadyn/itest_cts
b6d7a5dafd2a3e217d9c89dfc82893e1ba98347a
f74b9e5b5db351595b6a49265c729fe997345dc6
refs/heads/master
2021-01-01T17:32:36.415617
2013-10-28T08:00:18
2013-10-28T08:00:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
# -*- coding: utf-8 -*- # # Copyright (C) 2007 Jeffrey Kyllo <jkyllo-eatlint@echospiral.com> # # Based on code from the Bitten project: # Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de> # Copyright (C) 2007 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING,...
[ "monad@126.com" ]
monad@126.com
96096b7eead71a44e4658a819f4b303bb7152054
a88b029981e1ff89afc5e951d7346c91d3e0ecf5
/test.py
354e7da8a47d99484fe056d23271d59503820e81
[]
no_license
jncraton/calculator
a75ae340673c67bd41c07cd3ecdb0ac6adae1955
91e8732df0b0fb82f47e82de62871146dd7415f5
refs/heads/master
2020-08-14T00:23:02.494264
2019-11-04T15:35:06
2019-11-04T15:35:06
215,063,057
2
0
null
null
null
null
UTF-8
Python
false
false
648
py
from selenium import webdriver from selenium.webdriver.firefox.options import Options import os options = Options() options.headless = True with webdriver.Firefox(options=options) as browser: browser.get(f'file://{os.getcwd()}/dist/index.html') assert('Calculator' in browser.page_source) expression = br...
[ "jncraton@gmail.com" ]
jncraton@gmail.com
6b69a290b1249d0942acb209ad39c8384eba9c62
1a2ee534d5f7f9c03ab6747e1a33db32bd19144a
/2019/Day6/day6.py
b90cb2237887ee6c575c1b713d6f2a99a1d36cca
[]
no_license
samsohn28/advent_of_code
09b28ecef3c8845d3402e25bdccc6ddcb2fd3a39
b7a21f77ce5997beb4a69ba9e60fe9d465166f90
refs/heads/main
2023-01-11T11:58:47.949240
2022-12-26T06:32:08
2022-12-26T06:32:08
180,074,012
0
1
null
null
null
null
UTF-8
Python
false
false
1,602
py
# Day 6: Universal Orbit Map def get_hash_set(_file): orbits = {} objects = set() for line in _file: primary, satellite = line.rstrip().split(")") orbits[satellite] = primary objects.add(satellite) objects.add(primary) return orbits, objects def get_orbits(orbits,...
[ "sam.sohn28@gmail.com" ]
sam.sohn28@gmail.com
205c6d3bde45a4ee336ccec55817c107a7296001
8c6339a0a3e62b1c79c6af6747d98dc86dd00e1f
/chat/chat_client.py
fc3bcb4247b198fd30b6fa685533bf21343c7de0
[]
no_license
tchammer/uw_python
1ed5b64630239194d65260888bbc014972a32264
7f0055031a41d5b5a624918a3b19f58267d72c5d
refs/heads/master
2021-01-21T23:04:05.927956
2012-03-12T03:27:50
2012-03-12T03:27:50
3,099,648
1
0
null
null
null
null
UTF-8
Python
false
false
728
py
""" echo client, usage: python echo_client.py <host> <port> Both host and port are optional, defaults: localhost 50001 host must be present if you want to provide port """ import socket import sys host = 'localhost' port = 50003 size = 1024 nargs = len(sys.argv) if nargs > 1: host = sys.argv[1] if nargs > ...
[ "timothyechen@yahoo.com" ]
timothyechen@yahoo.com
36a7393b21a2682ca5683e48c739bc8a39c968ea
c6ed09339ff21fa70f154f34328e869f0dd8e394
/python/mysql-replication/binlog_rows_dump.py
255f603361ff6f90e670bf2990edb1f0b99845fd
[]
no_license
fits/try_samples
f9b15b309a67f7274b505669db4486b17bd1678b
0986e22d78f35d57fe1dd94673b68a4723cb3177
refs/heads/master
2023-08-22T14:35:40.838419
2023-08-07T12:25:07
2023-08-07T12:25:07
642,078
30
19
null
2022-12-28T06:31:24
2010-05-02T02:23:55
Java
UTF-8
Python
false
false
3,022
py
import configparser from datetime import date, datetime import json import os import sys import signal from pymysqlreplication import BinLogStreamReader from pymysqlreplication.row_event import (WriteRowsEvent, UpdateRowsEvent, DeleteRowsEvent) class BinlogConfig: def __init__(self, conf_file): self.conf...
[ "wadays_wozx@nifty.com" ]
wadays_wozx@nifty.com
368a24d77c6e9d9d3abb58bcdf8294f375cdac94
e7e77d8eecb1786369b8aefd71199e6dd03e3c67
/capai/settings.py
3ad4c6454d53c35c7c52e5b57d24014e7c05a436
[ "MIT" ]
permissive
kalimuthu123/CapAI
e11d654c19556f3c743f6527d693d566289cfc36
552b32661644543608a808b876d5d141f3b04ea2
refs/heads/master
2022-11-17T11:27:23.640270
2020-07-15T07:01:44
2020-07-15T07:01:44
274,123,394
0
1
MIT
2020-06-22T13:15:12
2020-06-22T11:52:21
Python
UTF-8
Python
false
false
13
py
DEBUG=False
[ "1995kalimuthu@gmail.com" ]
1995kalimuthu@gmail.com
d4b88ec999d9cbdb79ca587da70db301e111e9f5
c0bc3fdf72e97dadd8fcdaef171aab02c6a72498
/sepsis/train_model.py
62cb6f27487cd3e5127ebe39e16143431ba646fe
[ "MIT" ]
permissive
pj0616/sepsis_transfer_learning_public
7fb2576abb3dc31c5996e5626a86e4a5f5deefee
e41b3d1f43f0e59726e04215ea0da9c9919c0f68
refs/heads/main
2023-03-02T14:23:52.364331
2021-02-06T16:19:13
2021-02-06T16:19:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,860
py
import pandas as pd import os import joblib import configargparse as argparse import copy import torch import numpy as np from prediction_utils.pytorch_utils.models import FixedWidthModel from prediction_utils.pytorch_utils.datasets import ( ArrayLoaderGenerator_Alt, ParquetLoaderGenerator, ) from prediction_ut...
[ "spfohl@stanford.edu" ]
spfohl@stanford.edu
234e9a0558e87611eac1c7f734771939133adbb9
afe289f69e0624b048f6fc7ef5934a51bb7f0106
/My Practice/week 4/add N number.py
d87ccdc4dccfef1f6883f328f7711951e02eb406
[]
no_license
ansarifirdosh/Semister-2
ef5e0c616f198d34abc8bc7184a5a8527bee5e8a
9d1223d9c324e15eafb104d5d7870474b7138f6e
refs/heads/main
2023-09-05T09:35:13.942839
2021-11-21T17:11:01
2021-11-21T17:11:01
384,615,018
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
'''1.Write a program that takes a number N as input and prints the sum of all the numbers''' num=int(input("Enter the range of number: ")) sum=0 #initializing the value for i in range(1,num+1): sum=sum+i print("the total sum is: ",sum) #while loop num=int(input("Enter the range of number: ")) s...
[ "noreply@github.com" ]
ansarifirdosh.noreply@github.com
4d5b3298f7487306a98f6d98f50f817daeb8ceec
e10a008d351e93ab3be400d8a40860e8b6a64fa6
/day8_dataframe練習.py
f379c5089234e54c7977907d25e2d5df3fc95606
[]
no_license
atolinaga/Machine-Learn-Review
e4c365efca48b744729abbbd8dd9ccbdf467c111
7858fb41f01c1945376145e64de6bf7dcb611139
refs/heads/master
2021-02-09T18:06:52.830230
2020-03-02T08:00:30
2020-03-02T08:00:30
244,311,166
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
import os #建立文件/目錄路徑 import numpy as np import pandas as pd import matplotlib.pyplot as plt #data path dir_data = 'C:\python data\Part01' #必須使用os.path.join方式寫路徑部分,不然會亂碼 f_app = os.path.join(dir_data ,'application_train.csv') print("Path of read in data:"+f_app) app_train = pd.read_csv(f_app) #對資料集進行切分 cut_rule = [-1...
[ "48988394+atolinaga@users.noreply.github.com" ]
48988394+atolinaga@users.noreply.github.com
0e5a807f6314052a69a65a273249c0fe19633a79
130307ff7873fd7e2df61229f99c36ce78313135
/EATest/test/locustfile.py
3634f369aee00a30b3cf5b981893ef57a1119422
[]
no_license
rJunx/EATest
1744cda411ef18187a0b06c0f3b9a621e9fc191d
1323f5d34b898732565c992cb4d0eb96ee3f3560
refs/heads/master
2020-04-20T18:52:40.848117
2019-02-06T23:05:35
2019-02-06T23:05:35
169,033,999
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from locust import HttpLocust, TaskSet, task class UserBehavior(TaskSet): def on_start(self): """ on_start is called when a Locust start before any task is scheduled """ pass def on_stop(self): """ on_stop is called when the TaskSet is stopping """ pass @task(1) def in...
[ "rongjun.xie@hotmail.com" ]
rongjun.xie@hotmail.com
f6734836fe27cc0ec4a259ae42827caba0ca0fd5
e6b2655a69bfeb90d3a707fa59bcb6ece6bba790
/capture.py
8070c4a648c5b6efacd5d35e8f44309abe69abe4
[]
no_license
IdrisPit/face_motion_time_detector
fd67ec995f1aa973ab4df3408e1481bd8bbf54e7
e283bbe1a98b2636f1f5a7c587fba5c8e0f87414
refs/heads/master
2020-06-01T19:08:01.259743
2019-06-09T15:51:30
2019-06-09T15:51:30
190,894,999
0
1
null
2019-06-10T15:04:10
2019-06-08T14:07:08
Python
UTF-8
Python
false
false
360
py
import cv2 video=cv2.VideoCapture(0) a=0 while True: a=a+1 check, frame = video.read() print(check) print(frame) #gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) #time.sleep(3) cv2.imshow("Capturing", frame) key=cv2.waitKey(2000) if key == ord('q'): break print(a) v...
[ "idrispitt@gmail.com" ]
idrispitt@gmail.com
708561cc76ec21acd213e116819f0f0e2cf6b1ee
ff23003693ca137305ed540da8d723f595a97295
/Portal/helpers/loop_requester.py
9d8c3e654a9c439dac0f7738a57df0d0b66322f9
[]
no_license
cash2one/Zinc
28f422823e83ca2b145f052b6124dd96aab0984d
6571e304ac141e259b89dd42d7ef853440953a48
refs/heads/master
2020-09-07T14:26:48.093529
2015-03-03T13:46:17
2015-03-03T13:46:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,518
py
import urllib import re from urllib import request from urllib.error import HTTPError from collections import deque # Create your models here. class LoopSpider: def __init__(self, start_page): if not start_page.startswith('http'): start_page = 'http://' + start_page host = self.get...
[ "yzj1995@vip.qq.com" ]
yzj1995@vip.qq.com
3711a3e5de45097d8c0b02e93a423423d6390137
cd530c1dff863758a754f4fa6fd19293fac3bbda
/python/app/convert.py
eac29132c8ae85cacfe2e42e02c0297056076245
[]
no_license
maxime-bc/why-notes
af2e19f54870fe083b9feecdd4f5d71ac9fd8ab9
f876c5b3e342e053cef7f7f82319d41f7979646c
refs/heads/main
2023-01-28T09:29:33.849200
2020-12-02T20:55:24
2020-12-02T20:55:24
312,588,481
0
3
null
null
null
null
UTF-8
Python
false
false
1,205
py
from datetime import datetime from typing import Dict, Any from app import Note class NoteConverter(object): @staticmethod def _decode_dict(dict_to_decode: Dict[Any, Any]) -> Dict[Any, Any]: decoded_dict = dict() for k, v in dict_to_decode.items(): if not isinstance(k, int): ...
[ "maximeblanchon91490@gmail.com" ]
maximeblanchon91490@gmail.com
d0e84eec6f027cb78cab561b724e5b11284793e9
089dcf959898d6cc80dcd26afd50c9603bafed25
/PosLikelihood.py
bf202d5e528762c07806557a8d699ad3958f2737
[]
no_license
seokhohong/missing-word
5817a952ca3f6378ca28cadbf0eedfefe9b665ec
7a2e9613a91f5b33a950cf54d41ad89b1e3f4012
refs/heads/master
2021-01-16T21:05:25.999504
2016-06-09T03:37:05
2016-06-09T03:37:05
60,747,031
0
0
null
null
null
null
UTF-8
Python
false
false
3,531
py
__author__ = 'SEOKHO' import pickle from collections import Counter import generateTagWindows from textblob import TextBlob from textblob_aptagger import PerceptronTagger import math from WindowProb import WindowProb import statistics import numpy import lexicalizedTagWindows WIN_SIZE = 5 WIN_OFFSET = int((WIN_SIZE -...
[ "seokho_hong@yahoo.com" ]
seokho_hong@yahoo.com
fb2461241cba302a7f77584d7019333b92354f49
bab097b60cc93bba63451cfb4dde1e608582da31
/python/139.py
c3ca080701645d5950a41381dc48583f5a1612a0
[]
no_license
isabella0428/Leetcode
c4807301d4676914d7239d1e38e9a85bcb0b557f
f8b74681b5c6e642a8cbac71ca1b5490509ac5e7
refs/heads/master
2020-08-25T00:58:33.779280
2020-02-07T09:21:13
2020-02-07T09:21:13
165,828,038
2
0
null
null
null
null
UTF-8
Python
false
false
2,915
py
class Solution1: def wordBreak(self, s, wordDict): """ :type s: str :type wordDict: List[str] :rtype: bool """ # include every possible combinations # time exceeded def generateWord(size, tmp, wordDict): nonlocal possible length...
[ "isabella_aus_china@163.com" ]
isabella_aus_china@163.com
37c1d087494730331ebe6127f9be25970cf36954
7e0ea0944effb5b1773f7a46823f4eedf1b325c4
/Python/html/python2/main.py
2e377249c116211d4fc38a24ecd00acbc41838f6
[]
no_license
aldamatrack/testing
85256e60063a97e61a6cd55e495085796a8e843e
b697fb206007780e6feafad685bc3d81b85c1c24
refs/heads/main
2023-04-23T13:45:39.552513
2021-05-09T04:42:23
2021-05-09T04:42:23
363,562,939
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import requests as r from bs4 import BeautifulSoup with open("prove.txt", "a+") as test: html_request = r.get(" http://www.vanityfair.com/society/2014/06/monica-lewinsky-humiliation-culture").text soup = BeautifulSoup(html_request, "lxml") maintext = soup.find_all("p", class_="paywall") #working for i...
[ "amaltesc@cisco.com" ]
amaltesc@cisco.com
cd966a58e69dc06f2d0a257a5dfbfcd40725bc3e
dec9ede4b28b8a5ac79ab5c89754f6ff5d65d8e1
/source/main/settings.py
a97452f77ebe21ed189fdfb51743c0d75bacf140
[]
no_license
Beknasar/python_group_6_homework_57_Ulanbek_uulu_Beknasar
036f1eb2f84626344581bb7d864e63e40c3d2e4f
3bf5e4eaa7133955b1bbb0131ebf9f4732965b1f
refs/heads/master
2022-12-09T02:10:11.232216
2020-09-02T15:44:49
2020-09-02T15:44:49
292,327,341
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Buil...
[ "680633@gmail.com" ]
680633@gmail.com
e247ee8cdc59cb6e464b9aa9317d277beb69043b
3c8f2d7596655b38ab1c776738c4901358003d86
/channel_apk.py
325fa74acb7bdff0aba8dfe472d730ec98487549
[]
no_license
zhy0313/yeyuPythonChannels
78b37e25a1a82995ea78fd9436991aad3b4e5ae0
5ac22b3a4cd1ff14a9c87b08476c15244e0aafaa
refs/heads/master
2021-05-01T08:22:05.597260
2017-01-22T07:29:08
2017-01-22T07:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,116
py
import re import os def getprofileinfo(profile_path): #签名信息 keystore_path = None storepassword = None alias = None with open(profile_path, 'r') as f: lines = f.readlines() for line in lines: pattern = re.compile('^#') if re.match(pattern, line) is None: ...
[ "136911168@qq.com" ]
136911168@qq.com
17946f8b7f9e4100fd4af6b2fe791fea7d6260a9
6e98cd7d30d935887833f4d349cd6d82156a1ec9
/myEnvironments/djangoenv/bin/python-config
4beac09b8e2bec19d26c611ba04f0b1db430973f
[]
no_license
JonStults/python
05da0625010a2e3e3882086aa69413846d7ff62d
66c246cf4dbfcab5588ba4baaef46c8c7d879fa3
refs/heads/master
2020-07-06T00:45:22.240070
2016-11-17T00:39:00
2016-11-17T00:39:00
73,974,429
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
#!/Users/jon/Desktop/Coding_Dojo/Python/myEnvironments/djangoenv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.appen...
[ "jdstults1@gmail.com" ]
jdstults1@gmail.com
99dd2ad93382d05efd81223bfd055ed492ed1616
103e45cb0d6b25d0c90e533439cd7e525f25b1a8
/tensorflow_estimator/python/estimator/canned/v1/linear_testing_utils_v1.py
f73ac2d1a91f5a501e93c6d1a2da04f2a930a4fe
[ "Apache-2.0" ]
permissive
rushabh-v/estimator
ae9ff7c485e4b5beafe2ba6be452eeb099cd63d9
6915557cef8bfc86f29f87e4467d601e4553b957
refs/heads/master
2021-01-06T18:14:19.948301
2020-02-13T02:28:23
2020-02-13T02:28:59
241,434,870
2
0
Apache-2.0
2020-02-18T18:20:37
2020-02-18T18:20:36
null
UTF-8
Python
false
false
91,108
py
# Copyright 2017 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
f49c1c1254199ca9968375441f0872d83cc0047d
87c7e05ba9eebec9ab07090e61ac743b61a88750
/product/migrations/0002_product_featured.py
c004dc4f2aa83732ec97e92347c072e676dd918b
[]
no_license
ristiriantoadi/belajar-django
faad7ed25505b9a72a0c560e560f0edc66f3f062
7141d96a395b370fd72fa0eaa6760b440c375ab7
refs/heads/master
2023-03-12T18:05:29.280333
2021-02-28T10:40:43
2021-02-28T10:40:43
343,033,543
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Generated by Django 3.1.7 on 2021-02-28 08:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='featured', ...
[ "ristiriantoadi@gmail.com" ]
ristiriantoadi@gmail.com
a79a1d7d246e5258d095ac26e0818219406db420
08e49773756bd299864d1b278fcf1e859efb6430
/first2/src/using_list.py
858ae9ff2163caea049c7ca1deb7642728b393bc
[]
no_license
Chrlol/Chrlol
f481ea489a4447edc372d1c8a33912b48c1f605d
db2727eb60b5d3ab6ff12410305729d0a5c22868
refs/heads/master
2016-08-06T22:54:38.098242
2013-09-14T16:14:31
2013-09-14T16:14:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
# This is my shopping list # shoplist = ['apple', 'mango', 'carrot', 'banana'] print('I have', len(shoplist), 'items to purchase.') print('These items are:', end=' ') for item in shoplist: print(item, end=' ') print('\nI also have to buy rice.') shoplist.append('rice') print('My shopping list is now',...
[ "Chrfeilberg@gmail.com" ]
Chrfeilberg@gmail.com
351061615153182fe976eb1400dffb87162bff40
31601597bb866bda0de4a81f2baee8ac22e43c86
/fruitday/settings.py
28cb9ae210bb1c8d76afc46ab405ad0706efb599
[]
no_license
dragon7577/Fruitday
f9260af001836d3036557bc75742a8650a05cf93
0c4e2c948bd6cc0c29ff06dd33cfaf2f69d69a33
refs/heads/master
2020-04-23T22:30:23.784248
2019-02-19T15:57:43
2019-02-19T15:57:43
171,504,070
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
""" Django settings for fruitday project. Generated by 'django-admin startproject' using Django 1.11.8. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "sz_huangdong@163.com" ]
sz_huangdong@163.com
97c1b07702ca9f20a4725e088c59060e2482cf62
f410a724c0b1226fe9e90eb2814a498686b7e609
/compiler.py
a40cd6e5a688a19227b8ca69992fbd0bdde2185a
[ "Unlicense" ]
permissive
Alissonfelipe1234/turing_machine
bb26d51dcffe1354df1e2dfb7e0bc840ebec05ef
8f72ce7ac74b96ac20ec33319b2a69ef5214418d
refs/heads/master
2020-05-15T19:34:16.826096
2019-04-22T22:02:17
2019-04-22T22:02:17
182,459,225
0
0
Unlicense
2019-04-22T02:47:20
2019-04-20T22:13:33
Python
UTF-8
Python
false
false
568
py
from State import State archiveIn = open("input.in","r") input = archiveIn.readlines() archiveIn.close() cells = [] reader = 0 states = [] end_states = [] for read in input: cells = cells + list(read) archive = open("code.turing","r") code = [i.replace('\n', ',\n').replace(' ', '').split(',') for i in archive.re...
[ "alissonfelipe1234@outlook.com" ]
alissonfelipe1234@outlook.com
863a76211c553751f9f92f4eb80856715308cc1f
3e61e59502a924b3321ea812db3cbe31c508a436
/apply_model.py
2c564ab9c47ffeb01ce7cb7272c411146197bb64
[ "MIT" ]
permissive
kayzhou/Guba_emotion
2c9d9e22c53c328001a250bae1b9f07b13bf0016
286f1824500c77d8b90c3dc1bb0e120d732a546d
refs/heads/master
2020-03-24T00:34:17.707725
2019-03-06T20:31:24
2019-03-06T20:31:24
142,297,205
6
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
from sklearn.externals import joblib from thulac import thulac import os import json import numpy as np from tqdm import tqdm thu = thulac(seg_only=True) clf = joblib.load('emo-LR-v1.model') in_dir = 'data/tweet' out_dir = 'data/tweet_emo_v1-20180711' def load_word_vec(): """ 加载ACL2018词向量 """ word_ve...
[ "zkzhou_91@163.com" ]
zkzhou_91@163.com
36a952613ea7e0c2c3c7e896fce875fb1f52b1c8
8310787600c77126c2a03b784d4c3e3972237dee
/blogpost/__init__.py
8e0858339994980fe1d8c6aad3a061ec99f332be
[]
no_license
HarsimranSingh6321/flask-blogpost
ccad1d38106164a683b9fb651b17aa1fffecc6b7
6bcf69431611b0450f77bd3600ce95086fad16d6
refs/heads/master
2022-11-17T08:09:59.886507
2020-07-09T14:29:17
2020-07-09T14:29:17
278,145,774
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_mail import Mail , Message from flask import Flask , Blueprint from flask_bootstrap import Bootstrap from flask_login import LoginManager from blogpost.config import Config # app=Flask(__name__) db=SQLAlchemy() Bootstrap() login_ma...
[ "noreply@github.com" ]
HarsimranSingh6321.noreply@github.com
c2786c1ec09a518cd998b9512ec4a0142ff1e4ce
f735a0265dbad9eaf3c5ce791273c567ad2907a2
/example/ui/dw_widgets_pyside_ui.py
cc46c19375c7ad94236f94848a9e737cbc94e205
[ "CC-BY-4.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "CC-BY-3.0" ]
permissive
RicBent/QDarkStyleSheet
cd10d57bf7bbbc22bf3f1dde5f736df26993143a
a085ecbc79d4502afc0c68ffb3bfc702dcf4e65b
refs/heads/master
2020-04-04T16:19:17.442084
2018-11-01T19:34:29
2018-11-01T19:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,616
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'dw_widgets.ui' # # Created: Thu Nov 1 16:06:05 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_DockWidget(object): def setupU...
[ "daniel.pizetta@usp.br" ]
daniel.pizetta@usp.br
a27b0f66484ea5d83df62c7c951493441daa1baf
97e223521f6d280aef43d3e7ecf032fbfc5a8288
/Lesson_8/Task_4.py
d0b35a77b42395aeb7ed6430a94a2fb21ee8d7cc
[]
no_license
kiribon4ik/Basics_python
dc2bba98457adaf4ae29fbe8a46e75951ecc4a99
64a31864e3d95b9e32fcb57264580deba18d577f
refs/heads/master
2021-05-17T09:22:10.212427
2020-06-26T14:59:07
2020-06-26T14:59:07
250,724,289
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
class Warehouse: def __init__(self): self.equip_list = [] self.num_places = 50 class OfficeEquipment: def __init__(self, name, quantity, brand_new=False): self.name = name self.quantity = quantity self.brand_new = brand_new class Printer(OfficeEquipment): def __in...
[ "kiribon4ik@gmail.com" ]
kiribon4ik@gmail.com
a779eb627d5d8dc22e9abc378292ab3974ecda66
92e0cc321f673675942efdbf14cb7ff91ede56f0
/app/__init__.py
266280b449e708353a4a8963b431ef4e477c9593
[]
no_license
msilva1610/curso-flask01
150d5162c8d2e449c8607b2252a8f8d2eb0715f3
909edae028170e4e433829234f7b11997a651798
refs/heads/master
2021-06-29T22:25:30.412676
2019-11-30T06:00:54
2019-11-30T06:00:54
224,936,762
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# coding: utf-8 from flask import Flask, request, Response from flask_sqlalchemy import SQLAlchemy from config import config db = SQLAlchemy() # import routes def create_app(config_name): # from .routes import load app = Flask(__name__) app.config.from_object(config[config_name]) db.init_app(app) ...
[ "Mau@MacBook-Air-de-Maurilio.local" ]
Mau@MacBook-Air-de-Maurilio.local
a4e2cd025347721566a4b4b6d33b1669cba139cf
93a720d9242c73c919ec30f6018d126a391f473f
/ShowUserNonOwnerDriveACLs.py
4611a76f24cca4f71c23283af816a2f0ad50292c
[]
no_license
scottreleehw/GAM-Scripts3
c8fa4abddb64e47d8a3d30dd7e19e29634c9e965
7eab4f86214bfeb00ee4dd6131828a55f1f42c56
refs/heads/master
2023-01-09T06:08:08.093789
2020-11-05T19:36:14
2020-11-05T19:36:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
#!/usr/bin/env python3 """ # Purpose: For a Google Drive User, get all drive file ACLs for files except those indicating the user as owner # Note: This script can use Basic or Advanced GAM: # https://github.com/jay0lee/GAM # https://github.com/taers232c/GAMADV-XTD3 # 1: Use print filelist to get selected ACLs # Basi...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
becd6b60081e776ae5a505d8fda91b85fce26a25
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/servicefabric/v20190301preview/service.py
a1dd32a3ef5290bb5498425ed70ed2ee1b75dad7
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
29,220
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
c0680485e5008a6554b28a45fbd927848f84b0a4
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/B/bwscrape/basic_twitter_scrapersefton_12.py
60ef63d50469e74904a0718aad24bf8abe06d460
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,490
py
################################################################################### # Twitter scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Change QUERY to y...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
9960074f78a8ff9d0d36b41eb50fb4ad3968e291
f0adf5afb93b7f0a67802e876a02e898cd92a172
/Tencent/GNN/metapath2vec/Generate_metapaths.py
18ff11473dcf9de3cb3004299cde11057d87f76b
[ "Apache-2.0" ]
permissive
orange-eng/internship
9a2f746b3d50673038481392100d375f6eec82d3
c8c566df453d3a4bdf692338f74916ae15792fa1
refs/heads/main
2023-07-18T11:46:36.659858
2021-08-31T09:39:10
2021-08-31T09:39:10
358,230,295
2
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
import networkx as nx import pandas as pd import numpy as np import torch import torch.nn as nn from dgl.nn.pytorch import GraphConv #内置的GCNlayer import dgl import matplotlib.pyplot as plt import random import time import tqdm import sys import os def construct_graph(): file_user = './data/user_features.csv' ...
[ "972353371@qq.com" ]
972353371@qq.com
345780a54096078a2aaac59516c0760d2d764db5
80f3b1be54b106ea7158a7bc2506d4b9fad891f0
/core/run_ctest/run_test_utils.py
12dfa13cfc0a641cbae1dc5be33080c617d9932c
[ "MIT" ]
permissive
maleehamasood/openctest
e33121eb2ece613257ae344d4376564df361a008
bbb88902d3f901fc88dd1a40adcbc046184a4a44
refs/heads/main
2023-06-05T12:36:00.561462
2021-06-30T12:52:18
2021-06-30T12:52:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
import re, sys sys.path.append("..") from ctest_const import * from program_input import p_input maven_args = p_input["maven_args"] use_surefire = p_input["use_surefire"] ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]') class TestResult: def __init__(self, ran_tests_and_time=set(), failed_tests=set(...
[ "samcheng@ucdavis.edu" ]
samcheng@ucdavis.edu
26fdec633ba574b89f3c526073c6dc9fb663e998
53721753e309adca83234da805ab735bfe32fa36
/web3/hw/app.py
84cdf2bf93b1ba0237da597e5b0e1e47140a29f4
[]
no_license
NguyenNamDan/nguyennamdan-webmodule-c4e23
eaea3fe71ca9401985fd80a803e9c58b36a15fb9
32cf2a454c341a1757b976888a102dac02b5d4ca
refs/heads/master
2020-04-07T04:22:29.238100
2018-12-17T14:59:18
2018-12-17T14:59:18
158,052,755
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
from flask import Flask, render_template, request import mlab from addbike import AddBike mlab.connect() app = Flask(__name__) @app.route("/new_bike", methods= ["GET", "POST"]) def new_bike(): if request.method == "GET": return render_template("ex1_addBike.html") elif request.method == "POST": ...
[ "admin@Silver.local" ]
admin@Silver.local
f559fe69be6abd14b6d770d3782855f366b409b1
24573c3fea0f81bea125e51835c5e8e14fd4bf6f
/4/both.py
5485928088556c2eef52c6bde0d1ba3290e9b914
[]
no_license
vaderkvarn/aoc19
09252b494addf4e073051070b8f647f21e5eb47f
b9c5dca388115a007335f812fa4ed519f201975d
refs/heads/master
2020-09-23T04:34:15.339611
2019-12-29T15:48:22
2019-12-29T15:48:22
225,403,192
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
min_n = 245318 max_n = 765747 def c1(s): for i in range(1, len(s)): if s[i] == s[i - 1]: return True return False def c2(s): for i in range(1, len(s)): if s[i] < s[i - 1]: return False return True def c3(s): for i in range(2, len(s) + 1): c = s[i-1...
[ "hjalmar@wopii.com" ]
hjalmar@wopii.com
b822c11f9e238482be6770487f8eca406f7a35c5
c409d21254bc31ce11f1e3df94b4e8c58aae587a
/compilr/views.py
efb751c7e24ee7dff741c301119eb7f1f07cebb9
[]
no_license
shivamx/codebaker
4715b63b0fc59e672eabcb55b68bfd63b4f973c6
4f74d56424f1932d6efa6ee5666aee0ffb31f39a
refs/heads/master
2021-01-10T03:45:38.966050
2015-11-22T08:56:20
2015-11-22T08:56:20
45,942,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
from django.shortcuts import render from django.http import HttpResponse from .forms import NameForm import json import requests def index(request): if request.method == 'POST': lang = request.POST['lang'] source = request.POST['source'] iinput = request.POST['iinput'] RUN_URL = u'https://api.hackerearth...
[ "shivam@skillwiz.com" ]
shivam@skillwiz.com
9d005b3da3b868f15c26ab7366dadbbf3cccbac1
db6a9dcb2340ce7b54d064ff6ecba2dc9de0de1d
/2/10.py
1e5261ddbb84c33d7be5675edafc82270438a79e
[]
no_license
tatuu/nlp100
330dfa577074ef54afa7044770d2ed914207a782
477fdc3a48be4f234efdab1e8b4b5b028d3ecfab
refs/heads/master
2021-04-15T04:26:39.437169
2018-05-13T03:47:07
2018-05-13T03:47:07
126,504,474
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
import os name = os.path.dirname(os.path.abspath(__name__)) joined_path = os.path.join(name, './nlp100/2/hightemp.txt') path = os.path.normpath(joined_path) txt = open(path, encoding="utf-8_sig") lines = txt.readlines() txt.close() print("num:" + str(len(lines)))
[ "tatuutatuu0906@gmail.com" ]
tatuutatuu0906@gmail.com
410778eda359ba00d8f98afb5deb6ac84ae624c1
86319aad3690906f614ac1af28b8843529e9e0da
/thwackbin/__init__.py
ab95f9cc0ab6c8b46a7c0f643cb504f8c070fdcc
[]
no_license
sohgoh/thwackbin
b5828783a6179e96784bed0bdb894b179e3bea07
ba9fedc4bcec598f367aa6d4f2567d1840c65c51
refs/heads/master
2021-01-21T03:14:08.261732
2014-04-16T03:53:51
2014-04-16T04:02:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
""" thwackbin ~~~~~~~~~ Thwackbin is an HTTP request/response test service which exposes the AppThwack REST API. This service should be used to test/validate clients which wish to consume the actual API endpoint. """ __name__ = 'thwackbin' __version__ = '0.0.1' __author__ = 'Andrew Hawker <andrew@appth...
[ "andrew.r.hawker@gmail.com" ]
andrew.r.hawker@gmail.com
0066ce0cf6dec499c4e799bd080971fd91fc4211
27885302b6f63a7d253399683b5b8e800558b893
/setup.py
166eff9f55ab83687f0839cdb650e25653183146
[ "MIT" ]
permissive
Manuel83/cbpi-eventbus
ce4abaf2f96546c4a3654d1245beec6c04eada40
6b4a302bf744b2a8022e0048d45871a353953691
refs/heads/master
2020-04-14T20:40:39.099942
2019-01-04T13:48:11
2019-01-04T13:48:11
164,102,868
3
0
null
null
null
null
UTF-8
Python
false
false
309
py
from setuptools import setup, find_packages setup(name='cbpi-eventbus', version='0.0.3', description='CraftBeerPi EventBus', author='Manuel Fritsch', author_email='manuel@craftbeerpi.com', url='https://github.com/Manuel83/cbpi-eventbus', packages=['cbpi_eventbus'], )
[ "cUrrent2015" ]
cUrrent2015
218203466c2363759af164801c8ec1b799146725
20c7261a2f47afdc6d3684bba6785805f327829b
/paciente.py
594d0ed711c627aef23b6105832edcf45442e1c1
[]
no_license
danielalopezr/proyecto-final
60f75e202e93acfa2b26a060d623599c9944b8d2
f01a5b7d58c02c36d9d51a88132788a73d3947f8
refs/heads/master
2022-11-25T08:12:51.497495
2020-07-31T03:39:00
2020-07-31T03:39:00
283,931,923
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
class Paciente(object): nombre = "" apellido = "" fiebre = 0 resp = 0 tos = 0 dolor = 0 estado = 0 def __init__(self, nombre, apellido, fiebre, resp, tos, dolor, estado): self.nombre = nombre self.apellido = apellido self.fiebre = fiebre self.resp = resp ...
[ "noreply@github.com" ]
danielalopezr.noreply@github.com
0a50720d2bd2363f7df7bbead08912e451d0fc2f
2eb63fb61cb36f5999f9279c12289e40efd80e86
/Perceptron/Perceptron_Functional.py
9f2b03066c58a405f4d3af14b1192e197e8e9cec
[]
no_license
RiverTamDance/Machine-Learning
8a59fef0b231cbb79062e5165ac9c0b3bf102d6b
7bbc67cf28d8d4b7da82c4ad2b9ae9843d6b1c72
refs/heads/master
2023-07-26T07:57:51.536427
2021-09-02T18:23:56
2021-09-02T18:23:56
402,519,147
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
from operator import mul from functools import partial from itertools import accumulate, cycle, islice data = [([1,1],0), ([4,4],1), ([5,5],1), ([2,2],0), ([2,6],0), ([3,5],0)] #prepends 1 to each variable-list, which is a dummy value to allow the threshold calculations to work. def data_prepend_one(data): p...
[ "Taylordrichards@outlook.com" ]
Taylordrichards@outlook.com
a6f1df8c8c3dd73bd2c937dd3e0186367e7ecc93
19980ea46bb169873f01aaa1e89fc0d8ba488030
/samples/sampleopenflow/demos/demo11.py
b7138557fd71f15abbc7ceeaa7af146675c781a3
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gaberger/pybvc
b0e4c7fd280d87330fe15e18eecca94f089bf1a4
bf546c4595a1a6282fca084865c5a0e69194030f
refs/heads/master
2023-01-13T21:19:01.625744
2015-12-01T16:01:00
2015-12-01T16:01:00
42,198,126
0
0
BSD-3-Clause
2022-12-26T20:18:11
2015-09-09T18:53:12
Python
UTF-8
Python
false
false
8,091
py
#!/usr/bin/python # Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, 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 n...
[ "jeb@elbrys.com" ]
jeb@elbrys.com
eedb775b51f7e71d1fd05e539cbedb60b1d6917c
061fd0a6956b409d63bdca7655f6a8e5fef51b18
/problem_75.py
a67aa2a0aed649b0bee38c37add22fb6b2604a20
[]
no_license
bhathaway/projecteuler
bcfdaeb10dfbd13e95cbd3239d7d61851b9c42f9
49e704a9affb95197f640fbfcf2fd85788f258f3
refs/heads/master
2021-08-18T12:46:10.924743
2018-10-24T15:52:07
2018-10-24T15:52:07
24,650,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,714
py
# Finding all pythagorean triples such that the sum of the sides equals a # specific integer can be done by using Euclid's general formula. # Given a^2 + b^2 = c^2, a = k * (m^2 - n^2), b = k * (2 * m * n), c = k * (m^2 + n^2) # Some basic algebra shows that letting s = a + b + c leads to # s/2k = m * (m + n). # So it...
[ "bryce@earthmine.com" ]
bryce@earthmine.com
e31a7060d75486ec7fd9ef972bacfc4b74111180
b4f66ebb5084efa6839771b62a1034a82094df6e
/setup.py
d1770422892a97a4591b7399521fb5a79403887d
[]
no_license
mhfowler/howdoispeak
06f49dab64f62dea727a429557887742d1509265
110287dba64ae308943f431f628e528d7c941748
refs/heads/master
2016-09-05T14:04:48.605245
2015-01-17T23:27:15
2015-01-17T23:27:15
18,955,501
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
""" This is a setup.py script generated by py2applet Usage: python setup.py py2app """ from setuptools import setup APP = ['munging/iphone_backup_upload.py'] DATA_FILES = ["munging/secrets.json"] OPTIONS = { 'argv_emulation': True, 'iconfile':'green_circles.icns', } setup( app=APP, data_files=DA...
[ "max_fowler@brown.edu" ]
max_fowler@brown.edu
57b6a2b3115560ab7402abc10bc2adc57b9103be
61bf5b4f24c55f2a7114cebd347426ec7de2ec16
/models/LDF.py
fbebc7f6096e8885d6015c983e7ce67b089258a0
[]
no_license
rainofmine/Fine_Grained_ZSL
6f3b411e36f97f6e42ba9bac3ee5dee0016ee3ef
8312006d4c5572c9058d4f293ddfbc9738bee191
refs/heads/master
2020-04-05T21:41:19.030134
2018-11-13T03:26:24
2018-11-13T03:26:24
157,229,358
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# -*- coding: utf-8 -*- # Tianchi competition:zero-shot learning competition # Team: AILAB-ZJU # Code function:LDF baseline model # Author: Yinda XU import torch from torch import Tensor from torch import nn from .resnet_mod import resnet_mod56 class LDF_baseline(nn.Module): def __init__(self, arr_Cla...
[ "1139196922@qq.com" ]
1139196922@qq.com
713242c77de82f4a140ad0d44ae53b149b48bb82
e6e9b0544c84b3cb1f638f5bd5df1e4bd54145c0
/app.py
293613ac0260a4c63df46914be23fbc1e7adc632
[]
no_license
huechuwhc/huehij2eicmocj
2f98a5c419f6bf3ee57c3b8eda1491618973d1f1
b335b7b0a64b32e5d1d85d65d44386677bde93c5
refs/heads/main
2023-01-01T18:31:13.089963
2020-10-20T04:10:28
2020-10-20T04:10:28
305,581,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
print("Title of program: Encouragement bot") print() while True: description = input("how u feel?") list_of_words = description.split() feelings_list = [] encouragement_list = [] counter = 0 for each_word in list_of_words: if each_word == "sad": feelings_list.append("sad") encourag...
[ "noreply@github.com" ]
huechuwhc.noreply@github.com
41ddd091df6ea055f01a6a9169e98ab77a7ceedd
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/app_loader/decorators.py
49d57664e5a33eceff808d2385710e8a082e19e6
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,256
py
# 2015.11.10 21:25:12 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/app_loader/decorators.py from gui.app_loader.loader import g_appLoader from gui.app_loader.settings import APP_NAME_SPACE as _SPACE class app_getter(property): def __init__(self, fget = None, doc = None, space = None): ...
[ "info@webium.sk" ]
info@webium.sk
1abecdb8b37e726aa8037f242e3f895ddc87949c
4ebef3166e73d45623b3dbe5dca893a75f4645ce
/lesson07/les07task01.py
77fd7e20325981eff84584bcd8d3d38b4777cb4d
[]
no_license
vakhnin/geekbrains-algorithms
7e24d9d055ed1e72f975a6ba143e31f02ec11abf
1916ed1f0ddf89a37c15c2dca551dd73e10f16e9
refs/heads/main
2023-06-29T01:04:42.752759
2021-08-01T09:54:34
2021-08-01T09:54:34
375,615,589
0
0
null
2021-08-01T09:54:34
2021-06-10T07:51:16
Python
UTF-8
Python
false
false
2,203
py
# lesson 07 task 01 # # Отсортируйте по убыванию методом пузырька одномерный целочисленный массив, заданный случайными числами на промежутке # [-100; 100). Выведите на экран исходный и отсортированный массивы. # Примечания: # алгоритм сортировки должен быть в виде функции, которая принимает на вход массив данных, # п...
[ "sergey.vakhnin@gmail.com" ]
sergey.vakhnin@gmail.com
f74082804a8763e11216fbb269463a97ccf36bc7
f904cf1371790b39902cc9a5f24b1903f5828dc7
/feature5_3_1.py
3433bf38c56574aef488e727cb2ec87d29acf811
[]
no_license
Birdie9/Sarcasm-Detection-
af8c4b2791a1e15015fb24649e8c47b809d9d74d
dca5f3f01ca3eddc046440197f37e0c2a707c105
refs/heads/master
2020-04-17T13:44:11.523637
2016-09-08T03:55:58
2016-09-08T03:55:58
67,667,097
3
0
null
null
null
null
UTF-8
Python
false
false
2,332
py
import time import datetime from time import mktime from datetime import datetime def getnegscore(tweet, sentidict): ret=0.0 for word in tweet: if word in sentidict: if sentidict[word]<0: ret+=sentidict[word] return -ret def getposscore(tweet,sentidict): ret=0.0 for word in tweet: if word in sentidict: ...
[ "jayati.009@gmail.com" ]
jayati.009@gmail.com
c57ed8fabfe988b0c62f053976b78740d8376825
889dab04d6f9e5af0aded790a632c93e06ca4233
/python_dla_kazdego/komputer_nastrojow.py
6760fdbeedd37e49d481eb99c830fe7df2cbd7e3
[]
no_license
Kinia201201/programowanie_obiektowe
a00c8d291ec59a03b922a1611645f4c1efda87eb
865616404a41fd15d34a2bc82a6804aaf72df967
refs/heads/master
2020-08-26T20:05:10.425863
2020-01-14T23:31:30
2020-01-14T23:31:30
217,131,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 21 23:39:49 2019 @author: Kinga """ # Komputer nastrojóW # Demonstruje klauzulę elif import random print("Wyczuwam Twoją energię. Twoje prawdziwe emocje znajduja odbicie na moim ekranie.") print("Jesteś...") mood = random.randint(1,3) if mood == 1: # szczęśliwy ...
[ "kingawielgus.kw@gmail.com" ]
kingawielgus.kw@gmail.com
cff2395789e5892845c1437ce574bc8ae6727100
32648177f3e2f9ce2d9345d80252c3c63522c852
/python/track2.py
66465a84d1519da026ade5a2ec340d67d7b43078
[]
no_license
nickzhums/track2ux
555e7e02db7d967100cdffcc03273bda56a934ae
6f0bd69e6f2e80aaeb6d4d43b515d139f86746e5
refs/heads/master
2022-11-07T17:34:29.501270
2022-11-03T04:44:20
2022-11-03T04:44:20
258,109,207
0
0
null
null
null
null
UTF-8
Python
false
false
6,434
py
import os import azure.mgmt.compute # use track2 import azure.mgmt.network # use track1, network track2 does not ready. import azure.mgmt.resource # use track2 import uuid from azure.identity import ClientSecretCredential from azure.identity import DefaultAzureCredential # from azure.common.credentials import Servic...
[ "Littlejedi" ]
Littlejedi
9b1a69c6cbbfe6bc1782772b13b0804ea72105ec
385e547fa9d6473f2462d0f13ca2a716d3faab96
/python/ninjaDelverBear_funcions.py
ce2c34261ababe58458f8751e2f901c59e4d13ba
[]
no_license
holalluis/apunts
8b78228b4d4db1eb8579946c0a125f13d3e11150
b66382253041f0cfb2c263b995554c7b9cb1d57e
refs/heads/master
2023-07-26T00:19:14.827669
2023-07-13T13:13:45
2023-07-13T13:13:45
169,467,539
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import math import random def shuf(baralla): #algoritme de yates per barrejar un array for i in range(len(baralla)-1,0,-1): j = int(math.floor(random.random()*(i+1))) temp = baralla[i] baralla[i] = baralla[j] baralla[j] = temp return baralla def queden(baralla): #digues quantes cartes queden en total pri...
[ "holalluis@gmail.com" ]
holalluis@gmail.com
698eef67e3fa9abc62d773f0930fe68d851e7987
84b99a8efdf30d7e80a1a7dc2e25970de30b3a3f
/mockGrill.py
97f07f81bde9858105834e36584b476041c2fc56
[]
no_license
netgio/mockGrill
3d6a3253fc14d7af48671c7453f940d3fc81dedc
f8006ed037810923b4a5fd310bf8db968c8b04b1
refs/heads/master
2021-01-19T10:34:49.362756
2015-02-21T18:20:30
2015-02-21T18:20:30
31,134,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
#!/usr/bin/python import sys import subprocess import os import json import time prev = 0 current = 0 path = "./media" picPath = "./api/static/shot.jpg" print "Running...path: " + path while (1): ## reload the status from disk print "Check grill status..." f = open("status.json") status = json.load(f) print "St...
[ "gary@netgio.com" ]
gary@netgio.com
1b8d32d4bbb24d8091951ee9ed23715c039cb4ae
f48b406244631f84f64e8b61a8892c19010ac554
/cd4ml/pipeline_params.py
27c69293c0650845cf322d8d87019437fd815d70
[ "MIT" ]
permissive
heyestom/CD4ML-Scenarios
c271119fe0dc6a87ece160cae51b4890dcd83a26
5fb2edb7098f9c0bf5010199a87dbad39673f431
refs/heads/master
2022-11-21T15:29:33.421848
2020-07-16T13:27:56
2020-07-16T13:27:56
276,595,703
1
0
MIT
2020-07-02T08:48:11
2020-07-02T08:48:10
null
UTF-8
Python
false
false
728
py
# parameters for running the pipeline from cd4ml.ml_model_params import model_parameters # TODO: add some security protocols around the key? pipeline_params = {'model_name': 'random_forest', 'days_back': 57, 'acceptance_metric': 'r2_score', 'acceptance_threshol...
[ "dajohnst@thoughtworks.com" ]
dajohnst@thoughtworks.com
d99bb0f05279917d04b3ce2724ab923fe6c0c6db
4f29a9a90744d446aac8f7a81dba7c5c191c7253
/how/how/utils/__init__.py
1a1d9981c4cb6f3910cd19b6b5d9a443b07930a6
[]
no_license
yodakaz/ASMK_yoda
00f1025c2cd2e8670b03e5ba2a724b3504f6a5e2
165b75672321546a8090490879d7b20306793381
refs/heads/main
2023-06-22T07:01:30.088906
2021-07-20T05:07:39
2021-07-20T05:07:39
385,087,715
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
""" Standalone utilities, mainly helper functions """
[ "noreply@github.com" ]
yodakaz.noreply@github.com
7e0c9c66789b5d70e91d999e13647ddd4b2098ae
e6132244015942c5ec75c8eff4f90cd0e9302470
/src/wshop/apps/customer/notifications/services.py
46bab44bef79471157b1207adfc9a79e677340e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
vituocgia/wshop-core
d3173f603861685b523f6b66af502b9e94b7b0c2
5f6d1ec9e9158f13aab136c5bd901c41e69a1dba
refs/heads/master
2020-03-18T08:25:14.669538
2018-05-23T05:55:56
2018-05-23T05:55:56
134,508,443
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from wshop.core.loading import get_model Notification = get_model('customer', 'Notification') def notify_user(user, subject, **kwargs): """ Send a simple notification to a user """ Notification.objects.create(recipient=user, subject=subject, **kwargs) def notify_users(users, subject, **kwargs): ...
[ "dotiendiep@gmail.com" ]
dotiendiep@gmail.com
6a9c53e38081c3e99e7b55be75b34f21b54c83db
0d252cd89a1c88dcd62c66527ad55b6083171fdc
/repositories/race_result_repository.py
cd12a418dcb446d56728a32e5f4306eecb35bec9
[]
no_license
OhmniD/CodeClan_Week05_Full_Stack_Solo_Project
99f1e0af5b7ff16d57670ae42fb40726b858e53c
fdb32d2de0ee186696c20ad50e705ba5df0eda63
refs/heads/main
2023-06-17T15:52:51.235742
2021-07-14T16:42:20
2021-07-14T16:42:20
373,792,819
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
from db.run_sql import run_sql from models.race_result import RaceResult import repositories.driver_repository as driver_repository import repositories.round_repository as round_repository import repositories.team_repository as team_repository def save(race_result): sql = "INSERT INTO race_results (position, dri...
[ "dave@ohmnid.com" ]
dave@ohmnid.com
7884029160be242dc95fcc490d6dc0e07a0442ff
4e2198902a9e07896d4af8817430b2d44a706b25
/Python Scripts/25.py
9644a36c79c664519d03663ed85ad52cbfeb8243
[]
no_license
emilkloeden/Project-Euler-Solutions
e5993472edec1b38fc9b0e8cf83916b0a034af57
b44fb51d52e9e046c825281a28beacb51331426a
refs/heads/master
2022-10-01T07:05:08.905374
2022-09-12T10:27:31
2022-09-12T10:27:31
25,626,295
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
# A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations of 0, 1 and 2 are: # 012 021 102 120 201 210 # Wh...
[ "emilkloeden@gmail.com" ]
emilkloeden@gmail.com
0ae138ca2c573f41b61fb6fee4e9ecb781b2fc89
dc62838e9bd214d16dd0b165a219cc658f7b07c3
/cloud/bin/rst2xetex.py
081aeaad419428b5578a864e63407d74a1fde9a5
[]
no_license
zzzzssss/FitKeeper
976a17b3d6d44c65331d83789848fbabc87d3f85
9b16df589151540f94c3f14a98744647a5dcf2de
refs/heads/master
2022-06-25T15:13:31.229381
2017-06-02T16:08:58
2017-06-02T16:08:58
87,112,882
0
0
null
2017-04-03T19:31:52
2017-04-03T19:31:52
null
UTF-8
Python
false
false
925
py
#!/home/yanan/Desktop/COMS6998CloudComputing/FitKeeper/cloud/bin/python2 # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # Author: Guenter Milde # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code. """ try: import loca...
[ "shuyang@ZhaoShuyangsMBP.home" ]
shuyang@ZhaoShuyangsMBP.home
025e92b046f4c40d049ff8c62b670e257da64222
698e105281d34806561ef8c466a12a5dc6c67132
/web/frontend/submissions.py
fbe7f583a1d9d0c2de5c629d0221ebc445b29933
[]
no_license
Podshot/3DPrinterSystem
75c8dcafc5f926415efd28a6b1ce24458d1e217c
bbf225ad76e29f783f13d543fcd72b94d4640db2
refs/heads/master
2021-01-01T05:10:32.567917
2016-12-24T17:27:52
2016-12-24T17:27:52
59,046,789
2
0
null
null
null
null
UTF-8
Python
false
false
3,345
py
import tornado.web from profile import BaseProfileHandler from utils import SQLWrapper, directories, DropboxWrapper # @UnresolvedImport import os from datetime import datetime import uuid from gzip import GzipFile class NewSubmissionHandler(BaseProfileHandler): @tornado.web.authenticated def get(self): ...
[ "ben.gothard3@gmail.com" ]
ben.gothard3@gmail.com
0917883314d3c71d9c5f509602e435b21d824cce
6d70cd7f3e15375ae4c8fa8619a5a29f98b629ee
/Redes3/Parcial2/RRDTools/TrendLineal/TrendGraph.py
21a7f4e0c3a45f73c7e27fccc3dba559cfb722fb
[]
no_license
AlinaMarianaPerezSoberanes/Archivos
5155aa47243d0010395046f1cb37f20af2e99dd8
7628ae1e6644215b3c8148f590923502714fc10e
refs/heads/master
2020-04-20T08:35:55.008022
2019-02-02T16:59:38
2019-02-02T16:59:38
168,744,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
import sys import rrdtool import time while 1: ret = rrdtool.graph( "trend.png", "--start",'1539382500', "--end","1539384500", "--vertical-label=Carga CPU", "--title=Uso de CPU", "--color", "ARROW#009900", ...
[ "psoberanes_mariana@hotmail.com" ]
psoberanes_mariana@hotmail.com
9ac659ed774916b83e4235fa8eecb1f0508c3ea5
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py
70166161a2d224894dce9e90a48fb8f889e68c78
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
10,437
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
92c94e59ce4623a858dc7e53049807390bbac34f
35093a037837e5155464782ab0300d64cf1ce31a
/Automata.py
659c3e1e2e738c60ae8d0780bffd739fb501d189
[]
no_license
ChenSaijilahu/Simulation-traffic
eeb0a38169a60ffcc50e859be554a165a3a31c97
a97a8f63d1382ffb59874cb209bdf29ea9625c57
refs/heads/master
2023-03-15T00:04:51.159032
2021-01-05T11:30:04
2021-01-05T11:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,655
py
import random import numpy as np import matplotlib.pyplot as plt class Cellular_Automata(object): # Initialize the constructor # Read from the keyboard the input values: the number of cells for the road, car density and the number of iterations # The road will be modified just below, in the const...
[ "noreply@github.com" ]
ChenSaijilahu.noreply@github.com