blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c38a872e6e6ae5b1d7edc0e1731ec393f49a556d
a0241ddd6feb1236740c4b57f86b4e2b9c812ffe
/userdata/models/beirat.py
ee4cada6ca3852e198c2996ce9b2dd941e739f94
[]
no_license
patta42/website
0a08d4b11c49020acefaf8f8cca30982ca2afa50
72d2e136272e0ed23f74080697d16eb9bc692ac3
refs/heads/master
2021-06-10T16:30:51.292679
2021-04-24T06:27:02
2021-04-24T06:27:02
151,085,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
from django.db import models from django.utils.translation import gettext as _ from website.models import TranslatedField from userdata.models import StaffUser class BeiratGroups(models.Model): title_de = models.CharField( max_length = 128, verbose_name = 'Gruppe innerhalb des Beirats (deutsch)' ...
[ "patrick.happel@rub.de" ]
patrick.happel@rub.de
6b85244c9a072334ead551a420b5939053c349c0
5ad839ea5a8b7acff149a7e620baf132d60ef655
/PythonFiles/Miniconda2/pkgs/python-2.7.16-hcb6e200_0/info/recipe/run_test.py
f060bd4d4208c8e15097a32acdad1af1765ba963
[ "MIT", "Python-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "BSD-3-Clause" ]
permissive
manos-mark/WebCamera-Head-and-Gaze-tracking
816ad2804528a53d515380078d7aed2adb8ec4f2
5001196f2e9ef31a653ee66efed979b3d10452e8
refs/heads/master
2022-11-07T15:47:10.225791
2019-07-18T08:51:30
2019-07-18T08:51:30
197,543,675
0
1
MIT
2022-10-26T10:54:00
2019-07-18T08:17:32
Python
UTF-8
Python
false
false
3,200
py
# make sure Grammar pickle files are present import os from os.path import dirname, isfile, join for fn in ('Grammar2.7.16.final.0.pickle', 'PatternGrammar2.7.16.final.0.pickle'): assert isfile(join(dirname(os.__file__), 'lib2to3', fn)) import platform import sys import subprocess from pprint import ppr...
[ "manos-mark@hotmail.com" ]
manos-mark@hotmail.com
f9ef28ee724dadfa8e3aac1696e9d0c261ca91c1
a5fd6b06cfeed486e3729de3be2202140656eed6
/accounts/views.py
4c974a455ccead5f6c91aa3157dc34d03bff1d51
[]
no_license
Sevikus/btre_project
ca723bc1372d7a717d62d3efc430b245384b6d37
729b7e6e118a6a409e6ffdbd7f44f10a09d95a81
refs/heads/master
2020-09-30T04:02:43.627869
2019-12-10T19:25:29
2019-12-10T19:25:29
227,197,762
0
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
from django.shortcuts import render, redirect from django.contrib import messages, auth from django.contrib.auth.models import User from contacts.models import Contact def register(request): if request.method == 'POST': # Get form values first_name = request.POST['first_name'] last_name = r...
[ "dragansevo.ds@gmail.com" ]
dragansevo.ds@gmail.com
7bc22ff7aaf4908fbac56962aad200eb123b3427
59522e46a73630181f19251b8bfef90e497c2f82
/coop_cms/management/commands/create_db_password.py
5e1a63ab5f5a28fa874530f70fdb8939143577be
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ljean/coop_cms
9befe74edda007686007f8566cd2555856099ae8
9e6c70afb61b57dc0326fbb64f9d6b19c04f48a1
refs/heads/master
2023-07-11T16:02:35.945029
2023-06-30T12:16:26
2023-06-30T12:16:26
5,846,409
3
5
NOASSERTION
2019-08-30T10:55:02
2012-09-17T19:53:56
Python
UTF-8
Python
false
false
409
py
# -*- coding: utf-8 -*- from getpass import getpass from django.core.management.base import BaseCommand from django.conf import settings from ...secrets import set_db_password class Command(BaseCommand): help = 'Generates a password DB' def handle(self, *args, **options): db_password = getpass("p...
[ "ljean@apidev.fr" ]
ljean@apidev.fr
46028ac27300218928133b6ea7f6ab6a92c51374
57579a07e4dc2144518a8aa48824916a97df13a4
/Think_Python/tmp/scratch_12.py
3e36926d8b17227cf7c77592b3880a0bcbcbf405
[]
no_license
ekc0106/python
c49a7ef482d1009a8dfdf939fa82049adc64471d
dd82596e22d132ea04e9e88f6b1bc3eec23220d8
refs/heads/master
2020-03-08T04:16:17.538144
2019-12-27T05:28:44
2019-12-27T05:28:44
127,916,253
0
0
null
null
null
null
UTF-8
Python
false
false
6,141
py
## time class Time(object): """Represents the time of day. attributes: hour, minute, second """ time = Time() time.hour = 11 time.minute = 59 time.second = 30 time.__dict__ ## pure functions def add_time(t1, t2): sum = Time() sum.hour = t1.hour + t2.hour sum.minute = t1.m...
[ "noreply@github.com" ]
ekc0106.noreply@github.com
a3abb973df7c49c23f085d85ce66b4a6df1246d2
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/gigasecond/f02e9fb37a7446a1af9ca9e795c77365.py
e490967c96d68ba8fa7ac4318031d539f832a649
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
135
py
from datetime import timedelta def add_gigasecond(dateTimeObj): gigasecond=10**9 return dateTimeObj + timedelta(0,gigasecond)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
df514b9511c6fc36b842a7f6ad97a00e5cef44a3
17207061de7d0ebbca88b551283eaecac70fc552
/main_AL.py
dd93ef8cb75b185e260fbb799117dd21a30cd0f4
[]
no_license
Abagena/Python
127934f56d1e9a23bf5f58f32ec56c972886f65a
976d24898269f2e946d9e55ebd94649b85e66abd
refs/heads/main
2023-03-30T12:17:46.246390
2021-03-24T12:15:07
2021-03-24T12:15:07
351,063,650
0
0
null
null
null
null
UTF-8
Python
false
false
14,197
py
import re, sys, time, random, requests, json, hashlib, datetime # -*- coding: utf-8 -*- class Handler: reload(sys) sys.setdefaultencoding('UTF8') # # new message handler # def new_message_handler(self, input_data, c2d): schedule = c2d.get_company_info() messageid = input_data['message']['id'] dia...
[ "noreply@github.com" ]
Abagena.noreply@github.com
b89aa1714d2572de6e214b9b1642e5621db8fb30
159b561d7ce4ed467576458e0b308bb5cd861b00
/linkedlist.py
767c4589693d02edd21c88c87ec5b09a27e724d9
[]
no_license
bjnish8/python_scripts
4219a88af0620c56902f0099ddff529c65f56c89
addb91c18deb402d2ec45d147f6b6a70c9dcc788
refs/heads/master
2021-07-13T12:18:15.035028
2020-09-24T21:13:01
2020-09-24T21:13:01
210,206,757
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
class Node: def __init__(self, val, nextnode = None): self.val = val self.nextnode = nextnode class LinkedList: def __init__(self, head = None, tail = None): self.head = head self.tail = tail def append(self, node): if self.head is None: self.he...
[ "binishk@bgsu.edu" ]
binishk@bgsu.edu
478b775070fc031d634ff2c05787e5d2a3d74da5
1b7e65a2b8ff8350db0541c20c29ffe10d510fc6
/custom_components/tautulli/sensor.py
82fd9bdd86bf0307edfc28dfaf737c6eb4e434d0
[]
no_license
torn8o/Home-AssistantConfig
3084181d64c8c62ce1c48d35102ba252f5b3de9d
7cd42c49d5b05f1c0008d284b63a6d4f2cce4d39
refs/heads/master
2023-04-27T19:24:42.319264
2023-04-14T21:29:58
2023-04-14T21:29:58
86,635,902
28
3
null
2017-07-14T03:34:19
2017-03-29T22:42:34
HTML
UTF-8
Python
false
false
6,195
py
""" Support for getting statistical data from a Tautulli system. """ import logging import json from datetime import timedelta import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA fro...
[ "icharliebrown@gmail.com" ]
icharliebrown@gmail.com
f10f5f5e2fae16dfd47bfe080d7e78398a19a6a6
dddaa82f5f8b9d96c2177009c987e6d3bfe9ed72
/coupon.py
9484008936e984bfc127d1aab846204edf389149
[]
no_license
matthewparkbusiness/Coupon-Generator
2320d9f44b495a44a901b211ffe311ca314b85e0
ad538c9f2ffefdf0f25462c03336f22b39526565
refs/heads/master
2020-08-17T12:54:10.666323
2019-10-17T00:39:39
2019-10-17T00:39:39
215,669,859
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from coupon_rule import CouponRule from typing import Type class Coupon: def __init__(self, rule: Type[CouponRule], code: str) -> None: self.rule = rule self.code = code self.used = False def use(self) -> bool: result = not self.used self.used = True return result def __repr__(self) -> ...
[ "42101816+matthewpark@users.noreply.github.com" ]
42101816+matthewpark@users.noreply.github.com
0d5a7edd04f421f3cceee2e108c13b1740c89b0a
c3a24f00c916a8747cf3875a5f3377e14caae786
/location_coord_checker.py
cb474f63984a735d5e48a2cda619d79c6b51d9e0
[]
no_license
friendslab20/lab_ensino_20
1e55dcd175a7e88f31062872b60258964b775082
5991d773a853b0944688b1ef70363d7ac9d453b8
refs/heads/main
2023-02-02T07:06:47.838448
2020-12-21T19:21:08
2020-12-21T19:21:08
323,419,509
0
0
null
null
null
null
UTF-8
Python
false
false
3,766
py
# !/usr/bin/env python # coding: utf-8 # Sistema Geodésico – SIRGAS2000 # pip install --upgrade fiona # conda install -c intel fiona geopandas import fiona # Determina se um ponto está dentro do polígono # Polygon é uma lista de pares (x,y). # Rotina de modelagem geométrica para verificar se um ponto está dentro de ...
[ "friendslab20@gmail.com" ]
friendslab20@gmail.com
a2bfd5334ad964b8fe2f5c3addb9d88084f31e5b
0d9b75fee49b37038a10e467c39cf75c9cf4d5ae
/OpenCV_learn/code_030/opencv_030.py
d4195aea4d2a004c17e47d6166072a6ffa2427bc
[]
no_license
MachineLP/OpenCV-
743a5fcfc3f300ccb135f869e2f048cb5fdcd02a
f3da4feb71c20d2e8bc426eb5a4e2e61a2fd4a75
refs/heads/master
2023-03-23T15:31:22.985413
2023-03-08T09:33:28
2023-03-08T09:33:28
178,887,816
104
51
null
null
null
null
UTF-8
Python
false
false
657
py
import cv2 as cv import numpy as np src = cv.imread("./test.png") cv.namedWindow("input", cv.WINDOW_AUTOSIZE) cv.imshow("input", src) blur_op = np.ones([5, 5], dtype=np.float32)/25. shape_op = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]], np.float32) grad_op = np.arr...
[ "noreply@github.com" ]
MachineLP.noreply@github.com
9f2fb10d39746c5c6f7122d0b4aa30e0eca352c9
ae4c386efb1a0ed55f2c88d7194edcecf1b35ed4
/nixui/graphics/diff_widget.py
170a6f5dc4aa925ee4e83f84691fb3622ffaf404
[ "MIT" ]
permissive
tusharsadhwani/nix-gui
71738951965865fae88c3896e387c615711190e1
e7d1137ff85ef6bfe33ccc7cd8eee944475d4217
refs/heads/master
2023-08-02T10:51:02.707574
2021-10-09T03:38:22
2021-10-09T03:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,769
py
from PyQt5 import QtWidgets import difflib from nixui.graphics import generic_widgets class DiffedOptionListSelector(generic_widgets.ScrollListStackSelector): ItemCls = generic_widgets.OptionListItem # TODO: remove break dependency with generic_widgets.py def __init__(self, updates, *args, **kwargs): ...
[ "andrew" ]
andrew
f24fdaada3d2c828fe26947ec27984466814cd1e
b70ec5f64ba9ee1317da1cab0dfc5955910c5a4f
/manage.py
d403d35b999e174c6a554342fc7ffac9bc35a89c
[]
no_license
wittymindstech/iot-dashboard-djangoweb
f2f862d910d687a16a64801b01a869e2ef65231b
75fc0bc831b3b2a83ad36fe9043d6c61e487c2a2
refs/heads/main
2023-06-27T04:44:14.166102
2021-07-13T11:33:47
2021-07-13T11:33:47
380,271,956
1
2
null
2021-07-13T11:33:47
2021-06-25T14:59:03
JavaScript
UTF-8
Python
false
false
683
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WTIOT.settings') try: from django.core.management import execute_from_command_line ex...
[ "gaurav.2897@gmail.com" ]
gaurav.2897@gmail.com
9803cad3f1b6b91ba7c59d74fbcc65e29ef64f80
4094cdd4f6034dd082c6f97187819c5d88c3199f
/public/common/my_unit.py
8b22abcad8d36f86afd5ba605d5d61524797a353
[]
no_license
destinationnn/auto_ui_test
691a6b85ba8242727d5a7c1b0a6efa6fd8282a11
59882bdac80ff5fe04228588e763ca819982cf1b
refs/heads/master
2021-07-01T23:45:35.830969
2017-09-22T02:59:10
2017-09-22T02:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
import os import unittest BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) conf_path = BASE_DIR + '/config/config.ini' conf_path = conf_path.replace('/', '\\') from public.common.get_config import r_config from public.common.get_log import Log from public.common.get_images import browser, insert_i...
[ "onlyccie@live.cn" ]
onlyccie@live.cn
02bf8fdde14c3aac9ce51f353f4387eeb79001e6
e627d47d5102bd68c2012501aa120833b9271da7
/aws_api/core/models.py
89508d58bf7297df0d5b42ee5c50cbd82b4d8508
[]
no_license
aayushgupta97/django-km
5ba275d1f85eaaf8bc052e47d2b6b6f1a5e4cf90
d34cd4f8637718044832d9baeecee86df5e821a5
refs/heads/master
2023-01-02T18:12:31.384634
2020-10-24T09:21:50
2020-10-24T09:21:50
298,391,389
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
from django.db import models from django.contrib.auth.models import User from jsonfield import JSONField # Create your models here. class AWSCredentials(models.Model): access_key = models.CharField(max_length=128) secret_key = models.CharField(max_length=512) account_id = models.CharField(max_length=40) ...
[ "aayushgupta2097@gmail.com" ]
aayushgupta2097@gmail.com
81ea85c94df6be769b91ca66567cb99c500486e8
ae231d793f80966513e225dafd127c25772c2e6b
/nuitka/tree/ReformulationClasses.py
95e73f0da69e65ac532dc10c0ba890fe779bd1d6
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
awesome-python/Nuitka
41bbc3cbd8a0e025ac5f59e6d3f7bcca3efe1522
ad0ed473eb4a919d758c72cfc6cfbd5977998c5b
refs/heads/master
2021-01-18T06:23:06.493913
2016-05-26T12:58:27
2016-05-26T12:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,489
py
# Copyright 2016, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
75fe5a8f200efb8a375fdb2be70b50fa02ee2375
2e78cd226a3c1fd2a27e60cea28dd77ba68a8630
/preprocessing.py
10bd1674b81b1a6f1eb1766fc3d510a37ca8b474
[ "MIT" ]
permissive
Steve-YJ/Steve-SageMaker-Tutorials
86a39b4da8b0aca3f54f40a32f536c043ceede56
5b43228eeb1c8a5846fb1a8860b839df157e2619
refs/heads/main
2023-04-23T09:14:41.976900
2021-04-29T00:34:17
2021-04-29T00:34:17
362,421,365
0
0
null
null
null
null
UTF-8
Python
false
false
3,034
py
import argparse import os import warnings import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler, MinMaxScaler from sklearn.exceptions import DataConversionWarning from sklearn.compose import make_column_transformer warnings.filterw...
[ "stevelee@mz.co.kr" ]
stevelee@mz.co.kr
d17ce8802fa93c39c6b0c878618591c8e9e54804
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/list_workflow_statistic_request.py
15c6ff0b1d99414e34d6ff1f3f4a86a7a12c7a08
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,669
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListWorkflowStatisticRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
8ce185c295da02d35794c2f261b5426e43b51655
b431b7566427faec22d97f5032de8b78f2ce7b3c
/venv/Lib/site-packages/utilpy/files.py
2f995631950c60811adf0087b3c6fc8fc3c9c8de
[]
no_license
Emilianopp/pygame
735f030780ddf799a83270b92fb29da9692e1dd9
f5f5eaff72fb8e3c677f66f28667c70b91b6a2bd
refs/heads/main
2023-07-23T13:30:40.699820
2021-08-24T02:06:40
2021-08-24T02:06:40
336,358,437
0
2
null
null
null
null
UTF-8
Python
false
false
4,217
py
import zipfile import os import shutil import patoolib from .utils import walk_directory, format_filename def _zipdir(dir_path, ziph, exclude=None, include=None): """ write file to zip object Args: dir_path:``str`` parent directory to zip ziph:``Zipfile`` Zipf...
[ "epenaloz@uwo.ca" ]
epenaloz@uwo.ca
9e8d73095336a9aec74a9c50d0d0e8418c3ee1fa
72863e7278f4be8b5d63d999144f9eaec3e7ec48
/venv/lib/python2.7/site-packages/libmproxy/console/window.py
69d5e242cd0f379d95e9b2ce08e66ce6ea7d6a88
[ "MIT" ]
permissive
sravani-m/Web-Application-Security-Framework
6e484b6c8642f47dac94e67b657a92fd0dbb6412
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
refs/heads/master
2020-04-26T11:54:01.334566
2019-05-03T19:17:30
2019-05-03T19:17:30
173,532,718
3
0
null
null
null
null
UTF-8
Python
false
false
3,189
py
import urwid from . import signals class Window(urwid.Frame): def __init__(self, master, body, header, footer, helpctx): urwid.Frame.__init__( self, urwid.AttrWrap(body, "background"), header = urwid.AttrWrap(header, "background") if header else None, footer...
[ "sravani.manukonda7@gmail.com" ]
sravani.manukonda7@gmail.com
72a814435d4159ba19a2c548b890a43020e942c8
f68cd225b050d11616ad9542dda60288f6eeccff
/testscripts/RDKB/component/PAM/TS_PAM_GetProcessNumberOfEntries.py
173f02eb2b3d59f3694789afc506cc744abebd56
[ "Apache-2.0" ]
permissive
cablelabs/tools-tdkb
18fb98fadcd169fa9000db8865285fbf6ff8dc9d
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
refs/heads/master
2020-03-28T03:06:50.595160
2018-09-04T11:11:00
2018-09-05T00:24:38
147,621,410
0
0
null
null
null
null
UTF-8
Python
false
false
5,419
py
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
[ "jim.lawton@accenture.com" ]
jim.lawton@accenture.com
cca1b0900bb1ccb36f71339ce1474d3bf34c967b
0b6dbf85c169622e4da4cabeb799ed8ec5eeb109
/djangorest/settings.py
91ee2a91489a3f472a01b6cb84260a8f6fc81dc7
[]
no_license
rochimo2/api_tutorial
88e1aa542222211a7bc4b0c47ed759cca129f14e
194109383339b9fba0252726ea1019e251eb52f2
refs/heads/master
2020-03-07T07:31:20.028560
2018-03-29T21:57:25
2018-03-29T21:57:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,462
py
""" Django settings for djangorest project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "rmoyano@nomades.com.ar" ]
rmoyano@nomades.com.ar
a3896f595a20d91502cbd6e39182b02c88162ce0
c8a84cdced4d408a273a99a82432e41fc6a9ab55
/src/neprojects/settings/prod.py
f0bd684ef104bfaafcf743399bf9f4088f514eba
[]
no_license
poudel/goodmandu
584bb652ef4f51ee4ca336f674e37d38a782e3c9
64177d7fd95002dd06ad9b99817fff6095a9166c
refs/heads/master
2021-06-12T14:56:18.802948
2019-10-09T19:15:34
2019-10-09T19:47:16
128,678,514
1
0
null
2020-06-05T18:07:43
2018-04-08T20:18:13
Python
UTF-8
Python
false
false
96
py
from .base import * DEBUG = False try: from .local import * except ImportError: pass
[ "self@keshab.net" ]
self@keshab.net
1a22c6f4d145dfc0e9a39fdb60db7ac9c0a5883a
162dbc3ab6a46402d32461aceda18091b59f01a5
/fb37/lib/python3.7/site-packages/facebook_business/adobjects/customconversion.py
109346d17b38e2e23274dc0c1ae35ba43b966bf3
[]
no_license
justineshaw/fbv37
2895b8fc5d6f5efbe5ff4e487025ac8d403b78aa
e5b0c46f76adfec74899adb782321335cbeaf1a3
refs/heads/master
2022-12-13T10:19:25.113429
2019-08-19T13:03:22
2019-08-19T13:03:22
199,038,644
2
1
null
2022-12-08T05:19:51
2019-07-26T15:15:56
Python
UTF-8
Python
false
false
14,700
py
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
[ "easyworkemail@gmail.com" ]
easyworkemail@gmail.com
1e3202d244ebfff9dd6bcecadaa71c32fb40e2fd
709bd5f2ecc69a340da85f6aed67af4d0603177e
/saleor/product/migrations/0073_auto_20181010_0729.py
b6435a6d48c72a8b3723f876f1995998d63fc51b
[ "BSD-3-Clause" ]
permissive
Kenstogram/opensale
41c869ee004d195bd191a1a28bf582cc6fbb3c00
5102f461fa90f2eeb13b9a0a94ef9cb86bd3a3ba
refs/heads/master
2022-12-15T02:48:48.810025
2020-03-10T02:55:10
2020-03-10T02:55:10
163,656,395
8
0
BSD-3-Clause
2022-12-08T01:31:09
2018-12-31T09:30:41
Python
UTF-8
Python
false
false
1,129
py
# Generated by Django 2.1.2 on 2018-10-10 12:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('product', '0072_auto_20180925_1048'), ] operations = [ migrations.AddField( model_name='attribu...
[ "Kenstogram@gmail.com" ]
Kenstogram@gmail.com
8b0c025a56778453f144197d06f980ed00737458
af8f0d50bb11279c9ff0b81fae97f754df98c350
/src/book/api/views/category.py
3037b5486bcde77e4a473f50e746cb978cc99220
[ "Apache-2.0" ]
permissive
DmytroKaminskiy/ltt
592ed061efe3cae169a4e01f21d2e112e58714a1
d08df4d102e678651cd42928e2343733c3308d71
refs/heads/master
2022-12-18T09:56:36.077545
2020-09-20T15:57:35
2020-09-20T15:57:35
292,520,616
0
0
Apache-2.0
2020-09-20T15:49:58
2020-09-03T09:09:26
HTML
UTF-8
Python
false
false
513
py
from book.api.serializers.category import CategorySerializer from book.models import Category from rest_framework import generics __all__ = [ 'ListCreateCategoryView', 'RetrieveCategoryView', ] class ListCreateCategoryView(generics.ListCreateAPIView): serializer_class = CategorySerializer queryset ...
[ "dmytro.kaminskyi92@gmail.com" ]
dmytro.kaminskyi92@gmail.com
3eebded3e51926fff9c1f76a81b7786c011c7547
8aa1b94626402c0c614128d6061edb771dad05cf
/e100/e017.py
b24dd8c62dd7fb877ccffbdbd147ff7d80e27ed6
[]
no_license
netfj/Project_Stu02
31e76c1b656ee74c54cae2185821dec7ccf50401
afc1b26b7c586fd6979ab574c7d357a6b9ef4d29
refs/heads/master
2023-03-13T22:24:40.364167
2021-02-23T09:53:31
2021-02-23T09:53:31
341,506,093
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#coding:utf-8 """ @info: 题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。 @author:NetFj @software:PyCharm @file:e017.py @time:2018/11/1.16:45 """ # c='0' # while c != '': # c = input('Input a string:') c='abc1 2 3 4 5 6[(@#$)]' y,k,s,q =0,0,0,0 for x in c: if x.isalpha():y+=1 elif x.isspace():k+=1 elif x.isdigit(): s ...
[ "netfj@sina.com" ]
netfj@sina.com
f591d4de1b9eed87d9957639e078e2d3f1771f12
058095044273a31b63e9075874cc6c930966b248
/pickapub_api/settings.py
bb95b30879ef175c46a8cb202b7230cd9dc74208
[]
no_license
ishankyadav92/pickapub_api
ecb8db2771a85e900f6c72c25bac5eb065decc6f
f921ed255fab955ed3d5c4dabf98b1fdb24caa05
refs/heads/master
2022-12-09T02:52:55.643909
2017-05-29T18:32:32
2017-05-29T18:32:32
91,780,329
0
1
null
2022-12-07T23:57:10
2017-05-19T07:48:54
Python
UTF-8
Python
false
false
3,918
py
""" Django settings for pickapub_api project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "joshi.shubham82@gmail.com" ]
joshi.shubham82@gmail.com
1c514da4809f069dea6bd00c236b1d993bd44ffb
d59a8dfbdb33e5e039601df23f45dab0ce083361
/users/models.py
3edda378495739be1a5e505b795a15a21233bd27
[]
no_license
bagafoot/django
16f6ed8cd9944ad7e6892d7c9924bd1623268696
68a2c51ff9d3211e68b8508883f470066f383738
refs/heads/master
2020-07-29T11:04:50.200209
2019-09-20T11:25:11
2019-09-20T11:25:11
209,773,752
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from django.db import models from django.contrib.auth.models import User from PIL import Image class Profile(models.Model): user = models.OneToOneField(User,on_delete=models.CASCADE) image = models.ImageField(default='default.jpeg',upload_to='profile_pics/') def __str__(self): return (self.user.us...
[ "bagafoot@hotmail.com" ]
bagafoot@hotmail.com
88ae10543f5e8553ed3e462607d89c072b024aac
81e0c610f487cd54e3596c0a13942158038fd7ca
/analysis/performance.py
a1075e60bc9501b86a33e39589afd9528ea080cc
[]
no_license
santacruzlab/bmi_tasks_analysis
fbb8aeec03d215951f941cf6f0b7cb953d5ffb46
232eeeffa82e5d3e174ae5a5acdf9b7b15f5c53a
refs/heads/master
2022-05-05T02:03:55.808391
2022-04-06T18:13:17
2022-04-06T18:13:17
168,071,555
0
1
null
null
null
null
UTF-8
Python
false
false
44,029
py
#!/usr/bin/python ''' Task-dependent performance measures (primarily for BMI tasks currently) ''' from db import dbfunctions from db import dbfunctions as dbfn import numpy as np from scipy.stats import circmean import matplotlib.pyplot as plt # import plotutil from collections import OrderedDict, defaultdict...
[ "noreply@github.com" ]
santacruzlab.noreply@github.com
d782aef0120ef786fd9c92630888749d2cab695e
3afc61e1ee2ca7152f0adaf8d3ad8709843b5823
/kohei4/tutorial00/word-count.py
07d02a4dde25515de8a08b6d01d338ef6855ed1d
[]
no_license
tmu-nlp/NLPtutorial2017
87114aa96c03faa5023b44228aed939a1f017f0b
c31011ab55a85f81a078c7c9ed64807e258d3b94
refs/heads/master
2021-01-19T22:39:59.991612
2018-07-02T05:52:21
2018-07-02T05:52:21
88,833,788
1
1
null
null
null
null
UTF-8
Python
false
false
348
py
import sys from collections import defaultdict w_cnt = defaultdict(lambda: 0) with open(sys.argv[1], 'r') as f: for line in f: line = line.lower() w_list = line.split() for i in range(len(w_list)): w_cnt[w_list[i]] +=1 for wd, ct in sorted(w_cnt.items()): prin...
[ "kohei@Kohei-no-MacBook-Air.local" ]
kohei@Kohei-no-MacBook-Air.local
a5ef4b8ccf8dadcffeb1fc3f537fe542a24382f4
d20b76335933ab14cb56d969c4638d301a26a923
/tools/views.py
5265ae18d92a6845e9c0b9a9a08d99ec3195de52
[]
no_license
doctorMcbob/wwf
87c8fc053b8d090aebf9078edfbebce7fd7a021f
6a7af3f4b46dc6d9c91378db9ed0c26862d20b5f
refs/heads/master
2021-01-10T13:01:28.044366
2015-10-13T00:00:24
2015-10-13T00:00:24
44,136,157
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
URLS = [] class ViewConfig(object): def __init__(self, url, method): self.method = method self.url = url def __call__(self, func): def view(*args, **kwargs): return func(*args, **kwargs) for u in URLS: if u[0] == self.url: if self.method...
[ "wootenwesley@gmail.com" ]
wootenwesley@gmail.com
aa36af9177a2fa95baad418cbde3b3279a24ef38
0c93bdbac7fb97cf0df07657a8c7e72da6daa618
/chia/consensus/block_creation.py
612f8763f3a7f16da9c7752ebdf5a3707282c78e
[ "Apache-2.0" ]
permissive
Kaieida/bluepool
6fe77d057ac576f669d0cb3498c7bbc5110db1fb
88feb12da64673815ff20c503e497b28fa9f9b82
refs/heads/main
2023-06-04T10:44:47.941235
2021-06-24T15:46:03
2021-06-24T15:46:03
379,903,815
0
0
Apache-2.0
2021-06-24T11:35:32
2021-06-24T11:35:31
null
UTF-8
Python
false
false
21,599
py
import logging import random from dataclasses import replace from typing import Callable, Dict, List, Optional, Tuple import blspy from blspy import G1Element, G2Element from chiabip158 import PyBIP158 from chia.consensus.block_record import BlockRecord from chia.consensus.block_rewards import ( calculate_base_fa...
[ "admin@bluepool.io" ]
admin@bluepool.io
511334a97959c166add09f07d30f551acd4b2aeb
268b0441a5fd45da501f5e50e155a86043de2472
/test/test_puchikarui.py
6495727bd08686c549c8fb266e4650e6d8b26d27
[ "MIT" ]
permissive
cliffpham/puchikarui
c837e4b487cd4c3a8fcfe0c46d69ea2804bdfc9a
c6cf9292685f2a5c93f9feb206e2dc1371ce20f2
refs/heads/master
2020-07-31T16:28:01.674364
2019-07-03T03:36:54
2019-07-03T03:36:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,282
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Script for testing puchikarui library Latest version can be found at https://github.com/letuananh/puchikarui References: Python documentation: https://docs.python.org/ Python unittest https://docs.python.org/3/library/unittest.html @author: ...
[ "tuananh.ke@gmail.com" ]
tuananh.ke@gmail.com
8a8f6112f53bb309788221a2b6409b7fa37abe2b
ffd7b823905e1db0462e39017414dbef8bdf8c21
/src/VOMSAdmin/VOMSAttributesService_services.py
9ad694bb1ff2f3dfc59309b94439cf8ba0d0b07d
[ "Apache-2.0" ]
permissive
AlbertoPeon/voms-admin-client
3dd7cd2d71b3c5591dbd96ccca950d460071320d
e628a8e09acc19a106d325154706f300d7651a42
refs/heads/master
2021-01-15T17:21:24.956019
2012-04-14T08:17:42
2012-04-14T08:17:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,392
py
# # Copyright (c) Members of the EGEE Collaboration. 2006-2009. # See http://www.eu-egee.org/partners/ for details on the copyright holders. # # 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 # ...
[ "andrea.ceccanti@cnaf.infn.it" ]
andrea.ceccanti@cnaf.infn.it
808052a2b4fdea98185de20e30878e2b5e2d9fbb
81c7cf8d7e80d9d27a19ddb3600916b084755852
/vincent_CNN/cnn.py
a6eee2a213a62447673439fabfc780e9d9788494
[]
no_license
daveguy/COMP652Project
c67eb4389be9424ed3d3301f0bbf623d52e39701
30809b86b9515856f987a3d9ef76e603b0762579
refs/heads/master
2020-12-31T05:24:03.790773
2016-04-23T14:57:39
2016-04-23T14:57:39
56,445,482
0
0
null
null
null
null
UTF-8
Python
false
false
5,990
py
''' Convolutional Neural Network implementation (Using Lasagne helper library for Theano) Author: Vincent Petrella (modified from Lasagne MNIST tutorial: http://lasagne.readthedocs.org/en/latest/user/tutorial.html) ''' import random, time, csv import numpy as np import theano import theano.tensor as T import lasagne ...
[ "davidlbrq@gmail.com" ]
davidlbrq@gmail.com
f91de9c4fe70f68674d8418ec69a0c0fc7065996
57dfc1f76d75d457406a33818d8aacc5335f448f
/cmg/dataVisualize.py
ddd51d857f6cd29cdd86f537b7d1b930916a6084
[]
no_license
euphoricpoptarts/IPDPS_2021_Graph_Coarsening
548d8ffea29088b51ae1fb647d8271005b651894
981ae35b7433d8cf4c4419dac08b2ebaac85dbf3
refs/heads/master
2023-04-29T01:30:13.671311
2021-05-17T04:09:40
2021-05-17T04:09:40
339,294,239
1
1
null
null
null
null
UTF-8
Python
false
false
2,816
py
import sys from glob import glob from parse import parse from statistics import mean, stdev from pathlib import Path import matplotlib.pyplot as plt lineFormat = "{}: {}" stemFormat = "{}_Sampling_Data" outputFormat = "{}\{}.png" size = (10,10) class PlotGroup: def __init__(self, name, yaxis, index): self...
[ "mike@mikessh.fios-router.home" ]
mike@mikessh.fios-router.home
52c250248f66ae158898ea2129bf9fa588c8d1cd
82a76580a4894c48bd9f72f8d9b84d1fb6ed3a77
/main.py
46fdc3ba90ca3d0161a3154c3de7f81e1cf3f918
[]
no_license
RazK/Tofu-Reef-Soup-App
e4cf129b3915684a1ca3ee7c86be4bcafaef93ed
f3956c402faa2cb0aaac532c3e63f61c28fae359
refs/heads/master
2020-03-07T15:22:49.428065
2018-04-08T12:15:37
2018-04-08T12:15:37
127,553,300
1
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
from random import random from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.button import Button from kivy.graphics import Color, Ellipse, Line from PieChartApp import PieChart class MyPaintWidget(Widget): def on_touch_down(self, touch): print("Touching") color = (random(),...
[ "Raz@yosigal.com" ]
Raz@yosigal.com
77e7cc5640e890f2d61a864488a0607592a374d8
5ede23dc0292d4de375eed434148a1e0f5e45c4c
/face_eye.py
5af7ff9fc7b89babab7663b64fd00dc68609e2d5
[]
no_license
themailman05/FaceDetectionTutorial
85d4718b838cd157fab865208abd3d0b141083e3
80ea4153545893ec890f39645f242f08c8113e30
refs/heads/master
2021-01-23T13:49:57.042145
2014-12-10T22:23:18
2014-12-10T22:23:18
27,513,526
0
1
null
null
null
null
UTF-8
Python
false
false
1,003
py
import cv2 import sys # Get user supplied values imagePath = sys.argv[1] firstPath = sys.argv[2] secondPath = sys.argv[3] # Create the haar cascade faceCascade = cv2.CascadeClassifier(firstPath) eyeCascade = cv2.CascadeClassifier(secondPath) # Read the image image = cv2.imread(imagePath) gray = cv2.cvtColor(image, ...
[ "castborg@Daniels-MacBook-Pro.local" ]
castborg@Daniels-MacBook-Pro.local
ab6b6c52579d74e382ce37f2ebe8f535a24dbc3f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_59/455.py
3e6cea92b28872ec185a3a22fdbde19106c357b6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,472
py
#! /usr/bin/env python import sys f = file(sys.argv[1]) lines = [ln.strip() for ln in f.readlines()] T = int(lines[0]) print('%s contains %i (T) test cases' % (sys.argv[1],T)) cases = [] ind = 1 for i in range(T): #print(lines[ind], lines[ind].split(' ')) n,m = [int(k) for k in lines[ind].split(' ')] #pr...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e876905aa9164e349da05d0b1b8ed896b2ad4179
bd9b24955dc0f0de5788043736c096b31ef48aa4
/listtojson.py
c53fc0d327362bcc05aafada30898d6821a4793a
[ "MIT" ]
permissive
Exal117/pywikibot-core
27033b116bdc783d056b9ea397522b36167fe5db
731b0811ad31b227f822c2bc977b098d4ecea3a7
refs/heads/master
2020-12-25T23:19:32.393233
2014-12-14T09:43:32
2014-12-14T09:43:32
27,010,993
0
0
null
2018-01-04T14:45:32
2014-11-22T20:11:43
Python
UTF-8
Python
false
false
5,385
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import re import pywikibot import json import unicodedata def getListsFromList(paginaLlistes): lists = re.findall(ur'\*{1,2}[:space:]{0,}(\[{2}Llista [a-zA-Z0-9 \:]+(.*?)\]{2})',paginaLlistes, re.S) for l in lists: if (len(l) > 0): var = l[0] var = re....
[ "alex.cortijo117@gmail.com" ]
alex.cortijo117@gmail.com
dc56ce3d672acadfd6e6b640ae3c4b0cf870703f
c28b15dfca3212f0f28727c7ad9d6193936598dc
/tasks/_iblrig_tasks_trainingChoiceWorld/_iblrig_tasks_trainingChoiceWorld.py
7e7cf1d44f7c01a2c0531d5126b05a0bfb48d72f
[ "MIT" ]
permissive
justinplittle/iblrig
78d0703cda0b8623015f77939220128f20a997e6
0ee17a14633f0dc7b87f268f433a027e73fd6d57
refs/heads/master
2022-11-30T07:20:20.637002
2020-08-12T17:04:41
2020-08-12T17:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: Niccolò Bonacchi # @Date: 2018-02-02 12:31:13 import logging import matplotlib.pyplot as plt from pybpodapi.protocol import Bpod, StateMachine import online_plots as op import task_settings import user_settings from iblrig.bpod_helper import BpodM...
[ "nbonacchi@gmail.com" ]
nbonacchi@gmail.com
eaddbd9e7beeadcf5d48bd8734cbeb4e41feef36
be4150f4381f3f59453b564af7e3d73089190521
/manage.py
fa7d0faab5b1fc49a492c96eb547714995f495f9
[]
no_license
wolf811/rsps-new
75d3cda36e5c599b768a80d70959e13eeb679732
cda55af71164220dd5f1158adcf824a4697d1863
refs/heads/master
2020-04-19T09:45:22.658273
2019-05-18T09:29:55
2019-05-18T09:29:55
168,119,596
0
1
null
2019-05-18T09:29:56
2019-01-29T08:36:51
HTML
UTF-8
Python
false
false
536
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rsps.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you...
[ "wolf811@gmail.com" ]
wolf811@gmail.com
b373b1aad1f299786843fccd8f279956c726152f
5025cc322727a0c59f238d4e50ad4405ea529985
/SEMI_LEARN/GAN/net.py
4cf98f40529351b7c527c02bb904222b1b8b67ca
[]
no_license
yugitti/learn-ai2
c19fd5ebdb80bb7643e0649d301abd35c39cb363
e10e32991c5bbffc104fc2ec43b0e8fce8f41dc3
refs/heads/master
2020-04-11T11:35:57.665102
2018-12-14T11:01:22
2018-12-14T11:01:22
161,753,279
0
0
null
null
null
null
UTF-8
Python
false
false
7,741
py
import torch.nn as nn import torch class Generator(nn.Module): def __init__(self, nz, ngf, nc): super(Generator, self).__init__() # self.gpu = args.gpu ##upsampleinで得られる画像サイズ = (W - 1) x stride - 2xpadding + kernel + outputpadding self.model = nn.Sequential( #...
[ "s18150@s68.lab" ]
s18150@s68.lab
ba1d09dfa2be98c97876545eb931ac5de3435418
360bfa89ca9d65fb2c25aef4442bc9eb4cbe191e
/libs/common/Auth.py
e1dc2f8054ea987e5a9db4c01015ac46c812ee04
[]
no_license
onceWarmth/WarehousePurchase
36625a8b0bc368837d0be6cad0b6cf1441d135ee
f34b83aeb6a373571c0a19831d16b1a1a946dabc
refs/heads/master
2020-12-30T11:52:27.967392
2017-06-18T02:30:36
2017-06-18T02:30:36
91,433,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
# coding:utf-8 from libs.rModels.User import * from libs.common.Password import * import re class Auth(object): """docstring for Auth""" def __init__(self,request): super(Auth, self).__init__() self.request = request self.permission = { } def verify(self,username,password,method="sha256"): ...
[ "hackerlinx@outlook.com" ]
hackerlinx@outlook.com
2f1c51ce639b56e0728b1bdf8fd01f2ac2dbd4a2
219390e0e7f07209660c89e209f90739ce4a96c8
/fixture/contact.py
a378af460171953b233f4de99a7a577e1cca8a91
[ "Apache-2.0" ]
permissive
bilimus/python_tests
70d79014e07553a3ce324a30809193127c622028
bfba209bf6f320ecef92eb6543962846f22fec8e
refs/heads/master
2020-03-09T08:05:31.392287
2018-06-06T11:48:34
2018-06-06T11:48:34
128,681,296
0
0
null
null
null
null
UTF-8
Python
false
false
11,168
py
from model.contact import Contact import re import time class ContactHelper: def __init__(self, app): self.app = app def add(self, contact): wd = self.app.wd wd.find_element_by_link_text("add new").click() self.fill_contact_form(contact) wd.find_element_by_xpath("//div...
[ "bilimus@gmail.com" ]
bilimus@gmail.com
c57c65b8c8dd6a21d3e7f0f2990567ca94e25f38
c737f03bce0e52f1beb3fe2f416c802f324f1596
/auto/models.py
ed9e543ef9a9a51fbb2a06e19b7d430f41573894
[]
no_license
zouguohui/automation
4e7a567c162aa9a282454aa32c8a56771c5be50b
7b51c9ba63d5fa7c161da4e76786cf857d519418
refs/heads/master
2020-04-16T13:24:07.233054
2019-01-27T08:25:12
2019-01-27T08:25:12
165,625,755
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
from django.db import models # Create your models here. class HostInfo(models.Model): ip = models.CharField(max_length=255) user = models.CharField(max_length=255) #password = models.CharField(max_length=255) server_name = models.CharField(max_length=255) port = models.IntegerField(default=80) ...
[ "guohui.zou@atkj6666.com" ]
guohui.zou@atkj6666.com
6482e7b55ecab00bdeb4a9a9f5e47b26c85d2c53
2279ff1af474557a961d668fdd255130102c0eec
/house/apps/hplogreg/migrations/0001_initial.py
849e83ec47148ac910b6c0e1eefd948ae41da025
[]
no_license
sharpree89/wizards_duel
6fade5f156ebc3ce0afbf4e39f91cca7a71aefbf
f809b9590d0ec671c053b0435397ce9dffeadac1
refs/heads/master
2020-12-03T07:45:26.953943
2016-08-26T20:06:32
2016-08-26T20:06:32
66,574,265
1
2
null
2016-08-25T17:40:52
2016-08-25T16:19:00
Python
UTF-8
Python
false
false
814
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-25 02:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
[ "cindyngien@gmail.com" ]
cindyngien@gmail.com
043e9fa6f520efc3819ea417696518a68ba03ca1
7769cb512623c8d3ba96c68556b2cea5547df5fd
/configs/cascade_mask_rcnn_x101_64x4d_fpn_1x.py
80a5ed6a2b31ff06816ce74d04570d82517229a0
[ "MIT" ]
permissive
JialeCao001/D2Det
0e49f4c76e539d574e46b02f278242ca912c31ea
a76781ab624a1304f9c15679852a73b4b6770950
refs/heads/master
2022-12-05T01:00:08.498629
2020-09-04T11:33:26
2020-09-04T11:33:26
270,723,372
312
88
MIT
2020-07-08T23:53:23
2020-06-08T15:37:35
Python
UTF-8
Python
false
false
8,061
py
# model settings model = dict( type='CascadeRCNN', num_stages=3, pretrained='open-mmlab://resnext101_64x4d', backbone=dict( type='ResNeXt', depth=101, groups=64, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
209758b8f513f73a0c45dd72c782f42519515026
3244516a8b3cc79c92bea3c79465365478d748f1
/practice/counting_bag/grab_bag.py
154410fc69c03c502bf63f00e59a9210e7572773
[]
no_license
robinrob/python
bd0043a1cb97923db6e4414fa0158569ebc27ee8
ba598e388bfbbbf642fe73b4da79df2dd2c1c2c8
refs/heads/master
2021-06-14T16:45:14.879893
2021-01-24T06:30:05
2021-01-24T06:30:05
27,962,839
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from generator import Generator from my_exceptions import EmptyBagException class GrabBag: def __init__(self, items): self.items = items def grab_item(self): if (len(self.items) > 0): index = Generator().rand_num(len(self.items)) item = self.items[...
[ "msl@mercury.local" ]
msl@mercury.local
38bb1a8286957994cdba236a62cb1d914d147f4b
ff8f51541efcc886b6323be17611e52f847ba979
/Advanced IP.py
f51713484f19fef17f276eef8fa094fba52fe820
[]
no_license
MichaelYadidya/Python-Begginer-Projects
58bd59177f78304b247164507fc05232e84b14ae
24c75109ff5f76022b6b4a78351f96f95e050024
refs/heads/master
2021-04-28T11:09:35.857059
2019-06-27T21:49:14
2019-06-27T21:49:14
122,086,283
1
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
from threading import * from ipwhois import IPWhois from pprint import pprint import socket class ip_lookup(): def __init__(self): print('Welcome to IP Scanner: ') target = input('Enter the IP which you want to scan: ') ip = IPWhois(target) resolve = IPWhois.lookup_whois(ip) ...
[ "36267282+MichaelYadidya@users.noreply.github.com" ]
36267282+MichaelYadidya@users.noreply.github.com
dba1a03904559ee7acc59f6c910257a5156bf9d0
52c4444b7a8e1a313d847ba5f0474f5a429be4bd
/celescope/fusion/multi_fusion.py
b82cd4bece7083905eb8b0e0063018ff9117df0c
[ "MIT" ]
permissive
JING-XINXING/CeleScope
98d0d018f3689dbe355679c1b8c06f8d796c296d
d401e01bdf15c8eeb71bddede484ed8d4f189dcd
refs/heads/master
2023-05-07T11:47:04.133216
2021-05-28T10:14:53
2021-05-28T10:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from celescope.fusion.__init__ import __ASSAY__ from celescope.tools.multi import Multi class Multi_fusion(Multi): def star_fusion(self, sample): step = 'star_fusion' cmd_line = self.get_cmd_line(step, sample) fq = f'{self.outdir_dic[sample]["cutadapt"]}/{sample}_clean_2.fq{self.fq_suffix...
[ "zhouyiqi@singleronbio.com" ]
zhouyiqi@singleronbio.com
ad0f463e50fc0f5b7824e19aca588087c8539085
80b7f2a10506f70477d8720e229d7530da2eff5d
/uhd_restpy/testplatform/sessions/ixnetwork/topology/bfdv6interface_b9a91920db1b70c8c6410d2de0b438d3.py
949dbb8037a1e6340226858d1613dfa36d82a596
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
52,891
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
af37b6262756949e497f4341d19b94746a7ed2d9
a99a1bad0dde86da87f121af160f968c48999b0f
/evaluation/cifar10/train_cifar10.py
a4a31984d0433d6e199b4f0e1705b4c76a190bcc
[ "Apache-2.0" ]
permissive
Sandy4321/gdml
7af582f2c5594db30b8b77a4cb481dadb56e26c8
932cab10b7091bbcfa29000e57b2e032ca85e37d
refs/heads/master
2020-12-21T08:06:26.359057
2016-12-13T05:20:51
2016-12-13T05:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
import find_mxnet import mxnet as mx import argparse import os, sys import train_model parser = argparse.ArgumentParser(description='train an image classifer on cifar10') parser.add_argument('--network', type=str, default='inception-bn-28-small', help = 'the cnn to use') parser.add_argument('--data...
[ "mihirsht@gmail.com" ]
mihirsht@gmail.com
11f386ab1eccc8b471912de2ac1f732237f0c91e
58515caff2c5aa12560323fe826cfb19b6b93e3e
/pi_monte.py
319b228fa25645c6c9ca53fdd90f54ee2108e284
[]
no_license
jyheo/prob_stats
cc5ed6c044619b2c320bf6cfe90ed08a7da748f4
2f015f92a51eff5648c6f9836594c70f955bf027
refs/heads/master
2021-01-19T09:46:03.630783
2013-11-25T15:07:17
2013-11-25T15:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
import random incircle = 0 total = 10000 for i in range(total): x = random.random() y = random.random() if x * x + y * y < 1: incircle += 1 print 4 * float(incircle) / total
[ "jyheo0@gmail.com" ]
jyheo0@gmail.com
a8125602d2773545ae4d9ba2db99105520f5492e
e184cb0b6298d0848fcbfea7398b37aa3334172e
/chunker.py
7de8f5986f12ea0cb9ec3be969771310e9487ac0
[]
no_license
crapzor/EDAN70-project
301b8b42cb3d2762d873c7a50163e5ff641144a6
20a246d3d13bf9b279d2ed05145d3c1a35686a20
refs/heads/master
2020-04-16T20:20:09.807468
2019-01-15T18:21:35
2019-01-15T18:21:35
165,895,407
0
0
null
null
null
null
UTF-8
Python
false
false
10,023
py
""" Trains the model and predicts the chunk-tags. Saves result into files. """ from keras import utils from keras.models import Sequential from keras.layers import Dense, Embedding, LSTM, Bidirectional from keras.callbacks import ModelCheckpoint from pathlib import Path import numpy as np import tensorflow as tf # C...
[ "noreply@github.com" ]
crapzor.noreply@github.com
a0cd5154277dbc6e13d1a2a4d5494841cba8eb5c
fc8dd32012c8e508b7e03bb403116fc9a0847dcc
/tutorial/settings.py
457b4d64341ad8030558ac79490cea340517b46c
[]
no_license
buicaochinh/dj_rest_framework_tutorial
ca2405ab235db03997053baa64a13204717d470f
f103c08bb225c1f425596718122f8d13a0f67098
refs/heads/main
2023-04-15T15:49:17.574693
2021-04-11T10:59:48
2021-04-11T10:59:48
356,842,887
3
0
null
null
null
null
UTF-8
Python
false
false
3,404
py
""" Django settings for tutorial project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "buicaochinh0811@gmail.com" ]
buicaochinh0811@gmail.com
12d04f147d69fa46fc883c3596071b6fb5d701df
a0a2bdd1853566e088371172ff6df8f0140db7b7
/Make It Right.py
b0e6be746cd2d50d409b743bcfc3993a05189730
[]
no_license
AliRn76/Make-It-Right
486d8be86be1488f13535771707741c21ced162e
348f34b6a3e52a6b43adee005f455101aca82e29
refs/heads/master
2020-08-06T05:35:02.568899
2019-10-11T21:36:21
2019-10-11T21:36:21
212,855,039
2
0
null
null
null
null
UTF-8
Python
false
false
837
py
# Created By AliRn.ir import os for dirpath, dirnames, files in os.walk('.'): print(f'Found directory: {dirpath}') for file in files: if file.endswith('.srt'): base = os.path.splitext(file)[0] os.rename(file, base + ".txt") fileName = base + '.txt' try: ...
[ "alirn76@yahoo.com" ]
alirn76@yahoo.com
6d29547cb4d09567d559ba7b1c5990eb8fc31a92
60ee3b8256e7411f22de4f503fd593288c47fb80
/game_function.py
05ce0bced24b99532aa35023cb88dc2baf6fb485
[]
no_license
loginchaoman/alien
fa7bbbdab201b6dc48f27ff6c67208c7e8dafe1c
1184ca2c791204e0dc87a93b13f177e7631c9750
refs/heads/master
2020-06-28T21:24:02.743914
2019-08-03T07:18:12
2019-08-03T07:18:12
200,345,116
0
0
null
null
null
null
UTF-8
Python
false
false
6,359
py
import sys import pygame from bullet import Bullet from alien import Alien from time import sleep def check_keydown_events(event,a_settings,screen,ship,bullets):#按下键盘 if event.key==pygame.K_RIGHT: ship.moving_right = True#向右移动 if event.key==pygame.K_LEFT: ship.moving_left = True#向左移动 if even...
[ "mc666@163.com" ]
mc666@163.com
0d5bead907bc0b3631c7153f73c2c017b248310e
ff5f6f5f36038d94352e53cb12b7ac1a1fec6679
/src/python/Chunked_Arduino_ADC_2.py
5a6d1135acfc591f0df8d0c8ce567c6a1977712c
[]
no_license
rgill02/EE-137-Doppler-Radar
8aea0a55a5407279f10cf5094a701f9a900b17e6
c3d8531d6e529d86b59cc13173d25d2739d16461
refs/heads/master
2020-04-23T19:02:40.321173
2019-05-06T15:57:50
2019-05-06T15:57:50
171,388,815
2
2
null
null
null
null
UTF-8
Python
false
false
5,312
py
#Imports import serial import serial.tools.list_ports as list_ports import threading import queue import numpy as np import struct ################################################################################ class Chunked_Arduino_ADC: """ Reads values from the arduino and writes them to a queue """ def __init_...
[ "ryan.gill@stresearch.com" ]
ryan.gill@stresearch.com
4e76534011deaf7d7ef0ad602a1443d13a3e04a6
ea5ae1de651cb9cd61ac1321b8c1ecd44c757ae1
/TestDjango/asgi.py
491bed8ef7cbe679f2361f5132c2aa76bc0cd6cd
[]
no_license
SansReves/Prueba03_PGY3121-007D_Ignacia_Mendez
4126acb0633d811ade46cb7b8fcc85ab9d68a4b8
2a95bc3db8cc763121aec4939ea2e0c2d8b97a91
refs/heads/main
2023-05-31T09:20:54.803768
2021-07-12T04:25:14
2021-07-12T04:25:14
385,123,222
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" ASGI config for TestDjango project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefau...
[ "noreply@github.com" ]
SansReves.noreply@github.com
98fe3ca46edf6dcb82078c09ef1b4d521fdde56e
fe9fe6beee2ef505b76347c98ca5ea7fa0b98620
/frontend/urls.py
962624667a7b21a36d7558a4ea31f872ed1c1d36
[]
no_license
sjadlakha/music_controller
2860e03c32e2bb1f201e32494dea0c3c92531e7c
79623313fb8dfa1d83afaef4a60109083ae52b3d
refs/heads/main
2023-08-11T03:57:51.001424
2021-09-19T18:12:42
2021-09-19T18:12:42
408,114,287
1
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.urls import path from .views import index urlpatterns = [ path('', index) ]
[ "sjadlakha@gmail.com" ]
sjadlakha@gmail.com
85f6ba445f50885725cedabb538b5da28dee1645
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/opcodes/cases/test_pexec_253.py
18a5dd1216b31de8c9699b42ce6666fe9b9aae87
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
820
py
from unittest import TestCase from tests import abspath from pytezos.repl.interpreter import Interpreter from pytezos.michelson.converter import michelson_to_micheline from pytezos.repl.parser import parse_expression class OpcodeTestpexec_253(TestCase): def setUp(self): self.maxDiff = None self...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
c3e433a08931481532b881b2ba141befb721f045
0aa43818da2cc5a13dafcd0038ce54dc4daea113
/dongtai_agent_python/__init__.py
0d416b267ec089c1f36b3ce7205ebfdcbd802244
[]
no_license
pohjack/DongTai-agent-python
a09e0fb2bc5675a54b683e2117089926eff2d2ba
ee523c7bde37b8f99f4e473f69e0ef764cb6df74
refs/heads/master
2023-08-28T04:18:01.680348
2021-10-28T09:56:03
2021-10-28T10:16:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
import dongtai_agent_python.global_var as dt_global_var dt_global_var._init() dt_global_var.get_config_data()
[ "sjh@jindong-auto.com" ]
sjh@jindong-auto.com
9ea9b60f4774b5e01662073b55093fbd8e90d7d2
ac78aff83963680770117adf455c6a1192be92b3
/aite/wsgi.py
8193f808c3ac9c19125713857e3f53383573c7e2
[]
no_license
cash2one/aite
9bf05642d20900dfa6f9cbbf7ef2af3892c92c84
50ccf0a9f87a84337af5c43a7ebf974a45671523
refs/heads/master
2021-01-19T12:35:03.586948
2016-12-16T03:59:51
2016-12-16T03:59:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
""" WSGI config for aite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "admin@wuaics.cn" ]
admin@wuaics.cn
9650275dce5dc387097e4086e5ba7b12491f4b90
fb16a81aa644ebbec72acf80e1077133a0031312
/tests/test_01_no_fixtures.py
3bb6e1ada2f1461c104dc5b92859b6fc929de6b2
[]
no_license
obestwalter/pytest-fixtures-introduction
567d58908e2181d23f2a944fab4f80e744f4bd95
acdda53e36c17b43ee9acadd891c3124d6977f72
refs/heads/master
2023-06-30T23:21:59.990792
2021-07-27T15:51:17
2021-07-27T15:51:17
282,906,163
18
5
null
null
null
null
UTF-8
Python
false
false
1,199
py
"""Classic tests - no fixtures""" import json import tempfile from pathlib import Path from my_package import my_code def test_read_my_settings_no_fixtures(): """Make sure that settings are read correctly.""" old_path = my_code.MY_SETTINGS_PATH try: with tempfile.TemporaryDirectory() as tmpdir: ...
[ "oliver.bestwalter@avira.com" ]
oliver.bestwalter@avira.com
1c0d8445d02e248cb524001ec7a75923562b2b5f
64806edf01c1dd6ec6292df4001f564532fcbd66
/spark_streaming.py
3a17abb8eaa63a8cb04854e05498bc2b93e4b502
[]
no_license
JaeMyoungKIM/spark_kafka_es
cd90f9979875d08fb68db37b5d55047de179cc3c
4c255359ab8cd50467c0623dac68ee8e6a450a6d
refs/heads/master
2020-04-15T20:50:53.623496
2019-01-10T07:47:30
2019-01-10T07:47:30
165,009,850
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
# -*- coding: utf-8 -*- from pyspark import SparkContext from pyspark.streaming import StreamingContext import sys # Stream으로 들어온 값에 _hehe를 붙여서 출력하는 함수입니다. def just_print(line): return line + "( " + str(len(line)) + " ) " # "_hehe" # Spark Streaming을 위한 Context를 생성 # local[2]는 2개의 로컬 쓰레드를 생성한다는 것입니다. sc = Sp...
[ "jmketri@gmail.com" ]
jmketri@gmail.com
9cc60c5abdd36edbd7a873ba397ed2815867ad34
66cff6c4ad4c5fd6ecdfb723614f0475e27a5b38
/akshare/air/air_hebei.py
7954e6d79e7f2c969e9da72997e8aedbf6ef83fa
[ "MIT" ]
permissive
ifzz/akshare
a862501b314f2b5aeab22af86771dbeee34cfdb8
70cf20680b580c8bacab55a0b7d792d06e299628
refs/heads/master
2022-12-02T18:36:33.754645
2020-08-24T05:16:42
2020-08-24T05:16:42
289,834,570
1
0
MIT
2020-08-24T05:17:09
2020-08-24T05:17:09
null
UTF-8
Python
false
false
3,461
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/4/29 12:33 Desc: 河北省空气质量预报信息发布系统 http://110.249.223.67/publish/ 每日 17 时发布 等级划分 1. 空气污染指数为0-50,空气质量级别为一级,空气质量状况属于优。此时,空气质量令人满意,基本无空气污染,各类人群可正常活动。 2. 空气污染指数为51-100,空气质量级别为二级,空气质量状况属于良。此时空气质量可接受,但某些污染物可能对极少数异常敏感人群健康有较弱影响,建议极少数异常敏感人群应减少户外活动。 3. 空气污染指数为101-150,空气质量...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
ed792abb61bcc652956c16fe5d68c92980522a1b
cdf3e4079e0d5cbef05092716dcb72883d3cf374
/ocrvercode.py
02f95f5fcc02845b702ee66c463e4d2d0da334e8
[]
no_license
kerzhao/Keras_OcrVerCode
de654373cdce7e2c24c7a168305d2e1252f81f1a
2ba1dd33c2c7993e509ada129d7c2f3c50d30aa4
refs/heads/master
2021-01-19T05:06:03.472740
2017-03-06T08:34:13
2017-03-06T08:34:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
import glob import os import numpy as np from scipy import misc from keras.layers import Input, Convolution2D, MaxPooling2D, Flatten, Activation, Dense, Dropout from keras.models import Model from keras.utils.np_utils import to_categorical from keras.utils.visualize_util import plot import sys from keras.models import ...
[ "Satan Lucifer" ]
Satan Lucifer
9560f41fddfa186873de820aa3ad680855f5706e
663397bc8a4fe6d3b843826606279a2806c896a4
/5/tmp1.py
84cb81c475b383ad6f782c115de2cf2722bbc9f9
[]
no_license
qiongxing/pythonStuByHelloWorld
8c85bc98653059128c453b94385368601eeeff0f
258e868ff7ae36c9c67364772e81ed9a3ccbc7f3
refs/heads/main
2023-03-02T04:20:11.138247
2021-02-08T09:46:40
2021-02-08T09:46:40
325,244,819
1
0
null
null
null
null
UTF-8
Python
false
false
92
py
fahrenheit = float(raw_input()) celsius = (fahrenheit - 32) *5.0/9 print "Is",celsius,"des"
[ "qiongxing1412@qq.com" ]
qiongxing1412@qq.com
74c8a660c0ba693548e3e5fb479a55b43fe0dcaf
ae8b81b3ac15c1fc0ce8aa4d30eecf5d00457e49
/install/lib/python2.7/dist-packages/auto_driving/msg/_DetectionResult.py
971669ac17e96c6de618229ce0f89cc721d277a0
[]
no_license
AlexandruZaharia/AutonomousDriving
14674cc8a375d57040a8caf2b213514ea5d0ada8
48b44cde7867321074fba3704110eac8d72a03e1
refs/heads/master
2020-04-22T21:17:46.393836
2019-02-19T12:09:00
2019-02-19T12:09:00
170,669,678
1
0
null
null
null
null
UTF-8
Python
false
false
5,634
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from auto_driving/DetectionResult.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class DetectionResult(genpy.Message): _md5sum = "77a2470f91f15b079bebc4e6c7b62731" _...
[ "Alexandru.Zaharia@kpit.com" ]
Alexandru.Zaharia@kpit.com
0b7c05445657217c75fd251f93946173472b3df4
7b8efd8ecde77295c09ff247f884ef16619a4e15
/seam_carving.py
f665b7b579a9015cf25e44ab3f3a2b6a0ab6fa69
[]
no_license
SwethaGeo/Seam-Carving
0b05f5923a9cb384f1f59a99d5f5af6f80e6af22
0fa00f26ee0beb0c30cc9000022735e5a981cd31
refs/heads/master
2020-04-03T13:11:06.945051
2018-10-29T20:54:33
2018-10-29T20:54:33
154,558,213
0
0
null
null
null
null
UTF-8
Python
false
false
9,943
py
import cv2 import numpy as np import scipy as sp import scipy.signal def energy_map(img): """This function calculates the total energy by adding the absolute of x and y gradient of the image. """ img_new = img.astype(float) #converting image to float total_energy = 0.0 # To store the sum of energy for...
[ "noreply@github.com" ]
SwethaGeo.noreply@github.com
b91cf9d73caef66d4874e5255e2eceec7ee8d15a
20148efe0936789a790266ea39a7974184cd52b0
/satchmo/apps/payment/migrations/0003_auto_20170405_0730.py
31a9182ddf3b982467fb93043ed4f996735f08fd
[ "BSD-2-Clause" ]
permissive
opencoca/WEB-Satchmo
2f4661a13a66c16fae98e9db09268f2161e39968
d2f6c086f4742b10743075701caec3e170f112bf
refs/heads/master
2023-07-06T05:25:12.762921
2017-10-12T11:14:55
2017-10-12T11:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('payment', '0002_creditcarddetail_orderpayment'), ] operations = [ migrations.AlterField( model_name='creditcardd...
[ "predatell@localhost" ]
predatell@localhost
62c23bc35e09fd885d7dd599ac35f30f777a5148
4c19eac6e53b2c1230257508370ad60c8d83d6a7
/dxm/lib/DxAlgorithm/alg_worker.py
75fcc4c87123d87ea14ca078b5a002fd729f7811
[ "Apache-2.0" ]
permissive
rakesh-roshan/dxm-toolkit
2c7741c8a02952de1c23715eadb515d84fcaf954
2c6e6ebf8615526501767844edf06fb74d878f25
refs/heads/master
2020-04-27T19:05:11.293818
2019-03-01T13:49:34
2019-03-01T13:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,246
py
# # 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, software # distributed under ...
[ "marcin@delphix.com" ]
marcin@delphix.com
6df182f0f896addcf9738b9a20ab16600265939b
b9ed14f23d7d48ce88a93a808556cab9a0abc682
/tensorflow_model_optimization/python/core/quantization/keras/graph_transformations/model_transformer_test.py
0398bcdfa5e161b6894a4dd2111cac7008fd2e69
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
akarmi/model-optimization
2a53655e92cabe5b180a0319bc64c339494b97bb
2d3faaa361ecb3639f4a29da56e0e6ed52336318
refs/heads/master
2020-08-16T17:20:55.836218
2019-10-07T17:49:50
2019-10-07T17:50:12
215,530,733
0
0
Apache-2.0
2019-10-16T11:23:40
2019-10-16T11:23:40
null
UTF-8
Python
false
false
8,873
py
# Copyright 2019 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ca9866c791f325346d4fceb027aceabf444020e5
5c9eadf5bb0aa45cdf8d4c060548722880e67e16
/flask_test(python_function)/decorator.py
651840a6689db577413fc5250025ee003da76ea3
[]
no_license
jsistop16/Flask
2a7172eed950fb30bd8893657227a5ababe6e3fe
0a2481fb9462c7555bb8b50b630fb9e7ce968a5c
refs/heads/main
2023-08-16T23:06:18.793527
2021-09-22T08:47:49
2021-09-22T08:47:49
405,354,905
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
def decorator1(func):#데코레이터1 def inner(): print('decorator1') func() return inner def decorator2(func):#데코레이터2 def inner(): print('decorator2') func() return inner @decorator1 @decorator2#여기서부터 @decorator1에 다 들어감 def hello():#데코레이터로 꾸며줄 함수(어떻게 보면 메인함수) ...
[ "noreply@github.com" ]
jsistop16.noreply@github.com
01d81c909553e350dc947bcb7a26a612f0240af0
b86ff529e783f5dd81391fdd6fc9a65536a68e23
/Titanic Survivor Tutorial/titanic_tutorial.py
914e095042817ca316050910ebd28bc2ec3f8d3f
[]
no_license
tturin/TensorFlow_Practice
098a6fd7406ecec42e8ef60b14be1b507f400539
2867389d91a8b8387ce9eb61866bcba458168fe2
refs/heads/master
2020-08-03T09:51:00.619766
2019-09-30T14:26:59
2019-09-30T14:26:59
211,708,812
1
0
null
null
null
null
UTF-8
Python
false
false
2,600
py
from __future__ import absolute_import, division, print_function, unicode_literals import functools import pandas as pd import numpy as np import tensorflow as tf tf.enable_eager_execution() LABEL_COLUMN = 'survived' LABELS = [0,1] def main(): TRAIN_DATA_URL = "https://storage.googleapis.com/tf-datasets/titanic/tr...
[ "timturin@gmail.com" ]
timturin@gmail.com
95e619405d693094e8b77ae8fb4146209735400f
cf862996fb55c25dd668f50d14cd662b0a28a853
/djangostagram/users/urls.py
6868bf2e1ac5b3efd57c91e5ebe38f5b0fa7d014
[ "MIT" ]
permissive
hongsemy/InstagramWithDjango
fc117daae4f249e0c13a754682186a9e9dfac332
18cb273668809fb48d829e1ac11438c51505623a
refs/heads/main
2023-07-14T15:58:25.482737
2021-08-19T09:18:16
2021-08-19T09:18:16
397,247,107
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from django.urls import path from . import views app_name = "users" urlpatterns = [ path('', views.main, name = 'main'), path('signup/', views.signup, name='signup') #This line will transform and send the information into a request object and # to the function passed as a second parameter (e.g. views....
[ "ca711207@gmail.com" ]
ca711207@gmail.com
44074f6a7dc371ac0f50ed51f5d05b5c89a93a7e
981fbc25f4a8ef0695830d54c36e0e7c2087575c
/input_template.py
3ebeae5ee3a6f7dbad4f1574bf6d0f216b007231
[]
no_license
Sandy4321/CS_algorithm_scripts
1b0984c25aab362c18767094f6c6252afd8b9f6b
6eef6ac07ff07362ddaec850a47d7ad7053993b2
refs/heads/master
2021-01-15T10:07:18.940108
2015-06-08T23:27:25
2015-06-08T23:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
def solveMeSecond(a,b): return a+b n = int(raw_input()) #faster than n = input() , since input() executes the line as python command for i in range(0,n): a, b = raw_input().split() a,b = int(a),int(b) res = solveMeSecond(a,b) print res ''' Alternate code n = int(raw_input()) for _ in range(n...
[ "ymeng.ucla@gmail.com" ]
ymeng.ucla@gmail.com
72c8cb17f13848ed423e520cd1fc6c649395fe4b
148c979be2604c37e37ebdfcdbd0b228246220c8
/hw2/hw2_float.py
2e427e79b9180be8ba1a177b4f3b4e5b7fb97ec2
[]
no_license
Bratuha12/Python_homeworks
2a01b0dac4c24f34463b2e30898210a939671ddc
82f301dcade1e230db4aa00d7eeab34f6db6e39e
refs/heads/main
2023-08-19T07:26:28.781251
2021-10-01T08:18:43
2021-10-01T08:18:43
388,483,113
0
0
null
2021-08-01T19:46:15
2021-07-22T14:03:25
Python
UTF-8
Python
false
false
522
py
# Ввод дробного значения с клавиатуры c последующей конвертацией в int x_str = input("Введите число с плавающей запятой: ") print("Вы ввели: ", x_str) print("Тип полученного значения - ", type(x_str)) x_float = float(x_str) x_int = int(x_float) print("После конвертации в int мы получили: ", x_int) print("Тип значения п...
[ "dimjohn.rabota@gmail.com" ]
dimjohn.rabota@gmail.com
1e3dfd6094aeb30d5c36a02ec70a509b20eb308d
5399ab9aa0812076f76e6c8f3b5ec38369cdfb3b
/test02.py
9ff793682dfbcfc4f3307fa530487fc2843ac4ef
[]
no_license
ochestra365/IOT-embeded-RasberryPi
6615c1a918c79e3e5b497c2a81a5e3c9af06d7c6
bd52c1e6c0e4fd48d1d121f461c63eef792a28e6
refs/heads/main
2023-06-15T19:57:08.434655
2021-07-15T05:39:44
2021-07-15T05:39:44
385,144,401
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
#구문 테스트 #initailize n=0 #Loop while True: n=n+1 if(n==100): break #n이 짝수라면 출력할 것. if((n%2)==0): print(n) a = 100 b = 80 if a>b: print('max is {0}'.format(a)) else: print('max is {0}'.format(b)) i=-45 if i>0: print("{0} is positive".format(i)) elif i==0: print("{0} is z...
[ "ochestra365@naver.com" ]
ochestra365@naver.com
38d04b2074d7872432ea1dc304a7d29e68cff1fd
622cb54f246f5eee143d375db66bc1d69691a84f
/project_netra_website/wsgi.py
b5b8a0954d14bc9080e684fc406ee9fb39fdaf4b
[]
no_license
ProjectNetra/projectNetraWebsite
8018a850166f4c37e20e6276b0a1bd4080ed406b
97479a049edd19f31a73f7779261fda224f9cc95
refs/heads/main
2023-06-19T08:54:13.320590
2021-07-16T19:52:14
2021-07-16T19:52:14
386,737,476
1
0
null
null
null
null
UTF-8
Python
false
false
439
py
""" WSGI config for project_netra_website project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "uchicha.pk.27@gmail.com" ]
uchicha.pk.27@gmail.com
3f6ae3557fb840b712ba31d66869c0d17cc0a93b
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/qPloneSkinDump/tags/0.7.3/skin_template/Extensions/utils.py
725f5e878f168f0a5e16a43a46eab2ca68f14068
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
21,739
py
import os, sys, re, string from StringIO import StringIO from time import gmtime, strftime from zLOG import LOG, INFO from zExceptions import BadRequest from App.config import getConfiguration from Products.CMFCore.utils import getToolByName from Products.CMFCore.DirectoryView import addDirectoryViews from Products.%(S...
[ "mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946" ]
mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946
e8beca5ce87695f9d15372be7f28e9d6e5d42874
d529052185eb31608b506a136bbda5df5642a7b3
/CSE310/Lab 4/PingServer.py
8a45c6228d6e443bc6bb71b9a16cf6d445d1c66c
[]
no_license
SirKitboard/Notes
c015a1269b79753f8ed574c8278b047e76c72928
27475e22145842c883e5d98737b5b9b833f3bdc5
refs/heads/master
2021-08-19T17:03:58.465814
2017-11-27T01:49:46
2017-11-27T01:49:46
51,348,792
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# pylint: disable=W,C # UDP Server import random from socket import * serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind(('',8920)) while True: rand = random.randint(0,10) message, address = serverSocket.recvfrom(1024) message.upper() if rand < 4: continue serverSocket.send...
[ "adibalwani@gmail.com" ]
adibalwani@gmail.com
8b892512045bcf74b56df0a6ff066dd0d4a27861
ecc426c035a22e4bbbb44572d24ad566dd1bb945
/_archived_versions/20180107_invalidated_archives/20171117_scikit_boosted_trees/src/data_scripts/elb_repo.py
8173dc8e2dc74ff17441316e63d85981a65b561c
[]
no_license
dfaivre/python-ml-poc-2018
14a5acb46888d3bf11373cfcb7e0ee570ce42346
932be1a3007473e6748771fa1629b677e252627d
refs/heads/master
2023-01-21T18:30:17.734781
2020-11-23T01:26:19
2020-11-23T01:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from sqlalchemy import create_engine, text as sql_text import util.config settings = util.config.load_settings() field_info_db = create_engine(settings['db']['fieldinfo']) def get_enroll_year_id(enroll_id: int): sql = """ SELECT ym.ID AS YearId FROM FieldInfo.trials.TrialEnrollment te ...
[ "dfaivre@premiercrop.com" ]
dfaivre@premiercrop.com
d42a9e9ffd48430e27071e5d3fb645a67a7da413
99ab72000a8e74528a7950e4b4d8bea15e12b5b5
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/bigquery/v2/bigquery_v2_messages.py
acd332407333ff5c233f603e1779a12babd4e201
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
harshit496/smart_assistant
306014c6d4c4e4fe9da3c513a55383162aedfa3a
22bffbaea7fac6a8c2fb5e32a1d6c9ceed2129ed
refs/heads/master
2021-06-28T16:03:41.299321
2020-11-25T14:27:44
2020-11-25T14:27:44
171,503,815
0
3
null
2020-07-25T07:08:25
2019-02-19T15:57:51
Python
UTF-8
Python
false
false
129,112
py
"""Generated message classes for bigquery version v2. A data platform for customers to create, manage, share and query data. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import message_types as _message_types from apitools.base.protorpclite import messages a...
[ "hshah496@gmail.com" ]
hshah496@gmail.com
bccf3a2046edc6f810228a7de9fc70ecac8ad0e9
23c0c86a3e6419e1f50a7e70a7a9b5d31775c9af
/ZleceniaBadan/migrations2/0004_auto_20200315_1712.py
8c1931ccaec64d23705daeb0804738624862db84
[]
no_license
DanielTrochonowicz/zlecenie-badan
7e71e06abc386fa92f4841eb3f5a107f9ed115d1
724f2d917715b6b69a41d1dd16116abd76123d01
refs/heads/master
2022-12-17T11:22:05.586535
2020-03-20T23:12:16
2020-03-20T23:12:16
247,378,494
0
0
null
2022-11-22T05:23:55
2020-03-15T01:00:18
Python
UTF-8
Python
false
false
1,182
py
# Generated by Django 3.0.4 on 2020-03-15 16:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ZleceniaBadan', '0003_auto_20200315_1703'), ] operations = [ migrations.AddField( model_name='z...
[ "trochonowiczdaniel@wp.pl" ]
trochonowiczdaniel@wp.pl
e1cdce30a4b71c76503c91779866ff39841ff975
c3fd2cffb0c082ddea93361306095f1af74fa3bc
/fizzbuzz.py
83ca8fe4ed000978433c45158a58f37c3ab34599
[]
no_license
pmalexander/HTML-CSS-Breakout
0853c9dcfce9aa05a955f861d2729b061fbe3798
9ffb7c2493e589eb5092a801f8941a4ef8c3d936
refs/heads/master
2021-09-06T07:44:52.917616
2018-02-03T23:42:43
2018-02-03T23:42:43
120,119,750
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
print ("FizzBuzz counting up to 100!") b = 1 n = 150 fz = n % 3 == 0 bz = n % 5 == 0 #can't figure out if should use 'while' statement, unsure on how to set specific numbers to reflect divisible numbers numbers = 1 increasing = True while increasing: if (numbers <= n): print("{}".format(numbers)) ...
[ "pmalexander5@gmail.com" ]
pmalexander5@gmail.com
32cb8b67bf03817c2fb04cc1652db2eaddc857a4
eeb47c97585543575e01265599e1a4350f8a0bc9
/trading_ES_breakout_june2021.py
3e53c8a2fd71b45e348740fd15d8f98055a489ba
[ "MIT" ]
permissive
spawnaga/ES_futures_options
c4d047fe129c9a66e9b7d1164a42f18157fa79db
2bab7480ba1d3806ffe9e13edcb7173c86d2cad6
refs/heads/master
2023-06-24T00:55:14.446632
2021-06-21T08:42:07
2021-06-21T08:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,058
py
from datetime import datetime, timedelta, time import nest_asyncio import numpy as np import pandas as pd import statsmodels.api as sm import talib as ta from ib_insync import * from stocktrends import Renko import sys import math nest_asyncio.apply() # enable nest asyncio sys.setrecursionlimit(10 ** 9) # set recurs...
[ "spawnaga@gmail.com" ]
spawnaga@gmail.com
906e71b3da95d219c2e5402da517c6b949186b6a
b6582cb10fad0d6e5007865c5085ca30edc96251
/KivyLightningATM_LCD/master_layout.py
c4853716142e9a2c10465ad0b01c54d39eb916b3
[]
no_license
d3m0-sm/KivyLightningATM_Repo
4d476caa4f0924fe57a4dde2611b471df9f447ac
daa2c097f12725606c315d41cbd3eb5933681f5f
refs/heads/master
2022-04-21T07:33:21.670085
2020-04-18T11:05:24
2020-04-18T11:05:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,133
py
from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.uix.button import Button from kivy.uix.label import Label from kivy.graphics import Rectangle, Color class MasterLayout(FloatLayout): '''It's a little bit tricky to create a colored background or some graphics. If the screen size chan...
[ "talentpierre@gmail.com" ]
talentpierre@gmail.com
b36481f344b66fb5631d75801b0018c7a515d504
c1b293511b5a000059dd05a6cf243931558ecf5b
/project4/k-means_true/Kmeans_true.py
f43ca9f833e8c1a452c83fe4b0bc562082cabd09
[]
no_license
zzlegion/speech
6d102edf1e91175c3aa8971c8cffce651adea3fd
261612e3d2c639c2a97071b7bce25dfe2ce1a876
refs/heads/master
2021-01-12T11:43:54.307428
2016-11-09T08:39:01
2016-11-09T08:39:01
72,282,793
1
0
null
null
null
null
UTF-8
Python
false
false
14,890
py
#coding: utf-8 import sys import numpy as np import profile from time import time import os import mfcc import record def distance(vector,j): """"Cal the Gaussian distance between input vector and the jth mean vector""" res = 0.5 * np.sum(np.log(2 * np.pi * var[j]))+ 0.5* np.sum((vector-mean[j])**2*...
[ "noreply@github.com" ]
zzlegion.noreply@github.com
2e6dc41d85cb634f7b13531e16179d653b06e00b
349428feb6cec2444a4420322d200b08fdcb6978
/ForexRL/test/design_pattern/test_decorator.py
310574430c67b34acb6f90701069458c460d7dc8
[]
no_license
paohuz/TempProj
ac7d8195cf8b1000df8eb4c9fd2ab3807c9b688c
2b44fd8a7148d2acfdfd8040e611dfde4631bedc
refs/heads/master
2020-06-21T17:15:12.172148
2020-04-29T05:57:36
2020-04-29T05:57:36
197,512,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
class AbstractComponent: def Operation(self): raise NotImplementedError('Operation() must be defined in subclass') class ConcreteComponent(AbstractComponent): def Operation(self): print('ConcreteComponent: Operation()') class Decorator(AbstractComponent): def __init__(self, obj): ...
[ "paohuz@gmail.com" ]
paohuz@gmail.com
184c32820c936dfc530004beb6b0a0c8e580eefb
a55ddcf148a1e0d6ad8fece464da3deae6b18702
/ICPC Practicec/chefexam.py
849139f2b05ad3af5aa0d5341dbeba83529cdb6f
[]
no_license
vishaldeyiiest/Codechef
929289d70a197bdb43f69e5aed29a6e91c5bb421
e7534a3bba72317ca702cc140d2eb9e94c9e1407
refs/heads/master
2021-05-03T12:32:54.102656
2016-10-27T13:14:10
2016-10-27T13:14:10
72,109,498
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
def solve(l, n, m): maxsum = sum(x[1] for x in l) minsum = sum(x[0] for x in l) if maxsum < m*n: return -1 if minsum >= m*n: return 0 l.sort(key = lambda x: x[2], reverse = True) hr = 0 c = [0]*n i = 0 while minsum < m*n: if l[i][0] + l[i][2]*(c[i]+1) <= l[i][1]: c[i] = c[i]+1 minsum += l[i][2] ...
[ "vishal.iiestcst@gmail.com" ]
vishal.iiestcst@gmail.com
d83a9791c87c2ce546badc89430581f08fd60a08
903bf38b8e4ae7e38a73372df09b357cad4b9079
/df_user/models.py
39b86f4c6e360eb30629ae618cd4d3b95efb9efe
[]
no_license
FixYouZi/dajangoDF
562ad0ca68920e5c0775b6b73214c220679b0211
2465456ef5bb917bc3c2d339da631e4dbcc71b89
refs/heads/master
2020-03-19T06:14:35.181258
2018-06-04T09:36:06
2018-06-04T09:36:06
136,003,171
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.db import models # Create your models here. class UserInfo(models.Model): user_name = models.CharField(max_length=50) pwd = models.CharField(max_length=40) uemail = models.EmailField() ushou = models.CharField(max_length=20, default='') uaddress = models.CharField(max_length=100, defau...
[ "35181810+FixYouZi@users.noreply.github.com" ]
35181810+FixYouZi@users.noreply.github.com
f0809203f523fb2e51459094f4ff4c4dd2440f9b
091cc684740bc76932352d230db4a08bf011b7ec
/interview_cake_daily_practice/array_and_string_manipulation/reverse_string_test.py
b13f3cab260ef99a96d37ae18f44c6123593b882
[]
no_license
dm36/interview-practice
5232601d8de23e80557b3e2a96ff9d3589017052
612966ea0a813faaabd5dca98ce6dd524b8b4cef
refs/heads/master
2022-02-14T00:46:20.395743
2019-07-19T19:47:34
2019-07-19T19:47:34
197,820,260
1
0
null
null
null
null
UTF-8
Python
false
false
890
py
import unittest def reverse(list_of_chars): # Reverse the input list of chars in place i = 0 j = len(list_of_chars) - 1 while i < j: list_of_chars[i], list_of_chars[j] = list_of_chars[j], list_of_chars[i] i += 1 j -= 1 # Tests class Test(unittest.TestCase): def test_e...
[ "dhruv.madhawk@gmail.com" ]
dhruv.madhawk@gmail.com
3e1ff0153900bee2026a9b016f9da094c9b89214
e063e9799d4c0473abebff4fb9d0a06c7e6660d8
/myconfig.py
75dd3933dab5af6f7ddc35728bbb9262fc6949cb
[]
no_license
afcarl/yelp-analysis
cf33c95f94c0e73e5a37b18a65de46c65563d360
82091f8a31e58a46099caeb02c93e2b7319ce4d9
refs/heads/master
2020-03-21T05:56:31.918268
2016-09-20T23:27:19
2016-09-20T23:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
data_root = '/Users/Tony/Dropbox/CMU_MLT/DialPort/YelpDomain/yelp_dataset_challenge_academic_dataset/' result_root = '/Users/Tony/Dropbox/CMU_MLT/DialPort/YelpDomain/yelp_dataset_challenge_academic_dataset/result/' cache_root = '/Users/Tony/Dropbox/CMU_MLT/DialPort/YelpDomain/yelp_dataset_challenge_academic_dataset/cac...
[ "zhaotiancheng.hz@gmail.com" ]
zhaotiancheng.hz@gmail.com
6853cc8da0e9ee00d664aad325a46c64f57190dc
d64f0d530f2863cc08636b2640abeb7a442794ab
/back-end/SOA/db/scripts/keywords.py
35dc060716aa43700c8afca3bf371c7f020caed4
[]
no_license
John-Atha/askMeAnything
aa99818de887deabdd2aa49cbc5fee4b5c257fbd
53f7310f19688b74d0e207800154466fd680400d
refs/heads/main
2023-06-18T03:58:17.243570
2021-07-14T11:07:28
2021-07-14T11:07:28
358,830,494
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
import os prefix = "INSERT INTO public.\"keyword\"(name) VALUES(" keys = ["Django", "Spring boot", "Express js", "Node js", "Laravel", "Python", "c++", "algorithms", "data structures", "sql", "databases", "postgres", "heroku", "vscode", "webstorm" "web developing", "html", "css", "vanilla js",...
[ "giannisj3@gmail.com" ]
giannisj3@gmail.com
f3895d457cf6e83ec4bce43312e970ebe6c689bd
d01532c1237825dc5505a247c2d289fd6ff7602e
/PMU-Homology/TAE.py
0e606de307da97e8ed773eddb2cd114a029e9092
[]
no_license
BEbillionaireUSD/Generator-Coherency-Identification
95779feac0654bd06e7e9c3e389e43504af90238
04510fbc9ffd55f4c2e2ccece97f7fe9dd79d6a4
refs/heads/main
2023-08-22T19:54:56.410367
2021-10-29T06:24:18
2021-10-29T06:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,576
py
from keras.models import Model from keras.layers import Input, LeakyReLU, MaxPool1D, LSTM, TimeDistributed, Dense, Reshape, Flatten from keras.layers import UpSampling2D, Conv2DTranspose, Lambda from keras.layers import Conv1D, Bidirectional import keras.backend as K import tensorflow as tf def temporal_autoencoder(...
[ "noreply@github.com" ]
BEbillionaireUSD.noreply@github.com
f31f1b0eb25153d9b59aa5e1ef6d2ebc1d12ff5b
48e5fa56d4878382a6ab7b094f0f6d06fb2c8673
/Solver.py
0a5226115a9000242f466cf118a2503468732fc4
[ "MIT" ]
permissive
nurmukhametov/exrop
f62f55381afa44bd213760c2e2256f488d3fd612
8092a2854c74e1036e9d2bcd11ce2c8157ea14c3
refs/heads/master
2021-01-01T00:53:18.269531
2020-02-07T15:31:23
2020-02-07T15:31:23
239,106,045
0
0
MIT
2020-02-08T10:09:12
2020-02-08T10:09:11
null
UTF-8
Python
false
false
18,533
py
import code import pickle from itertools import combinations, chain from triton import * from Gadget import * from RopChain import * def initialize(): ctx = TritonContext() ctx.setArchitecture(ARCH.X86_64) ctx.setMode(MODE.ALIGNED_MEMORY, True) ctx.setAstRepresentationMode(AST_REPRESENTATION.PYTHON) ...
[ "n0psledbyte@gmail.com" ]
n0psledbyte@gmail.com