blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
ff580552aad775843c2df38fbad72481e81d8f4b
55c5c9e34a672bb148f2b50e610ca2e92ff415c1
/test_main.py
ec304cf2473a62d74df6cf2280552bc038c836ee
[]
no_license
HisashiMiura/duct_type_central_hc_system
8b7d164f8e8c9551a9649a1add5f207dd83f01c5
905588f4917847e2209dbd0ffb4cdbaca976f623
refs/heads/master
2022-02-13T17:13:24.161174
2019-09-02T05:34:22
2019-09-02T05:34:22
178,965,355
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
import unittest import numpy as np import pandas as pd import analyze_control as ac class TestMain(unittest.TestCase): def test_total_result(self): CASE = 6 result = ac.get_main_value(CASE) t = result.get_time_value_dict() df_t = pd.DataFrame(t) self.assertAlmostEqua...
[ "hisashi.office@gmail.com" ]
hisashi.office@gmail.com
161236073ff6140bf341098a3f9c576ae68325b0
1d6af07e4e9a779019bf509a8ff90358cb7b1337
/regex.py
c4dd296f6486a5e0b2f4e76f72be26af12a7850b
[]
no_license
nghiahsgs/practice-typing-10-fingers-mini-program-python
eace206f549f9c16e2b1d520f4e5ef083e9477b4
dffe4a7a53830deb157040d18b0fbbed2c4c6bac
refs/heads/master
2020-09-27T05:52:10.405147
2019-12-29T04:13:57
2019-12-29T04:13:57
226,445,194
1
0
null
null
null
null
UTF-8
Python
false
false
24,299
py
import re regex1=re.compile(r'"(.*)"') regex1=re.compile(r'\d. (.*)') regex1=re.compile(r'([A-Z](.*?))\.') regex1=re.compile(r'“(.*?)”') ndung=''' 1. Your limitation—it’s only your imagination. 2. Push yourself, because no one else is going to do it for you. 3. Sometimes later becomes never. Do it now. 4. Great thin...
[ "Hoangphohieu1@gmai.com" ]
Hoangphohieu1@gmai.com
bf7843e2014ca20cec8ef555db4f17883fb03c40
a4add3ee9288ea8664d1770ac91eafcda206b0aa
/format2.py
115a32d135f7f807601f2e366931ab67a08e6ec9
[]
no_license
re-born/stc
a54b417c0fc52aa8d56c6b35ec48d2d28519e0ae
a4acdcc887494460911db58b0a4ac6a965aeb216
refs/heads/master
2020-04-10T14:52:42.386927
2016-04-29T05:38:42
2016-04-29T05:38:42
51,678,665
0
0
null
2016-04-30T15:49:30
2016-02-14T03:53:17
TeX
UTF-8
Python
false
false
307
py
# -*- coding: utf-8 -*- import sys if __name__ == "__main__": filename = sys.argv[1] for line in open(filename, 'r'): line = line.replace('(', '').replace(')', '').replace( 'u', '').replace('\'', '').replace('\n', '') array = line.split() print ' '.join(array)
[ "snoopies.drum@gmail.com" ]
snoopies.drum@gmail.com
507c4a7a07a6e91ebb47e5b09d5d925116439c7b
a91750b9bcc6aaeff8aae48f0607bf6a5d41d386
/Project/catkin_ws/src/jaco_trajectory/script/jaco_control.py
ff9f24bb9d1a0477e91c721420899e7dd974830c
[ "BSD-3-Clause" ]
permissive
lydiarong/2019_Numerical_Analysis
6c053fd1306b01c3b5f8bf563b8d4a2643aca60d
b21f03a44e87ba14ce4d86ba77549e193b1801d2
refs/heads/master
2020-12-12T11:59:25.684819
2020-01-15T18:16:14
2020-01-15T18:16:14
234,120,192
1
1
null
null
null
null
UTF-8
Python
false
false
10,451
py
#! /usr/bin/env python """Takes trajectory data from xyz and uses inverse kinematics algorithms to calculate the best state. """ #rosrun jaco_trajectory jaco_control.py from trajectory_msgs.msg import JointTrajectory from trajectory_msgs.msg import JointTrajectoryPoint import rospy import numpy from scipy.linalg import...
[ "rongchy@shanghaitech.edu.cn" ]
rongchy@shanghaitech.edu.cn
f5a1dfa890eb4a9d7d3f23ddfeb0103a10fec395
8e14b3fecf89f38826c9d75e11e4fbc5319f9100
/tensorflow_io/core/python/experimental/kafka_batch_io_dataset_ops.py
bd18d120e952e05dbed98d1fb949b9a6093c19cd
[ "Apache-2.0" ]
permissive
djl11/io
0096f1aaaa3bc1c78baf4bc0e7b456f2c6f8ba1b
44e0c9e116c681d0479ea2f5efde290d2c956ba1
refs/heads/master
2022-12-23T01:44:04.554987
2020-09-18T00:29:10
2020-09-18T00:29:10
296,404,678
0
0
Apache-2.0
2020-09-17T18:05:01
2020-09-17T18:05:00
null
UTF-8
Python
false
false
6,101
py
# Copyright 2018 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...
[ "noreply@github.com" ]
noreply@github.com
546b3cb45e4b9ea0687a59966b66945ae31d4219
33e95435e493563934271774f37a4ed31c4c3eff
/Atm.py
503ee45b39a428b68052bb73163ffc01466e09ea
[]
no_license
Suryansh-code709/project100
462a5c13ca6f37d5eda32ab8130bb97531f5aa51
e62b95f6fff3337e3a8aa8f9c8b73f62e47f9f2c
refs/heads/master
2023-07-26T11:43:46.089173
2021-08-31T09:45:33
2021-08-31T09:45:33
401,650,227
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
class Atm(object): def __init__(self,cardNumber,pin): self.cardNumber=cardNumber self.pin=pin def check_balance(self): print("your balance is 10000") def withdrawl (self,amount): new_amount=50000-amount print("your withdrawl amount is "+str...
[ "noreply@github.com" ]
noreply@github.com
a5f111402661dc059cae8cb061839575063d1371
e84feabf99ff6e15df9eeee7b7c2595853fe746d
/app/utils/rabbit.py
34a303f35e2f07bacfe9fb45fc79e5897dccb18e
[]
no_license
Ravillatypov/freeswitch-intergration
f0536b3abf3982cb2051291dbe101d07e59809b8
cac8cc829ca0d5734a5294847bf7587758b45eb1
refs/heads/main
2023-01-23T02:06:53.070823
2020-10-01T17:19:33
2020-10-01T17:19:33
300,362,493
2
0
null
null
null
null
UTF-8
Python
false
false
943
py
from uuid import uuid4 from aio_pika import Message from app.settings import MQ_CONVERTER_QUEUE_NAME, MQ_UPLOADS_QUEUE_NAME, ENVIRONMENT from aio_pika import RobustConnection async def send_message(rabbit_mq: RobustConnection, routing_key: str, body: bytes): if ENVIRONMENT == 'test': return async w...
[ "ravillatypov12@gmail.com" ]
ravillatypov12@gmail.com
d8df7f059625c0c3d099afd29a92a21e68884249
91bc417ffbe13060345dc57d0b88c0499a04d9f7
/Lab6/SeqSum.py
9f0938bb13a9f8c6ea9c85ad166eb7eaadf4c141
[]
no_license
AlexPasechnuy/Python_labs_2.1
ae11e506759d3675a47724493844c185f35963ee
5c7278ff8b2bc40065dd313cde481bf45afa6192
refs/heads/master
2022-03-03T00:25:49.169587
2019-11-03T17:43:17
2019-11-03T17:43:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
i = int(input()) sum = i while i != 0: i = int(input()) sum += i print(sum)
[ "alexpasechnuy@gmail.com" ]
alexpasechnuy@gmail.com
fe0fdeeb1a24aa276c9885f0de97685b0f54d455
44c2f66912f66d80a0b0ccbe2e286d5ab1ad422b
/uvalibroomcount_api/roomcounter/serializers/room_occupancy_serializer.py
7b07c3e6be4106274cbbc4506606e3ff4604a9de
[]
no_license
scholarslab/uvalibroomcount_api
12d2dee7eb123fb174db732313e9238031ad3288
d3d043e11d9e679204c8d3c401d77082019f285c
refs/heads/master
2021-08-23T11:39:48.813295
2017-12-04T18:58:52
2017-12-04T18:58:52
110,748,333
0
0
null
2017-12-04T18:58:53
2017-11-14T21:43:49
Python
UTF-8
Python
false
false
444
py
from rest_framework import serializers from roomcounter.models import * class RoomOccupancySerializer(serializers.HyperlinkedModelSerializer): ''' The RoomOccupancySerializer class translates the Room Occupancy models into other formats, in this case JSON by default. Method List: -Meta -create -upd...
[ "zgleblanc@gmail.com" ]
zgleblanc@gmail.com
23d30041203d14cec8969c7808191158452c4e92
ab48b0ef758953c5a869af38758327337c2bb9ae
/com/lf/pd/index_test.py
4f0d6d4c614e1767e6fb5b7cf9a3cf2386349f40
[]
no_license
liufei0820/lf-first-python-project
920bfaf5ad1a58682da044b42e255cac15c81387
691522d5cfa6d9b5a9f9779a5626e644dd3338e6
refs/heads/master
2023-06-04T08:46:27.942459
2021-06-26T12:14:25
2021-06-26T12:14:25
296,800,690
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020-09-14 13:37 # @Author : fei.liu import pandas as pd from sklearn.utils import shuffle df = pd.read_csv(r'/Users/apple/Documents/git-source/python-source/my-python-project/resources/ratings.csv') # print(df.count()) # 使用index查询数据 df.set_index('userId', in...
[ "fly.liu@dbappsecurity.com.cn" ]
fly.liu@dbappsecurity.com.cn
1b2d839fd3c17fb5df1b27fb86d98b5a88521421
1d19f60f2f7e2918a360224754bce91547b05155
/functions_nosetests.py
c17ecd126b2c5fa4967f05fb77727cdf07a4776e
[]
no_license
tdupu/excel_tools
f4846cbf87b080a24d66a2b42e77165c1e54d4d6
acb8c1159a9a66a6aeaab7fb1d53729fdecac271
refs/heads/master
2022-12-02T01:46:29.764762
2020-08-19T06:31:56
2020-08-19T06:31:56
285,748,907
0
0
null
null
null
null
UTF-8
Python
false
false
4,998
py
import sys #sys.path.append('/Library/Python/3.7/site-packages/zulip_bots/bots/roboshep/table_functions') #sys.path.append('/Library/Python/3.7/site-packages/zulip_bots/bots/roboshep/table_editor') #sys.path.append('/Library/Python/3.7/site-packages/zulip_bots/bots/roboshep') from mod_functions import * from table_edi...
[ "taylor.dupuy@gmail.com" ]
taylor.dupuy@gmail.com
b23f824b7609fe9d3ffd6dfc970b4fa7214f72ef
cd5e10b919538ff191acf5379e12c4ef7030b259
/2019/08-main.py
4bd0a0b7207fe05c11bb8cea1c4d718550590d89
[]
no_license
jtrinklein/advent-of-code
0eec97811f082f5b1ff999f598e8761555682d77
a7dec73b1ca0c687cc6093badafa8c04ea0cd85a
refs/heads/main
2022-12-12T19:38:30.967243
2022-12-12T01:24:11
2022-12-12T01:24:11
160,144,326
1
1
null
null
null
null
UTF-8
Python
false
false
1,144
py
#!/usr/bin/env python3 data = None with open('./08-data.txt') as f: data = [int(x) for x in list(f.read())] w = 25 h = 6 layer_size = w*h def part1(data): layer = data[:layer_size] data = data[layer_size:] zero_count = layer.count(0) while len(data) > 0: l = data[:layer_size] da...
[ "jtrinklein@daptiv.com" ]
jtrinklein@daptiv.com
0ba8e6cf08ec403a39f4114cd07dae91ac4183bf
f572e0a4b843ed3fd2cd8edec2ad3aab7a0019d3
/ows/wms/v13/test_encoders.py
d57cc1d1d58cfd386dcf9b086e8f9df557098abf
[ "MIT" ]
permissive
EOxServer/pyows
9039c8ed7358c98d736e2b8fd9f47be944f0b0a1
e09310f992d6e69088940e9b5dbd7302f697344b
refs/heads/master
2022-10-09T23:27:43.884159
2022-10-04T10:03:25
2022-10-04T10:03:25
218,005,699
1
1
null
2022-01-04T13:36:06
2019-10-28T09:01:51
Python
UTF-8
Python
false
false
7,902
py
# ------------------------------------------------------------------------------- # # Project: pyows <http://eoxserver.org> # Authors: Fabian Schindler <fabian.schindler@eox.at> # # ------------------------------------------------------------------------------- # Copyright (C) 2019 EOX IT Services GmbH # # Permission i...
[ "fabian.schindler.strauss@gmail.com" ]
fabian.schindler.strauss@gmail.com
94d56d92b1ccb581f9240a4dd6a3b26838f67a18
0b588ba7b87d07c9d1191e2677689fffc1cbbbec
/code/chap06/average_by_key_use_aggregatebykey.py
ea83401b40dd3a3f0fb77d807eeca0c359da7119
[ "Apache-2.0" ]
permissive
AnanthaVamshi/PySpark_Tutorials
9fe7698417d729d89acd231291cd9c781e1a31b1
fd94f9af0517f0bffca26d4c7b751333d42b8f3d
refs/heads/master
2020-09-09T08:51:35.459769
2019-11-13T08:53:15
2019-11-13T08:53:15
221,404,965
0
0
null
null
null
null
UTF-8
Python
false
false
2,736
py
#!/usr/bin/python #----------------------------------------------------- # This program find average per key using # the aggregateByKey() transformation. #------------------------------------------------------ # Input Parameters: # none #------------------------------------------------------- # @author Mahmoud Pars...
[ "44905464+AnanthaVamshi@users.noreply.github.com" ]
44905464+AnanthaVamshi@users.noreply.github.com
88f492c63ddff713d0a4aac43cf1c41801c01612
fcd6bff51f26f70d44135e50f1e47982ae971ee3
/medical.py
739291790669f25dfacbcef09749d4905a4cdb2c
[]
no_license
bax24/Coding-Theory
485c64dc104d8bae70a093dbe655c84c13fa4680
20ccaf8c688eb6d6852173ddb3c672bbf97c190b
refs/heads/main
2023-03-18T03:02:52.827152
2021-03-09T11:14:35
2021-03-09T11:14:35
344,070,418
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
import pandas as pd import implementation as f import numpy as np df = pd.read_csv (r'P1_medicalDB.csv') def get_prob_distribution(variable): prob = [] N = df.shape[0] card = len(df[variable].value_counts()) for i in range(card): p = df[variable].value_counts()[i]/N prob.append(p) return prob def ge...
[ "lucas.backes07@gmail.com" ]
lucas.backes07@gmail.com
50c3edc350ae21616f9a71a761c9bb660ec1bd46
d87af6cc4e1d2575b9c943ec178552154564748c
/server/server/urls.py
946c03d17336dfcd760f686e350f457dfc041031
[]
no_license
liyangguang1993/Django_Backend
0defc7079f40efd442025348e884e40b14048bc7
1516493781af79dc36e82ab62f99474418098d6b
refs/heads/master
2021-01-10T08:11:22.742750
2015-11-27T03:53:13
2015-11-27T03:53:13
46,957,267
0
0
null
null
null
null
UTF-8
Python
false
false
4,448
py
"""server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/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...
[ "308159288@qq.com" ]
308159288@qq.com
1a2c6b71e90eaaf3b8b7f16f74458d75c5a212f1
e4016fda4e1857e29c1d25e30f57f01a9e8181d8
/day10b.py
28f6d8d9c9c8f24fad8d9fd0b2b79343dfa7c009
[ "MIT" ]
permissive
boneillhawk/advent2017
9eee7fdaa830e368d2fdb083c6b3e71649cb25d8
ccf89ea0d15da86286de4e4475e0bd71aca9e404
refs/heads/master
2021-08-31T15:22:50.645886
2017-12-21T22:02:45
2017-12-21T22:02:45
112,771,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
import itertools import functools import copy import collections import heapq import math import hashlib def day10b(): f = open('input\\input10.txt', 'r') data = f.readline() f.close() lens = [ord(x) for x in data] lens += [17,31,73,47,23] mylist = list(range(256)) ...
[ "noreply@github.com" ]
noreply@github.com
64c3347230261e1f9e6d7d5b790373ca03fc9182
007eeac2ea8a860abcde2e3479fac2095d4a9db3
/sample/utils.py
e17674db41ba1008c218a2cbbc6c4713767dd4c6
[]
no_license
autocyz/CornerNet_easy_use
21b78a5f22447415804e9291345abc86666e23d4
fabc1bd6d96bfae0863931176df7f307529b5203
refs/heads/master
2020-05-16T23:27:10.294082
2019-04-25T06:01:39
2019-04-25T06:01:39
183,366,023
15
3
null
null
null
null
UTF-8
Python
false
false
4,150
py
import numpy as np import xml.etree.ElementTree as ET class ParseLabel(object): def __init__(self, xml_file): parser = ET.XMLParser(encoding="utf-8") self.xml_file = xml_file self.tree = ET.parse(xml_file, parser=parser) self.root = self.tree.getroot() def get_file_name(self):...
[ "chenyongzhi@chenyongzhideMacBook-Air.local" ]
chenyongzhi@chenyongzhideMacBook-Air.local
2175f0c6c75b4f6669609f7a09d8ddb6bacc229e
93bf4bbafe0524335ea1216f7f2941348c2cd1bd
/tensorflow/python/kernel_tests/pad_op_test.py
1597a8c947eb82da5cb47f2e9aac7d6a2967bbbf
[ "Apache-2.0" ]
permissive
sachinpro/sachinpro.github.io
c4951734b09588cad58711a76fe657f110163c11
c3bbd8d89818f5d8bb7296c851ed5e52c19728e3
refs/heads/master
2022-12-23T10:00:13.902459
2016-06-27T13:18:27
2016-06-27T13:25:58
25,289,839
1
1
Apache-2.0
2022-12-15T00:45:03
2014-10-16T06:44:30
C++
UTF-8
Python
false
false
6,742
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "x0234443@ti.com" ]
x0234443@ti.com
4fffc7a80242a3f0658869191f8a522ab2c838b3
730cad7bf4a17ec2cb8844fc68a11d7895109c9d
/gui/ui/ui_generated/portWindow.py
c21f850ec779370cd8e0696ffa8ead3eff28c901
[]
no_license
Ilya-Belyanov/PyArduino
4f4cb579a36dfd11fb667cb867b7c9ad31352c86
fdcb33a46428a142938b43689ea824b3a8331422
refs/heads/master
2023-01-25T00:02:19.832156
2020-11-30T19:12:20
2020-11-30T19:12:20
312,907,006
0
0
null
null
null
null
UTF-8
Python
false
false
4,583
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:\Code\Python\Arduino-PyInterface-MRS\gui\ui\portWindow.ui' # # Created by: PyQt5 UI code generator 5.15.1 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know wha...
[ "belyanov.99@mail.ru" ]
belyanov.99@mail.ru
f7460f6641108e37de035ca72ab022c1e7990a3d
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-3507.py
f4222a0786dc84c1b850189e6ca510c0b4caf33c
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,286
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
4e8cdcafab5947bb4326836de6d15622eeff865a
28acf238f0379b032eeffa30ce5f086b73ea91bc
/colab/apps/flag/admin.py
c95db4c67661b9441b58fd065f030e07e022a3c2
[ "MIT" ]
permissive
caseywstark/colab
e6a613dbb78982689d8bd410ecc3c35f891b0195
e05293e45a657eda19d733bf05624a1613a7a9b7
refs/heads/master
2016-09-05T15:35:30.494890
2010-08-14T08:57:26
2010-08-14T08:57:26
728,947
9
1
null
null
null
null
UTF-8
Python
false
false
323
py
from django.contrib import admin from flag.models import FlaggedContent, FlagInstance class InlineFlagInstance(admin.TabularInline): model = FlagInstance extra = 0 class FlaggedContentAdmin(admin.ModelAdmin): inlines = [InlineFlagInstance] admin.site.register(FlaggedContent, FlaggedContentAdmin...
[ "casey@thestarkeffect.com" ]
casey@thestarkeffect.com
014e6f9ddeefb77f6716cb7eff213f705f3e70bd
f813eeed366b198ba4da5cf937c978125409a760
/assignment/src/process/mp.py
fffe9c9ba435c7cb77c8a2d55b4810e1d9b3fa18
[ "MIT" ]
permissive
Newtype07/RL_for_Stochastic_Control_Problems_in_Finance
4182406d64ccd56fde2899c3ee324fdf88592c39
e8f809ab864b5d360152f2284b01d730aede0f7a
refs/heads/master
2023-03-18T09:48:13.967221
2020-03-23T13:38:05
2020-03-23T13:38:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,710
py
# TODO: Check correctness of stationary distribution from typing import Generic, Mapping, Sequence import numpy as np from scipy import linalg # use math.fsum() instead of sum to get rid of rounding error import math from src.type_vars import S, SSf from src.utils import get_all_states # Note: if using relative path...
[ "xyzhang1@stanford.edu" ]
xyzhang1@stanford.edu
92a497f32036a0e5b6867d7696be18474a81cb68
880ec08b53270b88bf14f51ffab73a56281f96ec
/natas8.py
af394013285dddb79b5c95dcb45216b92e3105a0
[]
no_license
abbisQQ/OverTheWire-Natas-With-Python
6f68efe4bac42d90f73b28aca28477019b3abccd
f382464c292e96401d8cbc408337975c0942a929
refs/heads/master
2020-05-15T18:26:33.366408
2019-05-01T08:22:11
2019-05-01T08:22:11
182,426,587
1
0
null
null
null
null
UTF-8
Python
false
false
699
py
import requests import re import binascii import base64 username = "natas8" password = "DBfUBfqQG69KvJvJ1iAbMoIpwSNQ9bWe" #custom_headers = {"Referer":"http://natas5.natas.labs.overthewire.org/"} url = "http://%s.natas.labs.overthewire.org/" % username #custom_cookies = {"loggedin":"1"} session = requests.Session()...
[ "noreply@github.com" ]
noreply@github.com
dc4e68ac5b189ea2e0119cedefbd33e0a5c254e5
0cce9a9d9b9da4a820e9ed5fc674d06f0be9810a
/ch10_first_exercises.py
61b5a7953658f4cd352dcef9cd381f374e582ead
[]
no_license
wbroach/python_work
3f4a85e998805f50b2400e64c5b7cbc31780b245
7e1842b317539d61bab0f04d72e71db893c865ff
refs/heads/master
2020-04-14T22:06:43.164595
2019-10-02T01:25:00
2019-10-02T01:25:00
164,151,112
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
#~ file_name = 'python_can.txt' #~ with open(file_name) as file_object: #~ lines = file_object.readlines() #~ learning_summary = '' #~ for line in lines: #~ learning_summary += line.strip() + " \n" #~ print(learning_summary) file_name = 'python_can.txt' with open(file_name) as ...
[ "someone@someplace.com" ]
someone@someplace.com
9af2dbebb6239c53dc4023190a35f2b38e6f910c
e34a0695b777d9ea738917fe1c20d541930a0e0c
/Plots/viscotity.py
74d2bce9012ca2019f5de81f5df154729df129ca
[]
no_license
MikeVolk/RockPyV3
cc67dbd21d52fc966362fdd458574eb06f10e522
310693dbb2de30b3041850f5c9e98c528a5ce295
refs/heads/master
2021-05-27T21:34:50.136925
2014-09-12T16:00:26
2014-09-12T16:00:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,168
py
__author__ = 'mike' def plot_visc(visc_obj, ax, norm_factor=1, out='show', folder=None, name='output.pdf', plt_opt=None): ''' Main plotting of a hysteresis. :param visc_obj: hysteresis object :param ax: pyplot.ax object :param norm_factor: normalization of the y-data :param out: choice of: ...
[ "grossstadtlegende@gmail.com" ]
grossstadtlegende@gmail.com
3e6d647b241ef033118d7f42d35487ab7325d571
413099eb18e622c6dcba4b2f07df83d6dca5d509
/myproject/api/lebov2/getPendingOrdersByCarPlateNo.py
580aa0bd3f9532a221515779c3dfcc1649c7a109
[]
no_license
chennuan/test
0b97d761abe6723374775695c4352ed26b8031c3
598b732a738ba5ff49ee0ceba93c2b719e8d8d6c
refs/heads/master
2022-12-20T19:19:08.676525
2020-10-15T04:21:47
2020-10-15T04:21:47
299,646,465
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
#-*- coding: UTF-8 -*- class GetPendingOrdersByCarPlateNo: def __init__(self): self.ServiceName = "GetPendingOrdersByCarPlateNo" self.method = "get" self.header = { "Content-Type": "application/json" } self.body = { "userId": "157811", "isF...
[ "chennuan478440602@163.com" ]
chennuan478440602@163.com
d7b54e76bb7ec19036f88a2102a018574ade3d64
f638dad156f2dff153d1aaf5b5a60a9fde85ec19
/run_get_data.py
174c2e9679c4473f309b88423fe19ba489a98438
[]
no_license
eyelash500/2021_ironman_fintech
862ea29d560ba9eac48ffc4fabb0a0e912d4d339
fa895f8c727449ac5df866d5ee8444b4ce8a2e45
refs/heads/master
2023-08-23T03:40:58.623071
2021-09-30T15:48:32
2021-09-30T15:48:32
402,106,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
from datetime import datetime from legal_person import legal_daily_future_option from market_info import daily_market_info from stock_transaction import stock_transaction from fin_signal import fin_signal class daily_transaction: """Save the daily transaction info to database.""" def save_to_db(self): ...
[ "eyelash.94500@gmail.com" ]
eyelash.94500@gmail.com
d2dded48a1d604bda8edaeb28fbb63865106133a
e406487b60cf9a220c4164a2e6f6e612ec98843f
/mall/apps/goods/migrations/0002_auto_20190117_1555.py
7fdd947712c4473763b67eca18cb03688ec0a703
[]
no_license
L-huihui/duoduo
3d7caad17664b045882043afacb3dcbc13008fb2
16bb64e1216a82a35867516e4351dffe68247415
refs/heads/master
2020-04-18T05:49:21.281388
2019-01-25T01:44:29
2019-01-25T01:44:29
167,293,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-01-17 07:55 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('goods', '0001_initial'), ] operations = [ migrations.RenameField( mode...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
41a4b893fccb6fadb151d7d01fe97d8919a884e6
4a7b9351d61c3d815306631eada63d020275e7ec
/tests/test_exercise_5_4.py
51850a385dad9f36801902667e84094d26f59598
[]
no_license
Imperial-MATH50009/exercises-week-5
d95beecd3f7ce2bdeafb8228723c731064217eae
70f0d741aba2abe14f1c021dd3e4951a97089d45
refs/heads/main
2023-02-24T12:45:09.375455
2021-02-04T20:49:30
2021-02-04T20:49:30
336,022,669
0
1
null
null
null
null
UTF-8
Python
false
false
1,020
py
import pytest import numpy as np try: from adt_examples.fibonacci import Fib except ImportError: pass def test_fib_import(): from adt_examples.fibonacci import Fib def test_fib_iterator(): x = Fib() assert hasattr(x, '__iter__'), \ "Fib has no __iter__ special method." def test_fib_nex...
[ "noreply@github.com" ]
noreply@github.com
0e36b36487f76e86833e7dc2865f7971e3c05288
38f1a7106c78188b744026c198ed791c5faea914
/testssts.py
8270cf51654ec01215fc8a7080ac14e4b2008111
[]
no_license
kemccusker/pyscripts
19b50bb84a8d91ad1500ad883585f2d65bd27c84
1e6373f04355a2946a21fd3d3e613434f066c803
refs/heads/master
2021-01-25T15:15:07.083435
2017-11-28T05:52:00
2017-11-28T05:52:00
19,090,355
0
0
null
null
null
null
UTF-8
Python
false
false
4,173
py
import numpy as np import numpy.ma as ma import scipy as sp # scientific python import scipy.stats import matplotlib.pyplot as plt import platform as platform import cccmaplots as cplt import constants as con import cccmautils as cutl import cccmaNC as cnc cplt = reload(cplt) con = reload(con) cutl = reload(cutl) cnc ...
[ "kellymccusker@gmail.com" ]
kellymccusker@gmail.com
f2500f31743a20b0649290db590dad8676fbb1b2
e877cb0a94e025ff0f544ac69bb7479b303d6bd9
/arithmetic_arranger.py
f9e43423f0076d2991b9f27ff519bdf478c82d24
[]
no_license
Anunaya07/boilerplate-arithmetic-formatter
60d41d1656e020654851e9917e7f60c54734cf6c
bff228c5e3f4583ba36fcc233de0e7101867cc2c
refs/heads/master
2023-07-11T12:18:49.758433
2021-08-19T05:24:40
2021-08-19T05:24:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
def arithmetic_arranger(problems,ans=False): if len(problems)>5: return "Error: Too many problems." first=[] last=[] operators=[] max_num=[] for i in problems: if not('+' in i or '-' in i): return "Error: Operator must be '+' or '-'." temp_list=i.split(' ') i...
[ "coderxxyay@gmail.com" ]
coderxxyay@gmail.com
e804b42788019287fe661914728cefe9012a97e4
b78309f479960ef9c14c06dc14fb2bd1c5fbd8c5
/test_module/file_read_write/file.py
6dea48114001caa1dc5972a327b3aacaa1ec7a16
[]
no_license
p2a8t4a5a/learningnotes
ba8bbfcf5b44b7493664fd739ef09b8bb6fdf474
88a78cf4f423bd2da877b6144fd2c02b6de01b69
refs/heads/master
2022-03-04T19:32:10.134577
2019-09-29T07:31:01
2019-09-29T07:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
#! /usr/bin/python # -*- coding:utf-8 -*- import fcntl import stat import os import sys import time def file_test(): file_path='data.in' try: fd=os.open(file_path,os.O_RDWR|os.O_CREAT, stat.S_IRUSR | stat.S_IWUSR) except OSError as e: print 15,e sys.exit(1) ...
[ "yde@dsjcj.com" ]
yde@dsjcj.com
4a0bab4d89d06934ab421a7ac688115a241fda15
a69e2baf00a5c7dd0633d7c279324d2815701f63
/core/views.py
135cb1c6b530d0814788432ae0f78ca4a4619ba2
[]
no_license
lac617a/ink-web
b3dc2a18b907c5b945c124bbe5070629e31bac54
09aca2e5e1098d91f28e10a9503a7a783c81ab63
refs/heads/master
2023-05-31T13:37:13.434335
2021-06-29T20:24:44
2021-06-29T20:24:44
369,619,370
0
0
null
null
null
null
UTF-8
Python
false
false
2,542
py
from django.shortcuts import render, redirect from django.conf import settings from django.core.mail import send_mail from .models import Computer, Printer # Create your views here. def windowMain(request): if request.method == 'POST': subject = request.POST.get('subject') mail = request.POST.get('mail') ...
[ "botlacrita617@gmail.com" ]
botlacrita617@gmail.com
b72ad75306f31160948715d6656aedb45e1792c7
e2e993962d6e5e30905d13f0532acdac9302c84b
/HTL.tab/Test.panel/Test.pushbutton/keyman/keyman/keys/models.py
a35c8dcb63e577c0174f8f38772822ae3ef1b000
[ "MIT" ]
permissive
htlcnn/pyrevitscripts
a1777fa0ba36003443d95e0f9fbbcadc4ffa5fe7
b898a3a5e8d212570254772ae314f343498b1398
refs/heads/master
2021-01-01T20:08:31.001558
2018-01-11T06:44:26
2018-01-11T06:44:26
98,773,971
1
2
null
null
null
null
UTF-8
Python
false
false
300
py
from django.db import models from django.core.urlresolvers import reverse class Software(models.Model): name = models.CharField(max_length=200) def __unicode__(self): return self.name def get_absolute_url(self): return reverse('software_edit', kwargs={'pk': self.pk})
[ "hoangthanhlong@gmail.com" ]
hoangthanhlong@gmail.com
2902abb4e7312b37efda0ba597f2fe4811f7f057
1122dce58d53c39b45b20c408b666dae467af24f
/localsettings.example.py
846a32478e59f316365445d3e9931074fcd7cea0
[ "BSD-3-Clause", "AAL" ]
permissive
cyrildoussin/Django-Socialauth
2b3af0ef9e6000933f244906044600d14ffd6fc7
a92fe95896b4c9f49d48e0aaac15c72029287cde
refs/heads/master
2021-01-18T10:56:08.177511
2009-10-20T07:34:34
2009-10-20T07:34:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
# Put your local settings here. This will override corresponding settings in settings.py. # PLEASE DO NOT CHECK IN THIS FILE. ADMINS = ( ('Shabda', 'shabda@uswaretech.com'), ) # This is for dev environment. Display debug messages. DEBUG = True # site ID SITE_ID = 1 SITE_NAME = 'foobar' DATABASE_ENGINE = 'sql...
[ "shabda@uswaretech.com" ]
shabda@uswaretech.com
df38823587cc9e24c51012ac241656d65ad08683
5600369f072352d9b6103680a6288fe22aa956b5
/dynamic_inventory.py
15affb3391d370e6afac24c0a3e43f26adda0c70
[]
no_license
narayudu/ansible-dynamic-inventory-mysql
b0de6c263ba91018c0a8af889dd4c3f6b9766288
a2e7b7a178b3e864c50bb0f68390d34bcb808515
refs/heads/master
2020-03-27T04:58:50.862106
2018-01-11T11:37:03
2018-01-11T11:37:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
#!/usr/bin/env python ''' Example custom dynamic inventory script for Ansible, in Python. ''' import os import sys import argparse import mysql.connector as mariadb from collections import defaultdict try: import json except ImportError: import simplejson as json class DynamicInventory(object): def __i...
[ "ec2-user@ip-10-0-0-121.us-west-2.compute.internal" ]
ec2-user@ip-10-0-0-121.us-west-2.compute.internal
b225f0c7ef6e3fb48db1bdd54f1a91178808953f
94b9eb6a3afec277e0418aed2274da66774e37c0
/fm_receiver.py
921b3c6027a8d430ba2191f643f789e212aacea3
[]
no_license
Hesham-Gaber/one
c12febb7e00de0c5f7bd1eeba9ba65089c4eec77
8872a3ace1940768aa5f0f8f7239dd3eb492cf62
refs/heads/master
2020-03-11T00:18:14.125034
2018-04-16T00:02:46
2018-04-16T00:02:46
129,660,451
0
0
null
null
null
null
UTF-8
Python
false
false
7,384
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- ################################################## # GNU Radio Python Flow Graph # Title: Lesson 3 - FM Rx # Author: John Malsbury - Ettus Research # Description: Working with the USRP! # Generated: Mon Apr 16 01:15:35 2018 #################################################...
[ "passhesham@hotmail.com" ]
passhesham@hotmail.com
035e65f319bbdefadc24d8b1e15a14d4ff41e0f3
128c8882b3199cb4d0682b363c4ce5725708bf42
/project/wsgi.py
6787e3fee8a55aab479708746bbccd0f2a459471
[]
no_license
djangouroki/7less_foreign_key
c4ad7e94d91ec57466d2fa10baa43714546815bb
8d99c5b7e113f97f4860bf37d5808ffdcd5ba6c7
refs/heads/master
2023-04-23T04:44:59.410194
2021-04-25T10:14:44
2021-04-25T10:14:44
359,429,436
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for project 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "django.uroki@mail.ru" ]
django.uroki@mail.ru
10a0a9b602f69b8db8e93992dd0a42bf6c4fb2b5
9994ceceed154e3b07f3b4f9881d83af7fcea876
/run_manyLC.py
a777297b39dbb1f24497cfbc3b0d0274ea76b488
[]
no_license
rahuldave/time-series-feats
7c908ec24c7799c69a530e940d247c454bc12a2a
c91fdeb7795faf4eb06bc7340f659f4dc00cd153
refs/heads/master
2021-01-21T09:34:24.154469
2014-11-24T19:46:47
2014-11-24T19:46:47
27,090,036
0
1
null
null
null
null
UTF-8
Python
false
false
2,173
py
from Feature import FeatureSpace import numpy as np from import_lightcurve import LeerLC_MACHO from PreprocessLC import Preprocess_LC import os.path count = 0 folder = 1 path = '/Users/isadoranun/Dropbox/lightcurves/' for j in os.listdir(path): if os.path.isdir(path + j): for i in os.listdir(path ...
[ "isadoranun@Isadoras-MacBook-Pro.local" ]
isadoranun@Isadoras-MacBook-Pro.local
849cad464c0731a0afd6cb94a57fdc9007ce5036
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/2122.py
c31ad8bdbc94a1aa0c0f79101990a413684bb5df
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
def resolve_case(): num = int(input()) num_list = list(str(num)) assend_index = 0 same=1 for assend_index in range(1, len(num_list)): if num_list[assend_index - 1] > num_list[assend_index]: break; elif num_list[assend_index - 1] == num_list[assend_index]: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a7399fadef7ec7257cbf947c3e818d52a13b725b
12f75ff50449717092789dc09da6e8d4dab409e0
/migrations/versions/78aa3d187c43_eltwelveth_migration.py
c132028c2501ad6742a53b2d81ebe5a62162e35b
[ "MIT" ]
permissive
lizKimita/Pitch-Deck
07e4ad3155aa6435b0d0a5615ef43b2a3fbc0571
0fd08aa2044ec76189e9eceea30b51907b885c8b
refs/heads/master
2020-05-15T11:19:57.997561
2019-04-27T07:00:59
2019-04-27T07:00:59
182,221,325
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
"""eltwelveth migration Revision ID: 78aa3d187c43 Revises: b32a3e99a01b Create Date: 2019-04-23 15:02:55.858322 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '78aa3d187c43' down_revision = 'b32a3e99a01b' branch_labels = None depends_on = None def upgrade():...
[ "kimita.wanjiku@gmail.com" ]
kimita.wanjiku@gmail.com
012ba923be9e6450316c84cda3a5dc66f401dffd
7ad1f253166914797c97c472e374ea4204a0dcd1
/app/posts/routes.py
dd2d6bdc46ff74d5c47ca529fe681b54a4b614c4
[]
no_license
jaejunku/RSS-webapp
786e97a2f320cffe242e3597d7df9f2714cd357f
6a0526ee1434c6984901b16b9302c189dd70a74f
refs/heads/master
2022-07-07T20:26:14.957187
2020-05-15T03:09:22
2020-05-15T03:09:22
264,082,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
from flask import Blueprint, redirect, render_template, flash, url_for, request, abort from flask_login import login_required, current_user from app import db from app.posts.forms import PostForm from app.models import Post posts = Blueprint('posts', __name__) @posts.route('/post/new', methods=['GET', 'POST']) @logi...
[ "jaejunk39@gmail.com" ]
jaejunk39@gmail.com
c7501f8f316081a9760f088927549c3576de37b0
ccc4f2c2351355212af9aef447cf33a38932cbfc
/plugins/discovery/jigsaw.py
1249c1d9201f9d49357e32e4741525191e92d624
[ "Apache-2.0" ]
permissive
stig81/hackers-tool-kit
fe1e4353d429a54cf1e503dc5ffdb52de2381309
9f1d45dd0da81207ae4bd775ffd51ba3168184bc
refs/heads/master
2020-05-23T14:26:40.782403
2019-05-14T21:08:18
2019-05-14T21:08:18
186,803,293
1
0
Apache-2.0
2019-05-15T10:23:20
2019-05-15T10:23:20
null
UTF-8
Python
false
false
1,794
py
import string import httplib import sys import myparser import re # http://www.jigsaw.com/SearchAcrossCompanies.xhtml?opCode=refresh&rpage=4&mode=0&cnCountry=&order=0&orderby=0&cmName=accuvant&cnDead=false&cnExOwned=false&count=0&screenNameType=0&screenName=&omitScreenNameType=0&omitScreenName=&companyId=0&estimatedCou...
[ "noreply@github.com" ]
noreply@github.com
2ce97362db302bca16c4ce50d46abe8cef6a939d
e2e39726195c7bc075b9bd56e757acd136527d5c
/typings/vtkmodules/vtkCommonCore/vtkDenseArray_IhE.pyi
1e566c0d11ab4d5b928576e9018c81f9d2190df0
[ "BSD-3-Clause" ]
permissive
gen4438/vtk-python-stubs
a652272183d2d1ee48d4639e86bcffc1ac454af0
c9abd76362adf387af64ce5ddbd04c5d3bebe9da
refs/heads/main
2023-04-04T02:13:15.459241
2021-04-15T10:47:28
2021-04-15T10:53:59
358,224,363
1
0
null
null
null
null
UTF-8
Python
false
false
9,465
pyi
""" This type stub file was generated by pyright. """ from .vtkTypedArray_IhE import vtkTypedArray_IhE class vtkDenseArray_IhE(vtkTypedArray_IhE): """ vtkDenseArray<unsigned char> - Contiguous storage for N-way arrays. Superclass: vtkTypedArray[uint8] vtkDenseArray is a concrete vtkArray imp...
[ "g1e2n04@gmail.com" ]
g1e2n04@gmail.com
5975696fda5601ace983ede2e4e31ea4bc52d380
45bec06057e05dd35a4aa8cd5065cfe9aaf3fa03
/ICE7/ICE7.py
c4c77394d8ef06eb50802cf2e8901991f1bac009
[]
no_license
flarefansy/ASE_lab-Assignments
cd210fb8318946abddd381cd95c7c42a60cb996b
8600f96a65221709ccb42aa00d7ec1a1d225d506
refs/heads/master
2021-01-22T17:23:01.158962
2018-11-09T01:28:33
2018-11-09T01:28:33
102,388,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 5 14:09:12 2017 @author: Spencersun """ import nltk from nltk.corpus import wordnet as wn from nltk.tokenize import word_tokenize,wordpunct_tokenize,sent_tokenize from nltk.stem import SnowballStemmer, WordNetLemmatizer from nltk.tag import pos_tag from nltk...
[ "noreply@github.com" ]
noreply@github.com
0c6ea69e387fc0e769c4ae108a2f13a9c03c7cc7
a8e11eb540138c11c79a54adee909389a256b9a9
/modules/tools.py
14e7b78154f1388291216566b99e0d7cfeda8c59
[ "MIT" ]
permissive
Daisuke0209/word-conversion
4a9b103e638e7f958211ce81d299c3efc875baf5
6c3f4053427806881a1435be9d63115d443f3273
refs/heads/develop
2023-04-10T06:31:16.720255
2021-04-09T11:40:37
2021-04-09T11:40:37
355,205,945
0
0
MIT
2021-04-09T11:40:38
2021-04-06T13:50:33
Python
UTF-8
Python
false
false
3,382
py
import re import pandas as pd from docx import Document from docx.enum.text import WD_COLOR_INDEX def convert_character(text : str): """ Convert consecutive full-size numbers to half-size numbers. Convert a single half-size number into a full-size number. Convert half-size English characters to full-si...
[ "stumble.on.the.stair@gmail.com" ]
stumble.on.the.stair@gmail.com
a99b7ef1e4369541a38a0f755a7f9a70dda5d14c
bd1fc4945e044ee82d27b4828a77c60f7ff1886d
/my_algo/prog12987.py
9941d458db18297063fce9c348df5134f21d42a7
[]
no_license
nailerHeum/codesquad
89930db1fe8b910e7831f88c5e4928f4a08bf266
adcd6046fa481a353a1fd74dd3bde54442a7c25e
refs/heads/master
2020-05-04T11:01:05.860974
2019-05-02T04:40:26
2019-05-02T04:40:26
179,099,118
1
1
null
null
null
null
UTF-8
Python
false
false
390
py
def solution(A, B): answer = 0 bOverFlow = False A.sort() B.sort() j = 0 for i in range(len(A)): while A[i] >= B[j]: j += 1 if j == len(B): bOverFlow = True break if bOverFlow == True: break answer+=1 ...
[ "kingman330@gmail.com" ]
kingman330@gmail.com
2e0da8eff224e62862cabf14b96105ad43c669bf
ab52e3212fce7df6c14314b9f32476bea134f289
/monai/engines/multi_gpu_supervised_trainer.py
6f0fd4f800c51a18a906aeff98425d05a7c99605
[ "Apache-2.0" ]
permissive
AllenAkhaumere/MONAI
30ab4e8c5774b32059894f154779e3842dfd7e69
33dab6fe152a1b8f38c13d456de583bd6fa0e0ae
refs/heads/master
2022-11-12T18:14:32.804026
2020-07-03T15:49:01
2020-07-03T15:49:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,819
py
# Copyright 2020 MONAI Consortium # 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 writing, s...
[ "noreply@github.com" ]
noreply@github.com
edc76c891adea130c96d0cc048da2c771c18b92a
4dda597dac544b237cf8f8b04b3c9e662b988a92
/moot/moot/urls.py
8bbcabe60d7122ead34e89c6f5032e63ab65b2e7
[]
no_license
beriuta/history
02ac9414c0475fde59f6a455c23c56235fe3c4bc
026c965f694e84120825069bedf7bfac235318b5
refs/heads/master
2020-04-11T17:24:39.558174
2018-12-16T02:08:18
2018-12-16T02:08:18
161,959,735
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
"""moot URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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-based...
[ "2457409765@qq.com" ]
2457409765@qq.com
21683f1fe8ec91e7c283eec2141feb0fe2382f3a
4d7decff1ed5fc6664fdeedf518ec95690c30a90
/lesson-2/geekshop/geekshop/settings.py
d739ea29d5f0ad7587f70635000744fd485454b9
[]
no_license
kkulikoff/Course_Django-2
67087981b2ad146740b4f51c67e0660c4bdd5271
34bfea63c35ddd2f717da61503607d6828e61eb1
refs/heads/main
2023-06-11T18:47:37.729923
2021-07-06T12:23:45
2021-07-06T12:23:45
378,244,772
0
0
null
2021-07-06T12:23:46
2021-06-18T19:14:21
Python
UTF-8
Python
false
false
4,901
py
""" Django settings for geekshop project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import js...
[ "kulikoff.ab@yandex.ru" ]
kulikoff.ab@yandex.ru
59f10070262e7b34c102704b264e5dea5ff8b7da
6482ba06c67f03ff4ea72fb7a5fc8d70f42cfaca
/metodo write y nl.py
34fb68dade1a550c62fa9e02278862f660a43244
[]
no_license
YulaySC/TareaProgramada2
283d51f7323e0e77f18126a5fc682a776e296f8a
b89eb224dda251a218406d08bd22380b9647913b
refs/heads/master
2021-01-15T11:12:11.372600
2014-10-12T11:22:28
2014-10-12T11:22:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
def inicio(): #Modo consulta (Inicio de programa) global ListaRes global l_vars estado = 1 while estado: string = input("?- ") val = inicio_verificaciones(string) if string == '': pass elif string == "<define>": consulta() elif string == "E...
[ "suramirez92@gmail.com" ]
suramirez92@gmail.com
e571b0c8c0f613927774a5236f43c636e0fdeaf8
dfe32af54fc69b37148b86cfa9ffddf7c2662f69
/cadnano25/cadnano/decorators/insertion.py
ded9eb1f5d6f8ded14d585634f4e8bfadba3df9c
[ "MIT" ]
permissive
amylittleyang/OtraCAD
c52801d67b337bfe2fce588c29783580615a1cd2
126360719704caf6850d42565fe96be53b66a22d
refs/heads/master
2021-01-17T15:31:18.227351
2016-05-19T21:57:34
2016-05-19T21:57:34
43,393,625
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
#!/usr/bin/env python # encoding: utf-8 class Insertion(object): """ Insertions do affect an applied sequence and do not store a sequence themselves. They are a skip if the length is less than 0 """ def __init__(self, index, length): self._length = length self._index = index #...
[ "jy152@duke.edu" ]
jy152@duke.edu
8ccce85d3c7968272528a0cfe84d03b2f59d4dbe
fc1743a5be91598d33033250cd0b41eda733bdd6
/Exams/forms.py
7a0469825e9445624936cf1ca4416ab6abaabb86
[]
no_license
1DONit1/rexam
113bc1dc7d4c6eb63f62e2eebae63796d533811b
c0c64509f920d9e3c0154177636d67fd56cb106b
refs/heads/master
2022-12-23T01:46:53.620941
2019-12-01T22:23:37
2019-12-01T22:23:37
225,240,334
0
0
null
2022-12-08T06:58:36
2019-12-01T22:28:00
HTML
UTF-8
Python
false
false
3,128
py
from django import forms from django.forms import ModelForm, TextInput, Textarea, Select from django.shortcuts import get_object_or_404 from django.template.defaultfilters import safe from Exams.models import Exam, Subject, Question, Answer class ExamsCreateForm(ModelForm): class Meta: model = Exam ...
[ "donimsi@mail.ru" ]
donimsi@mail.ru
cdc47a5cea9696e18e22ca2cd4c10e0af54f718f
eea0b330a06b8e28c36e44256e74b4f8718b62fc
/sendemail/forms.py
56bab5832457d715c8a18d4b9c12eb550a4dc182
[]
no_license
anjali142/Robotronics-Club-Website
a1cad6aad601570c2a1bcf01099305e9394c4aea
90c90c800a5b0f8c6e38d12f9db828f806c330bd
refs/heads/master
2020-06-12T13:04:36.733208
2019-08-10T10:59:20
2019-08-10T10:59:20
194,308,189
0
0
null
2019-06-28T17:06:43
2019-06-28T17:06:43
null
UTF-8
Python
false
false
259
py
from django import forms class ContactForm(forms.Form): from_email = forms.EmailField(required=True) first = forms.CharField(required=True) last = forms.CharField(required=True) message = forms.CharField(widget=forms.Textarea, required=True)
[ "varunjustrocks@gmail.com" ]
varunjustrocks@gmail.com
405530803fec0cadc01ebcb0fa2c1f53d630fa56
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/chrome/chrome_common.gypi
a8ee3297b5a77f90ca6ad3a7c2b54682254341f2
[ "MIT", "BSD-3-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
33,680
gypi
# Copyright (c) 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'common', 'type': 'static_library', 'variables': { 'chrome_common_target': 1, 'en...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
365b30e755275b51ea756b459b30ccf909f26f4f
17ae1b4195e16f00209bc06e605eb48ad7d4f3a0
/snowflake.py
2cac8d318876f6a95f3f381f7b415548adcccbae
[]
no_license
alizaheda/TurtleSnowflakes
e8a0525ce97d8a225e459d5a66671c1144915b90
38310536e759e5e7b17b822b63a6b4965afa281c
refs/heads/main
2023-01-02T07:15:14.822940
2020-10-29T14:32:42
2020-10-29T14:32:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
#!/bin/python3 import turtle import random shelly = turtle.Turtle() turtle.Screen().bgcolor("white") colors = ["blue", "cyan", "purple", "grey", "pink", "violet", "black"] shelly.color("cyan") def branch(): for i in range(3): shelly.color(random.choice(colors)) for j in range(3): ...
[ "noreply@github.com" ]
noreply@github.com
679cfdd0365a647b8e7a4315c23c688e6dd127a1
408491958cece161e3f7b27d10926b5cd80b4b14
/Mathematics/Number Theory/Breaking Sticks/Breaking Sticks.py
042d8916718a219b47c55f65ae0809631828edd8
[]
no_license
Snoblomma/HackerRank
279212173fbe0024ecb5e34fdbacc1c01faad7f5
1547913ada66d13fd59b06bc2781911c0895fbbf
refs/heads/master
2021-07-11T09:16:43.323607
2021-03-23T22:52:11
2021-03-23T22:52:11
70,170,819
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
#!/bin/python3 import math def divisor(number): for i in range(2, math.ceil(math.sqrt(number))+1): if (number % i == 0): return number // i return 1 def breaks(n): if n == 1: return 1 count = n a = n while a > 1: d = divisor(a) count += d ...
[ "snoblomma@gmail.com" ]
snoblomma@gmail.com
a25f717347636e8373ba3c99cfd0b09fcab0b1a0
3d3c0605a96f314c6d71f0c79f2da37ca1ab8545
/Python/ejercicioFunciones/ejercicio6Funciones.py
c60467c668685a9ad3efa4a780cb5fbe7d737042
[]
no_license
dascastrillo/lenguajemarca.guthub.io
77432e1d7c2c300b4ed3b4c9a8a5585b75c47241
1b8c34d157c66dd33e6d8f98853601aceb968a0b
refs/heads/master
2020-08-30T07:16:24.361223
2020-05-23T17:49:27
2020-05-23T17:49:27
218,302,860
0
1
null
null
null
null
UTF-8
Python
false
false
2,534
py
import os def area_rectangulo(): print("Introduce la base : ") base=pedirNumeroEntero() print("Introduce la altura : ") altura=pedirNumeroEntero() area_rectangulo=base*altura print("El area de un Rectangulo es : ",area_rectangulo) input("Presione una tecla para continuar...") def pedirNum...
[ "dascastrillo@gmail.com" ]
dascastrillo@gmail.com
d03578c423b75b0a881d10b32f169ad9a5075cbb
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005394.py
e5781c7991690423aaa123393d0e5d46def81e37
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
3,559
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
f6f69bd11a57079c1e860e060690db08820b94e3
67553d46a257631810f394908013b82c337e0fbd
/goat/chapter05/5.2/globals_test.py
cc3a84eb474eb4feacb54ede07ac205a359b442a
[]
no_license
bopopescu/goat-python
3f9d79eb1a9c2733345d699c98d82f91968ca5fa
c139488e2b5286033954df50ae1ca834144446f5
refs/heads/master
2022-11-21T11:25:27.921210
2020-03-06T01:02:57
2020-03-06T01:02:57
281,066,748
0
0
null
2020-07-20T09:00:08
2020-07-20T09:00:08
null
UTF-8
Python
false
false
154
py
# coding: utf-8 name = 'Charlie' def test (): # 直接访问name全局变量 print(name) # Charlie name = '孙悟空' test() print(name)
[ "34465021+jwfl724168@users.noreply.github.com" ]
34465021+jwfl724168@users.noreply.github.com
56007829d8e7c2a81edbbc469fc3a411453e739f
146dbf759064000e579985b9f4a2b98d08640380
/week4/day23/main.py
0e09501ee061ad47b0a93cdc3c884e19ffb1f3d4
[]
no_license
CW-MD/100daysofpython
8bf0d05e24c0267150a8a59da8c8684b3ac846c3
c256242d1778a036fbd5d70357b4a96d0febe6bf
refs/heads/master
2023-07-21T03:47:52.304635
2021-09-03T04:36:18
2021-09-03T04:36:18
374,596,262
2
0
null
null
null
null
UTF-8
Python
false
false
814
py
from turtle import Screen from car import Car from player import Player from time import sleep from score import Score screen = Screen() screen.setup(width=600, height=600) screen.bgcolor('white') screen.tracer(0) game_running = True screen.listen() player = Player() score = Score() carManager = Car() screen.onkey(pl...
[ "cdayton96@gmail.com" ]
cdayton96@gmail.com
b1b907960a85336e25b798a3aa7047ff700dbb33
86ed9f6558517ef490e4d187db478c0334320d74
/DeepLearningA-ZUDEMY/AutoEncoders/ae_dl.py
7ddd1e4483485010765a7119fd74ada82773540b
[]
no_license
lucigrigo/UdemyCourses
435192eb6dafde0ed0f391e9616562ebaee7f494
e50feae6a26be50299cdeffd2f16498d4684ada3
refs/heads/master
2023-04-23T14:44:36.500647
2021-05-07T22:10:47
2021-05-07T22:10:47
278,051,106
0
0
null
2020-10-13T23:50:55
2020-07-08T09:47:29
Jupyter Notebook
UTF-8
Python
false
false
3,505
py
# AutoEncoders # Importing libraries import numpy as np import pandas as pd import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data from torch.autograd import Variable # Importing the dataset movies = pd.read_csv('ml-1m/movies.dat', sep = '::', header = None, e...
[ "lucigrigo@yahoo.com" ]
lucigrigo@yahoo.com
f9b7d16b06f903f74cb2eeb8c5aa03d5381e9ed8
b56715d8c602d14da793bb3a25433663d4f31fbd
/invoice/migrations/0004_auto_20170519_1322.py
97b671415359851c052466f6df329ccfdf5abc73
[]
no_license
mincaeuro/faktury
0fd35c0f1d0c7c76331a51f3303af4135d660160
970c91e7caa068d7576ce4434bb277006f6fdfa6
refs/heads/master
2022-09-19T04:40:58.196916
2022-09-03T14:42:08
2022-09-03T14:42:08
42,316,831
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-05-19 11:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invoice', '0003_auto_20170519_1312'), ] operations = [ migrations.AlterFiel...
[ "noreply@github.com" ]
noreply@github.com
2dc917a66e8ef838946a5fcb757890bce77a7963
9405aa570ede31a9b11ce07c0da69a2c73ab0570
/aliyun-python-sdk-kms/aliyunsdkkms/request/v20160120/GenerateDataKeyWithoutPlaintextRequest.py
681ae27d16cff738aea6473faf406f81efbeea7d
[ "Apache-2.0" ]
permissive
liumihust/aliyun-openapi-python-sdk
7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b
c7b5dd4befae4b9c59181654289f9272531207ef
refs/heads/master
2020-09-25T12:10:14.245354
2019-12-04T14:43:27
2019-12-04T14:43:27
226,002,339
1
0
NOASSERTION
2019-12-05T02:50:35
2019-12-05T02:50:34
null
UTF-8
Python
false
false
2,008
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
0e7ff815cea27a8a05cb59b0e158e66ee68977ce
1896685500833ba2e4e25400a03e10536dc57ad5
/apimpe/wsgi.py
7ebc7b896b1a99ceded6af9f77e7fbd203d23e58
[]
no_license
Oswaldinho24k/MPE-API
04e5d134199083300c2eac2b2d21e206e4306eeb
2e1d7b282f994867c04d31b09395785d73d90b9d
refs/heads/master
2020-06-21T14:53:18.903127
2016-12-02T18:57:25
2016-12-02T18:57:25
74,783,930
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
""" WSGI config for apimpe project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Django...
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
a9a35564056a41b3c08ac75c0aab061160226698
0873dc132ebdb02b42564341ab7ccd979e8a3b54
/Numpy/numpy string.py
fce884f2f266c7518c4268eac710cca4946804af
[]
no_license
kamal-ops/Data_Science_practics
cd8d555dae51136f9a8532bfdcca176ae5f00565
68cd8d618a18904d9d7c5134a6ad3ffc99503cec
refs/heads/master
2023-03-31T00:23:11.834005
2021-03-20T10:10:33
2021-03-20T10:10:33
349,689,034
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import numpy as np # In[2]: str1 = "kamal kishor swami" str2 = "asiistant pipline developer" # In[3]: np.char.add(str1, str2) # In[4]: np.char.lower(str1) # In[5]: np.char.upper(str1) # In[8]: np.char.center(str1, 60) # In[9]: np.char.center(str1...
[ "agrawatkamal@gmail.com" ]
agrawatkamal@gmail.com
87ce0d254c7914887459b87b8d9e12b078769298
d43c0ac4f3e707693c839687cc502282146cbf39
/leetcode/linked-list-cycle-ii/test_.py
380f7e7c9b5e9fff509b1398eebb3755c8396a5e
[]
no_license
ftlka/problems
d64a9b07767c40fa959487c9c23e54b5f4714439
e1fc8dad3a881d4f2e2d9e871b33d7f817683734
refs/heads/master
2020-04-27T20:54:40.950133
2019-04-02T15:14:04
2019-04-02T15:14:04
174,675,505
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
from solution import ListNode, Solution s = Solution() # test 1 root = cur = ListNode(3) loop_node = cur.next = ListNode(2) cur = cur.next cur.next = ListNode(0) cur = cur.next cur.next = ListNode(-4) cur = cur.next cur.next = loop_node assert s.detectCycle(root).val == 2 # test 2 root = cur = ListNode(1) cur.nex...
[ "smart.Julia@yandex.ru" ]
smart.Julia@yandex.ru
59cee6f8de1719cbc71645dcc02d79317246d9ea
ce083128fa87ca86c65059893aa8882d088461f5
/python/python-salad-bdd/.venv/bin/subunit-filter
317293fe0fb7c7007d0cf0b7e77ec7d6c6da347c
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
7,071
#!/home/marcosptf/developer/python-bdd/.venv/bin/python2 # subunit: extensions to python unittest to get test results from subprocesses. # Copyright (C) 200-2013 Robert Collins <robertc@robertcollins.net> # (C) 2009 Martin Pool # # Licensed under either the Apache License, Version 2.0 or the BSD 3-claus...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
bbd4ab02b1742430ca058c70e177f838b5038b08
4474a063ce2c68afac0ccbcee87248b8aa55782d
/entregables/sin_categoria/617A.py
ad4d74d9db7ca43ffbd237e4f9b54a4229e9d867
[]
no_license
danielTeniente/codeForces
c16dd636a2243597dff5cb4e1e9bd7c3a2d1b510
889616477e2f2478e1816f752588cdafd44a9b82
refs/heads/master
2023-07-25T02:24:03.795222
2021-09-03T23:06:05
2021-09-03T23:06:05
275,078,167
1
0
null
null
null
null
UTF-8
Python
false
false
97
py
# A. Elephant x = int(input()) paso = 5 pasos = x//5 if(pasos*5<x): pasos+=1 print(pasos)
[ "daniel.diaz.bedoya@outlook.com" ]
daniel.diaz.bedoya@outlook.com
bbfc3ac9fe50c2e27f5a47e2084a42c2474f0030
6b75ed02526ad0f2e654bf7cdaba71c70bd9481d
/merchant.py
74728d6964f4a50d0150c011d260b80dfc69f343
[]
no_license
Benosu998/Fair-Exchange-e-Commerce
0686de9304e34668c7c40bbe01fa661ecb8ae43b
57d748d0e914853442e7cc3c6be7165bacdac48d
refs/heads/master
2021-02-13T00:30:27.741387
2020-03-08T17:48:29
2020-03-08T17:48:29
244,645,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,029
py
import socket import sec from Crypto.PublicKey import RSA from Crypto.Random import get_random_bytes import pickle client_public = None # Load Merchant Private Key merchant_private = RSA.import_key(open("merchant_private.pem").read()) # Load Payment Gateway Public Key payment_gateway_public = RSA.import_key(open("pa...
[ "46503231+Benosu998@users.noreply.github.com" ]
46503231+Benosu998@users.noreply.github.com
51719366dd3b45e9da2070caf4e1ca0906df0c1b
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2283-2409/base-trunk-2283/prototype/pyfox/setup.py
58da3fb0318bb0b263de8f582d9d2d07804158ca
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
1,325
py
import os from distutils.core import setup, Extension Moz="/home/djm/work/firefox/mozilla" MozDist=Moz+"/dist" setup(name='pyfoxutil', version='1.0', ext_modules=[Extension('_pyfoxutil', ['pyfoxutil.cpp'], include_dirs=[MozDist+"/include/embed_base", ...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
6e68dfdd9028316f5f6c125e3df226f54f2e192e
8f865c2d5e6c44692d7405a17990509b299a0a4c
/libs/labyrinthe/labyrinthe.py
78ab1af33ed42dd895b5cb9c82b9b15f1b906cf4
[]
no_license
de-Pret-Mikael/Projet
549464a3bd6e4deb209d4192fc89b07512269078
94d70cbd56ec9f13f2e9cf378f82c9e63d202f26
refs/heads/master
2023-01-29T18:02:46.271704
2020-12-08T15:28:29
2020-12-08T15:28:29
307,124,452
0
0
null
null
null
null
UTF-8
Python
false
false
9,518
py
# ▲▶▼◀■□● import random # import de la librairie random class Cell: # creation de la clss Cell qui sera utiliser par la class Labyrinthe """class qui genere les cellule que labyrinthe utilisera""" count = 0 # donnera le numero de la cellule pour la creation du futur chemin du lanyrinthe def __init__(s...
[ "64021617+cyrilGrandjean@users.noreply.github.com" ]
64021617+cyrilGrandjean@users.noreply.github.com
c88fedcb928281468b4a8c2347f4094580c9b61a
125d236ac7ac78d89fe555c4205b09ddb0b04d22
/file_service.py
27acb22ce0cff694919e9fc53891d8e6d9dae4c8
[ "MIT" ]
permissive
donnisu/multitext-server
d8ab912ab9088382eb6b77c02f59ec45e435a54e
38417a8ae3b8cae5674936eca19371119d40bc92
refs/heads/master
2022-11-11T00:06:14.056710
2020-07-01T16:09:50
2020-07-01T16:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,314
py
import hashlib import logging from pathlib import Path from typing import List, Tuple from docengine import Doc class FileService: """ Performs all operations with files - loads, saves, applies patches """ def __init__(self, users_dir): self.users_dir = users_dir self.pa...
[ "usernamedt@protonmail.ch" ]
usernamedt@protonmail.ch
45e2d3551118930f0d1e222bbd9ce48b275436bc
022761172e7f6a1fc220152b123abf0dea98f6b4
/app/core/models.py
2fc5239f5599e4ba571feda22167da86a97cf0b8
[ "MIT" ]
permissive
surajk998/recipe-app-api
0beefcf2d3c8eb59822f8796d826703108ad74db
bdac67907295054cb49aff71f8ddd56a42905859
refs/heads/main
2023-06-28T20:20:15.614222
2021-07-28T15:55:26
2021-07-28T15:55:26
388,129,031
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin class UserManager(BaseUserManager): def create_user(self, email, password=None, **extra_fields): if not email: raise ValueError("User must have an email address") user = self.model...
[ "[surajkadel1998@gmail.com]" ]
[surajkadel1998@gmail.com]
c8c81f96120216a2f3d9b77c7661a26bff53a64f
587e8f07c6dfb758e6fb5dfd50a9b4db07eb1236
/cx_Oracle/environment.py
1a4d7617f53e1072febc3a6d30a3e017d7b9b12c
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive" ]
permissive
smallfz/cx_oracle_on_ctypes
c3c192f7093f9b54b824bf4c5c17037309bbfe31
5e9f772fd48f8ee5c109e33dec5b4050c22b626a
refs/heads/master
2021-09-14T19:46:25.948504
2018-05-18T09:22:15
2018-05-18T09:22:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
from ctypes import byref import ctypes from cx_Oracle import oci from cx_Oracle.buffer import cxBuffer from cx_Oracle.error import Error from cx_Oracle.custom_exceptions import IntegrityError, OperationalError, DatabaseError, InterfaceError from cx_Oracle.utils import MAX_STRING_CHARS, python3_or_better class Environ...
[ "lameiro@gmail.com" ]
lameiro@gmail.com
a1961952d05137ae84f53c5707558d0b5b88ef32
e6100c6bc7c3a02f9f707cc83e0526226bd504e4
/test/test_users_api.py
3837aa9c74f4c75f33ac3708df079adddbd2c255
[ "Apache-2.0" ]
permissive
bombbomb/bombbomb-python-openapi
dcad421abb7f93e57094e3f3cff025dd050a9912
83d71b51b7c6222d5aca5112a724198c4fb762c3
refs/heads/master
2023-06-09T01:12:19.537616
2023-06-05T22:13:42
2023-06-05T22:13:42
67,756,474
0
0
Apache-2.0
2023-06-05T22:13:43
2016-09-09T02:02:26
Python
UTF-8
Python
false
false
1,006
py
# coding: utf-8 """ BombBomb We make it easy to build relationships using simple videos. # noqa: E501 OpenAPI spec version: 2.0.831 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import bombbomb from bombbomb.api.u...
[ "patrick@bombbomb.com" ]
patrick@bombbomb.com
7f0f26b3058b8aa43ad3e97007363688b9f95386
5dbe03bdfe42ea197447abd0a42ce497d29d5efe
/kettle/tests/test_rollout.py
be634c293931bbd8d29bf08d9ad3c000c389ec68
[]
no_license
c-oreills/kettle
a4a8f3a0fc8cd5a1cf794ebb67d543780109e9a6
00be11111ec7788db4ae86aba8eba4a9ff47407b
refs/heads/master
2020-12-24T05:09:59.165477
2016-07-04T12:59:08
2016-07-04T12:59:08
3,593,362
5
5
null
2016-07-04T12:59:08
2012-03-01T15:54:38
Python
UTF-8
Python
false
false
5,626
py
from threading import Event from kettle.rollout import Rollout from kettle.tasks import ParallelExecTask, SequentialExecTask, Task from kettle.tests import KettleTestCase, create_task, TestTask class TestTaskFail(TestTask): @classmethod def _run(cls, state, children, abort, term): raise Exception cl...
[ "christy@oreills.co.uk" ]
christy@oreills.co.uk
aa7968e19e64f3da03490a1bd8b36ae04f204359
94c4be2c29c2799b6b764885bb918f66a0639e6a
/Project 8/MWS_corrected.py
ae92769042821d33889ec9d892d1577538ec46d9
[]
no_license
sbkumar1/x9115SHA
dfde32f309d237301af40c042351ac4c90c9a375
cc749d5d731d9c708f6878048910f7e666b14aef
refs/heads/master
2021-01-10T19:53:43.983073
2015-12-16T01:41:03
2015-12-16T01:41:03
41,257,905
0
1
null
null
null
null
UTF-8
Python
false
false
5,573
py
#!/usr/bin/python -b from __future__ import division import sys import random,math import copy import sk random.seed(100) MWS_MIN=MWS_MAX=0 def randomlist(): randList=[] randList.append(random.uniform(0,10)) randList.append(random.uniform(0,10)) randList.append(random.uniform(1,5)) randList.append(random.uniform(0...
[ "sbkumar@ncsu.edu" ]
sbkumar@ncsu.edu
56543401f8fff6de82cf72f6710a4d11cd322f0f
265a07a2becd232b292872d1d7136789463874be
/lei练习/child.py
a18eb14e18c20325173e5d20365a90e17db5663c
[]
no_license
Lz0224/Python-exercise
f4918b8cd5f7911f0c35c0458c2269959937d07d
3d09f54aebc653f4a5b36765b25c7241e3960764
refs/heads/master
2020-12-24T22:20:55.573019
2017-08-11T07:18:16
2017-08-11T07:18:16
100,005,776
1
1
null
null
null
null
UTF-8
Python
false
false
686
py
#!/usr/bin/python #coding=utf-8 class ParentClass(object): """docstring for ParentClass.""" name = "老张" # def __init__(self, arg): # super(ParentClass, self).__init__() # self.arg = arg def fun(self): print "老子有钱" class ChildClass(ParentClass): """这是什么玩意。。。。""" # def _...
[ "Lz0o_o0@outlook.com" ]
Lz0o_o0@outlook.com
0018d3f20bbe862f6a808be039294d11e214adbe
113be8952d81eb446095287572970be7e755cecf
/data_tools/coco_tools.py
bbb75f24809e5221a9f1a53c8dc86bf587619b0c
[ "MIT" ]
permissive
isabella232/retinanet_for_redaction_with_deepstream
ea6361839c076768ba624264aec94a1e540671b6
dbe39d0739ebb57e781201f26372a6aa96be39db
refs/heads/master
2023-03-18T14:22:26.954161
2020-02-24T22:45:39
2020-02-24T22:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,630
py
""" Tools for manipulating coco annotaitons """ import os import json from PIL import Image import random import shutil def resize(img_folder, annotations, resize_factor, output_img_folder, output_annotations): """ Resize images to (original size * resize_factor) :param img_folder: Folder containing origi...
[ "jskinner@nvidia.com" ]
jskinner@nvidia.com
0ad5e4e350a40761eeb725392b057018a318a896
fc624d36245b1695a15941d4aeb24b4f4e762ab5
/77.py
d1c8c06c1af960eea8c142c30ab474eff0fe2125
[]
no_license
Talha2000/PythonExercises
efbcb760d6da71dc5c60452ac5a190f5588e9640
4f76a88acee79095ed41205a997eb539f80bf97f
refs/heads/main
2023-01-08T09:29:59.924226
2020-10-30T22:48:43
2020-10-30T22:48:43
308,697,175
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
import time a = time.time() for i in range(0, 100001): x = 1+1 b = time.time() result = b - a print(result)
[ "amjad_maqsood90@hotmail.com" ]
amjad_maqsood90@hotmail.com
374a204faa07f80ad6187a04e03dc1f385ef9168
7619aed8a311e2832634379762c373886f4354fb
/trace_pox_eel_l2_multi-BinaryLeafTreeTopology1-steps200/interactive_replay_config.py
642e4a4db5b05f5ecefc4f4ffd682ee68f5bc5b3
[]
no_license
jmiserez/sdnracer-traces
b60f8588277c4dc2dad9fe270c05418c47d229b3
8991eee19103c8ebffd6ffe15d88dd8c25e1aad5
refs/heads/master
2021-01-21T18:21:32.040221
2015-12-15T14:34:46
2015-12-15T14:34:46
39,391,225
2
1
null
null
null
null
UTF-8
Python
false
false
1,097
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow.interactive_replayer import InteractiveReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[Co...
[ "eahmed@ethz.ch" ]
eahmed@ethz.ch
28af2f205ead785ee570ffa916f56f4b6b753c5c
e10f0b4f081e182e8fb1e5ed55a30241b42c8608
/src/Blog/urls.py
9db32a2786436d752b4047f7ff03f6ee8b923820
[]
no_license
nald0422/django-blog
ba6e28e711bb042109d909530c6e20b3826a0765
5cb1e6ba52c5a98812d9e4d66841137d30443f0b
refs/heads/master
2023-03-01T11:13:38.055277
2021-02-08T11:17:38
2021-02-08T11:17:38
336,566,020
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from django.urls import path, include from . import views from rest_framework import routers # urlpatterns = [ # path('', views.blogApiOverview, name="blog-overview"), # path('list/', views.blogList, name="blog-list"), # path('detail/<str:pk>/', views.blogDetail, name="blog-detail"), # path('create/',...
[ "nald04.db@gmail.com" ]
nald04.db@gmail.com
180ad8b089bf6257e39e3edfab64474f209d9f06
b39f7a85a98fe356c9f4677bafe1ec07480bfae1
/ChessAI_alphabeta.py
ecf403a6c6a8b42fdc0675d4fafac8fa2834217a
[]
no_license
TheMagicalPlace/DepthSearchStuff
8aeed613df45582cdb6445587700446d34949147
501edb24de7cc1bb9d9be6a917c195e343f1cb59
refs/heads/master
2020-06-26T06:21:32.208129
2019-11-23T03:03:26
2019-11-23T03:03:26
199,558,461
0
0
null
null
null
null
UTF-8
Python
false
false
5,952
py
import copy from collections import defaultdict from ChessBoard import Chessgame from Player_Base import * from ChessPieces import * from multiprocessing import Queue,Pool from queue import Queue class vars: player = 'White' depth = 3 def child_process(node,player=vars.player): abspawn = AlphaBeta(player...
[ "chris621@msu.edu" ]
chris621@msu.edu
ad222390e157befaf7c30cf95ec6cca7957e8664
6ebcb208eefc536f02378e186dc14a9dc3ee3c20
/1779.py
1fa2c68f1a89617291883c0c7503ac9bfe8876c4
[ "MIT" ]
permissive
sinasiruosnejad/leetcode
e9bb599ebf0c5837067e454c3d03241c1156de20
8fe5a400bc03a5e129835e380ff9fe72af681d8a
refs/heads/main
2023-08-01T18:05:16.872554
2021-09-15T17:43:44
2021-09-15T17:43:44
340,697,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
import math def string_to_list(value): x=value result=[] i=1 while x[i]!=']': if x[i]!=',': j=i temp='' while x[j]!=',': if x[j]==']': break temp+=x[j] j+=1 i=j res...
[ "sina.sirousnejad@gmail.com" ]
sina.sirousnejad@gmail.com
f3ccca6b0866a92e2954ff24bc5f435351cdfb75
62d5cd801e7e5c94f091accd7e7ac4410c16deb4
/mysite/urls.py
4819731e9a98f90646a88322f1bedde4b9ec0afe
[]
no_license
hirootokushima/my-first-blog
0d814538ee70a4f30716b0e1c15c7b2a4060d2aa
46e289d905d136c04344b2f6f83cff032398ba90
refs/heads/master
2020-04-03T01:32:09.348893
2018-11-05T08:51:06
2018-11-05T08:51:06
154,933,666
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
"""mysite 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 ...
[ "manadoresu@gmail.com" ]
manadoresu@gmail.com
062d5e995b67d4166739a0c02d72ade641723dc3
e953398d1205d11b3ced77589bc208af5b780d0e
/menu.py
da46ced901911c8da867897fc97a2c65a27cd290
[]
no_license
PacosLelouch/pygame2048
077b2c9b35afea4cc585d88399603c9d00510dc1
831cb9859e45fb62a9998949c0f105512cd7f439
refs/heads/master
2020-05-24T08:57:04.757203
2019-05-17T10:20:35
2019-05-17T10:20:35
187,194,579
0
1
null
null
null
null
UTF-8
Python
false
false
2,397
py
from ui_menu import Ui_MainWindow from scoreboard import Scoreboard from game import Game from PyQt5 import QtCore, QtWidgets, QtGui from PyQt5.QtWidgets import * class Menu(QMainWindow): def __init__(self): super().__init__() self.ui = Ui_MainWindow() self.ui.setupUi(self) self.dia...
[ "276613158@qq.com" ]
276613158@qq.com
912555da0fdc5347a5e1f9803c5d152c6523fb9e
06443415baafed408d493610ae07987b5c681cb5
/SW Expert Academy/D3/4466. 최대 성적표 만들기.py
5cc7c22ca1cc856cdd44e48bd5074631b5a051a1
[]
no_license
rheehot/Algorithm-33
251aa2ea9b15ef6bde53443b7ff26e599f7a6bdd
7878713ab716b5365a8f71a1c8b2e370f9ee5039
refs/heads/master
2023-01-24T02:56:18.411717
2020-11-29T12:31:51
2020-11-29T12:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import sys sys.stdin = open('4466. 최대 성적표 만들기.txt','r') T = int(input()) for tc in range(T): N, K = map(int,input().split()) scores = list(map(int,input().split())) scores.sort() result = sum(scores[-K:]) print('#{} {}'.format(tc+1,result))
[ "djagmlrhks3@naver.com" ]
djagmlrhks3@naver.com
87a59bc42433821ff6c353a9e24ee2417a5de00f
a6fae33cdf3d3cb0b0d458c2825a8d8cc010cd25
/l3/z3/.history/population_20200522014505.py
3e8108e382a859c114f46c50cbcf52c462b42894
[]
no_license
Qabrix/optimization_amh
12aab7c7980b38812ec38b7e494e82452a4176b4
6a4f5b897a4bef25f6e2acf535ba20ace7351689
refs/heads/main
2022-12-28T10:57:00.064130
2020-10-17T22:57:27
2020-10-17T22:57:27
304,983,340
0
0
null
null
null
null
UTF-8
Python
false
false
6,540
py
import random import numpy as np from utils import calculate_value, decision class Inhabitant: def __init__(self, gene, value=0): self.gene = gene self.value = 0 def __iter__(self): for char in self.gene: yield char def __len__(self): return len(self.gene) ...
[ "kubabalicki@gmail.com" ]
kubabalicki@gmail.com
6b92fa590207e262bb21ce2d163a28f41fcac644
21c7776c735f0dccc8694fa67b336b9266b7f9ce
/moss-submit
fcf3dc5d436ee5ef5d9992354f8c50448cb81d74
[ "MIT" ]
permissive
narenakash/nerfherder
0fd15269de632baa8fff0d744430d8dc81689f6d
57edd25872acda7346b386ee56c8f607f9aa0d59
refs/heads/master
2022-08-25T18:33:29.406151
2020-05-18T19:54:54
2020-05-18T19:54:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,107
#! /usr/bin/env python3 # -*-Python-*- import argparse, logging, os.path, signal, subprocess, sys def ctrl_c_handler(signum, frame): logging.info('received SIGINT, exiting') sys.exit(0) def fail(message): logging.error(message) sys.exit(1) def main(): parser = argparse.ArgumentParser(description...
[ "kwortman@gmail.com" ]
kwortman@gmail.com
64255b923effc6b87ec7c8fb68ca711c3cc8c91e
6c4d3b0c86e39a474dc00696c765d2a66cbef536
/wbfl10.py
dc749d2278c8e17385b6f5a79852ba4c9a2cce57
[]
no_license
RogerJTX/gensim_splic_sententces_and_words
6e32ac562c11eaa49a3ca3eb21aa4a60227a82ad
416ad34c8c0c45c70da7f75df30998afc4c8fbda
refs/heads/main
2023-03-02T01:33:52.374906
2021-02-15T16:51:38
2021-02-15T16:51:38
332,004,703
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
import jieba import jieba.posseg as pseg from gensim import corpora, models, similarities def StopWordsList(filepath): wlst = [w.strip() for w in open(filepath, 'r', encoding='utf8').readlines()] return wlst def seg_sentence(sentence, stop_words): # stop_flag = ['x', 'c', 'u', 'd', 'p', 't', 'uj', 'm', ...
[ "jtxia@quant-chi.com" ]
jtxia@quant-chi.com
2ff9a663293f091e9bf221faa038734befb2cf43
1be42b99e0decc4366e9ffacf03ca0169fac1a43
/restie/cli/run.py
49a0ad7d69baf3839dfb3880d401c36777652bb0
[ "Apache-2.0" ]
permissive
NJoyX/nameko-restie
d2b44d57c87e847227149a4319c32698f7ce6598
a7e7cc2e5eb7dc2fc07426b6b68a64da09f66914
refs/heads/master
2021-01-12T01:47:19.526154
2017-06-29T22:03:11
2017-06-29T22:03:11
78,431,507
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
from __future__ import print_function import eventlet eventlet.monkey_patch() # noqa (code before rest of imports) import logging import logging.config import sys import yaml from nameko.constants import AMQP_URI_CONFIG_KEY, WEB_SERVER_CONFIG_KEY from nameko.cli.run import import_service, run logger = logging.get...
[ "admin@njoyx.net" ]
admin@njoyx.net
ccdc0dc65bef25e42f74374ec5e25a753c698b45
2c4e38480f522f3762b6967d7cfbf8aae0a948aa
/inst/scripts/create_nullable_arrays.py
f81f6b28c7b0ccc315b3e3b746f6683b268aef14
[]
no_license
grimbough/rhdf5
097f8c48f322172415308491b603ff5b6cb4521a
4d430edf2a95cc9a2e4dfbf857ff6ff41cdef61d
refs/heads/devel
2023-07-27T14:14:36.645790
2023-07-12T09:09:12
2023-07-12T09:09:12
101,306,379
51
24
null
2023-04-05T08:13:17
2017-08-24T14:51:27
R
UTF-8
Python
false
false
378
py
import numpy as np import pandas as pd import anndata as ad import h5py h5_file = h5py.File("/data/nullable_examples.h5", "a") int_array = pd.array([1, None, 3, 4], dtype="Int32") ad.experimental.write_elem(h5_file, "nullable_integer", int_array) bool_array = pd.array([True, False, pd.NA], dtype="boolean") ad.experim...
[ "grimbough@gmail.com" ]
grimbough@gmail.com
c38608c7409d6365b3229e43371d09039a319f06
4dc690069009216991a70d5525ef07cf1f2d790d
/综合实验/mns_python_sdk/sample/sendmessage.py
f9f45a13db3c64d14ee9282ed871ed07c5111c84
[ "MIT" ]
permissive
michwh/parallel-computing-exercise
f01c814e503f1fbbdd8bc6da0e4fd1055ba5c5c9
96040423a706741c2a5fa2723d357d3a77039312
refs/heads/master
2020-03-29T13:42:18.298809
2018-12-10T15:20:28
2018-12-10T15:20:28
149,977,450
6
2
null
null
null
null
UTF-8
Python
false
false
1,202
py
#!/usr/bin/env python #coding=utf8 import sys import os sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)) + "/..") import time from sample_common import MNSSampleCommon from mns.account import Account from mns.queue import * def my_send_msg(num): # 从sample.cfg中读取基本配置信息 ## WARNING: Please do not...
[ "fjsxhwh@163.com" ]
fjsxhwh@163.com
176869291f6071bba98ea44848936d7ceec24616
9b3abcd9c207a015ed611da2a22b48957e46c22d
/18_Django框架网站/dailyfresh/apps/user/models.py
7d2b0e2c38e7610873de8a89d398099678359f03
[]
no_license
it-zyk/PythonCode
6e22aff6705d0e66df74a7c43f62f8a3a8f3f70f
1ee51edad768ff01ba8542b1ddea05aee533524b
refs/heads/master
2020-04-23T05:47:33.691995
2019-05-08T14:07:34
2019-05-08T14:07:34
170,951,360
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
from django.db import models from django.contrib.auth.models import AbstractUser from db.base_model import BaseModel # Create your models here. class User(AbstractUser, BaseModel): '''用户模型类''' class Meta: db_table = 'df_user' verbose_name = '用户' verbose_name_plural = verbose_name cl...
[ "it-zyk@outlook.com" ]
it-zyk@outlook.com
040e64992a894eb3273cafd53f78ba3efeb4a6be
c963ea584665bf81646b9a333fdbf10a52e8e273
/arithmetic/PrintKNum.py
1a07f0188f4947cba81b0936dbe58f68d2b5c4a4
[]
no_license
LuGuangWang/python
bcf4db388b600e0620c3bd993c7b4645e6a96a29
d38c220b5cc5375308570351c92d4ce5ab59fe88
refs/heads/master
2021-06-09T10:29:27.304553
2021-05-13T11:22:41
2021-05-13T11:22:41
163,352,739
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
# coding=utf-8 # 链表中倒数第k个结点 # (1)第一个指针从链表的头指针开始遍历向前走k-1,第二个指针保持不动; # (2)从第k步开始,第二个指针也开始从链表的头指针开始遍历; # (3)由于两个指针的距离保持在k-1,当第一个(走在前面的)指针到达链表的尾结点时,第二个指针(走在后面的)指针正好是倒数第k个结点。 class Node(object): def __init__(self,x): self.val = x self.next = None def sprint(self): tmp = self while ...
[ "wang20081129" ]
wang20081129
01ce29ccc41608e7b9ab3c3e53c70e7465104cb8
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/paths/lists/post.pyi
e1cd61175409ba8d08a6a2aaadd81bc677ac36da
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
16,249
pyi
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from egoi_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F4...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
da0f78f79ae6d191a86694b0fe988dbbdf697df6
a4d618fa8c1dcef1f00cf7f5ab367f4cd443b666
/scripts_py/wall_steady_state_automatization/postprocessing/heat_distribution/compute_energyRa.py
218241d24293f5449320b705325a7875cd5de870
[]
no_license
jdesmarais/dim2D_finite_volume
839e0abb42e32ea7ff5822c419e09630aee0eadb
5849979d54d464f2c95778bf73ef39987bcc9ff6
refs/heads/master
2021-05-31T01:14:58.459731
2016-01-18T08:58:53
2016-01-18T08:58:53
46,810,746
1
0
null
null
null
null
UTF-8
Python
false
false
6,097
py
#!/usr/bin/python ''' @description: compute the heat distribution, i.e. the amount of heat which is transported across the domain borders, the heat used for the phase transition and the heat used to increase the internal energy of the fluid ''' # library imports #----------------------------------------------------...
[ "desmaraisjulien@gmail.com" ]
desmaraisjulien@gmail.com
1d82f772f429dc0332e5f8d1b7f993895f9f527b
b2e1d96c0551b6b31ef85353f9b6e5b6354d64e8
/datafaucet/spark/rows.py
97e9ffa97152917b124d55ef93a80b38b4716046
[ "MIT" ]
permissive
SylarCS/datafaucet-1
8bd7b96cecc5592e153b61367892e2a63a96119d
a63074ba1fb1a6d15f06e2bfff05df754aaaa452
refs/heads/master
2020-09-15T06:04:31.999012
2019-11-18T20:00:55
2019-11-18T20:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
import sys from random import randint from pyspark.sql import DataFrame from datafaucet.spark import dataframe INT_MAX = sys.maxsize INT_MIN = -sys.maxsize-1 def sample(df, n=1000, *col, seed=None): # n 0<float<=1 -> fraction of samples # n floor(int)>1 -> number of samples # todo: # n dict of key, ...
[ "natalino.busa@gmail.com" ]
natalino.busa@gmail.com