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 220
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 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5ea4ea841bdb356f1aa96a4a07df4f58831d038 | aea8205449dd0a5273f60b73c8bd4a04a6743f3b | /dyno_hsr_localization/nodes/fake_odom_broadcaster | 5746c24efb51d11dbd97ff3db9e487e26543818b | [] | no_license | samiamlabs/dyno_hsr | ad4fdb0487c006504f8c04c4f1699963563e3a4f | e34f685ff08f44364ba97b2c538e049c59241e8d | refs/heads/master | 2021-04-03T10:02:16.646441 | 2018-07-06T15:32:00 | 2018-07-06T15:32:00 | 124,736,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 792 | #!/usr/bin/env python
import roslib
import rospy
import tf
from nav_msgs.msg import Odometry
def odometry_cb(msg):
br = tf.TransformBroadcaster()
x = msg.pose.pose.position.x
y = msg.pose.pose.position.y
z = msg.pose.pose.position.z
position = (x, y, z)
x = msg.pose.pose.orientation.x
y... | [
"samuellindgren91@gmail.com"
] | samuellindgren91@gmail.com | |
78e3471fd130c7d3f28c1f828db7914a791bae23 | 5568f3c6a6d24fd1489b41215f53d4522b150ca1 | /Day1 - Numbers, Arithmetic, and Printing to the Console.py | 8c5064e32a0f9727ed5f94ab72f4e42158155c77 | [] | no_license | LukeSkyRed/30-Days-of-Python | d4091e1996d32a3c7a4e91187b599ee66c413ef1 | d4dd3120a175c46e86d6a6228f610e49d368b92d | refs/heads/main | 2023-05-12T02:25:55.911765 | 2021-05-26T13:14:17 | 2021-05-26T13:14:17 | 367,687,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 638 | py | # Day 1: Numbers, Arithmetic, and Printing to the Console
#calculate the numbers of days,weeks, months in 27 years
years = 27
days = 365
weeks = 52
month = 12
days_per_years = years * days
weeks_per_years = years * weeks
months_per_years = years * month
print("Il numero di giorni in " + str(years) + " ... | [
"noreply@github.com"
] | LukeSkyRed.noreply@github.com |
4ae82fbb54695b12dbf2f6d5842e6919c8a8330b | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_97/1111.py | a46d75a4bf3135788b1b71ced5eaa6713ed67828 | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 981 | py | # Program to solve C. Recycled Numbers
def is_recycled_pair(a, b, call):
astr = str(a)
bstr = str(b)
if len(astr) != len(bstr) or len(astr) == 1:
return False
for i in range(1, len(astr)):
if astr == (bstr[len(astr) - i:] + bstr[:len(astr) - i]):
return True
if call == 1:
return is_re... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
48988a0333816b67fbbeeb5cb654133e4a63e35a | 85bc90e520580d2e4c186f910fc3e0396ee934f7 | /hockeystreams_api/base.py | c6211b81a45b23af288db0f8f83746fbaa1217d8 | [] | no_license | ulchm/picks_server | c6abb32220ee18bb1d72398680139b354a092042 | 1f87296538d69b51f2bef75f009e35363d04a5b8 | refs/heads/master | 2021-01-10T02:02:12.993034 | 2016-01-03T14:31:47 | 2016-01-03T14:31:47 | 48,917,543 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,154 | py | from django.conf import settings
import urllib
import urllib2
import json
class HockeyStreamsAPIBase:
token = settings.HOCKEYSTREAMS_GAMES_TOKEN
key = None
base_url = None
def __init__(self):
self.token = settings.HOCKEYSTREAMS_GAMES_TOKEN
self.base_url = settings.HOCKEYSTREAMS_API_UR... | [
"mike@norcode.com"
] | mike@norcode.com |
8e5e8ca0317d169947d49cf752033de72b169638 | 0f4823e4e8dcedf64b0061c9f02d2bf4b410c0e0 | /autotest/t000_testscripts.py | 4394523e616b8f2de32d6d4ce65a26d645f47bda | [
"BSD-3-Clause"
] | permissive | MJKnowling/flopy | cfa4383c8c834fbc57341511621d3f2401726224 | f480ff304e5728ccaa5e663d3fa77ec025cb0ba8 | refs/heads/master | 2021-09-20T23:57:13.032896 | 2017-12-01T18:57:09 | 2017-12-01T18:57:09 | 113,387,250 | 0 | 0 | null | 2017-12-07T01:33:03 | 2017-12-07T01:33:02 | null | UTF-8 | Python | false | false | 1,809 | py | # Remove the temp directory and then create a fresh one
from __future__ import print_function
import os
import sys
import shutil
exclude = ['flopy_swi2_ex2.py', 'flopy_swi2_ex5.py']
for arg in sys.argv:
if arg.lower() == '--all':
exclude = []
sdir = os.path.join('..', 'examples', 'scripts')
# make workin... | [
"jdhughes@usgs.gov"
] | jdhughes@usgs.gov |
cf038c18ced34852618731774202a5ba9c0a476a | 1c76e59804d5686f4f6407d572b638f5669ad9ab | /leetcode/simplify_path/simplify_path.py | 88cdfabea8ce5de19f9544a0f1a4aca21bec45e5 | [] | no_license | Turall/leetcode | 28b9ccd24b32309ad77c0ad5e8a72f1b11a3bafd | c510cc2cc494070542b35d744eafb381fe7d0994 | refs/heads/master | 2020-05-21T06:19:28.899393 | 2019-05-15T06:46:28 | 2019-05-15T06:46:28 | 185,941,823 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,109 | py | # import re
# def simplify_path(path):
# if "/./" == path or path == "/../" or path == "/":
# return "/"
# if not bool(re.search('[a-zA-Z]', path)):
# return "/"
# path = re.sub("//", "/", path)
# path = re.sub("(\.\./)", "", path)
# path = re.sub("(/\./)$", "", path)
# path =... | [
"tural_m@hotmail.com"
] | tural_m@hotmail.com |
1ab7c67dc5ce9a3e74f0e26fd5376c73aebbf86a | 87ed7b916af2ccb9cc4d40745cfe62272547818a | /img2emb.py | eae9ef82c006489242ce27d3177e18e4bea12cae | [] | no_license | lonngxiang/multimodal-text-image-recall | 14121e89efa4bd3800a39ee96d2f4c126cbfbb5f | 11c7cd5c689c3e191dd6a406ca3147253cdc3d41 | refs/heads/main | 2023-04-17T06:38:30.120095 | 2021-04-22T02:18:16 | 2021-04-22T02:18:16 | 360,359,771 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 950 | py | """
缩略图向量化
"""
import torch
import clip
from PIL import Image
from tqdm import tqdm
import numpy as np
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
# 加载媒资内容
kkk_all = np.load(r"D:****容1.npy")
aids = list(set([i[0] for i in kkk_all.tolist()]))
# 加载模型
device = "cpu"
model, preproces... | [
"noreply@github.com"
] | lonngxiang.noreply@github.com |
9978938d6c89dfc4cbef5d0b474f6ea5d568ee40 | 04fb46ffbf635ca5090b860e39098c366a3a84e4 | /fpga/mqnic/fb2CG/fpga_100g/tb/fpga_core/test_fpga_core.py | f115c4c4cb3c16eeba80e3ad6828388750820cf1 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | yangcc2019/corundum | 46b7c7126973976617e065373bb7666df71cdc3c | 7c8abe261b2ec3e653da7bc881f769668a231bde | refs/heads/master | 2023-02-24T11:17:47.471315 | 2021-02-02T05:55:07 | 2021-02-02T05:55:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,033 | py | """
Copyright 2020, The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this ... | [
"alex@alexforencich.com"
] | alex@alexforencich.com |
aa2264a5588a0b46c7cfb011a8461d7dcd77f40f | cc62db498416bac19cff27484789af28a16f1afa | /week6/MultiApps/apps/users/views.py | 0744b48bea923da45d243f4a86dec47ecdcdab99 | [] | no_license | py2-10-2017/KevinDunn | 5b7899aaad87497b661e938f5f8d72d1733032f6 | a8745fc9c447dd21f82fef8aec6704780ef42acf | refs/heads/master | 2021-07-17T15:45:06.930093 | 2017-10-26T01:24:41 | 2017-10-26T01:24:41 | 105,678,873 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 336 | py | from django.shortcuts import render, redirect, HttpResponse
# Create your views here.
def register(request):
response = "Sign in here"
return HttpResponse(response)
def users(request):
response = "These are the users..."
return HttpResponse(response)
def login(request):
response = "Log in here"
return HttpResp... | [
"kevincdunn.kcd@gmail.com"
] | kevincdunn.kcd@gmail.com |
4b1d2c76432581fbd81460b762ecd5235470d50c | 010da1500dfce66804de580f5e7a60083521bdc5 | /posts/forms.py | 4b34605542b86817a76b70912a52bd60847d33a4 | [] | no_license | shreyaabh/Travel-match | bae3fb969bef8e4d08735585c5eb440715e1eb96 | e6caba62f424640aea61c1a667d820d514d1721c | refs/heads/master | 2023-05-06T20:59:38.178119 | 2021-05-18T04:36:22 | 2021-05-18T04:36:22 | 368,401,220 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 224 | py | from django import forms
from .models import Post
class PostModelForm(forms.ModelForm):
class Meta:
model = Post
fields = ('no_people','no_days','tour_date', 'Gender_prefer','location','detail','author') | [
"shrbhandari2000@gmail.com"
] | shrbhandari2000@gmail.com |
c1594b6024924f1733c5af193d9a8a11686b8087 | f24ff43f3ac98c63e45df50e6d3c02571de6f3db | /third.py | 2f8cbe863951e44aa7130bb7d5fac62f2987d856 | [] | no_license | crazycracker/PythonPractice | 796ef9c7bc772b15108eeac280c995ea9bd81b5f | 9afa6e59509d925fe439c98bec930c03daf9f7ed | refs/heads/master | 2021-03-30T16:18:59.108002 | 2017-12-11T06:27:21 | 2017-12-11T06:27:21 | 112,300,354 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 161 | py | for x in range(1, 50, 1):
if x % 3 == 0 and x % 5 == 0:
print("FizzBuzz")
elif x % 3 == 0:
print("Fizz")
else:
print("Buzz")
| [
"vinay.manchala@capgemini.com"
] | vinay.manchala@capgemini.com |
2418d79a943544995aa09fa6c451b0eae28c6c7d | ea25f8fed02d4f059ee141d09314a679496835e5 | /download_and_mux_YouTube_streams_from_video.py | 0ca805371a4a134e1ca3ffc4e4e52c68b2ad7522 | [] | no_license | cristi-iorga/download_and_mux_YouTube_streams_from_video | 4d56789d3f020cdfd478521faa061d8937badd44 | 515be49b7f14b628ff21a76391f67219f40da18c | refs/heads/master | 2021-04-08T21:36:33.154382 | 2020-03-20T17:25:22 | 2020-03-20T17:25:22 | 248,811,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,845 | py | """
Name: download_and_mux_YouTube_streams_from_video
Purpose: Lets you choose a video and an audio stream from a YouTube video link and muxes them together using ffmpeg
Author: iorga.ton@gmail.com
Revision: 20.03.2020 - initial version
Python Version: 3.8.2
Windows Version: 10.0.17763
Dependencie... | [
"noreply@github.com"
] | cristi-iorga.noreply@github.com |
eb239b21952da625554fc6c3c1b389fd1c3d1bfe | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03293/s450382229.py | 6fbb1ed548a962cfbf8b0a5267d97027111aea93 | [] | 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 | 107 | py | S,T=input(),input()
for i in range(len(T)):
if S==T:print('Yes');exit()
S=S[-1]+S[0:-1]
print('No') | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
082339a9172c6247b17243465962f4b8cea0e12c | 45469b00d86555aa419f1cf015bde4cf3e62d8d4 | /scales.py | 1421e3ac8f4e154c27d283116b63e28283b825fb | [] | no_license | Airflame/improviser | 76eac4c2390c0ebdaf65e6796b56217f02421fa4 | 06ac76f96c26bfab95d9d57031dd77165dc3ce09 | refs/heads/master | 2020-05-05T09:23:06.311063 | 2019-04-07T13:11:21 | 2019-04-07T13:11:21 | 173,586,113 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 537 | py | KEYS = ('A', 'A#', 'B', 'C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#')
CHROMATIC = ('a2', 'a#2', 'b2', 'c3', 'c#3', 'd3', 'd#3', 'e3', 'f3', 'f#3', 'g3', 'g#3',
'a3', 'a#3', 'b3', 'c', 'c#', 'd', 'd#', 'e', 'f', 'f#', 'g', 'g#',
'a', 'a#', 'b', 'c5', 'c#5', 'd5', 'd#5', 'e5', 'f5', 'f#5', 'g... | [
"airflame@wp.pl"
] | airflame@wp.pl |
95b54f2914a61f9a045c2fd26d9d46b9767a42c4 | 0b953c73458679beeef3b95f366601c834cff9b4 | /hunter/longest palindrome substring within string.py | 9f907b18b130617c943cd267d9545d83c25ece09 | [] | no_license | Sravaniram/Python-Programming | 41531de40e547f0f461e77b88e4c0d562faa041c | f6f2a4e3a6274ecab2795062af8899c2a06c9dc1 | refs/heads/master | 2020-04-11T12:49:18.677561 | 2018-06-04T18:04:13 | 2018-06-04T18:04:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 224 | py | a=raw_input()
l=[]
m=[]
for i in range(0,len(a)):
for j in range(i,len(a)):
z=a[i:j+1]
y=z[::-1]
if z==y:
l.append(z)
m.append(len(z))
y=max(m)
for i in range(0,len(a)):
if m[i]==y:
print l[i]
break
| [
"noreply@github.com"
] | Sravaniram.noreply@github.com |
ccbd04c0b681691aa8c803aef2597a9db732015b | 8a5be45f90ca7e7538afbf005c912bfb3d9e083e | /datacleaningScripts/removeTitles.py | 69b3a14a0ad888efc73494b7410ad21e6658aad4 | [] | no_license | dylanharden3/Mock-Streaming-Company-Database | 69c2487612362b674e9cad1f64ff31423f5bb159 | 2a7ce32c6ab5f8625bac5e553c0d531639a1540a | refs/heads/master | 2023-08-25T01:16:22.755935 | 2021-10-12T22:25:55 | 2021-10-12T22:25:55 | 416,107,483 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,499 | py | # titles intput format (no header): (title ID) (title type) (original title) (runtime minutes) (genres) (year) (average rating) (num votes)
# customer_ratings input format (no header): (customer ID) (rating) (date) (title Id)
# principals input format (no header): (title ID) (nconst) (category)
# removes titles from pr... | [
"dylanharden3@tamu.edu"
] | dylanharden3@tamu.edu |
ba1dcd4b1351805b84b78d9f79143556400138fe | ca357b1ff16c62151f35573be3a2cc447d564323 | /tests/test_generators.py | 79a349ceedade6a180b79b6c18d247833a5be1a0 | [
"Apache-2.0"
] | permissive | opsdroid/opsdroid-audio | fad62453d6d474e59818c7a881184cd11d01e5b8 | 943d181489fee1a3ebed99f271e5cf814c0172f3 | refs/heads/master | 2021-12-30T08:49:51.127080 | 2020-07-22T17:24:29 | 2020-07-22T17:24:29 | 83,927,663 | 5 | 10 | Apache-2.0 | 2022-01-04T10:51:37 | 2017-03-04T22:04:15 | Python | UTF-8 | Python | false | false | 352 | py | import unittest
from opsdroidaudio import generators
class TestGenerators(unittest.TestCase):
"""Test the opsdroidaudio generators class."""
def test_prepare_url(self):
"""Test the prepare_url method"""
response = generators.prepare_url('https://www.youtube.com')
self.assertEqual('a ... | [
"jacobtomlinson@users.noreply.github.com"
] | jacobtomlinson@users.noreply.github.com |
e28937a960ba2e01fca8963a93fe93be28a5275a | f2fd1dd56806165622b8fc741c4e2247c48c505f | /productSearch2.py | 9a1fef691a955ba12eb52a47405e2452cef98812 | [] | no_license | professorr-x/archive.za | 6dcee8d1a046dbafcae541e0460641cee67e8e90 | deee5fe1bbae22733a7f0cb34875b8e59ab6f151 | refs/heads/master | 2022-11-29T23:42:13.632474 | 2020-08-06T14:57:31 | 2020-08-06T14:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,251 | py | import string
import requests
import json
from datetime import datetime
import threading
import time
import os
from discord import *
def removeFile(filename):
if os.path.exists(filename):
os.remove(filename)
else:
print("File doesn't exists")
alpha = list(string.ascii_uppercase)
numb = list(... | [
"hussaiy1@gmail.com"
] | hussaiy1@gmail.com |
db479a4504dbd92c606e11ca2cddea4c860fc035 | 7d4bff60046d7254606adce1323c57ff890e7830 | /sigin_tests.py | b0cf35474ac807b5e026c1a27f3e4e91f0d11b9c | [] | no_license | mmoh4187/assn1 | 78d7d4e4cac610c3fc145b335cfb82b5512e077d | 471bc4468d5c2edcee8c1c0195618d1cf50dae7c | refs/heads/master | 2016-09-12T23:27:37.689774 | 2016-04-11T10:57:53 | 2016-04-11T10:57:53 | 55,957,689 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 758 | py | import signin
import unittest
class UserLoginTestCase(unittest.TestCase):
def setUp(self):
signin.app.config['TESTING'] = True
self.app = signin.app.test_client()
def login(self, username, password):
return self.app.post('/login', data=dict(
username = username,
... | [
"mmoh4187@uni.sydney.edu.au"
] | mmoh4187@uni.sydney.edu.au |
21e9a8b18a7f5dfb4dd96d245f7e3f6aa402db76 | 2a1f85ec2bf3a43f789676d4391b3cd187e81648 | / darth-enoch/iat/actions.py | e05dcac2b9b5035e6ad380ea149e0f1424289d89 | [] | no_license | pardus-anka/contrib | 6e5acba2ff11b388594092187de8ca523d935683 | 773f0917b6b44bfe8056bda1d9f2b29299f127e4 | refs/heads/master | 2016-09-02T00:36:28.051867 | 2013-03-05T15:47:06 | 2013-03-05T15:47:06 | 8,203,958 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 422 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.configure()
def build():
autotools.make()
def install... | [
"yaralikurt15@hotmail.com"
] | yaralikurt15@hotmail.com |
9173d3039691ddd66032180f3338f138b8bae29c | 87da37fab5769ca8b26078d06fe8d57bfe9be0f4 | /ZeroMq_Python/application/application.py | 22c8e2914304531759999a1ea65226683d863e46 | [] | no_license | SonnevilleJ/ZeroMq | 95c6c976c0e9087f86fa6a4da8677e657c2d9ef7 | 87fd921270259c780d6aa18e0ff7f0ea8f888565 | refs/heads/master | 2022-07-06T03:37:07.685502 | 2014-09-23T14:57:33 | 2014-09-23T16:43:13 | 247,728,066 | 0 | 0 | null | 2022-06-22T22:53:37 | 2020-03-16T14:42:57 | C# | UTF-8 | Python | false | false | 611 | py | from flask import Flask
from flask import render_template
from monitorZmq import *
from autoDiscovery import *
app = Flask(__name__)
ip_of_server = auto_discover_server();
@app.route('/monitor/')
def queue_monitor():
model = {}
model["queueDepth"] = int(monitor_messages(ip_of_server))
return render_template('mo... | [
"wisnowskidavid@johndeere.com"
] | wisnowskidavid@johndeere.com |
e906f07c23f23c8b524db511e17761a4e3bdba53 | 54cc761fe47833e8004647c516e328fc860b4e78 | /2019/flareon6/7 - wopr/_wopr.exe.extracted/b/c/e/PYC138.pyc.py | 81ec5fecae9490c3982b3a7a2f292ddc275297dd | [] | no_license | enderdzz/ReverseThings | c8023fe3095617ae8b0be71b0f10f19579e7aec5 | fe2a3ee8d3b1b018eebc57ebd31fb715bc89958e | refs/heads/master | 2023-08-14T09:11:36.708079 | 2023-07-19T06:49:03 | 2023-07-19T06:49:03 | 67,817,669 | 5 | 0 | null | 2023-07-19T06:49:05 | 2016-09-09T17:13:22 | HTML | UTF-8 | Python | false | false | 3,722 | py | # uncompyle6 version 3.3.5
# Python bytecode 3.7 (3394)
# Decompiled from: Python 2.7.16 (default, Mar 4 2019, 09:02:22)
# [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)]
# Embedded file name: email\errors.py
"""email package exception classes."""
class MessageError(Exception):
"""'Base class for e... | [
"e@man1ac.me"
] | e@man1ac.me |
34c74b16d3dacd0b0bdc29e67b46cbf0d0df9207 | 6323d2118a2e0986ec1ec3c021b56ffa792c3083 | /src/main/java/com/jueee/learnspark/dataanalysis/chapter04/P5DataPartitioning.py | 3bb681c030222d28e0cf24c895a2a6cb26443958 | [] | no_license | weixiaodai1/SparkFastDataAnalysis | 73620d0ca982ff8dc0361fb61756d198813288ab | d7cb6a24bf88cf31b54fe7b497659643bc87812a | refs/heads/master | 2022-12-30T05:15:10.514506 | 2020-10-21T11:06:29 | 2020-10-21T11:06:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 361 | py |
# Python 自定义分区方式
import urllib.parse
def hash_domain(url):
return hash(urllib.parse.urlparse(url).netloc)
# 使用
from pyspark import SparkConf,SparkContext
conf = SparkConf().setMaster("local").setAppName("MY App")
sc = SparkContext(conf = conf)
lines = sc.textFile("README.md")
lines.partitionBy(20,hash_domain... | [
"hzweiyongqiang@corp.netease.com"
] | hzweiyongqiang@corp.netease.com |
7f67a514b7783a72479b109643a245885ec88de4 | 73d511f98dac31ecbc90c7df9af092cd9b4f4421 | /webapp/ENV/lib/python3.6/site-packages/dask/dataframe/utils.py | 95ac23b77f4587d15314d5b78a40a6ee56be2825 | [
"MIT"
] | permissive | linkehub/linkehub_api | f704f6272b5d103d6d833eae1a11fbb72f0b8233 | b5579a6156d6ae01f0cbd8526c8ed8264b5deeb5 | refs/heads/master | 2022-10-11T14:32:37.548985 | 2018-05-29T11:57:29 | 2018-05-29T16:59:54 | 135,220,244 | 0 | 1 | MIT | 2022-09-23T21:51:08 | 2018-05-29T00:05:57 | Python | UTF-8 | Python | false | false | 25,266 | py | from __future__ import absolute_import, division, print_function
import re
import textwrap
from distutils.version import LooseVersion
from collections import Iterator
import sys
import traceback
from contextlib import contextmanager
import numpy as np
import pandas as pd
import pandas.util.testing as tm
from pandas.... | [
"diego.marcolino.silva@gmail.com"
] | diego.marcolino.silva@gmail.com |
aaa1bebc04e41b15d7bbd59b3e874ecfad08e1e6 | ebde1fadfbe336fa52bc20c8a2f74de8d1d90cf3 | /src/moca_modules/moca_share/__init__.py | 53ea1bfc999d299bbc568895421ca67f221548ec | [
"MIT"
] | permissive | el-ideal-ideas/MocaTwitterUtils | be2481ce9eb0f9e53e8e0bd54b1b265c80e4f959 | 544a260600ade1b8cd4e0a2d2967c2fb6a8f38d3 | refs/heads/master | 2023-02-18T23:27:31.056121 | 2021-01-23T07:41:16 | 2021-01-23T07:41:16 | 321,014,400 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 366 | py | # -- Imports --------------------------------------------------------------------------
from .MocaMultiProcessLock import MocaMultiProcessLock
from .MocaSharedMemory import MocaSharedMemory
# -------------------------------------------------------------------------- Imports --
"""
This module can share data between ... | [
"el.idealideas@gmail.com"
] | el.idealideas@gmail.com |
21f9593176f7176406f6f4e661783ae4fb1f099c | 15a269d168041169148391bf7a3964b797403738 | /src/internalconf.py | 3166a8becb773e8022bfd8290737c0e6fd60197f | [] | no_license | playbutton-media/publisher | e5344be02942ae9f878d72a2e8b7af52df3ac9ac | f4e53d0110833b0e72ccf07f3b6bfdad45d8abf8 | refs/heads/master | 2020-05-31T10:40:26.505414 | 2019-06-04T17:09:05 | 2019-06-04T17:09:05 | 190,244,557 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,219 | py | import os
import re
SCHEME_FILTERS = ["slug"]
CONFIG_TYPES = {
"paths" : {
"renamed": {
"videos" : str,
"audios" : str,
"covers" : str,
"covers-lowres": str,
"project-files": str,
"descriptions" : str,
... | [
"caseyoneill78@hotmail"
] | caseyoneill78@hotmail |
81b6659ce41232ce1546045cddc849edadb44f22 | 3a2af7b4b801d9ba8d78713dcd1ed57ee35c0992 | /zerver/webhooks/errbit/view.py | a47ccae2f0fc9f5a3b1841a1b5be747b0a7ea1b3 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | timabbott/zulip | 2b69bd3bb63539adbfc4c732a3ff9d52657f40ac | 42f239915526180a1a0cd6c3761c0efcd13ffe6f | refs/heads/master | 2023-08-30T21:45:39.197724 | 2020-02-13T23:09:22 | 2020-06-25T21:46:33 | 43,171,533 | 6 | 9 | Apache-2.0 | 2020-02-24T20:12:52 | 2015-09-25T19:34:16 | Python | UTF-8 | Python | false | false | 1,333 | py | from typing import Any, Dict
from django.http import HttpRequest, HttpResponse
from zerver.decorator import api_key_only_webhook_view
from zerver.lib.request import REQ, has_request_variables
from zerver.lib.response import json_success
from zerver.lib.webhooks.common import check_send_webhook_message
from zerver.mod... | [
"tabbott@zulipchat.com"
] | tabbott@zulipchat.com |
cba2a83f5faa58b5979086c4da00a35ba0cca5fc | 53be75de6517563894e58744c63679044d7333c1 | /ICS3U/Unit 3/Nicholas_Snair_ConditionalAssignment1.0.py | 40dda965e4534070d9ae69aa3d0cbc8702cf13e2 | [] | no_license | mhsNSnair/My-Work | a3a9277822b0af7ef619598c87d4346e02cbc331 | ec06c8ba52ef6722d533af5a7d1c3c3fc1c34db1 | refs/heads/master | 2022-10-17T07:04:52.396458 | 2020-06-15T22:19:44 | 2020-06-15T22:19:44 | 271,899,153 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,140 | py | """
course: ICS3U
filename: Nicholas_Conditional_Assignment
date: 06/03/20
name: Nicholas Snair
description: *****
"""
print('\033[1;39;40m'"Welcome to the Merivale Computers R Us. We look forward to helping you create the perfect computer for your needs. \n\n First, you will need a monitor. Here are two options:\n\n ... | [
"noreply@github.com"
] | mhsNSnair.noreply@github.com |
fad439a94c81108870dc075e57cfbefa4bf596ac | 342af79039d05a91a9bf1494572c86449955b5c5 | /opcua/common/node.py | f31c38ba3a3407988430b8909fe38a69d5817ec0 | [] | no_license | fabio6/freeopcua-ARD-UI | 142de2588c110176384219cc5e710848af27a1e0 | fac72f6a9d0559e19e20c7d8f5f2c460397279f8 | refs/heads/master | 2021-01-19T05:25:52.597471 | 2016-07-21T19:29:49 | 2016-07-21T19:29:49 | 63,883,210 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,979 | py | """
High level node object, to access node attribute
and browse address space
"""
from opcua import ua
from opcua.common import events
class Node(object):
"""
High level node object, to access node attribute,
browse and populate address space.
Node objects are usefull as-is but they do not expose th... | [
"fabio.6.fernandez@gmail.com"
] | fabio.6.fernandez@gmail.com |
41fa610eb87a4b6cabdcaea79fabebde5ae61343 | 790eee283f432809dd16f143155184147d0c600d | /MuonDecay/data_analyze/Analyze/analysis.py | d076cd3f2ae356f2651f596af90e7bfcec46e94e | [] | no_license | afauth/mudecay | 09c594eb5567ea812e452fe62d7a2c72445f94a8 | 47b6eb70f7236bc13fab5c05562b0b9dd085de51 | refs/heads/master | 2023-07-11T04:16:59.888186 | 2021-08-30T20:56:16 | 2021-08-30T20:56:16 | 272,067,019 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,577 | py | # # Imports
# #==========================================================================================================
import pathlib
import pandas as pd
from data_analyze.Preliminaries.concat_csv_files import concat_csv
from data_analyze.Preliminaries.read_output_file import trigger_acquis... | [
"63481188+jhapreis@users.noreply.github.com"
] | 63481188+jhapreis@users.noreply.github.com |
22de5652b278417998165e7e22fcea54256b722c | e2571605a6fd778a3e9d99a5cd2de2d908509222 | /productapp/views.py | 5fb55c14b00e3cd06e4a081f64b2622cba2db868 | [] | no_license | roshi26/store | 53bb699e9153601658ce7f9443a7cc0126604952 | 301208b3de48920e8cbbeaaef47181722fddf529 | refs/heads/master | 2023-01-01T20:26:10.141855 | 2020-10-26T07:51:51 | 2020-10-26T07:51:51 | 305,916,491 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,656 | py | from django.shortcuts import render,redirect
from django.http import HttpResponseRedirect
from django.views.generic import View,ListView,DetailView
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from productapp.models import Product
from productapp.forms import ProductForm
from django.http imp... | [
"ridubey@isystango.com"
] | ridubey@isystango.com |
161f685e3e2bd99967d8044a6dd3af0c1fdbdef2 | e1947a375b03a2e296f7188791ad6267ce2648e1 | /tests/test_utils.py | 1add0fb06708c631db4d2ff0fe3d70f0d94f9838 | [] | no_license | alexdmoss/anti-preempter | 79d7f7826a173353dad58428712ba4fc5670ad1f | 1230fe714a0bfa21d5198e73c3c50194cf616fe1 | refs/heads/master | 2022-12-23T11:23:48.025954 | 2021-06-02T04:07:22 | 2021-06-06T18:49:52 | 194,923,794 | 0 | 0 | null | 2022-12-09T05:24:28 | 2019-07-02T19:34:19 | Python | UTF-8 | Python | false | false | 424 | py | import logging
import pytest
from anti_preempter import utils
logger = logging.getLogger(__name__)
def test_get_env_variable_is_set(monkeypatch):
monkeypatch.setenv('TEST_ENV_VAR', 'some-magic-value')
assert utils.get_env_variable('TEST_ENV_VAR') == 'some-magic-value'
def test_get_env_variabl... | [
"alex@mosstech.io"
] | alex@mosstech.io |
56cfbe221dfb2598ec1bb22b29b6fd613bae35d9 | a380f0622720a1df66ee3ca621275068ba7e501c | /Online/Neuracle/__init__.py | 7eb1fa6d91d34891bd4c798736d781f3a70c62b6 | [
"Apache-2.0"
] | permissive | HongLabTHU/Dual-mVEPs-Speller | 41d9dd450123e90e653c8b76525ec24b900fb3a2 | b18ad9f57deed183beab033a0d96a09fa3d743fe | refs/heads/master | 2022-07-18T08:36:51.321990 | 2022-06-21T15:06:55 | 2022-06-21T15:06:55 | 208,050,740 | 7 | 4 | Apache-2.0 | 2019-12-10T17:14:30 | 2019-09-12T12:53:23 | Jupyter Notebook | UTF-8 | Python | false | false | 72 | py | from .DataClient import Neuracle
from .TriggerBox import TriggerNeuracle | [
"liudkun15@gmail.com"
] | liudkun15@gmail.com |
a3fde335a693371ad5703b8b32009283f4e5e61c | 96dc0dbe7b558ec617823c4fcd4219a3a24fcafd | /inserter.py | 4c095adc22ae463d0e8873dc644677ae81650767 | [] | no_license | smooshie/Work | a503a8a3d05653b019245ba00d2cc941feff7c38 | 4aa6eeaa34d01d6452cb31be3bba8aa38c3f2d9e | refs/heads/master | 2020-04-05T22:58:07.789460 | 2013-08-15T13:31:14 | 2013-08-15T13:31:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,249 | py | '''
Created on 11.1.2013
@author:
::.
(\./) .-""-.
`\'-'` \
'.___,_^__/
* Whale whale whale, what have we here?
'''
def rc(reversable):
complement = { "A" : "T", "T" : "A", "C" : "G", "G" : "C"}
result = ""
for i in reversed(reversable):
result +=... | [
"timere@gmail.com"
] | timere@gmail.com |
b157b3943a5da0075b79e5476fd9dc13cb5f888d | f0e25779a563c2d570cbc22687c614565501130a | /Think_Python/rotate.py | 88a2a43db71c667c9424a08799bd16968e7efbd5 | [] | no_license | XyK0907/for_work | 8dcae9026f6f25708c14531a83a6593c77b38296 | 85f71621c54f6b0029f3a2746f022f89dd7419d9 | refs/heads/master | 2023-04-25T04:18:44.615982 | 2021-05-15T12:10:26 | 2021-05-15T12:10:26 | 293,845,080 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 946 | py | """This module contains code from
Think Python by Allen B. Downey
http://thinkpython.com
Copyright 2012 Allen B. Downey
License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html
"""
import string
def rotate_letter(letter, n):
"""Rotates a letter by n places. Does not change other chars.
letter: single-lett... | [
"cherry.kong0907@gmail.com"
] | cherry.kong0907@gmail.com |
4b9c7ed4e2417f85945ab2ccf1de824b3529bad9 | 87ebe3ef1bc075b8a3528cf631b2619ba22b9e60 | /seeded_assn.py | 65928d7dda5bd8bdedb6b23476f0ed0bd018f6af | [] | no_license | ClipCaslCollab/ArabicPreprocessingScripts | 30c8bfcf079f8f4ff697c34084c59a0bf67f18b6 | a5464612c9c595528c4c788b36a419138f109bb9 | refs/heads/master | 2021-01-22T09:33:38.259813 | 2014-08-20T02:23:13 | 2014-08-20T02:23:13 | 19,685,669 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 411 | py | """seeded_assn.py
For converting ITM's model.states file to SHLDA's seeded assignment input format.
"""
import sys
def main(argv):
if len(argv) < 1:
print "USAGE: python seeded_assn.py ITM_MODEL_STATES"
with open(argv[0]) as f:
for line in f:
#print line
print " ".join(... | [
"slunk@umd.edu"
] | slunk@umd.edu |
21c19c391582cf6d0aae0447fae6b34ea1c9bc6b | 113da1ed728a63c915cc01fe06dca5869bdf788f | /Project_2/test.py | 1dc0a9e57f7f50289c3c090d6a0c6b741266c4ca | [] | no_license | sitio-couto/machine-learning | e9e43517377c60b3cf43001ea8acf308ca38dcf1 | 79f1aae5803e533f7d398b973419ef5513f90d0f | refs/heads/master | 2020-07-08T04:28:22.223316 | 2019-11-23T18:08:05 | 2019-11-23T18:08:05 | 203,564,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,736 | py |
#### DISCLAIMER ####
# Code provided by Orhan Gazi Yalçın (used solely for comparison)
# https://towardsdatascience.com/image-classification-in-10-minutes-with-mnist-dataset-54c35b77a38d
import numpy as np
import tensorflow as tf
import normalization as norm
# Reading stuff
train = np.load('Dataset/train.npz')
vali... | [
"vinicius.c.e@hotmail.com"
] | vinicius.c.e@hotmail.com |
77ab9cecf9571229a858bc319ec4530650f8d96c | 4a48593a04284ef997f377abee8db61d6332c322 | /python/opencv/opencv_2/gui/opencv_with_tkinter.py | c38c3d8a121d82026b7644085f0fe74574998ae3 | [
"MIT"
] | permissive | jeremiedecock/snippets | 8feaed5a8d873d67932ef798e16cb6d2c47609f0 | b90a444041c42d176d096fed14852d20d19adaa7 | refs/heads/master | 2023-08-31T04:28:09.302968 | 2023-08-21T07:22:38 | 2023-08-21T07:22:38 | 36,926,494 | 26 | 9 | MIT | 2023-06-06T02:17:44 | 2015-06-05T10:19:09 | Python | UTF-8 | Python | false | false | 3,408 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Jérémie DECOCK (http://www.jdhp.org)
"""
OpenCV - Trackbar widget.
Required: opencv library (Debian: aptitude install python-opencv)
See: https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_trackbar/py_trackbar.html#track... | [
"jd.jdhp@gmail.com"
] | jd.jdhp@gmail.com |
97c0403f90bd2513f21d8492e08e0d6ff0eb0194 | 8d2817cf3b5f4480da485ec39231d1e6b4b5b544 | /regions/io/crtf/read.py | 3287161c8b42a6d10ce5efc6384ba5aa9fd06961 | [] | no_license | sushobhana/regions | 9a11f4c9a409140146567ea6c18f351edb36d386 | 1896f7e1040bcdb7d8b318ed2135a88475be3673 | refs/heads/master | 2018-10-20T04:03:19.442300 | 2018-08-13T18:07:13 | 2018-08-13T18:07:13 | 120,472,441 | 1 | 0 | null | 2018-02-06T14:45:13 | 2018-02-06T14:45:12 | null | UTF-8 | Python | false | false | 18,492 | py | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import, division, print_function
import re
import copy
import itertools
from warnings import warn
from astropy import units as u
from astropy import coordinates
from astropy.extern import six
from .core import CRTFRegionPa... | [
"sushobhanapatra@gmail.com"
] | sushobhanapatra@gmail.com |
1c738821805cbc87233602c63211afc8c571f98f | 5936cd96a9aaf90d3f10600e7358d8baf4ca8732 | /junk.py | 1cc2f6852f9694eff73a54c089c1b1447bb5fdf2 | [] | no_license | isukrit/models_genesis_brain | 3d892ab7b1ce7ca93ae9398955b7802ce0fc6f19 | 2a10e64a9c845fb2864a8d96dfc79ac7cdb74158 | refs/heads/master | 2021-01-07T01:49:24.047464 | 2020-02-29T06:53:26 | 2020-02-29T06:53:26 | 241,543,397 | 10 | 5 | null | null | null | null | UTF-8 | Python | false | false | 4,769 | py | from tensorflow.keras import losses
from tensorflow.keras.layers import Input, GRU, Dense, Concatenate, TimeDistributed, LSTM, Add
from tensorflow.keras.models import Model
from attention_tanh import AttentionLayerTanh
from attention_base import AttentionLayerBase
from tensorflow.keras import optimizers
from tensorflow... | [
"noreply@github.com"
] | isukrit.noreply@github.com |
0dd5d12a45bb2be62d25a40e85870d5b26d72ad5 | df7731c6b41f7a32420bfcbc73f42d8470604393 | /SNN/archives/behavior_SNN_Ambiance_Backup.py | 6aeb94b185e0e537e6e492c18985beb1f868817a | [] | no_license | jsdessureault/spike-old | 97b4f00dc2cb33ac0a309bd6e4c798fe7d1c9189 | 431a4cf9d4866c23411cfb001f6e59d45a1da0b0 | refs/heads/master | 2021-07-22T04:13:58.773242 | 2017-11-02T18:06:05 | 2017-11-02T18:06:05 | 52,386,331 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,972 | py | #!/usr/bin/env python
import rospy
import numpy as np
#import time
#import random
from brian2 import *
from std_msgs.msg import String
import matplotlib.pyplot as plt
import matplotlib.animation as animation
rospy.init_node('node_spiking_neural_networks', anonymous=True)
rospy.loginfo("Gestion des reseaux de neurones ... | [
"sdessureault@videotron.ca"
] | sdessureault@videotron.ca |
05569309e30bae8fa01d77141b06eb6f922b24e6 | 43c24c890221d6c98e4a45cd63dba4f1aa859f55 | /test/tests/os_test.py | cb10509f1d7cdb4b47c62f144aadf5f27e252502 | [
"Python-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | jmgc/pyston | c8e4df03c33c6b81d20b7d51a781d9e10148238e | 9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f | refs/heads/master | 2020-12-11T07:51:58.968440 | 2020-09-11T14:38:38 | 2020-09-11T14:38:38 | 39,242,644 | 0 | 0 | NOASSERTION | 2020-09-11T14:38:39 | 2015-07-17T08:09:31 | Python | UTF-8 | Python | false | false | 673 | py | #
# currently broken:
# import os.path
import os
r1 = os.urandom(8)
r2 = os.urandom(8)
print len(r1), len(r2), type(r1), type(r2), r1 == r2
print type(os.stat("/dev/null"))
print os.path.expanduser("~") == os.environ["HOME"]
print os.path.isfile("/dev/null")
print os.path.isfile("/should_not_exist!")
e = OSError... | [
"kmod@dropbox.com"
] | kmod@dropbox.com |
4c75e2f57de88f5b09a8af1dc38d30330111ec12 | bfc38084cbcbfb5d25629db634abe1ce4d6694ee | /P0E4/Solve_float_Caso2/S_F_C2.py | 760c7dfc6e1ebeb19d04ffd72d51a9b026e30d4a | [] | no_license | JoaquinGuzmanO/MCOC2021-P0 | a54c25bf78edd3cc107d3c39fe4a9ed6c124521e | 58cf8a7e3936740a4793ee92c5444744330a619d | refs/heads/main | 2023-07-16T18:37:25.610107 | 2021-09-04T01:33:39 | 2021-09-04T01:33:39 | 392,008,328 | 0 | 0 | null | 2021-08-02T15:51:06 | 2021-08-02T15:51:05 | null | UTF-8 | Python | false | false | 1,229 | py | from time import perf_counter
from numpy.linalg import inv
from scipy.linalg import eigh, solve
from numpy import double, zeros, eye, ones, float32
def laplaciana(N,tipo):
e = eye(N)-eye(N,N,1)
return tipo(e+e.T)
tiempos=[]
promedios=[]
text = open("rendimiento_SFC2.txt","w") #Cambiar nombre
for i in range(1,11):
... | [
"jaguzman1@miuandes.cl"
] | jaguzman1@miuandes.cl |
4b12cb36cca7db69add9afd812f75a2819c4b7f7 | 2ec26d004a653c0576594e48ac13dd71f539b30a | /crikey/conditional_audio/fruit_binned_slow_mse/fruitspeecher_binned_slow_mse.py | c5d16460509e10da90e3e3c6c64df5e5c6b1c737 | [] | no_license | kastnerkyle/research_megarepo | 6aca5b2c3b2413e0def1093b23f2826e3e7e5e97 | ab182667650fd59b99f75d4b599d7ace77a3f30b | refs/heads/master | 2021-01-17T20:31:52.250050 | 2016-12-27T01:28:54 | 2016-12-27T01:28:54 | 68,341,074 | 13 | 2 | null | null | null | null | UTF-8 | Python | false | false | 24,969 | py | import numpy as np
import theano
from theano import tensor
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
from scipy.io import wavfile
import os
import sys
from kdllib import load_checkpoint, theano_one_hot, concatenate
from kdllib import fetch_fruitspeech_spectrogram, list_iterator
from kdllib i... | [
"kastnerkyle@gmail.com"
] | kastnerkyle@gmail.com |
781a83a87d5fb9e980be34d090ce68cf1aba93a2 | 66c3ff83c3e3e63bf8642742356f6c1817a30eca | /.vim/tmp/neocomplete/buffer_cache/=+home=+dante=+proyectos=+django-1.9=+sermul=+manage.py | dca2c396a7c3a45e15f9cbfa9f80d467b50c38e8 | [] | no_license | pacifi/vim | 0a708e8bc741b4510a8da37da0d0e1eabb05ec83 | 22e706704357b961acb584e74689c7080e86a800 | refs/heads/master | 2021-05-20T17:18:10.481921 | 2020-08-06T12:38:58 | 2020-08-06T12:38:58 | 30,074,530 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 235 | py | {'usr', 'bin', 'env', 'python', 'import', 'os', 'sys', 'if', '__name__', '__main__', 'environ', 'setdefault', 'DJANGO_SETTINGS_MODULE', 'sermul', 'settings', 'from', 'django', 'core', 'management', 'execute_from_command_line', 'argv'}
| [
"pacifi.bnr@gmail.com"
] | pacifi.bnr@gmail.com |
ac00ac4bb96ebe184493e06849d1d2e99492b860 | 2f96d0e69ce3d6b1ea4623ed5b4c1741d9634ea9 | /tests/dummy_repo/tvm/python/tvm/hybrid/util.py | 556ede1519e92fb2666ef894fd89ca5bfffa2590 | [
"Apache-2.0"
] | permissive | tqchen/ffi-navigator | ae1e8923e4d5be589beabfadba91f4a3b39e03dd | 46b0d0c6bce388a8e1e2cb7ed28062e889e4596c | refs/heads/main | 2023-02-06T22:32:54.214871 | 2023-02-05T16:25:16 | 2023-02-05T16:25:16 | 230,478,838 | 217 | 24 | Apache-2.0 | 2023-02-05T16:25:18 | 2019-12-27T16:44:58 | Python | UTF-8 | Python | false | false | 921 | py | import ast
import inspect
import logging
import sys
import numpy
from .. import api as _api
from .. import make as _make
from .. import expr as _expr
from .. import stmt as _stmt
from .._ffi.base import numeric_types
from ..tensor import Tensor
from ..container import Array
def replace_io(body, rmap):
"""Replacing... | [
"noreply@github.com"
] | tqchen.noreply@github.com |
7469ee162d8ac9192020e9c5adfd03a95ac054e4 | a6607f113e8dbf501e016c5fcc2fa54ff9373448 | /mutationfuzzer.py | d29a03c7ca3f8b9f6f98d8d36319f864639898fb | [] | no_license | CyberDomeBlue/Python-Iterating-Fuzzer | c8119ec14a87342a6314bcf03aeff232fe67c1ac | ea1582933ec7a604efed10ca7c7ada8fe5eb6b1b | refs/heads/master | 2020-04-27T23:06:15.940387 | 2019-03-10T00:53:23 | 2019-03-10T00:53:23 | 174,762,103 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,597 | py | import socket, secrets, sys, time
from time import strftime, localtime
def mutationfuzzer():
try:
while 1:
print("++===========================+ +")
print("| | MutationFuzzer | |")
print("| |==========================| |")
host = input("Hos... | [
"noreply@github.com"
] | CyberDomeBlue.noreply@github.com |
4d13e10726f8c0ffe263a134f51bdaa594e56873 | 74ba4479584876e6f731e18e4b811db8fdc4b026 | /setup.py | 80f50ab119675e9bf978d7606a58548190bdc08e | [] | no_license | lewisrodgers/configloader | def347d4538b609f6bc668fb71fb77b7af4c0740 | 57b2bc891f0d32c7f79e0784d69daa9374907700 | refs/heads/master | 2023-03-24T04:32:12.113161 | 2021-03-18T19:26:44 | 2021-03-18T19:26:44 | 347,147,077 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 335 | py | import os
from setuptools import setup
with open(os.path.join(".", "VERSION")) as version_file:
version = version_file.read().strip()
setup(
name="configloader",
version=version,
description="Configuration loader",
author="Lewis Rodgers",
author_email="lrodgers04@gmail.com",
packages=["co... | [
"lewis.rodgers@accenture.com"
] | lewis.rodgers@accenture.com |
3b25372db706c47033a08f0ac49b19f3a91727f9 | e77a6be9492afa0dc956d0485f643f755ef8aab0 | /smartdoc/views.py | 609d7fcddf00f4dc385c69a7fa7e5a25a01f5bee | [] | no_license | kingosky/jichu | 388e552e9a1b55d7d3973a7da102393963cd1fd2 | 567f5459d29f5fe6c1a110009fb0c1ab505efdc2 | refs/heads/master | 2022-12-15T03:14:45.705598 | 2019-07-17T02:55:54 | 2019-07-17T02:55:54 | 197,301,535 | 0 | 0 | null | 2022-12-08T01:22:43 | 2019-07-17T02:38:14 | JavaScript | UTF-8 | Python | false | false | 5,610 | py | from django.shortcuts import render
from django.views.generic import DetailView, ListView, UpdateView
from django.views.generic.edit import CreateView
from .models import Product, Category, Document
from django.db.models import Q
from .forms import ProductForm, CategoryForm, DocumentForm
from django.contrib.auth.decor... | [
"kingosky.163.com"
] | kingosky.163.com |
69611b00a486d48c9a5aee89ea19ec98246b1ab6 | d3d0841cf891228912adfa48879b3b2bffa1c170 | /Douyin/tools/Encrypt.py | f6c2f7dad13db20dbb4804b8e9cf076e00fd96a4 | [] | no_license | forcemeter/DouYin-1 | bd35b9d1687a66b81890e3cdac9d9b6080ca97b4 | 642607f6ca0449bd996db146313fac94376dcf9a | refs/heads/master | 2022-09-10T03:12:27.961253 | 2018-09-06T07:33:11 | 2018-09-06T07:33:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,805 | py | # -*- coding: utf-8 -*-
# @Time : 2018/5/26 11:52
# @Author : Hunk
# @Email : qiang.liu@ikooo.cn
# @File : Encrypt.py
# @Software: PyCharm
import time
import json
import requests
import hashlib
from urllib.parse import urlparse, parse_qs, urlencode
def get_aweme_token(url):
timestamp = time.time()
to... | [
"773369248@qq.com"
] | 773369248@qq.com |
a2de85bc8ad72ace7a5ffdb484c0071bf807bf99 | 05c206c66cd3068c6024213838bcb9c695f25e4b | /pre_processing.py | 31d597afbdffbcb6d1e79545e8a54c72fa4a11bd | [] | no_license | Promech2020/Covid-19_Social_Distance_Maintainer | d67626c8042f34daf18c8e02bf50b52e9dfe501c | b8da65d21c95a316897066eac78048c2a0b564bc | refs/heads/master | 2023-01-05T22:16:28.584268 | 2020-11-03T02:49:52 | 2020-11-03T02:49:52 | 305,307,490 | 0 | 0 | null | 2020-10-22T02:53:04 | 2020-10-19T08:01:50 | null | UTF-8 | Python | false | false | 1,374 | py | from perform_sdc import call_perform_sdc
import scipy.io.wavfile as wav
import time
import sys
import os
import cv2
def pre_process(v_path, wait_time_before, a_path):
video_path = select_video(v_path)
seconds = wait_to_play_warning(wait_time_before)
soundfile = select_audio(a_path)
# #Get length of audio file
... | [
"promechminds@gmail.com"
] | promechminds@gmail.com |
f0080a7074834fceb382f01bbc98da1cf2cd6fa8 | a07c179df81f27fe2022855e8d6b91b1c2da73f8 | /Advanced_python/object_oriented_programming/Inheritance/Single/PersonEmployee.py | 2ec64e9da52353202ac7bcede3cde0a72f3268e8 | [] | no_license | HarithaPS21/Luminar_Python | da36849ce0a6d92b9cf54ee7401ffdb3fa6e80d3 | d6057b1bfb1bb1293b1564fa766f0cca822e0642 | refs/heads/master | 2023-07-08T05:15:52.303951 | 2021-08-11T04:14:49 | 2021-08-11T04:14:49 | 385,459,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 835 | py | # Single Inheritance - inheriting attributes and methods of a single class
class Person: # parent class/base class/super class
def pdetails(self,name,age,adrs):
self.name=name
self.age=age
self.adrs=adrs
print(self.name,self.age,self.adrs)
class Employee(Pe... | [
"harithaps59@gmail.com"
] | harithaps59@gmail.com |
9840e6a469243c62f1b31dd12a64e6f336996205 | 9d2c9101541eb0a184a0fbd90da5ceed7bad8220 | /src/health_records_system.py | 1d031c0fcd8adb390e191c2952bb2444dd67b861 | [] | no_license | cpappas18/Health-Records-System | c1e05f5d6733f7891af3debf6f19611c66e07787 | f25f7f9e5a5aad5901e1d237235b42a6da50107b | refs/heads/master | 2023-07-02T18:28:45.180964 | 2021-08-08T22:58:04 | 2021-08-08T22:58:04 | 361,300,247 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,235 | py | import copy
class HealthRecordsSystem(object):
"""
Implements an Electronic Health Records System that stores patient information.
Adheres to the Singleton Design Pattern such that only one instantiation of this class is possible.
Assumes the role of Receiver as part of the Command Design Pattern.
... | [
"chloeoliviapappas@gmail.com"
] | chloeoliviapappas@gmail.com |
2cea099a4ac565251c302b64d8ff402daf562e91 | 183e0a63af083221ca557b0e0e9badf9a4a83ad0 | /tokenstorage/urls.py | 35e41c8e4f40cdeaed8b36b67d6a3a2644224a1d | [] | no_license | Discovery-VSTS/settingmanagement | 3a998a5c8bdc3bc88e1aca90e130bad9263706e4 | ca8d5aae09f8e5fe175555ebc1a18854f0649563 | refs/heads/master | 2021-01-20T03:59:20.690027 | 2017-03-23T14:37:41 | 2017-03-23T14:37:41 | 84,086,008 | 0 | 1 | null | 2017-03-23T14:37:42 | 2017-03-06T14:58:17 | Python | UTF-8 | Python | false | false | 515 | py | from django.conf.urls import url
from .views import TokenStorage, TokenStorageViewSet, clear_database
from rest_framework.urlpatterns import format_suffix_patterns
urlpatterns = [
url(r'^tokenstorage/$', view=TokenStorage.as_view()),
url(r'^tokenstorage/reset/$', view=clear_database),
url(r'^tokenstorage/a... | [
"minhlong.langos@gmail.com"
] | minhlong.langos@gmail.com |
f93d1698b5027bfb81cceb0b635441fddee194d0 | c9835b59806be834f647ac821c1672a6889a24c2 | /agent/yz_agent/serialize/json_msg.py | d161ea18a7c6fec0074dcda8d61fd9934b493c3e | [] | no_license | CannedFish/yz_data_collector | cd294061a38307699a6c6024843900f9250213b4 | 5629110923558680a7f6bdb0f845362b0e91c419 | refs/heads/master | 2020-04-05T13:07:35.781753 | 2017-07-07T09:46:00 | 2017-07-07T09:46:00 | 95,100,970 | 0 | 1 | null | 2017-07-07T09:46:00 | 2017-06-22T09:52:38 | Python | UTF-8 | Python | false | false | 826 | py | # -*- coding: utf-8 -*-
import json
class MsgBody(object):
_id = ''
_data = ''
_type = ''
_usage = ''
@property
def id(self):
return self._id
@id.setter
def id(self, v):
self._id = v
@property
def data(self):
return self._data
@data.setter
de... | [
"lianggy0719@126.com"
] | lianggy0719@126.com |
083ff4ceb28cf80e378d3051c65ce382c21f075c | 8ea561caaa632cb648e1ca4bb2c1eef6172c46c0 | /app/forms.py | 767e4041283bbbad874cbcace11aad861aa0016f | [] | no_license | taiwan-hero/carlton | 32342031375aa94e5c06e306c68fb974538c72e5 | ba2696031e05c1f0820a3accc13fab5b09c0a2d3 | refs/heads/master | 2020-04-02T03:51:16.470959 | 2016-07-24T04:40:54 | 2016-07-24T04:40:54 | 63,676,091 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 712 | py | # -*- encoding: utf-8 -*-
"""
Python Aplication Template
Licence: GPLv3
"""
from flask.ext.wtf import Form, TextField, TextAreaField, DateTimeField, PasswordField
from flask.ext.wtf import Required
class ExampleForm(Form):
title = TextField(u'Title', validators = [Required()])
content = TextAreaField(u'Content')
d... | [
"tim@getlocalmeasure.com"
] | tim@getlocalmeasure.com |
04010f1316e22a96c0450ba8d41a3a66b39563ee | 5355abeac6fd30ecc908619e3aaf5c44ee2389b3 | /client.py | 80809b613a8e2155f3b33673fe960e0472532ff6 | [] | no_license | fanlai0990/paxos | 4edb782b7de59737cb5697c6df53c36166557aed | 18fc905c3c3efff401eaf07e06bea53aa4b1cd8e | refs/heads/master | 2021-04-28T16:15:40.096791 | 2018-02-27T02:32:06 | 2018-02-27T02:32:06 | 122,011,766 | 0 | 0 | null | 2018-02-19T02:43:30 | 2018-02-19T02:43:30 | null | UTF-8 | Python | false | false | 1,030 | py | import sys;
from utils import *;
from twisted.internet.protocol import DatagramProtocol
from twisted.internet import reactor;
class ClientDatagramProtocol(DatagramProtocol):
def __init__(self, host, port):
self.host = host;
self.port = port;
def startProtocol(self):
self.transport.conn... | [
"hasanal@umich.edu"
] | hasanal@umich.edu |
6f6476757e06d7a487ecf584035e507e47e98cb6 | 9e9d23e7a57c46da27a491a61f19c7239d066bf8 | /biliup/__init__.py | e1ff55cbd324da2fcb10188ba6f6f304a81fa7ea | [
"MIT"
] | permissive | vmcole/bilibiliupload | f7c667927bfcc4a0c1c5eba96b674729ae776e62 | b5c416451f66c2ebe550694d4c4957129d0e966e | refs/heads/master | 2023-06-09T19:58:33.813073 | 2021-07-06T14:50:18 | 2021-07-06T14:50:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,722 | py | import asyncio
from .common.reload import AutoReload
from .common.timer import Timer
from .engine.event import EventManager, Event
from .engine import config, invert_dict, Plugin
from . import plugins
__version__ = "0.0.8"
def create_event_manager():
streamer_url = {k: v['url'] for k, v in config['streamers'].... | [
"34411314+ForgQi@users.noreply.github.com"
] | 34411314+ForgQi@users.noreply.github.com |
1988a8c3a0828ad4711f8691bc8c51c0d65d6d80 | fc721cd39c86a0773e7e4951605d94fe6dffba61 | /apps/user/models.py | 4b960de3e8a4644d886ffa60534c6a3b7605bdab | [] | no_license | maxingg/my_blog | 90a5f06a9c16df5ca5e66b22ab7b7ff2a007eb4e | 300e61b5540ddecdc88768aba2f56410df05011f | refs/heads/master | 2020-04-07T18:44:11.784282 | 2018-11-22T01:06:57 | 2018-11-22T01:06:57 | 158,621,571 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,218 | py | from django.contrib.auth.models import AbstractUser
from django.db import models
__author__ = 'maxing'
__date__ = '2018/11/20 18:57'
class UserProfile(AbstractUser):
GENDER_CHOICES = (
("male", "男"),
("female", "女"),
)
# 昵称
nick_name = models.CharField(max_length=50, verbose_name="昵... | [
"1501901576@qq.com"
] | 1501901576@qq.com |
1bd44bb3dbda7bb6bcfbee28eabd8571e7d0c751 | bb25174ab60fff6e3e45d5ffab1bf993c94ab730 | /calculator/models.py | 93f0313ebbb7df89a22c72d75337687492ff8b5f | [] | no_license | yurasenchuk/seidel_calculator | 3f081bef7f8c58fca2fb28acc555a7959385b128 | bce537cdb65a72137d98736c86d9e422df59834d | refs/heads/master | 2023-03-01T03:48:01.510332 | 2021-02-13T20:56:24 | 2021-02-13T20:56:24 | 331,643,750 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,107 | py | import copy
import time
from concurrent.futures._base import LOGGER
from math import fabs
from django.contrib.postgres.fields import ArrayField
from django.db import models, IntegrityError, DataError
from user.models import CustomUser
class Calculator(models.Model):
size = models.IntegerField(default=0)
matr... | [
"63191681+yurasenchuk@users.noreply.github.com"
] | 63191681+yurasenchuk@users.noreply.github.com |
274332a28662cdd27514f4e4d6ea6d2fb35d89f7 | 82db461036ffb2adbf0424a6f0575cd9d24b48a8 | /main.py | aa2b3ceb4b62ba95ae0a6123184a319dd03db241 | [] | no_license | webclinic017/option_pdt | fdc559f02cc529b54278e90e04170713fe93684f | dd302c6b2661e26dbfcbea0384b99e85ae9584e1 | refs/heads/master | 2023-03-24T10:43:35.998775 | 2021-03-19T14:08:38 | 2021-03-19T14:08:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,828 | py | import sys
import os
parent_path = os.path.dirname(sys.path[0])
if parent_path not in sys.path:
sys.path.append(parent_path)
import json
import pickle
import logging
import pandas as pd
import numpy as np
from datetime import datetime
from library import get_strategy
from utils.util_func import *
from optpars... | [
"noreply@github.com"
] | webclinic017.noreply@github.com |
880346dbe517aa4c58ed8212c70a857065c4acd0 | f35d98d459494f3395cc6df67a16822f512a1fa9 | /utility/MiscTool.py | 5bc451c96009c97bc4ef059cf231ab054eb4305a | [] | no_license | BenjaminMesic/HbbAnalysis | ff7a91c87c59859a052ec0982524f936da8870bd | 6bab2780c703af418b4155a0910769e12b62f4ec | refs/heads/master | 2020-05-22T04:24:43.304282 | 2019-01-20T11:37:51 | 2019-01-20T11:37:51 | 65,304,761 | 0 | 0 | null | 2017-02-23T13:14:40 | 2016-08-09T15:08:01 | Python | UTF-8 | Python | false | false | 2,333 | py | import os
import sys
def Print(print_type, *text):
try:
if print_type == 'python_info': # Bright Yellow
print '\033[1;33;40m' + ''.join(text) + '\033[0m'
elif print_type == 'analysis_info': # Bright Cyan
print '\033[1;36;40m{0:30s}{1}\033[0m'.format(*text)
elif print_type == 'analysis_in... | [
"benjamin.mesic@cern.ch"
] | benjamin.mesic@cern.ch |
43734458b16e1c03d37ba48e9f01579b1cea3b07 | a060c70f8fbacc8b2455efce7b08beeacc7e0e8a | /PythonCrashCourse/Chapter06/many_ysers.py | 4fde50a7a0d57199f8b7bfa944b529ddb91cb243 | [] | no_license | mingqin-joy/python-crash-course | 091cb36ffd838fb8e9a9555c442c3a6994bd92aa | 31363d91d5cb9f28f145b5cc583a354bc08419ba | refs/heads/master | 2020-05-15T02:37:50.092231 | 2019-04-29T06:35:56 | 2019-04-29T06:35:56 | 182,052,267 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 458 | py | users = {
'GC': {
'Xing': 'Guan',
'Ming': 'Chao',
'location': 'Yangzhou',
},
'ZMQ': {
'Xing': 'Zhou',
'Ming': 'Mingqin',
'location': 'Chongqing',
},
}
for username, user_info in users.items():
print("\nUsername: " + username)
Xingming = user_info... | [
"mingqin-joy@outlook.com"
] | mingqin-joy@outlook.com |
31234a88d755e9be7c22c2decfa0fa637786e8ae | 0c549aa4d4172e4ef45f803ac0fbe7903710460f | /guessing_game.py | dcb6d53280138567bbd81cabf7d8085b2bff0993 | [] | no_license | mcjczapiewski/guessing_game | 50d76e842e7278fa71bdde0a7656154b10429791 | 5ef6393da1b13bb5daf0d34c886ac6dba2dda6b9 | refs/heads/master | 2022-12-19T04:16:29.792506 | 2020-03-14T14:35:55 | 2020-03-14T14:35:55 | 299,722,391 | 0 | 1 | null | 2020-10-01T05:01:18 | 2020-09-29T19:48:57 | Python | UTF-8 | Python | false | false | 1,190 | py | import random
def generate_numbers(start, end, list_name):
for i in range(10):
list_name.append(random.randint(start, end))
def play_the_game(list_of_numbers, range_end):
for i in range(10):
user_number = get_user_input(range_end)
check_user_input(user_number, list_of_numbers, i, ran... | [
"mcjczapiewski@gmail.com"
] | mcjczapiewski@gmail.com |
e8d6832b01ddb153bea7721f9728d12768dc77a3 | 3c259a3755fa81dbaa5a33591c4bcedb79c20314 | /config/ssef/ssef_eval_cqg_masked_2015.config | 897b88fb2d2d418c25f44140fa30a4d2702f637a | [
"MIT"
] | permissive | djgagne/hagelslag | f96bea7395d2d967e1dc84faccf910e01b83157b | 17757de7b55737f65f615e5dccad379604961832 | refs/heads/master | 2023-07-24T20:13:07.659540 | 2023-07-13T17:02:00 | 2023-07-13T17:02:00 | 37,555,335 | 64 | 26 | MIT | 2023-07-13T17:02:01 | 2015-06-16T20:48:43 | Jupyter Notebook | UTF-8 | Python | false | false | 3,621 | config | #!/usr/bin/env python
from datetime import datetime
import numpy as np
ensemble_members = ["wrf-s3cn_arw"] + ["wrf-s3m{0:d}_arw".format(m) for m in range(3, 14)]
scratch_path = "/sharp/djgagne/"
experiment_name = "cqg_masked"
config = dict(ensemble_name="SSEF",
ensemble_members=ensemble_members,
... | [
"djgagne@ou.edu"
] | djgagne@ou.edu |
12712fe4e23a5c73bf59f892cdc1ef0041cd1ab4 | 5410700e83210d003f1ffbdb75499062008df0d6 | /leetcode/isHappy.py | 92bdf82a57b5d864724396b17b24897d123370fd | [] | no_license | lilyandcy/python3 | 81182c35ab8b61fb86f67f7796e057936adf3ab7 | 11ef4ace7aa1f875491163d036935dd76d8b89e0 | refs/heads/master | 2021-06-14T18:41:42.089534 | 2019-10-22T00:24:30 | 2019-10-22T00:24:30 | 144,527,289 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 528 | py | class Solution:
def isHappy(self, n):
"""
:type n: int
:rtype: bool
"""
looplist = []
num = n
while num != 1:
if num not in looplist:
looplist.append(num)
else:
return False
num = self.sumLoca... | [
"myyan_yan@msn.com"
] | myyan_yan@msn.com |
7d23c3b8aa5f990dec58d8de72256fe7d697d9fd | a302afe51dd821cbbf6bfa1ec1184cb7d5a61ab5 | /solutions/task_13/solution_13_1.py | 66947a84d36b24b2beee2e0a4828db7b00a962cd | [] | no_license | ivanveriga/project-euler | 0234552bdb16d2a5db7a446003a3d60dfd3b50ac | 447b078a2cf23efae2acc84051560a5844ab9f73 | refs/heads/master | 2023-04-10T10:18:49.025281 | 2021-04-27T18:40:16 | 2021-04-27T18:40:16 | 282,042,779 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,266 | py | #Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
numbers="""37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539... | [
"56963098+ivanveriga@users.noreply.github.com"
] | 56963098+ivanveriga@users.noreply.github.com |
a0602524e8bd8ee7ffd9da50880916d0a4c0a3da | adea9fc9697f5201f4cb215571025b0493e96b25 | /napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/global_/timers/spf/state/__init__.py | baee691cec8aaf70f22e9f69662878b17b753e95 | [
"Apache-2.0"
] | permissive | andyjsharp/napalm-yang | d8a8b51896ef7c6490f011fe265db46f63f54248 | ef80ebbfb50e188f09486380c88b058db673c896 | refs/heads/develop | 2021-09-09T02:09:36.151629 | 2018-03-08T22:44:04 | 2018-03-08T22:44:04 | 114,273,455 | 0 | 0 | null | 2018-03-08T22:44:05 | 2017-12-14T16:33:35 | Python | UTF-8 | Python | false | false | 31,796 | py |
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListType
from pyangbind.lib.y... | [
"dbarrosop@dravetech.com"
] | dbarrosop@dravetech.com |
994523ad13eaf886d1e9b898c2b4e1e3021ae3a6 | fac37d77a8d00e3d13106bcd728d51a455dd16f2 | /kmer.py | 2c016a97eb7bf7903ce31d36c4622ef1926e080c | [] | no_license | anu-bioinfo/rosalind-4 | c6a628bba94f647cf4a34bdf505f1527af4346a9 | 3ddc659d44298f4dd4b5dde66d7833b4d27a2580 | refs/heads/master | 2020-03-25T13:47:39.521215 | 2014-09-14T02:30:54 | 2014-09-14T02:30:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 589 | py | #!/usr/bin/env python
from __future__ import print_function
import os
from revp import read_fasta
from subs import substring_find
from lexf import lexf_order
def kmer_composition(dna_string):
output = []
for p in lexf_order(4, 'ACGT'):
pos = list(substring_find(dna_string, ''.join(p)))
outpu... | [
"luiz.irber@gmail.com"
] | luiz.irber@gmail.com |
1eb60c77791b51695ae3487f641618a22c7c6645 | d8c331c8081781cd287b0635d02cec51f57e38dc | /setup.py | 3d1b43c2810bc7a37ae20a8f34f254d206193b7e | [
"Apache-2.0"
] | permissive | vitthalpadwal/mypackage | 375d6e2a9a15935ec542dc39f68e530b16fa2cf3 | 5ba3ea8ea094b3a08aaa2137708b06f5429eecbd | refs/heads/master | 2020-03-16T17:31:09.917486 | 2018-05-10T03:21:41 | 2018-05-10T03:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | #!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr>=1.9', 'setuptools>=0.9.8'],
pbr=True,
)
| [
"vitthalpadwal89@gmail.com"
] | vitthalpadwal89@gmail.com |
3a197f1c510e52760e103125918c88a6d3f183dc | 248316612964863433ba8f3b39749acba2ee50eb | /Scripts/rm_outliers.py | 44456376663e63b453d17a5f305e745f9b34797d | [] | no_license | emdezla/BossomHigss | 5fa6c84f42e45a6e3c8c9d7e7d31bfaacf7c6112 | 08a99d4602b919cd0010fad02a70bd5203103b6b | refs/heads/master | 2022-10-01T20:44:22.865622 | 2020-06-09T10:52:37 | 2020-06-09T10:52:37 | 214,812,647 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 282 | py | # -*- coding: utf-8 -*-
import numpy as np
def rm_outliers(x):
jet0, jet1, jet2, jet3 = data_processing(x)
jets = np.array([jet0,jet1,jet2,jet3])
for jet in jets:
means = np.mean(jet,axis=0)
stand_dev = np.std(jet,axis=0)
| [
"tylerbenkley@Tylers-MacBook-Air.local"
] | tylerbenkley@Tylers-MacBook-Air.local |
3f532246345c6898340e9b5f2125626a978ca0cf | fed6c6bdb6276d195bc565e527c3f19369d22b74 | /galaxy-galaxy lensing/prepare_cata/Fourier_Quad_cata/gather_raw_cata.py | 4e38e9d277633610cb84172ab6665238c0c69d4e | [] | no_license | hekunlie/astrophy-research | edbe12d8dde83e0896e982f08b463fdcd3279bab | 7b2b7ada7e7421585e8993192f6111282c9cbb38 | refs/heads/master | 2021-11-15T05:08:51.271669 | 2021-11-13T08:53:33 | 2021-11-13T08:53:33 | 85,927,798 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,291 | py | import matplotlib
matplotlib.use("Agg")
import os
my_home = os.popen("echo $MYWORK_DIR").readlines()[0][:-1]
from sys import path
path.append('%s/work/mylib/'%my_home)
import tool_box
import h5py
from mpi4py import MPI
import numpy
import time
from subprocess import Popen
import warnings
warnings.filterwarnings('error'... | [
"hekun_lee@sjtu.edu.cn"
] | hekun_lee@sjtu.edu.cn |
982a99c492b0b5caf7805c3ab382472f7d731a0d | 855d64110052ab060333d5d2e8f1ada7c36579e7 | /Graphing/vol_cor/fileread.py | 8124e3d2cc2c1c0e1638c8aadf09a8ee20419f76 | [] | no_license | mwood95/stockPIcker | de40e77008f33e18c8c68a3ce19c42a149d05e5d | cd9b3e4248b5575ad0a4c241aec0d8d438336062 | refs/heads/master | 2022-02-25T11:27:03.001193 | 2022-02-13T21:49:40 | 2022-02-13T21:49:40 | 95,626,177 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 99 | py | f = open("data.txt")
line = f.read()
line = str(line)
line = line.split(':')
print line
f.close()
| [
"mikewood95@gmail.com"
] | mikewood95@gmail.com |
038be3106c05dcfa1cf28d115152639a38956939 | aa2645c96047d775061e0443299c64fc5b255027 | /0405 if1.py | a77e5980ffceb18e44a2854875622938e9a1089f | [] | no_license | sunnyhyo/Problem-Solving-and-SW-programming | ca63b705b27ebb49d32a0a6591211250f213d019 | 8689b9728c028a870dfba7a4d16601a248c7e792 | refs/heads/master | 2021-03-30T21:07:27.276272 | 2018-06-14T15:27:22 | 2018-06-14T15:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 149 | py |
#조건문 1/4
score=input("점수입력")
score=int(score)
if score > 90:
print("합격!!!")
print("장학금도 받을 수 있음")
| [
"sunnyhyo77@gmail.com"
] | sunnyhyo77@gmail.com |
3ee2e5b8231c35ed791296508519b38ff68c5c91 | 063775cfd2642614feb1d340a19740d3be3b4239 | /rich/console.py | 774f1bcf16f2c27f2bd2a00e20e9bc16f4c9ddd5 | [
"MIT"
] | permissive | adamchainz/rich | 7e0a328a6a5d0673255aa7f364d22e802a51b3e3 | 7b00f0ecb15a4698931d49922a665a6f02782e29 | refs/heads/master | 2023-08-18T13:40:07.405137 | 2020-01-26T17:24:55 | 2020-01-26T17:24:55 | 236,697,550 | 0 | 0 | MIT | 2020-01-28T09:18:29 | 2020-01-28T09:18:28 | null | UTF-8 | Python | false | false | 32,567 | py | from collections import ChainMap
from collections.abc import Mapping, Sequence
from contextlib import contextmanager
from dataclasses import dataclass, replace
from enum import Enum
import inspect
from itertools import chain
import os
from operator import itemgetter
import re
import shutil
import sys
from typing import... | [
"willmcgugan@gmail.com"
] | willmcgugan@gmail.com |
e651bd8c315d35488b06e41fba60525173633897 | 4ada73b1bcadc979fff2cde4fbc35916a4feae44 | /programs/bline.py | 3118994d6b2c8ec7320fa972245bc460005bd879 | [] | no_license | naveenkamalpv/computer-graphics-openGL | 1fa351b7543c8a358ac5487a2c6f7aa83264de90 | b26f8e3ce3670223de3aa16ef1ce0098d54c8fda | refs/heads/master | 2021-05-17T09:40:37.204884 | 2020-03-28T06:35:59 | 2020-03-28T06:35:59 | 250,728,943 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,304 | py | from OpenGL.GL import *
from OpenGL.GLU import *
from OpenGL.GLUT import *
import sys
def init():
glClearColor(0.0,0.0,0.0,0.0)
gluOrtho2D(-200.0,200.0,-200.0,200.0)
glPointSize(3.0)
def Sign(x):
if x<0:
return -1
elif x==0:
return 0
else:
return 1
def setPixel(xcoordinate,ycoordinate):... | [
"noreply@github.com"
] | naveenkamalpv.noreply@github.com |
58f9152fddf03e8d20d8a7ec91a18b12835419f5 | a97834abe4ad70082fd3bd8c71af18dae9513323 | /core/utils/PredictionTimeExcel.py | 8eb92cfe50950ded3352928ddb44de39504c73a9 | [] | no_license | WarGen4ik/qorca | af9bfe17940ee7f614a227dc7298162eb6e70bc1 | c1482f27d6f56c706c2a892e2a457e800439fdb1 | refs/heads/master | 2022-12-14T16:32:13.338299 | 2018-06-20T09:14:12 | 2018-06-20T09:14:12 | 138,007,580 | 0 | 0 | null | 2022-12-08T02:11:10 | 2018-06-20T09:07:37 | Python | UTF-8 | Python | false | false | 9,892 | py | import openpyxl
from openpyxl.styles import *
from django.conf import settings
from django.utils.translation import gettext as _
from auth_main.models import User, Profile
from competition.utils import time_to_str
from core.models import CompetitionUser, CompetitionTeam, TeamRelationToUser, Distance, UserDistance
cl... | [
"illko73@mail.ru"
] | illko73@mail.ru |
48213817a016caeacd108b0ee68f0d38b928e671 | 35bcf49f196154dc5259efd1fb145cda0d3de1a3 | /Data-Structures/Week3/merging_tables.py | d6c1e62088e51dc3870bdef0d203e34cbd78eabb | [] | no_license | andyc1997/Data-Structures-and-Algorithms | 0113fb105c1f0022b1550f8186f146babacc1867 | bb715a3e2e0bb1699bd94708b3fe3b3227c8632a | refs/heads/main | 2023-06-18T01:26:12.229427 | 2021-07-17T03:30:42 | 2021-07-17T03:30:42 | 332,850,718 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,919 | py | # python3
# Task. There are n tables stored in some database. The tables are numbered from 1 to n. All tables share
# the same set of columns. Each table contains either several rows with real data or a symbolic link to
# another table. Initially, all tables contain data, and i-th table has r[i] rows. You need to perfo... | [
"noreply@github.com"
] | andyc1997.noreply@github.com |
9f5efcb0f9d51a2430adf33f838b10e9ea55edbc | fbeeffbc312adc489a60804a891474a6ff660052 | /castle.py | a244ed106b62d07a0ff1c0fb839b040827e78bfd | [] | no_license | harras/whitecliff | bdcd4ccf71a2202f6635af0db63e99b10531a582 | f06a7673ca599a351baa70897f9cfa173f25479f | refs/heads/master | 2021-01-22T06:06:38.281598 | 2017-10-20T14:31:43 | 2017-10-20T14:31:43 | 102,284,158 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,786 | py | import room
import npc
import random
castle ={}
rooms = []
npcs = {}
npcs_ = {}
monsters = {}
monsters_ = {}
# Initializing all the rooms
# Floor 1
rooms.append(room.Room("Front Porch", 1)) # 0
rooms.append(room.Room("Forier", 10)) # 1
rooms.append(room.Room("Closet", 1)) # 2
rooms.append(room.Room("Den", 2)) # 3... | [
"nickharras@gmail.com"
] | nickharras@gmail.com |
a6971d41702409591fcad35aa105ef9816e13c4c | 8f8e2da05878feb1de9f0fc7e3e65b258088caa3 | /scripts/export.py | 7801ccd14edacac88317b6da0cf10a1faed8bbbe | [] | no_license | jvandew/wwww | dd8e5a41e65c462a0f97d0059d291bb5d8a728b5 | ac04e780541be960e2e5011969a922d0a22afd51 | refs/heads/master | 2021-06-23T16:00:35.796716 | 2019-04-25T04:03:09 | 2019-04-25T04:03:09 | 115,649,184 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,751 | py | from argparse import ArgumentParser, FileType
from google.cloud import datastore
def parse_args():
parser = ArgumentParser('Export RSVP data to a .tsv file')
parser.add_argument('destination', type=FileType('w', encoding='UTF-8'))
return parser.parse_args()
def sanitize_string(string):
return string.replace(... | [
"vandeweertj@gmail.com"
] | vandeweertj@gmail.com |
8addba9019db08f318b7a15e674840a95a4c3472 | 6cc66652dacf2e74387885c944cd5d12e461e1ca | /causeme/causeme_tcdf.py | a90506ba75433b62b30c6397b446382586d4f777 | [] | no_license | Gerdome/psda-group-4-assignment-4 | 30e10d9bc0918e94950542bc892c09fb9abc1f82 | e64e0c7f26221b7b4824c3bd1a461e0ef6278306 | refs/heads/master | 2022-11-30T11:06:20.333948 | 2020-07-20T14:23:32 | 2020-07-20T14:23:32 | 289,042,611 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,392 | py | """
This file must contain a function called my_method that triggers all the steps
required in order to obtain
*val_matrix: mandatory, (N, N) matrix of scores for links
*p_matrix: optional, (N, N) matrix of p-values for links; if not available,
None must be returned
*lag_matrix: optional, (N, N) matri... | [
"thassilo.helmold@student.kit.edu"
] | thassilo.helmold@student.kit.edu |
a4447efe94b092c2a01c2d6e6e1ece4a9215a5ea | 6c7b4ad829164c1c25387b645e60950946266a3f | /CameraLerpSystem.py | 9618ba01cba7ffbbc0cc64b7fdc7a8003b6358bb | [] | no_license | swssqewe12/Bubbles | 124bc59d56af3e303d7927917fc4cc77c3610b8a | ba748f7131bd9414c01fbc5c0941363024b0938e | refs/heads/master | 2021-07-24T03:41:46.673426 | 2020-04-19T16:32:51 | 2020-04-19T16:32:51 | 143,007,448 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 548 | py | import esp, mathutils
class CameraLerpSystem(esp.Processor):
def __init__(self, cameras=[]):
self.cameras = cameras
def fixed_update(self, dt):
for camera in self.cameras:
if camera.lerp_speed > 0:
camera.zoom = max(min(mathutils.map_range(camera.lerp_speed, 0, 1, camera.zoom, camera.target_zoom), came... | [
""
] | |
42185505bd29c5ac54777505fbabd4ea3b4e1322 | e3488783b0cfc500a44361dc528ab93a88e923d9 | /normalizer/algorithms/norm_country.py | 56cee0402b629ff2f4cd822d78f348b7f72c2cba | [
"MIT"
] | permissive | JackonYang/paper-reactor | dce6ab5c34dd238d030cec81a915c6b6140152a4 | cfb327baa49e744b7a21c8b50df4bf612f4fb503 | refs/heads/master | 2023-03-09T10:41:32.143460 | 2021-02-13T10:29:24 | 2021-02-13T10:29:24 | 337,173,409 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,080 | py | import json
import os
PROJECT_ROOT = os.path.abspath(os.path.join(
os.path.dirname(__file__), '../../'))
country_data_file = os.path.join(
PROJECT_ROOT, 'metadata/iso_3166_country_codes.json')
country_map = {}
# @API
def norm_country(addr):
if len(country_map) == 0:
build_country_map()
for ... | [
"i@jackon.me"
] | i@jackon.me |
8ca87d1f0a1907774df77a749ff725891e8cf4b2 | 8802fa5c4467fb6c783b6593ac2443f6a6e0a438 | /grupo03_site/grupo03_site/wsgi.py | ead079d8d623f82c195b9978b7a7c600939d522f | [] | no_license | rcastill/inf323-utfsm-grupo03 | 74cad25f97017270311780ddfe8009f20c564e42 | e018e15076e822a0c0b9e8bee6bc1177d728e4d4 | refs/heads/master | 2021-08-30T17:51:21.756030 | 2017-12-18T22:11:32 | 2017-12-18T22:11:32 | 103,285,728 | 0 | 0 | null | 2017-12-06T04:02:18 | 2017-09-12T15:07:11 | Python | UTF-8 | Python | false | false | 402 | py | """
WSGI config for grupo03_site project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO... | [
"diego.villegas.12@sansano.usm.cl"
] | diego.villegas.12@sansano.usm.cl |
3641a1a7abf5f59ae8d5f366b0ad5dc4e2e16061 | 9621f93999596a0f19df69aee91ad5b9b726c2d8 | /sLAB_All_0430/RMT_Main.py | 37a054056a2a844746699e0fa8f96da409fff2e4 | [] | no_license | Chia-Long/DQA_Wab | 57fcd4506d63d794ad67a0c9e0330aece5819ec1 | 9fe9eab675f03389101a7d561fa2df582f6e6562 | refs/heads/master | 2022-07-18T04:46:04.083682 | 2020-05-21T02:50:59 | 2020-05-21T02:50:59 | 261,126,604 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,243 | py | import dash
from dash.dependencies import Input, Output
import dash_table
import dash_core_components as dcc
import dash_html_components as html
import pandas as pd
import random
import dash_bootstrap_components as dbc
#colors = ['E9C46A','F4A261','E76F51','00AEE0','04294F','672A4E','EF476F','FFD166','06D6A0','118AB2... | [
"kobe760903@gmail.com"
] | kobe760903@gmail.com |
5e85018f07593d4b7ddcf88e31a13a87a254e21f | 2eeacfa3de196f4186e7a4371201c16a4c4e9437 | /nodes/serializers/edge_serializer.py | bb77f0fd22df13824765b65c226bf7ad24e68929 | [] | no_license | yasser-aboelgheit/bfs | 59564b78560f1b37bad77f0425e7fc31888c87f3 | b72aab5be2f2d3e2c62bab4b8ed5cdb050b3bd1d | refs/heads/main | 2023-04-09T03:15:43.552522 | 2021-04-21T13:23:50 | 2021-04-21T13:23:50 | 358,872,226 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 650 | py | from rest_framework import serializers
from nodes.models import Node, Edge
class EdgeSerializer(serializers.Serializer):
node_from = serializers.CharField(required=True)
node_to = serializers.CharField(required=True)
def validate_node_from(self, value):
node_from = Node.objects.filter(na... | [
"yasseraboelgheit@weaccept.co"
] | yasseraboelgheit@weaccept.co |
9d54ff837c1a8f276a97e819ccf6c7a49e66713b | 24144f83276705fe2f4df295ee50199c2035ca7b | /active/theses-mainz.py | 0acd9b145b345b370518620e935b1280fb1eaed5 | [] | no_license | AcidBurn429/ejlmod | a2e4eb6bb28bcb6bbccc3d83e2e24f5aed23d4eb | dec50edbb14380686072d7311589a2363ef5cd00 | refs/heads/master | 2023-08-14T21:19:10.890194 | 2021-09-28T13:39:06 | 2021-09-28T13:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,405 | py | # -*- coding: utf-8 -*-
#harvest theses from Mainz U.
#FS: 2020-01-27
import getopt
import sys
import os
import urllib2
import urlparse
from bs4 import BeautifulSoup
import re
import ejlmod2
import codecs
import datetime
import time
import json
xmldir = '/afs/desy.de/user/l/library/inspire/ejl'
retfiles_path = "/afs/... | [
"florian.schwennsen@desy.de"
] | florian.schwennsen@desy.de |
d49bcc85fb670923856b90cd4b3431c31b19fed9 | 8671856181ef218f147f23f367fd0b1dc7592e1a | /realtor/migrations/0020_auto_20190918_1213.py | 69d2a3d67932c1247662582520c4265d41e2eef5 | [] | no_license | Alishrf/Shop_Website | e4fef9618aec2db6f4a655ff643aa68cf42dbb68 | 971d4a2ff8b7a68a0157681ff26404fe403502e6 | refs/heads/master | 2020-08-11T06:03:47.642870 | 2019-10-14T14:29:30 | 2019-10-14T14:29:30 | 214,504,737 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | # Generated by Django 2.2.4 on 2019-09-18 07:43
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('realtor', '0019_auto_20190918_1203'),
]
operations = [
migrations.AlterField(
model_name='realtor'... | [
"a.sharifzadeh11@gmail.com"
] | a.sharifzadeh11@gmail.com |
4a622a2368284086785f3560694bbf3c5c1fa1b0 | b28c15914b3cd8df8442c5f13ac300957e442816 | /scriptprogramming/settings.py | 970be0a229ed137a0f38fb8eb0280cc3ef4072c4 | [] | no_license | rakkeshasa/scriptprogramming | ff72220904ba1732b2740d22253db2b5c0b05fe4 | f26cbaaec8eb07ae4ff8683a5c31c70bff5ad836 | refs/heads/main | 2023-05-06T04:57:09.147500 | 2021-05-21T06:37:39 | 2021-05-21T06:37:39 | 369,426,816 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,272 | py | """
Django settings for scriptprogramming project.
Generated by 'django-admin startproject' using Django 3.2.3.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
fr... | [
"rakkeshasa2@gmail.com"
] | rakkeshasa2@gmail.com |
df776be8e3c5a10d0ea0d5ac96bb71188cc0c541 | be5f4d79910e4a93201664270916dcea51d3b9ee | /fastdownward/experiments/issue627/merge-v3-v5.py | 100f1f2a1136f016756e9f799a53b284019dc988 | [
"MIT",
"GPL-1.0-or-later",
"GPL-3.0-or-later"
] | permissive | mehrdadzakershahrak/Online-Explanation-Generation | 17c3ab727c2a4a60381402ff44e95c0d5fd0e283 | e41ad9b5a390abdaf271562a56105c191e33b74d | refs/heads/master | 2022-12-09T15:49:45.709080 | 2019-12-04T10:23:23 | 2019-12-04T10:23:23 | 184,834,004 | 0 | 0 | MIT | 2022-12-08T17:42:50 | 2019-05-04T00:04:59 | Python | UTF-8 | Python | false | false | 1,574 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from downward import suites
from common_setup_no_benchmarks import IssueConfig, IssueExperiment, get_script_dir
from relativescatter import RelativeScatterPlotReport
import os
def main(revisions=None):
exp = IssueExperiment(benchmarks_dir=".", suite=[])
exp.ad... | [
"zaker.mehrdad@gmail.com"
] | zaker.mehrdad@gmail.com |
bb73625db798cf09320a109e072bfb4f77b93ec6 | 72672d838747507ee297dafa819f0b1ed99c923b | /qt/gui/modales.py | e38d6b59148b12999e779a9dbd92f63aab0b759a | [] | no_license | yoann01/bullseye | df98971bd7fddf15f8cbcbad8359efcd70e11605 | 97af9831c3021983794a5fad7abbb93c49dfd88d | refs/heads/master | 2020-02-26T14:01:12.244018 | 2012-05-23T22:43:25 | 2012-05-23T22:43:25 | 38,533,771 | 1 | 0 | null | 2015-07-04T12:51:43 | 2015-07-04T12:51:43 | null | UTF-8 | Python | false | false | 21,620 | py | # -*- coding: utf-8 -*-
import os
from common import settings, xdg
from PySide import QtGui, QtCore
from qt.util import treemodel
from data import elements
class Criterion(QtGui.QWidget):
FIELDS = (('artist', _('Artist')), ('album', _('Album')), ('rating', _('Rating')), ('playcount', _('Playcount')), ('path', _('Pa... | [
"Maitre.Piccolo@gmail.com"
] | Maitre.Piccolo@gmail.com |
d9b2748d71c6625f047387b40d158afc6042ea83 | 8a780de2929d5d92bd9682afa0fcfdf867d9e11e | /py/hello.py | 188fa9e4203a8c60dea98d34b0e66a68ad3ec7bc | [] | no_license | jennylia/pythonData | 64a71a9ba0917913905113c68418bc71faef4ff1 | 6fa04add6c740c0499166e8d89bdee27343613ae | refs/heads/master | 2021-01-01T05:51:17.025900 | 2015-05-09T18:08:12 | 2015-05-09T18:08:12 | 35,136,387 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 223 | py | print "hello"
import sys
import os
for i in range(3):
print i
# Let us try using the command argv like in c
#arg1 = sys.argv[1]
#arg2 = sys.argv[2]
#
#print arg1
#print arg2
x = raw_input("enter something")
print x
| [
"jenny.lian@ericsson.com"
] | jenny.lian@ericsson.com |
3ca976c315126de5355e9a6a4a798b0fc42eacf5 | 7e8b561ad29b18457ba1cba17bcfd98db84a5f96 | /limitRecursion.py | d3e06bec61f0e20e78ab222bf5ce50d6ae43baa5 | [] | no_license | ErikssonHerlo/JPR_Editor | 129c126a5bdac0400ef554f4fab66da60fd62e47 | a94339d75e7fed5fa31acbb3ec6d83b144799fe3 | refs/heads/main | 2023-05-31T18:00:00.434657 | 2021-07-05T05:56:56 | 2021-07-05T05:56:56 | 378,616,290 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 270 | py | import sys
print(sys.getrecursionlimit())
sys.setrecursionlimit(1500)
print(sys.getrecursionlimit())
"""
Creditos:
Jose Francisco Puac - Repositorio del Curso
Se utilizo como una base para el proyecto
Eriksson Hernández - Desarollador
""" | [
"erikssonhernandez201830459@cunoc.edu.gt"
] | erikssonhernandez201830459@cunoc.edu.gt |
ccbdd6b5052306c828cb0f31d51e2593ac61e4d7 | ac98625836b837b6cf6c792b0c2af7aa7557dfee | /run_test.py | 4758c1eb3491cc98904687354ceaebb339cfe1d3 | [] | no_license | Vladi-shar/DataStracturesTests192 | 9ff22113ec517e3dc1a5bd4f5173c502c78b6132 | f5a8631bbb5ecd1ee321dee9d7a8c40434c1ba3c | refs/heads/master | 2020-05-19T09:04:26.083560 | 2019-05-06T05:55:43 | 2019-05-06T05:55:43 | 184,938,199 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,270 | py | #!/usr/bin/env python
import os
import shutil
import sys
def clear_dir(test_project):
for the_file in os.listdir(test_project):
file_path = os.path.join(test_project, the_file)
try:
if os.path.isfile(file_path):
os.unlink(file_path)
elif os.path.isdir(file... | [
"shargvla@post.bgu.ac.il"
] | shargvla@post.bgu.ac.il |
df2ae295c54fb683b759cc4c1e136dd1eb1ff174 | f950df22b5b43c7c85890615fe0ac1b503d14cbc | /m2m/settings.py | a06fd24ba3477d2c62ad6c20a5a3370d5ddb3ca7 | [] | no_license | diegoalfonsodiaz/examenfinalPrograComercial | 40d68a39481f921223a49e71d667343e1c1f90c5 | a37e2b715ff78c509ca8c89061dc50a00fc6c4c6 | refs/heads/master | 2020-04-07T09:26:43.924011 | 2018-11-19T17:44:23 | 2018-11-19T17:44:23 | 158,252,290 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,092 | py | """
Django settings for m2m project.
Generated by 'django-admin startproject' using Django 2.1.3.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
# Bui... | [
"diegoalfonsodiaz@gmail.com"
] | diegoalfonsodiaz@gmail.com |
2c5ca4c4b7688e09c4ba04af67b07d2117303eb6 | 5fcb4c418f0a5a1455b4a396d3d9c516f5f76ca6 | /黑鹰视频/venv/Scripts/django-admin.py | 084e68ed1c20a44f2e2350979fb2fc5dae611c4e | [] | no_license | ooyuanyu/blackeagle | ab984366f6b1895312bfa23f96b162c88505c3d4 | c16784d816444dd4d2a5a70f05151c71b64f4646 | refs/heads/master | 2020-03-29T21:31:18.970428 | 2018-10-08T07:40:22 | 2018-10-08T07:40:22 | 150,371,315 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | #!E:\项目\黑鹰视频\venv\Scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| [
"825031736@qq.com"
] | 825031736@qq.com |
c8de73340647586a8a6510b8ed4c23440264bcb1 | 424df0d19d35daa9ffe8c518308b250f6abbbf5a | /node_modules/sqlite3/build/config.gypi | 8d997eaae3149de11ae8d8e4f0b2c2fc3e852b14 | [
"BSD-3-Clause"
] | permissive | jmanuel1407/e-nutrition | 60e563a294407784c20f372edcf57ae8b9024ed1 | 90786196ed4fddf0aa2ea87b64d70e68a7f57bad | refs/heads/master | 2021-01-10T09:53:39.940095 | 2015-12-18T20:05:05 | 2015-12-18T20:05:05 | 44,704,490 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,450 | gypi | # Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"clang": 0,
"gcc_version": 48,
"host_arch": "ia32",
"node_install_npm":... | [
"letty_217@hotmail.com"
] | letty_217@hotmail.com |
5dedf4b23a5cd72cdc5babcf443ed3b1082c6ca4 | 2ea7c15ee5ff6a4d1cbbe41c97c8ef2175c74f8f | /models/common/base.py | 9617cea6207d0d637fd35e393c1d031f2995f89a | [] | no_license | zhoupp0518/squad-gated-rep | 2eb63a5de1a296730c062ed4c9b7fa37b82235f3 | a085c25c8dc50340006cd597aef1a7609e1a7239 | refs/heads/master | 2020-09-10T01:31:21.638288 | 2017-10-03T14:25:31 | 2017-10-05T07:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,429 | py | import copy
import json
import os
from typing import Any, Dict, List, Tuple
import tensorflow as tf
import numpy as np
from common.data.dataset.proc_dataset import ProcDataset
from common.data.evaluate import evaluate
from common.data.pipeline.embedder import load_word_embedder, load_small_char_embedder, load_char_em... | [
"mail.duer@gmail.com"
] | mail.duer@gmail.com |
6a54266ad2841e62e545a21267385cd18a73cc11 | 339ece4ecc7abd42a11f1bd78bb695981dae3f59 | /circle.py | 40e1f69e528138111a33ebbc06a7617e1d2b7730 | [] | no_license | Somesh1501/Codes | 05c1d54f51ab8316de7784e08d5271e207088894 | 08592e06d2d7f10ccb32caf7c3e2915c996d98e8 | refs/heads/master | 2021-09-24T10:51:57.834752 | 2018-10-08T17:03:36 | 2018-10-08T17:03:36 | 109,552,384 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 363 | py | import turtle
b=turtle.Turtle()
def de():
for i in range(50):
b.fd(100)
b.lt(31)
def ed():
for i in range(30):
for i in range(50):
b.fd(100)
b.lt(135)
def gh():
de()
dj()
def dj():
de()
b.fd(100)
ed()
def ds():
for ... | [
"someshdk1501@gmail.com"
] | someshdk1501@gmail.com |
1a1b7696f4ce2e13094a1f79e092e53fcc9eb461 | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/galex_j15376-1702/sdB_galex_j15376-1702_lc.py | e2d309905a69f149eca005da69c193f1c0718906 | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 358 | py | from gPhoton.gAperture import gAperture
def main():
gAperture(band="NUV", skypos=[234.417917,-17.037508], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_galex_j15376-1702/sdB_galex_j15376-1702_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.