blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
9d3f1e1eaaf40864ef9e266b4fd7d25f9d328b21
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/mYGipMffRTYxYmv5i_3.py
1c5ebcf46c86f6f779f84e38b73917754d45490f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
import itertools def simple_equation(a,b,c): numbers = [a,b,c] for eachcombo in itertools.permutations(numbers,2): first_num = eachcombo[0] second_num = eachcombo[1] if c != first_num and c != second_num: if first_num + second_num == c: return '{}+{}={}'.form...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f71f89c4c19d7d8045d9c586cb80e5b3176cf92f
ec53949dafa4b6ad675d679b05ed7c83fef2c69a
/DataStructuresAndAlgo/SortAlgo/QuickSort/QuickSort.py
ec6d49ec37082d18b789ab13db62a63fe2db4d61
[]
no_license
tpotjj/Python
9a5a20a53cd7a6ec14386c1db8ce155e0fc9ab8a
ca73c116ada4d05c0c565508163557744c86fc76
refs/heads/master
2023-07-11T16:37:10.039522
2021-08-14T11:17:55
2021-08-14T11:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
def partition(CustomList, low, high): i = low -1 pivot = CustomList[high] for j in range(low, high): if CustomList[j] <= pivot: i += 1 CustomList[i], CustomList[j] = CustomList[j], CustomList[i] CustomList[i+1], CustomList[high] = CustomList[high], CustomList[i+1] ret...
[ "joris97jansen@gmail.com" ]
joris97jansen@gmail.com
f155e40ab83b0e0703d0bfe760ae2c41de4fcdb7
e5e9ee9e4db2e400e7f87647501ee412c13d76e5
/python/python-base/turtle/fun.py
5cab82c491cf1fee60b9d184422b03d78cfa699e
[]
no_license
beingveera/whole-python
524441eec44379c36cb1cfeccdbc65bf1c15d2f6
3f2b3cb7528afb9605ab6f9d4d2efc856a247af5
refs/heads/main
2023-05-15T06:28:03.058105
2021-06-05T09:37:47
2021-06-05T09:37:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import turtle as t t.fd(1000) t.setposition(200,-490) t.clear() t.speed(0.1) t.circle(-50) t.tracer(1,3) t.color('blue') t.pensize(10) t.circle(20)
[ "sharma.lokesh.222001@gmail.com" ]
sharma.lokesh.222001@gmail.com
dcec9dfe44d580ff70c968b38dcb5e9e06fac39d
eb57e632fb351db1975ad0e15bd480759bbc153b
/sysinf/urls.py
3c44a5f757052a14c4ca9c32626da21663101d8a
[ "MIT" ]
permissive
raikel/dnfas
163ebc59fc6d4a12c044de33136cdce7ed7ddf0e
567bcc6656c75ee5167bd248045ec24e37de07b8
refs/heads/master
2021-06-27T02:22:30.508109
2020-03-25T20:11:04
2020-03-25T20:11:04
224,517,088
0
0
MIT
2021-03-19T22:52:15
2019-11-27T21:07:07
Python
UTF-8
Python
false
false
167
py
from django.urls import path from .views import SystemStatsView app_name = 'sysinf' urlpatterns = [ path('system/', SystemStatsView.as_view(), name='system') ]
[ "raikelbl@gmail.com" ]
raikelbl@gmail.com
8348e16c6785697fe7de5e82d5b2cccf17d8a39d
56231e5b77a8b743e84e43d28691da36b89a0cca
/platform-tools/systrace/catapult/telemetry/telemetry/testing/run_tests_unittest.py
8728813fb8ee52fb77629c0039869526582c60cf
[ "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "Apache-2.0" ]
permissive
cricketclubucd/davisdragons
ee3aa6ad72197c2218660843e03d58c562b965aa
99d5877377b80d1b20c78cc3c4c6f26795f29b14
refs/heads/master
2023-01-30T05:37:45.923195
2021-01-27T06:30:25
2021-01-27T06:30:25
96,661,120
2
2
MIT
2023-01-23T18:42:26
2017-07-09T04:32:10
HTML
UTF-8
Python
false
false
3,762
py
# Copyright 2014 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. import unittest from telemetry.core import util from telemetry.testing import run_tests class MockArgs(object): def __init__(self): self.positional_...
[ "jena.suraj.k@gmail.com" ]
jena.suraj.k@gmail.com
bb1db72e1417f503a51c53cab45015887b5df63a
8ba041911be24ba453d6df60ddf47e7d2aedfde5
/model.py
ff354766fccfa1efd6fe85425ef183d0be6f6c83
[]
no_license
dmcdekker/testing-1
9c0beda3fbdb9d37a812e903800f4c976cd0bbae
ee6cbab6aec40adde9971005d9c79862fb3bfe7a
refs/heads/master
2020-03-15T14:07:38.046358
2018-05-04T19:58:29
2018-05-04T19:58:29
132,183,530
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
from flask.ext.sqlalchemy import SQLAlchemy db = SQLAlchemy() class Game(db.Model): """Board game.""" __tablename__ = "games" game_id = db.Column(db.Integer, primary_key=True, autoincrement=True) name = db.Column(db.String(20), nullable=False, unique=True) description = db.Column(db.String(100))...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
d44f01bcd4e7d2b34ab46450cdb1c6ab87d512a1
f3daf8a0bf10c38e8a96b518aa08195241adf7cb
/HW1b/search.py
5bcde67610641f501f48b5b43d19114b792f6787
[]
no_license
trademark152/Artificial_Intelligence_USC
c9dc8e70a6bc2228ccfaeb911e497de82b4f7b9a
5e3464c9af84786d540fe74a275f835395d6836a
refs/heads/master
2020-09-26T09:31:06.840819
2019-12-06T02:16:56
2019-12-06T02:16:56
226,227,591
0
0
null
null
null
null
UTF-8
Python
false
false
28,545
py
"""Search (Chapters 3-4) The way to use this code is to subclass Problem to create a class of problems, then create problem instances and solve them with calls to the various search functions.""" from __future__ import generators from utils import * import agents import math, random, sys, time, bisect, string # ___...
[ "trademark152@gmail.com" ]
trademark152@gmail.com
0b1cde1c5f80af4837b8282ef80c77174dc1c5e7
12f18662719d04d2404396b9059b60525528f557
/findsportsordermanagement-master/purchaseorder/migrations/0018_purchaseorder_internal_notes.py
45c5291a9d14c87910376425849d88f1c857c904
[]
no_license
ujjalgoswami/ordermanagementcustomdashboard
0bf4a5770d1913b257a43858d778e630e671a342
acd18510b0934601d30bd717ea4b3fbb61ecfb5c
refs/heads/master
2021-02-04T10:04:27.380674
2020-02-28T01:37:35
2020-02-28T01:37:35
243,653,613
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 2.2.4 on 2019-12-10 15:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('purchaseorder', '0017_orderline_reorder'), ] operations = [ migrations.AddField( model_name='purchaseorder', name='i...
[ "ujjalgoswami92@gmail.com" ]
ujjalgoswami92@gmail.com
667a27f91a5feffa45b0df3b9f4c79d54a94be94
af93b3909f86ab2d310a8fa81c9357d87fdd8a64
/begginer/5. cas/zadatak5.py
f27bd47d532b65caf07d06877073feb078f9bbcb
[]
no_license
BiljanaPavlovic/pajton-kurs
8cf15d443c9cca38f627e44d764106ef0cc5cd98
93092e6e945b33116ca65796570462edccfcbcb0
refs/heads/master
2021-05-24T14:09:57.536994
2020-08-02T15:00:12
2020-08-02T15:00:12
253,597,402
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
unos=input("Unesite stranice a i b:") stranice=unos.split(" ") obim=2*float(stranice[0])+2*float(stranice[1]) povrsina=float(stranice[0])*float(stranice[1]) print("O= ",obim) print("P=",povrsina)
[ "zabiljanupavlovic@gmail.com" ]
zabiljanupavlovic@gmail.com
99e4e4ca7bb40a4fc37e65d4d6c65b0a7d078685
b9d75e3e37d08262321b0dc726639fc25f152caa
/utils.py
cc49eb7b6a45ee027cefe48ead6e43e9a20dab51
[]
no_license
G-Wang/pytorch_FFTNet
a2712763ae7ee2fff9d002c931593987d6e25060
b96486f6823e762e71c2e299739b925081e5bacf
refs/heads/master
2020-04-08T22:14:18.563719
2018-08-31T07:38:21
2018-08-31T07:38:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,463
py
import numpy as np import torch from torch.nn import functional as F from scipy.special import expn from torchaudio.transforms import MuLawEncoding, MuLawExpanding def encoder(quantization_channels): return MuLawEncoding(quantization_channels) def decoder(quantization_channels): return MuLawExpanding(quanti...
[ "ya70201@gmail.com" ]
ya70201@gmail.com
7943c82bfb5eef6a125f551f9bf92c8ed87f9028
7da0e8d03548ec83ec717a076add2199e543e3dd
/InvenTree/part/urls.py
75d5041b9c89cb54a2d092a2a95eaf92b5418bb4
[ "MIT" ]
permissive
Devarshi87/InvenTree
7b90cbf14699861436ab127b9b7638cee81e30c4
2191b7f71972d4c3ba7322cc93936801a168ab3c
refs/heads/master
2020-05-15T04:25:03.289794
2019-04-18T12:42:36
2019-04-18T12:42:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,522
py
from django.conf.urls import url, include from . import views supplier_part_detail_urls = [ url(r'edit/?', views.SupplierPartEdit.as_view(), name='supplier-part-edit'), url(r'delete/?', views.SupplierPartDelete.as_view(), name='supplier-part-delete'), url('^.*$', views.SupplierPartDetail.as_view(), name=...
[ "oliver.henry.walters@gmail.com" ]
oliver.henry.walters@gmail.com
fce81db8d06a0acb025336f3230e94f6e442c914
c7d3c8f2667b73e68878253a95d034fd7f1f0583
/env/Lib/site-packages/google/cloud/dialogflowcx_v3beta1/services/transition_route_groups/client.py
ea13b5eb4ebc6271f1f9e44940f1da2f202aec95
[]
no_license
jeevana28/ivrchatbot
e57e9b94b2b6c201e79d27036eca2e6c1f5deb56
fe5d281ebf774f46861b8f8eaea0494baf115f67
refs/heads/master
2023-06-07T01:20:40.547119
2021-07-06T15:47:15
2021-07-06T15:47:15
361,155,397
1
0
null
null
null
null
UTF-8
Python
false
false
38,168
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "50260923+jeevanakruthi@users.noreply.github.com" ]
50260923+jeevanakruthi@users.noreply.github.com
48fdd9fa5aba23d7bfbf4bd119d4bcc4a83a85a2
35d62f3ccf1c422b13b313c4e519a5ce335e934d
/leetcode/jewelsAndStones.py
cc1e31157da05da0b2095b9c498ceeb4b90ee203
[]
no_license
malaybiswal/python
357a074889299effe6a5fa2f1cd9c50ca35652d0
684d24d719b785725e736671faf2681232ecc394
refs/heads/master
2020-05-17T22:25:43.043929
2019-05-08T23:41:19
2019-05-08T23:41:19
183,999,871
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
#https://leetcode.com/problems/jewels-and-stones/ def numJewelsInStones(J, S): c=0 for x in J: for y in S: if(x==y): c+=1 return c x="zz" y="ZZZ" print(numJewelsInStones(x,y))
[ "malay.biswal@rackspace.com" ]
malay.biswal@rackspace.com
516e7adfdc21f38790c5bfe5706d14864c96eaab
3cd8bdcda9d0e549df184a5d9085ed8f5a86145d
/defining_classes/to_do_list/project/task.py
ad5910ea22a5b8855a43873b237cf5c1d554e494
[]
no_license
ivklisurova/SoftUni_Python_OOP
bbec8a5d0d8c2c3f536dd2a92e9187aa39121692
59e2080b4eb0826a62a020ea3368a0bac6f644be
refs/heads/master
2022-11-29T00:09:40.488544
2020-08-05T19:55:27
2020-08-05T19:55:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
class Task: def __init__(self, name, due_date): self.name = name self.due_date = due_date self.comments = [] self.completed = False def change_name(self, new_name: str): if new_name == self.name: return 'Name cannot be the same.' self.name = new_name ...
[ "55747390+ivklisurova@users.noreply.github.com" ]
55747390+ivklisurova@users.noreply.github.com
e7b3c28e67c42c208b0778ca9b4afdfddfd18a79
706518f154812af56f8fc91a71cd65d9667d9ed0
/python/paddle/fluid/tests/unittests/test_device.py
08697a080445e606f17bdde83384eef391713721
[ "Apache-2.0" ]
permissive
andreazanetti/Paddle
3ea464703d67963134ffc6828f364412adb03fce
a259076dd01801e2e619237da02235a4856a96bb
refs/heads/develop
2023-04-25T08:30:43.751734
2021-05-05T01:31:44
2021-05-05T01:31:44
263,870,069
0
2
Apache-2.0
2020-07-07T10:45:08
2020-05-14T09:22:07
null
UTF-8
Python
false
false
3,379
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
andreazanetti.noreply@github.com
67056ff3f3511beb22ed46e346b3d52b30d40eed
cc1cd104b4b383e7807e75e2fb0a8e84e5fcf7df
/api_server/openpose_wrapper/openpose_server/app.py
491381120447d9b6e7f8461f4eb89313c620e8c9
[]
no_license
Sam1224/OutfitApp-AWS
b9884d40945d2076f2135c0d2d75cf938161af9f
6c1b4d1e5c328c5d22b8f055d41a57ec2e9b921e
refs/heads/master
2022-04-24T11:50:24.506423
2020-04-29T11:03:43
2020-04-29T11:03:43
257,340,558
1
0
null
null
null
null
UTF-8
Python
false
false
6,164
py
# coding=utf-8 import os import sys import argparse import json from PIL import Image import cv2 import numpy as np import itertools # flask import flask #from flask import Flask, render_template, request, jsonify # openpose python API sys.path.append('../openpose_gpu/build/python'); from openpose import pyopenpose a...
[ "y034112@gmail.com" ]
y034112@gmail.com
920d2263cbeb1e5be4d7cfac31f5ccec2fafdc5a
1f0831db24ae2772d4944faf05289599bb37aca7
/data_crawling/08/api/setup.py
4d6fe9c915145a8327f8ea7ba8e946c9660fc6d8
[]
no_license
smaystr/rails_reactor
2123f39ae97f38acb647363979fe4a09b896670e
69c8aac5860527768b4a8b7bce027b9dea6b1989
refs/heads/master
2022-08-19T05:35:21.535933
2019-08-28T12:46:22
2019-08-28T12:46:22
189,264,026
1
0
null
2022-07-29T22:34:56
2019-05-29T16:47:08
Jupyter Notebook
UTF-8
Python
false
false
660
py
from setuptools import setup with open('requirements.txt') as f: requirements = f.read().splitlines() setup( name="sergey_milantiev_crawler_master", version="0.0.0", install_requires=requirements, packages=["app"], author="sergey.milantiev@gmail.com", url="", download_url="", descr...
[ "smaystr@gmail.com" ]
smaystr@gmail.com
9235b80e5ef760386db087cbeb1eedcff79edbd7
def1b645cf84f25f746926771b7798215b505514
/codereview/models.py
446f6066db2bf1f7ab0a358eae2b61a87b4fc8ae
[ "Apache-2.0" ]
permissive
ojengwa/codereview
07770b3dbe9e882749ff013a7dba9241e99b0ad5
23e3e6654fc09084724ddaa33d982df98e5e5a7b
refs/heads/master
2021-01-17T07:27:46.977826
2015-10-13T14:46:26
2015-10-13T14:46:26
51,166,443
1
0
null
2016-02-05T18:40:31
2016-02-05T18:40:31
null
UTF-8
Python
false
false
29,543
py
# Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "bubenkoff@gmail.com" ]
bubenkoff@gmail.com
8589d9bd7373b78746960b04f357c76a95469f96
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/pacbio/pythonpkgs/kineticsTools/lib/python2.7/site-packages/kineticsTools/WorkerProcess.py
8f942b04b941bca938157f82b6d7dc6e0aca26f1
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,249
py
################################################################################# # Copyright (c) 2011-2013, Pacific Biosciences of California, Inc. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are me...
[ "409511038@qq.com" ]
409511038@qq.com
881b2796e754eccb435d9f1824561012eb3f9263
8308fa0e5f998e0aa6741af5720d6da99497060d
/estoque/admin.py
deb9bd5b8513f6c1109d2812a086ec45998d55fe
[]
no_license
gbpjr/sistema-estoque
7aae11c657c555b98a329cdafde704504ef8b23a
701471e593fa758a1da1b66fa279da4dd3d979e7
refs/heads/master
2020-04-23T08:37:35.123431
2019-02-24T21:43:14
2019-02-24T21:43:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.contrib import admin from .models import Local, Tipo, Fabricante, Componente admin.site.register(Local) admin.site.register(Tipo) admin.site.register(Fabricante) admin.site.register(Componente)
[ "=" ]
=
eadbd701bc7fafb29b726f2330b241a74aad34d8
9cdfe7992090fb91696eec8d0a8ae15ee12efffe
/recursion/prob1221.py
75de61d8cb82f1561f811ecae781765b333d2848
[]
no_license
binchen15/leet-python
e62aab19f0c48fd2f20858a6a0d0508706ae21cc
e00cf94c5b86c8cca27e3bee69ad21e727b7679b
refs/heads/master
2022-09-01T06:56:38.471879
2022-08-28T05:15:42
2022-08-28T05:15:42
243,564,799
1
0
null
null
null
null
UTF-8
Python
false
false
528
py
# 1221 Split string into Balanced Strings class Solution(object): def balancedStringSplit(self, s): """ :type s: str :rtype: int """ m = len(s) if m == 2: return 1 i = 2 while i < m: if self.isBalanced(s[:i]): #...
[ "binchen.devops@gmail.com" ]
binchen.devops@gmail.com
31b90af5e2d762ee6482a7c0202484d4b2a0cff5
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2016/4/test_only_punct.py
12c9580880eb988530171fcf1973e0dc5ca361fa
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
191
py
from __future__ import unicode_literals def test_only_pre1(en_tokenizer): assert len(en_tokenizer("(")) == 1 def test_only_pre2(en_tokenizer): assert len(en_tokenizer("((")) == 2
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
0e9096e4b0553691cf5b1f21edf9dbdd5345cd3b
dfcb65de02953afaac24cc926ee32fcdede1ac21
/src/pyrin/database/paging/paginator.py
080a42e2616f9e7b4b8a7043c65bb37c92b2c6a9
[ "BSD-3-Clause" ]
permissive
mononobi/pyrin
031d0c38da945b76b07ea100554ffc7f8081b05e
9d4776498225de4f3d16a4600b5b19212abe8562
refs/heads/master
2023-08-31T03:56:44.700142
2023-08-20T22:20:06
2023-08-20T22:20:06
185,481,041
20
8
null
null
null
null
UTF-8
Python
false
false
14,011
py
# -*- coding: utf-8 -*- """ database paging paginator module. """ from copy import deepcopy from abc import abstractmethod from collections import OrderedDict from flask import url_for import pyrin.configuration.services as config_services import pyrin.database.paging.services as paging_services import pyrin.securit...
[ "mohamadnobakht@gmail.com" ]
mohamadnobakht@gmail.com
47c3be1644c3b304105e0c662dc9f38ee860d001
9ecb6a1d3a71e7f87f3784af6b808f23a2abe348
/drlhp/show_prefs.py
4227c4f161eda839c7a5c5661322f9b2b12658a5
[]
no_license
HumanCompatibleAI/interactive-behaviour-design
13ae305b39d29595e8fd5907f8d9e9fa6c2efc16
226db7a55d64ce15edfb8d7b3352c7bf7b81b533
refs/heads/master
2020-05-02T16:54:02.232639
2019-08-08T14:29:11
2019-08-08T14:29:11
178,082,205
0
1
null
null
null
null
UTF-8
Python
false
false
1,945
py
#!/usr/bin/env python3 """ Display examples of the specified preference database (with the less-preferred segment on the left, and the more-preferred segment on the right) (skipping over equally-preferred segments) """ import argparse import pickle from multiprocessing import freeze_support import numpy as np from u...
[ "matthew.rahtz@gmail.com" ]
matthew.rahtz@gmail.com
b5644533f4814bf76a438d3f873511d94ae32cb7
ffedbe2d957677d65cb873d96482f1c94e74b988
/regs/depth/paragraph.py
4c7ad12fb53030d7ebe97823604eec9398cee496
[]
no_license
cmc333333/Depth-Parser
b7602c158b6cb75179af90b78af93f28e547a3d2
4332b8c51e8e7d44b68985b3845b300d251af536
refs/heads/master
2020-05-20T12:09:03.662019
2013-04-16T20:37:56
2013-04-16T20:37:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,421
py
import itertools import re from regs.depth import tree from regs.search import segments from regs.utils import roman_nums import string p_levels = [ list(string.ascii_lowercase), [str(i) for i in range(1,51)], list(itertools.islice(roman_nums(), 0, 50)), list(string.ascii_uppercase), # Technicall...
[ "cm.lubinski@gmail.com" ]
cm.lubinski@gmail.com
9e51554a63ea745f2574b28165948e41f852a97e
a90aa4871684f6f24aa5b0daf2ece384418c748b
/basic/python/2_applica/1_scrapy/bloomfilter.py
868227e7ae9f1616e4f5ff0e2650e336b69c8b7a
[]
no_license
Martians/code
fed5735b106963de79b18cc546624893665066cd
653e2c595f4ac011aed7102ca26b842d4f6beaaf
refs/heads/master
2021-07-11T19:22:24.858037
2019-02-22T13:04:55
2019-02-22T13:04:55
110,106,407
1
0
null
null
null
null
UTF-8
Python
false
false
88
py
# https://media.readthedocs.org/pdf/pybloomfiltermmap3/latest/pybloomfiltermmap3.pdf
[ "liudong@daowoo.com" ]
liudong@daowoo.com
4af2ccbccc3801bfd03ba5d348228bde9e7d5e13
fd133e8252dc4ddb8221007f806da336639e9029
/924_minimize_malware_speed.py
9ebceeb1693f0f22ca3036256554fcb1d0d201ee
[]
no_license
nikrasiya/Graph-2
ea331e8470a73eef2f70cbb71f28023f704f1ba2
4689f2e0d1a0847ab519715d7659939dad89e001
refs/heads/master
2021-05-17T16:21:17.539763
2020-04-06T13:18:31
2020-04-06T13:18:31
250,869,007
0
0
null
2020-03-28T18:44:58
2020-03-28T18:44:58
null
UTF-8
Python
false
false
4,082
py
from typing import List from collections import defaultdict, Counter class Solution: def minMalwareSpread(self, graph: List[List[int]], initial: List[int]) -> int: """ https://leetcode.com/problems/minimize-malware-spread/ Time Complexity - O(V*E) 'V' -> vertices ...
[ "you@example.com" ]
you@example.com
77ebbe0d48ff860ba8eab641e85ade6503ca77d9
f2ab8ccda7203dd37d61facb9978cf74b781c7f1
/tests/models.py
2a33a19a5a6c499db6c4c5ca9168a18891a56d61
[ "MIT" ]
permissive
Apkawa/easy-thumbnails-admin
1991137224dcd117520b2c114d4012daf803776e
9d7a38f215cdac53a663b00f1d4ff3a3c2a54eb4
refs/heads/master
2021-01-01T15:47:34.334792
2017-11-23T10:38:09
2017-11-23T10:38:09
97,703,157
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from django.db import models from easy_thumbnails.fields import ThumbnailerImageField def upload_to(instance, filename): return 'example/{}'.format(filename) class Example(models.Model): image = ThumbnailerImageField(upload_to=upload_to)
[ "apkawa@gmail.com" ]
apkawa@gmail.com
139ecc75596912c669b4ed0216a1514922c50a4c
605611de5eae63ce4eef388a287a3ef18b52eae7
/CovidCrowd/settings.py
95d5f1e4b28e5afba1ede23609cd8a48a22b35cd
[]
no_license
RahulAttarde/CovidCrowd
e6b2e45c222f03112c157403c2d6630d888599d8
55740e1ea72cd434aed0a627f6fffb16024a6f17
refs/heads/master
2021-04-23T00:02:46.726288
2020-03-25T02:45:35
2020-03-25T02:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
""" Django settings for CovidCrowd 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 os...
[ "arun@arunmozhi.in" ]
arun@arunmozhi.in
e1752708a0af5efe19acf9209a0dd0734303fa0d
840b98f14f181f7dbd693f2ee4b3c46e5be59305
/demos/demo_pycloudmessenger/POM2/NeuralNetworks/pom2_NN_worker_pycloudmessenger.py
672126432edb472a87502a57beff578247d9307a
[ "Apache-2.0" ]
permissive
Musketeer-H2020/MMLL-Robust
4ef6b2ff5dff18d4d2b2a403a89d9455ba861e2b
ccc0a7674a04ae0d00bedc38893b33184c5f68c6
refs/heads/main
2023-09-01T18:47:46.065297
2021-09-28T15:34:12
2021-09-28T15:34:12
386,264,004
0
0
null
null
null
null
UTF-8
Python
false
false
7,614
py
# -*- coding: utf-8 -*- ''' @author: Marcos Fernandez Diaz November 2020 Example of use: python pom2_NN_worker_pycloudmessenger.py --user <user> --password <password> --task_name <task_name> --id <id> Parameters: - user: String with the name of the user. If the user does not exist in the pycloudmessenger...
[ "rober.diaz@gmail.com" ]
rober.diaz@gmail.com
f327656c3c6c957763b8883c4183d103b33e956c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_linking.py
619af3537e5435c213053702bea9f7364b783fca
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from xai.brain.wordbase.verbs._link import _LINK #calss header class _LINKING(_LINK, ): def __init__(self,): _LINK.__init__(self) self.name = "LINKING" self.specie = 'verbs' self.basic = "link" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e2e0a5e05ade4bf1b990a627802943af3a19626d
f5c7d50973d47abd555502470b300b3c70af9fa5
/voting/asgi.py
856ae28db6db7b31736db9f3585a818ef2de5cc0
[ "MIT" ]
permissive
jess-monter/voting_back
62b67fafcfa8a9b7feebbca463c5055efdff7d98
de54218f01095f5090d490cabf32a86b1e608925
refs/heads/main
2023-04-06T16:00:45.066076
2021-04-14T07:51:10
2021-04-14T07:51:10
336,810,613
0
0
MIT
2021-04-14T07:51:11
2021-02-07T14:46:05
Python
UTF-8
Python
false
false
756
py
""" ASGI config for voting project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "=" ]
=
78430575c8a6091691a2baff513bfbe12212aa04
e8805bf7c79da1b63d36c3535b8f5ba7d97b6b56
/tests/test_auditor/test_auditor_bookmark.py
05eaeea64b067419856d25819c257ca50d667dd1
[ "MIT" ]
permissive
wbuchwalter/polyaxon
9ad681e37065e8aa05741fb7d63b170e4c1fdfe6
a01396ea86a74082c457bfbc2c91d283b6ff6fba
refs/heads/master
2020-03-23T08:34:42.248328
2018-07-17T18:29:06
2018-07-17T18:29:06
141,334,939
0
0
MIT
2018-07-17T19:35:22
2018-07-17T19:35:21
null
UTF-8
Python
false
false
2,819
py
# pylint:disable=ungrouped-imports from unittest.mock import patch import pytest import activitylogs import auditor import tracker from event_manager.events import bookmark as bookmarks_events from tests.utils import BaseTest @pytest.mark.auditor_mark class AuditorBookmarksTest(BaseTest): """Testing subscribe...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
c3f387488e18415441d92be7b503abfd69d40ad1
8e97cb7c8668a9061683ea3ba893dab32029fac9
/pytorch_toolkit/instance_segmentation/segmentoly/utils/profile.py
9c17d0e496ee59a819333e28ce8963262200b8d3
[ "Apache-2.0" ]
permissive
DmitriySidnev/openvino_training_extensions
e01703bea292f11ffc20d50a1a06f0565059d5c7
c553a56088f0055baba838b68c9299e19683227e
refs/heads/develop
2021-06-14T06:32:12.373813
2020-05-13T13:25:15
2020-05-13T13:25:15
180,546,423
0
1
Apache-2.0
2019-04-15T13:39:48
2019-04-10T09:17:55
Python
UTF-8
Python
false
false
14,154
py
""" Copyright (c) 2019 Intel Corporation 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 agreed to in wri...
[ "48012821+AlexanderDokuchaev@users.noreply.github.com" ]
48012821+AlexanderDokuchaev@users.noreply.github.com
c7d144b8335a423d324ebdc6e7a74ee5f11d99ad
665455c521cc7cf76c5436337ed545de90976af4
/cohesity_management_sdk/models/node_port.py
0160cdc36722ac0df6ecf9ed7e2a96895d226b7a
[ "Apache-2.0" ]
permissive
hsantoyo2/management-sdk-python
d226273bc8eedcf9220ea4999a6f0b9a1a30d99c
0093194d125fc6746f55b8499da1270c64f473fc
refs/heads/master
2023-03-01T06:09:39.644085
2021-01-15T08:23:16
2021-01-15T08:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
# -*- coding: utf-8 -*- # Copyright 2020 Cohesity Inc. class NodePort(object): """Implementation of the 'NodePort' model. VmInfo specifies information of a NodePort per service and port combination within an application instance. Attributes: is_ui_port (bool): TODO: type description here. ...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
8cc261eb0ecfb093323305bc3cc656d8b5205b78
a6c13fb257563d99c45f79b2fee5c2f2f76251ef
/apps/common/factories.py
197597ddc5ded9aea5a8f9bfe7315a01f742e943
[]
no_license
sipanmargaryan/addproduct
9999cdf9b611ea4f103ed9e58e24c8fc8fe0e3fb
9232c31956f154f3c4349fe3942a331559213c70
refs/heads/master
2022-11-05T19:23:37.209482
2020-06-26T14:44:45
2020-06-26T14:44:45
275,178,682
4
0
null
null
null
null
UTF-8
Python
false
false
800
py
import factory from django.utils import timezone import common.models class ArticleFactory(factory.DjangoModelFactory): title = factory.Sequence(lambda n: 'help text title-{}'.format(n)) description = factory.Sequence(lambda n: 'help text description-{}'.format(n)) class Meta: model = common.mo...
[ "sipanm19@gmail.com" ]
sipanm19@gmail.com
d765931611ffb0b15f7c1c88acfd00e0ac6f9f19
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_145/669.py
bd702b9e219525f76c3fa85711b680bca73aa591
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
#!/usr/bin/env python import sys import struct import ctypes def binary(num): return ''.join(bin(ord(c)).replace('0b', '').rjust(8, '0') for c in struct.pack('!f', num)) T = int(sys.stdin.readline()) for case in range(0, T): part = sys.stdin.readline() up, down = part.split("/") up = int(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
559e9d1a9a1c37ba4f8aae45a6b1828a164fe7ce
b685036280331fa50fcd87f269521342ec1b437b
/src/tests/demo_5.py
c5de86e214fd5babcc1639e86f60c6ee47de9df4
[]
no_license
chenqing666/myML_DM_Test
f875cb5b2a92e81bc3de2a0070c0185b7eacac89
5ac38f7872d94ca7cedd4f5057bb93732b5edbad
refs/heads/master
2022-02-26T01:52:06.293025
2019-09-20T06:35:25
2019-09-20T06:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def fib(times): n = 0 a,b = 0, 1 while n < times: yield b a, b = b, a + b n += 1 return "done" g = fib(2) next(g) next(g) # next(g)
[ "976185561@qq.com" ]
976185561@qq.com
bd74a3ab41b48ffe8069d7327a2c0494179fcbfe
fcde32709c62b8ee86da459bb7c8eee52c848118
/code/day03/r4.py
37ad4deb38ed39591d4c123e94a810e47614be79
[]
no_license
klaus2015/py_base
6b92d362c3d7dc0e09205a037f4d580381dac94d
ec32c731c1c2f6a0dab87f1d167397e4fa86b8de
refs/heads/master
2022-07-28T15:49:30.383648
2020-05-11T15:31:43
2020-05-11T15:31:43
261,777,278
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# state = None # number = int(input("请输入一个整数: ")) # if number % 2 : # state = "奇数" # else: # state = "偶数" # print(state) # state = "奇数" if int(input("请输入整数: ")) % 2 else "偶数" # print(state) year = int(input("请输入年份:")) result = year % 4 == 0 and year % 100 != 0 or year % 400 == 0 if result: day = 29 else: ...
[ "598467866@qq.com" ]
598467866@qq.com
a4b9d93d338391843fa18a38fd30a88d04acb569
e0ede722874d222a789411070f76b50026bbe3d8
/practice/solution/0894_all_possible_full_binary_trees.py
2727423a40a633641a8545b0f9ac6da90888a70d
[]
no_license
kesarb/leetcode-summary-python
cd67456cb57bdff7ee227dab3930aaf9c2a6ad00
dc45210cb2cc50bfefd8c21c865e6ee2163a022a
refs/heads/master
2023-05-26T06:07:25.943854
2021-06-06T20:02:13
2021-06-06T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution(object): def allPossibleFBT(self, N): """ :type N: int :rtype: List[TreeNode...
[ "weikunhan@g.ucla.edu" ]
weikunhan@g.ucla.edu
b67726927a44da27cddb100768d5532598314c80
038af1bfd275530413a7b4e28bf0e40eddf632c6
/parsifal/apps/accounts/tests/test_update_emails_view.py
6e3b2e07623eb93ac58bb135d2b97b941ee0e58f
[ "MIT" ]
permissive
vitorfs/parsifal
5c5345ff75b48c5596977c8e0a9c4c537ed4726c
68c3ce3623a210a9c649a27f9d21ae6130541ea9
refs/heads/dev
2023-05-24T16:34:31.899776
2022-08-14T16:30:06
2022-08-14T16:30:06
11,648,402
410
223
MIT
2023-05-22T10:47:20
2013-07-25T00:27:21
Python
UTF-8
Python
false
false
2,130
py
from django.test.testcases import TestCase from django.urls import reverse from parsifal.apps.authentication.tests.factories import UserFactory from parsifal.utils.test import login_redirect_url class TestUpdateEmailsViewView(TestCase): @classmethod def setUpTestData(cls): cls.user = UserFactory(emai...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
b9fd420ff9cb37198ef9d9d480d07225dc750a1b
839d8d7ccfa54d046e22e31a2c6e86a520ee0fb5
/icore/base/list/dict_test.py
b6745b165a751dc40e63e211eac910f10f6e658e
[]
no_license
Erich6917/python_corepython
7b584dda737ef914780decca5dd401aa33328af5
0176c9be2684b838cf9613db40a45af213fa20d1
refs/heads/master
2023-02-11T12:46:31.789212
2021-01-05T06:21:24
2021-01-05T06:21:24
102,881,831
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
# -*- coding: utf-8 -*- # @Time : 2017/12/26 # @Author : LIYUAN134 # @File : dict_test.py # @Commment: # import dict as dict def test1(): # dict.dict_mulkeys() dict.dict_cal() test1()
[ "1065120559@qq.com" ]
1065120559@qq.com
387a2c4e876cb2a1a446a27a40b003870afa741b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_noisy175.py
cc4f8f2ea5639c20ee3b44f313ca868e0ad2a42c
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=14 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
099e40f30702743bcd8c7b03996405b18971a5e5
84297380d00453e71f65c591dca046bd41a32184
/ABC/ABC113/A.py
c367158a2dbe77733d419a9117215295220f221d
[]
no_license
daiki1998/atcoder
a5ef25245b1bbc3a5e33044846a3c16213603bd3
d864a7cb11e41dbf6a691f5d128fdfe122b07046
refs/heads/main
2023-03-06T22:55:29.863716
2021-02-18T12:01:24
2021-02-18T12:01:24
323,401,954
1
0
null
null
null
null
UTF-8
Python
false
false
46
py
x, y = map(int, input().split()) print(x+y//2)
[ "shimokawadaiki@shimokawadaikinoMacBook-Pro.local" ]
shimokawadaiki@shimokawadaikinoMacBook-Pro.local
2f53b3f8271b60d22df54f72752eded981080e61
b697f5d8e441328c2deee1bb5853d80710ae9873
/617.合并二叉树.py
5d35a8098ff5d6b1d6488a23bbd84ef8e3088d55
[]
no_license
happy-luck/LeetCode-python
d06b0f6cf7bad4754e96e6a160e3a8fc495c0f95
63fc5a1f6e903a901ba799e77a2ee9df2b05543a
refs/heads/master
2021-03-22T16:12:52.097329
2020-07-15T13:48:37
2020-07-15T13:48:37
247,381,313
0
0
null
2020-03-15T01:47:42
2020-03-15T01:28:38
null
UTF-8
Python
false
false
2,281
py
方法一:递归 我们可以对这两棵树同时进行前序遍历,并将对应的节点进行合并。在遍历时,如果两棵树的当前节点均不为空,我们就将它们的值进行相加,并对它们的左孩子和右孩子进行递归合并;如果其中有一棵树为空,那么我们返回另一颗树作为结果;如果两棵树均为空,此时返回任意一棵树均可(因为都是空)。 class Solution: def mergeTrees(self, t1: TreeNode, t2: TreeNode) -> TreeNode: if t2==None: return t1 if t1==None: return t2 ...
[ "18813129242@163.com" ]
18813129242@163.com
d90dcbcb06450d0cec154190b117b2ccce514085
bce41eff7da75522f58d831251e1ed95d8809585
/services/web/project/apps/event/subscriptions/eventUpdateSubscription.py
88e5ae15e2e558fd56fb9935803408b5065f7dcb
[]
no_license
javillarreal/eventuality
be9728a19caef8c19d3d40e6dd5b90e57b5b63a1
5a543a9e6b5a3f014b670297e22f52a9884af4bb
refs/heads/master
2021-07-03T18:55:33.037863
2021-06-24T03:24:38
2021-06-24T03:24:38
204,239,198
1
0
null
2020-11-27T02:39:19
2019-08-25T03:05:17
Python
UTF-8
Python
false
false
696
py
import random import graphene from rx import Observable class RandomType(graphene.ObjectType): seconds = graphene.Int() random_int = graphene.Int() class Subscription(graphene.ObjectType): count_seconds = graphene.Int(up_to=graphene.Int()) random_int = graphene.Field(RandomType) ...
[ "jjescobar@uninorte.edu.co" ]
jjescobar@uninorte.edu.co
c87f6abacd4d1526c188c591e69870c485175606
f67e9154c3e077eaad349f85439d88820098a6fc
/Search/017_LetterCombOfPhoneNum.py
73ba53f513b92e34b6a16b00c4aef98076aeab44
[]
no_license
pondjames007/CodingPractice
0c159ae528d1e595df0f0a901ee1ab4dd8925a14
fb53fea229ac5a4d5ebce23216afaf7dc7214014
refs/heads/master
2020-06-08T02:31:04.569375
2020-01-15T20:41:34
2020-01-15T20:41:34
193,142,129
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# TIPS: # make a dictionary to map digit and char # go through all digits and find out all combinations class Solution: def letterCombinations(self, digits: str) -> List[str]: if not digits: return [] n_to_c = {} char = [*string.ascii_lowercase] start = 0 end = 0 ...
[ "jameshuang@nyu.edu" ]
jameshuang@nyu.edu
abe0955e886d8fbc9de7f3e7ad550af81be6cedb
5a07828016e8bafbea5dac8f83c8bfd5d0bfd603
/py_290w290/140304_srw_output.py
94f032f09c22370f14899c0b9c40b25777fbe84a
[]
no_license
JJHopkins/rajter_compare
db5b88d2c6c1efc0fead9b6ed40fb3cce36bedb4
2ba52f4f16cf2aca350a82ea58d0aa8f8866c47c
refs/heads/master
2020-06-04T23:53:57.089329
2014-04-08T18:02:30
2014-04-08T18:02:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,695
py
#$ {\bf Free energy between two skewed cylinders (CG-10 in water). Full retarded result, function of separation $\ell$ and angle $\theta$} \\ #$ Equation 12: $G(\ell,\theta) = - \frac{ (\pi R_1^{2})(\pi R_2^{2}) }{2 \pi~\ell^{4} \sin{\theta}} \left( {\cal A}^{(0)}(\ell) + {\cal A}^{(2)}(\ell) \cos 2\theta \right)$ \\ #...
[ "hopkins.jaime@gmail.com" ]
hopkins.jaime@gmail.com
37694eb9518f87e68f56b733a3fbd604c4eddd79
11ad104b0309a2bffd7537d05e2ab3eaf4aed0ca
/homeassistant/components/rachio/device.py
9d7c30579394412becf75ff8253ffd54c62cc51b
[ "Apache-2.0" ]
permissive
koying/home-assistant
15e5d01a45fd4373b3d286e1b2ca5aba1311786d
9fc92ab04e0d1933cc23e89b4095714aee725f8b
refs/heads/dev
2023-06-24T01:15:12.150720
2020-11-01T12:27:33
2020-11-01T12:27:33
189,232,923
2
1
Apache-2.0
2023-01-13T06:04:15
2019-05-29T13:39:02
Python
UTF-8
Python
false
false
6,956
py
"""Adapter to wrap the rachiopy api for home assistant.""" import logging from typing import Optional from homeassistant.const import EVENT_HOMEASSISTANT_STOP, HTTP_OK from .const import ( KEY_DEVICES, KEY_ENABLED, KEY_EXTERNAL_ID, KEY_FLEX_SCHEDULES, KEY_ID, KEY_MAC_ADDRESS, KEY_MODEL, ...
[ "noreply@github.com" ]
koying.noreply@github.com
5d2200a128aabb70c081dea75e660bd7b9a29f3e
b93c90054ede72fb706567e2b60a5e4bba5485d3
/cru/__init__.py
3f204900689b0e4ad473586a2413b190d0343060
[]
no_license
guziy/ShortPythonScripts
2568b92124003fa4b0c673c3ce872df623dff76c
17b1ed47231aa566c8af04e19cced49a795b37d8
refs/heads/master
2016-09-06T01:30:30.365172
2014-07-18T15:52:25
2014-07-18T15:52:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
__author__ = 'huziy' import numpy as np def main(): #TODO: implement pass if __name__ == "__main__": main() print "Hello world"
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
b1067dbd1da869a3839d1527813c511360fafa32
17a7e1941d1f0e9e2747ce177344cf081aeb1aa0
/examples/sbm_arxiv_paper.py
21987364c3ea82ea603bf54540f87aceb88df3be
[]
no_license
abdcelikkanat/rangraphgen
413871bd757992c8c87f520c7fecbd18bc004eed
491a94ddd0d8682ae3e6a30921e9de73327acea8
refs/heads/master
2020-03-21T08:09:34.540550
2018-07-23T16:13:55
2018-07-23T16:13:55
138,324,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
from sbm.sbm import SBM """ model = {} model['sbm_N'] = 100 # the number of nodes model['sbm_P'] = [[0.6, 0.2], [0.2, 0.8]] # edge probability matrix between nodes belonging different communities model['sbm_block_sizes'] = [40, 60] output_file = "../outputs/synthetic_" output_file += "n{}_p{}_sizes{}.gml".format(m...
[ "abdcelikkanat@gmail.com" ]
abdcelikkanat@gmail.com
39cc3029c96a86e815190984cebf90bce285fb25
7450483dd16f7dea4bef09a5166a67c7527b7ca2
/hw_8_stub.py
faed32fa97ff75a4f1b0a0c90f450a885d815fca
[]
no_license
rmvook/HW8_CMSC389R
604ec50cc225926e53692fc0ebcf366dc4914a98
03fad8af81e2e985d121d9fbdb2d0ed939534a81
refs/heads/master
2020-03-09T15:45:17.796936
2018-04-16T15:11:50
2018-04-16T15:11:50
128,867,479
0
0
null
null
null
null
UTF-8
Python
false
false
2,824
py
# do `curl http://starship.python.net/~gherman/programs/md5py/md5py.py > md5.py` # if you do not have it from the git repo import md5py, socket, hashlib, string, sys, os, time f = open("output.txt", "w") host = "159.89.236.106" # IP address or URL port = 5678 # port s = socket.socket(socket.AF_INET, socket.SOCK_ST...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
bd3d8511ec40499ea66fcc1e2c71b26b17f8565d
cd79b7919fd0984c12e8acde8abda4290fd65b0f
/draftcast/settings.py
dbaf6a6cc14ebfb87a7c0db296138f30760cc41a
[]
no_license
rallen0150/nfl_draftcast
7d5d84352986349f0646a9199d3aa3b29bfac4a2
3f5f9980902ee73fbca3c5b3db4545179ff5208a
refs/heads/master
2021-01-20T04:43:00.356120
2017-04-29T14:45:16
2017-04-29T14:45:16
89,718,535
0
0
null
null
null
null
UTF-8
Python
false
false
3,349
py
""" Django settings for draftcast project. Generated by 'django-admin startproject' using Django 1.11. 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 os...
[ "rallen0150@gmail.com" ]
rallen0150@gmail.com
fed1af0912a71ebae30785c3e9dcaec26f4337f6
d29c1c1901b8f5aac07ea67c969f4e96e3642376
/venv/Scripts/pip-script.py
670e74ae05294d33a619274f5839d91a361a2800
[]
no_license
aljaserm/pdf
10f0f97572fb2021604e70aeb3ed2f8920668a12
4648703819260380ebc942bba31817e47821f23f
refs/heads/master
2020-08-29T20:41:32.846815
2019-12-12T00:03:21
2019-12-12T00:03:21
218,169,283
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!C:\Users\aljas\OneDrive\Documents\Development\Python\pdf\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "aljaserm7@gmail.com" ]
aljaserm7@gmail.com
aa6145e09b71b6311ef725f088a53c2d8f67c1e5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_hacking.py
5138e808004dfe243f61edf4bc4bd5dbb450c3c0
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _HACKING(): def __init__(self,): self.name = "HACKING" self.definitions = hack self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['hack']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f378db34785d00813c8dcfbbeaac5e36f4951d2b
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/prb_control/entities/battle_session/__init__.py
a41701b1d0acaedce8b7e47eb63a44121abed16e
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
401
py
# 2017.08.29 21:45:30 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/prb_control/entities/battle_session/__init__.py pass # okay decompyling c:\Users\PC\wotmods\files\originals\res\packages\scripts\scripts\client\gui\prb_control\entities\battle_session\__init__.pyc # decompiled 1 files: 1 okay, 0 ...
[ "info@webium.sk" ]
info@webium.sk
5c7e781861cf2f6c726c08b123b74dd794c2056e
5fa91971a552de35422698ad3e371392fd5eb48a
/docs/webflask/todo/todo_z4.py
7b5d27384609f0e5dd9f8849bc294038bdc06384
[ "MIT", "CC-BY-SA-4.0" ]
permissive
koduj-z-klasa/python101
64b0bf24da6c7fc29c0d3c5a74ce7975d648b760
accfca2a8a0f2b9eba884bffe31be6d1e73fb615
refs/heads/master
2022-06-06T09:29:01.688553
2022-05-22T19:50:09
2022-05-22T19:50:09
23,770,911
45
182
MIT
2022-03-31T10:40:13
2014-09-07T21:01:09
Python
UTF-8
Python
false
false
1,835
py
# -*- coding: utf-8 -*- # todo/todo.py from flask import Flask, g from flask import render_template import os import sqlite3 from datetime import datetime from flask import flash, redirect, url_for, request app = Flask(__name__) app.config.update(dict( SECRET_KEY='bardzosekretnawartosc', DATABASE=os.path.jo...
[ "xinulsw@gmail.com" ]
xinulsw@gmail.com
74305ab38ac0340b375cb8afb1b90ea07fd23e36
bf24b73282ae80b7ff813f2d794bdace9421b017
/carapace/carapace/doctype/rejection_gate_entry_items/rejection_gate_entry_items.py
b3a21751d4d81fda563dfdc4c1c7c58850e5338e
[ "MIT" ]
permissive
hrgadeha/carapace
8d78cc8d45c1de0293204dfbd47802e1eebf87ee
3c001422c6b05644a52f6250c55526b23cbd4320
refs/heads/master
2022-01-20T11:37:26.765923
2022-01-09T09:38:57
2022-01-09T09:38:57
163,376,460
0
1
null
null
null
null
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, frappe and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class RejectionGateEntryitems(Document): pass
[ "you@example.com" ]
you@example.com
8cbc7c2bbd2aaea3b6bd0378c72ca37769c8035d
955b968d46b4c436be55daf8aa1b8fc8fe402610
/ch04/baidu_screenshot.py
c3aca7449f0e884890aadc2bfc8ba7f2977f6243
[]
no_license
han-huang/python_selenium
1c8159fd1421b1f0e87cb0df20ae4fe82450f879
56f9f5e5687cf533c678a1c12e1ecaa4c50a7795
refs/heads/master
2020-03-09T02:24:48.882279
2018-04-07T15:06:18
2018-04-07T15:06:18
128,535,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from time import sleep, ctime from selenium import webdriver import os driver = webdriver.Firefox() # driver = webdriver.Chrome() driver.get("http://www.baidu.com") # http://selenium-python.readthedocs.io/api.html?highlight=get_screenshot_as_file#selenium.webdriver.remote....
[ "vagrant@LaravelDemoSite" ]
vagrant@LaravelDemoSite
ca84176dcc4543867190893bc2a6e3aca04b239d
107941a50c3adc621563fe0254fd407ea38d752e
/spider_01.py
32d42c2a2ca6ef3b58162d8cb4c81ff8efba1721
[]
no_license
zhangliang852469/spider_
758a4820f8bd25ef6ad0edbd5a4efbaaa410ae08
718208c4d8e6752bbe8d66a209e6d7446c81d139
refs/heads/master
2020-04-05T07:12:03.790358
2018-11-08T07:17:22
2018-11-08T07:17:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ 查找节点 例:淘宝""" """ find_element_by_id find_element_by_name find_element_by_xpath find_element_by_link_text find_element_by_partial_link_text find_element_by_tag_name find_element_by_class_name find_element_by_css_selector """ from selenium import webdriver # 首先初始化启动浏览器 ...
[ "710567585@qq.com" ]
710567585@qq.com
2d6e5f19e61795d94a3b817b0a1f16c5256a54de
f2da63de512183804290bfcabfa60eaca3649e05
/projects/StatCan/non-probability/handcraftsman/chap03/code/dtree.py
0f015898b2acb2e4ed655a7df2ecca353250e4b5
[]
no_license
paradisepilot/statistics
a94bb57ebe453d49c06815c523e8f633423cb68e
50daf644baca1f40253edf91083ed42d4c5f9342
refs/heads/master
2022-07-25T16:19:07.751886
2022-06-26T21:18:38
2022-06-26T21:18:38
5,012,656
0
2
null
2019-04-22T06:52:55
2012-07-13T01:11:42
HTML
UTF-8
Python
false
false
9,345
py
# File: dtree.py # from chapter 3 of _Tree-based Machine Learning Algorithms_ # # Author: Clinton Sheppard <fluentcoder@gmail.com> # Copyright (c) 2017 Clinton Sheppard # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # You may obt...
[ "paradisepilot@gmail.com" ]
paradisepilot@gmail.com
2eff427266939ed01872e9d20210444fb49759ed
7966fa31437cc8a539621a5a0642ce24c1c9de50
/PycharmProjects/segmentTree/sgrTree.py
29d3a3b49750c8b91cbbe7e14c980ac9783aa1fe
[]
no_license
crystal30/DataStructure
4f938508f4c60af9c5f8ec5520d5acedbe2dc90e
c55b0cfd2967a2221c27ed738e8de15034775945
refs/heads/master
2021-06-25T17:49:03.048853
2021-01-22T00:37:04
2021-01-22T00:37:04
192,374,326
0
0
null
null
null
null
UTF-8
Python
false
false
2,804
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class SegTree(): def __init__(self, data): self.__data = data self.__tree = [None]*len(data)*4 def getSize(self): return len(self.__data) def getIndex(self, index): return self.getIndex(index) # 左孩子节点 def __leftChild...
[ "zhao_crystal@126.com" ]
zhao_crystal@126.com
f849478cc7761ac222d66b2215c09ce091a114d9
6a0a634265957e9dcd26bc80e3304e107fb004d0
/venvflask/lib/python3.7/site-packages/flask_restful/reqparse.py
7c33f143a5e14cbfd098613fad892829efa31f54
[]
no_license
ogutiann/PythonEthereumSmartContracts
8bd81aa14eab567d41b5dad74b67aba92a405ebd
d870e9fd1c7f68b8493db4c2b2af224f966d8e51
refs/heads/master
2023-01-04T14:23:12.396898
2020-10-29T12:12:46
2020-10-29T12:12:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,660
py
from copy import deepcopy try: from collections.abc import MutableSequence except ImportError: from collections import MutableSequence from flask import current_app, request from werkzeug.datastructures import MultiDict, FileStorage from werkzeug import exceptions import flask_restful import decimal import six...
[ "sijoythomas@pop-os.localdomain" ]
sijoythomas@pop-os.localdomain
f16a59cbded9413a22d9a9d7d5816f14d3b4749e
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005112.py
f6ccb551e9b49171345708249fe74b4524d23c9a
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,369
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
07684dae8331e4090c1d7c0b30f6d7355bdf19e3
0a3627e849caf21a0385079dea5bf81d4a281b72
/ret2win32/pwngetshell.py
b3855cdd460b10fec5f32763e9e33a89877fc403
[]
no_license
surajsinghbisht054/ROP-Emporium-walkthrough-collection
7e0b3e4aadb4bf4a901c3788fe9fe8a56d047f0d
4e9ac3f732c6af5ae5fd65e6ca7e3964fc8a3790
refs/heads/master
2020-04-14T13:45:04.356322
2019-01-02T19:01:39
2019-01-02T19:01:39
163,877,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,283
py
#!/usr/bin/python from struct import pack import pwn # ================================================== # Usages: (python exp.py; cat) | ./binaryName # ================================================= #+ ------------------------------------------------------------------ + #= +-------------------------------------...
[ "surajsinghbisht054@gmail.com" ]
surajsinghbisht054@gmail.com
c6a7fbd32d85a9e5f274cc76bf525b7c4eb7bf77
33febf8b617ef66d7086765f1c0bf6523667a959
/probpy/distributions/uniform.py
3b06514b722dc180d8f041489b3cc970add316b3
[]
no_license
JonasRSV/probpy
857201c7f122461463b75d63e5c688e011615292
5203063db612b2b2bc0434a7f2a02c9d2e27ed6a
refs/heads/master
2022-07-07T06:17:44.504570
2020-04-15T14:52:20
2020-04-15T14:52:20
245,820,195
1
0
null
null
null
null
UTF-8
Python
false
false
5,578
py
import numpy as np import numba from typing import Tuple from probpy.core import Distribution, RandomVariable, Parameter class Uniform(Distribution): """Uniform Distribution""" a = "a" b = "b" @classmethod def med(cls, a: np.float = None, b: np.float = None) -> RandomVariable: """ ...
[ "jonas@valfridsson.net" ]
jonas@valfridsson.net
7918ac56d5849d5397eee17e699ba9a45cf94e5f
b2c896ca9f2acb81115708ce6cf8d01396e71a18
/capybara/tests/session/element/test_matches_selector.py
ff60142d44cd19b211832859a9ff8d2200284aea
[ "MIT" ]
permissive
elliterate/capybara.py
b846f3cb1a712a120361849b378d437775c2c6db
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
refs/heads/master
2023-08-16T13:56:51.506840
2022-01-16T18:04:22
2022-01-16T18:04:22
64,620,050
63
22
MIT
2022-01-16T18:04:23
2016-07-31T23:02:18
Python
UTF-8
Python
false
false
3,002
py
import pytest import capybara class MatchesSelectorTestCase: @pytest.fixture(autouse=True) def setup_session(self, session): session.visit("/with_html") @pytest.fixture def element(self, session): return session.find("//span", text="42") class TestMatchesSelector(MatchesSelectorTes...
[ "ian@elliterate.com" ]
ian@elliterate.com
e7d128e1500aba2f7670ba59a46061cdec915f47
069d2985895eefe33454e57ff2d85b9fa8aa7fa0
/run.py
df4f5781aa2fc97d2b52b3f42b8ed9f9d8363f45
[]
no_license
KIRA009/formbuilder
8a6dd2949b42560f3b7cbad4b2c00e32e09ff55f
880fdbe211d80c31870dd8da84e376de9598b738
refs/heads/master
2023-02-05T16:42:08.806984
2019-07-02T18:34:05
2019-07-02T18:34:05
194,048,846
1
1
null
2023-02-02T06:32:31
2019-06-27T07:52:40
JavaScript
UTF-8
Python
false
false
253
py
from app_builder import build_app import os ROOT_DIR = os.getcwd() app, db, migrate, login_manager = build_app(app_name=__name__, env_path=ROOT_DIR + '\.env', config_env='SETTINGS') from myapp.views import * if __name__ == '__main__': app.run()
[ "shohanduttaroy99@gmail.com" ]
shohanduttaroy99@gmail.com
413ca2abc71b33a69400411278b07e243fbf15a8
e4910c4b436223859d91f3569cadafa69a3c777b
/src/racecar/scripts/keyboard.py
c8c26dd85a147588db69800067b55328e93f0960
[ "BSD-3-Clause" ]
permissive
pmusau17/F1TenthHardware
81ae6870e15c1fe39a1f386b8bcfaa653bf2675c
3ae3ab1cedd89e56db2fbabe24f1c6a79d3553d9
refs/heads/master
2023-04-01T09:02:12.635614
2021-04-07T16:34:17
2021-04-07T16:34:17
298,356,593
3
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
#!/usr/bin/env python import rospy from racecar.msg import drive_param from ackermann_msgs.msg import AckermannDriveStamped import sys, select, termios, tty keyBindings = { 'w':(1,0), 'd':(1,-1), 'a':(1,1), 's':(-1,0), } def getKey(): tty.setraw(sys.stdin.fileno()) select.select([sys.stdin], [], [],...
[ "pmusau13ster@gmail.com" ]
pmusau13ster@gmail.com
06c5cd504516c90e7f07c7a903062d100667cc1e
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
6fbe31daac48d0626acb4efdd44a3050c975ead4
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
5,738
py
# Copyright (c) 2013 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. import os import sys from py_vulcanize import module from py_vulcanize import strip_js_comments from py_vulcanize import html_generation_controller de...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
1132547772e06d6b2ee93fee62cd3605b759ec0c
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/BindingMap.py
686d18be3c7071d131cd785f06980c6c9a4a0c07
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
4,051
py
class BindingMap(DefinitionBindingMap,IDisposable,IEnumerable): """ The parameters BindingMap contains all the parameter bindings that exist in the Autodesk Revit project. """ def Clear(self): """ Clear(self: BindingMap) This method is used to remove all the items in the map. """ pass def Contains(se...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
45ae02db652e3be0161f27e1c06dc8c4cd2cc2e5
11398875e4f5cbcadc1747e73049dc99bca26908
/06-time/time-01.py
7f952d5930c3c2ef4b13a8eec60178b112e90857
[]
no_license
asvkarthick/LearnPython
37910faab5c4a18d6e08eb304ca1da9649e5b18f
258e8c567ca3c8802d5e56f20b34317eba4c75f3
refs/heads/master
2021-06-23T06:30:46.681369
2021-06-11T19:35:40
2021-06-11T19:35:40
149,719,196
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
#!/usr/bin/python # Author: Karthick Kumaran <asvkarthick@gmail.com> import time print('Sleeping for 2 seconds') time.sleep(2) print('Done')
[ "asvkarthick@gmail.com" ]
asvkarthick@gmail.com
83774ee8ba86d36addb91c1a11753509b4785fd5
16a2ac198a36d7633c62d41f4604356cd0ae732e
/Au-public-master/iron/utilities/rename_to_pacbio.py
7b73810b42d4d374c9af78099e87739af78271c2
[ "Apache-2.0" ]
permissive
Dingjie-Wang/Manual-for-running-IDP-pipeline
f433ba5b0dbd44da5a9d8836b3e29a27e12a48c4
6c2756e10184f0b8f0e5872a358378e90f1729b0
refs/heads/master
2021-06-29T04:02:56.741203
2020-12-07T17:39:05
2020-12-07T17:39:05
201,325,604
1
7
null
null
null
null
UTF-8
Python
false
false
1,878
py
#!/usr/bin/python import sys,argparse from SequenceBasics import FastaHandleReader, FastqHandleReader def main(): parser = argparse.ArgumentParser() parser.add_argument('input',help="Use - for STDIN") group = parser.add_mutually_exclusive_group(required=True) group.add_argument('--fasta',action='store_true') ...
[ "wan251@osumc.edu" ]
wan251@osumc.edu
fdc482ebab30deb95941025999cd0e9ef8238969
b6cf41b1eadb6571e30998712da651ec62db07ad
/Gui/TextEdit.py
ceb67896e0bb84b333873a5b082f3dbedb16f3f7
[]
no_license
fdanesse/CoralEditor
8d1949ff86af61d44d573d544a3b76dbc182b5d4
e42239f75ee921c99d13e60758b32ca5862c303f
refs/heads/master
2021-08-14T07:14:19.203753
2017-11-15T00:06:11
2017-11-15T00:06:11
107,883,737
0
0
null
null
null
null
UTF-8
Python
false
false
6,380
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import os from PyQt5.QtCore import Qt from PyQt5.QtCore import QEvent from PyQt5.QtWidgets import QPlainTextEdit from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import QPalette from PyQt5.QtGui import QColor from PyQt5.QtGui import QFont from PyQt5.QtGui import Q...
[ "fdanesse@gmail.com" ]
fdanesse@gmail.com
2cbcad6a307bd6d1b5101f9e5781d7caaa236d91
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC1087.py
70d9c4bc57bcaa206e68809763018b4b54d22d38
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,454
py
# qubit number=5 # total number=50 import cirq import qiskit from qiskit import IBMQ from qiskit.providers.ibmq import least_busy from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from ma...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7620c16b70a5011be660188673a3d70cf943f517
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/4_set/6265. 统计相似字符串对的数目-frozenset.py
a37db3b54e7eb3a906c7279c7abccaff4e9548a7
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
786
py
from typing import List from collections import Counter # 给你一个下标从 0 开始的字符串数组 words 。 # 如果两个字符串由相同的字符组成,则认为这两个字符串 相似 。 # 例如,"abca" 和 "cba" 相似,因为它们都由字符 'a'、'b'、'c' 组成。 # 然而,"abacba" 和 "bcfd" 不相似,因为它们不是相同字符组成的。 # 请你找出满足字符串 words[i] 和 words[j] 相似的下标对 (i, j) ,并返回下标对的数目,其中 0 <= i < j <= word.length - 1 。 c...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
8ba8ac218525fe114aef069e508dbd337d9c8b19
eeeba145ae4b6df7b5d95cc70d476a01dba6c5fe
/PythonStudy/func_test/lambda_test.py
52286c0eb1edd88d86870e484d66ce35fd90a1e7
[]
no_license
liujinguang/pystudy
0ceb58652777f99d4cfe3e143ff11ea44c7e3a74
d2e4366cfd5e74197fc9ec560eb50dbd508cbcc2
refs/heads/master
2020-12-23T13:11:42.556255
2017-06-28T13:03:26
2017-06-28T13:03:26
92,559,516
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
#/usr/bin/python # -*- coding: UTF-8 -*- ''' Created on 2017年5月31日 @author: bob ''' def multipliers(): return [lambda x : i * x for i in range(4)] print [m(2) for m in multipliers()] def multipliers_v1(): for i in range(4): yield lambda x: i * x print [m(2) for m in multipliers_v1()] if __...
[ "jinguang.liu@qq.com" ]
jinguang.liu@qq.com
d31988b13f42acd2ad1577ce07a0b7e8506e7ce8
925dc0d981391e4538401a7af88fcac25921ccab
/emission/net/api/metrics.py
20e6b0f9fd1e9cee84bd6847b0c0a85cce6b0ff9
[ "BSD-3-Clause" ]
permissive
gtfierro/e-mission-server
0e75742301b3de8d8dd71e6bc3a6e7c0bfe48ee7
b10c5da080b741b28eccf8cb7413ace3063eaaac
refs/heads/master
2021-01-19T11:58:24.441986
2016-09-30T09:00:54
2016-09-30T09:00:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
import logging import emission.analysis.result.metrics.time_grouping as earmt import emission.analysis.result.metrics.simple_metrics as earms def summarize_by_timestamp(user_id, start_ts, end_ts, freq, metric_name): return _call_group_fn(earmt.group_by_timestamp, user_id, start_ts, end_ts, ...
[ "shankari@eecs.berkeley.edu" ]
shankari@eecs.berkeley.edu
9c263e0f31066de90cfb7168e44d3f1faaff0d99
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/ios/chrome/browser/flags/DEPS
458d0f02f4f533615b90bc6bce32a1ece69f84f1
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
405
specific_include_rules = { # Flag list can depends on everything. "^about_flags.mm": [ "+ios/chrome/browser", ], "^ios_chrome_field_trials.mm": [ "+ios/chrome/browser/variations", "+ios/chrome/browser/ui/content_suggestions", "+ios/chrome/browser/ui/first_run", "+ios/chrome/browser/ui/ntp", ...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
865e42f9823db183fe0a661b7ee6ecce678f9a25
ae411ea0e0c373d18681d707800995264379be25
/mic.py
df6a5aaf7b2e2a2e146caccea681f70963c889f7
[]
no_license
Symfomany/tensor
22ad4b0710d705d1ec47e3512431c2ca74ca3948
2b8471f7aab6a7a234bd89942118bbadf4058352
refs/heads/master
2022-12-21T14:53:03.349221
2019-02-21T10:39:31
2019-02-21T10:39:31
171,100,643
0
0
null
2022-12-09T13:17:30
2019-02-17T08:51:46
Jupyter Notebook
UTF-8
Python
false
false
4,912
py
#!/usr/bin/env python import pyaudio import struct import math import time,sys import threading INITIAL_TAP_THRESHOLD = 0.010 FORMAT = pyaudio.paInt16 SHORT_NORMALIZE = (1.0/32768.0) CHANNELS = 1 RATE = 16000 INPUT_BLOCK_TIME = 0.05 INPUT_FRAMES_PER_BLOCK = int(RATE*INPUT_BLOCK_TIME) OVERSENSITIVE = 15.0/INPUT_B...
[ "you@example.com" ]
you@example.com
2975fada24e5de6073f3665b576d5bfed9ad8568
17c280ade4159d4d8d5a48d16ba3989470eb3f46
/16/data/ExoDiBosonResonances/EDBRTreeMaker/test/7.py
78cf2c490288af70a24998316d1b5ba736dd0d07
[]
no_license
chengchen1993/run2_ntuple
798ff18489ff5185dadf3d1456a4462e1dbff429
c16c2b203c05a3eb77c769f63a0bcdf8b583708d
refs/heads/master
2021-06-25T18:27:08.534795
2021-03-15T06:08:01
2021-03-15T06:08:01
212,079,804
0
2
null
null
null
null
UTF-8
Python
false
false
27,621
py
import FWCore.ParameterSet.Config as cms process = cms.Process( "TEST" ) #process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True)) process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True),allowUnscheduled=cms.untracked.bool(True)) #, # SkipEvent = cms.untracked.vstring('P...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
b956a071a1cd830747a03be5cfbe515c771eb205
5eba0ee342adf574664ef2c5b2a9787f28ad9e4a
/core/utils/auth.py
35059117c9a7332bc93e926280bf0e24a81a7e90
[]
no_license
nagibator95/ejudge-front
2775875bd8d8367674b3c5c372b5fafa77167aac
ca355f473702561047da030b7d4a12af06539395
refs/heads/master
2020-04-10T06:59:53.873278
2018-12-20T20:15:36
2018-12-20T20:15:36
160,870,700
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
from flask import request from werkzeug.exceptions import Forbidden def get_api_key_checker(key) -> callable: """ Function which returns function which checks request api key Basic usage: app = Flask() app.before_request(get_api_key_checker(<my-secret-string>)) Raises ------ ...
[ "n.pakhtusov@tinkoff.ru" ]
n.pakhtusov@tinkoff.ru
9ac19c4aea106efafa3ec76b9113214d59ee531f
d20d7d0887e044cb369687629eee04d03bc6ac15
/grano/logic/projects.py
cc54f580a84a76c3afff8ddffdeb95bdd13d3aa3
[ "MIT" ]
permissive
nimblemachine/grano
947812bdd2a861e7d62bd081423df2723891989a
ffbd3f974867334d396d536bd000a20a314f9fc6
refs/heads/master
2021-01-18T11:24:51.750426
2014-03-24T10:39:35
2014-03-24T10:39:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
import colander from datetime import datetime from grano.core import app, db, url_for from grano.lib.exc import NotImplemented from grano.logic.validation import database_name from grano.logic.references import AccountRef from grano.logic import accounts from grano.model import Project def validate(data, project): ...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
2a7f70925be3844266a29d8d9c3d9824794a0c0f
dfab6798ece135946aebb08f93f162c37dd51791
/core/luban/controller/Actor.py
8452c92ace1f56996ae2ccc29b60f307a6a30f4f
[]
no_license
yxqd/luban
405f5f7dcf09015d214079fe7e23d644332be069
00f699d15c572c8bf160516d582fa37f84ac2023
refs/heads/master
2020-03-20T23:08:45.153471
2012-05-18T14:52:43
2012-05-18T14:52:43
137,831,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
5bcff8ae4c42c2bafb1c80881769ed67f44ea8e9
f2889a13368b59d8b82f7def1a31a6277b6518b7
/256.py
d94465af0b09e0a288eb3073779e9c08ea3bc589
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
452
py
# ref: https://discuss.leetcode.com/topic/21337/1-lines-ruby-python class Solution(object): def minCost(self, costs): """ :type costs: List[List[int]] :rtype: int """ prev = [0] * 3 for now in costs: prev = [now[i] + min(prev[:i] + prev[i + 1:]) for i in...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
0df69e3db7af12577fa662d3a36c94d62a749ea6
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/257.py
de9a0c8a3c1cbc818b3466259db95a34a7020459
[ "MIT" ]
permissive
jxhangithub/leetcode
5e82f4aeee1bf201e93e889e5c4ded2fcda90437
0de1af607557d95856f0e4c2a12a56c8c57d731d
refs/heads/master
2022-05-22T12:57:54.251281
2022-03-09T22:36:20
2022-03-09T22:36:20
370,508,127
1
0
MIT
2022-03-09T22:36:20
2021-05-24T23:16:10
null
UTF-8
Python
false
false
678
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def binaryTreePaths(self, root: TreeNode) -> List[str]: def dfs(node, arr): if not node.right and not node.left: ...
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
3fbb4786ff15759eb93e82bc5ad3d7e00e55e2b8
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/quest/DialogProcess.py
dd929c9b374131c5d5005f5d444192c13516197e
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
17,677
py
from direct.showbase.PythonUtil import makeTuple from pirates.piratesbase.PythonUtil import POD from direct.showbase.DirectObject import DirectObject from direct.interval.IntervalGlobal import * from direct.gui.DirectGui import * from pandac.PandaModules import * from pirates.piratesgui import PiratesGuiGlobals from pi...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
d22cf8a285c59ddf0e21693168cc10d8de3a8edf
0729155365ebd2e8761068bda78060f0c2d6e6a7
/Class And Object Programs/3__Calculate the Area and Perimeter of Circle Using The Class.py
412cc99095898ee61f62e70e3823075e3ba7c024
[]
no_license
mukeshrock7897/Class-And-Object-Programs
a0ce41b19ebdd87bb037ca742069f98c59c21847
a6cf378ab4c5a3d95a46867b5414b44955838782
refs/heads/master
2020-04-24T05:04:53.234277
2019-02-20T18:10:25
2019-02-20T18:10:25
171,724,815
2
0
null
null
null
null
UTF-8
Python
false
false
378
py
import math class Circle: def __init__(self,radius): self.radius=radius def area(self): return math.pi*(self.radius**2) def perimeter(self): return 2*math.pi*self.radius radius=int(input("Enter The Radius Of Circle::")) obj=Circle(radius) print("Area Of Circle::",round(obj.area(),2)...
[ "mukeshrock7897@gmail.com" ]
mukeshrock7897@gmail.com
e0004b0b6df60bd3030ff004ed0bbefc869e38b4
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/minimum-string-length-after-removing-substrings.py
48bab73ecbf57ba9c36b9cfb91378585932a9056
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
381
py
# Time: O(n) # Space: O(n) # stack class Solution(object): def minLength(self, s): """ :type s: str :rtype: int """ stk = [] for c in s: if stk and ((stk[-1] == 'A' and c == 'B') or (stk[-1] == 'C' and c == 'D')): stk.pop() ...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
606477f67edd3313746f9af6bd76d0bcc0b0f20d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_salaams.py
1de6f8529dce67507995a11f6402f5e970de1ab1
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#calss header class _SALAAMS(): def __init__(self,): self.name = "SALAAMS" self.definitions = salaam self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['salaam']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e0a001fca791b06a772558c84bf3d8c100a2c4dd
ba3a705ecb3628641793854292aa9a3ff8fc1221
/10_API/FlaskIntroduction/app.py
0a23ab3144d2a8d92dd00599475768d8da80d806
[]
no_license
mortenhaahr/NGK
d98ada8d63a07ea6447768ab6a23ad1346634b56
a9e89afb452dd7953cba4403b4e8bc2c0ff2ba1e
refs/heads/master
2022-07-01T20:39:02.063251
2020-05-11T15:40:26
2020-05-11T15:40:26
242,725,171
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
from flask import Flask, render_template, url_for, request, redirect from flask_sqlalchemy import SQLAlchemy from datetime import datetime app = Flask(__name__) #__name__ = filename app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db' # 3 forward slashes for relative path db = SQLAlchemy(app) # Pass in app to d...
[ "you@example.com" ]
you@example.com
393267ba2fca5a36bba7334d69ab49829c14bc68
84d84096b413e84f502468a2985780a3005457a1
/api/orders/views.py
1daaf6e39ac7835363150b9c1afaa1afd0c60dcf
[ "MIT" ]
permissive
joeltio/np-train
0fd28fe45bdc9c29aee99819ca07798392e13fd1
dc852321b674be3ddc1d1c0dd4eff694825d02fa
refs/heads/master
2020-04-14T18:56:57.714933
2019-01-10T01:58:09
2019-01-10T01:58:09
164,039,036
0
0
null
null
null
null
UTF-8
Python
false
false
4,984
py
import json from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST from orders.models import Order import base.helpers as base_helpers @csrf_exempt @require_POST def uncompleted_order(request): # Get the latest uncompleted order order = Order.objects.filte...
[ "joeltiojinhon@gmail.com" ]
joeltiojinhon@gmail.com
3dcadaa240a921e97bab29a8008a1b83bac8c93d
f3081f31875dc539529d1ef24a6ddedbb1cd5ad3
/website_sale/tests/test_website_sale_cart_recovery.py
ac597616882ce66ce7ca4ffa447974a46ef75571
[]
no_license
babarlhr/human_website_13
5ef144c65c8eb268b40c144e0073d8d2084014ed
e9d68d29959a7df3f56eadebe413556b11957ace
refs/heads/master
2022-11-06T09:02:17.301645
2020-06-21T10:32:16
2020-06-21T10:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,475
py
# -*- coding: utf-8 -*- # Part of Eagle. See LICENSE file for full copyright and licensing details. from eagle.tests import tagged from eagle.tests.common import HttpCase, TransactionCase @tagged('post_install', '-at_install') class TestWebsiteSaleCartRecovery(HttpCase): def test_01_info_cart_recovery_tour(self...
[ "rapidgrps@princegroup-bd.com" ]
rapidgrps@princegroup-bd.com
51a07e0d65cb1b371d2bd13a78da51bcdb23a186
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_OSPF/test_c140943.py
12482ba174a604d783884977f16e6d32bb34b597
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_ospf import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * from page_ob...
[ "15501866985@163.com" ]
15501866985@163.com
5d635a8b03cfb360411bed2715e152f9905483f0
399dae0b5ad9ca27cde175d25b5435958674eb50
/Script Monitors/Generates Alert if Windows Update is not Downloaded for 60 Days/generates-alert-if-windows-update-is-not-downloaded-for-60-days.py
1cf0fac3bd8feb56d27fbdf8ec5719d79ccc253a
[]
no_license
kannanch/pythonscripts
61e3ea9e8ebf6a6b0ec2a4a829664e4507b803ba
843a522236f9c2cc2aadc68d504c71bb72600bd9
refs/heads/master
2020-06-12T11:18:00.404673
2019-06-28T11:24:37
2019-06-28T11:24:37
194,282,297
1
0
null
2019-06-28T13:55:56
2019-06-28T13:55:56
null
UTF-8
Python
false
false
2,778
py
# The script is a template to check UAC status on device. import os import sys import _winreg def alert(arg): sys.stderr.write("%d%d%d" % (arg, arg, arg)) vbs=r''' Set objSession = CreateObject("Microsoft.Update.Session") Set objSearcher = objSession.CreateUpdateSearcher Set colHistory = objSear...
[ "noreply@github.com" ]
kannanch.noreply@github.com
c2321c30432183d23b15ae143923eaf6ad07ae89
7cdb18e0a7ef01a34ec602bb31aa915c482fcd24
/hujian_api/API_service/Course/c_class.py
3025bce96eba7f43eb8eea3acbd91dd212fd1b56
[]
no_license
wangdan377/Python_API
6adac56974f9c6af238895a3101db0e3f0667ba1
38b31d4d02740d359a7e47fb3a3975045f00288e
refs/heads/master
2023-02-18T14:39:03.009815
2021-01-20T12:59:52
2021-01-20T12:59:52
311,855,608
0
1
null
null
null
null
UTF-8
Python
false
false
2,712
py
import pytest import allure import requests import json import time import random from Common import Post from Common import Get from Common import Assert from Common import Consts class Editor_filter: #登录 def filter_00(self): sessionX = requests.session() post_req = Post.Post() ass = Ass...
[ "1065913054@qq.com" ]
1065913054@qq.com
72a060428592795437ae3329b7ec56762c28a05b
7275f7454ce7c3ce519aba81b3c99994d81a56d3
/Programming-Collective-Intelligence/ch07/main.py
cea965bec22a5c20cdc4081bc9c0948547ffe229
[]
no_license
chengqiangaoci/back
b4c964b17fb4b9e97ab7bf0e607bdc13e2724f06
a26da4e4f088afb57c4122eedb0cd42bb3052b16
refs/heads/master
2020-03-22T08:36:48.360430
2018-08-10T03:53:55
2018-08-10T03:53:55
139,777,994
0
1
null
null
null
null
UTF-8
Python
false
false
1,135
py
import treepredict # main function # print('<----DivideSet---->') # for item in treepredict.divideset(treepredict.my_data, 2, 'yes'): # print(item) # print('\n<----Build and Display the Tree---->') tree = treepredict.buildtree(treepredict.my_data) treepredict.printtree(tree) # # print('\n<----Graphical Display----...
[ "2395618655@qq.com" ]
2395618655@qq.com
ada9eb0e3ce075ebc01f1203fd530aaf833dafc4
4bdb8e324a833c10380bb7b1f436d1e9629c873c
/Ekeopara_Praise/Phase 1/Python Basic 1/Day2 Tasks/Task 5.py
1d1d5cde955ffa3a4b7be09d0ba0fa45cd7803f2
[ "MIT" ]
permissive
dreamchild7/python-challenge-solutions
e3831a57447f6132dd098be8b941cc27db92ace2
29e2ca780e86fc8a3e9d4def897c26bfa6d6493d
refs/heads/master
2022-11-08T17:23:57.763110
2020-06-19T08:38:20
2020-06-19T08:38:20
263,923,130
0
0
MIT
2020-05-14T13:29:33
2020-05-14T13:29:32
null
UTF-8
Python
false
false
253
py
#5. Write a Python program which accepts the user's first and last name and print them in reverse order with a space between them. f_name = str(input("Enter your first name: ")) l_name = str(input("Enter your last name: ")) print(f"{l_name} {f_name}")
[ "60721962+Ekeopara-Praise@users.noreply.github.com" ]
60721962+Ekeopara-Praise@users.noreply.github.com
186c553da83db53ac91681c5d1650c41cc85b315
c4702d1a06640555829b367852138cc93ba4a161
/dym_work_order/report/dym_work_order_wip_report.py
5f8b0c3e31094e8bc280dd6611091fac61612f93
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
2,475
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "rizal@portcities.net" ]
rizal@portcities.net
753ad43022f7a3191bb72fa131af59d5a1d65fe8
b92fb53a2bebb8fd534258666b5ac9b9703af44b
/backend/home/migrations/0002_load_initial_data.py
64a22060ef08f587e02ba57b0fdf868eb35edced
[]
no_license
crowdbotics-apps/my-books-17969
7d017780d7c51210820d153dcab35e1196cb9652
3f4f66c998bce11289b1fd2bdd74d2cf769cc2f0
refs/heads/master
2022-10-07T11:09:54.346439
2020-06-09T18:14:21
2020-06-09T18:14:21
271,076,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "My Books" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com