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
56b43d777dfaf6cb5b85e231c3a813f494637947
d03e5154b1b92616b9dbbef450f08d8fa32b04a9
/search_spatial_verify.py
a08858f19839f155f97b402830cb6cce4487c313
[]
no_license
xiej23/image_search_engine
1a3dd670b3e1475f39e79ac3ac2279680760df9e
e46c4350890f27e5bb4c7e9f0ce13369b2050f64
refs/heads/master
2022-10-14T11:09:49.415703
2020-06-15T16:19:49
2020-06-15T16:19:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,586
py
# import the necessary packages from __future__ import print_function from descriptors.detectanddescribe import DetectAndDescribe from ir.bagofvisualwords import BagOfVisualWords from ir.spatialverifier import SpatialVerifier from ir.searcher import Searcher from resultmontage import ResultsMontage from scipy.spatial i...
[ "kaushalbhavsar0007@gmail.com" ]
kaushalbhavsar0007@gmail.com
ff448bf4b1dfbc74d3d84fc327f77df4c1b8f27a
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/Codeforces/ECR91/probC.py
598044427a1d17ace008ba31acb2ec56b2763c53
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
import sys input = sys.stdin.readline Q = int(input()) for _ in range(Q): N, X = map(int, input().split()) A = list(map(int, input().split())) A.sort(reverse=True) ans = 0 count = 1 for a in A: if count*a >= X: ans += 1 count = 0 count += 1 print(ans...
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
ba40440b518f567412c33fc4f87b3556b4301a36
55eef30f9337cffc2b820d2d2c37548d2c2a62da
/app/gmail_api.py
4f7fe564b52653c5b68230fb4ba8b5945eda50bf
[ "Apache-2.0" ]
permissive
jssprz/HerokuFiles
9831f877625b3ec75aac6a313e152f7150d7e200
858f141e47ed8181c9ebcbb3bd792e989add05da
refs/heads/main
2023-06-14T18:59:05.106651
2021-07-05T15:39:39
2021-07-05T15:39:39
384,276,578
0
0
Apache-2.0
2021-07-09T00:05:57
2021-07-09T00:05:57
null
UTF-8
Python
false
false
466
py
import yagmail from config import * # Send file by email yag = yagmail.SMTP(get_gmail_username(), get_gmail_password()) def upload_file(recipient, attachment): """ Send email with file :param recipient: recipient of the email :param attachment: path of local file to upload :retu...
[ "gcatanese@yahoo.com" ]
gcatanese@yahoo.com
7bc7328946d119100d63d0050bae32701856b0b7
0973bb00298e4c1d9442f0335d996517f02e8ab4
/healingPython/argparse_prac2.py
390dffe82ef84ccaaa359d3ed0a6aa9cd62d2d78
[ "Apache-2.0" ]
permissive
glayneon/amolang.cloud
3db1b038027eb7c1f509d710733072744dee8538
9bcba8191f12c858db03b2c7cdb31c441a8a77bd
refs/heads/master
2020-03-21T04:38:28.887845
2019-01-15T08:33:20
2019-01-15T08:33:20
138,119,763
0
0
null
null
null
null
UTF-8
Python
false
false
4,276
py
#!python import psutil import logging import random import string import time import json import argparse import os class slogger: '''Make logger instance that will send message to STDOUT by default. This class will make an instance using logging module. Returns: logging instance. ''' ...
[ "yeraongon@gmail.com" ]
yeraongon@gmail.com
67c2e46759a10cb31fe6e793beb35e7c09bfe4d5
5d5e13a94439792e7ee064875e373f555075d16d
/user/management/commands/add_user.py
9dacff713072a1e6f6ab807f7b45aa4b7a3b7218
[]
no_license
Ishtiaq11/task_project
d39d44948df52ee24a46b037cc45475ba53ca9c2
462bc6b87ccfb2e49c7d9ebca8319eee2f5a1e95
refs/heads/main
2023-04-14T12:23:51.093886
2021-04-24T13:13:36
2021-04-24T13:13:36
356,129,910
0
0
null
2021-04-24T13:13:36
2021-04-09T04:04:09
Python
UTF-8
Python
false
false
1,191
py
from faker import Faker from user.models import Role from django.contrib.auth.models import User from django.core.management.base import BaseCommand class Command(BaseCommand): help = 'Add new user' def handle(self, *args, **kwargs): Role.objects.all().delete() User.objects.all().delete() ...
[ "rakibul.gononet@gmail.com" ]
rakibul.gononet@gmail.com
64e00704caba99d1ada7ac855af53f7c04a28844
55c6343fa98a97ca375b53e244adfcf721fb68e5
/djangoProject/qyt_devices/insert_db/__init__.py
8a1e29255b843e436ee4e547a3841e38559e51ee
[]
no_license
Prin-Meng/NetDevOps
7a835879fb55c26b792d06c729dcaf58c1427c5a
c852cdee300135320c3844c42755f0f6b1b6688a
refs/heads/master
2023-06-01T22:39:49.041141
2021-06-20T02:34:00
2021-06-20T02:34:00
345,110,429
0
0
null
null
null
null
UTF-8
Python
false
false
3,877
py
import django import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoProject.settings') django.setup() import time from qyt_devices.tools.snmpv2_get import snmpv2_get from qyt_devices.models import Devicetype, SNMPtype, DeviceSNMP, Devicedb, Devicecpu # 删除现有的数据 Devicecpu.objects.all().delete() Devicedb.obj...
[ "772062725@qq.com" ]
772062725@qq.com
d5ca3132b484042d95161fff6c873954396d1563
f6cb1b34668f4e864836c595efce40083baa8f91
/tests2/tests/fbttn/test_sensor.py
94e28644f7309226bb77717cdcae9373616fa8da
[]
no_license
isabella232/openbmc
d419d61092f457d2c25a057831fc8d56cd482e8a
7a0ece893ac2d985af85701d8a003fa62a34cae0
refs/heads/helium
2023-04-06T06:29:29.854842
2021-04-16T01:04:35
2021-04-16T01:54:48
358,585,013
0
0
null
2021-04-16T12:02:45
2021-04-16T12:01:40
null
UTF-8
Python
false
false
1,571
py
#!/usr/bin/env python3 # # Copyright 2018-present Facebook. All Rights Reserved. # # This program file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; version 2 of the License. # # This program is distributed ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
5e8bc96eb0f62899702d662ace41b95f18a39518
88a925c350db834972db7190f41d776d20f4345d
/fastapi/basic/response_model.py
a530b18388d21630e05d115c75f868dc79c26837
[]
no_license
IndominusByte/deeplearn-all-stuff-fastapi
037b0c032895790f5becf9a1ebd10af337a4249f
81c60e603081aae5f0b16e9a4d62e894b966df3e
refs/heads/master
2022-12-26T00:52:34.810929
2020-10-03T09:42:45
2020-10-03T09:42:45
293,742,975
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from fastapi import FastAPI from pydantic import BaseModel, EmailStr, SecretStr from typing import Optional, List class Item(BaseModel): name: str description: Optional[str] = None price: float tax: Optional[float] = None tags: List[str] = [] class Config: min_anystr_length = 1 ...
[ "nyomanpradipta120@gmail.com" ]
nyomanpradipta120@gmail.com
28371737c4499d4f72faf4720e96071758777642
9d40c348e256bd74455521a7a11d8a4ab5d0d9f0
/test_etest/test_fixtures/test_scripts/7d982739ef8348d48935d14cb74f160d.py
2e1f28c61605c8c7c4ae4761faf3deaaa2518ba2
[]
no_license
tianon/etest
acf5bd2f06cf9a5024353cfc8128c3e968b889c2
01f24e46caaa3c75c48c43e59a8c03da81e06e3b
refs/heads/master
2021-01-17T20:11:43.244552
2015-05-03T15:10:06
2015-05-03T15:10:33
36,564,139
0
0
null
2015-05-30T15:38:31
2015-05-30T15:38:31
null
UTF-8
Python
false
false
638
py
# Copyright (C) 2014 by Alex Brandt <alunduil@alunduil.com> # # etest is freely distributable under the terms of an MIT-style license. # See COPYING or http://www.opensource.org/licenses/mit-license.php. from test_etest.test_fixtures.test_scripts import SCRIPTS _ = ''' python_test() { nosetests || die "Tests failed ...
[ "alunduil@alunduil.com" ]
alunduil@alunduil.com
4a3d9d581d12ea1ae3ea021e342e85d3169f537d
6d443be5a5dbff062257cd40c4f5b4945812004b
/qtas/ensemble.py
9de83db94dbfa762a7200ef6bbf7bc28916e6aa3
[ "BSD-3-Clause" ]
permissive
nokia/gradient-boosted-models-verifier
fe83f1e918b75deec30ff3bb0e1e67fa8fa1add9
e2db19d86e39cb2b82a3f6249305459f18b7fda4
refs/heads/main
2023-05-30T23:30:18.851292
2021-06-14T07:16:25
2021-06-14T07:16:25
374,602,869
1
0
null
null
null
null
UTF-8
Python
false
false
18,222
py
# -*- coding: utf-8 -*- # © 2018-2019 Nokia # #Licensed under the BSD 3 Clause license #SPDX-License-Identifier: BSD-3-Clause import numpy # import math from z3 import * # @UnusedWildImport from sklearn.ensemble import GradientBoostingClassifier # from sklearn.tree import _tree from xgboost.sklearn import XGBClassi...
[ "maayan.goldstein@nokia-bell-labs.com" ]
maayan.goldstein@nokia-bell-labs.com
97469d166ee1c11a75b78a43d37270ea43a50214
172e4a0a42af7b6031e0755863765882844c12c9
/pywayland/scanner/event.py
d2aa79e4d849e1f326ed15c28920f284ee954f21
[ "Apache-2.0" ]
permissive
green-green-avk/pywayland
7020da05d46596a62185ad69e59c0e22633d4681
65aae61d5df320dc0c39d46761e44a4e34137bb2
refs/heads/main
2023-02-27T22:50:10.883373
2020-12-27T21:40:45
2020-12-27T21:40:45
337,197,445
1
0
Apache-2.0
2021-02-08T20:14:20
2021-02-08T20:14:19
null
UTF-8
Python
false
false
2,231
py
# Copyright 2015 Sean Vig # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, sof...
[ "sean.v.775@gmail.com" ]
sean.v.775@gmail.com
634619ac997537061052ec76d0a879e9283ea4bd
3d919114df49b96e31fa7fed767707a01f5f1a0f
/08 Navigating with Beautiful Soup - Going Up/028 parents.py
3d2b4c4ffda2434b3c2e85c1e51752b2d006a676
[]
no_license
ranganadh234/webscraping
2233590e6a6b6664eb70ae1730580659bcb56955
7fa11e465e6f74dbdb2918cb81b871916fe6c053
refs/heads/master
2020-12-15T08:05:59.120975
2020-01-20T06:48:56
2020-01-20T06:48:56
235,036,259
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
from bs4 import BeautifulSoup def read_file(): file = open('three_sisters.html') data = file.read() file.close() return data soup = BeautifulSoup(read_file(),'lxml') # .parents --- returns a list ( generator ) of parents link = soup.a for parent in link.parents: print(parent.nam...
[ "ranganadh234@gmail.com" ]
ranganadh234@gmail.com
fa5d3b27d655bc9a4a771ba01e6247b8cf74815b
e85ee961a71abfe3892d266b34529ad4600e6b42
/features/steps/User can select color.py
78c6d3f5e9363cd3dcf7443bc8f9b33c0e1e39a1
[]
no_license
kazijesin/gettop-automation
80efdabe971426dd0fced088951c09f19ce157eb
be30249f11e810495ef6e247afd5a4ad7f468d3d
refs/heads/main
2023-07-05T01:59:59.573213
2021-08-15T18:37:46
2021-08-15T18:37:46
392,508,619
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
from selenium.webdriver.common.by import By from behave import given, when, then from selenium import webdriver @given('Open Amazon product B07F2N8KWH page') def open_amazon_product_page(context): product_id = context.driver.get('https://www.amazon.com/dp/B07F2N8KWH?th=1') @then('verify user can click through colo...
[ "kazijesin@gmail.com" ]
kazijesin@gmail.com
64ee16abcbe29058926e42f640c79595f3284361
6014755d8a4261336c06210ab9b8f9c783e10d28
/src/model/attention_model.py
e6eea616d4d5ca4037e6f5bedd0415dcf95a9b59
[]
no_license
yupeihua/SOHU_competition
33775357ff15c8c924400d33f99158d94a0d5737
168fb3f0f382ab95a4116d639c2c1de886acdfc2
refs/heads/master
2020-03-22T19:09:49.095217
2018-07-11T01:53:10
2018-07-11T01:53:10
140,510,033
8
0
null
2018-07-11T02:18:26
2018-07-11T02:18:25
null
UTF-8
Python
false
false
2,518
py
# -*- coding: utf-8 -*- """ # @Time : 2018/7/6 上午11:50 # @Author : zhanzecheng # @File : attention_model.py # @Software: PyCharm """ from keras.layers import * from keras.models import * from model.model_component import AttentionWeightedAverage from model.model_basic import BasicModel from keras.utils.vis_utils...
[ "50673223@qq.com" ]
50673223@qq.com
2b6a129f0d9522336f6edb213499ad4c61064e74
a5ba631dddaf2912c309601f8fbdd3c5b494fe20
/src/command_modules/azure-cli-lab/azure/cli/command_modules/lab/sdk/devtestlabs/models/subscription_notification_properties.py
b9fc92eb180e232ec8a8f95a491cf06d9dbd3a0d
[ "MIT" ]
permissive
saurabsa/azure-cli-old
37471020cd2af9a53e949e739643299f71037565
f77477a98c9aa9cb55daf5b0d2f410d1455a9225
refs/heads/master
2023-01-09T04:00:15.642883
2018-04-23T21:40:04
2018-04-23T21:40:04
130,759,501
0
0
NOASSERTION
2022-12-27T14:59:06
2018-04-23T21:33:34
Python
UTF-8
Python
false
false
748
py
# coding=utf-8 # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------...
[ "saurabsa@microsoft.com" ]
saurabsa@microsoft.com
a9c5c9383436579ca30acdc3b1563e3b8454991c
5256661b302738acede0e6d79f6d2cb4c7de9b99
/alien.py
a80b6805204f2207baeb384a69015683abeaed54
[]
no_license
ArtemiiLulevich/Python_My_game
0f80f91fa4d814b8080e596f176f48060987433d
fb337b6427b44f9a485d04a4a1a2d9badf33cdd4
refs/heads/master
2022-07-10T17:49:03.160551
2019-11-02T16:10:43
2019-11-02T16:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
import pygame from pygame.sprite import Sprite class Alien(Sprite): """Class that present one alian""" def __init__(self, ai_setting, screen): super(Alien, self).__init__() self.screen = screen self.ai_setting = ai_setting self.image = pygame.image.load('img/Alien_ref.png') ...
[ "artemii.lulevich@gmail.com" ]
artemii.lulevich@gmail.com
5a6f4091193bccde341bc3a84853bb66ed6af836
4ec6ed4ebcb9346042669e6aa03be0e502ed48b3
/leetcode/degree-of-an-array.py
d2e83b90bea0069a9fd08652021f2629686a76c3
[]
no_license
shonihei/road-to-mastery
79ed41cb1ad0dc2d0b454db2ccc7dd9567b03801
312bdf5101c3c1fc9a4d0b6762b5749ca57efe08
refs/heads/master
2021-01-22T19:59:17.038641
2017-11-16T15:21:55
2017-11-16T15:21:55
85,266,186
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
""" Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possible length of a (contiguous) subarray of nums, that has the same degree as nums. Example 1: Input: [1, 2, 2, 3, 1] Output: 2 Explan...
[ "shonihei@gmail.com" ]
shonihei@gmail.com
1e0994f4e3d42c65bfbfc8138c22de4a829413f7
d6aba9e818c6f6d021d8407cba97f21473b53f17
/sdnve_plugin/sdnve-plugin-icehouse/plugin-archive/int_support/neutron-sdnve-agent
b1b3a995b3a9f3b6c019cec5fd9a86d5b9c62ba7
[]
no_license
yeasy/sc_demo
14a064813b3bb8673b25d90c7effeec00f9574cc
44493a6a3a3f74c4bef1b3a18dc5b0bba6f827fb
refs/heads/master
2020-04-22T06:12:02.262764
2014-10-29T05:36:19
2014-10-29T05:36:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 Red Hat # 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://...
[ "yangbaohua@gmail.com" ]
yangbaohua@gmail.com
84ef810c5c406c0e804b8c3f86ef8d9b90a780d6
38a80a057aab8ebd0f26ea347a87fa3afb2432eb
/dedict.py
434924084c650b55127ab0ad19a8f62429ca661d
[]
no_license
aped/dict_tools
3d0c6544c2fafc961905eae4088766996ee6f106
bb038055ca386f7fe31f3b27a5cafb2c94c2d279
refs/heads/master
2020-03-30T20:41:52.884110
2013-03-12T00:21:27
2013-03-12T00:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
#!/usr/bin/env python2.7 """ Takes a nested dict structure and turns it into a list of dicts, merging the old highest-level keys into the lower dicts. """ def dedict(adict, new_key): lst = [] for k,v in adict.items(): v[new_key] = k lst.append(v) return lst
[ "andrew.r.pedelty@gmail.com" ]
andrew.r.pedelty@gmail.com
12870699608e9ba17b7effdeee942a10a6e3a251
6b0c4f71685bf538e00ad97582d5333096af242c
/lacquer/tree/grouping.py
999a8765cf396633938555790ba34c603fad8865
[]
no_license
lsst-dm/lacquer
b487152094d222263fdfdfaf2f8b4095d3a85897
c2e8b9ab0cdcc4e018782cb81f21733a6da3f2d4
refs/heads/main
2023-07-21T11:36:23.412905
2023-07-10T00:50:05
2023-07-10T00:50:05
55,021,566
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
from .node import Node class GroupingElement(Node): def __init__(self, line=None, pos=None): super(GroupingElement, self).__init__(line, pos) # def enumerate_grouping_sets(self): # pass class GroupingSets(GroupingElement): def __init__(self, line=None, pos=None, sets=None): supe...
[ "bvan@slac.stanford.edu" ]
bvan@slac.stanford.edu
132b194edad5e920576624ca8e253ca557d62443
47b621365f3c300e02ca584c546ffa221e2ad448
/scrapping/__init__.py
a75abf687a1d9603c8e19ce78ceabadd65e329ee
[ "MIT" ]
permissive
aipyth/scrapping
42d0e8eae97f5789609358a778c9f0d3f1b45f99
a7746c1b15a3ff3cffc4fc011d1a4280a03e3ced
refs/heads/master
2020-06-26T03:23:55.519636
2019-07-29T19:09:12
2019-07-29T19:09:12
199,511,809
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from .requests import Request, Method from . import data_handler as DataHandlers from . import spider as Spider
[ "ipython10@gmail.com" ]
ipython10@gmail.com
c3c5970408d92c53453e9594b8d80ca37c0bc232
5157b08ea91d2f313fcabf8497a2cf7722b1f771
/learn/test.py
9a25a7a3c9e583bd11b6ae40c5e5029c44b2c212
[]
no_license
ay27/MatrixFactorization
c829347f59d9a995a1c299753c3d5a06031e2cf1
53e0c6aacedd5285804a7c2fb79ece8642393e2d
refs/heads/master
2021-05-04T11:00:33.098096
2017-02-01T10:16:12
2017-02-01T10:16:12
53,820,648
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
# Created by ay27 at 16/3/25 def ff(x): return {'aa':x, 'a': x*x} obj = ff(2) print(obj.a)
[ "me@ay27.pw" ]
me@ay27.pw
b373450530b1e02b06734dca333f4f44b9a97f91
7e8bf70d752466b326307b71f9c2d211cfbab611
/SQL.py
34c5bdbf7db7f488da1a18cfdd1dcfd006089b68
[]
no_license
cgallego/Get_Anonymized_Accession_annot2db
e814024ee220909ae56f65116900442a3aa01816
805d0c07f9363e3ac4d57b9bf7d1820ed25ee13a
refs/heads/master
2021-01-02T09:25:52.442744
2015-06-29T19:01:42
2015-06-29T19:01:42
32,989,228
0
1
null
null
null
null
UTF-8
Python
false
false
8,239
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 13 10:36:51 2013 @author: Karen Klassen """ from dictionaries import biomatrix_user, biomatrix_password, biomatrix_host,\ biomatrix_database, program_loc import instances import os import sqlalchemy from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.d...
[ "admin@webdsdesign.com" ]
admin@webdsdesign.com
7168d30b25a5b7bfe321011b2883072fa9d97db1
51a5661570dfb361984733b53441a62a62bff5e0
/scratch/ngc4590-ps1e/target-selection.py
9aebb6ee8343edbad72a2c3e5cf64c0674157644
[ "MIT" ]
permissive
ahriley/gjoll-ngc3201
e4db7b4df6d9f3148e891f353c0756a99b64c52a
5d38e00b69c939d3425fa66696ffc5be5833c5c6
refs/heads/main
2022-11-23T13:32:25.241627
2020-07-23T22:19:48
2020-07-23T22:19:48
281,833,420
0
0
null
null
null
null
UTF-8
Python
false
false
4,095
py
import numpy as np import astropy.units as u import astropy.coordinates as coord import matplotlib.pyplot as plt import pandas as pd from scipy.interpolate import interp1d import utils # Galactocentric frame post-Gaia (defaults from astropy v4.0) coord.galactocentric_frame_defaults.set('v4.0') # parameters for orbit ...
[ "30327239+ahriley@users.noreply.github.com" ]
30327239+ahriley@users.noreply.github.com
9f7068ea449afc9c50905e8fa189a76f8acb94aa
f9d5bc590bd6c6274d7a6efec0f60cac1d8286b2
/assets/coins/amsterdamcoin/amsterdamcoinCreateGraphTransactions.py
a689e693577d2f8f8a533124a3483383e58434e2
[]
no_license
pr0logas/grepblockBEpython
35c83c1bf2114fc9417bedff6cf2a6e2ad2e667e
bbeaa290d13d80f993d843c7f1dbbfd373eee332
refs/heads/master
2022-10-03T23:35:44.600740
2020-03-09T08:24:53
2020-03-09T08:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
#:: By GrepBlock.com developers // pr0logas, mrNemo #:: Modified date: 2019-11-30 #:: Description: This file is a workspace for assetGraph creation. import sys, time from datetime import datetime, timedelta from time import gmtime, strftime from amsterdamcoin import * sys.path.append('../../../') from mongoDB import *...
[ "prologas@protonmail.com" ]
prologas@protonmail.com
0ef902b868c00e4a371703abd337f666f56f2c44
263018d629a59ff505c81d15a4b9d837a4744fdd
/BST/CountRange.py
fc6947c8f9f1640f135b6117df6eca5202997df2
[]
no_license
soheshdoshi/Ds-Algo
599ba2d97e14b896946266d163c028242d5d4a2b
a818a67fc18b9c81fdeb999dd0c81c52c0172cc4
refs/heads/master
2021-06-01T21:14:37.857737
2020-06-18T20:04:01
2020-06-18T20:04:01
254,314,157
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
def countRange(node,B,C,count): if node: countRange(node.left,B,C,count) temp=node.val if temp>=B and temp<=C: count[0]+=1 countRange(node.right,B,C,count) return count else: return count def mySoution(node,B,C): count=[0] countRange(node,B,C...
[ "doshisohesh@gmail.com" ]
doshisohesh@gmail.com
d17c1862380e18d3bd2253b3957060a6e791edab
8fbb6fb2090c9861c70c6ffc1c6191b53d7d0c05
/lib/settings/settings.py
6ed47d3d438bd6653fa4b11addc3b7b2c0527656
[]
no_license
carlesm/RomTaStick
4992d3bebb1390ad9324d91d5004184c60a3c1af
db3ec6f23a8442941edbe4c7dcd71558405ea8a1
refs/heads/master
2020-05-26T16:25:33.604803
2018-03-03T17:45:01
2018-03-03T17:45:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import ConfigParser import os class Settings(object): _file_path = '/home/pi/.RomTaStick/settings.json' _config = None def __init__(self, file_path='/home/pi/.RomTaStick/settings.json'): self._file_path = file_path # Create parent dir parent_dir = os.path.abspath(os.path.join(sel...
[ "gi.grousset@gmail.com" ]
gi.grousset@gmail.com
21e0898ae647bb0582a66d36d3ffd5919e54ca48
aa0270b351402e421631ebc8b51e528448302fab
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_resource_guard_proxy_operations.py
1e545be7b61f367e25f5c5cc071de4c57a7d1ada
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
22,106
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
d6965f82ab816e989349999bde7d4957807710c9
d5ae279229727da8414006848806304a0a215c05
/condition4.py
9bda43e978e4e87bf2a60d3e18b2631debf6191d
[]
no_license
biroa/edx_python
9c425da0c770155bfb0ff1efa4cc8c9cbe1bcd93
0b6c70364f282ea6a40b0e83ff85ed45db02b761
refs/heads/master
2021-01-01T05:16:39.873028
2016-05-08T12:38:44
2016-05-08T12:38:44
58,311,100
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
if 6/2: print('three') elif 5 : print('five') else: print('zero')
[ "adam.biro@gmail.com" ]
adam.biro@gmail.com
da362ac93063d909cd1b9c6aaa965f0e388c36c7
d8ce4b82a490fd466e4e557ba1930513bf63ce69
/00_raw_data_processing/data_processing_pipeline/02_create_combined_study_table.py
cdfb27cb4898005cc285358ae4ccef4aaed0d643
[]
no_license
jzhao0802/ferring
cbd50bc632cb2a4604249a88aed9a116e9389c7b
a01ecc1a42401bc37123b2b75cd24caafe0218fc
refs/heads/master
2021-09-05T12:17:49.596891
2018-01-24T16:03:33
2018-01-24T16:03:33
119,166,839
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
# -*- coding: utf-8 -*- import pandas as pd import set_lib_paths from functools import reduce import os def main(data_dir, study_code): dfs = [pd.read_csv(os.path.join(data_dir, filename)) for filename in os.listdir(data_dir) if '.csv' == filename[-4:] and 'MERGED_COUNT_DATE.csv' not in filename] merged_df ...
[ "Shaun.Gupta@uk.imshealth.com" ]
Shaun.Gupta@uk.imshealth.com
4f4845e3d3c44b24c019c06297e9dabefbfa99da
8325a9fced550c0754ea9727429ec88d5e843ff1
/gluon/gluoncv2/models/model_store.py
f9a7f91324afe907bf1b375410733d8324b58953
[ "MIT" ]
permissive
agdyangkang/imgclsmob
61de85aa460b01a57a31062c2a7c8c5fae186e73
14f212e562bb255d5c27687415fd06dd86c1db6c
refs/heads/master
2020-05-30T22:47:24.814699
2019-05-31T19:55:15
2019-05-31T19:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,306
py
""" Model store which provides pretrained models. """ __all__ = ['get_model_file'] import os import zipfile import logging from mxnet.gluon.utils import download, check_sha1 _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('alexnet', '2126', '9cb87ebd...
[ "osemery@gmail.com" ]
osemery@gmail.com
3250ad1570e4e1fc2fe80c9dd17069f48f7b0791
96c2daf3ca0966191a29657cb444034a079880c5
/Scrap/CNN/ResNet50_test_lead_ann.py
63164ebac96ed50d5d3464b6e1d30ddacb8d9756
[]
no_license
weilin2018/predict_amv
282c65ab7cbd59d0ae94a3903af015a5738f4566
2a2cc9c01e291992c2e97d40f47f4defe1566cd8
refs/heads/master
2023-03-27T06:00:23.551320
2021-03-26T02:42:17
2021-03-26T02:42:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,804
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ResNet50 Test Lead, Annual Train ResNet50 to forecast AMV Index at a set of lead times, given normalized input from the CESM Large Ensemble Can also indicate the region over which to predict the AMV Index """ import numpy as np from tqdm import tqdm import torch ...
[ "glenn.y.liu@gmail.com" ]
glenn.y.liu@gmail.com
1078df92752f26a966e20cd0f21e05fcdd32c400
df1482f251a2d801e7b77bbd1d5c9a408e71e7ef
/05_visualization/plot_interactive_scatter.py
36e98b4e9ec6447f6dc83c224b9918ce2a0b96ee
[]
no_license
silvewheat/bioNotes
a34e1aa79df42799d83b5c4f3e1b2a583360fc1a
d96c4710c1f620c18fdf92fe21f38d73671b9580
refs/heads/master
2021-12-30T01:52:40.925861
2021-12-27T14:11:30
2021-12-27T14:11:30
113,825,423
3
2
null
null
null
null
UTF-8
Python
false
false
3,115
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 9 17:00:44 2018 @author: Caiyd """ import json import click import pandas as pd import seaborn as sns from bokeh.plotting import figure, ColumnDataSource, output_file, save from bokeh.models import HoverTool, BoxZoomTool, ResetTool, WheelZoomTool, PanTool, SaveTool, Zoo...
[ "silverwheat@163.com" ]
silverwheat@163.com
6b50f463d5aae81034a63640b931851a10de45d4
ca0f021e8f872a4a9ba5ef4e1ceb60bd6b0f5f1d
/bnotes/views.py
41aeff996e53472d8a99303f02c4f168e5c82141
[]
no_license
RitikPatle/Bnotes-Minor1
490409d98b36535f679150eefe1b1fd0732daaed
3dbf4b1b95a894b46302dfa99bc3dd532affe2ae
refs/heads/master
2023-04-30T20:59:21.374543
2021-05-12T09:15:24
2021-05-12T09:15:24
366,656,100
2
0
null
null
null
null
UTF-8
Python
false
false
4,568
py
from .models import * from django.shortcuts import render,redirect # Create your views here. def index(request): return render(request,'index.html') def notes(request): subs=Notes.objects.all() return render(request,'notes.html',{'subs':subs}) def cs(request): obj1=Sub.objects.raw('select * fro...
[ "ritik.patle.000@gmail.com" ]
ritik.patle.000@gmail.com
eb1ebfc16b9a38b3d2a5ad94b96850723860d3c8
02248796a099a07411557a84ce49d239ecbeffe5
/randomRoll/matrix.py
a8ccd98f8b734d0ef0ca8e6d3c8ac3a9b8023c43
[]
no_license
HarrisonHelms/helms
d75699ef6dea4701c9d168407f449de155c4be99
fee008e752b42a81ef467c3e865eddc72894387b
refs/heads/master
2021-09-04T04:41:16.896631
2018-01-15T23:24:15
2018-01-15T23:24:15
109,761,616
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from random import random def roll(): return round(random() * 839842908294839849839834983499876543234598349898398349349834986332784983873983083972502793270934843908) #set roll() equal to rolled before you print it so you dont have to print a function rolled = roll() print(rolled)
[ "harrisonhelms@Harrisons-MacBook-Air.local" ]
harrisonhelms@Harrisons-MacBook-Air.local
fa2a4673612d10290d0647f4e530246358165a25
5c236dd226a3f8c85a5f3d2f9e23f4cf1b82b320
/flaskapp/views.py
65f8ed7c1f487d0d89884bae5be00166736d3f9f
[ "MIT" ]
permissive
jsbridge/makemecurly
2160f6491b5a44140bfc94a9cda4964177915852
c4fd7edb14f3a3a4d5d53f6da6d65fefc702f0b3
refs/heads/master
2020-12-14T15:40:46.245352
2020-02-27T02:46:07
2020-02-27T02:46:07
234,792,190
1
0
null
null
null
null
UTF-8
Python
false
false
2,680
py
from flask import Flask, render_template from flask import request, url_for, send_from_directory from werkzeug.utils import secure_filename from flaskapp import app from model_image import * from query import * import os upload_folder = 'flaskapp/static/uploads' app.config['UPLOAD_FOLDER'] = upload_folder allowed_ext...
[ "jsbridge45@gmail.com" ]
jsbridge45@gmail.com
313db866197ccc1a9b1e058d3d4b9be177dcc62f
7f48a52924cc0069090afddac0ff2d103acd107a
/index_frorum.py
93692ab31205e7e6aaf30fbfd4b6842d63cb304f
[]
no_license
frobese/bs4-template
bbb63086224498a2b16fb355014f9f27a3afc395
b18e20fe8d8e5e2bbe97346f5f1f1fdb838a57b9
refs/heads/master
2023-03-29T01:43:41.869228
2020-07-17T20:00:16
2020-07-17T20:00:16
290,730,726
0
0
null
2021-03-31T20:20:57
2020-08-27T09:15:23
Jupyter Notebook
UTF-8
Python
false
false
958
py
import re import psycopg2 import urllib.request as req from bs4 import BeautifulSoup as bs # Verbindung zur DB herstellen conn = psycopg2.connect("dbname=frorum_db user=frorum password=sicheresPasswort") cur = conn.cursor() cur.execute("SELECT version()") print("Verbindung zu %s hergestellt" % cur.fetchone()) # Verb...
[ "jvoland@frobese.de" ]
jvoland@frobese.de
8aa933c8cf6d4abfc1c654e1c1bd0f83851f1fde
7536200883d4844220dc6fa49c5ec86c9c965a3f
/CMSSW_5_3_7_patch4/src/SingleTopPolarization/Analysis/python/top_step2_cfi.py
2049ebe98a93fb2307e0e0e997b442aaa2fe6b1f
[]
no_license
sroecker/stpol
bfbb3240d7c33b8ec32d14cc69b802fffeb76995
aaffbca42b0cfe5899e0d7b90f62d24faa3b01f9
refs/heads/master
2020-12-24T23:54:12.257118
2013-09-06T14:06:43
2013-09-06T14:06:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
import FWCore.ParameterSet.Config as cms def TopRecoSetup(process, leptonSource="goodSignalLeptons", bTagSource="highestBTagJet", untaggedJetSource="lowestBTagJet"): #Reconstruct the 4-momentum of the top quark by adding the momenta of the b-jet, the neutrino and the charged lepton #Combine the neutrino collections...
[ "joosep.pata@gmail.com" ]
joosep.pata@gmail.com
4f8ee61efbd1aca6c91f56bfc3d5cd7c16207acd
a4a6ee8f949d0786f0f98ef4348c35ed38cf7e06
/functional5.py
f0e0f26f715324679eb80f487627063f5b28018d
[]
no_license
deetchiga/pythonexercise
8eade8fa4277b5e84ca610d6ab144dbd20e37e98
f5fe4b22d3505160720f0345009f359e84089802
refs/heads/master
2020-07-12T20:26:42.846514
2019-08-29T11:14:04
2019-08-29T11:14:04
204,899,947
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
def finding(): x = 1 y = 2 str1= "w3resource" print("Python Exercises") print(finding.__code__.co_nlocals)
[ "deetchigasoundherraj1999@gmail.com" ]
deetchigasoundherraj1999@gmail.com
10b8216b5a41db869e46425edcf8e64f02ebbb41
b9d134e329cecfc7306c8d0a05f451f8c2aa423e
/view_samples.py
786e7fe567d1f642cc27c195c5c64cb44844a21e
[ "Apache-2.0" ]
permissive
feynmanliang/travelling-cluster-chain
477a114b6097b591fbec921fab2828bcb62d1bd5
2442178679e8ec29ac8532205dd9640f546f87fc
refs/heads/master
2020-03-09T16:22:33.718138
2018-05-08T23:37:00
2018-05-08T23:37:00
128,883,113
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
#!/usr/bin/env python3 #vim:set et sw=4 ts=8: import scipy.io import numpy as np import matplotlib.pyplot as plt from glob import glob if __name__ == '__main__': num_workers = len(set( x[:16] for x in glob('output/samples-*-*.mm'))) legend = [] for i in range(1,num_workers+1): samples = []...
[ "feynman.liang@gmail.com" ]
feynman.liang@gmail.com
82ac8a96156917ad4b4d00554cd55e65464eed35
13ba3d799045937ef5518cca3d529272c565c41c
/ex/softmax/mnist.py
5e2e899623086716ff605a32119bd2c518fd2a5f
[ "MIT" ]
permissive
phorsfall/ml
a3acbd4aba5e69990e675b39e0ce918577288abd
c5d5c90d84be9a8c817bb8053d71b097369c461d
refs/heads/master
2021-01-01T19:20:43.315154
2013-03-29T12:13:12
2013-03-29T18:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
import os.path import functools import numpy as np from ml import softmax, optimize, utils, mnist, data, meta from ml import regularization as reg DATA_PATH = os.path.expanduser('~/Development/ml/datasets') train, valid = mnist.load_training_dataset(DATA_PATH) batches = data.BatchIterator(train) num_classes = mnist....
[ "horsfallp@gmail.com" ]
horsfallp@gmail.com
00c6cc2cc8f935a19060171f16301233960f6e86
67bd366aea00b56d3b21f3bf4fb71b1ac0ed059f
/scripts/rename_picard_fastq.py
88667b462a0cc99078e74356426d38ea723efbe8
[]
no_license
AlaaALatif/bwa_pipeline
b6ec7f34ccbd231eec4f8a51528a60a2ae27c473
348632de11313a34e48810fca6e1987c758a2298
refs/heads/master
2023-04-21T16:39:59.553996
2021-05-05T00:59:01
2021-05-05T00:59:01
336,109,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
import glob import shutil import argparse from path import Path def rename_picard_fastq(fastq_filepaths: list, lane: str, destination_folder: str): for fp in fastq_filepaths: s_id = fp.split('/')[-1].split('.')[0] _rnd = fp.split('/')[-1].split('.')[1] if len(_rnd)==1: rnd = f"...
[ "al.a.latif.94@gmail.com" ]
al.a.latif.94@gmail.com
b4cc9dc13cf5cc068ee35ecbc4d4aaece2635b11
51f1da501607d29301aa28928704aa116832989c
/hello_cython/setup.py
bd219fd0e205bf35ee1f0b4d1bd972d13b86562f
[]
no_license
alisure-ml/python-cython
8744b14dfcf6b4a190a333041e2a82c105a6c391
fa9ba45a165fdcb536b12df74979967fda04e463
refs/heads/master
2021-05-15T04:34:58.337856
2018-01-27T10:15:09
2018-01-27T10:15:09
118,907,881
4
1
null
null
null
null
UTF-8
Python
false
false
236
py
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext setup( name="Hello pyx", cmdclass={'build_ext': build_ext}, ext_modules=[Extension("hello",["hello.pyx"])] )
[ "562282219@qq.com" ]
562282219@qq.com
4ad4e2e1b2d66fb1ae290b0f303ce42f6117080a
d3c26a334817b2b4784d106f386a539ae3d7b466
/Week_04/Search_in_Rotated_Sorted_Array.py
2858d4207620477ae2d2cfbb6c0808332ca4f097
[]
no_license
jj-leetcode/algorithm011-class01
9f33a7a26021da50f9edd0e410f2b8122830c196
2807728f373ed04060f86a99aa83900f860c0fdc
refs/heads/master
2022-11-24T12:55:18.612093
2020-07-26T09:52:51
2020-07-26T09:52:51
275,103,042
0
0
null
2020-06-26T07:55:19
2020-06-26T07:55:19
null
UTF-8
Python
false
false
819
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals class Solution(object): def search(self, nums, target): l, r = 0, len(nums) - 1 while l <= r: mid = l + (r-l) / 2 #print(mid, l, r) if nums[mid] == target: return mid elif...
[ "jj_leetcode@163.com" ]
jj_leetcode@163.com
fb65e59bf2ec69a568e7d017fbfd2c6843b9e370
d2498344d98ebe2c1e899a73084a9c0b8cd6dbfa
/examples/trading_hours.py
9296470016f2f6dc8ad62d5a73fb0419517d0aa4
[]
no_license
pablomedrano10/CS597-FinanceProject
0e2c6a6485385d7bf8e46b9a4c16977afa841116
7b64ba46e900618a18a228dc83727c84fe0b64ac
refs/heads/master
2020-03-21T06:41:02.715886
2018-07-26T03:01:50
2018-07-26T03:01:50
138,235,014
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 18 20:32:04 2018 @author: pablo """ import datetime from os import environ print(datetime.datetime.now().hour) print(datetime.datetime.now().minute) print(datetime.datetime.now()) print(environ.get('RH_USER')) print(environ.get('RH_PASSWORD'))
[ "pablo.medrano@outlook.com" ]
pablo.medrano@outlook.com
cbb0a64fd04f64315d2acf9c61fb5872b362e85f
6732c13c07ba62a397298795339ba0acad01ca27
/Coding/Sandbox source code/toddler_komal.py
d0398c05688a45d037ad8e329416ef57d6512c3c
[]
no_license
eeyzl5/mobile-robot-localization-challenge
597e16a38a0db9fdebcbd171d8fe4cb6f4300aac
103259eaed61a63c3863b1276347e639c3e3270b
refs/heads/master
2020-06-20T00:34:55.569531
2019-07-15T05:46:05
2019-07-15T05:46:05
196,928,937
0
0
null
null
null
null
UTF-8
Python
false
false
4,871
py
#!/usr/bin/env python import time import math class Toddler: __version = '2018a' def __init__(self, IO): print('[Toddler] I am toddler {} playing in a sandbox'.format(Toddler.__version)) self.camera = IO.camera.initCamera('pi', 'low') self.getInputs = IO.interface_kit.getInputs ...
[ "noreply@github.com" ]
eeyzl5.noreply@github.com
593b489ee83bde16fcc5d65ffe4c72aad59d7770
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/search_attendance_records_of_his_meeting_request.py
624df1a0781f30c87349f05c3bc27ad2c9d89bdf
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,522
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class SearchAttendanceRecordsOfHisMeetingRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attri...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
069a8a88922ef656309b5d3a8cbab432170abd44
b3ed6d9a0d88a6c1ab795f89280276dbd252fc10
/python/examples/segnet-console.py
6d7c3ffe561d31504a87799b58923536528ff5be
[ "MIT" ]
permissive
corenel/jetson-inference
d6619d8a41992d090eb8271a319c78b11055c71d
d9c2fe77cdccdfcdcc238bbd622b1222906804b1
refs/heads/master
2020-09-26T03:35:32.817777
2019-12-05T18:09:57
2019-12-05T18:09:57
226,155,474
1
0
NOASSERTION
2019-12-05T17:33:14
2019-12-05T17:33:13
null
UTF-8
Python
false
false
3,395
py
#!/usr/bin/python # # Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the ri...
[ "dustinf@nvidia.com" ]
dustinf@nvidia.com
d29aaf4a31d5306834e221f9ebd7c2bd3ba9ca04
6a7563ad479e2c3d497d62e91f418d245ec658df
/scratch/andrei_surf.py
9dc279524c57ecc39c16fe9df14dcfb005e551ce
[]
no_license
rosoba/rosoba
979901ab4858c1559e7ae9c214fb60ca71eec9b5
b26ae5b6b0f9b7027f306af7da9d1aff1c3e2a46
refs/heads/master
2021-01-19T18:36:04.107879
2016-01-20T09:48:48
2016-01-20T09:48:48
4,391,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
''' Created on Oct 29, 2014 @author: rch ''' # Copyright (c) 2007, Enthought, Inc. # License: BSD Style.# Imports: from traits.api \ import HasTraits, Trait, Range from traitsui.api \ import Item, Group, View # Define the demo class: class CompoundEditorDemo (HasTraits): """ Defines the main Compoun...
[ "rostislav.chudoba@rwth-aachen.de" ]
rostislav.chudoba@rwth-aachen.de
8d93f9ccfd2e6df3d1370888cc758aae9f78d8f9
bc441bb06b8948288f110af63feda4e798f30225
/console_gateway_sdk/model/inspection/collector_pb2.pyi
d3de42f7e2fc90213ed9384b7ba9194cefd9596f
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,516
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from console_gateway_sdk.model.inspection.arg_pb2 import ( InspectionArg as console_gateway_sdk___model___inspection___arg_pb2___InspectionArg, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descri...
[ "service@easyops.cn" ]
service@easyops.cn
bd731b54b3f34a5f9c78bc5a8c9a5b2f0e2e69ba
71ff08cd801bbedc0902af096e8c4630f4747f4b
/container/sync.py
0a3d0209e830b73bc83c496bb14d2a8663d363e5
[]
no_license
Prosunjit/Swift
9b631b2a90ae10f1b24087a39fb2f322248387c5
4bb1319194e0be26bf62c95d004c450be4a05b82
refs/heads/master
2021-01-10T20:25:35.588770
2014-10-25T17:01:37
2014-10-25T17:01:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,829
py
# Copyright (c) 2010-2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "prosun.csedu@gmail.com" ]
prosun.csedu@gmail.com
2b22e7941f98947b5b972f54f67d8ed480df2bfa
1bfb0e3a59cac249827123e1b8bef5bfd72ed4e8
/bindpose_utils.py
2c9804b381cfe1ad66c67275c58d52a512af6e4b
[]
no_license
jeacom25b/Armature_snippets
e12b0a798da6e7a59432e0517bdaa6b964ab924c
44c37c40fb430e5a36457a66e5c697331053ded6
refs/heads/master
2021-01-23T17:35:49.085626
2017-09-14T12:44:08
2017-09-14T12:44:08
102,768,115
2
1
null
null
null
null
UTF-8
Python
false
false
4,902
py
import bpy from mathutils import Vector import math class ResetStretch(bpy.types.Operator): bl_idname = "armature_snippets.reset_stretch" bl_label = "Reset stretch" bl_description = "" bl_options = {"REGISTER", "UNDO"} @classmethod def poll(cls, context): if context.a...
[ "noreply@github.com" ]
jeacom25b.noreply@github.com
834025c62b2d1817c220a98e1ff02a019d8fc277
a175a13680f28ceef3db31c155984a773d2bad32
/companysim/tests.py
81f332e116e48d1ae093b4472a2b902e76396bf0
[]
no_license
meeranmismail/CS341-Startup-Similarity
e2d1a405ec69389bcfe7a3ecb4c320183e6ef4f4
0552fe6ce5e825711d710c5d3a731c081ae9cfe5
refs/heads/master
2021-01-19T09:18:46.527076
2018-07-02T21:11:41
2018-07-02T21:11:41
87,747,270
0
1
null
null
null
null
UTF-8
Python
false
false
6,724
py
import unittest import numpy as np import pandas as pd from companysim import CompanyCorpus, CompanyGraph class TestCompanyCorpus(unittest.TestCase): # ======== Start of tests for CompanyCorpus class # Test that the _build_corpus function correctly assigns internal corpus correctly def test_build_corpus...
[ "noreply@github.com" ]
meeranmismail.noreply@github.com
bb70917bf01dbab86fba90d144a6ab13ff8fee5e
c54fff2c9a8bc3548824f99a1667d4ada2652cc6
/kafka_server.py
2b767c031ef5d1d6ebf62bc588138eb0fe2722b2
[]
no_license
tfenton/udacity-sf-crime-stats
20d0228b9ba9fadc85e86c02cff7934d1632d950
ebf661cff30e202344df16584c681ea3e8d967b6
refs/heads/master
2022-11-29T18:27:54.568875
2020-07-29T20:52:27
2020-07-29T20:52:27
283,592,485
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import producer_server def run_kafka_server(): """ creates the kafka producer object params - None returns - kafka producer """ # TODO get the json file path input_file = "police-department-calls-for-service.json" # TODO fill in blanks producer = producer_server.ProducerServer( ...
[ "tfenton@gmail.com" ]
tfenton@gmail.com
4480c797b15a575e7d8ac1d0d15828b55ab7d84e
e5939977c8d04b8c805520c90b3b3799f17a688c
/prototype.py
afd313c04cd8731c5b075f5c5a339ce5d692e6e2
[ "MIT" ]
permissive
zard777/xbot_remastered
186b815f2a975a0ecb2c5f3523ff2e900eadbbdc
0e837923c0d8e07c9d90ee511b5220b170bc34ae
refs/heads/master
2021-09-11T00:53:51.210173
2018-04-05T04:54:38
2018-04-05T04:54:38
76,875,702
0
1
null
2018-02-10T09:30:15
2016-12-19T15:55:40
Python
UTF-8
Python
false
false
9,580
py
''' ============= Zantetsuken remastered ============ ''' import __main__,urllib,urllib2,httplib,base64,threading,random,platform,os,subprocess from socket import * from HTMLParser import HTMLParser cmdrcv='' feed="https://spreadsheets.google.com/feeds/list/[REPLACE_WITH_YOUR_OWN]/1/public/basic?alt=rss" actionurl="...
[ "noreply@github.com" ]
zard777.noreply@github.com
7e01aa77d4d51c95038ece930c7ba331c6932669
c17dfb99ed7e0273ae43a1bd99441906cb8dcf38
/utilities/fortran_ports.py
5fc0c882f18c6e71db1cd5a4c9eb9725ba220d27
[]
no_license
samgill844/gpuastro
80d457858dbf43d20f0d37bbf147218d977818d8
864f77586e7e43a74e1cba150761a169ecbd56d0
refs/heads/master
2020-04-19T18:25:47.279379
2019-02-05T20:43:39
2019-02-05T20:43:39
131,284,629
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
import numba @numba.njit(fastmath=True) def sign(a,b) : if b >= 0.0 : return abs(a) return -abs(a) @numba.njit def SameSign(a, b) : return ((a== b) & (a==0)) | (a*b>0) @numba.njit(fastmath=True) def clip(a, b, c): if (a < b) : return b elif (a > c) : return c else : return a
[ "samgill844@gmail.com" ]
samgill844@gmail.com
4c4d7952e9db0f353efbd75b69aeb3904932c516
921de16901ec5ce924cf0c01b8af26bba5b4cb66
/Hnome-testtask2014-aec34317d9ed/clusterization/tasks.py
74288120906af76f7c2ce72697f33697a0e4dccc
[]
no_license
RooshRoosh/open_layers_spatialite_testtask
b7c36073278d5d7141d10d90751fb5003b32fc13
aff30cd09380af8681c034c733cfbcc7acab8417
refs/heads/master
2021-01-23T13:22:21.387375
2014-07-12T11:51:02
2014-07-12T11:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,376
py
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'Ruslan Talipov' import apsw import json import logging logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) class ClusterizationTask(object): def __init__(self, feed_table, cluster_table, distance, start_location, ...
[ "newroosh90@gmail.com" ]
newroosh90@gmail.com
39c09e923c0ade28ec0935abdb42a7f887b0bed6
9340f09096c9ac6b6d3f78a088382d46520d1bbb
/catonmat/payments.py
9f1066e1c0921f1e3bd38f72e112b3359e0a865e
[]
no_license
stjordanis/catonmat.net
ae7c1f23fa16f6d3790aba089f942fd636e806f0
7b6287417c6dfc5fb3e885ec89dad94b655154d6
refs/heads/master
2022-01-15T13:55:33.197379
2019-01-19T13:14:33
2019-01-19T13:14:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
#!/usr/bin/python # # Peteris Krumins (peter@catonmat.net) # http://www.catonmat.net -- good coders code, great reuse # # The new catonmat.net website. # # Code is licensed under GNU GPL license. # from werkzeug import Response from catonmat.models import PayPalPayments def awk_book(request): PayPalPayments('aw...
[ "peteris.krumins@gmail.com" ]
peteris.krumins@gmail.com
51e8d73381c01e40aab3045aeb472100d1705ac9
cc29008039f27e2f7f26bb3c8d5f821d09c3d0a3
/pandas/core/common.py
34d7b7e0a2e40c34980990efea43a97664447ba7
[ "BSD-3-Clause" ]
permissive
GunioRobot/pandas
dc1aea88e51d002984b65d80b3023db681fcc487
06c3930d4918088414c160fb8e47717ed5ec1de7
refs/heads/master
2021-01-18T11:56:56.297578
2011-08-23T14:51:36
2011-08-23T14:51:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,661
py
""" Misc tools for implementing data structures """ from cStringIO import StringIO import itertools from numpy.lib.format import read_array, write_array import numpy as np import pandas._tseries as _tseries # XXX: HACK for NumPy 1.5.1 to suppress warnings try: np.seterr(all='ignore') except Exception: # pragma:...
[ "wesmckinn@gmail.com" ]
wesmckinn@gmail.com
b939f3da2e47723692ad5c2a693a5b8777d312c6
9853327016c9fea768a52be5139274894c61d47c
/posts/migrations/0004_auto_20190730_0700.py
67c85cb42a4d940b88eb07b39d8e4ea6671afbd7
[]
no_license
nickhattwick/projectidk
53a38fe89f28665d13249f247601005b0b9d1e52
d875420adb9119b9d704519353dd8dcdcd5fe016
refs/heads/master
2020-06-26T19:43:46.133593
2019-08-09T06:55:45
2019-08-09T06:55:45
199,736,293
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 2.2.3 on 2019-07-30 07:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0003_auto_20190730_0659'), ] operations = [ migrations.AlterField( model_name='blog', name='html', ...
[ "nhattwick@gmail.com" ]
nhattwick@gmail.com
ce30caa166fd0795475f61197f04454655d131c0
abd6656ab5e913b8b5b68fcb8e0c40a7052d78b7
/cw6/z2.py
8fe0182d59f7f467c30609386bc78d040ddc0907
[]
no_license
danskiiiii/ALK
4308c516b13955e28cd990a2267049007c0c6a3c
9926c0757597bc2c6731118a14110598bd7de2d9
refs/heads/master
2020-04-26T18:29:50.912053
2019-06-07T04:36:53
2019-06-07T04:36:53
173,746,591
1
1
null
null
null
null
UTF-8
Python
false
false
466
py
# Zadanie 2. (0.3 pkt) # Napisz program obliczający rangę k-elementowego podzbioru T zbioru {1, . . . , n} w porządku # minimalnych zmian podzbiorów k-elementowych. from scipy.special import comb as binom n = int(input('Enter n: ')) subset = [ int(num) for num in input('Enter T: ').split() ] rank = 0 k = len...
[ "danielwil@wp.pl" ]
danielwil@wp.pl
22f86f053fb24f645b3d90d46fb117c02bdb3834
3c2fb2221aa68af9f909cea2b15ae883dc5f0bee
/hw1/h2.py
459d91d85e4d18dde074871a60948be2f837cd7a
[]
no_license
RAYHOU777/ML2017
26c70104a4c8c53d43a56c0399a1988764cd5191
d6bae50984350823e63f6e0692205e3801a0f3b9
refs/heads/master
2021-03-19T16:35:54.539917
2017-06-08T14:53:17
2017-06-08T14:53:17
82,925,627
0
0
null
null
null
null
UTF-8
Python
false
false
19,681
py
import csv import numpy as np import sys import os rows =[] #file = open(sys.argv[1],'r') with open(sys.argv[1],'r') as csvfile: reader = csv.reader(csvfile) lstpm = [] lstpmSO = [] lstpmO3 = [] lstpmO2 = [] lstpmCO = [] lstpmWD = [] for row in reader : if row[2] =='P...
[ "r05943050@ntu.edu.tw" ]
r05943050@ntu.edu.tw
3008ef32988f2717ddbbec18bb8430ee924116d1
e01ec3863eae8401b33f0d2e8e043361fc625bb2
/app.py
a91837a604de44bd8afc6ae45a49f17703cc43a4
[]
no_license
pavantej934/pgny-interview-assessment_solution
4bed328c9e835f7ca97a63f1e0b663e5897b52cb
1db3496e79d0127c408bf24dd8ed6904017c8ed0
refs/heads/main
2023-06-29T08:23:54.153875
2021-07-23T12:24:58
2021-07-23T12:24:58
388,792,693
0
0
null
null
null
null
UTF-8
Python
false
false
5,344
py
"""Crypto Interview Assessment Module.""" from dotenv import find_dotenv, load_dotenv import crypto_api from typing import Dict, List from models import CoinHistory, DBSession from apscheduler.schedulers.blocking import BlockingScheduler from logger import Logger load_dotenv(find_dotenv(raise_error_if_not_found=True)...
[ "noreply@github.com" ]
pavantej934.noreply@github.com
80902bc88c6d5184d3535b8a40505c90ad41926c
cd78df2acbaade63ea74a63ba9ebfbed17566d96
/fx/nnc_compile.py
5a604ab9f37aab1c3eeedb40f26842fd7e78bc93
[ "BSD-3-Clause" ]
permissive
brianjo/examples
7993ca7491957385447c15630a789ce5d56eeabb
0cb38ebb1b6e50426464b3485435c0c6affc2b65
refs/heads/main
2022-03-26T06:47:57.840639
2022-03-17T16:10:20
2022-03-17T16:10:20
472,915,034
1
0
BSD-3-Clause
2022-03-22T19:47:47
2022-03-22T19:47:46
null
UTF-8
Python
false
false
17,722
py
# This example is provided only for explanatory and educational purposes. The # underlying APIs may change and this tutorial may break. # Compiling FX models to NNC (Neural Network Compiler) ###################################################### # The goal of this file is to demonstrate an end to end example of using ...
[ "horacehe2007@yahoo.com" ]
horacehe2007@yahoo.com
891868a38e89c658e7a8d4f0a2248f793626814f
a11bd8615f47c15fb52cd83fe7722309f250537d
/pytgf/game/turnbased/tb_mainloop.py
a0a157cd86eef1b1af64b551ad569c2e59f90f6d
[]
no_license
Angeall/pyTGF
75a0abfc6605f08c93181248bd529279c01b05bc
463359a6596598c0c6cceb6e30f393d77eca0a89
refs/heads/master
2021-01-12T12:21:10.659708
2018-09-02T12:37:58
2018-09-02T12:37:58
72,452,959
0
0
null
2017-05-28T11:41:09
2016-10-31T16:00:45
Python
UTF-8
Python
false
false
959
py
from typing import List from .tb_api import TurnBasedAPI from ..mainloop import MainLoop from ...characters.moves import MoveDescriptor from ...characters.units import Unit from ...controls.wrappers import ControllerWrapper class TurnBasedMainLoop(MainLoop): def __init__(self, api: TurnBasedAPI): super(...
[ "angeal1105@gmail.com" ]
angeal1105@gmail.com
d71bcb821a1117a890833605c7e796bacff6f3be
ce083128fa87ca86c65059893aa8882d088461f5
/python/flask-mail-labs/.venv/lib/python2.7/site-packages/sqlalchemy/databases/__init__.py
05161c069c5486ac7c098a9893e2648a77b30f32
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
979
py
# databases/__init__.py # Copyright (C) 2005-2013 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Include imports from the sqlalchemy.dialects package for backwards com...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
1efc690b062f0b48f50f0a1c1b6619f5c024c81e
cc6e36ce306a46c1accc3e979362de34b6063b7e
/stats/plots.py
1b266a8acc502da245aada68b8a7854e5d440dca
[]
no_license
bartromgens/petanque-stats-server
d51995e2b4d288a0a99563347c3bf3db863918bf
9f7e48a7670b1c2c89f1bfcb2ac5ed8c8e9a7fe0
refs/heads/master
2020-03-22T19:23:18.230361
2018-07-29T00:46:02
2018-07-29T00:46:02
140,524,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
from matplotlib import pyplot import numpy import trueskill def plot_rating_history(rankings_history, show_range=True, begin=0): fig = pyplot.figure(figsize=(10, 6)) ax = fig.add_subplot(111) player_rankings = {} for rankings in rankings_history: for player, ranking in rankings.items(): ...
[ "bart.romgens@gmail.com" ]
bart.romgens@gmail.com
4b55c81124dc2f1689fa1674157111ca708a47c2
8aac3ae9588ca4accd87eaaf0a7517edc3efc1b5
/src/cortexpy/command/subgraph.py
4dfea3d6e9db0e3cc1e1b796a38e58ff3e75393f
[ "Apache-2.0" ]
permissive
winni2k/cortexpy
453cf7e1b764494c65b1d87622fd7a5007f6ba30
7156d2872b0d5fe94b072201a094b5fc5acc384b
refs/heads/master
2021-01-23T16:21:28.526647
2020-03-15T09:11:37
2020-03-15T09:11:37
102,736,885
2
1
Apache-2.0
2020-03-15T09:11:39
2017-09-07T12:54:59
Python
UTF-8
Python
false
false
4,576
py
def subgraph(argv): import argparse from .shared import get_shared_argparse import cortexpy.constants shared_parser = get_shared_argparse() parser = argparse.ArgumentParser( 'cortexpy subgraph', parents=[shared_parser], description=""" Find all subgraphs from every k-mer in a...
[ "wkretzsch@gmail.com" ]
wkretzsch@gmail.com
382da2a224bb2008b005eaaf62f525a7c7336e1f
5d0b026aeba72c828f4a7431f232144263247d37
/todo/models.py
12a8d8872e188a59596e4510fbd80d00e0ee106a
[]
no_license
thewolfcommander/todo-fastapi
b4189628a617326f3574a402c21c4dea95dbb6eb
95e4c2fd841418eb93499d70aa934f22d28d2b2d
refs/heads/main
2023-01-01T22:09:46.155199
2020-10-20T01:39:22
2020-10-20T01:39:22
305,527,847
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from datetime import datetime from sqlalchemy import ( Column, Integer, String, Boolean, DateTime ) from todo.database import Base class Todo(Base): """ Model for handling Todos """ __tablename__ = "todos" id = Column(Integer, index=True, primary_key=True) title = Column...
[ "tyagimanojtyagi.22@gmail.com" ]
tyagimanojtyagi.22@gmail.com
fcdc3aa3d46bf734f91c559e161d9bdb3146197f
7bef4bbdd6e35b34726f30997c2f42f72e45ceb8
/day6/day6-2.py
8ac169f332a21f63d2cb1c7654d2eadab21ec0bc
[]
no_license
paulbombarde/AdventOfCode2020
dfe1ad2a16d13282b7952b05b5be778303476eaa
0635d19ba3ae955a582989edb457b125e68f3438
refs/heads/main
2023-02-07T13:18:20.274183
2020-12-29T18:32:27
2020-12-29T18:32:27
321,311,808
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
import sys from collections import defaultdict with open(sys.argv[1]) as input : count = 0 group = defaultdict(int) gl = [] for l in input : l = l.rstrip() if len(l) == 0 : for k,v in group.items() : if v == len(gl) : count += 1 ...
[ "p.bombarde@WIN-19-020" ]
p.bombarde@WIN-19-020
27c2a4c36af024fcbcc6e43301976a3c576c4eb3
3b5a2a4df578adaa7640498661232a88710db436
/Python/Veri Yapıları-Temel Kavramlar/Print Metodu.py
beac27dbf8a3185b87babc045911fc3179f1e200
[]
no_license
mertsigirci11/Python-Calismalari
ba87b87503cb8b1e924fd0534d0000fc27019a45
167c3e3e54049491b02a0cacba1f4c2c55508ff7
refs/heads/main
2023-06-30T08:28:01.141643
2021-07-30T11:24:24
2021-07-30T11:24:24
391,038,838
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
""" ---------PRİNT METODU KULLANIMI-------------- """ print("Hello","AI","ERA") print("Geleceği Yazanlar", "Turkcell",sep="_") #sep argümanı iki string arasını deafault olan boşluk harici bir şey ile doldurmak için kullanılır. print("Geleceği Yazanlar", "Turkcell",end="_") #end argümanı string sonuna herhang...
[ "noreply@github.com" ]
mertsigirci11.noreply@github.com
e86f7c2044372927e6cdca345b722fefe2dfdb3c
be85440729998fb00690202222eda56c19d79f70
/django_school/classroom/filters.py
282e81aa99364ad576f8bc5f61e5bd9b51cb44fd
[]
no_license
HamdaniFatima/PlateformeCapMat
7b8309093c0b19d5e26231df92b8b2c34343f27b
cc02b61d55c4b0c1b3e3619e483445e485c91f5f
refs/heads/master
2022-05-22T04:02:05.846943
2020-04-27T12:45:39
2020-04-27T12:45:39
259,312,513
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import django_filters from classroom.models import Quiz, Profile, Student, Capteur class CasesFilter (django_filters.FilterSet): class Meta: model = Quiz fields = [ 'subject',] class ExpertsFilter (django_filters.FilterSet): class Meta: model = Student fields = ['interests', ...
[ "hanane33hanine@gmail.com" ]
hanane33hanine@gmail.com
816bd2586090e45edac82d0f677783087078bcb2
c443a7cd3a4c2ea3be746a5cfd343d59a555cff9
/boston/original_boston.py
beb469d215548f386039492b39280fe153bc8f98
[]
no_license
woshidandan/fnnmOS_ELM
0dacf1944235924aa5fbe174f8c29a6314989615
0eb6a5000854284fe050a6ff7001aa93b03c1381
refs/heads/master
2021-08-15T18:15:35.985541
2020-05-12T03:10:53
2020-05-12T03:10:53
178,802,233
3
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
from keras.datasets import boston_housing from keras.models import Sequential from keras.layers import Dense,BatchNormalization,Dropout,Reshape,Flatten from keras.layers.convolutional import Conv2D,MaxPooling2D,Conv1D,MaxPooling1D import numpy as np import os import keras import tensorflow as tf from model import OSEL...
[ "2281444815@qq.com" ]
2281444815@qq.com
7b5c26327d7571b858c464c09b47679881449f01
e237724f4448c5789915e4a85a44db3028b16ac1
/GUI/GUI.py
dd459aa8845104963ddde87096209549583d62bc
[]
no_license
HugoAhoy/RSA
9dc7e47235f50aa0c7994b160520095b6f90bf47
64d3feb973628adb6ab9bb46ca470ee94a1d33a7
refs/heads/main
2023-09-01T04:28:43.813878
2021-11-08T08:59:46
2021-11-08T08:59:46
418,938,432
1
0
null
null
null
null
UTF-8
Python
false
false
4,399
py
from tkinter import * from tkinter.ttk import * from methods import * from subprocess import Popen from subprocess import PIPE p = Popen("GUI/RSA.exe", stdin=PIPE, stdout=PIPE) # 窗口生成 window = Tk() window.title("RSA") window.geometry("800x600") # 标签页生成 tab = Notebook(window) frame1 = Frame(tab) tab1 = tab.add(frame...
[ "zhjd3302@outlook.com" ]
zhjd3302@outlook.com
2942ff8ebf61167582d61aba9c9506af64a8120e
3ec14117e72329ae8bfa174f1eae92433ebc6bd6
/toxic_comments/lgbm.py
7e9613b295d49674688d3d84ff63944a36166f77
[]
no_license
Matafight/Kaggle
cd2dd5d0f9e5e52aba2c1c7afdac00a3860303d8
1ef5a44056afdfb7f5997dbde46416600f368045
refs/heads/master
2021-01-21T01:46:42.165350
2019-03-10T08:44:07
2019-03-10T08:44:07
56,367,062
7
2
null
null
null
null
UTF-8
Python
false
false
10,704
py
#_*_coding:utf-8_*_ import sys sys.path.append('..') #sys.path.append('../kaggle_methods') from dm_methods.kaggle_methods.ridge import ridge_cv from dm_methods.kaggle_methods.xgboost_classification import xgboost_classification_cv from dm_methods.kaggle_methods.logistic_regression import LogisticRegression_CV from dm_m...
[ "guo_sc@foxmail.com" ]
guo_sc@foxmail.com
4431d8c61a1bc8a36d28b03b20d34c0795ab0e84
6e7e1a23a96d7fc591cb33b230cc0d824cc84f40
/main/_config.py
9a3837f330c8caba03cc125daac315b775006896
[ "MIT" ]
permissive
vprnet/town-meeting-day-2017
a1f8a0d8c2f90f14160053a5cda4b3ba68cea3cc
bc3f116995eb63f69aa89319554c3b5d235ac491
refs/heads/master
2020-05-30T09:18:10.813376
2017-03-07T13:24:24
2017-03-07T13:24:24
83,593,426
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
import os import inspect # Flask DEBUG = True # Amazon S3 Settings AWS_KEY = '' AWS_SECRET_KEY = '' AWS_BUCKET = 'www.vpr.net' # AWS_DIRECTORY = 'apps/town-meeting-day-2017/' AWS_DIRECTORY = 'sandbox/town-meeting-day-2017/' # Cache Settings (units in seconds) STATIC_EXPIRES = 60 * 24 * 3600 HTML_EXPIRES = 3600 # Fr...
[ "smbsimon@gmail.com" ]
smbsimon@gmail.com
1de2fbb21ed15fac11022e56de6f6af56a44d490
85c90c5169f301e9528d3cda82344cdfa0acecec
/alumnos/58018-Valentin-Faraz/sv/hilos.py
5a3a2c6c624f2b1c512053d913b9844d0ec37212
[]
no_license
valefaraz/lab
18836e4fa6e9827d42fde72eab98b1f4d07a884a
607cd9cb69d81da798773f0e6353c1a3abd1d1c2
refs/heads/master
2021-04-14T20:42:42.056332
2020-11-02T21:06:20
2020-11-02T21:06:20
249,264,906
0
0
null
2020-03-22T20:17:04
2020-03-22T20:17:03
null
UTF-8
Python
false
false
2,143
py
import os from itertools import islice from concurrent import futures import time from math import ceil intensidad = 1 body_list = [] size=0 class Filtros_ppm(): def separar(self,imagen_read): header="" for i in imagen_read.splitlines(): header += i.decode()+"\n" if i == b"2...
[ "valefaraz@gmail.com" ]
valefaraz@gmail.com
a7a398a1310d6976ccc249d2a15dc9f7d6ce8245
0b0dab57f920f52e6757857a3e5535e38ce86762
/count_dups.py
b604beb16572e6f6fd095e214875d66aea621a87
[]
no_license
andrewtdinh/CodingBatExercises
ca3ce8d684d462920795e53b318aa399c621d6b7
baa65b4c1f60655fc3c0136b90cfe7ea83a08dbe
refs/heads/master
2016-08-12T05:09:04.691706
2015-11-26T04:46:32
2015-11-26T04:46:32
45,966,147
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
def count_dups(arr): #This function will count the number of duplicates for each unique element in a list return [(x, arr.count(x)) for x in set(arr)]
[ "andrewdinh74@yahoo.com" ]
andrewdinh74@yahoo.com
479596553756a7493a9c3ba0c552c344f5045724
5f584c4bd49cdc2a1a2ec168766bff0934287f25
/project/accomodations/views.py
9cd842ad3de9c0fa071de2159e4288573a5c254b
[]
no_license
akanimmashaba/ecowebsphere
f73991b03f821bbef6e21865e8928af0df006263
26b8381d3ab8c21e3df290b3a978adc3bc11370b
refs/heads/main
2023-09-01T12:18:51.897913
2021-10-23T11:43:53
2021-10-23T11:43:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,705
py
from django.shortcuts import redirect, render,get_object_or_404 from django.urls.base import reverse from django.views.generic import ListView, CreateView,UpdateView,DeleteView from django.views.generic.detail import DetailView from .models import Accomodation,Address, Application # from accounts.models import Profile ...
[ "80892148+am-mashaba@users.noreply.github.com" ]
80892148+am-mashaba@users.noreply.github.com
2e7fdf3b346ff8e3b362ae8d71c14ffa1a47c8e6
344c9c0f94eb84cfdcb7027bc645028cb38cb9f8
/oemgatewaylistener.py
764f8df45242717e478f55509525aed01ae6a2be
[]
no_license
MarquisT/oem_gateway
5debf34deabc708e79e0e449e2b467a6f23e6f01
bf9f3f694e8fa6fe019def786ebfdb1f7c1f66d5
refs/heads/master
2020-04-05T23:39:52.627486
2013-06-25T08:30:38
2013-06-25T08:30:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,001
py
""" This code is released under the GNU Affero General Public License. OpenEnergyMonitor project: http://openenergymonitor.org """ import serial import time, datetime import logging import re """class OemGatewayListener Monitors a data source. This almost empty class is meant to be inherited by subclass...
[ "jerome@antispam.fake" ]
jerome@antispam.fake
a9429f499f86da380c35f20f7030daa4a35dd44d
d6ad0b5a7eb6dc621adc2d122378f8d39c6c041f
/app.py
d8d2548016a61a1c9c477f5ae33f952b3fc6d682
[]
no_license
Praveen366/car_selling_prices
5917cc868ed6e02d22d6a31f4c16726dd291661a
b1d80734c62914ee05ae9f1af5e6f32014313166
refs/heads/master
2023-03-07T22:22:27.625174
2021-02-23T21:18:00
2021-02-23T21:18:00
341,679,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,971
py
# coding: utf-8 # In[ ]: from flask import Flask, render_template, request import jsonify import requests import pickle import numpy as np import sklearn from sklearn.preprocessing import StandardScaler app = Flask(__name__) model = pickle.load(open('random_forest_regression_model.pkl', 'rb')) @app.route('/',method...
[ "noreply@github.com" ]
Praveen366.noreply@github.com
2e4668d8c193a9ddbf9a0634f94a7dd600cbbaf1
2b1e34f363cca19c673e3f487074684efd1af868
/reviews and stars extraction.py
5a8f7c85dc88cf9574755ad51f3cca2e9990f1d8
[]
no_license
Celty3910/how-consumer-reviews-affect-your-star-ratings
14f54bb1192c666725dd4b5bebc7adc4d26af32a
e6d68cb55bdb8ea49c7a9adb28c1fd7fb863871f
refs/heads/master
2020-03-10T23:20:26.418674
2018-05-02T02:51:00
2018-05-02T02:51:00
129,639,073
0
0
null
null
null
null
UTF-8
Python
false
false
4,801
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 17 14:01:29 2018 @author: Lacey """ from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all" # the following part of code may takes at least half an hour to 3 hours depends on your machime. # we don't run it ove...
[ "noreply@github.com" ]
Celty3910.noreply@github.com
68c64467b3fce1da542079095af7de59d545a2b5
55e24943297bb106b2f431b0e6f5990131772ea0
/backend/api/v1/__init__.py
39fcc71a89e295c07dcbea637c82276899f896ad
[]
no_license
maangulo12/starter-kit
4464ed04dedd4a6e2c554da2a98f2da09674a33b
a78a05f38d9c89b9a91b9bf8521b3518f8c02154
refs/heads/master
2023-05-10T21:28:31.416774
2019-11-14T04:24:48
2019-11-14T04:24:48
70,211,873
10
2
null
2023-05-02T18:29:06
2016-10-07T03:15:01
Python
UTF-8
Python
false
false
178
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ backend.api.v1 ~~~~~~~~~~~~~~ This package contains the API v1 endpoints of this application. """ URL = '/api/v1'
[ "maangulo12@gmail.com" ]
maangulo12@gmail.com
137b6286f0943e71c7aecacf034efc1a6a9116bd
f34447a590fb160a09b95c03aea2106d8521acaf
/004.py
8a16579aae3903285394ee5caa17c86a0ff6b157
[]
no_license
skd1729/Project-Euler-Solutions
1f4506bacc061b395af784d6253119564a908e41
e9a1a3dca636fbaad7bb2faac095dd40597a5078
refs/heads/master
2020-12-30T09:37:40.472933
2017-09-24T22:36:20
2017-09-24T22:36:20
100,424,843
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
p=[] for x in range(100,1000): for i in range(x*100,x*1000,x): a=[int(i) for i in str(i)] if (a==a[::-1]): #print a num = int(''.join(map(str,a))) p.append(num) p.sort() print p[-1]
[ "noreply@github.com" ]
skd1729.noreply@github.com
b7a522982fc0326be5a4bac3a315f3ae636c11ee
631fd4f51e66d0a6dbbe65f2a9191f6cb1a29946
/serv.py
f976c43d9a2bb9de0a071f0cf0d190e0fb47ebfd
[]
no_license
sorryiambizzy/web_laba4
4db3c2a91b2572c02a50aa35b23a1c36bcb56d15
bf3e425f56ea44d4589d52a0b23eaede0780aa4f
refs/heads/master
2021-05-06T15:31:34.825761
2017-12-08T19:23:37
2017-12-08T19:23:37
113,581,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
from webob import Request, Response from jinja2 import Environment, FileSystemLoader assets = [ 'app.js', 'react.js', 'leaflet.js', 'D3.js', 'moment.js', 'math.js', 'main.css', 'bootstrap.css', 'normalize.css', ] css = [] js = [] for element in assets: element_split = element.split('.') if ...
[ "noreply@github.com" ]
sorryiambizzy.noreply@github.com
eb62ed975e122b3739a6c76235afc7ec58481491
65a42ef4a18e0054bc2d0822b073a9253e9427f2
/backend/api/views.py
3274e8571e441bba23632fdcb505a6b2d4a8a83e
[]
no_license
hjalti/maulrater
bcca76146d947adb710951035caeefafcb989e34
5669612116e32e21bced9b157ad9241290d90c65
refs/heads/master
2021-08-14T10:18:57.033475
2019-12-05T12:24:21
2019-12-05T12:24:21
210,585,605
0
0
null
2021-08-11T12:28:14
2019-09-24T11:26:32
Vue
UTF-8
Python
false
false
352
py
from rest_framework import generics from api.serializers import RatingSerializer, RestaurantSerializer from api.models import Restaurant class RestaurantList(generics.ListAPIView): queryset = Restaurant.objects.all() serializer_class = RestaurantSerializer class RatingCreate(generics.CreateAPIView): seri...
[ "hjalti@syndis.is" ]
hjalti@syndis.is
6dd3d7603490a5f2fdf91d1d397aeaca760bcf15
c68670233d27ed9c8be58df8f177b7ba047d5762
/ETF/bank/regression-testing/ETF_Test_Parameters.py
ae64a0f7b353bfc295dd028b8afc60d37a1b8eb7
[]
no_license
chrisboyd/3311_Software_Design
cddb0a35aea5b24a37a3485263774af5af20acca
0f2103440199847644b360db2e4da680cc055b25
refs/heads/master
2022-04-12T20:43:44.344652
2020-04-05T14:33:19
2020-04-05T14:33:19
236,079,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
#!/usr/bin/env python3 # Specify the directory (relative or absolute) where the acceptance test # files are. If nothing is added, current directory is used. # WARNING: While absolute paths are suported, the oracle may not play nicely # with them. root = "../tests" # Specify files or directories (relative to root) of...
[ "chrisboyd360@gmail.com" ]
chrisboyd360@gmail.com
d0197e1460b1523cbdd200578cad1bcb1e586cd2
ecc658489d9b99228964f55e19674619bdd07e34
/models/forms.py
831b13a7fdea52189e69ec4d7d98e7a9574f444c
[]
no_license
nkhanhng/test
d211feafb8c3ae75262565d676851681517e2d2f
40e68eac8a57d8767a2794ec01a6ac2efe433960
refs/heads/master
2021-09-10T22:27:11.658235
2018-04-03T11:27:12
2018-04-03T11:27:12
126,017,972
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from wtforms import Form, StringField, SelectField class ProductSearchForm(Form): choices = [('Brand', 'Brand'), ('Product', 'Product'),] select = SelectField('Tìm kiếm điện thoại:', choices=choices) search = StringField('')
[ "khanhmatden123@gmail.com" ]
khanhmatden123@gmail.com
8f1fbeb8067359a027901401c270d62040d1f6b2
aa3f2ce318c57d7ba44a4465342915a9c40ec812
/socialauthapp/profile.py
cdb08a818bbe245bf0eb92c32e4a4a243e514d5f
[ "BSD-2-Clause-Views" ]
permissive
vencax/feincms-auth-app
25f7b59183c3cba8cf0aaffe85b1990b301ae724
ba4fad4b7dd0c58311aac791ec462c814e8f7660
refs/heads/master
2021-01-01T18:47:56.492396
2012-06-28T12:08:50
2012-06-28T12:08:50
4,223,398
1
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
''' Created on Jun 18, 2012 @author: vencax ''' from django import forms from django.contrib.auth.forms import UserChangeForm from django.contrib.auth.models import User class MyUserChangeForm(forms.ModelForm): class Meta(UserChangeForm.Meta): model = User fields = ('username', 'first_name', 'last...
[ "vencax77@gmail.com" ]
vencax77@gmail.com
c528f1a96a884ed2425f1c35dfcff713356953d5
afa4e8d5d99f968c0429b2ec2712221008139130
/bin/pip
6593de6f958534a5c93de0f85b3889680af86f88
[]
no_license
Delboy82/relayboard_googleassistant
a291996c6a2957139081f1a9bfc4248795e7ee24
5c4328e5deb0ba5570538f4bc7c7f1cede8a6cd7
refs/heads/master
2023-01-01T23:27:20.190600
2020-11-01T10:31:44
2020-11-01T10:31:44
309,069,805
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/pi/projects/googleassistant/relayboard_google/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())
[ "Richardbarton82@hotmail.com" ]
Richardbarton82@hotmail.com
97968f80ad7c70241d93fc92dbf9851e963caad3
05ef7c8bda9af31dbb23824750e5eb420fba3522
/renders/ValueStatistic.py
2715b07fc5dfe482c3990529052a5a8b9a955ab6
[]
no_license
drianclark/api-wrapper-generator
86f68c294554cc67e5fdef6e491cde7c0a9349cc
c07b0ff26ac018c416dcfae347f0a91ea69dc18c
refs/heads/master
2022-12-02T19:43:29.622879
2020-08-25T17:07:36
2020-08-25T17:07:36
279,889,605
1
0
null
null
null
null
UTF-8
Python
false
false
584
py
class ValueStatistic: def __init__(self, dict): for k, v in dict.items(): setattr(self, "_" + k, v) keys = list(dict.keys()) try: self._id = dict["@id"] except: pass def label(self): try: value = self....
[ "dreiclark@gmail.com" ]
dreiclark@gmail.com
1c3fd6d04e52d2914fd4bc5213d8805313a85793
5bd4289ce406b2a390dde8a11effd1959680a271
/trans.py
281f457929009c688d254c7dd44b23d81df1113e
[]
no_license
appleboys/Tensorflow2.0_cmntoEng_byJiLinCheng
9cdf3b760b9d9efc90620ba810335b51f59682cb
e929463f12c5a20a63b5f5f941f2f27eeef581d1
refs/heads/main
2023-05-02T17:34:08.789697
2021-05-13T16:29:39
2021-05-13T16:29:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,908
py
from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import matplotlib.pyplot as plt import matplotlib.ticker as ticker from sklearn.model_selection import train_test_split import unicodedata import re import numpy as np import os import io import ti...
[ "noreply@github.com" ]
appleboys.noreply@github.com
95931f9ff837861dd3298283478b4a6c2446d4f3
204178b68dfeabbca5a76cf72c6c7a4bcbf26dab
/flask_server/app.py
c3c51023bd8be79227fd41e776d0c5ae1e635f26
[]
no_license
Ex1Kx/Ex1-FlaskTRM2.py
a43b6c891bb0c5bb3493c87e27e4b610aae2f8bc
9c608d301301843476881d686f00d73135ff3fc1
refs/heads/main
2023-07-14T23:41:48.112671
2021-09-03T01:12:55
2021-09-03T01:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
from flask import Flask, render_template, request, redirect, url_for, flash from flask_sqlalchemy import SQLAlchemy from werkzeug.security import generate_password_hash, check_password_hash import os dbdir = "sqlite:///" + os.path.abspath(os.getcwd()) + "/database.db" app = Flask(__name__) app.config["SQLALCHEMY_DA...
[ "thenewestekigoh@gmail.com" ]
thenewestekigoh@gmail.com
ca21bf850beefb3934635ee99e0c24163174986b
721406d87f5086cfa0ab8335a936ece839ab2451
/.venv/lib/python3.8/site-packages/google/type/fraction_pb2.py
23c8a91166b2febb0275a80633674e20bc07d681
[ "MIT" ]
permissive
MarkusMeyer13/graph-teams-presence
661296b763fe9e204fe1e057e8bd6ff215ab3936
c302b79248f31623a1b209e098afc4f85d96228d
refs/heads/main
2023-07-09T03:34:57.344692
2021-07-29T07:16:45
2021-07-29T07:16:45
389,268,821
0
0
MIT
2021-07-29T07:16:46
2021-07-25T05:23:08
Python
UTF-8
Python
false
false
3,785
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "meyer_markus@gmx.de" ]
meyer_markus@gmx.de
4dbeff0828108da4e1337513163cf9ff4231ef57
a4751186e3c99ae0a12229334e732eba268b76aa
/tmp/decryp.py
d9224dcc73b56d78141b138e2086e019bf4baabb
[]
no_license
ben-ginsberg/ben-ginsberg
6d55305b5f071fbffd755e9e9e7b24269683af34
c8007107ddf4109abf374335201bdbda0b494d7c
refs/heads/master
2020-06-06T23:15:11.639873
2015-09-17T05:56:47
2015-09-17T05:56:47
42,637,870
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
from Crypto.Cipher import AES from urllib import unquote import sys import string # We've already created encryption_object as shown above def decrypt(ciphUrl): encryption_obj = AES.new('hewillneverguess') ciphUrlArr = string.split(ciphUrl,'/') ciph = unquote(ciphUrlArr[-1]) mediaId = encryption_obj.de...
[ "ben.ginsberg29@gmail.com" ]
ben.ginsberg29@gmail.com
73518650174055c9de5bee32806a47e90f61251c
c1519f09d483d37eea9f1e4be5dfd9b8ccd03d57
/Python_for_Finance/7_10_yahoo_oahl.py
1a73357203c97e6d41180abb9ecc35ea304ebe72
[]
no_license
yf8848/Python_code
97cfdd846e9be804fb7828362d900679d594f210
de72e479c6dc25ff325d5a4641c3fcf477d321dd
refs/heads/master
2020-03-23T21:58:01.280757
2019-02-28T09:00:37
2019-02-28T09:00:37
142,144,045
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
#!/bin/env python import datetime import matplotlib.mpl_finance as finance import matplotlib.mlab as mlab ticker = 'IBM' d1 = datetime.date(2013,1,1) d2 = datetime.date.today() price = finance.fetch_historical_yahoo_ochl(ticker, d1, d2) r = mlab.csv2rec(price) price.close() r.sort()
[ "1071380275@qq.com" ]
1071380275@qq.com
93e99e88b4ba20f442cb177c7c51fdbdd79bcb3a
57ee1e45ff781a824b93c68adaeb4b0a6a1a980a
/Mission_to_Mars_files/app.py
4904b0eab26b9f52e62bf071c2cd89f1572951e1
[]
no_license
rlau929/Mission-to-Mars
7e1fcac36afe698a1ef203f6824f8da6e2907094
bd7e53f8b23b009c69b577128a2d5c8b2325f2b7
refs/heads/master
2022-11-20T23:59:58.226923
2020-07-20T03:08:11
2020-07-20T03:08:11
279,430,270
1
0
null
null
null
null
UTF-8
Python
false
false
579
py
from flask import Flask, render_template from flask_pymongo import PyMongo import scraping app = Flask(__name__) # Use flask_pymongo to set up mongo connection app.config["MONGO_URI"] = "mongodb://localhost:27017/mars_app" mongo = PyMongo(app) @app.route("/") def index(): mars = mongo.db.mars.find_one() retu...
[ "rlau929@gmail.com" ]
rlau929@gmail.com
2dc3a76984646c94c1e0806754687b6a25b9b58b
045bf2b36eefb081bea34362432b1959b4495654
/tests/test_phrase_model.py
5230048d0e9a7e882c1c1c11bccde527beed526a
[]
no_license
soaxelbrooke/text_tools
6d7fea693e81e1b29a937bed2115ffa285cca2fc
275c89f439611c01ddc964c70c1504f430c39ef2
refs/heads/master
2021-06-09T03:00:15.252765
2016-10-26T07:02:37
2016-10-26T07:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
from text_tools import train_phrase_model, apply_phrase_models from gensim.models import Phrases def test_phrase_model(): texts = [ "This is how we do it. You know it's friday night, and I feel all right, and party's here on the west side.", "Homies said yo I don't", "Cuz it's Friday, Fri...
[ "stuart@axelbrooke.com" ]
stuart@axelbrooke.com
41c926449608057341f1109c06395da1a5e01fd4
5e1bfb7a3ec7c39810988e898c5cae6a8e142e55
/tests/test_mail.py
f266e183c47efbf26079721a3e952c8bac4e56a3
[]
no_license
Ksenia12k/marktek_test
f729e9c82e1e0c0d659f8c4fb0eecdfaa7f7a31a
5d62b11c6576d3b1dbab4efab74f45ed28802297
refs/heads/master
2023-03-14T21:13:30.343916
2021-03-12T11:47:20
2021-03-12T11:47:20
347,046,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
from ..steps.create_letter_form_steps import CreateLetterFormSteps from ..steps.letters_list_steps import LettersListSteps from ..steps.inbox_menu_steps import InboxMenuSteps from ..steps.captcha_steps import CaptchaSteps from ..steps.base_steps import BaseSteps from ..steps.main_steps import MainSteps from ..steps.sig...
[ "kkuznetsova@sdvor.com" ]
kkuznetsova@sdvor.com
b46a348a205b103ffdf185f972fae6009c40452b
bce0430f28b303e82102b3ed0040b6c0a39a5d25
/retrain.py
e017417ed8a0bc916faff58215df0efc14003130
[]
no_license
riteshkumarumassedu/chexnet_Replication
8a625af925e72aa9063e363e7b47ac9177c4592b
2a55f2bab74fb88371f0cea81c50fda17cc0805f
refs/heads/master
2020-05-20T14:14:04.454362
2019-11-04T20:00:18
2019-11-04T20:00:18
185,617,501
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
import yaml import model as cnn_model #reading the model parameters from the yaml config file config_dict = yaml.load(open('config.yaml')) # name of the CNN model to be run model = config_dict['model'] pretrained = config_dict['pretrained'] finetuning = config_dict['fine_tuning'] batch_size = config_dict['batch_siz...
[ "ritesh_kumar@live.com" ]
ritesh_kumar@live.com