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
3b7ab7bc4838c861c6d5f5f49849cc67a12b1d4f
598f3020720eee8707f97914e9d1bd773aa3c812
/pak_helpers/pak_helpers/asgi.py
78b358c2d7224ee647c843bb3b14ab9c7db1fab2
[ "MIT" ]
permissive
aliraza401/pak_helpers
422133929012aadb905a4cac61711f25ecdbb1dc
56e3d3214e318e28d344888c55d83dc69729d7a2
refs/heads/master
2022-04-18T06:36:04.161769
2020-04-07T13:05:57
2020-04-07T13:05:57
253,622,475
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for pak_helpers project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "48078826+aliraza401@users.noreply.github.com" ]
48078826+aliraza401@users.noreply.github.com
9b2d0b5b1f621680ab6cb1ccaef0c7c2abfc9084
ad89fc80f1731393bee02044b95f18c7ad06f86a
/app_locators.py
176ce8565eb11165387864c1ebeeff46d4a3c298
[]
no_license
TakoFerenc/R3PI
e1b2f35d801c57df297bc4671b62b0172d876927
dd50e77db6e478a7c23e6c559c28df8f87606295
refs/heads/master
2021-06-26T06:24:01.259695
2017-09-11T21:13:00
2017-09-11T21:13:00
103,188,085
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
import test_Calculator class AppLocators: def __init__(self): self.driver = test_Calculator.TestCalculatorApp.pass_driver() def locator(self, name): return {'TITLE_TEXT': self.driver.find_element_by_id(r"android:id/title"), 'STITLE_TEXT': self.driver.find_element_by_id(r"com....
[ "rockferi@yahoo.com" ]
rockferi@yahoo.com
cd2b0e5c47c43a89910f938d992ba3d507a16cbf
e7fab5e82afd6c9a9e2ce2dcfc1002662a88f17d
/toapi/__init__.py
4d9ad59d184206fa544119e7e7a8e832dbcefc0c
[ "Apache-2.0" ]
permissive
Emiya-Alter/toapi
d67ab961a09db49196dada17f5044a3c34997e01
5f0e23c523462416e9d197b22a87cd3708189e65
refs/heads/master
2021-05-16T16:50:20.807381
2018-01-25T07:20:44
2018-01-25T07:20:44
119,955,976
1
0
null
2018-02-02T08:41:49
2018-02-02T08:41:48
null
UTF-8
Python
false
false
187
py
from toapi.api import Api from toapi.item import Item from toapi.log import logger from toapi.selector import XPath, Regex, Css from toapi.settings import Settings __version__ = '1.0.0'
[ "gaojiuli@gmail.com" ]
gaojiuli@gmail.com
decce14b88ddfd0ad956836c2f8d98d876c7de1a
32c38cf7b25130c2de16ba8392e4756edc2fb574
/src/livetribe/utils/version.py
5f977a4a17129a3188ffbd2998fb1b79a8010fc4
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
livetribe/livetribe-utils
4db82b4996e5007e0db13aed5dc587c7a9b35944
fc5b83d0d9ed3414970fdc4cc721360b9a805673
refs/heads/master
2016-09-10T00:46:06.471183
2013-04-27T15:43:23
2013-04-27T15:43:23
7,854,420
0
1
null
2013-04-27T15:43:17
2013-01-27T16:20:44
Python
UTF-8
Python
false
false
6,516
py
# # Copyright 2013 the original author or authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "adc@toolazydogs.com" ]
adc@toolazydogs.com
11e07ea4ff9a1ce64e41fb67122e04f79c8845b9
87bda3d7932af2e13ad3a74fe4833473e34f3f88
/django_shop/settings.py
3fc169e398c58d8d156781c4703980f4120cf6f2
[]
no_license
LirraSmile/shop_demo
71f2c124b8592b11b86ba2c63b74710d632b80eb
e80abde2bd6c7c26ae36fd95d1915b695bafed3a
refs/heads/master
2020-03-22T16:30:25.667935
2018-08-08T08:20:45
2018-08-08T08:20:45
140,331,327
0
0
null
2018-08-05T13:14:39
2018-07-09T19:13:57
Python
UTF-8
Python
false
false
3,138
py
""" Django settings for django_shop project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "lirrasmile@gmail.com" ]
lirrasmile@gmail.com
f7ced1bc8e3dce3783acfed7c8e196d1663b9cc3
5ef8e538650bdcede14418f36238fb78055b36fc
/src/prepositions_test.py
e3f291ac6546f247cc969cae59256ac2db6843f7
[]
no_license
Manan-Goenka/mad-street-den-internship
24ac0eeacc73ece0bae6bbd62e4113501d1c9944
cb7a21791cc4cc8a168cfa485dc172d40bcc7b0e
refs/heads/master
2020-04-04T17:04:51.124132
2018-11-04T17:17:06
2018-11-04T17:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import json import pandas as pd import matplotlib.pyplot as plt with open('Prepositions2') as f: a = json.load(f) for prep in a.keys(): data = {'Count': a[prep].values(),'Side':a[prep].keys()} df = pd.DataFrame(data) #df = df[df['Count'] < 50000] df = df.fillna('none') df=df.sort_v...
[ "manan@nat-oitwireless-inside-vapornet100-c-17819.Princeton.EDU" ]
manan@nat-oitwireless-inside-vapornet100-c-17819.Princeton.EDU
3cfc3acb825bcdafe3ed93b02d9ca9dc36b14661
86b9e90cd59a221c6329c04d63bcc6ea9abc3f4e
/imports/G2pwd_CIF.py
bfa8fae440c51587b2f1d79b1319a0d32eae3d67
[]
no_license
dwpaley/GSASII
9f2ff16f68c65bb723d24aea61d7ad665507d88e
e40e195ee6dfd2879d847703c07978af3a230f44
refs/heads/master
2023-01-03T14:55:48.660464
2020-10-26T19:34:09
2020-10-26T19:34:09
307,463,040
0
0
null
null
null
null
UTF-8
Python
false
false
15,132
py
# -*- coding: utf-8 -*- ########### SVN repository information ################### # $Date: 2020-04-24 09:06:35 -0700 (Fri, 24 Apr 2020) $ # $Author: toby $ # $Revision: 4410 $ # $URL: https://subversion.xray.aps.anl.gov/pyGSAS/trunk/imports/G2pwd_CIF.py $ # $Id: G2pwd_CIF.py 4410 2020-04-24 16:06:35Z toby $ ##########...
[ "dwpaley@gmail.com" ]
dwpaley@gmail.com
9b25faa1fda27a664a07fd3ec2cf82914abf6ab6
a7b1aaa5b9c361a7be3cd04a427d8f11de16c70b
/shiSock-0.4.0/underDevelopment/testNew.py
a3f5480107b78453fd1dc48891b09c81cf10d4f3
[ "MIT" ]
permissive
ajay007j/shiSock
eb8e1fb00227a1866230f360835ce01d2bb1bad4
13b6066b8ec390d94069c22cc63b0159bd3be783
refs/heads/main
2023-09-05T21:30:56.045586
2021-10-31T17:52:33
2021-10-31T17:52:33
423,160,297
0
0
MIT
2021-10-31T17:52:34
2021-10-31T13:47:41
C
UTF-8
Python
false
false
540
py
from PySock import server,SetupIPC SetupIPC() # def test_func(data,con): # print(f"Data from client : {data}") # con.SEND(target = data["sender_name"], channel = data["type"], data = "Hello, What's up!") # s = server(address = "localhost", port = 1234, listeners=1, timeout = 1) # print("Creating Channel") #...
[ "65106263+ShikharY10@users.noreply.github.com" ]
65106263+ShikharY10@users.noreply.github.com
1dfb05af0f3f058a8f73adc8b6b156abc8075218
9dd12a2bff0c7cd1d6d0b6fbec298d5a46967163
/Exe1/test_package.py
3fa2e4032705cba24f94bd630934169a15dd7a4c
[]
no_license
ednasalazar/origin
331aa79a8255a8c9eee0483d284110ee5a28ff19
2e7045286dd88ff8dbe49189dc80e34ed30a5edd
refs/heads/master
2021-07-12T20:59:29.572193
2017-10-11T13:49:13
2017-10-11T13:49:13
106,537,733
1
0
null
null
null
null
UTF-8
Python
false
false
167
py
from package.fonctions import table table(5) # Appel de la fonction table # Ou ... import package.fonctions package.fonctions.table(5) # Appel de la fonction table
[ "ednamsalazarb@gmail.com" ]
ednamsalazarb@gmail.com
ac3602915fdf770962a03b92f7a231e7d00e0dd2
721349549cabbdd802ccd28102eed72abe94f385
/WebBlog/WebBlog/urls.py
5562924f92cda4150e059cea943e5fc937f268ac
[]
no_license
GuoMaoFei/WebBlog
605b06f8fab071de90b9bb3dfb1e98a0f57aaf91
6deb916274ea27397d9c11077a24add0566c2395
refs/heads/master
2020-06-10T20:02:11.851692
2016-12-08T09:17:03
2016-12-08T09:17:03
75,889,624
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""WebBlog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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-ba...
[ "1025006407@qq.com" ]
1025006407@qq.com
5aba16d4c227247715b84a44642a260e487eb380
4362d925a3de320a39e6b8b45245ab80cac59042
/pywinauto_gui/start_app.py
a35819b170845cf1cd6a71ac8b52d045acfff9f0
[]
no_license
zhanghao1989718/baizhu
a577011053ed1e4860277d07eef5da981464fe6a
d23724c122ba0595ef7d06b9bb10cb60cd6451d5
refs/heads/master
2020-07-31T09:43:37.293657
2020-03-25T02:42:20
2020-03-25T02:42:20
209,785,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
import pywinauto as pw import pyautogui as pa import os, time, psutil, shutil from pywinauto.mouse import move, click from PIL import ImageGrab # 获取桌面 def get_desktop(): get_desktop = os.path.join(os.path.expanduser('~'), "Desktop") return get_desktop # 创建文件夹 def make_dir(): try: os.makedirs(os.pa...
[ "806493156@qq.com" ]
806493156@qq.com
c6c9f8053ce7426d8e40844b29b1a9736d500e03
777a972966fa29a1b5a1a0c5d507a3137de007fc
/stock_pick_batch/__manifest__.py
cfbf3abdc520bc1242de59ad4d6ad1cd7d0cc3c3
[]
no_license
suningwz/ruvati
1d1ace30fb2929f686f368fb8d8c51ae76a71190
9b15373125139cab1d26294c218685c5b87b9709
refs/heads/master
2023-08-15T22:28:18.499733
2021-10-12T12:16:56
2021-10-12T12:16:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
# -*- coding: utf-8 -*- { "name": "Stock Picking Batch", "version": "1.1", "category": 'Inventory', 'complexity': "normal", 'author': 'Confianz Global,Inc.', 'description': """ Batch transfer in inventory """, 'website': 'http://www.confianzit.com', "depends": ['base', 'delivery_ex...
[ "vinod@confianzit.biz" ]
vinod@confianzit.biz
45db6168ca6a0ad2f3120d8dba3898a85cf52fd8
8f1dbd7c032a57c74a36f07690b2ecc80fb3e665
/scratch/follow-ball.piborg.py
09741060a051a0ba26472b3e1a30bbafa4e92cae
[ "MIT" ]
permissive
westpark/piwars-2018
6b861ff46366a76cbf8bfbec11d255e31d471b3a
a2e1cb67e5fcc8f65ed17975d076088a9f92da2a
refs/heads/master
2021-04-28T10:57:42.294132
2018-04-19T10:35:24
2018-04-19T10:35:24
122,079,822
0
0
null
null
null
null
UTF-8
Python
false
false
7,143
py
#!/usr/bin/env python # coding: utf-8 # Load library functions we want import time import os import sys import ThunderBorg import io import threading import picamera import picamera.array import cv2 import numpy print 'Libraries loaded' # Global values global running global TB global camera global processor runni...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
f58261daab0df0e28c03fbe345a6d2e337fdc477
45b159e64114d8759c0e2987bd0a6f02f60daf4d
/Python/APL/ch14/distanceThreeArrays.py
80483127107e3734d02efe667945abcd5ac19af1
[]
no_license
afcarl/Coding_Interview_Problems
45b24b849a90581db5327811c5ab78237f4d5ac0
1256d4394d506aec875e9e19300404a9b32a4eb1
refs/heads/master
2020-03-16T20:16:54.706152
2015-02-11T05:51:56
2015-02-11T05:51:56
132,953,286
1
0
null
2018-05-10T20:54:14
2018-05-10T20:54:14
null
UTF-8
Python
false
false
274
py
''' Created on Jan 24, 2015 @author: Ben Athiwaratkun (pa338) ''' #from __future__ import division #import numpy as np def findMin(A,B,C): pass def main(): A = [1,2,3] B = [4,1,8] C = [3,2,7] findMin(A,B,C) if __name__ == "__main__": main()
[ "ben.athiwaratkun@gmail.com" ]
ben.athiwaratkun@gmail.com
981efb142d6f61d35f2dfd6521b196f103e6edfe
0b21bde7faf01306d6fb57a758ccf01ef0917876
/clean_csv_NA.py
e6fb5279e6b23f5c916a802eff1cbcbc7f3715bc
[]
no_license
LycheeLisa/feedervariation
0753860893b0bd44b1d2f244ce2f1c9c56a5eb23
d0a57f25660325b729fb5022656fe6555ad1e774
refs/heads/master
2020-05-15T05:00:15.322937
2019-04-21T05:22:04
2019-04-21T05:22:04
182,097,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import os import pandas as pd import re import numpy as np from os import sys def cleanHeader(input_file,output_file): writer = pd.ExcelWriter(output_file) input_file = sys.argv[1] output_file = sys.argv[2] df = pd.read_excel(input_file, None) all_df = [] for key in df.keys(): all_df.ap...
[ "jia.c.chen@accenture.com" ]
jia.c.chen@accenture.com
2d3850df0c094eeb7f706d70aa509e5e2011f721
772b0df2635b95644ea3eb370103174804024167
/scripts/process_file.py
cfce2bb5b07aee825c3a76f0632392eb3a6e3579
[ "MIT" ]
permissive
4dn-dcic/clodius
ec909bda90a9df13fa1b85472951f6cf149213a5
aa31b3d90a5a9fec883c20cab31ad4d347cd52cd
refs/heads/develop
2020-04-17T23:31:32.114043
2019-04-02T14:01:46
2019-04-02T14:01:46
167,038,915
0
0
MIT
2019-03-28T20:10:46
2019-01-22T17:43:32
Python
UTF-8
Python
false
false
2,597
py
from __future__ import print_function import argparse import os.path as op import subprocess as sp import sys import tempfile as tf def main(): usage = """ python make_tiles.py input_file Create tiles for all of the entries in the JSON file. """ parser = argparse.ArgumentParser() parser.add_...
[ "pkerpedjiev@gmail.com" ]
pkerpedjiev@gmail.com
201a30659cfea76da61d41f215c7818335a314de
dbad751d5d57959ec6d5b93698c183cb6be5bcac
/day_3_mongodb/mongodb_assignment.py
0097aef0b79b8fa529ee0f6bd1eeee82a0f02a9a
[ "MIT" ]
permissive
ren-curry/u3s2_introduction_to_sql
a57c27a89846e2d6771899c50ac8693832a4a3f4
a2954313379fc41b5a73625b2e2b1723e18d6620
refs/heads/main
2023-01-23T02:41:24.714508
2020-12-12T18:32:37
2020-12-12T18:32:37
319,429,308
0
0
null
null
null
null
UTF-8
Python
false
false
3,859
py
""" This module contains Part 1 of the assignment Assignment - Part 1, Transfering Data from SQLite3 to MongoDB Question: How was working with MongoDB different from working with PostgreSQL? What was easier, and what was harder? Answer: MongoDB works on the concept of documents and loses the relationships common ...
[ "racurry88@gmail.com" ]
racurry88@gmail.com
700c9b8de2cdc68832d96d1b511794e339daaebf
6f5a2b40dcb48cca856ee3b80ec733a1bc04aba3
/Datasets/point_clouds.py
48425c9aa70cbab83c27500577d059c713a6ee0f
[ "MIT" ]
permissive
liuxinren456852/GoingDeeperwPointNetworks
fc317ce977ec902caa2d81437903d262b02d9fed
ab48e5d542289b485118ababf4716eb1686b302b
refs/heads/master
2021-03-07T23:06:35.119442
2019-12-12T11:57:33
2019-12-12T11:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,838
py
import os import json import itertools import numpy as np import torch import torch.utils.data as data import pdb class PointClouds(): def __init__(self, pts, normals=None, labels_cat=None, labels_seg=None, weigths=None): self.pts = pts self.normals = normals self.labels_cat = labels_cat ...
[ "erictuanle@gmail.com" ]
erictuanle@gmail.com
99c3526307d714ccf7e42a743951af7d1e31af77
bd47e87d15f23b7d52a5448a13c706e949c7f9e5
/craton/inventory/api/v1/cells.py
51641b6fc58984cb5a229da38c44b28de81fbd3b
[ "Apache-2.0" ]
permissive
waffle-iron/craton
19dd71423554c66dac30221a64ed6a85fca62e6a
55633e918ce96e1678dac155a95e9e406a4b1ff7
refs/heads/master
2021-01-15T14:18:32.112278
2016-05-05T19:03:57
2016-05-05T19:03:57
57,390,288
0
0
null
2016-04-29T14:21:53
2016-04-29T14:21:53
null
UTF-8
Python
false
false
695
py
from flask import request, g from craton.inventory.api.v1 import base class Cells(base.Resource): def get(self): print "cells get" print g.args return [], 200, None def post(self): print "cells post" print g.json return None, 200, None class CellsId(base.R...
[ "sulochan.acharya@rackspace.co.uk" ]
sulochan.acharya@rackspace.co.uk
fc4db9eced6f13e98e594ff6e7af882dff329578
4f70f9690c47ec0a58a55834b606bb617ece1ecd
/toy_games/test/test_8queens.py
c4d2febbc845980242de0b7ddc55a092450ff0eb
[]
no_license
NickLucche/ai-toy-games
16065812089d7970a7c5e2adf32470b2c2de0afc
56b1aa3db247b461801366e459d32c2e54173887
refs/heads/master
2023-05-31T00:32:52.394301
2021-06-15T13:33:16
2021-06-15T13:33:16
355,337,528
2
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import unittest from games.n_queens import NQueens import numpy as np class NQueensTest(unittest.TestCase): def test_empty_repr(self): game = NQueens() self.assertEqual(game.__repr__(), '') def test_2_assignments(self): game = NQueens() state, consistency = game.step((0, 0)) ...
[ "nicolo.lucchesi@gmail.com" ]
nicolo.lucchesi@gmail.com
836dc051ae842d3fb098afe67dd219518fdf722b
2aa47f47fb81798afdf41437844cbbea8e9de66c
/02pythonBase/day12/day11_exercise/factorial_sum.py
d9c669a1112be4d4c20c74aede6742f36eab15e2
[]
no_license
nykh2010/python_note
83f2eb8979f2fb25b4845faa313dbd6b90b36f40
5e7877c9f7bf29969072f05b98277ef3ba090969
refs/heads/master
2020-04-27T23:10:16.578094
2019-03-23T02:43:14
2019-03-23T02:43:14
174,765,151
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# 3. 写程序算出 1 ~ 20 的阶乘的和 # 1! + 2! + 3! + 4! + ..... + 20! # 方法1 # def myfac(n): # if n == 1: # return 1 # return n * myfac(n - 1) # s = 0 # for x in range(1, 21): # s += myfac(x) # print(s) import math print(sum(map(math.factorial, range(1, 21))))
[ "xulingfeng@boe.com.cn" ]
xulingfeng@boe.com.cn
8ed0d19c11c0701afb22128c61b54d707c8f7479
ff2cc457ee4d2a884e9774812a978b1870748b96
/venv/bin/csv2ods
c664dcec03a2e2f8ab55fa6420f2da037006ccdf
[]
no_license
emamex98/HackMX
8156e652a7c5a35659e965ede967b225bf485a31
e1770b2356227b192f158538ba4062c51a122e76
refs/heads/master
2020-05-17T16:42:30.904266
2019-04-28T15:42:55
2019-04-28T15:42:55
183,826,112
0
0
null
null
null
null
UTF-8
Python
false
false
9,085
#!/Users/emamex98/Desktop/HackMX/venv/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2008 Agustin Henze -> agustinhenze at gmail.com # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version. # # Thi...
[ "emamex98@gmail.com" ]
emamex98@gmail.com
11689979f2e6aaa273058e3b89ba57a7a4d578c0
1fa265a01400c23f9ca494a1d9ef55b6cef85cdc
/inventory/migrations/0102_auto_20200131_1454.py
ac78634fc95dc9da549ec9a25ce03a0aaf6d0ca9
[]
no_license
dipesh779/posbackend
523660b40be4d5deaff6b6c267c65fa9caba00de
06effb004448dbb6d99077790ceb4738875e6505
refs/heads/master
2022-04-25T09:15:12.081266
2020-05-04T04:45:56
2020-05-04T04:45:56
261,082,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,522
py
# Generated by Django 2.2.7 on 2020-01-31 09:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0101_auto_20200131_0911'), ] operations = [ migrations.AlterField( model_name='stockcomputation', name=...
[ "dipesh@perplexsolutions.com" ]
dipesh@perplexsolutions.com
f1ef69f673b404f9e934dd99bd72635707e17ac1
ca9d260de4a8713946bdaceff835417fad1005dc
/rc_with_tf/05_image_process/oldver/image_process_03.py
0d1ef92beb10204709fc2f917d92b7527ae4a088
[]
no_license
IsaoIshibashi/mywk
96b0e8b2d04704a8a6f9cfc8447d84c085ad29b8
574449e09afd69b5ae976dab78d6c4c65640db53
refs/heads/master
2021-01-13T16:53:19.473591
2017-02-12T14:48:16
2017-02-12T14:48:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,475
py
# -*- coding: utf-8 -*- # [how to use] # python image_process.py image:=/image_raw import rospy from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import cv2 import matplotlib.pyplot as plt import matplotlib.animation as anim from collections import OrderedDict class Image...
[ "daaaaaasuke@gmail.com" ]
daaaaaasuke@gmail.com
ef7cfcbb15eaf35f6cd7f8058281eb80959721bb
40fc1d38f2d4b643bc99df347c4ff3a763ba65e3
/arcade/infiniworld/src/infiniworld/__init__.py
77165064cf85d6cbd506c2db160a29d5cf41a5cf
[]
no_license
alecordev/pygaming
0be4b7a1c9e7922c63ce4cc369cd893bfef7b03c
35e479b703acf038f47c2151b3759ad852781e4c
refs/heads/master
2023-05-14T05:03:28.484678
2021-06-03T10:11:08
2021-06-03T10:11:08
372,768,733
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
"""The infiniworld package contains the entire game engine: Models Views and Controllers, but also physics, geometry, time management, etc. """ from . import controllers from . import events from . import evtman from . import geometry from . import log from . import models from . import physics from . import time_
[ "alecor.dev@gmail.com" ]
alecor.dev@gmail.com
d33065376fd92bc063593474add83b5054b756a7
ed90b026383dcd5cf742b438c88c4902f124e3dd
/product-of-array-except-self.py
15581b92706a0cad2fc3eda24fc0983ee1e6cdb1
[]
no_license
Everfighting/leetcode-problemset-solutions
9ba232cea3ada3df11b98b60907f47074abdec73
4d031bdf43620417ddf2b5a81df2ac3764b751fa
refs/heads/master
2020-05-21T10:28:57.285165
2019-10-16T15:57:09
2019-10-16T15:57:09
186,012,157
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
#给定长度为 n 的整数数组 nums,其中 n > 1,返回输出数组 output ,其中 output[i] 等于 nums 中除 nums[i] 之外其余各元素的乘积。 # #示例: #输入: [1,2,3,4] #输出: [24,12,8,6] #说明: 请不要使用除法,且在 O(n) 时间复杂度内完成此题。 # #进阶: #你可以在常数空间复杂度内完成这个题目吗?( 出于对空间复杂度分析的目的,输出数组不被视为额外空间。) # 思路:从左往右乘一遍,放一个列表list1,从右往左乘一遍,放一个列表list2,最后对应位置左右乘积相乘。 class Solution: def productExceptSelf(...
[ "binbin.cai@alphainsight.ai" ]
binbin.cai@alphainsight.ai
07aa165d6def3909678956db7fe5868f5a01c86c
7201148b2e8c636b9235527ed268809a9e26b04a
/server/customClient.py
b2a2e21aeae045817f3a554ba148829e6ff54c5c
[]
no_license
Shreyasdbz/messenger-stock-analysis-bot-python
fc5656eda9a1d0d859ed42b76e3281686f57151d
d14cd0277d511a1e3340ea2b2217f98283474a25
refs/heads/main
2023-01-29T12:49:48.942477
2020-12-15T22:17:38
2020-12-15T22:17:38
321,802,962
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
import os import json from dotenv import load_dotenv from fbchat import * load_dotenv() thread_shreyas = os.getenv('CHAT_SHREYAS_SANE') group_moves = os.getenv('CHAT_MOVES') class CustomClient(Client): def onMessage(self, mid, author_id, message_object, thread_id, thread_type, ts, metadata, msg, **kwargs): ...
[ "shreyasdbz@gmail.com" ]
shreyasdbz@gmail.com
abd71775ca585639eb34289d76fb518db732a0e3
fb1bb3923107f803c4c70784806f32c839d8c69b
/moniker/agent/api.py
9cd026dc955e89f78a83a6e86a1678860708b6b5
[]
no_license
devcamcar/moniker
8c8fe2d81b2c85d06037e3e5ad1b3b3f7a251f14
b68a898a8735b8bdbd0c952c1bd1ebe8f97a76b2
refs/heads/master
2020-05-18T12:42:08.322328
2012-11-05T00:26:54
2012-11-05T00:26:54
6,540,260
2
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
# Copyright 2012 Managed I.T. # # Author: Kiall Mac Innes <kiall@managedit.ie> # # 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 r...
[ "kiall@managedit.ie" ]
kiall@managedit.ie
61e410d33ff2987a9e60b5772efee86fa626f9eb
f1997dad0baf36f61e4f9d8f0bbd53a478be2e0e
/Assignments/day7_assign47_encryptmesg.py
90a0bb480159569257e6fe93d44ba81ad0966b66
[]
no_license
SaiSrinivas-10/INFytq
92c1c908ece09141126ef43a184210dab6ea1abb
69c93752ccf99d15f64e15ce823f066e567631bf
refs/heads/main
2023-02-22T23:38:15.324709
2021-01-30T14:08:08
2021-01-30T14:08:08
334,414,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
'''Write a python function, encrypt_sentence() which accepts a message and encrypts it based on rules given below and returns the encrypted message. Words at odd position -> Reverse It Words at even position -> Rearrange the characters so that all consonants appear before the vowels and their order should not change...
[ "noreply@github.com" ]
SaiSrinivas-10.noreply@github.com
ff7afff60396a83a614d3749860b0b76de1e3897
2951c3d8740d2dd485ee8dc7fcda478684d642e1
/scripts/train.py
95cde60b09fd061e592bdc107c34b678c7802205
[]
no_license
JieRen98/robosuite-benchmark-pmoe
a61b8a5c92a3c78b7e957848f843e94fe8715861
d8b484375e7364465203dcd3a08f6b098b3d20ad
refs/heads/master
2023-06-03T02:09:14.167283
2021-06-19T03:17:47
2021-06-19T03:17:47
376,819,442
0
0
null
null
null
null
UTF-8
Python
false
false
4,944
py
import json import os import numpy as np import torch import rlkit.torch.pytorch_util as ptu from rlkit.launchers.launcher_util import setup_logger from util.arguments import * from util.rlkit_utils import experiment os.environ['KMP_DUPLICATE_LIB_OK'] = 'True' # Add necessary command line args add_robosuite_args() ...
[ "JieRen9806@gmail.com" ]
JieRen9806@gmail.com
b81680590f118a2d347e1fb05c0986f14e401d1d
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.formwidget.contenttree-1.0.14-py2.7.egg/plone/formwidget/contenttree/demo.py
57b8a81802b37b1a271061de3b3b447da24627fd
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
1,759
py
from zope.component import adapts from zope.interface import Interface, implements from zope import schema from plone.z3cform import layout from z3c.form import form, button, field from plone.formwidget.contenttree import ContentTreeFieldWidget from plone.formwidget.contenttree import MultiContentTreeFieldWidget fro...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
84cb538f8850e3ffa7072e85d2b0228a7d713a47
356f3f1b7caf0ccb20cc830d40821dfb2cbda046
/sfit/workout/doctype/workout_day/test_workout_day.py
8696ffbb32d632dbc281ece67008a9e16deb779d
[ "MIT" ]
permissive
vignesharumainayagam/sfit
f4b75b9a8b2de08d0eaa4eadbcd3d5e432ffba56
a96afbf35b0e1635e44cb5f83d7f86c83abedb8f
refs/heads/master
2021-09-05T18:22:43.494208
2018-01-30T07:23:02
2018-01-30T07:23:02
104,332,803
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
# -*- coding: utf-8 -*- # Copyright (c) 2017, Valiant Systems and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestWorkoutDay(unittest.TestCase): pass
[ "vigneshwaran@valiantsystems.com" ]
vigneshwaran@valiantsystems.com
1f3e82b1570f82ea3bdfef2515882a87a08ed13e
8efe9a6c9489d798b5f5b610eb531d86924a1548
/src/products/migrations/0030_auto_20180305_0204.py
5a7d07b9df8306b0e3108784bcba1e778c6e7200
[]
no_license
MarekBiczysko/naklisze_public
e8e6f7e61cdb83b74ea68862b40c061c0253767b
e53c0e8fefffbcfc3a8859976eb7b81cf6270847
refs/heads/master
2022-12-12T02:27:09.824803
2019-07-23T10:54:47
2019-07-23T10:54:47
198,410,666
0
0
null
2022-12-08T01:03:08
2019-07-23T10:46:57
Python
UTF-8
Python
false
false
1,518
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-05 01:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0029_auto_20180305_0150'), ] operations = [ migrations.AlterField...
[ "marek.biczysko@stxnext.pl" ]
marek.biczysko@stxnext.pl
d4f3f7a792c89097abdc05e3d07cf82fc072fb1f
a26a72098b1ab6764005239b5b7dbd6d0cfd15a6
/goco_sqt/migrations/0005_remove_customer_lease.py
2d96de5bcf702b7b486a07dfa5be199fc8baa41a
[]
no_license
hjandu01/goco_sqt
29a2559dc664add5f0c94cbf341cbfd0dcd179f5
05ab74fd2f3abfbf0c8bbab1edc62023fbf41d30
refs/heads/master
2022-11-21T12:33:58.719366
2020-07-22T02:59:15
2020-07-22T02:59:15
274,212,049
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# Generated by Django 3.0.7 on 2020-07-13 02:23 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('goco_sqt', '0004_auto_20200515_0134'), ] operations = [ migrations.RemoveField( model_name='customer', name='lease', ...
[ "h.jandu@gmail.com" ]
h.jandu@gmail.com
ee60a7fde32dc5883f11743bb08ade31c6afcc50
9cb01bf1b6d001933957a827c7007abafe0cc981
/t3.py
5a2fb8af92a73ec3c939d40ed155cb33ade0bc4c
[]
no_license
VarunAravinth/selenium-project-adperfect
325547232d7e50728dac7c8bc005ac8e86b3f980
916fc741cb2efeb286f96dd01f658a58c6257b32
refs/heads/master
2021-04-28T08:30:57.770029
2018-11-27T08:24:35
2018-11-27T08:24:35
122,249,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
from Tkinter import * import Tkinter as ttk from ttk import * import Tkinter as tk import random from tkMessageBox import askokcancel fields = 'Title', 'Description', 'Residential','Licene', 'Websit', 'Price','Phone number','Email','Address', 'City', 'Postal Code', 'Online Title', 'Online Ad Copy','Date' d...
[ "varunaravinth28@gmail.com" ]
varunaravinth28@gmail.com
457239b9315689af8e0152aee7b6b3ed69148548
4bbd528e4659da4175acf5211035f1da0e5d0b6c
/connect.py
7f65fb54096e5f9ae3573142f5d9394ba43e96f1
[]
no_license
krishh-naidu/project3_visualization
1ea337b12af04291fda700c837b8c96200e56560
b1d87a34816ca1b81b8242c39ba91f9790732a45
refs/heads/main
2023-03-26T06:33:03.429877
2021-03-24T22:36:25
2021-03-24T22:36:25
334,191,206
0
2
null
2021-01-30T20:31:47
2021-01-29T15:52:17
Jupyter Notebook
UTF-8
Python
false
false
973
py
import psycopg2 from config import config import sys def connect(): conn = None try: params = config() # connect to the PostgreSQL server print('Connecting to the PostgreSQL database...') conn = psycopg2.connect(**params) ''' # create a cursor cur = conn....
[ "krishh.naidu@gmail.com" ]
krishh.naidu@gmail.com
aacde178b5ebec22c950035958a4fb64a6f73cf1
99e15ef6892148f0c73bb810f490ea47e2007428
/old_scratch_not_used/tanVsK.py
ec9c895bae0e97e408e3862cb156ddca54ce200d
[]
no_license
lperri/track-reco
879cf0861a07a669def5e042120ca9a91c8fd030
5cb1d1e87c81ab3fe9302679d3a4a2334ff37137
refs/heads/master
2020-04-15T08:06:27.505707
2019-04-09T19:13:21
2019-04-09T19:13:21
164,517,502
1
0
null
2019-03-26T20:51:47
2019-01-08T00:04:36
Python
UTF-8
Python
false
false
9,580
py
import ROOT import itertools import math from DataFormats.FWLite import Events, Handle from array import array import numpy def median(lst): return numpy.median(numpy.array(lst)) def fetchDTSegmentsPhi(event,ontime=True,twinMux=True): phiSeg = Handle ('L1MuDTChambPhContainer') if twinMux: ...
[ "leahmperri@physics.ucla.edu" ]
leahmperri@physics.ucla.edu
ed1ab366b7ca3992733217b863a06555a80a4447
c9dfc9ad4278f032c3c1639b6ba028f51816109c
/logo.py
cd8bf09f9fa6c9dea809856ed15dad1ca1d4622c
[]
no_license
matin-1879/Termux
f6ada8f920569204324c3b21c82cf6a21ffa67ff
fa9c5cb7c9d17223709fb57a7ab0ad89c7396366
refs/heads/main
2023-06-20T07:25:23.992844
2021-07-18T11:03:44
2021-07-18T11:03:44
387,152,495
1
0
null
null
null
null
UTF-8
Python
false
false
261
py
#!/usr/bin/python # -*- coding: utf-8 import os,sys,time,random print("") print("") color = ["\033[1;31m","\033[1;32m"] m = random.choice(color)+"WELCOME CODEBAZ \n" for msg in m: sys.stdout.write(msg) sys.stdout.flush() time.sleep(0.06) print("")
[ "noreply@github.com" ]
matin-1879.noreply@github.com
edb41ced91b448c477e1ff798421c4a836d02c1c
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_None/trend_Lag1Trend/cycle_5/ar_/test_artificial_128_None_Lag1Trend_5__0.py
a2712b0471685b35c3361d00197c36c4f8dea080
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
258
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 5, transform = "None", sigma = 0.0, exog_count = 0, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
e4e04452423509046271cbd5de89da20f7e3b97c
979d0facb53532a5ebd4e8077ea0a8fd8a97cf45
/src/PlatypusParsingFunctions.py
3252338a24c56db5e8da28192d416ebe0877e60d
[]
no_license
hackseq/2016_project_6
aadc123b918e825979f1f0b010ade1c505b4767d
4a006f78bf015edbddd55718f826439378c4e689
refs/heads/master
2021-05-15T01:01:37.233109
2016-10-17T22:50:37
2016-10-17T22:50:37
67,079,321
2
1
null
null
null
null
UTF-8
Python
false
false
3,095
py
# Necessary imports import sys, os from matplotlib import pyplot as plt #This function will take in a Platypus VCF, and a quality cutoff for variants, and return three arrays: #1. Position of variants #2. Quality of variants #3. Read Balance of variants def ParseVCF(filename,qualCutoff): infile = open("%s"%fi...
[ "noreply@github.com" ]
hackseq.noreply@github.com
512c1fce60003522e98e0f5f3d8278c65001a88e
437428a48278b4e9bc04e1b8acbb33199f409376
/modules/exploit/unix/dvr/camera_credentials_disclosure.py
563adb10d9ee37945d96f06681ce86ece688b976
[ "MIT" ]
permissive
happylaodu/HatSploit
06d18ba2590456241ba61273d9f3d662a8bb26ec
9d53f3db85ce38483c6e7d16570ac233c5dd93cf
refs/heads/main
2023-04-30T20:18:37.090185
2021-06-02T20:23:08
2021-06-02T20:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
#!/usr/bin/env python3 # # MIT License # # Copyright (c) 2020-2021 EntySec # # 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...
[ "enty8080@gmail.com" ]
enty8080@gmail.com
d1774ad51874a5675a3520841566cae2f5f090ea
ad5d38fce4785037c108186f17eb1c64380355ef
/sddsd/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/billingbudgets/v1/billingbudgets_v1_messages.py
8a611f89deb6f766bb26aafda35e58789808ab8b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
saranraju90/multik8s
75864b605a139ddb7947ed4de4ae8466bdd49acb
428576dedef7bb9cd6516e2c1ab2714581e1137c
refs/heads/master
2023-03-03T21:56:14.383571
2021-02-20T14:56:42
2021-02-20T14:56:42
339,665,231
0
0
null
null
null
null
UTF-8
Python
false
false
19,575
py
"""Generated message classes for billingbudgets version v1. The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_imp...
[ "saranraju90@gmail.com" ]
saranraju90@gmail.com
32cda09e891769fc9285f0251995a37b2ccb9aca
56a010c0cec944f9006236be4fc236f04fd40d58
/kd_express_crawler/middlewares.py
acf1973f342f0f9b5308a22700f08a2b2b8ecc4a
[]
no_license
wuming-hero/kd_express_crawler
09989b994e990ee0cd9dee9177009445a2c7ff83
9317d61884908c4933425622fb3539fadf3138da
refs/heads/master
2021-01-20T04:57:42.722730
2017-09-21T06:37:19
2017-09-21T06:37:19
101,400,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class ExpressTemplateSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # ...
[ "952532573@qq.com" ]
952532573@qq.com
3bbb8f647835caa7abd05694219d8a97f81cc0f3
f0937439e0310248d72b85506ebf1ffcc0fd5d3c
/ejercicio8.py
e87349a733675551a79523269f22b65586a6ae7c
[]
no_license
EfrenGaxiola/proyecto1
dac86fdefd64b9702d92bbe5f46fa641b8530f2b
e607a4746386fec16b90e749c40727e5b5c56d4d
refs/heads/main
2023-07-19T01:21:27.550370
2021-09-06T00:09:31
2021-09-06T00:09:31
401,918,090
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
def convertInputString(): rawInput = input("\nIntroduzca una palabra para saber su es un palindromo: ") rawString = rawInput.lower() rawList = list(rawString) return rawList def stripAnalphabetics(dirtyList): analphabeticList = [" ", "-", ".", ",", ":", ";", "!", "?", "'", "\""] fo...
[ "noreply@github.com" ]
EfrenGaxiola.noreply@github.com
f4dda8f842cc6addeae7701cf37e693f145626ad
e87a479e499c2b71677be89e416dbdb3e85d8d70
/HackerRank/coins.py
b4601f2e1419275a1e2c6f9d35bccdd3bbd01b20
[]
no_license
agankur21/Algorithm
d19d85b3a4c5568b6708fe50e2a8f130f242ee4d
8ee70c35adbed108db1471bec51032c6049d400b
refs/heads/master
2020-06-07T12:34:36.495507
2017-06-15T01:33:29
2017-06-15T01:33:29
35,210,301
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
import sys def update_out_matrix(coins, n, min_coin_value, out_matrix): # Base cases if min_coin_value == n: out_matrix[n][min_coin_value] = (n in coins) * 1 return else: if min_coin_value == 0 and n == 1: out_matrix[1][0] = 1 * (1 in coins) return e...
[ "agankur21@gmail.com" ]
agankur21@gmail.com
0482372da6150f93732ef9dbfe0fc9cd5bd63da0
0d49ae2184f2e88e4aefb423ae36578b8931e415
/intersight/apis/hyperflex_sys_config_policy_api.py
80f2f896c2898755c1e83ad7cac5bbd4a96f156e
[ "Apache-2.0" ]
permissive
sonogong777/intersight-python
0477c7e96cdd81e1e30a188d74948b5db4e41b04
af45333b23b0048029aeafcb0077f1d0a6ffe105
refs/heads/master
2021-04-30T03:29:46.680831
2018-02-12T20:22:10
2018-02-12T20:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,729
py
# coding: utf-8 """ UCS Starship API This is the UCS Starship REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility library from six...
[ "“dsoper@cisco.com”" ]
“dsoper@cisco.com”
5afe09e31c7ddd461bd0ca9ead432738d103c647
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/waf/netscaler.py
04b6d4eca5614726a9e6be0a151109dfc48cf07b
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import re from lib.core.enums import HTTP_HEADER from lib.core.settings import WAF_ATTACK_VECTORS __product__ = "NetScaler (Citrix Systems)" def detect(get_page): retv...
[ "everping@outlook.com" ]
everping@outlook.com
c62bf5e407c19bc1d3059d7e8ee9abbaba6d7100
eb74806869a4340a6d8a2623bbe72bd4e64dcde8
/apps/rss_feeds/migrations/0006_feed_fs_size_bytes.py
cebc86363ae3a0e11564538d0d6f2f78ab934930
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sictiru/NewsBlur
a0874a1044926d2268ba07a928e62fce5c9a8310
1ab88e4cc34775d00a1ac90ee08bc2498577e773
refs/heads/sictiru
2023-08-19T20:24:20.638019
2023-08-15T03:52:09
2023-08-15T03:52:09
250,445,213
1
0
MIT
2023-03-06T15:34:38
2020-03-27T05:05:44
Objective-C
UTF-8
Python
false
false
409
py
# Generated by Django 3.1.10 on 2022-05-11 17:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rss_feeds', '0005_feed_archive_subscribers'), ] operations = [ migrations.AddField( model_name='feed', name='fs_siz...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
2b595d35645373f0f49725584e2c455cf3ad4529
6a370e279b93a3ad5c48ac6d86a617d1c8775150
/Panels/srp05FinalePane.py
628d378a6a354ba72bca4d3d8f2024e45db2eda7
[]
no_license
LucioSilingardi/Python-SRP
6130b406453bd3c22caad7521002ec298805efe3
d7d95c25e3826e80ec4d8b2170120eedef67e15e
refs/heads/master
2022-05-27T11:47:43.607801
2020-05-02T09:18:56
2020-05-02T09:18:56
257,364,720
0
1
null
2020-05-07T16:13:31
2020-04-20T18:06:29
Python
UTF-8
Python
false
false
1,759
py
# python srp05FinalePane.py from PyQt5.QtCore import pyqtSlot from PyQt5.QtGui import QFont from PyQt5.QtWidgets import QWidget, QHBoxLayout, QVBoxLayout from PyQt5.QtWidgets import QLabel, QPushButton class FinalePanel(QWidget): def __init__(self, parent): QWidget.__init__(self) ...
[ "noreply@github.com" ]
LucioSilingardi.noreply@github.com
f75dd186dd80198d652fad077eede9b2f4cbcbf6
797147214dffefe16d2f9a594dd11d0f245c3b54
/cue/urls.py
cb798cffd4447e47f964861678d1bf1ef388f3ec
[]
no_license
markdawson/cue
f6664e73890bd26160edb0c7116a670b9c27a0fd
cc316f74ea43600c3ae12236e7d7551f8cf39097
refs/heads/master
2021-07-03T02:29:53.742310
2017-09-24T13:11:04
2017-09-24T13:11:04
104,598,230
1
0
null
null
null
null
UTF-8
Python
false
false
261
py
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^$', include("dashboard.urls", namespace="dashboard")), url(r'^api/', include("bot_api.urls", namespace="bot_api")) ]
[ "mark@markdawson.xyz" ]
mark@markdawson.xyz
3b30a770bc9971f15e4f4a4cd43afbcdce5c6da2
cc9cf69b1534dc0d9530b4ff485084162a404e34
/leetcode/pass/leetcode_90.py
74fc6a05142615a6ecb6b64f80b6893234b2b510
[]
no_license
NASA2333/study
99a58b2c9979201e9a4fae0c797391a538de6f45
ba63bc18f3c788090e43406315497329b00ec0a5
refs/heads/master
2021-05-03T22:26:52.541760
2018-02-07T02:24:55
2018-02-07T02:24:55
104,988,265
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
''' Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. For example, If nums = [1,2,2], a solution is: [ [2], [1], [1,2,2], [2,2], [1,2], [] ] ''' from itertools import permutations l...
[ "422282539@qq.com" ]
422282539@qq.com
a5a961b4574b5fc6b719622ce006914b1dfe62d2
ebcfeafc38b1fea0dbd1a6f32de4a0ce685135d6
/week-4/lecture-pgms/merge.py
47b4ec2a3f63ea140b71904549d1b41837306608
[]
no_license
aravinds-arv/dsa-algs-py
1aa2bc43993c7bd130f658c8b319ae24971e65c7
d3ab62ee82525fcd856fde92cb039ff6cc6beb6c
refs/heads/main
2023-07-17T20:58:08.523057
2021-09-03T10:00:33
2021-09-03T10:00:33
398,820,578
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
def merge(A, B): C, m, n = [], len(A),len(B) i, j = 0, 0 while i + j < m + n: if i == m: C.append(B[j]) j += 1 elif j == n: C.append(A[i]) i += 1 elif A[i] <= B[j]: C.append(A[i]) i += 1 elif A[...
[ "aravinds.arv@gmail.com" ]
aravinds.arv@gmail.com
2756cc43964f964550e8e55fa17e53c9aee96288
fdfe8a4a5aa987b08ca938c7febd08b3c06eb7d2
/polls/admin.py
ff6a44d610fa07e3877b4bb07ede3064dd35d6dd
[]
no_license
jadutorial/mysite
38b059e66885f081415a16a80b441ecf162adbca
3875e46d8b061e3ddb2fcffc4e11390a43f4bfc2
refs/heads/master
2016-08-04T16:17:21.838988
2015-05-05T15:43:33
2015-05-05T15:43:33
34,909,998
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from django.contrib import admin from .models import Question, Choice class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question_text']}), ('Date information', {'fields': ['pub_date'], '...
[ "jaddyranee@gmail.com" ]
jaddyranee@gmail.com
8abef58cd4f2bc9ebd8f78f2a9f1204ff594fe33
4539ff15683d78774720b5c0ed91ceeb8a7e3249
/Untitled1.py
02266199aa7b866c48ab43fbea116fb0121ef4fb
[]
no_license
bagjohn/mouseworld
1bf4bb38fada1955227d3b71bc58c272533badf8
423dfdadedd8745f1c7cce73c3c11ff3e5aef2fd
refs/heads/master
2021-01-22T03:29:40.990269
2017-07-26T19:11:26
2017-07-26T19:11:26
92,380,580
1
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
# coding: utf-8 # In[2]: #%%writefile mouseworld/evolve_Value_Layer.py import numpy as np import matplotlib.pyplot as plt from mouseworld.myspace import * from joblib import Parallel, delayed import multiprocessing import time a = time.time() grid0 = Value_layer('example0',100,100) grid1 = Value_layer('example1',1...
[ "bagjohn0@gmail.com" ]
bagjohn0@gmail.com
7a7d085f3ce12e7bc849972407be6e4fbe9c2c7c
e2070f4560dfde562926cf6e6ee46b20d04e28f7
/utils/views.py
fb7a17b96aad51895dc4e3c42a0f26c2f6998d24
[]
no_license
hazaka/platelet
58166abec47444f3fd2bf528b3cc5bbf47d7ec2c
345a72caf9c87775460c681cedc7ac683d13be52
refs/heads/master
2020-03-22T16:18:37.585768
2018-07-09T20:21:54
2018-07-09T20:21:54
140,313,526
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
from rest_framework import generics from utils.models import Language, Name from utils.serializers import LanguageSerializer, NameSerializer class LanguageList(generics.ListCreateAPIView): queryset = Language.objects.all() serializer_class = LanguageSerializer class LanguageDetail(generics.RetrieveUpdateDe...
[ "hazaka2717@naver.com" ]
hazaka2717@naver.com
a07fae45caf888b5a1f8594235788961f53f595f
17f527d6936397270183a35d7097e0a99de16cb5
/AtCoder/ABC/yomikomi.py
d7eac4e0bf82827b1dc0460a58ae586376914767
[]
no_license
ryosuke071111/algorithms
e942f043d08c7c7e2c926ed332ee2b8c44bdf0c5
867764450cc0f2a709fa2f743d9a0d95001e9296
refs/heads/master
2020-05-14T17:14:39.314064
2019-04-17T12:58:12
2019-04-17T12:58:12
181,888,623
11
0
null
null
null
null
UTF-8
Python
false
false
108
py
with open('goi.txt') as f: a=f.readlines() count=0 for i in a: if "・" in i: count+=1 print(count)
[ "ryosuke0711993@gmail.com" ]
ryosuke0711993@gmail.com
a7331b3ee43605f606716e225b6f3a8427eb2df6
4ae7cdc9292009398a292bdf6bee61428559fdfd
/SourceCodeTools/mltools/torch/__init__.py
3cf41a14372e44768224cab38988ebb371ea39dc
[]
no_license
VitalyRomanov/method-embedding
52a4e6e7bf726b4db0872902a0eaf1d8cb82b4a8
1c8f0fc04eb1f495555272d9747fd2fea68525e1
refs/heads/master
2023-08-31T17:39:04.051912
2023-01-08T05:02:52
2023-01-08T05:02:52
219,153,628
5
7
null
2023-07-22T20:27:20
2019-11-02T12:54:12
Python
UTF-8
Python
false
false
308
py
import torch def compute_accuracy(pred_, true_): return torch.sum(pred_ == true_).item() / len(true_) def to_numpy(tensor): return tensor.cpu().detach().numpy() def get_length_mask(target, lens): mask = torch.arange(target.size(1)).to(target.device)[None, :] < lens[:, None] return mask
[ "mortiv16@gmail.com" ]
mortiv16@gmail.com
2184d266b166ef45ea77462f62eb4ce275b7ac10
129b03022effd8d28aa5ccfdc838f2866d8b884a
/blog/migrations/0001_initial.py
d20d9419d99eef24fd3b22a4976bfa13adf292d9
[]
no_license
sarthak-g/my-first-blog
31d7e013c8a676a520f12588a6a1dc99361239cf
48ecc0b0c9546c38b8700d5e9eab76e27a8f0024
refs/heads/master
2020-03-30T09:17:43.906049
2018-10-06T20:35:56
2018-10-06T20:35:56
151,069,918
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.1.1 on 2018-10-01 09:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "sarthakgupta041@gmail.com" ]
sarthakgupta041@gmail.com
759b4b822b6a931f35052cc8ae753ec5e73d26ef
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_nonlinear_software/3-19_35.py
57bc6dce8fac1bc637a307a76bce16e0d73a5015
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,903
py
from typing import FrozenSet, Tuple import pysmt.typing as types from pysmt.environment import Environment as PysmtEnv from pysmt.fnode import FNode from utils import symb_to_next from hint import Hint, Location def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode, ...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
31a5e9b0504f09a16947134b5910a0f0ed080ca4
77b3a979d72a73fcadfc62d5d9ed1f85cbbb7e7e
/test_image_processing.py
691840c511868a9f7ab1472f79627ec01c1908d4
[ "Apache-2.0" ]
permissive
juanlucruz/SportEventLocator
6b37073b7c8e3cab4a609f4ca8a12d32aa929836
1ac8236f9fdd60917b9a7ee6bb6ca1fa5f6fa71e
refs/heads/master
2020-03-12T00:26:00.512203
2018-05-31T08:32:39
2018-05-31T08:32:39
130,348,886
0
0
null
null
null
null
UTF-8
Python
false
false
2,910
py
from owslib.wms import WebMapService from owslib import crs from PIL import Image, ImageEnhance, ImageFilter import cv2 import numpy as np from pyspark import SparkContext from pyproj import Proj c = crs.Crs('EPSG:3857') wms = WebMapService('http://www.ign.es/wms-inspire/pnoa-ma', version='1.3.0') box = 1000 # m? x=...
[ "raulcs1995@gmail.com" ]
raulcs1995@gmail.com
8261febe86d08207fffb746dc4ea9b8bb4edf2f7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/128/usersdata/195/33234/submittedfiles/al6.py
a43d19a9835509d9bcff514428b8a373c0912704
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
# -*- coding: utf-8 -*- n=int(input('digite n:')) contador=0 i=2 while i<=n: if n%i==0: contador=contador+1 print(i) i=i+1 if contador==0: print('PRIMO') else: print('NÃO PRIMO')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ebb9f9511f2d4e1e0a7f35c8931621f26e4379bb
4bd2768f5d02f958d05df4be05d41494a374ed28
/emailslicer.py
4ef24455972bd03c67bddea7233a733d0425d907
[]
no_license
garima0106/Python-basics
4519a5381185b230ee20008c0c39fff5495c7ae6
4d7090fd4b207bd2dd1086849bffc4760bacb2ef
refs/heads/master
2022-11-15T01:02:06.363226
2020-07-10T23:13:44
2020-07-10T23:13:44
275,098,391
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# get user email address email= input("Enter your email address: ").strip() #slice out user name username= email[0:email.index('@')] #slice out domain name #garimagr@gmail.com ind=email.index('@')+1 domainname= email[ind:] #format message message= "The user name is {} and the domain name is {}" output=message.form...
[ "gsindal@asu.edu" ]
gsindal@asu.edu
64f761f802a5becf9b6cced60817945b0cba70ac
8d41ced1299dc2837353c80af3668a74875a4366
/RealSwadeshiMart/wsgi.py
3d1d4af201cdfa2281d0f94d4869be3b1d10bc2b
[]
no_license
Sudhbhos/realswadeshimart
fa678bbd7f3e0e5843c30e51ef6b8e6b910d8317
8b44dcb69cb9b73e40aafa7f5a36875ddc948b54
refs/heads/master
2023-07-14T09:09:06.570483
2021-08-19T10:43:54
2021-08-19T10:43:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for RealSwadeshiMart 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('DJA...
[ "68770481+suraj7007@users.noreply.github.com" ]
68770481+suraj7007@users.noreply.github.com
b69ea749c11a9bd350f6febdebc5ca7638163946
1d0a4750e216f301ec49a247bf7bf07cd61fa29f
/app/views/tests/test_company_group_member_view.py
67e7adb1f0bd92a0db173653baac109cf9e70848
[]
no_license
smoothbenefits/BenefitMY_Python
52745a11db2cc9ab394c8de7954974e6d5a05e13
b7e8474a728bc22778fd24fe88d1918945a8cfc8
refs/heads/master
2021-03-27T15:57:34.798289
2018-04-29T19:04:04
2018-04-29T19:04:04
24,351,568
0
1
null
null
null
null
UTF-8
Python
false
false
10,119
py
from django.test import TestCase from django.core.urlresolvers import reverse from django.test.client import MULTIPART_CONTENT from view_test_base import ViewTestBase import json class CompanyGroupMemberTestCase(TestCase, ViewTestBase): # your fixture files here fixtures = ['49_period_definition', '10_company...
[ "eagleofpc@gmail.com" ]
eagleofpc@gmail.com
060cf4d4401324c2a96dbff35722acbdad0f7a7c
27779317db7950afa8d6cb11c4af6b3f94480999
/pytorch_unet/models/custom_resnet_unet.py
76aa8c72f9cb141241c68ee3e1eb3dcc2cf1d456
[]
no_license
UnGast/pytorch_unet
6f0241bada8d753f791608bb768467cb851a19e3
689a87f59f59f7bc1a6814de9f317ac7c0fb0aa5
refs/heads/master
2023-03-24T04:14:36.513212
2021-03-14T19:31:05
2021-03-14T19:31:05
308,472,112
0
0
null
null
null
null
UTF-8
Python
false
false
11,023
py
import torch import torch.nn as nn import torchvision.transforms import torchvision.models import math from typing import Union, Optional, List from ..gpu_stats import get_gpu_stats from .flatten_layer import Flatten class UNetIntermediary(nn.Module): def __init__(self, in_size, in_channels, out_channels): ...
[ "zadrian@web.de" ]
zadrian@web.de
6a433fabf90f7219f3f24df161056e867b23bdb6
1727663dde47508ef2f67d0905595f27b3881c24
/test/set_config.py
707e92142ad21c0b2f4ee639b9398be0a8e2b8f8
[ "MIT" ]
permissive
freddif/urchin-cgm
9648d9e1c13b911da4d6a200db2886f375e1e2c2
1d6597540beb23c5b889c588aa96d18bef39882f
refs/heads/master
2021-01-11T04:08:55.629497
2016-10-18T01:34:34
2016-10-18T01:34:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
""" Send Urchin config to the Pebble emulator, either from the `config` dict in a test class definition or from a JSON string. For the former case, best run with `watchdog` or similar to monitor file changes. """ import argparse import json import os import sys import test_screenshots from util import set_config POR...
[ "mark@warkmilson.com" ]
mark@warkmilson.com
0c430c6aecd9750cc42ba607375c8993c00e350c
0b420532815a3841b74335e1e6ab9f3d533225c3
/day_night.py
a9501b87541c63bc5ae6e47f5b599ce2137cbdd2
[]
no_license
akuhnregnier/npower
3d7ec12e2e21a6e23db96714391986d372e0e6e0
bf3d842cde9b2e311cd415a8da7786ed36909645
refs/heads/master
2021-06-11T21:23:55.221317
2016-11-17T16:32:06
2016-11-17T16:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 03 17:08:37 2016 @author: ahk114 """ import pandas as pd import numpy as np import matplotlib.pyplot as plt #import seaborn as sns import cPickle as pickle import os from numpy.fft import fft from numpy.fft import fftfreq import scipy.optimize as opt import copy plt.clos...
[ "ahf.kuhnregnier@gmail.com" ]
ahf.kuhnregnier@gmail.com
fa9bb76e3d49340273e92d5342b1d42d76847abc
be0171a5e8d2d81c4b6872d180a7e376ca7ac6f7
/src/prepare_data/get_faces.py
e0e63248aab01ec17afb9f50b0bd9adff5a162cf
[]
no_license
fitrialif/emotion-and-gender-classification
09ba7b6bf1d81950970eaad3442485cd051fc661
0415b18313c079d9d6769d03179c6b47ac8e495a
refs/heads/master
2020-03-23T09:02:12.525932
2018-05-28T13:33:20
2018-05-28T13:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
53,008
py
import tensorflow as tf import numpy as np import os #from print_ckpt import print_ckpt from tensorflow.contrib import slim import sys from easydict import EasyDict as edict import argparse import cv2 import time config = edict() config.BATCH_SIZE = 256 config.CLS_OHEM = True config.CLS_OHEM_RATIO = 0.7 config.BBOX_O...
[ "lixiaoyu283284@163.com" ]
lixiaoyu283284@163.com
46b8ffc637bbd9d82079a40f50572177875b1fe4
41991b3f1564fe8492fe3bc62ed5c2d930a41227
/outliers/outlier_cleaner.py
09499b19c99c33cd3af1820400c542113dadc0a4
[ "MIT" ]
permissive
davidderaedt/ud120-projects-master
7047243fae02837fd8bc8388e11875b7a91fc6e1
5ba4e0f3e6c6c440bb19dad1ed8d44bb9248b61a
refs/heads/master
2020-03-19T03:05:54.423919
2018-06-01T10:04:50
2018-06-01T10:04:50
135,694,760
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
#!/usr/bin/python def outlierCleaner(predictions, ages, net_worths): """ Clean away the 10% of points that have the largest residual errors (difference between the prediction and the actual net worth). Return a list of tuples named cleaned_data where each tuple is of the f...
[ "dehats@gmail.com" ]
dehats@gmail.com
880254dbedf31b53f86addb6083b6ae7d19799db
806949632a84e014d8787145af76752122061e76
/jobs/composetest/app.py
f62f7010712b9d6128a34097b6d791e6e66c6ced
[]
no_license
Krishnendu1987/learn-hyperledger
a126c6658b1825a6adff1a3f03ee849dcb747f6d
48d7d8fef3a5d490605daa9d030ebafd744f0fec
refs/heads/master
2020-04-28T03:17:50.498096
2019-04-01T05:06:33
2019-04-01T05:06:33
174,931,130
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
import time import redis from flask import Flask app = Flask(__name__) cache = redis.Redis(host='redis', port=6379) def get_hit_count(): retries = 5 while True: try: return cache.incr('hits') except redis.exceptions.ConnectionError as exc: if retries == 0: ...
[ "krishnendu.ke.chowdhury@gmail.com" ]
krishnendu.ke.chowdhury@gmail.com
d5fb1f65fb139f9106793a1579efb187499f80e8
cd89b787165441b95a553d959dcc9f889aa405c1
/Scripts/pip-script.py
bfb22d0beaff4599cd2f07f2352e1e425d212de5
[]
no_license
alanx3x7/python_projects
b09b24b5835d40470e23cb15f3ca7933ee1e3847
d34bf3a1251d2c43d591053cb259ddf65894e3b3
refs/heads/master
2020-11-30T16:34:21.728806
2020-01-21T04:51:06
2020-01-21T04:51:06
230,442,345
2
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!C:\Users\alanx\Documents\Python_Projects\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "alan_lai@jhu.edu" ]
alan_lai@jhu.edu
5b5f86f52f9d24ad6cabcf8ab4b0e86f6414d299
4a0c619deb5e70d35b7dfcb98ce8a8220a0a9cf5
/sorters/SLO_sorter_current_2017.py
aca72f75e8c6699ffe49f165996ae883b0732788
[]
no_license
tbutyl/In-Vivo-Retinal-Imaging
005ecf3bd95909db942834f095f8c85f7c1dd3b3
de76274e61c7ec2b4f9a52d394c7599c55ba1653
refs/heads/master
2021-01-11T17:04:35.602553
2019-07-11T21:35:10
2019-07-11T21:35:10
69,507,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
#Seems to work as of 09-13-2016 10:45 AM from tkinter.filedialog import askdirectory import os import sys import shutil def sorting(source): file_list = os.listdir(source) # print(file_list) print (source) destination_apd1 = source + "/reflectance" #\\ is needed because \ caus...
[ "emill18@u.rochester.edu" ]
emill18@u.rochester.edu
ab13f3796ac1a5f65c310553addac1a2f741bed2
6d32702c85e404b74066ae3ff77b34236ea3ed20
/ps7_test.py
c79f97466461d96ee225a6fbc2e931a0f990a737
[]
no_license
MAROLDZ/ProblemSet7
267c59043bcd1c894cef685f17fd983fd57f765b
b1ef7f40804f43e17ae5489f10d3ba0907d3f448
refs/heads/master
2020-12-24T05:55:55.867142
2016-07-20T03:10:31
2016-07-20T03:10:31
63,744,480
0
0
null
2016-07-20T03:10:32
2016-07-20T02:43:59
Python
UTF-8
Python
false
false
12,023
py
# 6.00.1x # Problem Set 7 Test Suite import unittest import sys from ps7 import * class ProblemSet7NewsStory(unittest.TestCase): def setUp(self): pass def testNewsStoryConstructor(self): story = NewsStory('', '', '', '', '') def testNewsStoryGetGuid(self): story = NewsStory('test g...
[ "maroldz@hotmail.com" ]
maroldz@hotmail.com
91e7ac6176abc32eef8a903a6ed316f31cc2ddff
3e4071cd38c484645a1ccb08ffc419a2de025886
/assignment3/Rectangle.py
5d9f77715840ac5b47d65f7cb7078dbfce58da6f
[]
no_license
radhika2303/PPL_assignments
38f5ae9c29f5db7295aa03a1c4b13372c6b997d3
4180656673eb0dfc5aabc1a4e1f179ea20070de1
refs/heads/master
2022-07-18T19:24:12.029364
2020-05-24T10:15:44
2020-05-24T10:15:44
264,940,354
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import turtle class Rectangle: def __init__(self, l = 0, w = 0): self.__length = l self.__width = w def set_side(self, l, w): self.length = l self.width = w def get_area(self): return (self.length * self.width) def draw(self): t = turtle.Turtle...
[ "noreply@github.com" ]
radhika2303.noreply@github.com
cbf81672fe34b40b73e579e7ea4189bd8b29c91e
9823c2c8cee5d8a3a6b859f7316388c1198722c7
/XadminShow/apps/course/migrations/0011_auto_20181016_1553.py
b3434f5215d331a2afd10a8401e5dc6e473bda40
[]
no_license
vlctt/django-project
519fbe56f4d5093a9b0d898f39a06602e6433c77
050dfdfd7da25b862d17aee0d15e0be0f641781d
refs/heads/master
2021-09-26T21:53:11.321875
2018-11-03T02:47:18
2018-11-03T02:47:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
# Generated by Django 2.0.5 on 2018-10-16 15:53 import DjangoUeditor.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('course', '0010_course_is_banner'), ] operations = [ migrations.CreateModel( name='BannerCourse', ...
[ "1018596741@qq.com" ]
1018596741@qq.com
df3ffa53be1d7bf713732a01a4231db1012843a7
3fcb62688c094df7420a41793d80835e2c170a23
/jose_P2_ENG.py
29a74f9c3b5ab9974d2e33ee31db5cd5c05f81d0
[]
no_license
enriquedelacal/GymkanaDelacalv2
d45fbf69ac6b9536cfc93788cd565d26062fd025
ab1115886e2da0127ccd93690f436f20f59bfefd
refs/heads/master
2020-08-14T22:07:03.930365
2019-10-15T07:50:40
2019-10-15T07:50:40
215,239,061
0
0
null
null
null
null
UTF-8
Python
false
false
17,813
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 8 13:04:40 2018 @author: villa """ import re import random #def raw_input(msg): # return input(msg) def generateRandomStr(lon): s = '' while len(s) < lon: s = s + chr(random.randint(ord('a'), ord('z'))) return s def generateRan...
[ "enrique.delacal@gmail.com" ]
enrique.delacal@gmail.com
d57266dab8d5af22860b6ec60667e9dc907af33f
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/MSSM_HiggsToMuMu/fragment_mhmodp_MA400_tb20_bbH.py
29e5b0fcac451a27f7c6bbc2d0d18d8dbe8f4c9b
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
18,020
py
COM_ENERGY = 13000.0 # GeV CROSS_SECTION = 1 # pb PROCESS = 'HiggsBSM:gg2H2bbbar = on' SLHA_TABLE = """BLOCK SPINFO 1 FeynHiggs 2 2.12.0 2 built on ott 13, 2016 BLOCK MODSEL 1 0 # Model 2 1 # GridPts 3 0 # Content ...
[ "pietro.vischia@gmail.com" ]
pietro.vischia@gmail.com
35bad535a079fa4d1c260581d0e8fc3ca1dd433a
59b72b8f662cd605b3ce31f54779c17e5ca066d0
/interview_q/leet_code/子集.py
d6aa3df0e62c43481165dd5041958cface2a3827
[]
no_license
dongyang2/hello-world
c1f5853ccafd6b8f23836192547ab36f898e0891
1f859b53e2b21ed5a648da09b84950f03ec1b370
refs/heads/master
2022-12-11T22:07:22.853912
2022-11-24T03:52:35
2022-11-24T03:52:35
119,025,960
0
0
null
2018-01-26T10:09:58
2018-01-26T08:28:10
null
UTF-8
Python
false
false
2,388
py
# https://leetcode-cn.com/problems/subsets/ # coding: utf-8 # Python 3 # 给定一组不含重复元素的整数数组,返回该数组所有可能的子集,包括空集。 # # 思路:直接使用“组合.py”文件的函数。 # 优化方法,观察输入n=10时的结果,发现后面的结果等于输入数组与前面的结果的差集。如,长度为9的子集,一定等于长度为10的子集减长度为1的子集的结果。 # 边界条件: def erg_new_new(li, k, tmp, com): n = len(tmp) if n == k: com.append(tmp) else:...
[ "dongyangzhao@outlook.com" ]
dongyangzhao@outlook.com
9239be7684821d43803dcdd9302b75b5eb43b679
9cba7097ac19b86886d1ca658d133780f1b723c6
/Method_IOLK.py
d0f8e9049dece3fb51db0fe00631f9f60a3d8770
[]
no_license
Yan-CASIA/Estimation-and-Prediction-Framework
9ff7f1b439cbf054c1c322bfe78b318afb848611
3728c24d75b7e7b6ab5eb2374bfa6268c875b15f
refs/heads/main
2023-05-12T22:33:23.914459
2021-05-31T11:53:58
2021-05-31T11:53:58
372,485,247
2
0
null
null
null
null
UTF-8
Python
false
false
7,971
py
# Import numpy and OpenCV import numpy as np import cv2 from matplotlib import pyplot as plt import pandas as pd import torch from torch import nn, optim from torch.utils.data import Dataset, DataLoader from torch.autograd import Variable import os.path as op import sys import time from LSTM_model import ls...
[ "noreply@github.com" ]
Yan-CASIA.noreply@github.com
5e9b31b9c658c18ee03c3afdab9042716a92b89b
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/vz/ctrctentitydef.py
cf877348cdffddd74f0ba1250b5de389e328ad62
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
15,939
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
e4d28b7e7ad258bcdaf1b53fe6adf31992e31092
6ec45b6548d39b69721c3ac27a93906b924b302f
/dansk.py
d218734876510e77a585a56db3964aafaf167c66
[]
no_license
smithniels/Dansk_Quiz
8aaa1311bdcac58496ac334d64960f7fef6e159d
2e338ec3442278e76343fffabf0f419995038eeb
refs/heads/master
2020-06-13T03:41:52.205359
2019-07-03T11:39:19
2019-07-03T11:39:19
194,522,480
0
0
null
null
null
null
UTF-8
Python
false
false
2,959
py
## ø æ å ## Dansk ''' CURRENTELY NOT WORKING TODO: def add_word(key,value): ''' import string import random # import sys # import io #sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8') # sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8') allowe...
[ "noreply@github.com" ]
smithniels.noreply@github.com
8f2804428b63e25c8e704fb9def3a459ee42e87d
3b1053429de896731fe659b8ea09efe5f8bdc4cb
/src/db/DBStpHardware.py
902519e353ffa62e3425ec8e2b8cb150f10325d0
[]
no_license
rajgu/machine-master
57bb6f05fce5dfa512ecd10bc5e7bb31bbd76b8a
f1a6081c9bfde1937341a1a55478c08d48005f05
refs/heads/master
2020-03-26T22:09:14.058722
2018-08-20T15:42:00
2018-08-20T15:42:00
145,435,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from src.db.Crud import Crud class DBStpHardware(Crud): _table_name = 'stp_hardware' _table_struct = { 'stp_id' : {'type' : 'integer', 'validate' : True}, 'type' : {'type' : 'text', 'validate' : True}, 'name' : {'type' : 'text', 'validate' : True}, 'serial_number': {'type' : ...
[ "=" ]
=
f5c341cca72178ff8dfc526185fcf12e40a313f4
f6b2842df4e5c3752cc4278fe31a1642332097e2
/tests/unit/legate/driver/test_driver.py
47a3cfcfc89fc05fcb98afea5ceb8b1a48ba63ed
[ "Apache-2.0" ]
permissive
nv-legate/legate.core
3ce237a6629a0fa857394297c5cf0050e1bac31b
f1d4a3e5cd832bc87d5dd7a6763da0c6075483e5
refs/heads/branch-23.09
2023-08-22T04:37:18.561218
2023-08-11T17:29:34
2023-08-11T17:29:34
356,975,841
165
52
Apache-2.0
2023-09-13T18:09:48
2021-04-11T20:46:34
Python
UTF-8
Python
false
false
7,347
py
# Copyright 2021-2022 NVIDIA Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "noreply@github.com" ]
nv-legate.noreply@github.com
cbbcc1f4459db0b969c39cb2beb64a70a45e79dc
59665f5c3d205052dffd6436c70884368cd10a19
/extensions/pyGUI/PyGUI-2.5.4/Tests/21-image.py
57998ef364a4d9a62a22834601311d9e277706ad
[ "LicenseRef-scancode-public-domain" ]
permissive
edusmil/feature_toggles
bc8200e20a12ca72cde6918a80da44edeb08db8a
ba8ae322331268eaf7968184ea00f4582569d0cd
refs/heads/master
2022-11-20T21:48:02.231232
2018-05-20T23:37:39
2018-05-20T23:37:39
109,680,999
0
1
null
2020-07-23T02:48:10
2017-11-06T10:31:01
Python
UTF-8
Python
false
false
1,550
py
from GUI import Window, View, Image, application from GUI.Geometry import offset_rect, rect_sized from GUI.StdColors import yellow from testing import say class ImageTestView(View): def draw(self, c, r): c.backcolor = yellow c.erase_rect(r) main_image_pos = (10, 10) src_rect = ima...
[ "eduardosmil@pegasus.ic.uff.br" ]
eduardosmil@pegasus.ic.uff.br
7aa513a018f1f1887b44be7689dd657b6c9f8ed5
fc20620a1fe41c83cb4c17ce36e5d3e6d5dd58fa
/src/python/dicomifier/__main__.py
b0fac30dd2023b3cfec7b87015b30eef36314d09
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
lamyj/dicomifier
bdd3ad5756563365fe59a31166cbcaa14f98603f
8601760917f7ef47d87fbd61d2c647c3d9cbeb3e
refs/heads/master
2023-04-28T15:45:52.571809
2023-04-20T15:50:03
2023-04-20T15:50:03
32,533,252
33
11
NOASSERTION
2022-09-12T16:53:20
2015-03-19T16:28:40
Python
UTF-8
Python
false
false
1,955
py
######################################################################### # Dicomifier - Copyright (C) Universite de Strasbourg # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for...
[ "lamy@unistra.fr" ]
lamy@unistra.fr
73d18023f16c3200b250824b0749fbaf61070b46
61115cb09959222859953d50baaa842123132f3f
/Homeworks/HWC/Jiahui_Tang_HWC/problem_1/P12_reducer.py
847306482a7ab6de0e7e1cfbfe676942ed54c49d
[]
no_license
TangJiahui/CS205-ComputingFoundations-Computational-Science
61601d153b1cdebb8fafda9eb492ac80a51cfba4
d42e8e48f4151bd7a5be79ad7eb0689a6b4cdabb
refs/heads/main
2023-04-22T04:28:08.473914
2021-05-14T17:38:14
2021-05-14T17:38:14
335,159,665
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
#!/usr/bin/python import sys previous = None sum = 0 for line in sys.stdin: key, value = line.split( '\t' ) if key != previous: if previous is not None: print previous + '\t' + str( sum ) previous = key sum = 0 sum = sum + int( value ) print previous + '\t' ...
[ "tangjiahui0610@gmail.com" ]
tangjiahui0610@gmail.com
e25d5c6d44603dfc1ac7be40c0f5e63bce951fac
332ac6deaed8b8917cf874f04fc77246378bdb44
/setup.py
4db61d01cd37dbb3dd83d18bdb2eb0d4634cfe76
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
hestela/fauxmo
5a435399eca61c525502dc90333ee73cff0d3d15
f2246b952a0246bf0dcd74e770c9daea0dcaa763
refs/heads/master
2020-03-11T15:45:48.414168
2018-04-19T00:56:27
2018-04-19T01:08:35
130,095,227
0
0
null
2018-04-18T16:58:43
2018-04-18T16:58:43
null
UTF-8
Python
false
false
1,755
py
import re from setuptools import setup, find_packages try: import pypandoc readme = pypandoc.convert('README.md', 'rst') history = pypandoc.convert('CHANGELOG.md', 'rst') except ImportError: with open('README.md') as readme_file, \ open('CHANGELOG.md') as history_file: readme = read...
[ "nate@n8henrie.com" ]
nate@n8henrie.com
5a67163d305198376e456fba2165dfd442331dcb
4f7e671e7ae627e4fbec534549dbc946b90a4b64
/compute/video/python/retinaface/data/data_augment.py
c1b52ae19bf8d9ac3fa256b68730ce1b556c6d6e
[ "BSD-3-Clause" ]
permissive
edusense/edusense
52b1b732c5b58e849681b0a87f343c8ac866de2a
c84b60abebc72c79f88b60768389b1c007508b78
refs/heads/master
2023-08-11T11:17:45.133036
2021-06-17T02:30:16
2021-06-17T02:30:16
211,929,674
55
12
BSD-3-Clause
2022-12-08T01:49:50
2019-09-30T18:39:36
Python
UTF-8
Python
false
false
7,076
py
import cv2 import numpy as np import random from utils.box_utils import matrix_iof def _crop(image, boxes, labels, landm, img_dim): height, width, _ = image.shape pad_image_flag = True for _ in range(250): """ if random.uniform(0, 1) <= 0.2: scale = 1.0 else: ...
[ "deval.maker@gmail.com" ]
deval.maker@gmail.com
d3239abd511c59d16b0f2c91fac9d96f110c8437
859ea0c7d6210299b71f438095f3ba7920fde183
/Case_Study_2/countwords.py
650f5cb0c5561f5d56c5ee6a2f0a1066b5fa3968
[]
no_license
MiladFarazian/UsingPythonForResearch
2b4f9d620c6fc5e59133276ec4045ec8ce3290ca
41354f7b3166396f9075f3ce412e16742b11f06a
refs/heads/master
2022-12-05T22:00:52.009084
2020-09-02T02:42:03
2020-09-02T02:42:03
289,374,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
text = "This is my test text. We're keeping this text short to keep things manageable" def count_words(text): """Count the number of times each word occers in text (str). return dictionary where keys are unique words and values are word counts. """ text = text.lower() skips = [".",",",";",":","'",'"'] ...
[ "mfarazia@ucsc.edu" ]
mfarazia@ucsc.edu
7fe93013582e17ef8f5518f26feb55c0cfe7805f
860dde2632c1847ec66ba9346bf0845bd5b501b7
/server/python_server/django_server/django_server/urls.py
bc4bee83387e328b59ea5e979bd0524e14d340e4
[]
no_license
Jianru-Lin/http-benchmark
52364623405165eb90299678b6fe082845f0d9e4
37d12944f804f0f3f1d42d088d25ec2ebdc18ab5
refs/heads/master
2021-01-13T09:00:05.636349
2016-10-06T05:39:59
2016-10-06T05:39:59
70,043,296
1
0
null
null
null
null
UTF-8
Python
false
false
748
py
"""django_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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') Cl...
[ "guoxu3@qq.com" ]
guoxu3@qq.com
0f33283a873629ba39462826d54df70ec5c7522d
029c855332e94b816ec2b80f6114228a56e366c6
/Training Code/gan/loss_functions.py
ede1e76c276b4d7dc40696800fcad7245e197205
[]
no_license
kiritobhatta/Comp4471_T2V
977d71725886a0d61c8dec5468e84dca02ac7053
7260706bc858275ab86c5935ddbd0279cfa3a894
refs/heads/master
2022-09-13T11:24:43.741017
2020-05-26T13:03:40
2020-05-26T13:03:40
262,611,607
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
import torch import numpy as np import scipy as sc EPS = 1e-06 def dis_loss(FDwG1, FDwO1, SDwG2, SDwO2 ): return ( torch.mean(torch.log(EPS + FDwO1)) + torch.mean(torch.log(EPS + 1 - FDwG1)) + torch.mean(torch.log(EPS + SDwO2)) + torch.mean(torch.log(EPS + 1 - SDwG2)) ) def f...
[ "udbhatt@ust.hk" ]
udbhatt@ust.hk
77497876ac2b2353acf6bb58d2da197342fb14f7
490c3fd7ccfaf1f640d0da559a1a1b7f5bc52564
/account/models.py
8cfe2361349c93f6ea87c3c8e0ac699dbc8bf029
[]
no_license
Pfhorrest/Django-Buddy
28d1946bcc9599288b39cfa552375a1473aa1bfe
f2740ccb5cf20b274011e347d632a8f87f55bf5e
refs/heads/main
2023-02-28T05:58:09.972090
2021-01-28T09:56:56
2021-01-28T09:56:56
331,574,082
0
0
null
2021-01-25T09:58:13
2021-01-21T09:13:28
HTML
UTF-8
Python
false
false
2,133
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.conf import settings from django.db.models.signals import post_save from django.contrib.auth.signals import user_logged_in from django.contrib.auth.signals import user_logged_out from django.contrib.auth.signals import user_log...
[ "blairmickie@gmail.com" ]
blairmickie@gmail.com
1b103e18ecb604e87e2f579cf645558421707b91
8690ca0028c54b62d68badf1753fc6151ae03525
/Part3 Levels of Aggregation/fse_data/AllROIs/tpot_mnist_pipeline_triangulateAggregationLevelParticipantSplitaggr_2_groups4.py
7d1fc2a6145b7665e8206ac0c752c83a15062340
[]
no_license
brains-on-code/conducting-and-analyzing-human-studies
fd74ee77fdc56cc61bdc1e0cf9bf423780f5dddc
548e7443f4d2bdb2db1f2858289b7d3518593c59
refs/heads/master
2021-06-26T21:30:56.386121
2020-12-22T13:49:16
2020-12-22T13:49:16
195,975,817
2
0
null
null
null
null
UTF-8
Python
false
false
830
py
import numpy as np import pandas as pd from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import train_test_split # NOTE: Make sure that the class is labeled 'target' in the data file tpot_data = pd.read_csv('PATH/TO/DATA/FILE', sep='COLUMN_SEPARATOR', dtype=np.float64) features = tpot_da...
[ "fmriml@fmriml.com" ]
fmriml@fmriml.com
c88a87fa04a6ee97bd135ddfc910c378a0c75315
ac9a18e1fb393e741645e845a9d3e7d61911b961
/gt/web/dbhandler.py
60bfe82a57a647c6bc32119056c9f260e41770dd
[]
no_license
zhizhi100/HelloPython2
4419a239553fb3c63a671d8bdf5cab6df8cb1aca
4395959064a96a4bf819e517195421358dec65b5
refs/heads/master
2021-01-10T01:49:07.606432
2016-03-04T07:09:56
2016-03-04T07:09:56
44,967,959
1
0
null
null
null
null
UTF-8
Python
false
false
4,411
py
# encoding: utf-8 ''' Created on 2015年11月15日 @author: ZhongPing ''' import tornado.web import json from gt.gtcore.nsr import Nsr,UNsr import gt.gtcore.sysinfo as g3sys from gt.gtcore import nsr from gt.gtcore.env import Gtenv from gt.gtcore.frequence import Freq class AjaxHandler(tornado.web.Re...
[ "zhizhi100@foxmail.com" ]
zhizhi100@foxmail.com
514b2206d1a8ca94251eb03d75ec648693671ce5
1a688ab594d3d9d74f293795b17b846301290c6d
/SparkCourse/MostPopularMovie_DF.py
def7bfe4e07001f6b79e0b66d0807f0c5d425d98
[]
no_license
ketan-analytics/Spark
3b1f94d31231c639b611772b44202f17a0298392
a64ca656f1ba4e30168ccd7ef44b5e3beba51723
refs/heads/master
2021-04-26T23:43:33.564096
2018-07-02T00:54:19
2018-07-02T00:54:19
123,845,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
from pyspark.sql import SparkSession from pyspark.sql import Row from pyspark.sql import functions def loadMovieNames(): movieNames = {} with open("C:/Ketan - Personal/Self Learning/Big Data/Spark/SparkCourse/ml-100k/u.ITEM") as f: for line in f: fields = line.split('|') ...
[ "noreply@github.com" ]
ketan-analytics.noreply@github.com
190931a010f8f4088d6a989d3fd663dec1ebeb62
088fe90d8c4a2bf8195e030a0f83bc3a9061c1cf
/Archive/1994-2018/LJ/listings/142/MailAttachment.py
df5b91d9731454f8a3c5a8e6ab910ef958c3ea60
[]
no_license
acastroy/linuxjournal
ae05384348a09b624056996603aca635a6ee86cf
8e4544b7482695a668022366eaded81e50aa5b3a
refs/heads/master
2022-03-28T06:54:45.917154
2020-01-13T03:26:35
2020-01-13T03:26:35
233,156,144
1
0
null
null
null
null
UTF-8
Python
false
false
4,240
py
#!/usr/bin/env python ##~ MailAttachment.py ##~ This programs sends emails with attachments. ##~ Copyright (C) 2005 Fred Stelter ##~ ##~ This program is free software; you can redistribute it and/or modify ##~ it under the terms of the GNU General Public License as published by ##~ the Free S...
[ "acastroy@users.noreply.github.com" ]
acastroy@users.noreply.github.com
13b9c639960ed1668c9fca517e4c5c2a5a1468ba
09d84e0d8ed3a3b8cffbaf8df37eb42cd6ed7dd9
/hello_world.py
9e467f06f873b6dbe91c9be258833f3dea31a625
[]
no_license
Anshulpg/learning-python
da9af872e17932775374b91bf19c6826260a4b10
89819164e87e4c8041011e239a1e12a3035247ac
refs/heads/master
2022-12-23T19:24:44.467225
2020-10-01T07:10:50
2020-10-01T07:10:50
274,446,637
0
2
null
2020-10-01T07:10:52
2020-06-23T15:49:01
Python
UTF-8
Python
false
false
212
py
names_list = ['Jack', 'Jill', 'Tom', 'Anshul'] for index, name in enumerate(names_list): if index==len(names_list) - 1: print(f"Hello World, myself {names_list[index]}") else: pass
[ "noreply@github.com" ]
Anshulpg.noreply@github.com
77a3b18675888919ff757d8bc77f040421d1e8bb
60c20e30c9911e04eb1e780b45437305108c355d
/Python/Merge the Tools.py
45d5f809e5c1e7d5ac27f6ae2294020923b08cc8
[]
no_license
NaserAnjum21/HackerRank-Codes
9fbb039e0ea49c799e5f0119aa2477a782ad3e04
07d2428c36cb6205c55c4711501832288b0f0cb4
refs/heads/master
2022-11-27T10:22:36.938115
2020-07-28T14:22:01
2020-07-28T14:22:01
276,168,421
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
def merge_the_tools(str,k): substr = [] for i in range(0, len(str),k): substr.append(str[i:i+k]) u = [] for t in substr: s = '' dct = {} for ch in t: if ch not in dct: dct[ch] = 1 s += ch u.append(s) for ans i...
[ "na.samudro2196@gmail.com" ]
na.samudro2196@gmail.com
aba2a884d4f2b0a73725dccefc5950fbfc7e745e
74afe97073a0693042d31567ba1a5741bcdebf72
/tests/utils.py
82762100c4b3ab85ace2b7d2ff312d3fe836d466
[ "Apache-2.0" ]
permissive
bruvio/tinyber
82aa34a5cdf842caa0f863540b249e37ae09fc78
d20d33341f9e74ba9b699553a8cf6448c167dec9
refs/heads/master
2021-05-29T23:07:58.841678
2015-07-23T23:24:52
2015-07-23T23:24:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from asn1ate import parser from asn1ate.sema import * from tinyber.walker import Walker from tinyber.py_nodes import PythonBackend as Backend from tinyber import py_nodes as nodes def generate(infilename, outfilename): class FakeArgs(object): no_standalone = False import os with open(infilename)...
[ "mark@peek.org" ]
mark@peek.org
ef6c16752acf5bee7f50ebca484f34c1c094d0c1
701c875c75d2048a484dcb80a5f57265fa5c682e
/mexFunction.py
f699746ce0316c59ed31a52d8f87e77fd945bc1f
[]
no_license
Ravitheja14/Code-signal
d9de018ae16b869f2f01559f8f4cee7cb295e12a
4f4bcbcc89e5db53b375e339c069dd48438b4984
refs/heads/master
2023-03-13T18:42:03.920857
2021-03-06T15:57:52
2021-03-06T15:57:52
344,246,684
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
def mexFunction(s, upperBound): found = -1 for i in range(upperBound): if not i in s: found = i break else: found = upperBound return found print(mexFunction([0, 4, 2, 3, 1, 7], 10))
[ "papareddyravitheja@gmail.com" ]
papareddyravitheja@gmail.com