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
d395e88e78495685bd15dda53e430a096598c67f
75dcb56e318688499bdab789262839e7f58bd4f6
/Python Solved Interview Ques on Algorithms, Data Structures/Section 2 Linked Lists/src/24. write a program to find the nth node from the end of the single link list.py
150c09ffb43667a904ff3d4b48337a7019d55d76
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
2,827
py
from pprint import pprint class Node(object): def __init__(self, data=None, next_node=None): self.data = data self.next_node = None def get_data(self): return self.data def get_next(self): return self.next_node def set_next(self, new_next): self.next_node =...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
919a73832770c541c7baa2a0630e92cde3839176
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/scipy/ndimage/morphology.py
dd07d60671b27cb21791971fde6ef28728ab14d8
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:df30a898056965cbdac6e968045fc95c265e0cdbd331434d1510c5459ada5466 size 82893
[ "business030301@gmail.com" ]
business030301@gmail.com
c9c39cd5d450cf314156014eea75e70b89ab82cf
7f88cff95ea5e6f049f73b2646038e90f8eeee7c
/manage.py
e8eb27a53fe13433f28e3c0174aa1d48bb798327
[]
no_license
arecker/Diplomacy
a2fe2806571dad1560322c3ffe53e9c70860875e
3ac6ce4ef20b64ffe618eaf41cdce6d19e87f1f8
refs/heads/master
2020-05-19T11:55:26.421119
2014-09-08T04:52:02
2014-09-08T04:52:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Diplomacy.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "alex@reckerfamily.com" ]
alex@reckerfamily.com
0ad13eb4e29b3386d8c00808b0f53447bf96d265
1af6958461af6257264ace2a6d13385b47104606
/pyscf/pbc/dft/roks.py
3c469013df450f7a834dadd301d3cbc0690a61bb
[ "Apache-2.0" ]
permissive
tmash/pyscf
ac9a86c078170044b52be71e5d00fa5f680f55af
89c101c1c963e8247808635c61cd165bffab42d6
refs/heads/master
2020-12-04T04:41:23.456744
2020-01-02T18:05:16
2020-01-02T18:05:16
231,615,690
1
0
Apache-2.0
2020-01-03T15:33:33
2020-01-03T15:33:32
null
UTF-8
Python
false
false
2,626
py
#!/usr/bin/env python # Copyright 2014-2019 The PySCF Developers. 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 # # U...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
fec7ca4d88a22cc9d0b015a46b7c99d804abc136
a86287b997aceb02b836a951a188fff5c98cdca8
/train_cnn_multilabel/lib/model/build_model/build_net.py
f4a07a385837caef4101286ced7add271a637cd9
[]
no_license
wonqiao/train_arch
fbdd9ee59ed67ad2a71e638fbcdaadafedc68759
f78aabffdfb65dd1d40ede40dde81de3b04f2144
refs/heads/master
2023-01-29T20:21:24.977626
2020-12-09T03:54:00
2020-12-09T03:54:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,023
py
# -*- coding: utf-8 -*- """ Created on 2017 10.17 @author: liupeng wechat: lp9628 blog: http://blog.csdn.net/u014365862/article/details/78422372 """ import numpy as np import tensorflow as tf slim = tf.contrib.slim import numpy as np import argparse import os from PIL import Image from datetime import datetime import ...
[ "MachineLP@163.com" ]
MachineLP@163.com
4f849228003e201a912d4e7cd3464b90210ba2da
1a220abd21c56728aa3368534506bfc9ced8ad46
/백준/Bronze/1550. 16진수/16진수.py
7832ae822d7e72c677aed6b3dcb55b7f5d1b12dc
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
31
py
n = input() print(int(n,16))
[ "43032391+JeonJe@users.noreply.github.com" ]
43032391+JeonJe@users.noreply.github.com
d55542441960a07d23cc7a62518e1534a3f74e5c
1cbcf8660d3ea833b0a9aa3d36fe07839bc5cfc5
/apps/targets/customer_contact/__init__.py
6b87ae8474e6de70de0f63c9e5e5e801bd3082ae
[]
no_license
zhanghe06/migration_project
f77776969907740494281ac6d7485f35d4765115
0264b292873b211bfeca0d645cc41abc9efe883f
refs/heads/master
2022-12-12T10:55:43.475939
2019-09-29T09:19:13
2019-09-29T09:19:13
185,584,884
0
1
null
2022-12-08T05:04:58
2019-05-08T10:31:57
Python
UTF-8
Python
false
false
251
py
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: __init__.py.py @time: 2019-04-27 16:34 """ def func(): pass class Main(object): def __init__(self): pass if __name__ == '__main__': pass
[ "zhang_he06@163.com" ]
zhang_he06@163.com
06434aa6ebf373694a3a03999a3ded9393a6117f
52e05d43e6c37ee7a586118cf0f390b04e92ada3
/1110. Delete Nodes And Return Forest _ DFS.py
bb183fd2e0692add30b7a5a2a20ca07e00862a4e
[]
no_license
CaizhiXu/LeetCode-Python-Solutions
8f7a856e11e0804f32c43ed98bc08525a950ac13
63120dbaabd7c3c19633ebe952bcee4cf826b0e0
refs/heads/master
2021-05-18T04:57:16.412834
2020-08-05T04:33:13
2020-08-05T04:33:13
251,121,107
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def delNodes(self, root: TreeNode, to_delete: List[int]) -> List[TreeNode]: res = [] to_del = set(to_delete) def...
[ "xucaizhi@gmail.com" ]
xucaizhi@gmail.com
7b71d834d023a84b4aaa8d6b15eb9cb07ce8733c
e5aac74d568023a2888ef7545f18afe62f6cefd0
/state-of-the-data-for-desktop/GP Toolbox/src/geodataset/io/sqliteio.py
21a3d64301609421d91e291b3b6ae45dae57ceac
[ "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
ngageoint/state-of-the-data
3d42088b4c3239425e15e9858523c9d35a65cbbd
e654448a3a8a933acefb85a462042e016ca1a91a
refs/heads/master
2023-02-22T17:15:23.100068
2023-02-15T18:36:12
2023-02-15T18:36:12
103,418,047
22
8
MIT
2018-08-24T15:31:31
2017-09-13T15:35:01
Python
UTF-8
Python
false
false
2,252
py
""" Converts a Spatial DataFrame to a SQLite DB """ from __future__ import print_function from __future__ import division import os import json import warnings from .fileops import to_featureclass SUPPORTED_FORMATS = [] try: import arcpy HASARCPY = True except ImportError: HASARCPY = False warnings.warn...
[ "gbrunner@esri.com" ]
gbrunner@esri.com
fc15a6303b1c12ad1011cc04bc681bdd5154c7b2
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/taxonomy/simple_expressions/arithmetical/imul/error___imul__.py
1f57cea34fc5f77376f4ba5a89eea4a414591786
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
12,357
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: # coding=utf-8 2: __doc__ = "No __imul__ method is present" 3: 4: if __name__ == '__main__': 5: class Correct: 6: def __imul__(self, other): 7: other *= other 8: return other 9: 10: 11: x = Correct() 12: x *= 4...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
3facdc3f56d663f6217467843d6555deb82a56cb
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_2076.py
beb5b45acdf83629213cac2ba300ecc3d27fbc14
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,331
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
a239f00eca630581cc74890de3c93562d80de37c
36f05a64c8b87422afd619a98f5376d3bcfeccf3
/networking_bagpipe/agent/bgpvpn/agent_extension.py
59289d703260bbaafb675e2d5c622819aabd19ef
[ "Apache-2.0" ]
permissive
ythomas1/networking-bagpipe
a794bb6fce86afcfbd7f3453a927a1a8f92dda39
fc6874e624ff3985b87aefff752857152bb1c475
refs/heads/master
2021-01-15T16:36:20.256400
2017-08-02T17:04:20
2017-08-02T17:04:20
46,333,069
0
0
null
2015-11-17T08:24:32
2015-11-17T08:24:31
Python
UTF-8
Python
false
false
2,452
py
# Copyright (c) 2015 Orange. # 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 a...
[ "thomas.morin@orange.com" ]
thomas.morin@orange.com
10f78f0dfa109a395454c30dc579bf5c0952f2ab
796518cbc7efd830c1c376fa38abffdf0940763e
/conf/RocksDBQuizup.py
0a3b2dfa763facbae5b02aa950e008a1d114c1bb
[]
no_license
hobinyoon/mutant-ec2-tools
40bec163ad99ab7cbd7ec0ac98f163be553c013c
c645b6c3cd5b9bd8745272041185eede7b982b75
refs/heads/master
2021-09-08T12:36:43.764166
2018-03-09T18:08:45
2018-03-09T18:08:45
65,597,924
0
1
null
null
null
null
UTF-8
Python
false
false
1,467
py
# Storage usage measurement for unmodified RocksDB and Mutant with # sstable migration threshold 10. storage_usage_measurement_unmodified_rocksdb = { "monitor_temp": "false" # Fast device paths. , "fast_dev_path": "/mnt/local-ssd1/rocksdb-data" # Slow device paths. , "slow_dev_paths": {"t1": "/mnt/ebs-gp2/rocksd...
[ "hobinyoon@gmail.com" ]
hobinyoon@gmail.com
db6b52569ee5283f3884a5aafd8531de68935234
ba7c4862dfbc9d0469f389c0cdb3fed01f99ebe3
/controls/bode/problem6.17d.py
a4e058527768c54ac35ddfff48e95186d110aa55
[]
no_license
cmontalvo251/Python
293cbdf8832d7637d5c0b31eadd02d3ccf2f2c05
2b12ce043ee41e08537cfb62301c6a55d4661e04
refs/heads/master
2023-06-22T21:50:21.225067
2023-06-14T13:42:16
2023-06-14T13:42:16
229,313,158
8
3
null
2021-07-31T16:01:54
2019-12-20T18:03:52
Python
UTF-8
Python
false
false
871
py
import control as ctl import matplotlib.pyplot as plt import numpy as np G1 = ctl.tf([1],[1,0,0]) print(G1) G3 = ctl.tf([1,1],[1])*ctl.tf([1,1],[1]) print(G3) G2= ctl.tf([1],[1,10]) print(G2) GOL = G1*G2*G3 ctl.bode(G1,dB=True,label=str(G1)) ctl.bode(G2,dB=True,label=str(G2)) ctl.bode(G3,dB=True,label=str(G3)) ctl....
[ "cmontalvo@southalabama.edu" ]
cmontalvo@southalabama.edu
0f2cae13e09d5c67d434ded31025e3b66c822e0d
6c0f51a5b673a9359616b19077b2ad098b117510
/{{ cookiecutter.project_slug }}/config/urls.py
6b19ce9e1b85644f28ed50d031d8e901bb8d7faf
[]
no_license
pythonmentor/cookiecutter-simpledjango
86a5ac6ba3644231c592bebf889f91c74a9911c2
b1b6170d3860b1f3f60b34781edad19754d4b90f
refs/heads/main
2023-05-25T10:30:47.131061
2021-06-01T10:44:12
2021-06-01T10:44:12
372,794,103
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
"""monprojet URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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-bas...
[ "tchappui@gmail.com" ]
tchappui@gmail.com
98ed664d04b7ea7b377e819cbe9212fd23fa8e81
086dcfda911bfbeb5b5a9646847768dd21bd9302
/experimental/nanomax/reccrop_align.py
bc7139a7eefaf6a7db1ab765beaef2fc51145d03
[]
no_license
nikitinvv/ptycholamalign
949ed83940498d1b84bbb0847408b44e0f812976
bb536d2da3f879bb25385aa0237806d9bf41bc25
refs/heads/main
2023-07-13T11:50:16.677110
2021-07-22T15:00:00
2021-07-22T15:00:00
377,331,860
0
0
null
null
null
null
UTF-8
Python
false
false
2,544
py
import dxchange import numpy as np import sys import ptychotomo data_prefix = '/data/staff/tomograms/vviknik/nanomax/' if __name__ == "__main__": n = 512-128 nz = 512-192 ndet = 128 ntheta = 1 ptheta = 1 voxelsize = 18.03*1e-7 # cm energy = 12.4 nprb = 128 # probe size recover_p...
[ "vnikitin90@gmail.com" ]
vnikitin90@gmail.com
ded45e69e5a4a93d279a4b6283c7f5ba4fd543dc
ae07a7dadba9f4a22e6b1b550aacabd5c4aa76d3
/test_host_pool.py
dace77873b4878a431e74b054474ff20b08705ca
[]
no_license
davemarchevsky/host_pool
afdf0152208581e28f3fbbf11a7f8d9488353b0f
af1cfaf22e63b8b9667ce6e7658225626cf92519
refs/heads/master
2020-04-06T06:40:19.150107
2012-06-14T15:40:27
2012-06-14T15:40:27
36,826,687
0
0
null
2015-06-03T19:49:21
2015-06-03T19:49:21
null
UTF-8
Python
false
false
798
py
""" this is a py.test test file """ import host_pool def test_basic(): pool = host_pool.HostPool(['a','b','c']) assert [pool.get(), pool.get(), pool.get(), pool.get()] == ['a', 'b', 'c', 'a'] pool.failed('a') pool.failed('b') assert pool.get() == 'c' pool.success('c') assert pool.get() == ...
[ "jehiah@gmail.com" ]
jehiah@gmail.com
bd44693c98ba27cd26a8b3fe24a53c629fef23b7
0c25196fc490ab8394a8e578f50bfd07670a54d0
/partition/lib/layers/partitionNet.py
e4c11789911e749cf1ddc4ed652a9f5d1097bed8
[]
no_license
xiaogaogaoxiao/MinMax-MTSP
42b73f9a64ce9731e387dabc0f77e721571488ec
ae05e3d6666e01e15ecdfeb8bd1e2f2a5b8770ff
refs/heads/master
2022-11-22T22:46:01.111180
2020-07-22T06:40:03
2020-07-22T06:40:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
import torch from torch import nn as nn from torch.nn import functional as F import numpy as np from .graph_embedding_v2 import graph_embedding_v2 as graph_embedding from .prob_decoder_v2 import attention_decoding class mtsp(nn.Module): def __init__(self, hidden_size, etypes, anum, common_hop, global_hop): ...
[ "noreply@github.com" ]
xiaogaogaoxiao.noreply@github.com
e42a8ff958a8f3e65dd6b078f5da28c6ec54ff4d
88e06bab1989c81a2dd649bb09b144fa7c958f89
/ib_zigzag_level_order_traversal.py
f9a240e0e12786bea0f77e10bd2fdb47310d64ee
[]
no_license
VaibhavD143/Coding
4499526b22ee4ef13f66c3abcea671c80a8f748a
5de3bae8891c7d174cbc847a37c3afb00dd28f0e
refs/heads/master
2023-08-06T21:56:44.934954
2021-10-09T18:31:29
2021-10-09T18:31:29
263,890,286
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from collections import deque # Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param A : root node of tree # @return a list of list of integers def zigzagLevelOrder(self, A): ...
[ "vaibhav.dodiya143vd@gmail.com" ]
vaibhav.dodiya143vd@gmail.com
8899fa3853f7fc84f42447ebc786c213d9e4bcc3
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Algorithms/Digit sum/solution.py
2001a198ca46dbdb7d18dd5caec8191751a95b69
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
294
py
def solve(N, S): # Write your code here import math sum1 = sum(int(i) for i in S[:N]) sum2 = sum(int(i) for i in S[N:]) return math.ceil(abs(sum1 - sum2) / 9) T = int(input()) for _ in range(T): N = int(input()) S = input() out_ = solve(N, S) print(out_)
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
49f8a5fe57d809d7b111d1aa952e6f295e6e4572
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/connection_monitor_query_result_py3.py
1c64ec5943b2dbf93e17c6706dcd59b712789fef
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,019
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" ]
lmazuel.noreply@github.com
2d60c8c0cc643820ac1113821f2493b13e928ffc
d87483a2c0b50ed97c1515d49d62c6e9feaddbe0
/.history/get_positions_20210204130508.py
6b253f42b074fceabbbdb12615a40c97aed8ff02
[ "MIT" ]
permissive
HopperKremer/hoptrader
0d36b6e33922414003cf689fb81f924da076a54b
406793c10bc888648290fd15c7c2af62cf8c6c67
refs/heads/main
2023-06-12T15:51:00.910310
2021-07-06T16:15:41
2021-07-06T16:15:41
334,754,936
0
2
null
null
null
null
UTF-8
Python
false
false
930
py
# Buy top tickers from Financhill import requests from tda import auth, client from tda.orders.equities import equity_buy_market, equity_buy_limit from tda.orders.common import Duration, Session import os, sys import time from selenium import webdriver import json currentdir = os.path.dirname(os.path.realpath(__file__...
[ "hopperkremer@gmail.com" ]
hopperkremer@gmail.com
62e6798ae1aa1d1db2237966556f5d73d14f1cf9
09efb7c148e82c22ce6cc7a17b5140aa03aa6e55
/env/lib/python3.6/site-packages/plotly/validators/scatterternary/marker/colorbar/title/__init__.py
d8ac43171127c947b53e687f12fee289453ea3a9
[ "MIT" ]
permissive
harryturr/harryturr_garmin_dashboard
53071a23b267116e1945ae93d36e2a978c411261
734e04f8257f9f84f2553efeb7e73920e35aadc9
refs/heads/master
2023-01-19T22:10:57.374029
2020-01-29T10:47:56
2020-01-29T10:47:56
235,609,069
4
0
MIT
2023-01-05T05:51:27
2020-01-22T16:00:13
Python
UTF-8
Python
false
false
2,623
py
import _plotly_utils.basevalidators class TextValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="text", parent_name="scatterternary.marker.colorbar.title", **kwargs ): super(TextValidator, self).__init__( plotly_name=pl...
[ "griffin.harrisonn@gmail.com" ]
griffin.harrisonn@gmail.com
d61428b8dc7758ec78a012f42ec91fb59746fef0
59565013634749b888e3c67aee5ae2cbf16034a0
/email_alerts/migrations/0004_auto_20190830_2357.py
a95284a1e1eadeee4624c4ee72056e12c2615e78
[ "MIT" ]
permissive
ralphqq/dc-alerts-service
f0a379da3227d0fa3b00ea735dc0255abeefd7c5
f00131dd7b2a0ee72ae5476b40f8552480c655b6
refs/heads/master
2022-07-23T16:51:23.021754
2021-01-08T03:08:04
2021-01-08T03:08:04
204,107,188
1
0
MIT
2022-07-06T20:14:20
2019-08-24T04:15:38
Python
UTF-8
Python
false
false
559
py
# Generated by Django 2.2.4 on 2019-08-30 15:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('email_alerts', '0003_emailalert_outage'), ] operations = [ migrations.AddField( model_name='emailalert', name='html_...
[ "ralph.quirequire@outlook.com" ]
ralph.quirequire@outlook.com
86da368eb4e41c4fa88e4d238399cf642e833290
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_168/107.py
4e9afe128bb50fef4346159faa22441e441dae44
[]
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,145
py
def solve(): n, m = map(int, raw_input().split(' ')) board = [] forbidden = {} for i in range(n): board.append(raw_input()) for i in range(n): j = 0 while j < m and board[i][j] == '.': j += 1 if j < m: if (i, j) in forbidden.keys(): forbidden[(i, j)] += ['<'] else: forbidden[(i, j)] = ['...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d660c5d829295964a5534a6ba8422f435632e70f
82762d776e2400948af54ca2e1bdf282885d922c
/230. 二叉搜索树中第K小的元素.py
5a20a9b94ba6f3c2198658f6a2b6fc77bb468fed
[]
no_license
dx19910707/LeetCode
f77bab78bcba2d4002c9662c122b82fc3c9caa46
624975f767f6efa1d7361cc077eaebc344d57210
refs/heads/master
2020-03-17T02:50:46.546878
2019-06-25T09:22:13
2019-06-25T09:22:13
133,208,490
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def kthSmallest(self, root, k): """ :type root: TreeNode :type k: int :rtype: int """ ...
[ "dx19910707@qq.com" ]
dx19910707@qq.com
9c78ddfeb9976b6e32ddd5fc0eb6398af3be79df
3ed7d76dd1c09cad2c4acfe0b7244909603eb14c
/cardinality_email_address_search.py
3369ce66c897bc5f1c56453061601fc9217c273c
[]
no_license
chrisgarcia001/Spark-Email-Analytics
85c76dc5a3a7c2b7590e7f3464d8ef73d49f8db3
1b0f23b667e46d754e58ac4782578f6f007b825a
refs/heads/master
2021-01-13T03:40:13.889916
2017-01-28T15:07:38
2017-01-28T15:07:38
77,252,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
#-------------------------------------------------------------------------------------- # Author: cgarcia # About: This script is for cardinality-based searching of email addresses/recipients. # The recipient categories to include in the search (FROM, TO, CC, and BCC) may # be specified in the parameter ...
[ "chrisgarcia001@gmail.com" ]
chrisgarcia001@gmail.com
7246d2f17b7509bbe8dd7dd825e9490b6e3ce507
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/services/services/campaign_extension_setting_service/client.py
b75c779f95fe8737e896b1c0d5952f5c6e2f86fb
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,912
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
5750b4f5d92309b1095905b59c93c6cde3c6af35
bc441bb06b8948288f110af63feda4e798f30225
/metadata_center_sdk/api/stream/replace_metric_states_pb2.pyi
8124a33ad0765192ed1c9f9102afbbd753b20371
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,328
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
9fcae6114889d1a79f7a03c5ce801617639da1d2
b7a98a761007cf8b913b75152a278c1693f2d00d
/assignment/w2/solve/solve.py
22a38e9847650cf17a5187173d8693fa5b9b7f3d
[]
no_license
VuHoangvn/descrete_optimize
be18fcfc230a9d1133ec94a49b1fc5cfcb50b449
7a17d472af7d54624860aeff590db423a7e47d59
refs/heads/master
2022-10-14T00:22:50.368095
2020-06-05T09:48:31
2020-06-05T09:48:31
261,913,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,290
py
from collections import namedtuple import sys Item = namedtuple("Item", ['index', 'value', 'weight']) def greedy1(items, capacity): value = 0 weight = 0 taken = [0]*len(items) items = sorted(items, key=lambda item: item[1], reverse=True) for item in items: if weight + item.weight <=...
[ "20161728@student.hust.edu.vn" ]
20161728@student.hust.edu.vn
884f791cff6c586d1ee3d8dc9d331ef588ed7063
6bcfb27114e076139ebf943b31b34deaf9914463
/main/core/utils/boolean.py
0d8a3023a467e38fcbd8dcb7af7f644f4aae09bf
[]
no_license
101t/jasmin-web-panel
f09be3ebb7de132cc28bc121a186a8eba89e1c24
d7dfe74a63663571178843d5e664b2121d4d5943
refs/heads/master
2023-08-02T22:22:34.421658
2023-07-27T20:54:49
2023-07-27T20:54:49
212,270,500
66
63
null
2023-07-27T20:54:50
2019-10-02T06:31:44
Python
UTF-8
Python
false
false
747
py
# -*- encoding: utf-8 -*- from __future__ import unicode_literals from django.utils.translation import gettext_lazy as _ from django.conf import settings from dateutil.parser import parse from decimal import Decimal import json def is_json(string): try: json.loads(string) except: return False ...
[ "tarek.it.eng@gmail.com" ]
tarek.it.eng@gmail.com
ee6903e5fdd03c2a430fc802f5986673ae4516d9
30416a809d25a51999a1a2e30e737570af6c7fbe
/Maximum_SubArray/SimpleSolution.py
2b77ce2864abd7bbbe821305ec7b26c39e58c8af
[]
no_license
Vanditg/Leetcode
06e22b418d45a841df4256567ec28a653954be77
6f427ea663d3772b0b83f8afc28b7967ead1f574
refs/heads/master
2021-05-24T14:52:54.298801
2020-06-22T12:52:23
2020-06-22T12:52:23
253,614,081
1
0
null
null
null
null
UTF-8
Python
false
false
874
py
##================================== ## Leetcode ## Student: Vandit Jyotindra Gajjar ## Year: 2020 ## Problem: 49 ## Problem Name: Group Anagrams ##=================================== #Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its...
[ "gajjarvandit@gmail.com" ]
gajjarvandit@gmail.com
84cae00b0f369d981d3ff72eed4bc4faee9810c9
e85d607089033f1f06b60e347ebfe2c0e87b9831
/raet/raeting.py
b8402de189181c666c0634debdbdbf7d73f9e104
[ "Apache-2.0" ]
permissive
rainsome-org1/raet
a182dd3322fb7ce35714f127b8a20d88468759a7
e54474d51ba9e83621fe8f5310b38fbb851b99f2
refs/heads/master
2021-01-15T17:46:38.351252
2014-07-29T21:01:11
2014-07-29T21:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,271
py
# -*- coding: utf-8 -*- ''' raeting module provides constants and values for the RAET protocol Production Ports for Raet Master 4505 Minion(s) 4510 Packet Data Format. The data used to initialize a packet is an ordered dict with several fields most of the fields are shared with the header data format below so only th...
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
2a706ab290abef4b2418b5bdebab396cab5879ec
e0af8662a03acfd3719630eea571efaf366630ff
/Topics/Intro to NumPy/Collecting info/main.py
4f0d5105ae440ab0e54cc1f4804e326a3f475d58
[]
no_license
ivanelisandro/PythonStudiesMatrixProcessor
5a594491646b63875c7aaeef85c517a1e88c421d
f21396191eabcc957f5f070cb47c0dd5c2fe9e87
refs/heads/master
2023-07-03T21:27:56.489680
2021-07-31T23:29:10
2021-07-31T23:29:10
349,613,696
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import numpy as np def collect_info(array: np.ndarray): shape = f'Shape: {array.shape}; ' dimensions = f'dimensions: {array.ndim}; ' length = f'length: {len(array)}; ' size = f'size: {array.size}' return shape + dimensions + length + size
[ "ivan.elisandro@gmail.com" ]
ivan.elisandro@gmail.com
4067179fa5ed3b2c909ee511341faa65c15f342f
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/kosmos-2/torchscale/examples/fairseq/tasks/data/utils.py
c551398cf4d64a69113c0a0ac0754cc24671dda3
[ "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
4,858
py
# Copyright (c) 2022 Microsoft # Licensed under The MIT License [see LICENSE for details] import collections from random import Random from typing import Dict, Iterable, Optional import numpy as np from infinibatch import iterators EOL_SYMBOL = "</line>" BOI_SYMBOL = "<image>" EOI_SYMBOL = "</image>" def apply_to...
[ "1083127130@qq.com" ]
1083127130@qq.com
c31edfe4ee2595abd5fc3d7c8201a4fc07dc95a0
c3c31ce9a8822ac0352475934f5b3fbdacac62a1
/ssseg/modules/models/gcnet/contextblock.py
b9c7d1afc60e5ef55a4d5189eb86af61edb33ec4
[ "MIT" ]
permissive
guofenggitlearning/sssegmentation
1e51b5b14bff3b5ad0d469ac98d711adb79cef11
7a405b1a4949606deae067223ebd68cceec6b225
refs/heads/main
2023-08-28T03:26:39.204259
2021-11-03T00:51:30
2021-11-03T00:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,578
py
''' Function: Implementation of ContextBlock Author: Zhenchao Jin ''' import torch import torch.nn as nn from ...backbones import BuildActivation, BuildNormalization '''context block''' class ContextBlock(nn.Module): def __init__(self, in_channels, ratio, pooling_type='att', fusion_types=('channel_add', )...
[ "1159254961@qq.com" ]
1159254961@qq.com
1ffd00afa72ebf7a9125d43254cec437cbd6854a
7f26f3bb3fd3950782511a5c350954f1815de1dd
/apps/home/urls.py
7fe050a893cc36babb49c46521746ea3f920f213
[]
no_license
matheuskaio/SistemaGerenciamentoQuestoes
e70bf43650965c4fb60d3ae810d5a5b73fafa746
62d987e5ff7de9c5104d1e5cc5753408cc5da564
refs/heads/master
2020-04-22T00:31:03.972907
2019-02-27T00:36:16
2019-02-27T00:36:16
169,982,367
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.contrib import admin from django.urls import path from .views import home urlpatterns = [ path('', home, name='page-home'), ]
[ "m.k.m.p.2000@gmail.com" ]
m.k.m.p.2000@gmail.com
162633af790e0e0dd0e83a473923907890d69016
2368797b51548c0f6393d63bf4973898ac99d528
/backtrack/medium/q17.py
1c9324f63cdbdd5624dea39d2af14c9a42872311
[]
no_license
pengzhefu/LeetCodePython
595887d1625666962e7e959ffa148580f9b89ada
59eff778a5fd5cff3b5b6b88c6c7e76dd213dfb0
refs/heads/master
2021-06-08T19:44:52.487031
2021-06-01T15:44:29
2021-06-01T15:44:29
175,763,155
1
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
# -*- coding: utf-8 -*- """ Created on Tue May 7 23:01:42 2019 @author: pengz """ ''' Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does no...
[ "32311379+pengzhefu@users.noreply.github.com" ]
32311379+pengzhefu@users.noreply.github.com
c8a9e132783fa3406aa6cccb4e2747088eac95ae
47243c719bc929eef1475f0f70752667b9455675
/bungeni.transcripts/trunk/bungeni/transcripts/utils/misc.py
2b629e3b197234716babb4e1505b5d85686230b7
[]
no_license
malangalanga/bungeni-portal
bbf72ce6d69415b11287a8796b81d4eb6520f03a
5cf0ba31dfbff8d2c1b4aa8ab6f69c7a0ae9870d
refs/heads/master
2021-01-19T15:31:42.943315
2014-11-18T09:03:00
2014-11-18T09:03:00
32,453,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
from bungeni.models import domain as bungeni_domain from bungeni.transcripts import domain from ore.alchemist import Session import sqlalchemy.sql.expression as sql def get_assigned_staff(context, role): session = Session() query = session.query(bungeni_domain.GroupMembership).join( (domain.Assi...
[ "mianonjoka@fc5d704a-7d24-0410-8c4a-57ddeba10ffc" ]
mianonjoka@fc5d704a-7d24-0410-8c4a-57ddeba10ffc
2eaf83e3ca96898621383d67b7282929e9fd5094
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/mrex/mixture/tests/test_gaussian_mixture.py
fac1b4738a13d46579e13fd6883bd7dc7b2767da
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
42,218
py
# Author: Wei Xue <xuewei4d@gmail.com> # Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import sys import copy import warnings import pytest import numpy as np from scipy import stats, linalg from mrex.covariance import EmpiricalCovariance from mrex.datasets.samples_generator im...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
ac17e919872c0217dd1773b3165826a2b70d5d3f
5430cd3b483c858567f1687b0bed43eccd4d0fe0
/main2.py
3edd2dac5761b04112fabdd4e1730363820890cf
[]
no_license
roholazandie/gaussian_process_tutorial
a1b46c712d31545ee428db04a511150933902de8
f7efbaa534f6834447cb77a97e5162efd92f9a1a
refs/heads/master
2021-02-14T15:40:12.649801
2020-05-21T16:17:37
2020-05-21T16:17:37
244,816,147
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from gpytorch.likelihoods import GaussianLikelihood, BernoulliLikelihood, SoftmaxLikelihood import torch import numpy as np from gpytorch.settings import num_likelihood_samples from torch.distributions import MultivariateNormal #likelihood = GaussianLikelihood() #likelihood = BernoulliLikelihood() likelihood = Softmax...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
d7a3d0cc1826c1345ebf9505e644db3d1b984e93
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/v1_0/changenotifications_v1_0/azext_changenotifications_v1_0/vendored_sdks/changenotifications/operations/__init__.py
846b46377c5f3a9541a0694b0e86db1c9d1c5da0
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
614
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
785f6cc0f6b0b649ad97f63ae894525caba34b7f
3088dc21f3e5eeb31575704712a695d71772495f
/torch/distributed/pipeline/sync/_balance/profile.py
6b8a240a2cdfe8e9b2f04e57e4c34088184996a0
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
ezyang/pytorch
8e82444c78025ff12fa605a62a18acfc43b176b8
6fc64500d1af9ee1306c7695ab0a2ff01852ff00
refs/heads/master
2023-09-02T01:56:28.108400
2022-06-07T19:13:21
2022-06-07T19:13:21
101,798,885
3
0
NOASSERTION
2022-08-23T22:10:07
2017-08-29T19:28:39
C++
UTF-8
Python
false
false
3,539
py
# Copyright 2019 Kakao Brain # # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. """Per-layer profilers.""" import copy import time from typing import Any, Generator, List,...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e9892d450d6c82da2cbcaf8a6ddcabc7560ed47b
f39528e9bad8cfa78b38fcbb7a5b430ac0c7a942
/Heavy_Neutrino/test2/HeavyNeutrino_trilepton_M-4_V-0.00656_tau_pre2017_massiveAndCKM_LO_pre2017.py
cd445088fe951f8667d975e1299625542ec0488e
[]
no_license
isildakbora/EXO-MC-REQUESTS
c0e3eb3a49b516476d37aa464c47304df14bed1e
8771e32bbec079de787f7e5f11407e9e7ebe35d8
refs/heads/master
2021-04-12T11:11:03.982564
2019-04-29T15:12:34
2019-04-29T15:12:34
126,622,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/slc6_amd64_gcc481/13TeV/madgraph/V5_2.4.2/exo_heavyNeutrino/displaced_pre2017/v1/HeavyNeutrino_trilepton_M-4_V-0.00656_tau_pre2017_massiveAndCKM_LO_sl...
[ "bora.isildak@cern.ch" ]
bora.isildak@cern.ch
8f986f78663716068a9820977ce47f7b7a434129
e26b2488888f4a1046d0f7107b8785a047a0b607
/reqs/tests/sync_agencies_tests.py
e8b88d2d31fe6b827d866d2a2400c27a3ef5406e
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
jcscottiii/omb-eregs
3a0b7a00f4bc8ab2dc9e7bb5f00c51a8454075ef
9b38ba6172be9044b9e352410e6125bbab098ff8
refs/heads/master
2021-01-22T03:50:20.902586
2017-05-17T20:27:09
2017-05-17T20:27:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
import pytest from model_mommy import mommy from reqs.management.commands.sync_agencies import Command from reqs.models import Agency, AgencyGroup @pytest.mark.django_db def test_create_system_groups(): AgencyGroup.objects.create(slug='cfo-act', name='Alt CFO') cmd = Command() cmd.create_system_groups() ...
[ "christopher.lubinski@gsa.gov" ]
christopher.lubinski@gsa.gov
199ab8a4c5bf7af36f4ccf03d82c2ba718c58baf
eb43ddeb1cd3a22ab57803b8747ae304547b607b
/detect.py
1b5dd9551b0b1a076c8b4a30a78246bcfd73c5d6
[]
no_license
SeanEstey/simbot
c393690583488b0d7cccb545050d08821b301bd5
c21519bc0fd6cafbfaea8dc81d1ea1f468bd7278
refs/heads/master
2021-09-05T04:21:30.240290
2018-01-24T06:01:03
2018-01-24T06:01:03
103,627,523
1
0
null
null
null
null
UTF-8
Python
false
false
3,532
py
'''detect''' import os, requests, socket, sys, time from flask import current_app, g from os import environ as env import eventlet, flask #,celery from logging import getLogger log = getLogger(__name__) G = '\033[92m' Y = '\033[93m' ENDC = '\033[0m' #-------------------------------------------------------------------...
[ "estese@gmail.com" ]
estese@gmail.com
6e6e471fe332be2cfdf595fab47fada56802511b
40d608977fa29307016eac4fbcc4cac2afdf630d
/dockermap/__init__.py
0e375d67d5a8f396d69c905bb4c62d196d7b1e27
[ "MIT" ]
permissive
zalan-axis/docker-map
b3862c9f011306d10632c3e5ff6dcd54e79589f4
bdededc7e9721293a9d133af759aedb73f368195
refs/heads/master
2021-01-22T06:03:24.282310
2015-07-11T21:01:22
2015-07-11T21:01:22
38,710,822
0
0
null
2015-07-07T19:45:46
2015-07-07T19:45:44
Python
UTF-8
Python
false
false
153
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = '0.4.1' DEFAULT_BASEIMAGE = 'tianon/true' DEFAULT_COREIMAGE = 'busybox'
[ "matthias@erll.de" ]
matthias@erll.de
ad6aaabf21a2a3f888f2d91cb6c5446eba786f89
b00f8ab1df148363f638e2201e4bfb380e4adfd5
/backend/punch_list_2013/wsgi.py
d7dcdfad535c0e61e53a3bf8d8fc0e5f84ea0c9b
[]
no_license
crowdbotics-apps/punch-list-2013
3cf36e245e0d9478f05e0d457f19032d8fa69dbb
9ca781a8c9111b19e949c3cc330571450a01a56f
refs/heads/master
2022-12-10T13:19:27.235413
2019-04-06T05:14:11
2019-04-06T05:14:11
179,791,558
0
0
null
2022-12-06T16:28:34
2019-04-06T05:14:07
JavaScript
UTF-8
Python
false
false
408
py
""" WSGI config for punch_list_2013 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0b30ec26527ba72b4e5bec28f3fd09c5fa5d6bca
bd81142f05e57b637cc0ddd63edbc3c6b5b4a0a2
/text_reasoning/preclean_baidu_aug.py
a3013306e90cf11a5324728b2a7c3f8cc5cd2497
[]
no_license
Chriszhangmw/ChatBots
876d751f30d1d8ea759440fe1e7d4beb6ef94087
0735918e326bd6ff20b70388ae199ec11d9cbc11
refs/heads/master
2021-12-14T04:10:53.452552
2021-11-28T12:23:10
2021-11-28T12:23:10
210,681,028
5
1
null
null
null
null
UTF-8
Python
false
false
9,952
py
import os import json import random from tqdm import tqdm import configargparse import collections random.seed(2019) CONFIG_FILE = "./config/preclean.yml" invalid_kg = [] with open("data/invalid_kg.json", 'r') as fr: for line in fr: kg = json.loads(line.strip("\n")) invalid_kg.append(kg) print("i...
[ "zhangmw_play@163.com" ]
zhangmw_play@163.com
cf39ae6b277d62ca5bdc3d4e788917c337dca18f
c2b1500ad13c0047c532e12fe5e6277ed2d597f2
/alembic/versions/34a1efbca5fa_initial_state.py
bb940a8f7211055c9970ec0c62019ac2725b2351
[ "BSD-2-Clause" ]
permissive
leetoo/finance
84c67df6d2fd94ca213692dc19043145c7173721
857b22e6b44e99327517c7f01daa8114a2ab87a6
refs/heads/master
2022-08-25T13:42:10.002698
2020-05-14T17:22:42
2020-05-14T17:22:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,708
py
"""Initial state Revision ID: 34a1efbca5fa Revises: Create Date: 2018-01-13 01:18:55.838885 """ from alembic import op import sqlalchemy as sa from finance.models import JsonType # revision identifiers, used by Alembic. revision = "34a1efbca5fa" down_revision = None branch_labels = None depends_on = None def upg...
[ "suminb@gmail.com" ]
suminb@gmail.com
08aa6a4fc9fb79427f66e02b36d9f3bf85e4d36c
3ac0923505e1e03a07742355edec43f23ead82b7
/Daily/sbgo/Leetcode773-滑动谜题.py
23f89e3896e7cc8b59a10a4e177fc43e95037c06
[]
no_license
lock19960613/SCL
5055c940d2529eef981a29698c7ea04212a8b9de
3ea28fd8f5d5233411341283c85667e4b9fc64d5
refs/heads/main
2023-08-03T04:36:33.555296
2021-09-11T06:48:49
2021-09-11T06:48:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
import copy from typing import List from collections import defaultdict class Solution: def slidingPuzzle(self, board: List[List[int]]) -> int: target = [[1,2,3],[4,5,0]] if target == board: return 0 que = [] que.append(board) dist = defaultdict(int) dist...
[ "597494370@qq.com" ]
597494370@qq.com
c2db78bd10c4e4cf1ed27b8c9b1b0f4886f6d8af
f394598dad4276f9667e702b7360ab14dcd10cfc
/unsolved/determine_pythagorean_triplet_in_array.py
470c4dd6327d16ad6d8b32f50019ef91fcff1e8f
[]
no_license
siowyisheng/python-problem-solving
fe9ded3761e637883467cb81abc01bcb0a54b589
7e32767a3ac710ecfc37f205ee35eda194400122
refs/heads/master
2020-03-21T19:57:56.118616
2019-06-28T08:12:09
2019-06-28T08:12:09
138,980,214
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
Given an array of integers, determine whether it contains a Pythagorean triplet. Recall that a Pythogorean triplet (a, b, c) is defined by the equation a2+ b2= c2.
[ "siowyisheng@gmail.com" ]
siowyisheng@gmail.com
b10ae8c9a014f24ddfa186309ec7b3f6edb210b0
cdb64a1003ca454d1ddc5dff10ff73a80c8c6561
/project24/settings.py
5e701a4dccd3fcac2e8cab8de169e40c59961dfa
[]
no_license
harshadvali11/user_registrations
7bce4db5d1aceb5c84ac207434e3c4390001842a
ccad73466c33d0cfe1bbaeaca1bd1fd3b4aa957d
refs/heads/main
2023-01-02T08:55:09.569193
2020-10-31T16:16:53
2020-10-31T16:16:53
308,405,519
2
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
""" Django settings for project24 project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathl...
[ "66057460+harshadvali11@users.noreply.github.com" ]
66057460+harshadvali11@users.noreply.github.com
3f21da2d28dd01d9fd620678640db512c513fb23
86fb443724338a2cd52a83557835aca56f2cd85d
/openapi_client/models/time_tracking.py
4ea0490620bd5fc5bc4d2a9350791ab0f336db76
[]
no_license
baris8/EasyBill4
e59141736636602b9cf0ff6ca380f8b0eb47102b
8abad459b6914e3188b43994f52f9ff020484a9f
refs/heads/master
2022-04-24T19:29:34.082363
2020-04-29T13:29:08
2020-04-29T13:29:08
259,932,650
0
0
null
null
null
null
UTF-8
Python
false
false
13,470
py
# coding: utf-8 """ easybill REST API The first version of the easybill REST API. [CHANGELOG](https://api.easybill.de/rest/v1/CHANGELOG.md) ## Authentication You can choose between two available methods: `Basic Auth` or `Bearer Token`. In each HTTP request, one of the following HTTP headers is required: ...
[ "baris.uectas@dvs.ag" ]
baris.uectas@dvs.ag
44c7ac299ae2dae9703d48e19ce747841d9697ab
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/error_state/team_president_community/program/history/week.py
ce77eec66919d476583fb69de347ee29ec64fbac
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
4,391
py
using CategoriesPOC.TranslatorService; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace CategoriesPOC.Helpers { public static class TranslatorHelper { private const string SubscriptionKey = "ff4f6d9805c06c32539f02cf5b1b4014"; //Enter here the Key from yo...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
97bc9f4d0bf56a3db17890319c87d67f15452a68
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/jnn.py
50d7fd7a09846fd0e6ed4028df013f280b8c6308
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
d1e065d25f2ea68004cdc641c14f85dd604e4edf
65bb9ce5d92d3e7061d9247af9b9b7492f522051
/app/models/order.py
31525bf10c438850c0d6e8cb110351fa16abf245
[ "MIT" ]
permissive
zhongxinghong/EECS-Volunteer-Reservation-2-Backend
3ff70fffc048af0b801e7e7e968718bcabf1b5b3
e468aff0f33760432326a8b355ef8ed028b96bdf
refs/heads/master
2023-02-06T15:57:53.208876
2019-10-29T16:40:29
2019-10-29T16:40:29
218,276,716
0
0
MIT
2023-02-02T06:40:40
2019-10-29T12:00:41
Python
UTF-8
Python
false
false
4,434
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # filename: order.py # modified: 2019-10-29 from ..core.mysql import db from .order_register import OrderRegister class Order(db.Model): __tablename__ = "order" #////////////# # status # #////////////# STATUS_WAITING = 0 STATUS_PROCESSING...
[ "zxh2017@pku.edu.cn" ]
zxh2017@pku.edu.cn
945c2ec05aaf310369002054cee70f01f085dbb7
3de3dae722829727edfdd6cc3b67443a69043475
/edexOsgi/com.raytheon.uf.edex.dataaccess/utility/common_static/base/python/dataaccess/JGridData.py
3286ed5d159460535ab46953c4f86415efbfcd46
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
Unidata/awips2
9aee5b7ec42c2c0a2fa4d877cb7e0b399db74acb
d76c9f96e6bb06f7239c563203f226e6a6fffeef
refs/heads/unidata_18.2.1
2023-08-18T13:00:15.110785
2023-08-09T06:06:06
2023-08-09T06:06:06
19,332,079
161
75
NOASSERTION
2023-09-13T19:06:40
2014-05-01T00:59:04
Java
UTF-8
Python
false
false
4,447
py
# # # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to no...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
cc45589cea1d1873409377315b40bdc24d0f0c23
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2334/60725/269943.py
334f2d82e96ae716a6897cec7f95544f3b6b4e0c
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
131
py
s=inpuut() s.sort() for i in range(len(s)-3,-1,-1): if s[i]+s[i+1]>s[i+2]: print(s[i]+s[i+1]+s[i+2]) break
[ "1069583789@qq.com" ]
1069583789@qq.com
4b001aec0e1aefd869c98ada04b62b7b089a6efa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02989/s757810000.py
9c9e0d629cf22501bd86ad8af73cff499637872b
[]
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
121
py
N = int(input()) d = list(map(int, input().split())) ans = 0 d.sort() ans = d[int(N / 2)] - d[int(N / 2) - 1] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9c4f1e4ff0415e95e800f11fd6f44d7034c019ba
361adca9f871ae8ca03f1d4bedff99b3de5fd0a4
/cameras/3d_reprojection/scripts/gesnat1_random_camera_to_eye_task_nature_walk_1.py
e4a0bfc3dda775a3a2e3a6a491991a37fcf9ab34
[]
no_license
Berkeley-BORIS/NDS-Code
123fb76eb7c339a2dd8dd17fd8110520839e4a50
aca912e22d62980ae78729355ad2b3b761186da3
refs/heads/master
2016-09-06T10:30:00.075969
2015-03-24T18:44:33
2015-03-24T18:44:33
39,850,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
from camera_image_to_eye_image_parallel import * subj = 'gesnat1' fixed_fixations = 'random' if fixed_fixations: # if fixed_fixations isn't empty, we might need to add an underscore if not fixed_fixations.startswith('_'): # so if it doesn't start with an underscore... fixed_fixations = '_' + fixed_fixations # a...
[ "bill.sprague@berkeley.edu" ]
bill.sprague@berkeley.edu
aeb7b9b6b4121d0a128f914a214f6cfdf2f2e9f0
6017802a27c2170a81838faffe65a450081ef142
/addons-own/crm_facebook_leads/dev_tools/get_page_access_token.py
96c8a6b96fce453daf0e9d9216b705ca87b15297
[]
no_license
OpenAT/online
5fe6f997ab6a37cfb90b7651a6d3cef81ff35e73
de4a1fea0b4e60226fc51bd731388e88d2e25b3f
refs/heads/o8
2023-08-06T21:40:37.006251
2023-07-19T15:07:33
2023-07-19T15:07:33
50,013,003
5
9
null
2023-02-16T00:33:21
2016-01-20T07:34:28
JavaScript
UTF-8
Python
false
false
616
py
import requests import json fb_page_id = 123 user_access_token = "aaa" # Generate non expiring page token from user access token # ------------------------------------------------------- response = requests.get("https://graph.facebook.com/v6.0/{}".format(fb_page_id), params={"fields": "access_...
[ "michaelkarrer81@gmail.com" ]
michaelkarrer81@gmail.com
49f49cfdaa08cdd862d5b740a2aef9cf9c925b37
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/resumator/mashable.py
1c9a6712267bbb18e383cb5376581990eb68a7b7
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
import re, urlparse from neekanee.jobscrapers.jobscraper import JobScraper from neekanee.htmlparse.soupify import soupify, get_all_text from neekanee_solr.models import * COMPANY = { 'name': 'Mashable', 'hq': 'New York, NY', 'home_page_url': 'http://mashable.com', 'jobs_page_url': 'http://mashable.t...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
decb161190899b2d4f8215d955c81d89a09608e2
78260a7ab56c581684f5cb6efbf37ae6468cb092
/payserver/test/auto_test/inviter_build.py
272a5f8c611f466cf97ae370cec5c71346fb2fe4
[]
no_license
yiyuhao/FukuanUnion
4702ee0c60b9a8d74a48c4c4c981c2f949dac04e
0d32f98f42591b43e0b4da5e978b627da517f758
refs/heads/master
2022-01-09T21:44:57.767264
2019-06-19T02:48:22
2019-06-19T02:48:22
192,504,062
0
0
null
2022-01-06T22:36:08
2019-06-18T09:00:40
Python
UTF-8
Python
false
false
490
py
# -*- coding: utf-8 -*- # # Project: payunion # Author: zhaopengfei # # Copyright (c) 2018 麦禾互动. All rights reserved. from .inviter import Inviter class InviterBuilder(object): @classmethod def build(cls, info=None): inveter = Inviter() inveter.entry_mini_program() inveter.c...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
2b347cc1a3244a2989c80ba97800643f4c98e31a
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-3652.py
debaba0a54988d2cbd655a6cfe04674a87e28043
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,292
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
96cd40d0c456267907db9867626c9a94990c9e45
d5c8d579a50d7dbb1667c132b08fc64772bfe08a
/env-win/Scripts/django-admin.py
c82a9df5ded4d560fa7fc2e246ed368ce1d0cfa9
[]
no_license
cristiantoong/foodify
de0da712496d75e1289320aa15c4e27ecab432a6
bbde7e8bf28547a32e9ec0850b10992b4068282a
refs/heads/master
2023-05-04T16:02:41.856989
2019-07-14T15:03:25
2019-07-14T15:03:25
196,850,391
0
0
null
2023-04-21T20:33:37
2019-07-14T15:05:07
C++
UTF-8
Python
false
false
177
py
#!c:\users\crist\docume~1\python~4\foodif~2\env-win\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "me@gmail.com" ]
me@gmail.com
4e90aeebd0f62319aeffb5a5e59088fe406edf2f
3b99e2863db4bcd3707e6f13641ddd9156289bc6
/tilemap/part 15/main.py
ad78c39b711f82dce3c79b8034cb630d2f8e8247
[ "MIT" ]
permissive
m-julian/pygame_tutorials
500a5be3b4fad86fad577a7ea5493ac09ca41168
be57d865de4ac0c18148e1785443c05445159779
refs/heads/master
2022-07-18T00:15:01.335459
2020-05-12T15:39:45
2020-05-12T15:39:45
263,055,700
0
0
MIT
2020-05-11T13:48:49
2020-05-11T13:48:48
null
UTF-8
Python
false
false
5,831
py
# KidsCanCode - Game Development with Pygame video series # Tile-based game - Part 15 # Simple Visual Effects (and a bug fix) # Video link: https://youtu.be/ZapYMuV8f1g import pygame as pg import sys from os import path from settings import * from sprites import * from tilemap import * # HUD functions def draw_player_...
[ "chris@kidscancode.org" ]
chris@kidscancode.org
9bed3fa1060e69fa4ba28bf4533886331fe4a9d0
a56a74b362b9263289aad96098bd0f7d798570a2
/venv/lib/python3.8/site-packages/jedi/__init__.py
efec776d28c4f230fc6258bb8ed0734ca99a390a
[ "MIT" ]
permissive
yoonkt200/ml-theory-python
5812d06841d30e1068f6592b5730a40e87801313
7643136230fd4f291b6e3dbf9fa562c3737901a2
refs/heads/master
2022-12-21T14:53:21.624453
2021-02-02T09:33:07
2021-02-02T09:33:07
132,319,537
13
14
MIT
2022-12-19T17:23:57
2018-05-06T08:17:45
Python
UTF-8
Python
false
false
1,749
py
""" Jedi is a static analysis tool for Python that can be used in IDEs/editors. Jedi has a focus on autocompletion and goto functionality. Jedi is fast and is very well tested. It understands Python and stubs on a deep level. Jedi has support for different goto functions. It's possible to search for references and lis...
[ "kitae.yoon@deliveryhero.co.kr" ]
kitae.yoon@deliveryhero.co.kr
d49c9778d1b665719a55615fd53877ad21e877ef
f4726db4ec192dee3709c6d474b1fb9a743e9d2f
/rllib/policy/derived_policy.pyi
b8cb42228bec72e61aa291b9c01e0b19858e26aa
[ "MIT" ]
permissive
SamueleMeta/optimal_is
fc32dbec2eaa1ceb24a70a0c6c7d982bd7cb2c69
7d8e0041825acfa003874cd1ad2aec0581f6a9e1
refs/heads/master
2023-03-05T23:25:22.651481
2021-02-13T21:30:30
2021-02-13T21:30:30
323,657,959
0
0
null
null
null
null
UTF-8
Python
false
false
430
pyi
from typing import Any, Tuple from torch import Tensor from rllib.dataset.datatypes import TupleDistribution from .abstract_policy import AbstractPolicy class DerivedPolicy(AbstractPolicy): base_policy: AbstractPolicy def __init__( self, base_policy: AbstractPolicy, dim_action: Tuple, *args: Any, *...
[ "metasamuele@gmail.com" ]
metasamuele@gmail.com
3569dc7db9ff335a1c3b89a07ae547102c6248d4
2445f8b8f1acac7dfcc8fc51e0c3769958813aa2
/tic_tac_toe_who_wins/tic_tac_toe_who_wins.py
e4e5be9ff130dbed6ccb260e12498d2709c1e6e6
[]
no_license
qinjker/codefights
6ed992d7f7ddadd3bd0a6c55290efd86aec823c2
2516bd03e9f980c3561c8e9e5fa2375dce5e78ef
refs/heads/master
2022-11-15T02:30:30.844734
2020-07-15T21:11:14
2020-07-15T21:11:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# https://app.codesignal.com/challenge/sqoxMxgWEannMAZgz g = eval(dir()[0])[0] c = list(zip(*g)) # columns d = [[g[i][abs(y-i)] for i in (0,1,2)] for y in (0,2)] # diagonals m=9 # game numbers are from 0 to 8 => denote 9 as a draw for l in g+c+d: # lines v=map(lambda x: int(x)%2, l) if len(set(v)) == 1: ...
[ "unabl4@gmail.com" ]
unabl4@gmail.com
755476defc5836e65df85fa05e744f4f9d124091
320bf3ddd6233577d9f2f08f046eaef96f881e4e
/simplemooc/core/migrations/0003_delete_course.py
82d12c308a1d25042c6b3c5194f3edd16958cf8b
[ "MIT" ]
permissive
leorzz/simplemooc
057ba3e220c20907017edfd8d0fc0422f9a6d99c
8b1c5e939d534b1fd729596df4c59fc69708b896
refs/heads/master
2022-10-22T02:24:46.733062
2017-12-17T16:37:04
2017-12-17T16:37:04
112,488,280
0
1
MIT
2022-10-08T17:50:17
2017-11-29T14:52:23
Python
UTF-8
Python
false
false
357
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-26 17:10 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0002_auto_20171126_1647'), ] operations = [ migrations.DeleteModel( ...
[ "rizzi.leo@gmail.com" ]
rizzi.leo@gmail.com
f85bc71a23b275f64f4cea19e2bf37fe66811858
6ab810f6ca51dc2e2d0b7197fc1866b738ca70a2
/Contest/WC220/5632.检查边长度限制的路径是否存在.py
99672ae0fea2d94e8370b032deb4d0077b810c94
[ "MIT" ]
permissive
ApocalypseMac/LeetCode
2309223be0c3e2969850cf1770eef2a447d39317
84c229eaf5a2e617ca00cabed04dd76d508d60b8
refs/heads/master
2023-04-14T19:22:34.340333
2021-03-28T05:20:40
2021-03-28T05:20:40
282,896,723
1
2
MIT
2020-07-29T05:05:19
2020-07-27T12:49:40
Python
UTF-8
Python
false
false
1,423
py
# Union-Find with path compression and union with rank class UF: def __init__(self, n): self.count = [1] * n self.parent = [_ for _ in range(n)] def find(self, i): # find root(i) and compress the path if self.parent[i] != i: self.parent[i] = self.find(self.parent[i]) ...
[ "ApocalypseMac@users.noreply.github.com" ]
ApocalypseMac@users.noreply.github.com
8d21895e4f8ae3600a50c999cb10739d590570f8
e940e2d5e0696b9f1385962100796c3d990c33d1
/chapter2/km_to_mi_exercise_2.9.py
3ca70fc8cc160c22d3cd9d6fab1899fb11ef3d88
[]
no_license
sfwarnock/python_programming
a84b6c3d18f55e59d50e5299cedd102c265dfc6b
aa45be8984cd80094f685d4fc4d0b9aca9e9eefb
refs/heads/master
2021-04-12T03:16:49.267143
2018-08-06T12:24:00
2018-08-06T12:24:00
125,944,584
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 2 15:24:48 2018 @author: Scott Warnock """ # kilometers to miles, exercise 2.9. # This program converts user inputed kilometers to miles. def main(): km = eval(input("Type number of kilometers: ")) mi = km / 1.609344 print(km, "kilometers i...
[ "noreply@github.com" ]
sfwarnock.noreply@github.com
c5c270d9d0a0aa46c1aa87079535abce706304dd
d24cef73100a0c5d5c275fd0f92493f86d113c62
/SRC/common/IO/GUI/gtklogger/__init__.py
ad86c2b0b9e1e9b3f80ad9a2fa796de689fe7c00
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
rlinder1/oof3d
813e2a8acfc89e67c3cf8fdb6af6b2b983b8b8ee
1fb6764d9d61126bd8ad4025a2ce7487225d736e
refs/heads/master
2021-01-23T00:40:34.642449
2016-09-15T20:51:19
2016-09-15T20:51:19
92,832,740
1
0
null
null
null
null
UTF-8
Python
false
false
732
py
# -*- python -*- # $RCSfile: __init__.py,v $ # $Revision: 1.2.24.1 $ # $Author: langer $ # $Date: 2013/06/28 14:42:54 $ # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities as...
[ "faical.congo@nist.gov" ]
faical.congo@nist.gov
1ed945f56a906eb4bafe7e1b8dfb22586a896c15
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnsym.py
81255f1446c7becaae7ce21cdb5e07f1c2470a1e
[]
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
180
py
ii = [('CookGHP.py', 1), ('LeakWTI3.py', 1), ('CookGHP2.py', 1), ('CoolWHM.py', 1), ('LyelCPG.py', 1), ('WestJIT2.py', 2), ('GodwWLN.py', 1), ('BackGNE.py', 1), ('LeakWTI4.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
eecf95b08f8e5d65f9a6f9a96f42b3d71fff8c7d
f60db22647be669f0c5fadbd2e8dbb44a3e7df47
/SIRS-Model/scripts/plot_comparison.py
0d5477796d4bd959ba84bb933243e8d98d0e71ae
[]
no_license
bergolho1337/Infection-Diseases
e2ab6e931db7b56b257440f3ad26a19bba7bca17
616a5699a37f65deb9ed2f4667db8146deb5cf47
refs/heads/master
2021-04-17T15:08:03.266550
2020-03-29T17:53:38
2020-03-29T17:53:38
249,453,639
1
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
# This script can be use to compared two different simulations import sys import numpy as np import matplotlib.pyplot as plt def read_results(input_file): data = np.genfromtxt(input_file) n = len(data) t = data[:,0] s = data[:,1] i = data[:,2] r = data[:,3] return t, s, i, r def plot_r...
[ "berg@ice.ufjf.br" ]
berg@ice.ufjf.br
dd8d51f13aa79c5e43e063e457be999a52e0917f
e57f62ce463ae10e2a61bfee6682f92773d56520
/scripts/generate_scenario1.py
0bf8610d18f914205467e2c68e2f618935268388
[ "MIT" ]
permissive
rffowler/simim
7f5a0ac7df5abce8b13627ef3f838d4196fb657e
d5b9793ebb469fe903fdff0f98898b6f87a433b3
refs/heads/master
2020-05-18T19:34:46.965775
2019-04-24T13:58:08
2019-04-24T13:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,416
py
import os import numpy as np import pandas as pd import simim.data_apis as data_apis import simim.scenario as scenario """ Scenario 1 ("MISTRAL Arc Scenarios", Usher & Hickford by email 3/19): Number of new dwellings From 2020, growth is slowed in existing settlements, decreased to 70% of baseline. The other 30% of b...
[ "a.p.smith@leeds.ac.uk" ]
a.p.smith@leeds.ac.uk
cd8fe628be3ee13f5bbd94534167503809d62c56
cbb038a3b36178441e6ec89ec0b9a377bca6b8b8
/nadine/lib/python2.7/site-packages/pysnmp_mibs/FLOW-METER-MIB.py
9c08a75c07c6b7fe0926afde432fd592405498dc
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
loama/nadine
cdb434567a882acd1f140307d8cd65fc4ffc5082
cd66dc5570500d669caff017a2f879ae1c6a6ebd
refs/heads/master
2021-01-14T10:13:31.553583
2015-12-23T02:28:35
2015-12-23T02:28:35
48,462,252
0
0
null
2015-12-23T01:28:50
2015-12-23T01:28:50
null
UTF-8
Python
false
false
63,710
py
# # PySNMP MIB module FLOW-METER-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/FLOW-METER-MIB # Produced by pysmi-0.0.3 at Wed Jul 1 22:28:05 2015 # On host cray platform Linux version 2.6.37.6-smp by user ilya # Using Python version 2.7.2 (default, Apr 2 2012, 20:32:47) # ( Integer, Obj...
[ "loama18@gmail.com" ]
loama18@gmail.com
97f7a17f9292f16f637ec75d3a71835c16bf60ef
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_069/ch32_2019_09_25_13_33_39_817839.py
37d3d262f999bad77711270f9a2c1600f6a60fd9
[]
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
157
py
d = input('Tem alguma dúvida? ') while d != 'não': print('Pratique mais') d = input('Tem alguma dúvida? ') if d = 'não': print('Até a próxima')
[ "you@example.com" ]
you@example.com
dd3bc5605a65e2780c26be735aca8e452ac98862
3b2b0c3edc800bfda49e58402bdf60dd42138615
/qwb2019/xx_warm_up/pow.py
85030c14f46f470c3c682ac7895ac03b8d079ee9
[]
no_license
xmoct/Buuoj-Pwn
e3672ba1c1a914754596a7fb29384874b54683db
2425fa697e7ba0bd8a72eeb0e9b4ef07f89c9e17
refs/heads/main
2023-06-26T05:17:57.942639
2021-07-15T01:47:12
2021-07-15T01:59:24
386,145,955
1
0
null
2021-07-15T03:09:28
2021-07-15T03:09:28
null
UTF-8
Python
false
false
1,842
py
#!/usr/bin/python -u # encoding: utf-8 import random, string, subprocess, os, sys from hashlib import sha256 os.chdir(os.path.dirname(os.path.realpath(__file__))) def proof_of_work(): chal = ''.join(random.choice(string.letters+string.digits) for _ in xrange(16)) sys.stdout.write(chal + "\n") sys.stdout....
[ "ilovekeer@users.noreply.github.com" ]
ilovekeer@users.noreply.github.com
90207baab721e4f3adac0ff3b78d6c7f216b2836
479a0afe76ee1a90b2e72acc02af933ab3046134
/sms.py
0c6bb533d3089febf36d431d69078996d08ae67c
[]
no_license
0428402001/appserver
a9b86d874b89bdf1d092adec5c1732a6f924f468
d7da440a7940eed229ff7a710ab3a6b96da7b007
refs/heads/master
2021-01-12T15:59:34.084804
2016-10-24T08:28:39
2016-10-24T08:28:39
69,328,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
#!/usr/local/bin/python #-*- coding:utf-8 -*- # Author: jacky # Time: 14-2-22 下午11:48 # Desc: 短信http接口的python代码调用示例 import httplib import urllib import random #服务地址 host = "sms.253.com" #端口号 port = 80 #版本号 version = "v1.1" #查账户信息的URI balance_get_uri = "/msg/QueryBalance" #智能匹配模版短信接口的URI sms_send_uri = "/msg/HttpBa...
[ "root@localhost" ]
root@localhost
87fcbca3ad2a13040966ea760a2e13ef86fe9f14
635cb7fb75048f9de7b95b48d1f59de68f9b3368
/R15/przekazywanie_łańcuchów_unicode_do_bibliotek_języka_c/example.py
7742894b628434676c4fd208d6714f6f63e1caff
[]
no_license
anpadoma/python_receptury3
9e889ac503e48eb62160050eecfdc4a64072c184
c761f2c36707785a8a70bdaccebd7533c76dee21
refs/heads/master
2021-01-22T14:38:34.718999
2014-01-31T22:09:44
2014-01-31T22:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
import sample s = "Papryczka Jalape\u00f1o" sample.print_chars(s) sample.print_wchars(s)
[ "mtar@data.pl" ]
mtar@data.pl
e0b397fbad8aa6fac26609ad84a37d8878a414d0
c9fe27dd429741f2fd6d567e0aa157871fa89bed
/fork/consensus/pot_iterations.py
db1f867aab1f38722a51699a9aa82afb0b1df4ab
[ "Apache-2.0" ]
permissive
Fork-Network/fork-blockchain
858d3aefe359a3fff547cf4464f45216b3718fa3
4e7c55b5787376dabacc8049eac49c0bb0bfd855
refs/heads/main
2023-06-23T00:28:14.607265
2021-07-24T02:23:22
2021-07-24T02:23:22
388,574,519
7
2
null
null
null
null
UTF-8
Python
false
false
2,793
py
from fork.consensus.constants import ConsensusConstants from fork.consensus.pos_quality import _expected_plot_size from fork.types.blockchain_format.sized_bytes import bytes32 from fork.util.hash import std_hash from fork.util.ints import uint8, uint64, uint128 def is_overflow_block(constants: ConsensusConstants, sig...
[ "bekbol17281923@outlook.com" ]
bekbol17281923@outlook.com
b62c8417cf176d389d9b394eea5aa52997704fd6
d79b689e17b877b8b412bfdf8715853cc1693e4b
/Server/Python/src/dbs/dao/MySQL/FileType/Insert.py
de06ae4d19ea540a6df84f2cf4d93ffea4f167a9
[]
no_license
ticoann/DBS
254d9b8423b2ac92ce5826b677024b38a4484dcb
7f36d95a0410216fcae77a82f5d60ecca06857a4
refs/heads/master
2021-01-20T16:06:11.641439
2014-03-10T18:28:56
2014-03-10T18:28:56
17,671,825
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#!/usr/bin/env python """ DAO Object for FileTypes table """ __revision__ = "$Revision: 1.3 $" __version__ = "$Id: Insert.py,v 1.3 2010/08/18 19:46:37 yuyi Exp $ " from dbs.dao.Oracle.FileType.Insert import Insert as OraFileTypesInsert class Insert(OraFileTypesInsert): pass
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
d5281fbe8359c6d5c5583f237715ea8fd4bc743a
a089fab4b0e363ba48bff57b3948c32172570e8f
/home_connect_sdk/models/array_of_events.py
b9c11f589292d80fd4af1d4e4753d6ab0137d7a9
[]
no_license
jeroenvdwaal/home-connect-sdk
ed2e44a01b72d64d17d41af8400eb2e42792232c
3c0ab6791bb0e9df95154f8f177d889ebef0c749
refs/heads/master
2022-04-23T01:20:32.621570
2020-04-26T09:40:16
2020-04-26T09:40:16
255,988,008
0
0
null
null
null
null
UTF-8
Python
false
false
4,296
py
# coding: utf-8 """ Home Connect API This API provides access to home appliances enabled by Home Connect (https://home-connect.com). Through the API programs can be started and stopped, or home appliances configured and monitored. For instance, you can start a cotton program on a washer and get a notification...
[ "jeroenvdwaal@gmail.com" ]
jeroenvdwaal@gmail.com
4281a4f3ae2a7a0a94d0a2bd01e8742fce6647bc
d07568b5c0f96bacee1bb216d7d1bb04d1f62350
/pyadb/adb/sub_command/reverse.py
746950db8db5ff23733ce7da54fd196df792eaaa
[ "MIT" ]
permissive
HsOjo/OjoPyADB
faa4d7eab8fea2271b634ff9dff7806c4778607f
4f5272b5a838a09a3a5d4653dea7e24b5103283d
refs/heads/master
2021-01-05T10:36:02.198929
2020-04-02T07:48:28
2020-04-02T07:48:28
240,995,641
2
0
null
null
null
null
UTF-8
Python
false
false
151
py
import pyadb from .mapping import Mapping class Reverse(Mapping): def __init__(self, adb: 'pyadb.ADB'): super().__init__(adb, 'reverse')
[ "1134031392@qq.com" ]
1134031392@qq.com
775c6c0869a957a38ef42544e0dde48a62dc764c
37ff29a9a83eafbf0f54e2ce0bf2c0255b1663a1
/devel/lib/python2.7/dist-packages/actionlib_tutorials/msg/_FibonacciFeedback.py
569c61fbe510cbad7c2e20728e1317454fd9458e
[]
no_license
wy7727/husky
f8d9c2a05487f66efbfb58e8fc1c141efc10e177
7925bc34ae316639aef88fc3e6a8d36aba12620b
refs/heads/master
2020-04-09T12:09:41.420418
2019-12-01T09:24:24
2019-12-01T09:24:24
160,337,603
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
/home/ying/wy_ws/devel/.private/actionlib_tutorials/lib/python2.7/dist-packages/actionlib_tutorials/msg/_FibonacciFeedback.py
[ "wuying277727@gmail.com" ]
wuying277727@gmail.com
ee238cf5deb8651adb6660ab20a68b987505da0d
38c0ca15d7b067bf04e8bf0b16bbf33f39bc050a
/TaobaoSdk/Request/ItemPropimgUploadRequest.py
c2252650392458359a4ca6bb39b28deb8f7a73e0
[]
no_license
yuchangchun/TaobaoOpenPythonSDK
04da9a6f74c449b9cf93620d13424a3e1851cedc
668436f6f934602a236e57b9a276fb3876c524d0
refs/heads/master
2021-01-18T07:49:25.743392
2012-07-04T09:55:11
2012-07-04T09:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,502
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: set ts=4 sts=4 sw=4 et: ## @brief 添加一张商品属性图片到num_iid指定的商品中 传入的num_iid所对应的商品必须属于当前会话的用户 图片的属性必须要是颜色的属性,这个在前台显示的时候需要和sku进行关联的 商品属性图片只有享有服务的卖家(如:淘宝大卖家、订购了淘宝多图服务的卖家)才能上传 商品属性图片有数量和大小上的限制,最多不能超过24张(每个颜色属性都有一张)。 # @author wuliang@maimiaotech.com # @date 2012-07-03 1...
[ "liyangmin@maimiaotech.com" ]
liyangmin@maimiaotech.com
921ddc6ec751c68014600168292dade109cbfaf6
3e4c69317323bca865b025503b60bf83d3ae65f8
/tests/commands/update/test_update_panel_cmd.py
5be285ad7152d4a50627c2c2c9d79f410dc1c20b
[ "BSD-3-Clause" ]
permissive
tapaswenipathak/scout
f59beaa997a45487ac96c3b3e560b5e5aa9b30ae
c9b3ec14f5105abe6066337110145a263320b4c5
refs/heads/master
2020-05-30T11:13:25.662300
2019-05-28T09:26:25
2019-05-28T09:26:25
189,694,812
1
0
BSD-3-Clause
2019-06-01T05:36:35
2019-06-01T05:36:34
null
UTF-8
Python
false
false
1,144
py
# -*- coding: utf-8 -*- from scout.commands import cli from scout.server.extensions import store from scout.utils.date import get_date def test_update_panel(mock_app): """Tests the CLI that updates a panel""" runner = mock_app.test_cli_runner() assert runner # Test CLI base, no arguments provided ...
[ "rasi.chiara@gmail.com" ]
rasi.chiara@gmail.com
1a21daddf51370d36abcb9b33b7a35727cf0136e
8730e891f8aa953d668b83ba1bea66a4af18c1bd
/markov.py
2fe35ca011ad081b603653d90880ca288d65af01
[]
no_license
dvgupta90/sept-11th---markov-chains
f82897901c4abe2ded552a8cb727c6ddb4ecb319
c6666381a8e40a8f3b1a14e0ebe3935c19a19cb0
refs/heads/master
2020-03-28T13:08:03.470602
2018-09-12T19:40:41
2018-09-12T19:40:41
148,369,207
0
0
null
null
null
null
UTF-8
Python
false
false
4,841
py
"""Generate Markov text from text files.""" from random import choice import sys import string def open_and_read_file(): """Take file path as string; return text as string. Takes a string that is a file path, opens the file, and turns the file's contents as one string of text. """ # your code ...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
82dc62c099b7bf4477389ac3920f4ed0e16e30f0
fd18ce27b66746f932a65488aad04494202e2e0d
/day03/codes/c05_httpserver_SimpleHTTPRequestHandler.py
fb8fe3e454da01111f1960fae3f28c11e936fdfd
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
293
py
# coding = utf-8 import http.server print('启动服务器') server = http.server.HTTPServer( server_address=('', 11111), RequestHandlerClass=http.server.SimpleHTTPRequestHandler, bind_and_activate=True) print('接受用户请求') server.serve_forever() print('服务器退出')
[ "38395870@qq.com" ]
38395870@qq.com
6c12b8a5802bf7822fa56ab4cc5d0e3cb74a6e8d
e3d6f803beece2ecc2cde8de795fdd20291213ff
/nova/conf/scheduler.py
3bbfdcd867239fc685c41383c5a04318f3d31353
[ "Apache-2.0" ]
permissive
panguan737/nova
437c1adb81f3e9ef82c28ad957144623db13ba52
0d177185a439baa228b42c948cab4e934d6ac7b8
refs/heads/main
2023-01-07T00:08:44.069599
2020-11-01T14:00:42
2020-11-01T14:00:42
309,332,719
0
0
Apache-2.0
2020-11-02T10:17:13
2020-11-02T10:17:13
null
UTF-8
Python
false
false
30,232
py
# Copyright 2015 OpenStack Foundation # 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 requ...
[ "147360410@qq.com" ]
147360410@qq.com
ce691053b1e8c3c5e0249bb20f22c59ee8e4d822
3ffb6ec95903808bb39f150b309f9b97c1e8c909
/migrations/0010_auto_20160327_0814.py
a5758be017a201f57dc894ada4d5560f4d0592ab
[]
no_license
jd615645/course
57b11ebf855e6c2b5c5eca4b924708ba29397f04
ce66afda77dd3b3a86ea0c51ff4ae79633b9db3e
refs/heads/master
2021-01-12T04:59:16.151645
2016-09-07T05:52:37
2016-09-07T05:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0009_course_of_user_idlist'), ] operations = [ migrations.RenameField( model_name='course_of_user', ...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
094a2c8c465e4b413b8f401799f46f46fba13ec2
14d7f5f83b6f84871ff6ebfa0af4c17b7115a33f
/eco_models/mpb/MPB_Cold_T_test_v2.py
4bd03b1c85c4adf18a5eed77ed16f40c16791ae2
[]
no_license
tonychangmsu/Python_Scripts
8ca7bc841c94dcab36743bce190357ac2b1698a5
036f498b1fc68953d90aac15f0a5ea2f2f72423b
refs/heads/master
2016-09-11T14:32:17.133399
2016-03-28T16:34:40
2016-03-28T16:34:40
10,370,475
2
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
#Title: MPB_Cold_T_test.py #Author: Tony Chang #Date: 02.03.2015 #Abstract: Testing the functionality of the MPB_coldT_model.py functions import MPB_coldT_model as mpb import numpy as np import pandas as pd import matplotlib.pyplot as plt #main datafile = 'E:\\MPB_model\\MPB_phenology\\DATA\\temp.txt' raw_temp = pd.r...
[ "tony.chang@msu.montana.edu" ]
tony.chang@msu.montana.edu
d13c5152b51553990ec55f5f9d8873aad354e35d
b7f8c9288a024a41435d267be835c23cb38eaa6c
/windows/uiHandler22.py
4bcfeb5cb58ec42b0d2a4a8cfdbdb10e74de3c33
[]
no_license
wasifzaman/ryb_tms_cleaned_old_skin
fa53ac41d691ab129c9422da34f7c75636809234
cd84d5f12128ebeb181c06ae5ec5403111e9ceb2
refs/heads/master
2021-01-10T20:23:05.045562
2015-04-20T17:54:43
2015-04-20T17:54:43
31,466,490
0
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
import sys, os images = os.path.abspath(os.pardir) + '\images\\' #image directory from tkinter import * import os.path from PIL import Image, ImageTk class AppFrame(Frame): def __init__(self, parent, *args, **kwargs): Frame.__init__(self, parent, *args, **kwargs) self.parent = parent self.curRow = 0 self.c...
[ "zelvenstormrage@gmail.com" ]
zelvenstormrage@gmail.com
bab883e79a711d4c3d0533a3c952dd888506fcbd
77f5a3a422cca02694f2b2161e94dfaa4509b7ff
/CPD_search/recover_loop.py
828e4844e38c60f766265765a41f39c79c9e74f5
[ "MIT" ]
permissive
interstellarmedium/DSHARP_CPDs
850b0c345056560f4b20f763a4d7b3f72eae1c40
40d8f02945e0d412c5c912b050d4a3d8c6dbbfa2
refs/heads/master
2023-03-19T13:39:52.406972
2021-03-15T19:26:16
2021-03-15T19:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,712
py
import os, sys, time import numpy as np from astropy.io import fits sys.path.append('../') import diskdictionary as disk # target disk/gap; iteration target = 'AS209' gap = 0 ix = '1' # load the injection file data inj_file = 'injections/'+target+'_gap'+str(gap)+'_mpars.'+ix+'.txt' Fstr, mstr, rstr, azstr = np.loadtx...
[ "sandrews@cfa.harvard.edu" ]
sandrews@cfa.harvard.edu
9969e8766539b582c6fd52141b98eddda2783c64
f662bb65c97fe1e914533d6ef3085108f747010e
/ExcepEx2.py
f0e5322fc5797f7368494a91792e0cad971c5b15
[]
no_license
Karishma00/NewPythonData
be97d45b5ccd20027f3ae6e8ca1b57719a885b50
b790dda67a29ad93ad51cc5c34cef79aab9e5cef
refs/heads/master
2020-07-30T18:46:57.349707
2019-09-26T04:46:00
2019-09-26T04:46:00
210,321,171
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
#List type error try: for i in ['a','b','c']: print(i**2) except TypeError: print('Type mismatch')
[ "karishma11198@gmail.com" ]
karishma11198@gmail.com
5059348a0a9cb6cdf3c361d36525ebcb11729436
b853c16efafa74a9e1cb076008a17c9d85389fca
/HOME/笔记/python/Python基础代码-G/lianxi3.py
81620b3c75d3d13bb577038d547c3838f5679b7b
[]
no_license
Jason0221/backup
14c48f1adb871b915d6f0ba49a26396e7cf0cd64
dfd54cbcf7c27b0df6249104747e9a7ceffcb392
refs/heads/master
2020-06-03T13:14:39.751679
2017-05-15T08:50:38
2017-05-15T08:50:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#!/usr/bin/python #coding=utf-8 score=input("please input your score:") if score>100 or score<0: print "please input correct score!" exit() if score >= 90: print "your grade is A" elif score >= 80: print "your grade is B" elif score >= 70: print "your grade is C" elif score >= 60: ...
[ "jasonlearning@outlook.com" ]
jasonlearning@outlook.com
57ddefe3be214bc5e8a9d4df54317ebb336d9647
73aaee1f4a577de3fe839ec7f3bbbb483b822886
/webstruct/model.py
fe1b282dd7eb8ff72b745325e6dc75f210666de2
[]
no_license
ankumar/webstruct
720486eff4858cfae38bd576d35360aac866424c
d74a7f6384da7bda8cad8ef3412e28c3b3e74be4
refs/heads/master
2020-12-27T08:16:22.055630
2014-03-26T11:05:54
2014-03-26T11:05:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,439
py
# -*- coding: utf-8 -*- """ :mod:`webstruct.model` contains convetional wrappers for creating NER models. """ from __future__ import absolute_import import urllib2 from webstruct.loaders import HtmlLoader from webstruct.feature_extraction import HtmlTokenizer from webstruct.sequence_encoding import IobEncoder from web...
[ "kmike84@gmail.com" ]
kmike84@gmail.com
3fca879e1e299ad08225c4abadc5eb68b62e7f22
e65d16ea1e8d412bac75a809be6d390126bdf528
/homeassistant/components/fully_kiosk/sensor.py
eed14f246743bbde679b91365739000b40c70e51
[ "Apache-2.0" ]
permissive
syssi/home-assistant
6347d57866cb16ab9d4499ad38e2be6f0399077f
fd43687833741b21221769d46b4d1ecef8a94711
refs/heads/dev
2023-08-17T09:31:52.680518
2023-06-11T14:22:12
2023-06-11T14:22:12
97,874,495
6
16
Apache-2.0
2023-09-13T06:31:21
2017-07-20T20:12:37
Python
UTF-8
Python
false
false
5,355
py
"""Fully Kiosk Browser sensor.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassist...
[ "noreply@github.com" ]
syssi.noreply@github.com