blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
3fbc358145ffcbbfef77b090dea5d46431030f02
78c676b1f3daddb2ec433f6d4833f5b909addfd8
/austrian tax rate/austrian_tax_rate.py
f8cba50a4a185629b873e38664c32cac6663488b
[]
no_license
astronomyk/random_ideas
32d78e4adbe6eb16853c5f5cb3663213f0b5fa83
0f33b024c1d7de7a2617d13c9b7e9fd70aeee5a0
refs/heads/master
2020-06-15T04:29:37.425447
2019-07-04T08:49:58
2019-07-04T08:49:58
195,203,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
import numpy as np from matplotlib import pyplot as plt from matplotlib.ticker import ScalarFormatter def austrian_tax_rate(): # in 1000s of € mon_netto = np.array([1.0, 1.2, 1.4, 1.7, 2.0, 2.4, 2.7, 3., 4., 5., 8., 12.]) mon_brutt = np.array([1.18, 1.47, 1.8, 2.4, 3.0, 3.8, 4.4, 5....
[ "kdleschinski@gmail.com" ]
kdleschinski@gmail.com
8902683bf3cc7c9f8b4f4ac72258d1f85bddac37
26f42ef7204c1e30e4de14c37d5b9c348602205e
/countfreq.py
517c3cd01a6e83e1fedc908342173dc14f5d5470
[]
no_license
dc3671/TangPoetryGenerate
557cd7b1115bdd405e331a59dae8388aa340abae
edfbd1864a8b510ead990c2745e1ee885204da49
refs/heads/master
2021-01-12T05:37:38.454453
2016-12-22T14:36:24
2016-12-22T14:36:24
77,150,508
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
#!/bin/usr/env python # -*- coding: utf-8 -*- import sys import re reload(sys) sys.setdefaultencoding('utf-8') def count(obser, status, so, press, snum): if len(obser) != len(status): return for i in range(1, len(obser)): o = obser[i] s = status[i] pres = status[i - 1] if s n...
[ "chenzhh3671@gmail.com" ]
chenzhh3671@gmail.com
dd184f73ef42292dbd02ac5f977f312ca788eb44
af7d54a425379264f11837530d4e7ce9dc3f7a2c
/oob_error.py
a5461a6e5fc85ff49f7377cd3be2a792ba2c7fa3
[]
no_license
pduy/dm-assignment-3
0bc1abad3d279ef306512fccda70ea00d52716ab
eb1ebf137d5d8453daf29b53943b94024aad47e7
refs/heads/master
2021-01-10T05:25:18.789553
2016-04-16T20:43:07
2016-04-16T20:43:07
55,680,117
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
# OOB error for random forest import matplotlib.pyplot as plt import numpy as np import generate from sklearn import cross_validation from collections import OrderedDict from sklearn.datasets import make_classification from sklearn.ensemble import RandomForestClassifier, ExtraTreesClassifier RANDOM_STATE = 123 n_esti...
[ "lianzitong@yahoo.com" ]
lianzitong@yahoo.com
d293986f0d35054b57ae49bfc448a85136b0717b
9ab07a79bb97e4f2c24b31b716d14acbfb3249e2
/USING DB SQLite/emaildb.py
55a64e3611ffefaef30d1a2fe27a450bda775a56
[ "MIT" ]
permissive
AlvisonHunterArnuero/EinstiegPythonProgrammierung-
1017864be33ae095a0416d597149be10507f4478
ce106060fd244b83bf23beb98845d0510d8ccd0b
refs/heads/master
2022-12-10T20:07:16.154053
2022-12-03T20:42:47
2022-12-03T20:42:47
254,501,792
8
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
import sqlite3 conn = sqlite3.connect('emaildb.sqlite') cur = conn.cursor() cur.execute(''' DROP TABLE IF EXISTS Counts''') cur.execute(''' CREATE TABLE Counts (org TEXT, count INTEGER)''') fname = input('Enter file name: ') if ( len(fname) < 1 ) : fname = 'mbox-short.txt' fh = open(fname) for line in fh: if no...
[ "alvison@gmail.com" ]
alvison@gmail.com
5b89597467106b28a80cea60757167381bfd8edc
2aee45d23b47c6adba9eafc5a84d606a021f9300
/web_dashboard/models/models.py
fec9ca50de1abcd2af54f1f4e7a897ee9cb90ce6
[]
no_license
charles-123456/Primoris-System
23b183460ea79bfa8d896556aa35d62460154567
0880b8266eedfd0016a3b365c9939c34ad301155
refs/heads/main
2023-08-21T06:24:42.840026
2021-10-25T06:10:48
2021-10-25T06:10:48
385,922,247
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
# -*- coding: utf-8 -*- from odoo import models, api from lxml.builder import E class BaseModel(models.AbstractModel): _inherit = 'base' @api.model def _get_default_dashboard_view(self): """ Generates a default dashboard view containing default sub graph and pivot views. :returns...
[ "charlesit333@gmail.com" ]
charlesit333@gmail.com
38408044753df3abbfd19b04baebe47b44771d83
618b4530b7cf790d16971a52013949b6a9219746
/interview_questions/24_game.py
fa6b8743d8ee5a9e0f898212332523b4d67cbb1e
[]
no_license
juanda2222/playground
aa01854ef038cc41c83ee6d1ffa86273ad1234e0
62e13179063a1e68dce6b3193f541a81008f23de
refs/heads/master
2023-01-07T20:07:05.763286
2020-08-19T03:13:19
2020-08-19T03:13:19
234,250,357
0
0
null
2022-12-13T12:35:59
2020-01-16T06:24:20
Python
UTF-8
Python
false
false
3,364
py
# Property always holds: root.val = min(root.left.val, root.right.val) from itertools import product, permutations class Solution: def judgePoint24(self, nums: list) -> bool: operations = ["*", "/", "+", "-"] parenthesis_combinations = ( (' ', ' ', ' ', ' ', ' ', ' '), (' ', ' ',...
[ "juan.ramirez.villegas@correounivalle.edu.co" ]
juan.ramirez.villegas@correounivalle.edu.co
847a6db393065b4413fc689ae3d6de1956da7c97
ab3eddf86e0e572b3fef550c315fbfb5c2cb5c67
/spider/news/bak/peopleStatic.py
cd8d7a69536fdce2dfea8a527fbe247adb927c46
[]
no_license
wing02/weXun
d96696011743cb27ed6b90a2b5960a61a4f7bc17
7981072d453c94f2a1860ef1d86fc0b5dfdca2d2
refs/heads/master
2020-04-06T06:56:06.539237
2016-08-30T09:01:09
2016-08-30T09:01:09
63,228,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
import scrapy from scrapy import signals from pydispatch import dispatcher import time import os import re import cPickle import os.path as osp from news.items import NewsItem import hashlib from news.spiders.myExt import TextExtract from news.spiders.staticSpider import StaticSpider class PeopleStaticSpider(StaticSpi...
[ "531857684@qq.com" ]
531857684@qq.com
c9ae147a61ba47a73fdf8a33f736f0333de0c516
39eeb8ee756d5cebdfeed5dee7b57eb770fa075d
/src/amfe/io/mesh/constants.py
bc59d4e1b652ffc264f34652613edf1d4c394fc9
[ "BSD-3-Clause" ]
permissive
c-meyer/AMfe
9ca37535316b502fdc6731904d99287ae4cff824
61658db4f00858da4b4c6ba295ce66fd3ca9d324
refs/heads/master
2023-06-13T03:44:45.482814
2023-06-07T12:08:23
2023-06-07T12:08:23
187,845,356
0
0
NOASSERTION
2023-06-07T12:08:07
2019-05-21T13:41:32
Python
UTF-8
Python
false
false
286
py
VOLUME_ELEMENTS_2D = {'Tri6', 'Tri3', 'Quad4', 'Quad8', } VOLUME_ELEMENTS_3D = {'Tet4', 'Tet10', 'Hexa8', 'Hexa20', 'Prism6'} BOUNDARY_ELEMENTS_2D = {'straight_line', 'quadratic_line'} BOUNDARY_ELEMENTS_3D = {'straight_line', 'quadratic_line', 'Tri6', 'Tri3', 'Tri10', 'Quad4', 'Quad8'}
[ "christian.meyer@tum.de" ]
christian.meyer@tum.de
3c495192798aa7afc37d5e8f172d18fe0044f2a1
87f7de620267548c5504b4d022378e56b7d25bc4
/converter.py
f80828f214738e37ce237090d407373997f547a0
[]
no_license
jakeolenick/Orchestra
4c2c8e95b9d88c6d0336ba60ea41178f4864e79b
d40e863562a21378ecf8106dbc2e61848ec5ae44
refs/heads/master
2020-05-26T18:30:29.452004
2019-05-24T02:11:56
2019-05-24T02:11:56
188,335,901
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
def convert(n): notes = [" ", 'C', 'd', 'D', 'e', 'E', 'F', 'g', 'G', 'a', 'A', 'b', 'B', 'C1', 'd1', 'D1'] #print len (notes) keys = ["-", 'a', 'w' , 's' , 'e', 'd', 'f', 't' , 'g' , 'y', 'h', 'u', 'j', 'k', 'o', 'l'] #print len (keys) return keys [notes.index (n)] def score (s): r...
[ "noreply@github.com" ]
noreply@github.com
f9afa71a024e5a172a4f860a28df273e4af365b0
db49edf79b5a20341734f28bf5218792b1cf5858
/trajnetplusplusbaselines/trajnetbaselines/lstm/loss.py
b43a793d4533586bffad5b65c580a1bb926ad9aa
[]
no_license
Arturjssln/trajnetplusplus
6b3e5afa395e489afeebf1a8eaa6fcc7bf6a2d4b
dcdbb24a897a165528e4bac4b5f0642e25f335a2
refs/heads/master
2023-02-25T15:50:35.221104
2021-01-31T14:40:10
2021-01-31T14:40:10
293,736,684
1
0
null
2020-10-18T14:53:02
2020-09-08T07:38:54
Python
UTF-8
Python
false
false
5,091
py
import math import random import torch class PredictionLoss(torch.nn.Module): """2D Gaussian with a flat background. p(x) = 0.2 * N(x|mu, 3.0) + 0.8 * N(x|mu, sigma) """ def __init__(self, keep_batch_dim=False, background_rate=0.2): super(PredictionLoss, self).__init__() self.keep_b...
[ "36760014+Arturjssln@users.noreply.github.com" ]
36760014+Arturjssln@users.noreply.github.com
1b4899ddb490787b92f042f6d5e21fcde84aa21a
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/1935d5ba538766606877fea3170e8be386a9677d1874a1cd4f21bb4b15b507a4/_cython_0_29_16.py
134551b94817f810b1dd85bf60fdae6b79d3c44b
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
4,282
py
# encoding: utf-8 # module _cython_0_29_16 # from C:\Users\Doly\Anaconda3\lib\site-packages\scipy\integrate\_test_multivariate.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(obje...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
29575ccb22e1acdccd3a4a2a69ae05b0f6d10aab
3144d8abd9d9bc149dc5bdc642e7c103142ff8ae
/checkout/models.py
9ad047b34c9b9c88d712e89044915a26f7d2f5ad
[]
no_license
hebs87/e-commerce
2d99c6020db22c00dfb6580381485e6d05f03752
625839af74a8d1df6a5a28ba8c6374b1791cc31e
refs/heads/master
2020-07-12T09:37:12.079405
2019-10-28T22:16:19
2019-10-28T22:16:19
204,781,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
from django.db import models from products.models import Product # Create your models here. class Order(models.Model): ''' Gives a summary of the user's order ''' # blank=False means it can't be left blank full_name = models.CharField(max_length=50, blank=False) phone_number = models.CharField(...
[ "ubuntu@ip-172-31-94-120.ec2.internal" ]
ubuntu@ip-172-31-94-120.ec2.internal
b686b3b8ebf90c4193a4b8d30d1a9c37b9392ce4
a6e773c3f06defd0e843ee87cfe86b474634aa35
/week1/hello_world.py
d96eb1b8a8ae6c0e85021564adb9add38af3d8c6
[]
no_license
liyujiel/M101P
d959bd468fc562a21f7070b1fa6bee669b5bc80c
1af7ae0021c8ef0987caf762de990aa49c010f27
refs/heads/master
2021-01-23T10:47:43.733345
2017-06-19T20:10:06
2017-06-19T20:10:06
93,093,220
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import bottle @bottle.route('/') def home_page(): return "Hello World\n" @bottle.route('/testpage') def test_page(): return "Test Page" bottle.debug(True) bottle.run(host='127.0.0.1',port=8080)
[ "li1995717@gmail.com" ]
li1995717@gmail.com
523d863369652fae4e71eb3c3f18e20eae041782
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/wagtail_hooks_20201030120504.py
b3b8766746430b42c76ff1e9a244cfa6de30ca5e
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
""" Kategoria zostanie dodana w pasku bocznym u admina""" import ModelAdmin, decorator class MenuAdmin(ModelAdmin)
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
e5298e2cb42519ec6fdfc02dc68398406969417c
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/js/function.py
c14b8c8c19d81579e42f69e8c29f1ca539832eaa
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,649
py
try: set except NameError: from sets import Set as set from pypy.objspace.flow import model as flowmodel from pypy.rpython.lltypesystem.lltype import Signed, Unsigned, Void, Bool, Float from pypy.rpython.lltypesystem.lltype import SignedLongLong, UnsignedLongLong from pypy.rpython.ootypesystem import ootype fr...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
bb6fb54135f828268b32553a317043acc288650b
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/utils/image_annotator.py
6d3168d8b386e8ae48a956d41739e56d99f89255
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
import cv2 import numpy as np from data.videos import path as videos_path def from_image(image): try: grid_interval = 25 grid_color = (200, 100, 200) points = [] current = [0, 0] width = image.shape[1] height = image.shape[0] img = image.copy() c_x ...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
d824469d87928da30bcc2a3d470dd249f66ca8e7
6c44f2828db602c361f512ea54891e1b4d0efc43
/cgi.ru/cgi-bin/general.py
a6d0576a34dc8adac6003ba48f06067aa7b4ddd9
[]
no_license
snaiffer/test
5ea75dbf254a2e61073df77ece18cf8aa53250b9
75e066cf7a0311686f464c41c6d798587b0dc3a3
refs/heads/master
2021-05-02T08:13:51.133084
2021-03-23T08:28:48
2021-03-23T08:28:48
24,724,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
#!/usr/bin/env python3.2 " Global settings and constants " import re rootBglobal_id = 1 # for ordering branches orderb_step = 1000000 # initial step in order field between branches. It's tidy connection with orderb_MAX. And influence on performance orderb_MIN = 1 orderb_MAX = 2147000000 - orderb_step # dbtype = "...
[ "snaiffer@gmail.com" ]
snaiffer@gmail.com
fd48de6ef94c04e1dc45c14888a710d6d932a6a8
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DATASMART-MIB.py
9e7acdf50065bc5ffabe955bbdafb82db30439ad
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
105,595
py
# # PySNMP MIB module DATASMART-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DATASMART-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:21:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
acd302247f1d22de27a073e16b3e068811335a2a
7f5a4bf7fb5a339c99a8572f3ccba807f687ea37
/mainapp/migrations/0001_initial.py
b98f87e153a20ac509d2d9b6903aba98cb2856ea
[]
no_license
EgorDubkov/django
6c84a87de3f3e500e010d116478595b7dc0a5f21
581ea14a75594019faf64fb1d32bd3654283c947
refs/heads/main
2023-06-22T11:14:48.966391
2021-08-02T14:05:28
2021-08-02T14:05:28
391,969,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
# Generated by Django 3.2.5 on 2021-07-29 09:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ProductCategory', ...
[ "noreply@github.com" ]
noreply@github.com
166c9c3f9f372c3b705c39c37284d4bceebb2b21
352cefc110d4fc69f1637da109c48b7e2edb5a53
/tiles/admin.py
78b8d5e081ac96516247945a7671703f039f9c63
[]
no_license
ulsu/abiturient2
2a3ac18c0b9ca150f5b73d73d7f0544913195caf
f71082f2693ca21a94df6f2d608e4219ad18111e
refs/heads/master
2021-01-19T20:16:11.828569
2014-05-12T02:34:37
2014-05-12T02:34:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from django.contrib import admin from models import * class TileSetAdmin(admin.ModelAdmin): list_display = ('slug',) class LinkTileAdmin(admin.ModelAdmin): list_display = ('href',) class FileTileAdmin(admin.ModelAdmin): list_display = ('document',) class ContentTileAdmin(admin.ModelAdmin): list_...
[ "dave73@mail.ru" ]
dave73@mail.ru
7759480a6b4389cb6e24e2ad5da044b038b0bbea
3c810de9b983d77826721541c8d7b7889b79755c
/twitterScanner.py
e5d32aee85898aa940713ee84cb9c7f3f0db2fd0
[]
no_license
bljaime/Twitter_SparkStreaming
c5dd5f74c4be580735d7fabb63f5cb33e0fd23d9
1a869bff636cca25ba6bcef05d12a06c3aacf747
refs/heads/master
2020-05-02T02:00:07.291898
2019-03-26T03:28:37
2019-03-26T03:28:37
177,695,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
import tweepy from tweepy import OAuthHandler, Stream from tweepy.streaming import StreamListener import socket import json # Fill out your consumer & consumer secret API keys, # access & access secret token keys. consumer_key = ' ' consumer_secret = ' ' access_token = ' ' access_secret = ' ' # It's going to listen ...
[ "noreply@github.com" ]
noreply@github.com
72473fc5a603d519d1cb855ace1e770bfa4612f5
735d55df1f8003646287dac1f74e350e189e52fc
/visualize.py
2acc13d588d3157e428a13fa785658cca440ce24
[]
no_license
dwkr/ComputerVisionProject
e317aca7987904653931ee7c0ec011407eec9bed
a9aff20434361baefb3df1ac8899218af1cb7db4
refs/heads/master
2020-03-30T17:02:50.123602
2019-04-07T23:59:06
2019-04-07T23:59:06
151,439,340
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import numpy as np import cv2 DATA_PATH = "D:\\data\\" data = np.load(DATA_PATH+"train_data_53.npy") for d in data: cv2.imshow('window', d[0]) print(d[1]) print(d[2]) print(d[3]) if(cv2.waitKey(25) & 0xFF == ord('q')): cv2.destroyAllWindows() break
[ "19.diwakar.92@gmail.com" ]
19.diwakar.92@gmail.com
8e25a1796167d78df9540e1af627c58840c35ae1
be53d9967a7e9d52365e93521c015dae95a4c8a2
/app/forms.py
5a4144ccc57d8f395286400f44aa63ab85674f49
[]
no_license
marklandp/info3180-project4
2de90d8693e5b83207767d6f4092ffdfcc99874e
638fc7924e50f556738ac896ed8e179c901860ad
refs/heads/master
2020-12-31T01:11:08.581892
2016-04-30T18:19:43
2016-04-30T18:19:43
56,341,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,241
py
from flask.ext.wtf import Form from wtforms.fields import TextField, IntegerField, SelectField, FileField, PasswordField, SubmitField, TextAreaField from wtforms.fields.html5 import EmailField from wtforms.validators import Required, Length, EqualTo, ValidationError, Email, NumberRange from app.models import User_info ...
[ "marklandpayne@gmail.com" ]
marklandpayne@gmail.com
f6dfeaf665aeacee6e8e8506307ea7e21cea454e
747f759311d404af31c0f80029e88098193f6269
/addons/purchase_confirm/__init__.py
dff9e4121dca62a7713e16faec859bfcefc3e483
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
66
py
/home/openerp/production/extra-addons/purchase_confirm/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
ab2e4af17f8e39c556b8394fc307067c0fcf635b
da0d673da16f92ffed008b4c8b8c82c336d78122
/server/app.py
90039f57aee1197bfae1a0fe21bfe9586aac1f61
[]
no_license
aparkalov/sc-web
5dcac607c42376df205c6a025dbfe076f018970b
43c0d79f0fefa435bb9f53b230e9b9048e000613
refs/heads/master
2021-01-17T18:21:58.247615
2015-10-25T20:45:11
2015-10-25T20:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
import tornado.ioloop import tornado.web import tornado.options import secret import os from handlers.main import MainHandler import handlers.api as api import handlers.auth as auth import admin.main as admin import admin.users as admin_users import ws, db is_closing = False def signal_handler(signum, frame): gl...
[ "denis.koronchik@gmail.com" ]
denis.koronchik@gmail.com
680addf26dba5b848a8d83cd34e73d8f679a6b41
b67ba573498318c906968bd2c946543dbd4658fe
/gravityspytools/retrain_model/views.py
479c7bb11b8c958af3bc4fd322cdb30c88d2d2d7
[ "BSD-3-Clause" ]
permissive
Gravity-Spy/gravityspytools
1f86f91a00063afdfe507f1d1bf38be5c8e1b421
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
refs/heads/master
2021-05-09T08:55:12.904449
2020-07-14T18:38:25
2020-07-14T18:38:25
119,413,494
4
4
BSD-3-Clause
2020-07-14T18:38:27
2018-01-29T17:05:08
Python
UTF-8
Python
false
false
2,405
py
# -*- coding: utf-8 -*- #from __future__ import unicode_literals from django.shortcuts import render, redirect from login.utils import make_authorization_url from collection_to_subjectset.utils import retrieve_subjects_from_collection from .forms import NewClassForm from .models import NewClass from gwpy.table impo...
[ "scottcoughlin2014@u.northwestern.edu" ]
scottcoughlin2014@u.northwestern.edu
de6a0052a01c3672f8b0b6d1da124f80da4e08a8
b251590cc2970f837eb88224f196d7b833f40abf
/src/app.py
f865fcadce22b74cb027a469217dd9fe1fc52b3f
[]
no_license
MoBran/bi2_project
ea07974624baf03ed1e5c2351efafe85ea7876a3
2bcc36949c9e4a20da74f559d6a64d44b8dc36b2
refs/heads/master
2021-08-20T06:09:56.686180
2017-11-28T11:27:57
2017-11-28T11:27:57
107,972,290
0
1
null
null
null
null
UTF-8
Python
false
false
52
py
""" Main script for executing the data pipeline """
[ "lukas.miklautz@gmail.com" ]
lukas.miklautz@gmail.com
fa0e3069b8efdb86ff7cd4222733eaadb9e77aef
ac3c861743a99f514fd959ab7ab283ca31c1bb44
/digits/extensions/view/boundingBox/view.py
a5401a2fc29830c6120c9291f0225e7a46dd5022
[ "LicenseRef-scancode-generic-cla" ]
no_license
smichalowski/DIGITS
6b96e73da567c8b550c03a7defd3167e50c25025
c07ad69c420b963f09bd5dd158a5b9026a086e9a
refs/heads/master
2021-01-16T18:31:17.957297
2016-08-03T16:29:30
2016-08-03T16:29:30
64,968,027
1
0
null
2016-08-04T21:18:33
2016-08-04T21:18:33
null
UTF-8
Python
false
false
4,171
py
# Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import import os import PIL.Image import digits from digits.utils import subclass, override from .forms import ConfigForm from ..interface import VisualizationInterface CONFIG_TEMPLATE = "config_template.html" HEADER_TEMP...
[ "gheinrich@nvidia.com" ]
gheinrich@nvidia.com
922c0124f025212fbc27c08829428951147fb44d
3fd707fc7106f0e504327fa88bd85e41e8f63c8f
/utils.py
fd6c7c867324fb984d1058fef71589e801ed4a4d
[]
no_license
hellvetica42/WinVolumeMixer
964e29c2697e86b64d3b1c6967f5eaf0f25c0fb1
a1b6859561466c945f15eb55079fb27abaad4bb1
refs/heads/master
2023-02-12T07:37:30.257022
2021-01-17T18:18:45
2021-01-17T18:18:45
329,981,340
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume from ctypes import cast, POINTER from comtypes import CLSCTX_ALL from masterVolume import * from math import floor def getSources(): sessions = AudioUtilities.GetAllSessions() return [s.Process.name() for s in sessions if s.Process] def setSourceVol...
[ "petar.slavicek@gmail.com" ]
petar.slavicek@gmail.com
019c6a6e9ff4eb5fa8133e54d03f61d36fcf000c
b201cb2395d4d6b42df2e97bb76454ebaac90379
/Python Mid Term Ques Problem 9.py
917e71cf65c62fea1b24637b3121bf6db34096ad
[]
no_license
SaladAss87/PythonMidTermQuesSol
efcc159df15688c3b8e586f564c4d61527dde01d
7b7ee7e57275735052991569cda707185c62ccdf
refs/heads/master
2020-09-10T17:06:48.550920
2019-11-15T17:47:40
2019-11-15T17:47:40
221,772,222
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#Calculating Monthly Payment loanAmount = eval(input("Enter The Loan Amount: ")) annualInterestRate = eval(input("Enter The Annual Interest Rate in %: ")) numberOfPayments = eval(input("Enter Number of Payments: ")) monthlyInterestRate = annualInterestRate/1200 monthlyPayment = ((monthlyInterestRate*((1+monthlyIntere...
[ "noreply@github.com" ]
noreply@github.com
5d17e513b427415520b3fd591509b1b5542e8fb0
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/lite/tutorials/dataset.py
fdaf84c2bb43e306fe0bf9c9172c996cdcefe1c6
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
4,299
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
67c9731aabf13945d17be90097d08b5ee47a54ed
b820df7fbcf8c764e2d309cf63fc409e1a3deb5c
/polls/migrations/0001_initial.py
5836340b11242a2eed71342e03ccc07c84ea17ef
[]
no_license
rishabhSmartdata/Django_DemoProject
834a8c6a42cc6a638b79aaba880a5884da7fa50f
9a41011b92ebae4f1975da5ecd929135953a2707
refs/heads/master
2020-06-30T00:44:12.989308
2019-08-05T14:22:10
2019-08-05T14:22:10
200,670,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# Generated by Django 2.2.1 on 2019-07-22 21:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "rishabh.gupta@isteams-Mac-mini-23.local" ]
rishabh.gupta@isteams-Mac-mini-23.local
7b5120e458925011193d91e7147821cf1b7fa809
a04a552d2f59d701689da51f84a6496d72a90d1b
/Matplotlib/tutorial011_histogram.py
25076e4d2224acf75db177fe74f24fee8d20a95e
[]
no_license
gauravbachani/Fortran-MPI
e4489305506b1c6ae03ef295161f27518105da95
50c9a01aefda22011d57022ad6967e4e79a06674
refs/heads/master
2023-04-20T12:58:31.984984
2021-05-25T07:33:40
2021-05-25T07:33:40
370,604,507
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
# Plotting tutorials in Python # Histogram Plots # IQ distribution of a random normal population import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl mpl.style.use('classic') mean = 100 sd = 15 N = 1000 binsize = 20 IQ = np.random.normal(mean, sd, N) # plt.hist(IQ, binsize, facecolor='chocolat...
[ "arunprasaad2711@gmail.com" ]
arunprasaad2711@gmail.com
4792575944911b2df78e6328076c706c771bb9d6
44675bde51a18bfc64a51ae8202b3329f06217be
/Lista III/Lista III exercício 2.py
53e2c205aee93c772177637264dc2f7b33603754
[]
no_license
zirou30/Zumbis-Exercicios
049cf5f68ad574b512da0ed974e50a56d5d50df4
391cc40a8e0884d475c523a8eec83cf464b683d1
refs/heads/master
2021-01-21T15:44:10.653280
2014-09-12T00:10:42
2014-09-12T00:10:42
25,316,118
2
0
null
null
null
null
UTF-8
Python
false
false
189
py
usuário = input('Usuário: ') senha = input('Senha: ') while usuário == senha: print('Senha deve ser diferente do Usuário') usuário = input('Usuário: ') senha = input('Senha: ')
[ "jasiel_serra@hotmail.com" ]
jasiel_serra@hotmail.com
fc31d2e94e5ef8adf938b67904a25b66dbb993f4
5cd4b79bcd87844be9a26e870d98659e0483a157
/rplugin/python3/tomemo/sync.py
3631df935a78ff8be7a603b5d644127e9be0d9b4
[]
no_license
tortuepin/tomemo
859dd8e7dc901d939754fed2b9de434b1fb0387e
7541573724e470d49d0ac200772c581da2c92c04
refs/heads/master
2020-12-24T06:24:26.819797
2017-04-08T09:25:38
2017-04-08T09:25:38
73,488,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
# vim:set foldmethod=marker: import simplenote import os.path def get_User_Data(filename): #{{{ ''' get user data from file ret dictonary: {"email":'', "password":''} datafile should be this structure : 1. email 2. password number and '.' which is in head represent linenumber. ...
[ "kameyasu119@gmail.com" ]
kameyasu119@gmail.com
02c88c50e679434e3e4ae163ee0e5026f6e74efc
e489172f6e49e1239db56c047a78a29a6ffc0b36
/via_purchase_enhancements/stock.py
94ac503ae599e50b3f088a456a70e97b5fede72d
[]
no_license
eksotama/prln-via-custom-addons
f05d0059353ae1de89ccc8d1625a896c0215cfc7
f2b44a8af0e7bee87d52d258fca012bf44ca876f
refs/heads/master
2020-03-25T19:49:08.117628
2015-12-01T07:29:43
2015-12-01T07:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
############################################################################## # # Vikasa Infinity Anugrah, PT # Copyright (c) 2011 - 2012 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Genera...
[ "aero@aero.(none)" ]
aero@aero.(none)
6f9560bec055af72ffec3a925fc4d4664ddf9e41
33054e9ecb113293bfa511c067622ac6a2184302
/Lektion 1 (Kap. 1_2)/Opgave4.py
bece571e488c843f0629c7c7d584aa1116a82973
[]
no_license
Itchy83/PythonStudie
a8ac9b3782d3a1514dbd660e13bf5bb36451f76b
e1f5a9152b38311b283f81039932f6fd743ea0e1
refs/heads/master
2020-04-22T12:38:35.918874
2019-03-12T16:37:45
2019-03-12T16:37:45
170,379,163
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
alder = 4 besked = 'Meo er ' + str(alder) + ' år gammel!' print(besked)
[ "aj83@live.dk" ]
aj83@live.dk
fd2b33ca40af9247a24856266fbe39f80aaec19c
cfa5901c0d154f391d7d4d227ac20c0c19633128
/app/na4u/apps/articles/migrations/0019_auto_20191126_1827.py
39c77a0d0b100e25ee97b2033ad3cfa3ed7099b1
[]
no_license
Proffett/django-blog
a1b2f90b87139f6836145f3c1d7b860340e24127
2196df555d116ed2986251052c4c641869d226e4
refs/heads/main
2023-01-01T00:40:29.104368
2020-10-28T09:14:00
2020-10-28T09:14:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Generated by Django 2.2.7 on 2019-11-26 18:27 from django.db import migrations import djrichtextfield.models class Migration(migrations.Migration): dependencies = [ ('articles', '0018_auto_20191121_1630'), ] operations = [ migrations.AlterField( model_name='article', ...
[ "34817647+Proffett@users.noreply.github.com" ]
34817647+Proffett@users.noreply.github.com
39222f55b34c02a94b87c3e7b29aed733706e2e9
2e3161076fd51d2e6a566653dbbd2058a8deda9c
/tests/conftest.py
5f333366b3b9f33007be9c6dc721a408527242a9
[ "MIT" ]
permissive
stainbank/simulocloud
c2053d7a22b00bcf31e4455d9ec883cc9af396ea
9667be8d2eef3500ad6bfdc76199d432bbcd0286
refs/heads/master
2021-01-14T08:24:18.664656
2017-07-24T18:29:45
2017-07-24T18:29:45
81,957,253
2
2
null
2017-06-13T16:41:36
2017-02-14T15:06:51
Python
UTF-8
Python
false
false
509
py
import pytest import simulocloud.pointcloud import simulocloud.tiles import os def abspath(fname, fdir='data'): """Return the absolute filepath of filename in (relative) directory.""" return os.path.join(os.path.dirname(__file__), fdir, fname) @pytest.fixture(params=[simulocloud.pointcloud.PointCloud, ...
[ "chad.stainbank@gmail.com" ]
chad.stainbank@gmail.com
efdf17b0386a062ae1786386cfcd575b6dfe973d
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/165/F-1.py
e46b77a108de4a46bd7d12686ca0056a7ddfe1e2
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import sys import bisect from collections import deque sys.setrecursionlimit(4100000) input = sys.stdin.readline def main(): N = int(input()) A = list(map(int, input().split())) edge = [[] for _ in range(N)] for i in range(N-1): u, v = map(int, input().split()) u -= 1 v -= 1 ...
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
125a21a1623712717c697965f8a5a9521fef3f5e
5d7c574c150df24ac9ba1b34ac77a732e705fafa
/framework/test1.py
ce670247bd3d2155c06233763e4aa04127a4588f
[]
no_license
marco776/automation
739f05a4d51a063546d3b0ec0ba4307f67512bc0
34e037b5d5e9763a19048468069d7542fbd5d08f
refs/heads/master
2020-07-07T00:48:23.532218
2019-08-19T14:48:22
2019-08-19T14:48:22
203,190,654
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
# !/usr/bin/python # -*- coding:utf-8 -*- import os import configparser config = configparser.ConfigParser() file_path = os.path.dirname(os.path.abspath('.')) + '/config/config.ini' print(os.path.abspath('.')) print(file_path)
[ "370363672@qq.com" ]
370363672@qq.com
e9b6d696d4071162bc5c1b73de0a440616035648
7c3e25b4c80f791700fc982ce3b73b6dd6ec54bc
/graph/views.py
353e49371382396f1f5fc961405d062e0ee2c233
[]
no_license
avivalbeg/Janivi
0b63c502b3e2577480c74ad0fef50b00daaca702
14109b2793df58182e3829e7a618c15807a17a94
refs/heads/master
2020-03-22T02:49:16.717887
2018-07-10T06:49:45
2018-07-10T06:49:45
139,395,084
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from django.shortcuts import render from django.http import HttpResponse from django.template import loader from .models import Graph from django.http import Http404 # Create your views here. def index(request): all_graphs = Graph.objects.all() template= loader.get_template('graph/index.html') context = { ...
[ "aviv_elbag@umail.ucsb.edu" ]
aviv_elbag@umail.ucsb.edu
4eb7fd3641a767be8eff8e13ef44c03040c78381
40053507cbe947a31be5eb0b936325928c1a4ff3
/OOPBasics/innerClassDemo.py
2b47dd52637fb9f0d613b9bee9430284b394857c
[]
no_license
Aborigenius/python
082c4cd3a835e4e947bbf147610336fba65d7fea
41f36668ea695e516c0da9505b9d09a86dfbcf6d
refs/heads/master
2020-12-11T15:03:18.870655
2020-01-17T15:07:09
2020-01-17T15:07:09
233,879,140
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 17 14:44:08 2020 @author: spiridiv """ class Car: def __init__(self,make,year): self.make=make self.year=year class Engine: def __init__(self,number): self.number=number def start(self): print("Engi...
[ "spiridonovivan@gmail.com" ]
spiridonovivan@gmail.com
6524c9b9746a0a2dbdbe814067af684ebc955c76
5206299afebf9dad1377f0359cf93fea19867bcc
/MergeKSortedLists.py
856451a141b75d723dcf56e8108c70fccfaf44d6
[]
no_license
atirpetkar/leetcode
1ebbd7b4bdfcc43c30caaf6ef2ec5d9b1d6143a8
a4fd250b95326eae4fe3d8b4be93346d4c0e37d4
refs/heads/master
2020-03-13T02:38:45.731629
2018-04-26T21:01:21
2018-04-26T21:01:21
130,922,514
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None def __cmp__(self, other): return self.val < other.val from queue import PriorityQueue class Solution(object): def mergeKLists(self, lists): dummy = ListNode(None) ...
[ "ap8185@g.rit.edu" ]
ap8185@g.rit.edu
bd8120b22e58c6e63c7601d35545bfd5546febc3
f7c5e3f5834206a7b0d1dadd773d1de032f731e7
/dmerce1/db2HTML.py
ae12d22aacbefa718a58e88f68f863685e00d0f8
[]
no_license
rbe/dmerce
93d601462c50dfbbf62b577803ae697d3abde333
3cfcae894c165189cc3ff61e27ca284f09e87871
refs/heads/master
2021-01-01T17:06:27.872197
2012-05-04T07:22:26
2012-05-04T07:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
#!/usr/bin/env python ## # # $Author: rb $ # $Revision: 1.2.7.1 $ # # Revision 1.1 2000-07-13 17:05:50+02 rb # Initial revision # ## # # I M P O R T M O D U L E S # try: import sys import aDataStruct except: print '[db2HTML: ERROR LOADING MODULES: (%s, %s)]' % (sys.exc_info()[0], sys.exc_info()[1]) sys.e...
[ "ralf@art-of-coding.eu" ]
ralf@art-of-coding.eu
80867443a6705a722d5e6467fd92d39c34e454a4
9c7c67738220b4ee31452798b46999ed8125977c
/Disaster_Response_Pipeline/app/run.py
022b1f3a3b4679ddfd145ff43f729d4fecca1c23
[]
no_license
Arunk-rbs/MachineLearning
492d618e592ef7d8e3d1f394501ccba09f7eb39f
42ca7e9b8f39de9394ce88371325e8e9865523eb
refs/heads/master
2023-01-10T20:34:03.985878
2020-11-17T07:42:27
2020-11-17T07:42:27
276,357,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
import json import plotly import pandas as pd from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize from flask import Flask from flask import render_template, request, jsonify from plotly.graph_objs import Bar from sklearn.externals import joblib from sqlalchemy import create_engine app = ...
[ "noreply@github.com" ]
noreply@github.com
0181ef44adc6a95802456c7d2e1120f024d02a6b
3d62d6b12b1a24c6cadeb51e6fcbf36c07b9730f
/server.py
92689ebd36a2cd4d0bb449d734faf91499301052
[]
no_license
sprasanth2k/Birthday-Wisher
e25f9a0246adb806d67c3c013b326845f39802ea
94626f32792c7534d468c66878c70aa6b32ef211
refs/heads/master
2023-06-26T04:09:49.331723
2021-07-22T14:17:07
2021-07-22T14:17:07
388,486,894
1
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import pymongo import smtplib import datetime url="<MongoDB url>" client=pymongo.MongoClient(url) db=client['birthdaywisher'] birthdays=db['birthdays'] sender=db['emailidpwd'] sender_email = sender.find()[0]['emailid'] sender_password=sender.find()[0]['password'] while True: current_date=datetime.date.today()...
[ "sprasanth2k@gmail.com" ]
sprasanth2k@gmail.com
6cd326cfb64f226dafb3197d606ea2a4b4b9e382
57e5e73f039f1834b4b21162d8398fd5ce4e79b5
/discussion/03/fibonacci.py
fbb1e10fae3b852c74ed91b29ed01eca339aa761
[]
no_license
Rabona17/dsc80-wi19
e0355da049eb95b6fcacbe8e2889bf1713d6d72b
e12317b09a6bab6e054d4be5218be4c711b2c4da
refs/heads/master
2020-04-28T18:56:01.543071
2019-03-14T21:37:12
2019-03-14T21:37:12
175,494,342
0
1
null
2019-03-14T21:37:13
2019-03-13T20:30:58
Jupyter Notebook
UTF-8
Python
false
false
88
py
def fib1(n): a, b = 0, 1 for i in range(n): a, b = b, a + b return a
[ "nemilshah@Nemils-MacBook-Pro.local" ]
nemilshah@Nemils-MacBook-Pro.local
a4518e729ef53840e6d5101d68fd31567724946c
f846820f99c63bbad2b3d7a03ae5289752012697
/python_scripts/ensemble_hyperparameters.py
1de84700c6ab90bbc79748e0d7c2784ad46417b0
[ "CC-BY-4.0" ]
permissive
mdiazmel/scikit-learn-mooc
4d946eff314ae7d4c0a13c235ccccdd8d5dd8913
3576bda5f6e2fe31fdf6a1c09644d4db41a30699
refs/heads/master
2023-01-14T17:03:18.586722
2020-11-24T15:30:03
2020-11-24T15:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
# %% [markdown] # # Hyper-parameters tuning # # In the previous section, we did not discuss the parameters of random forest # and gradient-boosting. However, there are a couple of things to keep in mind # when setting these parameters. # # This notebook gives crucial information regarding how to set the # hyperparamete...
[ "noreply@github.com" ]
noreply@github.com
9a361f6a29904367c1778a30cee084b9bef68ac5
7738f409d5b77f3e5b5c05c99161f8c32fa282df
/inksculpt/src/accounts/tests.py
9829fd90fd1dd247514ff8a032fd78fc796ef7c7
[]
no_license
rishivamshi/inksculpt
f5384816d4a87bd1e0f46d82f14839f54cc53b36
1df6afe40d13e9db0fb3c096fd7364013990441a
refs/heads/master
2020-03-12T11:05:07.083412
2018-08-04T17:10:49
2018-08-04T17:10:49
130,588,228
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
from django.contrib.auth import get_user_model from django.test import TestCase # Create your tests here. from .models import UserProfile User = get_user_model() class UserProfileTestCase(TestCase): def setUp(self): self.username = "Some_USer" new_user = User.objects.create(username = self.username) def tes...
[ "rishivamshi0079@gmail.com" ]
rishivamshi0079@gmail.com
38ccc89b47c2c8c689d298955694bbd7d333413c
b8a200e8d40ea9a40c620f7fcfb594426c7deb3d
/apps/wall_app/views.py
00d929bce284c263f3575bf54ae96a5469397f20
[]
no_license
EddiePulido/Wall
99fe0afae1033571044db9ca5cd8c132be1f10b5
c1b337e29ba64e876603ca8ff6416998d17d90f1
refs/heads/master
2020-05-01T12:44:40.501709
2019-03-24T21:53:16
2019-03-24T21:53:16
177,473,816
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from django.shortcuts import render, HttpResponse, redirect from django.contrib import messages from .models import * import bcrypt def index(request): if 'id' in request.session: return redirect("/wall") return render(request,"wall_app/index.html") def create(request): errors = User.objects.regis...
[ "genaroepulido@gmail.com" ]
genaroepulido@gmail.com
b1774b3c31bf555336b3c8a6b628d33cc2e48183
b1bbfe2fa31d761d6a4658b022d344b5a0cb7dd8
/75-sort_colors.py
39f61b067e0807986b4de21cc9e0a9d6910a26bb
[]
no_license
stevestar888/leetcode-problems
f5917efc3516f8e40d5143b4dc10583c1e22dabd
844f502da4d6fb9cd69cf0a1ef71da3385a4d2b4
refs/heads/master
2022-11-12T05:01:02.794246
2022-10-28T16:45:48
2022-10-28T16:45:48
248,663,356
2
2
null
null
null
null
UTF-8
Python
false
false
1,384
py
class Solution(object): """ Two-pass algorithm using counting sort. First, iterate the array counting number of 0's, 1's, and 2's, then overwrite array with total number of 0's, then 1's and followed by 2's. TODO: can be done in place Runtime: 12 ms, faster than 99.10% of Python online submis...
[ "weareallhalfminotaur@gmail.com" ]
weareallhalfminotaur@gmail.com
029ba25a2e27f6afb94c50f982c6f3a1657fc19f
852dac5a9531fffe6b532a1f3e40ce7f61e114b9
/main/utilities.py
91cc832dc7f3210e093329db6094eaa3f9335ffc
[]
no_license
Banananick19/CompGeek_product
8b074f9d02fe27d5498556a9a7367904d1dad9a2
f046987aa8f93f0e9fb2cc0b22e041d5b96e9461
refs/heads/main
2023-02-06T04:54:43.654431
2020-12-26T07:24:45
2020-12-26T07:24:45
310,645,678
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger def transliterate(string): # Слоаврь с заменами slovar = {'а': 'a', 'б': 'b', 'в': 'v', 'г': 'g', 'д': 'd', 'е': 'e', 'ё': 'e', 'ж': 'zh', 'з': 'z', 'и': 'i', 'й': 'i', 'к': 'k', 'л': 'l', 'м': 'm', 'н': 'n', '...
[ "banananick19@mail.ru" ]
banananick19@mail.ru
a0f66b7d8db03e702fc214f4eb1f4601311e09c6
d4684738cb322ddd5c47feb8657ed0550edb2f40
/tools/protodoc/protodoc.py
876a84ba346310ca5180b2c2136dba0a0c5e08bf
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
keith/envoy
a80ec224eb1589230fa79e22826472901e5380cc
6e5a79b06f121e0abda544a6124712faf9034ff4
refs/heads/adaptive-concurrency-framework
2023-08-08T21:53:34.806151
2018-08-14T02:41:18
2018-08-14T02:41:18
174,034,459
3
2
Apache-2.0
2023-05-23T16:37:20
2019-03-05T23:09:27
C++
UTF-8
Python
false
false
25,195
py
# protoc plugin to map from FileDescriptorProtos to Envoy doc style RST. # See https://github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto # for the underlying protos mentioned in this file. See # http://www.sphinx-doc.org/en/stable/rest.html for Sphinx RST syntax. from collections import defau...
[ "noreply@github.com" ]
noreply@github.com
ffb833c28c34a881a69690609dc871509ab860cb
d508d639b8fb9e2983fba5b92751f1e3fa0242c2
/testing/preprocessing.py
a8c76159db3bdb97c70d8e61c4f466bd94568f04
[]
no_license
dawoodaijaz97/house_price
07fcbdeff0ad9c76c06b22fbb86d0df1c7108f09
8f4c463df47af4f44d232c33f4fa8e6ce350e555
refs/heads/master
2022-12-25T14:33:52.840515
2020-10-06T13:31:03
2020-10-06T13:31:03
297,949,934
0
0
null
null
null
null
UTF-8
Python
false
false
20,283
py
import pandas as pd import numpy as np from sklearn.impute import SimpleImputer from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.feature_selection import VarianceThreshold,chi2,mutual_info_regression,f_regression from sklearn.ensemble import RandomFor...
[ "dawood.aijaz97@gmail.com" ]
dawood.aijaz97@gmail.com
0acfaee2a19dd42351019acacada350f2ece6f31
fbe2c3b1feb69a5ce019c805594a49dc11c7e463
/astrality/tests/module/module_manager/test_persisting_created_files.py
c7cf4305b01e387d33b1c69a69fdc1345d8fd310
[ "MIT" ]
permissive
JakobGM/astrality
50630a26ef6428a0c1376269d71ddaa52912f374
72935b616f9a6a2e9254e9cd9319b525c596e8f0
refs/heads/master
2023-01-07T20:26:05.925893
2019-11-19T10:15:36
2019-11-19T10:15:36
117,895,437
114
7
MIT
2022-12-26T20:49:19
2018-01-17T21:34:33
Python
UTF-8
Python
false
false
2,518
py
"""Tests for ensuring that all files that are created are persisted.""" import pytest from astrality.module import ModuleManager from astrality.persistence import CreatedFiles @pytest.mark.parametrize('method', ['compile', 'copy', 'symlink']) def test_that_created_files_are_persisted(method, create_temp_files): ...
[ "jakobgm@gmail.com" ]
jakobgm@gmail.com
c65381eabc7b6d43ed0b44838ef96d25e0eb2cd4
0c5b9ebee22450c214576f18929436527b26a1b0
/starfish/core/morphology/Merge/test/test_simple.py
f5e8ab5623aa77a99afea463b53830f01dce2371
[ "MIT" ]
permissive
spacetx/starfish
962b4e4a8c0c193acaa84c016a6edaef76c14769
853f56c7c02b15397adb921db5e3bde02fdadb63
refs/heads/master
2023-03-09T13:51:30.772904
2022-09-06T22:16:25
2022-09-06T22:16:25
92,539,237
211
75
MIT
2023-02-11T01:52:25
2017-05-26T18:45:11
Python
UTF-8
Python
false
false
3,186
py
import numpy as np import pytest from starfish.core.morphology.binary_mask import BinaryMaskCollection from starfish.core.morphology.binary_mask.test.factories import ( binary_arrays_2d, binary_mask_collection_2d, binary_mask_collection_3d, ) from starfish.core.morphology.util import _ticks_equal from star...
[ "noreply@github.com" ]
noreply@github.com
ae35e52e9c23e00a1c10ee7737736ae3d9e9d719
aef7ea4afcd417fec8b861df5865bf93c4b9fcde
/startFundraiser/apps.py
bfa3b068bb2993f8a9b17c0ddcb6def33e8a0153
[]
no_license
shiva-01/icebreaker--ASE-pro
9ee1c7c6d7559345491da5e12b875d08b07c007b
746f4a8a248738a851fafe96378bb0d55321ce15
refs/heads/master
2022-12-09T08:45:08.131927
2019-01-22T13:42:26
2019-01-22T13:42:26
166,686,914
1
0
null
2022-12-08T01:21:08
2019-01-20T17:06:47
CSS
UTF-8
Python
false
false
110
py
from django.apps import AppConfig class StartfundraiserConfig(AppConfig): name = 'startFundraiser'
[ "ruthala.charan512@gmail.com" ]
ruthala.charan512@gmail.com
97010012d18266225ed355f66a4e4daa96d085fb
49c715a71da32472e078be32c46ffe2c7315d253
/kontrollrommet_website/core_database/apps.py
1642077eebf1bab6106dfd521c635f2e7b2a951a
[]
no_license
janicheen/KontrollrommetBETA
aaddc92a3b58ecb2bbed5e0e79f7d3b461fe79e4
00a78e5ca8079beb327ceacd7fb4a02a9011ca06
refs/heads/master
2020-06-24T13:57:57.848532
2017-07-07T23:47:47
2017-07-07T23:47:47
96,937,738
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class CoreDatabaseConfig(AppConfig): name = 'core_database'
[ "janic@online.no" ]
janic@online.no
7aab2e3a7a8b6e480f08228eebb6b13b48a4c092
66d92dcbe29dcbed7e159ee981828f272bfd5fe3
/Full Stack/day60Django/函数版根据不同的路径返回不同的内容.py
2d6bd40b329af9a60f59d0bacee245a335146c4a
[]
no_license
bagaki/Python
0f8e292aec3c33b8db94d75453f3a801712536be
cb7655ec58a997bbacf0480cffd9e72de26228ae
refs/heads/master
2021-05-16T16:40:27.083456
2018-10-13T03:08:40
2018-10-13T03:08:40
119,954,736
0
0
null
2018-02-03T02:32:43
2018-02-02T08:30:19
Python
UTF-8
Python
false
false
1,113
py
""" 完善的web服务端示例 函数版根据不同的路径返回不同的内容 进阶函数版,不写if判断了,用url名字去找对应的函数名 """ import socket sk = socket.socket() sk.bind(("127.0.0.1", 8080)) sk.listen(4) # 定义一个处理/bagaki/的函数 def bagaki(url): ret = 'Hello, {}'.format(url) return bytes(ret, encoding="utf-8") def tomoya(url): ret = 'Hello, {}...
[ "noreply@github.com" ]
noreply@github.com
46d15fda29e9d529e3b0e67d43c1e56866529bed
d2219febb4727a24856578c4c3963b8c081835cb
/usr/lib/enigma2/python/Plugins/Extensions/BBC-iPlayer-Recorder/__init__.py
abf38987968a5e8ea489beb842b10923f7d25362
[]
no_license
linuxbox10/BBC-iPlayer-Recorder
3c465cd6fcc237ba384c8c9b89488d86e3ad3f3b
069e731b134fa6a08152a90cb122caa1d2800b66
refs/heads/master
2021-07-07T08:22:39.817143
2017-10-04T15:41:42
2017-10-04T15:41:42
105,785,840
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# Embedded file name: /usr/lib/enigma2/python/Plugins/Extensions/BBC_iPlayer_Recorder/__init__.py pass
[ "jaysmith940@hotmail.co.uk" ]
jaysmith940@hotmail.co.uk
27175455b13f7f9029aeb649eab51391f2080bbf
6be8aa517e679b33b47d35f100e6590902a8a1db
/Math/Problem05.py
bd5e99bc0820fd1c4d6b55798e43ebf0508f2baa
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# https://www.acmicpc.net/problem/1722 import sys read = sys.stdin.readline n = int(read().strip()) cmd = list(map(int, read().strip().split())) cmd[0] -= 1 fact = [-1 for _ in range(21)] fact[0] = 1 for i in range(1, 21): fact[i] = fact[i - 1] * i def go(d, ans): global k, arr, fact if d == n: ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com
5fa09d85ca3a76dd3177ccf4c3898666849740b5
a595f0f6db3fff200eb22942032afc666720dac5
/utils.py
f49aa1fe8464418c3f5cc65c105f988246638f20
[ "Apache-2.0" ]
permissive
gouthamgopal/Boggins
e4d46a9c578c76b827350a65544e36290392fabf
f539be0081b34e579b35379484a1ac44c0936224
refs/heads/master
2020-12-05T03:23:28.807233
2020-01-06T00:51:18
2020-01-06T00:51:18
231,996,528
1
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
import matplotlib.pyplot as plt import numpy as np from scipy.misc import imread, imresize import tensorflow as tf from config import * def sample_images(batch_size, high_resolution_shape, low_resolution_shape): """ :param data_dir: :param batch_size: :param high_resolution_shape: :param low_reso...
[ "goutham.gopal94@gmail.com" ]
goutham.gopal94@gmail.com
1a6e9a08eff0dc4e0a359428d496bdc5132b8c65
a7928a1e28c217db4e8c9f803b4b506fa3ab6f7d
/4.py
0e9db9d0b1894f5e2d285bee7dd14624b08f1816
[]
no_license
Dunaev-Al/2homework
54b01eed100d7b5a20463a88908c83ceb86a2b90
20ec1d301555c0cb8381b888c5c7409b5caa8f3f
refs/heads/dev
2022-12-13T22:44:04.789222
2020-09-01T00:31:32
2020-09-01T00:31:32
291,854,261
0
0
null
2020-09-01T00:33:15
2020-09-01T00:21:53
Python
UTF-8
Python
false
false
312
py
user_string = input('Введите строку: ') words_list = user_string.split() for index in range(0, len(words_list)): if len(words_list[index]) >= 10: print((int(index) + 1), 'слово: ', words_list[index][:10]) else: print((int(index) + 1), 'слово: ', words_list[index])
[ "dunaev1999@gmail.com" ]
dunaev1999@gmail.com
22636a5133762f5113ca9300f370c9e3c8a64fc3
4e2370745d7c6fba99e0a6b7722be2d8e5d56c27
/模板模式/bfs-dfs.py
d7e7f7699e07e2fa144f11e79bb24a2888c85c21
[]
no_license
wangjifei121/python-design-mode
4f27eac93446530acf93fc3c0406d7999fd0ef69
8c7d9e3c23623388fe7b57c750568c9538c13ff8
refs/heads/master
2020-04-02T12:07:03.202465
2018-10-24T01:27:03
2018-10-24T01:27:03
154,419,909
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
""" sorted()这样的函数属于理想的案例。现实中,我们没法始终写出100%通用的代码。许多算法都有一些(但并非全部)通用步骤。 广度优先搜索(Breadth-First Search,BFS)和深度优先 搜索(Depth-First Search,DFS)是其中不错的例子. """ def bfs(graph, start, end): """ 广度优先搜索(Breadth-First Search,BFS) :param graph: 城市列表 :param start: 出发地 Frankfurt :param end: 目的地 Nurnberg """ path...
[ "18500327026@163.com" ]
18500327026@163.com
4a4a23e8b49a1a9d7382bc7f3f23df345aef6af1
2d5cc685fd861c16a44e6578dff659bc197d44f8
/ioflo/aid/__init__.py
bc7963f4557e7b278b7b88d81bcbd4bb25ffcb27
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dreamerparadise/ioflo
b642e3325760d124c8c608cefd3fb23c408785ff
177ac656d7c4ff801aebb0d8b401db365a5248ce
refs/heads/master
2023-04-03T04:05:24.934544
2020-11-19T22:07:49
2020-11-19T22:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
""" aid package helper and utility modules """ # frequent imports from .odicting import odict, lodict, modict from .osetting import oset from .consoling import getConsole
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
2c38e8e0d9f2d53815bc0ffa9317b1fc3ddc5c28
422dd5d3c48a608b093cbfa92085e95a105a5752
/students/mayc4t/lesson07_part1/main.py
d4c9f40e78e3c5ebff1ac85e856174740bc336f5
[]
no_license
UWPCE-PythonCert-ClassRepos/SP_Online_Course2_2018
a2052fdecd187d7dd6dbe6f1387b4f7341623e93
b1fea0309b3495b3e1dc167d7029bc9e4b6f00f1
refs/heads/master
2021-06-07T09:06:21.100330
2019-11-08T23:42:42
2019-11-08T23:42:42
130,731,872
4
70
null
2021-06-01T22:29:19
2018-04-23T17:24:22
Python
UTF-8
Python
false
false
5,389
py
""" Learning persistence with Peewee and sqlite delete the database to start over (but running this program does not require it) """ import logging from model import * def add_people(database, logger): logger.info('Working with Person class') logger.info('Note how I use constants and a list of ...
[ "lily12A@gmail.com" ]
lily12A@gmail.com
ffe97045bece4d6418b1a094edc6c0a0c614dc18
184bb71da393efca8d5d3d5098eeca9ae00496ba
/VDAO_Access/Annotation.py
379a3984161b84d6f0e23ec9cc33890eaee68f9e
[]
no_license
wesleylp/DeepLearning-VDAO
c2120ed1c754d02fd26dff84ad72b4f352064674
872acab600aec6d53db3977da0d14229a8d8ee3c
refs/heads/master
2020-03-19T08:33:25.598005
2018-08-20T18:06:08
2018-08-20T18:06:08
136,214,152
2
0
null
2018-06-05T17:48:22
2018-06-05T17:48:22
null
UTF-8
Python
false
false
5,678
py
import os import utils import sys class Annotation: """ This class represents a .txt file containing the labels and bounding boxes of objects in a given video. Developed by: Rafael Padilla SMT - Signal Multimedia and Telecommunications Lab COPPE - Universidade Federal do Rio de Janei...
[ "rafael.padilla@smt.ufrj.br" ]
rafael.padilla@smt.ufrj.br
a200e9d36c10f3ee3b9f548db4f30482082df07a
54052141808b99326f2f727af290fb8f4b75ab50
/standbylist/api/migrations/0001_initial.py
40d60598a16840deacc8feacb2cb784aa623e1d9
[]
no_license
dina-shoham/vaccine-standby-list
6174589454d9e57d78ebe10644cc2fd1dd6af132
bdffe0ba801e537f1885dde511f1c14b4f28d0ce
refs/heads/main
2023-02-27T14:48:37.459843
2021-01-31T09:21:47
2021-01-31T09:21:47
334,307,634
2
0
null
2021-01-30T02:18:31
2021-01-30T02:04:48
Python
UTF-8
Python
false
false
4,105
py
# Generated by Django 3.1.5 on 2021-01-30 15:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
[ "alena.midgen@gmail.com" ]
alena.midgen@gmail.com
00485d0224f2843e121b4aa05f91f530a9de10b8
f995f9822dc59181626a1e592e3b9a8cf9d7b453
/myvenv/bin/pip3.6
33f7303eb7af2de1705e41e9b0eb05a965e3e37b
[]
no_license
hlorofilka/my-first-blog
4e0d155d0b4451c897d877714610378e55a58c15
ebfc02a518686c160046d1f0758ed621a0c59b07
refs/heads/master
2020-05-16T10:25:52.322963
2019-04-24T14:17:47
2019-04-24T14:17:47
166,085,479
0
0
null
null
null
null
UTF-8
Python
false
false
251
6
#!/Users/dashaskalkina/djangogirls/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hlorofilk@mail.ru" ]
hlorofilk@mail.ru
6ab39153de2ed16fddaf2d99c832cbb8a87e5de8
aa333ebda23f8aba6d6499799d362a0aa7964632
/ml3/sine_task_sampler.py
18696aa89eecd40b2c83947d401e3a75a22e8583
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Srivignesh99/LearningToLearn
ef333394a82b24a1fe1497104455d49553729230
ab6c412fe3a36cbfaec28f16d66f17c5b430e62a
refs/heads/main
2023-02-26T03:18:36.541954
2021-02-02T00:06:57
2021-02-02T00:06:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
import numpy as np import torch class SineTaskSampler(object): def __init__(self, num_tasks_total, num_tasks_per_batch, num_data_points, input_range=[-5.0, 5.0], amp_range=[1.0, 1.0], freq_range=[1.0, 1.0], phase_range=[np.pi, np.pi], ...
[ "noreply@github.com" ]
noreply@github.com
476ccba49a18e2d3356d794c26547cdac706b13b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2344/60581/246336.py
5e8a23f13ab4797d8c3277856fd1dc425e03eb8f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,584
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' judgeWord = False judgeNumber = False if lst[i][j]>='A' and lst[i][j]<='Z':...
[ "1069583789@qq.com" ]
1069583789@qq.com
eb86106a321ead443d3fef7263cc6bf014b7c342
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py
5167f471034e02e31839cd698900e678c4a0e863
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
4,446
py
# 2017.08.29 21:50:18 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py import BigWorld import copy import constants from adisp import async, process from debug_utils import LOG_ERROR, LOG_WARNING from gui.shared.utils import code2str class IntSettingsR...
[ "info@webium.sk" ]
info@webium.sk
4a91e102ba4c2afba9483d90b46fba0026049ae4
734f75346781f85d6194dca1ecabef167a5b2492
/hello_world.py
cc7ffb8f558527a3e09de281d09d2dcf61b6dbc2
[]
no_license
Kaduki/test
2db7b63c1972cba28bf1ccc841fa22c2ec82f529
1fd4aad4a20aa1d86fd5a8cb329017e8a36f80c5
refs/heads/master
2016-09-05T11:47:44.419403
2015-07-01T06:50:20
2015-07-01T06:50:20
30,430,637
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
print "hello world!!! from GIT"
[ "kkaito@ncsu.edu" ]
kkaito@ncsu.edu
c3c7fee96a70c240b082b8855cb2a984acada6b2
3f845a1df057d5112fa1ebb0670011893bc303ea
/source/graphs.py
217aa12cfa0be77f781df1dce9429e94006bf1d5
[]
no_license
vashukovdanil/csv-analyzer
87a71333c31ab48525ad26a90fcc2c6fa8d1a768
c4329d49e9eb7d2b7b7b410ca34737e47c430195
refs/heads/main
2023-04-07T17:48:40.283494
2021-04-15T08:35:01
2021-04-15T08:35:01
328,407,831
1
0
null
null
null
null
UTF-8
Python
false
false
5,588
py
import matplotlib.pyplot as plt import pandas as pd from PyQt5.QtCore import Qt from PyQt5.QtWidgets import * from notifications import NotificationWindow class Graph(QWidget): def __init__(self, df): super().__init__() self.counter = 0 df = df.reset_index() df = df.i...
[ "noreply@github.com" ]
noreply@github.com
ec51a2c268481d48cc82a004658d99ace07708a4
6610e8b7d715d28df179217b0222b6a74d7b01f3
/Contents/Libraries/Shared/omdb/api.py
e7c5f60a9f295f608c0cf9f27a8d959315e9eca3
[]
no_license
BigmIkeX/FMoviesPlus.bundle
f479b96dabbda8a70944a7c44717a9b7a6abc5c0
7789e6137df8a86f6c9f9a78fc478ab89696e3d0
refs/heads/master
2020-05-22T09:39:12.049063
2019-05-09T20:54:25
2019-05-09T20:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
"""Public interface for omdb module Accessible via: import omdb """ from .client import Client # Internal client instance used for our requests. _client = Client() def set_default(key, default): """Proxy method to internal client instance that sets default params values. """ _client.set_defaul...
[ "coderalphaakv@gmail.com" ]
coderalphaakv@gmail.com
0d5612b10b9d4ae1e7f93123afb238011de5556e
f25ffa3370e9fef64d22c1d639051b1dfea249fa
/crypto/test/SConstruct
fdf7840c9447955b9b1d2b2e644bad970526f938
[]
no_license
sjkingo-archive/comp3301-a2-spec
d809a836ffbea155284c5314e3cb5261483de29b
754a9cf23e7395961237df6b19303fce49bafdf5
refs/heads/master
2016-08-06T19:05:10.194681
2015-06-20T00:00:58
2015-06-20T00:00:58
37,751,102
0
0
null
null
null
null
UTF-8
Python
false
false
106
env = Environment( CFLAGS=['-Wall', '-Wextra', '-g', '-std=gnu99'], ) env.Program('smode', 'smode.c')
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
25db776581e2d9ad3ba30c7a8b084805b99d7a72
7742b635b174ab22077e7895c38f3719daf70daf
/common/schedulers.py
a7f17339eb70b24ad32351048512b30f8377cb25
[]
no_license
ashigirl96/rl_snippets
1d94306c25e2920fdf27d248a1a34879bfa78d52
7ff35b726053e96ab2106d5d297d8b074d807229
refs/heads/master
2020-03-07T23:18:58.261657
2018-06-23T11:55:04
2018-06-23T11:55:04
127,777,955
0
1
null
2018-06-14T10:55:03
2018-04-02T15:52:48
Python
UTF-8
Python
false
false
1,941
py
"""Schedulers.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function def linear_interpolation(l, r, alpha): return l + alpha * (r - l) class PiecewiseSchedule(object): def __init__(self, endpoints, interpolation=linear_interpolation, outside_value=None)...
[ "reon@mma.cs.tsukuba.ac.jp" ]
reon@mma.cs.tsukuba.ac.jp
2b33833a0acfaa0271ed33e0c5d3d81912b5fdc9
7c17817f898ef8e3d111adaf862cbaf73f40deee
/cleansing/relevant_bids_reviews_clean.py
c8dec2d9f0474d4c44849c5387c5da64718100ce
[]
no_license
navitgaur/Yelp-Restaurant-Classification-Using-Customer-Reviews
5dbe8d8d4aa68ed52f4cd312830efa9534b0f8ed
db5b50f6c90e6cbed19d72e83b9e6f87b6e0537b
refs/heads/master
2021-01-17T17:39:15.061956
2017-02-24T06:49:55
2017-02-24T06:49:55
83,010,254
0
1
null
null
null
null
UTF-8
Python
false
false
1,462
py
import json from nltk.corpus import stopwords import re source_dir = '/home/svadhera/Documents/yelp_dataset_challenge_academic_dataset/original_data/' target_dir = source_dir + 'processed/' filename = 'relevant_business_ids_and_reviews.json' # stop words taken from nltk library stop_words = set(stopwords.words("engli...
[ "navit.gaur@sjsu.edu" ]
navit.gaur@sjsu.edu
e80b2c632811677af15c91426fdb116e3238f867
1b082458d2815b7671a5d77e809834184e0dabfa
/vcr/request.py
bbe950b3edd673d60637aff3f6c8f797cf48f426
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
afthill/vcrpy
6e4cc1cb842ddec75b73e579a12cf4ae7fb7ca8a
5aa2fb017f8aad3455ff3291f2f749a5a45664fe
refs/heads/master
2022-05-01T04:32:57.896556
2014-04-27T22:05:19
2014-04-27T22:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
class Request(object): def __init__(self, protocol, host, port, method, path, body, headers): self.protocol = protocol self.host = host self.port = port self.method = method self.path = path self.body = body # make headers a frozenset so it will be hashable ...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
4bff152fa8ed6f0e3d38debf95906289794e5f18
7ca69b055210451b41fa4ab7619b318f31bfd191
/LGA/manage.py
f4b3e00a844261d8c80fac7602c455e971760f9a
[]
no_license
helius-team/projectForLAG
d34ca5fb0cd52b4c47d87fdf22b25ca44b9586b1
54dd68f04baa1c964868e9d3240aeadf4765937f
refs/heads/master
2020-04-11T08:08:22.493939
2018-12-13T12:47:50
2018-12-13T12:47:50
161,633,187
0
1
null
null
null
null
UTF-8
Python
false
false
535
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'LGA.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you ...
[ "32494347+Medezee@users.noreply.github.com" ]
32494347+Medezee@users.noreply.github.com
a16bd241bd21dd97d1b8a5a7a1517e3416efbaf7
6310c834caf9f775d1ddeb0328a41d5648a733fa
/source/news_client/apps.py
d6b5afd22eed6a596ea215f66abe4ab00017b054
[]
no_license
big-arturka/test_task
54205245d26c966dd4c3982dc6809d8c989f2cad
8dc37994754f7ef04c5c697b5090be65f7058ebd
refs/heads/master
2023-06-06T19:36:38.291673
2021-07-08T05:55:32
2021-07-08T05:55:32
321,126,387
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class NewsClientConfig(AppConfig): name = 'news_client'
[ "arturkrmnlv10@gmail.com" ]
arturkrmnlv10@gmail.com
43d9d5839c1f40e7e162a5febf3a56661ec3ce41
816606d0f9d1c342b9995b948fc8c65d283cf3bd
/model/ner_model.py
19e76003f8e9d574139769117aca21f790eeadd2
[ "Apache-2.0" ]
permissive
LiangsLi/seq_tagging_extra
1beaf63dc109792809179361cb3137ace37c673a
bfad97b36e6c00c0e66ca8995fa30d7f60cf27de
refs/heads/master
2020-03-23T17:44:25.121060
2018-07-23T06:49:33
2018-07-23T06:49:33
141,872,973
0
0
Apache-2.0
2018-07-23T06:49:34
2018-07-22T06:52:19
Python
UTF-8
Python
false
false
16,542
py
import numpy as np import os import tensorflow as tf from itertools import chain from .data_utils import minibatches, pad_sequences, get_chunks from .general_utils import Progbar from .base_model import BaseModel class NERModel(BaseModel): """Specialized class of Model for NER""" def __init__(self, conf...
[ "poales@sina.com" ]
poales@sina.com
338acf90df73ddc089b851238d6d54e2b1879218
026ee4a8bcbd438ec14de04c7b3516c462fa35c0
/rosbuild_ws/src/behavior_manager/src/behavior_manager/srv/_DeactivateBehavior.py
fb12dcfc6b1929a5f0c68306c22b694ba6478611
[ "BSD-3-Clause" ]
permissive
Boberito25/ButlerBot
147fee6763863a8988d1969d7144cc8a17c7510b
959f961bbc8c43be0ccb533dd2e2af5c55b0cc2a
refs/heads/master
2021-01-23T00:10:01.907481
2014-05-05T18:03:34
2014-05-05T18:03:34
11,519,861
0
0
null
null
null
null
UTF-8
Python
false
false
6,738
py
"""autogenerated by genpy from behavior_manager/DeactivateBehaviorRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class DeactivateBehaviorRequest(genpy.Message): _md5sum = "03729983c4b9be7a4f2b56846a7ccbdc" _type = "behavior_manager/Deact...
[ "vsunder@Jeeves.(none)" ]
vsunder@Jeeves.(none)
72386b6d59178eab9a5507814a194401f40745ce
3f3125fe0e296ed33cdad755b086aa7cfcf6d6b4
/astute-dashboard/astutedashboard/dashboards/billing/config/views.py
20b836a4438f3388483a47652d3d5929cedfd48f
[ "Apache-2.0" ]
permissive
sreenathmenon/astute-project
9065923226be6eb9e309a97ba41c5ba3ec5b188d
00590f769742c44460ef892a803c601a5403e165
refs/heads/master
2021-04-30T02:05:25.890023
2018-07-19T06:28:53
2018-07-19T06:28:53
121,495,094
0
1
Apache-2.0
2018-02-24T10:35:14
2018-02-14T09:56:46
Python
UTF-8
Python
false
false
7,033
py
# # Copyright 2017 NephoScale # from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse_lazy from django.utils.translation import ugettext_lazy as _ from horizon import exceptions from horizon import forms from horizon import tables from horizon import tabs ''' from astutedashboard....
[ "sreenath.mm@poornam.com" ]
sreenath.mm@poornam.com
67b2a52ec7eb04fbc8eb8dce6312fd2b614f37a3
ef2018f6e2c8ccabf89cc5f0780cd8ded8db50c0
/textreuse/fine_tuning/original_skipthought.py
f9dc21db43a4e8a69e8f8ba58f37585b6f07d8f2
[]
no_license
emanjavacas/text-reuse
a8d14bfb105b30a3f7cf732f999027186ea899bd
96e39a2e6982677f7d1f6b0f8397977155481b33
refs/heads/master
2022-01-05T22:13:54.800591
2019-06-04T19:51:12
2019-06-04T19:51:12
115,821,869
1
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
import os import numpy as np import skipthoughts from textreuse.datasets import default_pairs, opusparcus_pairs from textreuse.datasets import PATHS, OPUSPARCUS_PATH if __name__ == '__main__': model = skipthoughts.load_model() for dataset in PATHS: for split in PATHS[dataset]: print(da...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
6a602ac63ceff3c935f7505cec4e8ce3632c4a66
0d6b7553627d9108f822477ed8d794df153579cd
/scripts/generate_reId_dir.py
deae483fc06cc19e6260a2aab1ba65ad1e4e0c9b
[]
no_license
WW2401/caffe_train
3fac962a9762d1cfc9910af57630e7164adb9050
fafd616ed96b88f627a25107fed9655d08cc8007
refs/heads/master
2020-09-17T10:08:54.755050
2019-11-25T12:38:02
2019-11-25T12:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
import shutil import os market_1501_dir = '../../dataset/reId_data/Market-1501-v15.09.15/gt_bbox' mark_1501_align_dir = '../../dataset/reId_data/Market-1501_align' def generate_name_dir(srcDir, disDir): if not os.path.isdir(disDir): os.makedirs(disDir) for imgfile in os.listdir(srcDir): srcimg...
[ "yuqj@deepano.com" ]
yuqj@deepano.com
0ef48c404fe6b7fa55da65dc7a87037e018860a4
998991df6a2afe0b8c6868cc81382d092a9ca165
/spark/pyspark_sql/pyspark_sql.py
aeafeadade225a151d8e977f6547c2561ae3028e
[]
no_license
big-roc/Python3Projects
797d255f96993f583a1d87debc05edabcd6f0e02
8cb8b3882219bdfe5fa65d16abf5d4ffb3185994
refs/heads/master
2023-01-22T21:43:08.359316
2020-12-08T07:00:34
2020-12-08T07:00:34
309,912,537
0
0
null
null
null
null
UTF-8
Python
false
false
6,140
py
# coding:utf8 import os import json import requests import datetime from os.path import abspath from pyspark.sql import SparkSession from pyspark.sql.types import StructType, StructField, StringType, ArrayType os.environ["SPARK_HOME"] = "D:/software/spark-2.4.2-bin-hadoop2.7" warehouse_location = abspath('/user/hive/...
[ "18666297422@163.com" ]
18666297422@163.com
afcfa24ce0a6237a0b2d184057852ff9988ac998
742fceefd39dae981fc528a2a58a0ac735b4beb4
/books/accounts/tests.py
9f6cdb6e0a7f0a2c2cddc05914726f583cf2082c
[]
no_license
kzkaneoka/django-for-professionals
cf6a973d117b9f48e10ec1128385a9914d724d8f
fa40f18205cde3ff40936af67b2cc8691a59e0c6
refs/heads/main
2023-03-23T00:12:14.905860
2021-03-16T04:48:36
2021-03-16T04:48:36
345,225,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse, resolve class CustomUserTests(TestCase): def test_create_user(self): User = get_user_model() user = User.objects.create_user( username="will", email="will@email.com", passwo...
[ "kzkaneoka@gmail.com" ]
kzkaneoka@gmail.com
a797ad4aa0901df584d197d3311931220a7fa063
b38c1d72d7c5d688a5f0942895a5f762880196b6
/blog/migrations/0001_initial.py
c589b4b16fa74505689fe1d50d1e5effa764d2fc
[]
no_license
zdimon/angular
c8a9874b427ca5bb4899c51c0dc0ba0d96191039
ea625523761d6b3300c9d9fb3c0aa7070fb634da
refs/heads/master
2020-05-17T01:28:35.187898
2015-07-17T15:29:16
2015-07-17T15:29:16
38,496,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(verbose...
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
82c2aa4d0eaae1c30b6b3a4280b8c5fe077a097d
0855c62efcf587975451e94db920d2323402d673
/vonage/__init__.py
d12f6df8150d5416972ac84ff20cd79bd8e6cbaf
[]
no_license
Psycadelik/Vonage-QnA-app
f18b5765c1e08fc1ebefac9dca14123a939a17ae
6044e2e98d341667959c4a9a9de024c4f389ffef
refs/heads/master
2022-11-11T08:17:05.897483
2020-07-07T13:19:13
2020-07-07T13:19:13
270,303,959
1
1
null
null
null
null
UTF-8
Python
false
false
2,499
py
import os import subprocess from flask import Flask, request, jsonify from vonage.config import configs from vonage.nexmo import nexmo_sms from vonage.fetch_phone_number import phone_number from dialogflowapi.intent_texts import detect_intent_texts from two_way_sms_api.send_sms import send_sms def create_app(environ...
[ "francisadrian9@hotmail.com" ]
francisadrian9@hotmail.com
d6cac20aa12d749297a858a8968dcdd59024491d
ad846a63f010b808a72568c00de016fbe86d6c35
/algotradingenv/lib/python3.8/site-packages/IPython/sphinxext/ipython_console_highlighting.py
e07bcc007d0673032ff83deee60ef9272ebd015b
[]
no_license
krishansinghal29/algotrade
74ee8b1c9113812b1c7c00ded95d966791cf76f5
756bc2e3909558e9ae8b2243bb4dabc530f12dde
refs/heads/master
2023-06-02T01:53:24.924672
2021-06-10T09:17:55
2021-06-10T09:17:55
375,641,074
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
""" reST directive for syntax-highlighting ipython interactive sessions. """ from sphinx import highlighting from IPython.lib.lexers import IPyLexer def setup(app): """Setup as a sphinx extension.""" # This is only a lexer, so adding it below to pygments appears sufficient. # But if somebody knows what...
[ "krishansinghal29@gmail.com" ]
krishansinghal29@gmail.com
b8c63e2a9ff5b3b420514c6b6366cbaa77806197
00b669412e2e875ffe0686e3806d91a317000f2a
/exercicios-python/ex089.py
ac0e9b94157e974f3a65efe7ebd1a35d07cca686
[]
no_license
quintasluiz/devaria-python
3923e4cb4caa4e01d75a4f73bcc2d9e3388e5e11
932e0a54483193c90011b4fcc1edc023335ef59b
refs/heads/main
2023-06-09T21:02:00.731941
2021-06-28T17:42:11
2021-06-28T17:42:11
376,903,539
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
ficha = list() while True: nome = str(input('Nome: ')) nota1 = float(input('Nota 1: ')) nota2 = float(input('Nota 2: ')) media = (nota1 + nota2) / 2 ficha.append([nome, [nota1, nota2], media]) resp = str(input('Quer continuar? [S/N]')) if resp in 'Nn': break print('-='*30) print(f'{"...
[ "79282765+quintasluiz@users.noreply.github.com" ]
79282765+quintasluiz@users.noreply.github.com
ada79e26a6b79c29b6c0b4644c97ddd305921f36
a38c60d1e36c02d4e237c786f25ed2733d284e06
/kafka/kafka_ProducingAvroData_RESTProxy.py
e38de3b24f30f3afe4e9e2b6f85c8a9c941c9f01
[]
no_license
kitushenoy/mywork
f0edc8f1be4b7918a0b64e505e7074d9256011df
2bfbeaa4b9e35e742a232f5b19e89cdbb354a9b0
refs/heads/master
2021-07-18T22:43:06.306183
2021-03-29T18:14:27
2021-03-29T18:14:27
89,013,367
1
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
# This script will send avro data to kafka using REST PROXY from dataclasses import asdict, dataclass, field import json import time import random import requests from confluent_kafka import avro, Consumer, Producer from confluent_kafka.avro import AvroConsumer, AvroProducer, CachedSchemaRegistryClient from faker impo...
[ "Kirthi.Shanbhag@wdc.com" ]
Kirthi.Shanbhag@wdc.com
1f33bb44befdd86e21f7bb8f3928a6216e1bf117
d3de80b12759325777cc2f25f53f7aca2d355bdb
/models.py
b54a065219c872cdc13432311028daf90b7419a4
[]
no_license
Jzz1943/YOLOv3-quadrangle
c41dfc35694e1f807371b2f822e8bdf00f2c1956
44d6b0d140f6062fcf48223bdac516f654162ab7
refs/heads/master
2020-04-08T15:01:46.204166
2018-11-28T07:31:24
2018-11-28T07:31:24
159,462,466
2
0
null
2018-11-28T07:36:28
2018-11-28T07:36:27
null
UTF-8
Python
false
false
11,971
py
from collections import defaultdict import torch.nn as nn from utils.parse_config import * from utils.utils import * def create_modules(module_defs): """ Constructs module list of layer blocks from module configuration in module_defs """ hyperparams = module_defs.pop(0) output_filters = [int(hyperpa...
[ "noreply@github.com" ]
noreply@github.com
d24441e40e800b1176311fbd8cd4288f21d16f97
db0af5141f449ee25de125da810587428c7617d7
/enquiries/migrations/0001_initial.py
067db8b89250a9ed465fca1406a3fa6375d0f3fd
[]
no_license
sunguru98/btre_project
4ad68e1996c36a1a9f500709c1087abe16f6a1ee
e9773038386aceba48d244176da9590a947b557a
refs/heads/master
2020-04-09T12:28:20.854963
2018-12-12T13:21:47
2018-12-12T13:21:47
160,351,451
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# Generated by Django 2.1.4 on 2018-12-12 03:59 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Enquiry', fields=[ ('id', m...
[ "sunguru98@yahoo.co.in" ]
sunguru98@yahoo.co.in
f20a451ab0151f2c808520c4bd869d1418272c3b
b2438cda1dfae3a5677c2a75c88a0b6ec98f0f9a
/ex/generator.py
6e7b31cbf5d6ca3465806721df9b7b5effd80612
[]
no_license
SimonXu1992/lxf_study
b2f4e22d91b33688f4a0435fef9410da051a8a37
2b6db0cb6bddfb5e1a81e0f237a9657949c65540
refs/heads/master
2020-08-18T15:24:06.015470
2019-10-20T12:50:26
2019-10-20T12:50:26
215,806,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,670
py
# python3 # 非常重要的一点列表是引用类型 # import copy # def triangles(): # """ # 使用copy库 # :return: # """ # L = [] # while True: # if (len(L) < 2): # L.append(1) # # else: # length = len(L) # for i in range(length - 1): # L[i] = L[i] + L[i +...
[ "xsc19920226@163.com" ]
xsc19920226@163.com
595c01bd43d08b6b8b738334caae83010da66da1
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayMarketingDataDashboardApplyModel.py
25bfe04a2359d1e8304fbfc2eb32f13f51baf790
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayMarketingDataDashboardApplyModel(object): def __init__(self): self._dashboard_ids = None @property def dashboard_ids(self): return self._dashboard_ids @dashboa...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
2b784f48a7d1e789e0051df31ca63854262985b6
88f46e6c381dbfacdf701eae84c0b187cae0747a
/methods/shared.py
80a1cf936b591db8d91c880fd1b7f005af5ea7c0
[]
no_license
EduardoVernier/landmark-based-dynamic-projections
549cd5ae1e65ea24d53a2d60d9ab14be8eaefcfd
c5420eea850a06b5d19b0b311fe0ee25a0757f35
refs/heads/master
2023-05-08T15:28:32.664766
2021-05-28T08:47:12
2021-05-28T08:47:12
234,282,575
0
0
null
null
null
null
UTF-8
Python
false
false
3,942
py
import numpy as np import pandas as pd import cv2 import re import glob import natsort from sklearn.utils import shuffle # Load drawings from the quickdraw/fashion dataset def load_drawings(base_path): categories = list(set([img.split('/')[-1].split('-')[0] for img in glob.glob(base_path + '*')])) X = [] C...
[ "efvernier@gmail.com" ]
efvernier@gmail.com
2df52fb16d7d48c296b17e5db4333179d3dcaf3a
dff2b1b20601168aecccc454764faa3d6fa54318
/visualdns/handlers/AlertPageHandler.py
c2f560d73c93623d88e2f55abe0e6ab41d9ef984
[]
no_license
whisp1830/dns_anomaly_detect
7effffa3b4df34069c9020e14d7f3660173a3a3a
c97478eeaa020914667fcf6772f3e103f1eec9f7
refs/heads/master
2022-05-07T23:37:26.525038
2020-04-24T13:01:16
2020-04-24T13:01:16
228,736,680
2
3
null
null
null
null
UTF-8
Python
false
false
283
py
import sys,os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) import math import json import random import datetime from BaseHandler import BaseHandler class AlertPageHandler(BaseHandler): def get(self): self.render("alert_detail.html")
[ "whisp@whispdeMacBook-Pro.local" ]
whisp@whispdeMacBook-Pro.local