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
60c7a19b07d8f1d210ea5a6a7190623c12edf33a
616aea820210c1bee5a52e4460b0444e57aad217
/src/third/SimpleCV/Features/BlobMaker.py
58b16530742013dac5b7fb2a0a7907b01b32a6e5
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
isabella232/pycollector
c470e65c0b9241247d0446471e1c428a924c6d16
459b3cc533b6371719c15d6d6b935e4c7311d6f9
refs/heads/master
2023-03-07T09:22:19.536634
2013-05-24T18:32:45
2013-05-24T18:32:45
324,754,495
0
0
NOASSERTION
2021-02-24T10:03:27
2020-12-27T12:14:29
null
UTF-8
Python
false
false
10,819
py
from SimpleCV.base import * class BlobMaker: """ Blob maker encapsulates all of the contour extraction process and data, so it can be used inside the image class, or extended and used outside the image class. The general idea is that the blob maker provides the utilites that one would use for blob...
[ "raios.catodicos@gmail.com" ]
raios.catodicos@gmail.com
fa9b010550b5d313d60bfd25b37849dd9fcabfb8
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/ugc/_admin_get_specific_content.py
80f1e848449d0efebed0a1dbcc9f1ac5fe2f4371
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,344
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template_file: python-cli-command.j2 # AGS Ugc Service (2.11.3) # pylint: disable=duplicate-code # pyli...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
189d19996e87af7af8a9ee4b7152b294fff376aa
539d003125eebf761ba320223566cd56eeefe247
/mundiapi/controllers/recipients_controller.py
89a632e7d64589138e02cc614eb79bba0b4d6845
[ "MIT" ]
permissive
mundipagg/MundiApi-NodeJS
6e58afb33510a723574ee06bec107654409910af
f0c67e1f92471a7a0e2d0b0cb1765105f07fb8cb
refs/heads/master
2023-06-25T23:04:42.429866
2023-06-19T16:10:31
2023-06-19T16:10:31
101,078,084
9
5
NOASSERTION
2023-06-01T17:50:21
2017-08-22T15:25:30
JavaScript
UTF-8
Python
false
false
36,523
py
# -*- coding: utf-8 -*- """ mundiapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ from mundiapi.api_helper import APIHelper from mundiapi.configuration import Configuration from mundiapi.controllers.base_controller import BaseController from mundiapi.http.aut...
[ "noreply@github.com" ]
mundipagg.noreply@github.com
0b193443b4254b8f09b87d0e58820b42bc298b41
22279487bee5c983c13887ba11e6a4cd40e8bbe3
/PreprocessData/all_class_files/LiquorStore.py
57b8e96fa423055c10e5f164e93535ac3dffcba5
[ "MIT" ]
permissive
DylanNEU/Schema
018c9f683c683068422ed7b6392dcebd4ab4d4cd
4854720a15894dd814691a55e03329ecbbb6f558
refs/heads/main
2023-08-30T01:50:20.541634
2021-11-01T15:30:41
2021-11-01T15:30:41
425,238,713
1
0
MIT
2021-11-06T12:29:12
2021-11-06T12:29:11
null
UTF-8
Python
false
false
2,310
py
from PreprocessData.all_class_files.Store import Store import global_data class LiquorStore(Store): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, potentialAction=None, sameAs=None, u...
[ "2213958880@qq.com" ]
2213958880@qq.com
9090cf8f5afc34505f2a27b36145a5667b7bc8c2
aff3d82217ca3a43d42c215b7fde022017f3b779
/spec/one_image_spec.py
218822cbdcf28e9883c86acb41297198d17aea62
[]
no_license
AndyDeany/turnbasedgame
96784a6f1fcf7c2c82e10012d81b4e0caf807a6b
362f973888a549535a854500da443613725ad0f0
refs/heads/master
2021-01-19T08:48:28.125410
2017-09-09T09:56:51
2017-09-09T09:56:51
76,188,966
0
1
null
null
null
null
UTF-8
Python
false
false
671
py
from spec.spec_helper import * from lib.one_image import OneImage with description("OneImage"): with it("should initialise"): one_image = OneImage(game, "items/heart") expect(one_image.image_name).to(equal("items/heart")) expect(one_image.image).to(be(None)) with it("should load its i...
[ "oneandydean@hotmail.com" ]
oneandydean@hotmail.com
4195bf38a598c838adeceb94937fad2949c57c3a
f373eaeba3f42d2e883a0338dbc7bf2eab8cdf88
/pycalq/tests/test_pycalq.py
2f8a9540b6d69608385cc68cae0e6db8d1a3aaea
[ "MIT" ]
permissive
FriedrichK/pyCalq
6f41d561f4394c7c4d57df08a715b560e41812c9
b20c1c5694d34dbeb7439986189cae3f698bb910
refs/heads/master
2021-01-23T03:44:24.972747
2014-08-20T00:19:51
2014-08-20T00:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,685
py
# -*- coding: utf-8 -*- from datetime import datetime import json import unittest from mock import Mock, patch from hamcrest import * from pycalq import CALQ_API_ENDPOINT_TRACKING, CALQ_API_ENDPOINT_PROFILE, CALQ_API_ENDPOINT_TRANSFER from pycalq.tools import create_timestamp_string from pycalq.validation import Acti...
[ "friedrich@cartogami.com" ]
friedrich@cartogami.com
a0466ef7bd023fdf3d1afacd76c536df72193f33
1886065d10342822b10063cd908a690fccf03d8b
/appengine/monorail/registerpages.py
6462450f181b19fe6abb79158a59176b17177617
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/chromium-infra_A6Y5
26af0dee12f89595ebc6a040210c9f62d8ded763
d27ac0b230bedae4bc968515b02927cf9e17c2b7
refs/heads/master
2023-03-16T15:33:31.015840
2017-01-31T19:55:59
2017-01-31T20:06:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,490
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is govered by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """This file sets up all the urls for monorail pages.""" import logging import webapp2 import...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
d790c7885266f95d1e751f1c0d09f6250734a4d2
45e8c30fbcd754e780230c3afd8a587f0833f4b0
/blender_2.03_tree/lib/Python/Lib/ihooks.py
300ac80b2f5a9504af37bbf8f90bca954586cafb
[]
no_license
daar/bare-blender
2fdfb312a1d8f3048346bfa504aa863a61cfe814
3306d88a2ac9f78bcc7830c4bcafb4f2c7db7897
refs/heads/master
2021-01-16T17:47:42.303184
2015-05-19T21:33:46
2015-05-19T21:33:46
32,135,666
1
1
null
null
null
null
UTF-8
Python
false
false
17,450
py
"""Import hook support. Consistent use of this module will make it possible to change the different mechanisms involved in loading modules independently. While the built-in module imp exports interfaces to the built-in module searching and loading algorithm, and it is possible to replace the built-in function ...
[ "dhkblaszyk@zeelandnet.nl" ]
dhkblaszyk@zeelandnet.nl
67b9b1f7bedfa92e7a3381dc098bc78b70b3407c
8ab7ffd8b84f242982d54467d1b72ce629eab6a3
/intents/qtask_exec.py
f5d2db7226ae706bb31fea2296e79136d2827005
[]
no_license
piaoyangguo/serviceunit
358de1f1d2b9401a3829529247229bba3a776efc
b2bd20dcc91ef7e560b07ae3d791b3c988f9ae55
refs/heads/master
2022-12-10T01:31:11.323159
2018-07-15T11:46:32
2018-07-15T11:46:32
141,023,073
0
0
null
2022-12-08T02:16:47
2018-07-15T11:47:05
Python
UTF-8
Python
false
false
808
py
from intents.base import QueryTask import teamin class IntentQtaskExec(QueryTask): NAME = 'QTASK_EXEC' def __init__(self, request, intent): self.request = request self.intent = intent def Go(self): self.initSlots() query = self.request.Message() executor = teamin.N...
[ "173077850@qq.com" ]
173077850@qq.com
f90f7ccf227ca09f4a2b1ffaa7e3b38a9e93be56
6997a36ad765a7beb27d87ed1841a73013090acb
/48.py
18f1548f60ea5c99d191c5a2baf8b2e6bf93cec6
[]
no_license
knighton/project-euler
1a4e0457e752d219027aadcd28fd91b335f1ab18
1368c341b9b4b89e718b1d6144198c0081618821
refs/heads/master
2016-08-05T01:32:56.692791
2014-05-31T23:59:41
2014-05-31T23:59:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
n = 0 for i in range(1, 1001): n += i ** i print str(n)[-10:]
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
5d5e5f62f0207a9c27374c874bed796593197540
d1797d0e70af8764b79b127fbc2015b5d030d87d
/pyradex/fjdu/__init__.py
970e0f15f10d2a0b154e6e36417f24a2a740d7b9
[ "BSD-3-Clause" ]
permissive
keflavich/pyradex
2cd4aa602f1005780402b5810078d76d37f95eff
c36c4652e220113cf3d0d9a41fda3ddf4ea3c11a
refs/heads/master
2023-04-01T19:57:09.571559
2023-03-31T13:59:21
2023-03-31T13:59:21
11,107,526
14
13
BSD-3-Clause
2020-08-06T17:07:01
2013-07-01T21:23:04
Python
UTF-8
Python
false
false
42
py
from . import core from .core import Fjdu
[ "keflavich@gmail.com" ]
keflavich@gmail.com
948abad1c62af6a4a8212819b33c31117eb6da0c
ac2b3f97b4f2423a3724fbf9af69e362183f7f3a
/crimtech_final_project/crimsononline/content/templatetags/top_articles.py
1bfa713ef2e1825332c6649b34a6a633e3c17125
[]
no_license
cindyz8735/crimtechcomp
e4109855dd9a87fc11dd29fdf6bb81400c9ce97b
a9045ea79c73c7b864a391039799c2f22234fed3
refs/heads/master
2021-01-24T10:06:03.386553
2018-04-14T04:24:57
2018-04-14T04:24:57
123,037,281
0
0
null
2018-02-26T22:08:57
2018-02-26T22:08:56
null
UTF-8
Python
false
false
1,358
py
from django import template from crimsononline.content.models import MostReadArticles register = template.Library() def most_read(context, specifier): try: context['mostreadarticles'] = (MostReadArticles.objects .filter(key=specifier) ...
[ "cindyz8735@gmail.com" ]
cindyz8735@gmail.com
74ffa57caa17a79f79a4f556743b3885effb2976
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/5SJdiGXZwRiFK5vEJ_5.py
6b7d5006ba72e571e4e1d9396e974c2c30d63ed2
[]
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
144
py
def reverse_capitalize(txt): txt = txt[::-1] new_txt = '' for char in txt: char = char.upper() new_txt += char return new_txt
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
40b4b83cf0299581548aa08d511e35710c209ba7
2c03a6b82547d28cfa0ea59ff7b7e9b44787e0b9
/rawg/models/genre.py
e02a4abea5e47bab660262bf1d494f517728ad75
[]
no_license
AaronPierson/rawg
8b93cacb1d77ab235ed023019d9a5257a50b83fd
56052d1bce124e9a1e131a164159c2643709c109
refs/heads/master
2022-12-18T04:35:40.501672
2020-09-24T23:08:44
2020-09-24T23:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,464
py
# coding: utf-8 """ RAWG Video Games Database API The largest open video games database. ### Why build on RAWG - More than 350,000 games for 50 platforms including mobiles. - Rich metadata: tags, genres, developers, publishers, individual creators, official websites, release dates, Metacritic ratings. - Whe...
[ "bekbulatov.ramzan@ya.ru" ]
bekbulatov.ramzan@ya.ru
0f89aabb6afcac086be266a87470dd503016df7c
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1480487_0/Python/alb4tor/GCJ.py
d451fb47ed78eefe43680fc14d2c7e07ec64c891
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,296
py
''' Created on 18 mars 2012 @author: gnugnu ''' import sys class InputFile(object): ''' classdocs ''' def __init__(self, filename=""): ''' Constructor ''' if filename == "": filename = sys.argv[1] self.full_content = ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
f449e83fee7a3232c998a2a04bdebd291dcd372a
9a486a87e028303a551fbd0d1e1b6b650387ea14
/testPack/testpack.py
2730eb3f81d6cb3187c4f2e4533eb3ff49c44c12
[]
no_license
shanlihou/pythonFunc
7b8e7064fddd4522e492c915c086cc6c5abc6eec
646920256551ccd8335446dd4fe11aa4b9916f64
refs/heads/master
2022-08-24T20:33:12.287464
2022-07-21T12:00:10
2022-07-21T12:00:10
24,311,639
3
0
null
null
null
null
UTF-8
Python
false
false
49
py
from testPack import abc print('hello') abc.abc()
[ "shanlihou@gmail.com" ]
shanlihou@gmail.com
a77f8e23b15fcb2a4caf310890f1a2d3ad7a7714
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/tensorflow/python/estimator/inputs/numpy_io.py
f3fc47e290a7b335b0bdba64fe0da0d41970f3e1
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:06d1937b0e2e65d868e3f6fb34a214b26552db5c1a5dabce73a56b55aa075f63 size 5108
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
e13aefe727018e905ec98a260eb06accff2fcd2d
751b094918ae9200afe7824d58804549082caa95
/src/python/WMCore/JobSplitting/Generators/BasicNaming.py
e0db794314212fbb6fd9f0ed93e09f522ce15972
[]
no_license
cinquo/WMCore
7ebd13269f42eb97f416f8f2bdaca05fa93c6afc
122f9332f2e944154dd0df68b6b3f2875427b032
refs/heads/master
2021-01-09T06:28:58.947626
2013-06-05T08:31:53
2013-06-05T08:31:53
2,965,330
1
0
null
null
null
null
UTF-8
Python
false
false
571
py
#!/usr/bin/env python """ _BasicNaming_ Default name generator using a vaguely sensible convention. Uses GUIDs to avoid having to keep state """ from WMCore.Services.UUID import makeUUID from WMCore.JobSplitting.Generators.GeneratorInterface import GeneratorInterface class BasicNaming(GeneratorInterface): """ ...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
3ee33ba669c0be974c54414bc32bb4692ee19419
a4fcaa28f288ff495ac09c3f8070f019f4d3ba80
/08-real_python_class/2017_02_07-Lesson_2/class_projects/flask-hello-world/app.py
677ab29cfff2fc13b95ed5933c362409ba9a180e
[]
no_license
tomwhartung/always_learning_python
db44b0745f27f482e6482faa821f89dc7809dda8
ab27c164a724754e3e25518bf372bd4437995d64
refs/heads/master
2020-12-07T15:57:04.184391
2017-05-18T19:35:31
2017-05-18T19:35:31
67,449,327
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
## # Class project # from flask import Flask app = Flask(__name__) if __name__ == '___main__': app.run(debug=True) @app.route('/') def index(): return 'Index Page' # # Variable Rules: # --------------- # # Greet the user by name # @app.route('/name/<username>') def greet_user(username): return 'Hello %s!'...
[ "tomwhartung@gmail.com" ]
tomwhartung@gmail.com
4795fdd80d0a83f8095f553a54e9c04a2712f2f0
42064191a5ac586ed088b293165b51abf16b1ee4
/Intro Machine Learning/Lesson 9/Min_Max_Rescale.py
752e6692ff0556a1d34473a31fb6f4068011bca4
[]
no_license
ObinnaObeleagu/Udacity
637cd458824a835febacebd72ebef77b30ca7f94
761ba413934f66cbd9429fd9882f59f047eb065b
refs/heads/master
2023-03-15T23:27:23.022463
2019-01-03T04:05:03
2019-01-03T04:05:03
497,375,575
1
0
null
2022-05-28T16:46:12
2022-05-28T16:46:12
null
UTF-8
Python
false
false
618
py
""" quiz materials for feature scaling clustering """ ### FYI, the most straightforward implementation might ### throw a divide-by-zero error, if the min and max ### values are the same ### but think about this for a second--that means that every ### data point has the same value for that feature! ### why would you...
[ "ryanzjlib@gmail.com" ]
ryanzjlib@gmail.com
c75309b7bfbaa2e7f70f920f0c0c9a1fac74fe6b
1bc7456240639a4fac54c411fbcb562cdbcc420c
/5483. Make The String Great.py
7728ab54b08891d7f80b0856bb4def9591fe4547
[]
no_license
Manash-git/CP-LeetCode-Solve
bdbb9f13946faee5da24e191a3d593b99da61ed2
45052c7613345c76f8a12bac780ffb899062dea9
refs/heads/master
2022-11-29T13:16:03.474242
2020-08-11T19:06:07
2020-08-11T19:06:07
275,853,956
1
0
null
null
null
null
UTF-8
Python
false
false
433
py
def makeGood(s): bucket=[s[0]] for i in s[1:]: if bucket and i.lower()==bucket[-1] and i!=bucket[-1]: bucket.pop() elif bucket and i.upper()==bucket[-1]and i!=bucket [-1]: bucket.pop() else: bucket.append(i) print(bucket) # print("...
[ "emailatmanash@gmail.com" ]
emailatmanash@gmail.com
b18a75629c957d414f6969ff82875ae136371895
27ff7fec0ae3f29f58089a2acab0aa3bc4e6e1f7
/Python_script/51zxw/unittest/testCase_combine.py
377d5e839107ecaf2be9a6fe29db01308a7086b3
[]
no_license
zhangsong1417/xx
01435d6057364991b649c1acc00b36ab13debe5a
c40cfdede194daf3bdf91b36c1936150577128b9
refs/heads/master
2020-04-06T14:06:23.011363
2019-07-09T02:38:02
2019-07-09T02:38:02
157,528,207
1
0
null
null
null
null
UTF-8
Python
false
false
455
py
from calculator import * import unittest class Test_StartEnd(unittest.TestCase): def setUp(self): print("test start") def tearDown(self): print("test end") class Testadd(Test_StartEnd): def test_add(self): j=Math(5,5) self.assertEqual(j.add(),10) class Testsub(Test_Sta...
[ "44634576+shuiling21@users.noreply.github.com" ]
44634576+shuiling21@users.noreply.github.com
4ee02bc666d3115bc00a27981934c752402097f7
d78dfc5089717fc242bbd7097f507d811abb4260
/USA/script.module.coveapi/lib/coveapi/__init__.py
6190c730b35fd85b4204fbf8e5d11e8982f2c3a3
[]
no_license
tustxk/AddOnRepo
995b980a9ec737e2c25bed423fc83f710c697e40
6b86a06cb37e6e10b4119584dd7311ebc2318e54
refs/heads/master
2022-10-08T21:34:34.632346
2016-10-28T09:48:01
2016-10-28T09:48:01
70,684,775
1
1
null
2022-10-01T16:27:13
2016-10-12T09:31:16
Python
UTF-8
Python
false
false
956
py
"""Package: `coveapi` A Python client for the PBS COVE API service. """ # client version __version__ = '0.2dev' # coveapi constants COVEAPI_VERSION = 'v1' COVEAPI_HOST = 'http://api.pbs.org' COVEAPI_ENDPOINT = '/cove/%s/' % COVEAPI_VERSION COVEAPI_ENDPOINT_CATEGORIES = '%scategories/' % COVEAPI_ENDPOINT COVEAPI_ENDPO...
[ "ke.xiao@netxeon.com" ]
ke.xiao@netxeon.com
241db9e295f1a41795f43fba433f42583b271f89
52d6e9fb7176bf819ae8460d0fd03368614ce075
/datasource/PooledDataSource.py
9f0bb94bdadf9e96e5bc94dc8d47f6f27f780427
[ "BSD-2-Clause" ]
permissive
mattduan/proof
076f23f20e28e6d59f091af11eb84cdd3e9f224d
52241b68e7170c9c6fd245192b7be35be1cdc33f
refs/heads/master
2021-01-13T01:44:22.937600
2013-03-17T16:19:32
2013-03-17T16:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
""" A PooledDataSource object is a factory for PooledConnection objects. """ __version__='$Revision: 3194 $'[11:-2] __author__ = "Duan Guoqiang (mattgduan@gmail.com)" import logging import util.logger.Logger as Logger import proof.ProofException as ProofException class PooledDataSource: __is__ = 'interface' ...
[ "guoqiangduan@gmail.com" ]
guoqiangduan@gmail.com
1f5e57c17346b3f327473b6fcffe2c8ed909d888
5374bd9a9fc8cc07f6966c490a137003ddc64d9b
/VEnCode/scripts/dendrogram_encode.py
44b445694b2ba41e172163ba360705fc56d94d73
[ "BSD-3-Clause" ]
permissive
AndreMacedo88/VEnCode
31f9f545019f62e0af716395a11961515c229394
667c777c6ef12c43e993660e5c695d4d6d43385e
refs/heads/master
2021-01-06T03:55:44.385885
2020-11-24T18:05:38
2020-11-24T18:05:38
90,248,803
0
1
NOASSERTION
2020-02-04T22:29:39
2017-05-04T10:02:48
Python
UTF-8
Python
false
false
1,974
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- """ dendrogram_encode.py: file used to generate hierarchical clustering and subsequent dendrograms from ENCODE DNase-seq data """ import os import pandas as pd from scipy.cluster import hierarchy import matplotlib.pyplot as plt from VEnCode import common_variables as cv...
[ "andre.lopes.macedo@gmail.com" ]
andre.lopes.macedo@gmail.com
472278844e6c3e2bac6d02dd2d9ad2898ce53100
2ff83d7af0bcbc5822593d826b0c3276346d1276
/transformers_local_rep/src/transformers/models/ctrl/modeling_ctrl.py
8b6335d313600a9486f7efaad718f8dcfb7c124e
[]
no_license
mauricerupp/PolitBERT
43af66f5562bb5c5cf965aa99bb065d1c22f4fae
a8c4eb517eb38cb51101fc87780ed1de182560c8
refs/heads/master
2023-06-17T03:13:43.070682
2021-07-15T15:15:30
2021-07-15T15:15:30
386,334,080
1
0
null
null
null
null
UTF-8
Python
false
false
28,939
py
# coding=utf-8 # Copyright 2018 Salesforce and HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 # # h...
[ "maurice.rupp@gmail.com" ]
maurice.rupp@gmail.com
cce211ae190377155ad44f981d6ad1c61c5091ab
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/impairment/profile/accumulateandburst/accumulateandburst.py
59dc4f52ccd1cef9b005cc09fb573e7ebdeff7b1
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
10,247
py
# MIT LICENSE # # Copyright 1997 - 2020 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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
39959cff761869bff2825119c1eb9906bd45241b
2f882f68806faf88e549a941e4d13833d9aa95df
/杨辉三角.py
b3f9f09a01baaa435f4f241a8ce69fa574e91c69
[]
no_license
SmallPotY/leetcode_Python
5ac8420cdcb677a679a32fd6f5fce82411d813cd
0a2483195004c4d18237920b2f38b942e26b181b
refs/heads/master
2020-03-20T13:24:00.612054
2019-07-18T09:14:45
2019-07-18T09:14:45
137,454,639
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
""" 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 5 输出: [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] """ class Solution: def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] """ yhsj = [[1],[1,1]] if n...
[ "1041132457@qq.com" ]
1041132457@qq.com
246d33ab6acf6da45a7e5b84745b5ad00b797c72
da29f1f5b4459fbfec968bb694bedb9586f87b14
/new_algs/Graph+algorithms/Dijkstra's+algorithm/processMaze.py
c9dd36c61be3664b0529b1016b3c77f224bb4b30
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
coolsnake/JupyterNotebook
547806a45a663f090f313dc3e70f779ad9b213c0
20d8df6172906337f81583dabb841d66b8f31857
refs/heads/master
2023-01-13T18:55:38.615312
2020-11-17T22:55:12
2020-11-17T22:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,604
py
import os from PIL import Image from helpers import cropBorder, replace_print class Maze(object): # Start of Node Class # class Node(object): def __init__(self, x_pos, y_pos, surroundings=None, start=False, end=False): self.name = 'node_%s_%s' % (x_pos, y_pos) self.x_pos, s...
[ "chenqh@uci.edu" ]
chenqh@uci.edu
66111fe1a191a09bd2078e9d605863dc0d1f4e35
391ea6a7c730b9db50f14b359b0a8d123c590924
/mayan/apps/duplicates/apps.py
03f07a880d442904d5665d81caea9af292aef5f4
[ "Apache-2.0" ]
permissive
Dave360-crypto/Mayan-EDMS-1
2e1891cea640ae2ac002d2c19eb22b88b271db29
7d79e748e8f6e47381a298ad8d219c15b09dd4d3
refs/heads/master
2023-08-19T06:48:48.566169
2021-10-11T06:22:24
2021-10-11T06:23:41
418,950,673
0
0
NOASSERTION
2021-10-19T14:07:24
2021-10-19T14:04:52
null
UTF-8
Python
false
false
2,997
py
from django.apps import apps from django.db.models.signals import post_delete from django.utils.translation import ugettext_lazy as _ from mayan.apps.common.apps import MayanAppConfig from mayan.apps.common.menus import ( menu_list_facet, menu_multi_item, menu_tools ) from mayan.apps.documents.menus import menu_do...
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
849c8859c0d6340d8cbc066bbe9b0df238848e8f
f210ccc90f9e091f10639f071c4e460fa4dafec1
/src/helper/cluster.py
72afcd677e91161ea455a8ea6061d9c3c1d91a17
[ "MIT" ]
permissive
qingchenkanlu/FlowPose6D
e21974bbbc73db8934e387943a002d009ac0b16f
2297ab5fa0afd0c247d59c2f1c7f899f078e2893
refs/heads/master
2023-01-20T13:43:59.737784
2020-11-22T10:52:23
2020-11-22T10:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,633
py
import os import time import logging def move_dataset_to_ssd(env, exp): try: # Update the env for the model when copying dataset to ssd if env.get('leonhard', {}).get('copy', False): files = ['data', 'data_syn', 'models', 'viewpoints_renderings'] p_ls = os.popen('echo $TMP...
[ "frey.breitenbrunn@gmx.de" ]
frey.breitenbrunn@gmx.de
98f0f7c8f6dc07fb91cc412adcda50946734e5bf
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/contrib/seq2seq/python/kernel_tests/attention_wrapper_test.py
7a7c4e3b9c1c750dc922cd05b01a2a88c65c0370
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
46,973
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
883cdc5c29b87723f98b7e4e6b693ecfc75275de
92cd0601656e4cde04e56a896ca063926185041c
/shop/accounts/apps.py
ac57fd73bea3da34aa8754777ebac2e76e4e1165
[]
no_license
Anych/shop
74599fd8f2405128c308f047ac9da13215a38912
e5190c1cb7d2b786b90cce9c88734427ea371fb8
refs/heads/master
2023-05-01T07:08:24.881512
2021-05-24T07:48:50
2021-05-24T07:48:50
355,591,850
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.apps import AppConfig class AccountsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'accounts' verbose_name = 'Аккаунты'
[ "anuar123@mail.ru" ]
anuar123@mail.ru
ca621434fe09d84bca3e458e246118b9fca0426c
ddfb8fe53a31ddb984d7e647010fe15a6b8978a3
/intensity_probe.py
7c5b6ed258c16b1fab62dd2fa1db524679e08435
[]
no_license
linzzz98/cvg_scripts
7d27b551e9d994a8385d4e6007d132674ac84906
e727fbb905bbcad4adaf722c830348678e04a860
refs/heads/master
2022-01-02T06:30:45.783826
2012-05-04T14:07:44
2012-05-04T14:07:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,466
py
#!/usr/bin/python """ Intensity_Probe - given a directory of images and directory of corresponding cameras, click on a point in the presented image and have the intensities at that point in other images plotted to the left (histogrammed and by image number...) """ from boxm2_adaptor import *; from boxm2_scene_adap...
[ "andrew.colin.miller@gmail.com" ]
andrew.colin.miller@gmail.com
05f10d2ee781ed9c5a53261db7d80fb1b86f2c53
cf7025ff7d02604ea146775a35894733d8338593
/core/settings.py
0491d6fc6eddf8fe942be18ae5190fac60296a53
[]
no_license
boxabhi/CodeKeen-starter
7af6e13ec780df8a571e52d6cf10e16ac4717c3d
ac8be93494cf7013366ba7ad8cbd172d47feb466
refs/heads/main
2023-06-18T14:56:30.771286
2021-07-25T15:45:05
2021-07-25T15:45:05
382,294,773
1
2
null
null
null
null
UTF-8
Python
false
false
3,653
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "abhijeetg40@gmail.com" ]
abhijeetg40@gmail.com
fa8957f1abd9be526285045d13f60e79976ae059
b3b9066196700269494b2a9350377bfd1aa8170e
/starlight_project/settings.py
5c7f1d8b99ce32ac6fa49ec3582d13239c206856
[]
no_license
MagiCircles/RevueStarlight
f33000e06bc6ce6db506bd7460c47ffd2a3716c4
5ce8a023e2b618143fd9dcc3e78758c2623001d7
refs/heads/master
2022-08-13T20:12:25.201028
2022-07-10T15:14:44
2022-07-10T15:14:44
185,398,158
5
2
null
2022-07-30T18:11:03
2019-05-07T12:32:48
Python
UTF-8
Python
false
false
4,887
py
# -*- coding: utf-8 -*- """ Django settings for starlight_project project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like th...
[ "db0company@gmail.com" ]
db0company@gmail.com
3f0324d2aa68a7bb29d539c03f1c6a4cd9453169
acec8615e8cd8e81d58703024816fdedf43ecc0e
/replica/contrib/blip/dashboard/views.py
f7b9cb6dd51299c49738ab6d641aeab39392c0d4
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
underlost/Replica
dec884522833e89bcec46d16b2349d0881a15cc9
2f092d3fc215b950fa6e409980a3f3e7c3633f7c
refs/heads/master
2021-03-12T23:39:19.196279
2015-06-04T07:53:15
2015-06-04T07:53:15
3,567,323
0
0
null
null
null
null
UTF-8
Python
false
false
5,663
py
from __future__ import absolute_import import logging from django.shortcuts import render_to_response, render, get_object_or_404, redirect from django.template import RequestContext from django.contrib import messages from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirec...
[ "underlost@gmail.com" ]
underlost@gmail.com
8db0433ff501a68fe74000395c3a8da33fe9fb5b
7b60d9a48b1b18bbc4a8d8f2cf523654691b5a5e
/data_tracker_csv_reader.py
2c395f5f7d1c0b052242d527def113b0dab74806
[]
no_license
bolducp/Data-Tracker-application-for-Bandwidth-
c0fe927db8b0897471ec8b2d453bc17622dafc91
9f8f567ab579691bd89f7f390057718866b1f665
refs/heads/master
2021-01-10T21:18:16.299626
2015-09-30T17:16:12
2015-09-30T17:16:12
42,602,537
0
1
null
2015-09-16T21:58:18
2015-09-16T17:26:04
Python
UTF-8
Python
false
false
1,933
py
"""A data tracker application for use with csv files from the Bandwidth+ application for OS X """ import csv def open_and_read_files(): try: filename = raw_input("Insert file name") with open(filename, 'rb') as csvfile: filelines = csv.reader(csvfile) file_text = [] ...
[ "paigebolduc@gmail.com" ]
paigebolduc@gmail.com
0df4b72bdd9e02254610431c265ceca056544974
53eee7eb899cb518983008532257037fb89def13
/672.bulb-switcher-ii.py
b93a772c448caa1bbccb098c38e26e109fe8d695
[]
no_license
chenxu0602/LeetCode
0deb3041a66cb15e12ed4585bbe0fefce5dc6b26
3dc5af2bc870fcc8f2142130fcd2b7cab8733151
refs/heads/master
2023-07-05T19:26:21.608123
2023-07-02T08:35:35
2023-07-02T08:35:35
233,351,978
2
0
null
null
null
null
UTF-8
Python
false
false
2,937
py
# # @lc app=leetcode id=672 lang=python3 # # [672] Bulb Switcher II # # https://leetcode.com/problems/bulb-switcher-ii/description/ # # algorithms # Medium (50.19%) # Likes: 97 # Dislikes: 729 # Total Accepted: 10.1K # Total Submissions: 20K # Testcase Example: '1\n1' # # There is a room with n lights which are ...
[ "chenxu@Chens-iMac.local" ]
chenxu@Chens-iMac.local
bf3e45acc7c35391ab1e9ad4135455e2c28f8879
f2da63de512183804290bfcabfa60eaca3649e05
/exercises/programming/stephenson-python-workbook/06-dictionary/src/Ex128.py
6dbc2397d830f745f696703b57e152d159b898a3
[]
no_license
paradisepilot/statistics
a94bb57ebe453d49c06815c523e8f633423cb68e
50daf644baca1f40253edf91083ed42d4c5f9342
refs/heads/master
2022-07-25T16:19:07.751886
2022-06-26T21:18:38
2022-06-26T21:18:38
5,012,656
0
2
null
2019-04-22T06:52:55
2012-07-13T01:11:42
HTML
UTF-8
Python
false
false
937
py
''' dummy comment ''' def reverseLookup( dictionary, value ): output = [] for k in dictionary.keys(): if value == dictionary[k]: output.append(k) return( output ) def ex128(): print("\n### ~~~~~ Exercise 128 ~~~~~~~~"); ### ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ### my_...
[ "paradisepilot@gmail.com" ]
paradisepilot@gmail.com
3c8bc6c16a353390defd28896d58a6fbe79ad210
4523d8dc3b195b0fd5532d9144d53a2e211e54e8
/flock.opensciencegrid.org/tests/test_topology_match_policy.py
b57497b055939cb086e93878491236f9e610cc81
[]
no_license
opensciencegrid/osg-flock
bbb3dc21fe5cc1e35d73023001c5f905519cdd75
1ea50bdd492e4dc67f9da5acf9e30ea1ed39b0fc
refs/heads/master
2023-08-17T16:22:46.237419
2023-08-15T17:54:16
2023-08-15T17:54:16
29,153,534
9
19
null
2023-09-08T18:23:51
2015-01-12T19:47:03
Shell
UTF-8
Python
false
false
2,228
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging import os import sys import unittest my_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.dirname(my_dir)) import topology_match_policy from topology_match_policy import _check_allocation as check_allocation topology_match_polic...
[ "matyas@cs.wisc.edu" ]
matyas@cs.wisc.edu
0524d8c5e07a991927d8302b96a909d5e71b374b
1cd503e72df737dc22439b8c1f3d2faac624bc8f
/setup.py
3abb6dfffb60392ff28598503d8632b1cce479e4
[ "Apache-2.0" ]
permissive
calina-c/ocean.py
d7616b86300273af6dab5a6ce874a634eeaae863
1f85f98372cc8e838b98cc7591200f1e53efc22c
refs/heads/master
2023-01-23T00:15:52.992170
2020-12-06T11:01:15
2020-12-06T11:01:15
319,011,007
0
0
Apache-2.0
2020-12-06T10:56:11
2020-12-06T10:56:11
null
UTF-8
Python
false
false
2,466
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" # Copyright 2018 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 import os from os.path import join from setuptools import setup with open('README.md') as readme_file: readme = readme_file.read() # Installed by pip install...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
92af70302b4a433c51040e0626ccef7d394e2f6b
1af6958461af6257264ace2a6d13385b47104606
/pyscf/ao2mo/semi_incore.py
c6e4c938a3f0b616e3c37c1219df24a2ec4b2059
[ "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
12,944
py
#!/usr/bin/env python # Copyright 2018-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....
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
e87a24ba0fcaa6b8e4d6314587cb1e1821b52cdd
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/dpaapiproductset/model/add_product_set_request_wrapper.py
c28925cf0ad257bdff6dc11ec2fa38f848be29ad
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,524
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
45ddf27d2f381cb39aa50e00f0ea4e8a88aa7706
11a246743073e9d2cb550f9144f59b95afebf195
/kattis/integerlists.py
63908216bbd58fcea15812ec9a7b565cabca411c
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
Python
false
false
667
py
def main(): s = input() n = int(input()) a = eval(input()) rev = False p1 = 0 p2 = n - 1 error = False for c in s: if c == 'R': rev = not rev else: if not rev: p1 += 1 else: p2 -= 1 if p1 > p...
[ "arnavsastry@gmail.com" ]
arnavsastry@gmail.com
e15c4a5f4a1e97adaefdb787a7a17e7c61eb949d
be791583545a1f66a7650085d920171d0df040da
/nni/algorithms/compression/pytorch/pruning/dependency_aware_pruner.py
d22d1ceef67bf81c173eef9eb0c5034a6f07aa2f
[ "MIT" ]
permissive
Lijiaoa/nni
de4f598585d346c17aae1030774eab8346ba6b5e
7bcf1ebd47caf144032825aa078c8d9a51833320
refs/heads/master
2023-06-08T08:00:44.947829
2022-09-14T08:37:09
2022-09-14T08:37:09
242,638,482
1
0
MIT
2020-07-16T08:24:42
2020-02-24T03:30:45
Python
UTF-8
Python
false
false
7,100
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import logging from schema import And, Optional from nni.common.graph_utils import TorchModuleGraph from nni.compression.pytorch.utils.shape_dependency import ChannelDependency, GroupDependency from nni.compression.pytorch.utils.config_validation...
[ "noreply@github.com" ]
Lijiaoa.noreply@github.com
9dcdc707217fb0b4c48f6a80250302b4ea7d484f
ee60826e497510c604284de36b118f35f8a93f2f
/spiders/mot/all/shandong.py
88449fe72b94d192867745241e5d09745cabe69a
[ "Apache-2.0" ]
permissive
kis307887597/policy_crawl
1c186d6502754e37e44ddb78ebf8e2702b1592be
e5f7612163c00049f2e6859e81babb3e0f30aca4
refs/heads/master
2022-04-11T19:42:17.041897
2020-04-03T08:36:41
2020-04-03T08:36:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
import re import time from pyquery import PyQuery as pq from policy_crawl.common.fetch import get,post from policy_crawl.common.save import save from policy_crawl.common.logger import alllog,errorlog def parse_detail(html,url): alllog.logger.info("山东省交通厅: %s"%url) doc=pq(html) data={} data["title"]=d...
[ "824007714@qq.com" ]
824007714@qq.com
563655e66fc80572ed033f5bd7c7941215234bd4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2970/60591/248073.py
9f388c36f1fa5bba317f8e2fc63c5020c261bb80
[]
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
723
py
import re def isValid(pattern,string): matcher = re.match(pattern,string) if(re.match(pattern,string)!=None): if(matcher.start() == 0 and matcher.end() == len(string)): print("Yes") else: print("No") else: print("No") while(True): try: pattern = i...
[ "1069583789@qq.com" ]
1069583789@qq.com
f2ba417585581514c9c544fc073f9064d5f811e2
2318f01356c8fc3493991ff987c21ee6962f6309
/examples/lightgbm_examples/regression.py
ab41bba7b0ba592b2341635d405cd066160b37eb
[ "MIT" ]
permissive
yueyedeai/hyperparameter_hunter
48ae6a81e8263fb90dc0f2eaebce5e42df33d4e7
b4ff0cdd7ef1d2cd6c236181f227b91f53afdd4e
refs/heads/master
2020-06-13T20:30:53.933894
2019-06-20T01:58:39
2019-06-20T02:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
from hyperparameter_hunter import Environment, CVExperiment from hyperparameter_hunter import ExtraTreesOptPro, Real, Integer, Categorical import pandas as pd from sklearn.datasets import load_boston from sklearn.metrics import r2_score from sklearn.model_selection import RepeatedKFold from lightgbm import LGBMRegresso...
[ "hunter@mcgushion.com" ]
hunter@mcgushion.com
f0e951e0b14af05fa62074808dccbe2f7bf57a1e
98d51363541de74c8c5a17d016b6c7453724d172
/Homework/WangJuan/1st/multiple_table.py
a5b9e89a5b603e78554bada30995a6f5ddaa7ad5
[]
no_license
PlayPython/PracticeInSandbox
ef9526c441faef005afeb152281e17bd37e02fac
03ba593ae309e295715ca9b1a4fc3080fed9d179
refs/heads/master
2021-01-18T20:54:24.920098
2016-11-12T06:55:57
2016-11-12T06:55:57
68,983,244
2
0
null
2016-10-10T09:16:48
2016-09-23T03:00:29
Python
UTF-8
Python
false
false
590
py
#!/usr/bin/env python # -*- coding: utf-8 -*- class Multiple_Table(object): def multiple_table(self, number1): for i in range(1, number1): for j in range(1, i + 1): a = i * j # 输出和预期不符,如何解决? print "{0} x {1} = {2}".format(j, i, j * i), ...
[ "516495459@qq.com" ]
516495459@qq.com
a3f8df4248a4bde54ebe07c5e01a72453d128c34
6392354e74cce4a303a544c53e13d0a7b87978ee
/m4/socket_correlation/Process_Test/deamon_process.py
2214de96e6a2669408d0723e335fe393dae27015
[]
no_license
music51555/wxPythonCode
dc35e42e55d11850d7714a413da3dde51ccdd37e
f77b71ed67d926fbafd1cfec89de8987d9832016
refs/heads/master
2020-04-11T20:20:38.136446
2019-04-01T09:17:34
2019-04-01T09:17:34
162,067,449
1
1
null
null
null
null
UTF-8
Python
false
false
277
py
import time from multiprocessing import Process def task(name): print('%s is running'%name) time.sleep(2) print('%s is done'%name) if __name__ == '__main__': p = Process(target = task,args = ('子进程1',)) p.daemon = True p.start() print('主')
[ "music51555@163.com" ]
music51555@163.com
385a541cc423a1f7290c27936dc224915a3efbcc
2fa016eeb6d4d4cc61fb0d43aa9f0fd1ad4ef2e3
/python/pytorch_test/DQN_test.py
c69023ac6c2f6593b04b58d12aa3a88d29507afa
[]
no_license
juechen-zzz/learngit
521e0d2c13d97248f6f8b1f2096f718dc497351b
513d3e57f4e0fce72ca4ecd1f30be2d261ee9260
refs/heads/master
2021-07-04T17:20:58.456812
2020-08-27T02:08:05
2020-08-27T02:08:05
163,482,583
8
0
null
null
null
null
UTF-8
Python
false
false
4,509
py
""" DQN强化学习 """ import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import gym # Hyper parameters BATCH_SIZE = 32 LR = 0.01 EPSILON = 0.9 # greedy policy(参数) GAMMA = 0.9 # reward discount TARGET_REPLACE_ITER = ...
[ "240553516@qq.com" ]
240553516@qq.com
68685bbd376f9cbe2cd1311b8313d1a34cd95f75
518a7949a195f29591d5e1523287bd8985046ebb
/examples/bootstrap3/settings.py
3463cd7305f4204b3484308adf6d532671bdec40
[ "MIT" ]
permissive
kelvinhammond/djangocms-cascade
73ecb0b3a136b3615fd354d04c1a57de0bb4485f
ba99706b03d1ae5a04952e3e6dded1c048426e89
refs/heads/master
2021-01-18T12:54:08.271278
2014-04-08T14:42:14
2014-04-08T14:42:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,452
py
# Django settings for unit test project. import os DEBUG = True PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) SITE_ID = 1 ROOT_URLCONF = 'bootstrap3.urls' SECRET_KEY = 'secret' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'bootstrap3/database.sqlite', ...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
46f9dc85ca46e101dd7033dc503abca879a2ef96
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/tests/regressiontests/cache/models.py
66a55aa1db6eeeac0fcac1dbcc0fa90c651174d0
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
103
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/tests/regressiontests/cache/models.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
5488a146c268af0eca9fc2a0cd323ac5a4a95a9b
bf79fc0de3dcdfe7a4f3d2b10f9a271d757d345b
/httplib_post_sessionId.py
ce7d8c74d569922cb88cb48296ce4d415551cab5
[]
no_license
gsrr/network_programming
3aa09916b025f27fee98e8ed7dc0ebb4beadfbb9
91c3bdaf60b90c848a4e7fc4cfa29b6076e4e64f
refs/heads/master
2021-01-18T15:12:41.379298
2013-10-12T15:46:27
2013-10-12T15:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
import httplib headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain" , "Cookie": "JSESSIONID=487D7BDC9E91CC65603A7FB5A16B7E11" } conn = httplib.HTTPConnection("172.27.112.40") conn.request("POST", "/servlet/RTRRDisplayConfig" , "" , headers) r1 = conn.getresponse() print r1.status, r1.re...
[ "jerrycheng1128@gmail.com" ]
jerrycheng1128@gmail.com
475648468940c502788b44540e3bd9313ee5e4bc
eea8c7343b4c1f3083dfd066aa2d3df155ff3713
/bioframe/dask.py
1d5c9a6a713828baff44e446762ba7b6039859c2
[ "MIT" ]
permissive
agalitsyna/bioframe
090dbbd5a88d3673fd5472361468d0c0e7cac149
2bcfcb52de21cd6f31e2e2f69d39427908ea841b
refs/heads/master
2020-06-01T03:14:42.770344
2019-06-11T19:46:24
2019-06-11T19:46:24
190,611,916
0
0
MIT
2019-06-06T16:12:13
2019-06-06T16:12:12
null
UTF-8
Python
false
false
6,179
py
from __future__ import division, print_function, absolute_import from collections import OrderedDict from contextlib import closing import numpy as np import pandas as pd import numba import pypairix import pysam from dask.base import tokenize import dask.dataframe as dd import dask.array as da import dask def bin2...
[ "nabdennur@gmail.com" ]
nabdennur@gmail.com
220ecc6dfcdc71e07171f2b4cdb6b97a034114d6
c988a8856d2d3fb7771417b4c7810e528a197d2b
/Generators 2.py
9b2b8e0fd242c5b9ea38fbb9c33f02ac9f69df22
[]
no_license
arunekuriakose/MyPython
0c8a9161fef20bf77f7ba31149ec4ba0fa79b0bd
19f44819612a8490d430bafec0616f68ce109776
refs/heads/master
2022-01-20T07:56:48.505226
2019-07-22T06:26:52
2019-07-22T06:26:52
198,158,499
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# def demo(): n=1 print("First") yield n n+=1 print("Second") yield n n+=1 print("Third") yield n #a=demo() #print(next(a)) #print(next(a)) #print(next(a)) for i in demo(): print(next(i))
[ "noreply@github.com" ]
arunekuriakose.noreply@github.com
3b5349a86fba8c9b1cfb2e62694c68a49574e8f5
1abec01c89583daf7c486d5a78b60597ed0e9b85
/RFID/test1.py
5f34e3cd5bd8f512aba7702aa5b8f4b0375dd300
[]
no_license
BaldSuperman/python_work
a31625a02c27b94d7165dde1c584ebfe769e4dbd
36669079e81a798f051ee89dfc681c1d74e1c746
refs/heads/master
2020-05-27T16:00:34.292449
2019-06-17T07:05:11
2019-06-17T07:05:11
188,687,919
0
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
# -*- coding: utf-8 -*- import RPi.GPIO as GPIO from mfrc522 import SimpleMFRC522 as rc522 def write(): reader = rc522() try: data = raw_input("input data: ") print("input data is: "+data) print("place your card to write") reader.write(data) print("write success") ...
[ "you@example.com" ]
you@example.com
d00ecc5889baf1e72d1751d86e98601d7028d53b
a3f0669e893e152997aab440275aafbeca74c4c5
/src/ffm/evaluate.py
a19f7ba86df0c7d8e7cd4788b56c30906af7a112
[]
no_license
AzizIlyosov/ctr-algorithms-ipinyou
0280e3379e6d207b52fa206dc9e05779b876a927
25ca16788497c3d954259dc8dfcd353b76edc2c5
refs/heads/master
2020-04-08T01:43:51.391902
2018-07-04T14:09:07
2018-07-04T14:09:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
# _*_ coding: utf-8 _*_ import sys import scipy as sp from csv import DictReader from sklearn.metrics import accuracy_score from sklearn.metrics import f1_score from sklearn.metrics import log_loss from sklearn.metrics import precision_score from sklearn.metrics import recall_score from sklearn.metrics import roc_au...
[ "1107630485@qq.com" ]
1107630485@qq.com
7e0e8298dda72c9880e5943047eb1190db12eff7
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-ApplicationServices/Lib/PrintCore/__init__.py
36c698f201df15a99f814a8bbfc57c763b22a185
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
1,256
py
""" Python mapping for the PrintCore framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import functools import sys import Cocoa import objc from PrintCore import _metadata, _PrintCore sys.modules["PrintCore"...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
4080c05e280ec94e2df632dc211c25773aa6243b
02e23da0431623db86c8138bda350a1d526d4185
/Archivos Python Documentos/Graficas/.history/tierras_20200219214608.py
5ebc61a24ec8acd6890ed7cafa92f02f17424812
[]
no_license
Jaamunozr/Archivos-python
d9996d3d10ff8429cd1b4c2b396016a3a5482889
1f0af9ba08f12ac27e111fcceed49bbcf3b39657
refs/heads/master
2022-08-05T14:49:45.178561
2022-07-13T13:44:39
2022-07-13T13:44:39
244,073,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
import os import pylab as pl import numpy as np from mpl_toolkits.mplot3d import Axes3D os.system("clear") fig = pl.figure() axx = Axes3D(fig) raiz=np.sqrt ln=np.log X = np.arange(-2, 12, 0.01) Y = np.arange(-2, 12, 0.01) Z = np.arange(600,2000,100) X, Y = np.meshgrid(X, Y) ax, ay = 0.5, 0.5 bx, by = 4.5, 0.4 cx, cy...
[ "jaamunozr@gmail.com" ]
jaamunozr@gmail.com
7eb7b91bac55d631f2d8f2cb1262e1d2b70b03bd
455c1cec4101254a0b7f50349e915411033a0af1
/supervised_learning/0x02-tensorflow/5-create_train_op.py
fb850cd429f95ec7d7f273f75d9347cfba9615e1
[]
no_license
Daransoto/holbertonschool-machine_learning
30c9f2753463d57cac87f245b77c8d6655351e75
1e7cd1589e6e4896ee48a24b9ca85595e16e929d
refs/heads/master
2021-03-10T14:32:09.419389
2020-10-23T19:47:31
2020-10-23T19:47:31
246,461,514
0
1
null
null
null
null
UTF-8
Python
false
false
268
py
#!/usr/bin/env python3 """ This module contains the function calculate_loss. """ import tensorflow as tf def create_train_op(loss, alpha): """ Creates the training operation for the network. """ return tf.train.GradientDescentOptimizer(alpha).minimize(loss)
[ "901@holbertonschool.com" ]
901@holbertonschool.com
916866031e271a0f5bb4313ed49925223da816aa
da370ba0df9700519139e1da54f3e7f38e9b7f5f
/.nox/tests/lib/python3.7/site-packages/jaxlib/xla_client.py
a6ef6bd431a6813cf33496bef07281616009f7b0
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
antonevenepoel/open_spiel
90e3c7c6611cf508f2872237412fd67cf6cd10e0
f2f0c786410018675fc40e9a5b82c40814555fa8
refs/heads/master
2021-03-15T20:57:00.562672
2020-05-15T16:10:23
2020-05-15T16:10:23
246,877,171
0
0
Apache-2.0
2020-03-12T16:07:42
2020-03-12T16:07:41
null
UTF-8
Python
false
false
66,737
py
# Lint as: python3 # Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "36889203+antonevenepoel@users.noreply.github.com" ]
36889203+antonevenepoel@users.noreply.github.com
fb5956cc1e3720cd529ef6c78da2abf555f5f8bc
1b2407f35191917818ea7f276079aa8f62429770
/nova/tests/functional/libvirt/test_numa_servers.py
06f301abd11145980986ca92526ec9cf45581139
[ "Apache-2.0" ]
permissive
ISCAS-VDI/nova-base
67838b54230d250b71fd1067c4a754afbc258883
dbb6bba94f8a3eae5ed420d8af3431ab116c3fa7
refs/heads/master
2021-01-20T19:08:51.403722
2016-06-07T06:46:54
2016-06-07T06:46:54
60,588,545
0
1
Apache-2.0
2020-07-24T00:41:15
2016-06-07T06:38:23
Python
UTF-8
Python
false
false
6,704
py
# Copyright (C) 2015 Red Hat, 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 required...
[ "wangfeng@nfs.iscas.ac.cn" ]
wangfeng@nfs.iscas.ac.cn
c2aa76664a5c37545f20d40f25c06ab24d60b407
637e0a650a1bea456164bae71c2fb152a98f5db8
/pyntcloud/structures/octree.py
56ca5f00ca23ef21b2fdd734fd2d70676a8b7807
[ "Unlicense" ]
permissive
mzkaramat/pyntcloud
eaebfeea88573a1b27dc4df943c6a54dc796dc1b
6e663045495180581ddc77d604901e408c0a0247
refs/heads/master
2020-03-07T17:17:51.436067
2018-03-29T11:30:36
2018-03-29T11:30:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
# HAKUNA MATATA """ VoxelGrid Class """ import numpy as np import pandas as pd class Octree(object): def __init__(self, points, max_level=2): self.points = points self.max_level = max_level self.structure = pd.DataFrame( np.zeros((self.points.shape[0], self.max_level), dtyp...
[ "daviddelaiglesiacastro@gmail.com" ]
daviddelaiglesiacastro@gmail.com
5aec005f547d8990c87b6d7e0957eaf437f08732
ad798335dbc724845475b43249801af20b6c40f1
/hash.py
45ee95923820b86e9149d9ae2ab0e3ed2c7eb44e
[ "MIT" ]
permissive
zconnect-iot/ibm-iot-emulator
7e8c7db72e11fdf0fc79600227a3e63ec12eeebf
89b7c923b5e737df7dc9c508172f8f927a075668
refs/heads/master
2020-03-22T07:35:17.109194
2018-07-05T15:13:11
2018-07-05T15:13:11
139,709,951
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import bcrypt password = b"-ankVuPqceD(LBd0Zc" hashed = b"$2a$04$BOYcgGknfgS2yYAxtnXfEu6btv4bG8A1lE4UteDP7dU80TXW.Jmsa" print(bcrypt.hashpw(password, bcrypt.gensalt(prefix=b"2a"))) print(bcrypt.checkpw(password, hashed))
[ "boulton@zoetrope.io" ]
boulton@zoetrope.io
0c439fa97e81b8f694f0c8057857c21bc6e1e1c8
f89b8631ad8b86efc816fd19acb85d1f4e09f3e3
/vespa/interfaces/cli_batch/analysis_cli_brp_cmrr_slaser_v5.py
17dc7acb934c689e1a19e104f4b11339ae0d4ece
[ "BSD-3-Clause" ]
permissive
fmarcanoull/vespa
20c3772a13430d6da8a7835633baea6b5e852ee6
77f6289a63975068eba54bb2db5f834146fc7d01
refs/heads/main
2023-04-21T17:18:31.124441
2021-05-06T01:09:27
2021-05-06T01:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,413
py
# Python modules from __future__ import division from __future__ import print_function import os import sys import multiprocessing import datetime # 3rd party modules from matplotlib.backends.backend_pdf import PdfPages # Our modules import vespa.analysis.util_import as util_import import vespa.analysis.util_file_im...
[ "bsoher@briansoher.om" ]
bsoher@briansoher.om
90fc94c313e3d1383748e2f33c4e7ebaf0982728
ea5762e8754d6b039963b0125822afb261844cc8
/docs/_examples/mesh-parameterisation.py
59980c4ede312f3cd6d7cb5a8e31e278431115a8
[ "MIT" ]
permissive
gonzalocasas/compas
787977a4712fbfb9e230c4f433b6e2be509e4855
2fabc7e5c966a02d823fa453564151e1a1e7e3c6
refs/heads/master
2020-03-23T20:17:55.126856
2018-07-24T22:30:08
2018-07-24T22:30:08
142,033,431
0
0
MIT
2018-07-31T14:54:52
2018-07-23T15:27:19
Python
UTF-8
Python
false
false
2,803
py
"""Parameterisation of a triangle mesh. For more info see: - http://www.ctralie.com/Teaching/LapMesh/ """ from __future__ import print_function import compas from numpy import zeros from scipy.sparse import coo_matrix from scipy.sparse import block_diag from scipy.sparse.linalg import spsolve from compas.datast...
[ "vanmelet@ethz.ch" ]
vanmelet@ethz.ch
da321f4939af9c4dab146e4bbb4bd976366d1e45
161ab63e46114a8359c60dfa77820a7abd181e80
/hproxy/spider/base_spider/__init__.py
3a06269c73e2fef0a0314e3ee15dff572110c5fb
[ "MIT" ]
permissive
yejianxin2015/hproxy
27be1a7311bba7fc5f2c02d45658c5c57c507c76
f40266bf7b06368d3ebfdce8d60385bcd4b93713
refs/heads/master
2020-03-15T09:03:38.752884
2018-05-11T06:51:45
2018-05-11T06:51:45
132,065,983
0
0
MIT
2018-05-11T06:48:52
2018-05-04T00:53:03
Python
UTF-8
Python
false
false
178
py
#!/usr/bin/env python """ Created by howie.hu at 06/04/2018. """ from .field import AttrField, BaseField, TextField from .item import Item from .proxy_spider import ProxySpider
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
2751f620bc6323df796e8b4d26ec38990ca755de
b018b734af4170d34d28c474f68777597dba29ec
/venv/lib/python3.8/site-packages/google/cloud/monitoring_v3/proto/metric_service_pb2.py
19a5cc2c5a5fbeaec5fc398149cac074e402497d
[]
no_license
abdulkhan94/BigDataTechnology
ae0b7f8c03831f07b791bc5898c2bb18a4c3fec5
7be6d3a13e8fd42d9592d7287d694d507f9070b5
refs/heads/master
2023-02-13T04:07:49.070798
2021-01-11T01:34:51
2021-01-11T01:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
true
75,141
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/monitoring_v3/proto/metric_service.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.prot...
[ "abdullahn@gmail.com" ]
abdullahn@gmail.com
d061f290f794c90b951bbf0dd48c7e1e8356db05
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/10375900/snippet.py
26438e7b72a4b03ea1b6bf2b8a49d6ac065dfc0f
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
8,007
py
import boto import json import time import sys import getopt import argparse import os import logging import StringIO import uuid import math import httplib from boto.sqs.message import RawMessage from boto.sqs.message import Message from boto.s3.key import Key #########################################################...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
7665734ba108bbe3b98f2a09d77e4acbe740a77f
a08f9192cef4c48378e2c691353343112b317d71
/hatchet/readers/json_reader.py
407536bae020b48822d840cb2c5d9e0915ebd7fa
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later" ]
permissive
LLNL/hatchet
a7a33523f7aa60dfe38739e2362666a50af7adc0
5d0efca4ea9cca03497d0b89b6ffada37242d579
refs/heads/develop
2023-08-30T22:29:30.456656
2023-08-17T16:05:46
2023-08-17T16:05:46
454,508,482
19
13
MIT
2023-09-09T00:13:13
2022-02-01T18:43:00
JavaScript
UTF-8
Python
false
false
2,060
py
# Copyright 2017-2023 Lawrence Livermore National Security, LLC and other # Hatchet Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: MIT import json import pandas as pd import hatchet.graphframe from hatchet.node import Node from hatchet.graph import Graph from hatchet.fra...
[ "noreply@github.com" ]
LLNL.noreply@github.com
2ef1e47b02a835b52e3773d43064d34477571116
4a230737626c0cadfc5326315d036bf8453ef953
/paiza_03/paiza_03_006_002.erb
1f4012fe5d575e2d3c7a1c660ba105740666ad7b
[]
no_license
reinaaa05/python
0037a40b588b6954ea5d5b0ff45df98c1522f865
2d9e2b7388c4a19a0389aa6cb532774271bd27b0
refs/heads/master
2023-04-21T23:39:20.450914
2021-05-12T07:27:47
2021-05-12T07:27:47
340,906,770
0
0
null
null
null
null
UTF-8
Python
false
false
146
erb
# coding: utf-8 # 標準入力とループ処理 count = int(input()) count2 = int(input()) i = count while i <= count2: print(i) i += 1
[ "Reinaaa0555@gmail.com" ]
Reinaaa0555@gmail.com
bb77ef951e11dbb4d4981b2e9305607269c7ba70
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY4JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Logger/Expandedfull_cfg.py
d3581bac8bec09f120fed9d94f9edc89079e3b8e
[]
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
165,735
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/DY4JetsToLL_M-50_T...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
91d7abb0e40dc1bf0cbb74d3f9ed197e1e70bced
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/342/107362/submittedfiles/principal.py
0f40d38c7c74dadb18defa87d6b7e0f5f8d063ca
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import random nome = input('Insira o nome do usuário:') def solicitaSimboloDoHumano(): simb = input('Escolha o seu símbolo:') while simb != 'X' or 'O': simb = input('Escolha um símbolo válido:') solicitaSimboloDoHumano() print(random.choice([nome,'computador começa']))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
eaea2f61d183d4210777892f777ed5239ea073da
77d52805fa67c36e13c624f853de027bf70a17e6
/notSoRand.py
08fab414bfe7d71d7bddb38c08065faac43e5503
[]
no_license
BeautyScraper/pythonUtilities
f13d7a2732b754c5b2ab9ae2fbbc17cad04cc6ce
a9fe1b63249ccf0749d70c8bd40696915cd0841b
refs/heads/master
2020-03-18T16:41:37.566492
2019-04-17T03:02:58
2019-04-17T03:02:58
134,980,812
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
import random import re import os def randomLine(fileName="test.txt"): try: print("opening " + fileName) with open("files\\" + fileName,"r") as inF: selectedLine = random.choice(inF.readlines()) print("Selected Lines is " + selectedLine) while(re.search("\[(.*?)\...
[ "you@example.com" ]
you@example.com
79104fb27df6da2bc9c3650b5f36fe3f58342f99
0524471f0deec846a50a3dfb9a039495623a79fd
/manajemen_kontrak/migrations/0050_auto_20210504_0828.py
75fcc18b53f70e9c563c8efd530fd9ae81989ff7
[]
no_license
riswanto84/SiLPBJ-Project
0e97f89d2ea5f1ac4e631e9f0457aa5864a6e8e9
7e052f5a4847a07fdd542ae6550e303d6627d1ca
refs/heads/master
2023-04-24T23:35:41.984864
2021-05-08T08:15:28
2021-05-08T08:15:28
363,024,170
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# Generated by Django 3.1.1 on 2021-05-04 01:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manajemen_kontrak', '0049_auto_20210504_0814'), ] operations = [ migrations.AddField( model_name='barang', name='spe...
[ "riswanto.aris@gmail.com" ]
riswanto.aris@gmail.com
9485737dbc564ef7885a6ba0a9e51092a0c524ec
ab9cfa8aa28749ebd18c4fa4c8712c2198e72501
/从上到下打印二叉树.py
46ea53e5fa68a2a32a3177d71697ace7839c0de8
[]
no_license
joseph-mutu/JianZhiOfferCodePics
d71e780483909390b436f81989000a277daac11d
8d41326cb2b9bc1379682fa6364a68c0ce62dbee
refs/heads/master
2020-08-03T14:39:59.666806
2019-09-30T06:17:36
2019-09-30T06:17:36
211,788,783
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2019-08-23 16:41:17 # @Author : mutudeh (josephmathone@gmail.com) # @Link : ${link} # @Version : $Id$ import os class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def PrintFromTopToBottom(self, r...
[ "josephmathone@gmail.com" ]
josephmathone@gmail.com
b95a492675647575a6d42baff7748f1c458dab89
043a17d196250048a5a34e990a19d8622436f9ce
/Redintek/07_return_values/redintek.py
a116a216bd42d5a87cd88ae1dfb2fafee1e23cb7
[]
no_license
chimtrangbu/hyperspace
8df8cb9c5475b70b218d0a56034c7f520815fa0d
ec49324c705e9af61c3857cf2dea2a551bda5537
refs/heads/master
2020-03-26T07:18:34.249976
2018-12-20T05:16:55
2018-12-20T05:16:55
144,647,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
r = {} def put(key, value): global r r[key] = value return value def get(key): return r[key] if key in r.keys() else None def exists(key): return (key in r.keys()) def delete(key): global r try: del r[key] return True except KeyError: return False def in...
[ "you@example.com" ]
you@example.com
5ec6e963b60657efb5c7f58282747bd3c3b3bbcf
86df6f8f4f3c03cccc96459ad82bcdf3bf942492
/lintcode/find-the-connected-component-in-the-undirected-graph.py
1d83a7de926c28153c4e30dca9008b29f8b6e8b8
[]
no_license
bdliyq/algorithm
369d1fd2ae3925a559ebae3fa8f5deab233daab1
e1c993a5d1531e1fb10cd3c8d686f533c9a5cbc8
refs/heads/master
2016-08-11T21:49:31.259393
2016-04-05T11:10:30
2016-04-05T11:10:30
44,576,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
#!/usr/bin/env python # encoding: utf-8 # Question: http://www.lintcode.com/en/problem/find-the-connected-component-in-the-undirected-graph/ # Definition for a undirected graph node # class UndirectedGraphNode: # def __init__(self, x): # self.label = x # self.neighbors = [] class Solution: # ...
[ "liyongqiang01@baidu.com" ]
liyongqiang01@baidu.com
32b67fab7e56846fb6300e78ec34af1bdd32c6a3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/YLf984Eod74ha4Tok_19.py
a1794374010be900955aa9ae6a5c69cf7e837041
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
""" In a calendar year, it is exactly 365.25 days. But, eventually, this will lead to confusion because humans normally count by exact divisibility of 1 and not with decimal points. So, to avoid the latter, it was decided to add up all 0.25 days every four-year cycle, make that year to sum up to 366 days (including ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
46f861b5d2e6b2395aeb66db0a5a19d451da893f
b7a3d0ac1c3c46743adfbfd2da6b7b6b22d3910b
/backend/pakearn_3676/wsgi.py
6f4211e43bd31b4790cb02e4d689ddd3c2185850
[]
no_license
crowdbotics-apps/pakearn-3676
976a1b24e3a47ed42526ae6f99b5cda248e88d04
7c2aa72a2091604be81c4b82931dd494137b43f2
refs/heads/master
2020-05-25T20:07:02.159662
2019-05-22T05:12:19
2019-05-22T05:12:19
187,967,071
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for pakearn_3676 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("DJANGO...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
338342748a69234b4d64912a2a2f6e1632b917b1
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4375/codes/1670_2966.py
3ece3928b8754173db28d496c3a374b1107e4dee
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
259
py
promocao=input("S ou N: ") ingresso=float(input("valor do ingresso: ")) qntd=float(input("qntd de ingressos: ")) total=ingresso*qntd promocao=promocao.upper() if promocao=="S": desconto=total-total*0.2 print(round(desconto,2)) else: print(round(total,2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ffd9e8e9af3dbad639d8bf389ab7b9590881963d
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/storage/azure-mgmt-storage/generated_samples/storage_account_enable_cmk.py
a14ee86badfe4c98c526af848a574e0f339ba9d0
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
2,162
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
b2acc2ec4ad57a84ba11c806eb4b36ae1fc06ad8
4a73648ecd3951b802e89e83a3bd9ef5b063af3d
/python_part/Leetcode/Sort/215. Kth Largest Element in an Array(快排)/Quick Select.py
f10356100760825b120026fe8c08605d817cf4d8
[]
no_license
Allen-C-Guan/Leetcode-Answer
f5f9ee1348b86da914a564b7d23bf8904d5aa27f
f6e1374ef567590fee15ba6d1d6d65891233b5e1
refs/heads/master
2023-08-17T18:18:00.581743
2021-10-10T15:24:07
2021-10-10T15:24:07
257,017,331
0
0
null
null
null
null
UTF-8
Python
false
false
1,654
py
''' quick select的方法 也是quicksort的基础 我们使用递归来完成 ''' from typing import List class Solution: def __init__(self): self.res = None def findKthLargest(self, nums: List[int], k: int) -> int: # 其实这个partition 由于采用的是lo,hi,并不需要计算k的相对大小。 # 在partition里面,我们最好还是每次随机选择pivot比较快。 # s 表示slow,fast...
[ "54201792+Allen-C-Guan@users.noreply.github.com" ]
54201792+Allen-C-Guan@users.noreply.github.com
e28854dde030346d5b89484a8453525a3bf8b422
27b599eabf8f5e8088e30c0d2baa6682f1661be4
/tensorflow_probability/python/internal/auto_composite_tensor_test.py
3ecb660335c6694b3c66eb9b15fe72aa36b47c62
[ "Apache-2.0" ]
permissive
adriang133/probability
b6ecf28f737c44f19df3a4893e6d1cf0351bc4a0
edfc4585f38017153fe7bf1a7287fcdd237912c4
refs/heads/master
2022-12-12T05:02:04.247859
2020-09-16T21:06:03
2020-09-16T21:07:27
296,163,707
0
0
Apache-2.0
2020-09-16T22:47:07
2020-09-16T22:47:06
null
UTF-8
Python
false
false
2,593
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
915f56d3c4a365c0cb016403d0ebe181278d0ca2
95bba054198a2709163ecb3cf2adbd9ed6913490
/fph/parseFile.py
c428bf7c6b2516e63ecd4227f4641c14a90690f4
[]
no_license
jieter/fph-parser
e21549c788cf80f91ac9def168fd46e13e8ac847
2e1b57e2815cfcf023a6c1c68793a22fe178a533
refs/heads/master
2020-04-06T07:03:00.822824
2015-09-09T07:19:24
2015-09-09T07:19:24
14,070,587
4
3
null
null
null
null
UTF-8
Python
false
false
566
py
# Fisher and Paykel CPAP .FPH file parser. # # Jan Pieter Waagmeester <jieter@jieter.nl> # # File format source: # http://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Icon import FPHFile from summary import SummaryFile from detail import DetailFile from flow import FlowFile def parseFile(filename): part...
[ "jieter@jieter.nl" ]
jieter@jieter.nl
808efbb3e5a50d252926f34dd42f8d2f275a33a6
b80ee603f5fde501795e026ef2b122baf5c57c9d
/pre_commit_hooks/fix_byte_order_marker.py
1ffe047de80c3b981b56d37ac9d0c8ba34d4089e
[ "MIT" ]
permissive
ADTRAN/pre-commit-hooks
384656043c75f70aae7e452c13ad61cb2cfb455a
73254720098abd062a99074496e5b19eeba7e1d9
refs/heads/master
2023-08-07T03:58:03.705712
2021-10-11T20:54:25
2021-10-11T20:54:25
416,055,424
0
1
MIT
2021-10-11T20:54:26
2021-10-11T19:12:40
Python
UTF-8
Python
false
false
797
py
import argparse from typing import Optional from typing import Sequence def main(argv: Optional[Sequence[str]] = None) -> int: parser = argparse.ArgumentParser() parser.add_argument('filenames', nargs='*', help='Filenames to check') args = parser.parse_args(argv) retv = 0 for filename in args.fi...
[ "asottile@umich.edu" ]
asottile@umich.edu
d1ea9e31207bbebbd7ed7889663442e0c8b6193c
2eddcd036a85d040cb2f45adac41efb1cf2eacff
/problem_36.py
110651f9c305495944d7390e66f5a737cf0bd44b
[]
no_license
pmaddi/euler
1a16869976054faa36f3fb0aa5ff3d802b1982dd
17f8a898b1ab0fdb0e81f72e9ca4711f119e5829
refs/heads/master
2021-12-28T12:38:40.280036
2021-12-25T22:46:50
2021-12-25T22:46:50
127,155,664
0
1
null
null
null
null
UTF-8
Python
false
false
234
py
if __name__ == '__main__': def r(n): return ''.join(reversed(n)) out = 0 for i in range(1, 10**6): d = str(i) b = bin(i)[2:] if r(d) == d and r(b) == b: out += i print(out)
[ "pranav.maddi@gmail.com" ]
pranav.maddi@gmail.com
1a6b37e19acff97cd68240b8c35ca25fe60944da
51f536ae42397da7826a32b942c88e48d95e9f3c
/examples/dft/00-simple_dft.py
c19b209739a278909fa76796ff2c93fd15a976f7
[ "BSD-2-Clause" ]
permissive
xlzan/pyscf
8f3b6e3e4b1de27313f99bc94b4aba15e1c84ff7
81606c8f384ff1da98a7aa4c817021a78302110a
refs/heads/master
2020-03-15T01:41:22.938983
2018-04-19T19:41:18
2018-04-19T19:41:18
131,899,354
1
0
BSD-2-Clause
2018-05-02T19:55:17
2018-05-02T19:55:16
null
UTF-8
Python
false
false
612
py
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # from pyscf import gto, dft ''' A simple example to run DFT calculation. See pyscf/dft/vxc.py for the complete list of available XC functional ''' mol = gto.Mole() mol.build( atom = 'H 0 0 0; F 0 0 1.1', # in Angstrom basis = '631g', ...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
ce1625f50652b0d101a5a0d9b7cb7f38aa6631e1
63768dc92cde5515a96d774a32facb461a3bf6e9
/jacket/db/compute/sqlalchemy/migrate_repo/versions/230_add_details_column_to_instance_actions_events.py
8079a2af04d72e10f2b44e7f7c34eb703f98d723
[ "Apache-2.0" ]
permissive
ljZM33nd/jacket
6fe9156f6f5789e5c24425afa7ce9237c302673d
d7ad3147fcb43131098c2a5210847634ff5fb325
refs/heads/master
2023-04-16T11:02:01.153751
2016-11-15T02:48:12
2016-11-15T02:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
# Copyright 2013 OpenStack Foundation. # # 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...
[ "nkapotoxin@gmail.com" ]
nkapotoxin@gmail.com
6a2ad476a403a0d861a3051455c2906fc5c0ad6c
88509a8ce62a22acc0639c683900d5d0cb8d69e7
/Day23/orm/app/migrations/0002_customer.py
227e5263d58c0d580aa8aa135326246264832abf
[]
no_license
pytutorial/py2104
8b0238ab6f6d2f5395aee5fbe1f4aff03b819cd3
48b36d6b1f40730ef2747c310e70fb6997eda388
refs/heads/main
2023-09-03T16:55:02.285158
2021-10-20T05:24:31
2021-10-20T05:24:31
391,613,464
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
# Generated by Django 3.2 on 2021-08-08 14:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Customer', fields=[ ('id', model...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
89dd3969b7cbd4d20538ffbf26e73d72bc1c12a8
e54867ad23f1c07ebc7632125bb408c3f8294cc0
/camera-calibration/calibrated_camera.py
caceca1e15189841665f732f3bbd199d27b18f36
[]
no_license
pi-test/foo
ea2a651e83224ea3616d20dba483470e439b40ec
2a0bdf0db7fedd95a1133636067890ff8fe68e51
refs/heads/master
2020-09-07T08:13:35.363352
2019-11-09T23:50:01
2019-11-09T23:50:01
220,718,447
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import sys import yaml import cv2 import numpy as np with open("data.yaml", "r") as stream: data = yaml.load(stream) mtx = data["camera_matrix"] mtx = np.asarray(mtx) dist = data["dist_coeff"] dist = np.asarray(dist) imagePath = sys.argv[1] img = cv2.imread(imagePath) h, w = img.shape[:2] cv2.imshow("preview",...
[ "sosorry@raspberrypi.com.tw" ]
sosorry@raspberrypi.com.tw
f063b29223c2e1574d1892868e349fa6ff05419f
e7116c13ba14d65e2687f47d4e08b8d67ed89cb8
/run.py
09e751e2b7eaf0278623259c61506d3b1c849418
[]
no_license
trzp/target_tracker
bc3ccdd4c4fa3701f60db3b8d4346544b4dbe7cf
199a730576c5e20345af8af602ad8e4f2c1cc6dc
refs/heads/master
2020-05-22T06:29:05.786585
2019-05-15T11:20:06
2019-05-15T11:20:06
186,254,958
0
0
null
null
null
null
UTF-8
Python
false
false
2,870
py
import numpy as np import cv2 import sys from time import time import kcftracker selectingObject = False initTracking = False onTracking = False ix, iy, cx, cy = -1, -1, -1, -1 w, h = 0, 0 inteval = 1 duration = 0.01 # mouse callback function def draw_boundingbox(event, x, y, flags, param): global selectingObj...
[ "mrtang@nudt.edu.cn" ]
mrtang@nudt.edu.cn
c552a5b4b970b671de29935c6c7fec152f9fbb0f
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res_bw/scripts/common/lib/plat-mac/carbon/ah.py
59522d3bebbfc99e90dd2d0ea96f851b13826555
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
355
py
# 2016.02.14 12:50:05 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/AH.py from _AH import * # okay decompyling c:\Users\PC\wotsources\files\originals\res_bw\scripts\common\lib\plat-mac\carbon\ah.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2016.02.14 12:50:05 Stře...
[ "info@webium.sk" ]
info@webium.sk
af511c917b239fde8c45abb7f850b9785e7b652f
0760fb4901a75766921a205b55686d6d6f049b30
/python/ray/tune/search/hebo/hebo_search.py
9f40bd8fe2a603935730dc29cb3ddc6d3a1b7260
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
16,940
py
import logging import pickle from typing import Dict, List, Optional, Union import numpy as np import pandas as pd from ray.tune.result import DEFAULT_METRIC from ray.tune.search.sample import ( Categorical, Domain, Float, Integer, LogUniform, Quantized, Uniform, ) from ray.tune.search imp...
[ "noreply@github.com" ]
ray-project.noreply@github.com
99c43e11e73e39345fbad4fb92a9dedc45bd6273
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/zuora_client/models/get_account_type.py
c79f56f011d9bdd68e65c635eeca068bd1dd2c51
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,473
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
7f4469f9d0c7551cc80ccda897e83bc80b8bb373
3395a234e7c80d011607e79c49cd48bf516f256b
/dependencies/jedi/third_party/typeshed/third_party/2and3/geoip2/database.pyi
7a8991160162cd32b115800bc513ea9dfd3aaeac
[ "MIT", "Apache-2.0" ]
permissive
srusskih/SublimeJEDI
67329b72e184bc9584843968dcc534a002c797a1
95c185d778425c04536d53517b0e3fe6dedf8e59
refs/heads/master
2023-08-24T11:30:37.801834
2022-08-30T09:04:17
2022-08-30T09:04:17
6,241,108
669
125
MIT
2022-08-30T09:04:18
2012-10-16T08:23:57
Python
UTF-8
Python
false
false
1,094
pyi
from types import TracebackType from typing import Optional, Sequence, Text, Type from maxminddb.reader import Metadata from geoip2.models import AnonymousIP, ASN, City, ConnectionType, Country, Domain, Enterprise, ISP _Locales = Optional[Sequence[Text]] class Reader: def __init__(self, filename: Text, locales: ...
[ "srusskih@users.noreply.github.com" ]
srusskih@users.noreply.github.com
84e03392e7e42e41051379fa972bca8d338527b6
6dd2d509d44ea035da9d2a9f6cc9797724c12484
/run/Cooling/CoolingTest_JHW/plot.py
4a01e40fc1d6f0193868ce6e108dd44bcdca1845
[ "NCSA", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
appolloford/enzo-dev
ea9ebc98036c6e5be0c98ebb903448a354cb4aaf
2b20d1c9ee5b9b4ee6706a73e32d2e4a8b7fc8f5
refs/heads/master
2023-08-06T01:18:34.631354
2021-10-25T17:06:06
2021-10-25T17:06:06
228,542,764
2
1
NOASSERTION
2019-12-17T05:50:13
2019-12-17T05:50:12
null
UTF-8
Python
false
false
3,238
py
from matplotlib import pyplot from yt.mods import * import numpy as na def _H_NumberDensity(field, data): "Get total Hydrogen nuclei number density." if data.pf['MultiSpecies'] == 0: return (0.76 * data['Density']) fieldData = na.zeros(data['HI_Density'].shape, dtype=data...
[ "brittonsmith@gmail.com" ]
brittonsmith@gmail.com
b900cba8ee80ef45c51c074ce98053f0c32d3110
359496fc90720875cca962b37006551282533ef8
/src/andres/graph/python/module/__init__.py
8045832ed6519c33662e787a55e456781eb9d87b
[]
no_license
DerThorsten/graph
66858c6f4bd9a40cc355549138fea2da8120b759
7c3a10b446e3ade9ba67dcdb7880bd0798bb2ec3
refs/heads/master
2020-04-01T21:46:42.806967
2016-01-04T11:52:50
2016-01-04T11:52:50
48,331,910
0
0
null
2015-12-20T18:12:14
2015-12-20T18:12:12
null
UTF-8
Python
false
false
1,573
py
from _graph import * import numpy def _injectorClass(clsToExtend): class InjectorClass(object): class __metaclass__(clsToExtend.__class__): def __init__(self, name, bases, dict): for b in bases: if type(b) not in (self, type): for k,...
[ "thorsten.beier@iwr.uni-heidelberg.de" ]
thorsten.beier@iwr.uni-heidelberg.de