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
830a140f3af9cb75dd17cf22df4d0529f9709007
8f1673c2abfed8f372e22fbd1c280486014b4466
/nmt/embeddings/fresh_embedding_test.py
02c77c2260cfcd5f01d846f377761ea8db571074
[ "Apache-2.0" ]
permissive
naivenlp/naivenmt-legacy
be670df40a98c0f28bdacb2a3acf9a5b06667966
bcceeec0a477eb09c4a8915e638a27dae6c95562
refs/heads/master
2021-10-27T02:55:33.160837
2019-04-15T14:39:06
2019-04-15T14:39:06
118,464,831
2
0
null
null
null
null
UTF-8
Python
false
false
931
py
import tensorflow as tf import numpy as np from nmt.embeddings.fresh_embedding import FreshEmbedding from nmt import misc_utils class FreshEmbeddingTest(tf.test.TestCase): def testFreshEmbedding(self): vocab_file = misc_utils.get_test_data('iwslt15.vocab.100.en') embedder = FreshEmbedding(vocab_...
[ "zhouyang.luo@gmail.com" ]
zhouyang.luo@gmail.com
f2ea129609ab68de9af623d8b8c473e6eb333988
98f1a0bfa5b20a0b81e9e555d76e706c62d949c9
/examples/sparse/sign.py
61ba2104d673a953ad976e5b10a35c9c2232d0b9
[ "Apache-2.0" ]
permissive
dmlc/dgl
3a8fbca3a7f0e9adf6e69679ad62948df48dfc42
bbc8ff6261f2e0d2b5982e992b6fbe545e2a4aa1
refs/heads/master
2023-08-31T16:33:21.139163
2023-08-31T07:49:22
2023-08-31T07:49:22
130,375,797
12,631
3,482
Apache-2.0
2023-09-14T15:48:24
2018-04-20T14:49:09
Python
UTF-8
Python
false
false
3,804
py
""" [SIGN: Scalable Inception Graph Neural Networks] (https://arxiv.org/abs/2004.11198) This example shows a simplified version of SIGN: a precomputed 2-hops diffusion operator on top of symmetrically normalized adjacency matrix A_hat. """ import dgl.sparse as dglsp import torch import torch.nn as nn import torch.nn....
[ "noreply@github.com" ]
dmlc.noreply@github.com
7476db67d7a9a1e950e4e9ac795f4d9a8fc1af7d
bdf647d2f626578aa447258b7529f4acfdb2cfba
/tencentcloud/tke/v20180525/models.py
26b20dc4ac138734595287fda29734009f79bad4
[ "Apache-2.0" ]
permissive
psixdp/tencentcloud-sdk-python
2c93528b9d7a5cec1fa38c3dd140a277abf8d26e
7e0ec01ebb50cbfb92c60ed1f29a59b77199ccea
refs/heads/master
2020-06-30T22:12:23.331433
2019-08-02T03:16:09
2019-08-02T03:16:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,176
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
f77ea489f20c231434ca0f1caea9de519cf3ca2f
b7a2a80843fa5141ffb9c7b4439f1d2ac713af30
/Version2/SystemKommandos.py
3eb10a56a4624476aab5ba3c18ba953ddb6bde07
[]
no_license
wunnox/python_grundlagen
df1bc2b9b1b561bd6733ccc25305e799a48e714e
fa84d7aae7332a7acbb3ba7ff0fe2216cc345fc0
refs/heads/master
2023-05-01T12:19:23.208445
2023-04-16T11:29:01
2023-04-16T11:29:01
222,099,539
2
3
null
2019-12-19T10:56:43
2019-11-16T12:57:54
Python
UTF-8
Python
false
false
323
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import print_function import os log = os.popen("ping -c 1 google.com").readlines() for zeile in log: print(zeile.replace("\n", "")) # oder if os.system("ping -c 1 google.com") == 0: print("IP ist erreichbar") else: print("IP ist NICHT erreichbar...
[ "peter.christen@cssgmbh.ch" ]
peter.christen@cssgmbh.ch
7f2cffad15097d2569d02638773032d76f757de4
8cbbec003a96286a70549c75233568c9fc668c12
/src/bioservices/services.py
f853f9840f0a2e9b2b4de0abca30ed64bd0e3206
[]
no_license
pjshort/bioservices
bce6e623b5d88bf9dbf6ca4a4cfb89a4106b6b5d
7f2f948a03089cb47f9dda3954f4c0697a0fddee
refs/heads/master
2020-12-11T03:47:26.414665
2014-11-22T14:41:44
2014-11-22T14:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,520
py
# -*- python -*- # # This file is part of bioservices software # # Copyright (c) 2013-2014 - EBI-EMBL # # File author(s): # https://github.com/cokelaer/bioservices # # Distributed under the GPLv3 License. # See accompanying file LICENSE.txt or copy at # http://www.gnu.org/licenses/gpl-3.0.html # # docum...
[ "cokelaer@gmail.com" ]
cokelaer@gmail.com
15eb72ad636edbf32a27501814ebe6ead6ccc591
3c750d4d60660fdf6ef84d7b7ab9663fb76d0fa1
/sopht/numeric/eulerian_grid_ops/poisson_solver_2d/scipy_fft_2d.py
c27c75ab0c351c35f8a07f4cc81135a2084dd26a
[ "MIT" ]
permissive
SophT-Team/SophT
25d157a17734600e9aa4f522b4574bfefe202bc7
99a094e0d6e635e5b2385a69bdee239a4d1fb530
refs/heads/main
2023-08-31T21:14:10.304592
2023-08-31T17:00:38
2023-08-31T17:00:38
498,451,510
2
2
MIT
2023-09-12T15:37:31
2022-05-31T18:25:12
Python
UTF-8
Python
false
false
457
py
"""Create reference FFT operations via scipy in 2D.""" import numpy as np from scipy.fft import irfftn, rfftn def fft_ifft_via_scipy_kernel_2d( fourier_field: np.ndarray, inv_fourier_field: np.ndarray, field: np.ndarray, num_threads: int = 1, ) -> None: """Perform reference FFT operations via scip...
[ "bhosale2@illinois.edu" ]
bhosale2@illinois.edu
0856f6a1b38760b3161698bc0ef30a8a3bca0ed4
360c777a2b77be466b1cf7c8fd74d6fd04f56b55
/migrations/versions/7844211fb55_.py
7d304f72a21244221e00963d026d4463433f0936
[ "MIT" ]
permissive
hreeder/nexus-auth
790a3b2623ddf443138a4b0f0af1380dbc4db8ae
8d51aef01647e32ba4a284f02de73a2caad7cf49
refs/heads/master
2021-01-10T10:08:37.190558
2016-02-29T12:27:21
2016-02-29T12:27:21
52,789,087
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
"""empty message Revision ID: 7844211fb55 Revises: c5242907c1e Create Date: 2014-07-30 10:23:03.502189 """ # revision identifiers, used by Alembic. revision = '7844211fb55' down_revision = 'c5242907c1e' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - plea...
[ "harry@harryreeder.co.uk" ]
harry@harryreeder.co.uk
cf7ab34a660f56433f5b54ab6324670467ea001f
214dbac428fc8ad18d8775cd3ffd744068a77d24
/my_django_app/settings.py
9cc596a67ddf070aaa58ab4421bb25e912c69226
[]
no_license
nsalahdeen/DjangoProject
879c609fd5b53cf4be3a0ff5358d70adfbebbcf7
65a1bdcddb719e27ca67cd12aa47171f50370036
refs/heads/main
2023-04-20T04:25:20.608614
2021-05-04T15:51:50
2021-05-04T15:51:50
364,306,188
0
0
null
null
null
null
UTF-8
Python
false
false
3,341
py
""" Django settings for my_django_app project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import o...
[ "you@example.com" ]
you@example.com
e572940f400c4443799befdb71ed04fca2b087fd
0305c23d48ee6e17722124aed5f90f55f1a2f5ef
/examples/lightgbm_examples/classification.py
9924b8bca54a03c1e353420d2547fd5d7404cf68
[ "MIT" ]
permissive
mdjabc/hyperparameter_hunter
d20a01fa6a3493fdbb595f8b5615a9d9ff398770
bfbd1faf63272a62e6f971d7e9a0487d71aea8f6
refs/heads/master
2020-05-16T01:39:39.275129
2019-04-02T01:16:30
2019-04-02T01:16:30
182,608,190
1
0
MIT
2019-04-22T02:21:50
2019-04-22T02:21:49
null
UTF-8
Python
false
false
2,453
py
from hyperparameter_hunter import Environment, CVExperiment from hyperparameter_hunter import RandomForestOptimization, Real, Integer, Categorical import pandas as pd from sklearn.datasets import fetch_covtype from sklearn.metrics import f1_score from lightgbm import LGBMClassifier #################### Format DataFram...
[ "hunter@mcgushion.com" ]
hunter@mcgushion.com
7f8d4393203d77170ee56f9dc35fd118af389dbf
69d8f3cf7c10640a692fa9175f5a63a5a7b54fcd
/naver_webtoon.py
2a03516c541bf495641c72d69deb1ef931d4df67
[]
no_license
baidoosik/crawling
bd89fd9f59ecb8921e765b03faadf1c55bd59c74
62669badf6ce84e0ac9e575b736e41051642ea9c
refs/heads/master
2021-06-21T19:25:30.175798
2017-07-30T15:02:55
2017-07-30T15:02:55
84,198,685
0
0
null
null
null
null
UTF-8
Python
false
false
2,083
py
from crawling import * def naver_webtoon(url): ep_headers = { 'referer': 'http://comic.naver.com/webtoon/' } html = req.get(url, headers=ep_headers).text soup = bfs(html, 'html.parser') webtoon_name = ''.join(soup.select('div.detail h2')[0].text.split()) ep_name = soup.select('.tit_ar...
[ "qoentlr37@naver.com" ]
qoentlr37@naver.com
c63011b271a1d1a905c1b4a064dc8fb4dfb1f928
c957b4663cc4cb21e5172f23c6989031be8c3e5b
/python/830. Positions of Large Groups.py
a1f9bf5b13cad44b7186ef6646eebc9f05be1547
[]
no_license
gajanlee/leetcode
e061dc37af0f83bf2bce00c391c0b8a9f3177b22
0d3c8477f05604a059e58a8764ce0d8bd418edde
refs/heads/master
2018-12-26T06:12:24.995542
2018-10-30T05:03:27
2018-10-30T05:03:27
102,965,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
""" In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the groups "a", "bb", "xxxx", "z" and "yy". Call a group large if it has 3 or more characters. We would like the starting and ending positions of every large group. Th...
[ "lee_jiazh@163.com" ]
lee_jiazh@163.com
26fb69f33707a68a52b9cf096ecea4d441b19610
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9QbhjtbkXp3QZNuDu_4.py
0fdb756be15b9bb5f9a2c994e4cc0739f8aa07b5
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
""" In this challenge, you have to find the last 15 palindromes of all numbers starting from ten and up to a given limit, including the limit in the search. Given an integer `limit` being the upper limit of the range of interest, implement a function that returns the last 15 palindromes numbers lower **or equal** t...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8513a8e7ee09df250f1ac7d1b06dc0a64cd08208
2a6f4b01b5ef2729eef6b24cba926f90edace478
/vectorbt/utils/config.py
3ae73a71793ae3c6a482ea095078ea8b9839342b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nehcuh/vectorbt
c8c413f11a8e1503f75477e41fc30127c1300236
c0f307169b19a0f26c1992a9e29f4be380c1b220
refs/heads/master
2023-04-11T14:17:08.590766
2021-04-07T13:12:11
2021-04-07T13:12:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,664
py
"""Utilities for configuration.""" from copy import copy from collections import namedtuple import dill import inspect from vectorbt.utils import checks from vectorbt.utils.attr import deep_getattr def get_func_kwargs(func): """Get keyword arguments of the function.""" signature = inspect.signature(func) ...
[ "olegpolakow@gmail.com" ]
olegpolakow@gmail.com
01e300e4ad3f48c320b5035e476c2a1eefe88cf8
75bb245280a749fcb1a74e94a62b78e4ceed16f0
/message_manager.py
6157da0ba6e39a61f90304e3c8d370c579e628bd
[]
no_license
cjlavan/rpi_set_wifi
72cee2a8e4531b52398ff28f2abec47a269202d6
7600d05d8c9fa0d6c96663e3e86ca33095f56e0b
refs/heads/master
2016-09-10T20:45:02.874265
2015-05-11T00:30:19
2015-05-11T00:30:19
35,393,561
0
0
null
null
null
null
UTF-8
Python
false
false
6,989
py
import requests import os import os.path import json from unipath import Path import datetime import time import wget import _SETTINGS import convert from message_queue import message_queue class message_manager: def __init__(self): self.new_messages = False self.BASE_DIR = os.path.dirname(...
[ "you@example.com" ]
you@example.com
83ffb508c04c0a8d5c6bd89beb8e65a071ecc567
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/sc.photogallery-1.0b1-py2.7.egg/sc/photogallery/browser/view.py
105b30e6969b968feec9c890f33eeb3a1d0d8455
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
3,418
py
# -*- coding: utf-8 -*- from plone import api from plone.dexterity.browser.view import DefaultView from plone.memoize import forever from plone.memoize.instance import memoizedproperty from sc.photogallery.config import HAS_ZIPEXPORT from sc.photogallery.interfaces import IPhotoGallerySettings from sc.photogallery.util...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
ca1535c9186ea6b4058c35374d2cd992af6df474
a6106cedc42dcab94ccc4ee6d681372d2246ce5e
/python/활용자료/예제/07/ex7-7.py
12dd6228f533058e5632e76aac1e1c9cac3cc731
[]
no_license
leemyoungwoo/pybasic
a5a4b68d6b3ddd6f07ff84dc8df76da02650196f
481075f15613c5d8add9b8c4d523282510d146d2
refs/heads/master
2022-10-08T19:57:26.073431
2020-06-15T06:50:02
2020-06-15T06:50:02
267,502,565
1
0
null
null
null
null
UTF-8
Python
false
false
385
py
def circle_area(r) : area = r * r * 3.14 return area radius = int(input('원의 반지름을 입력하세요 : ')) result = circle_area(radius) print('반지름 : %d, 원의 면적 : %.2f' % (radius, result)) radius = int(input('원의 반지름을 입력하세요 : ')) result = circle_area(radius) print('반지름 : %d, 원의 면적 : %.2f' % (radius, result))
[ "mwlee2587@gmail.com" ]
mwlee2587@gmail.com
bf4ee2d02a325b438c10d2b86a54a4028c965b9b
3a6bf7337126c8b1883e76cf1f46cec0886f1447
/rssdl/rss.py
0280fcd0436b89dd40e7f313f365f2b62e554d0f
[ "Apache-2.0" ]
permissive
egustafson/rssdl
fc4265edd9138a54005b98bdfc1ea5dfb25707d5
2b42d8aa4a0d03d31629d8446e7336c6c1348e58
refs/heads/master
2020-12-24T06:57:21.265487
2017-09-15T20:59:58
2017-09-15T20:59:58
58,835,610
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" RSS DOM for RSSDL """ import feedparser class Feed(object): def __init__(self, href): self._href = href self._d = None def result(self): return self._d def parse(self): self._d = feedparser.parse(self._href) return self._d.status if 'status' in self._d else 0...
[ "eg-git@elfwerks.org" ]
eg-git@elfwerks.org
b6719129deb3753fda7d1da2bf054ef2b0b7086b
bb4e132c5978a1edc2ef4fb78d1bb5a793809408
/dral_text/migrations/0005_auto_20180421_2332.py
2011d67aa3e519a34a52ebb3021d281bc28eafa0
[ "MIT" ]
permissive
n-romanova/dral-django
7335e581f1fffe0e2d42614678010ead5c9202f3
4af92a46e207cc8a427d2f8eafe688c61a73d39e
refs/heads/master
2020-08-31T03:11:37.199516
2019-10-03T17:19:05
2019-10-03T17:19:05
218,569,974
0
0
null
2019-10-30T16:15:47
2019-10-30T16:15:47
null
UTF-8
Python
false
false
707
py
# Generated by Django 2.0 on 2018-04-21 22:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dral_text', '0004_auto_20180421_2231'), ] operations = [ migrations.AddField( model_name='occurence', name='paraphrase...
[ "geoffroy.noel@kcl.ac.uk" ]
geoffroy.noel@kcl.ac.uk
803f3401202b20729ba63a9968b76cfb69eb1b03
c558d1da1aedf377e6cb6cf66c5136cfb7c32167
/python-new-trunk/sfapi2/sflib/runWithAnalysis.py
978d569bb74522ab578050a8fad567a9a6a3a256
[ "CC0-1.0" ]
permissive
raychorn/svn_molten-magma
46a8da015844b52fd2fc777225f11b1891b0000a
8aa2ff2340707eecae6514943e86f5afba9cd54a
refs/heads/main
2022-12-26T15:45:24.851522
2020-10-15T16:52:04
2020-10-15T16:52:04
304,358,985
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
import os, sys import traceback from vyperlogix import misc from vyperlogix.misc import ioTimeAnalysis import types import SfStats sf_stats = SfStats.SfStats() def dummy(): pass def init_AnalysisDataPoint(name): ioTimeAnalysis.initIOTime(name) def begin_AnalysisDataPoint(name): ioT...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
9301a8e19c39fa597a374ec83ca5ac9308d25d56
e9032e64138d7b9dd90a330dfe4588e2c83f6667
/google/cloud/compute_v1/services/url_maps/pagers.py
1a5d42fc43ca21958c622ecbbf65987afbee0aa4
[ "Apache-2.0" ]
permissive
Ctfbuster/python-compute
6cff2418969009794c3fadadc4c45e20d7b40509
7a9e8324e08c46a93050908760b2b5aca054a863
refs/heads/main
2023-08-26T12:37:52.363526
2021-10-04T15:34:37
2021-10-04T15:34:37
412,884,620
0
0
Apache-2.0
2021-10-02T18:49:05
2021-10-02T18:49:03
null
UTF-8
Python
false
false
5,578
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 or...
[ "noreply@github.com" ]
Ctfbuster.noreply@github.com
e40a9f4648944ecbb580038b5267b736e6a1cc7a
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/TmasgxCm6iz3gTGHk_18.py
f0c40f2ac8ab47faef818d3f66b85e4ebaed9fb1
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
""" Write a function that returns the **length of the shortest contiguous sublist** whose sum of all elements **strictly exceeds** `n`. ### Examples min_length([5, 8, 2, -1, 3, 4], 9) ➞ 2 min_length([3, -1, 4, -2, -7, 2], 4) ➞ 3 # Shortest sublist whose sum exceeds 4 is: [3, -1, 4] min_le...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5ebff17593beda1effd5a60635d6921fc7b98ab2
07cabeb47bd7c9a4e06e824ece28631c7d7441a1
/virtual/bin/easy_install
d66210d85b88436a51d477c4ceeb85a8a146d4c6
[ "MIT" ]
permissive
Jeffmusa/PITCH-POOL
bd2b27ea5bc5b47499c0b822c46ff518eae5f2f4
96654a3ba7fc3f4ba00d7fb617644cc9cd5ba041
refs/heads/master
2020-03-28T04:17:07.471479
2018-09-13T13:21:17
2018-09-13T13:21:17
147,705,197
0
2
null
null
null
null
UTF-8
Python
false
false
257
#!/home/vicklyne/Pitch/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jeffmusa@gmail.com" ]
jeffmusa@gmail.com
ed4725673a73387fa9143bfc3a1a63fd28e669a2
9cabdeb8dce5718e8f4f490f3684eba0eb1f2d2e
/contrib/devtools/github-merge.py
709b20287ca325e74972a29584e54ec67e442f2a
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
wolfoxonly/woo
fcfe275007cb102fff10239b0f722264dbbd40e2
a5fb13575afe855b58915bd8e15cbffb9015e5e2
refs/heads/master
2020-03-09T17:00:57.668308
2018-05-13T15:21:17
2018-05-13T15:21:17
127,590,136
0
0
null
null
null
null
UTF-8
Python
false
false
13,970
py
#!/usr/bin/env python3 # Copyright (c) 2016-2017 Woochain Core Developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # This script will locally construct a merge commit for a pull request on a # github repository, inspect it,...
[ "415313577@qq.com" ]
415313577@qq.com
349da3c46b25c597a4fea4b6ffed199281d111b3
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/metrics/tensorflow/__init__.py
5eb861df8a3c94200471f2efbde2cb138194a48e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
449
py
from vega.common.class_factory import ClassFactory from .metrics import Metrics ClassFactory.lazy_register("vega.metrics.tensorflow", { "segmentation_metric": ["trainer.metric:IoUMetric"], "classifier_metric": ["trainer.metric:accuracy"], "sr_metric": ["trainer.metric:PSNR", "trainer.metric:SSIM"], "f...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
d9d15c7369252080d67b4a3db18eda581179e3b9
7950c4faf15ec1dc217391d839ddc21efd174ede
/contest/weekly-contest-266/5919.0_Vowels_of_All_Substrings.py
836bcb1c21e6f95554a3972b51237f0616b166fa
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
''' 41 / 51 个通过测试用例 状态:超出时间限制 brute force T: O(N^2) S: O(N) ''' class Solution: def countVowels(self, word: str) -> int: N = len(word) pre = [0] * (N + 1) for i, ch in enumerate(word): if ch in 'aeiou': pre[i + 1] = pre[i] + 1 else: pr...
[ "838255715@qq.com" ]
838255715@qq.com
958e5eceba3a97c5f73ae5f97c2f2d507c3228c4
8f8498bb6f56b19d45a1989c8113a077348c0a02
/백준/최소신장트리/행성 터널 - 프림.py
1b9cd115b4de9658e77fc0d211d97f40b0242f95
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
800
py
import sys sys.stdin = open('행성 터널.txt') import sys input = sys.stdin.readline from heapq import heappush, heappop N = int(input()) star = [] for i in range(N): x, y, z = map(int, input().split()) star.append((x, y, z, i)) edges = [[] for _ in range(N)] for i in range(3): star.sort(key=lambda x: x[i]) ...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com
05bbe819c737091fa9d1aff4a383a5ca8734dd1c
461cf2fd99330558ec96bf551cb1703e627868a0
/get_pages.py
b050961df0e6de3f1240f8bc48e06c5237fb092d
[]
no_license
abelsonlive/bcni-pra
408f72ba369ca164c5efb4442ebd2eaeb2c8dd78
fa51ae45382c45f15fe861060d6e90cc00c27590
refs/heads/master
2021-01-20T11:50:13.432486
2013-04-29T14:45:04
2013-04-29T14:45:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import selenium from selenium import webdriver import time URL = "http://secure.phila.gov/paplpublicweb/GridView.aspx" b = webdriver.Firefox() b.get(URL) for i in range(2, 806): print i text = b.page_source.encode('utf-8') fp = "raw_pages/page%s.txt" % (i-1) print "writing", fp, "to file" with op...
[ "brianabelson@gmail.com" ]
brianabelson@gmail.com
a73c7308d19a2723bbdb73a89ceca2790e0ddbea
3a10cda6dbdeee36b24591ada2c551ff2f179d19
/app/models/hour.py
1a14852b19fe5a1765504a13f12ccb678185c99c
[]
no_license
ttecles/weather_backend
a0d0c6317c3fde6c4ac6df17c7c9a5ea59299302
b4b2886a3f0a2b6b502bd38d0b98f017b01ef6b0
refs/heads/master
2023-02-19T12:31:52.295041
2021-01-26T08:56:34
2021-01-26T08:56:34
330,950,429
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
from app import db class Hour(db.Model): __tablename__ = 'Hour' locality_id = db.Column(db.Integer, db.ForeignKey('Locality.id'), primary_key=True, nullable=False) date = db.Column(db.Date(), primary_key=True) # "2021-1-15" hour_data = db.Column(db.Time(), primary_key=True) # "13:00", temperatur...
[ "joan.prat@knowtrade.eu" ]
joan.prat@knowtrade.eu
8517ce3f417f877036d4b1f5d9af879c97c0a703
e02506da0c661c8241fed00efdd0d6b2f8b147df
/textattack/attack_recipes/seq2sick_cheng_2018_blackbox.py
8af6d15138de6bc314511c851970b1c226990123
[ "MIT" ]
permissive
SatoshiRobatoFujimoto/TextAttack
2592a828f128fd8bf0b8ce5578e9488df5b2ac97
a809a9bddddff9f41750949e26edde26c8af6cfa
refs/heads/master
2022-07-11T02:10:24.536157
2020-05-14T13:29:44
2020-05-14T13:29:44
263,941,825
1
0
MIT
2020-05-14T14:43:47
2020-05-14T14:43:46
null
UTF-8
Python
false
false
1,205
py
""" Cheng, Minhao, et al. Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples ArXiv, abs/1803.01128. This is a greedy re-implementation of the seq2sick attack method. It does not use gradient descent. """ from textatta...
[ "jxmorris12@gmail.com" ]
jxmorris12@gmail.com
f9791b2b58c0ed0961046f7b8a0dd4bb73d8450a
5410700e83210d003f1ffbdb75499062008df0d6
/leetcode/tree2Str.py
61ae648b31c803481fe3db7769a6109de4b7ac74
[]
no_license
lilyandcy/python3
81182c35ab8b61fb86f67f7796e057936adf3ab7
11ef4ace7aa1f875491163d036935dd76d8b89e0
refs/heads/master
2021-06-14T18:41:42.089534
2019-10-22T00:24:30
2019-10-22T00:24:30
144,527,289
1
0
null
null
null
null
UTF-8
Python
false
false
549
py
class Solution: def tree2str(self, t): """ :type t: TreeNode :rtype: str """ if t == None: return "" if t.left == None and t.right == None: return str(t.val) elif t.left == None: return str(t.val) + "()" + "(" + self.tree2st...
[ "myyan_yan@msn.com" ]
myyan_yan@msn.com
d3a92669d402c8e28659a759ac1a2d6cc27440b5
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/MindSpore/Research/cv/image_classification/FaceAttribute_for_MindSpore/train.py
a269bece0a922cf7323ebe7a7e5a57abd9157391
[ "Apache-2.0" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
8,476
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "1571856591@qq.com" ]
1571856591@qq.com
7cc2c7507b75fcd535a7e8e9c9b0457f48bd6414
e0b6f5bd451aa8af3273fbc948799637681342e1
/scripts/wm_representation/functions/IEM/Controls/trial_by_trial/trainT_testT_wm3_shuffles_refs.py
99a1066c8955feb220ec3514ad753bea566ad476
[]
no_license
davidbestue/encoding
6b304f6e7429f94f97bd562c7544d1fdccf7bdc1
c27319aa3bb652b3bfc6b7340044c0fda057bc62
refs/heads/master
2022-05-05T23:41:42.419252
2022-04-27T08:34:52
2022-04-27T08:34:52
144,248,690
0
0
null
null
null
null
UTF-8
Python
false
false
4,890
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 1 18:24:32 2019 @author: David Bestue """ ####### ####### In this analysis: ####### I am doing the reconstruction training in the delay period and testing in each trial. No CV and No Shuffles ####### ############# Add to sys path the path where the tools folder is i...
[ "davidsanchezbestue@hotmail.com" ]
davidsanchezbestue@hotmail.com
98fa4703bd418ed584d3c0b4069f185a536db5ec
87e7f159b48ad4e2b784c8846bed37e1825fb375
/gamma/grd_batch_process.py
2438f8c31f8555e79c2e0e4fb469c0d34b7b1584
[]
no_license
whigg/GeorgeVI-surface-melt
0db560640209911d5ef432ebf1fdef49b1f9957a
0778de50fa747a4165273c9ef9edd65bf783fd34
refs/heads/master
2023-07-10T22:14:57.455070
2020-05-28T12:20:57
2020-05-28T12:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,982
py
#activate the gamma environment in the shell #gma #geoutils import os import os.path from os import path import subprocess from pyroSAR import identify #import faulthandler; faulthandler.enable() dem = "/exports/csce/datastore/geos/groups/MSCGIS/s2002365/code/data/DEM/REMA_resampled_10m.dem" dem_par = "/exports/csce/...
[ "noreply@github.com" ]
whigg.noreply@github.com
4f714d6172a078dceda6b04a5faec6a75aeec621
dc63e528012fb2f3e15b73e05c924236760d01b1
/cloudify_azure/resources/compute/virtualmachine/virtualmachine_utils.py
4a67d65a4df9ff6e52f6dd881668444d4f9e6848
[ "Apache-2.0" ]
permissive
cloudify-cosmo/cloudify-azure-plugin
515b6285b63c2a01ae4d666957541a1f08472410
361c48bc4abe38cf57354e8d36839137462ad345
refs/heads/master
2023-08-21T14:23:06.673284
2023-07-30T10:44:39
2023-07-30T10:44:39
36,666,947
4
14
Apache-2.0
2023-07-30T10:44:41
2015-06-01T14:42:32
Python
UTF-8
Python
false
false
3,521
py
# ####### # Copyright (c) 2016-2020 Cloudify Platform Ltd. 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...
[ "noreply@github.com" ]
cloudify-cosmo.noreply@github.com
8eb20a63cf9ae7debe25c9b008d788862e5ee7da
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/78/usersdata/171/41777/submittedfiles/divisores.py
701949f8b9cb8bf36079078eda939d27b7fe7166
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# -*- coding: utf-8 -*- import math n=int(input('digite n:')) a=int(input('digite a:')) b=int(input('digite b:')) d=a e=b f=a*b for i in range(1,n+1,1): d=a e=b f=a*b print(f)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ecf2e202398d9c58d9d5bcb9846dbebaf58a02aa
0ccab2965458454d6a4802b47d33310e43c10d8f
/classes/student.py
c9e7d33683deae9b858dc5fb04d7034fd00d39ca
[]
no_license
jazib-mahmood-attainu/Ambedkar_Batch
11e66125647b3b348d4567862f8fc20a3457b2f0
c99be9a401b8d00f6ca47398f48e90ead98f4898
refs/heads/main
2023-08-01T13:13:43.357769
2021-09-25T03:54:27
2021-09-25T03:54:27
390,405,238
16
10
null
null
null
null
UTF-8
Python
false
false
427
py
class Student: def __init__(self,roll,name,age): self.roll = roll self.name = name self.age = age def reads(self): print(self.name,"is reading") preeti = Student(10,"Preeti",24) print(preeti.name) print(preeti.roll) print(preeti.age) preeti.reads() print("**********")...
[ "jazib.prof@gmail.com" ]
jazib.prof@gmail.com
e2230aed752c8a73948aecc725580d22f370446b
1e9fed88ce4a623970f7e53143753a170d4bdcda
/aat/tests/test_strategy.py
37e4f8123735a0e70663ec060bc26eda308854e1
[ "Apache-2.0" ]
permissive
krusty45/aat
06dedbfe0abaf76c4a584ad441dc7badd093a939
a14b652f7ff90761d0e1198a85d8fc02efeff0eb
refs/heads/master
2020-06-24T09:34:30.981326
2019-07-09T19:34:22
2019-07-09T19:34:22
198,929,483
1
0
Apache-2.0
2019-07-26T02:07:57
2019-07-26T02:07:56
null
UTF-8
Python
false
false
453
py
# for coverage from ..strategy import * class TestStrategy: def setup(self): pass # setup() before each test method def teardown(self): pass # teardown() after each test method @classmethod def setup_class(cls): pass # setup_class() before any methods ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
8806780712e5054373bdc136bb537dece0d2b9ac
ffd2126e1ba5d1acea0bb0b3d011f4ccaf1c1f1f
/gia/gia/doctype/gia_sector/gia_sector.py
4a1e4524728a0939102446bd86307c02279f077f
[ "MIT" ]
permissive
alkuhlani/gia
fd55c65b0f430f24c7fbe3aef5ea911af8642702
9af9737cef7b0b947baa21f46c7be381c4fc9d98
refs/heads/master
2022-12-10T02:45:47.907158
2020-09-04T16:37:10
2020-09-04T16:37:10
276,495,714
0
1
null
null
null
null
UTF-8
Python
false
false
392
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Ahmed Mohammed Alkuhlani and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _, throw from frappe.model.document import Document class GIASector(Document): def validate(self): if no...
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
fd9166714314627d931b92e8df033ea9d4f2ffd2
54a5f5ec2c5edf924b7dc7730ee7cb2a38ac4a39
/DataFrame_manipulation_pandas/E01_Positional_and_labeled_indexing.py
aa09f4a045dbe19bc6a45b84a5dfebd5c0c513b2
[]
no_license
dajofischer/Datacamp
fac413ec178375cedceababaf84f6b47a61fc821
a03d16b8f342412f1ee077f2f196ee8404e2e21c
refs/heads/master
2020-04-05T08:38:25.361746
2019-03-27T20:55:57
2019-03-27T20:55:57
156,722,561
1
0
null
null
null
null
UTF-8
Python
false
false
247
py
# Assign the row position of election.loc['Bedford']: x x = 4 # Assign the column position of election['winner']: y y = 4 # Print the boolean equivalence print(election.iloc[x, y] == election.loc['Bedford', 'winner']) #nonsense text #nonsenes2
[ "dajofischer@gmail.com" ]
dajofischer@gmail.com
e33e3af781a4af593bf78acc8dc4120f93f12313
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/wellf.py
01d938845a41da448d3678520087a53125ba2d11
[]
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
141
py
ii = [('RoscTTI3.py', 1), ('MedwTAI.py', 1), ('WadeJEB.py', 2), ('DibdTRL.py', 1), ('FitzRNS2.py', 1), ('HogaGMM2.py', 1), ('BeckWRE.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
5651d66b1dd3f7adb98ce5c7bc17e2acfe92784a
174620e5937ac217cfdc46fa1f58493e9d59dfdd
/lib/default/lib/python2.7/site-packages/celery/concurrency/base.py
e0f2eb514c23941ee91fd0003917de8230cc1dac
[]
no_license
Saifinbox/CKANPROJECT
6552912317019ce7dca87a1367344dbf5d978062
89e1cac49b282106ff4595f54a4eb84bcc8d2ee9
refs/heads/master
2021-01-01T06:34:37.568829
2017-07-17T08:48:46
2017-07-17T08:48:46
97,453,740
1
0
null
null
null
null
UTF-8
Python
false
false
3,732
py
# -*- coding: utf-8 -*- """ celery.concurrency.base ~~~~~~~~~~~~~~~~~~~~~~~ TaskPool interface. """ from __future__ import absolute_import import logging import os import time from kombu.utils.encoding import safe_repr from celery.utils import timer2 from celery.utils.log import get_logger logger = ge...
[ "muhammad.saif@inboxbiz.com" ]
muhammad.saif@inboxbiz.com
42170e9a6ac498033863cd27ca0a6556bf1aa6c3
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/apriori_20190422135150.py
36ae75953708f032ec4b5b046220fb616cdb0b75
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
5,768
py
# Apriori算法 """ 由于Apriori算法假定项集中的项是按字典序排序的,而集合本身是无序的,所以我们在必要时需要进行set和list的转换; 由于要使用字典(support_data)记录项集的支持度,需要用项集作为key,而可变集合无法作为字典的key,因此在合适时机应将项集转为固定集合frozenset。 支持度 置信度 """ class apriori_algorithm: # 算法初始化 def __init__(self, minSupport, dataSet): self.minSupport = minSupport # 最小支持度 sel...
[ "1044801968@qq.com" ]
1044801968@qq.com
aa13bd841c98bf69edc143608a0dcaf19c026204
4cfbc12903651dedbc799f53a8078433196e7919
/Pre Processing/Topic 7 - Kernal PCA/KERNEL_PCA_WITHOUT_SPLIT.py
6974fa581f4052b61770920b3c784ba26c4341c3
[]
no_license
gautam4941/Machine_Learning_Codes
78bf86ab3caf6ee329c88ff18d25927125627a2c
0009d12ca207a9b0431ea56decc293588eb447b1
refs/heads/main
2023-02-06T18:05:44.154641
2023-01-30T17:04:25
2023-01-30T17:04:25
353,594,523
0
5
null
null
null
null
UTF-8
Python
false
false
1,398
py
import pandas as pd data = pd.read_csv('Social_Network_Ads.csv') print( f"data :- \n{ data }\n" ) print( f"data.columns :- \n{ data.columns }\n" ) x = data.loc[ :, 'Gender' : 'EstimatedSalary' ] y = data.loc[ :, 'Purchased' ] print( f"x.isnull().sum() :- \n{ x.isnull().sum() }\n" ) print( f"y.isnull().su...
[ "noreply@github.com" ]
gautam4941.noreply@github.com
9e8684300a753747f2ea81503addd0bd9141eee2
7ef5898dc861f7a5512953269db7b52d44f44bc5
/linkml/utils/validation.py
02ee97f62911680b3e797aa9db26dcd3bd75f727
[ "CC0-1.0" ]
permissive
balhoff/linkml
eb5c26e9d8ace3c2a7a6f2f36872b9c2af7b97df
b27c36b24437f68878806518264f55f0f418cb0b
refs/heads/main
2023-07-28T16:47:04.974232
2021-09-09T01:39:21
2021-09-09T01:39:21
404,550,589
0
0
CC0-1.0
2021-09-09T01:45:37
2021-09-09T01:45:37
null
UTF-8
Python
false
false
1,483
py
import json import sys from typing import Type, Union, TextIO import logging import click import jsonschema from linkml_runtime.linkml_model import SchemaDefinition from linkml_runtime.utils.yamlutils import as_dict, YAMLRoot from linkml_runtime.dumpers import json_dumper from linkml.generators.jsonschemagen import...
[ "cjm@berkeleybop.org" ]
cjm@berkeleybop.org
9954328c0d050bb4d64a911f7461a367bf36a59f
8c50265b43add0e91e30245cc7af3c2558c248f5
/tests/python/gpu/test_tvm_bridge.py
5c87536bdbaea32571012424a4db77dab00c19ed
[ "BSD-3-Clause", "BSD-2-Clause-Views", "Zlib", "Apache-2.0", "BSD-2-Clause", "Intel" ]
permissive
awslabs/dynamic-training-with-apache-mxnet-on-aws
6a67f35d7e4b12fa8bba628bd03b2b031924e211
1063a979417fee8c820af73860eebd2a4f670380
refs/heads/master
2023-08-15T11:22:36.922245
2022-07-06T22:44:39
2022-07-06T22:44:39
157,440,687
60
19
Apache-2.0
2022-11-25T22:23:19
2018-11-13T20:17:09
Python
UTF-8
Python
false
false
2,440
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "vikumar@88e9fe53272d.ant.amazon.com" ]
vikumar@88e9fe53272d.ant.amazon.com
6508b6eae18f254c28dd6343bef32cd4b4afd295
61fa932822d22ba480f7aa075573e688897ad844
/simulation/decai/simulation/data/imdb_data_loader.py
fbc6d62dc1165cc5a608c3003156977db751c917
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/0xDeCA10B
a8f118fa1f89f387a0b83f297250fc1846521f41
4066eeb2b5298c259a7c19c4d42ca35ef22e0569
refs/heads/main
2023-07-26T08:09:34.718104
2023-01-25T12:47:17
2023-01-25T12:47:17
181,561,897
538
133
MIT
2023-07-19T03:10:38
2019-04-15T20:37:11
Python
UTF-8
Python
false
false
1,778
py
from dataclasses import dataclass, field from logging import Logger from typing import List import numpy as np from injector import ClassAssistedBuilder, Module, inject, provider, singleton from keras.datasets import imdb from .data_loader import DataLoader @inject @dataclass class ImdbDataLoader(DataLoader): "...
[ "noreply@github.com" ]
microsoft.noreply@github.com
587af0a9afab30d6dbe975f04b48b2543833db22
51507929d5bf732e6e5b7085015b86d097fc404d
/python/core/keyset_writer.py
4e417f4417071723ba236115a738874609d779e8
[ "Apache-2.0" ]
permissive
jojodeco2/tink
a77be3fd6958070c131f4d556b349b69b65e11cb
46d4d5d6ff09f594c5460216c5b2cb11486076db
refs/heads/master
2020-08-04T04:46:05.526255
2019-10-01T10:21:02
2019-10-01T10:21:02
212,011,212
0
0
Apache-2.0
2019-10-01T04:18:08
2019-10-01T04:18:08
null
UTF-8
Python
false
false
3,498
py
# Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
19b16e038e42e69f3f52b17764d02d98614b0c87
364b36d699d0a6b5ddeb43ecc6f1123fde4eb051
/_downloads_1ed/fig_XD_example.py
6e7d5247c12d7f1e576f8087307c0067916096aa
[]
no_license
astroML/astroml.github.com
eae3bfd93ee2f8bc8b5129e98dadf815310ee0ca
70f96d04dfabcd5528978b69c217d3a9a8bc370b
refs/heads/master
2022-02-27T15:31:29.560052
2022-02-08T21:00:35
2022-02-08T21:00:35
5,871,703
2
5
null
2022-02-08T21:00:36
2012-09-19T12:55:23
HTML
UTF-8
Python
false
false
3,918
py
""" Extreme Deconvolution example ----------------------------- Figure 6.11 An example of extreme deconvolution showing a simulated two-dimensional distribution of points, where the positions are subject to errors. The top two panels show the distributions with small (left) and large (right) errors. The bottom panels ...
[ "vanderplas@astro.washington.edu" ]
vanderplas@astro.washington.edu
75683d574fd6fafc97d6262c264e53f43ff0a56b
19ee7dd974ba8b1731e9450c174df7630f63eaad
/Api/recognition/serializers.py
bc1cd767bbebc3dcfc9d20d425f5e7079f0f1748
[]
no_license
minjjjae/No-Mask-Trace-System
12d3a5a146f5526b9dbba5a8b75d6adc6c8a2e2b
61c76197d7ae921823b795effd9f267c92016a97
refs/heads/main
2023-01-19T08:35:19.643717
2020-11-28T05:27:52
2020-11-28T05:27:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
from recognition.models import Recognition from rest_framework import serializers class RecognitionSerializer(serializers.HyperlinkedModelSerializer): image = serializers.ImageField(max_length=None, use_url=True) class Meta: model = Recognition fields = ("pk", "encodeLst", "description", "cre...
[ "bhj1684@naver.com" ]
bhj1684@naver.com
2514e06398d1649d7e768e2219aa835bfc94e0c7
dffd7156da8b71f4a743ec77d05c8ba031988508
/joi/prelim/2019/yo1c/c.py
8fa22ad3e7acb87ef87d1e4727e8bf36c56ef603
[]
no_license
e1810/kyopro
a3a9a2ee63bc178dfa110788745a208dead37da6
15cf27d9ecc70cf6d82212ca0c788e327371b2dd
refs/heads/master
2021-11-10T16:53:23.246374
2021-02-06T16:29:09
2021-10-31T06:20:50
252,388,049
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
n, *a = map(int, open(0).read().split()) cnt = ans = 0 prev = 0 for i in a: if prev>i: ans = max(ans, cnt) cnt = 0 cnt += 1 prev = i print(max(ans, cnt))
[ "v.iceele1810@gmail.com" ]
v.iceele1810@gmail.com
daf6299762e39365d4e0099a36ae78a1a59bcd0a
6ec91b363b077bffd33f15300a0935124e9fb915
/Cracking_the_Code_Interview/Leetcode/3.String/290.Word_Pattern.py
766301dce21b1c686fdd7e0e347044af480ca094
[]
no_license
lzxyzq/Cracking_the_Coding_Interview
03232515ae8eb50394d46322d36b230d1a626fcf
79dee7dab41830c4ff9e38858dad229815c719a0
refs/heads/master
2023-06-05T19:52:15.595289
2021-06-23T22:46:02
2021-06-23T22:46:02
238,068,000
0
1
null
null
null
null
UTF-8
Python
false
false
1,531
py
''' @Author: your name @Date: 2020-06-09 17:21:16 @LastEditTime: 2020-06-10 12:19:27 @LastEditors: Please set LastEditors @Description: In User Settings Edit @FilePath: /Cracking_the_Code_Interview/Leetcode/String/290.Word_Pattern.py ''' # Given a pattern and a string str, find if str follows the same pattern. # Here f...
[ "lzxyzq@gmail.com" ]
lzxyzq@gmail.com
6f7b09b3bc0afa1b87897d8811dee37992af9e92
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil1566.py
adf7d2e0df4b68ca67d20975984b7e68e9320ea4
[ "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
2,272
py
# qubit number=5 # total number=52 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=3 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
908076fe749518b81a5d792a64a0ac250dc8aa67
083ca3df7dba08779976d02d848315f85c45bf75
/LongestSubstringwithAtLeastKRepeatingCharacters5.py
424c18652d21975839cddc18e43a9e0b3e29a8f8
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
class Solution: def longestSubstring(self, s, k): """ :type s: str :type k: int :rtype: int """ i = 0 res = 0 while i + k <= len(s): if i > 0 and s[i] == s[i - 1]: i += 1 continue m = {} ...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
7a7b0cb2ba35a1718311a5ace7ffe70e9f8f71bf
7b221a4981edad73991cf1e357274b46c4054eff
/stacks/XIAOMATECH/1.0/services/NIFI/package/scripts/nifi_cli.py
e82f05e871857ac17cf7d7bf280d1558ca7ca3dc
[ "Apache-2.0" ]
permissive
aries-demos/dataops
a4e1516ef6205ad1ac5f692822e577e22ee85c70
436c6e89a1fdd0593a17815d3ec79c89a26d48f1
refs/heads/master
2020-05-29T17:20:12.854005
2019-05-22T06:06:00
2019-05-22T06:06:00
189,270,801
2
3
Apache-2.0
2019-05-29T17:35:25
2019-05-29T17:35:24
null
UTF-8
Python
false
false
6,474
py
import json import time from resource_management.core import shell from resource_management.core.exceptions import Fail from resource_management.core.logger import Logger from resource_management.libraries.functions import format import nifi_toolkit_util_common def nifi_cli(command=None, subcommand=Non...
[ "xianhuawei@MacBook-Air.local" ]
xianhuawei@MacBook-Air.local
cbb9422f0b2cd4ef151418716fb78d78a14bcad9
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/3d_detection/BEVFormer/pytorch/mmdetection3d/mmdet3d/datasets/nuscenes_dataset.py
47d6e15ed9aec63b17e5b80955dd4cb32ba04939
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
26,116
py
# Copyright (c) OpenMMLab. All rights reserved. import tempfile from os import path as osp import mmcv import numpy as np import pyquaternion from nuscenes.utils.data_classes import Box as NuScenesBox from ..core import show_result from ..core.bbox import Box3DMode, Coord3DMode, LiDARInstance3DBoxes from .builder imp...
[ "mingjiang.li@iluvatar.ai" ]
mingjiang.li@iluvatar.ai
ef18e320c181d7603f6cc50f8b4c007b64c977e5
b8d2f095a4b7ea567ccc61ee318ba879318eec3d
/二分查找/287. 寻找重复数.py
69bdb06bf5dbca40a1db1643ecf3e21552f93868
[]
no_license
f1amingo/leetcode-python
a3ef78727ae696fe2e94896258cfba1b7d58b1e3
b365ba85036e51f7a9e018767914ef22314a6780
refs/heads/master
2021-11-10T16:19:27.603342
2021-09-17T03:12:59
2021-09-17T03:12:59
205,813,698
1
0
null
null
null
null
UTF-8
Python
false
false
621
py
from typing import List class Solution: # 从[1, n]中猜一个数,再遍历一遍原数组 def findDuplicate(self, nums: List[int]) -> int: n = len(nums) - 1 lt, rt = 1, n while lt < rt: mid = (lt + rt) // 2 count = 0 for num in nums: if num <= mid:...
[ "zsjperiod@foxmail.com" ]
zsjperiod@foxmail.com
028d4012be6e2dba637d5afdafcded11bfba6024
fd8d33572656edf9e1133a72ad4e2fa090f90a5f
/packages/OpenCV/nodes/OpenCV___YUV_YV120/OpenCV___YUV_YV120___METACODE.py
fd27f158254de61c8a19e271393e77c1740baba6
[ "MIT" ]
permissive
ChristianHohlfeld/Ryven
a01c2eafa79a80883a9490efb5f043fd35f53484
53bf7e57a7b0fa25a704cd0d2214a7f76096d4dd
refs/heads/master
2022-12-12T22:03:57.122034
2020-08-31T13:45:45
2020-08-31T13:45:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
from NIENV import * import cv2 # USEFUL # self.input(index) <- access to input data # self.outputs[index].set_val(val) <- set output data port value # self.main_widget <- access to main widget class %NODE_TITLE%_NodeInstance(NodeInstance): def __init__(self, parent_node...
[ "leon.thomm@gmx.de" ]
leon.thomm@gmx.de
ce4f4de3c6cd53f78a77f8f7d171a222a593ea7e
4a28e3e3afb28c0455ea21cfb983c3a8284dc5dd
/Reverse.py
bc387ecd0eea4a1c2e6fe9318772782e900f4b58
[]
no_license
omdeshmukh20/Python-3-Programming
60f6bc4e627de9d643a429e64878a636f3875cae
9fb4c7fa54bc26d18b69141493c7a72e0f68f7d0
refs/heads/main
2023-08-28T04:37:27.001888
2021-10-29T17:03:34
2021-10-29T17:03:34
370,008,995
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#Discription: Accept Number From User And Return Reverse Of That Number Using For-Loop #Date: 14/08/21 #Author : Om Deshmukh # Reverse Operation def Reverse(iValue1): iDigit = 0 iRev = 0 if iValue1 < 0: exit("Invalid Input! | Note : Give Input Greater Than 0") for _ in range(iValue1): ...
[ "noreply@github.com" ]
omdeshmukh20.noreply@github.com
4497e161d8e06316103a36d717fe15e66be3c951
3b504a983f1807ae7c5af51078bfab8c187fc82d
/client/input/InputSubsystem/JoyInput.py
03a21fda604012c74ea881e2b4fdb3fcfdc8f167
[]
no_license
SEA-group/wowp_scripts
7d35fd213db95ea6b3dbd1ec6d3e0f13de86ba58
2fe54a44df34f2dcaa6860a23b835dcd8dd21402
refs/heads/master
2021-09-07T23:10:13.706605
2018-03-02T17:23:48
2018-03-02T17:23:48
117,280,141
0
0
null
null
null
null
UTF-8
Python
false
false
6,816
py
# Embedded file name: scripts/client/input/InputSubsystem/JoyInput.py import Keys import BWPersonality import InputMapping import math from MathExt import * from consts import ROLL_AXIS, VERTICAL_AXIS, HORIZONTAL_AXIS, FORCE_AXIS, FLAPS_AXIS, INPUT_SYSTEM_STATE from input.InputSubsystem.InputSubsystemBase import InputS...
[ "55k@outlook.com" ]
55k@outlook.com
6259b00f99bd0193a97019a733fdc7d17fd4e74b
916773e4af7367022067abf2e92bc8ab7302b1e5
/trunk/prodRoot/desktopApp/test/imap/imapServer.py
270d663e89626782dde57cc0a1ac2653dc86f92d
[]
no_license
weijia/ufs
814ac76a9a44a931803971cb4edcefd79c87d807
c43cdae2dfe89b747b6970138ccdf9ddf7f766b3
refs/heads/master
2016-09-01T18:35:33.754862
2012-08-14T09:02:40
2012-08-14T09:02:40
3,439,945
0
0
null
null
null
null
UTF-8
Python
false
false
16,361
py
from twisted.mail import imap4, maildir from twisted.internet import reactor, defer, protocol from twisted.cred import portal, checkers, credentials from twisted.cred import error as credError from twisted.python import filepath from zope.interface import implements import time, os, random, pickle MAILBOXDELIMITER = "...
[ "richardwangwang@gmail.com" ]
richardwangwang@gmail.com
f817dc9cd7b0ee5cb3fb0d8da067107e84fabd08
c380976b7c59dadaccabacf6b541124c967d2b5a
/.history/src/data/data_20191021130626.py
54a8374208393201a7d3ecf5fa63dc428630f047
[ "MIT" ]
permissive
bkraft4257/kaggle_titanic
b83603563b4a3c995b631e8142fe72e1730a0e2e
f29ea1773773109a867278c001dbd21a9f7b21dd
refs/heads/master
2020-08-17T12:45:28.653402
2019-11-15T16:20:04
2019-11-15T16:20:04
215,667,760
0
0
null
null
null
null
UTF-8
Python
false
false
4,770
py
import pandas as pd import numpy as np from typing import Union from pathlib import Path from nameparser import HumanName class ExtractData: def __init__(self, filename: Union[str, Path], age_bins = None, drop_columns=None): # """Extract Training Data from file or Path # Arguments: # ...
[ "bob.kraft@infiniteleap.net" ]
bob.kraft@infiniteleap.net
c42757ed648fb8b964c0e0ab2fa9c6969b1b2058
cc4c8bec896c2d0a6ac4c1f0e01f73d8157f891a
/util/__deprecated.aggregate_variants_n_depth_to_table.py
9819ed136498e9b69c83b545a2d93ff6258dd946
[]
no_license
NCIP/ctat-mutations-benchmarking
fe6a79007d6a22e4301b130a55f982d835b57691
1a8fe28860c3d216ba0acfe888b300dc3235c79a
refs/heads/main
2023-05-29T21:00:57.730494
2021-05-12T17:53:20
2021-05-12T17:53:20
366,363,093
1
0
null
null
null
null
UTF-8
Python
false
false
9,110
py
#!/usr/bin/env python import os,sys,argparse import subprocess import numpy as np import pandas as pd import re import pickle import csv csv.field_size_limit(100000000) def configure_vcf(vcf, column_name, chr_idx=0, coord_idx=1, refallele_idx=3, varallele_idx=4): ''' Configure the vcf file to prepare for ...
[ "brianjohnhaas@gmail.com" ]
brianjohnhaas@gmail.com
0684d234e85f6b170a94bbdd8fe260adcc0f1b90
0296bc69a0d9608ed826ad7a719395f019df098f
/old_modules/render_model_1.py
9fc3f68c9e69607c41d3e1a6f72240c17d64ea5e
[]
no_license
jcn16/Blender_HDRmap_render
c0486a77e04c5b41a6f75f123dbdb3d10c682367
50e6cdb79fef83081de9830e7105dd425a235a9e
refs/heads/main
2023-07-19T22:22:53.622052
2021-08-20T06:29:10
2021-08-20T06:29:10
377,757,283
2
0
null
null
null
null
UTF-8
Python
false
false
7,746
py
from math import radians, sin, cos, pi import mathutils, bpy, argparse, random, time, os,logging def generate_rand(a=0, b=1, only_positive=False): x = (random.random()-0.5) * 2*b if abs(x) < a or (only_positive and x<0): return generate_rand(a, b, only_positive) else: return x def point_at(obj, target, roll=...
[ "591599635@qq.com" ]
591599635@qq.com
5b66423e71498cd6180f23934fe7cc35d8fdb9e0
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-rms/huaweicloudsdkrms/v1/model/list_resources_response.py
dacd35a56aafb9e80f1c69849e3d804d2346de25
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListResourcesResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
4ca9bd19679fbb30fc5ed30b750ee022fc94c075
5ffdf4ddee5700e6bb3b062a07c1a9cf7e6adbc1
/PYTHON/Strings/capitalize.py
8cc94026d63e0fa32d0b508f4cfd21061a7f66e7
[ "MIT" ]
permissive
byung-u/HackerRank
23df791f9460970c3b4517cb7bb15f615c5d47d0
4c02fefff7002b3af774b99ebf8d40f149f9d163
refs/heads/master
2021-05-05T13:05:46.722675
2018-03-30T08:07:36
2018-03-30T08:07:36
104,960,152
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
#!/usr/bin/env python3 def capitalize(string): s = string.split(' ') for i in range(0, len(s)): if len(s[i]) == 0: continue if len(s[i][0]) != 0 and s[i][0].isalpha(): s[i] = s[i].title() return ' '.join(s) if __name__ == '__main__': string = input() capital...
[ "iam.byungwoo@gmail.com" ]
iam.byungwoo@gmail.com
e3c98e936946924d57a64be20bd0d6c76705512b
e55480007fde8acea46fe8eeb3ee7193c25ba113
/src/leetcode/1-99/09.py
4b14b2dee65b6c8465f1912a9386dbbec7fe586c
[]
no_license
Annihilation7/Ds-and-Al
80301bf543ec2eb4b3a9810f5fc25b0386847fd3
a0bc5f5ef4a92c0e7a736dcff77df61d46b57409
refs/heads/master
2020-09-24T05:04:41.250051
2020-02-15T10:31:10
2020-02-15T10:31:10
225,669,366
1
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
# -*- coding: utf-8 -*- # Email: 763366463@qq.com # Created: 2019-12-09 12:11am ''' 判断一个整数是否是回文数。回文数是指正序(从左向右)和倒序(从右向左)读都是一样的整数。 示例 1: 输入: 121 输出: true 示例 2: 输入: -121 输出: false 解释: 从左向右读, 为 -121 。 从右向左读, 为 121- 。因此它不是一个回文数。 示例 3: 输入: 10 输出: false 解释: 从右向左读, 为 01 。因此它不是一个回文数。 ''' class Solution: def isPalindr...
[ "763366463@qq.com" ]
763366463@qq.com
64be974da5067480a0088094c5764bb85d240db1
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/ui/webui/resources/PRESUBMIT.py
2ac87faf2b09787c19200dad102e395811d7661e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
1,001
py
# Copyright 2016 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 re def PostUploadHook(cl, change, output_api): rietveld_obj = cl.RpcServer() description = rietveld_obj.get_description(cl.issue) existing_bo...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
1ecae13285e6b4e11101cf69d5d4f92b64b71913
8fd55e7a0f8764b3fe894d927c39173507f03855
/sms/urls.py
f75a34a656dee837302b3de1b925fe0d38081e04
[]
no_license
bogdal/django-sms
2ed97cbafd7c2a9b4b1521c766e89b2514b63e75
fa0ed8369228b2b3160e8b577b6377587ce1fe5a
refs/heads/master
2020-04-05T08:22:29.864245
2013-04-24T09:28:34
2013-04-24T09:28:34
3,496,819
3
0
null
null
null
null
UTF-8
Python
false
false
410
py
from django.conf.urls import patterns, url from sms.decorators import ip_restrictions from sms.views import callback_received_sms, callback_delivery_report urlpatterns = patterns('', url(r'^callback/received-sms/$', ip_restrictions(callback_received_sms), name='callback-received-sms'), url(r'^callback/delivery...
[ "adam@bogdal.pl" ]
adam@bogdal.pl
a941a491e4d0a708c173a78c324d020376c894ea
bf1a44cb4836a60800d73c1f9e5fe0e25328cb43
/web2py/gluon/globals.py
43a28e45bc30e8c68bc8e39cdb0409b9583a43f0
[ "LGPL-3.0-only", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-warranty-disclaimer", "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-2.0-only", "Apache-2.0", "BSD-2-Clause" ]
permissive
aduckworth1969/smc
22874e8f8c80fb727fa3aa8f12b95c4351097de1
b1771d9ed68f0e35f46271aab5b1e1fab363e3d9
refs/heads/master
2023-04-05T14:23:07.486512
2021-04-07T16:15:45
2021-04-07T16:15:45
311,796,699
0
0
MIT
2021-04-07T16:15:46
2020-11-10T22:09:59
Python
UTF-8
Python
false
false
51,798
py
# -*- coding: utf-8 -*- """ | This file is part of the web2py Web Framework | Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> | License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html) Contains the classes for the global used variables: - Request - Response - Session """ from gluon._compat import pickle, ...
[ "ray@cmagic.biz" ]
ray@cmagic.biz
09e8055fcdcf2ad2dec55459c099ab811ed32068
fffabb9f3025e89f7d1e71e2bea1e1f93ca95c98
/gevent_-master/monkey_test.py
ca9512a34827effed846c0722e796fa03555f070
[]
no_license
kagxin/recipe
2a880b77e56bae25e9793b13a8ebdeeea19b716c
70af9c949b9e4b476585b2b650fba416a9d3ebb2
refs/heads/master
2021-09-11T18:58:46.295928
2018-04-11T03:11:05
2018-04-11T03:11:05
86,281,134
2
0
null
null
null
null
UTF-8
Python
false
false
129
py
import gevent.monkey gevent.monkey.patch_socket() import gevent import urllib import json def fetch(pid): pass fetch()
[ "123@163.com" ]
123@163.com
8ada0608c934b48b2abbcdeb5aa1350a01506751
0a004fc3fe8e36fd7ce0ed2cc7e8140982315e03
/supervised_learning/0x0F-word_embeddings/0-bag_of_words.py
58f174f5ee6192922d3b2ccf12ba7882281f6654
[]
no_license
pafuentess/holbertonschool-machine_learning
266ed4f05e106e194cdafe39544e48904f6538f4
3bffd1391b3fc790f0137d0afbe90eb8e2f7d713
refs/heads/master
2023-03-26T15:12:14.721409
2021-03-20T20:28:15
2021-03-20T20:28:15
279,388,813
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
#!/usr/bin/env python3 """ doc """ from sklearn.feature_extraction.text import CountVectorizer def bag_of_words(sentences, vocab=None): """ doc """ if vocab is None: vectorizer = CountVectorizer() X = vectorizer.fit_transform(sentences) vocab = vectorizer.get_feature_names() else:...
[ "pafuentess@unal.edu.co" ]
pafuentess@unal.edu.co
d132455b70c174d99968af7351962cf9ba6070a0
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/30cae1c356d7341ef3c3a049b435b2da9bbd5588-<main>-bug.py
1207a332ae96f47a64d09b9b87303bc66e73535b
[]
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
1,799
py
def main(): module = AnsibleModule(argument_spec=dict(script=dict(required=True, type='str'), url=dict(required=False, type='str', default='http://localhost:8080'), validate_certs=dict(required=False, type='bool', default=True), user=dict(required=False, no_log=True, type='str', default=None), password=dict(requi...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
26724562ddaf5b84d3514df2553cf578c11097ff
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/pytest_test_20201123174255.py
71d84ac3ea86d52edcf7b63ed99b1d05e2cfeaed
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
import pytest class Test_A: @pytest.mark.parametrize('a,b',[(10,20),(5,5)]) def test_data1(self,a,b): print(a + b) def test_data2(self): a = 5 b = 5 print(a+b) if __name__ == '__main__': pytest.main
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
81031853fd92e573bbec0a772457ebba3f43bb7a
e229456b9effa99e906d5cdfe08200ca5e1920a4
/lib/modules/exfiltration/invoke-exfiltration.py
b64b4fe4bcca83a42b5941dd3559df04ae7ff47c
[ "BSD-3-Clause" ]
permissive
nerbix/Empire
cff3620f589d38a4967737458b7f4b56acabd64c
f45d5f35ff459df22ef0bd55236b7ffd9cef6f45
refs/heads/master
2020-05-22T09:27:59.693741
2017-03-08T18:18:13
2017-03-08T18:18:13
84,344,747
0
0
null
2017-03-08T16:54:42
2017-03-08T16:54:42
null
UTF-8
Python
false
false
4,857
py
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): # metadata info about the module, not modified during runtime self.info = { # name for the module that will appear in module menus 'Name': 'Invoke-Exfiltration', # list of on...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
afb957284892edf8fcd63b07feef00c82584970b
4a7ca643f2bb681a14105fdfba2b696c14f8fb19
/alphamind/tests/analysis/test_quantilieanalysis.py
fd31eaf64d67c0a4e71bef2c786c696b2e91e3ae
[ "MIT" ]
permissive
iLampard/alpha-mind
84bb490eaa515a147b2a31deff305b2e6423c76f
c99ba7b2b082d7bf07263fde0cca57b1a8bcb7de
refs/heads/master
2020-03-22T02:32:28.489547
2018-08-22T03:01:26
2018-08-22T03:01:26
126,668,894
0
0
MIT
2018-06-26T03:37:20
2018-03-25T05:53:51
Python
UTF-8
Python
false
false
3,087
py
# -*- coding: utf-8 -*- """ Created on 2017-8-16 @author: cheng.li """ import unittest import numpy as np import pandas as pd from alphamind.analysis.quantileanalysis import er_quantile_analysis from alphamind.analysis.quantileanalysis import quantile_analysis from alphamind.data.processing import factor_processing f...
[ "scrappedprince.li@gmail.com" ]
scrappedprince.li@gmail.com
b2b72af5d662ec2cf1cd5c51918723e1513fc6d5
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interface_ip_configurations_operations.py
0441579f380976233a87e4c8a79c2311179a4ecd
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
8,928
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
e23182c952b026b3073f17d87b07c6f0b5a98c59
e3ffd1f17819ab8a7b95b63f4a30cbbe85d7c44d
/week_4/contacts_short_41.py
6a866c20b264e1243963c70d3d82ae7fb3e9efe3
[]
no_license
jamesoneill54/programming_2
77d105f0eb3be7c1af3fe6ca89cf291aca4e0c95
8c8d7e4551894b773f52ee1e4785fe324b974ac9
refs/heads/master
2021-01-22T04:18:22.654154
2017-05-25T23:46:31
2017-05-25T23:46:31
92,451,317
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import sys with open(sys.argv[1], 'r') as f: contacts = {} for line in f: [name, phone] = line.strip().split() contacts[name] = phone for line in sys.stdin: if line.strip() in contacts: print('Name:', line.strip()) print('Phone:', contacts[line.strip()]) else: print('Name:',...
[ "noreply@github.com" ]
jamesoneill54.noreply@github.com
57790357a11b82f693fabb647bd204391e2a5368
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/commerce/api/v1/views.py
c85719eccde259580a7818f846c5cf0d12d2b7f5
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
3,600
py
""" Commerce views """ import logging from django.contrib.auth.models import User # lint-amnesty, pylint: disable=imported-auth-user from django.http import Http404 from edx_rest_api_client import exceptions from edx_rest_framework_extensions.auth.jwt.authentication import JwtAuthentication from rest_framework.auth...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
a8b587769f572f0e5f80a0878307423b27a05b90
28aed3120411fd7558fc08b47274f5ced5d5069c
/UIAutomation/tests/Utils/test_envsettingreader.py
c9533f87b7fe7e555380cf537766a0f96e5fc602
[ "MIT", "Apache-2.0" ]
permissive
SirCYong/long_long_ago
8e181310267836774b50824e873adb7959f80080
6dfe9a9eb9d0f25a55bccd22b66878bde1a2fd6b
refs/heads/master
2020-03-16T02:58:18.161981
2018-05-07T15:17:54
2018-05-07T15:17:54
132,477,192
0
1
null
null
null
null
UTF-8
Python
false
false
663
py
import unittest from nose.tools import assert_equal from UIAutomation.Utils import get_setting_configuration, get_env_script_runs_on class TestEnvSettingReader(unittest.TestCase): def test_get_setting_configuration(self): assert_equal('Android', get_setting_configuration('android', 'platformName')) ...
[ "649803977@qq.com" ]
649803977@qq.com
fd642025117c7bf558857ee67a8ba489a67f97f8
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/gevent/_socket2.py
537676c22624f54f5cdf951c1f488cd19b22b941
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
11,598
py
# Copyright (c) 2009-2014 Denis Bilenko and gevent contributors. See LICENSE for details. """ Python 2 socket module. """ from __future__ import absolute_import from __future__ import print_function # Our import magic sadly makes this warning useless # pylint: disable=undefined-variable import sys from gevent import ...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
c90939194ffd9a0ae033eda433c4412b90e34be4
2bcc6c45a28251dcde72bb8b003b5592350dc208
/exams/models.py
5909bafe70117024d9487d86d13b9a60bbab0dba
[]
no_license
amanjhurani/university_dost
153d1a245df4338be60df3e9980e0238408e40ad
41f6119c88d36f0153fbf1a5be1913e2c45d9751
refs/heads/master
2021-10-08T22:23:42.252577
2018-12-18T11:22:10
2018-12-18T11:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,291
py
from django.urls import reverse from config.settings.base import AUTH_USER_MODEL from django.db import models from universities.models import Subject from config.utils import random_string_generator from markdownx.models import MarkdownxField class Exam(models.Model): # Choices MONTH_CHOICES = ( ('ja...
[ "dhaval.savalia6@gmail.com" ]
dhaval.savalia6@gmail.com
49f552812ae2ebc0e2cb7111c0f72e6044fd22b7
d96f75610758fd6e193d575a2c5ba72c420d90e8
/blog/migrations/0001_initial.py
ae82676f9c48d490aaed6c97ff64cd7594a38393
[]
no_license
barlapelican/my-first-blog
4a20ef5f3723209225510436513321b10b5d9fcf
1594006935765d288434d4542502deb3e954f974
refs/heads/master
2020-06-17T06:06:07.116828
2019-07-08T13:53:25
2019-07-08T13:53:25
195,823,812
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
# Generated by Django 2.0.13 on 2019-07-08 13:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
[ "du@example.com" ]
du@example.com
30e036da1644eb5fa3fbcdbdf92476a5bda2a487
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/tools/compatibility/all_renames_v2.py
297539c1e7d028c31244a3e2161e48ceaf3be0a9
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
25,028
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
9e1d8e2de437c05c4bfb0801655ea47bebb855fb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_palls.py
dbff538f21fd450bb0e9c7a702715178521cdfad
[ "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
214
py
#calss header class _PALLS(): def __init__(self,): self.name = "PALLS" self.definitions = pall self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['pall']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3498868b0b750bda0169ecc70e6676ab407c13b9
e2f4cbbde6cd6f169a5ac36a5ae050d89f895158
/Python_Workspace/Modules/package1/mod2.py
ebb9da7375c3d08a03d56eee659d36357caa8574
[]
no_license
shubhamkumar1739/Linux_Workshop
7a8511eebb049d6a0518bd1c8101038bc6b0e4e9
c22e51943f012981165c41a76cea50b142bf3d77
refs/heads/master
2020-03-30T13:03:12.525964
2018-10-06T03:34:58
2018-10-06T03:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
11
py
var1_m2=77
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3f395841d95506c7c4b11095f96b073ae8043dea
b5a7c9ae13c81d655c176ceb0b8a73b4399cbf7a
/practico_02/ejercicio_01.py
847b669e2c61394631d2e994bc0d7f2731006427
[ "MIT" ]
permissive
ELC/TUPPython
7459f4af5eb0306da1a61fd1e175ca4a68e5ac46
0115ece1dfdd599626f1cdeb410245fbee2aa4f8
refs/heads/master
2023-06-07T21:03:12.151001
2021-03-17T22:31:51
2021-03-17T22:31:51
338,466,855
1
1
MIT
2021-02-28T02:48:20
2021-02-13T00:36:50
Python
UTF-8
Python
false
false
856
py
"""Módulos Antes de realizar este TP, se recomienda ver el siguiente video: https://youtu.be/A47sszUdTsM En este archivo se deben importar los módulos: - main.py as main - source/util.py as util - source/controller/controller.py as controller Los imports deben hacerse de forma tal que funcionen con TODAS las formas...
[ "elcg@gmx.com" ]
elcg@gmx.com
1719fe5138986b05ab207d3c7b30490116f74c96
e980e13bd0d264b3880705fb53a795a89fb5cfe6
/sales_order/repair_order.py
f6ba01e2762bf878cdbc8480aa7f1e1f9f8ddf80
[]
no_license
qianpeng-shen/u8
8e430ccab5390254b6660cbd047fc2ac495a04ca
7fd28399dbf921826c1ef024800994412ab1b623
refs/heads/master
2020-05-13T20:28:16.764800
2019-04-16T09:29:58
2019-04-16T09:29:58
181,657,315
2
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
# -*- coding:utf-8 -*- #解析维修类维修工单数据 def analysis_repair(data): repair_list = [] for repair in range(1,data.nrows): repair_dict = {} repair_dict['Status'] = data.cell(repair,1).value repair_dict['UserID_ZDR'] = data.cell(repair,7).value repair_dict['AdgoupID'] = data.cell(repa...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
fbe657576a5f4817faee93631a0c29bd41fef7fd
43461f999228079c9bfee03f0e4043f08426051f
/python_zero/飞机大战/hm_11_监听退出事件.py
ac165dcc7445e849fe8d415791911b793b4875e3
[]
no_license
MapleStoryBoy/spider
f9af844ae9812fe21141060213ac2677e719ac73
b014d81d52805f9317e85b66024d047e73d59053
refs/heads/master
2020-05-21T18:27:50.585790
2019-07-12T10:11:58
2019-07-12T10:11:58
186,132,575
6
2
null
null
null
null
UTF-8
Python
false
false
1,376
py
import pygame # 游戏的初始化 pygame.init() # 创建游戏的窗口 480 * 700 screen = pygame.display.set_mode((480, 700)) # 绘制背景图像 bg = pygame.image.load("./images/background.png") screen.blit(bg, (0, 0)) # pygame.display.update() # 绘制英雄的飞机 hero = pygame.image.load("./images/me1.png") screen.blit(hero, (150, 300)) # 可以在所有绘制工作完成之后,统一调...
[ "MapleStoryBoy@163.com" ]
MapleStoryBoy@163.com
db4bc9a1b1db2b8a2081ccbfc57774f296f255e9
1f9e643698f683e77ed5f253cafda776b204f5d2
/backend/franchise_guru_4345/urls.py
5f0e09df865079b377bc64581a60b6f4c1dedb06
[]
no_license
crowdbotics-apps/franchise-guru-4345
ca907aaed1618abd5828ce20c108a90f01f09af7
53712fe881aa94579121e1c7384ab3e039fccd9d
refs/heads/master
2022-12-12T06:50:11.577025
2019-06-06T20:54:46
2019-06-06T20:54:46
190,648,540
0
0
null
2022-12-06T16:07:16
2019-06-06T20:54:42
JavaScript
UTF-8
Python
false
false
1,074
py
"""franchise_guru_4345 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='hom...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4fed6cdfbfd5f2a72de1850169ab92171fcb5f2b
ded46c3a86c2a70328a63d779ac038d636ae5906
/_WSpython/Pandas06_04_GroupByChkPop_최임정.py
25b7e2d0123dcbc8d13c20046ed655462fdfe522
[]
no_license
imjoung/hongik_univ
82d0e7ea31763713f51bbde9d45e4aae5cb73849
82a3a77605d74d13eb76b915b215f6e245968180
refs/heads/main
2023-06-24T12:49:46.087083
2021-07-15T06:31:57
2021-07-15T06:31:57
379,128,178
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
# coding: utf-8 # In[19]: import pandas as pd df=pd.read_csv('../data/gapminder.tsv','\t') # In[20]: uniqueList=df['year'].unique() for idx in uniqueList: yearList=df[df['year'] == idx] print(yearList['pop'].mean())
[ "noreply@github.com" ]
imjoung.noreply@github.com
3401ca65f75073dbe9b340ead4558693cb3b86eb
1605c2db57cabfce9d146e891b22e38b85c37035
/docs/reference/actions.py
d30f816795f6bc57107f80a8fc893396be519c45
[ "Apache-2.0" ]
permissive
sylvielamythepaut/climetlab
22499475e2220021145f4f6c84f6526a19d43ba4
59516b8a510ad506a12ad32bea9e8b98bdb9abf3
refs/heads/master
2022-12-21T11:51:41.243440
2020-09-18T07:42:45
2020-09-18T07:42:45
296,547,196
0
0
Apache-2.0
2020-09-18T07:42:46
2020-09-18T07:30:00
null
UTF-8
Python
false
false
10,710
py
import inspect from typing import List from Magics import macro def _given_args(frame): func = frame.f_globals[frame.f_code.co_name] user_args = inspect.getargvalues(frame) code_args = inspect.getfullargspec(func) given = {} if code_args.kwonlydefaults: pairs = list(code_args.kwonlydefaul...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
5ec23bfac0f13f11f9935fea8caf3b8b1e956401
c4af67db4c523d20f2d55aef90ba77db1fb53c38
/CMFCalendar/testing.py
0918f04c86d1a5fb9cdbaaf7709a9ab261d013b7
[]
no_license
dtgit/dtedu
e59b16612d7d9ea064026bf80a44657082ef45a3
d787885fe7ed0de6f9e40e9b05d852a0e9d60677
refs/heads/master
2020-04-06T05:22:50.025074
2009-04-08T20:13:20
2009-04-08T20:13:20
171,351
1
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
############################################################################## # # Copyright (c) 2006 Zope Corporation and Contributors. All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFT...
[ "ron@domU-12-31-39-02-65-03.compute-1.internal" ]
ron@domU-12-31-39-02-65-03.compute-1.internal
6485d44a97f1ed29a4fa36480a7c390436e0aa7f
2b25aae9266437b657e748f3d6fea4db9e9d7f15
/CMU/6lab/coroutines1.py
a44559612b62e023d62943e13b80f94a5246447f
[]
no_license
Zilby/Stuy-Stuff
b1c3bc23abf40092a8a7a80e406e7c412bd22ae0
5c5e375304952f62667d3b34b36f0056c1a8e753
refs/heads/master
2020-05-18T03:03:48.210196
2018-11-15T04:50:03
2018-11-15T04:50:03
24,191,397
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
s="The quick brown fox jumped over the lazy old dog." def capitalize(): while True: value=yield print value.upper() c=capitalize() c.next() for word in s.split(): c.send(word)
[ "azilby@gmail.com" ]
azilby@gmail.com
0aefadcd0195f3d016d2f2e73d810a3fa481c9bf
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v3/proto/errors/keyword_plan_keyword_error_pb2.py
72f053c63c315f0883e175fbdc4ef1c9f7dc2a89
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
5,055
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/errors/keyword_plan_keyword_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.prot...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
f69a5854f33bc30eb43daf851f9e43ceb207ec1a
b7948d60834c4c6fe58d8d665177511cb6db53e2
/Outpass Webapp + Api's - Django/student/migrations/0008_auto_20190815_0023.py
08405388f8bb2400e3756da54e002813b1d1e8b2
[]
no_license
abhinavsharma629/Outpass-Generator
4a2ebc2c7d0fc678b2afd10a36c6cbcbc6583d60
f363d49c47543c70e2c114ab7d48ffaef83b5de4
refs/heads/master
2022-02-24T15:07:58.171462
2019-10-05T16:05:09
2019-10-05T16:05:09
205,933,273
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Generated by Django 2.2.4 on 2019-08-14 18:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0007_registeredcolleges_logo'), ] operations = [ migrations.AlterField( model_name='student', name='bed_n...
[ "abhinavsharma629@gmail.com" ]
abhinavsharma629@gmail.com
5a5e091b0cb0991756eaa7e0c7fdb809951c7cd4
d158e396e083ad6761a1871bd39519d588c461bc
/hw/9dcv/contrib_seq2seq.py
e2a412f09abce6ff8f5b388720e649b2947d8530
[]
no_license
jendelel/npfl114
c7250e6256f556c2e9f134dce2f2148117c43368
44a562e2aae96a9e30f930cfae7985043f172828
refs/heads/master
2021-01-10T18:07:46.310969
2017-01-16T15:10:04
2017-01-16T15:10:04
71,621,825
1
2
null
2017-01-05T09:59:18
2016-10-22T06:42:31
Python
UTF-8
Python
false
false
9,159
py
# Copyright 2016 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...
[ "lukas.jendele@gmail.com" ]
lukas.jendele@gmail.com
7d5a0bdd30acb51aa2d53b292d0cadc6076e129e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03068/s875123408.py
7ebd0a3af325dded24435da6029b158873c69c05
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
n = int(input()) s = list(input()) k = int(input()) ans = '' for i in range(n): if s[i] != s[k-1]: s[i] = '*' else: continue print(*s, sep='')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f3bb6fb019a485fe0bec264817b74915c0530643
7323b8039f47c0457ae90173c963549b7d1e6823
/sandbox/src1/histdemo.py
a8514133c69af80b7c5f510d812d969b0da96add
[ "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
sniemi/SamPy
abce0fb941f011a3264a8d74c25b522d6732173d
e048756feca67197cf5f995afd7d75d8286e017b
refs/heads/master
2020-05-27T18:04:27.156194
2018-12-13T21:19:55
2018-12-13T21:19:55
31,713,784
5
2
null
null
null
null
UTF-8
Python
false
false
361
py
from matplotlib import rcParams from pylab import * mu, sigma = 100, 15 x = mu + sigma*randn(10000) # the histogram of the data n, bins, patches = hist(x, 100, normed=1) # add a 'best fit' line y = normpdf(bins, mu, sigma) l = plot(bins, y, 'r--', linewidth=2) xlim(40, 160) xlabel('Smarts') ylabel('P') title(r'$\r...
[ "niemi@stsci.edu" ]
niemi@stsci.edu
d8b1f7b564f9c8a9889d070590faa58b2928a4d8
c6d22cf128819af1d48d02972bb9296a1687b9bb
/venv/Lib/site-packages/pyface/ui/wx/image_widget.py
2e50ff64cb90378c94caab22abc79b27e902d0f7
[ "BSD-3-Clause" ]
permissive
GenomePhD/Bio1-HIV
92808a1e7e6339da6d07190ba3e1a2071f3e8428
b5059e7f121e4abb6888893f91f95dd79aed9ca4
refs/heads/master
2022-10-28T21:55:42.998205
2018-04-16T18:52:32
2018-04-16T18:52:32
129,792,081
0
1
null
2022-10-05T18:36:22
2018-04-16T19:03:26
Python
UTF-8
Python
false
false
7,447
py
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions describe...
[ "stevetmat@users.noreply.github.com" ]
stevetmat@users.noreply.github.com
53f1e2f513a9735af030b686847f828c7d25a6f9
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/spanner/admin/database/v1/admin-database-v1-py/google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py
77fee41bb742a42304fa72cb45903814dd541b52
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,767
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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com