blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
eea4930741d6abd56735388dbe5fee2b2f87ee75
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/GEM_REGISTER/YW_GEM_REGISTERMM_SZXJ_127.py
27528edb669f197e9109add7e5ebe607c5e736eb
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,098
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
61d2c3982e7271cd9a61b62154ec8ce6e0dbf60f
d72360671c444f0aab2c9d6d1a138fd5ac7ec145
/mapping/map1.py
20c951fb7fdc52ab030e7e61622dd845105c7bf2
[]
no_license
sfagade/python_ramp-up
b068c5bff0c48328f1596b6ff6f123520ca9d11d
0eaa41a86353b48ad3fa482b387e819977c27435
refs/heads/master
2022-12-29T01:03:53.982925
2020-10-09T20:50:40
2020-10-09T20:50:40
289,117,000
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
import folium import pandas data = pandas.read_csv("Volcanoes.txt") lon = list(data["LON"]) lat = list(data["LAT"]) elev = list(data["ELEV"]) def color_producer(elevation): if elevation < 1000: return "green" elif 1000 <= elevation < 3000: return "orange" else: return "red" # ma...
[ "sfagade@gmail.com" ]
sfagade@gmail.com
14592b2360ff1e4a73c58ab9b09115d28d53b208
9ba3b695fb56cce1a71a6aeb906bdf022d18fb37
/Actividades/AC03/archivos.py
f4ff7b705afb4f2fd5a4e9d6b297bbcbbb3ab691
[]
no_license
Gaonuk/IIC2233-Gaonuk
6b44bdf4fb722f5bc86fdd57260863c8c5b0f123
30d7bf836c4987de321deda0ea8fe0bff461bd98
refs/heads/main
2023-01-01T14:25:27.025071
2020-10-19T23:42:22
2020-10-19T23:42:22
305,539,557
0
0
null
null
null
null
UTF-8
Python
false
false
4,685
py
from yoNube import descargar from decodificador import decodificar from collections import namedtuple import os # ------ ESTRUCTURAS ------ Cancion = namedtuple("Cancion", ["id", "nombre", "id_artista", "duracion"]) Artista = namedtuple("Artista", ["id", "nombre", "genero", "ano_formacion"]) Usuario = na...
[ "rodrigogaonagonzalez@gmail.com" ]
rodrigogaonagonzalez@gmail.com
216a68959b056f2c905551380a0307e8239cc347
fc267c989485555d8cf9c857c150c38fe7e7ee4c
/bank/urls.py
b7e1bfa5159a897f751c361128df84d157fd7633
[]
no_license
oladejioluwaseun/Django-task-using-bank-instead-of-blog
fe8be45b26675c6fd16407e30384a874eba3852d
d52c66bb588eb5b0914f30def0bd788d05470922
refs/heads/main
2023-06-16T23:42:24.392683
2021-07-07T19:17:31
2021-07-07T19:17:31
384,074,816
0
0
null
2021-07-08T09:41:04
2021-07-08T09:41:03
null
UTF-8
Python
false
false
673
py
from django.urls import path from .views import ( BlogListView, BlogDetailView, BlogCreateView, BlogUpdateView, BlogDeleteView, add_comment_to_post, ) urlpatterns = [ path('post/<int:pk>/delete/',BlogDeleteView.as_view(), name='post_delete'), path('post/<int:pk>/co...
[ "taiwobukola98@gmail.com" ]
taiwobukola98@gmail.com
e00d2bd87c9b7d1500ef6138338e98dbd89536ac
595f2d2156efa97da6f667b01375c6f9176184be
/BUUCTF/Ubuntu16.04/bad_exp.py
a4d7877406a8235d2531783f7f2af9954a67489b
[]
no_license
R4ilgun/my_pwn
466f6b7d3dde2d6b9ccc2a56fcef97b24247b123
16ce89f15da6f5440d42c97f045fda44c609c904
refs/heads/master
2020-12-22T05:18:52.645593
2020-08-16T07:15:57
2020-08-16T07:15:57
236,680,643
2
1
null
null
null
null
UTF-8
Python
false
false
861
py
#! /usr/bin/python import sys from pwn import * from LibcSearcher import * sl = lambda x:p.sendline(x) sd = lambda x:p.send(x) sda = lambda x,y:p.sendafter(x,y) sla = lambda x,y:p.sendlineafter(x,y) rv = lambda x:p.recv(x) ru = lambda x:p.recvuntil(x) ia = lambda :p.interactive() context(arch="amd64",os="Linux",log_...
[ "noreply@github.com" ]
R4ilgun.noreply@github.com
3e3ddce1f52bf0d064e62d2045cc7877ad848187
923a3f7be34e10931936823df0740d5d845d26e5
/Courses/Workshop2007/ME2/example2-nps-meow.py
3a1cddff5066679cab4ca870d06a51b0f1acb030
[]
no_license
o-smirnov/public-documents
0572ccef548a321e70b8cad2e2f2c249926f017d
9e758ddf375c0f748376d2e37d0fea9661ed7c37
refs/heads/master
2021-01-15T23:40:03.183127
2015-06-04T17:18:22
2015-06-04T17:18:22
31,723,928
1
0
null
null
null
null
UTF-8
Python
false
false
4,058
py
# standard preamble # #% $Id$ # # # Copyright (C) 2002-2007 # The MeqTree Foundation & # ASTRON (Netherlands Foundation for Research in Astronomy) # P.O.Box 2, 7990 AA Dwingeloo, The Netherlands # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public Lic...
[ "osmirnov@gmail.com" ]
osmirnov@gmail.com
f11fccf1de6f0337bc9f35255087e07d844ab455
e33c95326f6800d435125427a73460a009532a12
/kotti/tests/test_node.py
2b37ce96b1532b6dd48906b0dc6308fb2ca9c3ba
[ "BSD-3-Clause-Modification" ]
permissive
stevepiercy/Kotti
839269f6dc1c45645e5d868b0f17e27bea04b5ac
45c1627ae9fedbc24d1b817048e153f4d7a2d06d
refs/heads/master
2021-01-17T21:33:02.795714
2012-03-17T22:06:04
2012-03-17T22:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,835
py
from pyramid.security import ALL_PERMISSIONS from sqlalchemy.exc import IntegrityError from sqlalchemy.exc import SQLAlchemyError from kotti.testing import UnitTestBase class TestNode(UnitTestBase): def test_root_acl(self): from kotti.resources import get_root root = get_root() # The root...
[ "daniel.nouri@gmail.com" ]
daniel.nouri@gmail.com
53874b617f016a03515b45a9cf28f4a43fd997f7
d5529b54c8ff086f1fdb23e68825b4551feb3673
/ModbusRTUMasterBlocksGenerator.py
faf9ad749023f8c83cd155bf4ccbbf125e5555d8
[]
no_license
SokolovRV/ModbusRTU
e0693864e8cb27346568e444886b2d5e3aee46ba
7ddc9aee65bf0e6ca75dc654f6caaa476faec2c8
refs/heads/master
2021-07-12T21:12:54.925822
2020-07-24T07:23:40
2020-07-24T07:23:40
170,082,041
11
5
null
null
null
null
UTF-8
Python
false
false
7,266
py
from jinja2 import Template input_module = Template(""" module data_mux_{{t_adress}}_{{t_prefix}} ( input clk, input [7:0] selector, {%- for n in range(t_n_ports_w) %} input [15:0] data_{{n+t_first_reg_w}}_{{t_adress}}, {%- endfor %} input rese...
[ "sokolov.inf@gmail.com" ]
sokolov.inf@gmail.com
e4ad5ddfc19faf828896a5390b7e32dcbca21979
78158f942bd0e223f11016457a494c76b7a689b4
/plugins/SocialGraph/config.py
f7b5039e8640b8d83d85ce4a1a1076001ef8f51f
[]
no_license
frumiousbandersnatch/supybot-plugins
ad607dd22529372d72c7dc0083100b5b5cdb719b
8c7f16c0584bdf393a56dccff6b35a83142e5ece
refs/heads/master
2021-01-17T05:46:10.917776
2020-03-12T11:42:20
2020-03-12T11:42:20
6,639,759
0
1
null
2020-03-12T11:42:22
2012-11-11T15:21:36
Python
UTF-8
Python
false
false
517
py
import supybot.conf as conf import supybot.registry as registry def configure(advanced): # This will be called by supybot to configure this module. advanced is # a bool that specifies whether the user identified himself as an advanced # user or not. You should effect your configuration by manipulating th...
[ "ehs@pobox.com" ]
ehs@pobox.com
015eb0ac14909f10bea1681372d9aa89d4b289ac
5dde29075e35f8a05f616f29bf4571f8dae0524b
/tests/test_base.py
08acaf8d01905203335449f280212a0587a42022
[ "BSD-3-Clause" ]
permissive
ferringb/pkgcheck
a78d88af09f73373ee1fdd2c4055d5fe113c2807
b4bf5585a2ecfc4de1a8fa29e1e00303330f0dc3
refs/heads/master
2023-01-18T20:56:00.456332
2021-09-26T22:05:57
2021-09-26T22:05:57
230,175,990
0
0
BSD-3-Clause
2019-12-26T01:48:29
2019-12-26T01:48:28
null
UTF-8
Python
false
false
2,382
py
from itertools import chain from unittest.mock import patch from pkgcheck import base from pkgcheck.base import ProgressManager class TestScope: def test_rich_comparisons(self): assert base.commit_scope < base.repo_scope assert base.commit_scope < 0 assert base.commit_scope <= base.repo_...
[ "radhermit@gmail.com" ]
radhermit@gmail.com
d42c47da828d77723a5a248917170553ed107bf9
a49c1d05915bddbf0f427fe186eb122ad2ee4ede
/projects/views.py
cc753ffafe1f55f1a03e204751b116325182d875
[]
no_license
thereactgirl/django-portfolio
b07419b3ac8efef2df89af7974e67a1fc5d1b315
731327bb7821756493437b1bc6b4ae9a01f346d9
refs/heads/master
2022-12-01T09:35:48.993151
2020-08-10T07:08:03
2020-08-10T07:08:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
from django.shortcuts import render from projects.models import Project # Create your views here. def project_index(request): projects = Project.objects.all() #query for projects context = { 'projects': projects #context dictionary } return render(request, 'project_index.html', context) # must ...
[ "rleslie1015@gmail.com" ]
rleslie1015@gmail.com
691b4ee48d114a28ea256f9028708f9f690df351
0b616edf70bbc094cd48681483821d063b3e2560
/Ch03/3-3.py
0ce9b2bb2ba8da6637da100da94ea6e3f842c71e
[]
no_license
fkrhtmq123/Python
c7cf7c8ccc34707acae3112cc2f3960a6c92bbb7
b78919978526a0b7732cf5c2f6a6e4485f89d187
refs/heads/master
2022-11-15T07:28:06.817912
2020-07-13T05:18:23
2020-07-13T05:18:23
274,057,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
""" 날짜 : 2020/06/23 이름 : 김동욱 내용 : for문 p138 """ # for # 리스트를 이용한 for nums = [1, 2, 3, 4, 5] for n in nums: print('n :', n) for a in ['tiger', 'lion', 'eagle', 'bear']: print('a :', a) # 튜플 이용한 for for n in (1, 2, 3, 4, 5): print('n :', n) # range 함수를 이용한 for for num in range(5): print('...
[ "fkrhtmq123@naver.com" ]
fkrhtmq123@naver.com
a10b50e11d524957d20b64e2e00c60711eb9a684
c066978635abb98e225918ff0bdaa31329439e3c
/python/1-string/451-frequencySort.py
702acddee3122ca304f3f17fa5c0ee8f8f583c5e
[]
no_license
thangln1003/python-practice
7281cb0d4623546cbdae6eb672e204a3197e3a7d
85304503181fa1e7916426ea6945f5adc0ce1934
refs/heads/master
2021-07-05T06:47:49.637915
2021-04-04T08:34:59
2021-04-04T08:34:59
229,037,389
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
""" 451. Sort Characters By Frequency (Medium) https://leetcode.com/problems/sort-characters-by-frequency/ Given a string, sort it in decreasing order based on the frequency of characters. Input: "tree" Output: "eert" Explanation: 'e' appears twice while 'r' and 't' both appear once. So 'e' must appear before both 'r...
[ "thangln1003@gmail.com" ]
thangln1003@gmail.com
014367303f6c49de1800e7dd7221a17535c2fe9d
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/notifications/__init__.py
b9cc97c7b85c60cb5c0c671c1641c792f00287da
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
#Embedded file name: notifications\__init__.py __author__ = 'aevar'
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
83778c8e64b830d0fe06f3a95c4fef5f372e9f32
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy942.py
0dd1ec7427375daac5006c408b415f74f1c13ea9
[ "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
3,893
py
# qubit number=5 # total number=37 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
34c3fdd1c045b1209e80a5701469eaae26b8808e
95ed9b1002e760d10cad2b5b15d73e3360b9ae0a
/dive-into-python3/os_path.py
b48800e9b8216aa13c93cb8052e36deb95f54611
[ "MIT" ]
permissive
richard-ma/weekendProject
609a07393bc51b452218ed7bf76cfcf6ec949cff
4880e4c8a8046d8e6c3dedcbc6ce26e0862ada72
refs/heads/master
2023-08-16T12:28:39.463062
2023-08-12T04:48:03
2023-08-12T04:48:03
120,096,496
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
#!/usr/bin/env python # encoding: utf-8 import unittest import os class TestPath(unittest.TestCase): def setUp(self): self.work_dir = '/etc' def tearDown(self): pass # 获得当前工作目录和设置当前工作目录 def test_getcwd(self): os.chdir(self.work_dir) self.assertEqual( ...
[ "richard.ma.19850509@gmail.com" ]
richard.ma.19850509@gmail.com
60d7a6f64029d21b7467ff43512efac0d23c5213
35c20226eea3dd11b5b19f226400d6a1f38fa362
/ctrace/experiments.py
aaa5be6d694054b9902d87f3fd72f12632774fa5
[]
no_license
Ann924/ContactTracing
131457ad3c540ac65d3e78920d6f97bed552e641
fccae40b795be624a1401a8fe658a5c3335b8c4c
refs/heads/main
2023-02-27T04:19:51.723237
2021-01-26T03:09:59
2021-01-26T03:09:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,301
py
from time import perf_counter from .dataset import load_sir from .solve import * from .utils import min_exposed_objective, indicatorToSet TrackerInfo = namedtuple("TrackerInfo", ['value', 'sol', 'isOptimal', 'maxD', 'I_size', 'v1_size', 'v2_size', 'num_cross_edges']) def time_trial_tracker(G: nx.graph, I0, safe, cost...
[ "thezachzhao@gmail.com" ]
thezachzhao@gmail.com
eadeffec247f5ef8290283ceb4722d0e91036a41
518e9cbf940b5addb2194a96f277050c44963121
/Python/Practices/linked_list/partition.py
dd89c3e7c54f1d5f265cbb8007df97bd6e1324d9
[]
no_license
Mr-Perfection/coding_practice
58322192b76a2ab70c4ae11cd05b3bf993272c52
41df85292a151eef3266b01545124aeb4e831286
refs/heads/master
2021-01-11T02:24:26.234486
2017-04-11T00:21:10
2017-04-11T00:21:10
70,965,532
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
""" Partition: Write code to partition a linked list around a value x, such that all nodes less than x come before all nodes greater than or equal to x. lf x is contained within the list, the values of x only need to be after the elements less than x (see below). The partition element x can appear anywhere in the "righ...
[ "sungsoolee0127@gmail.com" ]
sungsoolee0127@gmail.com
65e7db376a133d0dfe36fdef08d21cf36dde8544
3d33351066af15c2ff96af824008ddb2fdb8b36e
/Week 5/week 5 handouts/animalTagged.py
075d049b3361a5d12924c48df50444ad8e1b4fe3
[]
no_license
ElAwbery/MIT-6.00.1x
90a638c668c4a55211b67bdef686d1e03e4623c7
27db39bdaaa97514621692d589bbbc50f5b8f567
refs/heads/master
2021-10-30T10:14:37.007697
2019-04-26T05:03:38
2019-04-26T05:03:38
122,979,335
3
2
null
null
null
null
UTF-8
Python
false
false
1,704
py
# -*- coding: utf-8 -*- """ Created on Sat Jun 11 11:14:45 2016 @author: ericgrimson """ class Animal(object): def __init__(self, age): self.age = age self.name = None def get_age(self): return self.age def get_name(self): return self.name def set_age(self, newage): ...
[ "noreply@github.com" ]
ElAwbery.noreply@github.com
c7a87c658bc66890763e3bc43881671cab053525
8a8df373bc13407d809dee93d994f95db4544cfc
/day0210/tk1.py
6c39720ee261deed36fe992629b8b33c2772f6ae
[]
no_license
karakazeviewview/PythonTraining
b351e6f6a0fb89f9dee9e2304776e953ad8d6325
f4d845a271f12b3055ac8df2b332e31a5e0a320d
refs/heads/master
2023-03-04T07:17:41.744984
2021-02-12T05:50:29
2021-02-12T05:50:29
338,234,944
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
import tkinter as tk def bt_click(): btn['text']='Clicked!' root=tk.Tk() root.title('My Window') #windowタイトルを設定 root.geometry('600x400') #windowの大きさを設定 #文字出力のためのラベルを作成 #ボタンを作成 btn=tk.Button(root,text='Hello World!',font=('Arial',50),command=bt_click) #fontはタプル #labelを配置 btn.place(x=100,y=100) root.mainloop()
[ "mitsuru.matsuo.great@gmail.com" ]
mitsuru.matsuo.great@gmail.com
6076b1ed3a2cc19ad47bd0a1b97182735fd9e88b
f1fb9cca8152e53aa15bb49b5238f3d603b787b9
/LeetCode/lc_108_ConvertSortedArrayToBinarySearchTree.py
b210c494716d9033d929723a035a3bae7e3bde50
[]
no_license
albertmenglongli/Algorithms
3a636ab9bb1655a6d4caf5e6e250de6c1d7f3ee8
59bb0715f705be5c2edc410a93913ab391c5f7ce
refs/heads/master
2022-07-03T05:07:37.840785
2020-07-16T13:48:57
2020-07-16T13:48:57
49,275,329
6
2
null
2022-06-21T21:16:33
2016-01-08T14:05:09
Python
UTF-8
Python
false
false
545
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def sortedArrayToBST(self, nums): """ :type nums: List[int] :rtype: TreeNode """ if not nu...
[ "albert.menglongli@gmail.com" ]
albert.menglongli@gmail.com
713b2d179d79e39323efb1afe0dd75c666facb1f
15a95ac074649b45fd2b4fbf3b831ff7de1679fa
/algorithms/Recursion/merge.py
231b9fd4db64fab61bdb7b4d5d33c7efb14db30b
[]
no_license
tjforeman/cs-notes
bdffdaf523454b60abd85ac88c45a14ea61a3dc5
b28161bf0daa718c9f2524cb05ca3e4803f7faed
refs/heads/master
2020-08-30T08:38:19.222153
2019-12-24T04:50:48
2019-12-24T04:50:48
218,321,564
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# Merge sort basics # Step 1: split into smaller lists # [5 9 3 7 2 8 1 6] # [5 9 3 7] [2 8 1 6] # [5 9] [3 7] [2 8] [1 6] # [5] [9] [3] [7] [2] [8] [1] [6] # step 2: merge # [5] [9] [3] [7] [2] [8] [1] [6] # [5 9] [3 7] [2 8] [1 6] # [3 5 7 9] [ 1 2 6 8] # [1 2 3 5 6 7 8 9]
[ "tylerforeman92@gmail.com" ]
tylerforeman92@gmail.com
5e126d6672edc4ca6de3f1fef85ac19444ff9145
6bcc99ad1bce4216b6d89eda661904dc69e705db
/05/poi_id.py
f904fa99c298394a778e10807fe53d9e80f3e0e8
[]
no_license
kiquin/DAND
476534d4a869c97c8892d6b753d8e12bb4b7e9a0
f72125db2f3f35e16c7c0db2c965b4a0172c0a5a
refs/heads/master
2022-09-16T00:37:01.746208
2022-08-25T17:01:21
2022-08-25T17:01:21
147,237,533
1
0
null
null
null
null
UTF-8
Python
false
false
5,726
py
#!/usr/bin/python import sys import pickle sys.path.append("../tools/") from feature_format import featureFormat, targetFeatureSplit from tester import dump_classifier_and_data ### Task 1: Select what features you'll use. ### features_list is a list of strings, each of which is a feature name. ### The first feature ...
[ "noreply@github.com" ]
kiquin.noreply@github.com
435fae641c64ab154adb9a9dbc79b24ff37a76e9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03254/s777543439.py
f376be6a40bddef486d5505eef6113f9426e6c02
[]
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
240
py
N,x = map(int,input().split()) a = sorted(list(map(int,input().split()))) s = [sum(a[:i+1]) for i in range(N)] if s[-1] == x: print(N) exit() else: for i in range(N-1): if s[i] > x: print(i) exit() print(N-1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b0b8d6fb1b86beeccf8f4efdab45665d50edf3ee
7dcc6d0eb866b3315bf729ec00dfd71db6847ce2
/wiserSmartAPI/__init__.py
2d1ef8213473d5e86d310c9c1a88e8100a5edee8
[ "MIT" ]
permissive
lucguillotin/wiser-smart-api
fa6a76ae77595ed03536f4ca224b2fa9e5993e02
7648f739e188f426449dbefaf8de502dc0290a17
refs/heads/master
2022-04-29T13:09:30.067664
2020-04-24T20:44:13
2020-04-24T20:44:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
name = "wiser-smart-api"
[ "thomas.fayoux@gmail.com" ]
thomas.fayoux@gmail.com
ae9423398d9515c9300c7a6dccb895c0cea16b93
1f84339ba329c2bfaf51b536bf53e386ff2f7f9c
/AlienInvasion/settings.py
fa40d67ca49baa04e4802565f5b2066b9ee1f069
[]
no_license
samar2788/Python_2021
d3853cea07259666f343c4bfd882b832eaed98e6
df204f8e83a373c8b79e3222c7adbf3e2765549d
refs/heads/main
2023-05-14T04:50:11.048899
2021-06-05T13:17:36
2021-06-05T13:17:36
369,771,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
class Settings: '''A class to store all settings for Alien Invasion.''' def __init__(self): '''Initialize the game's static settings.''' # Screen settings self.screen_width = 1200 self.screen_height = 800 self.bg_color = (230, 230, 230) # Ship settings # ...
[ "samarbhargava@yahoo.co.in" ]
samarbhargava@yahoo.co.in
2e6fad123df7e365f68f89ed21ca82427560c3f8
489270b3d9655e8fa2a36d024db413bcc656c6b7
/drop_down_menu.py
2e931d4711ab6498fde6f2df8b82084a73cb3c07
[]
no_license
pawantilara/Tkinter-programs
cc3bd333933ebeeeb1b70a3aaf0f19284ab82ae2
2938d2a9dc76b01692328b1460bc6e50df028f59
refs/heads/master
2020-03-29T02:15:16.700331
2019-03-12T09:22:07
2019-03-12T09:22:07
149,426,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
from tkinter import * from tkinter import messagebox from tkinter import ttk def quit_app(): root.quit() def show_about(event=None): messagebox.showwarning("About","This program is created on 16/16/18") root=Tk() the_menu=Menu(root) file_menu=Menu(the_menu,tearoff=0,bd=2) file_menu.add_command...
[ "noreply@github.com" ]
pawantilara.noreply@github.com
c58e9db45a8a23e62d361f6e8dbea681148a9a14
cc7bbdbb22cb6f7e7916388a5ee8218bc8ffa158
/Python3/Django/StudentsDemo/myApp/views.py
bdbfe07a86d02fa7d185625413201379ac96e973
[ "MIT" ]
permissive
youngqqcn/QBlockChainNotes
a816e067642f48a6da38b624663254b4016ec496
c9c143eaba6c06e3cee866669ec286e4d3cdbba8
refs/heads/master
2023-04-03T23:31:05.585545
2023-03-30T09:29:07
2023-03-30T09:29:07
155,657,459
37
15
MIT
2023-03-06T23:09:32
2018-11-01T03:33:11
JavaScript
UTF-8
Python
false
false
13,077
py
from django.shortcuts import render, redirect # Create your views here. from django.http import HttpResponse from .models import Grades, Students, StudentsManager from django.db.models import Max, Min, Sum, Avg def index(request): return HttpResponse("Hello, world. this is index page") def detail(request, num):...
[ "youngqqcn@163.com" ]
youngqqcn@163.com
eeb932461dc3471c7abe683bfa4e33bb5d412efe
bb6abd0b31d015e6e843d9bae92dd6650fce9313
/FIB.py
b41adebd8ef71d84cb4758b4b0d807f29687bb4e
[]
no_license
TheNoiy11/2016-Python
57c887d587db7bd097531dbc4ba4ab8fbbcaae09
dcc2eb65b297498bfcd335accb9510356e8e9976
refs/heads/master
2021-04-28T23:48:07.801210
2016-12-31T05:43:43
2016-12-31T05:43:43
77,726,886
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
def fib(int): list = [0,1] if int <= 0: return [] elif int <= 2: return list[:int] elif int > 2: for i in range(1,int-1): list.append((list[i]+list[i-1])) return list while True: x = int(input("Enter an integer: ")) if x < 0: break print() print(fib(x)) print()
[ "noreply@github.com" ]
TheNoiy11.noreply@github.com
4db9fec7ea82de57582b7230e40c34ee46474968
b41ccdd8a6bc9f1cb4a0f1fa4776eaaceba9b59b
/bansoko/graphics/__init__.py
65b27549fde98337c9b8fbad88a36d724c1380f1
[ "MIT" ]
permissive
mseyne/bansoko
0d75f56cd2d6dcfdfd63a1c7bc28e24e6771a988
463a7b5785636ea797d049eb8e4a3d91306d7dc2
refs/heads/master
2023-02-03T18:06:29.933164
2020-12-24T00:44:50
2020-12-24T00:44:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,733
py
"""Module exposing graphic related classes and routines.""" from dataclasses import dataclass from enum import unique, Enum from functools import total_ordering from typing import List, Optional, Tuple, Generator TILEMAP_WIDTH = 256 TILEMAP_HEIGHT = 256 TILE_SIZE = 8 IMAGE_BANK_WIDTH = 256 IMAGE_BANK_HEIGH...
[ "kfurtak1024@gmail.com" ]
kfurtak1024@gmail.com
3bdc5c2b23fa05965fe948f62dc57d22944841e9
c7ed386ee16aa762fea8a6e159a498ace4a7b0f8
/venv/bin/mailmail
ae0f15adba14ae9a8b251927751740bb69864996
[]
no_license
Frostpeters/spider
264521cbcb4c27de9bde7d2eead585ce53b50f3e
81ecb76c18a08dae998b813553bcef5bf8c3695c
refs/heads/master
2023-01-18T21:01:16.176669
2020-08-30T16:13:22
2020-08-30T16:13:22
284,435,874
0
0
null
2020-08-30T16:13:24
2020-08-02T10:05:06
Python
UTF-8
Python
false
false
268
#!/home/frost/PycharmProjects/scrapy_project/venv/bin/python # -*- coding: utf-8 -*- import re import sys from twisted.mail.scripts.mailmail import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "frostpeters101@gmail.com" ]
frostpeters101@gmail.com
bdc2849d7e72c4c8e3705ed93b04851cb37cb4ba
d33eed067b2b8712312449568821368a057b7a01
/Project1/sql_queries.py
d59ca66d145ecbea95069ff67d713f909082d12a
[]
no_license
sgouda0412/udacityDataEngNanoDeg
d61d23f7fedaaf08450caeb3e2af6cb15ac194bb
622a7f8e0d0156c79ceb095e842458f0db233c4d
refs/heads/master
2023-03-21T16:01:33.687589
2020-12-08T00:30:57
2020-12-08T00:30:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,702
py
# DROP TABLES songplay_table_drop = "DROP TABLE IF EXISTS songplays" user_table_drop = "DROP TABLE IF EXISTS users" song_table_drop = "DROP TABLE IF EXISTS songs" artist_table_drop = "DROP TABLE IF EXISTS artists" time_table_drop = "DROP TABLE IF EXISTS time" # CREATE TABLES songplay_table_create = (""" ...
[ "noreply@github.com" ]
sgouda0412.noreply@github.com
cf81f7f02c8e5bd99840dcdbdcde1acf8539439e
4c7bec048e4e1a8676d83d73488eaf9a532d1be2
/stanCode_Projects/boggle_game_solver/boggle.py
ea43e60390faee5ae1a677ba663253270e29281d
[ "MIT" ]
permissive
yutaotseng/sc-projects
32601b06fb16ae50784093f91898bf11a379daa5
67824242502a813e32f5c3a4bf04e0bafeded174
refs/heads/main
2023-04-22T07:46:29.291722
2021-05-03T23:58:28
2021-05-03T23:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
""" File: boggle.py Name: ---------------------------------------- TODO: """ # This is the file name of the dictionary txt file # we will be checking if a word exists by searching through it FILE = 'dictionary.txt' # Global variables DICTIONARY = {} # The dictionary that could be used to determine whether the word e...
[ "noreply@github.com" ]
yutaotseng.noreply@github.com
f9af3b9879359fec58bec1214e818391aa80651f
ca4a863486a63698af9d4e12f06680454564ebd4
/wen/novel/novel2.py
c4ddfdf5a69394f93b52a7d1ced0339db1ff65b8
[]
no_license
yiliqsmy/pythonsrc
39874ecf9dce8d428477a19bf92cc8e42f2d035e
651166c5b5f8edb4910dcf8f52d2b311870151ae
refs/heads/master
2021-01-22T02:52:52.969355
2018-04-16T08:12:13
2018-04-16T08:12:13
102,255,896
0
0
null
null
null
null
UTF-8
Python
false
false
1,822
py
#!python3 #coding=utf-8 #可用 #爬取小说--武侠乐园内容 #无章节名称 from bs4 import BeautifulSoup import urllib.request import re import time start =time.clock() title=[] #小说名 href=[] #链接 #url = 'http://www.biquge.tw/26_26491/' url = 'http://www.xs.la/153_153933/' response = urllib.request.urlopen(url) html_cont=response.read() ...
[ "noreply@github.com" ]
yiliqsmy.noreply@github.com
bebb9050c6ad3e53c38b82beaa8f92cc5565661d
d0d333c995766c35e10c8bcc8ecffdf167dad93c
/wavefront_api_client/models/access_control_list_write_dto.py
0350d2ca722b0a40379ab28b8a66a32c74ecf3de
[ "Apache-2.0" ]
permissive
weisinchong-okta/python-client
283cc67e49a56f50e41ee6f6b1c9e5dae9b33cb0
c211f607f2182ed687e339a403d82408f08291b5
refs/heads/master
2022-12-20T18:02:42.704602
2020-09-17T15:16:20
2020-09-17T15:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,443
py
# coding: utf-8 """ Wavefront REST API <p>The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.</p><p>When you make REST API calls outside the Wavefront REST ...
[ "svc.wf-jenkins@vmware.com" ]
svc.wf-jenkins@vmware.com
922885bccc22f2688984318bdc19be7a112e2453
c7e765a9bed33d3bfb21774e3995bf4a09e04add
/adminmgr/media/code/config/reducer.py
7ac6b3cdc07b7dc35ae5dc456f15d4c509e2e397
[ "Apache-2.0" ]
permissive
IamMayankThakur/test-bigdata
13dd2ac7fb76c9baed6c3a0aa943057a22e2d237
7f507918c7bec31c92eedcd94491a83486623049
refs/heads/master
2022-05-03T00:59:44.127494
2022-02-10T19:50:16
2022-02-10T19:50:16
201,585,028
10
4
Apache-2.0
2022-04-22T23:39:45
2019-08-10T05:34:09
Python
UTF-8
Python
false
false
680
py
#!/usr/bin/python import csv from operator import itemgetter import sys global current_count = 0 global current_key = "" for line in sys.stdin: line = line.strip() line_val = line.split("\t") print(libe_val) key, val = line_val[0], line_val[1] try: count = int(val) except ...
[ "ubuntu@ip-172-31-44-5.ec2.internal" ]
ubuntu@ip-172-31-44-5.ec2.internal
156d7ffb716e8ce8cee4b9395a152b8fc5bbb914
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/EGL/KHR/platform_wayland.py
d385a0144d17f34fc2c79b6cca75b21e88003881
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
'''OpenGL extension KHR.platform_wayland This module customises the behaviour of the OpenGL.raw.EGL.KHR.platform_wayland to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/KHR/platform_wayland.txt ''' from OpenGL.raw.EGL.KHR.platfo...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
9a4949accaca75d37fe339320fedcbb5a7ca795e
d94938f9c2eff44eebac9dbfec806f2a997d7642
/ascii_art_generator.py
a312307b625b80b424c8adc2b673bdae4bc2f68e
[]
no_license
skmhrk1209/AsciiArtGenerator
6ecfc4d8c6c7593e7a321eabcbffe79d98deec06
3e6f386eece6fa6b459e533775a635d432ad4a12
refs/heads/master
2020-03-30T17:18:35.606449
2018-10-03T21:23:47
2018-10-03T21:23:47
151,449,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
import numpy as np import cv2 import sys import argparse parser = argparse.ArgumentParser() parser.add_argument("--filename", type=str) parser.add_argument('--width', type=int, default=100) parser.add_argument("--height", type=int, default=100) parser.add_argument('--exponent', type=float, default=2) parser.add_argume...
[ "hirokisakuma@HirokinoMacBook-puro.local" ]
hirokisakuma@HirokinoMacBook-puro.local
78cbd4ec39cc60e94d371042f90b02430a79308e
fc164822518577b909c8c2b7c4c679c7086b49a7
/esha_sketch/esha_sketch.pyde
fe38ab9d625ef8ed7d50572434d80cb23c9d6b5e
[ "MIT" ]
permissive
alechapp/Processingcodes
383ff82524d9c29eebedc4bdcac2f98f328307e1
883c4b2b98382ff2772962b141beea0d2df0397b
refs/heads/master
2020-12-11T15:29:27.214183
2020-01-28T15:15:11
2020-01-28T15:15:11
233,885,520
0
0
null
null
null
null
UTF-8
Python
false
false
651
pyde
delta = 5 x=450 y=450 def setup(): size(900,900) background(128) def draw(): global delta global x, y strokeWeight(5) px = x py = y line(x,y,x,y) if keyPressed : if keyCode == UP : y = y - delta if keyCode == DOWN : y = y + del...
[ "1935096@champlaincollege.qc.ca" ]
1935096@champlaincollege.qc.ca
92a7c11b7cc70da8e097808ca9a4fc2975c90476
5e23ea6415d15121ce42f027e7f6b47b44f0dfc3
/ch05_plucker_test.py
8ecdd69df01582840c8c67e4970651bf6e63cd2d
[]
no_license
openstake/hacking_rss_and_atom
e165419e8e3aee8ff71cc82ff50479b0a47fd335
a925c3bd9580c2d0463e4b645d2a84dec0109818
refs/heads/master
2021-01-16T19:04:12.635945
2008-11-02T01:41:18
2008-11-02T01:41:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
#!/usr/bin/env python """ ch05_plucker_test.py Take the Plucker Distiller out for a test drive. """ import sys, time import PyPlucker.Spider HTML_FN = "http://www.decafbad.com" PLUCKER_DIR = "." PLUCKER_TITLE = "Sample Plucker Document" PLUCKER_FN = "plucker-%s" % time.strftime("%Y%m%d-%H%M%S") PLUCKER_BPP...
[ "l.m.orchard@pobox.com" ]
l.m.orchard@pobox.com
175cfa7ed4443434932254d51d0798af3a098976
ce2df66c61ab634043ceeacc8678cd5fd94f2e77
/CS4701/DQN/play.py
a01f8e7fc55938d5afa89e051852a61547ac7a44
[]
no_license
bayoumi17m/CS4701_Final_Proj
6ced6108866d71d1b16e52ce7bbc67ca5d665847
4c287f7866263373d45a6df9965ac8149c0cc3c1
refs/heads/master
2020-04-10T19:45:11.599289
2018-12-10T22:46:36
2018-12-10T22:46:36
161,245,961
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
import matplotlib matplotlib.use("Agg") from DQN import DuelingDQNPrioritizedReplay import numpy as np import matplotlib.pyplot as plt import tensorflow as tf import gym from gym.wrappers import Monitor import warnings import os import time def play(agent,env): load_path = "./tmp/PRmem/model.ckpt" agent.load(...
[ "git" ]
git
269d5c736ca6558cbb4c1639d58642d37ac50aa6
3ad49ad1106438bc7bd9e7872e3b1ca066c3bffa
/Demo_w3/Demo_w3.py
d044202fe8a49e07697c080368311cdd365fc5e9
[]
no_license
Anvilondre/opencv-demos
606952be5b1211ec98fa07cc1537d986e7eb52c4
584b382a6d6102d69ca2d9e98957095cdd7f1794
refs/heads/master
2022-12-11T15:09:09.566455
2020-09-07T09:49:25
2020-09-07T09:49:25
286,213,902
1
0
null
null
null
null
UTF-8
Python
false
false
4,136
py
import time import cv2 import telebot from itertools import cycle from data.Token import token from glob import glob bot = telebot.TeleBot(token=token) def write_counter(): global counter with open('data/counter.txt', 'w') as w: w.write(str(counter)) @bot.message_handler(content_types=['photo']) d...
[ "buracov.r@gmail.com" ]
buracov.r@gmail.com
7483e278a896a2948b61ea14a2dc2de8518a7668
74cef976fc2550e9569249ed0453f9940848779f
/litedb/utils/io.py
342149be3fd108e119a403a27542d8c7d0e1bdac
[ "MIT" ]
permissive
JonathanVusich/litedb
3c2383ddd4d332c84cb68d543f81702b20b10aa0
c750b9045c353b7f57dddb028410ec67f8b23a46
refs/heads/master
2021-06-29T17:23:49.730232
2020-10-24T20:07:08
2020-10-24T20:07:08
178,241,331
17
4
MIT
2020-10-24T20:07:09
2019-03-28T16:22:55
Python
UTF-8
Python
false
false
608
py
import os import shutil import stat def _remove_readonly(func, path, _): """Clear the readonly bit and reattempt the removal.""" os.chmod(path, stat.S_IWRITE) func(path) def rmdir(directory): """Removes the given directory entirely.""" shutil.rmtree(directory, onerror=_remove_readonly) def emp...
[ "31666175+JonathanVusich@users.noreply.github.com" ]
31666175+JonathanVusich@users.noreply.github.com
ef0bb93629487c699f237c6e02ba5d17751c0818
b39b8e103fb07378dc267b50b2617319a5017c7d
/backend/4. TokenAnalysis/Main - TokenAnalysis.py
22bb49e9896cc6942d8b81b6c9bca50e73f100f0
[]
no_license
mirkolai/mappa.controlodio.it
386995d7e9a150b2d91dddcb0a54616190803d99
751bc35810866c38714170df4693589cc5bf3c88
refs/heads/master
2023-06-29T21:01:24.471836
2021-07-29T15:03:46
2021-07-29T15:03:46
388,529,437
0
0
null
null
null
null
UTF-8
Python
false
false
7,227
py
from nltk import word_tokenize __author__ = 'mirko' import pymysql import traceback import logging import os,sys,inspect import re import nltk nltk.download('stopwords') #nltk.download('punkt') from nltk.corpus import stopwords currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) pa...
[ "mirko.lai.1987@gmail.com" ]
mirko.lai.1987@gmail.com
dd18cdfbe69501f2406c26d36533b743dac44f83
b7eed26cf8a0042a61f555eed1e9bf0a3227d490
/students/semko_krzysztof/lesson_03_functions/negative_exponent.py
b4640e7d2c59c35ccf9a141a0a0f8dab95daf156
[]
no_license
jedzej/tietopythontraining-basic
e8f1ac5bee5094c608a2584ab19ba14060c36dbe
a68fa29ce11942cd7de9c6bbea08fef5541afa0f
refs/heads/master
2021-05-11T11:10:05.110242
2018-08-20T12:34:55
2018-08-20T12:34:55
118,122,178
14
84
null
2018-08-24T15:53:04
2018-01-19T12:23:02
Python
UTF-8
Python
false
false
506
py
""" Given a positive real number a and integer n. Compute a^n. Write a function power(a, n) to calculate the results using the function and print the result of the expression Don't use the same function from the standard library. """ print("Operation a ^ n :") print("Please input the 'a' value:") a = float(input()) p...
[ "krzysztof.semko@tieto.com" ]
krzysztof.semko@tieto.com
e0196b9f2b975623a626b2f8e5e6443c6e5b41ef
95ac17da0188566c94c4c77fc416c5c1248d01ea
/leadmanager/leads/migrations/0001_initial.py
9d93db98d1177a4ff4af7e16bf19e38cb1ed13e7
[]
no_license
andrew-cmdltt/react-django-app
a92ae6ab7451daccade2f498260182d90cef4259
83618b6aef353587932705f821aac3c8981a706a
refs/heads/master
2022-10-24T09:30:01.222069
2020-06-17T13:14:35
2020-06-17T13:14:35
272,444,949
0
0
null
2020-06-17T13:16:05
2020-06-15T13:22:09
JavaScript
UTF-8
Python
false
false
707
py
# Generated by Django 3.0.7 on 2020-06-14 21:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Lead', fields=[ ('id', models.AutoField(aut...
[ "menwhohas2279@gmail.com" ]
menwhohas2279@gmail.com
918abb74e5bf9d3abb3964645d084e60ae5f9159
fa7a704b564c445cfd9178ca5c6a789854c84e77
/Article/forms.py
21d8b51ee19a98a8f04132e0fa4527f8d166cd1a
[ "MIT" ]
permissive
surenjanath/Django-Medium-Article
17891dce096fb14e9a4de70a0bdf8d701ccd7361
b9a4e4aa29edfeb4c0260a4a365c24fdb9f4b0b8
refs/heads/master
2023-08-06T18:47:25.876461
2021-10-01T14:05:24
2021-10-01T14:05:24
411,857,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
from django import forms class FeedbackForm(forms.Form): Name = forms.CharField( max_length = 30, widget = forms.TextInput( attrs={'class' : 'form-control', 'type' : 'text', 'id' : 'name', 'placehol...
[ "surenjanath.singh@gmail.com" ]
surenjanath.singh@gmail.com
4b6c958cfa881db8ce637ba6a474e9f1ad8d79cc
2df5d06ec25dd449d5905bc5e2fd8acf8b8f5d50
/trichotracking/trackkeeper/_classifier.py
b9a49a2f6473cb3e6039deff8f44be4d6be93eda
[]
no_license
giuliaschneider/Trichotracking
d702599676484577db41c5adebb4a85280faf45d
deb1be2626ac662a2b9c26de90bb323c8e10eafd
refs/heads/master
2020-06-19T15:13:31.816888
2019-09-05T13:52:12
2019-09-05T13:52:12
196,754,883
0
0
null
null
null
null
UTF-8
Python
false
false
4,707
py
import numpy as np import pandas as pd from trichotracking.dfmanip import combineNanCols, groupdf, listToColumns def getSingleFilamentTracks(df, dfg, aggTracks): """ Returns trackNrs of for sure single filaments. """ # Calculate length variation dependent on length dfg.loc[:, 'length_std_n'] = dfg.loc[:,...
[ "giuliasc@student.ethz.ch" ]
giuliasc@student.ethz.ch
9e83adce421bf9c78cabb3b50571669ffbedde74
b231e8be9f921a927779cb87debba9db268f4166
/models/representation_learning/autoencoder.py
b79489e6515f88182d167ffd02d7a0b91a74b161
[ "MIT" ]
permissive
clairebub/interpretability
f98d42f52bf4c257e7b173deaf8abf0ef07c5111
8c71bbc976ce9382705a2395ad651da009ab4785
refs/heads/master
2022-07-22T05:15:26.728673
2020-03-12T06:43:02
2020-03-12T06:43:02
246,754,616
0
0
MIT
2022-06-22T01:22:08
2020-03-12T05:52:11
Jupyter Notebook
UTF-8
Python
false
false
3,366
py
import torch import torchvision import torch.nn.functional as F from torch import nn from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import transforms from torchvision.utils import save_image from torchvision.datasets import MNIST import os class SimpleAutoEncoder(nn.Modul...
[ "claire.smurfs@gmail.com" ]
claire.smurfs@gmail.com
fb2073058ec3e55b7eb981a04172b31ef58a3181
cdd462f8d349c8de5cb5997dac8a952cc52f8f87
/quadratic.py
09cbaa61626b20bd03d054eed42246202497a58f
[]
no_license
CynthiaW19/python
59bec0f47128ffb611b4ac294ea75080f616ecfc
04f574d29c81282cbdf8799d14e93c5a14338491
refs/heads/master
2021-01-21T22:19:10.224055
2017-11-27T20:44:05
2017-11-27T20:44:05
102,148,855
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
def roots(a, b, c): D = (b*b - 4*a*c)**0.5 x_1 = (-b + D)/(2*a) x_2 = (-b - D)/(2*a) print('x1: {0}'.format(x_1)) print('x2: {0}'.format(x_2)) if __name__ == '__main__': a = input('Enter a: ') b = input('Enter b: ') c = input('Enter c: ') roots(float(a), float(b), float(c))
[ "noreply@github.com" ]
CynthiaW19.noreply@github.com
cc894ecbfbe9fb9fd95391f173bc4b2009ea4b09
3d9315da397393cfe2548975340a461676e09f43
/blog/admin/fields.py
3bfe2b014ee0f08df16b5f510f4a91b48d34b466
[]
no_license
flylixiaolong/zblog
d5c6c67ee88878d7d69a02d9fc6aac2b0e847a07
27ad03d4406487e82e00764d6b2f21ead49fd882
refs/heads/master
2020-03-22T14:22:02.947041
2018-07-30T14:08:59
2018-07-30T14:08:59
140,173,924
1
0
null
null
null
null
UTF-8
Python
false
false
859
py
from flask_restful import fields catalog_fields = { 'id': fields.Integer, 'catalog': fields.String, 'created_at': fields.DateTime(dt_format='iso8601'), 'updated_at': fields.DateTime(dt_format='iso8601') } catalogs_fields = { 'data': fields.List(fields.Nested(catalog_fields)) } tag_fields = { ...
[ "fly_lxl@foxmail.com" ]
fly_lxl@foxmail.com
8a00aabd8f7d244451bb48f691205665c5b2795d
6c98c0aff2adf038869552eed51b81553335122e
/zufang_spider/zufang_spider/middlewares.py
85586e714d3f22fd4d7ac1fc8da56422a42f31f5
[]
no_license
junhao99/zufang_info
cbcc987cf2b4d912134f557ce5328ddf5e4a8dc5
25dd5bf9f78dd767bb05d571ac73d601c0aca0cc
refs/heads/master
2020-03-23T15:50:42.692226
2018-08-15T12:33:26
2018-08-15T12:33:26
141,778,223
1
0
null
null
null
null
UTF-8
Python
false
false
3,609
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class ZufangSpiderSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # sc...
[ "1258884157@qq.com" ]
1258884157@qq.com
20cbbb48dbd67f8e60c7a07a9a3a16018b2bb8d4
c57821d96fff756251fe646eab15ebada3037f65
/transport/sanic/endpoints/users/user_login.py
0b5456473e8e719bde88a69ddbf918bab649e17e
[]
no_license
hyperman98/NapoleonITPython
cf258e510edc8215056e06a8382dd365929a3a00
4d871d63206b546bd6b52670af0ddd9c9dbd6e6e
refs/heads/master
2023-02-26T18:27:56.291674
2021-02-04T11:24:36
2021-02-04T11:24:36
335,350,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
from sanic.request import Request from sanic.response import BaseHTTPResponse from api.request import RequestPatchUserLoginDto from db.database import DBSession from db.exceptions import DBIntegrityException, DBDataException, DBUserDeletedException, DBUserAlreadyExistsException from db.queries import user as user_que...
[ "xhuman80@gmail.com" ]
xhuman80@gmail.com
41aa8448f402077b23d848d005c647dc4a948aed
be0120c72c636afadca117518b3ca3c69412dd64
/ifElseAss.py
c167730e56850115ee4ff41ff4e989f907a6e1ce
[]
no_license
adhiambokonyango/Python
b2a6c91d85c8949ec3b55e6ec591a452d075b504
91865b44c8c544ed3c4935979bfa7d9be3f5dc52
refs/heads/master
2021-01-06T09:49:54.492587
2020-02-18T06:15:27
2020-02-18T06:15:27
241,286,388
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
age = int(input('enter age:')) price = 30 if age >= 65: print('price is', price*0.5) elif age < 6: print('price is null') else: print('price is ', price)
[ "noreply@github.com" ]
adhiambokonyango.noreply@github.com
c63c8f4e49da3cd7207c53bc9e50125f115cc895
de4b601e50cc73f63c3cb812c347e8fd4b50e269
/Python/124BinaryTreeMaximumPathSum/dfs.py
a2bf52f4140c00072366122cc248e67f93574492
[]
no_license
siddharthkale97/Leetcode-Problems-Tracker
f8867eada62d6261a62cfc2f79d021b0dce7e9e7
1df6fc3baa4b9d716cabfd791911e2fdc9db08ba
refs/heads/main
2023-08-02T04:20:32.695643
2021-10-08T05:44:03
2021-10-08T05:44:03
396,057,065
0
0
null
null
null
null
UTF-8
Python
false
false
690
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 maxPathSum(self, root: Optional[TreeNode]) -> int: res = [root.val] def dfs(root): if...
[ "siddharthkale97@gmail.com" ]
siddharthkale97@gmail.com
7ac005eb42f091c51ab83c544466c0b346ebb421
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/af_ipv4_neighbor_addr/__init__.py
04c42af43f0958e01b8c6d558ea778ef0e670444
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
124,806
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
243dcf4cbd787542b8035f70084f4f0edc16909f
57b34673b9b9089a14b516f122085c86f54b5905
/crepes_bretonnes/blog/migrations/0001_initial.py
aecd577eb3ffc3028faaf9012a20b48dd9238428
[]
no_license
AnthonyCamelCase/CrepesDjango
83b801fbbf7ab6fdf6a538bd18b66f6c475a6ba2
2f8622ed766e6d6a601a330cd0eaea61b75322ea
refs/heads/master
2022-11-17T17:13:13.064851
2020-07-17T15:07:41
2020-07-17T15:07:41
280,087,669
0
1
null
2020-07-17T15:07:43
2020-07-16T07:41:14
Python
UTF-8
Python
false
false
1,318
py
# Generated by Django 3.0.8 on 2020-07-16 12:48 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Categorie...
[ "a.dottesi@hotmail.fr" ]
a.dottesi@hotmail.fr
6e8bab13b0bf9b431be3409f57efa615ab2d6522
64017b09b175d6298a0c873507c011fca66d564d
/FDApy/src/__init__.py
6f6e4d71c4848b73a70c0ceac3af3baf7b90dba7
[ "MIT" ]
permissive
mattjtodd/FDApy
844d84529088ec3056b05150124a37bc1b420a1f
50feb99e34f265b1c17a6f234a9d2f942ceb8f6d
refs/heads/master
2023-07-11T10:53:40.556226
2021-08-20T15:59:16
2021-08-20T15:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
""" C++ code module. This module contains C++ codes. """
[ "steven_golovkine@icloud.com" ]
steven_golovkine@icloud.com
cdd849bf42e0aabdc0b93f35e38e325cdaeeef3b
3d94eaf21d3342f6ff7febe45e37436016f551e0
/while.py
0cc642da98c6cf47734c7cd806017670df6bd283
[]
no_license
JihyeCha/college
a6402b60b2afd6f8c5a67bd8175b7052abee94d0
5c81d897e636c999a8a6fe95d4c4cf7e18b908ae
refs/heads/main
2023-05-23T00:19:03.453613
2021-06-15T07:07:14
2021-06-15T07:07:14
364,822,815
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
i = 0 while i in range(3): print(i) print("영희 : 안녕 철수야 뭐해?") print("철수 : 안녕 영희야 숨만 쉬고 있어") if i == 1: continue print("정수 : 안녕 얘들아")
[ "noreply@github.com" ]
JihyeCha.noreply@github.com
8c66a4f48a392bc2a7c364f19d1d33c46219c529
9a7c7d5b81e362f49366dfba963640867ca6f6db
/venv/Scripts/easy_install-script.py
86e017dad94e0e1958cba0ffa08cc41144ae6aa8
[]
no_license
Dark-C-oder/session8
56d204a8c44efba9b24c9c32b4957f04b2acc7c6
5bdb06f17656032ca6f6d44dfee0bafe819bf896
refs/heads/master
2020-06-03T08:40:15.765287
2019-06-12T06:38:53
2019-06-12T06:38:53
191,512,485
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
#!C:\Users\HP\PycharmProjects\session8\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "rsharma240599@gmail.com" ]
rsharma240599@gmail.com
c3a74fe27402ee5264201ea0910384cec6a1bcf2
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/models/hour_details_fragment_py3.py
afa962a3c628fb781b542e76a7e5ec1c067cd00b
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
918
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
208c52c383c9088b8689673876d6a989678f6664
13ff15f5a60b7616fe5610d0b4908f5bc524e931
/xtt/_ffi_utils.py
0f8e62bc35a4526c2e788468fb05f50960dea01c
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
xaptum/xtt-python
f79a5632953c7e3a0c07e84c898705670a4f73ff
23ee469488d710d730314bec1136c4dd7ac2cd5c
refs/heads/master
2020-03-16T13:09:48.832397
2018-11-13T18:47:59
2018-11-13T19:31:47
132,682,741
0
2
Apache-2.0
2018-11-13T19:31:48
2018-05-09T01:05:22
Python
UTF-8
Python
false
false
3,911
py
# Copyright 2018 Xaptum, Inc. # # 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...
[ "david.bild@xaptum.com" ]
david.bild@xaptum.com
559697093aa7adb1df388f4314ff5db31f9ec2bf
d88292262daa5bf74c4ba445ec6376db16ae754c
/DeleteFile.py
013994fa9577819fd43aad90d6ac88073f34e33b
[]
no_license
ishswar/aws-s3Repo-usingBoto3
e46d9abb2c86a6db1f5ae96a93573b465824d9a8
7a8046d46ddf4be83b77fa1d17f0f91545a73f72
refs/heads/master
2020-07-22T10:53:21.470111
2019-09-09T21:04:35
2019-09-09T21:04:35
207,174,495
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
#!/usr/bin/env python3 import re import sys import s3repo from s3repo.s3repomain import * s3repo = s3RepoMain() logger = logger_setup.logger logger.name = "s3repo.deleteFile" logger.setLevel(logging.DEBUG) def usage(): programName = os.path.basename(sys.argv[0]) logger.info(programName + " <username> <userp...
[ "pshah@tibco.com" ]
pshah@tibco.com
f48169e17d0936951759a1348bbd610d915be750
adb8c88a0d1a076565014f2eaafe35f8a4965c5e
/plugin.py
b58ea3def05570d7d29252a87d0ae301620fa9f3
[]
no_license
viktorkelemen/SpotBunny
2eccae05e8d13160827b302535a78bd1b6d02cb0
356818a2128020e152da759d4e24d5623b5626ad
refs/heads/master
2021-01-01T05:36:37.608596
2015-05-17T21:13:40
2015-05-17T21:35:53
35,783,490
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import urllib def results(fields, original_query): q = fields.get('~query') url = u"https://our.intern.facebook.com/intern/bunny/?" + urllib.urlencode([('q', q)]) return { "title": "Open spotbunny {}".format(q), "run_args": [url] } def run(url): import os, pipes os.system('open {0}'.for...
[ "kelemen.viktor@gmail.com" ]
kelemen.viktor@gmail.com
5aa242f700ec5a467cdc7d012a2345b5d62d513d
82ebee7de7c8aaa4343c1b047e8dec0b59f58093
/src/face/landmarks.py
b1e712a5923bc01928a4bb025efd49b791c2e3ab
[]
no_license
bdach/biometric-recognition
2b65bcc1b0d278fc01153ffcdc41d27a85cae160
eb7f9ec6a728b90cfbce36cce47176a2506898f1
refs/heads/master
2020-04-24T15:42:08.490240
2019-05-12T11:14:44
2019-05-12T11:14:44
172,078,857
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
import dlib import numpy as np class LandmarkNormalizer: result_length = 136 @staticmethod def compute_face_descriptor(image, landmarks): xs = np.array([point.x for point in landmarks.parts()]) ys = np.array([point.y for point in landmarks.parts()]) # point no. 36 is left corner o...
[ "dach.bartlomiej@gmail.com" ]
dach.bartlomiej@gmail.com
546e3bf16cd2f3dc5b2c5e5f6029b4a09fddc2ce
6ea5c9b5786eb6bf394b092316f293406eaa8a96
/fylm/fylmlib/interactive.py
994d5feb5948790e1f545f6954c6209a94cde261
[ "Apache-2.0" ]
permissive
codacy-badger/fylm
dc75866e632945b6587c2aa62e3d835de64e8874
1f49eb14ecc0fa257d47a4e4c6420407ece11f39
refs/heads/main
2023-03-21T22:52:17.574055
2021-03-16T16:13:51
2021-03-16T16:13:51
348,589,304
0
0
Apache-2.0
2021-03-17T05:24:30
2021-03-17T05:24:29
null
UTF-8
Python
false
false
18,088
py
# -*- coding: future_fstrings -*- # Copyright 2018 Brandon Shelley. 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 # #...
[ "brandon@behemoth.ca" ]
brandon@behemoth.ca
94de14f357e70da795981af25394211200312198
921c29354a9065a4f76f816c2b2ec68457f66aef
/todo/tests/test_list.py
59b1f2108648872be5f06b3a9d1e6a70268cc39f
[]
no_license
AmrAnwar/ToDoList
520fa0529090183832dfd8c274fb3e7dad4d7a3b
de5e9e9887dee857e6169184aa9c7b74f31d32c4
refs/heads/master
2020-04-11T15:51:39.869491
2018-12-15T17:20:11
2018-12-15T17:20:11
161,905,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
from django.core.urlresolvers import reverse from .test_init import InitTest from ..models import List, Task, Code class TestList(InitTest): def setUp(self): super(TestList, self).setUp() def test_lists_view(self): self.assertEqual(self.client.get(reverse('lists-list')).status_code, 302) ...
[ "amranwar945@gmail.com" ]
amranwar945@gmail.com
7ddceea06214f7c2ad30fe2c4a2fe49f3644880a
c658bd535bad0ee0bbb3be94d624ba0f2dda284f
/src/summarization_models/models/codebert/bleu.py
dc7df4a9b3577639bdfc114656d6ef6cb429417a
[]
no_license
Anonymous-ICSE-2022/ICSE2022_submission
fa2de62091f95eeb4575f75811dbaf2d3e970efb
8b1879b6b33dbd670af5c091c9bffb1f098bc868
refs/heads/main
2023-07-31T21:49:23.399103
2021-09-19T16:15:05
2021-09-19T16:15:05
397,334,177
0
0
null
null
null
null
UTF-8
Python
false
false
6,916
py
''' This script was adapted from the original version by hieuhoang1972 which is part of MOSES. ''' # $Id: bleu.py 1307 2007-03-14 22:22:36Z hieuhoang1972 $ '''Provides: cook_refs(refs, n=4): Transform a list of reference sentences as strings into a form usable by cook_test(). cook_test(test, refs, n=4): Transform ...
[ "" ]
a38c1a112526984dc7ad1084e7a9f0aacc58d696
0659bf3ea0b4560074345ad29fe7cae549a8d029
/testrun.py
69b57e5ad0865991518f5992d1fd21568d3f816d
[]
no_license
alankrit03/Problem_Solving
a63df4fc10c3b318341a3e37fef7fe1256c4b688
9964e2fbe97d08aa1647b2d64412607039b5bffb
refs/heads/master
2021-01-08T17:28:17.984540
2020-08-07T06:14:17
2020-08-07T06:14:17
242,094,556
1
0
null
null
null
null
UTF-8
Python
false
false
972
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 27 19:10:51 2019 @author: Alankrit Agarwal """ import re m = re.match(r'(?P<user>\w+)@(?P<website>\w+)\.(?P<exteon>\w+)','alankrit@hackerrank.com') print(m.groupdict()) lst=re.fullmatch s='alankrit' pat=r'al' t=re.sub(pat,'new',s) print(s,t,sep='\n') def test(): # En...
[ "alankritagarwal9@gmail.com" ]
alankritagarwal9@gmail.com
24354294eca3956b51129456dbfee5bb9fc841d8
bfb6ccbcb2707bca5eb44f2b64c0084aa6561b5a
/docs/examples/textbook/supernova_grid.py
45329e4f46a5dc12c888d92335755d81eac53405
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
cgroeneveld/amuse
79c8ece558f484df4494609e95274cffd5c37c60
9684fd22ce8293b837d2c78f56948e3ec3d04032
refs/heads/master
2020-08-16T16:44:46.702465
2019-10-14T19:16:04
2019-10-14T19:16:04
215,526,071
0
0
Apache-2.0
2019-10-16T10:57:34
2019-10-16T10:57:34
null
UTF-8
Python
false
false
7,418
py
import numpy from amuse.lab import * #from amuse import plot from amuse.ext import cloud from matplotlib import pyplot from amuse import datamodel from amuse.ext.sph_to_grid import convert_SPH_to_grid from amuse.community.capreole.interface import Capreole from amuse.units.generic_unit_converter import ConvertBetweenGe...
[ "steven@rieder.nl" ]
steven@rieder.nl
815554f3d7dd47f3a7f9a275ca23544ae727e1b8
460cb457a056fcd2140eb78d2ae9bdc90c298919
/control.py
15f49ec341fa9f67ac91f8ac436aa7b196aef08f
[ "MIT" ]
permissive
jonathanzxu/mocap-roboticarm
3b4f2e2fbf4bd541ba83b3ebdf6ab4e44424e9dd
957f77249766c1b40b8416a9236a2c60c734e3cd
refs/heads/main
2023-07-11T10:08:48.137661
2021-08-13T23:05:50
2021-08-13T23:05:50
393,493,925
1
0
null
null
null
null
UTF-8
Python
false
false
15,508
py
import math import numpy as np import owl import time import matplotlib.pyplot as plt import matplotlib.animation as anim from mpl_toolkits.mplot3d import Axes3D import serial def normalize(v): norm = np.sqrt(np.sum(v**2)) if norm == 0: return v return v / norm def lowpass(new, old)...
[ "noreply@github.com" ]
jonathanzxu.noreply@github.com
689b7417c6d3e9da284d1cd85628ac8fba391625
f03bd5bd7873c5cc33b4ef5199f219539f3a340e
/CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/fitting/modelgenerators/initial.py
5f85234c172d0a8fa170625b8c8bc5f8810e3bf3
[ "GPL-1.0-or-later", "AGPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-philippe-de-muyter", "MIT" ]
permissive
Stargrazer82301/CAAPR
5f8a7033b16792f23abd5d07021b53b9228a5db4
62b2339beb2eb956565e1605d44d92f934361ad7
refs/heads/master
2022-08-29T02:53:33.658022
2022-08-05T19:06:46
2022-08-05T19:06:46
49,977,601
8
1
MIT
2022-08-05T19:06:47
2016-01-19T19:32:42
Python
UTF-8
Python
false
false
4,272
py
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
[ "cjrc88@gmail.com" ]
cjrc88@gmail.com
2406d9af34f7c194e5dd1d3f09c112f9e766f4de
b25489128f5f3ab049822b449d155d6d33c3a6ba
/extract_features.py
3fa6efe58e3975ee114e003e030e8eb41cafa350
[]
no_license
ssutee/naist-parser
9a7e115140b9ea05deddfa865e3d97a26931abba
8febb14f482cf6fdc159ed5b603daad4f37e0700
refs/heads/master
2020-04-04T17:25:03.502787
2012-11-02T19:29:16
2012-11-02T19:29:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,738
py
#!/usr/bin/python2.5 import sys,os,re #sstc_parser_path = os.path.join(os.path.dirname(sys.argv[0]), os.pardir, 'sstc_parser') #sys.path.insert(0, os.path.abspath(sstc_parser_path)) #import sstc_parser import xml.etree.ElementTree as ET from naist_parser.maxent_utils import generate_features,create_between_pos_table...
[ "sutee.s@gmail.com" ]
sutee.s@gmail.com
0ebb921c93ea58f0e08f06055eee26fd99f1b460
754772a0854759f6e23c3df05902c8b5954cf1da
/tests/test_misc.py
08123ce218318574bed13e76a81478db9dbcc493
[ "BSD-3-Clause" ]
permissive
jmosbacher/straxen
8d5bd0d62d547ce7fa2bd61e0ae9b92b5c9446c2
ffcf06ad86471caf11cc831f2ff68d70b59464af
refs/heads/master
2022-11-03T03:06:08.159677
2022-03-17T09:39:58
2022-03-17T09:39:58
240,460,464
0
0
BSD-3-Clause
2020-02-14T08:21:55
2020-02-14T08:21:54
null
UTF-8
Python
false
false
2,356
py
from straxen.misc import TimeWidgets, print_versions import straxen import unittest def test_widgets(): tw = TimeWidgets() wig = tw.create_widgets() start, end = tw.get_start_end() assert isinstance(start, int) and isinstance(end, int), "Should have returned unix time in ns as integer!" assert en...
[ "noreply@github.com" ]
jmosbacher.noreply@github.com
42bff62307ce3d225abc5165888a0afa1c81c20f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch168_2020_06_21_16_37_43_552715.py
c908bf4827594b2f54867234292d854591578d23
[]
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
257
py
def login_disponivel(login, lista): if not login in lista: return login else: i = 1 while True: login2 = login+str(i) if not login2 in lista: return login2 i+=1
[ "you@example.com" ]
you@example.com
94f45669243390528d13a80da5a3eea3cc91fd1b
e3170e1efe723d8fa0092445167e9f77d60faf83
/THM_Attacking_ICS_Plant2_exploit_flag1.py
9334b7a9b44f9d7cade98f4545340828b4f34c29
[]
no_license
Pri3st/Exploit-Scripts
18dad047342ec5b97c98b9827842a5878addd925
311a1c606c77aa479bf7a7641b8635bea7537a6c
refs/heads/main
2023-03-26T05:30:06.610217
2021-03-23T08:41:07
2021-03-23T08:41:07
304,022,076
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!/usr/bin/env python3 import sys import time from pymodbus.client.sync import ModbusTcpClient as ModbusClient from pymodbus.exceptions import ConnectionException ip = sys.argv[1] client = ModbusClient(ip, port=502) client.connect() while True: client.write_register(1, 1) # Keep the flow open client.write_regist...
[ "noreply@github.com" ]
Pri3st.noreply@github.com
1ea40e6f89b43f374cb8c40d8ed087f373e505a9
d5b6fe924aa18628ece256950680615a23c01f63
/src/ripa_archive/documents/models.py
ea7c62908acca488841d20de25bbf127fcfc5617
[]
no_license
sysint64/ripa_archive
ba7c518d534eb5061b4ce42cb53f1c05fa207441
c9a7340c68efca44220a234781e250ec6b79209f
refs/heads/master
2021-05-15T03:33:38.364342
2018-05-14T16:48:26
2018-05-14T16:48:26
107,300,580
0
0
null
null
null
null
UTF-8
Python
false
false
12,168
py
import os from django.db import models from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from ripa_archive.accounts.models import User from ripa_archive.documents.validators import NAME_MAX_LENGTH from ripa_archive.permissions import codes from ripa_archive.permissions.models_abs...
[ "andrey@kabylin.ru" ]
andrey@kabylin.ru
d236bdab51964f1b98c45cd97d55bfe8fd1906dd
0ac82bac6bb500623eeddca565e3ea0191de072b
/python-scripts/flat_match.py
956dcd98118ac65a63c6ee4d1899f9f389c0387d
[ "MIT" ]
permissive
CreateCodeLearn/flat-mate-matching
e665294ac1e79708fa52bbbbc6573e2abb78c697
1c4a4f03927dfc5f8d98b4db66b840a7ee847d7b
refs/heads/master
2020-03-15T12:16:16.257308
2018-05-24T08:20:28
2018-05-24T08:20:28
132,140,134
1
3
null
null
null
null
UTF-8
Python
false
false
1,003
py
def flat_match (v_location,v_gender,v_rent,v_lowerage,v_upperage, filepath): ''' Provides the dataset in CSV and based on input data uses booleans to subset the data to give the flats ranked according rent with cheapest showing first ''' import pandas as pd def transform_data(dataframe)...
[ "noreply@github.com" ]
CreateCodeLearn.noreply@github.com
f570414052c45b26663ca047212e6d74bac2ae67
99411511cd49a3f0c1c2de7dc9cc65adac6b82b5
/tests/contracts/root_chain/test_respond_to_non_canonical_challenge.py
ea70d78d7e4571c15aaa1674d1dc7af349fa1e9e
[ "Apache-2.0" ]
permissive
kevsul/plasma-contracts
f4b1a7b08d4b4fc4e62024c2f2c8794407c9c968
bf5ff1db154ba4807ac747430508f0e1aac1827a
refs/heads/master
2020-04-17T23:15:13.204840
2019-01-08T12:43:11
2019-01-08T12:43:11
167,028,074
0
0
null
2019-01-22T16:32:10
2019-01-22T16:32:09
null
UTF-8
Python
false
false
3,038
py
import pytest from ethereum.tools.tester import TransactionFailed def test_respond_to_non_canonical_challenge_should_succeed(testlang): owner_1, owner_2, amount = testlang.accounts[0], testlang.accounts[1], 100 deposit_id = testlang.deposit(owner_1, amount) spend_id = testlang.spend_utxo([deposit_id], [ow...
[ "paulperegud@gmail.com" ]
paulperegud@gmail.com
33a2b6d8f45d37885f4a4c19d96c4da8aeaf0512
403ec432fa5b6e5e8f516057517700defa69dbdf
/scripts/miyashita/rv_miyashita.py
82ad931b0bbcc23125020e70ea58e0d96dafbb73
[]
no_license
takatoy/marl
a264d0cc7aef057f255a192c19feddb70d65a5e1
1f36e3432fd4150ce8acebc4aa0f31edde315e99
refs/heads/master
2022-12-24T06:27:14.712655
2019-08-16T12:46:25
2019-08-16T12:46:25
153,779,283
0
0
null
2022-12-08T05:50:24
2018-10-19T12:27:38
Python
UTF-8
Python
false
false
1,314
py
from agent.trainer import Trainer from agent.util import EpsilonExponentialDecay from marlenv.goldmine.relative import GoldmineRV from marlenv.util import GoldmineRecorder from agent.deepq.miyashita_dqn import MiyashitaDQN agent_num = 6 task_num = 4 view_range = 3 env = GoldmineRV(agent_num, task_num, view_range) env....
[ "takato.y7724@gmail.com" ]
takato.y7724@gmail.com
d2f1ca8708def6c418e18082ca194d3ef9cbfc41
a83dcfb3c55f5d447aa9fd4ffe49b96dfb04a872
/euler_problem_115.py
ab5c35694d96e0d49de37f5ea28c07fcef45fe0b
[]
no_license
SinghGauravKumar/Project-Euler-Python-Solutions
bb7590498c427d50446a6a0c57c0dd545c1db770
1664f51e89e4021048fbd1949a4622822a46c747
refs/heads/master
2020-02-26T17:00:20.303071
2016-07-11T15:47:47
2016-07-11T15:47:47
53,360,338
0
1
null
null
null
null
UTF-8
Python
false
false
982
py
import itertools # How many ways can a row n units long be filled, where red blocks are # at least m units long? Denote this quantity as ways[n]. # Compute n = 0 manually as a base case. # # Now assume n >= 1. Look at the leftmost item and sum up the possibilities. # - If the item is a black square, then t...
[ "goroo32@users.noreply.github.com" ]
goroo32@users.noreply.github.com
2e7583da1b5353128ab7e08dcaadc791b41711b8
7616db78302026eca05e3064d237db5192be3440
/Testing.py
7a09dcbc2383ad054ce294a3dcb12458a662e872
[]
no_license
MaartenMol/CSN_MiniProject
66cb9ac37e87061832a8123dbc7d2d96344bf174
fe52a902c6ced798fd548cc80ac5b81a8beaf6f9
refs/heads/master
2021-03-30T02:18:40.133190
2016-11-10T13:16:27
2016-11-10T13:16:27
117,237,636
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
import RPi.GPIO as gpio from gpiozero import LED from time import sleep gpio.setmode(gpio.BCM) gpio.setup(17, gpio.IN) gpio.setup(27, gpio.IN) gpio.setup(19, gpio.IN) gpio.setup(5, gpio.IN) gpio.setup(6, gpio.IN) green = LED(4) red = LED(26) yellow = LED(22) bolb = LED(13) yellow.on() systemActivt...
[ "MaartenMol96@users.noreply.github.com" ]
MaartenMol96@users.noreply.github.com
763bc377b5aa603e4aec1dc21746813f46af06e9
a3614055b6c58b0f6aeabb77cb463f2503d77fa3
/demo/iconnector.py
f635497f9b11ec55bb4ef5a1c5ef79a2e96e62ca
[]
no_license
ruarcs/iverifier
21d152909ae80c5eb0bbbc78d1dc594258cf9436
961639e7db9e63f304aba5746e3a7e9f02c1706e
refs/heads/master
2021-01-10T04:33:48.593703
2015-06-05T16:19:51
2015-06-05T16:19:51
36,872,414
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from zope.interface import Interface class IConnector(Interface): def connect( port ): """Connect to the thing."""
[ "ruarcs@gmail.com" ]
ruarcs@gmail.com
b4e7ae515980d8b17b6d2d43e99838f7887a26d1
ff2772718882aa6035edde3dc97371455513d96d
/CSCI466/code/program3/link_3.py
d2e99b87bb741bb66ce970527efa556ef8a8218c
[ "MIT" ]
permissive
Dan-Laden/Dan-Laden-Projects
55eefa60f3a1bd5c1e51aa54ca0bab63c32a4e64
c9736e7baa25ef4f7272af462a956884605a1b40
refs/heads/master
2021-03-27T15:54:23.206820
2019-04-27T02:44:23
2019-04-27T02:44:23
55,929,569
0
1
null
null
null
null
UTF-8
Python
false
false
2,637
py
''' Created on Oct 12, 2016 @author: mwitt_000 ''' import queue import threading ## An abstraction of a link between router interfaces class Link: ## creates a link between two objects by looking up and linking node interfaces. # @param from_node: node from which data will be transfered # @param from_in...
[ "noreply@github.com" ]
Dan-Laden.noreply@github.com
2ece9d6b3674f5b1dcc80ebda708f895af2fee70
57fd1088943c36f8283514d1b778c83af99ea054
/Python 1/Exemplos/Semana 2.py
a236823905f82e02efe55d59d07e2f8cd05b6fe9
[ "MIT" ]
permissive
LourdesOshiroIgarashi/coursera-ime-usp
db6c36c8505bca9660718c94f96c552a9f595a0c
9e627acdf97fad834726e58eac8886663c8fa453
refs/heads/main
2023-06-20T10:39:56.670219
2021-07-21T06:26:32
2021-07-21T06:26:32
385,691,500
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
mae = input("Qual o nome da sua mãe?") pai = input("Qual o nome do seu pai?") print("Bom dia Sra.",mae, "! E bom dia Sr.",pai,"." ""
[ "lourdes.oshiro@ufms.br" ]
lourdes.oshiro@ufms.br
2504fde45eeec1f9d902c49e883d0b81e107deb6
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/handle_method.py
d642224bff61bc6d689fecc1921ef1247b0c5800
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
2,294
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class HandleMethod: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
fdaa80a08a01556a86bb3ba7f86d2de920f0c9ec
27b2a3966518ef064e4f645af8addac4e74428a8
/Routing/receive_logs_direct.py
aad7e66793432419960663b2b30395de7fbe6e9b
[]
no_license
Eliza0512/rabbitmq
592a04d1759e9c34f4fc0013ee7fa7cedb09c78c
86a9f06d178a53b08120e57fc1a7d5e2f69d7e7c
refs/heads/master
2020-05-17T08:21:33.412447
2019-04-26T09:49:39
2019-04-26T09:49:39
183,603,112
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
#!/usr/bin/env python import pika import sys connection = pika.BlockingConnection( pika.ConnectionParameters(host='localhost')) channel = connection.channel() channel.exchange_declare(exchange='direct_logs', exchange_type='direct') ## channel closed queue close result = channel.queue_declare('', exclusive=True) ...
[ "wangyongjia@corp-ci.com" ]
wangyongjia@corp-ci.com
1c168dc139da5500467945e5d6b71200e52634b0
f27e3a898747d54db1a0c2fa84a72a1ddbf0e785
/AudioAnalysisPart/analyse.py
dd7b5bd6da0a9d822b8b7558869f9eca8d3aafda
[]
no_license
emailandxu/rhythmaticc
602aabf94b0c8d360f64004234261606b56ed23d
c1edbfe5bf9cc7b70305ca188415424d057060a4
refs/heads/master
2023-03-21T08:08:31.320700
2020-10-27T12:44:11
2020-10-27T12:44:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,877
py
import argparse import multiprocessing import os import time from madmom.features.beats import RNNBeatProcessor, MultiModelSelectionProcessor, DBNBeatTrackingProcessor from madmom.features.notes import RNNPianoNoteProcessor, NotePeakPickingProcessor from madmom.features.onsets import CNNOnsetProcessor, OnsetPeakPickin...
[ "thanik@gmail.com" ]
thanik@gmail.com
653d4cfe9ba35da08cbe76dc1fd34e0b309c6069
62c82e9364b4605897c5118df8865047e6dd10e4
/python/tests.py
08b724e6fb82e60249cd71cbef3b6e1f2a557063
[]
no_license
piter0900/programming-challenge
e1d32c816cb0f928b39c848977f396a94d06c704
fe3829da980dcb9f5b0b5b44206000465ea962fb
refs/heads/master
2020-03-23T13:37:48.124062
2018-07-19T20:39:29
2018-07-19T20:39:29
141,628,370
0
0
null
2018-07-19T20:36:46
2018-07-19T20:36:46
null
UTF-8
Python
false
false
1,717
py
# Write unit tests here import unittest from nomnom import how_many_servings class test_how_many_servings(unittest.TestCase): def test_no_recepie(self): recipe={} inventory={'bread': 20,'peanutButter': 10,'jam': 5} self.assertEqual(how_many_servings(recipe,inventory), "something is missing") def test_no_inv...
[ "noreply@github.com" ]
piter0900.noreply@github.com
048e7b93b91969e1154c8374e3a18e35e331d941
2aca24a9306b864a6c69f80af2500dd6c15bedc0
/testproject/classok.py
a0bc1a93ce5792cbf206de1b23adad6412bbca34
[]
no_license
kincsesl/vizsgaremek_jo
cb265c06d15463fd50aa25308a64a8d3a464779b
bdd2156d0adf905c4d88fdeb0a5d0590facdbd65
refs/heads/main
2023-07-05T15:23:54.488144
2021-08-05T08:28:18
2021-08-05T08:28:18
392,580,315
0
0
null
null
null
null
UTF-8
Python
false
false
2,002
py
import time import lokatorok from selenium import webdriver from selenium.webdriver.chrome.options import Options class TestSign_upLap(object): def setup(self): self.options = Options() #self.options.headless = True self.driver = webdriver.Chrome(options=self.options) self.driver.g...
[ "kincsesster@gmail.com" ]
kincsesster@gmail.com
d50fec7fa806049d2ec7122534c7a7070982a7eb
898e853fdec3d6aceef4a4cec29cf0cb8ad1b987
/lists/looping_through_a_list.py
bb368c9650f04c8b1ccfbc1bd364ce52ff1c720d
[]
no_license
nadiauddin/python-practise
85b8b4281f1d14ee8cf5f56232e81feb08b77b06
53b10d634297df183aba5e84b4c728da8f3a1761
refs/heads/master
2022-08-30T09:08:44.605120
2020-05-08T16:11:04
2020-05-08T16:11:04
256,231,016
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# 04/02/2020 # Nadia Uddin # Looping through a list # used to carry out the same operation to all elements in a list months = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december'] print(months[0]) # using a for loop to print a list # for first eleme...
[ "noreply@github.com" ]
nadiauddin.noreply@github.com
06df2a6c5231371a9158b2c2e65dccda51111807
7c9fb1ceb09a47c4eb03d0e07f70137ad5c2de60
/615.py
a2149e542b3015d951b8048b9865ab5fea9b91f9
[]
no_license
SensenLiu123/Lintcode
0472838f333bfceabb00b2b1b8cdbf3a4ee386d8
11b8ef0f9808ca3d2d08a342bfdba2441840d2f6
refs/heads/master
2020-05-16T01:36:48.797544
2019-09-26T05:02:39
2019-09-26T05:02:39
182,605,746
1
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Jul 27 23:32:30 2019 @author: sensenliu """ import collections class Solution: """ @param: numCourses: a total of n courses @param: prerequisites: a list of prerequisite pairs @return: true if can finish all courses or false """ ...
[ "noreply@github.com" ]
SensenLiu123.noreply@github.com
70481dfca210aaeeac25ae9910116f061fd30640
69c16c8c20ad93bbeda827976af9778c1d3e2037
/test.py
3fc6d033ec62f8a20124c12402645580551d4912
[]
no_license
JanMigon/Diffusion-mri
53eda28937d372e6b22e8a2788264675e4ff8a6e
aea2c5cb2f71508e2d822a28735380a37df5dada
refs/heads/master
2023-01-05T23:14:34.326676
2020-11-05T23:34:33
2020-11-05T23:47:27
304,928,675
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import utils.utils as ul if __name__ == '__main__': my_sphere = ul.create_sphere(30) print(my_sphere.x) print(my_sphere.y) print(my_sphere.z)
[ "jan.migon@consonance.tech" ]
jan.migon@consonance.tech
814c6fd7060a1240475c7dece4774f55f274730e
0c2cc932b65ff8b966d360647dda85f3e7d037c3
/src/analyzer/reader.py
f7d25ba590b4720c5a539951d7077be9c2fc3248
[]
no_license
Yuhuishishishi/TP3S_generator
3c819045ced04a6135400034af23f136e0dd2390
7efb88a8741b934372e157809e5ed1fa39e5d43c
refs/heads/master
2021-01-12T15:17:24.268905
2016-10-19T18:39:22
2016-10-19T18:39:22
71,748,534
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
import json from collections import defaultdict from json.encoder import JSONEncoder class TestRequest: def __init__(self, tid, release, prep, tat, analysis, deadline): self.tid = tid self.release = release self.prep = prep self.tat = tat self.analysis = analysis se...
[ "yuhuishi@umich.edu" ]
yuhuishi@umich.edu
00ecc7fbb843e969fbfd7a31805b5eea1a3b5d4f
7407f652a1384587a3479b37c0f7e76d6b602715
/thesis.py
04a641dac95f5277b7155a44256bc2bb4547b8cc
[ "MIT" ]
permissive
ysmiraak/darc
01e6e79547399075cfbbee09f1c0248d87295aa3
1a34401d4bba8f98d4bb42801907d002ba2355a6
refs/heads/master
2021-01-22T18:15:14.677755
2018-04-11T19:46:25
2018-04-11T19:46:25
85,071,770
1
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# from thesis_atomic import Setup # from thesis_binary import Setup # from thesis_onehot import Setup from thesis_summed import Setup if '__main__' == __name__: trial = 0 use_form = False use_lemma = False embed_const = None embed_dropout = 0 train_path = "./thesis/train/" embed_path = "....
[ "ysmiraak@gmail.com" ]
ysmiraak@gmail.com
caaec7f00c39cee1f2a533e95c4aab888c2cfb41
33a7b06dd3175fd0ecb84d24f735d352d8f7c04a
/data_base/migrations/0005_auto_20160513_1733.py
19f96a9f261f6827f3b976c09a0102f38ac90abb
[]
no_license
ryotayamazaki/function_data_base
5b5fddedd249bbbb92acf8152d2c0825921f46d1
ac9fa690b31e39d2b161d6004fbeea8071ef12f6
refs/heads/master
2021-01-01T05:12:33.642822
2016-05-19T02:41:17
2016-05-19T02:41:17
58,899,741
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-13 08:33 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('data_base', '0004_auto_20160513_1729'), ] operation...
[ "ryota0723@hotmailco.jp" ]
ryota0723@hotmailco.jp
011729a8bb480085313e1073b0ab7d063cae6d85
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/globals/apperrors/error/error.py
8a6a225b6b0a0b27a24d8d7e610bec841bc6c21d
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
7,992
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
308d40adb060c2029a8b7a9892d344f31366ef2f
78c5363fc44bf1f67cdc9fc8d6bbbbdd153c7258
/scripts/concat_pandas_tables.py
447cf02e36aac6c201d9cc29378a1b865273355e
[]
no_license
AlBi-HHU/manchot-gut-microbiome-workflow
80cfc1614548729b94e05b861bf20fb3b1b6c6c5
e1d569ff3ac058f4f978ed452fc21ceb5d4417d9
refs/heads/master
2023-08-08T23:18:00.369593
2023-07-06T14:22:20
2023-07-06T14:22:20
514,261,475
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
import pandas as pd pd.concat([pd.read_csv(x) for x in snakemake.input]).to_csv(snakemake.output[0])
[ "philipp.spohr@hhu.de" ]
philipp.spohr@hhu.de
a9b2d8b50ac2ee4382734c96c0765709c3b27417
b7accc88f6f2a8b0bec5c0862f8a73e20ade0f0a
/run_rt.py
2ac98dbad4bf5a88951ffcbed2a4d5b48b76d6df
[]
no_license
jrl-labs/getglue
f3fdb656c56ac687528955b19301bee61b0a1646
7aadf22e848b43d17020249649feefd7b15850c4
refs/heads/master
2021-01-11T18:15:34.420068
2013-05-24T15:14:21
2013-05-24T15:14:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
import rt_module import requests import yaml import json ############################################################################### # Load my API credentials into a dictionary ############################################################################### with open('conf/auth.yml', 'r') as f: credentials = y...
[ "ianlangmore@gmail.com" ]
ianlangmore@gmail.com
7605b0c861febf51a1e02f89589fe89fa4307fce
4db51c9d106a2070d8abc2e006d50555db447459
/setup.py
64bf68a18d61f7a367fb8baa3ac07e5a1e621edf
[]
no_license
strange012/tutor_temp
e055af060de318b74453bd0c69f60fc69b067bdb
5dc267bb5342d1795d7c410c5e98655be265ee2b
refs/heads/master
2022-11-28T06:11:25.958049
2019-06-06T23:57:21
2019-06-06T23:57:21
174,526,554
0
0
null
2022-11-22T03:28:52
2019-03-08T11:33:45
Python
UTF-8
Python
false
false
1,225
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.txt')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() requires = [ 'pyramid', 'pyramid_debugtoolbar', 'pyrami...
[ "javamexx@rambler.ru" ]
javamexx@rambler.ru