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
b3de952ebfad9a2dcddea113de5570690cb125ff
28ed6f9c587b8efd27182116ee39984e3856ea6a
/pythonBasic/2列表和元组/2.2通用序列操作/2.2.4乘法/乘法.py
fccc547755e3ae088e1ec4cbed7bd726f549b691
[]
no_license
Fangziqiang/PythonInterfaceTest
758c62a0599a9d98179b6e3b402016e0972f2415
def37ed36258dfa9790032b0165e35c6278057f0
refs/heads/master
2020-04-30T07:55:32.725421
2019-09-19T08:33:42
2019-09-19T08:33:42
176,699,735
1
0
null
null
null
null
UTF-8
Python
false
false
353
py
#coding=utf-8 # 用数字x乘以一个序列会生成新的序列,而在新的序列中,原来的序列将被重复x次 print "python"*5 # 输出:pythonpythonpythonpythonpython print [42]*5 # 输出:[42, 42, 42, 42, 42] # 如果想初始化一个长度为10的列表,可以按照下面的例子来实现: sequence=[None]*10 print sequence
[ "286330540@qq.com" ]
286330540@qq.com
85c1c80a414995f2b6d9694723f564d5910b28a6
4cacf8188446170e0b4a14b05021bbd595c4db53
/pyrolite/comp/codata.py
7946db4208ecec6801584c7458f2f5294d3c9166
[ "BSD-3-Clause", "MIT" ]
permissive
JustinGOSSES/pyrolite
2d145583344f79e8f935ed19fa00037d42969664
21eb5b28d9295625241b73b820fc8892b00fc6b0
refs/heads/master
2020-12-23T11:26:55.078871
2020-01-10T09:03:22
2020-01-10T09:03:22
237,136,389
1
0
NOASSERTION
2020-01-30T04:08:52
2020-01-30T04:08:51
null
UTF-8
Python
false
false
9,246
py
import numpy as np import pandas as pd import scipy.stats as scpstats import scipy.special as scpspec # from .renorm import renormalise, close from ..util.math import orthogonal_basis_default, orthogonal_basis_from_array import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) logger = logging.get...
[ "morgan.j.williams@hotmail.com" ]
morgan.j.williams@hotmail.com
e64b66ecb488c6aef2c7591335ccc40c08f08013
3b239e588f2ca6e49a28a63d906dd8dd26173f88
/code/run_gtp.py
22a8710cdc6285439eca3628c9aee2ea342dd378
[]
no_license
Angi16/deep_learning_and_the_game_of_go
3bbf4f075f41359b87cb06fe01b4c7af85837c18
ba63d5e3f60ec42fa1088921ecf93bdec641fd04
refs/heads/master
2020-03-23T16:02:47.431241
2018-07-21T02:57:16
2018-07-21T02:57:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#!/usr/local/bin/python2 from dlgo.gtp import GTPFrontend from dlgo.agent.predict import load_prediction_agent from dlgo.agent import termination import h5py model_file = h5py.File("agents/betago.hdf5", "r") agent = load_prediction_agent(model_file) termination = termination.get("opponent_passes") frontend = GTPFront...
[ "max.pumperla@googlemail.com" ]
max.pumperla@googlemail.com
f99eb4d682177ed04151f93cefcb7d9041dccddd
6a4bfed49f65ff74b5c076d19ce8b9a6209754e5
/quicksort3.py
cb79716efee99c68337998c9753914e989a1cf13
[]
no_license
Styfjion/-offer
ef4f2f44722ad221e39afa67dd70b3c1453c8b01
1f9c311b7775138d8096bf41adbef8a02a129397
refs/heads/master
2020-05-23T12:04:46.833239
2019-05-15T12:21:42
2019-05-15T12:21:42
186,750,197
1
0
null
null
null
null
UTF-8
Python
false
false
647
py
def quick_sort(alist,first,last): '''快速排序''' if first >= last: return mid_value = alist[first] low = first high = last while low < high : # high左移 while low < high and alist[high]>= mid_value: high-=1 alist[low] = alist[high] while ...
[ "noreply@github.com" ]
Styfjion.noreply@github.com
0c0d009cc5b976759c50e86d94edf401b1be0d39
e1eeec4c9e84f52a14e0c29a1384dfbd60d9f2b4
/apps/paintapp.py
a9c5c27f02c14ca25b47625410dd904964741044
[]
no_license
Yobmod/dmlgames
f88583523b6631fa4b1f71e2a98555f1e655b97f
952f6416e2f7e9cd268d6a62b3a771839c99f1b0
refs/heads/master
2022-07-16T23:56:32.449207
2020-05-21T14:45:29
2020-05-21T14:45:29
265,620,729
0
0
null
null
null
null
UTF-8
Python
false
false
2,507
py
from __future__ import annotations # import kivy from kivy.app import App from kivy.graphics import Line, Color, Ellipse from kivy.uix.gridlayout import GridLayout from kivy.uix.label import Label from kivy.uix.button import Button from kivy.uix.textinput import TextInput from kivy.uix.widget import Widget import doten...
[ "yobmod@gmail.com" ]
yobmod@gmail.com
1c633147d0ead3420afc3562ee2df7db626b298a
76cd7a11f6b421936442484b217ee95654cbe377
/src/ploomber/spec/taskspec.py
fd3cb1c8281be7dc89d2d932efefbaffb4f57a92
[ "Apache-2.0" ]
permissive
idomic/ploomber
03c8f1844de8d9cc1331cf1bd323435dafa576c2
89b5e544b0540cf2cbb6bcd09946537198115d17
refs/heads/master
2023-06-02T21:18:48.655287
2021-06-22T05:18:02
2021-06-22T05:18:02
377,858,060
0
0
null
null
null
null
UTF-8
Python
false
false
16,082
py
""" Create Tasks from dictionaries """ from functools import partial from copy import copy from pathlib import Path from collections.abc import MutableMapping, Mapping from ploomber import tasks, products from ploomber.util.util import _make_iterable from ploomber.util import validate, dotted_path from ploomber.tasks....
[ "github@blancas.io" ]
github@blancas.io
4dd4d5b00a402333928aa06495267ea665fb2135
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/hv7.py
f2d754c339f59f6972a73151c1e013f6820c85b3
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
1970df72902b0a82e5c6714a75f174d5dc12f140
300cb04e51274541611efec5cb8e06d9994f7f66
/Bai4.py
22c15634333a611bab3d437c56890a831f99ee97
[]
no_license
thuongtran1210/Buoi1
b77c2a40d0107506cbd4bff12336e006942e9ff6
d1c6240e60c10606bc430cd86ec473e3f11027f4
refs/heads/master
2022-12-16T19:49:40.028110
2020-09-24T17:16:13
2020-09-24T17:16:13
295,476,239
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
pi=3.14 print("Nhập chiều dài bán kính hình tròn: ",end='') r=float(input()) cv=r*2*pi dt=r*r*pi print("Hình tròn có chu vi là: "+str(cv)) print("Hình tròn có diện tích là: "+str(dt))
[ "you@example.com" ]
you@example.com
01fa7e142fd2ebb49b922ab2250b16e3ae2a44bd
dce0807fa8587e676d56bd36871cfcc98550619c
/python/docs/conf.py
591636a9a861622b80bd49ae3b38df0d4fbbd06e
[ "BSD-3-Clause" ]
permissive
ZigmundRat/spidriver
ca45993342ac2f3b134dbb37b686550318383846
9f3a7e75d55eea425eae03529680e6f7302cc042
refs/heads/master
2023-03-02T17:17:56.127183
2023-02-07T22:59:32
2023-02-07T22:59:32
153,183,836
0
0
BSD-3-Clause
2021-02-12T21:48:19
2018-10-15T21:25:51
Python
UTF-8
Python
false
false
2,023
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "jamesb@excamera.com" ]
jamesb@excamera.com
19573ae17cac9b95b5c1c8e0d9dfc26b363993a8
0ceaad883368e250a8cc9d54dd3df6c82f550983
/826/test.py
98e8cfce3fb41c391831dd25293c29056c6d2719
[]
no_license
tarp20/LeetCode
ae6b5a3838308156ea24a678c63992acb0528fa9
551a76714306d4ae9663718b5ce0769c7356e152
refs/heads/main
2023-03-06T03:48:54.924494
2021-02-16T14:38:00
2021-02-16T14:38:00
337,395,859
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import collections difficulty = [3, 5, 9, 2, 3] workers = [3, 9, 5] profit = [6, 10, 18, 4, 6] a = collections.defaultdict(int) def maxProfitAssignment(difficulty, profit, worker): diffPro = collections.defaultdict(int) for diff, pro in zip(difficulty, profit): diffPro[diff] = max(diffPro[diff], ...
[ "taras.piont@gmail.com" ]
taras.piont@gmail.com
224c6cc4afbfaa41d9c508c782c894db9575c373
8bbfb5b937772066ea965058eb29e9f6362847c2
/runtime/tags/qk511b-opengl-update-merged/quarkpy/qdictionnary.py
bfd5a9cdc7150008f44e2711ec291095163454b8
[]
no_license
QuakeEngines/QuArK_quake_editor-clone
e1aeeb38e7ec8287835d643c3a0bfe5612f0b7f3
412bf28a14d4e369479bf38408bd93e6a2612f87
refs/heads/master
2021-02-15T16:11:17.332239
2020-03-04T14:28:50
2020-03-04T14:28:50
244,911,440
2
0
null
null
null
null
WINDOWS-1252
Python
false
false
40,906
py
""" QuArK - Quake Army Knife Dictionnary of all strings used within the program """ # # Copyright (C) 1996-99 Armin Rigo # THIS FILE IS PROTECTED BY THE GNU GENERAL PUBLIC LICENCE # FOUND IN FILE "COPYING.TXT" # Strings = { 0: "Version 5.11", 1: " QuArK - Quake Army Knife %s by Armin...
[ "nobody@5419a3ea-6bc3-475c-b79b-167d7c3fbd5f" ]
nobody@5419a3ea-6bc3-475c-b79b-167d7c3fbd5f
bb1484bc3df7792baec606d0259c65f2711a1bb6
a8c0867109974ff7586597fe2c58521277ab9d4d
/LC90.py
9d8341d685661f5f3d24ef3401b4bcb15fa0cba8
[]
no_license
Qiao-Liang/LeetCode
1491b01d2ddf11495fbc23a65bb6ecb74ac1cee2
dbdb227e12f329e4ca064b338f1fbdca42f3a848
refs/heads/master
2023-05-06T15:00:58.939626
2021-04-21T06:30:33
2021-04-21T06:30:33
82,885,950
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
class Solution(object): def subsetsWithDup(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ nums.sort() result = [[], [nums[0]]] add_len = 1 for idx in range(1, len(nums)): if nums[idx] == nums[idx - 1]: r...
[ "qiaoliang@Qiaos-MacBook-Pro.local" ]
qiaoliang@Qiaos-MacBook-Pro.local
99cff29f8d6ff23f00550202608b54f8610bd70c
aa9a0acc85a7328969a81527f3ed7c155a245727
/chapter_13/Alien_Invasion/bullet.py
26d4391e22fdf97246f3cabb1eb2a814f1b590b8
[]
no_license
mwnickerson/python-crash-course
7035e21e1ee60c05d1d475ebcf04bd6a93c5967a
18784c7e3abfb74f85f8c96cb0f8e606cab6dccc
refs/heads/main
2023-08-03T20:14:49.883626
2021-09-25T05:31:12
2021-09-25T05:31:12
400,644,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# bullet class import pygame from pygame.sprite import Sprite class Bullet(Sprite): """class to manage bullets fired from the ship""" def __init__(self, ai_game): """create a bullet object at the ship's current position""" super().__init__() self.screen = ai_game.screen self.se...
[ "82531659+mwnickerson@users.noreply.github.com" ]
82531659+mwnickerson@users.noreply.github.com
98c75bfd7cec5597b49116f046fd1c340d21b0db
f72c9e46af5ce5ac738693daf65e67a0962a229a
/sdk/lusid/models/inflation_linked_bond.py
54a3b08f912d4f2e382b7dfdd4b51d437eb7a6a3
[ "MIT" ]
permissive
finbourne/lusid-sdk-python
db8ce602f8408169f6583783c80ebbef83c77807
32fedc00ce5a37a6fe3bd9b9962570a8a9348e48
refs/heads/master
2023-08-29T18:22:49.488811
2023-08-29T15:57:26
2023-08-29T15:57:26
125,082,278
11
11
NOASSERTION
2023-04-28T07:16:48
2018-03-13T16:31:54
Python
UTF-8
Python
false
false
33,796
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 1.0.463 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ try: from inspect import getfullargspec except ImportError: from inspect import getargspec as getful...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
4a4cd0f556b488a78dbec904db4fe5b61c090926
0e083f405af00029c9ec31849f0f7f81c56844b5
/configs/mmdet/detection/detection_onnxruntime_static.py
486a734d9b14258efc894bacde418bb4ad0c5c85
[ "Apache-2.0" ]
permissive
open-mmlab/mmdeploy
39b9e7b611caab2c76a6142fcb99f0bf1d92ad24
5479c8774f5b88d7ed9d399d4e305cb42cc2e73a
refs/heads/main
2023-09-01T21:29:25.315371
2023-08-31T09:59:29
2023-08-31T09:59:29
441,467,833
2,164
605
Apache-2.0
2023-09-14T10:39:04
2021-12-24T13:04:44
Python
UTF-8
Python
false
false
78
py
_base_ = ['../_base_/base_static.py', '../../_base_/backends/onnxruntime.py']
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
a11d1ec99d2df46d06b650b72e04650e59b214ac
a3d3fc52912e7a15ef03bda17acfc191a4536a07
/arcade/examples/isometric_example.py
3a25b2406c1cd8e8a58a921a2fb752fe6ea007ed
[ "MIT" ]
permissive
yasoob/arcade
533a41ce3153ef711005ab02d3501b41a83e50aa
5ef4858e09cf239f2808492ead8c1dd8fd6d47eb
refs/heads/master
2020-08-21T19:23:25.886055
2019-10-18T21:36:36
2019-10-18T21:36:36
216,228,521
0
0
NOASSERTION
2019-10-19T15:33:19
2019-10-19T15:33:19
null
UTF-8
Python
false
false
6,600
py
""" Example of displaying an isometric map. Isometric map created with Tiled Map Editor: https://www.mapeditor.org/ Tiles by Kenney: http://kenney.nl/assets/isometric-dungeon-tiles If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.isometric_example """ ...
[ "paul@cravenfamily.com" ]
paul@cravenfamily.com
71b070ebe37d27a064ccb16f22272cca112b34c1
b3b1bdd2daffd372c97d9d11dc6b100bd688c9b1
/src/criterion/divergence.py
0b13074345617cecadd3115e367637df3d6eb60f
[]
no_license
jasonZhang892/audio_source_separation
edc9dffb9a82c45d6fd46372a634b8ea6573f0f3
1c29f49349d81962532bfaac29c189208e77e18a
refs/heads/main
2023-06-06T07:34:59.716291
2021-05-25T07:19:14
2021-05-25T07:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
import numpy as np EPS=1e-12 def kl_divergence(input, target, eps=EPS): """ Args: input (C, *) Returns: loss (*) """ _input = input + eps _target = target + eps ratio = _target / _input loss = _target * np.log(ratio) loss = loss.sum(dim=0) return loss def is_...
[ "40362510+tky823@users.noreply.github.com" ]
40362510+tky823@users.noreply.github.com
5a1d1526babe1aa52c0f2b0fc433efd22a8a5080
9b527131c291b735a163226d1daac2397c25b712
/Lecture5/activity_sort.py
0b3de48ee6555fdc9145628f7045924bdcce0a1e
[]
no_license
arnabs542/BigO-Coding-material
dbc8895ec6370933069b2e40e0610d4b05dddcf2
3b31bddb1240a407aa22f8eec78956d06b42efbc
refs/heads/master
2022-03-19T18:32:53.667852
2019-11-27T23:55:04
2019-11-27T23:55:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
class Activity: def __init__(self, start, finish): self.start = start self.finish = finish def activity_selection(a): a.sort(key=lambda activity: activity.finish) i = 0 res.append(a[0]) for j in range(1, len(a)): if a[j].start >= a[i].finish: res.append(a[j]) i = j def print_activities(result): fo...
[ "tranhoangkhuongvn@gmail.com" ]
tranhoangkhuongvn@gmail.com
6aeb485e5f218bf264cd0085a6de182171b62a9e
5e8d86f6ddfd516b9768e8617ced0baca8112f4c
/core-python/Core_Python/csvfile/FinalAssessment_CSV.py
14c8146f4b97477600694bda120bf1e7ee0c9dcd
[ "MIT" ]
permissive
bharat-kadchha/tutorials
0a96ce5a3da1a0ceb39a0d464c8f3e2ff397da7c
cd77b0373c270eab923a6db5b9f34c52543b8664
refs/heads/master
2022-12-23T11:49:34.042820
2020-10-06T03:51:20
2020-10-06T03:51:20
272,891,375
1
0
MIT
2020-06-17T06:04:33
2020-06-17T06:04:33
null
UTF-8
Python
false
false
1,195
py
import csv, os # change your parent dir accordingly parent_dir = "E:/GitHub/1) Git_Tutorials_Repo_Projects/core-python/Core_Python/ExCsvFiles" def read_employees(csv_file_location): csv.register_dialect('empDialect', skipinitialspace=True, strict=True) employee_file = csv.DictReader(open(csv_file_location), di...
[ "deeppatel.dd@gmail.com" ]
deeppatel.dd@gmail.com
5b918c1178365622b9af53d1dba706c1fe65ecc0
41cd1bcff0166ed3aab28a183a2837adaa2d9a07
/allauth/socialaccount/providers/openid/models.py
9103b37e93f41b94d02b6bbbb938e9389ebdf298
[ "MIT" ]
permissive
thomaspurchas/django-allauth
694dde8615b90cd4768e7f9eda79fdcf6fe3cdb6
d7a8b9e13456180648450431057a206afa689373
refs/heads/master
2022-02-04T03:18:25.851391
2013-05-20T11:26:55
2013-05-20T11:26:55
7,754,028
1
0
MIT
2022-02-01T23:04:02
2013-01-22T14:44:56
Python
UTF-8
Python
false
false
755
py
from django.db import models from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class OpenIDStore(models.Model): server_url = models.CharField(max_length=255) handle = models.CharField(max_length=255) secret = models.TextField() issued = models.IntegerField() ...
[ "raymond.penners@intenct.nl" ]
raymond.penners@intenct.nl
fbae567a999df749f8ce0f277919dae770888389
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Detectron/tools/generate_testdev_from_test.py
1613d2313d82d50ece48e2e046b19b7f79711bdd
[ "MIT", "Apache-2.0" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:9683898a2074bbd67574a333a6c8d61a3e5cb1ab42b6e728fab7477d6670f1ce size 3243
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
4c144aed67166564a3d15f170ade14626dc5a098
46d8a9446d9f52136736cdeb54f7fc7a23639f10
/ppasr/model_utils/deepspeech2/model.py
30ae326f08d9c7597c22f54bb040653bd172fa2b
[ "Apache-2.0" ]
permissive
buyersystem/PPASR
19b23ff490cdab79fdaa43c0eea4af8ca9b4787d
73edad5e136bf606b0a9b429a09a41716079afd1
refs/heads/master
2023-08-28T06:15:50.724115
2021-10-27T09:57:20
2021-10-27T09:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
from paddle import nn from ppasr.model_utils.deepspeech2.conv import ConvStack from ppasr.model_utils.deepspeech2.rnn import RNNStack __all__ = ['DeepSpeech2Model'] class DeepSpeech2Model(nn.Layer): """DeepSpeech2模型结构 :param feat_size: 输入的特征大小 :type feat_size: int :param vocab_size: 字典的大小,用来分类输出 ...
[ "yeyupiaoling@foxmail.com" ]
yeyupiaoling@foxmail.com
496e630dfed3f36556a00508c7fe6aacb46501f0
ba895ee2765b60ddf2da15307f038c6a884da4ec
/month02/day15/ftp/tcp_client.py
751a0c6cd45e84de2df6f55247a2d865a3c382a1
[]
no_license
jay0613/2020-0720-note
dc53831b829f7e7437fc57937eef38ab9e3942e9
7b2babd30a4dd9897b7853527a07e8a8fe2ba3ea
refs/heads/master
2022-12-06T17:01:19.542832
2020-08-22T10:39:06
2020-08-22T10:39:06
281,112,932
0
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
from socket import * from time import sleep ADDR = ("124.70.187.114",8888) dir = "/home/tarena/month02/day15/ftp/" class FTPClient(): def __init__(self,s): super().__init__() self.s = s def do_list(self): self.s.send("LIST".encode()) data = self.s.recv(128).decode() if ...
[ "240110075@qq.com" ]
240110075@qq.com
273de56721095e1a544df0c7125213c4ee89326c
d043a51ff0ca2f9fb3943c3f0ea21c61055358e9
/python3网络爬虫开发实战/Xpath/xpath1.py
2cfe82c6a2a22b29961311f089129e8ab0fdd732
[]
no_license
lj1064201288/dell_python
2f7fd9dbcd91174d66a2107c7b7f7a47dff4a4d5
529985e0e04b9bde2c9e0873ea7593e338b0a295
refs/heads/master
2020-03-30T03:51:51.263975
2018-12-11T13:21:13
2018-12-11T13:21:13
150,707,725
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
# 导入lxml库的etree模块 from lxml import etree # 声明一段HTML文本 text = ''' <div> <ul> <li class="item-0"><a href="link1.html">first item</a></li> <li class="item-1"><a href="link2.html">second item</a></li> <li class="item-inactve"><a href="link3.html">third item</a></li> <li class="item-1"><a href="link4.html">fourth item</a><...
[ "1064201288@qq.com" ]
1064201288@qq.com
e15e7dfe43813e6f6539b4794a7a1eaa7fd966cd
7c45efb5a5c66305d7c4ba8994d3b077612df109
/friday/apps/users/views.py
57b0f5d3deb51bc1e94b7cf72bd56f04d2f251a1
[]
no_license
globedasher/django-dojo
c245f35b276402b6df6205a8612deb0089d34612
dc27d289b8986b4fb910ef42f7bf483c385a3b4e
refs/heads/master
2020-07-30T04:04:02.054414
2018-05-01T04:32:05
2018-05-01T04:32:05
73,635,951
0
0
null
null
null
null
UTF-8
Python
false
false
2,858
py
from django.shortcuts import render, redirect, HttpResponse from django.core.urlresolvers import reverse from django.contrib import messages import bcrypt from .models import User def index(request): try: all_users = User.objects.all() context = { 'all_users': all_users } return render(req...
[ "globe.dasher@gmail.com" ]
globe.dasher@gmail.com
73fb490420320edf221354588547c2a78de90043
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03222/s439293787.py
607583db9ccf522b5a6afe3b8aea692cb031ffb6
[]
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
1,510
py
from collections import defaultdict, deque, Counter from heapq import heappush, heappop, heapify import math import bisect import random from itertools import permutations, accumulate, combinations, product import sys import string from bisect import bisect_left, bisect_right from math import factorial, ceil, floor fro...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b9a468c666bd6ef59366f96331d18998c6230387
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/materialproduct/model/delete_product_response_wrapper.py
543650fd904c0930db1dd7a3d4ce66501c281754
[ "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,661
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...
[ "v_wangzichen02@baidu.com" ]
v_wangzichen02@baidu.com
f23a7b75896c71cc8827fcfc02a8c5e3a5c1c7ad
a04aff1baf3dac3ad96fd78e90b0de357140db84
/blizzard/stair_steps.py
1d23e481ee56095938a39eda968b42996666736c
[ "MIT" ]
permissive
NigrumAquila/py_checkio
f4f66fe8e87ba88d4e9258a55521902541ca33ba
df437c2c3ad325d84714665000e3299a70e91f32
refs/heads/master
2022-07-30T04:33:42.107806
2020-05-10T09:57:58
2020-05-10T09:57:58
262,756,706
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
checkio = lambda nums: max([n + checkio(nums[i:]) for i, n in zip((1, 2), nums[:2] + [0])] if nums else [0])
[ "kononenko-1999@bk.ru" ]
kononenko-1999@bk.ru
9bebcc1eb78e239d67cbec9156fcd58d8bda1048
bb11350c9f600d0021d81f7f6ee8c2cc5961a5f0
/ZKDEMO/01_dule_color_led.py
213c3601343a8b57ed3d9346195e481f1dea9bf8
[]
no_license
atiger808/raspberry-tutorial
045178877a456908aa8ce764aad62159d674ae79
e877939fd1c72e09ce20497f08d854872588e1ef
refs/heads/master
2022-12-25T19:35:08.378370
2020-10-14T09:56:15
2020-10-14T09:56:15
303,970,623
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
import RPi.GPIO as GPIO import time color = [0xff00, 0x00ff, 0x0ff0, 0xf00f] Rpin = 12 Gpin = 13 def setup(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(Rpin, GPIO.OUT) GPIO.setup(Gpin, GPIO.OUT) GPIO.output(Rpin,GPIO.LOW) GPIO.output(Gpin, GPIO.LOW) global p_R, p_G ...
[ "atiger0614@163.com" ]
atiger0614@163.com
f47296e7b93017d932670a09a376cf7d21d82114
856f43a69bf77e02803cf5ea8723fe5d7c044ae9
/pasarkita/urls.py
e68645318fa1c599e32d5172f5155cda451d0bf0
[]
no_license
yeremiaChris/pasarkitaapp
15cf6e21bbe262ac9360f38ab4bc0cd92f563708
76d190e2f6bdbf60e07575051f17fc8213cf01c4
refs/heads/master
2022-11-30T10:39:57.655765
2020-07-22T07:58:14
2020-07-22T07:58:14
279,835,842
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
from django.urls import path from django.contrib.auth import views as view from . import views urlpatterns = [ path('', views.index,name='index'), path('register', views.register,name='register'), path('tambah-barang', views.tambahBarang,name='tambah-barang'), ]
[ "yeremia997@gmail.com" ]
yeremia997@gmail.com
de1313630c3a57694c37f1732d0c5f4bf47a9d68
27533f26cdcce35388f21755d0c53b1b1fe4d130
/beginner level/digitscheck.py
d1a4ad093c89e9fac5e2fdb2c3af62a39b406c00
[]
no_license
ramyasutraye/pythonprogram-1
f89d678fb8e60bbebb25f7a45d93e520e13103c5
0f4b4566a82b6d4d494837e62f1748166855eb85
refs/heads/master
2020-04-24T01:30:42.968413
2018-05-01T04:20:22
2018-05-01T04:20:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
a=input("enter the input") if (a.isdigit()): print ("True") else: print ("false")
[ "noreply@github.com" ]
ramyasutraye.noreply@github.com
e9f7910d9c8ada08ccb51e63663df4796f5e7d92
1857aaf614cba134941b45880f30da8482b7d7b2
/api/urls.py
2d9524a315813aa4f71505c7983077fa8d2bf1ec
[]
no_license
HavingNoFuture/pd-diplom
ec92a372a26182d893364dbd16e51ff55208d269
849f139d21c2fcd35e0a9f0b4512d09276b73dc5
refs/heads/master
2020-06-16T18:49:28.804376
2019-11-22T15:47:41
2019-11-22T15:47:41
195,668,884
0
1
null
2019-07-07T15:42:24
2019-07-07T15:42:24
null
UTF-8
Python
false
false
1,675
py
"""orders URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "alex.erm@yandex.ru" ]
alex.erm@yandex.ru
6fb534f40527aab8cac971d8f3b32dd73637e3d7
f0becfb4c3622099ce3af2fad5b831b602c29d47
/django/myvenv/bin/epylint
803f74f6fb86daa6e4d5a0f62e132c49186b0875
[ "MIT" ]
permissive
boostcamp-2020/relay_06
9fe7c1c722405d0916b70bb7b734b7c47afff217
a2ecfff55572c3dc9262dca5b4b2fc83f9417774
refs/heads/master
2022-12-02T05:51:04.937920
2020-08-21T09:22:44
2020-08-21T09:22:44
282,153,031
4
12
MIT
2022-11-27T01:13:40
2020-07-24T07:29:18
Python
UTF-8
Python
false
false
255
#!/Users/kobyunghwa/relay_06/django/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "bhko0524@naver.com" ]
bhko0524@naver.com
8e8c3eb0849e2651e56d2c0ba0c6382c180a3c9a
50ea2988e1c0dd20bee544d9185608446c681c7b
/app/snippets/urls/drf_generic_cbv.py
4eadb91373042a452e86ad15eb65d3af793d685c
[]
no_license
wps9th-mongkyo/drf-tutorial
b725c3de77d4bc9c7ce12fa742b967ef6736369d
18bd3cede77254a8893c8f429aa4f24afe765ccb
refs/heads/master
2020-04-06T10:06:18.759284
2018-11-14T16:49:07
2018-11-14T16:49:07
157,368,423
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from django.urls import path from ..views.drf_generic_cbv import * from ..views.user import * urlpatterns = [ path('snippets/', SnippetList.as_view()), path('snippets/<int:pk>', SnippetDetail.as_view()), path('users/', UserListView.as_view()), path('users/<int:pk>', UserDetailView.as_view()), ]
[ "dreamong91@gmail.com" ]
dreamong91@gmail.com
8994a33fe39373b23b98f5bffcc40a7cbe8c40bf
7f3205f78ae92a5b3341d458449789e38c9e7ede
/packages/fetchai/protocols/http/serialization.py
533320118e37d64fae8803351f0958a63a256a12
[ "Apache-2.0" ]
permissive
greencultureai/agents-aea
d9537cf440387cd8e9c29b2451f9f67a4b5c35f2
bc4f65fc749e9cd628f3d0f91bba3d522bce82e4
refs/heads/master
2021-03-07T03:55:31.340188
2020-03-09T14:18:13
2020-03-09T14:18:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,143
py
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2020 fetchai # # 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 # #...
[ "david.minarsch@googlemail.com" ]
david.minarsch@googlemail.com
dc0d540c206b2cbbf1c166e46318470ac644409b
316c473d020f514ae81b7485b10f6556cf914fc0
/urllib/parse/demo4.py
2b21849b6000934339e662c8417960f368438b53
[ "Apache-2.0" ]
permissive
silianpan/seal-spider-demo
ca96b12d4b6fff8fe57f8e7822b7c0eb616fc7f3
7bdb77465a10a146c4cea8ad5d9ac589c16edd53
refs/heads/master
2023-06-20T03:47:04.572721
2023-05-24T06:27:13
2023-05-24T06:27:13
189,963,452
1
1
Apache-2.0
2022-12-08T03:24:54
2019-06-03T08:15:56
Python
UTF-8
Python
false
false
132
py
from urllib.parse import urlparse result = urlparse('http://www.baidu.com/index.html#comment', allow_fragments=False) print(result)
[ "1206284818@qq.com" ]
1206284818@qq.com
2e5487930aa047da633bb9abe095cf99646b32ad
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_392/ch24_2019_09_11_13_10_29_212592.py
7d5dbd4fe3971f1941fce8860d74aef5c4a84a36
[]
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
212
py
def classifica_triangulo(a,b,c): if a==b and a==c: return 'equilátero' elif a==b and b==c and a!=c or a==c and b==c and b!=a: return 'isósceles' else: return 'escaleno'
[ "you@example.com" ]
you@example.com
0d93dd2e7128c469c539a4bbc00ad886d5180dcb
0366bccae8841bbf6ecaad70660aae89bb0f6394
/8_Tuples/1_tuple_types.py
8bfd986aaff001145630fdba8e0cc3a6ac27ce50
[]
no_license
KobiShashs/Python
8a5bdddcaef84b455795c5393cbacee5967493f7
e748973ad0b3e12c5fb87648783531783282832a
refs/heads/master
2021-04-05T20:18:57.715805
2020-04-02T21:51:44
2020-04-02T21:51:44
248,597,057
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
one_value_tuple = (20) print(one_value_tuple) print(type(one_value_tuple)) one_value_tuple = (20,) print(one_value_tuple) print(type(one_value_tuple))
[ "kobi.shasha@gmail.com" ]
kobi.shasha@gmail.com
d4d21cfed010e88eb85bf3c40848a3fb92c8625b
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/cart/migrations/0007_auto_20190326_1349.py
34d1c28b4f17a8472690bb6cee2e9a32d2efd8bc
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
# Generated by Django 2.0.5 on 2019-03-26 08:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0006_merge_20190326_1307'), ] operations = [ migrations.AlterField( model_name='cart', name='product_id', ...
[ "sonamsinha@policybazaar.com" ]
sonamsinha@policybazaar.com
bc0b53d1af3b5f30447b9706d33fd91793b72d47
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/see_day/little_eye_and_fact/government/government_and_day/work_time.py
7733864285181ed2b0aca7b41229ba4587d52094
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
#! /usr/bin/env python def same_point(str_arg): feel_public_problem_from_few_problem(str_arg) print('want_last_life') def feel_public_problem_from_few_problem(str_arg): print(str_arg) if __name__ == '__main__': same_point('know_different_hand_of_time')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
00e165ed69dc9db91fe96614fa3c7a6ff23bd55e
6d25434ca8ce03f8fef3247fd4fc3a1707f380fc
/[0140][Hard][Word_Break_II]/Word_Break_II.py
2abe1aaa6de1356b8dd434ee82f875c245a499e5
[]
no_license
sky-dream/LeetCodeProblemsStudy
145f620e217f54b5b124de09624c87821a5bea1b
e0fde671cdc9e53b83a66632935f98931d729de9
refs/heads/master
2020-09-13T08:58:30.712604
2020-09-09T15:54:06
2020-09-09T15:54:06
222,716,337
2
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
# -*- coding: utf-8 -*- # leetcode time cost : 50 ms # leetcode memory cost : 15 MB # Time Complexity: O(N*N) # Space Complexity: O(N) #solution 1, DFS and memorize class Solution: def wordBreak(self, s: str, wordDict: list) -> list: if not s: return [] _len, wordDict = len(s), ...
[ "xxm1263476788@126.com" ]
xxm1263476788@126.com
0ffa84d97f57d7a639d5357bce6f193502cc93a4
e1787e6b167ffe1e7b03b926422437839f2e0921
/permutation.py
13ba44ec3745ce092bda40c385ef8aad6ad9ac6b
[]
no_license
Kennedy-Njeri/python-Algorithms
c86ec3dec0faa02c676200fcad65b2860c4e64b0
4e65b6c652ca09beeb4cdde706d14fbfd399eea0
refs/heads/master
2020-11-29T09:06:35.255011
2020-01-17T20:18:14
2020-01-17T20:18:14
230,075,701
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
""""Given two strings write a function to decide if one is a permutation of the other string""" str_1 = "driving" str_2 = "drviign" def is_permutation(str_1, str_2): str_1 = str_1.replace(" ", "") str_2 = str_2.replace(" ", "") if len(str_1) != len(str_2): return False for c in str_1: ...
[ "mistakenz123@gmail.com" ]
mistakenz123@gmail.com
81a753ffd8cb5baca58b8a2daa8a6d8cc329da19
a7b2be4d98565280b9e5bccb62aa26dfe8d780c8
/env/bin/django-admin.py
62949e376acde185f24655c3dd6df13920323d00
[]
no_license
argen87/Shop_market
bb354d78ccbaefcbc78eddd9821b392a850ba100
07142b1274b707e48842a02f9a95edb603604a2f
refs/heads/main
2023-05-09T05:36:08.429109
2021-06-10T14:46:47
2021-06-10T14:46:47
375,729,325
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
#!/home/argen/PycharmProjects/shop_market/env/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py was d...
[ "you@example.com" ]
you@example.com
c50c6c1e5fec1a82e31eadbc1cc3276ebfb96d9b
deefd01b60fb0cfbeb8e8ae483f1d852f897c5f8
/listkeeper/devices/migrations/0001_initial.py
24af4f2cdc476b212d301d3c324e2886d895361b
[]
no_license
andrewgodwin/rfid-inventory
c0bb6f9ebe6ba53c3ec19e7ebe38ad4c1b9128c1
fdb8b919bc4228049545f8b05773617c7d6690c9
refs/heads/master
2020-09-22T07:20:18.463709
2020-07-05T03:43:02
2020-07-05T03:43:02
225,102,557
30
4
null
null
null
null
UTF-8
Python
false
false
3,767
py
# Generated by Django 3.0 on 2019-12-08 06:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [("directory", "0001_initial")] operations = [ migrations.CreateModel( name="Device", ...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
3fe4b27047341c4a9fcea2e0da355659b238ff8b
95d1dd5758076c0a9740d545a6ef2b5e5bb8c120
/PY/basic/str_op.py
7cec952522cfb4159b5a939c5083c84c679c3d6d
[]
no_license
icoding2016/study
639cb0ad2fe80f43b6c93c4415dc6e8a11390c85
11618c34156544f26b3b27886b55c771305b2328
refs/heads/master
2023-08-31T14:15:42.796754
2023-08-31T05:28:38
2023-08-31T05:28:38
117,061,872
2
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
longstr1 = ('This is an example of a long string ' 'which is devided into multiple lines in the code ' 'and use bracket to group into one string (which is required to avoid compiler error)' 'but actually should display in one line.\n') longstr_in_obj = ('a tuple', 1, 'a long string i...
[ "icoding2016@gmail.com" ]
icoding2016@gmail.com
fbc5a3e9710da3cffc431b9a658319fa0d4b4578
6c860b5a89fcba3dad4e4d8dea9c570262fab901
/luggage_calculator_2.py
90e5822ff0cb6cb4469581665832e51ede3d9014
[]
no_license
momentum-cohort-2019-05/examples
e011b0907dce22d1b58612a5e2df2030be98bdd5
277a213c2ef8d5499b9eb69e2c4287faac8e6f4e
refs/heads/master
2022-09-07T21:14:29.409749
2019-07-11T20:18:43
2019-07-11T20:18:43
189,416,951
0
4
null
2022-08-23T17:52:24
2019-05-30T13:15:52
PLpgSQL
UTF-8
Python
false
false
697
py
# Description # Ask the user for the weight of the current bag. # - If the user has no more bags, stop # - Otherwise, ask again # Add up the weight of all bags # If > limit (100 lbs), warn the user total_weight = 0 weight_limit = 100 while True: bag_weight_as_str = input( "How much does your bag weigh...
[ "clinton@dreisbach.us" ]
clinton@dreisbach.us
26899bb618ab25ea80fd07b6b93e9ea23828318c
ef1bf421aca35681574c03014e0c2b92da1e7dca
/test/test_modes/test_occurrences.py
f9d0d8e717d9872d33f126775173dc825cf599b5
[ "MIT" ]
permissive
pyQode/pyqode.core
74e67f038455ea8cde2bbc5bd628652c35aff6eb
0ffabebe4f0397d53429024f6f44db3fe97b0828
refs/heads/master
2020-04-12T06:36:33.483459
2020-01-18T14:16:08
2020-01-18T14:16:08
7,739,074
24
25
MIT
2020-01-18T14:16:10
2013-01-21T19:46:41
Python
UTF-8
Python
false
false
1,555
py
import pytest from pyqode.qt import QtGui from pyqode.qt.QtTest import QTest from pyqode.core.api import TextHelper from pyqode.core import modes from ..helpers import ensure_visible, ensure_connected def get_mode(editor): return editor.modes.get(modes.OccurrencesHighlighterMode) def test_enabled(editor): ...
[ "colin.duquesnoy@gmail.com" ]
colin.duquesnoy@gmail.com
1abaebbe2a53ac8c55b73c8692edd187e8ac1ca3
3a85089c2498ff04d1b9bce17a4b8bf6cf2380c9
/DQM/SiStripCommissioningSources/python/__init__.py
5cb176520939c3fb3b64280306e6166224512036
[]
no_license
sextonkennedy/cmssw-ib
c2e85b5ffa1269505597025e55db4ffee896a6c3
e04f4c26752e0775bd3cffd3a936b288ee7b0268
HEAD
2016-09-01T20:09:33.163593
2013-04-26T12:05:17
2013-04-29T16:40:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#Automatically created by SCRAM import os __path__.append(os.path.dirname(os.path.abspath(__file__).rsplit('/DQM/SiStripCommissioningSources/',1)[0])+'/cfipython/slc6_amd64_gcc480/DQM/SiStripCommissioningSources')
[ "giulio.eulisse@cern.ch" ]
giulio.eulisse@cern.ch
99304e7b590358047f085b80e003dd7131ae0bf1
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqpt/sysc.py
b3fbc6b2c18b997b31b196e89572ec2d501aa74a
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
15,101
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
c824b387f7e69b52f2aea7ee95f05bb9fe654c45
c46260c40054c0499e0a6871e4d3fe2d6d8aa9c0
/LISTING.py
281621f7fb0be0311058b69ce8761221ebea4feb
[]
no_license
iiot-tbb/learngit
1d6f5c234f1c36016be5489c7ec605f666bbba16
dfa3106d05bcbb0da39b9bf71f7a0698322130f7
refs/heads/master
2020-08-30T01:30:07.632602
2019-12-07T13:09:59
2019-12-07T13:09:59
218,225,081
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
#!/usr/bin/env python # coding=utf-8 from timeit import Timer def test1(): l =[] for i in range(1000): l = l+ [i] def test2(): l =[] for i in range(1000): l.append(i) def test3(): l =[ i for i in range(1000) ] def test4(): l = list(range(1000)) t1 =Timer("test1()","from __mai...
[ "247687157@qq.com" ]
247687157@qq.com
226d7c640175f5819037705b351840787fd615ac
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/assets_pandas_type_metadata/assets_pandas_type_metadata/resources/csv_io_manager.py
68dc75f91b9b2b658c50091745e997fba2f106e1
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
2,782
py
import os import textwrap import pandas as pd from dagster import ( AssetKey, MemoizableIOManager, MetadataEntry, TableSchemaMetadataValue, io_manager, ) class LocalCsvIOManager(MemoizableIOManager): """Translates between Pandas DataFrames and CSVs on the local filesystem.""" def __init_...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
e0e4e7533392653a3bd4723f5ebfe1fe76de1bc8
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/python/profiler/traceme.py
7807afbc54b0a025c44431ee9279756620891468
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
1,143
py
# Copyright 2019 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
34007746b1f587a5fbfc161816d0df49bbeda33c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2176/60898/304593.py
dd9b9604eea880c2c36c822e8be0863c455da893
[]
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
220
py
s1 = input() l1 = len(s1) s2 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" a ="" for i in range(52): for j in range(l1): if s1[l1-j-1]==s2[i]: b=str(l1-j) a=a+b+" " print(a)
[ "1069583789@qq.com" ]
1069583789@qq.com
f8b8200530e6ac229ce51345487daaf93aa19c13
6b14d9a64a578239e5612e6098320b61b45c08d9
/SEP27/03.py
da54b196d586a25bb2a7fc1b0f68d526ccca9bd1
[ "MIT" ]
permissive
Razdeep/PythonSnippets
498c403140fec33ee2f0dd84801738f1256ee9dd
76f9313894f511c487a99bc38bdf0fe5e594caf5
refs/heads/master
2020-03-26T08:56:23.067022
2018-11-26T05:36:36
2018-11-26T05:36:36
144,726,845
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
# Using sqlite3 import sqlite3 conn=sqlite3.connect('Example.db') # conn.execute('Create table student(name,address,age,mob)') print('Table created') conn.execute('insert into student values("Raj","ssd","sdf","adgg")') print('Row has been inserted') student=conn.execute('select * from student').fetchall() print(student...
[ "rrajdeeproychowdhury@gmail.com" ]
rrajdeeproychowdhury@gmail.com
194d7c03a55bf69115a1a87ec700ccc939cc4a70
ef9a1edc55a8dc13c7dc0081334d9b0e5b5643ed
/explorer/migrations/0004_auto_20170815_1500.py
1b277b7d3a2988b7195fc9606bca3d45696ee5ae
[ "MIT" ]
permissive
LCOGT/serol
450a7650a4ad70d2f1402d58e3098d6cdfc8cda7
b4698dc90cc59587068e352e1e523025087cca62
refs/heads/master
2023-09-04T08:08:01.557747
2023-08-14T12:24:06
2023-08-14T12:24:06
98,443,901
0
0
MIT
2023-05-23T03:39:31
2017-07-26T16:29:55
Python
UTF-8
Python
false
false
1,086
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-15 15:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('explorer', '0003_challenge_category'), ] operations = [ migrations.DeleteMo...
[ "edward@gomez.me.uk" ]
edward@gomez.me.uk
7e7d78b5c7010025c138d03323e04d0ec123e87a
e1c5b001b7031d1ff204d4b7931a85366dd0ce9c
/EMu/2017/data_reskim/script/Batch_reskim_all.py
c2503d17c492d171b32fbe7503db4a8bf1b7a58b
[]
no_license
fdzyffff/IIHE_code
b9ff96b5ee854215e88aec43934368af11a1f45d
e93a84777afad69a7e63a694393dca59b01c070b
refs/heads/master
2020-12-30T16:03:39.237693
2020-07-13T03:06:53
2020-07-13T03:06:53
90,961,889
0
0
null
null
null
null
UTF-8
Python
false
false
4,833
py
import os import sys MYDIR=os.getcwd() file_root_dir_dic={ #[isData,isZToTT,isTTbin,isWWbin, "../Data/rB_1" :[[True,False,False,False],[0]], "../Data/rC_1" :[[True,False,False,False],[0]], "../Data/rD_1" :[[True,False,False,False],[0]], "../Data/rE_1" :[[True,False,False,False],[0]], "../Data/rF_1" :[[True,False,...
[ "1069379433@qq.com" ]
1069379433@qq.com
614267896a7e2c9ff12416977b11b5f2d10d7ab3
8039137e257c587e4f37dea4f421607de040009c
/test_autoarray/geometry/test_geometry_util.py
640d59879b3694ff2064e8e1e73958206b477762
[ "MIT" ]
permissive
jonathanfrawley/PyAutoArray_copy
d15cafa8ad93c19e9991b0c98bc5192be520fcdc
c21e8859bdb20737352147b9904797ac99985b73
refs/heads/master
2023-04-20T22:43:18.765267
2021-05-12T14:23:47
2021-05-12T14:23:47
367,427,246
0
0
null
null
null
null
UTF-8
Python
false
false
35,175
py
import autoarray as aa import numpy as np import pytest class TestCoordinates1D: def test__central_pixel__depends_on_shape_pixel_scale_and_origin(self): central_pixel_coordinates = aa.util.geometry.central_pixel_coordinates_1d_from( shape_slim=(3,) ) assert centra...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
5ea0cc825f93fc42950aba4b149681a669002a5c
8f64d50494507fd51c0a51010b84d34c667bd438
/BeautyForMe/myvenv/Lib/site-packages/phonenumbers/shortdata/region_AF.py
840519d2de85f67d5d2e0916a6bd49c9e9b2a04f
[ "MIT" ]
permissive
YooInKeun/CAU_CSE_Capstone_3
5a4a61a916dc13c8635d25a04d59c21279678477
51405c4bed2b55661aa0708c8acea17fe72aa701
refs/heads/master
2022-12-11T15:39:09.721019
2021-07-27T08:26:04
2021-07-27T08:26:04
207,294,862
6
1
MIT
2022-11-22T04:52:11
2019-09-09T11:37:13
Python
UTF-8
Python
false
false
937
py
"""Auto-generated file, do not edit by hand. AF metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_AF = PhoneMetadata(id='AF', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[14]\\d\\d(?:\\d{2})?', possible_length...
[ "keun0390@naver.com" ]
keun0390@naver.com
10f907d3baaaa51c57acbf31d33adc0870fafb74
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20191121/example_jinja2/01inherit/main.py
f6a2a6121ddb3ef66ab19e547bff0ea2c8a5a968
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
249
py
import os.path from jinja2 import Environment, FileSystemLoader here = os.path.dirname(__file__) e = Environment(loader=FileSystemLoader(here)) t = e.get_template("main.j2") print(t.render()) e.compile_templates(here, zip=None, log_function=print)
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
20f7c68abb20697f37faf94315775c04cc2e88e0
e47bc9571c59b1c6e8aeb4231a286ab8577802d4
/easy/700-search-in-a-binary-search-tree.py
80810f66956e8a17a8d0435cfb5517b67981d3fe
[ "MIT" ]
permissive
changmeng72/leecode_python3
d0176502dfaf3c8b455ec491c72979dd25b66b3e
8384f52f0dd74b06b1b6aefa277dde6a228ff5f3
refs/heads/main
2023-05-27T10:35:43.465283
2021-06-09T00:20:59
2021-06-09T00:20:59
375,127,027
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def searchBST(self, root: TreeNode, val: int) -> TreeNode: while root!=None: ...
[ "noreply@github.com" ]
changmeng72.noreply@github.com
222d3a8b5fe6ead7ed774a31e3384f17c77c532b
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/io_scs_tools/internals/persistent/initialization.py
7f4da8dcb5af84372c4c4687960620d3e72755b6
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,303
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
7a9a6945f9f95e49f44ee1506c40205fac83cef9
e8274f167fd219ef78241ba8ea89e5d5875ed794
/cloud/nova/nova/db/sqlalchemy/migration.py
31c40234a4065b76995aba1d11758b1ed73855fc
[ "Apache-2.0" ]
permissive
virt2x/folsomCloud
02db0147f7e0f2ab0375faf4f36ca08272084152
e6fd612dd77f35a72739cf4d4750e9795c0fa508
refs/heads/master
2021-01-01T17:26:28.405651
2013-10-17T12:36:04
2013-10-17T12:36:04
13,647,787
0
1
null
2020-07-24T08:25:22
2013-10-17T12:10:24
Python
UTF-8
Python
false
false
3,873
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
[ "quan.xu@intel.com" ]
quan.xu@intel.com
adb1de6d94b004b03c0ea92ee70b9e9286246180
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/HH3C-IP-ADDRESS-MIB.py
16d5881816e772866058d16066514c3e11c3f183
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
9,982
py
# # PySNMP MIB module HH3C-IP-ADDRESS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-IP-ADDRESS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:14:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
533cc85f23f1baa1d29a5f2efd413bc56d46819a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/4b1ce8efbadf4ae08434623c951e8a03.py
23c859cb84bcc66a0a8d02897ece826b32d14a4c
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
589
py
def hey(question): """ Inputs: question (string) - A question to ask Bob. Outputs: answer (string) - Bob's response to the question. Bob answers 'Sure.' if you ask him a question. He answers 'Whoa, chill out!' if you yell at him. He says 'Fine. Be that way!' if you address him without actually saying anyth...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
2e218c49d71cdead57bbbf5de7b87264ce4b5167
58cea667b91271f8d61a70b3eff93ef56814d99a
/reservations/urls.py
c8433daa084bbe716861fd4932cf700c5f47ed5d
[]
no_license
BKLemontea/AirBnB_CloneCoding
06e900d0c2f1735ebc539172569205956bab7b52
b88f9bb6d1bca6a10cb48206872c0a392ce436bf
refs/heads/master
2022-12-11T00:17:47.066796
2020-05-04T12:56:28
2020-05-04T12:56:28
235,279,197
0
0
null
2022-12-10T20:47:58
2020-01-21T07:21:38
Python
UTF-8
Python
false
false
333
py
from django.urls import path from . import views app_name = "reservations" urlpatterns = [ path("create/<int:room>/<int:year>-<int:month>-<int:day>/", views.create, name="create"), path("<int:pk>/", views.ReservationDetail.as_view(), name="detail"), path("<int:pk>/<str:verb>/", views.edit_reservation, nam...
[ "jyf1128@naver.com" ]
jyf1128@naver.com
0dd093c2129194b810bfb2ebb4684574b589f6ef
f3df69d552c0749d054f77a1f739bb13c70b23c0
/Boundary Detection and Object Matching/p6.py
e4864c8a0f2b6bed08c7671778204230ac45e152
[]
no_license
thomas-liao/Computer-Vision-Projects
a13e5b1122f7089c5ee49c60d87f9db7b0887aa7
66a6cf269dbcad23831f15dfb5695cc1c1f2084b
refs/heads/master
2021-10-24T01:14:03.387306
2019-03-21T06:57:27
2019-03-21T06:57:27
109,339,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
import math import numpy as np def p6(edge_image, edge_thresh): # return [edge_thresh_image, hough_image] height = len(edge_image) width = len(edge_image[0]) ret_img = [[0 for x in range(width)] for y in range(height)] rou_points = 500 theta_points = 500 for i in range(height): for j i...
[ "thomas.liao256@gmail.com" ]
thomas.liao256@gmail.com
4f27d04ab2fceaec0820eec914370a8e5c241bbf
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/large_case_or_government/small_time.py
b02f0a7c20c3165a30a6c3a143c2d12f005cf4e1
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
#! /usr/bin/env python def place(str_arg): year(str_arg) print('know_person_by_different_point') def year(str_arg): print(str_arg) if __name__ == '__main__': place('go_long_place_into_high_eye')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
d34e57dc3fad50b488fcbad29d3b477d302341fd
e2348943fcb5ea22137187c23cd39f7138bed725
/practise/form_demo/forms.py
21eee2a72f75d43acb27ad3ce278652a542ef653
[]
no_license
Gaurav41/Django-Practise
6bf8d7c58ad5624990aa8d707f72e504f778dbfa
36754e54d0ae2be86855620916cc9262e382e597
refs/heads/master
2023-07-26T06:51:38.002692
2021-09-07T14:19:29
2021-09-07T14:19:29
403,638,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
from django import forms import django from django.db.models.base import Model from django.forms import fields, widgets from django.forms.fields import BooleanField, CharField from django.forms import ModelForm from .models import Customer # https://docs.djangoproject.com/en/3.2/topics/forms/ class NameForm(forms.Fo...
[ "gauravpingale4@gmail.com" ]
gauravpingale4@gmail.com
8a173bcb6121ee95083280933b1dad376b3685f5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_cockatoo.py
44cd2b849cd52c15c8be04daf76e0becb8196798
[ "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
381
py
#calss header class _COCKATOO(): def __init__(self,): self.name = "COCKATOO" self.definitions = [u'an Australian bird with a decorative crest (= growth of feathers) on its head and a powerful beak'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3d629e559a04bc09cbc9a4cf103d4b96bee693c3
ba4f68fb01aa32970dadea67cc8d039b4c0f6d9e
/python/armstrong_numbers.py
a4ac5f11afc0ef9619fc0db4c3370fac8ba44b30
[]
no_license
campbellmarianna/Code-Challenges
12a7808563e36b1a2964f10ae64618c0be41b6c0
12e21c51665d81cf1ea94c2005f4f9d3584b66ec
refs/heads/master
2021-08-03T23:23:58.297437
2020-05-15T07:13:46
2020-05-15T07:13:46
168,234,828
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
# Exercism Problem: Armstrong Numbers # Find out if a number is the sum of its own digits each raised to the power of # number of digits ''' Technical Interview Problem Solving Strategy 1. Generate reasonable test inputs 2. Understand the problem = Solve it! a. Simplify the problem if needed 3. Find a pattern in y...
[ "mckd2018@gmail.com" ]
mckd2018@gmail.com
753ec27efafeb634d3084d7139d39eb30acf94ec
bd696223aaf5404987df11832b4c17c916b9690f
/py_sample/django_rest_tutorial/snippets/permissions.py
6c42c1910d183fa5df19ddac3d74f8bee85a6473
[]
no_license
wararaki718/scrapbox3
000a285477f25c1e8a4b6017b6ad06c76f173342
9be5dc879a33a1988d9f6611307c499eec125dc2
refs/heads/master
2023-06-16T08:46:32.879231
2021-07-17T14:12:54
2021-07-17T14:12:54
280,590,887
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from rest_framework import permissions class IsOwnerOrReadOnly(permissions.BasePermission): def has_object_permission(self, request, view, obj): if request.method in permissions.SAFE_METHODS: return True return obj.owner == request.user
[ "ky7.ott.w@gmail.com" ]
ky7.ott.w@gmail.com
3bb12ba94fcbec290decd82b09f9fec9e679e487
6cc37dfc44880f57823bb9523ea5f8206d5e3f22
/python_OOP/labs_and_homeworks/03_attributes_and_methods_exercise/gym_04/project/customer.py
ff5ecd94c9f32fe85c41758770709746349e3848
[]
no_license
dimitar-daskalov/SoftUni-Courses
70d265936fd86712a7bfe0586ec6ebd1c7384f77
2054bc58ffb5f41ed86f5d7c98729b101c3b1368
refs/heads/main
2023-05-31T06:44:35.498399
2021-07-11T10:16:08
2021-07-11T10:16:08
322,896,365
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
class Customer: id_count = 0 def __init__(self, name: str, address: str, email: str): self.name = name self.address = address self.email = email self.id = self.get_next_id() @staticmethod def get_next_id(): Customer.id_count += 1 next_id = Customer.id_co...
[ "dimitar.daskalov22@gmail.com" ]
dimitar.daskalov22@gmail.com
aa54ea0160cb8d5f0aa9751e2ec10309491e862a
f933e6a2c30003df771f902924880e5f531ba57f
/src/deltapy/communication/pyro/__init__.py
0af9dbc76e1753625c3cdf247208b8a21b8e7e44
[]
no_license
hamed1361554/sportmagazine-server
861e624912ffc2e623b027e693111d4bcb10a709
a2ee333d2a4fe9821f3d24ee15d458f226ffcde5
refs/heads/master
2020-04-17T13:57:00.624899
2017-07-25T03:30:24
2017-07-25T03:30:24
67,815,549
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
''' Created on Sep 15, 2009 @author: Abi.Mohammadi & Majid.Vesal ''' from deltapy.packaging.package import Package import deltapy.communication.services as communication from deltapy.communication.pyro.factory import PyroFactory class PyroPackage(Package): def load(self): Package.load(self) ...
[ "hamed.zekri@gmail.com" ]
hamed.zekri@gmail.com
962b0aaba50613ca402feaf5fa33193831e19e07
8f2f83bc1381d4ce7fc968aec72fa400aae4155d
/api/network/requestmodels/__init__.py
4a07f17722a06027b304b663cfb2a276909b7f29
[ "MIT" ]
permissive
nifrali/pyStratis
c855fb33be77064c9a741255e324003319a4789f
b1a80bf155b7941e9ef8fc2ea93fa1b08a0c4366
refs/heads/master
2023-06-20T16:02:30.863589
2021-07-01T19:24:18
2021-07-01T19:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from .clearbannedrequest import ClearBannedRequest from .disconnectpeerrequest import DisconnectPeerRequest from .setbanrequest import SetBanRequest
[ "skaal@protonmail.com" ]
skaal@protonmail.com
e62e850eb5cc7ca5d2fff2ccb3c73f00f13a4362
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_Class575.py
d1049a69516cdaa111be622c5a515f85597de048
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=18 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
c37692c9ddac4769c86a3c1e7eb5200ea316963f
fbfcdc0bf7ea2b85f962504488b8f4c8d8504683
/recruiter_15575/wsgi.py
9a9ab76df567e542412a53d35f7a2a2a4dc2df1f
[]
no_license
crowdbotics-apps/recruiter-15575
58a82d1f1aad4f13c4044e06f32903afcd864a11
440fb9165fb0165246601d4733618bc800565ba0
refs/heads/master
2022-12-14T08:19:32.672896
2020-04-07T23:12:22
2020-04-07T23:12:22
253,933,271
0
0
null
2021-06-12T06:01:42
2020-04-07T23:12:06
Python
UTF-8
Python
false
false
407
py
""" WSGI config for recruiter_15575 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
03fada5c669da9504b6aa423e88fff759e2862bc
b17f269a24e98f6a28c54cf49569c305b4f1dac3
/src/nix_ray/__init__.py
50c69155f0044cf26776bd7a17a94faf26e40df9
[]
no_license
qknight/nix-ray
981d41e6706b455e3e8c1c9572e595a654833617
08b0ca2d139abbf700c04483f2ec3046aa284a49
refs/heads/master
2016-09-10T17:35:25.964041
2013-07-27T10:21:55
2013-07-27T10:23:01
11,617,136
3
0
null
null
null
null
UTF-8
Python
false
false
809
py
"""xin - prototypical unified cli for nix """ import tpv.cli import tpv.pkg_resources from plumbum import FG from plumbum.cmd import ls, grep, wc, git class NixRay(tpv.cli.Command): """nix-ray Assistant for debugging the phases of a nix expression """ VERSION = 0 entry_point_group="nix_ray.comm...
[ "flo@chaoflow.net" ]
flo@chaoflow.net
800a07049a25c104919188f12cd07941255d2647
7e574c25506a7b4f68b873fa63d2d38f52c7c56e
/utils/correspondence_tools/correspondence_plotter.py
64ec2758a8b598aec99938a40c9ba5d79121d7f1
[]
no_license
vcowwy/SuperGlue_paddle
9912e6dfda34dfc42cfb34d4e2de8eaed827ed15
4cd5280dbb228498e2b3c6df1f4621c320af47c7
refs/heads/master
2023-08-21T15:58:20.122712
2021-10-29T11:10:26
2021-10-29T11:10:26
420,937,959
3
0
null
null
null
null
UTF-8
Python
false
false
2,466
py
import matplotlib.image as mpimg import matplotlib.pyplot as plt from matplotlib.patches import Circle def plot_correspondences(images, uv_a, uv_b, use_previous_plot=None, circ_color='g', show=True): if use_previous_plot is None: fig, axes = plt.subplots(nrows=2, ncols=2) else: f...
[ "1719870799@qq.com" ]
1719870799@qq.com
7e3bfaabf0e7e46b0a25c2d41ce8a0a1e4281a74
925a067ff1473cf45ad8aa9cf99db4311a7799ed
/archive/get_data_modules_3.py
c9f61dd2cc18f30b1ac3542e9c449adb11015e7e
[]
no_license
ORNL-Fusion/Collector-Probes
fd7250738e797befa06fad487e9d2498b61436a5
16e15a0d3dcaa8a88da25aaf3ea126e9eb2a5f96
refs/heads/master
2022-09-03T01:02:39.520659
2022-08-28T13:28:53
2022-08-28T13:28:53
95,914,293
1
3
null
2019-11-14T15:00:39
2017-06-30T18:34:29
Python
UTF-8
Python
false
false
7,404
py
import openpyxl as xl from MDSplus import * import sys # Used to get location of .scn files. from Tkinter import Tk from tkFileDialog import askopenfilename def get_RBS(tree, letter_probes, shot): # Grab the RBS data. print "\nLoading RBS Excel file... This may take a minute." rbs_file = xl.load_workbook("RBS...
[ "shawnzamperini@gmail.com" ]
shawnzamperini@gmail.com
d5a97378f8e2eb8a234eefd79c834da56ef3a6b1
79ee8affe61807c0d732418b74e8b21447e64342
/todo_list/migrations/0001_initial.py
342d94714a86342deab7d3b9b3fccad667a5f783
[]
no_license
ayushkr07/todo_list_app
59e6b2ce804927bf65d910408f8c9e53052bc8d8
07fd51bbfd395e0a08126578046687b74c894dc4
refs/heads/master
2020-04-28T10:07:20.748492
2019-03-18T05:08:18
2019-03-18T05:08:18
175,191,927
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 2.1.7 on 2019-03-13 17:49 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='List', fields=[ ('id', models.AutoField(aut...
[ "aks010598@gmail.com" ]
aks010598@gmail.com
77a55aceafc61a2b332a9c7a43ed54432760f692
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnundisguisedli.py
1d2ffad0e1f3ca7c736fb64ed10fc23340bdbd4d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
43
py
ii = [('WadeJEB.py', 1), ('MackCNH.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
fa648d0af3f80e130d85710fa227f2d494b2f82d
6206ad73052b5ff1b6690c225f000f9c31aa4ff7
/Code/Checking Existence of Edge Length Limited Paths.py
dbffe95d8d1cced22bb8ba46105d264463746769
[]
no_license
mws19901118/Leetcode
7f9e3694cb8f0937d82b6e1e12127ce5073f4df0
752ac00bea40be1e3794d80aa7b2be58c0a548f6
refs/heads/master
2023-09-01T10:35:52.389899
2023-09-01T03:37:22
2023-09-01T03:37:22
21,467,719
0
0
null
null
null
null
UTF-8
Python
false
false
2,517
py
class UnionFind: #Union find. def __init__(self, x: int): self.label = x self.parent = [] def find(self) -> 'UnionFind': if not self.parent: return self ...
[ "noreply@github.com" ]
mws19901118.noreply@github.com
f9aa8e3db126e5369da93cb33fa60275690f08dd
91cff2fb42de0f20d2acebf22266bfe185aba9f1
/build/pyrobot/robots/LoCoBot/locobot_navigation/base_navigation/catkin_generated/pkg.develspace.context.pc.py
0531b4bd8bb7d38a5866c291b0d3923dd1afdba1
[]
no_license
Tiga002/PyRobot_V2
b98b47a6c2015715c150e3df6617f22783472350
a72373cee6cff1baab7e248b4b5ea5811a666cec
refs/heads/master
2023-01-05T07:08:29.072177
2019-12-20T10:15:36
2019-12-20T10:15:36
229,241,878
0
0
null
2023-01-04T13:43:05
2019-12-20T10:16:53
Common Lisp
UTF-8
Python
false
false
391
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "move_base".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "base_navigation" PROJECT_SPA...
[ "tigaleung002@gmail.com" ]
tigaleung002@gmail.com
66977c45cda0eb5e23cabfc7c44c6ef0bfb39a3f
819160b5c8992aa53ad3446010eac85bdaacb814
/trident/models/tensorflow_resnet.py
c3e1f64bcb6d3c11a793e5ab5f3976aa39c1aab5
[ "MIT" ]
permissive
sohoscripts/trident
5e1d7cd9fabc34830a312743087b6b5f262bcd27
700fc9638d4fd7915f655546bfbe3092aaf695d1
refs/heads/master
2023-01-27T12:18:00.511840
2020-11-30T00:24:52
2020-11-30T00:24:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,406
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import inspect import itertools import math import os from functools import reduce from functools import wraps from itertools import repeat import tensorflow as tf from trident.backend.comm...
[ "allan@asiaminer.com.tw" ]
allan@asiaminer.com.tw
bdd295f75d50ad198736a7cf6f05a69a0ad5c018
8f994b92a9a4eafccb9767cbf93396b486817e8a
/datacardInputs/inputs_sig_ratio_z4l_mass4l.py
2b219fe0fe47f5edb78fc0040bc40829a75dee2f
[]
no_license
HengneHiggs/HZZ4lFidXsec
c9dda7f1c11aeb8f2bebcee11915be7809b6bd99
a3b3586d61d79298d953b87c31e567a98566418c
refs/heads/master
2021-01-13T01:59:15.003951
2014-12-13T00:22:00
2014-12-13T00:22:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,216
py
acc = {'SMZ4l_2e2mu_mass4l_genbin0_recobin0': 0.008919096693404195, 'qqZZst_4mu_mass4l_genbin0_recobin0': 0.02954182651629709, 'SMZ4l_4mu_mass4l_genbin0_recobin0': 0.02308311469386178, 'qqZZtchan_4l_mass4l_genbin0_recobin0': 0.000494641297076523, 'qqZZtchan_4mu_mass4l_genbin0_recobin0': 0.000815745098899432, 'SMZ4l_4l_...
[ "Hengne.Li@CERN.CH" ]
Hengne.Li@CERN.CH
6c702bd35453fddd8cd392dcb6b4206937b473df
17b70c6444ab0f2ca1bfd7315f70d9ce39d7064f
/blog/migrations/0005_replycomment.py
6c8fbc2cc4ec2c4091b343bcc229bfe40ebb3394
[]
no_license
GannTrader/django_blog
7de873cdae9d561c8afdb03a80d658ebb625f189
53157c049e31b96cbd5f9bfc1b909062b6382313
refs/heads/master
2022-12-10T12:04:47.291119
2020-09-13T07:55:04
2020-09-13T07:55:04
295,065,089
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.2 on 2020-09-13 07:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20200913_1436'), ] operations = [ migrations.CreateModel( name='ReplyComment', ...
[ "=" ]
=
a4a78d5183b570dffa756439c5f4df49bbf81d7d
d11a5d080ff0f31a56fdd8edbd0e40d6b45bb546
/cerberus/tests/test_legacy.py
59bd7b845e4de4599100c919860269030c6331c1
[ "ISC", "Python-2.0" ]
permissive
pyeve/cerberus
f9458f9e7c9a851f2c7eac248ce9293526d42ea1
8e1adba83749e2f1f84f9e2f99d56c2710a36293
refs/heads/1.3.x
2023-08-19T08:30:32.140320
2023-08-09T19:02:54
2023-08-09T19:02:54
6,155,413
2,364
202
ISC
2023-08-09T11:18:33
2012-10-10T10:03:49
Python
UTF-8
Python
false
false
30
py
# -*- coding: utf-8 -*- pass
[ "nicola@nicolaiarocci.com" ]
nicola@nicolaiarocci.com
bbde6b3bf2b4db5905785b96fe1034677c867327
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayTradeRepaybillCreateModel.py
96df27422c98e20818899a35633bf9ef183f4a11
[ "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,348
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.RepayTradeDetail import RepayTradeDetail class AlipayTradeRepaybillCreateModel(object): def __init__(self): self._bill_amount = None self._bill_product = None...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
247193480074898ebc24c9ec752b45c047cab22c
4711f3c69992f6bd19eba1d5d201189539a8bcec
/market/urls.py
03608bd572e5e37968b2c2680beda9fc589a9969
[]
no_license
ajithkjames/OpenMart
3d98ec380a8f2fbc24670fba29a5c83c331fd728
64bfe714e5a435f8a06a3509ef2213fda227924c
refs/heads/master
2021-07-05T07:50:30.443277
2017-09-28T12:19:56
2017-09-28T12:19:56
104,214,654
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.conf.urls import url, include from rest_framework import routers from rest_framework.routers import DefaultRouter from market.views import CategoryViewSet, AdvertisementViewSet router = routers.DefaultRouter() router.register(r'category', CategoryViewSet, 'categories') router.register(r'advertisement', Adv...
[ "ajith.kjames3@gmail.com" ]
ajith.kjames3@gmail.com
a2d82a587ab3df76aa9288380a7ef8423865f5da
c83d0f00a67c4b418f1b4868ab18493fda109e8e
/tests/conftest.py
745be785e0cc4e64ce048d09a8c3446ae7d83f15
[]
no_license
rshk-archive/datacat-poc-141007
b8d09f4fb88dec5bf7837244d7d7904a67e31030
eb91b0d039dc36ea264d75850cab4834831f042c
refs/heads/master
2020-06-04T19:54:36.398365
2014-10-08T15:28:16
2014-10-08T15:28:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,011
py
import os import random import time from urlparse import urlparse import shutil import pytest import py.path TESTS_ROOT_DIR = py.path.local(__file__).dirpath() TESTS_DATA_DIR = TESTS_ROOT_DIR.join('data') POSTGRES_ENV_NAME = 'POSTGRES_URL' def _celery_testing_conf(): return dict( CELERY_BROKER_URL='r...
[ "redshadow@hackzine.org" ]
redshadow@hackzine.org
2417d121fd937b274579e82c572a60f4e7013fbf
58f6127876282bc27d28bb8f7a21a1148a4ed474
/tests/test_main.py
7a16bcbbb78d86d3ee861e38a9dc9fc38dc84454
[ "MIT" ]
permissive
yoursbest/simple_calculator
cb8374e3cb0216bcc39b988f62492586b43fcfad
da3b88a743789ed4668981f8533094a11a7dd808
refs/heads/master
2022-12-14T03:39:37.471959
2020-03-15T12:43:51
2020-09-09T09:43:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,965
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest from simple_calculator.main import SimpleCalculator def test_add_two_numbers(): calculator = SimpleCalculator() result = calculator.add(4, 5) assert result == 9 def test_add_three_numbers(): calculator = SimpleCalculator() result =...
[ "giordani.leonardo@gmail.com" ]
giordani.leonardo@gmail.com
db10f1354db46d48e201db222bb29f36ff4b5d31
967c707b0e675968052006346b67147d59078e6b
/191.number-of-1-bits.py
29eb5d2ada559090b418b43794b80a53f749fd54
[]
no_license
hahaliu/LeetCode-Python3
40330f8ee2c9613d75bd70eb77b41767893c2fd1
1caeab8dc1c2a7c1c2beee3f09ef4b953d276033
refs/heads/master
2020-04-23T19:09:49.958096
2018-10-16T07:49:49
2018-10-16T07:49:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# ex2tron's blog: # http://ex2tron.wang # class Solution(object): # def hammingWeight(self, n): # """ # :type n: int # :rtype: int # """ # return (bin(n)[2:]).count('1') # 别人的代码: class Solution: def hammingWeight(self, n): result = 0 while n: ...
[ "ex2tron@foxmail.com" ]
ex2tron@foxmail.com
d4f8c80b80c63ec2b8463a94cbfe57c292b2ddfa
3cd75f3d62911ba3d2114f95203e81d91be32877
/4day/Book07.py
1ef18971c44708423b3b1e89ca7e86ad3f998849
[]
no_license
kukukuni/Python_ex
3667e2fe1db3a161d9e6acd5d8145a3e692f8e89
e56d10bbcf3dc33b4422462a5b3c2dedb082b8c3
refs/heads/master
2022-11-05T13:58:55.770984
2019-04-14T00:57:18
2019-04-14T00:57:18
181,244,073
0
1
null
2022-10-23T06:38:06
2019-04-14T00:50:00
Jupyter Notebook
UTF-8
Python
false
false
879
py
# Book07.py class Book : def __init__(self,t,a,p): self.__title__ = t # public 변수앞에__두개면 권한을 주겠다는 의미 뒤에 두개는 public self.__author_ = a # private --> 메소드 우회접근 밖에서 외부접근 차단 self.__price = p # private --> 메소드 우회접근 self.category = '' # 방치 (public) def pBook(self): print(se...
[ "mxneyelo@gmail.com" ]
mxneyelo@gmail.com
9dd418e1cae52b2087ffbdb0d2e3209d14152d7c
c2e15137cd3ddfe574d06ed313f4c4039835a48b
/ACIS_sci_run/plot_sci_run_trends.py
ccedbba09d9fd445230ca782b1f973ae936a3b9b
[]
no_license
chandra-mta/MTA
df57845577ac50f21c4b1775a441804d78060e97
60015d4fbbcc7e00595152fb21a8c55e2366a982
refs/heads/master
2023-08-18T13:05:33.397195
2023-08-11T14:28:40
2023-08-11T14:28:40
4,586,218
0
0
null
null
null
null
UTF-8
Python
false
false
10,950
py
#!/usr/bin/env /data/mta/Script/Python3.8/envs/ska3-shiny/bin/python ################################################################################# # # # plot_sci_run_trends.py: pdate science run trend plots # # ...
[ "bspitzbart@cfa.harvard.edu" ]
bspitzbart@cfa.harvard.edu
9abfe1720861b0f602574f7e87a97ac4aca860f8
206e2b8a6df8a2a9375fe188d74ffaa287484029
/poc/simple/publish.py
bc24442105aee93ed71a8f8ffe6afdbe5ea865ab
[]
no_license
chaeplin/watchman
2af63eaf78f333b0e69e51063cc0cda8131e0e89
68e0893883a57bf8d703d7191e66f45407eccb75
refs/heads/master
2021-01-22T08:02:50.814892
2017-09-07T13:23:50
2017-09-07T13:23:50
81,871,983
1
0
null
null
null
null
UTF-8
Python
false
false
2,914
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import io, os, sys import time import socket import simplejson as json import psutil import paho.mqtt.client as mqtt def get_load_average(): try: raw_average = os.getloadavg() load_average = { '1min': raw_average[0], '5min': raw_average[1], '15min': r...
[ "chaeplin@gmail.com" ]
chaeplin@gmail.com
89f282413cdf61bce21e4c73aa34472fade90f44
04c29ca0255220f76d22a66f6075fa0a6813d3ad
/tests/__init__.py
a75c1322763f8ce3daabc30788f71cb0e4973919
[ "MIT" ]
permissive
williamcanin/recover-grub
584d7e6dc36e81cf164ca8e75e2452ffc2eeacbf
b22724cdd1b62c815431e6502bd1abc144bfcc69
refs/heads/master
2021-01-19T02:25:35.481650
2020-02-21T21:44:35
2020-02-21T21:44:35
47,598,478
2
0
null
null
null
null
UTF-8
Python
false
false
45
py
#!/usr/bin/env python __tempdir__ = '/tmp'
[ "william.costa.canin@gmail.com" ]
william.costa.canin@gmail.com
5bb9f92064b542e3bf928e60a8cbbd04e449d861
66d7292253d2815ce80fa2abd09b898117426b81
/tests/conftest.py
47b87ddc5599cc0828724b9be3f28ddb4959da63
[ "MIT" ]
permissive
ubergesundheit/brightsky
5801b13aa61e1f8cf2b3b1708858f932f353b3d2
e8aec199dd2ade8ed520de8d0602db604cf0647e
refs/heads/master
2021-05-19T10:13:03.706968
2020-03-31T15:01:53
2020-03-31T15:01:53
251,646,442
0
0
MIT
2020-03-31T15:28:55
2020-03-31T15:28:55
null
UTF-8
Python
false
false
136
py
import os from pathlib import Path import pytest @pytest.fixture def data_dir(): return Path(os.path.dirname(__file__)) / 'data'
[ "jakobdm1@gmail.com" ]
jakobdm1@gmail.com
659ca6564bbc1040e080989d9f0b099b3a9fa9e2
30278f51d61cda6cb2e7dc0d5e8ba71f63092285
/HELLOPYTHON/day02/myclass_01.py
7b57b4fdcd3cd92ee5e11193f409aae3733bb347
[]
no_license
shywj05/HelloPython
a99097ffc177e40ea7469bff5009bf06fe566a35
82ec0cf9fd00545ddb3a9c81d4474132d3c24767
refs/heads/master
2023-06-27T19:40:22.259916
2021-08-03T00:55:29
2021-08-03T00:55:29
392,139,533
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
class Animal: def __init__(self): self.age = 1 def getOld(self): self.age+=1 class Human(Animal): def __init__(self): super().__init__() self.power_lang = 1 def learn_lang(self): self.power_lang += 1 def pt(self,power): self.pow...
[ "shywj05@gmail.com" ]
shywj05@gmail.com
71fd0e69a186260a53278340be66f03f80866095
7bdb0e12359162c5dd2bddc58d2ca1d234fb29d2
/trunk/playground/intern/2009/Pakito/.svn/text-base/pakito.py.svn-base
2973af6b4b23495fa94e8e661c2ea85598d13029
[]
no_license
hitaf/Pardus-2011-Svn-
f40776b0bba87d473aac45001c4b946211cbc7bc
16df30ab9c6ce6c4896826814e34cfeadad1be09
refs/heads/master
2021-01-10T19:48:33.836038
2012-08-13T22:57:37
2012-08-13T22:57:37
5,401,998
0
3
null
null
null
null
UTF-8
Python
false
false
974
#!/usr/bin/python # -*- coding: utf-8 -*- import sys from kdecore import KApplication, KAboutData, KCmdLineArgs, KGlobal, KIcon from qt import QObject, SIGNAL, SLOT from pakito.gui.mainwindow import MainWindow def I18N_NOOP(x): return x name = "Pakito" version = "0.3" mail = "gokcen.eraslan@gmail.com" descript...
[ "fatih@dhcppc1.(none)" ]
fatih@dhcppc1.(none)
68e70fbbe907d4bf87455154db59c78968f64354
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2021_07_01/_configuration.py
16e7beaf5b875bc8a0fafc102999e9b2661a6327
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
3,501
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" ]
test-repo-billy.noreply@github.com