blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
7e6c17b5762d01ec1cdc2acbbd3e68c9af681cc0
494051ad9bac642175cbe57ecafeafa4a6b01dc8
/observing_scripts/180527/lmircam_unsats.py
47541dd4eff6f9a2b454680fd76fb98a4630ebf2
[]
no_license
mwanakijiji/LMIRcam_scripts
c80f8123d1c7ca78df69068fb4136dacc3802071
48d88cde6a4d428b2f08b0f50c05045d4927fb4d
refs/heads/master
2021-07-10T00:35:18.852627
2019-04-18T04:56:12
2019-04-18T04:56:12
109,775,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
from lmircam_tools import pi from lmircam_tools.exposures import get_lmircam_frames from lmircam_tools.utils import nod, rawbg, setFLAG ################################################# # USER DEFINED PARAMETERS # ################################################# #camera dit = 1.3 coadds = 1 # ...
[ "spalding@email.arizona.edu" ]
spalding@email.arizona.edu
58297a472053a0f9ee3c0a37d5b700b520deb1e9
674013162755a57e258156832d7fdc645ab55c0d
/No0433-minimum-genetic-mutation-medium.py
1c7eea1f761d6538290d9038d8cc860b564b3078
[]
no_license
chenxy3791/leetcode
cecd6afb0a85e5563ba2d5ae8eb2562491f663e0
1007197ff0feda35001c0aaf13382af6869869b2
refs/heads/master
2023-06-25T13:54:12.471419
2023-06-12T05:02:03
2023-06-12T05:02:03
229,204,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 19 07:34:05 2022 @author: Dell """ from typing import List from collections import deque class Solution: def minMutation(self, start: str, end: str, bank: List[str]) -> int: def diff_is_one(s1,s2)->bool: cnt=0 for k in range(len(s1)): ...
[ "chenxy@bwave.cc" ]
chenxy@bwave.cc
6a90371c674ee10ed4e7b1aad1604babdba2d592
794cac199162c496cc0727932e0326d5d8cb48d9
/byte/executors/pysqlite/models/transaction.py
535e7de5b10f44c70e8558e26bf3c12a03f933fe
[]
no_license
fuzeman/byte-pysqlite
6f259a17e8a8faf5a705015f55c34530b3beb021
72e72058957779536571059990376f3ec68318d4
refs/heads/master
2021-01-21T11:36:58.252030
2017-05-23T02:42:29
2017-05-23T02:42:29
91,747,570
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
"""byte-pysqlite - executor transaction module.""" from __future__ import absolute_import, division, print_function from byte.executors.core.models.database import DatabaseTransaction from byte.executors.pysqlite.models.cursor import PySqliteCursor class PySqliteTransaction(DatabaseTransaction, PySqliteCursor): ...
[ "me@dgardiner.net" ]
me@dgardiner.net
645c89f4e0e5649c7ab97eddc0afc696ae5c8ed0
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.0_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=35/sched.py
d665efe4468546c4f7ae91e8e871e66bb65f0ab3
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
-X FMLP -Q 0 -L 3 79 400 -X FMLP -Q 0 -L 3 79 400 -X FMLP -Q 1 -L 1 65 300 -X FMLP -Q 1 -L 1 34 175 -X FMLP -Q 2 -L 1 33 175 -X FMLP -Q 3 -L 1 31 150 26 125 16 100 16 125 12 100 11 100 9 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
003d75e323d2f48d6eef690bf9dfce0df01c0fba
77d9e584576c76236d4e1eed6011df5b12a92ead
/code_for_training.py
f5830c0f7d434f5a93966ad9dc8f8841ffe4059f
[]
no_license
ObinnaObeleagu/datasets
ba9747ecd7b6fe3b22566222a6752d62e7c8ca23
61ca10d3c88d666bf3a9e2c471a270fec00d0521
refs/heads/master
2022-04-04T11:23:48.631874
2019-12-22T02:00:06
2019-12-22T02:00:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,957
py
import keras from keras.layers import * from keras.models import * from keras.preprocessing.image import ImageDataGenerator from keras.callbacks import LearningRateScheduler import os from keras.callbacks import ModelCheckpoint from keras.optimizers import Adam #The Linear Bottleneck increases the number of channels g...
[ "noreply@github.com" ]
ObinnaObeleagu.noreply@github.com
96f02c283b1bea8c44deb683c011fe267a8e10aa
da34b4fd9a6523d374ce754cad272dddc769a1c1
/test.py
27c14a4ef9bf96f2e029a8a294c8fbf59bdf52bd
[]
no_license
shish/apache2rrd
82b3f595699961edf0f3e488b12242bca8f38676
7bbb66e18c06a0ae9a495617053be582953a8f1e
refs/heads/master
2020-04-06T06:21:17.203612
2014-08-26T14:01:17
2014-08-26T14:01:17
511,553
6
1
null
2014-08-26T13:03:50
2010-02-10T16:45:58
Python
UTF-8
Python
false
false
851
py
#!/usr/bin/env python import os import a2r import unittest class Test_A2R(unittest.TestCase): def tearDown(self): if os.path.exists("test.rrd"): os.unlink("test.rrd") def test_init(self): a = a2r.ApacheToRRD("test.rrd") self.assertEqual(a.gecko, 0) self.assertEqu...
[ "shish@shishnet.org" ]
shish@shishnet.org
b78a2ceae0b90656d776440a4214132a3ee9a7e2
b586cec578da0e1904d07468a7f49dacc0af5e99
/chapter_10/QASystem/util/utils.py
f07ff8da94b2fdbdfe7b5eabc1173bdf591fc19d
[ "MIT" ]
permissive
LifeOfGame/mongodb_redis
bf21b989eeb95eeb39f684363f9436677252a63e
834fbdd65d4ea9e1e0056b711781e5f27a40333b
refs/heads/master
2021-06-22T17:01:19.497132
2019-08-20T06:54:21
2019-08-20T06:54:21
203,295,895
0
0
MIT
2021-03-20T01:37:02
2019-08-20T03:53:06
Jupyter Notebook
UTF-8
Python
false
false
1,278
py
from bson import ObjectId def check_answer_valid(answer): author = answer.get('author', '') question_id = answer.get('question_id', '') answer = answer.get('answer', '') if not all([author, question_id, answer]): return {'success': False, 'reason': 'author/question_id/answer 三个参数不完整'} if n...
[ "greensouth@foxmail.com" ]
greensouth@foxmail.com
021a8ba558176ead7f8644458a9289bf9b5a284c
88849505c8d71c5fcc8d18fe2da3aa93a97f1e0e
/pages/003.py
a9816cc7d7e040683c9265092a73056e0ff58be1
[ "MIT" ]
permissive
mscroggs/KLBFAX
5322e025c41b30c6f160699e742c988c9e47ea88
3aaaa0cfe3b9772caa0a87e639efd9bce5b6adf4
refs/heads/master
2021-04-09T16:38:08.581934
2018-06-25T12:18:23
2018-06-25T12:18:26
31,314,664
5
1
null
2017-07-26T19:21:13
2015-02-25T13:26:38
Python
UTF-8
Python
false
false
630
py
from page import Page class LiPage(Page): def __init__(self): super(LiPage, self).__init__("003") self.in_index = False self.is_enabled = False self.title = "License" def generate_content(self): from random import randrange self.add_title("License",font="size4"...
[ "matthew.w.scroggs@gmail.com" ]
matthew.w.scroggs@gmail.com
93f17a0e7749edd09542c1cb17ae3f994e7e4689
c8e481e914a3bf455c3e1d85b6031f76d1ce0794
/tests/050_conf/002_base_backend/004_parse.py
9006e9028704c3ac33d1fa6ec21d6d0f4962aede
[ "MIT" ]
permissive
dansamara/boussole
c6db8c9e2964bf57d113cfcfb4441c08dcdf67f6
07bbca09190e568d288ed07773a47bf31dafa3ab
refs/heads/master
2021-09-24T01:26:48.840541
2018-10-01T00:33:05
2018-10-01T00:33:05
116,189,796
0
0
null
2018-01-03T22:50:11
2018-01-03T22:50:11
null
UTF-8
Python
false
false
464
py
# -*- coding: utf-8 -*- import os import pytest from boussole.conf.base_backend import SettingsBackendBase def test_ok_001(settings): """conf.base_backend.SettingsBackendBase: Dummy content parsing""" backend = SettingsBackendBase(basedir=settings.fixtures_path) path, filename = backend.parse_filepath()...
[ "sveetch@gmail.com" ]
sveetch@gmail.com
ef889db2724a63e8aa459d671114d155862c3b02
5b810b5b59eb66e564b84d4627a81afb72bb769c
/app.py
23dae30029c1fe2fd3a11e2bdd23ddbc890fefe3
[]
no_license
wangyitao/microfilm
402d6c61aa8e4f41749829c96a742487c88d9f75
3cbee7b599483b117283359de9e7bec9d945ff53
refs/heads/master
2020-03-23T04:19:19.797404
2018-08-02T01:38:14
2018-08-02T01:38:14
141,076,259
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# -*- coding: utf-8 -*- # @Author : Felix Wang # @time : 2018/7/9 21:47 from flask import Flask app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def index(): return 'ddd' if __name__ == '__main__': app.run()
[ "1403179190@qq.com" ]
1403179190@qq.com
60d899681bd0e175af2faf5d08a2cdf089eb2e2a
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/python/paddle/text/datasets/imikolov.py
5aead1c2d9cf53d2fcb4c2e973a4d550140b7f56
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
6,040
py
# Copyright (c) 2020 PaddlePaddle 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 app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
0627c37670137bb356e5ac3476c7fbff81aaa893
bd4812ba7af196d2e866cbf2935b2e7308d95066
/python/leetcode/027_remove_element.py
69bc6bb96bf324dd9fcb29c92e93359aefcc38d6
[ "Apache-2.0" ]
permissive
yxun/notebook
f507201e15c4376f0655121724254c0d5275c3b1
00eb1953d872a9a93a13d7cf23d8e4ed641d1ce7
refs/heads/master
2023-09-01T03:50:48.142295
2023-08-17T12:11:25
2023-08-17T12:11:25
207,569,654
2
2
Apache-2.0
2023-08-17T12:11:26
2019-09-10T13:38:49
Java
UTF-8
Python
false
false
654
py
#%% """ - Remove Element - https://leetcode.com/problems/remove-element/ - Easy Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. The...
[ "yuanlin.yxu@gmail.com" ]
yuanlin.yxu@gmail.com
503a6990773f84900941ddfa619be90e6d517e93
60cfb6a5effedfd65b804f09b68b446a2bb6f8a6
/Q6_SortStack.py
6f91cae14eb9e382c4dbbe3e874a1622e00ab098
[]
no_license
rjayswal-pythonista/DSA_Python
c85d7d8527dab169d58afec1103e78875705f27f
5ab169dac5f46d5cce2938cdba180f0f2133ac63
refs/heads/master
2023-07-05T12:50:31.973648
2021-08-07T18:51:04
2021-08-07T18:51:04
389,362,148
1
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
# Created by Roshan Jayswal on 02/06/2020. # Copyright © 2021. All rights reserved. # Sort a stack with the smallest on top using only a single temporary stack. def sort_stack(stack): previous = stack.pop() current = stack.pop() temp = Stack() while current: if previous < current: temp.push(prev...
[ "roshanjayswal15@cisco.com" ]
roshanjayswal15@cisco.com
99cee0d58499bc4397e829cec7dc424326750fc7
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/vns/absfunccfg.py
d2d4bcf6c3e4c4109778afdcd0b0da20219872d8
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
7,972
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
b4ce141db0565838c5eb91fd85bdfe5c95d8426b
e05215ef0f9c4ec8b964ac4e3b8f9ac7da72f062
/0x0F-python-object_relational_mapping/11-model_state_insert.py
2cf00633d96831dde34c11fa7b2ffe4e3110649c
[]
no_license
BrianFs04/holbertonschool-higher_level_programming
2fcb639b354e12a82e205a4c0beaaf29b18cec9d
9d0ebf054b26707a1ba8f21a3a8f307e906ca8df
refs/heads/master
2020-09-29T01:43:30.361544
2020-08-30T22:38:09
2020-08-30T22:38:09
226,911,398
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/python3 ''' Script that adds the State object “Louisiana” to the database hbtn_0e_6_usa via SQLAlchemy ''' import sys from sqlalchemy import (create_engine) from model_state import Base, State from sqlalchemy.orm import sessionmaker if __name__ == '__main__': engine = create_engine('mysql+mysqldb://{}:...
[ "brayanflorezsanabria@gmail.com" ]
brayanflorezsanabria@gmail.com
13dc161a7fcd0c32cd486eb437f78c8ea981ef80
f5159d881896475375c9218f9d06b5324975d106
/Day-6_Majority_Element.py
c5a17c8ea30dc612b4895e9b45fda863ff44e121
[]
no_license
Gangadharbhuvan/31-Day-Leetcode-May-Challenge
93327cc749cd77a7579c4ab7f2a1826e59b1c14b
95be5ece107f1181c261d88ccb344c7c8f6f7a83
refs/heads/master
2022-09-21T23:27:21.855715
2020-05-31T14:49:04
2020-05-31T14:49:04
260,307,749
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
''' Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority element always exist in the array. Example 1: Input: [3,2,3] Output: 3 Example 2: Input: [2,2,1,1,1,2,2] Outp...
[ "noreply@github.com" ]
Gangadharbhuvan.noreply@github.com
214bd7d718d94b5188dc860bd4ea65f717cdeb15
3fc00c49c6b5a5d3edb4f5a97a86ecc8f59a3035
/grais/migrations/0005_auto_20210324_0829.py
d4c1c9e2118f96de3869e6510ed5d2ee5c692748
[]
no_license
yc-hu/dm_apps
9e640ef08da8ecefcd7008ee2d4f8f268ec9062e
483f855b19876fd60c0017a270df74e076aa0d8b
refs/heads/master
2023-04-07T13:13:55.999058
2021-04-12T10:19:21
2021-04-12T10:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 3.1.6 on 2021-03-24 11:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('grais', '0004_auto_20210324_0805'), ] operations = [ migrations.RenameField( model_name='station', old_name='latitude_n', ...
[ "davjfish@gmail.com" ]
davjfish@gmail.com
c8a5c08cc8be510b83622461e4e9bfc27681fbae
3032448a477f6f89716d3cb6fd47bc79211ae820
/mowdie/updates/migrations/0005_update_favorited_users.py
88996fbc5b4c72eb5dfd70d7876f11f887122b90
[]
no_license
Callus4815/mowdie
663e035dcc1b51c5c21deb7c43006c81008ac43d
5650d422c33a50d58c7bbac5be77db2e8001fd83
refs/heads/master
2020-12-14T08:56:05.599949
2015-06-17T19:25:32
2015-06-17T19:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('updates', '0004_auto_20150611_0319'), ...
[ "clinton@dreisbach.us" ]
clinton@dreisbach.us
5f7d3420dc72f9d24ee5077434ba2b43b24f1c9f
ebbfdb7cc1cd33e195ccc830c2ff87bdce2c024e
/simple-social-network/chat/migrations/0001_initial.py
a68615dd6ae099d8ed9c9b3c74873e785e2310e3
[]
no_license
bateternal/simple-social-network
a399be4fcf48ce495d3f2004130ffc88723d2d4c
8f888580493c31c44113825d5eb82349cf977c20
refs/heads/master
2023-04-06T09:32:45.529327
2022-06-06T09:37:46
2022-06-06T09:37:46
231,631,113
1
0
null
2023-03-31T14:38:36
2020-01-03T17:08:34
Python
UTF-8
Python
false
false
4,764
py
# Generated by Django 3.2.5 on 2021-10-24 15:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "bateternali@gmail.com" ]
bateternali@gmail.com
71c1136a6ab54949103064970f3cc6705338ff20
5ff7fa0fe26f8d5f4dcc53dc3f2f423046d07aaf
/theme_left_side_menu_bottom/theme_left_side_menu_bottom.py
b5eb1d70eb0eab27988982aa0b8694e441e8e06c
[]
no_license
cikupamart/odoo-theme-vertel
8eb17cb0bbe6eff9677aae3c345ca8b3db59ad05
fde27670894c7701b58712f35752570a809732f7
refs/heads/master
2023-05-30T21:32:52.079706
2018-12-17T09:56:42
2018-12-17T09:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution, third party addon # Copyright (C) 2004-2015 Vertel AB (<http://vertel.se>). # # This program is free software: you can redistribute it and/or modify # it under the terms o...
[ "apollo_zhj@msn.com" ]
apollo_zhj@msn.com
6bd4db8f055f1d127a9660863738b466df1a8216
b9f79352353f2445c54a5e55def2058513b2c43d
/python/read_seis.py
d0b26298e7442acee5add5006aa09b56a04a4823
[]
no_license
ganlubbq/Compressed-Sensing-Delay-Estimation
07d1ebbc6079ff5f9867521ffbf87b6af66ab899
db4fe86d551efcaf59deb9c1a15c36ea225a5f71
refs/heads/master
2021-06-19T03:39:11.611976
2017-07-06T08:38:40
2017-07-06T08:38:40
110,315,515
1
0
null
2017-11-11T03:40:25
2017-11-11T03:40:25
null
UTF-8
Python
false
false
1,866
py
import array from ctypes import * CSIZE = 1800000 FTSIZE = 1048576 class SEIS_HEADER(Structure): """ struct seis_header { int nt; int id; int rline; /* receiver line # */ int rpt; /* index on receiver line */ char name[8]; double x, y, z; double t0;...
[ "woodielove@163.com" ]
woodielove@163.com
20cbd2d350769fcb76a391136b859b317ddf5056
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_omnivore.py
cc5ddfea19e0284252fbde14485df2059cf5ad5a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#calss header class _OMNIVORE(): def __init__(self,): self.name = "OMNIVORE" self.definitions = [u'an animal that is naturally able to eat both plants and meat'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []):...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f611798c3579ff98814760ba37e7aca00e3d0016
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/Nyspider/dianping/memberlist.py
3aafd55eb50320b3a9501d67f401ba5c404872db
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
8,186
py
import requests from bs4 import BeautifulSoup import time from proxy import * import datetime import openpyxl headers = { 'Host':'www.dianping.com', 'User-Agent':"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0", 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,...
[ "2397955090@qq.com" ]
2397955090@qq.com
2a431ab76c91f331c775d63f85dc46ca25b64bae
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03401/s135565011.py
7af11a4492d262bd746c0ac261ce6fc9e68553bf
[]
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
526
py
n = int(input()) s = list(map(int,input().split())) ans = 0 tmp = 0 for i in range(n): ans += abs(s[i] - tmp) tmp = s[i] ans += abs(tmp) s.insert(0,0) s.insert(n+1,0) for i in range(1,n+1):#とばす番号 tmp_ans = ans a = s[i-1] tmp = s[i] b = s[i+1] if (b >= tmp and tmp >= a) or (b <= tmp and tmp...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
55b8c9bb105cf92e5f7fba91742cec07dc7f102c
400b0cb1f25cc2fbe80a3037c06102f40c4d2d89
/number59.py
9e5990a700479ac7e3765a971bd68b65742a6585
[]
no_license
Prithamprince/Python-programming
4c747d306829de552e3b0c6af67cfe534a2dc2e1
79a0953084a01978e75d2be4db0d35ba1cf29259
refs/heads/master
2020-05-30T06:29:26.134906
2019-12-13T06:33:49
2019-12-13T06:33:49
189,580,341
0
4
null
null
null
null
UTF-8
Python
false
false
141
py
l=input() l=l.split(" ") n=l[0] k=l[1] m=input() m=m.split() for i in m: if(i==k): a=m.index(i) b=a+1 print(b)
[ "noreply@github.com" ]
Prithamprince.noreply@github.com
58728fcd6507f4d087c5f3194611b685872a2621
71e3c041cb4911df0fd9f4444d8e07fb4e17d38c
/agent/DQN_agent.py
bcd98445f17bb6e6dbe4fab6202d0190fd882b61
[ "Apache-2.0" ]
permissive
w1368027790/DeepRL
8e713da32e2465f20a4966cf7d7aeb69f35aa074
51f125c01eb013b77ebf3a78795ae87dc9ffb9f9
refs/heads/master
2021-07-08T06:23:41.095226
2017-10-08T03:23:02
2017-10-08T03:23:02
106,264,458
1
0
null
2017-10-09T09:38:19
2017-10-09T09:38:19
null
UTF-8
Python
false
false
5,989
py
####################################################################### # Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # # Permission given to modify the code as long as you keep this # # declaration at the top # ################################...
[ "zhangshangtong.cpp@icloud.com" ]
zhangshangtong.cpp@icloud.com
ac21789371720cde990ea04ef4fa6a4949c11fbf
75374c8dce2d1ea64b91307b84f4676bf3294f91
/venv/lib/python3.7/site-packages/bokeh/core/property/validation.py
540914d565f13ef73a35288bac5732fbfe1b1adc
[]
no_license
emmaloutaylor/Dissertation-Predictive-Model-Django
6f8425f99bda7dea93716d76aee3f826efa6002e
cd94a4bc3268ace2a4d4a918c91690f437a45078
refs/heads/master
2023-08-08T00:25:11.481090
2019-04-03T20:39:34
2019-04-03T22:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
[ "emmataylor223@gmail.com" ]
emmataylor223@gmail.com
d7207a576dddf97b7f43418a59a28b71bbe49f54
cd18d3142548ff264ec9a64f5887ebfb05a55aeb
/pyefun/progiterUtil.py
f5467840bc1b85be5d28550b1dcff6f1ef1f1b64
[ "Apache-2.0" ]
permissive
kingking888/pyefun
a035670c704f3ae4c431badd9e25d47929713163
afdf5acc3ab51f83d462e44bc2e974dafe173524
refs/heads/master
2023-05-09T15:01:56.783958
2021-05-31T14:47:55
2021-05-31T14:47:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
# 进度显示 使您可以测量和打印迭代过程的进度。这可以通过可迭代的界面或使用手动API来完成。使用可迭代的接口是最常见的。 from ubelt.util_format import * import ubelt as ub def 调试输出(obj): # data = repr2(obj, nl=2, precision=2) data = repr2(obj) print(data) class 进度显示(ub.ProgIter): def __init__(self, 迭代对象=None, 描述="", 总数=None...
[ "ll@163.com" ]
ll@163.com
0e5b404689e9316c3c3e34f1c16d24c80aa0329a
7f4886802e83352f37d35509b7775c93c2756105
/festival/models.py
5b717ff85b6e7b325ed9187c1b2e7146a4146ef2
[]
no_license
JihyeKim0923/lion10
c23a019c3725de2d9f70556993db1ed3e8d6ae2e
2b76dc9290bec6f4d827a625b2f0b1e92c85ed53
refs/heads/master
2020-06-19T02:56:24.746341
2019-07-11T15:40:17
2019-07-11T15:40:17
196,539,639
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author=models.ForeignKey('auth.User',on_delete=models.CASCADE) title=models.CharField(max_length=200) text=models.TextField() created_date=models.DateTimeField(default=timezone.now) ...
[ "sos13313@naver.com" ]
sos13313@naver.com
39019e8fd9d7dda66abf8358c2697ed9f94c110f
e56953de3a962d5ca67907c6e68ec3c987fb8d30
/algorithms/dynamic_programming(DP)/11726_2n타일링.py
a38ade59004e4a6bb02368308f01a6181a98db04
[]
no_license
alb7979s/datastructuresAndAlgorithms
f2b337b460b989a9a04faafd3d41e08b9d424a3c
c9304733c87019952b8eb4261e62521e79cbe484
refs/heads/main
2023-08-18T00:11:42.332265
2021-09-23T09:18:23
2021-09-23T09:18:23
325,931,004
3
1
null
null
null
null
UTF-8
Python
false
false
191
py
def dp(x): if x <= 2: return x if mem[x] != -1: return mem[x] mem[x] = (dp(x-2) + dp(x-1))%DIV return mem[x] DIV = int(1e4) + 7 n=int(input()) mem = [-1] * (n+1) print(dp(n))
[ "alb7979s@naver.com" ]
alb7979s@naver.com
6963a9a71e656ace2ac1da7c4dd74fe1faf80cf9
5a0a4e019e438c31ac8264b662b92de50c8ed3e9
/SearchingAndSorting/search_in_rotated_array.py
cd0129d2fb37f85e89b9f5209e56b3ae9a901947
[ "MIT" ]
permissive
BharaniSri10/DSA-Together-HacktoberFest
d30b8c0f67869e2e12b21a346b0455ba6d133d42
ae245528fc07702f5fa9e4badf6e478c57ec2faa
refs/heads/main
2023-09-04T03:19:11.362265
2021-10-02T20:35:27
2021-10-02T20:35:27
412,903,744
1
0
MIT
2021-10-02T20:22:09
2021-10-02T20:22:08
null
UTF-8
Python
false
false
378
py
# Leetcode - 33 # https://leetcode.com/problems/search-in-rotated-sorted-array/ class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ op = -1 for i in range(0 , len(nums)): if (nums[i] =...
[ "dsrao0712@gmail.com" ]
dsrao0712@gmail.com
d20f333f05936b0ed82b6b6615a7d342703e63cf
79080c853292c9cd7f41e6fd4357e3a4736f75bc
/300-/384.py
6fe168d804abdfef8ecaa10fd88684490e125a17
[ "MIT" ]
permissive
yshshadow/Leetcode
d5476ff36b8c76213dacb01c252480e0539f37a7
5097f69bb0050d963c784d6bc0e88a7e871568ed
refs/heads/master
2020-03-23T21:32:39.227875
2019-01-15T17:46:19
2019-01-15T17:46:19
142,114,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
# Shuffle a set of numbers without duplicates. # # Example: # # // Init an array with set 1, 2, and 3. # int[] nums = {1,2,3}; # Solution solution = new Solution(nums); # # // Shuffle the array [1,2,3] and return its result. Any permutation of [1,2,3] must equally likely to be returned. # solution.shuffle(); # # // Res...
[ "=" ]
=
aa500f52835e95b292f603b05ba2d67174fa9c15
e123c7b93a4f9eea4d509aee619bf49576e14e74
/lib/logging.py
b63380889a6be7c7ff4007d298e01d9c7caf7e2b
[]
no_license
rx007/pubsubdemo
31d3edb44fd45dddac73ef225f0575d3e2bc0c95
ca2d21970aa61f3c69b0d8b3b8990452788dab33
refs/heads/master
2023-09-01T09:25:09.069213
2015-10-19T05:59:46
2015-10-19T05:59:46
44,574,349
1
0
null
2023-09-04T15:04:42
2015-10-20T01:27:05
Python
UTF-8
Python
false
false
361
py
import logging class BaseLoggingMixin: _logger = None @property def logger(self): if not self._logger: FORMAT = '%(asctime)-15s %(message)s' logging.basicConfig(level=logging.DEBUG, format=FORMAT) self._logger = logging.getLogger() return self._logger ...
[ "fortable1999@gmail.com" ]
fortable1999@gmail.com
a15934509c9bce80a887eef83c8f8d8a45909cfc
5b771c11e8967038025376c6ec31962ca90748dd
/django_by_example_book/02_Social_website/images/models.py
df3cbeb23a5169757c72e949d7bd314300cfab24
[]
no_license
AsemAntar/Django_Projects
7135eca3b4bcb656fc88e0838483c97d7f1746e1
4141c2c7e91845eec307f6dd6c69199302eabb16
refs/heads/master
2022-12-10T06:32:35.787504
2020-05-26T14:43:01
2020-05-26T14:43:01
216,863,494
0
0
null
2022-12-05T13:31:53
2019-10-22T16:47:28
Python
UTF-8
Python
false
false
1,016
py
from django.db import models from django.conf import settings from django.urls import reverse from django.utils.text import slugify class Image(models.Model): user = models.ForeignKey( settings.AUTH_USER_MODEL, related_name='images_created', on_delete=models.CASCADE ) title = models.CharField(max_...
[ "asemantar@gmail.com" ]
asemantar@gmail.com
cebece4c71231bb01593d9f810c520429f8ec289
904b0d81152649ccd3349f94f88e7b89a7b5c76a
/Sandbox/nightrange_ELG_LOPnotqsosuccess.py
e2f965e3851cf476ee67c5a637a83c744dcedf20
[ "BSD-3-Clause" ]
permissive
desihub/LSS
ec33538a0e7280ad1c6b257368cc009ed4b39cbb
5645461929172d327ed30389d76e7e887043c9bf
refs/heads/main
2023-08-18T23:17:13.123605
2023-08-18T20:08:22
2023-08-18T20:08:22
36,753,969
14
28
BSD-3-Clause
2023-09-13T18:37:35
2015-06-02T18:42:51
Jupyter Notebook
UTF-8
Python
false
false
7,408
py
#right now, requires source /project/projectdirs/desi/software/desi_environment.sh master from astropy.table import Table import numpy as np import os import argparse import fitsio from desitarget.targetmask import zwarn_mask,desi_mask from matplotlib.backends.backend_pdf import PdfPages parser = argparse.ArgumentPar...
[ "ashley.jacob.ross@gmail.com" ]
ashley.jacob.ross@gmail.com
53a23e14ac999c557c7dba20208c195194ec2dd9
7f5dca89315a869b2f30d39a9ed3d3c848960bd0
/basic_cms/models.py
16d25452ba2196b1fcc4e2f0e67cbe1021272de8
[]
no_license
ljean/balafon_standalone_example
6df5f3252a9ec3fcc180ced2ee3301f5ca42f196
bde12ee9c1f1735a0a3c63271fab1a5caee9ecf9
refs/heads/master
2021-01-10T08:10:35.437568
2016-03-24T11:31:42
2016-03-24T11:31:42
54,129,145
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
# -*- coding: utf-8 -*- """models""" from coop_cms.models import BaseArticle, BaseNavTree class Article(BaseArticle): # pylint: disable=W5101 """basic_cms.Article is equal to the BaseArticle abstract""" pass
[ "ljean@apidev.fr" ]
ljean@apidev.fr
9c98dbdfa22f606247a9bc1c21dc28985e60310f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/GFocalV2/mmcv_need/builder.py
7beeeca018755b5083d9da1a6acf02197fa0f71b
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,523
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
e608eabea228cd68009cd427ef30957f38bfcb0e
b68b43162dcf7d3a739144f55087b1795c235194
/nplook/shell.py
0a4b0769164f24724d392d587a5d1afd11b32b30
[]
no_license
gustavla/nplook
5970b40163e83e5aaab64947bb32437b6cd22908
1556b6e0d0c5f0255cc7b4712b778d8a97fd217e
refs/heads/master
2021-01-01T15:51:31.342797
2013-01-19T19:44:30
2013-01-19T19:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
from __future__ import print_function import sys import nplook import glob from optparse import OptionParser def main(): examples = [] examples.append(("data.npy", "summarizes the ndarray in data.npy")) examples.append(("data.npz", "summarizes the dictionary in data.npz")) examples.append(("*.npz", "s...
[ "gustav.m.larsson@gmail.com" ]
gustav.m.larsson@gmail.com
7222ec080a830e56ff98e948ca2d6cd24f9bd216
5cbb2c7378dda2ffb06b02c3bc6deb8451e4fbbf
/B/conanfile.py
81aff2b31c949af77dbc635599002de28f519ccf
[ "MIT" ]
permissive
objectx/conan-project-example
b6a09bd289ded49e66a0af2ad14c9cd0502dc7d3
cf632ea60c15e5676fdc188f4ff7ced5fd7eb074
refs/heads/master
2020-03-09T02:11:20.555017
2018-04-06T15:50:50
2018-04-06T15:50:50
128,534,407
0
0
null
2018-04-07T14:09:22
2018-04-07T14:09:22
null
UTF-8
Python
false
false
578
py
from conans import ConanFile, CMake class Pkg(ConanFile): settings = "os", "compiler", "arch", "build_type" requires = "HelloC/0.1@lasote/stable" generators = "cmake" exports_sources = "src/*" def build(self): cmake = CMake(self) cmake.configure(source_folder="src") cmake.bu...
[ "james@conan.io" ]
james@conan.io
61fde401a97dbd3149c813d4d27c95761241d04e
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/metadata-ingestion/examples/library/lineage_job_dataflow_new_api_verbose.py
67a8ce2059679a70f95a9c29b4be5b9de0e1a6b5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
3,864
py
import time import uuid from datahub.api.entities.corpgroup.corpgroup import CorpGroup from datahub.api.entities.corpuser.corpuser import CorpUser from datahub.api.entities.datajob.dataflow import DataFlow from datahub.api.entities.datajob.datajob import DataJob from datahub.api.entities.dataprocess.dataprocess_instan...
[ "noreply@github.com" ]
RyanHolstien.noreply@github.com
b9f133f64096954e8bfacbb8dcf6ecfe838d4062
d3ce58c4576431df14de0990f45cfd574f0aa45f
/.history/user/forms_20201012030941.py
86918f6244ab2c67add33605548b6ea388226b00
[]
no_license
rahulsolankib/portfolio
fe93f0e6b0b28990f0b9fad84dbf7c3aa07243c4
281ed429e2590376aee4649b2ea7b3e8facaf6f1
refs/heads/master
2023-01-02T06:55:21.319094
2020-10-26T08:55:22
2020-10-26T08:55:22
305,586,595
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django import forms from django.contrib.auth.models import user.admin from django.contrib.auth.forms import UserCreationForm
[ "rahulsolankib@gmail.com" ]
rahulsolankib@gmail.com
26dc331b0da91a2c867c26f7ec760a49d3b79681
3d388dccb14373bedb85d43851bc8eeb74a3eb18
/main.py
6476c66a90cc6db2e0f89497af03df52e9401883
[ "MIT" ]
permissive
dileep1996/sentence-similarity
416917641963f5fa1af76204c681389771d2187c
37a99a11ac97774928affb30cf75f6222cfdabaf
refs/heads/master
2020-04-10T01:45:46.503849
2018-12-06T20:26:44
2018-12-06T20:26:44
160,724,751
0
0
null
2018-12-06T19:55:52
2018-12-06T19:55:52
null
UTF-8
Python
false
false
3,053
py
""" Driver program for training and evaluation. """ import argparse import logging import numpy as np import random import torch import torch.optim as O from datasets import get_dataset, get_dataset_configurations from models import get_model from runners import Runner if __name__ == '__main__': parser = argpar...
[ "tuzhucheng@outlook.com" ]
tuzhucheng@outlook.com
f962b3f9fba5cc65564b9ab52e8be9a87e39ae37
32ed2a60ebf03127c317e71d7632362bddf04769
/src/Object_finder.py
9b2132e8226f4e5c749f1270fb5c4a6ada283416
[]
no_license
OMARI1988/fyp
59cf94857e2708d0577b8e22493b2270796deae9
ce74b732aec9809639314cf5b72f808bfb107da8
refs/heads/master
2021-01-10T16:00:45.830974
2015-11-18T11:43:22
2015-11-18T11:43:22
46,409,208
0
1
null
null
null
null
UTF-8
Python
false
false
4,649
py
#! /usr/bin/env python2.7 # this node is used to save the colors of the different objects so that we can track them later import roslib #roslib.load_manifest('graphs') import sys import inspect, os from optparse import OptionParser import rospy import sensor_msgs.msg from cv_bridge import CvBridge import cv import cv2...
[ "omari.1988@gmail.com" ]
omari.1988@gmail.com
66c3e604eb35a488c5e705a5b98ad504c3a1d1f0
8cc6c175a11d0d100747a355e9fdabad8123fb63
/level_1/index.py
8f53a848bee2af6b46ad7afe05f5d2d954b9dbae
[]
no_license
fdetun/hodor
99b5003214631e1aec1fe097abfa234010e28e14
95597385bab86eee2b90976803e077d3e4ee6a9e
refs/heads/master
2022-11-06T11:56:51.027717
2020-06-08T00:01:09
2020-06-08T00:01:09
270,452,512
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#!/usr/bin/python3 import requests URL = "http://158.69.76.135/level1.php" s = requests.Session() payload = {"id": "1324", 'holdthedoor': 'submit', "key":""} for i in range(0, 4096): r = s.get('http://158.69.76.135/level1.php') fde=r.headers['set-cookie'] print(r.headers) inp=r.headers['set-cookie'].i...
[ "fouedads@gmail.com" ]
fouedads@gmail.com
c19cde248ac8570298965a02bc5aaa1894882581
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_078/ch147_2020_09_28_14_11_18_724789.py
57c33c4f6aaef647f987a6317890314f4074fb6e
[]
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
326
py
def mais_frequente(lista): dicionario_palavras = conta_ocorrencias(lista) i=0 maior = dicionario_palavras[0] while i < len(dicionario_palavras): if dicionario_palavras[i+1] > dicionario_palavras[i]: maior = dicionario_palavras[i].keys() i+=1 return...
[ "you@example.com" ]
you@example.com
034b0155c23dcb07240435bc0d83f14d35d72593
1f13c189fc3d97f3fec0805910c7e0e5115ea6e8
/tests/test_interface.py
26dff170493c2db7e355eba19ce2aa8131fe5fc3
[]
no_license
schalekamp/ishares
26ffde8af27d671c8cbaa938eaaa1454ec9936a1
671978587cc3a55da655141ad7b317d55716ab94
refs/heads/master
2020-03-19T22:47:51.042065
2018-06-01T10:15:05
2018-06-01T10:15:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
from pytest import raises from ishares.interface import iShares all_etfs = None def test_interface(): global all_etfs all_etfs = iShares() all_etfs.report() def test_interface_isin(): global all_etfs fund = all_etfs.get_fund(isin='IE0032895942') fund.report() def test_interface_nofund()...
[ "github@gpiantoni.com" ]
github@gpiantoni.com
23492d4e41c3c292ff5df3adda5db1ec0bfa9e68
6032498a2829b4e9c3515e7c15476866be8f9112
/17_classes_and_objects_basics/17.9.instances_as_return_values.py
b194bc3225942b00fad3a075be39490f4d18a922
[]
no_license
KenjaminButton/runestone_thinkcspy
de3d7b8250be3c281a769baf392d31fc623403b8
ff5973cf5514c13019c4e970d9a6e8c0e1482a44
refs/heads/master
2023-06-08T07:42:19.927968
2019-11-09T15:47:35
2019-11-09T15:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
# Instances as Return Values ''' Functions and methods can return objects. This is actually nothing new since everything in Python is an object and we have been returning values for quite some time. The difference here is that we want to have the method create an object using the constructor and then return it as the v...
[ "kennethpchang@gmail.com" ]
kennethpchang@gmail.com
2a2720a4faea2b3424185730fb0814d5e957f5e3
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/chmtin004/question2.py
3caa28f28064ed5055afe02dd831a174b8636b55
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
3,224
py
#Program for 30 second rule #Tinotenda Chemvura (CHMTIN004) #08 March 2014 #__________________program starts here_______________ def game(): print("Welcome to the 30 Second Rule Expert") print("------------------------------------") print("Answer the following questions by selecting from among th...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
c8342a916b55a541090e50e88a78e91faea7d30c
67b3ac97f8ef13aa5caea25de99ef055c0b7cc97
/Python/test.py
79962fa6b3f85af8c2097b4558d70c4d88f22526
[]
no_license
enningxie/Coolixz
f181cd1087db9c0d4ad4f7ab80029b88dde82e24
fc51dc894906b2fb7f72ab77511f6daedf00cf0e
refs/heads/master
2021-01-19T05:24:28.569706
2018-02-05T02:28:36
2018-02-05T02:28:36
100,577,964
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
class Solution: def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ if __name__ == '__main__': a = Solution() print(a.twoSum([3, 2, 4], 6))
[ "enningxie@163.com" ]
enningxie@163.com
7d3629f1c0d12a1e3a32eb86aaba950738c69bcf
06ee743cab3e27a68863e69eeff53acc6a7a5b16
/Section 8/mod1.py
e1868e52f4a7b1b2107c86da25146382afaa1ad1
[ "MIT" ]
permissive
buratina/Learning-Python-v-
a424ddeb896dee6d3c37028ec7c1d6e20e5af541
09100a2b5a23a572cb7cdb882197d56e507e3521
refs/heads/master
2022-01-27T01:48:37.459162
2019-05-20T05:30:45
2019-05-20T05:30:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
#Import module1, module2, module import module1 x = 12 y = 34 print "Sum is ", module1.sum1(x,y) print "Multiple is ", module1.mul1(x,y)
[ "sonalis@packtpub.com" ]
sonalis@packtpub.com
b41c07cadfe74f2c029d6dc4f3735e854d8f72b9
1415fa90c4d86e76d76ead544206d73dd2617f8b
/venv/Lib/site-packages/ursina/collider.py
2e9faf1d9e8b030cc74cb04be91b73ec52f2a709
[ "MIT" ]
permissive
Darpra27/Juego-senales
84ea55aea7c61308ec1821dac9f5a29d2e0d75de
e94bc819e05eff1e0126c094d21ae1ec2a1ef46d
refs/heads/main
2023-04-04T07:27:53.878785
2021-04-09T00:00:44
2021-04-09T00:00:44
353,472,016
0
1
MIT
2021-04-09T00:04:31
2021-03-31T19:46:14
Python
UTF-8
Python
false
false
4,986
py
from panda3d.core import CollisionNode, CollisionBox, CollisionSphere, CollisionPolygon from panda3d.core import NodePath from ursina.vec3 import Vec3 class Collider(NodePath): def __init__(self): super().__init__('box_collider') def show(self): self.visible = True def hide(self): ...
[ "daviricado08@gmail.com" ]
daviricado08@gmail.com
d09448fdd16e978eecb236531ca79cccec83ff44
87129f66724ab3cc5f2fa8154512eda3b8db527e
/backend/src/zac_lite/wsgi.py
4b5a26ddf95ff2d1630c88b81b431f63734322a9
[]
no_license
GemeenteUtrecht/zac-lite
b6333f5e4f4381f7407af40ceb20e49822f23cee
b4780f0bb7c79d08bef3419ea349c6ef6f328505
refs/heads/main
2023-04-10T16:25:04.172830
2021-04-12T08:24:11
2021-04-12T08:24:11
327,653,824
0
0
null
2021-04-12T08:24:12
2021-01-07T15:38:58
Python
UTF-8
Python
false
false
373
py
""" WSGI config for zac_lite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from zac_lite.setup import setup_en...
[ "sergei@maykinmedia.nl" ]
sergei@maykinmedia.nl
7bda7a6003400eca0f3f39e23d440fb8177a1306
3a6d4ce215de76616761483d6c77cbcd8c512c85
/navx-examples/navx-rotate-to-angle/robot.py
e40290fc1dedd03bd22f2034262e8b8f82c1ff50
[]
no_license
ThunderDogs5613/examples
133c0d35b72083684b8855a5fb12409e92e89a45
3cb480f22bc3f706d2d93165ae79a228f07b2a41
refs/heads/master
2021-09-29T02:24:39.473867
2018-11-22T20:58:05
2018-11-22T20:58:05
112,538,972
0
1
null
2018-01-22T05:57:19
2017-11-29T23:17:31
Python
UTF-8
Python
false
false
5,867
py
#!/usr/bin/env python3 import wpilib from navx import AHRS class MyRobot(wpilib.SampleRobot): """This is a demo program showing the use of the navX MXP to implement a "rotate to angle" feature. This demo works in the pyfrc simulator. This example will automatically rotate the robot to one of four ...
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
b344f74d00a2db534e6c33965881aa0ad9faf2f5
52a4d282f6ecaf3e68d798798099d2286a9daa4f
/ccmodel/Log.py
f96eae930277139a7ae19462bede266443bd1529
[ "MIT" ]
permissive
bkovitz/FARGish
f0d1c05f5caf9901f520c8665d35780502b67dcc
3dbf99d44a6e43ae4d9bba32272e0d618ee4aa21
refs/heads/master
2023-07-10T15:20:57.479172
2023-06-25T19:06:33
2023-06-25T19:06:33
124,162,924
5
1
null
null
null
null
UTF-8
Python
false
false
3,836
py
# Log.py from __future__ import annotations from dataclasses import dataclass, replace, field, InitVar from typing import Union, List, Tuple, Dict, Set, FrozenSet, Iterator, \ Iterable, Any, NewType, Type, ClassVar, Sequence, Callable, Hashable, \ Collection, Sequence, Literal, Protocol, Optional, TypeVar, IO,...
[ "bkovitz@indiana.edu" ]
bkovitz@indiana.edu
c45bf85604631610515f9028eb85fe46ee3a49ea
5c533e2cf1f2fa87e55253cdbfc6cc63fb2d1982
/python/anyons/tree_basis.py
d57797ce89cd2283274045033e722a7aa8cbd6b2
[]
no_license
philzook58/python
940c24088968f0d5c655e2344dfa084deaefe7c6
6d43db5165c9bcb17e8348a650710c5f603e6a96
refs/heads/master
2020-05-25T15:42:55.428149
2018-05-14T03:33:29
2018-05-14T03:33:29
69,040,196
0
1
null
null
null
null
UTF-8
Python
false
false
2,228
py
import numpy as np #Some things to do # 1. implement solovay-ktaev # 2. Try adding poisition information and winding # 3. stratified basis pursuit Id = 0 Tau = 1 amp = 1. vacuumtree = { leaves : [Id] , stalk: [Id,Id] } # _|_ # Stalk always has one more element than leaf examplevector = [( amp , exampletree )] ...
[ "philip@FartMachine7.local" ]
philip@FartMachine7.local
c7db857cc80d39129ed2c6608d7040403fd984b9
5499e8b91353ef910d2514c8a57a80565ba6f05b
/scripts/component_graph/server/graph/component_graph.py
e792a25bcce753555f21a7253b349da098a6751e
[ "BSD-3-Clause" ]
permissive
winksaville/fuchsia
410f451b8dfc671f6372cb3de6ff0165a2ef30ec
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
refs/heads/master
2022-11-01T11:57:38.343655
2019-11-01T17:06:19
2019-11-01T17:06:19
223,695,500
3
2
BSD-3-Clause
2022-10-13T13:47:02
2019-11-24T05:08:59
C++
UTF-8
Python
false
false
1,281
py
#!/usr/bin/env python3 # Copyright 2019 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ComponentGraph is a graph that holds component relationships. Typical example usage: graph = ComponentGraph() graph.add_node(nod...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
375c25ad0955bac2eb62c7123fa3445ba179e7c4
89193c99ba40472a376df61a30ae687ca550e813
/verification/src/referee.py
e70efddd011800bdfd79f9e764554ee009e09e8c
[]
no_license
oduvan/crystal-test
d463f206348d5951b7bfcec389e6d55a7623a304
0be4248a2d350bf42a2a8f34f2ae144b49ace26d
refs/heads/master
2021-01-13T02:15:25.189518
2015-05-19T11:27:00
2015-05-19T11:27:00
35,878,207
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from checkio_referee import RefereeBase import settings_env from tests import TESTS class Referee(RefereeBase): TESTS = TESTS ENVIRONMENTS = settings_env.ENVIRONMENTS DEFAULT_FUNCTION_NAME = "check_line"
[ "bvv.mag@gmail.com" ]
bvv.mag@gmail.com
f913c8d11307552a530ecb452177b6a6b446f154
62179a165ec620ba967dbc20016e890978fbff50
/nncf/telemetry/__init__.py
8219f26d6bd2e2221eceb6fd2bb86a9e1ceb0775
[ "Apache-2.0" ]
permissive
openvinotoolkit/nncf
91fcf153a96f85da166aacb7a70ca4941e4ba4a4
c027c8b43c4865d46b8de01d8350dd338ec5a874
refs/heads/develop
2023-08-24T11:25:05.704499
2023-08-23T14:44:05
2023-08-23T14:44:05
263,687,600
558
157
Apache-2.0
2023-09-14T17:06:41
2020-05-13T16:41:05
Python
UTF-8
Python
false
false
737
py
# Copyright (c) 2023 Intel Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writ...
[ "noreply@github.com" ]
openvinotoolkit.noreply@github.com
01212c407ad4c53e70b18e0f02bde4e24b1e5fbb
3e9bc0c3b8c842fb0c4bb6aa826ec228ce8c3eea
/tenable/cs/usage.py
37cdb7ebaebf303a4d0c88456c60231874da800c
[ "MIT" ]
permissive
starblast/pyTenable
f2f7604ce31c1621cb8fa49effafd046eb2a6cf6
bd6c5b87b0cafe135bfb416dcc94017b135be37b
refs/heads/master
2023-08-05T04:27:08.309535
2021-09-27T15:12:46
2021-09-27T15:12:46
288,222,919
0
0
MIT
2020-08-17T15:54:52
2020-08-17T15:54:51
null
UTF-8
Python
false
false
559
py
''' usage ===== The usage methods allow interaction into ContainerSecurity usage API. Methods available on ``cs.usage``: .. rst-class:: hide-signature .. autoclass:: UsageAPI .. automethod:: stats ''' from .base import CSEndpoint class UsageAPI(CSEndpoint): def stats(self): ''' Returns the...
[ "steve@chigeek.com" ]
steve@chigeek.com
f5ba095041d842d48384162dec01056f1ff55719
868ea7968754f77277ce092d318acce58a2ba034
/miragecore/codable/encorder_decorder.py
f9cb343a5c6cf481521b15f97857ba162c36e163
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
shotastage/mirage-django
7bc3cd604166bab2cb9f17757fc0dbef082e9e8a
afdc1ca1fa6db01af174cf31310b6ef690d9254a
refs/heads/master
2021-08-02T04:18:31.461275
2021-07-19T01:53:24
2021-07-19T01:53:24
136,008,405
0
0
Apache-2.0
2021-07-19T01:53:25
2018-06-04T10:20:18
Python
UTF-8
Python
false
false
320
py
""" Mirage Framework decodable.py Created by Shota Shimazu on 2018/07/18 Copyright (c) 2018-2020 Shota Shimazu All Rights Reserved. This software is released under the Apache License, see LICENSE for detail. https://github.com/shotastage/mirageframework/blob/master/LICENSE """ from typing import Callable, NoReturn
[ "hornet.live.mf@gmail.com" ]
hornet.live.mf@gmail.com
5410b6d3b9e08b0e76a90562c24533d867fa65d9
8eeef7742573a8b671648d94e448d5614272c5d6
/core2web/Week4/Day21/octal.py
1d930a000ed7f219c1da6cbc50eafb52a161887d
[]
no_license
damodardikonda/Python-Basics
582d18bc9d003d90b1a1930c68b9b39a85778ea7
fd239722fc6e2a7a02dae3e5798a5f1172f40378
refs/heads/master
2023-01-28T16:22:19.153514
2020-12-11T06:36:49
2020-12-11T06:36:49
270,733,918
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
''' Write a Program to Convert entered Binary Number to Octal Number Input: Binary Number: 1011 Output: Octal Number: 13 ''' num=int(input("enter the number")) if num==0000: print(0) elif num==0001: print(1) elif num==0010: print(2) elif num==0011: print(3) elif num==0100: print(4) elif num==01...
[ "damodar2dikonda@gmail.com" ]
damodar2dikonda@gmail.com
b3f407228b3bf4a2bafe117fcb404ee16d24a9e4
485cf3c70fcaa68689a2b690b6465f1d6bcf21bd
/Python_Coding_Tips/Code_py/Code(实例源码及使用说明)/01/09/2.列表中出现次数最多的数字/demo.py
a708aacda0b845533ca5f8d17298971032aac673
[]
no_license
lxz0503/study_20190608
5ffe08c4704bb00ad8d1980baf16b8f5e7135ff4
47c37798140883b8d6dc21ec5da5bc7a20988ce9
refs/heads/master
2022-12-23T17:23:45.039015
2021-06-23T14:50:19
2021-06-23T14:50:19
190,884,812
1
3
null
2022-12-15T23:17:33
2019-06-08T12:22:56
Python
UTF-8
Python
false
false
1,678
py
# *_* coding : UTF-8 *_* # 开发团队 :明日科技 # 开发人员 :Administrator # 开发时间 :2019/7/2 16:43 # 文件名称 :demo.py # 开发工具 :PyCharm listcar = [[837624, "RAV4"], [791275, "途观"], [651090, "索罗德"], [1080757, "福特F系"], [789519, "高尔夫"], [747646, "CR-V"], [1181445, "卡罗拉"]] listcha2 = ['莱科宁 236', '汉密尔...
[ "lxz_20081025@163.com" ]
lxz_20081025@163.com
03b75f443fe0c74b0584e2c186ff6af113b969e0
054b665faf3c099efb3e24768b4dcb24e054b011
/flask/bin/migrate
c853a4bffd15a0a7631168ff3f0db0fdb27c76eb
[]
no_license
linqili2006/mywebsite
8cbec2c32e8a38db2e7d5e0e6745800dd09f239a
4ff202d75cab59d507755f48020d02c2ec0a6eb7
refs/heads/master
2020-03-15T11:14:24.543491
2018-05-10T08:31:59
2018-05-10T08:31:59
132,116,788
0
0
null
null
null
null
UTF-8
Python
false
false
178
#!/root/website/flask/bin/python # PBR Generated from u'console_scripts' import sys from migrate.versioning.shell import main if __name__ == "__main__": sys.exit(main())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f5566764898099ac51713c2da78ad81dc00b50a7
72244ac24e86f9cc57fdd0a123beaa9e262cc620
/assemblyHub/alignabilityTrack.py
6707ce4e9252a7a4d3314a7750616181c3ca63ae
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
lukeping/hal
7defb8e1421fa3c1b56fb77ec3dd146eab4828bc
bb053f7d58bdef7f24e3a0d1eababe0e622219c0
refs/heads/master
2020-12-25T19:58:13.929088
2014-11-07T14:55:55
2014-11-07T14:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
#!/usr/bin/env python #Copyright (C) 2013 by Ngan Nguyen # #Released under the MIT license, see LICENSE.txt """Creating Alignability track for the hubs """ import os from sonLib.bioio import system from jobTree.scriptTree.target import Target class GetAlignability( Target ): def __init__(self, genomedir, genom...
[ "nknguyen@soe.ucsc.edu" ]
nknguyen@soe.ucsc.edu
174492e1a8fc7497bcfbb8979de002d22b5437b9
437e905d8c214dc25c559b1dc03eaf9f0c85326f
/is28/makshaev28/Python3/zad6/6.1.py
30b634e6efbbc814074c3373f472ce314eee591f
[]
no_license
AnatolyDomrachev/karantin
542ca22c275e39ef3491b1c0d9838e922423b5a9
0d9f60207e80305eb713fd43774e911fdbb9fbad
refs/heads/master
2021-03-29T03:42:43.954727
2020-05-27T13:24:36
2020-05-27T13:24:36
247,916,390
0
1
null
null
null
null
UTF-8
Python
false
false
286
py
def readData(pathway): dictArr = [] with open(pathway) as file: for line in file: key, *val = line.split() dictArr.append({}.fromkeys(key,val)) return dictArr pathway = "data.txt" dictArr = readData(pathway) for dictionary in dictArr: print(dictionary)
[ "you@example.com" ]
you@example.com
17bba0cb7d382ec41db8243e21d2c386f7efde7a
68adda25dff4b3650e88c495928ecd36b8c037b4
/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py
268d94417fd908bc56cefc42a054b3d632443649
[ "MIT" ]
permissive
jaeyholic/portfolio-v2
28614ce9ce0a7a450aaa58f36393b95ad3155464
f9cfdd250e0fbde9e91e36d46826700a7c08df62
refs/heads/master
2023-06-24T04:18:27.269996
2020-08-11T14:28:12
2020-08-11T14:28:12
228,602,441
0
0
MIT
2023-06-10T00:47:09
2019-12-17T11:32:20
JavaScript
UTF-8
Python
false
false
7,163
py
from _pydev_bundle import pydev_log try: import trace except ImportError: pass else: trace._warn = lambda *args: None # workaround for http://bugs.python.org/issue17143 (PY-8706) import os from _pydevd_bundle.pydevd_comm import CMD_SIGNATURE_CALL_TRACE, NetCommand from _pydevd_bundle import py...
[ "gabsco208309@hotmail.com" ]
gabsco208309@hotmail.com
3af64a7476817d44f5c1c389ecec2619a855f37c
e3bdb7844f634efd89109079d22cade713c4899d
/openapi_client/models/china_domestic_payment_method_all_of.py
d1e85677f22b75217f6b845c0fdcc171142030b4
[]
no_license
pc-coholic/Python
5170c27da09b066c353e09539e404961f7ad50b7
b7251c31339b579f71fb7ee9db05be51e9e43361
refs/heads/master
2023-04-19T02:42:02.914726
2021-04-26T16:07:37
2021-04-26T16:07:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,597
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
e066c3f04af4c6772b63993fed55c0647861a4b5
343bdaddfc66c6316e2cee490e9cedf150e3a5b7
/0901_1000/0951/0951.py
e7f9fed9f28d15532af5a4160d9d71a6b7d91a5c
[]
no_license
dm-alexi/acmp
af7f6b4484b78f5922f3b464406a0ba5dea0d738
3fa0016d132adfeab7937b3e8c9687a34642c93a
refs/heads/master
2021-07-09T15:14:25.857086
2020-10-20T19:08:54
2020-10-20T19:08:54
201,908,038
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
def dist(a, b): return (a[0] - b[0] if a[0] > b[0] else b[0] - a[0]) + (a[1] - b[1] if a[1] > b[1] else b[1] - a[1]) with open("input.txt", "r") as f, open("output.txt", "w") as q: n, m = (int(x) for x in f.readline().split()) tmp = [int(x) for x in f.readline().split()] s = [] for i in range(tmp[0...
[ "dm2.alexi@gmail.com" ]
dm2.alexi@gmail.com
e6af55d946feb8f98d965fcf13999cb498a2ad98
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/127/usersdata/215/35797/submittedfiles/ex11.py
5080aba3b97c0e3a2eedcdeb5b76a3d52f524f79
[]
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
407
py
# -*- coding: utf-8 -*- d1=int(input('digite o dia 1')) m1=int(input('digite o mes 1')) a1=int(input('digite o ano 1')) d2=int(input('digite o dia 2')) m2=int(input('digite o mes 1')) a2=int(input('digite o ano 2')) if a1>=a2 and m1>=m2 and d1>=d2: print ('DATA 1') elif a1>=a2 and m2>=m1 and d1>=d2: print ('DAT...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e2e289556271d1d8f6936dbf1d0fbfd0537d64f4
f92e2e45fb0b074e16ec1cd97123544c9252b94e
/TF/mnist.py
13ea98e4340590c1a5cd57d70f81235f76e31bc7
[]
no_license
CosmosShadow/ResidualOnMnist
10ef771140bac6b68765030028e31adcec301025
73659a66212e1bc6e0b9cd8cfa45642e4f2560db
refs/heads/master
2021-01-21T15:04:36.162028
2016-10-22T04:31:37
2016-10-22T04:31:37
56,119,484
1
0
null
null
null
null
UTF-8
Python
false
false
3,272
py
# coding: utf-8 import time import tensorflow as tf import prettytensor as pt import numpy as np import cmtf.data.data_mnist as data_mnist @pt.Register def leaky_relu(input_pt): return tf.select(tf.greater(input_pt, 0.0), input_pt, 0.01*input_pt) # 数据 mnist = data_mnist.read_data_sets(one_hot=True) x = tf.placehold...
[ "lichenarthurml@gmail.com" ]
lichenarthurml@gmail.com
3e4e5112d6660577b0cd6b30656234fba02f0527
27abeacadc88a05b54210ee65c203f967712d71e
/03. Square of Stars.py
b4896e59c44a26a2c894fa03d4eeb70b9df50d5e
[]
no_license
antondelchev/Drawing-Figures-with-Loops---More-Exercises
68952179e35147e2c9e5daccfe72e1d17012675b
0aee91ce01cb697ab6c69773438cae59c6e5983d
refs/heads/main
2023-04-05T15:23:22.021184
2021-04-07T13:19:28
2021-04-07T13:19:28
352,978,303
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
n = int(input()) for rows in range(1, n + 1): for columns in range(1, n + 1): print("*", end=" ") print()
[ "noreply@github.com" ]
antondelchev.noreply@github.com
11f9a1b87a463c583ddae9e86ac7688b707ab299
b46f5825b809c0166622149fc5561c23750b379c
/AppImageBuilder/app_dir/runtimes/wrapper/runtime.py
4b43e5aaed631afe2e5319e816d31fd2f838b053
[ "MIT" ]
permissive
gouchi/appimage-builder
22b85cb682f1b126515a6debd34874bd152a4211
40e9851c573179e066af116fb906e9cad8099b59
refs/heads/master
2022-09-28T09:46:11.783837
2020-06-07T19:44:48
2020-06-07T19:44:48
267,360,199
0
0
MIT
2020-05-27T15:42:25
2020-05-27T15:42:24
null
UTF-8
Python
false
false
2,400
py
# Copyright 2020 Alexis Lopez Zubieta # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publi...
[ "contact@azubieta.net" ]
contact@azubieta.net
6022e6c6abf0a35dedccd7143a06f18591791089
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayDataDataserviceAdPrincipalCreateormodifyModel.py
9c4e9f5ad05e64e1a503a377d7ce5a54c7482637
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
4,120
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.OuterAttachment import OuterAttachment class AlipayDataDataserviceAdPrincipalCreateormodifyModel(object): def __init__(self): self._alipay_pid = None self._at...
[ "ben.zy@antfin.com" ]
ben.zy@antfin.com
fb50698f2e658a2c8b2bbdef48d05d351cae9ab8
3b15dc211cb6c034f4d843b1bbc540f1699182f7
/tkinter/Menu单选获取值.py
7d58e46e55f5da2c6c97dd4fc968a7e39d4f800f
[]
no_license
Hanlen520/-
eea27d5a1272272a2f47f9070f285e44300ab0d2
308d3401ff368cd11f4aeac7949d57c3136f2b6e
refs/heads/master
2023-03-15T19:18:25.168665
2020-07-05T14:39:41
2020-07-05T14:39:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from tkinter import * root=Tk() menubar=Menu(root) vLang = StringVar() def printItem(): print(vLang.get()) filemenu=Menu(menubar,tearoff=0) for k in ['Python', 'PHP', 'CPP', 'C']: filemenu.add_radiobutton(label=k, command=printItem, variable=vLang) menubar.add_cascade(label='Language', menu=filemenu) root[...
[ "admiwj@outlook.com" ]
admiwj@outlook.com
8a82008b3ed0ad1d9605193ca8d043dfcd68a0f8
40e29b3ff5699826b8cb0468456beb4aec7d8068
/py_convert_cgi_form_to_array_with_mapping.py
1e3fbb289cd8715ef0f39d66ec93b3a8969daad9
[]
no_license
bahmany/PythonPurePaperless
e52497ef38bb2b51918d83d6f70da7828880e7f8
120e7fcbb79929e80054ce56c6acb8f1da7a7ae0
refs/heads/master
2016-08-12T01:57:39.663947
2015-10-05T06:58:40
2015-10-05T06:58:40
43,624,649
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
def _map(array,Objname,dbname): ar=[] for objar in array: if objar[0]==Objname: objar.append(dbname) ar.append(objar) array=ar def _find_from_field_name(array,fieldname): a="" for obj in array: if len(obj)==3: if obj[2]==fieldname...
[ "bahmanymb@gmail.com" ]
bahmanymb@gmail.com
76de469c09aefb57475401227a52fa98bb05a2e6
e01c5d1ee81cc4104b248be375e93ae29c4b3572
/Sequence5/CTCI/4-tree-graph/main/trie.py
4717197d857d5735d2b31cd78b1cbc42fd5a0012
[]
no_license
lalitzz/DS
7de54281a34814601f26ee826c722d123ee8bd99
66272a7a8c20c0c3e85aa5f9d19f29e0a3e11db1
refs/heads/master
2021-10-14T09:47:08.754570
2018-12-29T11:00:25
2018-12-29T11:00:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
class Node: def __init__(self, data = None): self.data = data self.isEndOfWord = False self.children = [None] * 26 def is_it_free(self): for i in self.data: if self.children is not None: return False return True class Trie: def __init__(self): self.root = Node() def char...
[ "lalit.slg007@gmail.com" ]
lalit.slg007@gmail.com
fcf0093fe09b43356fb7b8184253abd384200e97
84f9ae843bbc37a18145840fa4da348a915af1c3
/renpy/versions.py
ec23077062ba1061b8bc251d74930e1814858373
[]
no_license
SpikyCaterpillar/renpy
c25b28c37be46f28ce413f09754f60eb63cca1f1
a33f891d65d3fd2b59a533c365800a59f8e15f0c
refs/heads/master
2023-06-22T18:02:57.826729
2023-06-03T22:39:11
2023-06-07T23:55:48
37,309,831
0
0
null
2015-06-12T08:01:01
2015-06-12T08:01:01
null
UTF-8
Python
false
false
5,115
py
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the Software without restriction, # including without limitation the rights to use, copy, modify, m...
[ "pytom@bishoujo.us" ]
pytom@bishoujo.us
25e4b04edb8e34498ca234163aa276d6638a1f1d
5e2dddce9c67d5b54d203776acd38d425dbd3398
/spacy/tests/lang/nb/test_tokenizer.py
277df5cf27b18b206764e63c2f05bf7d532341b1
[ "MIT" ]
permissive
yuxuan2015/spacy_zh_model
8164a608b825844e9c58d946dcc8698853075e37
e89e00497ab3dad0dd034933e25bc2c3f7888737
refs/heads/master
2020-05-15T11:07:52.906139
2019-08-27T08:28:11
2019-08-27T08:28:11
182,213,671
1
0
null
2019-04-19T06:27:18
2019-04-19T06:27:17
null
UTF-8
Python
false
false
653
py
# coding: utf8 from __future__ import unicode_literals import pytest NB_TOKEN_EXCEPTION_TESTS = [ ('Smørsausen brukes bl.a. til fisk', ['Smørsausen', 'brukes', 'bl.a.', 'til', 'fisk']), ('Jeg kommer først kl. 13 pga. diverse forsinkelser', ['Jeg', 'kommer', 'først', 'kl.', '13', 'pga.', 'diverse', 'f...
[ "yuxuan2015@example.com" ]
yuxuan2015@example.com
0131f9573ecd5c64254a626cb149b58db8e87cd1
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/Django-1.11/tests/migrate_signals/custom_migrations/0001_initial.py
6e969d29ed9eadeeb6d1d1f49bb1697fb1219836
[ "BSD-3-Clause", "Python-2.0", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
327
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): operations = [ migrations.CreateModel( "Signal", [ ("id", models.AutoField(primary_key=True)), ], ),...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
a79c7d60c970db8fa04bb018814a199f3284ebf0
c7adccf0aeb52a3fba4345c6b9ca5e627718065a
/tactics/heartbeat/config.py
aa30fa8885be2b8aa2154062376d8161a730e136
[]
no_license
2020saurav/cs654
b23349f07cf45b44f0de3a2fc204b46b3b3f06ff
c8d7bb19480b0e2b7471adc41d3782e5ed2ee176
refs/heads/master
2021-01-21T03:37:47.715145
2016-04-12T08:12:07
2016-04-12T08:12:07
49,427,568
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
slaves = [ {'name': 'S01', 'ip': '172.17.0.2', 'alive': True, 'lastSeen': 0, 'info': ''}, {'name': 'S02', 'ip': '172.17.0.3', 'alive': True, 'lastSeen': 0, 'info': ''}, {'name': 'S03', 'ip': '172.17.0.4', 'alive': True, 'lastSeen': 0, 'info': ''}, {'name': 'S04', 'ip': '172.24.1.62', 'alive': True, 'lastSeen': 0, 'info...
[ "2020saurav@gmail.com" ]
2020saurav@gmail.com
3cba78a67581f98314362474a956c39ec5647590
0f224fb062a50179db3ab146704807c24b9e8adb
/semana_4/cajero.py
fe4beeece4bd7f448af951f57fd4eaf71b197353
[]
no_license
Ingrid-Nataly-Cruz-Espinosa/POO1719110501
a893b12044dac096f73749c49abde5063dbfd921
dbb56d7824d474141e901c210269924c3b054f40
refs/heads/master
2022-11-15T16:03:38.826941
2020-06-29T03:12:28
2020-06-29T03:12:28
266,243,940
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
class cajero: funciones= 10 confidencial= "si" impreciondebaucher= "si" depositobilletes= 1 depositodemonedas= 1 lectordetarjeta= 1 funcional= "si" def deposito(self): print("Realiza depositos") def retiros(self): print("Permite realizar retiros") def movimientos(self): print("Realiza m...
[ "replituser@example.com" ]
replituser@example.com
863139dcbef24e57d9a46b5fe974f2272961c565
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02642/s367328349.py
5d60772f5492037165490a21e9755fd531c94352
[]
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
252
py
from collections import Counter N = int(input()) A = list(map(int, input().split())) counter = Counter(A) B = [1] * (max(A) + 1) for a in A: for k in range(a * 2,len(B),a): B[k] = 0 print(sum(B[a] == 1 and counter[a] == 1 for a in A))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
32895f795a3465ccedef0e785819901ee601174c
0809673304fe85a163898983c2cb4a0238b2456e
/src/lesson_the_internet/http_server_send_header.py
fe77556ead80b5ae58e996feb8c3af57f6a53556
[ "Apache-2.0" ]
permissive
jasonwee/asus-rt-n14uhp-mrtg
244092292c94ff3382f88f6a385dae2aa6e4b1e1
4fa96c3406e32ea6631ce447db6d19d70b2cd061
refs/heads/master
2022-12-13T18:49:02.908213
2018-10-05T02:16:41
2018-10-05T02:16:41
25,589,776
3
1
Apache-2.0
2022-11-27T04:03:06
2014-10-22T15:42:28
Python
UTF-8
Python
false
false
665
py
from http.server import BaseHTTPRequestHandler import time class GetHandler(BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.send_header( 'Content-Type', 'text/plain; charset=utf-8', ) self.send_header( 'Last-Modified', ...
[ "peichieh@gmail.com" ]
peichieh@gmail.com
0fc244e503959adb19c98295dfc7bd871d07a4ed
b501a5eae1018c1c26caa96793c6ee17865ebb2d
/data_persistence_and_exchange/xml_etree_ElementTree/ElementTree_entity_references.py
9cfbbe80d1b38676bed2848c70993ab57864cb5c
[]
no_license
jincurry/standard_Library_Learn
12b02f9e86d31ca574bb6863aefc95d63cc558fc
6c7197f12747456e0f1f3efd09667682a2d1a567
refs/heads/master
2022-10-26T07:28:36.545847
2018-05-04T12:54:50
2018-05-04T12:54:50
125,447,397
0
1
null
2022-10-02T17:21:50
2018-03-16T01:32:50
Python
UTF-8
Python
false
false
245
py
from xml.etree import ElementTree with open('data.xml', 'rt') as f: tree = ElementTree.parse(f) node = tree.find('entity_expansion') print(node.tag) print(' in attribute:', node.attrib['attribute']) print(' in text :', node.text.strip())
[ "jintao422516@gmail.com" ]
jintao422516@gmail.com
86c41feb00f7326194e0094ff9aefcf96757f082
f3b233e5053e28fa95c549017bd75a30456eb50c
/bace_input/L7I/7I-24_wat_20Abox/set_1ns_equi_m.py
0f8487b5991bd7e15bf5f7e09c94cbac671bc3da
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
import os dir = '/mnt/scratch/songlin3/run/bace/L7I/wat_20Abox/ti_one-step/7I_24/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_m.in' temp_pbs = filesdir + 'temp_1ns_equi_m.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
f75968f315b047d150424d9582045e1dc5e996c1
83d67edb5dfcfdc202098a55a3ff7579ca976f16
/paperboy/resources/login.py
82b6be4b2520d6e2d07e930cdab1acc2eb48d5de
[ "Apache-2.0" ]
permissive
huxh/paperboy
2e5e4042d3dcf13f0233995bf6df6ac2af7903c9
1efb62d3493f8816c625764b6afed178ca26c6b2
refs/heads/master
2020-05-19T09:45:16.791969
2019-04-24T13:17:43
2019-04-24T13:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
import falcon import jinja2 from .base import BaseResource from .html import read class LoginResource(BaseResource): '''Falcon resource for user authentication''' auth_required = False def __init__(self, *args, **kwargs): super(LoginResource, self).__init__(*args, **kwargs) def on_get(self,...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
37eb684d780cc12846b20ae5ebb7667e8aa07fb7
2951174fd6d8a7cf9a71e0663ae3b22bd309be5a
/LianJia/LianJia/items.py
dc87d5a8c3eb890a29768662baa7d86e9e41b799
[]
no_license
WhiteBrownBottle/Python-
c76045a3127723666083cee4b4c20b08491e4067
92fcaba555a566eae829ea401a20f459b4f39dfe
refs/heads/master
2021-07-18T21:17:45.677091
2017-10-24T06:47:38
2017-10-24T06:47:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,629
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class XiaoquItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() 建筑年代 = scrapy.Field() 建筑类型 = scrapy.F...
[ "958255724@qq.com" ]
958255724@qq.com
fc8a5843e331c76bd095b8a976be36be7caf658e
99b0631baa2fd9ab2455d848b47febf581916272
/zhijieketang/chapter22/ch22.1.3.py
d2996eaa8d2b7a385f87b94d7e118c08e5dd0876
[]
no_license
seceast/PyProjects
a934e366cb619f2610d75b9a0fb47d818814a4de
7be7193b4126ce920a3d3ffa4ef5d8743b3fa7d1
refs/heads/master
2023-03-07T22:23:21.229489
2021-02-25T05:37:58
2021-02-25T05:37:58
265,480,151
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# coding=utf-8 # 代码文件:chapter22/ch22.1.3.py import matplotlib.pyplot as plt # 设置中文字体 plt.rcParams['font.family'] = ['SimHei'] x = [5, 4, 2, 1] # x轴坐标数据 y = [7, 8, 9, 10] # y轴坐标数据 # 绘制线段 plt.plot(x, y, 'b', label='线1', linewidth=2) plt.title('绘制折线图') # 添加图表标题 plt.ylabel('y轴') # 添加y轴标题 plt.xlabel('x轴') # 添加x轴标...
[ "yangyadong25@163.com" ]
yangyadong25@163.com
0653a8f2b6b26645f6a51c85216908117628aa4e
6a256c5a3506b333c3020be45e38d11b4a81a181
/dbcrud_setupdb.py
8dcff83d9332aa3df409cc51f6a1fa2ab78180b2
[]
no_license
courses-learning/python-and-flask-bootcamp
892992d65ee0758f6c9a4339374b60c7928f47b7
887bf917659ea6cefba53b78ba433599626baaf6
refs/heads/master
2020-06-13T02:52:57.408008
2019-08-20T19:51:26
2019-08-20T19:51:26
194,508,905
1
0
null
null
null
null
UTF-8
Python
false
false
292
py
from dbcrud_practice import db, Animal db.create_all() polar_bear = Animal('Polar Bear', 'Rex', 12) elephant = Animal('Elephant', 'Ethel', 23) print(polar_bear.id) print(elephant.id) db.session.add_all([polar_bear, elephant]) db.session.commit() print(polar_bear.id) print(elephant.id)
[ "david_weatherspoon@hotmail.com" ]
david_weatherspoon@hotmail.com
119bfbbf3b103a5a63f75ab0d96133ad3b9a07a6
0836b2b426d39fbcdde073eca4cab0de74452ff3
/config/urls.py
05e68bdc5d869bff17bd586a56862f154a665d68
[ "MIT" ]
permissive
vaibhav-rbs/mordern-django
89d6d78ce472bd1b6bd895bccb579507119446e9
a8badd950860bfcf44b9fa9256fe52f810461cd9
refs/heads/master
2020-03-19T10:01:46.739749
2018-06-06T14:16:42
2018-06-06T14:16:42
136,337,130
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
"""config URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "vaibhav.rbs@gmail.com" ]
vaibhav.rbs@gmail.com
348b1ed480ccec8944ce408b739ca93db447c81c
92925ea36a241156c923262f7aeea86ce53cb356
/dashboard/network/urls.py
8a44d0af6cc46e843bb9faf8af663c6e61994aa3
[]
no_license
greshem/openstack_bootstrap_dashboard
c839bfb86f8b1f0b8fee602c1363f061ca65ef55
7dfda640740507199b291d01cb8304df570f2664
refs/heads/master
2021-07-10T00:44:10.875699
2017-10-08T15:39:43
2017-10-08T15:39:43
106,177,117
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from django.conf.urls import include, url, patterns #from dashboard.admin.urls import * from dashboard.network import views urlpatterns = patterns('network.views', #url(r'^admin/accounts', 'account_manage',name='account_manage'), url(r'^floating_ips/$', views.FloatingView.as_view(), name='floatin...
[ "qianzhongjie@gmail.com" ]
qianzhongjie@gmail.com
1128f2bae873af1b8e095dcb14155fd61dc444a3
343bdaddfc66c6316e2cee490e9cedf150e3a5b7
/0001_0100/0049/0049.py
c1cb09e0bcced0985fff970a4b142c6c54f11df6
[]
no_license
dm-alexi/acmp
af7f6b4484b78f5922f3b464406a0ba5dea0d738
3fa0016d132adfeab7937b3e8c9687a34642c93a
refs/heads/master
2021-07-09T15:14:25.857086
2020-10-20T19:08:54
2020-10-20T19:08:54
201,908,038
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
with open("input.txt", "r") as f, open("output.txt", "w") as q: s = f.readline().strip() t = f.readline().strip() d = {str(a) : {a} for a in range(0, 10)} d.update({x : {i, i + 1, i + 2, i + 3} for i, x in enumerate("abcdefg")}) d['?'] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} k = 1 for i in range(le...
[ "dm2.alexi@gmail.com" ]
dm2.alexi@gmail.com
57e0e3b6981025edaa853be0c370f512a118861a
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
/.history/antz/models_20200403232431.py
47e39abe702fb2fcc845de299cd35ceef9e0de34
[]
no_license
mirfarzam/python-advance-jadi-maktabkhooneh
b24f5c03ab88e3b12c166a439b925af92f50de49
d9bcecae73fd992f1290c6fd76761683bb512825
refs/heads/master
2021-05-25T21:33:37.782734
2020-04-07T22:39:28
2020-04-07T22:39:28
253,927,960
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
from django.db import models class CardBrand(models.Model): name = models.charField(max_length=128) class CarModel(models.Model): name = models.charField(max_length=128) brand = models.ForeignKey(CarBrand, on_delete =)
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
f372b331e72a115fd209f4b9a9dd9c9996435f7f
d7b9b490c954c7a9160b69f8ce2c907ef4681ecb
/sponsors/migrations/0082_auto_20220729_1613.py
116b4a011a7c19ecaadc2eb8825056540ddd92d6
[ "Apache-2.0" ]
permissive
python/pythondotorg
00db93a4b1789a4d438806d106d9cee3349ad78c
c4ee749942227ca75c8e670546afe67232d647b2
refs/heads/main
2023-08-28T20:04:24.735314
2023-08-03T19:12:29
2023-08-03T19:12:29
6,127,047
1,131
646
Apache-2.0
2023-08-24T15:57:04
2012-10-08T16:00:15
Python
UTF-8
Python
false
false
388
py
# Generated by Django 2.2.24 on 2022-07-29 16:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sponsors', '0081_sponsorship_application_year'), ] operations = [ migrations.RenameField( model_name='sponsorship', old_nam...
[ "noreply@github.com" ]
python.noreply@github.com
ab3f40580aa1e1501a9141f7756798def857e807
43d8fd08c95ab0b7d73c4ab78529fdd5b0278892
/kubernetes/client/models/v1_replica_set_condition.py
ba8505dd99ac2b58ebae2875dff7b1c285eedd6b
[ "Apache-2.0" ]
permissive
btaba/python
7d160b26ea02f668e599857bb3913276213a54f7
08561d6477e9be1b39d67ea51dc024a4899fcc07
refs/heads/master
2020-04-01T11:47:59.498995
2018-10-13T19:03:25
2018-10-13T19:03:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,580
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "haoweic@google.com" ]
haoweic@google.com
58a9801d0ccc4688645b9e09360eda2f4a5df932
272f75fb678ec4cd09e712d9db3621d274434743
/example/restaurants/admin.py
1d31184a1ced627f4e7793858a0e905fc6fce2eb
[ "MIT" ]
permissive
vintasoftware/django-zombodb
537c4eadad1eaf8f956db06bd7f7a8e39abd25c5
2391f27709819bd135e3d0dd571ef42e6996a201
refs/heads/master
2023-09-01T18:21:09.543287
2022-12-28T15:22:38
2022-12-28T15:22:38
168,772,360
153
13
MIT
2022-12-28T15:24:22
2019-02-01T23:15:22
Python
UTF-8
Python
false
false
528
py
from django.contrib import admin from django_zombodb.admin_mixins import ZomboDBAdminMixin from restaurants.models import Restaurant @admin.register(Restaurant) class RestaurantAdmin(ZomboDBAdminMixin, admin.ModelAdmin): model = Restaurant list_display = ( 'name', '_zombodb_score', 's...
[ "flaviojuvenal@gmail.com" ]
flaviojuvenal@gmail.com
98bfcf96f97b7f08cae75adb821c3c32e9db84ef
043baf7f2cd8e40150bbd4c178879a5dd340348d
/accommodation/migrations/0001_initial.py
77466847493b5372e234d29decf716663bdbf2ae
[]
no_license
tjguk/ironcage
1d6d70445b1da9642e1c70c72832c2738f9a942e
914b8e60819be7b449ecc77933df13f8b100adb0
refs/heads/master
2021-05-06T10:20:35.486184
2017-11-20T16:34:17
2017-11-20T16:34:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-09-07 23:15 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "peter.inglesby@gmail.com" ]
peter.inglesby@gmail.com
04d75ce4060f2df692f227b1bd328708277c8897
72e81080f6809c0528a3836be9cd3c75733b5c3d
/rlkit/envs/reacher_goal.py
205fcce8479b26dd518653ecfbfef2ddff09b1d8
[]
no_license
NagisaZj/mbpo_pytorch
986214ed729a4d98d60e761fac8fd06a9d66e651
12d7e24480b0b0c1a5bbccdf5d8fc434574695b9
refs/heads/main
2023-07-13T10:08:57.937163
2021-08-23T15:12:58
2021-08-23T15:12:58
390,729,140
0
0
null
2021-07-29T13:14:12
2021-07-29T13:14:12
null
UTF-8
Python
false
false
2,481
py
import numpy as np from rlkit.envs.ant_multitask_base import MultitaskAntEnv from . import register_env from gym.envs.mujoco.reacher import ReacherEnv as ReacherEnv_ # Copy task structure from https://github.com/jonasrothfuss/ProMP/blob/master/meta_policy_search/envs/mujoco_envs/ant_rand_goal.py @register_env('reache...
[ "1170863106@qq.com" ]
1170863106@qq.com
304e9513584c6511814989653d9015a56f83c020
3fe272eea1c91cc5719704265eab49534176ff0d
/scripts/item/consume_2437856.py
8a3b3f5cc263666730c7d8df70b774d8ca808a76
[ "MIT" ]
permissive
Bratah123/v203.4
e72be4843828def05592298df44b081515b7ca68
9cd3f31fb2ef251de2c5968c75aeebae9c66d37a
refs/heads/master
2023-02-15T06:15:51.770849
2021-01-06T05:45:59
2021-01-06T05:45:59
316,366,462
1
0
MIT
2020-12-18T17:01:25
2020-11-27T00:50:26
Java
UTF-8
Python
false
false
219
py
# Created by MechAviv # Frigid Ice Damage Skin | (2437856) if sm.addDamageSkin(2437856): sm.chat("'Frigid Ice Damage Skin' Damage Skin has been added to your account's damage skin collection.") sm.consumeItem()
[ "pokesmurfuwu@gmail.com" ]
pokesmurfuwu@gmail.com
09b2e4c65d1dcb2dc611b927bb1cdaac37630ee2
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1LpdwVxAQUvL5g1HzVeHoaGgkxukPkCBEv_babylon.py
d020a05a3bead9a715f57a4c5f5f239d515c7104
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,170
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1LpdwVxAQUvL5g1HzVeHoaGgkxukPkCBEv_babylon(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org