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
de171643d720ac13e8a745fb6fe61a49ef535492
431f9d1f7a84ee40520fd88fa6aa4e7b0d235047
/geometric_controller/src/ss/trajectory_simulation.py
1b5ab398a461b4320bbd39442869d76e517a8ecc
[]
no_license
indsy123/Quadrotor-Navigation-using-Receding-Horizon-planning
aa0571457292ea2b1eefcd2119332430083c7c42
255e573a42660420fa0d3ce6dac252df8d737c8c
refs/heads/master
2020-07-26T13:14:34.814707
2020-03-24T21:38:16
2020-03-24T21:38:16
208,655,725
3
2
null
null
null
null
UTF-8
Python
false
false
4,758
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Created on Tue Oct 3 17:28:19 2017 This initial script generates a dummy trajectory. This should be replaced eventually with what you want the trajectory to be or your own method to generate the trajectory. Basically I made my own message file called "Desired_trajec...
[ "indragt@udel.edu" ]
indragt@udel.edu
4ad2bde6bdca921a681ab2a19739f7ec109f0855
72f55f2b9899af5cf60789b935a69f2e5ddfc814
/src/analytics/migrations/0007_auto_20161212_0735.py
030a645dc7873b36a13eae12fd481f3aeaae826b
[]
no_license
apapatp/svrup-learning-no-rest
cf4ab52de0a060207844a8fb3c58455b7142ff35
554d26245a9db2e22f4ed22928f4815b186e486b
refs/heads/master
2021-01-12T09:32:15.866093
2016-12-30T09:47:43
2016-12-30T09:47:43
76,186,449
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('analytics', '0006_auto_20161212_0624'), ] operations = [ migrations.Al...
[ "tolu@Tolus-MacBook-Pro.local" ]
tolu@Tolus-MacBook-Pro.local
a8518cb7746c3200f3217bba2498fb3fe7e3c877
878eb4b539d77051dd7330389b90d988d9aef8f3
/CAPITULO 7/Exercicio R.py
af3ef2eb5c93a5dc7848b95c4831130451504429
[ "MIT" ]
permissive
LarmIg/Algoritmos-Python
a031badc9f607cbbc109ee4ca8bfe60d5636d867
f2c9889705cacac007833f6ab9a413b06213f882
refs/heads/master
2022-11-25T05:36:26.313469
2020-07-25T11:59:36
2020-07-25T11:59:36
282,436,201
0
0
MIT
2020-07-25T12:08:13
2020-07-25T12:08:12
null
UTF-8
Python
false
false
767
py
# Elaborar um programa que efetue a leitura de dados em duas matrizes (A e B) de uma dimensão do tipo vetor, sendo a matriz A com dez elementos e a matriz B com cinco elementos. Os elementos a serem armazenados nas matrizes devem ser do tipo cadeia. Construir uma matriz C com a capacidade de armazenar um total de 15 el...
[ "noreply@github.com" ]
LarmIg.noreply@github.com
caebf84579717f9af88612898b4b4390d7755b86
f62be83925849ab2841565ab264dedf1ee74a689
/S&PTimeTest.py
3e69a50e2aaa5ea747781acb9fb522f9a524ad58
[]
no_license
evy555/Stock-day-of-week-return-analysis
043501581615bfe1979878ad01cada990eb9cb08
28cee2a04475db6801a4fe8c8f0a51c9a5f2959b
refs/heads/master
2020-04-01T20:59:05.613334
2016-06-08T22:46:08
2016-06-08T22:46:08
60,735,677
0
0
null
null
null
null
UTF-8
Python
false
false
4,653
py
import pandas as pd import numpy as np import os import pandas.io.data from pandas import Series, DataFrame from pandas import ExcelWriter from pandas import read_csv import matplotlib.pyplot as plt import datetime from scipy.stats import ttest_1samp import matplotlib.pyplot as plt from random import randint now...
[ "evansj556@yahoo.com" ]
evansj556@yahoo.com
290b82503d5a09f87feff4d7c52eaa5bb272622d
848fad01ed3f55e4c9a47d227f7cbabfe4f4df73
/utils/oss.py
86ba32fb2bafa32bb59bdb18e0650710b4b7c800
[]
no_license
cx2c/ali_sdk
51934a7b941fdb710b849ee6d61ce0ea9a88474f
9edb3ff58a71feb5917982d68a57854c10c26e15
refs/heads/master
2020-03-21T06:49:26.720386
2018-06-22T02:34:32
2018-06-22T02:34:32
138,244,060
1
0
null
null
null
null
UTF-8
Python
false
false
122
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "w.z" # Date: 2018/3/21 class Oss(object): pass
[ "w.z@zhangweideMBPX.lan" ]
w.z@zhangweideMBPX.lan
986bf659063dbb4023eaaf094cd1d3cccd06ebdb
44dbb043e52f00c9a797b1bea8f1df50dd621842
/os-example-4.py
69064074cfa33ba2ae8384a237bc9351ebad664a
[]
no_license
peterdocter/standardmodels
140c238d3bef31db59641087e3f3d5413d4baba1
7addc313c16b416d0970461998885833614570ad
refs/heads/master
2020-12-30T16:59:30.489486
2016-12-13T06:32:03
2016-12-13T06:32:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
import os # where are we? cwd = os.getcwd() print "1", cwd # go down os.chdir("samples") print "2", os.getcwd() # go back up os.chdir(os.pardir) print "3", os.getcwd()
[ "415074476@qq.com" ]
415074476@qq.com
b11a8a7651e0f8dc115584ee90faf956ed6a1f89
997449072baa8e50a143ae1152fd4fa83c8e1068
/devel/.private/rrtplanner/lib/python2.7/dist-packages/rrtplanner/msg/_rrtResult.py
7672fe8883172dee48ff70b467d5d95c919942d0
[]
no_license
idrissahil/catkin_ws
c547a6f7be812cc0bb1a93042026f746d34e7e70
b5d8b60c882b60bb19b8d4529257ca513b8256e3
refs/heads/master
2022-01-24T12:51:28.038620
2019-06-02T16:05:45
2019-06-02T16:05:45
175,048,655
1
0
null
null
null
null
UTF-8
Python
false
false
11,030
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from rrtplanner/rrtResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import geometry_msgs.msg import nav_msgs.msg import std_msgs.msg class rrtResult(genpy.Message):...
[ "idrissahil3@gmail.com" ]
idrissahil3@gmail.com
235af1bbc670e956e37e472b363d092d53a2e10f
7927424f1983eecc7c7b2f0ebaf61ad552d2a7e7
/zigzag.py
1e4ea4b1030d84d3446c45f2f19960e1f1f9aafc
[]
no_license
6reg/automate
295931d3ecf0e69e01921cc45d452fadfd1e6581
11e5de461ece3d8d111f3dc13de088788baf19a2
refs/heads/main
2023-03-08T18:39:42.991280
2021-02-22T20:53:13
2021-02-22T20:53:13
334,780,031
0
1
null
null
null
null
UTF-8
Python
false
false
746
py
import time, sys indent = 0 # How many spaces to indent indentIncreasing = True # Whether the indentation is increasing or not try: while True: # The main program loop. print(' ' * indent, end='') print('********') time.sleep(0.1) # Pause for the 1/10 of a second. if indentIncreas...
[ "mathiasgreg@gmail.com" ]
mathiasgreg@gmail.com
05fd2afde8a2efa035b5c2ee861b1f0e9b62fc97
8bdf78e902a02e3bd175e759fc98fd37277247af
/youtube_dl/extractor/mangomolo.py
2db503f2b13dc8499a6f665ef97d3e09cfcdf35b
[ "Unlicense", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
oxidius2/youtube-dl
191f5bde4992313308d2ab010cdb82ecd0d1b654
30d9e20938fa91ece09c376b67030647215d48df
refs/heads/master
2017-03-20T13:01:36.106539
2016-09-16T21:06:55
2016-09-16T21:06:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
# coding: utf-8 from __future__ import unicode_literals import base64 from .common import InfoExtractor from ..compat import compat_urllib_parse_unquote from ..utils import ( int_or_none, ) class MangomoloBaseIE(InfoExtractor): def _get_real_id(self, page_id): return page_id def _real_extract(s...
[ "remitamine@gmail.com" ]
remitamine@gmail.com
696193e4863c900c995b49d8854b2fd947ef2ebd
9dc21ebb553fd116826c7cbae7d8c5eba47423d1
/cloneGraph.py
81681ac2a31cf11b69ac78e24d755d692f4aee77
[]
no_license
KJSui/leetcode-2020
a475a8b8481231757222c5afaad2856a92572f89
37cf89e7fb1351b1deff09271d9bb5852395054e
refs/heads/main
2023-04-05T19:46:25.647605
2021-05-06T20:40:06
2021-05-06T20:40:06
365,031,592
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
class Solution: def __init__(self): self.copy = {} def cloneGraph(self, node): if not node: return None newNode = Node(node.val) neight = [] for i in neight: if i in self.copy: neight.append(self.copy[i]) else: ...
[ "jsui@digitalocean.com" ]
jsui@digitalocean.com
2a77ffc8692138609c559a9df4f3206508debd09
0c153f489e523afdc33b950a6b9ee21af09e968e
/cpp/run_scripts/run_fom_basis.py
57249f1dc5a1dc4ca8146c3f4d9c3f9afc8a949f
[]
no_license
Pressio/pressio-sisc-burgers1d
86f1acb31d40d1aefa83b61bb4e8a7d70621cf1a
671f45b7abd5dc59d574b6d26cc4a5f23ee90306
refs/heads/master
2021-01-26T01:04:20.594259
2020-04-26T11:32:00
2020-04-26T11:32:00
243,249,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
#!/usr/bin/env python import sys, os, time import subprocess import numpy as np import os.path from argparse import ArgumentParser import re import myutils, constants def main(exeName): # args for the executable args = ("./"+exeName, "input.txt") print("Starting basis runs") # loop over mesh sizes for iMe...
[ "fnrizzi@sandia.gov" ]
fnrizzi@sandia.gov
ebc3ed1ffe0e2caca9b9f1ca118b77aa614a399c
04a0ff31201c67a0e6a9654369ddd3f712303584
/module_5/pages/basket_page.py
9458b62174897720b13b36a5b9c95bcc2af01498
[]
no_license
titun9/stepik_lessons
58c73e136a7be2950f7071d637a495e182a1291f
26515d9edb2a2b8f7a09a598405d5cecb6a94f7d
refs/heads/master
2023-06-09T07:21:20.696296
2021-06-30T14:00:25
2021-06-30T14:00:25
366,700,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
from .base_page import BasePage from .locators import BasketPageLocators from .locators import BasePageLocators class BasketPage(BasePage): def get_correct_message_empty_basket(self): language = self.browser.find_element(*BasePageLocators.LANGUAGE_PAGE).get_attribute("lang") dictionary_message = {...
[ "butkevichas@cheops-edu.ru" ]
butkevichas@cheops-edu.ru
e2a2d639b617529303a24cb365818a069f9e4628
423e396e226494c34f99851cc050d929f3f144c8
/posts/admin.py
cb3ff4597adc8ff8a87e027e420a3d4c0b3387da
[]
no_license
Marihuana-Kox/hw05_final
1ff1a34cdcb9d66fe715ffbf8d9f5fb0d0ca2820
77a20ac2571fec13b979e763859de6f2bce43537
refs/heads/master
2022-12-09T13:53:21.195711
2020-03-10T17:45:21
2020-03-10T17:45:21
243,992,895
0
0
null
2022-12-08T07:24:27
2020-02-29T15:27:50
Python
UTF-8
Python
false
false
1,129
py
from django.contrib import admin from .models import Post, Group, Comment class PostAdmin(admin.ModelAdmin): # перечисляем поля, которые должны отображаться в админке list_display = ("pk", "text", "pub_date", "author") # добавляем интерфейс для поиска по тексту постов search_fields = ("text",) # д...
[ "yakuhs@yandex.ru" ]
yakuhs@yandex.ru
97d55e2aec24c8c3c273787b6a0bfb6e207c6ee0
c261f0e98eedb4f0d85e92bd6ab8f4ae47096269
/lifeservice/schedule117/04美食下载团购糯米/getNuomiOtherCinemaMap.py
7e6d7d90119847ca9a6a6e964889df38e7707452
[]
no_license
ShenDezhou/CPP
24379fe24f3c8588a7859ee586527d5cc6bfbe73
933c1e764a6ed2879b26aa548ff67153ca026bf6
refs/heads/master
2021-01-11T22:09:24.900695
2017-04-05T02:04:07
2017-04-05T02:04:07
78,928,291
0
1
null
null
null
null
GB18030
Python
false
false
1,328
py
#coding=gb2312 nuomiCinemaMap = dict() otherCinemaMap = dict() input = '/fuwu/Merger/Output/movie/cinema_movie_rel.table' for line in open(input): segs = line.strip('\n').decode('gb2312', 'ignore').split('\t') cinemaid, source, ting = segs[1], segs[3], segs[9] if source.find(u'糯米') != -1: if cinemaid not in nu...
[ "bangtech@sina.com" ]
bangtech@sina.com
7e1915a371be95b8b39560a1b5d338aaa86da5fe
d0e26d18017b825dd18919b0f87d0c99c15e1247
/twitterclone/urls.py
f38223bc8a2886dc69db15f43acff166caa1a2ab
[]
no_license
davidstewy/twitterclone
9e202f852514e72141c39e83f6d47e44f095be28
7e4395f9415854ca1edc3b81232f1303badb9543
refs/heads/master
2020-04-30T05:55:22.162908
2019-03-20T02:54:13
2019-03-20T02:54:13
176,638,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
"""twitterclone URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "davidstewy@gmail.com" ]
davidstewy@gmail.com
a497ba217122e7b18367fa57adc6a0602064311d
eb333acea85364d39f2811ae368dd35bc84392f0
/exts/counting.py
0b1623741328e7c6745febe4359c2f8f373a044b
[]
no_license
blueeidk/vendetta
7312b37e469ba2abbb46be07ba84365086f0cac3
e697dd3ebc224d50399dd8c4c0ee1d8f67085151
refs/heads/master
2023-04-12T19:22:13.009886
2021-05-10T20:29:42
2021-05-10T20:29:42
366,365,871
0
0
null
2021-05-11T12:01:11
2021-05-11T11:58:46
null
UTF-8
Python
false
false
1,939
py
import discord from discord.ext import commands, tasks from discord import Webhook, AsyncWebhookAdapter class Counting(commands.Cog): def __init__(self, bot): self.bot = bot self.current_num = -1 self.fetch_num.start() def cog_unload(self): self.fetch_num.cancel() @tasks.l...
[ "niteblock@gmail.com" ]
niteblock@gmail.com
f4fb165252962fe02564d44fc8d8a6cb9eaef1e9
c591f5676468a7447f0e4f104c4889debb35c051
/resources/idc/__init__.py
4a6431ad2c6890dd3d7348b37981f6a9a2f2b983
[]
no_license
zhagyilig/Adahome
3f3bc1b664bd65964b8befa78405c07da3c8a228
76f08be7c21e90bb58803aa1c11be59f66332f42
refs/heads/dev
2022-12-12T11:51:30.341859
2019-07-10T04:22:12
2019-07-10T04:22:12
149,948,322
2
4
null
2022-12-08T01:01:36
2018-09-23T04:39:23
HTML
UTF-8
Python
false
false
3,671
py
# coding=utf-8 # author: zhangyiling from django.shortcuts import render from django.views.generic import TemplateView, ListView from django.contrib.auth.mixins import LoginRequiredMixin # 登陆验证 from django.shortcuts import redirect # 页面跳转 from django.shortcuts import reverse # 反转解析url的'name=' from django.http impo...
[ "YilingZhang@YilingZhang.local" ]
YilingZhang@YilingZhang.local
2cbf9ce5648b670ee81e72a542610d78690a54f4
1097ed333a4000634e68a590ee6ffc6129ae61e3
/written_examination/matrix8.py
017cb25ae0dcc0f546bd9b3cf05825723bb344a7
[ "MIT" ]
permissive
AutuanLiu/Code-Storm2019
1bbe890c7ca0d033c32348173bfebba612623a90
8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30
refs/heads/master
2020-04-23T07:03:08.975232
2019-10-24T08:56:26
2019-10-24T08:56:26
170,995,032
1
0
null
null
null
null
UTF-8
Python
false
false
2,513
py
def getSum(i, j, n, m, maps): # [i, j]单阵入口,[n,m]矩阵维度数,maps矩阵 queue, sump, maps[i][j] = [[i, j]], maps[i][j], 0 # 初始化队列 while queue: x, y = queue[0][0], queue[0][1] # 获取队列头元素 for dx, dy in zip((-1, -1, 0, 1, 1, 1, 0, -1), (0, 1, 1, 1, 0, -1, -1, -1)): # 8个方向 nx, ny = x + d...
[ "autuanliu@163.com" ]
autuanliu@163.com
ada7809ed008445486cb53ed74ffb2f3f533ab06
c05ed32f1ef7e1eb7d73efd674e7d1fd710ad171
/daily-coding-problems/problem429.py
f131f4e79b05103324b498c75f6d6f5240e45cd3
[]
no_license
carlhinderer/python-exercises
c8367517fdf835fa1117f96dbfee3dccc596afa6
4e09bbb4c4e2bd5644ed50e997db9f3c289a18f7
refs/heads/master
2021-06-01T16:17:00.389134
2021-02-09T18:21:01
2021-02-09T18:21:01
150,902,917
0
0
null
2021-04-20T20:33:11
2018-09-29T21:03:36
Python
UTF-8
Python
false
false
533
py
# Problem 429 # Medium # Asked by Stitch Fix # # Pascal's triangle is a triangular array of integers constructed with the # following formula: # # The first row consists of the number 1. # # For each subsequent row, each element is the sum of the numbers directly # above it, on either side. # # For e...
[ "carl.hinderer4@gmail.com" ]
carl.hinderer4@gmail.com
a31be73325befa7634569a9b289ebac7e238c219
f4bdd0d988ed63ed314f5703abd3543cded9f49e
/Amazon/Reviews & Big Data Analytics/Amazon_LDA.py
32ae2a94f52d0aa94ba4eaf229433dab27abf4ff
[]
no_license
jessicakaye/Python-Projects
643f0e1808163187cfe3db7d5adff800e2e3a98c
8365e84f110b53df2bd54604f2206e9bc1f09617
refs/heads/master
2022-05-02T07:37:09.591545
2022-03-10T01:28:39
2022-03-10T01:28:39
253,980,412
0
0
null
null
null
null
UTF-8
Python
false
false
8,244
py
# Amazon_LDA.py # 4/28/20 # @jessicakaye # Used to conduct LDA on the top 10 most reviewed Amazon products in a dataset import pandas as pd import numpy as np from matplotlib import pyplot as plt import seaborn as sns from wordcloud import WordCloud from sklearn.decomposition import LatentDirichletAllocation from skl...
[ "noreply@github.com" ]
jessicakaye.noreply@github.com
67b528a1d4897d406c2df773535234cf98e46ce4
b7ada17734345131348d541d269c171ffbf88508
/Clase 15-11-2019/EJM EXCEPCIONES.py
ffef2497de09d7ed5d0c969e35a71e143b8da847
[]
no_license
PatrickPuente/Curso-Python-CEC-EPN
709094e0e10c26b5bb4883649383c9660b227c32
83c9e4f85ca939f12d4fc536e46f58c4470ffa0d
refs/heads/master
2020-09-11T16:18:56.670104
2019-11-16T17:43:50
2019-11-16T17:43:50
222,123,485
2
2
null
null
null
null
UTF-8
Python
false
false
640
py
import math '''try: y = 1/0 except ZeroDivisionError: print("Zero Division") except ArithmeticError: print("Arithmetic Problem") print("THE END") #VAriantes def badFun(n): try: return 1/n except ArithmeticError: print("Arithmetic Problem") return None badFu...
[ "noreply@github.com" ]
PatrickPuente.noreply@github.com
897350387fa941830a98c5edbca3834b1d382a04
77e0adf27f8ce8ada31937045d31d063f6661434
/noteapp/serializers.py
d79624bd60e6d29c39a0ea99f8d0c5c9c37ab2a7
[]
no_license
naveenijeri/urbanstop_drf
f84185d6e1ba043e96535e67429d1cf421430eee
33dfe71507cc02d85e5e1b1e19efc40eed24c4f4
refs/heads/master
2021-09-23T09:22:58.472057
2020-03-14T08:31:26
2020-03-14T08:31:26
247,235,337
0
0
null
2021-09-22T18:43:36
2020-03-14T07:56:29
Python
UTF-8
Python
false
false
1,354
py
from .models import NoteModel,UserModel from rest_framework import serializers class UserModelSerializer(serializers.ModelSerializer): class Meta: model=UserModel fields=('username',) class NoteModelSerializer(serializers.ModelSerializer): user_note = UserModelSerializer(many=True) class...
[ "naveen.ijeri123@gmail.com" ]
naveen.ijeri123@gmail.com
254a54f04d7e2527304887a3982a7456e97068b4
a088c5e4c4c2e6c722ba2df47c35f4f98d540412
/eduzen_bot/plugins/messages/inline.py
3469090624de031336b06b61a3e51716ad9cbd40
[]
no_license
mikael85/bot
c884602363dba9efb716940981494987fa37e3d3
86751cf57061ae317804cfc19806ebb15d9ac8b4
refs/heads/master
2020-11-30T02:15:42.221636
2019-08-24T16:39:01
2019-08-24T16:39:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
import logging from uuid import uuid4 from telegram import InlineQueryResultArticle, InputTextMessageContent, ParseMode from telegram.utils.helpers import escape_markdown logger = logging.getLogger() def code_markdown(bot, update): query = update.inline_query.query if not query: return results...
[ "eduardo.a.enriquez@gmail.com" ]
eduardo.a.enriquez@gmail.com
8bacb8e843f98006b0d409848f10edb92140f035
f160cf4eb335ea799559312ac3d43a60c2c5848b
/library/zip_extract.py
e1f1faecce940706c2ead17d0b449c0c1525aa28
[ "MIT" ]
permissive
baseplate-admin/Machine-Learning-Source-Code
c3389e0acb81e1f4c8e4c0cc763fcbc3781ef94e
a2203033d525c17b31584b52527c30e2c8aad1c4
refs/heads/master
2022-11-21T04:33:41.307477
2020-07-10T15:46:32
2020-07-10T15:46:32
277,730,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
def zip_extract(): import os from zipfile import ZipFile def zip_function(): print("We are extracting ZIP!!!") where_is_zip=input("What is your zip location?") what_is_zip_name=input("What is your zip name?") what_is_zip_extension=input("What is your ZIP format?") zi...
[ "61817579+baseplate-admin@users.noreply.github.com" ]
61817579+baseplate-admin@users.noreply.github.com
a926afb7922e05c0385c644c79fe80df6e229e01
ff983c83c59011c91ef1d28ef0b6ce6bfd843d8e
/cola.py
9f4af97d65cbd2e4bbb9bc14d98eccfe9ac5f6b7
[]
no_license
jiterman/Flights-Manager
7af81f025342988ef5a9497dd79f0849e87ba43c
197d49aa3f012846521d3e06a992fcf0d8b2b9d9
refs/heads/master
2022-11-05T11:43:53.566874
2020-06-22T01:09:16
2020-06-22T01:09:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
class Cola: def __init__(self): self.items = [] def encolar(self, x): self.items.append(x) def desencolar(self): if self.esta_vacia(): raise ValueError("La cola esta vacia") return self.items.pop(0) def esta_vacia(self): return len(self.ite...
[ "noreply@github.com" ]
jiterman.noreply@github.com
79e2b660e292e440ae352f3b6b11c484f59e6ad4
ad00e2f10ae396a02ded81d90e31e90a8999fbc8
/kaggle/DigitRecognizer/tensorflow-cnn2.py
c32ba7704e1c74578cabd9e8f115fde48eed94a7
[]
no_license
yixiaoyang/SmallData
a8c2f8525cf12b6c2e719c5aca0dee1580ce7215
6643ac67a150e1d7fdb924c8dde501f8c72fd40f
refs/heads/master
2021-01-17T09:55:31.630233
2020-04-02T18:19:26
2020-04-02T18:19:26
59,277,497
0
0
null
null
null
null
UTF-8
Python
false
false
7,728
py
# coding: utf-8 #!/usr/bin/python import tensorflow as tf import pandas as pd import numpy as np import time class DigitsModelCNN(object): def __init__(self): self.train_input = tf.placeholder(tf.float32, shape=[None,784]) self.train_out = tf.placeholder(tf.float32, shape=[None,10]) self.k...
[ "hityixiaoyang@gmail.com" ]
hityixiaoyang@gmail.com
76b07fab07edb0667ffdda682c409887fdab50cc
2cf99a155405b48bf14f872e1980ed948079e5dd
/test/test_router.py
a30b567e256a3ea2fe3ba97d23c6ab0b5d1539e8
[ "MIT" ]
permissive
marrow/web.dispatch.route
c15309a26023d068b8f84ea4bbc221b674c1e6b8
92494bcad2e2a9a52d2e51eecfab910d829cc2de
refs/heads/master
2021-01-25T04:01:46.245851
2016-02-15T07:54:36
2016-02-15T07:54:36
32,564,808
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
# encoding: utf-8 import pytest from web.dispatch.route.router import __DYNAMIC__, Router from sample import Root @pytest.fixture def router(): return Router.from_object(Root) def test_dynamic_repr(): assert repr(__DYNAMIC__) == '<dynamic element>' def test_router_singleton(): assert Router.from_object(Root...
[ "alice@gothcandy.com" ]
alice@gothcandy.com
846876364bc01fda2b044a0b561e2709369cd56c
268d9c21243e12609462ebbd6bf6859d981d2356
/Python/python_stack/Django/BeltReview/main/apps/books/models.py
fddd59aa3b548da3b7fdfa2c3d3484b1350a19f0
[]
no_license
dkang417/cdj
f840962c3fa8e14146588eeb49ce7dbd08b8ff4c
9966b04af1ac8a799421d97a9231bf0a0a0d8745
refs/heads/master
2020-03-10T03:29:05.053821
2018-05-23T02:02:07
2018-05-23T02:02:07
129,166,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
from __future__ import unicode_literals from django.db import models from django import forms from django.core.exceptions import ValidationError # Create your models here. class UserManager(models.Manager): def basic_validator(self,postData): errors={} #validate password if len(postData['password']) < 8: ...
[ "dkang417@gmail.com" ]
dkang417@gmail.com
78e09543d9fe810959a5f9c88d88fc9890e0a11d
228a253a698fd8ceb0af4e63187ee201004aca4e
/IotServer.py
d6306058174631582c8a438fc2b709bd31389722
[]
no_license
mtpajula/iotLocalNetworkServer
4b16a5d93f5dcaab98afaec1e37a317d35bb4649
aa3c0187dff14c4bf568afa554f82cf13a2500f5
refs/heads/master
2021-05-11T14:34:57.921236
2018-02-23T17:40:29
2018-02-23T17:40:29
117,707,883
0
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
# -*- coding: utf-8 -*- from IotServerDevice import * from time import sleep import copy import sys class IotServer: wait = 10 def __init__(self): self.d = IotServerDevice() def printer(self, category, message): if category == "t1": print("\n") print(message) ...
[ "mtpajula@gmail.com" ]
mtpajula@gmail.com
52722c46ff54f9d588bdd4cd1a24506d64dacd60
bcc2d156334d3680561b17cec82cbc31a5ea07ad
/String/22. Generate Parentheses.py
2431fefda0dcde528d7eafd0b65a378afe0ebe31
[]
no_license
kevinsshah/Leetcode
72b14e226b6881bcd18913b2fa132b0e3f8dd6ef
4419f46e6f6b1d96ff8b7066fce687cfa88e65a0
refs/heads/master
2020-03-25T23:00:49.851183
2018-09-08T04:13:27
2018-09-08T04:13:27
144,255,457
0
0
null
null
null
null
UTF-8
Python
false
false
2,129
py
# Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. # # For example, given n = 3, a solution set is: # # [ # "((()))", # "(()())", # "(())()", # "()(())", # "()()()" # ] class Solution(object): def generateParenthesis(self, n): """ :t...
[ "shah.kevi@husky.neu.edu" ]
shah.kevi@husky.neu.edu
12d896a3fb16ddce598c3c26b8715790f3f41155
bb7ee0c29834864964a445cc7cc68a742937791c
/file_crawler_w_yts_downloader.py
667d19c6ff4a1df526fb6ea31d1ddfe5ce354fed
[]
no_license
quadcube/Automated-Yify-Subtitle-Downloader
6a5ef01f70cb44e77f602bf8fac529c9f3436cf1
2254fccdebe61fa2871123267556b11cd75bb4c7
refs/heads/master
2020-08-23T08:38:44.358378
2020-04-12T14:18:36
2020-04-12T14:18:36
216,580,113
0
0
null
null
null
null
UTF-8
Python
false
false
12,176
py
import os import re import urllib import logging import requests # pip install requests from zipfile import ZipFile from html2text import HTML2Text # pip install html2text log_path = "/Users/quadcube/Project/Subtitle Tool" log_name = "file_crawler_w_yts_downloader" logging.basicConfig(level=logging.INFO, format="%(asc...
[ "noreply@github.com" ]
quadcube.noreply@github.com
9616bdcb9ebc14028225fac131ca2aa6763cfb91
9e3205c13404f6bf2b36c96af7d0a9d2532596a0
/cart_pole/dqn.py
a37de3641dfad0cf9d3e7d3c578e6d83d554f348
[]
no_license
mminhou/openai
fce2da3e1b49da0b99a55087cc97e8890fb5a1f7
05418b83218f4f2b29d70deef4a41cde7ad6941e
refs/heads/master
2020-03-11T07:36:33.644382
2018-04-17T07:04:13
2018-04-17T07:04:13
129,861,281
0
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
import numpy as np import random as random from collections import deque from cnn_tensorflow import CNN # See https://www.cs.toronto.edu/~vmnih/docs/dqn.pdf for model description class DQN: def __init__(self, num_actions, observation_shape, dqn_params, cnn_params): self.num_actions = num_actions self.epsil...
[ "exit19093@gmail.com" ]
exit19093@gmail.com
66d3b82f69e86c48f0251452cf320598139f48d5
f7108e688415975baf5e3290d9b210585e4faaed
/monkeybat2.1/date.py
04e20469868384d3244bafb377ee7322bf43019a
[]
no_license
lijiansheng325/python-2019
20ef1a960bc1cd8f09c0133eafda2755d273e2a4
a577992d71d7d36a93d9cbb7658887c9152173f1
refs/heads/master
2020-04-19T03:30:48.426503
2019-01-30T09:12:02
2019-01-30T09:12:02
167,936,368
0
1
null
null
null
null
UTF-8
Python
false
false
1,231
py
class Date(object): def __init__(self, day=0, month=0, year=0): self.day = day self.month = month self.year = year def __str__(self): return "{0}-{1}-{2}".format(self.year, self.month, self.day) @classmethod def from_string(cls, date_as_string): year...
[ "lijiansheng325@163.com" ]
lijiansheng325@163.com
2bfac6ff84eb132dbe0ca2d7e60294830f89405d
697948f1b4e889258d64e4b641aa00f352c915d2
/model/relation_prediction_semantic_loss/mydataloader.py
e0c59029b30751d753cdaf9484117914bd70a388
[]
no_license
cheunglei/myLENSR
6c8ad0376d907396b2db53f9ac42c76a001cd2eb
063e50cc66dcc4390423150af89e95a9e0d2493a
refs/heads/master
2021-03-21T02:02:16.576945
2020-05-18T08:02:47
2020-05-18T08:02:47
247,254,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
from torch.utils.data import Dataset, DataLoader from torch import Tensor import numpy as np import pickle as pk class VRD_dataset(Dataset): def __init__(self, train_set_keys, image_features_train, annotation_train, information): self.train_set_keys = train_set_keys self.image_features_train = ima...
[ "948594226@qq.com" ]
948594226@qq.com
1c9cb402c43d4cdc6747cd94f70df60e1fb424bf
4276667227d01d225bcc083e9d82439d52f6cd6c
/10.io_code/4.serialization.py
8781bf10dcf222c4764dafc10d9adcaa30f0cc42
[]
no_license
JianxiangChan/python_learning
82e24498e96369c1a25c7cb557e80f7baf5e7961
488e6f6cb0591b8fce9261b072346c745b19cb2d
refs/heads/master
2020-06-05T22:01:54.429817
2019-12-16T14:40:14
2019-12-16T14:40:14
192,557,623
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# -*- coding: utf-8 -*- import pickle d = dict(name = 'bob', age = 20, score = 88) print(pickle.dumps(d)) #use of dumps with open('dump.txt','wb') as f: pickle.dump(d,f) with open('dump.txt','rb') as f: d = pickle.load(f) print(d) import json d = dict(name = 'bob', age = 20, score = 88) print(json...
[ "15651898806@163.com" ]
15651898806@163.com
2e2d00ecfeb31b0168a0130af2aa68e6f2967de9
aa245f4e900ab0f27eee9b0fb2d7c9f7d4172269
/tests/test_utils.py
5c5bd201679fb0fdf8b3403da887b2dcab97dcbe
[ "MIT" ]
permissive
Vetrovec/chainee
ed4edd4e92637b29fcf5ff0493de6f6983e66e98
3a1a300f86ad8aeb385d8de7f766dd035c039f04
refs/heads/master
2022-04-05T13:54:38.804711
2020-02-01T14:11:16
2020-02-01T14:11:16
235,657,376
0
0
null
null
null
null
UTF-8
Python
false
false
3,992
py
from unittest import TestCase import chainee.utils as utils class TestUtils(TestCase): def test_is_hex_string(self): self.assertTrue(utils.is_hex_string("AbCdeF1234567890"), "is hex") self.assertFalse(utils.is_hex_string("abcdefg"), "is not hex") def test_validate_private_key(self): ...
[ "stepan.vetrovec@gmail.com" ]
stepan.vetrovec@gmail.com
2e77e1bf2950b9ae5d4e921023ac91b6785e05f8
7474675ad1a50bd41792ef9c4de09924acbc8f17
/KNN/iris.py
85f0cf2fd3a28cafc5e979950791eb122826a8a8
[]
no_license
itsmefarhan/MachineLearning
5f2b756e31ab199701ac8f223c420634a0d04478
6df397f583222575ac9035350e76f6a9b9c0a2eb
refs/heads/master
2020-09-05T09:24:56.605009
2019-11-11T20:07:39
2019-11-11T20:07:39
220,056,068
0
1
null
null
null
null
UTF-8
Python
false
false
603
py
import pandas as pd from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from sklearn.metrics import confusion_matrix dataset = load_iris() # print(dataset.keys()) # print(dataset.data) X_train, X_test, y_train, y_test = train_t...
[ "farhan.farooq@live.com" ]
farhan.farooq@live.com
dc6217c8436382f7a1d6ad3ae9face803e235091
931f1a920913dc21ea6cb5b4b591e05259abf490
/input_files/create_text_hdfs.py
414999ed6bf77e3288c4a4c21af9200eeb0fa107
[]
no_license
cgeroux/big_data_benchmark
f7bf3dbce55ae234c4548704f74710fa2f57cfef
b612665d0bda6e20283148fd9ba7be398f8d24d2
refs/heads/master
2021-01-10T13:34:19.043658
2017-10-12T15:24:04
2017-10-12T15:24:04
53,532,177
0
0
null
null
null
null
UTF-8
Python
false
false
7,341
py
#!/usr/bin/env python import random import optparse as op from subprocess import Popen, PIPE,list2cmdline import os def addParserOptions(parser): """Adds command line options """ #these options apply globally parser.add_option("-f",dest="forceOverwrite",default=False,action="store_true" ,help="Forces o...
[ "chris.m.geroux@gmail.com" ]
chris.m.geroux@gmail.com
7e0772e81bc42eb837cd3dce54f0f187bcad8970
3505132210ee8e48c2f216400aed6c2478075a86
/feature_selection/find_signature.py~
e0d9df6158e852a573058dd3eaff86b9c629a9bd
[]
no_license
yutsai84/Enron_POI_identifier
7610da2403a63857c3963977096fef9565a95b3f
03a27f997641fd97eaa78aec446b9b3704fd15df
refs/heads/master
2019-04-03T12:10:48.198921
2018-04-23T02:47:28
2018-04-23T02:47:28
66,225,617
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
#!/usr/bin/python import pickle import numpy numpy.random.seed(42) ### The words (features) and authors (labels), already largely processed. ### These files should have been created from the previous (Lesson 10) ### mini-project. words_file = "../text_learning/your_word_data.pkl" authors_file = "../text_learning/yo...
[ "yuchengtsai84@gmail.com" ]
yuchengtsai84@gmail.com
1f43b2642f2cdbd247d3109f36b3583af0b787b8
adc53c3aa155a93610261353df13ae0b25393f7a
/src/app/api/files.py
d9c2ebc273e444cc8a6e6769f8eb359a3c004451
[]
no_license
alvinTaoOps/geofiles-api
fe9b95a63117cbfcceb7e404c0bd7c94b2bedfbe
66bb1bd09d57f294a40ed8aec13ab58a2234ca6f
refs/heads/master
2023-07-18T10:52:19.939089
2021-04-27T16:55:41
2021-04-27T16:55:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,897
py
from typing import Optional, List from fastapi import APIRouter, status, UploadFile, File, Header, Request from ..db import files as files_repository from ..utils.Exceptions import raise_422_exception, raise_401_exception, raise_404_exception, raise_410_exception from ..utils.http import HTTPFactory from ..core.valid...
[ "jossefaz@protonmail.com" ]
jossefaz@protonmail.com
b8a62fa93f2532714aacb95518a96010cd6afe03
fffa7b13491deadfc649dfd035099ef764d8d303
/api/tests/mathematical_object_detail.py
3ecfae51fd020c715c1a8504027fcc57a26800f4
[ "MIT" ]
permissive
Gawaboumga/OEMS
3b12b8bebbe4b29716e8be4e22034ec394af36da
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
refs/heads/master
2022-12-14T11:15:55.797241
2019-01-22T10:22:42
2019-01-22T10:22:42
147,358,167
0
0
MIT
2022-12-08T01:26:59
2018-09-04T14:20:58
Python
UTF-8
Python
false
false
4,231
py
from rest_framework import status from rest_framework.test import APITestCase from django.test import override_settings from django.urls import reverse from oems.settings import TEST_MEDIA_ROOT from api.models import MathematicalObject from api.tests import utils @override_settings(MEDIA_ROOT=TEST_MEDIA_ROOT) class M...
[ "yourihubaut@hotmail.com" ]
yourihubaut@hotmail.com
c78554bfaf8bee6f13777307c2c97139d339f973
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02390/s457532968.py
390a81631bac8de1e3a93db961d2ef9a82cb8ed1
[]
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
146
py
import sys line = sys.stdin.readline() inp = int(line) h,mod = inp//3600, inp%3600 m,mod = mod//60, mod%60 s = mod print ("%d:%d:%d" % (h,m,s))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3e4331ea4515d8ab9a244201033c44ae2211e3db
d4cd2476f8fa8a7d94e183a68bd0678971310c5b
/checkio/06_Ice_Base/06_IceBase_04_FunnyAddition.py
9030b3fb8d1063f001b7c9e2d024d3d76144968e
[]
no_license
gwqw/LessonsSolution
b495579f6d5b483c30d290bfa8ef0a2e29515985
0b841b1ae8867890fe06a5f0dcee63db9a3319a3
refs/heads/master
2020-07-05T19:15:53.758725
2019-10-01T11:34:44
2019-10-01T11:34:44
202,744,145
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
def checkio(data): """The sum of two integer elements""" return sum(data) if __name__ == '__main__': assert checkio([5, 5]) == 10, 'First' assert checkio([7, 1]) == 8, 'Second' print('All ok')
[ "=" ]
=
b96c59645e8a2d9a6c3fc4d83acb6984da618953
dfe50c0041a5dc23b63ea39369d115a8b74c56f0
/array_167.py
e396760dac8bbbcd6d360a390f08503b38081aa2
[]
no_license
cainingning/leetcode
1c624caf6330d2e1af4835741e5f0748c3f9513b
09b7121628df824f432b8cdd25c55f045b013c0b
refs/heads/master
2021-07-07T14:28:09.207501
2019-02-22T08:48:55
2019-02-22T08:48:55
142,756,206
1
0
null
null
null
null
UTF-8
Python
false
false
513
py
class Solution: def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ l_index = 0 r_index = len(numbers) - 1 while l_index < r_index: if numbers[l_index] + numbers[r_index] == target: ...
[ "499814159@qq.com" ]
499814159@qq.com
4f2b19ca6ea2aa053e8a9553366d01288860bf6f
5ee1c8378e374dd239752bcc79b44bcbbd89559a
/wsgi.py
3368c2fb6bbe0e361458b3fcc7990de7fce240c8
[ "Apache-2.0" ]
permissive
mahdikord/kordba
302bdaf03afddef04c3e9b860c096a8d0f29514a
20c71f636cfb4e49265c0f7984ac3373cd2e7ba4
refs/heads/master
2021-01-10T07:49:14.110378
2016-02-07T08:22:08
2016-02-07T08:22:08
51,240,456
0
0
null
null
null
null
UTF-8
Python
false
false
40,537
py
#!/usr/bin/env python import os def application(environ, start_response): ctype = 'text/plain' if environ['PATH_INFO'] == '/health': response_body = "1" elif environ['PATH_INFO'] == '/env': response_body = ['%s: %s' % (key, value) for key, value in sorted(environ.items(...
[ "devmwheeler@live.com" ]
devmwheeler@live.com
1d6ae632a35692b47fe5e5803717396272bfc1bd
ba84b4776efbfd114be6e489e206c61bcc93cf1d
/ScoreChanger.py
bcee5df8c7cda74ef7a3328cc951dd1ab5fdc825
[]
no_license
ReiraH/Pinball-Machine
5ad94267e3d4eb642aa03e4d4606e05cc6417431
c4baee924bb8655a1464f6eebd0df0887bf95615
refs/heads/master
2020-03-21T05:20:39.219845
2018-06-21T11:03:06
2018-06-21T11:03:06
138,156,415
0
0
null
2018-06-21T11:03:07
2018-06-21T10:35:23
null
UTF-8
Python
false
false
8,332
py
import RPi.GPIO as GPIO from time import sleep class ScoreChanger(object): HIGH = 0 LOW = 1 digitOnes = 24 digitTens = 23 digitHundreds = 15 digitThousands = 18 A = 0 B = 0 C = 0 D = 0 active = False GPIO.setmode(GPIO.BCM) GPIO.setup(digit...
[ "noreply@github.com" ]
ReiraH.noreply@github.com
051bf23137383141aa82658c92056367cacb34f9
d5c159e43758e5bee418a75cbb856ff2bbd9e285
/bitcoinexp/routing.py
586038d988de0a21eb789a7c4e7609f61940d059
[]
no_license
okcdbu/bitcoinexperiment
b2b1ab3f54de12fb215be890cf6f4d587bcaa146
46af6018210fddc64464a4a867540efc894b5b01
refs/heads/master
2023-05-24T06:33:43.703070
2021-06-08T08:11:19
2021-06-08T08:11:19
350,988,298
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
from flask import Flask, render_template from bitcoinexp.trading import get_chart_data, run from flask_socketio import SocketIO import threading app = Flask(__name__) socketio = SocketIO(app) thread_lock = threading.Lock() @app.route("/") @app.route("/chart") def chart_visualization(): return render_template('ch...
[ "okcdbu@gmail.com" ]
okcdbu@gmail.com
f23488ded619c675fe870811001ad1b85b57c931
4eaf9f8ef3eb2addf6a4fb0a6bc4f41b8584bbc6
/Week10/src/button.py
626572ee8c47c89608c588dd40fe26a8514f7b33
[ "MIT" ]
permissive
Kids-Hack-Labs/Winter2021
3d6afd99ae0c77ae7a9767d08c6f89b9e92da34e
4c66d5cf05045d2724db2393a0c2c581f314f903
refs/heads/main
2023-04-01T13:45:45.200124
2021-04-07T04:32:14
2021-04-07T04:32:14
329,418,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from pygame import Color, Rect, Surface import pygame.mouse as pm from src.text_generator import TextGenerator class Button(): STATES = ("NONE","OUT","HOVER","DOWN","UP") def __init__(self, button_text, text_info, button_info, func): self.colours = {Button.STATES[1]:button_info["out"], ...
[ "hercules.diascampos@kidshacklabs.com" ]
hercules.diascampos@kidshacklabs.com
ab9064ed0cf5cdd9c40ea7d1980c735a9bd402c3
ed98cf758a1aebb7a4415502a3672dcd5d480f91
/app/email.py
24033cf66ce2aa9d49a15899dba09de47e85f155
[ "MIT" ]
permissive
eclectic-coding/microblog
541a4e7c187def2a3511b8d7fc69cddb7e3e3b51
7193bb04d3073bb918aeb1e437fd72869555c467
refs/heads/main
2023-04-28T01:56:32.835458
2021-05-16T18:05:53
2021-05-16T18:05:53
356,620,088
0
0
MIT
2021-05-16T18:05:54
2021-04-10T15:20:27
Python
UTF-8
Python
false
false
940
py
from threading import Thread from flask import render_template from flask_mail import Message from app import app, mail def send_async_email(app, msg): with app.app_context(): mail.send(msg) def send_email(subject, sender, recipients, text_body, html_body): msg = Message(subject, sender=sender, reci...
[ "noreply@github.com" ]
eclectic-coding.noreply@github.com
066a5edb911a9b5069125b1aee9dfad1bbc78dbb
7d74195bd00cbe8516670c8fe718e983106c9830
/src/data_types/test_collections_ordereddict.py
ee4fe8c69fee1eec3bc707d6f7b10d39022930d8
[]
no_license
masa4u/example_python
7ab3d48020855ad493336afcd8d0c02eb3104b2b
7bdee4cb8e90255b20353f7f95d3e879f6462638
refs/heads/master
2021-01-18T14:10:56.539659
2017-03-28T12:52:08
2017-03-28T12:52:08
30,511,470
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
d = {'banana': 3, 'apple':4, 'pear': 1, 'orange': 2} from collections import OrderedDict print OrderedDict(sorted(d.items(), key=lambda t:t[0]))
[ "masa4u@gmail.com" ]
masa4u@gmail.com
2ec70de8b0fa6c526ab26722c4d947d9f7a07da4
241c347e5842c19bb298b8422a4bc68e64350d66
/machine_learner.py
7fa09bca40979c59a871e5e4fa1155713a8286a7
[]
no_license
ThePianoDentist/dota_talent_stats
92956c43356ea8e8d752c15f1294978eff026545
e2c3d1cec51d1e8b426c804f0331ee1221e3208b
refs/heads/master
2021-01-23T03:43:12.700928
2017-09-29T12:49:54
2017-09-29T12:49:54
86,113,759
0
0
null
null
null
null
UTF-8
Python
false
false
6,309
py
import random from keras.models import Sequential from keras.layers import Dense import numpy import itertools seed = 7 # random seed fixed so can reproduce things numpy.random.seed(seed) # TODO abstract model stuff away so can literally just give our hero id, and team and enemy ids. # TODO i.e dont hardcode these ...
[ "jbknight07@gmail.com" ]
jbknight07@gmail.com
67539a56c45da689a06a5d0dbec167da20875c44
0f85c7bfd4f29bcd856adc316cecc097fda744dc
/tests/test_ensure_db_indexes.py
b76b5876506cd87e0fd1691da623de883de60b0f
[ "MIT" ]
permissive
yandex/yandex-taxi-testsuite
260f46731c9888a9efcc3372c3d92329f2fb4d56
8befda8c13ef58d83b2ea7d0444e34de0f67ac7f
refs/heads/develop
2023-08-31T23:28:31.874786
2023-08-14T16:00:53
2023-08-14T16:00:53
244,937,107
150
41
MIT
2023-09-13T16:34:07
2020-03-04T15:35:09
Python
UTF-8
Python
false
false
2,916
py
import pymongo import pytest from testsuite.databases.mongo import ensure_db_indexes @pytest.fixture(scope='session') def mongodb_collections(): return ['sharded_collection'] @pytest.mark.parametrize( 'index_from_yaml, arg_and_kwargs', [ ({'key': 'field'}, ('field', {'background': True})), ...
[ "vitja@yandex-team.ru" ]
vitja@yandex-team.ru
10a39221f5994440bcf13c5a105678bdd1ad321e
08f60e7f496e76a4c6d5d8f6b671eb65fe7f4c7e
/env/Scripts/rst2man.py
cf0ea6a096d96e11d05be44d0d3c7949c0e96b1a
[]
permissive
Cell5/nfckey
dca892a0d647a3594fbb9af00615e388a8b54758
15a052e4877ad8eb4d71de3c92b2285e3e7d9d57
refs/heads/master
2022-11-27T03:45:29.944031
2018-11-16T09:38:01
2018-11-16T09:38:01
156,221,618
0
1
BSD-3-Clause
2022-11-19T01:38:13
2018-11-05T13:23:52
JavaScript
UTF-8
Python
false
false
629
py
#!c:\xampp\htdocs\nfckey\env\scripts\python.exe # Author: # Contact: grubert@users.sf.net # Copyright: This module has been placed in the public domain. """ man.py ====== This module provides a simple command line interface that uses the man page writer to output from ReStructuredText source. """ import locale try...
[ "exride@gmail.com" ]
exride@gmail.com
60c21ecdefa93da86c1761960a9774855f951f81
fab44b6672152764ad965291d645223ccbe6186a
/Undergrad_research(Machine Learning) Project/Machine Learning_undergraduate research project/lab2-part1/debugging2.py
4e814c85f717f68d4f752899d62cf392491012d2
[]
no_license
AndanteKim/AP_Archive
45149c410dcdc8d4f2cd64422091de00f451f34b
bcec25375edc5c2f44598bd9f48a6de49e108d35
refs/heads/master
2023-02-23T20:33:08.650315
2021-01-28T23:51:23
2021-01-28T23:51:23
276,733,907
0
0
null
null
null
null
UTF-8
Python
false
false
2,201
py
#!/usr/bin/env python # This script is full of common errors you're likely to run into. # To fix it, you need to debug it. Look at the error messages, use print # statements, and trace your code by hand on paper to find and fix the bugs. # This scripts calculates the fibonacci sequence in four different ways. # Be s...
[ "54167881+AndanteKim@users.noreply.github.com" ]
54167881+AndanteKim@users.noreply.github.com
b7ba80089f455b58d92760039c26578e86a680f3
3b380acf42684aaaa3201c241456e43920a40c1d
/paradeground/units/__init__.py
19c57c101368292a30f2e9093d01635cbcbbd3f7
[]
no_license
warp-one/electron
484245c45a7947f5bbe3b87020b62df74eb884ca
0147b3ff2e6320147562161ec2c9edea784b4015
refs/heads/master
2021-01-24T03:18:24.758276
2016-09-28T19:22:11
2016-09-28T19:22:11
41,637,456
0
0
null
null
null
null
UTF-8
Python
false
false
7,473
py
from math import sqrt, pi, sin, cos, tan, degrees from random import randint import pyglet from tools import * from units.behavior import * from units.behavior import states from selection import selectiontriangle as st import settings class Status(object): name = "Buff" def __init__(self, unit): ...
[ "wrschuller@gmail.com" ]
wrschuller@gmail.com
bddd1e68745eb9d0c4be78f83fbe5b77dccf95e0
bff3b19be6408c671b99a8c08f8faee932460686
/afnd6.py
69873feb97141fca01ad456deafbdc69854124d0
[]
no_license
OrionVi1998/Automatas
47591e9bb9548674e2a885cc348bf300d0eaafb4
3969ad25b66684c635d10138ffd71adf61d21e7c
refs/heads/master
2023-05-28T01:58:27.042093
2021-06-15T22:35:27
2021-06-15T22:35:27
376,657,207
0
0
null
2021-06-15T22:30:50
2021-06-13T23:10:41
Python
UTF-8
Python
false
false
637
py
grafo = { 0: [(0, "a"), (0, "b"), (1, "a")], 1: [(2, "b")], 2: [(3, "b")], 3: [] } grafo2 = { 0: [(1, "a"), (2, "a")], 1: [(3, "b")], 2: [(5, "b")], 3: [(4, "a")], 4: [(1, "b")], 5: [(2, "a")] } def bfs(start): queue = [(start, "")] visited = [] while len(queue) ...
[ "octaviov1998@gmail.com" ]
octaviov1998@gmail.com
4f17a87004d2e33cbb26f6d49b7cb84a0b7ffef9
70532360ddfdd8006bf7044c117403ce837cef0a
/code/Rplot.py
cd1f9b2b402c74ca5ecf9502d4eba1665cd10a9b
[]
no_license
wsgan001/campus_wifi_analysis
09a7944f5019f726682925c8785cdf5f7d8c469a
c470135691ff8faad3cb4755301e4f59389e2c5a
refs/heads/master
2020-03-10T11:09:05.579870
2017-03-03T07:13:57
2017-03-03T07:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,312
py
# -*- coding: utf-8 -*- import fileinput user = {} for line in fileinput.input("../data/select/select_a"): mac = line.strip().split(" ")[0] user[mac] = True fileinput.close() with open("../data/plot/R_trace_all","w") as f: f.write("mac time dura\n") for line in fileinput.input("../data/feature/trace_all_statist...
[ "mqiang@splunk.com" ]
mqiang@splunk.com
a95329335b970233b588cd83bb48ba1a20a06e5b
97e833b79e40f798019e45829d4c3eb91b852438
/telegraph/appos.py
0326616f7c814a68bea716949be213b918db56f4
[]
no_license
AwkwardLiSFan/news-tone
b6069d6abb55b6e4eb8caf38ff27669669d66560
fd55786991c3c1c4d4cbe3585026b14992bec69f
refs/heads/main
2023-06-22T10:43:57.793472
2021-07-21T10:58:45
2021-07-21T10:58:45
388,087,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
appos_list = { "aren't" : "are not", "can't" : "cannot", "couldn't" : "could not", "didn't" : "did not", "doesn't" : "does not", "don't" : "do not", "hadn't" : "had not", "hasn't" : "has not", "haven't" : "have not", "he'd" : "he would", "he'll" : "he will", "he's" : "he is", "i'd" : "I would", "i'd" : "I had", "i'll" ...
[ "noreply@github.com" ]
AwkwardLiSFan.noreply@github.com
2a200f3a2374864f5dfb04e9acef5ed89b61e21d
30b3fe3e33c090099f8d86e498b80e70da069822
/solution.py
9605a5aca6066e2072a43573499ef3283f88859a
[]
no_license
selvaramkumar/leetcode1451
5e967d2b6d89e7ce5c7345dcdbef3478e3fcb20a
bebf87f5beca2aa791fcd8f3b00ae1e6cf87364c
refs/heads/main
2023-02-07T08:46:21.077083
2021-01-05T14:23:29
2021-01-05T14:23:29
327,020,442
3
0
null
null
null
null
UTF-8
Python
false
false
747
py
from collections import OrderedDict class Solution: def arrangeWords(self, text: str) -> str: temp=text.split(" ") dict1={} for i in temp: if not len(i) in dict1: dict1[len(i)]=i else : dict1[len(i)]=dict1[len(i)]+" "+i res="" ...
[ "sselvaramkumar@gmail.com" ]
sselvaramkumar@gmail.com
43c10cdae7648e4ba849bdb25a0d0584082480de
a1678f80efe56423d08bea6a2843633b8a81dd34
/DSALGO_String/firstNonRpeatingCharacterInStream.py
d49f0701ab89e0eff461dd81e21982da2b3f07ca
[]
no_license
NIDHISH99444/CodingNinjas
af60aa93dbfcf050e727949d41201f72973b0608
b77b652cf0bf9b098ef9da4eff5eaecb7bfeaea5
refs/heads/master
2021-05-17T03:50:45.376843
2020-05-03T17:25:01
2020-05-03T17:25:01
250,608,228
2
1
null
null
null
null
UTF-8
Python
false
false
485
py
from _collections import deque def firstNonRepeating(string): dict=[0]*26 q=deque() for i in range(len(string)): dict[ord(string[i])-ord('a')]+=1 q.append(string[i]) while len(q)!=0: if dict[ord(q[0])-ord('a')]>1: q.popleft() else: ...
[ "nidhish99444@gmail.com" ]
nidhish99444@gmail.com
f34988ec1779777e353d26f3d66f85407eee93b7
91ad7dcbb7db4066e1bbcba01affa0a46eba1439
/Plotter.py
b44ae256fcf4ed3cc63627793a4930bcdab84531
[]
no_license
dcakagi/PnPSolver
54e4c6f79037989e309aefe7debe670fee36ef5a
d77344034497cdd47e4605cfa21df7c10dbd729b
refs/heads/master
2023-07-24T07:57:28.141307
2021-09-03T20:54:46
2021-09-03T20:54:46
393,401,691
0
0
null
null
null
null
UTF-8
Python
false
false
11,830
py
import numpy as np import matplotlib.pyplot as plt from matplotlib.offsetbox import AnnotationBbox, TextArea class ErrorPlotter: def __init__(self, plots: list, error_window_size: int, error_units_: str, time_units_: str, secondary_axes: bool=False): ''' Class to be used for plotting errors. Defaul...
[ "dcakagi@gmail.com" ]
dcakagi@gmail.com
2b527ae08f8f0e1fc6300048d9138a988209d9aa
3e3ce865b7746732fe4298435cfe5cb8b23f46e7
/venv1/bin/easy_install-2.7
5fdfe2bb8764ea291ec2e732b2cdb5cb68fd2aab
[]
no_license
siddharth12456/Plivo
ba48735ff1edb655737ed569d65db5619cd7f4b4
a6bd537b88add841325b88cd953b60b35636ddd4
refs/heads/master
2021-07-19T11:46:37.090810
2020-04-20T08:16:07
2020-04-20T15:46:01
132,721,649
0
0
null
2020-04-20T15:46:03
2018-05-09T07:52:32
Python
UTF-8
Python
false
false
278
7
#!/home/siddharth/PycharmProjects/PlivoAPI/venv1/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sroy@sentient-energy.com" ]
sroy@sentient-energy.com
4d876adb17ed372668e9f24105bb83023429a2af
ef9368cc0b4f1bfad3abae292be5c7677f11a8e4
/EazyHacks/urls.py
8cc74321382162d1e9bd6f86e1997887ef30302c
[]
no_license
prnvshrn/EazyHacks
89fc519c034fb4c8c75ea91c7a83b50ce77d2a63
212c66c80de4bf4eb3eb76dda4479abcfe67d873
refs/heads/master
2021-09-05T21:26:55.891948
2018-01-31T04:36:36
2018-01-31T04:36:36
115,707,094
3
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
"""EazyHacks URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "prnvshrn@gmail.com" ]
prnvshrn@gmail.com
7ef0e32c2bc08328f7dda3f11c84b48d28e808b8
34096e5f3d6569e3aaee794bf8ccc0b04f2c8c8f
/docusign_esign/models/envelope_transfer_rule.py
9850e0af941d967df7254ce7324591c2361dd884
[ "MIT" ]
permissive
hunk/docusign-python-client
5c96de8a08973fe1744d902b2a3873a7376a62c7
a643c42c1236715e74eef6fc279a1b29da1b5455
refs/heads/master
2021-06-14T06:41:23.298368
2020-04-01T05:51:08
2020-04-01T05:51:08
254,482,059
0
0
MIT
2020-04-09T21:28:23
2020-04-09T21:28:23
null
UTF-8
Python
false
false
9,506
py
# coding: utf-8 """ DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from p...
[ "noreply@github.com" ]
hunk.noreply@github.com
74b61650487cc870cd8e9dd2cda6ff92a8231e9d
fac2ed23a092fe8c07c30c6542f977e2244d57e3
/문24.py
bc6d66ba577e4c6c0f17f198a2fd390df6fccb99
[]
no_license
rhkdgh815/rhkdgh815
d1fcf9b192ffb8eb1ccc4a2dd3d2d7997342ed8d
5cb6380ba17fcc1bbffced4d8f0f5aab259ad155
refs/heads/master
2023-08-01T23:58:50.459446
2021-09-28T05:55:50
2021-09-28T05:55:50
403,934,722
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
n1 = int(input()) n2 = int(input()) odd_sum = 0 even_ sum = 0 for i in range(n1+n2+1): if i % 2 == 1 : odd_sum += i else: even_sum += i print("짝수:",even_sum,"홀수:",odd_sum)
[ "80893010+rhkdgh815@users.noreply.github.com" ]
80893010+rhkdgh815@users.noreply.github.com
2ed8d0c47dc05eb342a5011b55fde809be7ece77
b038128c5ecd477403f1396ae7f5be29d6ade668
/dataset/dataset.py
25e313a0f9865d75871717ce8397d6f655d704c2
[]
no_license
BAfsharmanesh/Kaggle_Indoor_Location_Navigation
82fe8768b0a81f2bbc6e4a7c4d7d4f204f686b33
e9379061c0a0cda1a02f9e373c967a4c48f487f6
refs/heads/main
2023-04-30T19:36:38.876825
2021-05-16T21:48:41
2021-05-16T21:48:41
367,980,247
0
0
null
2021-05-16T20:40:34
2021-05-16T20:36:18
Python
UTF-8
Python
false
false
5,444
py
import pandas as pd from icecream import ic from pytorch_lightning import LightningDataModule from torch.utils.data import Dataset, DataLoader from sklearn.preprocessing import StandardScaler, LabelEncoder from sklearn.model_selection import StratifiedKFold #,StratifiedGroupKFold from config import Config from utils.ut...
[ "noreply@github.com" ]
BAfsharmanesh.noreply@github.com
caff9c7cb685bc07ae6b58176aa41c8d83544348
9f0a4262c4402201df1cdd5674a679543f4a50b5
/shaderLibrary_maya2017/resources/__init__.py
05e522a865f16bd93dd2591fa2f1e5a4d20967ec
[]
no_license
subing85/subins-toolkits
611b6b3b3012ccb023096f6e21d18d2bda5a534b
d02af1289ec3ee5bce6fa3d78c134a8847113aa6
refs/heads/master
2022-07-12T17:19:57.411454
2022-07-01T20:37:16
2022-07-01T20:37:16
168,826,548
11
2
null
2022-07-02T01:03:34
2019-02-02T11:51:25
Mathematica
UTF-8
Python
false
false
1,087
py
import os from shaderLibrary_maya2017.utils import platforms CURRENT_PATH = os.path.dirname(__file__) MODULE = platforms.get_tool_kit()[0] def getInputPath(module=None): return os.path.join( CURRENT_PATH, "inputs", "{}.json".format(module) ) def getIconPath(): return os.path.join(CURRENT_PATH,...
[ "subing85@gmail.com" ]
subing85@gmail.com
1e5c3dec3126452c25e701e2cef0ece2a6572176
7556fc49cef701861ce456c962181c8a4d8522ce
/employee/models.py
e51481d0fb408a74056a647258631f3c29935d3c
[]
no_license
km-pythoner/job_market_cms
7fa708e6bc0f14ac0936e863c971e2e62c0f6ed0
2e18f8822f6938098bcff7317dd9350d4d837540
refs/heads/master
2021-09-09T19:50:54.551274
2018-03-19T10:05:52
2018-03-19T10:05:52
125,135,156
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from datetime import datetime from django.db import models from users.models import UserProfile from employer.models import JobInfo class EmployeeInfo(models.Model): pass
[ "jj19901030" ]
jj19901030
317b8373cde4e8566b57759adc99ca00c1e5885f
d59a459f3b3bccfb6204a3f803fa465ea1297811
/ipynbhpc/PBS.py
3895e450292927f8ff6d1597d02e93c764db13c6
[]
no_license
rainwoodman/ipynbhpc
90fbce679b5ae5886222b90984f5453aeceefceb
338973766328d5c83896daec18ae7e81514ae3b8
refs/heads/master
2021-01-20T00:58:26.675992
2015-05-24T18:46:54
2015-05-24T18:46:54
34,808,897
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
import subprocess import numpy import xml.etree.ElementTree as ET import re import time def submit(string): pipe = subprocess.Popen(['qsub'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) stdout = pipe.communicate(string)[0] match = re.match('([0-9]*)\..*', stdout) if pipe.re...
[ "yfeng1@berkeley.edu" ]
yfeng1@berkeley.edu
bac58cc9c2e873327fcf4652f7150e09e1f24dbc
9ee12b1d04a458ab84a042acc317c483bf10b53e
/TinyImagenet/keras_alexnet.py
e447fe8fade498b338e4828802796951bcbea1cb
[]
no_license
cvasfi/light-cnns
c938aa952444894575253e1885bcea2d1b09c68c
e181e6aac1aac3e499c5318143b3fffba54186e7
refs/heads/master
2021-01-21T10:49:22.172196
2017-10-19T19:11:52
2017-10-19T19:11:52
101,991,275
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
from __future__ import division import six from keras.models import Model from keras.layers import ( Input, Activation, Dense, Flatten ) from keras.layers.convolutional import ( Conv2D, MaxPooling2D, AveragePooling2D ) from keras.layers.merge import add from keras.layers.normalization impor...
[ "yunus.ec@gmail.com" ]
yunus.ec@gmail.com
3f8ff7bf52aee9a81f937005bb281f95f35481df
4b5d7d9131cd342d0d54130d217cb10eff7c1bff
/lab4/algorithmTests.py
904f07e9267a8788aa66254840d2d128f0696911
[]
no_license
sklaboi/ochrona-danych-laboratorium
48f8b02d2ab73d764e869c4a3a001088d34134e2
7701cc1e29afb2b7b3d8fb0a25a95b7d00d4d61d
refs/heads/master
2021-05-26T18:10:36.085276
2012-04-02T10:22:49
2012-04-02T10:22:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
#!/usr/bin/python import sys import random import math import hashlib from Crypto.Cipher import DES,AES import time des = DES.new("key12345") des = DES.new("key12345",DES.MODE_CBC) #encrypted = des.encrypt("secret12") #print encrypted aes = AES.new("1234567890123456",AES.MODE_CFB) encrypted = aes.encrypt("test") #print...
[ "gwiazdal@volt.iem.pw.edu.pl" ]
gwiazdal@volt.iem.pw.edu.pl
d9a464be1a3be2b144f34de63add4214c3cfc0dd
6cfc109684e689fd4fba01380f95ebdde567531d
/Lab2/prueba.py
58c38427b1d982a7c6a10fd06c3ffd5445836209
[]
no_license
jaoc1811/CI2692
83291c70277dbe05dc076f9bffcb5db44a9c9864
ab185a695c0a7722ccdd8317e4d4130853e9c9ae
refs/heads/master
2020-03-18T20:32:45.852537
2018-05-29T00:58:17
2018-05-29T00:58:17
131,191,841
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
from common.base.basic import read_file from common.base.basic import Random def mergesort(A): # Busca la cantidad de elementos del arreglo. r = len(A) # Si el arreglo es unitario esta ordenado por definicion. if 1 == r: return A # Crea dos nuevos sub-arreglos ordenados. # L para el sub-arreglo de la izquierd...
[ "jaoc1811@gmail.com" ]
jaoc1811@gmail.com
3eee818cb29ce487b694fea16caba653f9d645ec
629f909ebe19b22d068ec1a4719c9eb303ed2826
/python_iugu/request/plan_request.py
9d483102bd3f8d101761bc3b7ad17dd17da24c93
[ "MIT" ]
permissive
guiflemes/python_iugu
f564ce3e653b228a6e71e82f5f26b1b364eb7f76
e7efca84e76ebd5b99773f4e57a14f991fbcb520
refs/heads/master
2023-05-05T05:25:42.631921
2021-05-21T18:00:16
2021-05-21T18:00:16
327,623,059
2
1
null
null
null
null
UTF-8
Python
false
false
534
py
from __future__ import annotations from dataclasses import dataclass from typing import Optional from python_iugu import enuns @dataclass class PlanRequest: name: str = None identifier: str = None interval: int = None interval_type: enuns.IntervalType = None value_cents: int = None payable_wit...
[ "guilherme@campusinc.com.br" ]
guilherme@campusinc.com.br
39b26a09d6fbe8fddb9e0b8211cadb3d9dd28529
f418f6f3a4f1e6574103b4426150c6a26e233bfe
/criteo/src/xgboost.py
c52aa05e8e393e239ef1a069b3f22698c0755499
[]
no_license
fengqi0423/hahaha
495b8e6916cb553ce8dbeb02673b5c41489b93ab
4bdd96a81eb1165bc0eb05ab41b0f1ac3c9cde8a
refs/heads/master
2021-01-10T19:23:47.828477
2014-09-23T03:30:44
2014-09-23T03:30:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,098
py
# Author: Tianqi Chen, Bing Xu # module for xgboost import ctypes import os # optinally have scipy sparse, though not necessary import numpy import numpy.ctypeslib import scipy.sparse as scp # set this line correctly XGBOOST_PATH = '/usr/local/lib/libxgboostpy.so' # entry type of sparse matrix class REntry(ctypes.S...
[ "feng.qi@hulu.com" ]
feng.qi@hulu.com
2694809627d8fe84439bbd9857953fd90a2c72a8
8a62bbff9378187a898f336532bb49de18cb88e4
/2020-phone-bpe-attention/scripts/create-phone-bpe-lexicon.py
9cc4eba43457fe7795861e94c644ea94d3b34626
[]
no_license
rwth-i6/returnn-experiments
e2cdecb67febe646d702282ced8c290f1dd8edd0
a46021329c030af361e0becb25ea92afca9610ce
refs/heads/master
2023-06-08T08:56:11.891782
2023-05-30T12:46:45
2023-05-30T12:46:45
67,426,132
159
52
null
2023-05-30T12:46:46
2016-09-05T14:07:48
Python
UTF-8
Python
false
false
13,569
py
#!/usr/bin/env python3 import xml.etree.ElementTree as ET from xml.dom import minidom import codecs from returnn.LmDataset import Lexicon from argparse import ArgumentParser """ create Lexicon, given bpe Vocab, lexicon and applied phones_bpe """ def convert(string_num): if isinstance(string_num, str) and string_n...
[ "thomas.ng@rwth-aachen.de" ]
thomas.ng@rwth-aachen.de
864225aab249cfde9e18603e2f560f35df07377d
acce415d18f324fdcbd2df9d4bfae003c0b6560a
/user/urls.py
8650a041a0109d2dcf93a0c0ff42c65a91bffd75
[]
no_license
borsden/kanban
c9b08d34b779975b4cf3b8cc67e0e03f7816d37a
be0bfd22b8af61f78c407025b1706e57e5389ba4
refs/heads/master
2016-08-11T20:25:20.803053
2016-02-18T05:49:16
2016-02-18T05:49:16
48,171,355
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# coding=utf-8 from django.conf.urls import patterns, url import views urlpatterns = patterns('', url(r'^current_user/$', views.CurrentUser.as_view()), url(r'^update_user/$', views.UpdateUser.as_view()), url(r'^login/$', views.LoginUser.as_view(), ...
[ "borsden@gmail.com" ]
borsden@gmail.com
6bcb9db3729f35fb8aec94089af0cb9395cbe3a6
df513473a78ec2714025a43d673988e73d89dc9e
/IAM/detach_policy_group.py
5b6926588309e84ec94664993b1c106c3aa09ec9
[]
no_license
sgouda0412/AWS-With-Python
dfcef51c07696d13a46c63236cfcd130b4916256
b3abfa7d324e17d22f81c7e53afc34df6f5d484c
refs/heads/master
2023-03-17T18:18:49.692190
2020-03-04T13:35:48
2020-03-04T13:35:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import boto3 #detach policy from group using client iam = boto3.client('iam') # IAM low level client object response = iam.detach_group_policy( GroupName='group1', PolicyArn='arn:aws:iam::aws:policy/AdministratorAccess' ) print(response) #detach policy from group using resource iam = boto3.resource('iam') #re...
[ "mogal.mahesh33@gmail.com" ]
mogal.mahesh33@gmail.com
6ed312e707abaa007c3cd93e7fdc80401b65f139
f736f2392c6de4b8c6cd9d9bdff6de5c05d4a278
/blog/coments/api/serializers.py
5aa0958b3467c1a910fc2f7c2bcccf44198519e5
[]
no_license
ricardocastilloisc/cursoDjangoBlog
a36f20021f72dc1b7b819c4f863e649707b3736a
13bac0f3811e7fafc3f21ed979b53cf36aae6d91
refs/heads/main
2023-06-27T19:33:26.977679
2021-07-26T14:59:26
2021-07-26T14:59:26
389,442,992
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from rest_framework import serializers from coments.models import Comment class CommentSerializer(serializers.ModelSerializer): class Meta: model = Comment fields = ['id','content', 'created_at', 'user', 'post']
[ "ricardocastilloisc@gmail.com" ]
ricardocastilloisc@gmail.com
831c204ef9a4257ac6f36dc2e05da942d2a695c0
c59aafd22b33cad444d5702f23dd987ab8d29a69
/src/fcn/__init__.py
6c283a41bc672f44f0cc7127e5dea94d0a700541
[]
no_license
pbecker93/DLRC-Unicorns
9ddd0396f2c7d43de28903d3ddc92a430f59623e
9a7956e7e401b1330ed62d7120ce73ea0465d8c2
refs/heads/master
2021-07-13T15:23:25.011871
2017-10-17T08:49:46
2017-10-17T08:49:46
106,546,851
2
0
null
null
null
null
UTF-8
Python
false
false
41
py
from .fcn_vgg import FCN __all__=['FCN']
[ "roel.wier@gmail.com" ]
roel.wier@gmail.com
87990ee7c013adfed4d8152d526bab78f47feee2
9550ce4a80169d21b556b22679a9462f98438e32
/app/urls.py
32f3b1ab973c04cbcb9ce11ea3ea6d0850315945
[ "Apache-2.0" ]
permissive
erics1996/questionnaire_django
87cc44bd745eb810861349effc126ed3dfbd6508
1006c61eba1e9efec0801299938eb13c16a0b292
refs/heads/master
2022-12-15T04:47:39.042594
2020-09-02T17:34:33
2020-09-02T17:34:33
284,580,189
0
0
Apache-2.0
2020-09-02T17:34:34
2020-08-03T02:02:20
Python
UTF-8
Python
false
false
300
py
from django.contrib import admin from django.urls import path, re_path from .views import backend urlpatterns = [ path('', backend.IndexView.as_view()), re_path('survey/(?P<pk>\d+)/', backend.SurveyDetailView.as_view()), re_path('(?P<pk>\d+)/download/', backend.DownloadView.as_view()) ]
[ "erics1996@yeah.net" ]
erics1996@yeah.net
334f16eca95422f71e3a8b64fd17fd7ac3057b10
da6df71f4bc31fae2874285ecfe688540d724910
/pipelines/communication.py
7fed316af16a903c6e0f2902402af1aa48c2a015
[]
no_license
joseilberto/dog_bark_detection
67be5551e1735e9bc03f3dcd4db60388f7e8af05
1ff993bc703727c38ed0463e546e539763c869e7
refs/heads/master
2023-03-11T01:32:42.215274
2021-02-20T22:29:52
2021-02-20T22:29:52
236,839,762
4
2
null
null
null
null
UTF-8
Python
false
false
2,446
py
from email import encoders from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from os.path import basename import email import numpy as np import smtplib import ssl def create_body(files, message): """ Create the body of the e-mail fro...
[ "ilbertofjunior@gmail.com" ]
ilbertofjunior@gmail.com
7cd9fa50c093dbb5c2b3d3496f38b231a56fb61e
7ed70a9ee30990c5a195ddc96ebb8b3c174d4f6d
/hello/world.py
0b79d944ce10636eccb90edcaae841f2818cfaa7
[]
no_license
greenwell0912/helloworld-scripts
f69eee8462d226d3fe4286826832b4e0de8b2d9c
e75ed883ee0066ae6052b8e875aecbd6e1a079a0
refs/heads/master
2020-03-10T20:17:01.811318
2018-04-15T05:06:34
2018-04-15T05:06:34
129,567,053
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def main(): print("hello world!") if __name__ == '__main__': main()
[ "hiroki6357@gmail.com" ]
hiroki6357@gmail.com
21d9a316ce6cfdf96f3a9f5edaacf77894c81bf4
e9d52dcf101aea0327c6b0d7e5244c91dfd62cf6
/spexy/adv/samples/simple.py
e2df8a641ff75635616d8894582fa8f83e6bf7dd
[]
no_license
drufat/spexy
6eba9f44a5539245486cd4ef8fefd24bdb7ade6a
53255009c1830501986afbf6688142ddefe17b9a
refs/heads/master
2021-09-18T19:51:47.313946
2018-07-19T05:09:02
2018-07-19T05:09:02
100,453,374
2
1
null
null
null
null
UTF-8
Python
false
false
179
py
# Copyright (C) 2010-2016 Dzhelil S. Rufat. All Rights Reserved. from sympy import sin, cos def V(x, y): return (-sin(y), sin(x)) def p(x, y): return -cos(x) * cos(y)
[ "drufat@caltech.edu" ]
drufat@caltech.edu
be8bec20e05cbf5aa26e1cb824b5be2ffe259628
541cfbacae0805d6ef61041a23b9854c15be0d55
/join_cases.py
6c9a2063c9bf65acaa6e1515742da7e32673e713
[]
no_license
qdouasbin/postproc_explo_airbus
1b37444fe577d8527e71b35a580a2638c4c5b8fe
64f102973bb3f13660c7e0ab557fa0ffe793c07a
refs/heads/main
2023-06-05T11:15:11.673524
2021-07-01T10:29:29
2021-07-01T10:29:29
375,285,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
import os import glob import numpy as np import pandas as pd def join_subdirectory_csv_files(prefix, extension): """ 1. Seek for csv files according to prefix.extension rule 2. concatenate all files 3. drop duplicates 4. re-index 5. dump clean concatenated file """ # Find all csv file...
[ "qdouasbin@cerfacs.fr" ]
qdouasbin@cerfacs.fr
2aa3c4884a4fb9cc6a1dfb40a23627bc7126d8ab
4e248704293e8b229d51cce077263364a98bb45f
/Lexical_analyzer/train.py
46c35de8df5855ddcc221f0d83b0e0491e7537a1
[]
no_license
VincentLee-EN/FibreTextAnalyzer
0ba5c70c899f2f85aae6180ba75bb1031c6fd15d
2de3f9d4f18498d24be829e0f9d3a6f2c373a82c
refs/heads/master
2020-05-16T02:45:42.072795
2019-05-02T14:02:52
2019-05-02T14:02:52
181,429,225
0
0
null
null
null
null
UTF-8
Python
false
false
6,112
py
#encoding=utf8 import time import numpy as np import tensorflow as tf from tensorflow.contrib import crf import Lexical_analyzer.cws.model as modelDef from Lexical_analyzer.cws.data import Data tf.app.flags.DEFINE_string('dict_path', 'data/your_dict.pkl', 'dict path') tf.app.flags.DEFINE_string('train_data', 'data/yo...
[ "2392539432@qq.com" ]
2392539432@qq.com
a78acddf6eebc59cad1ebc0e8fdaf53ee0ce2702
44a7101ae18c84ffa0e3c674763ba7b500937773
/root/Desktop/Scripts/pyinstaller-1.5.1/bh_sshRcmd/bh_sshRcmd.spec
66707266787869a8fdd977ad9985b57711fe3880
[]
no_license
Draft2007/Scripts
cbaa66ce0038f3370c42d93da9308cbd69fb701a
0dcc720a1edc882cfce7498ca9504cd9b12b8a44
refs/heads/master
2016-09-05T20:05:46.601503
2015-06-23T00:05:02
2015-06-23T00:05:02
37,945,893
7
2
null
null
null
null
UTF-8
Python
false
false
561
spec
# -*- mode: python -*- a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), '/usr/local/tools/bh_sshRcmd.py'], pathex=['/usr/local/tools/pyinstaller-1.5.1']) pyz = PYZ(a.pure) exe = EXE( pyz, a.scripts, a.binaries, a.zip...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8f634225763e18482cad60471aa5f39cadda7853
a00eab2cfe9566641c4c5ec99909490543e734d5
/BackPropagation/solutions/compare_loss_acc.py
abf09d21879aa494b1838e53417b23696449f17b
[]
no_license
indianvalantine/High-Dimensional-Deep-Learning
55823c1d80ffee2e50bc20fcdf24f24cc6de8c14
47ee6263f40496e7ab5f6a030508ecd531732cb5
refs/heads/master
2022-12-27T21:00:28.090851
2020-09-28T14:04:44
2020-09-28T14:04:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
history = keras_model.history.history fig = plt.figure(figsize=(20,5)) ax = fig.add_subplot(1,2,1) ax.plot(history["loss"], label="keras", color="red") ax.plot(history["val_loss"], label="keras_test", linestyle="dashed" ,color="red") ax.plot(losses, label="numpy", color="blue") ax.plot(losses_test, label="numpy_test", ...
[ "brendan.guillouet@gmail.com" ]
brendan.guillouet@gmail.com
b93f375f3cedfc8c8ea2bc3dcac1516cf225aaa1
f7bbc8246a49480f58b5295a14fd0955c32c093c
/Desktop/python trader/backtest data/strategy8.py
361e722ad7fd1f00cc1ece891ce450ffab5d9c49
[]
no_license
jobeSoffa/pythonTrader
cf66ea38cc95b1695e0ac66e13a713a81db78e2a
6ef7b97d6dcb3726f65538bdbe6641bdb92bb6d3
refs/heads/master
2020-04-09T04:53:56.805565
2018-12-04T09:43:27
2018-12-04T09:43:27
160,042,254
0
1
null
null
null
null
UTF-8
Python
false
false
3,890
py
import trade import candleCompressor import candle class strategy8(object): highestBalance = 1000 highestDrawdown = 0 shouldPrint = True inBuy = False totalTrades = 0 winCounter = 0 lossCount = 0 com = 0 #.0001 pip = .0001 otherPip = 1/pip maxTrades = 30 tempArr = [] ...
[ "otisjobe123@gmail.com" ]
otisjobe123@gmail.com
77576f4bd93940f460a967a46375dcb841c71094
4a418036130cb63caa503719b4162cce9753459b
/nemo/collections/nlp/modules/common/transformer/transformer_modules.py
63998217f09b5eaa659f8bbb583c263a6befd154
[ "Apache-2.0" ]
permissive
kssteven418/Q-ASR
89a7dac24d74556453e7b54b26289fd1466070c4
aa1ec2ef78fd7606f8f365dfe3e66691a0e48178
refs/heads/qasr
2023-08-05T15:43:42.493513
2021-10-11T20:06:53
2021-10-11T20:06:53
353,027,973
33
1
Apache-2.0
2021-03-30T17:33:26
2021-03-30T14:20:56
Jupyter Notebook
UTF-8
Python
false
false
8,624
py
# Copyright 2018 The Google AI Language Team Authors and # The HuggingFace Inc. team. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Lice...
[ "noreply@github.com" ]
kssteven418.noreply@github.com
e7057bc48d0c58e842a5c16fe3711fae0386968b
5c534f0a3912ef002834398c765ed1e3f98c9173
/Quotes/test.py
1b8164565ecfabfdb0762a61f09b818a5961c220
[]
no_license
ormanya/Supyiel
894c2acc7f05683f1cd9101a413f3c93fd69d149
77e291c5b73da2e292f6b38ff40aa2b3d70915cb
refs/heads/master
2023-03-13T13:58:20.944904
2023-03-02T16:53:02
2023-03-02T16:53:02
80,935,297
8
0
null
2022-11-10T18:06:34
2017-02-04T17:24:40
Python
UTF-8
Python
false
false
1,871
py
### # Copyright (c) 2008,2012 Kevin Funk # Copyright (c) 2014-2015 James Lu # Copyright (c) 2016-2017 Ormanya # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code...
[ "liriel@sekrit.me" ]
liriel@sekrit.me
09ee4a21ddc1b92f8f3846d847e7be6be388b97a
a8fd86dce16f7fec7a5f00ecf97270fb7a8243b9
/phylo3.py
02e5ff23a7be96c9c780ec7e9b98ff7b8ab5952b
[]
no_license
tomopfuku/mammalian_morphological_clocks
8a8f68b498297f95b9222843de416912c50e2e3a
80b3179cb8101ac654e516f71282d7bbba288934
refs/heads/master
2022-10-18T02:39:54.477321
2017-11-28T17:07:34
2017-11-28T17:07:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,086
py
PREORDER = 0; POSTORDER = 1 BRANCHLENGTH = 0; INTERNODES = 1 #trying to deprecate this. class Node: def __init__(self): self.data = {} self.isroot = False self.istip = False self.label = None self.length = 0 self.old_length = 0 self.parent = None self...
[ "cfukuchi@umich.edu" ]
cfukuchi@umich.edu
c23b86d447f850e4bd75066d30e311f702ae67d0
9b92b21f39870e1b8a0de6bc94ff08a66690b1ea
/sources/webapp/SyncronisationDAO.py
bf64956c5930f3244b62286e3d037dc75d5ef9a1
[]
no_license
sebastiansIT/HTML5Podcatcher
ac5bb3cf128d4785f478b43e23ea57c62cfadce0
f1d9f446df0333eec3ef59219b28d683b7f17c5f
refs/heads/master
2023-06-25T19:01:39.039093
2021-05-08T05:51:47
2021-05-08T05:51:47
10,554,866
8
1
null
2023-03-04T03:04:49
2013-06-07T17:10:11
JavaScript
UTF-8
Python
false
false
1,925
py
import sqlite3 import datetime import SyncronisationModel import cgi, cgitb cgitb.enable() class Sqlite3DAO: def __init__(self, fileName): self.dbFileName = fileName def DataBaseInitialisation(): connection = sqlite3.connect(self.dbFileName) cursor = connection.cursor() sql = "CREATE TABLE SyncPoints(I...
[ "sebastian@human-injection.de" ]
sebastian@human-injection.de
6e890dcf23489e8e89080c6b65f3762b23bdff4d
72a22cde6b6ca91255f25a931909502115e4e47c
/Alfred/SwitchLayoutWorkflow/set.py
4ae6ae60a0486bf6d86b48325f6a942a3ddc711a
[]
no_license
DATADEER/dvorak-mac-setup
52de6f0062e75981cf6a0c6bc91de92f6095b24a
2f5d0eb450be9c02fd74285cd526715abe358941
refs/heads/master
2020-05-17T08:00:25.408894
2020-03-15T11:42:10
2020-03-15T11:42:10
183,594,669
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
import sys import json from os.path import expanduser from collections import OrderedDict import subprocess CHOSEN_PROFILE = sys.argv[1] CONFIG_PATH = '.config/karabiner/karabiner.json' home = expanduser("~") config = {} with open('{}/{}'.format(home, CONFIG_PATH)) as conf_file: config = json.load(conf_file, ob...
[ "konto@datadeer.de" ]
konto@datadeer.de
6925f9d279dd7fc2386a10b7f0527b1c88816f95
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli/azure/cli/command_modules/servicebus/aaz/latest/servicebus/topic/_list.py
751ddf434b8c609435a955fc4eaa4a17a49bdf38
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
10,902
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
30c2edac25e1e11650ef113d805ea63ffa3f6a75
d2ec03d034bddc968ab850bf5a4593087f9eafe7
/train_se3posenets.py
b2acac894a4ed0efd11d1ad2f16d4b81063f4585
[]
no_license
abyravan/se3posenets-pytorch
b5c61550939a84e6df3f73c3372062a266f4f711
d15a2db3f2e708fafd6912f877e53aec6eed5ee1
refs/heads/master
2020-05-15T13:44:13.853586
2019-09-06T02:49:04
2019-09-06T02:49:04
182,308,095
16
7
null
null
null
null
UTF-8
Python
false
false
48,573
py
# Global imports import os import sys import shutil import time import numpy as np import matplotlib.pyplot as plt import random # Torch imports import torch import torch.nn as nn import torch.nn.functional as F import torch.optim import torch.utils.data from torch.autograd import Variable import torchvision torch.mul...
[ "barun@MacBook-Air-2.local" ]
barun@MacBook-Air-2.local
f5d215c564dfad6c96246bd529b6f6afd273eafa
beac917ee396ffb33c4f13d2ceff188c3bf5148e
/app/evaluation.py
bdc7f21c84bae0c079063d2953eca979513fa410
[]
no_license
Boj3alex/rpn-calculator
75532b25b312feed163e7f0bf1e45887c35ad417
705c21e250a1105ae02ab4e620546e77fd1d805f
refs/heads/master
2023-01-09T06:50:19.879472
2020-08-31T17:46:26
2020-08-31T17:46:26
290,067,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import re floating_point_regex = '[0-9]*\.[0-9]*' def do_operation(element1, element2, operator): if operator == '+': return element1 + element2 if operator == '-': return element1 - element2 if operator == '*': return element1 * element2 if operator == '/': return int(...
[ "noreply@github.com" ]
Boj3alex.noreply@github.com
03a7b76aa472ee4f249b294ee548e8d4b9c4d794
a923a44d3c4815f645ca2ba84f973083c5dc29a1
/audio.py
7022ffd8026fa3ee5f185d610030341c99efd1f5
[]
no_license
unparalleled-ysj/T2-TF2
49ca50fe1e844b64c75d91a22d294b83c7c449a9
5c0c22a569c68d6f63648c5f545fd78ffb261033
refs/heads/master
2022-11-13T17:20:33.963871
2020-07-06T04:15:52
2020-07-06T04:15:52
277,436,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,498
py
import librosa import librosa.filters import numpy as np from scipy import signal from scipy.io import wavfile num_mels = 80 n_fft = 1024 sample_rate = 16000 hop_size = 200 win_size = 800 preemphasis_value = 0.97 min_level_db = -120 ref_level_db = 20 power = 1.2 griffin_lim_iters = 60 fmax = 7600 fmin = 50 max_abs_va...
[ "unparalleled.ysj@qq.com" ]
unparalleled.ysj@qq.com
dc0f1debf616d07e130ae2adb13b8209fd2e2f74
99afa83eda09cf552466ddf90314cb01d07b166a
/testapp/models.py
c1fa45c2c96048893e614bf9142070231858f126
[]
no_license
jithinvijayan007/Lithoera
358c9a6191d6510ac07229e7a92eadd89d70e14f
33e3639e882f79b12541f92070dad74483fdfa72
refs/heads/master
2023-01-05T18:29:37.388869
2020-11-02T11:58:27
2020-11-02T11:58:27
309,316,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager # Create your models here. class MyAccountManager(BaseUserManager): def create_user(self, email, username, password=None): if not email: raise ValueError('Users must have an email address') if not username: ...
[ "jithinvijayan007@gmail.com" ]
jithinvijayan007@gmail.com
fd3fd13935a93c20f91027c39f5327878e821fa3
c72fb291300941c756c4fe4e7bbd443880214367
/files/models.py
a6c1f3b0d75882226cbe0bbd77c225b9a7167397
[]
no_license
garywangcn/django-3dshow
1e4893331b70630cb989b62fb95d58703cc9bc9d
4dad878ebbf13de89facd73c0d6d57860a01a0df
refs/heads/master
2021-05-11T10:23:59.516091
2018-01-24T09:33:42
2018-01-24T09:33:42
118,099,361
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.db import models # Create your models here. class Document(models.Model): name = models.CharField(max_length=255, blank=False) description = models.CharField(max_length=1000, null=True, blank=False) picture = models.FileField(upload_to='documents/') modelpackage = models.FileF...
[ "15818651704@163.com" ]
15818651704@163.com
21064aaea82657175bb68471f1411164393e0210
657c80336bce1cc6158cd349ce208c5e680a4d0d
/contrib/projection/tests/projection/base_projection.py
de53d6895412de112d31a959926d9cdb47b6ef9c
[ "BSD-3-Clause" ]
permissive
Xinmudotmoe/pyglet
b37628618647bf3b1e3d7db28202a5e14c60450c
144257c365ca85528c6a4c5bed8141e683d7a9b6
refs/heads/master
2021-05-29T22:05:40.676643
2015-10-24T05:55:49
2015-10-24T05:55:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/python # $Id:$ from pyglet.gl import * def fillrect(x, y, width, height): glBegin(GL_QUADS) glVertex2f(x, y) glVertex2f(x + width, y) glVertex2f(x + width, y + height) glVertex2f(x, y + height) glEnd() def rect(x, y, width, height): glBegin(GL_LINE_LOOP) glVertex2f(x, y) ...
[ "leif.theden@gmail.com" ]
leif.theden@gmail.com