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
9b042c0586e0b128824feef26df90392e7ca8851
a99a44aee5cfc5e080f6d83d2bcc1c3d273a3426
/htdocs/mec/sites.py
5fb256df68e5dfa26e29ee942da2e9d32a22e2e6
[ "MIT" ]
permissive
ragesah/iem
1513929c8bc7f254048271d61b4c4cf27a5731d7
8ed970d426bddeaa3e7ded593665d22f0f9f6e87
refs/heads/main
2023-08-20T20:01:15.480833
2021-10-12T15:44:52
2021-10-12T15:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
"""geojson""" import json from pyiem.util import get_dbconn def application(_environ, start_response): """GO Main""" dbconn = get_dbconn("mec") cursor = dbconn.cursor() headers = [("Content-type", "application/vnd.geo+json")] start_response("200 OK", headers) data = { "type": "Feature...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
065d78c3dd98ef2c7116f67d865d2e6651c0b3ad
0b358a0d64eb03655c030b36c0ae87880b153951
/projects/configs/_base_/models/mask_rcnn_r50_fpn.py
19b9c3d29c7af8ac828c25a1b388248aa23a2d77
[]
permissive
jshilong/DDQ
db05ff309d63316c62faa59b28c66d65eef973d1
de9331e4579aaafab4d69e3a9a3c6638efc5392c
refs/heads/main
2023-06-03T15:02:09.949907
2023-05-24T03:32:12
2023-05-24T03:32:12
498,974,099
199
6
Apache-2.0
2022-06-02T05:01:53
2022-06-02T03:10:25
null
UTF-8
Python
false
false
5,776
py
# model settings model = dict( type='MaskRCNN', backbone=dict(type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True...
[ "2392587229zsl@gmail.com" ]
2392587229zsl@gmail.com
baa8ae2259c99af3dc168ff2b504ac3b4c1bc34e
01fa2aca31eb73a559d192fd29e44350f26a13a9
/HAX/18.CocoJoe/script.module.scrubsv2/lib/resources/lib/sources/en/hdmto.py
87b05549e4e5d46eb1cce14c52d51b4106ae0be5
[]
no_license
RandomIntermition/k4y108837s
b4beedeff375645bd4fa9ad348631a9a9f3640b6
e9115aad49795dfe30a96c278cedaf089abcc11d
refs/heads/master
2022-05-01T18:45:57.298903
2022-03-30T03:41:08
2022-03-30T03:41:08
109,356,425
1
0
null
2019-11-08T02:20:47
2017-11-03T05:36:48
Python
UTF-8
Python
false
false
1,753
py
# -*- coding: UTF-8 -*- # -Cleaned and Checked on 10-16-2019 by JewBMX in Scrubs. import re from resources.lib.modules import client from resources.lib.modules import cleantitle from resources.lib.modules import source_utils class source: def __init__(self): self.priority = 1 self.language = ['en...
[ "github+github@github.github" ]
github+github@github.github
ff4c44c8a04353508edbf0189c55b5e2a26443a0
6351221d588668804e2df01936732eede4d96ed0
/剑指offer/15.二进制中1的个数.py
ab22de855a9a3a73215f2c50bc7fb84d8062eab3
[]
no_license
LogicJake/code-for-interview
8e4ec9e24ec661a443ad42aa2496d78a1fbc8a3f
5990b09866696c2f3e845047c755fa72553dd421
refs/heads/master
2021-09-20T20:19:17.118333
2021-09-14T13:46:30
2021-09-14T13:46:30
102,202,212
3
2
null
null
null
null
UTF-8
Python
false
false
162
py
class Solution: def hammingWeight(self, n: int) -> int: ans = 0 while n: ans += n and 1 n = n >> 1 return ans
[ "835410808@qq.com" ]
835410808@qq.com
09b24e4e81752daf8e4485a8930277834460e32d
0bbfb3d90e83f36f1903c5795d089e893997c911
/2_num_lin_alg/timing_test.py
f794a9e85f4252f5465272791bd6dac13999915f
[]
no_license
chr1shr/am205_examples
bc7908354eb58c6e6fb0e6c282ef1b186d68ae7f
76bb0c0050811b022c0b475f97f7601f4caad103
refs/heads/master
2022-08-22T20:35:55.712565
2022-07-28T22:36:08
2022-07-28T22:36:08
147,609,096
71
26
null
null
null
null
UTF-8
Python
false
false
717
py
#!/usr/bin/python from time import time,process_time import numpy as np import scipy.linalg # Get the current time(), a measure of "wall-clock time", the physical passage of # time as you would observe by looking at a wall clock t0=time() # Get the current process_time(), a measure of the time that this program has a...
[ "chr@seas.harvard.edu" ]
chr@seas.harvard.edu
3c64a968200275722a029d1d5302b4900b9b6b7f
9ebbbcf2e7a887c1863bdcb4a444bf7438660e22
/yrrgpbqr/p0538/__init__.py
49f12924cb6494e34ff770222c191da16681a765
[]
no_license
nazarov-yuriy/contests
a0a070bd55b0b20dd03cf96e50eb06aa9558525e
8f7527adee017f986089a4586947bdfa68a1b93c
refs/heads/master
2021-06-18T07:34:14.967575
2021-04-04T14:07:45
2021-04-04T14:07:45
46,584,643
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
import unittest from typing import List class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def convertBST(self, root: TreeNode) -> TreeNode: nodes_sum = 0 def walk(node): non...
[ "nazarov.yuriy.pavlovich@gmail.com" ]
nazarov.yuriy.pavlovich@gmail.com
eb901cd97d0da49b53218495286ce9007ffaa80c
eed3d7d9dcf5804d602a1acb32d535e2f49d3324
/2018-08-07_Verify-Preorder-Serialisation-BST/solution.py
5f82e2eb5494afa694a2e4d6e158fc93991d5fe9
[]
no_license
ansonmiu0214/algorithms
e928b8a932ca3050a3c6fd5d07fae6df3fd7c5c4
f35efb3536186dcd672c9aa91856d8d9213b1b82
refs/heads/master
2020-03-21T05:18:12.768425
2019-03-24T12:30:24
2019-03-24T12:30:24
138,154,059
1
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
#!/bin/python3 def isValidSerialisation(preorder): nodes = preorder.split(',') end = len(nodes) # invoke recursive validator on nodes in list form nextIndex, isValid = isValidPreorder(nodes, 0, end) # nextIndex should equal end because should have processed all nodes return isValid and nextIndex == end ...
[ "ansonmiu0214@gmail.com" ]
ansonmiu0214@gmail.com
e4ac76720ebe01de4e427b3f1eccbc908f36205e
aac418419c2ef4d10c5c4ceb607d3d8329a5f395
/Assignment/Assignment-3/8.py
797baf7485b9be0d72c5107bc0fbac6974a2795e
[]
no_license
sudhirshahu51/projects
bb13395227355ff84933b6d3a0f158ee42bcdceb
b2d8331d14d2163b20535368a60c81f6c8bc2c8f
refs/heads/master
2021-01-01T17:09:18.654060
2017-04-24T10:46:15
2017-04-24T10:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# To merge two sorted arrays def merge(a, b): assert isinstance(a, list), 'The entered sample are not array' assert isinstance(b, list), 'The entered sample are not array' p = 0 r = 0 q = len(a) s = len(b) final = [] while p < q and r < s: if a[p] < b[r]: f...
[ "deveshaggrawal19@gmail.com" ]
deveshaggrawal19@gmail.com
b5ede9694243714ec045167614182f067c2269f1
b08b373d78fb42dbb11aebeadf71168dc6476696
/oops/inheritance_error.py
623cb53a40991ee4ee01901869bdc0ef237ec941
[]
no_license
lajapathy/python-practice
40a44a026546d1f3414452a99a68487a14df3c02
869a59cad89077327bb8117c34801af985a63e0d
refs/heads/master
2022-02-25T14:59:52.155959
2019-09-24T07:16:58
2019-09-24T07:16:58
121,089,806
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
class First(object): def __init__(self): print "first" class Second(First): def __init__(self): print "second" class Third(First, Second): def __init__(self): print "third"
[ "lamadhus@cisco.com" ]
lamadhus@cisco.com
80cd27fa40ad8852e2fd0ef67a1d91c3ce4335e7
6e49e2237979ba8b38f8384501878cd8488e6601
/celery/task/http.py
04fd6dd26adce8141a5f30439bd7245170d99525
[ "BSD-3-Clause" ]
permissive
fberger/celery
a39ba061781c9861a89fa2d669e001e478e5e226
6715848bfd470ded836c2b54b5c135b2b14c05c5
refs/heads/master
2021-01-17T23:28:28.007753
2010-03-07T00:09:46
2010-03-07T00:09:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
import urllib2 from urllib import urlencode from urlparse import urlparse from anyjson import deserialize from celery import __version__ as celery_version from celery.task.base import Task as BaseTask from celery.utils.compat import parse_qsl GET_METHODS = frozenset(["GET", "HEAD"]) class InvalidResponseError(Exce...
[ "askh@opera.com" ]
askh@opera.com
da688fd7881f84e9d9c94d25c84e76cc4e50a849
d9b41609de019c5d01ee12f4be77910d4ea0c1aa
/neurodsp/tests/test_utils_norm.py
8aaf3bc2160f0edcf5e62eb7d770ab9119912b85
[ "Apache-2.0" ]
permissive
josepfont65/neurodsp
ec2dcefd605baab62ee42f0589671467b0b331c9
a7c5b72665eed6368e29bf4f15443a28a2e18732
refs/heads/master
2020-12-04T14:53:10.230006
2019-12-19T18:10:18
2019-12-19T18:10:18
231,808,080
1
0
Apache-2.0
2020-01-04T18:15:34
2020-01-04T18:15:33
null
UTF-8
Python
false
false
1,191
py
"""Tests for normalization related utility functions.""" import numpy as np from neurodsp.utils.norm import * ################################################################################################### ################################################################################################### def te...
[ "tdonoghue@ucsd.edu" ]
tdonoghue@ucsd.edu
d65a0e620c6382de5acbb274795e5621fc44cc67
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/sklearn/neighbors/graph.py
a4c6c2e604a7b57857127265e3b48e71178f9d54
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:8b5edb218dcc6c9366f06d1182f3aa9d43d088927e22cd7cccfcf0bb731e4848 size 7100
[ "Nqk180998!" ]
Nqk180998!
06551c54a07213798d5f6d570fdae8397cf8e611
2c32cf726e111b8625265c458feeaea436652e83
/BST/valiidate_bst_iteration.py
3b78f3abdd5222c1274ae37b2243a60be1f7a07d
[]
no_license
minhthe/practice-algorithms-and-data-structures
6fa3bf98e8e2fe98f4e32419fb797b1df4400364
488a82dd3a0c797859a6c9e1195d6d579d676073
refs/heads/master
2021-05-16T23:01:20.026475
2020-09-23T04:17:13
2020-09-23T04:17:13
250,505,610
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
'''https://leetcode.com/problems/validate-binary-search-tree''' class Solution: def isValidBST(self, root: TreeNode) -> bool: pre = float('-inf') stk = [] while stk or root: if root: stk.append(root) root = root.left else: cur = stk.pop() if cur.val <= pre: return False pre = cur.val...
[ "minhthe.007@gmail.com" ]
minhthe.007@gmail.com
6045439b0a32a6cf794ba34683ebc00087f7de8b
385e7840c0cb8fce2ea7621d99d075ba4c0bc495
/src/telegram_broker/odoo_secure_broker.py
2877c0b9ffe92c8750fd2d873bf09c37b00ebe1d
[ "BSD-3-Clause" ]
permissive
tegin/telegram-broker
0dec1ee3b2c2702b85466f7557d2236cfb9d5dfe
1258c6cc770b84c29989cb2f31521593d7c07fe4
refs/heads/master
2022-11-27T05:19:48.878258
2020-07-27T08:50:52
2020-07-27T08:50:52
281,997,458
1
0
null
null
null
null
UTF-8
Python
false
false
2,756
py
import logging import traceback from io import StringIO from telegram.ext.commandhandler import CommandHandler from telegram.ext.filters import Filters from .odoo_broker import OdooBroker _logger = logging.getLogger(__name__) class OdooSecureBroker(OdooBroker): def __init__(self, config_path=False, **kwargs): ...
[ "etobella@creublanca.es" ]
etobella@creublanca.es
7c32b0f5eded4d3c4f2783225fd6ea41f2adf622
673bf701a310f92f2de80b687600cfbe24612259
/misoclib/mem/litesata/core/transport/__init__.py
b8015b81ae76978cc2644b552d136b77a5c3e382
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mogorman/misoc
d78340a9bf67feaede20e8cac473bcfddbd186a3
4ec49e2aadcff0c3ca34ebd0d35013d88f4d3e1f
refs/heads/master
2021-01-18T05:38:39.670977
2015-03-10T05:37:52
2015-03-10T05:37:52
30,672,191
1
0
null
2015-02-11T22:05:05
2015-02-11T22:05:05
null
UTF-8
Python
false
false
6,405
py
from misoclib.mem.litesata.common import * def _get_item(obj, name, width): if "_lsb" in name: item = getattr(obj, name.replace("_lsb", ""))[:width] elif "_msb" in name: item = getattr(obj, name.replace("_msb", ""))[width:2*width] else: item = getattr(obj, name) return item def _encode_cmd(obj, description,...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
4b4e99851fd81783828deb597793081f4590ca31
dfa73d988deac703a9e9b6f557bb0b5bb4091ce8
/src/handlers/nationals/eighteen/events.py
2105de56bbb4c561c49ce65e60c177084d92372e
[]
no_license
notkevin888/cubingusa-org
eeb12cf451bde5d1ba0faab5429066590b7e6cb7
6a68783c72e0cad484537b9eb594176de7fe2ba6
refs/heads/master
2021-08-31T19:33:39.868863
2017-12-22T15:13:23
2017-12-22T15:13:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
from src import common from src.jinja import JINJA_ENVIRONMENT from src.handlers.scheduling.scheduling_base import SchedulingBaseHandler from src.scheduling.competition_details import CompetitionDetails class Events2018Handler(SchedulingBaseHandler): def get(self): if not self.SetCompetition('CubingUSANationals...
[ "timbreynolds@gmail.com" ]
timbreynolds@gmail.com
12b0c0e378a03988b85933db19b395bbd4911757
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayOpenOperationPartnerSettleSignModel.py
c36b2c71c8cf6dd162f096f9f3e3415ff40afb95
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
6,346
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenOperationPartnerSettleSignModel(object): def __init__(self): self._address = None self._channel_id = None self._city_code = None self._company_name = Non...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
790f8eaac7e7d1d3e4640510058f5eda00fc681c
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/luigi/2016/4/worker_test.py
d3d040db2453ba64459aeabbd64838719a6ac349
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
37,860
py
# -*- coding: utf-8 -*- # # Copyright 2012-2015 Spotify AB # # 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...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
0bcb75ece93e1f4d252c0806c8ff8c3fa5edca64
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/quantum/azext_quantum/vendored_sdks/azure_mgmt_quantum/models/operation_py3.py
4d6695576ccc6bcc03e91d34bcea29dcb8385dbb
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
1,325
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 ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
6d27e2e86f9ecaa1f5bec5d8757eb7d97a188c8b
62b434f14e032b8aa666b15ad9ef5f704d1611e8
/deprecated/util-ok.py
2569317480f6b7e94043c903d981c1af0648516c
[ "Apache-2.0", "Python-2.0" ]
permissive
cyberaide/bookmanager
0061b7063d3fde1d73fc891e13c143522493d4bf
70fc9c17dcb94093cf9e90aaa12e2315798bf418
refs/heads/main
2022-09-13T10:25:24.586303
2022-09-03T15:00:43
2022-09-03T15:00:43
180,580,449
9
4
NOASSERTION
2020-10-27T16:02:53
2019-04-10T12:47:45
Python
UTF-8
Python
false
false
9,609
py
import os import shutil import subprocess import sys from pathlib import Path from shutil import copyfile import markdown import oyaml as yaml import pkg_resources import requests from cloudmesh.common.util import path_expand from cloudmesh.common.util import writefile, readfile from colorama import Fore from markdown...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
26c44720385298ce951f5eeec1e277cb2eef4cfe
c8c6ad39945d24173b257dd8954b475c1d31f47f
/DRL/Code/TensorFlow/AlgsinTF/blp/examplecode/agent_dir/agent_pg.py
04cb8954302c38878c9d51db3736302e8f7687eb
[ "MIT" ]
permissive
BaiLiping/BLP
5e75827292c206f1874fae825ad39d8c4bd2c746
38d3b60da6d4d0683e9683e556ed05e16484dba4
refs/heads/master
2023-08-04T23:22:07.920071
2023-07-19T07:16:28
2023-07-19T07:16:28
173,741,943
0
0
null
null
null
null
UTF-8
Python
false
false
6,267
py
from agent_dir.agent import Agent import scipy.misc import numpy as np import os import keras import tensorflow as tf from keras.models import Sequential,load_model from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D, MaxPooling2D from keras.optimizers import Adam, Adamax, RMSprop from ker...
[ "blp_engineer@outlook.com" ]
blp_engineer@outlook.com
88b05aabfd37f02307e7f166fa8a4697be95ee05
a31de016611f3b4efc7a576e7113cad1a738419b
/_bobs_confusion.py
2e6abb7cdaf3dc090a14fcda132aac348bc65cce
[]
no_license
Ing-Josef-Klotzner/python
9d4044d632672fff966b28ab80e1ef77763c78f5
3913729d7d6e1b7ac72b46db7b06ca0c58c8a608
refs/heads/master
2022-12-09T01:40:52.275592
2022-12-01T22:46:43
2022-12-01T22:46:43
189,040,355
0
0
null
2022-12-01T19:52:37
2019-05-28T14:05:16
Python
UTF-8
Python
false
false
574
py
#!/usr/bin/python3 from sys import stdin, stdout def chk (g): rt = g [0][0] for r in range (1, 3): r0 = g [r][0] - rt for c in range (1, 3): if r0 != g [r][c] - g [0][c]: return False return True def main (): read = stdin.readline write = stdout.write ...
[ "noreply@github.com" ]
Ing-Josef-Klotzner.noreply@github.com
91d4f7a8d07ae4c3c41f9e48e2e18251746c6598
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/hllrob020/question3.py
e4f3630a9dea9e03be68b8cb2448da4b3b4308b4
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
#Pi program #Robin Hall #14/03/2014 import math def denom(x): if x == 0: return 0 return (2 + math.sqrt(denom(x-1))) def series(x): if x == 0: return 2 denom_full = math.sqrt(denom(x)) return 2/denom_full x=0 pi=1 while series(x) !=1: pi*=series(...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
c81df7002ed0d430b48162ec06c6e2ac24ad6199
5d6dd782e0b29817b3c27d5d6984909152813444
/dbbase/forms.py
2e23f8c4fa1d8b142d95f51eefaedd476f4495c1
[]
no_license
smartslee/hospacc
387d8a7e42e068080738e365045a23d6d8a1f222
5bd42a9e729f3c90ff4b87185167f64fe79aac01
refs/heads/master
2020-04-01T12:59:50.743213
2019-10-07T08:13:41
2019-10-07T08:13:41
153,232,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
#!/usr/bin/python # -*- coding: <encoding name> -*- from django import forms from .models import Hdb from django.forms import widgets from django.contrib.auth.models import User class Tform(forms.ModelForm): #ntext=forms.CharField(widget=forms.TextInput( # attrs={ #'wrapper_class':'form-control is-valid' # ...
[ "you@example.com" ]
you@example.com
5d89cd5912d16172fc932c7cc2366a2515c74b3e
a7f16c95f973905e880ad4dc277fbba890486654
/wildlifecompliance/migrations/0338_merge_20191123_1549.py
ed59b43011aeef434858c1218c4cab1fab680f84
[ "Apache-2.0" ]
permissive
dbca-wa/wildlifecompliance
9e98e9c093aeb25dbb7ff8d107be47e29bcd05e1
cb12ad9ea1171f10b5297cdb7e1eb6ea484e633d
refs/heads/master
2023-08-08T14:37:05.824428
2023-07-31T02:57:23
2023-07-31T02:57:23
232,276,030
1
17
NOASSERTION
2023-07-31T02:57:24
2020-01-07T08:12:53
Python
UTF-8
Python
false
false
373
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2019-11-23 07:49 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wildlifecompliance', '0337_sanctionoutcome_fer_case_number'), ('wildlifecompliance', '0337_a...
[ "brendan.blackford@dbca.wa.gov.au" ]
brendan.blackford@dbca.wa.gov.au
6558d406a24b30280a25d4d638f1e336748f7997
a434e1d52d14d06857950281b84d5a9ad36d793d
/ml4vs/pca.py
03c2c5a561f64dfb7797348a0c813c2bec886cba
[ "MIT" ]
permissive
everyonelijin/ml4vs
4e3396ce6558e483d68eb94c0dfe3fc4ce80b2a1
f9c03f60aa3637944c7b48aa10b01a9846abb2b0
refs/heads/master
2021-01-19T23:20:48.770241
2016-12-23T11:02:50
2016-12-23T11:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
import os import matplotlib.pyplot as plt from sklearn import decomposition from sklearn.pipeline import Pipeline from sklearn.preprocessing import Imputer from sklearn.preprocessing import StandardScaler from data_load import load_data data_dir = '/home/ilya/code/ml4vs/data/dataset_OGLE/indexes_normalized' file_1 = ...
[ "in4pashchenko@gmail.com" ]
in4pashchenko@gmail.com
77e0b4fa5ff77e6e9e9dad8f1b720c8404ca4d7a
b424a13f032d5a607e6df4dd78bc47ad1d06a147
/lhc/io/sam/iterator.py
cbfdceccbe682d70951aed3927191954bc8fa300
[]
no_license
EnjoyLifeFund/macSierra-py36-pkgs
1e7eeb9b55415da6eb12465d67730d76e9cc619a
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
refs/heads/master
2021-01-20T10:23:50.044019
2017-09-05T02:53:26
2017-09-05T02:53:26
90,333,987
0
1
null
null
null
null
UTF-8
Python
false
false
1,707
py
import gzip from collections import namedtuple from itertools import chain, tee sam_line_headers = ('qname', 'flag', 'rname', 'pos', 'mapq', 'cigar', 'rnext', 'pnext', 'tlen', 'seq', 'qual', 'tags') class SamLine(namedtuple('SamLine', sam_line_headers)): def __str__(self): return '{0.qname}\t{0.flag}\t...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
8e93a793bc6882b98c2a6bf0b4f62f297342d220
5963c12367490ffc01c9905c028d1d5480078dec
/homeassistant/components/sonos/helpers.py
675a3e8e9f2fafa06577268d37c5c17fe8cde7ac
[ "Apache-2.0" ]
permissive
BenWoodford/home-assistant
eb03f73165d11935e8d6a9756272014267d7d66a
2fee32fce03bc49e86cf2e7b741a15621a97cce5
refs/heads/dev
2023-03-05T06:13:30.354545
2021-07-18T09:51:53
2021-07-18T09:51:53
117,122,037
11
6
Apache-2.0
2023-02-22T06:16:51
2018-01-11T16:10:19
Python
UTF-8
Python
false
false
1,870
py
"""Helper methods for common tasks.""" from __future__ import annotations import functools as ft import logging from typing import Any, Callable from pysonos.exceptions import SoCoException, SoCoUPnPException from homeassistant.exceptions import HomeAssistantError UID_PREFIX = "RINCON_" UID_POSTFIX = "01400" _LOGG...
[ "noreply@github.com" ]
BenWoodford.noreply@github.com
981145b85bb7ba0b4e6fa6896fc57f895e242af1
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnbowden.py
a57803b45a99c8ed1b5a99da6c1a116ce5f6d9ee
[]
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
42
py
ii = [('ClarGE2.py', 1), ('ClarGE.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
14cad2626abf51e58fb900d18ec7a9ed00703f73
65f3ada144f45bd5dbaf3d37ca9366ff54796f0c
/month12/intToRoman.py
1337d69fcb53b815c1f6ff4635e2ece200b0eae0
[]
no_license
BruceHi/leetcode
43977db045d9b78bef3062b16d04ae3999fe9ba7
0324d247a5567745cc1a48b215066d4aa796abd8
refs/heads/master
2022-09-22T14:18:41.022161
2022-09-11T23:45:21
2022-09-11T23:45:21
248,240,171
1
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
# 12. 整数转罗马数字 # 范围是 1-3999 # 贪心算法 class Solution: # def intToRoman(self, num: int) -> str: # int_list = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1] # romans = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I'] # res = '' # for i, val in enumerate(int_l...
[ "BruceHi@users.github.com" ]
BruceHi@users.github.com
e6a10c3ff835046427fba154c34773f9109aa243
37ea56ce62635892ab0a516de811fc17b035aead
/accession/urls.py
ba6f7290933737dc04fa5fd172fed9ca57b37c85
[]
no_license
BlinkenOSA/clockwork
716c45f249c051068fced331b40c4bb46619c3a7
3b65ba93008eafc0622d0fa3058a8c6f5163ef6a
refs/heads/master
2023-01-29T13:08:57.175733
2023-01-16T08:13:41
2023-01-16T08:13:41
81,751,925
1
1
null
2023-01-16T08:13:36
2017-02-12T19:44:25
Python
UTF-8
Python
false
false
602
py
from django.conf.urls import url from accession.views import AccessionList, AccessionListJson, AccessionCreate, AccessionUpdate, AccessionDelete, \ AccessionDetail urlpatterns = [ url(r'^$', AccessionList.as_view(), name='list'), url(r'^(?P<pk>\d+)/$', AccessionDetail.as_view(), name='view'), url(r'^cr...
[ "jozsef.bone@gmail.com" ]
jozsef.bone@gmail.com
55449b7c7bb3e667ddfab1a9f6cd4323ffb64bb8
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/132416/caffe-windows-master/examples/kaggle-bowl/caffe_windows/utils/plot_caffe_training_logloss.py
b2f5cc8e749ab7150effd9d80cc7dba531f3d1d0
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
4,077
py
#!/usr/bin/env python """ @file plot_caffe_training_logloss.py @brief plot caffe training logloss (coarse and fine label) @author ChenglongChen """ import re import sys import subprocess import numpy as np from matplotlib import pyplot as plt from matplotlib.figure import figaspect def fetchPattern(pa...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
7fb9febc281f5b5eae6bb6121785a29d25919a2d
7be67ecaee241769a69f3f5dae1bb6f99feb5e84
/customer/migrations/0021_auto_20191009_2009.py
64507c221f382da00930659192a93162108d9cea
[]
no_license
asadlive84/Billing-Cable-TV-Providers-
6e5e6412a84045749869253b49a2a53564b52c96
7f1927030e9cb57573e1cfe5a5110614ef251d02
refs/heads/dev
2022-03-17T21:42:41.443783
2019-11-22T14:48:50
2019-11-22T14:48:50
213,041,047
1
0
null
2019-12-05T00:29:16
2019-10-05T17:23:09
Python
UTF-8
Python
false
false
454
py
# Generated by Django 2.2.6 on 2019-10-09 14:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customer', '0020_auto_20191009_2008'), ] operations = [ migrations.AlterField( model_name='customer', name='customer...
[ "asadlive.sohel@gmail.com" ]
asadlive.sohel@gmail.com
4f926bb39cbef2a15dfcb80227c6e8ee8175e16a
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/etc/PSO-Conv/ParticleConv.py
27f79402c54308274df026fabde788c03a95930f
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
1,975
py
''' Created on 2014-3-19 @author: Walter ''' import numpy as np import matplotlib.pyplot as plt if __name__ == '__main__': gb_bound = 3.0 pb_bound = 1.0 runs = 500 phi1 = 1 phi2 = 1 inertia = 0.72984 ''' phi1 = 2.05 phi2 = 2.05 inertia ...
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
dbd94b9cf3432bd78344cccab7f991922e635ede
999f3f3da1cb70cb5872f99a09d65d7c4df71cf7
/src/data/215.py
b0797775679195def5a63b7b1ff3ea678d835ece
[ "MIT" ]
permissive
NULLCT/LOMC
0f0d1f01cce1d5633e239d411565ac7f0c687955
79a16474a8f21310e0fb47e536d527dd5dc6d655
refs/heads/main
2023-07-27T17:03:46.703022
2021-09-04T08:58:45
2021-09-04T08:58:45
396,290,713
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
from collections import deque from sys import stderr INF = 1 << 60 N, Q = map(int, input().split()) edges = [[] for _ in range(N + 1)] for _ in range(N - 1): a, b = map(int, input().split()) edges[a].append(b) edges[b].append(a) depth = [INF] * (N + 1) depth[1] = 0 s = deque([1]) while s: p = s.pop(...
[ "cockatiel.u10@gmail.com" ]
cockatiel.u10@gmail.com
14135d493b7bc55cbf62911343fabd0a3524aed3
1ff9adfdb9d559e6f81ed9470467bab25e93b5ab
/src/ta_lib/_vendor/tigerml/core/utils/pandas.py
1d1ed559f4c0cffd673115aeb16b935d65127e14
[]
no_license
Seemant-tiger/housing-price-prediction
a39dbefcb11bc460edeeee92e6becf77d35ff3a8
be5d8cca769c7e267cfee1932eb82b70c2855bc1
refs/heads/main
2023-06-24T00:25:49.776720
2021-07-18T16:44:28
2021-07-18T16:44:28
387,222,852
0
0
null
null
null
null
UTF-8
Python
false
false
4,919
py
import numpy as np import pandas as pd def sort(list): strings = [x for x in list if isinstance(x, str)] numbers = [x for x in list if not isinstance(x, str)] return sorted(numbers) + sorted(strings) def is_numeric(dtype): return issubclass(dtype.type, np.number) def get_num_cols(df): if df.em...
[ "seemantsingh1199@gmail.com" ]
seemantsingh1199@gmail.com
2a52b9beb23c5177f717289beae743ed7500c66f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_40/97.py
b011c74ce2f4711c9dfbaf7c23e50a925eb18c85
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
import sys class Tree: def __init__(self, s): aa = s.split(' ') a = [x.strip() for x in aa if len(x.strip()) > 0] a = a[1:-1] #print a self.w = float(a[0]) if len(a) > 1: self.feature = a[1] else: self.feature = "" self.sub = [...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f3dfb089bfeceb9ddb8a36028703afed00024d3f
b0a1ab49fe0ac0160301b49d553b6551589ee727
/immuality.py
a8eacfd3c56063b0f537ba20a9e9165a4e19e5e5
[]
no_license
liyako/bdpy0618
daea5103a6a1bf75fc329eb5f4fa0b204b2f6233
7a3d2e49373d7073d0e5f0b784ad880d3edd27fb
refs/heads/master
2022-01-20T19:06:07.072821
2019-06-21T09:04:16
2019-06-21T09:04:16
192,460,292
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
x = 5 print x, hex(id(x)) x = 6 print x, hex(id(x)) l = [5] print l, hex(id(l)) l[0] = 6 print l,hex(id(l))
[ "test@gmail.com" ]
test@gmail.com
9dbc89e63ff04411a9ebcd9e1af191114e2c09c7
4b46bcb9e3883a57f46d490da424e8d9463ba8aa
/PyFolder/Python_Django/app_integration/apps/ninjas/urls.py
5d4e820b87ef8fdf319a0d14d8810180ad977ab3
[]
no_license
LAdkins81/DojoAssignments
1752c131454dc6f259d4e84390af218e1a423b50
7bc7a92bed72ff37c5d8991e478ffae8fefd82db
refs/heads/master
2021-01-11T17:53:03.814123
2017-05-09T14:58:33
2017-05-09T14:58:33
79,859,799
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^ninjas$', views.ninjas), url(r'^ninjas_color/(?P<color>\D+)$', views.ninjas_color) ]
[ "lahell@gmail.com" ]
lahell@gmail.com
31ec5c79932cd6c874139562cd0770bbf3d3cc10
ca63c89655534b4bf71fb5449734e105c10ba236
/utils/utils.py
36085ffb8971aafcffda24945137f2c26ae0f0b2
[]
no_license
jyt1234/A-Convolutional-Recurrent-Neural-Network-for-Real-Time-Speech-Enhancement
156cd7f2c8547b9e1216185e1ee0f519cdfac175
e091c706c9b87d3da3ee3a7397956e7427e8ef58
refs/heads/master
2020-09-25T17:58:10.710585
2019-09-30T00:08:20
2019-09-30T00:08:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,712
py
import importlib import time import torch from pypesq import pesq import numpy as np def remove_extra_tail(m, size=256): assert m.shape[1] >= size, "len(y) should be large than size." return m[:, : - (m.shape[1] % size)] def prepare_empty_dir(dirs, resume=False): """ if resume experiment...
[ "haoxiangsnr@gmail.com" ]
haoxiangsnr@gmail.com
dddd13a0d457e98caa6e3a9c34821628eff25606
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/CERENT-GLOBAL-REGISTRY.py
cfa8e90cf65a89026f60c4b2164a3fc52785d88c
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
76,136
py
# # PySNMP MIB module CERENT-GLOBAL-REGISTRY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CERENT-GLOBAL-REGISTRY # Produced by pysmi-0.3.4 at Mon Apr 29 17:30:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
8d03e399890849980023ac1e4d83c3aa2a81af5e
27c9b374a75550252ddfe5da400fad891c6de590
/props/scripts/Interrupteur.py
18bee6c231e294c89c658f9439d8d7495e156601
[]
no_license
Dynamique-Zak/Zelda_BlenderGame
03065416939deb3ce18007909ccc278c736baad0
0f5d5d15bfa79e9f8ea15f0ebcb76bce92f77a21
refs/heads/master
2016-08-13T00:12:34.746520
2016-02-19T23:18:27
2016-02-19T23:18:27
49,572,402
30
16
null
null
null
null
UTF-8
Python
false
false
567
py
from bge import types def active(cont): own = cont.owner if ( own['active'] == False): own['active'] = True # Get the bloc touchBloc = cont.sensors['touchBloc'] bloc = touchBloc.hitObject # Block the bloc bloc.block() bloc['bloc'] = False # Set bl...
[ "schartier.isaac@gmail.com" ]
schartier.isaac@gmail.com
905e30ec9aa159eb7d8e435534310bc47eaf0498
f030c1b724ad3a04dade2463374bd3c03e17b93c
/napari/_qt/menus/help_menu.py
c4e25ec701661496a9800caef2ce94619cdb6727
[ "BSD-3-Clause" ]
permissive
sandutsar/napari
3c8568979c320d57cdb80e2ea2a5db7ea035413b
37d476bc0b00252177f17f25e7d1fd52ddc4bb69
refs/heads/master
2023-07-25T08:31:32.189843
2021-09-05T11:01:02
2021-09-05T11:01:02
390,003,115
0
0
BSD-3-Clause
2021-09-05T12:18:14
2021-07-27T13:56:23
Python
UTF-8
Python
false
false
722
py
from typing import TYPE_CHECKING from qtpy.QtWidgets import QMenu from ...utils.translations import trans from ..dialogs.qt_about import QtAbout from ._util import populate_menu if TYPE_CHECKING: from ..qt_main_window import Window class HelpMenu(QMenu): def __init__(self, window: 'Window'): super(...
[ "noreply@github.com" ]
sandutsar.noreply@github.com
815b4891b46651a794e37756235e5d335379639a
c991da8bae5a74dec3e6400ca780206758b9840a
/old/Session002/DynamicProgramming/LongestValidParentheses.py
a5295de3441351226f982f4d883c8c67079e1a6b
[]
no_license
MaxIakovliev/algorithms
0503baca3d35c8ad89eca8821c5b2928d805064b
54d3d9530b25272d4a2e5dc33e7035c44f506dc5
refs/heads/master
2021-07-23T02:21:18.443979
2021-07-18T08:05:37
2021-07-18T08:05:37
45,613,974
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
class Solution: def longestValidParentheses(self, s): """ :type s: str :rtype: int """ dp=[0]*len(s) res=0 leftCount=0 for i in range(len(s)): if s[i]=='(': leftCount+=1 elif s[i]==')' and leftCount>0: ...
[ "max.iakovliev@gmail.com" ]
max.iakovliev@gmail.com
ef11a6d3eb73532fbbbd6b2cc7c1b09e517dad73
47ae8ae533ac0053302c2e92e3ea0e9e15b3104d
/2FinalProject/6FaceRecognition/face_alignment.py
e0913f4ee29a8b20d5f08c1da4d6247d573ec445
[]
no_license
bluedawn123/Study
ac039a8d549be4cd71de9084d3659315e588ac73
7db87e197ce13b07f2f9aeab8e74077525323e5a
refs/heads/master
2022-12-03T21:47:07.559963
2020-08-27T10:23:04
2020-08-27T10:23:04
271,180,979
2
0
null
null
null
null
UTF-8
Python
false
false
3,524
py
import numpy as np import dlib import cv2 RIGHT_EYE = list(range(36, 42)) LEFT_EYE = list(range(42, 48)) EYES = list(range(36, 48)) predictor_file = './2FinalProject/data/shape_predictor_68_face_landmarks.dat' image_file = './2FinalProject/data/marathon_04.jpg' MARGIN_RATIO = 1.5 OUTPUT_SIZE = (300, 300) detector = ...
[ "haemilyjh@gmail.com" ]
haemilyjh@gmail.com
1588871c7e4484f8913ce611e6f20ba75d0a4ba4
54883a0daf9f7c63f296b8fdc79acdb20697c0de
/tests/pipe.test.py
4cb7696f170d7b968e290c7d3a72a674c998819b
[]
no_license
pydget/ject
20619b5547f1326cbf78f63d43bcf79b5117c895
82809c1682148415713a51c6480884beaef8af98
refs/heads/master
2022-12-08T08:38:25.364435
2020-08-22T13:08:59
2020-08-22T13:08:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from ject import pipe def add_one(n): return n + 1 def times_two(n): return n * 2 add_one_then_times_two = pipe(add_one, times_two) print(add_one_then_times_two(4)) # 10
[ "hoyeungw@outlook.com" ]
hoyeungw@outlook.com
710be6d3d0cdec5d4dd166bcbc87a9362750f140
36dfe29989de2005f5ad8f61b7575e16bc7f46ed
/Blue/Number.py
6b7d6f3352c48394d41035d4a3d3c2fa93f6475e
[]
no_license
chrislevn/Coding-Challenges
ca17e26476a721ca855fef6e2e1587148758dde5
dee52baaf5d15046a901b174e8b319deaa1c6107
refs/heads/master
2022-03-26T00:05:09.817752
2022-02-03T17:37:53
2022-02-03T17:37:53
242,436,335
0
0
null
null
null
null
UTF-8
Python
false
false
4,037
py
import numpy as np import time # State the fact NUM_OF_DIGITS = 3 MIN_NUM = 000 MAX_NUM = 999 FACT1 = "All digits are wrong" FACT2 = "1 digit is right and in the right place" FACT3 = "1 digit is right but in the wrong place" FACT4 = "2 digit are correct but in the wrong place" FACT5 = "1 digit is right but in the wron...
[ "locvicvn1234@gmail.com" ]
locvicvn1234@gmail.com
24e8f4b48fe1df33799af9cbba1f508886d9511c
7dcb2314163f0db518aa8c5c3a345f9ab51b050d
/shop/sekizai_processors.py
0477284eff05cabf5b4b4e4460ee2cb9ef842a96
[ "BSD-3-Clause" ]
permissive
shivamraj74/django-shop
1ffb41a76818fb217560c73f5ab249cf6db3769c
c901a634e8b2d199632f2f26d4a34f577e4c764b
refs/heads/master
2023-07-20T15:57:17.964111
2021-08-30T07:47:00
2021-08-30T07:47:00
401,256,743
0
0
BSD-3-Clause
2021-08-30T07:38:01
2021-08-30T07:38:00
null
UTF-8
Python
false
false
2,698
py
""" source: https://gist.github.com/1311010 Get django-sekizai, django-compessor (and django-cms) playing nicely together re: https://github.com/ojii/django-sekizai/issues/4 using: https://github.com/django-compressor/django-compressor.git and: https://github.com/ojii/django-sekizai.git@0.6 or later """ from compr...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
8e0b1a44ac3dae561fcaf63ffe4ba0c6be07998b
b4f661f1153637d9cfec18e4cf56b64582c31385
/src/Python/114.二叉树展开为链表.py
24c7bceaeeec1f915bac107c44565e88a2a4a02f
[]
no_license
Icedomain/LeetCode
12dd24bbe2d7aba1f6ebe61bffe4c5e6284fbd06
4bc8e41499b9c884d64b5a44fe783fdb7030676e
refs/heads/master
2021-02-15T15:12:15.009790
2020-09-22T11:37:59
2020-09-22T11:37:59
244,909,740
2
0
null
null
null
null
UTF-8
Python
false
false
716
py
# # @lc app=leetcode.cn id=114 lang=python3 # # [114] 二叉树展开为链表 # # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def flatten(self, root: TreeNode) -> None: if root is None: ...
[ "1271029566@qq.com" ]
1271029566@qq.com
3bea65a60d27996e4d76c7aa85d0d15f991f43e6
60618d48e09a140926d97b01cb9b6f76fcc65703
/python scrapy/exe/parse_url.py
d0a2f2985908d9ba1430d51124316fbaf689a5d6
[]
no_license
Incipe-win/Python
ca8f36cc8785eb13512f71a3cf10149d4e1b855e
5bab36b90591c74dedb6ead3484a279b90a1bcbd
refs/heads/master
2021-01-07T08:11:42.293541
2020-12-06T09:17:02
2020-12-06T09:17:02
241,629,236
2
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
import requests from retrying import retry headers = { "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1" } # proxies = dict(http='socks5://127.0.0.1:7891', # https='socks5://127.0.0.1:7891') proxies = dict() ...
[ "whc_9_13@163.com" ]
whc_9_13@163.com
38f9042f529b3c42906ef8834d30c6b214eb87ea
8e1bb907461a8e5a01ebab9bd1686198cb57d1b0
/v04/zaweb/test/test_zaweb.py
4a0f29925c2d40fe124ea40c0be0be935767ade4
[]
no_license
sixty-north/introduction-to-python
5bc075896e2b1911dd7c5ff651da9a7b0b391104
c8c5a2d32be2c3622d39a31ba696b6702db0faf1
refs/heads/master
2021-12-14T21:23:49.428098
2021-12-07T14:46:43
2021-12-07T14:46:43
131,696,938
2
1
null
null
null
null
UTF-8
Python
false
false
1,227
py
def test_home_page(client): resp = client.get('/') assert resp.status_code == 200 assert resp.data.startswith(b'<h1>ZAWeb: A web front-end for Zorkalike!</h1>') def test_playthrough(client): resp = client.get('/description') assert resp.status_code == 200 assert resp.json == {'description': 'Y...
[ "austin.bingham@gmail.com" ]
austin.bingham@gmail.com
ec504a6703ffd09666c543555f1a952fbe09316e
f39e577404aec00ab07d860900d8f26a46dc09e3
/aplicaciones/new_task/forms.py
4abf2fb24ea195a703f00aba7748d789f4c2ab8a
[]
no_license
jespoz/project_panel
0ef134151a38887bd4089063c06a9d41888ee54e
ed4ffcf2d7aad30425d4640089428c40e05a7daf
refs/heads/master
2020-12-24T06:57:58.840934
2016-11-10T14:07:38
2016-11-10T14:07:38
73,387,533
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
from django import forms from .models import Actividad class ActividadForm(forms.ModelForm): class Meta: model = Actividad fields = ('nombre', 'descripcion', 'publico',)
[ "jespoz@agrosuper.com" ]
jespoz@agrosuper.com
4352626a45a5c01acd8d86d2b881b473a506ae54
932a6797f1e97c7f8c96af83647fc27d2324765e
/python/1508. Range Sum of Sorted Subarray Sums.py
1c431d76ece8977705c7a8b579eaebe4c78ad836
[]
no_license
rhzx3519/leetcode
1245e0a19dbcb4b853eb0ac369601f31171b55c5
2fe336e0de336f6d5f67b058ddb5cf50c9f00d4e
refs/heads/master
2023-08-17T01:27:49.674440
2023-08-16T23:08:59
2023-08-16T23:08:59
85,682,362
3
1
null
2021-05-08T12:10:56
2017-03-21T09:23:02
Python
UTF-8
Python
false
false
531
py
class Solution(object): def rangeSum(self, nums, n, left, right): """ :type nums: List[int] :type n: int :type left: int :type right: int :rtype: int """ a = [] pre = [0]*(n+1) for i in range(1, n+1): pre[i] = nums[i-1] + pr...
[ "louzhenghao@itiger.com" ]
louzhenghao@itiger.com
3399cfc37931a3a533142f151bb210dbc9933d04
e07eee10ea5558df0eefc0d8a33e265b7bbdf3cd
/data_explorer.py
4986a604830c289f05c8f01ef93789fd92b525e3
[]
no_license
pyctp/test3
8d38aeac478923acd357c7145a089ae5fa067a81
0d7f76cfe52875f0dacd9b926c8d89d1221ea999
refs/heads/main
2023-02-28T16:45:41.719061
2021-02-13T02:56:24
2021-02-13T02:56:24
338,017,737
0
0
null
null
null
null
UTF-8
Python
false
false
14,372
py
# encoding:utf-8 from queue import Queue import time import json from ctpapi import MyMdApi, MyTradeApi, ApiStruct from ctpapi import q_depth_market_data, q_rtn_trade, q_rtn_order, q_positions, q_server_info from getaccount import getAccountinfo from function import load_data_from_file, get_k_line_column, get_last_k_l...
[ "tianhm@sina.com" ]
tianhm@sina.com
f0d5e7eab2c6f20c029dccbcbfab0731a2d303c9
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/22Jul/down/emb/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374500587/HTT_22Jul_manzoni_Down_Jobs/Logger/Expandedfull_cfg.py
c7ff456bb4e7fc4936a7208f39c3b4dcc711ead3
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
286,199
py
import FWCore.ParameterSet.Config as cms process = cms.Process("H2TAUTAU") process.source = cms.Source("PoolSource", noEventSort = cms.untracked.bool(True), duplicateCheckMode = cms.untracked.string('noDuplicateCheck'), fileNames = cms.untracked.vstring( ('/store/cmst3/user/cmgtools/CMG/DoubleMuParked/Sto...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
832d661486b8d3487e50964b29f17d222e5c2dfe
3e9ac661325657664f3f7fa26ff2edf5310a8341
/python3/primer/08_func_import_module.py
1387c2e875933b39bea754f839a51d64374e2bb4
[]
no_license
JollenWang/study
47d1c22a6e15cb82d0ecfc6f43e32e3c61fbad36
660a47fd60dd1415f71da362232d710b322b932f
refs/heads/master
2020-06-15T23:53:37.625988
2017-04-21T11:18:20
2017-04-21T11:18:20
75,257,807
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
#!/usr/bin/python #-*- coding:utf-8 -*- #author : Jollen Wang #date : 2016/10/12 #version: 2.0 import func_random_param print(__name__) if __name__ == "__main__": pf = func_random_param.build_profile('Jollen', 'Wang', age = '24', school = 'MIT') print(pf)
[ "jollen_wang@163.com" ]
jollen_wang@163.com
5b1e93c557d50d20c06e05bd3c961b48f1571145
6e46a850cc4ece73476a350e676ea55ce72b200a
/aliyun-python-sdk-vs/aliyunsdkvs/request/v20181212/StartRecordStreamRequest.py
063e4f163325d88bbf9d7414ceefe23dbc0d5d68
[ "Apache-2.0" ]
permissive
zhxfei/aliyun-openapi-python-sdk
fb3f22ca149988d91f07ba7ca3f6a7a4edf46c82
15890bf2b81ce852983f807e21b78a97bcc26c36
refs/heads/master
2022-07-31T06:31:24.471357
2020-05-22T17:00:17
2020-05-22T17:00:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
5299472f28d2b6f9ca4999ad59ea73df4117ef47
754d26af3d5fa0900d1dbfc934f3b9f0970e2a47
/unchained/community/teacher/serializers.py
f75dd28114b508a8482d602d092e7cc67aacf6f6
[]
no_license
live-wire/community
8a7bfdb4e2d6562d12be334ba0e655ffe041bb5f
7b2efa7b78465134138ee08fc557f4fedf678394
refs/heads/master
2021-07-11T10:26:31.535653
2020-03-20T02:37:30
2020-03-20T02:37:30
140,683,308
3
2
null
2020-06-06T12:03:38
2018-07-12T08:17:50
JavaScript
UTF-8
Python
false
false
1,729
py
from rest_framework import serializers from django.contrib.auth.models import User from .models import Teacher class TeacherSerializer(serializers.HyperlinkedModelSerializer): # announcements = serializers.HyperlinkedRelatedField(many=True, view_name='announcement-detail', read_only=True) # instructors = seri...
[ "dhruv.life@hotmail.com" ]
dhruv.life@hotmail.com
2eef1703d2004345fdf905ffe3e0cf3717ec5922
a63419b2c457a219c010876ece3980af8cfc3c1b
/PY_SCRAPER/dataScraper/walker_anon_lambda.py
f84dcc93d3a8fb61104ac6934813b6885369e948
[]
no_license
thomasm1/python_2018
ba87560a1e25343c0429fcafe51bb867dc299223
6a57c7603055a2511a8734ab34ce21f76e4427ef
refs/heads/master
2023-05-10T07:20:07.911734
2023-05-05T03:58:36
2023-05-05T03:58:36
147,065,041
2
5
null
2023-03-03T15:15:08
2018-09-02T07:41:32
Rich Text Format
UTF-8
Python
false
false
591
py
# Price One to 3x + 1 def fn(x): return 3*x + 1 fn(2) print("1: ", fn(2)) #/ g = lambda x: 3*x + 1 print("lambda: ", g(2)) coin_owner = lambda g, ln: g.strip().title() + " " + ln.strip().title() print(coin_owner(" thomas", "MaesTAS")) lambda : "what is the coin price?" lambda x: 3*x+1 lambda x, y: (x*y)**0.5 # ...
[ "thomasm1.maestas@gmail.com" ]
thomasm1.maestas@gmail.com
2c416069d5d766a1bb0293f3d0aba42146c49908
58717014cfd8789550d17b6a330b5d56a7714fd3
/djangular/forms/field_mixins.py
76a314f67895a5167e9f770fa931161080c500e2
[ "MIT" ]
permissive
swstack/django-angular
b7a5f3aee579bd132e0d10b81241d34154518306
572887f2e6bd32e72458e17ac0cd3bf0e613b32d
refs/heads/master
2020-12-26T12:58:40.778325
2014-09-24T21:54:45
2014-09-24T21:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,552
py
# -*- coding: utf-8 -*- """ Mixin class methods to be added to django.forms.fields at runtime. These methods add additional error messages for AngularJS form validation. """ from __future__ import unicode_literals from django.forms import fields from django.forms import widgets from django.utils.translation import gett...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
18a1712d843d7c72598a23ffdd1d1fc4118ee7ab
67f70009f2e1ded752788f349c998c25cc2a7674
/agsci/common/browser/viewlets/__init__.py
97499138cb557903bfeca4ec23033994f81f329a
[]
no_license
tsimkins/agsci.common
83b58e4646115e9a5cdc9d39037386579c3ac2d9
a833b2e5257da35786f21916e279f8b1082b2faa
refs/heads/master
2023-08-18T05:19:25.121259
2023-08-16T20:29:47
2023-08-16T20:29:47
35,234,622
0
0
null
null
null
null
UTF-8
Python
false
false
29,684
py
from Acquisition import aq_base from DateTime import DateTime from Products.CMFCore.utils import getToolByName from Products.CMFPlone.interfaces.siteroot import IPloneSiteRoot from Products.CMFPlone.utils import safe_unicode from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile from datetime import da...
[ "trs22@psu.edu" ]
trs22@psu.edu
5ed8a25156835c5d62998675df8a2160a52a7707
7a70505cd961c674465da33b21899cbe3cd23074
/imagecrawl_GID.py
0340728dca432bd38980f641893022d01b7be993
[]
no_license
HangilKim11/crawling
8173d21694face7051a3ffb3fe184f3484358f61
75aa55eda3b675a3ae011b2c9d25327577185f18
refs/heads/master
2023-08-10T11:51:51.134797
2021-09-18T02:37:58
2021-09-18T02:37:58
407,730,520
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
""" @author: Hangil Kim """ from google_images_download import google_images_download #ライブラリ読み込み response = google_images_download.googleimagesdownload() #クラス指定 searchkeywords = input("Search Keywords: ") #検索する単語を入力 crowlingnumber = int(input("Crawling number for each keywords(~50): ")) #保存する枚数を指定 arguments = {"key...
[ "you@example.com" ]
you@example.com
c7cb6330322cebd8220d4ca6f905e91400ae4921
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_impanel.py
bf0751d8a40c5081b60a7a47e33bef229edd8d2f
[ "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
290
py
#calss header class _IMPANEL(): def __init__(self,): self.name = "IMPANEL" self.definitions = [u' empanel '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
718d4be7e1cce993a1fdfd90041cd17e991e7114
336f11ee8934581f05ab620c5324c601ba864b05
/jb_adaptive_python/Problems/The shortest distance/Programming/tests.py
19baa57e80ce840d7d4c8d934c33350b7aa56177
[]
no_license
ancient-clever/sandbox
01adeee2638a23533965cf57ca873a30e7dfad3d
87dec3bf8860a67a36154ee5d7c826d919d3111b
refs/heads/master
2022-05-17T04:49:54.703068
2020-01-19T17:44:27
2020-01-19T17:44:27
206,946,679
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from test_helper import check_samples if __name__ == '__main__': check_samples(samples=[["1\n2\n1\n1\n2\n1\n2\n1\n0","2"],["1\n2\n3\n0","0"]])
[ "ancient-clever@outlook.com" ]
ancient-clever@outlook.com
337b98b7284a76362bb461c4f3855acd11d85fab
0953f9aa0606c2dfb17cb61b84a4de99b8af6d2c
/python/ray/serve/tests/test_fastapi.py
b6bc2bcc9538e40741332bc36826ce13a6c4b3e5
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
oscarknagg/ray
da3dc03e24945ff4d5718fd35fc1b3408d8907eb
20d47873c9e8f5bbb80fe36e5d16256c337c4db3
refs/heads/master
2023-09-01T01:45:26.364731
2021-10-21T07:46:52
2021-10-21T07:46:52
382,402,491
2
1
Apache-2.0
2021-09-15T12:34:41
2021-07-02T16:25:05
Python
UTF-8
Python
false
false
15,842
py
import sys import time from typing import Any, List, Optional import tempfile import pytest import inspect import requests from fastapi import (Cookie, Depends, FastAPI, Header, Query, Request, APIRouter, BackgroundTasks, Response) from fastapi.middleware.cors import CORSMiddleware from fastapi.re...
[ "noreply@github.com" ]
oscarknagg.noreply@github.com
3f7af7219646d8a45b4c58b746a10feacb109490
6a7058009587e78b5c758ff783410325ad7c2a4b
/educative/slidingWindow/maxsub.py
eb5ddfc1ed666e0a6b223ffa56d8f534664e6d39
[ "Apache-2.0" ]
permissive
stacykutyepov/python-cp-cheatsheet
8b96b76403c501f5579befd07b3c4a4c69fe914e
a00a57e1b36433648d1cace331e15ff276cef189
refs/heads/master
2023-07-16T13:26:35.130763
2021-08-30T11:23:39
2021-08-30T11:23:39
401,442,535
2
0
null
null
null
null
UTF-8
Python
false
false
271
py
""" time: 5 min error: n instead of arr[j] """ def max_sub_array_of_size_k(k, arr): maxSum, total, j = 0, 0 ,0 for i, n in enumerate(arr): total += n if i - j == k-1: maxSum = max(total, maxSum) total -= arr[j] j += 1 return maxSum
[ "peterrlamar@gmail.com" ]
peterrlamar@gmail.com
40bf7bce63cc83d121cc5a928d217e5c181ea0f6
37f55335f6b078d5bf95db00c62efb7d78d2411a
/game/interactive/migrations/0016_survey_username.py
928795086a14db6887716426773f51252153e963
[ "MIT" ]
permissive
adminq80/Interactive_estimation
14df57e4ee9513528e7f49ae0239638c24d8e763
d62de66189ee15c5c9f23938da148dfd5ed08573
refs/heads/master
2020-12-05T16:30:49.506392
2017-04-28T21:10:19
2017-04-28T21:10:19
67,538,528
5
1
null
null
null
null
UTF-8
Python
false
false
479
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-21 00:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('interactive', '0015_remove_survey_user'), ] operations = [ migrations.AddFi...
[ "adminq80@gmail.com" ]
adminq80@gmail.com
a81081da8c8cd0bd37b754689dfebbdcc7d6cce6
368d29dd861c2b256811bd9b878e5f9af7d98e85
/test_matrix/test_bluepill.py
892bd4faf5a3c16189c70fc7ea34597766b8332a
[]
no_license
NSSAC/socioneticus-matrix
3874e4a3d743d0cf08227e7a76d07fcffc23ab21
702fe0a604e97a7efa042fbd1e58cd67b0c4c616
refs/heads/master
2020-04-07T18:48:49.377147
2019-10-24T18:26:07
2019-10-24T18:26:07
158,624,348
4
0
null
null
null
null
UTF-8
Python
false
false
4,662
py
""" Test the matrix controller with the bluepill agents. """ # pylint: disable=redefined-outer-name import time import random import sqlite3 import yaml CONFIG_BASE = """ rabbitmq_host: localhost rabbitmq_port: 5672 rabbitmq_username: user rabbitmq_password: user event_exchange: events root_seed: 42 num_rounds: 10 ...
[ "pb@parantapa.net" ]
pb@parantapa.net
c48e0119f1d2afec79850e4de20b810ceced3304
48ba8d0788e4ac7d4cacd7e7a2e2cf4f391c85ad
/Lists/7duplicatelist.py
67f4b925f698bec23adab2c630bea1989684703e
[]
no_license
rahulvshinde/Python_Playground
c28ac2dc0865e254caa5360c3bb97b4ff5f23b3a
7a03b765dd440654caba1e06af5b149f584e9f08
refs/heads/master
2023-04-19T17:25:55.993837
2021-05-17T01:15:30
2021-05-17T01:15:30
280,736,898
2
0
null
null
null
null
UTF-8
Python
false
false
315
py
# 7. Write a Python program to remove duplicates from a list. my_list = [1, 2, 3, 4, 1, 4, 'rahul', 'shinde', 'rahul'] def removeduplicate(my_list): new_list = [] for item in my_list: if item not in new_list: new_list.append(item) return new_list print(removeduplicate(my_list))
[ "r.shinde2007@gmail.com" ]
r.shinde2007@gmail.com
9af6f4dfe9fd83c4ade3aca3e03b6ca64028e667
e2992e19ebc728387125a70c72a702a076de7a12
/Python/01_My_Programs_Hv/02_String/38_Cente_Method_Of_String.py
23754c1a401a3a203b65061c16d54bc7f3d88d11
[]
no_license
harsh1915/Machine_Learning
c9c32ed07df3b2648f7796f004ebb38726f13ae4
c68a973cfbc6c60eeb94e253c6f2ce34baa3686e
refs/heads/main
2023-08-27T15:01:16.430869
2021-11-15T07:53:36
2021-11-15T07:53:36
377,694,941
0
1
null
null
null
null
UTF-8
Python
false
false
123
py
name= "Harsh" print( name.center( 9, "*")) uname= input( "Enter ypur name = ") print( uname.center( len( uname)+ 4, "*"))
[ "“hdjethva6@gmail.com”" ]
“hdjethva6@gmail.com”
5bf662d57a5b7b04696f8ed2edcc0b5bed64f0ac
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/JEt4kwPtY6CGPsT9t_1.py
276bf66aa54861f8f0a58d16d49103d92496ea36
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
def mathematical_function(mathfunc, numbers): f, expr = mathfunc.split('=') expr = expr.replace('x', '*').replace('^', '**') return ['f({})={}'.format(n, round(eval(expr, {'y': n}))) for n in numbers]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a133fbf2c6d29549cf423faac24c6c9d7a881c2b
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/tables/18/4_223_table.py
5e1f95d2b75e33c32a174c2480662de139c59be9
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
276
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'No fire detected'}, {'abbr': 1, 'code': 1, 'title': 'Possible fire detected'}, {'abbr': 2, 'code': 2, 'title': 'Probable fire detected'}, {'abbr': 3, 'code': 3, 'title': 'Missing'})
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
43201b5705d55358fc5075c9485e7242fd17a5ac
a5777bb98add189debc349e8fd7133b6d7149b56
/models/form_help_text.py
d4873e2ad773496fd64806c3ea7dffbc6374ff7b
[]
no_license
Alexia-Water/IGRAC-WellAndMonitoringDatabase
8b1ce73552f3ad4c40141a34fdefa1ccdc67ab1b
fc036f9f8346dee2d40287d08375a6c2af0a1a12
refs/heads/master
2023-03-11T10:36:40.334266
2021-02-11T07:03:23
2021-02-11T07:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
from django.contrib.gis.db import models class FormHelpText(models.Model): """ Form Help Text """ form = models.CharField( max_length=256) field = models.CharField( max_length=256) help_text = models.CharField( null=True, blank=True, max_length=256) class Meta: ...
[ "meomancer@gmail.com" ]
meomancer@gmail.com
2afd172226689772183c7607fec8312d37870ce9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03186/s605286804.py
e941b00e13f994349c6afc0f00cff8c12a6384ee
[]
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
67
py
a, b, c = [ int(v) for v in input().split() ] print(b+min(c,a+b+1))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1f09b283ffc552f4e11292b196a404d133e03aec
b2913030cf1646310b08efaa57c2199bb08e37c9
/general/apero_compare/compare_minidata.py
586fe7acf2a18716da8c6ea7f52c85c224a0dee7
[ "MIT" ]
permissive
njcuk9999/apero-utils
6f5b5083537562a31573b5c4cc76908c5fe194b9
368d53182428ca8befcdd3e5c8ca054f61913711
refs/heads/master
2023-08-31T02:56:01.369406
2023-08-18T15:12:59
2023-08-18T15:12:59
238,777,509
3
5
MIT
2023-08-17T14:15:41
2020-02-06T20:24:49
Python
UTF-8
Python
false
false
9,620
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ # CODE NAME HERE # CODE DESCRIPTION HERE Created on 2022-10-27 at 10:50 @author: cook """ import os from typing import List import matplotlib.pyplot as plt import numpy as np from astropy.io import fits from astropy.table import Table from astropy.visualization impo...
[ "neil.james.cook@gmail.com" ]
neil.james.cook@gmail.com
f1dcc266053ae7f3846d0286eab54ef379c8e90d
31e3504bf2a8985102c0414f066f2335e87d2bc7
/SimeonAcademy/assessment/migrations/0113_auto_20160712_1627.py
6a1dd35e489f2e96999a5b89792197c43cae6246
[]
no_license
ilewis01/SimeonAcademy
2c12ffc1ded43267aa799ae24782d7f0f77631a3
93d57cfc1c6c6212b581eae7e766c997a2ec666b
refs/heads/master
2021-01-20T22:15:08.980386
2017-03-19T02:16:50
2017-03-19T02:16:50
101,806,179
0
0
null
null
null
null
UTF-8
Python
false
false
5,522
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('assessment', '0112_auto_20160712_1238'), ] operations = [ migrations.AlterField( model_name='ais_psych', ...
[ "mrredd32@gmail.com" ]
mrredd32@gmail.com
98d536a827f39c92045e71014a57fcfd132dc398
907b3bbd44c95be1542a36feaadb6a71b724579f
/files/usr/tmp/easy_install-aub3rd6_/Sphinx-1.5b1/tests/test_ext_intersphinx.py
e1995e3d3dd3918a3be0b933f33fb03aee56c006
[ "Python-2.0", "LicenseRef-scancode-secret-labs-2011", "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
vo0doO/com.termux
2d8f536c1a5dbd7a091be0baf181e51f235fb941
c97dd7b906e5ef3ec157581fd0bcadd3e3fc220e
refs/heads/master
2020-12-24T09:40:30.612130
2016-11-21T07:47:25
2016-11-21T07:47:25
73,282,539
2
2
null
2020-07-24T21:33:03
2016-11-09T12:33:01
Python
UTF-8
Python
false
false
11,194
py
# -*- coding: utf-8 -*- """ test_intersphinx ~~~~~~~~~~~~~~~~ Test the intersphinx extension. :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import posixpath import unittest import zlib from six import BytesIO from docutils import nod...
[ "kirsanov.bvt@gmail.com" ]
kirsanov.bvt@gmail.com
bd88e9293bf8e17663d481a36153205241bf095a
17f527d6936397270183a35d7097e0a99de16cb5
/AtCoder/ABC/54_c.py
b9e9ac966e0382bdb68e7b3da7f18e41008deed8
[]
no_license
ryosuke071111/algorithms
e942f043d08c7c7e2c926ed332ee2b8c44bdf0c5
867764450cc0f2a709fa2f743d9a0d95001e9296
refs/heads/master
2020-05-14T17:14:39.314064
2019-04-17T12:58:12
2019-04-17T12:58:12
181,888,623
11
0
null
null
null
null
UTF-8
Python
false
false
407
py
n,m=map(int,input().split()) edges=[[0]*n for i in range(n)] for i in range(m): a,b=map(int,input().split()) edges[a-1].append(b-1) edges[b-1].append(a-1) visited=[False]*n cnt=0 def dfs(u,visited): global cnt visited=visited[:] visited[u]=True if all(visited): cnt+=1 return for v in edges[u]:...
[ "ryosuke0711993@gmail.com" ]
ryosuke0711993@gmail.com
95e542c30be521f3c667e559aaa03f07b10c5527
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/kaggle_song_git/code_box/playground_V1006/report02/training_V1208.py
3ab03f95e8c57222dd1bc3a3a0894ef3920be9fc
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
12,231
py
import numpy as np import pandas as pd import lightgbm as lgb import datetime import math import gc import time import pickle from sklearn.model_selection import train_test_split since = time.time() data_dir = '../data/' save_dir = '../saves/' load_name = 'train_set' dt = pickle.load(open(save_dir+load_name+'_dict.sa...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
3025af186bb247faab8fb4876e8fde9ce3fed4ce
f0b2f53f9ef477d5a85f3d122168a695e5092cf5
/book/ss.py
a03f5e7a968007e98c6b5006c0e90f7d4a51c645
[]
no_license
MaGuiSen/pythonCatchData
67ed311a18d4f809561ab1839e297aaf7ae83220
8511dfe16838a82d93c03625c5ff1499e77dade0
refs/heads/master
2020-12-31T07:41:49.905036
2017-07-26T13:25:43
2017-07-26T13:25:43
86,543,104
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
# # import sys,os # print sys.path # print os.path.dirname(__file__) v = '''JSESSIONID=2ad86e161f283d233e71da3c062f07350257435a809e0fe4189cb72ebe5d6317; wuid=567120835966164; wuid_createAt=2017-06-30 12:47:59; weather_auth=2; captcha=s%3A09685a3044a9a523ec779191971ae559.cSQoBtWi18ke52SSAYkRzvu4RmMrakOgQgFxeJpimYQ; Hm_...
[ "1059876295@qq.com" ]
1059876295@qq.com
7f08f8ea4cc0b2e824ae4367f8b4c91138cc8ad8
2f4871fc0751fba6f9eb17f4efdce5c34d3a92d5
/prediction_intervals/intervals_nks_res_basic.py
55a0fc3f49d92c103e0755e8eefd9e15d31c6b79
[]
no_license
thutzr/dksa
90777af82e6df717038bdef162717f780f99df82
f4007b61fcde42c591337fdb9cb05068e8f623eb
refs/heads/master
2022-11-29T14:22:29.205362
2020-08-07T14:14:06
2020-08-07T14:14:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,090
py
#!/usr/bin/env python import ast import configparser import csv import os os.environ['QT_QPA_PLATFORM'] = 'offscreen' import pickle import sys sys.path.insert(1, os.path.dirname(sys.path[0])) __package__ = 'prediction_intervals' import numpy as np import torch import torch.nn as nn from lifelines.utils import concorda...
[ "georgechen@cmu.edu" ]
georgechen@cmu.edu
962814ed614b0fd5a18e403d5ebed2c225d62f69
c3ad35192313827ae1064e9614182c182690d675
/9-Data Structure-Interval-Array-Matrix-Binary Indexed Tree/Optional/6. Merge Two Sorted Arrays.py
54aab0fe270031add2203c7a639592cd062ad793
[]
no_license
LingHsiLiu/Algorithm1
2614cb6e7d6d83e53081397153e0c7938a8c3196
817332c374cab5d2fa8d6abd1b27dbcad85656d5
refs/heads/master
2020-03-27T00:46:55.948804
2019-11-15T04:15:12
2019-11-15T04:15:12
145,656,542
1
0
null
null
null
null
UTF-8
Python
false
false
803
py
# 6. Merge Two Sorted Arrays # Merge two given sorted integer array A and B into a new sorted integer array. # Example # A=[1,2,3,4] # B=[2,4,5,6] # return [1,2,2,3,4,4,5,6] class Solution: """ @param A: sorted integer array A @param B: sorted integer array B @return: A new sorted integer array ...
[ "noreply@github.com" ]
LingHsiLiu.noreply@github.com
d73c442ef045f6d9f3a29ce3f9d856af4a101adc
b8d6f1a3c1fe17cd0266c917122891745fa48875
/models.py
51f04e445c869294e44bd9a84a21150c7c15199a
[]
no_license
stanislawK/stock_manager_sk
3e94a9e51196ceadfc98c947f19373f1f7450a1d
072a751e21c2fdf96dfd3bbf6bf7c60d99940687
refs/heads/master
2021-04-06T02:19:50.224988
2018-05-20T19:36:18
2018-05-20T19:36:18
124,939,699
0
0
null
null
null
null
UTF-8
Python
false
false
4,002
py
__author__ = 'Jacek Kalbarczyk' #from flask_login import UserMixin #from sqlalchemy import Column #from sqlalchemy.types import Integer #from sqlalchemy.types import String #from sqlalchemy.types import Boolean from main import db from datetime import datetime class User(db.Model): """ User mo...
[ "stanislaw.krupienko@gmail.com" ]
stanislaw.krupienko@gmail.com
9802666baf4c9c409dc8981bab4d0a8343a1e4a8
9534b6c0bc6522fc8bb1e6dd28072ed4ee96cc3e
/testes/testes_Resolvedor/posiciona_amostra.py
1bfa1dd5aa831b98fcc7cf9ff4aa8afa8fabd1ad
[]
no_license
matheus-Casagrande/ProjetoSudoku-ES4A4
a8db562017a7338e8d6bcb2b8c499918d2dbcacc
788bb17c51fdb6c785ce590d6b2f480b5ca57620
refs/heads/master
2023-03-31T09:17:23.077826
2021-03-26T00:51:47
2021-03-26T00:51:47
347,513,213
0
0
null
2021-03-16T18:31:24
2021-03-14T00:51:23
Python
UTF-8
Python
false
false
958
py
''' Este módulo serve para capturar da aplicação o objeto a ser analisado pelos testes. Para este teste de aceitação, esse algoritmo vai copiar do programa a matriz do sudoku para dentro de um txt nesta pasta, para que ela seja posta a experimento. ''' import sys sys.path.append('..') # faz o interpretador do python...
[ "x.gabriel12@gmail.com" ]
x.gabriel12@gmail.com
a533b0bbf1a157321770b9dbbc916a941a39f484
f42f429d6644ad7af57f8db1e5b30da98a4be36a
/Openalea/CPIBOpenAlea/model_structure/gr_exp.py
05a5ea09068bb256c477f0c13414e3c6d6b58d1c
[]
no_license
AlexFletcher/CellBasedHackathon
8aaca2a7cefac750f25465d58659ee74eb9e5328
01d6cdaa1e2e6966cfb8a5f7e83575572ca6d0dd
refs/heads/master
2021-05-04T03:56:03.083933
2016-10-14T14:16:42
2016-10-14T14:16:42
70,808,519
1
0
null
null
null
null
UTF-8
Python
false
false
4,092
py
import time from model_input.import_utils import set_vtk_strings from model_utils.db_utilities import get_mesh,get_graph class Gr_exp(object): name = 'gr_exp' def __init__(self,db): self.db=db self.mesh=get_mesh(self.db) self.position=self.db.get_property('position') intime=time.time() def get_...
[ "nathan.mellor@nottingham.ac.uk" ]
nathan.mellor@nottingham.ac.uk
f54880dff65d337d7b2931e980efba19cd6d1f8e
532e3f4530353fdf9b6befb8a88c1dd450f42c36
/Dashboards/import_screenboard.py
4332884d6aa43614d87ab6f05933b3a1fee15621
[ "BSD-3-Clause" ]
permissive
DataDog/Miscellany
9aad31b7ac2d635c1a9dd9af8f4ab927c9914e3a
b55849ab0b2ec95642d4082a834218b32276884e
refs/heads/master
2023-08-10T20:20:41.437060
2022-09-23T06:40:40
2022-09-23T06:40:40
48,389,989
204
149
BSD-3-Clause
2023-07-21T13:35:55
2015-12-21T19:27:04
Python
UTF-8
Python
false
false
1,771
py
# After editing 'sb.json' dump contents into a new python script # Usually all you will need to do is copy and paste the widgets section # Then change lowercase 'true' to True, 'false' to False, and 'null' to ""​ from datadog import initialize, api import json options = { 'api_key': 'API_KEY', 'app_key': 'AP...
[ "noreply@github.com" ]
DataDog.noreply@github.com
49877c57c72dee5cbe218fe2e64d2217d830741f
bdbc9cd8c64cfa92efffb9e138cb282d36f69b0a
/addons/l10n_fr/report/compute_resultant_report.py
f5efb88c6bbc0350f0a8bd9034a5e969ee4bd4a2
[]
no_license
clebaresu/impra-adns
d330cece1b710643625627bfd7ed66bac7d233ef
8b9889d86c6ea194cfb7b0db8bdc3284635cc081
refs/heads/master
2020-05-02T16:51:41.798969
2019-03-27T22:03:32
2019-03-27T22:03:32
178,080,681
0
0
null
null
null
null
UTF-8
Python
false
false
4,102
py
# -*- coding: utf-8 -*- # # # Copyright (c) 2008 JAILLET Simon - CrysaLEAD - www.crysalead.fr # # WARNING: This program as such is intended to be used by professional # programmers who take the whole responsability of assessing all potential # consequences resulting from its eventual inadequacies and bugs # End...
[ "clebaresu@gmail.com" ]
clebaresu@gmail.com
094303dc0d3178e9130d67d308a24985764ae62b
953338866e0a4af3909b74a8160d36aeb468cbb4
/workMETRLA/AGCRN.py
ba3318c0bef09d5aa862b042c10ab3388513d484
[ "MIT" ]
permissive
yuanxw5/DL-Traff-Graph
6acf80e7ca4ab0fd77f7105de660d1ca3e78e76c
63f3d81ce3a750e43645c61089c5ca219bfcbfd3
refs/heads/main
2023-07-11T10:22:53.897701
2021-08-24T02:34:09
2021-08-24T02:34:09
402,801,017
1
0
MIT
2021-09-03T14:39:33
2021-09-03T14:39:32
null
UTF-8
Python
false
false
6,385
py
import torch import torch.nn.functional as F import torch.nn as nn class AVWGCN(nn.Module): def __init__(self, dim_in, dim_out, cheb_k, embed_dim): super(AVWGCN, self).__init__() self.cheb_k = cheb_k self.weights_pool = nn.Parameter(torch.FloatTensor(embed_dim, cheb_k, dim_in, dim_out)) ...
[ "jiangrh@csis.u-tokyo.ac.jp" ]
jiangrh@csis.u-tokyo.ac.jp
a7f40c4f54f04c935594f74bbb6c22189d24d056
a8750439f200e4efc11715df797489f30e9828c6
/ACMSGuru/484_A_row.py
37eb018316d77d483bc0dd6ae058782bfb15516a
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
''' Examples inputCopy 3 101 outputCopy Yes inputCopy 4 1011 outputCopy No inputCopy 5 10001 outputCopy No ''' noe = int(input()) ins = "0"+input()+"0" print("NO" if ("11" in ins or "000" in ins ) else "YES")
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
ebe7f8ded78c36324681f3548c15f6266a92babe
462325550ca3f29dc833a9f0aa2564b84aebe4b3
/developer.py
a8b27bb5c7ce458b77d142a2b9f3225fac20699e
[]
no_license
papasmf1/python1102
76d2582d212cf4fbafa3b4a976994388ce6f85ec
7fcc2f9736151ef3124318c49cfd865d18373040
refs/heads/master
2023-09-02T08:17:20.935788
2021-11-04T07:52:27
2021-11-04T07:52:27
423,665,070
0
1
null
null
null
null
UTF-8
Python
false
false
889
py
#상속 연습 class Developer: def __init__(self,name): self.name = name def getSalary(self,day): result = day * 50000 print("개발자 월급:", result) class WebDeveloper(Developer): def __init__(self,name,skill): Developer.__init__(self,name) self.skill = skill def getSalary(...
[ "papasmf1@gmail.com" ]
papasmf1@gmail.com
94e42b76552f2a5696816859d5e0e5682c99eccf
733ad18b70ef5e4e66e7d9d1ffea48e66ad4a7cb
/test.py
bc0a60bb7a7776328f0d078e46f6b27d7b695d24
[]
no_license
SmallHedgehog/Detections
36e4bc29f992991f902867ffce5d67d24cf7cc88
77d467a9725df1b70ed2a3d63ba4b503c5f14f50
refs/heads/master
2020-07-03T00:36:46.672542
2019-10-21T12:40:27
2019-10-21T12:40:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
import argparse import yaml import logging import random import numpy as np import torch from easydict import EasyDict from lib.dataset import VOCDataset from lib.dataset import MakeDataLoader from lib.execute import Execute from lib.transform import Resize, Compose from lib.transform import ToTensor, ToGridCellOffs...
[ "hedgehogcaifei@outlook.com" ]
hedgehogcaifei@outlook.com
e2e6ebfe155cf60e97d32f3e58150269bcccd2a4
521cc868fbaaf1ad239fe85993d4980468d7dee9
/imageclassification/setup.py
349b6831b1a237844300eea327a70b3993ebcc0a
[ "MIT" ]
permissive
soumyapinjala1/keras-imaging
f4a098ca6ea0df3e465704af13553ba5a16659a9
827a201d06925734fb4f3dbe347f9cead19d7376
refs/heads/master
2022-03-04T12:43:36.897274
2019-10-18T03:39:57
2019-10-18T03:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
from setuptools import setup def _read(f) -> bytes: """ Reads in the content of the file. :param f: the file to read :type f: str :return: the content :rtype: str """ return open(f, 'rb').read() setup( name="wai-keras-imaging", description="Python library for performing image...
[ "fracpete@gmail.com" ]
fracpete@gmail.com
ffeddb8d77a065f665a54e1342f4cffc723e2bbf
d2845579ea6aa51a2e150f0ffe6ccfda85d035ce
/kernel/transfer/framework/horz/test/blocks/test_has_converged.py
4af3377f4a7d3e36908bd4711273bfa05df84295
[ "Apache-2.0" ]
permissive
as23187/WeFe
d8de9ff626f9f3e5d98e0850b0b717a80fd73e72
ba92871d4b1d2eef6c606c34795f4575e84703bd
refs/heads/main
2023-08-22T12:01:06.718246
2021-10-28T01:54:05
2021-10-28T01:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
# Copyright 2021 Tianmian Tech. 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 applicable la...
[ "winter.zou@welab-inc.com" ]
winter.zou@welab-inc.com
45b1ee0aa88f1866e8526a3b25d219eed8813d1d
edfcd96f0010ea068a4c046bdcf7067ff92d3f9b
/Python-DB/MySql_Delete_Table.py
48bb67e4e9bfb49dee2005e0354bd07c04eb74d9
[]
no_license
afsanehshu/python-project
a99ff558f375c1f5e17ea6ffc13af9216ec4733f
48905cfd24df6d1f48460d421ed774f19403cf53
refs/heads/main
2023-08-03T01:53:32.812949
2021-09-22T19:36:25
2021-09-22T19:36:25
409,303,454
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
import mysql.connector mydb = mysql.connector.connect(host="localhost", user="root", password = "Master123$", database = "Techone24" ) mycursor = mydb.cursor() sql = " DROP TABLE customers " mycursor.execute(sql)
[ "afsanehshu@gmail.com" ]
afsanehshu@gmail.com
f861ab40245dc0d1be5d0539ac7af889a8eda687
3f0c8f283e3835039b51ab4fde8fa25e5e7e6a9a
/tests/test_clone_body.py
491d1f2001b1fc9ade1bd4616df3da6849f70a1c
[ "MIT" ]
permissive
yijiangh/pybullet_planning
531a1caf1c947345a7445edd43ffd01e2b178556
037c61dc3fe8d9021df59928f7bef57d41f8588f
refs/heads/dev
2023-07-25T00:12:30.378870
2022-06-05T17:55:00
2022-06-05T17:55:00
212,885,413
100
15
MIT
2021-10-04T22:31:26
2019-10-04T19:09:21
Python
UTF-8
Python
false
false
6,534
py
import os, pytest import numpy as np import pybullet_planning as pp from pybullet_planning import LOGGER, wait_if_gui from pybullet_planning import load_pybullet, connect, LockRenderer, has_gui, WorldSaver, HideOutput, \ reset_simulation, disconnect, set_camera_pose, has_gui, wait_if_gui, apply_alpha from pybullet_...
[ "yijiangh@mit.edu" ]
yijiangh@mit.edu
df00cb1152029bd403d35c3b8e938a25ce74ddc5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_280/ch159_2020_04_29_20_20_05_443058.py
1d04ae5e163e1d3b655506fc3e6f0226f7b0a4e8
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
import json with open('estoque.json', 'r') as arquivo_json: texto = arquivo_json.read() dicionario1 = json.loads(texto) lista_produtos = dicionario1["produtos"] quantidades = [] valores = [] i = 0 while i<len(lista_produtos): for qtde, val in lista_produtos[i].items(): if qtde == "quantidade": ...
[ "you@example.com" ]
you@example.com
92e5ab3fd467a472350c64f56d6e837d7df61fe0
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/firestore/operations/__init__.py
3c32b5da86d601c3374bd9f24bdae6804976c9ec
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
930
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google Inc. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
fc3361447f6c4cd8257ee71e6d22e6be60e61b0c
c8a0f1ee8ca4b27d6b71e1a358f950a5f168b953
/Trocando valores entre variáveis em python/Aula.py
3c779839b143be98bd370ce2d8d2f59ae988bdb0
[]
no_license
natanaelfelix/Estudos
0c3a54903a5ac457c1c1cfbdc22202683c46b62c
10b33fa7cb8521d63ea6a14c04894a5f7e86ee0c
refs/heads/master
2022-12-16T12:07:45.088305
2020-09-19T19:56:07
2020-09-19T19:56:07
296,936,330
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
x = 10 # luiz y = 'Luiz ' #10 #Modo Dificil z = x x = y y = z print(f'x = {x} e y = {y}') #Modo Facil x = 10 # luiz y = 'Luiza' #10 x, y = y , x print(f'x = {x} e y = {y}')
[ "natanaelmartinsfelix@hotmail.com" ]
natanaelmartinsfelix@hotmail.com
820434efa51ae2a9f0b9231baddde157abf004b3
75b6e951057fcec9d34907ce96727143f6c72445
/backend/event/migrations/0001_initial.py
98adb5d2c82944443a791dd8b33c17fe3e12de87
[]
no_license
crowdbotics-apps/lynx-15694
864afb273e21e39ada77ab2401e58c0151926dd4
44e63f393b36313ed35d1f2c8e25a14a0752f2a3
refs/heads/master
2023-02-08T23:14:53.058134
2020-04-09T23:18:10
2020-04-09T23:18:10
254,497,832
0
0
null
2023-01-24T03:02:00
2020-04-09T23:14:37
JavaScript
UTF-8
Python
false
false
5,766
py
# Generated by Django 2.2.12 on 2020-04-09 23:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8db02bac82806a7a683667e1fb6cd7d7c3989d88
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxtlvfcoeintel_hrpbmdzl2rjynhubhzgy29lsw50zww.py
30eb645c617744a4f211b5231d7cb526da291af8
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
4,448
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com