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
22c9bd34bc65eeaa2531ecd17303521ed2520d03
abd7504f6562babf79fb4e86af7529b2cb40fb54
/pkg/p2/algebraic/Composite.py
f7484bcffe062e091103b6467f18fc30e7da1383
[]
no_license
aivazis/p2
266c1728554b3f7a89e72f09ba2d9e5ff8d4447d
fd9a82d7dafa815dd68f679eb2b4b1a6287d02ea
refs/heads/main
2022-01-08T12:45:16.646028
2022-01-01T17:31:10
2022-01-01T17:31:10
225,452,981
2
0
null
null
null
null
UTF-8
Python
false
false
5,458
py
# -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2022 all rights reserved class Composite: """ Mix-in class that provides an implementation of the subset of the interface of {Node} that requires traversal of the expression graph rooted at nodes with dependencies. ...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
25b84c72c3109809a8cb05a72d74a669ff8fe826
4059573793d0ee5b74c9dd919aa2945dad2fe426
/Searching Algorithms/binary_search.py
4d3d525420e9d3930077f4a8fae78ac7b8ab65cb
[]
no_license
nayanika2304/DataStructuresPractice
04ea6d9248a63983abdd2b983632ba5907eed9d4
f3c815ff113ce3977cc743360b77fb21c9f9b383
refs/heads/master
2022-12-08T05:28:22.897414
2020-08-29T18:17:57
2020-08-29T18:17:57
282,513,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
''' Compare x with the middle element. If x matches with middle element, we return the mid index. Else If x is greater than the mid element, then x can only lie in right half subarray after the mid element. So we recur for right half. Else (x is smaller) recur for the left half. ''' # Python3 Program for recursive bi...
[ "nayanikabhargava1993@gmail.com" ]
nayanikabhargava1993@gmail.com
85b3990a7902a3249be40266a3a934ab4f52f997
9cc6721acb439db2e7cff8eb4dbff4b6e14040d5
/코딩테스트(책)/problems/3.dfs_bfs/6.감시피하기_x.py
44a193abe9ce52b0c1122ad0e432887afc033494
[]
no_license
young31/Algorithm
35c6ec6b6d9b192f9d0e6e6f6484f33c92100232
bfcccfa798d031a930490efa24d9b2263bd4b984
refs/heads/master
2021-11-04T14:01:53.827508
2021-10-25T06:35:24
2021-10-25T06:35:24
196,034,851
0
3
null
null
null
null
UTF-8
Python
false
false
2,864
py
# input n1 = 5 arr1 = [ [0, 1, 0, 0, 2], [2, 0, 1, 0, 0], [0, 0, 0, 0, 0], [0, 2, 0, 0, 0], [0, 0, 2, 0, 0] ] n2 = 4 arr2 = [ [1, 1, 1, 2], [0, 0, 0, 0], [0, 0, 0, 0], [2, 2, 2, 0] ] # answer: yes # algo def search(arr, x, y, move): n = len(arr) res = [] is_T = False ...
[ "migael38317@gmail.com" ]
migael38317@gmail.com
1921e361eac11d34257a95c03ac18db950c86452
ac99fc4c74c6306cf23ebc3ddbcbd992b985387d
/tests/myapp/settings.py
55161837d3bbd70265ce48e2ae0356a77b458656
[ "MIT" ]
permissive
jamalex/django-nested-intervals
d7f010d13abd28efd0867fa683bfded04fb91931
b2d80db554762e95b24c7b08217e5bcbed8f40b7
refs/heads/master
2020-03-28T07:31:37.486839
2018-09-09T21:14:06
2018-09-09T21:14:06
147,907,242
5
1
null
null
null
null
UTF-8
Python
false
false
1,336
py
from __future__ import unicode_literals import os import django DIRNAME = os.path.dirname(__file__) DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite3' } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.c...
[ "jamalex@gmail.com" ]
jamalex@gmail.com
5be62ca99e20643780c83602ab8fb32b229abe89
5f0eeef355fa84b165d4e0707e8874755cc03259
/chp03_oscillation/NOC_3_09_wave_b/NOC_3_09_wave_b.pyde
b43cee586b23ca1e67378fd57b2a37121536b205
[]
no_license
kidult00/NatureOfCode-Examples-Python
5835fbed114f3991b9986852f31d29a0a46d7e53
42461590deebbe305d5815ff0d207ff974335ad5
refs/heads/master
2021-05-11T04:47:53.999705
2018-03-07T15:54:12
2018-03-07T15:54:12
117,946,895
0
0
null
null
null
null
UTF-8
Python
false
false
507
pyde
# The Nature of Code - Python Version # [kidult00](https://github.com/kidult00) def setup(): size(250, 200) smooth() global startAngle, angleVel startAngle = 0.0 angleVel = 0.2 def draw(): background(255) stroke(0) fill(0, 50) strokeWeight(2) global startAngle, angleVel ...
[ "sysulj@gmail.com" ]
sysulj@gmail.com
3ec8cdf29f18ab3b98ea97b5e714e0b0770ed1e6
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/lib/request/direct.py
dab662acd830c943a6bb530956ff9115e04cb2cb
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import time from extra.safe2bin.safe2bin import safecharencode from lib.core.agent import agent from lib.core.common import Backend from lib.core.common import calculateDelta...
[ "everping@outlook.com" ]
everping@outlook.com
02d13497a04ea06e5cf6152aa3aec22d52d7d007
71764665e27f4b96bab44f38a4a591ffc2171c24
/hhplt/productsuite/gs11/board.py
7b57cb91d2ffc0019bfb0e4228b477749d1fc2ba
[]
no_license
kingdomjc/RSU_production_VAT
693f8c504acc0cc88af92942734ccb85f7e7d7c0
9a3d6d3f5a5edfaf30afdff725661630aafe434c
refs/heads/master
2020-07-31T05:03:46.699606
2019-09-24T02:09:53
2019-09-24T02:09:53
210,491,514
0
0
null
null
null
null
UTF-8
Python
false
false
14,791
py
#encoding:utf-8 u"单板测试,包括单板数字测试及射频测试。单板正常放置在夹具上,按下开始按钮进行测试" suiteName = u'''单板测试''' version = "1.0" failWeightSum = 10 #整体不通过权值,当失败权值和超过此,判定测试不通过 from hhplt.productsuite.gs11 import board_digital,board_rf_conduct from hhplt.testengine.testutil import multipleTest,checkBySenser from hhplt.deviceresource import askF...
[ "929593844@qq.com" ]
929593844@qq.com
82942fcabae1643320272fa31c19c206e0b8e146
f6db8d85a3b41eed543959314d65927353a8229c
/.history/W5/mapsafood/settings_20201202154801.py
dd4788e75db51881d2911e9cc646c3ed5af86df3
[]
no_license
NFEL/DjangoPaeez99
d573cc8e36500f08bc104d76f7a2628062d86c2f
621636bfb47d71f2a4f45037b7264dd5ebc7cdd7
refs/heads/main
2023-01-27T22:05:57.788049
2020-12-08T10:08:28
2020-12-08T10:08:28
304,553,353
1
2
null
2020-10-16T07:33:04
2020-10-16T07:33:03
null
UTF-8
Python
false
false
3,954
py
""" Django settings for mapsafood project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "nfilsaraee@gmail.com" ]
nfilsaraee@gmail.com
c8059431cc04d65e1bcc582461b779c051f7c2d4
5d2bc0efb0e457cfd55a90d9754d5ced9c009cae
/venv/lib/python2.7/site-packages/ibm_db_dbi.py
c83e13b87927c0a7203b0952875b5b9c305de8c9
[]
no_license
michaelp1212/paxton
dafe08eca55557d036189d5242e47e89ec15bf2d
0bd1da471c3a594c0765a4bc5cd1288404791caf
refs/heads/master
2021-03-25T07:17:06.523340
2020-03-19T01:38:24
2020-03-19T01:38:24
247,598,121
0
0
null
null
null
null
UTF-8
Python
false
false
63,583
py
# +--------------------------------------------------------------------------+ # | Licensed Materials - Property of IBM | # | | # | (C) Copyright IBM Corporation 2007-2015 | ...
[ "smartwebdev2017@gmail.com" ]
smartwebdev2017@gmail.com
2f8e37dec004ca49835f8b8bc04602ffbeae85b3
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/green.py
3d1d36e0a8a5ded3f2b6dab641fd0c4ffb2aeb76
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
2,588
py
ii = [('BentJDO2.py', 1), ('EmerRN.py', 3), ('CookGHP3.py', 4), ('LyelCPG2.py', 3), ('MarrFDI.py', 4), ('RogePAV2.py', 17), ('CoolWHM2.py', 11), ('KembFFF.py', 1), ('GodwWSL2.py', 2), ('RogePAV.py', 2), ('SadlMLP.py', 1), ('FerrSDO3.py', 12), ('WilbRLW.py', 11), ('WilbRLW4.py', 1), ('RennJIT.py', 43), ('ProuWCM.py', 2)...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
973af6afd92942add0a57a3941085fd6e2d66174
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/pyglet/font/__init__.py
18313153ed4a927df01f0629f5dc04a01d122ae6
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
7,514
py
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # Copyright (c) 2008-2022 pyglet contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the follo...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
144d632a68c20edf5f33c6a21eba24ba413b5060
61eae81a1780141ba1323adb93d3d41c4ad0cc3e
/src/model_bank/dataset_2018_7_13_lcp_recognition_model.py
66b9a61b10443213dac0a710aa181f548137a8c5
[]
no_license
lsy125/AE-signal-model
0783cda7eee972cce3ab1abf682047baf3d739a1
da11717ffc8bf74dbb2d6f818e73f0b839f0ab5a
refs/heads/master
2020-04-02T08:46:05.140848
2018-10-22T02:01:48
2018-10-22T02:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,219
py
from keras.layers import * from keras.models import Sequential, Model from keras.utils import plot_model from keras import regularizers # self lib from src.utils.helpers import direct_to_dir def lcp_recognition_binary_model(): visible_in = Input(shape=(6000, 1)) conv_1 = Conv1D(5, kernel_size=5, activation='r...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
8afd85abc6361f6690923f4902b20607b778ad70
87b7d7948aa51fdb4a27540240579788896369ea
/code/runs_sacred/model_data_random/_sources/data_set_file_8dbb1c73ef6f7d6c76679b005f0b994b.py
492729d1daa74ff2dbc6c7004f3cccb8805d5d13
[]
no_license
Samuel-Levesque/Projet_GLO7030
6f13accd63b52107ec3e3a0b9b5f52edccda7c8d
557bce3235f09723900f65c6e3b44a0ed9d2b519
refs/heads/master
2022-01-16T12:49:22.884798
2019-05-05T18:38:35
2019-05-05T18:38:35
177,038,991
0
1
null
null
null
null
UTF-8
Python
false
false
7,055
py
import random import warnings warnings.filterwarnings('ignore') # to suppress some matplotlib deprecation warnings import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) import ast import cv2 import matplotlib.pyplot as plt import os from torch.utils.data impor...
[ "44324703+William-Bourget@users.noreply.github.com" ]
44324703+William-Bourget@users.noreply.github.com
8a307d78726f1ec71e12b3c0c22f5ac21db4bcf9
dd38578f9622b1ea54838340711a96d57fcfbbc6
/kbm/migrations/0004_auto_20200629_0017.py
29157ee0c71fb1bf849f5a93c6227cfca901170a
[]
no_license
nabaman/sistem-informasi-akademik
544d3563c922f105d310bb6377d236e6022fcb2c
1ffb46e86ab76c6c4b98a10862acf01a5676d574
refs/heads/master
2022-11-17T05:54:07.808086
2020-07-01T06:02:28
2020-07-01T06:02:28
257,820,789
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.0.5 on 2020-06-28 17:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('kbm', '0003_auto_20200609_2156'), ] operations = [ migrations.AlterField( model_name='data_jurusan', name='jurusan',...
[ "naba.alvian@gmail.com" ]
naba.alvian@gmail.com
373405fdc1325b6237b78fad3cdd074864c92bc5
45f6c7f6e7160c5535d74582c6ba165ee21ab56e
/test/test_van/test_saved_lists.py
740bb5997167057c1ca394ba2c8000ab159b836b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
move-coop/parsons
1b0bcfcbb8c0e1edb26d06664c6ecb7370eae864
553b0ede3e41cc9811c48d768d05953f8cf75312
refs/heads/main
2023-08-21T12:34:34.004784
2023-08-17T17:46:09
2023-08-17T17:46:09
204,343,221
240
122
NOASSERTION
2023-09-14T20:55:15
2019-08-25T19:56:21
Python
UTF-8
Python
false
false
7,500
py
import unittest import os import requests_mock import unittest.mock as mock from parsons import VAN, Table from test.utils import validate_list from parsons.utilities import cloud_storage class TestSavedLists(unittest.TestCase): def setUp(self): self.van = VAN(os.environ["VAN_API_KEY"], db="MyVoters", ra...
[ "noreply@github.com" ]
move-coop.noreply@github.com
24ea8739a59fecf67cf4b899f035e7f803deef1c
9b420b88924f8b5120f76a319504a59edf4c7810
/fluent_pages/tests/urldispatcher.py
63bd6de5c48706b2232d40a699daba12adb96999
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
techdragon/django-fluent-pages
3384a10b231e10f7d290e70cf18d6dcbddcea76a
1e38bb2fe1db0b376098ba35df7a7286ad3e2794
refs/heads/master
2021-01-18T10:56:12.763397
2013-08-03T08:32:55
2013-08-03T08:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,456
py
from fluent_pages.models import Page from fluent_pages.tests.utils import AppTestCase, script_name, override_settings from fluent_pages.tests.testapp.models import SimpleTextPage, PlainTextFile, WebShopPage class UrlDispatcherTests(AppTestCase): """ Tests for URL resolving. """ @classmethod def s...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
73cc2b03cd8658a38a334360c792ef745c6ead8b
b94c4c88aa3661696a8f8a6677c845a882d4091e
/src/main.py
b0ed8bfe850e44f49de124164adce4397b6cf652
[ "MIT" ]
permissive
pestefo/Coon
b4f1e62b97a330844140f00057a5bda184cf774e
8caa8b683b54b0c0047cbe1095ccf5576352c6ac
refs/heads/master
2021-01-02T21:45:19.393150
2020-02-11T16:49:36
2020-02-11T16:49:36
239,814,056
0
0
MIT
2020-02-11T16:52:15
2020-02-11T16:47:54
Python
UTF-8
Python
false
false
654
py
"""Script for Default keyword""" import sys import currency from currency.workflow import Workflow3 def main(workflow): """The main workflow entry function""" method = str(workflow.args.pop(0)) if method in currency.__all__: workflow.run(getattr(currency, method)) else: workflow.run(cur...
[ "tomy0000000@gmail.com" ]
tomy0000000@gmail.com
7f0a093f4f97b501f6e1600dd3dd4537b88a9ef0
375e5bca82843647941068bd7634cf7adf2015ca
/tests/test_transform_affine3.py
d2f6651ed72b7052691ec6a9f54e6165a33fa6de
[ "MIT" ]
permissive
civodlu/trw
cd57e7bded7fdb0a9d623ed9cd50645fab96583b
11c59dea0072d940b036166be22b392bb9e3b066
refs/heads/master
2023-02-08T09:56:39.203340
2023-02-07T14:22:16
2023-02-07T14:22:16
195,147,670
12
2
MIT
2020-10-19T15:24:11
2019-07-04T01:19:31
Python
UTF-8
Python
false
false
4,555
py
import os import math import unittest import trw import torch import numpy as np class TestTransformsAffine(unittest.TestCase): def test_2d_identity_nn(self): matrix2 = [ [1, 0, 0], [0, 1, 0], ] matrix2 = torch.FloatTensor(matrix2) images = torch.arange(2 * ...
[ "civodlu@gmail.com" ]
civodlu@gmail.com
a80d0ebfec737cf90fc2e079f2ebe80f10496421
562cc46d23d69f399a5f807d11ac567d8f30b567
/env/bin/symilar
b0ebfe4bd208743b9437624b9eda91935d85e19b
[]
no_license
JahanzebNawaz/DJANGO-CRUD
ab77a31c84134f10aee43b4fdc1900b4223b36ba
b3e848f8752c3755bcd26aeefe59eaedbcc06e8d
refs/heads/master
2022-01-26T13:29:30.218067
2020-05-03T11:43:58
2020-05-03T11:43:58
220,016,612
0
0
null
2020-05-03T11:43:59
2019-11-06T14:32:25
Python
UTF-8
Python
false
false
258
#!/home/jk/JKROOT/GITHUB_REPO/DJANGO-CRUD/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "jahanzaib.ch9996@gmail.com" ]
jahanzaib.ch9996@gmail.com
f6e12a2fecf32423abd6f204856a0263e6998195
f0526130407daf1484ba0a228fb16683aa0fa509
/muchopper/common/queries.py
c45db0eec3bcf31cd446399bd333b29bb42491fa
[ "Apache-2.0" ]
permissive
ericschdt/muchopper
f8538f9e58b3512a3341731bc983fa2fbe5a749f
d621b8853360cfdc9f745aefbb9f9ec5d02d1a06
refs/heads/master
2020-08-06T21:10:18.316372
2019-10-06T11:30:17
2019-10-06T11:30:17
213,155,935
0
0
NOASSERTION
2019-10-06T11:30:18
2019-10-06T11:27:11
null
UTF-8
Python
false
false
2,611
py
import shlex import sqlalchemy from . import model def base_filter(q, include_closed=False): if not include_closed: q = q.filter( model.MUC.is_open == True # NOQA ) return q.filter( model.MUC.is_hidden == False # NOQA ) def base_query(session, *, i...
[ "j.wielicki@sotecware.net" ]
j.wielicki@sotecware.net
ef7700a3b968cac227b909d38a28fa784053110b
36e4a3581877736a501a74bfdfc10bbbd4386b8a
/tests/conftest.py
23314e52187708a98fe75147a8829b79b72f0019
[ "Apache-2.0" ]
permissive
valmac/lean-cli
1620300e7bf9428df269bae26b47a4615525144a
88a191afadf7bfe766665fa67c552390cb2e3951
refs/heads/main
2023-03-08T10:40:15.541980
2021-02-11T00:52:47
2021-02-11T00:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import os from pathlib import Path import pytest from pyfakefs.fake_filesystem import FakeFilesystem from responses import RequestsMock from lean.container import container # conftest.py is ran by pytest before loading each testing module # Fixtures defined in here are therefore available in all testing modules @p...
[ "jaspervmerle@gmail.com" ]
jaspervmerle@gmail.com
ef4de32906a268554e3e0baa7f814fe784103ba9
cb5f0731e84797ceaa295b840f24b7aa094b66ea
/lib/hypercorn/trio/h2.py
60f43a10c2aabdae56a4047548e23d9b542b4a7e
[]
no_license
guruprasaad123/onet
da9de96675a0e38e09d972dcdf17c54a40acfeec
c5c580e4080160d2e3336663b2393b9b1c4245ba
refs/heads/master
2020-05-19T05:59:39.744509
2019-05-06T15:10:32
2019-05-06T15:10:32
184,861,014
1
0
null
null
null
null
UTF-8
Python
false
false
13,893
py
from functools import partial from itertools import chain from typing import Callable, Dict, Iterable, Optional, Tuple, Type import h2.config import h2.connection import h2.events import h2.exceptions import h11 import trio import wsproto.connection import wsproto.events from .base import HTTPServer from ..asgi.h2 im...
[ "jiiva116@live.com" ]
jiiva116@live.com
d92546f21afa2d9f3d90a90399e84e3bb189d0eb
1966d4ee937abc2febb80af14ea37b3316428ee9
/HackerRank/By Challenge/Charging the Batteries/python/solution.py
5159ded20b702117fd27463677e5700549ec4b56
[]
no_license
spanktastic2120/fun
8083ea33c014062ef791192f1d25d2c3bc45c7fa
de23f404a0505576e00730d06b32aac4ae1e7e75
refs/heads/master
2021-06-03T23:39:31.305198
2019-08-05T07:55:13
2019-08-05T07:55:13
18,019,488
1
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
#!/bin/python import sys if __name__ == "__main__": n, m, k = map(int, raw_input().strip().split(' ')) sockets = [] for _ in xrange(m): x, y = map(int, raw_input().strip().split(' ')) # left if not x: sockets.append(y) # bottom elif not y: so...
[ "dictator@iwantmyowncountry.info" ]
dictator@iwantmyowncountry.info
f1ecf9ada5f4de3b1dc3427fc4476c252663ee76
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_timed_transition_system/3-sender_receiver_19.py
10d2eb6c1a1a4703d74ec66ea4081c7a6e92abee
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,986
py
from typing import FrozenSet from collections import Iterable from math import log, ceil from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msa...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
22137631ea36c7cc351b63715fcd7365718497c2
1729f98dcd81506ef5e5e6ded8b539894a647680
/tensorflow/python/layers/convolutional.py
fbb13bb72c435ad3675a8f3f31c568952c043743
[ "Apache-2.0" ]
permissive
PipelineAI/tensorflow
f539227fd5d3f304b4f246877e35303dbd388a0c
a0b68c666b8a06d237cc6776183ab8cd31055fcb
refs/heads/r1.5
2021-05-05T21:54:02.830548
2018-01-21T08:48:53
2018-01-21T08:48:53
115,791,564
0
1
Apache-2.0
2018-01-15T05:38:46
2017-12-30T11:08:37
C++
UTF-8
Python
false
false
77,620
py
# Copyright 2015 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
5ea2d8e12d59b152aba52323d7c529c2a61cbda6
c6fbf6df12cb7de82b3060a7bc12fee9b46e5990
/Chapter10/ch10-9.ML_ann.py
6c23988b2637bec8bdfe79e24d198ebb675f9bea
[ "MIT" ]
permissive
tschoi6712/pythonDataAnalysis2nd
5f0d07493bb835c76aa9fbe7100834e5a8341912
63e366d4dee52f7e4df6cf4d988a85d6de5b00e4
refs/heads/master
2020-08-09T14:42:55.831842
2019-10-10T06:53:24
2019-10-10T06:53:24
214,108,757
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
""" 예측분석과 머신러닝 - (9) Neural Networks: pip install theanets nose_parameterized conda install m2w64-toolchain """ import numpy as np import theanets import multiprocessing from sklearn import datasets from sklearn.metrics import accuracy_score rain = .1 * np.load('ch10.rain.npy')...
[ "tschoi6712@gmail.com" ]
tschoi6712@gmail.com
77c20440aaf6a3fb84a2337d4e42929b8d240a79
6d1bf00636259c1a65842a8dd49ea2037218cc8d
/Admin_console/Summary_Report.py
017d7ef82d692280cd82d33e66e200171626829a
[]
no_license
chetandg123/Release_1.2
efb4b0844b57638d23ac09783e0cd751893058ad
f9ff8add5930c7779ab1954c779f8f0e8cd1e908
refs/heads/master
2022-12-05T21:12:14.671813
2020-08-20T21:33:50
2020-08-20T21:33:50
288,701,130
1
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
import time import unittest from selenium.webdriver.support.select import Select from Data.parameters import Data from get_dir import pwd from reuse_func import GetData class Test_summaryreport(unittest.TestCase): @classmethod def setUpClass(self): self.data = GetData() self.p = pwd() ...
[ "ubuntu@ip-172-31-31-236.ap-south-1.compute.internal" ]
ubuntu@ip-172-31-31-236.ap-south-1.compute.internal
fbd63bd85e48a99cbd17501c5e7a58f779e502b2
a55756b40e0d14b6a4c366b55be65966e1934ec2
/Recursion ADD(1).py
8362065f9df3c9311c4efe9b885631a0f0d57111
[]
no_license
rajeevj0909/FunFiles
97323135bb5120d2d3a2458847a73f91dfa944bf
85f4a430f0e71d1fee9c753bceb566ec319e5da0
refs/heads/master
2022-07-02T15:43:11.495874
2020-05-16T23:29:02
2020-05-16T23:29:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
def add(list1,counter,total): n=len(list1) if n==counter: print(total) else: total=add(list1[counter],counter,total)+total return(total) return counter counter = counter + 1 list1=[1,2,3,4] counter=0 total=0 add(list1,counter,total)
[ "noreply@github.com" ]
rajeevj0909.noreply@github.com
a0b302a8a168a912fbece6444aa9e7f4710361c3
c15a28ae62eb94dbf3ed13e2065195e572a9988e
/Cook book/src/11/passing_a_socket_file_descriptor_between_processes/server.py
05d6b07b5f08832aaaca3ea0ad4f14ffc9c19a1c
[]
no_license
xuyuchends1/python
10798c92840a1a59d50f5dc5738b2881e65f7865
545d950a3d2fee799902658e8133e3692939496b
refs/heads/master
2021-01-25T07:07:04.812140
2020-02-28T09:25:15
2020-02-28T09:25:15
93,647,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# server.py import socket import struct def send_fd(sock, fd): ''' Send a single file descriptor. ''' sock.sendmsg([b'x'], [(socket.SOL_SOCKET, socket.SCM_RIGHTS, struct.pack('i', fd))]) ack = sock.recv(2) assert ack == b'OK' def server(work_address, port): # Wait for th...
[ "xuyuchends@163.com" ]
xuyuchends@163.com
069de552aee7711007a0052316643c96cc5c88fd
5facb7b4baccff021b357ad67c966e2d92d665d1
/stemming.py
3a6a5d2215913259aacdefe3190af4f7568fe7da
[]
no_license
sadirahman/NLP
73eeb1e32e7027c35b79ba3f6953b9ec51098cb7
844419ffd7bbb41217ab273753249757a4433865
refs/heads/master
2020-04-09T21:58:21.130129
2018-12-06T13:57:18
2018-12-06T13:57:18
160,617,125
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from nltk.stem import PorterStemmer from nltk.tokenize import word_tokenize ps = PorterStemmer() example_words =["python","pythoner","pythoning","pythoned","pythonly"] for w in example_words: print(ps.stem(w)) new_text = "It is very important to be pythonly while you are pythoning with python ." word =word_tok...
[ "42184120+sadirahman@users.noreply.github.com" ]
42184120+sadirahman@users.noreply.github.com
18c9a3ba254ee73daa90283860550d2af14d7777
242da8865e037f9fffb76269c3acddb73ce9fa14
/packages/pyright-internal/src/tests/samples/typeGuard1.py
ebeda0031c0154c1009d096010bb082e40aa8e7f
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
khyveasna11111908/pyright
f42eceae044f6fbc27552c1765b03ebd345a451c
493d47807b96137995e4bb6ca341930e4de911f9
refs/heads/main
2023-08-30T00:08:36.191799
2021-09-25T19:17:13
2021-09-25T19:17:13
410,361,483
1
1
NOASSERTION
2021-09-25T19:15:23
2021-09-25T19:15:22
null
UTF-8
Python
false
false
1,635
py
# This sample tests the TypeGuard functionality # that allows user-defined functions to perform # conditional type narrowing. # pyright: reportMissingModuleSource=false import os from typing import Any, List, Literal, Tuple, TypeVar, Union from typing_extensions import TypeGuard _T = TypeVar("_T") def is_two_eleme...
[ "erictr@microsoft.com" ]
erictr@microsoft.com
72655be7c8a19587230e487b7743481687a52f88
fe1e601b67a30e9215fe858e16b9c2965f8a3576
/bloomFilter.py
02f8a1f3bd5e7973d83bc77df4793f64c425fd90
[]
no_license
z-o-e/algoFun
8a53b0804d9ddb019133981ebd677b768d25cee6
539f89bece5791a1aadfafbddc3ce7c48fbf12ac
refs/heads/master
2020-04-19T00:49:53.957430
2014-10-22T20:32:17
2014-10-22T20:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,571
py
# bloom filter is a space-efficient probabilistic data structure to check whether an element is a member of a very large set. # False positive are possible, false negative are impossible (100% recall) # probability of a false positive depends on the density of 1's in the array and the number of hash functions # (the n...
[ "hyzhang22@gmail.com" ]
hyzhang22@gmail.com
a4781f355e0c7465556c9f5f554524e357c8f228
0e722188b0a0c2302fab5b2917e9c39394664db3
/gshs_auth/decorators.py
768fdc4efcb9a5bed86fed80905ca350361d8498
[]
no_license
Qwaz/GSHSmeal
6df1d773a883b729c4d87c6f6b1c3990ed0e4d3c
6f2af5f538a1b9b9db8f791041ff65a5c97b96d8
refs/heads/master
2020-04-17T09:12:47.694626
2015-03-04T10:27:56
2015-03-04T10:27:56
20,253,318
0
1
null
2014-08-20T01:56:00
2014-05-28T10:14:37
JavaScript
UTF-8
Python
false
false
305
py
from functools import wraps from django.shortcuts import redirect def admin_login(func): @wraps(func) def wrapper(request, *args, **kwargs): if request.user.is_staff: return func(request, *args, **kwargs) else: return redirect('home') return wrapper
[ "qwazpia@gmail.com" ]
qwazpia@gmail.com
59576815e0896221abafb383026b4ff38ea0df21
f4ec787e34b74823875a8074d2f7c10d6207f206
/tests/util/alert_server.py
2e17d1448e570ccf024752181c78bbba66ce8f5b
[ "Apache-2.0" ]
permissive
Sweety-Network/sweety-blockchain-test
d0fc0fbd27e5b6970597824de43db3fb9e3bceed
44373ff1b6a7a2a1dcb39d3d6fa01cd15e3e5fb6
refs/heads/master
2023-09-04T15:57:19.853659
2021-10-08T04:00:10
2021-10-08T04:00:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
import argparse import asyncio import logging from pathlib import Path from typing import Any from aiohttp import web log = logging.getLogger(__name__) class AlertServer: shut_down: bool shut_down_event: asyncio.Event log: Any app: Any alert_file_path: Path port: int @staticmethod a...
[ "tlwu@njmlab.com" ]
tlwu@njmlab.com
62dcbc0c418cf6583d090a0a4451f0b217365320
4b44a299bafbd4ca408ce1c89c9fe4a449632783
/python3/06_Collections/02_Tuples/01_tuples.py
490cc61a2d1d027663715e7fff988af2cc75274f
[]
no_license
umunusb1/PythonMaterial
ecd33d32b2de664eaaae5192be7c3f6d6bef1d67
1e0785c55ccb8f5b9df1978e1773365a29479ce0
refs/heads/master
2023-01-23T23:39:35.797800
2020-12-02T19:29:00
2020-12-02T19:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Purpose: Working with tuples """ mylist = [12, 34.8, 500000, [6, 8], (5,)] print('type(mylist)', type(mylist)) print('len(mylist)', len(mylist)) mytuple = (12, 34.8, 500000, [6, 8], (5,)) print('\ntype(mytuple)', type(mytuple)) print('len(mytuple)', len(mytuple)) print(my...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
d50ee8a96e31ec7c4404e0ea515495d6127da418
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayUserAuthZhimaperInnerApplyResponse.py
aa55cb52b9d5249d124fbd30a25e134c9e2a5866
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,403
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayUserAuthZhimaperInnerApplyResponse(AlipayResponse): def __init__(self): super(AlipayUserAuthZhimaperInnerApplyResponse, self).__init__() self._access_token = No...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
52acd0e9645a8b753223b9adf1ec37f385a0421b
51090d3c72894b8db606319bb71772672bb179d5
/feature/getfeatures_ch.py
dca8a16f62118b5c7d206d1962b60d70ee044848
[]
no_license
Miyayx/XLore_Feature
c00143b448a9367cf02435c520ddf73921a0ffd8
696e5399e9b0cb54f257815cdd4eb2ef986be702
refs/heads/master
2020-06-05T03:02:06.842902
2014-09-20T15:49:34
2014-09-20T15:49:34
21,727,105
1
0
null
null
null
null
UTF-8
Python
false
false
8,418
py
#!/usr/bin/env python2.7 #encoding=utf-8 import codecs from CHSingleSent import * import FileIO import threading DATA_PATH = "/home/lmy/data/origin/" PARSER_PATH = "/home/lmy/data/parser/" FEATURE_PATH = "/home/lmy/data/feature/" HEADWORD_PATH = "./headword/" #FILE_NAME = "zhwiki-instance-concept-1v1.dat" FILE_NAME =...
[ "yangxue00.yxmn@gmail.com" ]
yangxue00.yxmn@gmail.com
bb28f5fb6011fac3c82ea587eebe8da09c4224ef
d2c4151eff768af64946ababc2e41c13d8973cd3
/ARC104/b.py
626f3f54124699e2c5c7d4b325852a552aa235d2
[]
no_license
Intel-out-side/AtCoder
2de19b71981247135432aed2d6d9c2a16c3ab7f0
0c419d2df15fff02032432cb1b1323612484e16e
refs/heads/master
2022-06-23T04:21:12.886072
2022-06-13T14:39:07
2022-06-13T14:39:07
235,240,853
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
I = input().split() N = int(I[0]) S = I[1] class AccumulatedSum: """ 累積和を勝手に計算します。 0-indexedなので注意 """ def __init__(self, A:list): self.N = len(A) self.accumulated_sum = A.copy() for i in range(1, self.N): self.accumulated_sum[i] += self.accumulated_sum[i-1] ...
[ "so.eng.eng.1rou@gmail.com" ]
so.eng.eng.1rou@gmail.com
294ca33e70eb3070b97b28d0251b424150e1b996
d7e41697c8d82f5ef3f9555af7d3d204803f0a99
/test/mitmproxy/utils/test_strutils.py
4759f1db47ceb9e0a34ee9a9ca78e176b3d0be98
[ "MIT" ]
permissive
shitongzhu/mitmproxy
aba9681765b71c385b2b20fda303c71090a04376
08f35286d3af9ad39046b0b3663913701086be9a
refs/heads/master
2023-08-19T07:03:52.226411
2021-09-04T10:56:33
2021-09-04T10:56:33
316,844,544
0
0
MIT
2020-11-29T00:02:33
2020-11-29T00:02:33
null
UTF-8
Python
false
false
4,828
py
import pytest from mitmproxy.utils import strutils def test_always_bytes(): assert strutils.always_bytes(bytes(range(256))) == bytes(range(256)) assert strutils.always_bytes("foo") == b"foo" with pytest.raises(ValueError): strutils.always_bytes("\u2605", "ascii") with pytest.raises(TypeError)...
[ "stzhu.ac@gmail.com" ]
stzhu.ac@gmail.com
b81de21a3b245370ce540d63715dc874f1e5a1f5
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/timber/testcase/firstcases/testcase1_023.py
bd7a990dcc4d20bd7e9c133c55b4eed72482d212
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
4,842
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
235f9be2e5351b3f4d2ed4d1505881be688d90e7
76d7e8f11f0cf1c0e8e0f90ac603eb297e063c1a
/private/templates/DRRPP/controllers.py
0ba33102ef7e030aae20e3ee442c9f8b84172849
[ "MIT" ]
permissive
carlisip/eden
afc8778071c854e95ddbe1655a6176a8c9eea12c
cf9c25afd48d63953976e5103e82a858f5027b5f
refs/heads/master
2021-01-23T21:19:54.463890
2012-07-16T08:04:34
2012-07-16T08:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,743
py
# -*- coding: utf-8 -*- from os import path from gluon import current from gluon.html import * # ============================================================================= def INPUT_BTN(**attributes): """ Utility function to create a styled button """ return SPAN(INPUT(_class = "button-right"...
[ "fran@aidiq.com" ]
fran@aidiq.com
23b386e881e81a9c5f3259e0c00bdcf53cd206af
ed0f9eb0c1cb4858d91ef7e2d435db307f23a5a5
/dist/manage/django/conf/__init__.py
819f76dac03455205168724f054bb56819d714e2
[]
no_license
hjlhehehe123/ATC_Data
81b4622e7279aa9cc2013db8cc5a71d33561e768
ad35e61afb8e87d8bab2d2b3aeea08e9409d56c0
refs/heads/master
2023-07-13T16:23:45.951584
2021-08-20T12:37:34
2021-08-20T12:37:34
256,994,694
1
1
null
null
null
null
UTF-8
Python
false
false
10,444
py
""" Settings and configuration for Django. Read values from the module specified by the DJANGO_SETTINGS_MODULE environment variable, and then from django.conf.global_settings; see the global_settings.py for a list of all possible variables. """ import importlib import os import traceback import warnings from pathlib ...
[ "1598214715@qq.com" ]
1598214715@qq.com
abf4e6394243a39be16d129035ad1e8ef4a0593f
65f863c73f6a3cd1cfdc70c94ab972a6ddac863f
/tests/benchmarks.py
c9f2c93bb951251d7afeb8fe8c816562d2b3d156
[ "MIT" ]
permissive
marksagal/enaml-native
a266a631fd78ba9654412ae811bdf758566a4375
1606f895b0718e223cb4296fe3ead8df8018cad9
refs/heads/master
2021-09-01T04:04:59.020078
2017-12-12T20:43:13
2017-12-12T20:43:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,329
py
''' Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file COPYING.txt, distributed with this software. Created on Oct 4, 2017 @author: jrm ''' import re import os import sh import time import pytest import json import requests from os.path import exists,...
[ "frmdstryr@gmail.com" ]
frmdstryr@gmail.com
0c17e9bf063a7efc0d9893b30f9499564e3969f5
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/gui/impl/gen/view_models/views/lobby/marathon/__init__.py
71f0b031ebeac46c2d890ceb67264bafff348eac
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
151
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/impl/gen/view_models/views/lobby/marathon/__init__.py pass
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ceb44fc8f169f591ebbdf0b4d2e0a1e4b500d9fc
43ff15a7989576712d0e51f0ed32e3a4510273c0
/chtscan/migrations/0006_auto_20160411_0800.py
f59e435e4885549c1b59a6379cce6ccd44b7e5cb
[]
no_license
v1cker/kekescan
f2b51d91a9d6496e2cdc767eb6a600171f513449
3daa1775648439ba9e0003a376f90b601820290e
refs/heads/master
2020-09-19T16:26:56.522453
2017-06-15T02:55:24
2017-06-15T02:55:24
94,495,007
6
3
null
null
null
null
UTF-8
Python
false
false
783
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-04-11 08:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('chtscan', '0005_auto_20160408_0723'), ] operations = [ migrations.RemoveFiel...
[ "liyueke@huobi.com" ]
liyueke@huobi.com
1745f883f6d00b6642ba7d9496082c2fc1e47628
a54c6117cf2bb8b33f7a1e1ce92dffa1ffa4fe94
/demos/mismip/plot-result.py
36106cbdafa2092b5925b31aca55d5b70fbaa846
[]
no_license
barionleg/icepack-paper
f74d5ea9722f2bc1d51ddbb959297353bf32ecb9
3554c618468320c06c25bca46fd2f97c5d1e860c
refs/heads/master
2023-06-08T01:05:13.074850
2021-01-12T00:04:18
2021-01-12T00:04:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
import os import argparse import firedrake import icepack.plot parser = argparse.ArgumentParser() parser.add_argument('--input') parser.add_argument('--level', type=int) parser.add_argument('--output') args = parser.parse_args() Lx, Ly = 640e3, 80e3 ny = 20 nx = int(Lx/Ly) * ny coarse_mesh = firedrake.RectangleMesh(...
[ "shapero.daniel@gmail.com" ]
shapero.daniel@gmail.com
8954446c00e5428d2dacb756f5a86bb94bf80784
73832d62f4e982517f36265617c17bea3b715719
/06cem/Translation_Methods/lab02/semantic.py
66e0fa0e4feaccf2895327713a2780d2abd8acd3
[]
no_license
keipa/bsuir-labs
fa9018a121ec1b040bae27326607cd82ac7652a4
a7a3eca34d095568c7f8cbbe976cc91e515dc756
refs/heads/master
2021-06-15T23:37:27.249024
2020-06-09T09:33:32
2020-06-09T09:33:32
34,018,391
7
0
null
null
null
null
UTF-8
Python
false
false
17,792
py
from mylexer import data, lexer from token_rules import tokens import ply.yacc as yacc from operator import add, sub, mul, truediv, eq, ne, le, ge, gt, lt from ply.yacc import YaccSymbol from checker import check consts = dict() identifiers = dict() semantic_errors = [] interpret_index = 0 separators = [";", "do", "t...
[ "nichogaus@gmail.com" ]
nichogaus@gmail.com
9c315f3e10b630f08fda544fd7dabd316ebaed05
1f98ccf9ef52d3adab704676480c85fe22c9542d
/simpledb/test/TestBlk.py
0ebcd6e00f84ea455edce878943380b79c66d26e
[]
no_license
61515/simpleDB_Python
234c671cbbf57f3e8fc5489ec4c292365085b7a8
b6846da4a78369838f5b3c7a704de704e18f7be7
refs/heads/master
2023-02-22T14:07:52.660633
2021-01-24T02:25:40
2021-01-24T02:25:40
332,343,905
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
from simpledb.file.BlockId import BlockId if __name__ == '__main__': blk = BlockId("file", 1) buffers = {blk: 1} pins = [blk] # pins.remove(blk) if blk in pins: print(1) print(pins.count(blk)) # print(pins) # print(buffers.get(blk))
[ "1632039752@qq.com" ]
1632039752@qq.com
9b43fa6a64fe1365c949bf00ef1b7be04e6c5852
1cfcfa686489885843b9a142c8ba980ebd5d5ffd
/tests/optim/test_weight_average.py
a421cf0328fcef62c31051e3eef5aa29b3acfded
[ "MIT" ]
permissive
qyz-thu/gnn_vae
9d2d8e984a96d0f22f74362889fdd1c0613df46d
278aeb7038216812a94c7f7acd2ca425696f986b
refs/heads/master
2023-02-05T20:07:24.097968
2020-12-18T06:34:20
2020-12-18T06:34:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,265
py
import copy import numpy as np import pytest import tensorkit as tk from tensorkit import tensor as T from tests.helper import * def stepwise_average_check(ctx, factory, update_fn, get_fn): def clone_state(val): if isinstance(val, dict): return {k: clone_state(v) for k, v in val.items()} ...
[ "haowen.xu@outlook.com" ]
haowen.xu@outlook.com
908ab077984dc561d27e833fbb86e6d280225929
c34308d9e283d3689baeade246b69dad13eea0c1
/homework/week5/study201736.py
015a5575dfb0de380ed5acf9ed7422c0ab64d7a2
[]
no_license
michaelChen07/studyPython
d19fe5762cfbccdff17248d7d5574939296d3954
11a2d9dd0b730cad464393deaf733b4a0903401f
refs/heads/master
2021-01-19T00:20:27.347088
2017-05-13T08:43:44
2017-05-13T08:43:44
73,004,133
1
1
null
null
null
null
UTF-8
Python
false
false
354
py
#coding:utf-8 def findMaxNum(x,y,z): if x >=y and x >= z: return x elif y > z: return y else: return z if __name__=="__main__": numList = raw_input(u"请输入3个数字,以逗号分隔:").split(",") print numList maxNum = findMaxNum(int(numList[0]),int(numList[1]),int(numList[2])) print...
[ "286522215@qq.com" ]
286522215@qq.com
0b66b2d868d6ec5a557304ec44f1c3585252aa9c
9ea18a9a52f6fe9077a6073dac72d19e21b2b5d6
/setup.py
d2deac46ae69778452128ea1d6305c8bf86fe655
[]
no_license
barneygale/twisted-enttec
2e826e09159b82d3bc1fc281f8973b43341746cb
dec065475ab08ad4cc7a1fef301c904f2c033953
refs/heads/master
2020-04-04T14:44:32.010652
2018-11-03T18:24:59
2018-11-03T18:24:59
156,010,781
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from setuptools import setup setup( name='twisted-enttec', version='0.1', author='Barney Gale', author_email='barney.gale@gmail.com', url='https://github.com/barneygale/twisted-enttec', license='MIT', description='Python/Twisted support for the Enttec DMX USB Pro', long_description=open...
[ "barney.gale@gmail.com" ]
barney.gale@gmail.com
5fb9500044bc1c606e8a9670801610d19b190611
c56807b801c887b8707611100efa3a0d7befea50
/DeepHumanPrediction/Code/DeepHumanPrediction/Motion_Prediction_encoding_decoding/bvh_reader.py
03027b871993c575cf4406b54021653e8f9eaf5e
[]
no_license
wy-luke/DeepHumanPrediction
9e3777f6d66d4ab34bf16a935ded19422385f724
2e131b4b365e6f565c7ed8075a61f2b3c7b2d53a
refs/heads/master
2021-08-30T19:26:57.537964
2017-12-19T05:47:36
2017-12-19T05:47:36
266,292,568
1
0
null
2020-05-23T08:13:36
2020-05-23T08:13:36
null
UTF-8
Python
false
false
3,861
py
# -*-coding: utf-8-*- import numpy as np import glob from tqdm import * import os import time def Motion_Data_Preprocessing(time_step = 100 , seed_timestep=20 , batch_Frame=5): np.set_printoptions(threshold=1000000) files = glob.glob("Data/ACCAD/Transform_Male1_bvh/Short_data/*.bvh") time_step = time...
[ "medical18@naver.com" ]
medical18@naver.com
6ed8248672240fa151a633c9e5ec55c98f340d87
5d20c3d81baef9cdb56f4bcff63d3f9248e2ac77
/dist/Cython/Cython/Compiler/Symtab.py
0a6e429364a46203fe604e6d0fd357c4e571f098
[ "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
VuisterLab/cing
225b76476d3b60367a4205d9c4fce7c539299701
718178f5c9ea2a3c70fc753fe73fb17cc9acac6c
refs/heads/master
2022-11-14T01:37:31.020772
2016-06-21T14:00:33
2016-06-21T14:00:33
34,669,624
2
4
null
2022-10-27T19:24:20
2015-04-27T13:53:47
Pascal
UTF-8
Python
false
false
58,945
py
# # Pyrex - Symbol Table # import re import bisect from Errors import warning, error, InternalError import Options import Naming import PyrexTypes from PyrexTypes import * import TypeSlots from TypeSlots import \ pyfunction_signature, pymethod_signature, \ get_special_method_signature, get_property_accessor...
[ "jurgenfd@e0b8d8eb-cb4c-0410-9204-db9c3ed855ff" ]
jurgenfd@e0b8d8eb-cb4c-0410-9204-db9c3ed855ff
6b55090216aeb866ba417c914c071c4a2a7a7054
257bd63361aa846ffdacdc15edaecf84c6364e78
/psou2/pyanal2_Tensorflow/pack1/tensor13_linear3.py
9774a149e61814165285e2e138c00a80426e6f28
[]
no_license
gom4851/hcjeon
86dcfd05ce47a13d066f13fe187d6a63142fb9fe
59a00ca9499f30e50127bb16eb510553e88ace43
refs/heads/master
2020-06-04T23:16:08.632278
2019-01-15T09:54:08
2019-01-15T09:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
''' Created on 2018. 12. 13. 시험성적 총점 예측. 독립변수 복수 ''' import tensorflow as tf x1_data = [73., 93., 89., 96., 73.] x2_data = [80., 88., 91., 98., 66.] x3_data = [75., 93., 90., 100., 70.] y_data = [152., 185., 180., 196., 142.] x1 = tf.placeholder(tf.float32) x2 = tf.placeholder(tf.float32) x3 = tf.placeholder(tf.flo...
[ "wer104@naver.com" ]
wer104@naver.com
efbec588a9aeeb513cd86ea9ad278914f7c0bd82
542f898adea1b36d627d4bf437731022f242d2dd
/detectron2/evaluation/fast_eval_api.py
2eb202bd5efa3ec3d366027b1debffc269ae8b17
[ "Apache-2.0" ]
permissive
facebookresearch/detectron2
24bf508e374a98a5e5d1bd4cc96556d5914215f4
80307d2d5e06f06a8a677cc2653f23a4c56402ac
refs/heads/main
2023-08-30T17:00:01.293772
2023-08-25T22:10:24
2023-08-25T22:10:24
206,660,580
27,469
8,047
Apache-2.0
2023-09-13T09:25:57
2019-09-05T21:30:20
Python
UTF-8
Python
false
false
5,078
py
# Copyright (c) Facebook, Inc. and its affiliates. import copy import logging import numpy as np import time from pycocotools.cocoeval import COCOeval from detectron2 import _C logger = logging.getLogger(__name__) class COCOeval_opt(COCOeval): """ This is a slightly modified version of the original COCO API...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
958c86a3c3755e7c41208db86b0cfacf371bd9fc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_028/ch40_2020_05_04_14_38_41_592304.py
bb131b1a8c53321e179a9a8c32bbde7f8aaea50d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
def soma_valores(lista): i = 0 soma = 0 while i < len(lista): soma += lista[i] i += 1 return soma print(soma_valores(lista))
[ "you@example.com" ]
you@example.com
9cef99f3e88b40bf782aea1a88cb3f12a81a1997
3e713a67f370d1cc1ba0882159a03b673bd22f9a
/PYTHON/[hackerrank]- Power - Mod Power.py
536c0081d1c4363908466e17fb5e5605f36cc315
[]
no_license
s-abhishek2399/competitive-progamming--PYTHON
739797ffea0b92cc2781559e7d4eed1d274678a6
29f9e63cfc05c01fa605c14fb8a3a55920296d43
refs/heads/master
2023-03-08T02:40:00.962109
2021-02-16T15:07:52
2021-02-16T15:07:52
328,732,345
2
0
null
null
null
null
UTF-8
Python
false
false
157
py
# Enter your code here. Read input from STDIN. Print output to STDOUT n1=int(input()) n2=int(input()) n3=int(input()) print(pow(n1,n2)) print(pow(n1,n2,n3))
[ "s.abhishek2399@gmail.com" ]
s.abhishek2399@gmail.com
8bb28d524fdd7f33329d9757f1e2b63eaa1be891
496bb2067635e391b60d645700e419ec0ae28a9d
/firmware/legacy/stereoVisionMintsFinal.py
908f5b0bc3d23a2d5819591b1bd1bf3580b2ad69
[]
no_license
18030410071/stereoVisionCalibration
c4b4518fcb010390d8d4c0df309b250af14bdf72
394968c39919aa56530c8c877eae6a1d5e0521cc
refs/heads/master
2022-02-16T18:23:47.944983
2019-08-22T15:47:02
2019-08-22T15:47:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,861
py
import numpy as np import cv2 import glob import argparse def resizeImage(imgOrig,scalePercent): width = int(imgOrig.shape[1] * scalePercent / 100) height = int(imgOrig.shape[0] * scalePercent / 100) dim = (width, height) Orig = cv2.resize(imgOrig, dim, interpolation = cv2.INTER_AREA) return(Orig...
[ "lhw150030@utdallas.edu" ]
lhw150030@utdallas.edu
a9247a4ab26d1108aacf1f62fa5a92520e837613
eb937d6c7e10b451390007868df8de4912b1d098
/AutoInerface_project/Day11_Pytest/plugins/test_plugin_06.py
5dcecf8909521ba54473980deb165062b3000fdf
[]
no_license
chenbaoshun/AutomationTesting
01bbc3dc84c5ce26a75909a60bb304f7a06253b5
98882c3599d0eb9ac84e74193c584ba7b78ecfab
refs/heads/master
2023-03-14T01:44:07.163998
2021-02-24T15:35:01
2021-02-24T15:35:01
290,236,883
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @File : test_plugin_06.py # @Author : Baoshun.Chin # @Time : 2021-01-07 22:04 # @Site : # @version : V1.0 import pytest @pytest.mark.dependency() def test_a(): assert False @pytest.mark.dependency() def test_b(): assert True @pytest.mark.dependency(d...
[ "baoshunchin@aliyun.com" ]
baoshunchin@aliyun.com
7b181876bac13acb503e5f2cfa17bd79be20980c
36978086cf5f34e16ceac7c2649b49ccb4c5ac90
/config/munin/mongo_indexsize
15898bb14f1297f7e488deac7f1647d64ca39769
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
aragilar/NewsBlur
04e754093cd52bc2d9957ea767747d6d604dfbba
64ecd83bf4cea175f1bdeeb6e475fd5cadb679c9
refs/heads/master
2021-08-28T17:39:50.734396
2013-06-06T01:52:20
2013-06-06T01:52:37
10,520,281
0
0
MIT
2021-08-13T05:35:33
2013-06-06T06:26:24
Objective-C
UTF-8
Python
false
false
3,371
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: set sts=4 sw=4 encoding=utf-8 # Copyright (c) 2010, Rene Jochum # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of sour...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
35e0c88ae6ffeb513481031097e2e553bf772f79
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/application_gateway_probe_py3.py
60baab8984853cbcc41461da947ca52283319939
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
4,676
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
0b4f9c988a9ef428a461575ec540592e80e59fd4
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/squiggles/space_mappings_test.py
f5d551b4c3ff6cc51b21faff408be9d498e03d92
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
10,598
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
e6eba346ebf55540f84c30d63ab8d3f50f3fdb65
96e0dd08563b1f579992c14207d103ee80222b1b
/Algorithm-master/find_max_crossing_subarray_brute_force.py
f9d6443d36f700b3418debb05985ef52be6aee92
[]
no_license
tonygodspeed/pytest
4030e21f3206e3c5cb58aac870e3a1a57cd6943d
2e87b91c148ff6966096bb8b197c0a84f5a1e7e2
refs/heads/master
2020-04-02T13:14:20.811887
2018-10-24T09:00:57
2018-10-24T09:00:57
154,472,992
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
def find_max_subarray(A, low, high): left = 0 right = 0 sum = float("-inf") for i in xrange(low, high): current_sum = 0 for j in xrange(i, high): current_sum += A[j] if sum < current_sum: sum = current_sum left = i right = j return (left, right, sum) A = [0, -1, 3, -4, 6, -1, 4] print find_...
[ "412291198@qq.com" ]
412291198@qq.com
b011d6a3cdd94bed52a26b5f0ccaf26cf8e75541
9e271a3bc1bf388d82bc5a01d275d910c00f315c
/event/templatetags/event_tags.py
78506192f1ce6a67fb4e2104e5a7dc4ca144e7cb
[ "MIT" ]
permissive
kthaisociety/website
36f11b704f9c38414e0999b55db4513444b53f9e
4c4efb8a93218ae128d203b15c4340f90fe9f6a6
refs/heads/master
2023-08-09T19:44:16.968356
2023-05-20T20:33:05
2023-05-20T20:33:05
218,593,606
2
3
MIT
2023-05-20T20:33:06
2019-10-30T18:17:10
Python
UTF-8
Python
false
false
626
py
from django import template from django.utils import timezone from event.consts import SCHEDULE_EMOJIS from event.enums import ScheduleType register = template.Library() ctz = timezone.get_current_timezone() @register.filter def display_clock(time: timezone.datetime): time = time.astimezone(ctz) base = int...
[ "oriol.closa@est.fib.upc.edu" ]
oriol.closa@est.fib.upc.edu
5c68cc918c51596991219a74028a7f98ead9732c
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_18481.py
6952ed857165fc15e31ad3ccc712f250d5d2242b
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
# Unix cat function (cat * > merged.txt) in Python? import os os.system("cd mydir;cat * &gt; merged.txt")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
32447f30f4cc21c660188aee5e87920ec6663c17
59a688e68421794af64bfe69a74f64b2c80cd79d
/utils_all.py
932ceb655f16948c0aec5628b7ec1358379f78e7
[]
no_license
hearues-zueke-github/python_programs
f23469b306e057512aadecad0ca0a02705667a15
d24f04ca143aa93f172210a4b9dfdd9bf1b79a15
refs/heads/master
2023-07-26T00:36:56.512635
2023-07-17T12:35:16
2023-07-17T12:35:16
117,093,746
6
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import datetime import string from time import time import numpy as np from PIL import Image, ImageTk from tkinter import Tk, Label, BOTH from tkinter.ttk import Frame, Style all_symbols_16 = np.array(list("0123456789ABCDEF")) def get_random_str_base_16(n): l = np.random.randint(0, 16, (n, )) return "".join(all_s...
[ "hziko314@gmail.com" ]
hziko314@gmail.com
355f9aba0beb6cce657ff0a0adfe78d8f056baeb
07622a0fb38e843ab0eef4f69bb8fb25d107c06d
/pretrained_mol_sim/Theano-master/theano/tensor/tests/test_type_other.py
436dcdb243a457abb91f7885ffe9150030f48544
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
andreeadeac22/graph_coattention
fa59d77252625e4bee1cb9670e4a0fd0fec98135
23781fedaa942ca5614054f965cb7b6543e533fa
refs/heads/master
2023-08-08T01:51:51.368457
2020-02-19T04:56:59
2020-02-19T04:56:59
207,414,336
15
4
MIT
2023-07-22T15:47:39
2019-09-09T22:13:34
Python
UTF-8
Python
false
false
1,424
py
""" This file don't test everything. It only test one past crash error.""" from __future__ import absolute_import, print_function, division import theano from theano.gof import Constant from theano.tensor.type_other import MakeSlice, make_slice, NoneTypeT, NoneConst def test_make_slice_merge(): # In the past, thi...
[ "andreeadeac22@gmail.com" ]
andreeadeac22@gmail.com
d6172bb361027fd1a364a8217aeb5faa9291df2f
2584c50ff47765db9df565a2254f762a15821fe0
/relationshipmvt/app/forms.py
77fae4641a90bdd6dc4ef45ae365ba6399268ecc
[]
no_license
vipuldhandre/Django
f75cb135761e54eadec57c59c052f676eae1469e
51db8a59e068deb855e39c8bcc79e819b135f7d8
refs/heads/master
2020-10-01T19:50:11.317032
2020-01-13T17:00:19
2020-01-13T17:00:19
227,611,615
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.forms import ModelForm from app.models import (Company,Languages,Programmer) class ProgrammerForm(ModelForm): class Meta: model = Programmer fields = '__all__' # or ['pname','company','languages']
[ "dhandrevips@gmail.com" ]
dhandrevips@gmail.com
0e493ff5100b18ede19dccc8f1f910fcdfea6413
75b289e20c24c07b64a89935f3f671d19b15d387
/0x02-python-import_modules/100-my_calculator.py
cb22700f9ceae5482fd430d778134408e6c6c0e4
[]
no_license
luroto/holbertonschool-higher_level_programming
33c5a2c3b323e89391b9e110da846876085f3b8e
63efcc1f91207dee9fc095884551333b91674587
refs/heads/master
2021-07-08T12:17:25.378993
2020-09-02T05:20:41
2020-09-02T05:20:41
184,124,993
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
#!/usr/bin/python3 if __name__ == "__main__": from sys import argv from calculator_1 import add, sub, mul, div total = len(argv) if total != 4: print("Usage: ./100-my_calculator.py <a> <operator> <b>") exit(1) opera = argv[2] if opera != "+" and opera != "-" and opera != "*" and ...
[ "774@holbertonschool.com" ]
774@holbertonschool.com
bf4c983ab86fc148223b793eef9b2d6247bb60e6
f7a718425de1447836b547f831a120937f1fcf40
/plumbum/core.py
94ae4b1f55d439ace21402d8d93e42a6468797b5
[ "BSD-3-Clause" ]
permissive
coyotevz/plumbum-old-1
ad8ce697ffb4cbd0a6f238f66a1c546800e47024
c0f769ca525298ab190592d0997575d917a4bed4
refs/heads/master
2021-01-20T10:50:32.516766
2016-11-18T04:20:32
2016-11-18T04:20:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,879
py
# -*- coding: utf-8 -*- __all__ = ['Component', 'ExtensionPoint', 'implements', 'Interface', 'PlumbumBaseError', 'PlumbumError'] class PlumbumBaseError(Exception): """Base class for all exceptions defined in Plumbum.""" title = "Plumbum Error" class PlumbumError(PlumbumBaseError): """Stand...
[ "augusto@rioplomo.com.ar" ]
augusto@rioplomo.com.ar
e61ea84cae50e126560594d6977dfe14b17266b9
1e528494a929deada984822438b3ab569762e6c6
/rx/testing/recorded.py
d8ab083f222f404edc7a4af700ecdfcb0f8686bf
[ "MIT" ]
permissive
Sprytile/Sprytile
a0233a00a243f263691921d7e1f6af05c5eb5442
6b68d0069aef5bfed6ab40d1d5a94a3382b41619
refs/heads/master
2022-07-10T06:54:01.003723
2020-09-26T07:25:35
2020-09-26T07:25:35
72,276,917
860
91
MIT
2022-07-07T23:37:19
2016-10-29T09:47:09
Python
UTF-8
Python
false
false
597
py
from rx.internal.basic import default_comparer class Recorded(object): def __init__(self, time, value, comparer=None): self.time = time self.value = value self.comparer = comparer or default_comparer def __eq__(self, other): """Returns true if a recorded value matches another ...
[ "jeiel.aranal@gmail.com" ]
jeiel.aranal@gmail.com
f99c83d2712349c0946f6e3b580ce1a637ca20d9
f444eede3cd341afc969756b00a34816f949238a
/encode.py
02cc03704c672bb641575cb3f6609f413ad7a7eb
[ "MIT" ]
permissive
dcbriccetti/StegaPy
28ce6007c0c8a2dbb38de76e52344ec621c4a8ac
a20bb263737ae445e65a602c728acc4e3602baed
refs/heads/master
2021-07-10T03:28:28.214664
2020-10-03T21:11:52
2020-10-03T21:11:52
204,844,779
7
4
null
null
null
null
UTF-8
Python
false
false
360
py
from stegapy import create_image message = '''Steganography is the practice of concealing a file, message, image, or video within another file, message, image, or video. The word steganography combines the Greek words steganos, meaning "covered or concealed", and graphe meaning "writing".''' create_image(message, 'o...
[ "daveb@davebsoft.com" ]
daveb@davebsoft.com
1fa31a59bd30ae57f8c0e2ffec65c5ef13811b6d
528dd70727c0da10483323ae0ef2db6d01124e2d
/scrape all quotes from website/scrape all quotes from website with bs4.py
37f07196dd6e399837b02c997a7e89f5c2b5f56c
[]
no_license
aadarshraj4321/Simple-Scraping-With-BeautifulSoup-
051b764cb256a9b44ef73cbc1aacdb20ba764add
79ef2d748af2df28f8cb6a1d02ed0ec76605cb14
refs/heads/master
2022-12-12T09:14:34.080825
2020-09-10T13:54:04
2020-09-10T13:54:04
293,579,101
1
0
null
null
null
null
UTF-8
Python
false
false
671
py
import requests from bs4 import BeautifulSoup ## url of site which we scrape url = "https://parade.com/937586/parade/life-quotes/" ## request the url to get data from that website and check status code page = requests.get(url) #print(page.status_code) ## call BeautifulSoup and store in soup variable ...
[ "noreply@github.com" ]
aadarshraj4321.noreply@github.com
3e7c3413828b2ba8defb1d25594e2f29762dd7ea
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2333/60716/257539.py
d12c33899ad0ff7c29ed096997fe168b11f5d990
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
301
py
import math x = int(input()) y = int(input()) bound = int(input()) lists = list() for i in range(int(math.log(bound,x))+1): for j in range(int(math.log(bound,y))+1): temp = x**i+y**j if temp<=bound: lists.append(temp) alist = list(set(lists)) alist.sort() print(alist)
[ "1069583789@qq.com" ]
1069583789@qq.com
a53241dd468a92f36d1d3775f8261a5146840ffa
6eec2948c0907b5377de51e61014a48dff3d5ce7
/CODIGOS PYTHON/screenlets-pack-basic/Trash/TrashScreenlet.py
350be6935fd1e5c67071eb8861f59dd25aad37e0
[]
no_license
clcneogeek325/Script_python
4da937cb2caee93a2e0eb945e77ccac8e88ec4bc
87607c97fa738b3e64aefbe0e8c4425724ecff73
refs/heads/master
2021-01-17T07:44:07.124077
2016-06-04T03:26:44
2016-06-04T03:26:44
15,943,668
0
0
null
null
null
null
UTF-8
Python
false
false
8,271
py
#!/usr/bin/env python # # TrashScreenlet (C) 2008 Natan Yellin # Based on the original screenlet (C) 2007 Helder Fraga # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of th...
[ "clcneogeek@gmail.com" ]
clcneogeek@gmail.com
15ffc7de7646ab1686857ece673ee18639100744
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp80_18500.py
bdf0609e00110d1aa1b8fd8d5e0f586bb238cfb5
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,871
py
ITEM: TIMESTEP 18500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 4.1898586015657457e-01 4.6781014139841972e+01 4.1898586015657457e-01 4.6781014139841972e+01 4.1898586015657457e-01 4.6781014139841972e+01 ITEM: ATOMS id type xs ys zs 8 1 0.12863 0.0578786 0.0545008 35 1 0.0714952 0.126436 0.0592095 130 1 0.06587...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
adec619e3b44525d2a8552143b3945a1d9f4e157
2424063d657d643c1f8ccc6cca343271d6d0f708
/Project24/app24/models.py
5a8ad3f6ed2fce774fd34f11bc0610adb453e749
[]
no_license
pythonwithnaveen/DjangoExamples
a0a07cbc53564522cf39649c235716ef5c3a4ba0
57c7a6302ada4079bd3625481e660587bf8015c6
refs/heads/main
2023-07-16T02:36:01.283938
2021-08-12T07:26:22
2021-08-12T07:26:22
371,881,524
0
3
null
null
null
null
UTF-8
Python
false
false
435
py
from django.db import models class EmployeeModel(models.Model): desig = (('Manager','Manager'), ('Developer','Developer'), ('Tester','Tester')) idno = models.AutoField(primary_key=True) name = models.CharField(max_length=100) salary = models.FloatField() designation = m...
[ "=" ]
=
7f9e8ea4f6d4b7553bfcc20e663036a133e34e08
d1c3cfa4707c3d7dcb7578608c317d1e1441c3d2
/동빈좌/기타알고리즘/문제풀이/유형문제풀이/구현/zip_str.py
888762e95a853a77c2598f538a007400d9b19a6c
[]
no_license
wookim789/baekjoon_algo_note
0ad4ddc6dde187afb4346f14ef9ded2f4b7de9ae
a08903d118218d17f4ed86b16ac39bce70adeb78
refs/heads/master
2023-02-08T21:13:25.079062
2021-01-01T14:56:10
2021-01-01T14:56:10
295,260,421
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# 입력받은 반복가능한 2개의 개체를 입력받으면 index에 맞게 압축함 a = [1,2,3] b = [4,5,6] print(list(zip(a,b)))
[ "wookim789@gmail.com" ]
wookim789@gmail.com
57d922bb376a8688b87bd15551f00ed4bc091aa1
78c3082e9082b5b50435805723ae00a58ca88e30
/03.AI알고리즘 소스코드/venv/Lib/site-packages/caffe2/experiments/python/device_reduce_sum_bench.py
04628c97394f2cab1ab8c5c006c88f2316bc60eb
[]
no_license
jinStar-kimmy/algorithm
26c1bc456d5319578110f3d56f8bd19122356603
59ae8afd8d133f59a6b8d8cee76790fd9dfe1ff7
refs/heads/master
2023-08-28T13:16:45.690232
2021-10-20T08:23:46
2021-10-20T08:23:46
419,217,105
0
1
null
null
null
null
UTF-8
Python
false
false
4,076
py
# Copyright (c) 2016-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gudwls3126@gmail.com" ]
gudwls3126@gmail.com
b3852a41403ec640fd038714c357b524040ec896
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/14cde529d953488da375451dc827b0ba.py
51da302e01332cc4536cbc94b62458702df054c3
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
218
py
def word_count(s): """ Return a dict with 'word': number of occurrences for each word in `s`. """ counts = {} for word in s.split(): counts[word] = counts.get(word, 0) + 1 return counts
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
ee7b79b54a232d6dcc47d354eae1376a44c49c4f
4d2cc76dbceff9eded071ba542ab2a1dd8c19f7b
/bhp056/apps/mpepu_maternal/migrations/0027_auto__add_field_maternalconsentaudit_is_literate__add_field_maternalco.py
cc57b045aff711a4c93c5ad87a1687ec0d8cce49
[]
no_license
botswana-harvard/mpepu
5d436638b760150ed76ec223121f5ac7aeee1020
6aa29c91f4fab50782b27e5f55aa33b30aee1dd0
refs/heads/master
2021-01-16T23:15:44.335940
2016-08-12T14:30:17
2016-08-12T14:30:17
65,557,693
0
1
null
null
null
null
UTF-8
Python
false
false
213,774
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'MaternalConsentAudit.is_literate' db.add_column('mpepu_maternal_maternalconsent_audit', 'is_...
[ "ew2789@gmail.com" ]
ew2789@gmail.com
071f313333644280eff6ca1bb6fa556a4d39940e
5e0755091efd2d4ed61bead8aa38b45bab5a8b07
/python/anyascii/_data/_283.py
b81e852d72d7e36591fc185caf37afc52ce242cd
[ "ISC" ]
permissive
casept/anyascii
c27261d87257c17c47fe0e9fc77438437de94c1c
d4f426b91751254b68eaa84c6cd23099edd668e6
refs/heads/master
2022-12-05T07:13:53.075144
2020-08-07T07:55:50
2020-08-07T07:55:50
285,904,577
0
0
ISC
2020-08-07T19:20:00
2020-08-07T19:19:59
null
UTF-8
Python
false
false
669
py
b='Nhe Hong Zang Chai Hong Tian Zhi Xing Xu Zhen Wan Jun Wo Lu Zheng Rong Cheng Fu E Tao Tang Juan Chao Ta Di Juk Zong Keng Tui Keng Hon Co Rong Yun He Zong Cong Qiu Mu Duo Xu Keng Xian Du Kan Ying Zi Jyun Sau Huang Peng Li Bo Ge Ju Ke Hu Yao Tang Qiong Rong Li...
[ "hunter@hunterwb.com" ]
hunter@hunterwb.com
133c0a93bb9ae4ac98104c70fb11d0e6f8f560f2
5e2a66e0416dcaf4674bd58f7dd7bc905800aa92
/chapter1_intro_to_wx/hello_with_classes.py
65730999e668f7a09c7a3dd0cb78c78784a4fe2c
[]
no_license
gridl/applications_with_wxpython
c96ed05b49e3494323e612afb1baccc8ea1e6f93
1fc63c384b7856402b99a97bf91fe0966a5ec413
refs/heads/master
2020-05-17T08:37:01.672727
2019-04-25T19:24:14
2019-04-25T19:24:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# hello_with_classes.py import wx class MyFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title='Hello World') self.Show() if __name__ == '__main__': app = wx.App(redirect=False) frame = MyFrame() app.MainLoop()
[ "mike@pythonlibrary.org" ]
mike@pythonlibrary.org
019b8a110b6d7f632b7b2b3980b4615fba637ae6
2d2c10ffa7aa5ee35393371e7f8c13b4fab94446
/projects/ai/sentiment/prepare.test/to-chars.py
c4b01deea6d39c8ddb5798ccb4ffe0b1d88f440d
[]
no_license
faker2081/pikachu2
bec83750a5ff3c7b5a26662000517df0f608c1c1
4f06d47c7bf79eb4e5a22648e088b3296dad3b2d
refs/heads/main
2023-09-02T00:28:41.723277
2021-11-17T11:15:44
2021-11-17T11:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file to-chars.py # \author chenghuige # \date 2018-10-28 08:37:28.846557 # \Description # ==============================================================...
[ "chenghuige@gmail.com" ]
chenghuige@gmail.com
edc78db0c65027ba6f752324f11b3a42bab1d392
3f6c16ea158a8fb4318b8f069156f1c8d5cff576
/.PyCharm2019.1/system/python_stubs/-1046095393/math.py
ba1d90a62a63a5288b163f4b942262c8e01a3128
[]
no_license
sarthak-patidar/dotfiles
08494170d2c0fedc0bbe719cc7c60263ce6fd095
b62cd46f3491fd3f50c704f0255730af682d1f80
refs/heads/master
2020-06-28T23:42:17.236273
2019-10-01T13:56:27
2019-10-01T13:56:27
200,369,900
0
0
null
2019-08-03T12:56:33
2019-08-03T11:53:29
Shell
UTF-8
Python
false
false
11,974
py
# encoding: utf-8 # module math # from (built-in) # by generator 1.147 """ This module is always available. It provides access to the mathematical functions defined by the C standard. """ # no imports # Variables with simple values e = 2.718281828459045 inf = inf nan = nan pi = 3.141592653589793 tau = 6.283185307...
[ "sarthakpatidar15@gmail.com" ]
sarthakpatidar15@gmail.com
5c23552b144d0f866937c9b01f222bb74d2a6c65
c415caab95b63c8b3dd217cd5cf2845362e5df77
/concept/auto_generated/afrl/cmasi/WavelengthBand.py
4ff57fc6791f5a2d3d3092ee43b40dcb4fdd41b1
[]
no_license
GaloisInc/amase-code-generator
10fe109061c78a7a41ebee6a805476eb0fde9b73
2d18cc8e25b86dd22e1b3d2862178e2f598b18ab
refs/heads/master
2020-09-27T10:26:35.411118
2017-01-06T23:52:38
2017-01-06T23:52:38
66,033,666
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
#! /usr/bin/python class WavelengthBand: AllAny = 0 EO = 1 LWIR = 2 SWIR = 3 MWIR = 4 Other = 5 def get_WavelengthBand_str(str): """ Returns a numerical value from a string """ if str == "AllAny": return WavelengthBand.AllAny if str == "EO": return WavelengthBand.EO ...
[ "sahabi@gmail.com" ]
sahabi@gmail.com
3c854ed5a7b301776fed37dd14bf8b1ac5d6ea1b
d539072e556343c748619883a525a88318cf6003
/db/models.py
d48d8080051b2dc5314381da4892bbaecb802c2e
[]
no_license
W1ntersnow/fastapi_simple_sku
87dcf861ba02e0314e9f2c48a1ac82ef0e0d8969
f62abc33810e17bac7a7227f76a6fcfafa0f5979
refs/heads/master
2022-07-31T06:14:41.011961
2020-05-19T08:14:59
2020-05-19T08:14:59
265,180,545
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.orm import relationship from . import Base class ItemType(Base): __tablename__ = "item_types" id = Column(Integer, primary_key=True, index=True) title = Column(String, unique=True) description = Column(String) items = re...
[ "example@example.com" ]
example@example.com
06e6786e163a00c5c9e3fc1ccb82b1b65a94661e
2576f319799e2a6ed6f4b7025ab87bf7262a3a9f
/eng_text_norm/cmudict.py
6caf56c745ddc90b522cee6bded625d78724f2aa
[]
no_license
soon14/TTS_text_norm
f262a6ca04dfcfb6137662ceee9fe59617266dab
d094160a958b9117f15131742b4751acf45d1249
refs/heads/master
2022-06-19T10:37:47.872213
2020-05-12T07:06:54
2020-05-12T07:06:54
264,113,334
2
1
null
2020-05-15T06:23:01
2020-05-15T06:23:01
null
UTF-8
Python
false
false
2,090
py
import re valid_symbols = [ 'AA', 'AA0', 'AA1', 'AA2', 'AE', 'AE0', 'AE1', 'AE2', 'AH', 'AH0', 'AH1', 'AH2', 'AO', 'AO0', 'AO1', 'AO2', 'AW', 'AW0', 'AW1', 'AW2', 'AY', 'AY0', 'AY1', 'AY2', 'B', 'CH', 'D', 'DH', 'EH', 'EH0', 'EH1', 'EH2', 'ER', 'ER0', 'ER1', 'ER2', 'EY', 'EY0', 'EY1', 'EY2', 'F', 'G',...
[ "CCS695146667@163.com" ]
CCS695146667@163.com
1ea61fd5bebffa3f350071c167bcb521e65cee9d
5fda498ef0bfc06962ad9b864d229193c45ccb4a
/Project2_Data_Wrangle_OpenStreetMaps_Data_R1/problem_sets1-6/Lesson_3_Problem_Set/01-Auditing_Data_Quality/audit.py
0f95f771d5fb8eea4a50b47eeedc344417c91214
[]
no_license
prabhurgit/Data_Aanlyst_Nanodegree_projects
7934869b63cae57cb2851e22a5023c6cbe3d18ba
a7a13d93c632cd1840ba3a00fff80a60a131b7f3
refs/heads/master
2021-05-31T18:47:48.669414
2016-03-30T04:08:39
2016-03-30T04:08:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ In this problem set you work with cities infobox data, audit it, come up with a cleaning idea and then clean it up. In the first exercise we want you to audit the datatypes that can be found in some particular fields in the dataset. The possible types of values can be:...
[ "xiewisdom@gmail.com" ]
xiewisdom@gmail.com
19c4a163691d31b64a38113c543e213cfe860715
431945304483c2bb1645e8a5d8bc2ea2fac01ed0
/planetstack/hpc_wizard/query.py
874022e4231596f7a2deed6770992b4a5f12d3b7
[ "Apache-2.0" ]
permissive
bits3rpent/xos
42719ecc3305f0095e47f9479cce81b6e62ae56d
d4f4eb5f78180b49c822bb93669c9ee8d7a3d0f6
refs/heads/master
2021-01-24T03:56:56.587180
2015-02-11T18:33:30
2015-02-11T18:33:30
30,662,846
0
1
null
2015-02-11T18:32:18
2015-02-11T18:32:18
null
UTF-8
Python
false
false
9,372
py
import re import base64 import requests import urllib import json import httplib2 import threading import os import time import traceback from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.client import AccessTokenRefreshError from oauth2client.client import OAuth2WebServerF...
[ "smbaker@gmail.com" ]
smbaker@gmail.com
7e8beeca2a34635f4596d185c06264add736b251
e7b7505c084e2c2608cbda472bc193d4a0153248
/LeetcodeNew/python/Q_17_VendingMachine.py
be91ce07b43dce97430308e53ad4bab5ac50180e
[]
no_license
Taoge123/OptimizedLeetcode
8e5c1cd07904dfce1248bc3e3f960d2f48057a5d
3e50f6a936b98ad75c47d7c1719e69163c648235
refs/heads/master
2023-02-27T21:13:40.450089
2023-02-07T04:11:09
2023-02-07T04:11:09
170,044,224
9
3
null
null
null
null
UTF-8
Python
false
false
4,591
py
from abc import abstractmethod, ABC from enum import Enum from collections import Counter class ProductType(Enum): COKE = 1 class State(ABC): def __init__(self, vendingMachine): self.__vendingMachine = vendingMachine @abstractmethod def selectItem(self, item: Product): pass @ab...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
1ac4ce437d608a5a1b7a11050359959e8ed317f5
4881b8c2c038d449485598c5761d4a3ca098792c
/LeetcodeNew/python/LC_793.py
ae0d5246551452e2c7ebeb32dad1b1c5ba7528e0
[]
no_license
derrickweiruluo/OptimizedLeetcode-1
2ae3b177e7bd39ceb45993f4de9cc10e40fadc5b
a4d8b54d3004866fd304e732707eef4401dfdb0a
refs/heads/master
2023-08-29T03:46:44.177836
2021-10-10T19:22:50
2021-10-10T19:22:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
class Solution: def preimageSizeFZF(self, K: int) -> int: left = 0 right = 10 ** 5 * (K + 1) while left < right: mid = left + (right - left) // 2 count = self.cal2(mid) if count == K: return 5 elif count < K: le...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
7b95fcb647de0f245df18616325ca3e65b5ff326
ac608801a67543c800d3534a961359592019f1ed
/My stuff/Listss/Main.py
b48f4977635a5e0a60f821bd7762a0e277723384
[]
no_license
Codingmace/PiHole-2020
4834dbf605aa3469141ca0e4895b89c39a61bf43
42cab0cc3ba1803a18fec6ad6e0b37d0de51d696
refs/heads/main
2023-03-20T22:28:52.114619
2021-03-18T16:37:18
2021-03-18T16:37:18
329,333,161
0
0
null
null
null
null
UTF-8
Python
false
false
5,694
py
import dns.resolver import os.path debug = True def get_records(domain): ids = ['A', 'AAAA', 'SOA', 'CNAME', 'MX', 'NS', 'PTR', 'CERT', 'SRV', 'TXT'] for a in ids: try: answers = dns.resolver.query(domain, a) for rdata in answers: return a ...
[ "codingmace@gmail.com" ]
codingmace@gmail.com
2688aa4039d5144652063095a7e8cdde6888dcbe
4e229e075a3f5e71a33525981fa51fd7878c9715
/sacrerouge/metrics/sumqe.py
0286a60a36075834184076678d59a089418e5a63
[]
no_license
CogComp/content-analysis-experiments
57d68441272c39b687656976d20eddd817c28250
f6abd72029b6853627ddd191979f105a9385eed7
refs/heads/master
2023-06-27T00:29:34.115264
2021-08-04T14:36:17
2021-08-04T14:36:17
305,768,372
2
1
null
null
null
null
UTF-8
Python
false
false
4,996
py
import argparse import json import os from overrides import overrides from subprocess import Popen, PIPE from typing import List from sacrerouge.commands import Subcommand from sacrerouge.common import DATA_ROOT, TemporaryDirectory from sacrerouge.io import JsonlWriter from sacrerouge.data import MetricsDict from sacr...
[ "danfdeutsch@gmail.com" ]
danfdeutsch@gmail.com
436bd3b89520e5808d16be5ff1543ca6a878491e
79bf797423e4c591e33b199ae578fff328c811cd
/practico_02/ejercicio_04.py
9503962a31047e707994cd7f7088dd3dae758180
[]
no_license
DanielDruetta/frro-soporte-2019-25
6512c7c7ebaca8429883a09dbaac5c8b4e49bf0c
5244116177a67023694cfd6966ff35d22d31c284
refs/heads/master
2020-04-29T05:15:10.050444
2019-11-01T18:46:54
2019-11-01T18:46:54
175,875,936
0
0
null
2019-08-16T18:44:23
2019-03-15T18:58:00
Python
UTF-8
Python
false
false
1,291
py
# Escribir una clase Estudiante, que herede de Persona, y que agregue las siguientes condiciones: # Atributos: # - nombre de la carrera. # - año de ingreso a la misma. # - cantidad de materias de la carrera. # - cantidad de materias aprobadas. # Métodos: # - avance(): indica que porcentaje de la carrera tiene aprobada....
[ "franmrivera@gmail.com" ]
franmrivera@gmail.com
65ce00e4875680bca80aae59bd314f775465f09e
5430cd3b483c858567f1687b0bed43eccd4d0fe0
/gpregression_gpy/main.py
4981085b19c277a8043ea4726eb72657fbb8eb5f
[]
no_license
roholazandie/gaussian_process_tutorial
a1b46c712d31545ee428db04a511150933902de8
f7efbaa534f6834447cb77a97e5162efd92f9a1a
refs/heads/master
2021-02-14T15:40:12.649801
2020-05-21T16:17:37
2020-05-21T16:17:37
244,816,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
import numpy as np from GPy.kern import Matern32, GridRBF, RBF from GPy.models import GPRegression import pods import matplotlib.pyplot as plt # read data from visualization import plot_gp data = pods.datasets.olympic_marathon_men() x_train = data["X"] y_train = data["Y"] # choose a kernel #kernel = Matern32(input...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
c02214574892daaeca723ea71aff7f4af91b48a2
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/d67af04c45b8cfc4e7e19cf2d2af2f980db88e7d-<_get_body>-fix.py
636c93a950b87104066d3e66dc628ca3297088b7
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
def _get_body(self, commands, output, reqid=None): 'Create a valid eAPI JSON-RPC request message\n ' if (output not in EAPI_FORMATS): msg = ('invalid format, received %s, expected one of %s' % (output, ', '.join(EAPI_FORMATS))) self._error(msg=msg) params = dict(version=1, cmds=comman...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
04fb8959fbbd684932517689f4c8569c493a7ca6
1c6a74f3b2b9ce4be60eb1714336d16fcdc2bead
/docs/conf.py
567253684a12cb3411e175487faf87e0caeda112
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jtratner/python-future
d190fc299a621b1fe8483ad671eb372ed2546ed1
04882be6e6c34f47001893d496740d243b4d80ba
refs/heads/master
2021-01-21T08:50:38.125582
2013-12-01T13:15:50
2013-12-01T13:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,679
py
# -*- coding: utf-8 -*- # # Python-Future documentation build configuration file, created by # sphinx-quickstart on Sun Sep 22 07:02:03 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. #...
[ "ed@pythoncharmers.com" ]
ed@pythoncharmers.com
c79b99caca7a967e2ae90f0c8801dfaa8b685e62
257cd39cce602506f6c892584f79180f96ce8729
/artevenue/migrations/0059_remove_amazon_data_parent_key.py
24664ad5899666727752f7395adff6e692cd06a5
[]
no_license
santhoshanandhan/artevenue
7cbfac2e4ef8f03f44c085a8ce3823504a8ecc7e
0ce86149a0b706cb2ffa672b7b066e3bfeeef74c
refs/heads/master
2022-12-26T12:34:55.685330
2020-10-13T07:04:28
2020-10-13T07:04:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
# Generated by Django 2.2.4 on 2019-10-21 05:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('artevenue', '0058_auto_20191021_1101'), ] operations = [ migrations.RemoveField( model_name='amazon_data', name='parent_key'...
[ "shekhart@hotmail.com" ]
shekhart@hotmail.com
9164964ff22bbcd7e054324032425a0ebdfb679c
aaaf3b641bbc03180646c427bbfc52510357e55e
/models_inheritance/wsgi.py
dc5064ebe45456dddd93e47d2a99208ebd5499a4
[]
no_license
deepanshu-jain1999/inheritance_in_model
5b47677575b1c8c9d6168b1ba1979a231ed78ba2
2d3080a5affa561aacc02081252d6e8ebb90d7dc
refs/heads/master
2021-04-12T09:52:47.816940
2018-03-23T20:02:57
2018-03-23T20:02:57
126,522,630
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for models_inheritance project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("D...
[ "deepanshuj1999@gmail.com" ]
deepanshuj1999@gmail.com