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
a14ad05313d4fa99633e798e943318990ee99309
96cd605f9e0dd50e40fd2024d7046c7b5897bece
/HW_OCT/FOR/5_9.py
9f55cf419548b3c8346dc066dd777352df3f3969
[]
no_license
astreltsov/firstproject
8cdc3b71fbf3d17405f3b1ee6fd44139ea5c23cf
be7bff2aea8b42b1eb43893a430c21a5cfdb7a35
refs/heads/master
2023-01-11T20:08:04.250711
2020-11-14T16:56:14
2020-11-14T16:56:14
304,677,146
0
0
null
2020-10-19T16:11:49
2020-10-16T16:09:30
Python
UTF-8
Python
false
false
101
py
print('Дюймы\tСантиметры') for i in range(10, 23): print(i, '\t\t', i * 25.4 / 10)
[ "astrelts@gmail.com" ]
astrelts@gmail.com
1130171a1562ad578afe2bdcd7bbb4f7574ddaf2
a947d094426b52d165c1910bfe2eac09358f06b4
/system/t03_help/__init__.py
07f1f82845ec5a03b237ee23ecec9a51b75bac47
[ "MIT" ]
permissive
aptly-dev/aptly
d9c2febf263edd179df08dcec97e299832ea5daf
214e9075ad1706c8c429f26741cabe61eb148f38
refs/heads/master
2023-08-22T15:35:16.856904
2023-07-24T20:24:24
2023-08-18T12:20:23
15,171,803
954
201
MIT
2023-09-14T08:35:02
2013-12-13T19:14:53
Go
UTF-8
Python
false
false
1,063
py
""" Test help screens """ import re from lib import BaseTest class MainTest(BaseTest): """ main """ expectedCode = 2 runCmd = "aptly" def outputMatchPrepare(_, s): return re.sub(r' -(cpuprofile|memprofile|memstats|meminterval)=.*\n', '', s, flags=re.MULTILINE) class MirrorTest(Bas...
[ "Smirnov.Andrey@gmail.com" ]
Smirnov.Andrey@gmail.com
2fd1466e249c32f748bab7dd10d3ee183b65a712
3435505aa0b760eddf175a9a8f62119952020380
/wienerschnitzelgemeinschaft/src/shai/fastai/tools/download_tomomi.py
91d7b5cf1ab924089e2888a4e2bf4411d1ea06b9
[ "MIT" ]
permissive
CellProfiling/HPA-competition-solutions
2cc365b2be086eec382136856ebcf790d4eaabb9
547d53aaca148fdb5f4585526ad7364dfa47967d
refs/heads/master
2022-12-16T16:58:15.578281
2020-07-09T23:04:55
2020-07-09T23:04:55
223,605,040
61
25
MIT
2022-11-22T04:37:30
2019-11-23T14:49:57
Jupyter Notebook
UTF-8
Python
false
false
1,529
py
import requests import pandas as pd from tqdm import tqdm from joblib import Parallel, delayed import os from PIL import Image import requests from io import BytesIO newpath = "/media/galib/Documents/protein-atlas/jpg/" if not os.path.exists(newpath): os.makedirs(newpath) print(newpath) colors = ['red','green','...
[ "noreply@github.com" ]
CellProfiling.noreply@github.com
e9d2e0b4eb469ddcfb0e071929d66dd1487102e3
8cde55d25600bda77bd73a0beb5f7b5c25ce076e
/backend/asap_20693/wsgi.py
b5e1cb92a39d3f5741ee0119ddf2b51b1adfa467
[]
no_license
crowdbotics-apps/asap-20693
eed20cbec6f9d4f960353689926576d56490d15e
583f9de78f7ac799dfd9a148d9d281bf8588ebb4
refs/heads/master
2022-12-18T09:19:06.078427
2020-09-25T20:53:47
2020-09-25T20:53:47
298,673,538
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for asap_20693 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
37bceb0dcbaced44ec24923fc1c050d81e43dc7a
1dd4ae2d974d65e86538e49f84179b3ec6b8476c
/devel/lib/python2.7/dist-packages/mask_rcnn_ros/srv/_MaskDetect.py
0936b6068ed10cda58df90426a9d7bf226260565
[]
no_license
tony23545/bulldog_ws
e115510d87980c90b308ae881c59d4e6145964c0
d3e03aa230e9366023df383665cf6be928d68c8d
refs/heads/master
2022-11-30T06:21:04.073397
2019-07-08T07:33:52
2019-07-08T07:33:52
176,073,396
5
0
null
2022-11-21T21:13:17
2019-03-17T08:11:32
Makefile
UTF-8
Python
false
false
29,913
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from mask_rcnn_ros/MaskDetectRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg import sensor_msgs.msg class MaskDetectRequest(genpy.Message): ...
[ "csj15thu@gmail.com" ]
csj15thu@gmail.com
729dc628089f7d39a46b755ce3bd085d256f61fb
687ebbf83244b769ecbfa2941d39b0ea944df73d
/gen_electron_beam.py
201ea7812b9521c1d2c0bea6694343b6998031c4
[]
no_license
adamjaro/eic-lgen
762e9d0c603e9ae0191a684037039435173ed243
4f5a4427b8ac5a2c0adba60bf31a291b19c4df7a
refs/heads/master
2020-12-28T06:42:04.352016
2020-10-02T18:08:10
2020-10-02T18:08:10
238,215,014
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
#_____________________________________________________________________________ # Beam electrons with a given energy for simulations testing # #_____________________________________________________________________________ from ROOT import TMath, TDatabasePDG, TF1 from particle import particle #______________________...
[ "jaroslav.adam@cern.ch" ]
jaroslav.adam@cern.ch
eabb57ddae56d22a509acc4f780cabd247412404
b9f436a4a7dd6507e166a49b16daa08b340a8945
/app.py
43292e343c16c0e3333a198c04bfb6621b6f12b5
[]
no_license
rdegges/bitrich-www
cedc6d56927bd9b01dc03960d1dbe5c111fe8278
27c951e417be141fc6ee603f8fee31edcc4b071e
refs/heads/master
2022-02-16T03:39:45.969026
2022-02-06T05:34:49
2022-02-06T05:34:49
17,269,832
2
0
null
2022-02-06T05:34:49
2014-02-28T00:10:47
HTML
UTF-8
Python
false
false
7,486
py
""" bitrich-www ~~~~~~~~~~~ """ from datetime import datetime from json import dumps from os import environ from uuid import uuid4 from flask import ( Flask, redirect, render_template, request, url_for, ) from flask.ext.stormpath import ( StormpathManager, User, login_require...
[ "r@rdegges.com" ]
r@rdegges.com
2a997c89e4092d0487fb15c1812def5a8650e540
28362deff06ad82486742c820d739c9751019c67
/tests/test_tracer.py
2e73744cb2c82d8876dd06098448e604c7349f91
[ "Apache-2.0" ]
permissive
Mulugruntz/aiozipkin
b7fda6329ef27990a70af58af6e5be8e99aca942
9bbee196a0351a47dea1178b0fbfe901c092ccb8
refs/heads/master
2021-08-19T23:23:40.602198
2017-11-27T16:39:04
2017-11-27T16:39:04
112,221,300
0
0
null
2017-11-27T16:37:09
2017-11-27T16:37:09
null
UTF-8
Python
false
false
4,713
py
from unittest import mock import pytest from aiozipkin.helpers import ( TraceContext, CLIENT, CLIENT_RECEIVED, CLIENT_SEND, SERVER, SERVER_RECEIVED, SERVER_SEND, ) from aiozipkin.tracer import NoopSpan, Span def test_basic(tracer, fake_transport): with tracer.new_trace() as span: ...
[ "nickolainovik@gmail.com" ]
nickolainovik@gmail.com
de38feedea62ba0df4e8a508bc82458cf293154a
90c8db181d1a3c5ed4908448970f601842484d87
/ecommercestore/apps.py
8ded38889f6265583b6e5fd6f3db692223ad9520
[]
no_license
shameereranhikath/Ecommerce
4e7f6c0415a61b53feb249a1dbd250b89e13151e
792a318ceec234d62656c6271b2907c5d548d9b7
refs/heads/master
2022-12-18T17:40:13.008497
2020-09-21T16:45:02
2020-09-21T16:45:02
296,809,976
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
from django.apps import AppConfig class EcommercestoreConfig(AppConfig): name = 'ecommercestore'
[ "shmr_ekth@yahoo.com" ]
shmr_ekth@yahoo.com
32964861cc232c28721bf4e87f3c5e1987d060b9
52e0e1ef7675d8bac51899f23b2722e7e7f58992
/core/utils/simulator_utils/sensor_utils.py
4ed5778903fd55cccec905c0cafec3efeba7e009
[ "Apache-2.0" ]
permissive
knowmefly/DI-drive
2c8963a04d00aa8b3c3354630b6df9e3e6a6770e
ade3c9dadca29530f20ab49b526ba32818ea804b
refs/heads/main
2023-07-08T14:40:39.625522
2021-07-21T15:54:48
2021-07-21T15:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,680
py
import os import copy import logging import time import numpy as np import carla import math import weakref import shapely.geometry from enum import Enum from easydict import EasyDict from collections import deque from typing import Any, Dict, List, Optional, Tuple, Union from core.simulators.carla_data_provider impor...
[ "sissure@qq.com" ]
sissure@qq.com
68e3f52e6a9072bee1d444baf94f70abb313dd9d
7d433bb5f0a965342623e7008b6f382975798055
/other_scripts/optical_flow_and_draw_vel_vectors.py
e3f3662463c92b9b35aa2d3618c9dc0908b0f020
[]
no_license
AyaLotfy/test_background_subtraction
edd09a7ed34f461a1d89bb3bf929b0d998386fb8
8e42ef375e3137282a081631010e7c8693b856fe
refs/heads/master
2020-09-15T07:14:11.124491
2019-04-21T07:27:56
2019-04-21T07:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
# -*- coding: utf-8 -*- import cv2 import numpy as np import time import matplotlib.pyplot as plt from mycv import mycv def notShowAxisLabel(): frame1 = plt.gca() frame1.axes.xaxis.set_ticklabels([]) frame1.axes.yaxis.set_ticklabels([]) cap = cv2.VideoCapture("v_Biking_g01_c01.avi") ret, frame1 = cap.read...
[ "felixchenfy@gmail.com" ]
felixchenfy@gmail.com
4c0a891bd4bf4c8ba417d906b448c53c340fafbc
48ffb111909cde4e490250d80d90d131b7ddade2
/client/typeshed-fallback/stdlib/2and3/builtins.pyi
804497625321c6ab3644567e3975ccd4d0c893ea
[ "LicenseRef-scancode-generic-cla", "MIT", "Apache-2.0" ]
permissive
jacebrowning/pyright
d57bcd94337f8f0ecbf8da5b0ce41a90a5bf45f4
ea7093ae3623f462fbe10f4fc1d2332b31497e67
refs/heads/master
2020-09-04T20:15:04.123099
2019-11-05T08:43:30
2019-11-05T08:43:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
72,179
pyi
# True and False are deliberately omitted because they are keywords in # Python 3, and stub files conform to Python 3 syntax. from typing import ( TypeVar, Iterator, Iterable, Literal, NoReturn, overload, Container, Sequence, MutableSequence, Mapping, MutableMapping, Tuple, List, Any, Dict, Callable, Generic, ...
[ "erictr@microsoft.com" ]
erictr@microsoft.com
36f9fb627a98a7ed6e4eeda4f0ddc3d4a9d2b2e4
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/cumberland.py
f51bfa18ec06d3aa029a5c49325eab42359ea897
[]
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
998
py
ii = [('CookGHP3.py', 9), ('CoolWHM2.py', 3), ('SadlMLP.py', 1), ('WilbRLW.py', 9), ('WilbRLW4.py', 1), ('RennJIT.py', 1), ('MartHSI2.py', 2), ('KembFJ1.py', 1), ('WilbRLW5.py', 1), ('PettTHE.py', 1), ('PeckJNG.py', 11), ('BailJD2.py', 1), ('AubePRP.py', 2), ('FitzRNS3.py', 1), ('ClarGE2.py', 31), ('CarlTFR.py', 2), ('...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
a111bfcc3bf91399821406de603ad3430252cb55
db234ebdb8be4a1d2e493f0c389ee0bbf0a19f88
/mediapipe/tasks/python/test/metadata/metadata_writers/metadata_writer_test.py
84627491455630a239508aa85c18e132d3e03d61
[ "Apache-2.0", "dtoa" ]
permissive
samsgates/mediapipe
3498c5557c887f9834820f1aa05b7c26a46cfe8a
d7039c90dc9eebf047d099ee97c980c23c0c51ad
refs/heads/master
2023-04-29T03:05:20.836933
2023-04-18T21:02:43
2023-04-18T21:07:07
205,383,363
0
0
Apache-2.0
2019-08-30T13:01:51
2019-08-30T13:01:51
null
UTF-8
Python
false
false
17,815
py
# Copyright 2022 The MediaPipe 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2a83f2178a7a1680fd480496f77a0b5507fd1c91
d8346eaf1c910ff02c7b243692a2766b8b089f06
/for-post/python-dictionary/s1-basics/clear.py
05b04c05f92bfd86910e220d02537fb5041f7311
[]
no_license
dustinpfister/examples-python
55304c99ba3af82cd8784ee98745546632155c68
a9910ee05d4df524f951f61b6d9778531a58ccbf
refs/heads/master
2023-03-06T21:10:18.888654
2021-02-26T20:32:52
2021-02-26T20:32:52
318,595,538
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
# a blank dict d={'a': 1, 'b': 2, 'c': 3} print( len(d) ) # 3 d.clear() print( len(d) ) # 0
[ "dustin.pfister@gmail.com" ]
dustin.pfister@gmail.com
74b492fc113a28998168a172e9ddeb854a3149c8
747ea9b36075edb383b615a7468efaee496a81e9
/halotools/empirical_models/phase_space_models.py
f423c79053d82c3dd1b562659f777032ba47cbb5
[ "BSD-3-Clause" ]
permissive
parejkoj/halotools
7ef4c7f24bacf3540b7a819f8bec25410c8a6748
212cd1b158edee2fef4191969d1d37fca4fdd329
refs/heads/master
2020-12-27T21:35:06.921695
2015-10-06T02:21:11
2015-10-06T02:21:11
43,403,623
0
0
null
2015-09-30T01:06:58
2015-09-30T01:06:58
null
UTF-8
Python
false
false
7,529
py
# -*- coding: utf-8 -*- """ Module composes the behavior of the profile models and the velocity models to produce models for the full phase space distribution of galaxies within their halos. """ __author__ = ['Andrew Hearin'] __all__ = ['NFWPhaseSpace', 'TrivialPhaseSpace'] import numpy as np from .profile_models ...
[ "andrew.hearin@yale.edu" ]
andrew.hearin@yale.edu
c05635a7fd28e65ac9a9edb58e32406f49b5ef18
4148260054c2cf4605dacb8bdef3605c82eca470
/temboo/Library/Facebook/OAuth/FinalizeOAuth.py
53236194a5b4bc2d76a331c04a4d216c7760f2cc
[]
no_license
wimsy/actuarize-web
0f23d5f00afe3d36d430621cdb497d2e64998416
5f43af3019da6fb08cafeec9ff0a89df5196b864
refs/heads/master
2021-03-12T19:38:21.887681
2012-12-19T01:13:50
2012-12-19T01:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,002
py
# -*- coding: utf-8 -*- ############################################################################### # # FinalizeOAuth # Completes the OAuth process by retrieving a Facebook access token for a user. # # Python version 2.6 # ############################################################################### from temboo...
[ "mike.wimsatt@gmail.com" ]
mike.wimsatt@gmail.com
01fd6698dbe0a2600fc7527e9734a95ae0311b07
ccaa2afc10a570bab8cc693f57ebb93317a08e85
/tests/test_cmds.py
4b771cc0f8a021943191ae5a9788256cb8260bb3
[ "MIT" ]
permissive
danyhoron/script.tubecast
133a60d29e8932fd37d3c798a8a3ffe287d5f94c
e6f7129bd0eac59c28f8a856ef0048517349f9c8
refs/heads/master
2020-04-05T13:24:25.517991
2018-11-09T18:18:58
2018-11-09T18:18:58
156,901,031
0
0
MIT
2018-11-09T18:16:57
2018-11-09T18:16:57
null
UTF-8
Python
false
false
1,282
py
# -*- coding: utf-8 -*- from resources.lib.tubecast.youtube.utils import parse_cmd cmd_1 = '[[20,["remoteDisconnected",{"app":"android-phone-13.05.52","pairingType":"dial","capabilities":"atp,que,mus","ui":"true","clientName":"android","experiments":"","name":"MYPHONE","remoteControllerUrl":"ws://","id":"something","t...
[ "92enen@gmail.com" ]
92enen@gmail.com
3d6150d14c63bf85cc0618bc89a3abc79bc9613c
06f0ae3ecaaf47b1c23e231838afa524d8446f5e
/contest/refund/migrations/0002_auto_20160325_2331.py
253820ba894ed3f1e6f2331f97303427e723cade
[]
no_license
nakamotohideyoshi/draftboard-web
c20a2a978add93268617b4547654b89eda11abfd
4796fa9d88b56f80def011e2b043ce595bfce8c4
refs/heads/master
2022-12-15T06:18:24.926893
2017-09-17T12:40:03
2017-09-17T12:40:03
224,877,650
0
0
null
2022-12-08T00:02:57
2019-11-29T15:20:17
Python
UTF-8
Python
false
false
423
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('refund', '0001_squashed_0002_refund'), ] operations = [ migrations.AlterField( model_name='refund', ...
[ "cbanister@coderden.com" ]
cbanister@coderden.com
a00140c3bf6ff3b24b452bb2cd661784f7ad9d5c
5860bb03c8e00840f1e34d01774598d511783444
/binary/train_binarynn.py
e791a455337a5fd536f4588c3cfa9d1a14f9883f
[]
no_license
zero-one-loss/scd_github
2147311062fbc9020974f03ea6ce0a0827a9e61e
c41fee1dd4d86f152748590887f7e4d0a95c89c8
refs/heads/master
2022-12-27T10:55:00.823113
2020-10-15T02:30:17
2020-10-15T02:30:17
298,932,121
1
0
null
null
null
null
UTF-8
Python
false
false
2,438
py
import tensorflow as tf import larq as lq import numpy as np import matplotlib.pyplot as plt import sys sys.path.append('..') from tools import args, load_data, ModelArgs, BalancedBatchSampler from core.bnn import BNN import pickle import time np.random.seed(args.seed) train_data, test_data, train_label, test_label = ...
[ "yunzhexue@gmail.com" ]
yunzhexue@gmail.com
18ff57f339c80606dc45049c53c1865ed04cc8dd
99d79ada2d3b7746573f071823ec61f5f853d7a3
/magma/syntax/combinational2.py
5eafe25b1c759e8ea2d55588b79cb2043af994ab
[ "MIT" ]
permissive
phanrahan/magma
d8062c6163e2c2c2cedef82317dc8cc40038220a
b05fe5303ed17e668c6ec2ec3558cd5a52eff787
refs/heads/master
2023-08-23T18:08:22.494869
2023-08-08T18:53:05
2023-08-17T16:16:44
84,332,281
227
21
NOASSERTION
2023-09-14T21:32:19
2017-03-08T14:57:09
Python
UTF-8
Python
false
false
3,198
py
import functools import libcst as cst import libcst.matchers as match from typing import Optional, MutableMapping from ast_tools.common import gen_free_name from ast_tools.passes import (apply_passes, ssa, if_to_phi, bool_to_bit, Pass, PASS_ARGS_T) from ast_tools.stack import SymbolTable ...
[ "lenny@stanford.edu" ]
lenny@stanford.edu
dcd939d44a28b2fe741318c1ee8d660d4ce87169
828bd40f2b500416fd679949bc06648fdf40a7e0
/loadmcs.py
9ab11040800dc290b9a6677da3b230f596889625
[ "MIT" ]
permissive
fameshpatel/olfactorybulb
f513c480a1010c1a30911f12a3e4cf8ab5059dee
8d7a644b4560309ef177c0590ff73ed4c2432604
refs/heads/master
2023-07-24T16:35:15.855708
2019-09-24T19:22:26
2019-09-24T19:22:26
212,605,801
0
0
MIT
2023-07-06T21:23:06
2019-10-03T14:51:17
Jupyter Notebook
UTF-8
Python
false
false
397
py
import sys; sys.path.append('/home/justas/Repositories/BlenderNEURON/'); from prev_ob_models.Birgiolas2020.isolated_cells import *; mc1 = MC1(); mc2 = MC2(); mc3 = MC3(); mc4 = MC4(); mc5 = MC5(); gc1 = GC1() gc2 = GC2() gc3 = GC3() gc4 = GC4() gc5 = GC5() tc1 = TC1() tc2 = TC2() tc3 = TC3() tc4 = TC4() tc5 = TC5...
[ "jbirgio@gmail.com" ]
jbirgio@gmail.com
ed057845ec26925134c87aa85e08710b718f4da8
7a9ce92879f74a519175bb809e06f637c92ebdb3
/mapusaurus/censusdata/tests/test_views_utilities.py
bede5c6eee539af791f3e3022fa4c1519b29b9d6
[ "CC0-1.0" ]
permissive
higs4281/mapusaurus
96343d812a5b5d9df151dd908015d35580a35b25
de47dcbb0c15859c945b6ea4aff54f173344306a
refs/heads/master
2021-01-15T13:11:56.948318
2015-02-23T13:27:28
2015-02-23T13:27:28
29,865,313
0
0
null
2015-01-26T14:48:02
2015-01-26T14:48:02
null
UTF-8
Python
false
false
4,966
py
""" tests of the helper functions for assembling tables for map page """ import json from django.http import HttpRequest from django.test import TestCase # from mock import Mock, patch from censusdata.views import minority_aggregation_as_json, sum_lar_tuples, assemble_stats, tally_msa_minority_stats, combine_peer_stat...
[ "higs4281@gmail.com" ]
higs4281@gmail.com
85e859951cc2d50a54d33479692ddc62f86d82d8
8d067f7e4241e0b45c8ed7c3b7f67757e9a1b81b
/geomdl/_exchange.py
cce9fdae49fcc8e9df3b3ce58c0a6ad6d16286eb
[ "MIT", "Python-2.0" ]
permissive
jtpils/NURBS-Python
eae4a65b2c86bbdb44dcc3f49ee0ede852339de4
b3e9df6629df942bcd943cee1a41a4795bf76e9c
refs/heads/master
2020-05-03T10:56:11.453056
2019-03-25T23:01:44
2019-03-25T23:01:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,050
py
""" .. module:: _exchange :platform: Unix, Windows :synopsis: Helper functions for exchange module .. moduleauthor:: Onur Rauf Bingol <orbingol@gmail.com> """ import math from . import compatibility from . import utilities from . import shortcuts from .exceptions import GeomdlException # Initialize an empt...
[ "orbingol@gmail.com" ]
orbingol@gmail.com
bf6af65e03140c8c61d42ed43f8d7083ec7f7e6b
609cf9db6bb27b79a0c1cfbf63882e18699a2b95
/mill_complex/migrations/0013_auto_20190202_0856.py
831ff37bbb812a0af11c9223d670e6190726193c
[]
no_license
bondarenkoav/macaronidesk
e476ff151417e50d2bc6d72b4b96aa170151b165
e1991e695e175ff5eef8a06831899d986ddcaac9
refs/heads/master
2023-05-31T06:07:21.304298
2022-10-13T04:23:50
2022-10-13T04:23:50
195,808,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-02-02 03:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mill_complex', '0012_auto_20190201_1608'), ] operati...
[ "printex.orsk@gmail.com" ]
printex.orsk@gmail.com
b02542f8bee71afe0ed8537553a75a28dc568913
2a0104261f6f945e01a14effd7c59673d5b40c33
/app1/views.py
bc7e5520624f94359a5066f2d76e760c3a30ad39
[]
no_license
SDBranka/first_django_project
059481cdc75a6437d30134c4c8420d0c8cbe72e1
8c1b3b4e787232bff4ee939c8ff981bee6bb938a
refs/heads/main
2023-04-12T05:12:50.066096
2021-05-18T02:28:47
2021-05-18T02:28:47
367,260,120
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from django.shortcuts import redirect, render, HttpResponse # Create your views here. def index(request): return HttpResponse("placeholder to later display a list of all blogs" ) def new(request): return HttpResponse("placeholder to display a new form to create a new blog" ) def create(request): retu...
[ "sdbranka@me.com" ]
sdbranka@me.com
52278adf74f26d34389368b6647899e3539e569d
18f96e30000a71cee78425ec2d6ee9e0459964a0
/p9.py
4ca38daf326508db1011029e0bac717a23d412b8
[]
no_license
rfaulkner/project_euler
d5f5d43c5a71f3c5ad706030151a0a9d1b236493
90927aed5e66ad6d29623b23a45ef80ba89982d5
refs/heads/master
2021-01-10T19:54:13.896917
2013-10-22T05:30:43
2013-10-22T05:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
#/env/bin/python # -*- coding: utf-8 -*- """ Project Euler - problem 9 """ __author__ = "ryan faulkner" __date__ = "11/17/2012" __license__ = "GPL (version 2 or later)" import math def find_pythagorean_triplet(n): k = int(math.ceil(n**0.5)) for a in xrange(1,k+1): for b in xrange(a,k+1): ...
[ "rfaulkner@wikimedia.org" ]
rfaulkner@wikimedia.org
0dd582ec938094a75d2f8db99f24d02511251345
b59bc650ae07b18757b455e1b5cb7cfde91714a4
/.env/local/lib/python3.5/site-packages/setuptools/site-patch.py
615ab9d5af658cc59b553f9ad912f394290ff16c
[]
no_license
jhashubham28/BE_Project_SpeakerRecognition
d07c584359a5ebc6b524b3b4617b072c58724d17
ede8fd53e79973e4116030e5a36f9deaa61dcc63
refs/heads/master
2020-05-29T20:42:15.055659
2019-05-30T20:17:30
2019-05-30T20:17:30
189,354,351
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
/home/pi/Downloads/BE_Project-SpeakerRecognition-master/.env/lib/python3.5/site-packages/setuptools/site-patch.py
[ "jhashubham28@gmail.com" ]
jhashubham28@gmail.com
8d9851182ff12f3e561193db5491cfcde0190b7f
0b515f37974fb8e325f0c08436d6977e2cd7fee7
/Event_App/event/migrations/0005_eventbook_status.py
bac9794ceafb80edfbc21952d164fd78db1fca31
[]
no_license
AKSHAY-KR99/Django_Projects
64e4cec61351b436cd0a62945620d43f4b7c36c8
07fe99562995ea10f96f255a9197f3b03b07d09b
refs/heads/master
2023-06-02T01:29:23.456854
2021-06-16T15:27:30
2021-06-16T15:27:30
359,067,292
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# Generated by Django 3.1.7 on 2021-05-30 13:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('event', '0004_eventbook'), ] operations = [ migrations.AddField( model_name='eventbook', name='status', ...
[ "ashayakr4@gmail.com" ]
ashayakr4@gmail.com
7b1d92986d4e3e658dddcd8cbad3a7195ee0d924
4fa1a00bf3e3b6f7f5415a15ad93be6a702ff519
/tests/unit/raptiformica/shell/execute/test_execute_process.py
5bce17ee13fe8bd87aad85683cef11b25ffb88ea
[ "MIT" ]
permissive
vdloo/raptiformica
887a58f6842238c5fa62416b47439e9519e1e1bc
e2807e5e913312034161efcbd74525a4b15b37e7
refs/heads/master
2020-04-05T12:12:21.222189
2020-01-24T07:50:43
2020-01-24T07:59:44
64,013,772
21
2
MIT
2020-01-24T07:50:44
2016-07-23T11:45:47
Python
UTF-8
Python
false
false
3,944
py
from subprocess import PIPE from raptiformica.settings import conf from raptiformica.shell.execute import execute_process, COMMAND_TIMEOUT from tests.testcase import TestCase class TestExecuteProcess(TestCase): def setUp(self): self.command_as_list = ['/bin/ls', '/root'] self.p_open = self.set_up...
[ "rickvandeloo@gmail.com" ]
rickvandeloo@gmail.com
68423abe34a3a1f2a7e280770c440fddb29018ce
d808d3b7576383329b21847b92a22c7552ac9ae7
/content/test/gpu/unexpected_passes/expectations_unittest.py
c48bd2134b24046a90ee8b50fb8c446b85c760f3
[ "BSD-3-Clause" ]
permissive
tianyu-devc/chromium
a9985e6aaab42360a16624cf62678fba4cd42376
8918131525c4c8b438cf593535172ef327b463f9
refs/heads/master
2023-06-05T02:29:40.468056
2021-06-28T17:50:36
2021-06-28T17:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,407
py
#!/usr/bin/env vpython3 # Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import print_function import collections import copy import os import sys import tempfile import unittest if sys.ve...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
b46daf45083d99ac8edfb8573cdfb87efdaee8b7
1600583cfb56344e0a3668b8b9826ccbbb38f401
/csvlec.py
efb414cf9c3ab00807c3e2363b45491e7b91d8b3
[]
no_license
mogubess/python_s
75f9edbb832491ee148db3b91c42dffe00e082e4
cd1b123e3c75206c3a6724b0178359f338f2cfbb
refs/heads/master
2022-12-04T07:36:38.391282
2020-08-29T16:45:04
2020-08-29T16:45:04
291,307,570
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import csv with open('test.csv', 'w') as csv_file: fieldnames = ['Name', 'Count'] writer = csv.DictWriter(csv_file, fieldnames=fieldnames) writer.writeheader() writer.writerow({'Name': 'A', 'Count': 1}) writer.writerow({'Name': 'B', 'Count': 2}) with open('test.csv', 'r') as csv_file: reader =...
[ "you@example.com" ]
you@example.com
5bd826ba330111f4a236f4b6f33970476d5fc691
78341100875c78074f1d25970a1c28d22c183ec2
/src/api-engine/src/api_engine/urls.py
f6eddc4b799bd3a30ba0f26fba40c5b0cad92e05
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
SaulBadman/cello
37cbd660cb0d51fe7ec0fde342b0ab42fd3bb4b9
1f6287d530cedeba3b65054621aba041a02246ff
refs/heads/master
2020-04-13T04:29:27.154137
2018-12-21T02:15:00
2018-12-21T06:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
# # SPDX-License-Identifier: Apache-2.0 # """api_engine URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: ...
[ "hightall@me.com" ]
hightall@me.com
4ddf8c7228ca120a16f58e229ef7a4e71331c390
72d010d00355fc977a291c29eb18aeb385b8a9b0
/Maschine_Mk2/TrackModMode.py
f5e7295c9e634299549cfe3748738a702b55ffba
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
16,847
py
# Embedded file name: C:\ProgramData\Ableton\Live 9 Suite\Resources\MIDI Remote Scripts\Maschine_Mk2\TrackModMode.py # Compiled at: 2016-02-05 11:51:57 import Live from _Framework.ControlSurface import ControlSurface, _scheduled_method from _Framework.InputControlElement import * from _Framework.ButtonElement import Bu...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
24115bfd965ac6a14dfa8eaa1191a5bd6e5ec8a9
3b35dd25bcd0afdf1c6275a52d83252c77376b73
/Python/Assignments/9082017/algorithm.py
e05357295ad7ed8f372b290629b9e8459373b411
[]
no_license
james-soohyun/CodingDojoAssignments
913baa483f0635ce03fe3ae5310251fd50140903
3311acb8b3b1ac6fcd8815048742c605d7f97d3d
refs/heads/master
2021-01-21T12:15:40.387886
2017-10-07T00:05:33
2017-10-07T00:05:33
101,955,975
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
Class NBATeam(object): def __init__(self, name, city, color): self.name = name self.city = city self.color = color self.players = [] Class Player(object): def __init__(self, name, position, jerseyNumber): self.name = name self.position = position self.jerseyNumber = jerseyNumber GSW = NBATeam("Golden ...
[ "james.soohyun@gmail.com" ]
james.soohyun@gmail.com
ec3ece90007b169dd4230ebc1f7669529fe3b67d
7fd049b151db9a9dee0911c17a7aa2649b9989d0
/pypilot/servo.py
92b975a80dfd7364d67f2b2b086d4a9ebcd95fd3
[]
no_license
FredericGuilbault/pypilot
378b00b9ea6d9d3f45ab4e49fb6e8f24d3283118
4bbf1e973848a23d26b7ae4ea4b05832f7f001ad
refs/heads/master
2021-06-27T06:58:56.604551
2020-10-14T13:01:43
2020-10-14T13:01:43
178,906,360
0
0
null
2020-01-17T14:10:02
2019-04-01T16:45:05
Python
UTF-8
Python
false
false
29,555
py
#!/usr/bin/env python # # Copyright (C) 2020 Sean D'Epagnier # # 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 3 of the License, or (at your option) any later version. impo...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
1ea18ad1534cf01bc3177eecf8f3c18027692bad
071c3c26cc1ab2f96cf193803ff99afde61fdc8a
/sbin/benchmark.py
38cda4d48e73c3da6615858caf96fd9daf8851ab
[]
no_license
oxhead/elastic-hpcc
245cd4120a4ae0b42d0aedfe0a31cc364869da92
053af4126263de68e36d46cbb2f83c28c40dcd2f
refs/heads/master
2021-04-15T13:37:47.712593
2017-08-17T13:41:14
2017-08-17T13:41:14
126,847,123
0
0
null
null
null
null
UTF-8
Python
false
false
8,623
py
import os import logging import click from executor import execute from elastic import init from elastic.util import parallel from elastic.benchmark.workload import Workload, WorkloadExecutionTimeline from elastic.benchmark.zeromqimpl import * from elastic.benchmark.roxie import RoxieBenchmark from elastic.util impor...
[ "chsu6@ncsu.edu" ]
chsu6@ncsu.edu
a42e48ae4b489cb15b464fbab0402e6118f6e1db
633b695a03e789f6aa644c7bec7280367a9252a8
/scipy_gallery/2_3_crude_integration.py
f4ccdbbfb2fe4bb1ba10a62ea0d8ced40dfb3716
[]
no_license
tnakaicode/PlotGallery
3d831d3245a4a51e87f48bd2053b5ef82cf66b87
5c01e5d6e2425dbd17593cb5ecc973982f491732
refs/heads/master
2023-08-16T22:54:38.416509
2023-08-03T04:23:21
2023-08-03T04:23:21
238,610,688
5
2
null
null
null
null
UTF-8
Python
false
false
445
py
import numpy as np from numpy import newaxis def f(a, b, c): return a**b - c a = np.linspace(0, 1, 24) b = np.linspace(0, 1, 12) c = np.linspace(0, 1, 6) samples = f(a[:, newaxis, newaxis], b[newaxis, :, newaxis], c[newaxis, newaxis, :]) # or, # # a, b, c = np.ogrid[0:1:24j, 0:1:12j, 0...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
c8f8efb433f3e1b58d6798ba1b11f80fc3502d19
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/4/usersdata/146/3331/submittedfiles/swamee.py
bf69a37cec74ae07489ed7bdcd45525974c04d34
[]
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
488
py
# -*- coding: utf-8 -*- from __future__ import division import math f = input ('Digite o valor de f: ') L = input ('Digite o valor de L: ') Q = input ('Digite o valor de Q: ') dh = input ('Digite o valor de delta H: ') v = input ('Digite o valor de v: ') E = 0.000002 D = float ((8*f*L*(Q**2))/(math.pi**2)*9.81*dh)**0...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e674899e2c355c9c6fc0ee73f93ce7a4066bbf1b
0d8426779d2a56f55d32f7b2c51b932a252a3e37
/openstack/network/v2/subnet.py
8306133c28db9aa5c49476347d5d6abd2ea80cfa
[ "Apache-2.0" ]
permissive
sivel/python-openstacksdk
3a2785e85c7e44156c1cdc9c34257372fe0a2dde
85c6a42c8f983b467c79e5dacdfdc996657250b1
refs/heads/master
2021-01-12T20:49:22.958672
2014-09-19T12:37:20
2014-09-19T12:37:20
24,230,938
1
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# 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, software # distributed under t...
[ "terrylhowe@gmail.com" ]
terrylhowe@gmail.com
5bf5d9d2c4cda52ede435f3e257fd14e81080682
94eb67b4696e45d0f7cedff3ce6ee761e80372ce
/pyethereum/chainlogger.py
94863297e6c2aa1fb72b8a0c49c44cdea9e0699a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ethers/pyethereum
2852f8f43ca26211ee883df558ead9f279d8f485
13062b52150d67bfa77c52a9cb046c8508321720
refs/heads/master
2021-01-22T10:07:50.646347
2014-08-24T19:24:18
2014-08-24T19:24:18
18,871,881
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
import logging import time import struct logger = logging.getLogger(__name__) fh = logging.FileHandler('blocks.log') fh.setLevel(logging.DEBUG) formatter = logging.Formatter('%(message)s') fh.setFormatter(formatter) # add the handlers to the logger logger.addHandler(fh) def log_block(block): logger.info('BLOCK:%r', ...
[ "heiko@heiko.org" ]
heiko@heiko.org
5c759d2bb21a76629790b1b4f8b61b8a70309776
122299087e4b1e83f8b18fa8d2aa914b19091315
/two_pointers/backspace_string_compare.py
2c79e418255a363c4a525a5d4902319db82f88bd
[]
no_license
federicociner/leetcode
522254c59d15a3145a81905d9bb8889736d68ad2
5595ef27cf88a93fa639155180d4b3305438fa2c
refs/heads/master
2020-11-26T02:37:58.431440
2020-07-08T23:45:23
2020-07-08T23:45:23
228,939,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
"""Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = "ab#c", T = "ad#c" Output: true Explanation: Both S and T become "ac". Example 2: Input: S = "ab##", T = "c#d#" Output: true Explanation: B...
[ "federico.ciner@gmail.com" ]
federico.ciner@gmail.com
61cb3b2c5aa89d6fdf1b85d0b73444ddd9997825
a7d71eee17841ccc4853a274f01afbebfffb96af
/teacher/training/common.py
2430e136e870cba2fef13b6c9cf35cb3d4efdf55
[]
no_license
bonaert/explainable_rl
f43c21709a779270ab4507265e346b4c2478f92d
de647d0e67f9a24c7cdc891437f4aecc7f306679
refs/heads/master
2021-01-08T21:57:09.026266
2020-08-27T12:08:20
2020-08-27T12:08:20
242,153,135
9
0
null
null
null
null
UTF-8
Python
false
false
19,578
py
from dataclasses import field, dataclass from pathlib import Path from typing import List, Union, Optional, Tuple import gym import numpy as np import torch import sklearn.preprocessing from torch.distributions import Categorical, Normal from torch.utils.tensorboard import SummaryWriter import joblib from datetime im...
[ "harokb@gmail.com" ]
harokb@gmail.com
81d7ac0facab242bf753b44dca3a0c412fc4b778
9b57429efa72dbfa2ead9ae8d98a148475264aef
/dataservice/zmq/downcomputer_code_send/sub_systerms/D_04_cesium_num5.py
d852f9ff37154e67b8e8fa98b2274f2c41e6cb34
[]
no_license
Scottars/nis_website
7d78b1ab8647ebf17bc2b020660a56ac6f6a039f
2025e428dd65dba06c95738233978604ee011570
refs/heads/master
2022-03-07T19:04:15.565128
2021-01-19T16:03:50
2021-01-19T16:03:50
218,421,853
0
0
null
2022-03-02T06:49:57
2019-10-30T01:58:29
JavaScript
UTF-8
Python
false
false
5,446
py
''' 子系统自身信息: IP:192.168.127.4 slave:04 port:5001 子系统需要检测的信息 -10Hz 采集的是温度 加热温度采集1 value1:04 03 13 04 data crc1 crc2 ----registerid=13 datatype=float 加热温度采集2 value1:04 03 14 04 data crc1 crc2 ----registerid=14 datatype=float 加热温度采集3 value1:04 03 15 04 data crc1 crc2 ----registerid=15 datatype=float 加热温...
[ "ScottarSEEE@hust.edu.cn" ]
ScottarSEEE@hust.edu.cn
2a96d7e673cf1bd75f4be6c68897a575f9e56df2
10dcfd809f342fd822b6df198f4045f92b157124
/lib/python/translate/misc/multistring.py
8791aef2e6a171f324694f3058285767873016e2
[]
no_license
mozilla/affiliates-lib
c731c910c8d9fe04e211541e54f304a127a0b829
1000f98d9df217ed66a0ecd07e1e0a1d822a712a
refs/heads/master
2023-07-03T17:18:49.841809
2016-02-01T10:49:47
2016-02-01T10:49:47
2,291,186
2
2
null
null
null
null
UTF-8
Python
false
false
3,488
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2006 Zuza Software Foundation # # This file is part of translate. # # translate 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...
[ "fwenzel@mozilla.com" ]
fwenzel@mozilla.com
cd66b39c2dbfa6b9ee1b276e133d6b80d9292f68
b4a36e659f8c55585b9d8c9097534d38d2371f6f
/urgent/ni.py
329b1f756ec885d501d58c5ea6a0b29491d822a9
[]
no_license
volpato30/Backtest
cb4546af238abe252a4cbe4d64ed6c3af20b4d64
4793c272db0a552ea294d94ebf8e66e447f35c86
refs/heads/master
2021-01-20T19:50:21.637262
2016-10-11T15:08:01
2016-10-11T15:08:01
62,898,157
0
0
null
null
null
null
UTF-8
Python
false
false
4,811
py
from sys import path path.append('/work/rqiao/HFdata/cython_mew-p') path.append('/work/rqiao/HFdata/algorithms') DATA_PATH = '/work/rqiao/HFdata/dockfuture' import os import numpy as np from mewp.simulate.wrapper import PairAlgoWrapper from mewp.simulate.runner import PairRunner from mewp.simulate.report import Maste...
[ "volpato30@gmail.com" ]
volpato30@gmail.com
af085af24779934de93ffdc14f641a7e1b85eb23
891d28d81e670d4dac0448e09259a881446189c3
/leetcode/1339-maximum-product-of-splitted-binary-tree/main.py
ce5603a87208dd74ae1317151f688c2ca7842e1d
[]
no_license
arthanusamn/AlgoDaily
256abdef4dcef8febf225dcaab7e03a3b2740f9e
4842868ca975fdc969f82ff8ff46c92f7f910003
refs/heads/master
2023-08-25T03:04:52.495294
2021-10-17T12:09:57
2021-10-17T12:09:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None """ 1st: recursion 1. first calculate the sum of all nodes' value 2. for every subtree, calculate the product by using subtreeSum * (total-subtreeSum), up...
[ "chan9118kin@gmail.com" ]
chan9118kin@gmail.com
fd9fa79ace3792814dfd64f24e20db8793fc0648
e0f583d286706699da99bc631a31e3f4f2078965
/solutions/0756. Pyramid Transition Matrix/0756.py
39fde0ec824a8ea8d5a145103f8229bccc8f741e
[]
no_license
T353007/LeetCode-1
4f002d1885358e8beec0c3d59a1549c4c9f0e06d
026713cb8fa25f52851e1432cd71a5518504e3e0
refs/heads/main
2023-02-15T17:03:49.726291
2021-01-12T10:12:25
2021-01-12T10:12:25
328,920,320
0
0
null
2021-01-12T08:29:55
2021-01-12T08:29:55
null
UTF-8
Python
false
false
605
py
class Solution: def pyramidTransition(self, bottom: str, allowed: List[str]) -> bool: prefixToBlocks = defaultdict(list) for a in allowed: prefixToBlocks[a[:2]].append(a[2]) def dfs(row: str, nextRow: str, i: int) -> bool: if len(row) == 1: return Tr...
[ "walkccray@gmail.com" ]
walkccray@gmail.com
0068476001218eadb5d3682dc267476e1f2c2a13
13d5fe09508315fcc0d30484497cfe7c969b6ddf
/test/test_scatterplots.py
fe5a6b66657b4a8ceabb6e1b2019b0d69379abbc
[]
no_license
ongbe/drink-juice
b9d8d793464457d6e4ccedae8d77fccc0229bdfd
8b415e0e56fb3a14c16320fd08a37461bb8afd83
refs/heads/master
2020-03-23T03:45:52.500030
2018-03-28T00:01:42
2018-03-28T00:01:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
import pandas as pd import matplotlib.pyplot as plt import core.util.data as util import numpy as np def compute_daily_returns(df) : """ Compute and return the daily return values :param df: :return: """ daily_returns = df.copy() daily_returns[1:] = (df[1:] / df[:-1].values) -1 daily_re...
[ "verystrongjoe@gmail.com" ]
verystrongjoe@gmail.com
fdb8f805a6128ddf6e5f5b74f3b7802329502d4a
4f1218079f90a65befbf658679721886d71f4ee8
/python/aoj/itp/Counting_chrs.py
e1380b0bbe0add721aa9ab861e28a596fe3b2aef
[]
no_license
Escaity/Library
9f57767617422a7930caf48718d18f7ebef81547
b34d8600e0a65845f1b3a16eb4b98fc7087a3160
refs/heads/master
2022-07-29T16:18:33.073738
2022-07-17T10:25:22
2022-07-17T10:25:22
238,588,249
0
0
null
2021-08-17T03:02:34
2020-02-06T02:04:08
Python
UTF-8
Python
false
false
416
py
def get_input(): while True: try: line = list(input().lower()) if line == "": break else: yield line except EOFError: break s = list(get_input()) s = sum(s, []) alpha = [0] * 26 for i in s: if i.isalpha(): ...
[ "sfz2306@gmail.com" ]
sfz2306@gmail.com
9d7ccac175db4e02403afadb99432dee68e68774
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Modulemd/SubdocumentInfoClass.py
a0cf42b7c4cc7a59c1def8733989e1a2ae39396d
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,551
py
# encoding: utf-8 # module gi.repository.Modulemd # from /usr/lib64/girepository-1.0/Modulemd-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes o...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
e60da43cf695b4eb9780a49d18c1df985b2da2dc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_palmistry.py
9b905d0b28fe7e92934a6c7452d57e597aa029d3
[ "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
416
py
#calss header class _PALMISTRY(): def __init__(self,): self.name = "PALMISTRY" self.definitions = [u'the ability that some people claim to have to see signs about your character and future from the lines on the inside of your hands'] self.parents = [] self.childen = [] self.properties = [] self.jsondat...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
98295f0c402159844802ae4f92a480617873bf62
f70bf4b3740b74e689c2d00b910a4e6f068651ca
/src/sos/actions_ruby.py
daa4fa0befdca43c620e28c477dd512032e7b7c3
[ "BSD-3-Clause" ]
permissive
nandor-poka/sos
82d501259fcc73309d10404bd177923dc8d255d2
c2b37e73f6ea21eade126f53e2e9050df7336fca
refs/heads/master
2022-06-14T21:37:48.635347
2020-05-04T16:38:32
2020-05-04T16:38:32
263,924,015
1
0
BSD-3-Clause
2020-05-14T13:33:10
2020-05-14T13:33:09
null
UTF-8
Python
false
false
648
py
#!/usr/bin/env python3 # # Copyright (c) Bo Peng and the University of Texas MD Anderson Cancer Center # Distributed under the terms of the 3-clause BSD License. from sos.actions import SoS_Action, SoS_ExecuteScript @SoS_Action(acceptable_args=['script', 'args']) def ruby(script, args='', **kwargs): '''Execute s...
[ "ben.bog@gmail.com" ]
ben.bog@gmail.com
74f571f6287b6b7c10d86774945649ae7305aa81
8aa1203e1a1c350da16921787133014831097391
/luminardjangopgm/exceptionhandling/exception.py
d0c61cface34b375e4147323fe543ee99a98206e
[]
no_license
ashilz/luminarpython
98fa4a87c60529d0c819e13bc5145e6f7d4ef01f
9eb834448012bd60952cbc539409768cabd66325
refs/heads/master
2022-12-03T03:36:14.229723
2020-08-25T05:07:26
2020-08-25T05:07:26
290,109,486
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#exception keyword #try: # doubtful code #except: # handling code #finally: # cleanupcode num1=int(input("enter value for num1:")) num2=int(input("enter value for num2:")) lst=[1,2,3,4] try: res=num1/num2 #it is an abnormal code or casee which terminate the normal flow of the program print("result=",...
[ "ashilantony333@gmail.com" ]
ashilantony333@gmail.com
73b2a2a844863cc207bc0cc9c84bce007cae67ac
a132e730386191e36f8e982c05fa2067046eb8a5
/code/functional programming/do_sorted.py
4260584ea2954169994b647214756f47e200ad82
[]
no_license
jJayyyyyyy/python_learning
4448cb2accc0d29c1fb932030fb60a2871a01e32
b4e7ac16b1c1d3ce70fd2c63196c567e3a989ed7
refs/heads/master
2016-09-05T11:22:25.650854
2016-02-09T15:03:55
2016-02-09T15:03:55
40,947,416
1
0
null
null
null
null
UTF-8
Python
false
false
2,849
py
#sort 也是把方法作用在每一个元素身上 #sort a list print(sorted([1, 3, 0, -12])) #use key print(sorted([10, -5, 3, 7, -2], key=abs)) #string #use ASCII, 'A'=65, 'a'=97 print(sorted(['Bob', 'about', 'Zoo', 'Credit'])) print() print(ord('A')) print(chr(97)) #忽略大小写 print(sorted(['Bob', 'about', 'Zoo', 'Credit'], key=str.lower)) #反向排...
[ "ljjdbd123@hotmail.com" ]
ljjdbd123@hotmail.com
5d92a9598425848f997335b9869ee1a3b2e99e40
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/peering/v20200101preview/peering_service.py
e15f5c463426b84e53dfce23084e6a6d0220e75f
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,117
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
d641e0d22727645b43e0663be5a4e936d6cdfc63
5672737d1ff34bebfeb408426e52ed49df8be3bb
/graphgallery/functional/random.py
0405d22b82f2fbab4794f123ff9168224e25a144
[ "MIT" ]
permissive
sailfish009/GraphGallery
5063ee43340a6ca8da9f2d7fb3c44349e80321b2
4eec9c5136bda14809bd22584b26cc346cdb633b
refs/heads/master
2023-08-24T19:19:59.714411
2021-10-16T10:10:40
2021-10-16T10:10:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
import random import torch import numpy as np import graphgallery as gg __all__ = ["random_seed"] def random_seed(seed=None, backend=None): backend = gg.backend(backend) np.random.seed(seed) random.seed(seed) if backend == "torch": torch.manual_seed(seed) torch.cuda.manu...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
dab3d885255d0cc32494e81c3519519677819b8e
2581fbdc72887143376a8f9d8f0da0f1508b9cdf
/Flask/08-Social-Blog-Project/08-User-Blog-Posts-Template/puppycompanyblog/models.py
5d84554bade1fe6eed2714e87c5fc4e468746709
[ "Apache-2.0" ]
permissive
Sandy1811/python-for-all
6e8a554a336b6244af127c7bcd51d36018b047d9
fdb6878d93502773ba8da809c2de1b33c96fb9a0
refs/heads/master
2022-05-16T02:36:47.676560
2019-08-16T08:35:42
2019-08-16T08:35:42
198,479,841
1
0
Apache-2.0
2022-03-11T23:56:32
2019-07-23T17:39:38
Jupyter Notebook
UTF-8
Python
false
false
1,650
py
#models.py from puppycompanyblog import db,login_manager from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(user_id) class User(db.Model,UserMixin): _...
[ "sndp1811@gmail.com" ]
sndp1811@gmail.com
07b784e0c5406d46d4e6b960bbc64c8c63b861c3
aaad70e69d37f92c160c07e4ca03de80becf2c51
/filesystem/usr/lib/python3/dist-packages/urllib3/filepost.py
83d99a27d122f61bf2bd742ce7f404204824a669
[]
no_license
OSWatcher/ubuntu-server
9b4dcad9ced1bff52ec9cdb4f96d4bdba0ad3bb9
17cb333124c8d48cf47bb9cec1b4e1305626b17a
refs/heads/master
2023-02-10T18:39:43.682708
2020-12-26T01:02:54
2020-12-26T01:02:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
{ "MIME": "text/x-python", "inode_type": "REG", "magic_type": "Python script, ASCII text executable", "mode": "-rw-r--r--", "sha1": "f764006f2bbe09f80a2d54033dfc98ed97a978b9" }
[ "mathieu.tarral@protonmail.com" ]
mathieu.tarral@protonmail.com
56977e52acd9bedfe7df8b6015f3ca6159698a58
4a73648ecd3951b802e89e83a3bd9ef5b063af3d
/python_part/Leetcode/Array/Mid/74. Search a 2D Matrix/Solution.py
1b0448cab6f9865ce78b8e4062963ac257a1b4fe
[]
no_license
Allen-C-Guan/Leetcode-Answer
f5f9ee1348b86da914a564b7d23bf8904d5aa27f
f6e1374ef567590fee15ba6d1d6d65891233b5e1
refs/heads/master
2023-08-17T18:18:00.581743
2021-10-10T15:24:07
2021-10-10T15:24:07
257,017,331
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
''' 这个方法根本算不上高效的算法,复杂度为O(m+n) 如果使用两次二分来实现寻找,那么复杂度将是O(log m) + O(log n) = O(log(m+n)) ''' from typing import List class Solution: def searchMatrix(self, matrix: List[List[int]], target: int) -> bool: x_size = len(matrix) if not x_size: return False y_size = len(matrix[0]) ...
[ "54201792+Allen-C-Guan@users.noreply.github.com" ]
54201792+Allen-C-Guan@users.noreply.github.com
098123b246b8aea4b841ada08114bf0fcf03bf14
8537ecfe2a23cfee7c9f86e2318501f745078d67
/Practise_stuff/R/R_csv_check_columns.py
98de72b900c6f39afdd01e800bbec825d8163291
[]
no_license
oolsson/oo_eclipse
91d33501d9ed6c6b3c51bb22b635eb75da88e4e1
1828866bc4e1f67b279c5a037e4a6a4439ddb090
refs/heads/master
2021-01-01T20:17:12.644890
2015-11-30T09:49:41
2015-11-30T09:49:41
23,485,434
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
import os import pandas as pd import MySQLdb as mdb import pandas.io.sql as sql import numpy as np import datetime as dt from dateutil import parser #finction to loop through all csv files in a directory def dir_list(dir_name, sub_dir, *args): file_list = [] for file in os.listdir(dir_name): ...
[ "o.h.olsson@gmail.com" ]
o.h.olsson@gmail.com
a24398fec33eec14b5e51759597db540fb0a2978
d6d87140d929262b5228659f89a69571c8669ec1
/airbyte-connector-builder-server/connector_builder/generated/models/add_fields_all_of.py
fec6699e211d9666b29839cd454b9c38edd597c0
[ "MIT", "Elastic-2.0" ]
permissive
gasparakos/airbyte
b2bb2246ec6a10e1f86293da9d86c61fc4a4ac65
17c77fc819ef3732fb1b20fa4c1932be258f0ee9
refs/heads/master
2023-02-22T20:42:45.400851
2023-02-09T07:43:24
2023-02-09T07:43:24
303,604,219
0
0
MIT
2020-10-13T06:18:04
2020-10-13T06:06:17
null
UTF-8
Python
false
false
1,020
py
# coding: utf-8 from __future__ import annotations from datetime import date, datetime # noqa: F401 import re # noqa: F401 from typing import Any, Dict, List, Optional # noqa: F401 from pydantic import AnyUrl, BaseModel, EmailStr, Field, validator # noqa: F401 from connector_builder.generated.models.added_field_...
[ "noreply@github.com" ]
gasparakos.noreply@github.com
3a889f646f269cf9ea547b10cd356e774171fbde
8d9af25fb8878435de994c182a8d7fa6424a8122
/test/test_connection_.py
47b796ebea9e7b0c240ca3e61b8737ece7077fb9
[ "CC0-1.0", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
tableau/server-client-python
a0f015b3dffdba1f403120a446d2ac9ce29fdaca
307d8a20a30f32c1ce615cca7c6a78b9b9bff081
refs/heads/master
2023-08-30T04:39:34.860319
2023-04-24T20:08:23
2023-04-24T20:08:23
62,177,327
607
429
MIT
2023-09-12T03:48:49
2016-06-28T22:05:32
Python
UTF-8
Python
false
false
1,164
py
import unittest import tableauserverclient as TSC class DatasourceModelTests(unittest.TestCase): def test_require_boolean_query_tag_fails(self): conn = TSC.ConnectionItem() conn._connection_type = "postgres" with self.assertRaises(ValueError): conn.query_tagging = "no" def...
[ "noreply@github.com" ]
tableau.noreply@github.com
495b69bc3350e1232b34f7c6f6cb8bcf00c953e3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/131/usersdata/256/45662/submittedfiles/al10.py
de5549dc42eb595ec3427d75c12a9d9f9d44cf4a
[]
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
330
py
# -*- coding: utf-8 -*- #NÃO APAGUE A LINHA ACIMA. COMECE ABAIXO DESTA LINHA n=int(input('Digite o número:' )) i=o numerador=2 denominador=1 produto=1 while i <=(n-1): produto=produto*numerador/denominador if i%2==1: numerador=numerador=2 else: denominador=denominador=2 i=i+1 print(.5f*%...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
bd1b45f5ad903debefed629b094ad54049607225
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=0.65_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=67/sched.py
b50be3e9c8fbdeefc016de726763f189a13725d5
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
-S 0 -X RUN -Q 0 -L 3 94 300 -S 0 -X RUN -Q 0 -L 3 81 400 -S 0 -X RUN -Q 0 -L 3 79 250 -S 1 -X RUN -Q 1 -L 2 79 250 -S 1 -X RUN -Q 1 -L 2 75 400 -S 1 -X RUN -Q 1 -L 2 72 250 -S 3 -X RUN -Q 2 -L 1 52 400 -S 3 -X RUN -Q 2 -L 1 47 400 -S 3 -X RUN -Q 2 -L 1 47 200 -S 2 -X RUN -Q 3 -L 1...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
937d882d343ae5c035239102ce1fd21fc72a437c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/62/usersdata/191/32528/submittedfiles/ex1.py
db7bf23b3d0ef6fcf2fd8f85401bc2f78c907d11
[]
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
301
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') delta=(b**2)-(4*a*c) if delta>=0: x1=(-b+delta**(1/2))/(2*a) x2=(-b-delta**(1/2))/(2*a) print('x1 é %.2f'%x1) print('x2 é %.2f'%x2) else: print('SRR')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8b7f02142f289a80502c06b8da7a2331677d5234
cbddc6e0b05188f327dcf1c9fd01088f56d5a6f0
/scribblers/essentials.py
41fb476a2396e3c948abdb17daf21168a91a8c38
[]
no_license
alphatwirl/xi-roc-cafe
e4f2979208169dcb726d8206f47e32bf709a6c2e
d365bf230b2702ddb9c1392acac291b7d8b2d337
refs/heads/master
2021-07-09T19:42:38.643554
2017-10-08T09:41:19
2017-10-08T09:41:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# Tai Sakuma <tai.sakuma@cern.ch> import numpy as np ##__________________________________________________________________|| class FuncOnNumpyArrays(object): def __init__(self, src_arrays, out_name, func): self.src_arrays = src_arrays self.out_name = out_name self.func = func def __repr...
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
784c320f3bc9cd3a32e7a535c1096b9ef89b95bd
0b996b730116fe08d699e963b5d7266760c0dcc5
/django_app/c_sadicarnot/models.py
e608854bfbf27b5c39684936a06fc5cc2c39b4eb
[]
no_license
danielcruzmx/ciec_app
0fe1eb8538e9b65f110fd718b7bd2c04873fb51a
e4f9f5f75307510675e62641fdb20bd282e0b78f
refs/heads/master
2020-04-09T10:30:55.366734
2018-12-04T00:55:02
2018-12-04T00:55:02
160,273,443
0
0
null
null
null
null
UTF-8
Python
false
false
7,271
py
from django.db import models from main.models import Banco, Condominio, Proveedore, TipoDocumento, \ Situacion, TipoMovimiento, CuentaContable from django.db.models import Q from django.utils.safestring import mark_safe # Create your models here. class Estacionamiento(models.Model): ubicac...
[ "danielcruzmx@hotmail.com" ]
danielcruzmx@hotmail.com
4beaf675138ed0478dbd9c2eeb2bc5d49fedc012
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/transcoder/v1/transcoder_v1_client.py
b16bd5c35864880d6234d5d394f2a5ad40815187
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
11,430
py
"""Generated client library for transcoder version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from googlecloudsdk.third_party.apis.transcoder.v1 import transcoder_v1_messages as messages class TranscoderV1(...
[ "gcloud@google.com" ]
gcloud@google.com
c2938f1e3d2291ec4ba34a402e7cb23c8e1c1eaa
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-media/azure/mgmt/media/models/h264_video.py
49b5eed891df40b5dd70191f91214729dd4b17a7
[ "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
3,057
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
94a2c51a6e181bb00741b9d81dc3f1fcf71045ff
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03329/s505878202.py
6193232ec9de5ef5f1e396c6855e8cabe26849ef
[]
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
957
py
def getN(): return int(input()) def getNM(): return map(int, input().split()) def getList(): return list(map(int, input().split())) def getArray(intn): return [int(input()) for i in range(intn)] def input(): return sys.stdin.readline().rstrip() from collections import defaultdict, deque, Counter fr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
99ea602604e65b62cc6af2a051d0f8ca7c0554cd
ba9cb3bbc46faeea1edc01ef7e18131ae2dbf923
/problem-357.py
7b0f28ce9bda3de4f2f46fb1b90896b212e4fa4e
[]
no_license
beautytiger/project-euler
fb9908d35a82cd4b912a541282842adca03b17e2
a8de90a2e5b98660505169afd9c8c27b1b3af28e
refs/heads/master
2021-06-19T00:40:17.331130
2017-05-31T11:04:05
2017-05-31T11:04:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
#!/usr/bin/python # -*- coding: utf-8 -*- from tools.runningTime import runTime from tools.common import is_prime, prime_sieve @runTime def bruteForce(L=101): targets = [1, 2] primes = set([2, 3]) for n in xrange(4, L, 2): if is_prime(n+1): primes.add(n+1) for i in xrange...
[ "konmyn@163.com" ]
konmyn@163.com
161ea6f4bb5f8433882e7ef2aca43b92e230c09c
73cc17352d9d1f1e79761f7c9ae7eac5d12a698b
/backend/manage.py
9b34fb98046bb2fd2003c868d4438deaae5c44a8
[]
no_license
crowdbotics-apps/pyro-search-2644
e59e502396dd914c905ae51a767be8d9937ab3b5
4ef857369225f3a9e65f932b31e9af4517a1dfae
refs/heads/master
2022-12-17T21:42:39.134203
2019-04-24T16:47:41
2019-04-24T16:47:41
183,269,985
0
0
null
2022-12-06T15:59:24
2019-04-24T16:47:37
JavaScript
UTF-8
Python
false
false
814
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pyro_search_2644.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e6f8a239e5d2ba1c2cd550858f28d0d11101ed5f
f7c07caa1210d2a08e8433cdd854b1232efa88e3
/Strings/String-Methods/rstrip.py
5caeda603a57e3527657f73cba5c8762d2e5628f
[]
no_license
rchicoli/ispycode-python
c2fbecc28bf32933150986d24f77b7297f50b78e
fa27f2377943ac2e4d983065406578151091e3f5
refs/heads/master
2020-03-20T11:34:59.698618
2018-06-14T21:14:02
2018-06-14T21:14:02
137,407,150
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
str1 = 'mississippi' print(str1) str2 = str1.rstrip('ip') print(str2)
[ "rafaelchicoli@hotmail.com" ]
rafaelchicoli@hotmail.com
f04ff996ea1fd85dbc370f1400ca3c9a954b2dc5
1ade02a8e0c6d7e442c9d9041f15518d22da3923
/w8/PairMock/PairMock/seed.py
484e60e7e1dcc2edd26553882fb939fe1bd38fa9
[]
no_license
fodisi/ByteAcademy-Bootcamp
7980b80636a36db6da3e0fc0e529fbc6b8e097e0
d53e3f4864f6cba1b85e806c29b01c48e3c2e81d
refs/heads/master
2020-03-19T12:55:31.489638
2018-07-25T16:19:19
2018-07-25T16:19:19
136,550,128
0
1
null
null
null
null
UTF-8
Python
false
false
869
py
#!/usr/bin/env python3 import sqlite3 connection = sqlite3.connect('master.db',check_same_thread=False) cursor = connection.cursor() cursor.execute( """INSERT INTO products( name, price, path_name) VALUES( 'abaci', 100, 'abaci.jpg' );""" ) cursor.execut...
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
7b81bc025053700eab14b6af817f4bca06c2c367
60b244ce6735f7687a047c197be7301e31b1f280
/utils/dataset/joint_ctc_attention.py
8710c8be73d11c478ec6df87809fc5707ae37fb1
[ "MIT" ]
permissive
cyu0913/tensorflow_end2end_speech_recognition
4c6679001142a837b00a5796bc286e8c98654527
1a31fcf309de4c9bee19c1e4ce85d948fd66f5d4
refs/heads/master
2021-07-18T01:21:14.065276
2017-10-25T20:34:00
2017-10-25T20:34:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,032
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Base class for laoding dataset for the Jont CTC-Attention model. In this class, all data will be loaded at once. You can use the multi-GPU version. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
a892efdab33208f4e0ac6123c6bace4c0675542d
8156f7278a568531f808edfa3cb9cc64090eba17
/JDbook/demo.py
d80b3883fa65b6b33cff0745d595e6cb63f31ef5
[]
no_license
DeSireFire/My_Spyder_Pool
8ef3cfad7911e9e66e0993fb3fa73d10d75e4a7d
ead5d90fd8d532c3f96fb02ac8a1aa15697d8196
refs/heads/master
2023-04-06T00:41:12.706009
2021-04-29T13:20:59
2021-04-29T13:20:59
109,140,291
3
0
null
null
null
null
UTF-8
Python
false
false
874
py
import requests,json import execjs # URL = "https://www.jd.com/brand/1713d78182f3e112c2fe.html" URL = "https://item.jd.com/39969536201.html" # URL = "https://c0.3.cn/stock?skuId=39969536201&cat=1713,3259,3333&venderId=791615&area=1_72_4137_0&buyNum=1&choseSuitSkuIds=&extraParam={%22originid%22:%221%22}&ch=1&fqsp=0&pdui...
[ "1025212779@qq.com" ]
1025212779@qq.com
02fc2c75b4eeb293293bd9603c1c71bd9e7b68ce
29dcd6c3475acde11bfc8dd7b6826ffddb40e1ab
/week4Python/Week4/automobileServiceInvoice.py
b5a7f1619b831d0af57b3fb3105ed158e91b4480
[]
no_license
quangdbui9999/CS-171
24ca7f7f27847c7b729d74b2c85abc0464cd8c1a
963b2e83e6939703ca2b7617941e5fc04d374570
refs/heads/master
2022-09-18T13:11:38.619101
2020-06-07T22:51:51
2020-06-07T22:51:51
270,453,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,173
py
# Type your code here import sys def getKeyList(myDictionany): return list(myDictionany.keys()) def output_services(): print('Davy\'s auto shop services') print('Oil change -- $35') print('Tire rotation -- $19') print('Car wash -- $7') print('Car wax -- $12\n') car_services = { 'oil c...
[ "noreply@github.com" ]
quangdbui9999.noreply@github.com
c207b50467df00b570a8f0ee7f5b59d041097fde
a9fe1b5c320cdef138ac4a942a8b741c7f27de7c
/LC1658-Minimum-Operations_to_reduce_X_to_zero.py
85ddaf5eb14fb7d74df5a45d738be88cd156e5a6
[]
no_license
kate-melnykova/LeetCode-solutions
a6bbb5845310ce082770bcb92ef6f6877962a8ee
ee8237b66975fb5584a3d68b311e762c0462c8aa
refs/heads/master
2023-06-28T06:35:33.342025
2021-07-30T06:59:31
2021-07-30T06:59:31
325,106,033
2
1
null
null
null
null
UTF-8
Python
false
false
3,104
py
""" You are given an integer array nums and an integer x. In one operation, you can either remove the leftmost or the rightmost element from the array nums and subtract its value from x. Note that this modifies the array for future operations. Return the minimum number of operations to reduce x to exactly 0 if it's po...
[ "forkatemelnikova@gmail.com" ]
forkatemelnikova@gmail.com
e1c484d1b5c953c3613ca63560edba97a668797d
64b5d82b8cfbe2a398dcdb9ff11055e8114f8c89
/Day 25 count more than nk occurances.py
d219f9db2f87781350e8e73b8c4fded75932434a
[]
no_license
AprajitaChhawi/365DaysOfCode.MAY
621dd025dbf402cd7756edad7b366dae44db239e
83ec2ea250d68a43fae25740ab730a060e7ef002
refs/heads/main
2023-05-11T21:52:28.702351
2021-05-31T18:07:37
2021-05-31T18:07:37
366,489,321
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
#User function Template for python3 class Solution: #Function to find all elements in array that appear more than n/k times. def countOccurence(self,arr,n,k): d={} for i in arr: if i in d: d[i]=d[i]+1 else: d[i]=1 count=0 ...
[ "achhawip@gmail.com" ]
achhawip@gmail.com
e262c2d9fbe7d5088664dfa8109a19671181b78d
f6dfd2373ba1d23ea71a7fd8447e16d797d34138
/course/64.py
b4d86381a80688ef55bb857bbc537e525c07092a
[]
no_license
hwngenius/leetcode
284e65dc1727446a95a1c18edd6ef994692430ba
52f7974f986bfb3802defd214dea5b0f9b280193
refs/heads/master
2023-02-12T02:23:38.003197
2021-01-07T13:55:42
2021-01-07T13:55:42
266,340,286
2
0
null
null
null
null
UTF-8
Python
false
false
515
py
class Solution: def minPathSum(self, grid: List[List[int]]) -> int: row=len(grid) col=len(grid[0]) dp=[[0 for _ in range(col)] for _ in range(row)] dp[0][0]=grid[0][0] for i in range(1,col): dp[0][i]=grid[0][i]+dp[0][i-1] for i in range(1,row): ...
[ "1158213354@qq.com" ]
1158213354@qq.com
33a7891b1822db6fed635043a0938c7b29cde98c
1bed2f766620acf085ed2d7fd3e354a3482b8960
/tests/components/deconz/test_logbook.py
9ba0799d04eefcf13854979f5a4cfc3994a9df5d
[ "Apache-2.0" ]
permissive
elupus/home-assistant
5cbb79a2f25a2938a69f3988534486c269b77643
564150169bfc69efdfeda25a99d803441f3a4b10
refs/heads/dev
2023-08-28T16:36:04.304864
2022-09-16T06:35:12
2022-09-16T06:35:12
114,460,522
2
2
Apache-2.0
2023-02-22T06:14:54
2017-12-16T12:50:55
Python
UTF-8
Python
false
false
7,955
py
"""The tests for deCONZ logbook.""" from unittest.mock import patch from homeassistant.components.deconz.const import CONF_GESTURE, DOMAIN as DECONZ_DOMAIN from homeassistant.components.deconz.deconz_event import ( CONF_DECONZ_ALARM_EVENT, CONF_DECONZ_EVENT, ) from homeassistant.const import ( CONF_CODE, ...
[ "noreply@github.com" ]
elupus.noreply@github.com
d9a505e7bf17fc43211d3a6508741a773220c3c7
2a82f2882e851873ab4133e360d5f0ffe7489ff5
/utility.py
87d5a3c4a06d95b50d07f79657f180ee346a6513
[]
no_license
CMUCMS/dcmutools
b798742f92cef8852bd75ea83f77c5d0ba3d5076
59da4dcd6232c91ebfc7a724911888ebba46a698
refs/heads/master
2021-01-10T19:41:32.434994
2014-10-23T11:49:53
2014-10-23T11:49:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
import sys import re import traceback # LIST OF DISKS disks = [] mountMap = {} mounts = open('/proc/mounts') for mount in mounts: matches = re.match('(/dev/sd[b-z][0-9]+) ([^ ]+)', mount) if not matches: continue disks.append(matches.group(2)) mountMap[matches.group(2)] = matches.group(1) mounts.clos...
[ "yutaro.iiyama@cern.ch" ]
yutaro.iiyama@cern.ch
7622f77d0c14566bda3d835f8548e2e52569c6ed
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/f0e7af93fa4ac45b3dd99e6c1d2f293cef7ccfa7-<deconvolve>-bug.py
fb657d7d29e0c0f25856c3836be06303d2446ef8
[]
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,579
py
def deconvolve(signal, divisor): "Deconvolves ``divisor`` out of ``signal`` using inverse filtering.\n\n Returns the quotient and remainder such that\n ``signal = convolve(divisor, quotient) + remainder``\n\n Parameters\n ----------\n signal : array_like\n Signal data, typically a recorded sig...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
e96ff98fa49ad43ad24d488f3ccb29edb05ca674
b895065e8aa59142f7f87322c37252b073864f75
/backend/new_app_21664/urls.py
99cc8cfd2a4bb7c733f724811145db72f29e7bb1
[]
no_license
crowdbotics-apps/new-app-21664
cec18482812cef4a659662ee77c8b5156e9d89a4
c6c72425b85746850b01303119293b0e9679584d
refs/heads/master
2022-12-28T21:36:55.772304
2020-10-18T08:37:44
2020-10-18T08:37:44
305,057,012
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
"""new_app_21664 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b878aff309231baaff441a74955210ab431684b8
dfab6798ece135946aebb08f93f162c37dd51791
/core/luban/weaver/web/libraries/jquery1_6_2_debug.py
91dfba52b7de77faf7899a9a0e345645b895bba8
[]
no_license
yxqd/luban
405f5f7dcf09015d214079fe7e23d644332be069
00f699d15c572c8bf160516d582fa37f84ac2023
refs/heads/master
2020-03-20T23:08:45.153471
2012-05-18T14:52:43
2012-05-18T14:52:43
137,831,650
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
fce5e195512adaa5679d01f7db7a50622ee8ad37
d97aa1268fda2062a11947ea0f6789d3d3f57988
/StartPython.py
503b8e9c0505c2d10fb363cfac2da05e102207f1
[]
no_license
frclasso/python_examples_one
57853aa51bfeb5aa8ea19bf604a3db682060e0c3
672033a8cd4b469b657b073d5c79b9dd7255c074
refs/heads/master
2020-12-30T22:57:01.155802
2017-02-01T16:08:05
2017-02-01T16:08:05
80,635,232
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
#!/usr/bin/python print("Hello, world!") print("My name is Bill")
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
b83f4ff275fb8061236ef4780717c16dc78988de
ce4f1810b8011f05f4e9f8b67959b6a2994ac821
/GAVOCoverage/temp-python/lib/python2.7/site-packages/setuptools/wheel.py
9e11f6b38b40f46cc4a5b3628c94b834b5ec9795
[]
no_license
Hyradus/VO_QGIS3.x_plugin
b11d3b18e473861b6d0733c3783c40af6e8eb039
9ab9acb4756c415797b5a7e64389978a84a32c23
refs/heads/master
2022-04-14T00:25:12.283460
2020-04-02T17:18:50
2020-04-02T17:18:50
248,215,617
0
0
null
null
null
null
UTF-8
Python
false
false
7,371
py
'''Wheels support.''' from builtins import next from builtins import filter from builtins import str from builtins import map from builtins import object from distutils.util import get_platform import email import itertools import os import re import zipfile from pkg_resources import Distribution, PathMetadata, parse...
[ "giacomo.nodjoumi@hyranet.info" ]
giacomo.nodjoumi@hyranet.info
ff27b90ba1ed45c4eec8e57150f0330bd87f4300
d4165ac05dad93a6a7a496d4eb1fd95b58ecba92
/tests/crawler_test.py
13a155a3dcb1f899f5feb521e2283ff5ba593951
[]
no_license
nix010/aliexpress_crawler
b0bb3cdfb610e474e2f1395663a165029888d560
ae301c8abde7ccc5c983b4a84e4b419baecd916e
refs/heads/master
2022-12-09T22:51:08.631274
2018-05-22T05:21:26
2018-05-22T05:21:26
133,409,984
0
0
null
2022-12-08T00:58:49
2018-05-14T19:15:44
CSS
UTF-8
Python
false
false
5,501
py
import requests s = requests.Session() # cookie = parse_cookie_str('ali_apache_id=11.227.118.141.1526012022212.196322.1; cna=BZhfEugJQwYCAbdQdies5exT; _ga=GA1.2.1603360291.1526012031; _uab_collina=152612787798485772062051; _gid=GA1.2.2062811205.1526236165; __utma=3375712.1603360291.1526012031.1526236353.1526236353.1;...
[ "khiem3t@gmail.com" ]
khiem3t@gmail.com
03d093e633fcd33ccc83cf5e41fc77f6f7698d12
954b0cfe952abc61a12408395fdb661f87cd95de
/scripts/mk_project
7cb2388d2ec6f5c4db9322f5681c80f4ba5765d3
[ "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
shepherdmeng/smrf
1abd5fcec7f8a153041da1cb950ec6146ba0ac60
c7ac19b14f752871de72403791d49936c3e9d751
refs/heads/master
2020-04-09T08:02:32.940367
2018-11-28T20:14:38
2018-11-28T20:14:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,464
#!/usr/bin/env python import smrf from smrf.utils import io from smrf.utils.utils import getgitinfo from datetime import date import os import sys import shutil def create_project(summary): if summary['overwrite']: print('\tRemoving existing project...') shutil.rmtree(summary['path']) ...
[ "micah.johnson150@gmail.com" ]
micah.johnson150@gmail.com
7bb1ab0766f1621622f63664ab4416b60368444a
b33786e8a52387daaa6da03b777926c7d5bc71de
/day06/GUI.py
cea5acc7156b48cae3268076a5376924a218e353
[]
no_license
threebodyyouzi/python_exercise
014a7b041eace54206a94bea0806ba853ba382e9
baaef563abbe66cba7a2c065daaabc4c455d565d
refs/heads/master
2020-04-06T08:26:57.481146
2018-11-17T09:47:04
2018-11-17T09:47:04
157,305,009
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
import tkinter from functools import partial root = tkinter.Tk() lb=tkinter.Label(text="Hello World") b1=tkinter.Button(root,fg="white",bg="blue",text="Button 1") Mybutton=partial(tkinter.Button,root,fg="white",bg="blue") b2=Mybutton(text="Button 2") b3=Mybutton(text="quit",command=quit) for item in [lb,b1,b2,b3]: ...
[ "root@room9pc01.tedu.cn" ]
root@room9pc01.tedu.cn
952ae8ee6235b1e478a57fa90e7fa418eaaf882c
e3c9ecd0b65b0fddd6777c6027c45c5cb21a5ad4
/getdbpediaknowledge.py
1d281b29e24f494b9e7941a7993acdbc9e20b56d
[]
no_license
WOW5678/KG
74ea873cb91caca366b3e76f22007383984ed9bd
673aba55cd36c96d17aade819bab448edead7949
refs/heads/master
2021-07-12T01:00:24.819180
2020-06-10T06:07:21
2020-06-10T06:07:21
142,950,695
1
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
# -*- coding:utf-8 -*- """ @Time: 2019/08/14 14:18 @Author: Shanshan Wang @Version: Python 3.7 @Function: """ from urllib.parse import quote import urllib import urllib.request import json import numpy as np #第一个例子 #输入实体指称项名称,返回对应实体(entity)的列表,json格式 input_entity=quote('葡萄') input_url='http://shuyantec...
[ "noreply@github.com" ]
WOW5678.noreply@github.com
7175b4482a788f43331cda5d0c1f858bf4084c63
782258d2a208d31dfeeb8b08c576c64d53da1110
/HouseCrawler/HouseCrawler/Pipelines/Pipelines.py
5f1cf1fec2eea93fe6ec1e1a180b1f024dd9374d
[]
no_license
ZizeonLau/zhaoqing
19aff5fbea7f0c468d13185a7bfa638c063fc8e9
cfde8651bbcdb91b28445430b4afe25b52cf3cd6
refs/heads/master
2021-04-12T02:49:03.339257
2018-03-18T15:36:34
2018-03-18T15:36:34
125,737,789
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# coding = utf-8 import sys import os import logging import uuid import datetime logger = logging.getLogger(__name__) class Pipeline(object): def __init__(self, settings): self.settings = settings @classmethod def from_crawler(cls, crawler): return cls(crawler.settings) def check_i...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
4fa464240c5b0c30e50d1659d864304403cfb754
5a6eb5e23b79d6be90a3aa75b267c3e9c3fc1ee8
/web_google_maps/web_google_maps_drawing/models/res_config_settings.py
f6eaca82854ec8e15701b3a2182ea1cf65893555
[]
no_license
ananthukrishna/villesale
1cbae4e69b64fe20695aedbf0d27300208aa29f0
a0e80404bfb41fd2b0b0289f1e372651077f861f
refs/heads/main
2023-05-09T17:13:49.836347
2021-06-16T09:46:29
2021-06-16T09:46:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
# -*- coding: utf-8 -*- from odoo import api, models, fields class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' google_maps_drawing = fields.Boolean(string='Drawing') def set_values(self): super(ResConfigSettings, self).set_values() ICPSudo = self.env['ir.c...
[ "macbook@MacBook-Pro-de-MacBook.local" ]
macbook@MacBook-Pro-de-MacBook.local
0bcd0759113a90aadfed7ceb2862d61ace440c4a
364e81cb0c01136ac179ff42e33b2449c491b7e5
/spell/branches/1.5/server/core/messages/msghelper.py
6e1b92457fbc1918affdb86fe05e1dc542c30905
[]
no_license
unnch/spell-sat
2b06d9ed62b002e02d219bd0784f0a6477e365b4
fb11a6800316b93e22ee8c777fe4733032004a4a
refs/heads/master
2021-01-23T11:49:25.452995
2014-10-14T13:04:18
2014-10-14T13:04:18
42,499,379
0
0
null
null
null
null
UTF-8
Python
false
false
4,379
py
############################################################################### """ PACKAGE server.core.messages.msghelper FILE msghelper.py DESCRIPTION Helper for building messages PROJECT: SPELL Copyright (C) 2008, 2010 SES ENGINEERING, Luxembourg S.A.R.L. This file is part...
[ "rafael.chinchilla@gmail.com" ]
rafael.chinchilla@gmail.com
80ab174cdda460fd6e2ba5fcbbc0d3acd7377347
59b2542239df569db7cdcd4f293b0ab08acbf828
/tests/test_main.py
0d5a9f0a4fe778f396896037b6d497e3bbe1a06e
[]
no_license
trololotus/hd-signup
da5b308067ae3d8b3fc01de24e0001ac7fdc9293
cabfb6b246aaf57c5088e48d8870440e6b46d859
refs/heads/master
2021-01-17T22:36:18.998281
2015-12-20T19:19:38
2015-12-20T19:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,149
py
""" Tests for main.py. """ # We need our external modules. import appengine_config import hashlib import json import re import unittest import urllib import webtest from google.appengine.api import memcache from google.appengine.ext import db from google.appengine.ext import testbed from config import Config from...
[ "djpetti@gmail.com" ]
djpetti@gmail.com
f5934701f4a760fa4cb7329dc123aef460e380ef
cafca1a0da9e90fb6fd54372e7247f2e9514b2ae
/beta/app/admin.py
29c520529f9c1d7fcd970752a7ef90ed5f3125a3
[ "MIT" ]
permissive
SothanaV/visionmarker
a9eb491b26d93123d3cfb7b540bb2e6f13152a93
f79ecb3983b6c1eab148229f947e30dd46d52c12
refs/heads/master
2020-04-05T07:43:50.955890
2020-01-15T15:49:31
2020-01-15T15:49:31
156,686,493
0
0
MIT
2018-11-08T10:01:35
2018-11-08T10:01:35
null
UTF-8
Python
false
false
1,034
py
from django.contrib import admin from models import MyUser, Batch, Image, Label, Comment class MyUserAdmin(admin.ModelAdmin): list_display=('user','isreviewer') list_filter=('isreviewer',) list_editable =('isreviewer',) class BatchAdmin(admin.ModelAdmin): list_display=('id','status','reviewer', 'labeller','num_re...
[ "wasit7@gmail.com" ]
wasit7@gmail.com
44594bd59a08e5f0ad7d801022c8d420db0cda37
2f391b50e121b32988d9d9d9b892ca0b32dec23a
/src/sarvam/eda/meta_features/text.py
18b36f092de88809c44f051218a9823bd2adb39c
[]
no_license
dhiraa/sarvam
0b86d8fa9266167a569511cc6324174c1d8e656d
76f6e1dbadec1a4ae56af4367128f75619508cce
refs/heads/master
2021-09-10T20:05:42.151238
2018-04-01T08:12:50
2018-04-01T08:12:50
111,003,187
1
2
null
null
null
null
UTF-8
Python
false
false
5,905
py
import numpy as np import pandas as pd from sklearn.feature_extraction.text import CountVectorizer import nltk import string from nltk.corpus import stopwords def num_words(text): text_splited = str(text).split(' ') return len(text_splited) def mean_word_len(text): return np.mean([len(w) for w in str(t...
[ "mageswaran1989@gmail.com" ]
mageswaran1989@gmail.com
2833d5f69e4a197bd02a752bd45876867fcb02f7
98d9305b1717642bcfb842eecd84d63b6eeaf759
/Integer_Programs/Interger Favorite Number.py
9834577bd6926fb10bb0321215780a85cbd7e882
[]
no_license
er-aditi/Learning-Python
5ceb020f4df8db9e34df78edfaecca3e1854c8a9
297eda435ee2e1cee643f94ea4c5de6a82e3c8a7
refs/heads/master
2020-03-24T17:22:22.129081
2019-06-19T05:47:26
2019-06-19T05:47:26
142,856,993
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
number = 18 message = " is my Favorite Number. So, I would like to use " print(str(number) + message + str(number))
[ "you@example.com" ]
you@example.com
f5d68ba887874496589d8880035516b40827e70c
d42e75edb5a9e42e8f32510eb3f86e28b6568a2a
/010/12865/12865_선민기.py
048f5fa81bf6c936f7898f167310897dd2f6ea63
[]
no_license
wasuphj/algorithm_study
86ad452bf098b1e1605ebc5e8197176a69726565
780ec32ec193571e05558a714cc0779e2202c732
refs/heads/main
2023-08-25T14:42:10.163787
2021-10-16T04:15:54
2021-10-16T04:15:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
#https://www.acmicpc.net/problem/12865 import sys if __name__ == '__main__': n_equipments, capability = tuple(map(int, sys.stdin.readline().split())) costs = [-1 for _ in range(capability+1)] #현재 물건을 담거나 담지않았을 때 비용 계산 costs[0] = 0 #아무 것도 안 넣었을 때 무게와 가치는 0 for _ in range(n_equipments): pr...
[ "suns1502@gmail.com" ]
suns1502@gmail.com