blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2
values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777
values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20a56225bba67e43bf69a9c67c600e61238535e8 | c5c4a63bffac36a83a54f3cc3f0023d717866528 | /examples/share_option/main.py | b02468d994430259f877a63df3f75619c10ecb16 | [
"Apache-2.0"
] | permissive | pddg/uroboros | b380422c8ea70871fd47a4aae06e4329be3cf01b | 0e621206c24e62d96fdac244d09c0c790d8930df | refs/heads/master | 2021-06-17T07:27:49.943792 | 2020-07-12T09:25:03 | 2020-07-12T09:25:03 | 193,533,072 | 15 | 0 | Apache-2.0 | 2021-05-02T09:18:45 | 2019-06-24T15:37:46 | Python | UTF-8 | Python | false | false | 2,817 | py | from pathlib import Path
from uroboros import Command, version, Option, ExitStatus
# First, declare option class inherited from `uroboros.Option`.
class CommonOption(Option):
def validate(self, args):
# If there is no errors, return an empty list.
errors = []
if not args.path.exists():
... | [
"s.kokuryo@gmail.com"
] | s.kokuryo@gmail.com |
09c66ff6a726d4f48f9ff4d8547e6fe8e0c1cadb | df274b65d9b34d58e54ddf0424ebc7a289d59711 | /redditalpha/decks/migrations/0002_auto_20160925_0452.py | 6ac62606795aedd26087836fbb9af0ce613ee9e1 | [] | no_license | kjg531/RA | 88c2b94229c226b90259d574070a27071cfd4f1a | b10753a5fb7730c1f4ef93820764ae6ea509a94c | refs/heads/master | 2020-05-21T20:54:11.629811 | 2017-02-02T20:21:34 | 2017-02-02T20:21:34 | 64,705,060 | 2 | 0 | null | 2017-11-01T00:45:26 | 2016-08-01T22:10:32 | Python | UTF-8 | Python | false | false | 3,217 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2016-09-25 04:52
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('cards',... | [
"mando.alvarado.jose@gmail.com"
] | mando.alvarado.jose@gmail.com |
3e50baa462d81bf7f5f2c30c8c21bf56ffa7328a | 463411688fd841add1c89c88852cff79c223cca4 | /db/models/tb_VASHistoryVulnerability.py | 58adb2a4d16d7bcac4f6132ba357d6d13b830a59 | [] | no_license | hsiang0107/Restful_API_Testing | 8d9063186e53ddf03d50efa983ec3f73ec794958 | 2411b9c8a3c87336f7dbfaa807857d01bb1540d9 | refs/heads/master | 2020-03-23T04:56:56.345366 | 2018-07-16T09:27:10 | 2018-07-16T09:27:10 | 141,115,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 336 | py | from sqlalchemy import Column
from db.cm_session import cm_session, Base
from sqlalchemy.dialects.mssql import CHAR, INTEGER
class TbVASHistoryVulnerability(Base):
__tablename__ = 'tb_VASHistoryVulnerability'
VAS_HistoryRelationID = Column(CHAR(36), primary_key=True, nullable=False)
VAS_VulnerabilityID = ... | [
"hsiang0107@hotmail.com"
] | hsiang0107@hotmail.com |
01f09b73fc8803b2d33ee1737ef1529177f26ff6 | 55647a80c8b412af9df0ba3f50595cc2f29c25e6 | /res/scripts/common/Lib/msilib/text.py | 180285da3a59533fb09817d05f6d6ab57165eb83 | [] | no_license | cnsuhao/WOT-0.9.17-CT | 0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb | d1f932d8cabaf8aa21708622e87f83c8d24d6451 | refs/heads/master | 2021-06-08T18:11:07.039293 | 2016-11-19T19:12:37 | 2016-11-19T19:12:37 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 9,747 | py | # 2016.11.19 20:00:19 Střední Evropa (běžný čas)
# Embedded file name: scripts/common/Lib/msilib/text.py
import msilib, os
dirname = os.path.dirname(__file__)
ActionText = [(u'InstallValidate', u'Validating install', None),
(u'InstallFiles', u'Copying new files', u'File: [1], Directory: [9], Size: [6]'),
(u'Install... | [
"info@webium.sk"
] | info@webium.sk |
cfe276b6403e7209698879a789bed82cbfeb37a3 | 82f2bc45d08d06395009f24e9a0eb8de10c9aec9 | /src/canvas_utils/utilities.py | 38a2fd019fee8e836d117ec991fa54c95c0a6c6e | [] | no_license | paepcke/canvas_utils | 3d4502634d639a6f3ea600e9b66c6ca8411eb44d | 6b7d9d4ccf93d034c88ed058ed06ddf02f124785 | refs/heads/master | 2020-04-09T04:23:49.766448 | 2019-12-19T22:00:34 | 2019-12-19T22:00:34 | 160,021,203 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,508 | py | '''
Created on Aug 24, 2019
@author: paepcke
'''
import datetime
import getpass
import logging
import math
import os
from pathlib import Path
import re
import shutil
import socket
import sys
from pymysql_utils.pymysql_utils import MySQLDB
from canvas_utils_exceptions import DatabaseError
from config_info import Conf... | [
"paepcke@cs.stanford.edu"
] | paepcke@cs.stanford.edu |
2960f8021813cd106fa475eea0c93819b01fc4a4 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /ayQTiQAcFJhtauhe3_22.py | efed3c56225988bc8c01e7f9dda2fafb352aaafa | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 61 | py |
def even_or_odd(lst):
return ['even', 'odd'][sum(lst)%2]
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
89c9d28f58bf5a6e099bb2ec4be51d72ca746749 | 7e0e4e0f96599f8d77e1e80b0e2b819031b4a832 | /backend/views.py | c9e6e2051d62861f304b8479dbc86ae623f9e19a | [
"MIT"
] | permissive | omar115/docker-django | 60095f845da275b823356130fabe9793770b7397 | cde681619a73c10abe68c964114b26c73374c8b5 | refs/heads/main | 2023-08-14T03:04:27.148486 | 2021-09-29T07:16:47 | 2021-09-29T07:16:47 | 408,112,715 | 0 | 0 | MIT | 2021-09-29T07:16:47 | 2021-09-19T11:48:55 | null | UTF-8 | Python | false | false | 96 | py | from django.shortcuts import render
def home(request):
return render(request, 'index.html') | [
"omarhasan115@gmail.com"
] | omarhasan115@gmail.com |
69f393330d8eec1658822f3a644ae73078db0c20 | 809371376cda523a26a6198ddff097cef7c985e7 | /lib/axis/tb/test_axis_async_fifo_64.py | 44925adf449cd7ba1c74241d70443b6d4d0871ab | [
"MIT"
] | permissive | ethercat-fpga/verilog-ethernet | cfabcdabefc4cede40677a88a52341e9697d68a2 | 18d6aab16de8950f98824232213841138c8a82e3 | refs/heads/master | 2020-05-05T07:41:18.618994 | 2019-04-04T05:32:06 | 2019-04-04T05:32:06 | 179,834,085 | 1 | 1 | null | 2019-04-06T13:01:56 | 2019-04-06T13:01:56 | null | UTF-8 | Python | false | false | 13,585 | py | #!/usr/bin/env python
"""
Copyright (c) 2014-2018 Alex Forencich
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,... | [
"alex@alexforencich.com"
] | alex@alexforencich.com |
ee885baf3e415f20662990d44ed55ca2374d33c8 | e000db56febfc79ee1586804265d11fca4adfe59 | /venv/Session4A.py | 5a20635e2f441ad31ee5cc56cd6e172faf5c9b28 | [] | no_license | ishantk/PythonSep72018 | 2210bb1747752309eb5ef431988e2197e393cf2d | 5413c0061dd644166eeb3539d75b7404c6ea12d9 | refs/heads/master | 2020-03-28T06:11:41.991398 | 2018-11-19T12:08:55 | 2018-11-19T12:08:55 | 147,819,901 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 196 | py | print("Wow")
def main():
print("==Welcome==")
print("This is Awesome")
if __name__ == "__main__":
main()
#Practical: Create KBC of 5 Question using Functions
#Explore: raw_input | [
"er.ishant@gmail.com"
] | er.ishant@gmail.com |
d580922698467c18e2f3bfe074022397de6de78f | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /030_control_flow/001_if/_exercises/_templates/ITVDN Python Starter 2016/05-nested-if-else-with-elif.py | 95f5c2949a8278443a0318002e06159e5910cbf9 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 569 | py | # # -*- coding: utf-8 -*-
#
# x _ in. in.. 'x = '
#
# # Заменим второй вложенный if в предыдущем примере
# # на оператор ветвления с несколькими условиями
# __ 0 < ? < 7
# print('Значение x входит в заданный диапазон, продолжаем')
# y _ 2 * x - 5
# __ y < 0
# print('Значение y отрицательно')
# _... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
4db6a3f66986629ebc686a522c1afbb6bf1818c0 | 2421e26bc619bd148c8647594a21f2560f65be79 | /src/bayesian/preprocess_dataset.py | 093df129d9d894015654a1c697ea4706eb9c1d3f | [] | no_license | dbofseuofhust/sota-crowd-counting | b8cc2b569d568e69e37ecc33c5496d499c3f3d65 | 571509fd3a0e23c9e6d9aa81ff0a25cffd744018 | refs/heads/master | 2022-03-23T15:21:18.304606 | 2019-12-30T09:02:30 | 2019-12-30T09:02:30 | 229,969,127 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,025 | py | from scipy.io import loadmat
from PIL import Image
import numpy as np
import os
from glob import glob
import cv2
import argparse
def cal_new_size(im_h, im_w, min_size, max_size):
if im_h < im_w:
if im_h < min_size:
ratio = 1.0 * min_size / im_h
im_h = min_size
... | [
"846503548@qq.com"
] | 846503548@qq.com |
3c8a239ce32a4e7808387253c0de4d7ed51efb58 | 450c27ee64ab60f9cf842eaddda52279012d7885 | /0x0B-python-input_output/8-load_from_json_file.py | 3121ca990c3a8322aa8523af30cc5a488c8bdb66 | [] | no_license | dacorredor11/holbertonschool-higher_level_programming | 5a2805d62736021d26c0731085ad251bf58d45f6 | 85e54b116fbf359909cad39698ca09945cb639e1 | refs/heads/master | 2022-12-16T19:43:21.508586 | 2020-09-25T03:48:23 | 2020-09-25T03:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 385 | py | #!/usr/bin/python3
"""This module defines the function load_from_json_file"""
import json
def load_from_json_file(filename):
"""
Creates an Object from a JSON file
Args:
filename (str): JSON file to create an Object from
Returns:
python object
"""
with open(filename, 'r', e... | [
"vidmore8@gmail.com"
] | vidmore8@gmail.com |
7041d3f09166c907e6b1e5fe3c4314a952927a14 | 71b7e43830b3452daaaaacaf4e2b79c23bef978a | /hw3/code/run.py | 89c9ec5ba6943d0991f044df39557cf0d87885fc | [] | no_license | ouyangjiahong/robot-autonomy | e6efabdbbce5f11fe33e152c6c09a87ae088c3a7 | 604bfbe19b67c2ebad88c26ddd06a19a7a2b0356 | refs/heads/master | 2021-03-27T15:57:28.328913 | 2018-04-22T00:56:43 | 2018-04-22T00:56:43 | 123,325,189 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,322 | py | #!/usr/bin/env python
import argparse, numpy, openravepy, time
from HerbRobot import HerbRobot
from SimpleRobot import SimpleRobot
from HerbEnvironment import HerbEnvironment
from SimpleEnvironment import SimpleEnvironment
from AStarPlanner import AStarPlanner
from DepthFirstPlanner import DepthFirstPlanner
from Bre... | [
"ouyangjiahong13@gmail.com"
] | ouyangjiahong13@gmail.com |
fd3f25f12235543c2975f229b83a1f0e2e67e754 | 6da8ef4f504c12adc9f3c4b1816ed06d677e4cf1 | /youtubewithpytube.py | ebd3b9874f710f0cb82bb718c5c8c05fce7ea3cc | [] | no_license | FlavienGelineau/youtube_downloaded_bot | 6626200135a1b7a60a0bb09a4ae3efc3f80133b2 | 3198321802571d14bad70d1a037af055de41527d | refs/heads/master | 2020-03-15T06:38:37.575821 | 2018-05-03T15:06:55 | 2018-05-03T15:06:55 | 132,012,062 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 332 | py | """Downloads a youtube video given a link."""
from pytube import YouTube
def dl_yt_video(link, repertory):
"""Dl a youtube video given a link."""
YouTube(link).streams.first().download(repertory)
if __name__ == '__main__':
while True:
link = input("please enter a link")
dl_yt_video(link... | [
"you@example.com"
] | you@example.com |
1baa8b1b4cc0f2e970e341dfb3cc374f24aaefd2 | 56997c84a331433225f89f168520ad8d709083c1 | /Programmers/그래프/배달/delivery_ver1.py | bc47e967fc498fde93fbc907925e05ba06e90f87 | [] | no_license | miseop25/Back_Jun_Code_Study | 51e080f8ecf74f7d1a8bb1da404d29c8ba52325c | 1d993e718c37c571aae1d407054ec284dc24c922 | refs/heads/master | 2022-11-06T01:05:05.028838 | 2022-10-23T13:11:22 | 2022-10-23T13:11:22 | 200,828,984 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,826 | py | import sys
from collections import deque
sys.setrecursionlimit(10**9)
class Node :
def __init__(self, data) :
self.data = data
self.bridge = dict()
class Delivery :
def __init__(self, N, road, K) :
self.N = N
self.road = road
self.K = K
self.totalSet = set()
... | [
"richard25@naver.com"
] | richard25@naver.com |
5ea6cac9a1eb67efe6c72e741953490d2e83d24e | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc004/A/4634203.py | 1250a29c4f3c2d34a3f0d6a04f0f7dbc6309b1ae | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | #AGC004 A 22:48-
'''
??
1x1x1??????AxBxC???????????
???????????????3????????
1???????????????1?????
2??????????1???????????
3??????????1???????????
?????????????????????????????
???A?B?C?2??10**9??
??
???????????????2??????????????????????????
????2???????????????????(A%2)*B*C
???????2??????????(B%2)*C*A... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
7977041ff687a838735a976ea208c340d5cc1e34 | 167e1c8a7403b9a3bc721c9d7b3376fb16da3e4a | /workbench/workers/view_pcap_deep.py | b6407e18dfdab83595292d640dc93106bee9ece0 | [
"MIT"
] | permissive | twseptian/workbench | c81f1be5e275a23cc1f17b01ee240167bbd904c2 | 710232756dd717f734253315e3d0b33c9628dafb | refs/heads/master | 2020-09-20T08:38:33.064600 | 2017-05-02T16:22:03 | 2017-05-02T16:22:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,107 | py | ''' view_pcap_deep worker '''
import zerorpc
import pprint
import os
class ViewPcapDeep(object):
''' ViewPcapDeep: Generates a view for a pcap sample (depends on Bro)'''
dependencies = ['view_pcap']
def __init__(self):
''' Initialization of ViewPcapDeep '''
self.workbench = zerorpc.Client... | [
"briford.wylie@gmail.com"
] | briford.wylie@gmail.com |
b94ac9405503dcbb8fc6cc9f631e871661f8612f | 523e24bd96d7de004a13e34a58f5c2d79c8222e0 | /plugin.video.ukturk/default.py | 3691275712fe3da37d0606dc7a6189cb89ef9ef1 | [] | no_license | Bonitillo/Bonitillonew | ec281e5ab9d4fec83d88936e8d8ce32bad6a81c9 | a8099e326dda297f66096480ec93def8a8c124a8 | refs/heads/master | 2022-10-13T05:39:01.126653 | 2017-03-21T16:47:23 | 2017-03-21T16:47:23 | 85,725,652 | 2 | 4 | null | 2022-09-30T21:18:58 | 2017-03-21T16:16:33 | Python | UTF-8 | Python | false | false | 46,956 | py | # -*- coding: utf-8 -*-
import xbmc , xbmcaddon , xbmcgui , xbmcplugin , urllib , urllib2 , os , re , sys , datetime , urlresolver , random , liveresolver , base64 , pyxbmct , glob , net
from resources . lib . common_addon import Addon
from HTMLParser import HTMLParser
from metahandler import metahandlers
from res... | [
"richellizardo@Djs-MacBook-Pro.local"
] | richellizardo@Djs-MacBook-Pro.local |
c89a206b93ee688eb0f6de915056feea3c3d9278 | aa9297175621fcd499cad5a0373aaad15f33cde8 | /HackerRank/day_8_dicts.py | 2ff17adb77df3bc5fe97d8c58e242ef0f08a93f2 | [] | no_license | eflipe/python-exercises | a64e88affe8f9deb34e8aa29a23a68c25e7ba08a | b7a429f57a5e4c5dda7c77db5721ca66a401d0a3 | refs/heads/master | 2023-04-26T19:19:28.674350 | 2022-07-19T20:53:09 | 2022-07-19T20:53:09 | 192,589,885 | 0 | 0 | null | 2023-04-21T21:23:14 | 2019-06-18T18:06:14 | HTML | UTF-8 | Python | false | false | 2,229 | py | n = int(input())
name_number = []
names = []
for i in range(n):
queries = input()
name_number.append(queries.split())
for i in range(n):
query_name = input()
names.append(query_name)
for i in range(n):
if name_number[i][0] == names[i]:
print(f'{name_number[i][0]}={name_number[i][1]}')
... | [
"felipecabaleiro@gmail.com"
] | felipecabaleiro@gmail.com |
80d32ecccb0b7c12f8bdf6cc6bfd8aa2d27fb66b | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/platform/plugins/DEPS | ad511e473b048da0f0dae83cc32a670803c44bb5 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | Python | false | false | 459 | include_rules = [
# Don't depend on platform/.
"-third_party/blink/renderer/platform",
# Module.
"+third_party/blink/renderer/platform/plugins",
# Dependencies.
"+third_party/blink/renderer/platform/graphics/color.h",
"+third_party/blink/renderer/platform/heap",
"+third_party/blink/ren... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee | |
3ad78bb2c971b0d923ff356fbe50ce8cae7ecdef | 87220ff6f99aef088d121f3f9d81e36a35b7d112 | /pulp_rpm/test/unit/test_comps.py | 4492e89e71c174398f6df4a6e7d6db50d87fa854 | [] | no_license | ehelms/pulp_rpm | 2905294287899c591e82b12fe3a71d7b98adf1c3 | cd9c9ae1a625072df82c054f3f198728b8770a7a | refs/heads/master | 2021-01-18T11:49:14.196118 | 2012-11-12T21:16:18 | 2012-11-12T21:16:18 | 6,671,376 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,917 | py | # -*- coding: utf-8 -*-
#
# Copyright © 2012 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or impli... | [
"mhrivnak@redhat.com"
] | mhrivnak@redhat.com |
45ad57d83d99fab5a72ce8d3a7bb4fbcf69b3889 | 656086cf8542b0e02adae7ac30e4d302db1fbfd0 | /accounts/urls.py | e4d27409acfe0473de86af5a987715e822bbbbe3 | [] | no_license | swasher/privategames | 9fddc85a89e29529205f057821832afe3b45dbfd | 8c43967f0114d113aaec5f875966b3a07dfd0dc1 | refs/heads/master | 2021-11-19T08:53:09.085405 | 2017-06-19T20:31:31 | 2017-06-19T20:31:31 | 94,815,806 | 0 | 0 | null | 2021-09-07T23:46:40 | 2017-06-19T19:59:28 | HTML | UTF-8 | Python | false | false | 461 | py | from django.conf.urls import url
from django.contrib import auth
from . import views
urlpatterns = [
url(r'^user_registration/$', views.user_registration, name='user_registration'),
url(r'^user_login/$', views.user_login, name='login'),
# url(r'^login/(?P<next>\w+)/$', views.login, name='login'),
# url... | [
"mr.swasher@gmail.com"
] | mr.swasher@gmail.com |
611026bf890d5ee50f79ffa73bed1ba20af2b2aa | 71d9245d5264c25e56a6bb36512049da2c608875 | /docs/quit/bin/pip | e97746fadd98445faad93247f91e6161ddb65747 | [
"BSD-3-Clause"
] | permissive | kuacuia/CrazyEyeDoc | 1ef0d05e5de51b22f8126b92344348b41b4b2ae7 | f6614e4c9811356942213c7c4d8744d27b90bf57 | refs/heads/master | 2021-05-01T20:20:24.015721 | 2015-10-19T05:36:48 | 2015-10-19T05:36:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 247 | #!/Users/jieli/PycharmProjects/CrazyEye/docs/quit/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"lijie3721@126.com"
] | lijie3721@126.com | |
6eb451f77106c79398cebfa31f88a1f7d538d4c6 | 89bd006c2497d48c7b84dbb568ca8bafcd73478c | /config.py | a4ce2f021ad7c0396e25a363279301ab32691477 | [] | no_license | Jeffmusa/Blog-IP | ce68477209dc131d07af1174fcd090762c3ab562 | 07dc679994501ee2a7eabb99a5ef372626a4a5e8 | refs/heads/master | 2020-03-28T15:26:31.704067 | 2018-09-17T15:32:53 | 2018-09-17T15:32:53 | 148,593,594 | 0 | 0 | null | 2018-09-17T09:59:21 | 2018-09-13T06:40:53 | Python | UTF-8 | Python | false | false | 891 | py | import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY')
UPLOADED_PHOTOS_DEST ='app/static/photos'
# simple mde configurations
SIMPLEMDE_JS_IIFE = True
SIMPLEMDE_USE_CDN = True
'''
General configuration parent class
'''
MAIL_SERVER = 'smtp.googlemail.com'
MAIL... | [
"jeffmusa@gmail.com"
] | jeffmusa@gmail.com |
886f5fbf6e217afd816e5d846007316a2614ee6a | 99d17ddba93db1105e8941b1b592d9d9e22864fb | /tests/unit_tests/sql_parse_tests.py | 98eceebd47136400cd9bfbe13ad53b540a69770e | [
"Apache-2.0",
"OFL-1.1"
] | permissive | apache-superset/incubator-superset | f376dc15d6e2187d0b65a0dc5476d6c6c3378f21 | 0945d4a2f46667aebb9b93d0d7685215627ad237 | refs/heads/master | 2023-03-15T04:12:40.478792 | 2022-07-25T14:44:43 | 2022-07-25T14:44:43 | 146,225,581 | 21 | 20 | Apache-2.0 | 2023-03-13T16:00:14 | 2018-08-26T23:56:08 | TypeScript | UTF-8 | Python | false | false | 39,203 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"noreply@github.com"
] | apache-superset.noreply@github.com |
444f0c8aba9ee241e6dadda5b4387b1eaeb1f7e3 | f8065e5d6f898e02f4fbe533f5b252fe82273bb8 | /gate/app/gateserver.py | 00a8fac57a9031bf36c516ebc88d3c290ae95cba | [] | no_license | pizi06/firefly_study | f79c8e3596043beabc2b13783d46b18515617bfe | 4e85db73e4eda473180b302c16872a498d605aab | refs/heads/master | 2021-01-15T11:20:39.691679 | 2016-08-25T03:36:43 | 2016-08-25T03:36:43 | 65,810,416 | 0 | 0 | null | 2016-08-16T10:15:39 | 2016-08-16T10:15:39 | null | UTF-8 | Python | false | false | 133 | py | #coding:utf8
"""
Created on 2013-8-13
@author: lan (www.9miao.com)
"""
from gate import initconfig
initconfig.loadModule()
| [
"chenee543216@gmail.com"
] | chenee543216@gmail.com |
c2cc72ccd72c9aae8f54beed181c345b278d1e97 | 72730564dc94f1e2e777d7efea5cc4a25e1e773a | /scripts/crpo/job/selection_process.py | 2d510c10e0b641233dfc046623b8360786624c82 | [] | no_license | Dinesh-Dewangan/UI-Automation | 0126f63201f4d3668a1d1a2ae59da99028a662cf | 9d81753cc2034dde2699bf8ccb9fdd382cb4c876 | refs/heads/master | 2020-06-14T10:33:23.620942 | 2020-03-17T04:50:48 | 2020-03-17T04:50:48 | 194,982,742 | 1 | 0 | null | 2020-03-12T14:04:28 | 2019-07-03T05:02:16 | Python | UTF-8 | Python | false | false | 2,769 | py | import time
import page_elements
from scripts.crpo.job import create_job
from logger_settings import api_logger
class SelectionProcess(create_job.CreateJob):
def __init__(self):
super(SelectionProcess, self).__init__()
self.ui_job_floating_action = []
self.selection_process_created = []
... | [
"Vinod-E"
] | Vinod-E |
ad75c8994d3c03167db28fdc34669f031e659f05 | 1d21211d7342730884cc581fcfea44bf5a1ab092 | /reagent/gym/agents/post_step.py | c586d46efdae1e9616ae7f78d528751afedc4ed3 | [
"BSD-3-Clause"
] | permissive | jayhsieh/ReAgent | f3fbc73fc614b46a9886b41c0c47860b14765a91 | 5949184e845627cb0fbe5b391070d509fc5d27b5 | refs/heads/master | 2022-06-28T19:01:06.263829 | 2020-04-25T05:56:37 | 2020-04-25T05:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,023 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
import inspect
import logging
from typing import Any, Optional
import gym
import reagent.types as rlt
import torch
from reagent.gym.types import PostStep
from reagent.replay_memory.circular_replay_buffer import ReplayBuffe... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b91c9d1f1b1df5b7a67c6dac58f5e3b1c93f17dd | c24ad19b65992dd2be3d3210b889d970e43b9cdc | /class/phase1/day14/project/package01/m01.py | 05f4f293d9ae247d55598c074d55613dc435a395 | [] | no_license | ivoryli/myproject | 23f39449a0bd23abcc3058c08149cebbfd787d12 | cebfa2594198060d3f8f439c971864e0639bbf7e | refs/heads/master | 2020-05-30T06:25:41.345645 | 2019-05-31T11:15:55 | 2019-05-31T11:15:55 | 189,578,491 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py | class test:
def class_test(self):
print("project/package01/m01/class test.class_test") | [
"2712455490@qq.com"
] | 2712455490@qq.com |
60b65b9a9356b255b7634832fdf802a60f92117b | 17c280ade4159d4d8d5a48d16ba3989470eb3f46 | /16/data/ExoDiBosonResonances/EDBRTreeMaker/test/34.py | c5804258042dba61344c2b5dec99e800dc902c1a | [] | no_license | chengchen1993/run2_ntuple | 798ff18489ff5185dadf3d1456a4462e1dbff429 | c16c2b203c05a3eb77c769f63a0bcdf8b583708d | refs/heads/master | 2021-06-25T18:27:08.534795 | 2021-03-15T06:08:01 | 2021-03-15T06:08:01 | 212,079,804 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 27,622 | py | import FWCore.ParameterSet.Config as cms
process = cms.Process( "TEST" )
#process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True),allowUnscheduled=cms.untracked.bool(True))
#,
# SkipEvent = cms.untracked.vstring('P... | [
"c.chen@cern.ch"
] | c.chen@cern.ch |
7871d7ecdf9747eaa17c589987b37e1849170e4f | b162de01d1ca9a8a2a720e877961a3c85c9a1c1c | /793.preimage-size-of-factorial-zeroes-function.python3.py | c38e0f894a8e9b12acfa391f33a9d14f6c5c066a | [] | no_license | richnakasato/lc | 91d5ff40a1a3970856c76c1a53d7b21d88a3429c | f55a2decefcf075914ead4d9649d514209d17a34 | refs/heads/master | 2023-01-19T09:55:08.040324 | 2020-11-19T03:13:51 | 2020-11-19T03:13:51 | 114,937,686 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,005 | py | #
# [809] Preimage Size of Factorial Zeroes Function
#
# https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function/description/
#
# algorithms
# Hard (38.94%)
# Total Accepted: 4.3K
# Total Submissions: 10.9K
# Testcase Example: '0'
#
# Let f(x) be the number of zeroes at the end of x!. (Recall that ... | [
"richnakasato@hotmail.com"
] | richnakasato@hotmail.com |
a991e6b06c3830c7780eb63f309e5947d803c4fc | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2705486_0/Python/gsz/garbledEmail.py | 7f850504ee9349c401d830506d8eca177693fb8d | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | Python | false | false | 2,141 | py | #!/usr/bin/env python
from __future__ import print_function
FLAG = 26
def buildPrefixTree(dictfile):
f = file(dictfile, 'r')
prefixTree = [None] * 27
for word in f:
curSubtree = prefixTree
for letter in word.strip():
lcode = ord(letter) - ord('a')
if not curSubtree[... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
dbc5cc90fa55c1f60bbd8acc6a52d3de8475db3d | 7b1b4ed8bd4c887362b367625a833c28aa919dd8 | /wpaudit/providers/gcp/facade/cloudsql.py | 38f16bc59848fe5f3441a37957a877e2b21f6f8b | [] | no_license | wperic/wpaudit | 6bbd557c803ce9bceb764c1451daeb5e440a3d9c | ed69c1eabcf85e80ed8fe5397d2d369fd3ff35d8 | refs/heads/main | 2023-07-16T21:36:57.528548 | 2021-09-03T10:35:43 | 2021-09-03T10:35:43 | 402,716,870 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,768 | py | from wpaudit.core.console import print_exception
from wpaudit.providers.gcp.facade.basefacade import GCPBaseFacade
from wpaudit.providers.gcp.facade.utils import GCPFacadeUtils
from wpaudit.providers.utils import run_concurrently
class CloudSQLFacade(GCPBaseFacade):
def __init__(self):
super().__init__('sq... | [
"90035639+wperic@users.noreply.github.com"
] | 90035639+wperic@users.noreply.github.com |
e4651d49e40c1d4a8b3a772a4791bb2ef914864a | e8783146a524419962e04d1243f31d8691d54796 | /my_mission/BRUSH/aliexpress_order/place_order_ru_pool.py | 524e89fdf041429a830c361bde35dae95cc623a6 | [] | no_license | kknet/YHZX | c8de47439dff7fb580fdcf7c5ad0316747a18d92 | 76a8858ab575024cc0a267d5b6bc51d00aeaab3d | refs/heads/master | 2022-03-25T16:46:43.553332 | 2019-12-20T01:19:31 | 2019-12-20T01:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 89,807 | py | import os
# import sys
import random
import re
import json
# import threading
import sys
from multiprocessing import Pool
import time
import datetime
import requests
from lxml import etree
from selenium import webdriver
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.ui import WebDr... | [
"lodge6410@vip.qq.com"
] | lodge6410@vip.qq.com |
209b2f495b0b1ad9ef0193ae571e7494fd565a6c | 084bab407f0d6aa41998f56108f417dfa0148d84 | /sharedNotes/migrations/0001_initial.py | 90939cb5928d4326f9eaf6d27af4dfc6a7e8a652 | [] | no_license | AMiracle-creator/EasyNotes | 6c5dcbc3de9c50834e0d38799668c3771c0ecf26 | 4c03d2ab257e796da10051ececabd5da32a61242 | refs/heads/master | 2022-11-22T09:09:29.162852 | 2020-07-24T14:43:01 | 2020-07-24T14:43:01 | 277,596,374 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 716 | py | # Generated by Django 2.2.13 on 2020-07-16 18:03
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('notes', '0005_noteboard_pub_date'),
]
operations = [
migrations.CreateModel(
... | [
"giliyazovmarat@gmail.com"
] | giliyazovmarat@gmail.com |
b8a17e5bd000423b3d46d6fa738dab2166d3aba5 | a67f5d4988d8aa77177c1072a11442ef116796ea | /py/main.py | c6ba5ef12af259f4c419869f1dde41edd732ba53 | [] | no_license | AnKoushinist/nuclear-missiles-by-krsw.test | 956c6824c640fd235527dac5b1f01c9b4766a59a | b39b95fd787f23dc41f754643b5ae4fee744c21e | refs/heads/master | 2020-03-16T01:42:45.754033 | 2018-05-07T10:39:03 | 2018-05-07T10:39:03 | 132,446,451 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 301 | py | #!/usr/bin/env python
import os
import threading
from lambda_function import forever
def simpleBomb():
forever(os.environ['BOMB_TO'])
if __name__ == "__main__":
thureads = []
for j in range(50):
thureads.append(threading.Thread(target=simpleBomb, args=()))
for i in thureads:
i.start()
| [
"you@example.com"
] | you@example.com |
f8938f7633a5a6764331c2b358522afee98f03dc | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/grpc/src/src/python/grpcio_testing/grpc_testing/_channel/_rpc_state.py | a548ef0f12e6c33ebb8f2d8ab257ee28f8ff502c | [
"BSD-3-Clause",
"MPL-2.0",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | Python | false | false | 7,232 | py | # Copyright 2017 gRPC authors.
#
# 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... | [
"jengelh@inai.de"
] | jengelh@inai.de |
cc2ab32758a890e0a4416223bbee4424aa9e492f | 24f664aa2344d4f5d5e7b048ac4e85231715c4c8 | /deeplearning/ml4pl/models/checkpoints_test.py | 845cc9a66b16732c81c45e7b31df2d010ec76efc | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | speycode/clfuzz | 79320655e879d1e0a06a481e8ec2e293c7c10db7 | f2a96cf84a7971f70cb982c07b84207db407b3eb | refs/heads/master | 2020-12-05T13:44:55.486419 | 2020-01-03T14:14:03 | 2020-01-03T14:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,272 | py | # Copyright 2019 the ProGraML authors.
#
# Contact Chris Cummins <chrisc.101@gmail.com>.
#
# 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
#
# ... | [
"chrisc.101@gmail.com"
] | chrisc.101@gmail.com |
0a752793e76bee828d5fdfed5e0f767d334d6c7f | 8d014a0120864b42748ef63dddfa3c733370118c | /test/test_configs.py | 55f98a3b915c7424fb6afed432c4b8f170159930 | [
"Apache-2.0"
] | permissive | LayeredInsight/layint_api_python | 3a6cf0bf62219f09010b828d7e02c2f3852a6f6f | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | refs/heads/develop | 2020-03-27T05:43:35.831400 | 2018-10-15T22:28:54 | 2018-10-15T22:28:54 | 146,044,385 | 0 | 0 | Apache-2.0 | 2018-10-15T22:28:55 | 2018-08-24T22:11:08 | Python | UTF-8 | Python | false | false | 1,212 | py | # coding: utf-8
"""
Layered Insight Assessment, Compliance, Witness & Control
LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti... | [
"Scott Oberg"
] | Scott Oberg |
d332af1653eb80b4f779424c5b2172ccb3ebf370 | 6f3cc2bed9d2ee3b81304d9a6e383c84b01d3e49 | /readthedocs/settings/test.py | 98298f2f359be7b856cb36f11c8b8b2d0dfb8036 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | alisaifee/readthedocs.org | 1f56719300165fe5249a9272f6805d309105122c | 5f1ebf2d1e536ff94840aa166823c4f69b508969 | refs/heads/master | 2023-08-10T04:08:44.242402 | 2014-01-20T14:06:19 | 2014-01-20T14:06:19 | 14,831,353 | 0 | 0 | MIT | 2022-07-06T20:51:13 | 2013-12-01T00:54:17 | Python | UTF-8 | Python | false | false | 358 | py | import os.path
from .sqlite import * # noqa
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
SLUMBER_USERNAME = 'test'
SLUMBER_PASSWORD = 'test'
SLUMBER_API_HOST = 'http://localhost:8000'
# A bunch of our tests check this value in a returned URL/Domain
PRODUCTION_DOMAIN = 'readthedocs.org'
try:
from local_setti... | [
"eric@ericholscher.com"
] | eric@ericholscher.com |
89556f254253fdb78528ea8dfcd2bf35621812bf | bc87bfe38516877dcd2113281a39e2b3fad00229 | /site/06.level2_demo/lib/opencv_lane_detection.py | c1bf4ff7b1fedb649994522ff9d5132601718bb5 | [
"Apache-2.0"
] | permissive | FaBoPlatform/RobotCarAI | 7e8f9cf017e5380c1825f7397ee3de933efbc3f2 | c89d3330a2beda0f253733d3252b2b035b153b6b | refs/heads/master | 2021-07-05T06:49:33.414606 | 2020-07-07T05:04:31 | 2020-07-07T05:04:31 | 91,663,056 | 10 | 3 | Apache-2.0 | 2019-04-02T06:54:24 | 2017-05-18T07:34:19 | Python | UTF-8 | Python | false | false | 7,095 | py | # coding: utf-8
# OpenCV ライン検出クラス
# 参考:https://github.com/BillZito/lane-detection
#%matplotlib inline
import cv2
from matplotlib import pyplot as plt
import numpy as np
import time
import os
import sys
import math
from .functions import *
import platform
class LaneDetection():
OUTPUT_DIR = './output'
OUTPUT_FI... | [
"takanashi@gclue.jp"
] | takanashi@gclue.jp |
e55351edbc1eaff8324118ff84c8a6f3c03bdba0 | fef8f43025cff430d9aea080885173d9c22b3cb6 | /etalia/feeds/api/urls.py | 59085ed2636d1c4d9a7f14651f407a8c2d1465bb | [] | no_license | GemmaAA1/etalia-open | 30a083141330e227ac1de9855894bfb6e476e3cc | 260ce54d2da53c943d8b82fa9d40bb0c0df918a6 | refs/heads/master | 2023-03-28T03:33:13.771987 | 2017-10-30T00:55:27 | 2017-10-30T00:55:27 | 351,120,827 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 677 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
from django.conf.urls import include, patterns, url
from etalia.core.api.router import SharedAPIRootRouter
from . import views
router = SharedAPIRootRouter()
router.register(r'feeds/streampapers', views.StreamPapersViewSets)
router.regi... | [
"nicolas.pannetier@gmail.com"
] | nicolas.pannetier@gmail.com |
d31dbf8a21e4714c5f00fcb83d1d7486e36fb2b7 | d10312cd1c33bb24ebbcf4edf5e03d827f831b4b | /datatools/utils.py | ace8424cacc11260311935b8fc8f2eb5ac91505b | [
"Apache-2.0"
] | permissive | dcramer/django-data-tools | c89449cb1165c5ce181fd85993ae24ac805c3b70 | 462cfdf14a3f9dfbf718020951d6b1955a2ea847 | refs/heads/master | 2021-01-01T18:34:35.406438 | 2013-02-21T22:45:19 | 2013-02-21T22:45:19 | 2,601,549 | 21 | 1 | null | 2014-07-05T07:17:23 | 2011-10-18T19:56:40 | Python | UTF-8 | Python | false | false | 2,278 | py | """
datatools.utils
~~~~~~~~~~~~~~~
:copyright: (c) 2011-2012 DISQUS.
:license: Apache License 2.0, see LICENSE for more details.
"""
from collections import defaultdict
from django.db.models.fields.related import SingleRelatedObjectDescriptor
def distinct(l):
"""
Given an iterable will return a list of all... | [
"dcramer@gmail.com"
] | dcramer@gmail.com |
b78f8e5bdfeea0135a1ddccdf5ffaf9e585b473d | 367be82caa1e10965f8527fae3b4bbf5d101b456 | /kod/zeropython/zerocon/orders/__init__.py | f469fed31ebd968f3de6bb48f10a566cd9a729f9 | [
"BSD-3-Clause"
] | permissive | piotrmaslanka/zero | 5a56688abf116f2225ac1c52c71fb2b4cfcb8999 | 4a4e8341b06032b7ade6d7a56d9ae33dd1a5f47d | refs/heads/master | 2021-01-10T06:18:00.037212 | 2015-05-26T07:01:58 | 2015-05-26T07:01:58 | 36,278,174 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 953 | py |
class BaseOrder(object):
"""
Base class for Zero interface orders
"""
def __init__(self):
self.is_completed = False
self.result = None
def __str__(self):
"""
Return a string or bytearray
representing on-wire format
"""
def on_da... | [
"piotr.maslanka@henrietta.com.pl"
] | piotr.maslanka@henrietta.com.pl |
311b51e7dc5a97ec58c4358bee66ecc47dd5336d | e288ae44d875568e6bb679982943dfa6544c0d5a | /uniauth/forms.py | aafa979e91df18f8cc0f4fecbafd24ec77d25e75 | [
"Apache-2.0"
] | permissive | sebbalex/uniAuth | 98e8c525143b7045d7e7353cbc977a1fe4663073 | b93734eba00290a7efcf9a5e95a917cbe58bfd8e | refs/heads/master | 2022-12-13T18:50:19.151275 | 2020-08-14T19:57:54 | 2020-08-14T19:57:54 | 258,162,057 | 0 | 0 | Apache-2.0 | 2020-04-23T09:59:06 | 2020-04-23T09:59:05 | null | UTF-8 | Python | false | false | 1,120 | py | from django import forms
from django.contrib.auth.forms import AuthenticationForm
from django.utils.translation import gettext_lazy as _
class LoginForm(AuthenticationForm):
# these are inherited
# username = forms.CharField()
# password = forms.CharField(widget=forms.PasswordInput())
forget_agreement... | [
"giuseppe.demarco@unical.it"
] | giuseppe.demarco@unical.it |
0e87017f99bb9cc87c83731c782e1e9a3b9ced04 | a149044762566830b4356343c062ee84c8056471 | /healthid/tests/sales/test_promotion_background_task.py | b7c92cab5fd749d3e52e8eda703515e61735e524 | [] | no_license | malep2007/healtid-web-api | 23fbe8b34a3c5256cbb60cf15205f65cc035df13 | d9e88b4d8fe1dbc297b61bb007d4182928e515d4 | refs/heads/dev | 2022-12-12T03:24:37.537569 | 2019-12-17T16:26:59 | 2019-12-17T16:26:59 | 228,655,076 | 0 | 1 | null | 2022-12-08T05:25:00 | 2019-12-17T16:17:27 | Python | UTF-8 | Python | false | false | 1,600 | py | from django.test import TestCase
from mock import patch
from django.core.management import call_command
from healthid.utils.product_utils.product_expiry import \
check_for_expiry_products
from healthid.apps.products.models import BatchInfo
from datetime import datetime, timedelta
class TestBackgroundTasks(TestCas... | [
"ephraim.malinga@gmail.com"
] | ephraim.malinga@gmail.com |
15d906c9964cc997278016ce6f88d76daca9b21b | 68c4805ad01edd612fa714b1e0d210115e28bb7d | /CoreSource/SpeechBasedEmotionRec/spechFeatureNew.py | 6de542286c9f99b12a6002a47f050f4508d2cedc | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Happy-Egg/redesigned-happiness | ac17a11aecc7459f4ebf0afd7d43de16fb37ae2c | 08b705e3569f3daf31e44254ebd11dd8b4e6fbb3 | refs/heads/master | 2022-12-28T02:40:21.713456 | 2020-03-03T09:04:30 | 2020-03-03T09:04:30 | 204,904,444 | 2 | 1 | Apache-2.0 | 2022-12-08T06:19:04 | 2019-08-28T10:18:05 | Python | UTF-8 | Python | false | false | 7,005 | py | # coding=<encoding name>
import wave
import numpy as np
import math
import matplotlib.pyplot as plt
from scipy.fftpack import dct
def read(data_path):
"""读取语音信号
"""
wavepath = data_path
f = wave.open(wavepath, 'rb')
params = f.getparams()
nchannels, sampwidth, framerate, nframes = params[:4] ... | [
"yangyang4910709@163.com"
] | yangyang4910709@163.com |
e7f0ceef137207b427fbd140b19183337fa0fbed | f88f900c0384f6da82eeb749371ad44115527700 | /course-book/11-machine-learning/1112-mnist-2.py | f01ef1f8e5b2cd68f3be29443f718d0be9bd02ca | [] | no_license | aaron-kr/learning-opencv | eff382e8f0c822400f765451d57b192a63cd1b74 | 158239f0140569aec519fc1fbf255c54ef2567d2 | refs/heads/main | 2023-08-21T11:02:49.775425 | 2021-10-27T00:04:01 | 2021-10-27T00:04:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,208 | py | # 1112.py
'''
ref1: https://yann.lecun.com/exdb/mnist
ref2: https://gist.github.com/ischlag/41d15424e7989b936c1609b53edd1390
ref3: Deep Learning from Scratch
'''
import gzip
import cv2
import numpy as np
import matplotlib.pyplot as plt
IMAGE_SIZE = 28
PIXEL_DEPTH = 255
NUM_LABELS = 10
#1
def extract_data(filename, nu... | [
"jekkilekki@gmail.com"
] | jekkilekki@gmail.com |
13a68dea0e4885e7b4c61d88445bf3c05df3bb92 | 3b7ea5ac5a8aadf4ce577d4988d3afca76672311 | /duplicate1.py | b12a13139bbfc55424662c3387f0035f99eec9ac | [] | no_license | Parya1112009/mytest | 6c0fec16cbe5b83803fce9b270d8c03d247f34a3 | 6f698b64b34eae0d1d0f8ca1eab4257893fdce83 | refs/heads/master | 2022-11-23T22:38:24.463420 | 2022-11-16T03:48:44 | 2022-11-16T03:48:44 | 88,562,431 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 366 | py | import re
list = []
count = 0
l = []
with open("dupli.txt","r") as f:
for i in f.read().split():
list.append(i)
for j in list:
count = 0
for k in range(len(list)):
if j == list[k] and j not in l:
count = count+1
if k==len(list)-1 and count>1:
print "{0} has come {1} times in the file... | [
"noreply@github.com"
] | Parya1112009.noreply@github.com |
a5054207ec52ca554e6610908cb8d17b1bc05c54 | a4525c981552117dabdf5f952ced15997199da32 | /ask-smapi-model/ask_smapi_model/v1/audit_logs/request_pagination_context.py | 78edd5a2181ad9d4f1e557352cae829d7b364376 | [
"Apache-2.0"
] | permissive | muskanmahajan37/alexa-apis-for-python | 29b3b8e45bb009fa56ba0a2a73ed2f50efe77f65 | 8e0c90a3031f5afd8a2e62d19b51fe392e7da1af | refs/heads/master | 2022-11-09T01:14:58.947495 | 2020-06-25T17:33:19 | 2020-06-25T17:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,989 | py | # coding: utf-8
#
# Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "lice... | [
"ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com"
] | ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com |
42de08ad2d5147a9d33e86feacb51acc13dcfb87 | d47b841f7e64d83cebbe63a25bac47adc495a760 | /cfbd/models/team_matchup.py | 161ef3a42ab5eec0160bc2620a140cfca40be7df | [] | no_license | CiscoNeville/cfbd-python | 810029240de30a2b7a205cbc3bb009599481206c | 5775ff7ce7464e881f1940a7c0a534b0c26c1ce8 | refs/heads/master | 2023-09-04T18:27:23.773119 | 2021-11-19T01:49:07 | 2021-11-19T01:49:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,012 | py | # coding: utf-8
"""
College Football Data API
This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. # noqa: E501
OpenAPI spec... | [
"radjewwj@gmail.com"
] | radjewwj@gmail.com |
b24247d40512bb2e83fba00ab5a7301f98f0b089 | 594f60b6a536b831d0df38abea7f0ffc0a2fd3cb | /spyder/equinox_headache/SVK_RUZ_AccountingEntity.py | 1140ab0b1933c92c01c6942cecfe39d32656ca12 | [] | no_license | mh70cz/py | 1478439fe939076cca3a30be2f2d29fb4e8a3cd9 | 7fc23f2133624c787e1dd4856322d48251cc6f0e | refs/heads/master | 2022-08-12T06:08:30.720164 | 2022-08-08T23:16:19 | 2022-08-08T23:16:19 | 95,386,881 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,695 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 18 20:39:09 2017
@author: mh70
IČO35804564
DIČ2021557802
IČ DPH SK2021557802
http://www.registeruz.sk/cruz-public/api/uctovne-jednotky?zmenene-od=2000-01-01&pokracovat-za-id=1&max-zaznamov=100&ico=35804564
http://www.registeruz.sk/cruz-public/api/... | [
"mh70@mh70.cz"
] | mh70@mh70.cz |
3265651a7d6d8ddc73cd19727d9e401279da91f2 | 922e923bdab099efa7161f5806ed262ba5cc84c4 | /apps/directoryentries/migrations/0012_auto_20171214_1029.py | 03b0780689d9b6dfe497e7b8ec39f3bbf343aab5 | [
"MIT"
] | permissive | iamjdcollins/districtwebsite | eadd45a7bf49a43e6497f68a361329f93c41f117 | 89e2aea47ca3d221665bc23586a4374421be5800 | refs/heads/master | 2021-07-05T19:06:12.458608 | 2019-02-20T17:10:10 | 2019-02-20T17:10:10 | 109,855,661 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,134 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-12-14 17:29
from __future__ import unicode_literals
from django.db import migrations, models
def set_inline_order(apps,schema_editor):
Administrator = apps.get_model('directoryentries','administrator')
for index, item in enumerate(Administrator.obje... | [
"jd@iamjdcollins.com"
] | jd@iamjdcollins.com |
4899d302cf005504ce201691a2448da0816f6a83 | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-gsn-edf/gsn-edf_ut=2.5_rd=1_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=67/params.py | 7185b8c814f36cfa0eca827733d14a5b7063a2f0 | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 252 | py | {'cpus': 4,
'duration': 30,
'final_util': '2.530238',
'max_util': '2.5',
'periods': 'harmonic-2',
'release_master': False,
'res_distr': '1',
'res_nmb': '4',
'res_weight': '0.06',
'scheduler': 'GSN-EDF',
'trial': 67,
'utils': 'uni-medium-3'}
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
08751ce48dca5820a14792af3961f83e5bcb34c0 | c071eb46184635818e8349ce9c2a78d6c6e460fc | /system/python_stubs/-745935208/PyQt5/QtCore/QPauseAnimation.py | 1839493128857f99581e2827591095bfd51c0012 | [] | no_license | sidbmw/PyCharm-Settings | a71bc594c83829a1522e215155686381b8ac5c6e | 083f9fe945ee5358346e5d86b17130d521d1b954 | refs/heads/master | 2020-04-05T14:24:03.216082 | 2018-12-28T02:29:29 | 2018-12-28T02:29:29 | 156,927,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,003 | py | # encoding: utf-8
# module PyQt5.QtCore
# from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtCore.pyd
# by generator 1.146
# no doc
# imports
import sip as __sip
from .QAbstractAnimation import QAbstractAnimation
class QPauseAnimation(QAbstractAnimation):
"""
QPauseAnimatio... | [
"siddharthnatamai@gmail.com"
] | siddharthnatamai@gmail.com |
8e0bf422a28801383ce1f6ae8b38124ee9b166a7 | 90f545733f076747bad979faa3a8cf23867f7a3a | /X4zn.py | 1c80cdd29ca4760820e804c5f5a7cfda4bdf0400 | [] | no_license | kunweiTAN/techgym_ai | f85dc52ce6e75f4c08213d5796171908beb9a69e | 051274bcc789a563c46ed5661301535e76ae1e18 | refs/heads/master | 2023-08-17T05:15:18.758183 | 2021-09-21T11:57:07 | 2021-09-21T11:57:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,115 | py | #Tech-Gym-11-16
#LightGBM
#違うアルゴリズムを使ってみる
#pip install lightgbm
#データの準備
import pandas as pd
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split
#可視化ライブラリ
import matplotlib.pyplot as plt
%matplotlib inline
#学習モデル
import lightgbm as lgb
from sklearn.ense... | [
"noreply@github.com"
] | kunweiTAN.noreply@github.com |
b88b3685d909151caad222d0ca69e8dcabd30898 | b254f030cefdddbabf6868b1d5d9a784aba88b2c | /tutorial/porting-multi-modules/mypreprocessor1.py | 70ce221099718fbd5863235da0ec868dab63740a | [
"Apache-2.0"
] | permissive | gnes-ai/hub | 84220c37eea388fd57c914e86007469cd126d371 | 94cff9011ff6447ce1af51c5307813ab6fbbb156 | refs/heads/master | 2020-07-05T13:23:59.573400 | 2019-10-24T05:10:12 | 2019-10-24T05:10:12 | 202,658,837 | 38 | 11 | NOASSERTION | 2019-10-24T05:10:13 | 2019-08-16T04:33:52 | Python | UTF-8 | Python | false | false | 429 | py | from gnes.preprocessor.text.base import BaseTextPreprocessor
class MyPreprocessor1(BaseTextPreprocessor):
def __init__(self, foo, *args, **kwargs):
super().__init__(*args, **kwargs)
self.foo = foo
def apply(self, doc: 'gnes_pb2.Document') -> None:
super().apply(doc)
doc.raw_t... | [
"hanhxiao@tencent.com"
] | hanhxiao@tencent.com |
0e3ff9aa9c411e36845656b0918d35d9c629ae22 | 88ea6ae5a8f97e3771490583d8acecdbe2877fd8 | /zips/plugin.video.vistatv/resources/lib/sources/en/tunemovie.py | 64c394044b56a9e6c0b34265e470c3e268d62ca1 | [] | no_license | staycanuca/PersonalDataVistaTV | 26497a29e6f8b86592609e7e950d6156aadf881c | 4844edbfd4ecfc1d48e31432c39b9ab1b3b1a222 | refs/heads/master | 2021-01-25T14:46:25.763952 | 2018-03-03T10:48:06 | 2018-03-03T10:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,506 | py | # NEEDS FIXING
# -*- coding: UTF-8 -*-
#######################################################################
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# @tantrumdev wrote this file. As long as you retain this notice you
# can do whate... | [
"biglad@mgawow.co.uk"
] | biglad@mgawow.co.uk |
07516c33745c79bb04d23b78ddac4b528f47f77d | c180333a152eb3efd39ec1a6f92965c2124d41fd | /Dojo/Python_Stack/Django/014multiple_apps/main/apps/integration/urls.py | b09bdf5b2f2f49d139a64bc7842f426a4dca38d9 | [] | no_license | AlexFloresGreer/Branching_and_Merging | 3399a91dfb9f23e6d3ec163d40d004d27bc330ab | 3d53fb814345d075a79a6078a63c9ef7ccfa09bc | refs/heads/master | 2021-01-15T09:15:27.153736 | 2016-08-24T18:02:58 | 2016-08-24T18:02:58 | 64,349,980 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | py | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^', views.index),
# url(r'^process$', views.process),
# url(r'^destroy/(?P<id>\d+)$', views.destroy),
# url(r'^delete/(?P<id>\d+)$', views.delete),
]
| [
"floresalexx@gmail.com"
] | floresalexx@gmail.com |
2f9db6c37386180be55052acfeb9e61baa128739 | 4115c970da053f00a21e7df6e4f7ac51e588310a | /main/views.py | 23553c2fcb22563a9e30493695285b1fd3865a8f | [] | no_license | dhcrain/chrip | 8633b5bac04f9894c600d4a39980c5013eb13d71 | bbcebc10d3f8b966c7dd3026ffcd5285989a1d56 | refs/heads/master | 2021-01-15T15:32:42.123845 | 2016-08-22T19:06:24 | 2016-08-22T19:06:24 | 61,555,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,849 | py | from django.views.generic import DetailView
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from django.core.urlresolvers import reverse_lazy
from main.models import Chrip, StopWord
# Create your views here.
class IndexView(CreateView):
template_name = "index.html"
model = Chrip
... | [
"dhcrain@gmail.com"
] | dhcrain@gmail.com |
f71c5538db8ee26852ad448c395118b168f29c5e | d6ff55dd9e2c9992b2db4c613cd5b8f18a6f5be1 | /takeyourmeds/reminders/reminders_messages/tests.py | c75965160e46bb8c99b380d4253be96b40c7037e | [
"MIT"
] | permissive | RickIsWright/takeyourmeds-web | f2f8d6da7e2ad1adfe67cbebe0a20bc7c08f45eb | edf24188f26948902cfb69793b4d5aa3cf8b6dea | refs/heads/master | 2023-05-08T20:34:58.640415 | 2016-02-07T10:50:55 | 2016-02-07T10:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,305 | py | from takeyourmeds.utils.test import TestCase
from ..enums import TypeEnum, SourceEnum
from .enums import StateEnum
class StatusCallbackTest(TestCase):
def setUp(self):
super(StatusCallbackTest, self).setUp()
self.message = self.user.reminders.create(
type=TypeEnum.message,
).... | [
"chris@chris-lamb.co.uk"
] | chris@chris-lamb.co.uk |
5413a823d4bc3b1016b0e44fb61e0c9cfbdcaf91 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_shortstops.py | 9fff789159aad2f477f5ac170a57b53c1b9c2028 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 259 | py |
from xai.brain.wordbase.nouns._shortstop import _SHORTSTOP
#calss header
class _SHORTSTOPS(_SHORTSTOP, ):
def __init__(self,):
_SHORTSTOP.__init__(self)
self.name = "SHORTSTOPS"
self.specie = 'nouns'
self.basic = "shortstop"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
cecea41c818a3b247c56896575c1522ce9fb5c4e | 2013e01bb611c5346c5cf8c6cd45b10832be4939 | /twitter/user_tweet_v4.py | 5653b24b07e1427e9a124e663443ca09bab143ea | [] | no_license | Ikerlz/CxSpider | f0fd4ee85fb499137073a23625d0f4932dfce1a8 | b504d19ce4d2092907b995049dc16fb419217a36 | refs/heads/master | 2022-11-22T14:41:08.578675 | 2020-07-24T06:16:55 | 2020-07-24T06:16:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,189 | py | """
Twitter用户推文爬虫
@author: ChangXing
@version: 4.0
@create: 2017.12.30
@revise: 2020.06.08
"""
import copy
import datetime as dt
import re
import time
from urllib import parse
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import StaleElementReferenceException
import e... | [
"1278729001@qq.com"
] | 1278729001@qq.com |
c6dc0dd7c09673d53a86243122f0f21809cf8375 | 6d39bbe870917a9f759cc1342c51cc67bb3c3001 | /development-support/run-testsuite | fb9557fe4f9c4eb2a4adb925f02bc380ea9d42ab | [] | no_license | beOn/pyobjc | 6cb1887d0a050d63c9885a9c5ecb8fbe1f402b43 | acf71801c5915a5a632afe7a265faa7c9a7209b1 | refs/heads/master | 2023-06-04T13:46:39.855437 | 2021-06-25T19:44:40 | 2021-06-25T19:44:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,391 | #!/usr/bin/env python3 -B
"""
Helper script for running the PyObjC test suite
"""
import argparse
import collections
import configparser
import json
import logging
import os
import platform
import re
import shutil
import ssl
import subprocess
import sys
import time
from http.client import HTTPSConnection
from urllib.p... | [
"ronaldoussoren@mac.com"
] | ronaldoussoren@mac.com | |
e1876be979e2db5989ca5aac9a476d35c9c94322 | d58a9794a73cf19caaf5ceab0b7c369363b07c5c | /modelcluster/utils.py | 44fa858c9ffcaf1b89bb4b5116666ce422a49ba9 | [
"BSD-3-Clause"
] | permissive | Sam-Costigan/django-modelcluster | deb68d87c1225c93e759f54f791c312c979bbae9 | d13fad24d9bd5cc38958aba97e6b255c08df324f | refs/heads/master | 2020-04-17T01:47:30.474731 | 2019-03-06T15:07:26 | 2019-03-06T15:07:26 | 166,108,443 | 0 | 1 | BSD-3-Clause | 2019-01-16T20:38:50 | 2019-01-16T20:38:50 | null | UTF-8 | Python | false | false | 911 | py | def sort_by_fields(items, fields):
"""
Sort a list of objects on the given fields. The field list works analogously to
queryset.order_by(*fields): each field is either a property of the object,
or is prefixed by '-' (e.g. '-name') to indicate reverse ordering.
"""
# To get the desired behaviour,... | [
"matt@west.co.tt"
] | matt@west.co.tt |
c4ffd3c8ee3496ec01bfb85986cf12e87722fee9 | 551b75f52d28c0b5c8944d808a361470e2602654 | /huaweicloud-sdk-iam/huaweicloudsdkiam/v3/model/agency_assumedby_user.py | fc0d5cc88bc27d5b1a0ed7fee5325a735fb843eb | [
"Apache-2.0"
] | permissive | wuchen-huawei/huaweicloud-sdk-python-v3 | 9d6597ce8ab666a9a297b3d936aeb85c55cf5877 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | refs/heads/master | 2023-05-08T21:32:31.920300 | 2021-05-26T08:54:18 | 2021-05-26T08:54:18 | 370,898,764 | 0 | 0 | NOASSERTION | 2021-05-26T03:50:07 | 2021-05-26T03:50:07 | null | UTF-8 | Python | false | false | 4,951 | py | # coding: utf-8
import pprint
import re
import six
class AgencyAssumedbyUser:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the valu... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
ee8b94043e315de2af98ca48feb314ad31ab8f43 | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/sdssj9-10_142558.43+402257.8/sdB_sdssj9-10_142558.43+402257.8_coadd.py | 729cf8d6e25845ee4939fc8d9b077de623cc6491 | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py | from gPhoton.gMap import gMap
def main():
gMap(band="NUV", skypos=[216.493458,40.382722], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj9-10_142558.43+402257.8/sdB_sdssj9-10_142558.43+402257.8_movie_count.fits", cntcoaddfile="/data2/fleming/... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
1e90d19a0f60ed5270e9f1f7b67c9f2e91bee00e | 794a3ba0ec6a90fa44b481bbd1db6a616882c149 | /GUI.py | ec317f69720fcf0dbd9ca6411627c40868229c1e | [] | no_license | piladzis10/Sudoku-Pygame | 4bac186012e6d2cd2e3829abd5634c0b08872d9a | 7cc9174c5ed26ce539446092108f7770f1f1dbb1 | refs/heads/main | 2023-04-23T12:49:15.435468 | 2021-05-12T08:28:59 | 2021-05-12T08:28:59 | 366,645,686 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,615 | py | # GUI.py
import pygame
from Solver import solve, valid
import time
pygame.font.init()
class Grid:
board = [
[7, 8, 0, 4, 0, 0, 1, 2, 0],
[6, 0, 0, 0, 7, 5, 0, 0, 9],
[0, 0, 0, 6, 0, 1, 0, 7, 8],
[0, 0, 7, 0, 4, 0, 2, 6, 0],
[0, 0, 1, 0, 5, 0, 9, 3, 0],
[9, 0, 4, 0, ... | [
"davis.burmistris@gmail.com"
] | davis.burmistris@gmail.com |
dde349ffdd38fb8e7472b6783ebbb977c97b95f7 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p00003/s070218689.py | 14dc3c9ca613426f2fab78fa604115913a2bc097 | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | py | #coing:utf-8
def distance(a,b):
dst = pow(a,2) + pow(b,2)
return dst
def isTriangle(lines):
idxList = [[0,1,2],[1,0,2],[2,0,1]]
flag = False
for i in idxList:
if not flag and pow(lines[i[0]],2) == distance(lines[i[1]], lines[i[2]]):
flag = True
return flag
if __name__... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
5131559f50773443874cadd74dc18aa352ae3f75 | 709b1549033c9a547c67ee507fdc10b7e5d234ad | /test/test_options_metadata.py | cd40f5fb76a33de303808382af8110f953eefec1 | [
"Apache-2.0"
] | permissive | cvent/octopus-deploy-api-client | d622417286b348c0be29678a86005a809c77c005 | 0e03e842e1beb29b132776aee077df570b88366a | refs/heads/master | 2020-12-05T14:17:46.229979 | 2020-01-07T05:06:58 | 2020-01-07T05:06:58 | 232,135,963 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,077 | py | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | [
"d.jain@cvent.com"
] | d.jain@cvent.com |
c60c745e8f9633fdf1970b673212cd00d21e30cb | 909b9a0018f3df43ac0360e900024449f1d00bbc | /tests/assignments/test_assign6.py | ad17d905d7d0a72eca6c76b900c3dddf11a1c2cf | [
"MIT"
] | permissive | acc-cosc-1336/cosc-1336-spring-2018-vcruz350 | a0ea69f31deecee486a4a88b1ea2b867556915bf | 0cee9fde3d4129c51626c4e0c870972aebec9b95 | refs/heads/master | 2021-05-11T09:09:31.514062 | 2018-05-07T17:35:35 | 2018-05-07T17:35:35 | 118,070,026 | 0 | 0 | MIT | 2018-05-07T17:35:36 | 2018-01-19T03:12:46 | Python | UTF-8 | Python | false | false | 943 | py | import unittest
from src.assignments.assignment6 import(get_count_A_C_G_and_T_in_string)
#write the import for function get_count_A_C_G_and_T_in_string
class Test_Assign6(unittest.TestCase):
def test_countACGT_w_string_ATGCTTCAGAAAGGTCTTACG(self):
self.assertEqual((6, 4, 5, 6), get_count_A_C_G_and_T_in_s... | [
"noreply@github.com"
] | acc-cosc-1336.noreply@github.com |
dd0f5c982556b0e9f39fb647be0f7b9c1da4a880 | 2a451a3b2fbb0f5b9f35409883de6b2b64c5293d | /onegreek/imagestore/models/album.py | 4067245e8c3da7794b908edfc876fb3aa8d98811 | [
"BSD-3-Clause"
] | permissive | goldhand/onegreek | 80fba46eb64bff870059fe579ba536c36350d525 | 1ad105f15608284a9e80802734f0c6222413a4a0 | refs/heads/master | 2023-04-01T05:26:39.277682 | 2014-01-21T02:11:45 | 2014-01-21T02:11:45 | 13,724,775 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,712 | py | from django.core.urlresolvers import reverse
from django.db import models
from django.dispatch import receiver
from django.utils.translation import ugettext_lazy as _
from django.contrib.contenttypes import generic
from django.contrib.contenttypes.models import ContentType
from model_utils import Choices
from model_ut... | [
"will@django.nu"
] | will@django.nu |
4d80d0667e4ab4392080dc64c8837768ad5975f6 | 993750025c66ba927a137c288de9eb25500f53c9 | /DPproxy/proxy/views.py | e88d9c097a358d016514df6ef469cb5998287a19 | [] | no_license | itimor/spider_practice | 55bdcb1a70645b0c27933442665bdf1bd4ad14c9 | 141d6eb8f3eb8441db9eb32e5eccb125e27780ec | refs/heads/master | 2021-07-03T08:40:26.758087 | 2017-09-25T06:24:51 | 2017-09-25T06:24:51 | 103,386,299 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 365 | py | # -*- coding: utf-8 -*-
# author: itimor
from rest_framework import viewsets
from models import ProxyPool
from serializers import ProxySerializer
from filters import ProxyFilter
class ProxyViewSet(viewsets.ModelViewSet):
queryset = ProxyPool.objects.all()
serializer_class = ProxySerializer
filter_class =... | [
"itimor@126.com"
] | itimor@126.com |
efe38afd77b31e3075c4492aff5902364fbe6b9a | 06b1fa0f91f6f941b6f6867d1bfcf9079735a690 | /DP/gen.py | 97cbfcdf52ef4532294759679726e624f6fc7704 | [] | no_license | chintanbetrabet/coding | fa51113a385ab2682f67108405e03ea6a11c0399 | 7506ddf0ccf85080eb2754a0262e422afdf3c010 | refs/heads/master | 2021-07-01T14:38:57.086429 | 2017-09-21T09:28:45 | 2017-09-21T09:28:45 | 104,082,008 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | #s='qwertyuiopasdfghjklzxcvbnm'
s='a'
s1=''
for i in range(5000/len(s)):
s1+=s
print 10
for x in range(10):
print len(s1)
print s1
| [
"chintanbetrabet@gmail.com"
] | chintanbetrabet@gmail.com |
2de30f07f3ef0f1a55b93e3c823c2d696b0fb58b | 0032c98333ffc0efdb920ecca31ab224378880e5 | /rpi-tutorial/Ultrasonic2.py | bc5ae5255a136a2080cb0a83f12c1d9deee81107 | [] | no_license | raspibrick/install | bd1c6f9a8cb524f2ab5a2c17ad8c5463b768dffa | 96288d6ca21abd8fb993cc376e37c16473b54dd5 | refs/heads/master | 2021-01-10T05:00:39.159879 | 2019-07-25T09:46:04 | 2019-07-25T09:46:04 | 40,703,681 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,243 | py | # Ultrasonic2.py
# Show distance on Oled
import RPi.GPIO as GPIO
import time
from OLED1306 import OLED1306
P_ESCAPE = 12 # Button A
P_TRIGGER = 15
P_ECHO = 16
def setup():
GPIO.setmode(GPIO.BOARD)
GPIO.setup(P_TRIGGER, GPIO.OUT)
GPIO.setup(P_ECHO, GPIO.IN)
GPIO.setup(P_ESCAPE, GPIO.IN)
def getDistan... | [
"a2015@pluess.name"
] | a2015@pluess.name |
59ff332da70b89183304b727e57379d4bff631e7 | a2cb30d8b48d69228d744e27d98404966dbfd5bc | /Python/03_list_tuple/tuple.py | ee3b3c7edc3bb2aa90b4dfe75ffff24786693851 | [] | no_license | Sean3Don/KevinNote | f0091005084fd732214d460c5f43ee6f7bea9a5b | fec704c732a2406686ef3641841eed430d6050bb | refs/heads/master | 2022-02-26T07:24:10.859985 | 2017-01-07T23:08:18 | 2017-01-07T23:08:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 175 | py | #!/usr/bin/python
classmate = ('kevin', 'ellie', 'Riki')
print classmate
t = (1)
print t
t = (1, )
print t
t = ('a', 'b', ['A', 'B'])
t[2][0] = 'X'
t[2][1] = 'Y'
print t
| [
"15018787835@163.com"
] | 15018787835@163.com |
e1db3da26952c713a75d45bb82f32cd65830686f | 4cd2bb469ff03fcaeed13a27a4f34a5760921df2 | /fig/ld.py | 3839e7bc0c5d75cbb9b26ec5bad9fbf1f498a4e7 | [] | no_license | FedorSarafanov/VacuumTriode | c3dff3e779f53da72720eeb56fab18dc81527d9e | 5677b00ce23c7a06e4cb5f88b34d03fb0af8cb4c | refs/heads/master | 2021-05-19T08:26:47.793971 | 2020-03-31T13:04:12 | 2020-03-31T13:04:12 | 251,604,646 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 439 | py | import numpy as np
from matplotlib import pyplot as plt
from scipy import interpolate
A=np.genfromtxt('s_uc.tsv',delimiter='\t',skip_header=1)
uc1=A.T[0]
S=A.T[1]
ss = interpolate.interp1d(uc1,S)
A=np.genfromtxt('r_uc.tsv',delimiter='\t',skip_header=1)
r=A.T[0]
uc2=A.T[1]
rr = interpolate.interp1d(uc2,r)
mu=np.a... | [
"sfg180@yandex.ru"
] | sfg180@yandex.ru |
89b292bf92e8b8eae00cc582d8efc88a8e236791 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/python/ops/distributions/laplace.py | 9cebbac5daab17b18450a05c5bfa977b4f019bbb | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | Python | false | false | 8,190 | py | # Copyright 2016 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 |
3d5b11b4df0726b8186f9ec85255a1e507c34c9e | 2fd0c65aa0f72133f773dac5d9a5c48fe9e26fac | /Dsz/PyScripts/Lib/dsz/mca/security/cmd/eventlogclear/tasking_dsz.py | 7c07167ded2b18c5cadf519bfb9d75434164eb8b | [] | no_license | FingerLeakers/DanderSpritz_docs | f5d2430e0b86b1b2f0684f02ddd4fa973a5a7364 | d96b6a71c039b329f9f81544f645857c75360e7f | refs/heads/master | 2021-01-25T13:05:51.732149 | 2018-03-08T01:22:49 | 2018-03-08T01:22:49 | 123,527,268 | 2 | 0 | null | 2018-03-02T03:48:31 | 2018-03-02T03:48:30 | null | UTF-8 | Python | false | false | 451 | py | # uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, Feb 6 2017, 23:53:20)
# [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
# Embedded file name: tasking_dsz.py
import mcl.framework
import mcl.tasking
class dsz:
INTERFACE = 16842801
PFAM = 4138
PR... | [
"francisck@protonmail.ch"
] | francisck@protonmail.ch |
2c398d7e7cb5d1ea48a937911f5b0cb67923eb87 | b273437e4a3e8a5c75752d191a058a74988cfd94 | /flask-app/api/order_api.py | 5afc92ab06d817dd388e98b2db959bb9f80e5948 | [] | no_license | AhnSeongHyun/flask-socketio-test | c2ad31765e731794526a5339e0a2d11d5c6d6e40 | b5173449cba610713cfa296ce9d3b3c75b2fa3e9 | refs/heads/master | 2021-01-17T11:48:02.564052 | 2017-03-06T08:26:25 | 2017-03-06T08:26:25 | 84,048,333 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 462 | py | # -*- coding:utf-8 -*-
from flask import Blueprint, request
import requests
order_api = Blueprint('api', __name__, url_prefix='/api')
@order_api.route('/order', methods=['POST'])
def test_api_order():
order_num = request.form.get('order_num', 'NULL')
NOTIFY_URL = "http://localhost:5001/order/notify"
r = ... | [
"sh84.ahn@gmail.com"
] | sh84.ahn@gmail.com |
368142e00c877cf4376ace7703c589594467aa63 | fb0141bea55a60fba7cd301b64c1f23be6847afa | /design_pattern/factory_pattern.py | 3778ef9d6c0fde6d7d6a42b9909a2717e6df9663 | [] | no_license | yhkl-dev/python-learn-note | 8b978700ac689c0db5ec3e04ab48df87c22e701c | 1ccf51c1a69aca8e0cfae19b3cade8b0ca58ef6e | refs/heads/master | 2020-09-27T13:35:50.184920 | 2020-05-23T16:28:07 | 2020-05-23T16:28:07 | 226,529,711 | 0 | 1 | null | 2020-07-20T03:39:48 | 2019-12-07T14:48:16 | Python | UTF-8 | Python | false | false | 1,198 | py | class HttpMethod(object):
def method(self):
return NotImplemented("method must be implemented")
class GetHttpMethod(HttpMethod):
def __init__(self):
print('http get method')
def method(self):
print('Inside Get:method() method')
class PostHttpMethod(HttpMethod):
def __init__(... | [
"kaiyang939325@gmail.com"
] | kaiyang939325@gmail.com |
39760a63a9072776d6c8697cdfab5915f796e404 | 71a7d88907c9fc02c989db84fb9b3d452e613278 | /python/maintcal/maintcal/__init__.py | bf334c51fe546578114bb27d63521bc72a9d6f75 | [] | no_license | raychorn/svn_rackspace | 5ca38426775d5475ad62c06dbfa7ec2ed05f3ca9 | c87323446f2820d165edab7f8c7a7436b7bee19e | refs/heads/main | 2023-01-01T19:16:56.682787 | 2020-10-15T22:20:58 | 2020-10-15T22:20:58 | 304,458,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 441 | py | """
Maintenance Calendar Terminology:
Default Availability (defaults): the defaults for any calendar. Not specific to any time frame.
Exceptions: Date-specific changes to the default availability.
Availablity: The aggregation of default availability overlaid with any exceptions. This is specific to a given date ran... | [
"raychorn@gmail.com"
] | raychorn@gmail.com |
e72fbc567348e8ba7fc5c5f251e8b16ba1113450 | 05483471298c3f277b57524a78c1a81867b7afd7 | /PythonCrashCourse/chapter-9/9-14.py | b1f8eedf8c1977177981e7388d96b54ceffc4e13 | [] | no_license | lanchunyuan/Python | c09fc19dbc26fe9925110da6237d48e06baa77ab | 2cafc62255e27306a6085fb64e5b21d851e98d51 | refs/heads/master | 2020-04-18T09:51:28.521649 | 2019-02-06T14:19:02 | 2019-02-06T14:19:02 | 167,449,312 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 418 | py | from random import randint
class Die():
def __init__(self,sides=6):
self.sides = sides
def rool_die(self):
return randint(1,self.sides)
d6 = Die()
results = []
for roll_num in range(10):
result = d6.rool_die()
results.append(result)
print(results)
d6 = Die(sides = 10)
results = []... | [
"lanchunyuan@gmail.com"
] | lanchunyuan@gmail.com |
9ea0b64351607bd764ba019b720bb54fa7622671 | e8a87fa14006f1479161293a898e2f73eefc91f7 | /Week5/Tarefa 01/Exercicio_01_maximo.py | 22cad2cfe0ee963b5cec782ed8995a8ba28e407c | [
"MIT"
] | permissive | WesGtoX/Intro-Computer-Science-with-Python-Part01 | 7880cc4483662104ecaa3c199826cb129ae00dca | 50561e4c104ced2f5e468e382f45e4ca5cb2279e | refs/heads/master | 2020-03-21T06:29:10.584323 | 2018-06-21T21:28:43 | 2018-06-21T21:28:43 | 138,223,598 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 76 | py | def maximo(x, y):
if x > y:
return x
else:
return y | [
"wesley_gto_x@yahoo.com.br"
] | wesley_gto_x@yahoo.com.br |
05ed07febd98fcbf9140b8cfe1e1dbd9f9476836 | 10a18920f93008659f49b18fb016b84a21765e73 | /server/venv_ubuntu/lib/python3.8/site-packages/os_traits/compute/__init__.py | bb9b86ce7c2e58a089f6e8f43caaae25a8186070 | [] | no_license | psitadmin/network-junco | 48fa704878fe9566cda393eddd88dafae07fa47c | 63a1e4afa46514852345e03eb32a2911621540f2 | refs/heads/master | 2023-08-18T07:01:48.836761 | 2021-09-28T09:47:42 | 2021-09-28T09:47:42 | 403,928,187 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,824 | py | # -*- coding: utf-8 -*-
# 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, softw... | [
"enrique.garcia.practicas@telefonica.com"
] | enrique.garcia.practicas@telefonica.com |
3c38405a4f4fcbe86946dc3912cd0f06c0aa3cd5 | 9057b4ef2268dc936c022ce93b784e1a812dcea6 | /Python/Data Formatter/formatter.py | 952ad935dd8dc1b08ec41102c7d1890ff180ffbc | [] | no_license | richelle89ss/Colligere | be39df5a665534f2c4d0d9768fb042ff06568780 | 90da2e28d330321a4dedde9dfda5f8a20c508063 | refs/heads/master | 2021-10-22T15:11:28.905416 | 2019-03-11T17:03:45 | 2019-03-11T17:03:45 | 108,481,507 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,300 | py | import csv
from bitFields import bitField
import sys
from table import MultiListbox
from Tkinter import *
import tkFileDialog
import tkMessageBox
import os
#data1 = "00235b00020100e04c681a7e080045000130b8d1f0f08011df8ec0a81001c0a8100b08340834011cbadb46544988000500200104000000100000000000000000000000000000000000000000... | [
"33138436+richelle89ss@users.noreply.github.com"
] | 33138436+richelle89ss@users.noreply.github.com |
e5de6f66bc649edaed71573e40429f9fc70534d3 | 7118862c20c0b503f9e901026e48a809e29f5cf5 | /ar_markers/__init__.py | 7f87eb9b4991f61915c37c70860179b2b86a4fe9 | [
"BSD-3-Clause"
] | permissive | pstraczynski/ar_markers | 964c0405dd7b51ac12f6f4c042626514667f7324 | 408737244ef7a655607858a6852189d5aef02e9b | refs/heads/master | 2022-11-17T22:08:42.885805 | 2020-07-16T11:46:38 | 2020-07-16T11:46:38 | 280,138,112 | 0 | 0 | BSD-3-Clause | 2020-07-16T11:38:53 | 2020-07-16T11:38:52 | null | UTF-8 | Python | false | false | 202 | py | from __future__ import absolute_import
from ar_markers.detect import detect_markers
from ar_markers.marker import HammingMarker
__author__ = 'Kevin J. Walcko'
__license__ = 'BSD'
__version__ = '0.5.0'
| [
"walchko@users.noreply.github.com"
] | walchko@users.noreply.github.com |
202e1e8ef3d92013594877db63df78f3bd86119d | e43ba55811fcc719727f44c1f5a101583433bfc2 | /examples/read_write_smp.py | d38b86124d517d1289e4fd134ca502bc360c7c99 | [
"MIT"
] | permissive | carbrock/bvbabel | 83b134af1c16fe17e655d40ee8c5fd4b07c4d663 | baac12d106455e34d9924309eadb4df991d3d8c9 | refs/heads/main | 2023-07-10T19:44:08.304781 | 2021-08-06T14:56:24 | 2021-08-06T14:56:24 | 394,198,595 | 0 | 0 | MIT | 2021-08-09T07:45:59 | 2021-08-09T07:45:59 | null | UTF-8 | Python | false | false | 491 | py | """Read Brainvoyager smp file."""
import os
import bvbabel
from pprint import pprint
FILE = "/home/faruk/Documents/test_bvbabel/srf_smp/maps.smp"
# =============================================================================
# Load vmr
header, data_smp = bvbabel.smp.read_smp(FILE)
# See header information
pprint(h... | [
"farukgulban@gmail.com"
] | farukgulban@gmail.com |
4e3d4c8657c60f409378f2d56af1ea2be84ffd51 | 5d1c43bb4881039f198eedcee2ceb101b406e0a0 | /Django/과제/project/project/urls.py | ab00134dceb89058ba7af2bff70eef5bd964a93a | [] | no_license | MunSeoHee/Likelion_Gachon_2020 | 46155b1686a245a59c5664f7726ac754b7079e4b | e0e48845fdb0e4aa2365e7c47e29880a27f0f261 | refs/heads/master | 2021-04-10T09:51:06.618980 | 2020-12-07T10:06:43 | 2020-12-07T10:06:43 | 248,927,668 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,156 | py | """project URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based... | [
"nansh9815@naver.com"
] | nansh9815@naver.com |
7609bd4c63265b788dd9822ee1cd8a56b77125c0 | 5342377ea83f727379593396caafec4e8fbc5d4a | /software/glasgow/cli.py | 8da5a125493aecd7fcefe2eda44577fdf3eacd96 | [
"0BSD",
"Apache-2.0"
] | permissive | ForkItAllSec/Glasgow | 7e34bf7780f4fb228559faf29b74c82e803e3a0e | aab41274f63814b26f5e82aab47e901a7c55ae86 | refs/heads/master | 2020-05-02T07:35:33.004030 | 2019-03-25T18:04:07 | 2019-03-25T18:11:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 30,681 | py | import os
import sys
import logging
import argparse
import textwrap
import re
import asyncio
import unittest
import shutil
from vcd import VCDWriter
from datetime import datetime
from fx2 import VID_CYPRESS, PID_FX2, FX2Config
from fx2.format import input_data, diff_data
from ._version import get_versions
from .devic... | [
"whitequark@whitequark.org"
] | whitequark@whitequark.org |
d640910ab2a71849aab650efd1c493c82a775897 | 7bf617f77a55d8ec23fa8156c1380b563a5ac7f6 | /CG/SciPy/DotChart_01.py | f109e80f478b23f55442ff65d7541321e5a05049 | [] | no_license | anyatran/school | c06da0e08b148e3d93aec0e76329579bddaa85d5 | 24bcfd75f4a6fe9595d790808f8fca4f9bf6c7ec | refs/heads/master | 2021-06-17T10:45:47.648361 | 2017-05-26T12:57:23 | 2017-05-26T12:57:23 | 92,509,148 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 234 | py | # -*- coding: utf-8 -*-
import pygal
dot_chart = pygal.Dot()
dot_chart.title = 'Cost of Whole Milk in early 2014'
dot_chart.add('US Dollars', [2.08, 3.14, 3.89, 3.91, 3.94, 3.98])
dot_chart.render_to_file('dot_chart.svg')
| [
"panhtran249@gmail.com"
] | panhtran249@gmail.com |
eb6b9f799fc520ade4b03a2b6758d2d7f7d799e7 | 1c57cddc15e42aab37292d2cddcee162f69955c3 | /core/migrations/0018_map_date_of_information.py | 0303b01cf83ae75972e76df6ca9917702fd1693e | [
"MIT"
] | permissive | mikekeda/maps | c7d19c608bdd2200415f90affe0d13c0c1800af4 | 468507beaf230cb856bef61593e49851df254d9c | refs/heads/master | 2023-07-27T14:13:32.778375 | 2023-06-06T17:27:31 | 2023-06-06T17:27:31 | 119,081,251 | 1 | 1 | MIT | 2023-07-05T22:57:15 | 2018-01-26T17:22:32 | Python | UTF-8 | Python | false | false | 584 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-05-07 04:42
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0017_delete_region'),
]
operations = [
migrations.Add... | [
"mriynuk@gmail.com"
] | mriynuk@gmail.com |
81272083cec69ed898e91220a92eedb3c234485f | 2afb1095de2b03b05c8b96f98f38ddeca889fbff | /My_Module/time_countdown.py | eac0ff7ec30b138b9cb00cf04c6b000b1cd14c1c | [] | no_license | draganmoo/trypython | 187316f8823296b12e1df60ef92c54b7a04aa3e7 | 90cb0fc8626e333c6ea430e32aa21af7d189d975 | refs/heads/master | 2023-09-03T16:24:33.548172 | 2021-11-04T21:21:12 | 2021-11-04T21:21:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,354 | py | import math,time
def workload_time_left(round_time,sleep_time,remain_workload):
"""
estimate finishing time according to the workload being left over.
"""
left_time = remain_workload * (round_time + sleep_time)
if left_time < 3600:
time_estimation = str(math.modf(left_time/60)[1]... | [
"13701304462@163.com"
] | 13701304462@163.com |
92473bdb8dc1b3a0dd67c2163fe5497219fc5edb | 46544b5f01eed38d69be41aabe83c6d6089cad52 | /classifier_system/model_training/Ensemble/reddit_data_bert_semi.py | c689b3437052711b7c002ed4d51ed7b1e0c74f7d | [] | no_license | eirikdahlen/MSc-Computer-Science-2021 | 042a7c5a5b9bb19567ca301b427c872a209c25ee | bbb1264bbc3305b1357772f4e434ff987ad2c919 | refs/heads/main | 2023-05-15T01:47:13.907667 | 2021-06-05T09:05:32 | 2021-06-05T09:05:32 | 374,064,083 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,746 | py | import os
import numpy
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout
from tensorflow.keras.callbacks import LearningRateScheduler
import pandas as pd
import time
from matplotlib import pyplot
import numpy as np
from transformers import BertToke... | [
"dahleneirik@gmail.com"
] | dahleneirik@gmail.com |
8c2ae51cb82da8deeb7d5ebb14af6629f10c7e4c | 41ef0b4899b87559916eb34cf35ba2e86fea47b4 | /train_focal.py | a73fa5ec440843dfe966191ab092761d7199407e | [] | no_license | gepu0221/gp_resnet | f083ae0ac40c554e6ca98e392a90e1a2e2c9242e | 04bb2a3100a05c44964b037f224b719c720aff82 | refs/heads/master | 2020-03-19T20:07:12.722608 | 2018-06-20T11:13:12 | 2018-06-20T11:13:12 | 136,888,928 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,145 | py | from __future__ import print_function
import tensorflow as tf
import numpy as np
import time
import sys
import TensorflowUtils as utils
import read_expression_data as scene_parsing
import datetime
import BatchDatsetReader as dataset
from six.moves import xrange
sys.path.append('.')
try:
from cfgs.config import FLA... | [
"cauc_gp@163.com"
] | cauc_gp@163.com |
c583c2344f2569f4bedcaab52fc851bbc1c2837b | 67c86d1514ae573d424716283a582c7d9238ff40 | /Chapter11/11-11.py | 6f6b74eabe491a6bd4e78db44a041c584d99b2cd | [] | no_license | TheXJT/python_study | e55f53a020c0219e0c39a9b00fd93c4d1af17df9 | be5308f3bc2dadef283671de8aec5681c2dde8d6 | refs/heads/master | 2021-05-04T10:27:51.760751 | 2019-01-14T09:36:34 | 2019-01-14T09:36:34 | 45,985,936 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 104 | py | from tombola import Tombola
class Fake(Tombola):
def pick(self):
return 13
# print(Fake)
# f=Fake()
| [
"1251284167@qq.com"
] | 1251284167@qq.com |
8cbff65a4608011394e68fefa40d3b003a0a2a58 | c0f6bb2a406c1fb6eaccb1c7a5babae0b83ad269 | /setup.py | 1400fae1cee119df97891db1e95d8cffb324e7e9 | [
"MIT"
] | permissive | srix/pytamil | 051e1eebfe63c65681543bd4c158772cb9e3bd6c | fbe06e9a5f20acfca36e1a8f1c25e0f36d4ba4b9 | refs/heads/master | 2023-05-31T19:23:11.390245 | 2023-05-08T11:05:16 | 2023-05-08T11:05:16 | 195,109,564 | 51 | 9 | MIT | 2021-03-25T22:51:36 | 2019-07-03T18:41:59 | Python | UTF-8 | Python | false | false | 1,077 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from codecs import open
setup(name='pytamil',
version='1',
description=u'A library for Tamil text processing and conjunction rules from rule-set EBNF. தமிழ் எழுத்து மற்றும் புணர்ச்சி விதிகளைக்கொண்ட நிரல் தொகுப்பு',
author... | [
"ezhillang@gmail.com"
] | ezhillang@gmail.com |
a8895f851239b681a9a13846ce6833a3a83b0920 | 5d7ad4d331ee029101fe6a239db9d0e7eebedaae | /8Memoization/192 · Wildcard Matching.py | b00c3f2b62235b36cbaad35b6dfa775d6d6a4734 | [] | no_license | Iansdfg/9chap | 77587e1c99b34d13b49a86ed575ec89db421551e | d7b42f94c20f6a579ad59d9f894dcc2fbc5a0501 | refs/heads/master | 2022-11-15T02:21:33.791516 | 2022-11-09T06:24:43 | 2022-11-09T06:24:43 | 201,677,377 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,171 | py | class Solution:
"""
@param s: A string
@param p: A string includes "?" and "*"
@return: is Match?
"""
def is_match(self, s, p):
# write your code here
return self.is_match_helper(s, 0, p, 0, {})
def is_match_helper(self, s, i, p, j, memo):
print(s[i:], p[j:])
... | [
"noreply@github.com"
] | Iansdfg.noreply@github.com |
d896d69cb3a6b96f38d39ee54b1f3a63414cc5ca | 1eab574606dffb14a63195de994ee7c2355989b1 | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedipv4label_vyzmfjzs9szwfybmvksxb2nexhymvs.py | 2cc421bf1ef4c754f0f1e57029fbe978379509e8 | [
"MIT"
] | permissive | steiler/ixnetwork_restpy | 56b3f08726301e9938aaea26f6dcd20ebf53c806 | dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9 | refs/heads/master | 2020-09-04T12:10:18.387184 | 2019-11-05T11:29:43 | 2019-11-05T11:29:43 | 219,728,796 | 0 | 0 | null | 2019-11-05T11:28:29 | 2019-11-05T11:28:26 | null | UTF-8 | Python | false | false | 4,161 | py | # MIT LICENSE
#
# Copyright 1997 - 2019 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,... | [
"srvc_cm_packages@keysight.com"
] | srvc_cm_packages@keysight.com |
a5cb79513dee746570079422da8be41abd44d4e3 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-5/d9e51fe708ffd26dc00902726ad2342e45e5b509-<ordered_merge>-bug.py | 6ad020a266a7a51115cb255e664dde2602015d34 | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 408 | py | def ordered_merge(left, right, on=None, left_on=None, right_on=None, left_by=None, right_by=None, fill_method=None, suffixes=('_x', '_y')):
warnings.warn('ordered_merge is deprecated and replace by merged_ordered', FutureWarning, stacklevel=2)
return merge_ordered(left, right, on=on, left_on=left_on, right_on=r... | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.