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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adf28e920deddf72529dcb0823b1473ab4f87eba | ae9ce341ffb6b6d0587b04af81d8a25d81adc987 | /src/core/migrations/0001_initial.py | 96305126d9e1be6c432a17f0620d4a7bf2e73231 | [] | no_license | MrTsepa/track_web | 7eda8e0cdcb2c384b57569b59f03a7d4ad0c4543 | 276860bdeb42a2b27002e1e19eca0383ffb27b0e | refs/heads/master | 2021-01-12T17:53:15.769984 | 2016-12-27T17:44:15 | 2016-12-27T17:44:15 | 71,288,968 | 0 | 0 | null | 2016-12-25T19:12:27 | 2016-10-18T20:34:17 | JavaScript | UTF-8 | Python | false | false | 3,021 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-10-18 16:09
from __future__ import unicode_literals
import django.contrib.auth.models
import django.contrib.auth.validators
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
... | [
"tsepa.stas@gmail.com"
] | tsepa.stas@gmail.com |
4606275fa5d9e722d6644f7d7cf1c37e42c82127 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_230/ch168_2020_06_15_19_49_26_764111.py | 6d30c2c492a8b42526eb6299bf967924d030cb9f | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 678 | py | def login_disponivel(login, lista):
novo_login=0
num=0
if login not in lista:
lista.append(login)
return login
else:
for logins in lista:
if login!=logins:
continue
else:
num+=1
novo_login=login+str(num)
... | [
"you@example.com"
] | you@example.com |
fb2a17ee074aee2dd601440a013c1d40a2e94c24 | 2b54b1fb1540ab73d6c83cae3acd5fdd58bdead5 | /Platinum_clusters_Project/Pt7O11_richness/Ptoxides_zorderimage_new.py | 5c29ede674b6b65b4573cae10e0835fa87be76a9 | [] | no_license | sivachiriki/GOFEE_Pt_V_supported | 5787d44294262870075f35f2d31c096021b7ce20 | 6bd700dac1f3e7c58394b758d75246ac6e07eade | refs/heads/master | 2022-04-08T11:38:13.038455 | 2020-03-09T10:48:31 | 2020-03-09T10:48:31 | 226,359,812 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,547 | py | from __future__ import division
import matplotlib
#matplotlib.use('Agg') # Can also use 'tkagg' or 'webagg'
#from plot_neb_tio2 import *
from matplotlib.offsetbox import TextArea, VPacker, AnnotationBbox
import matplotlib.patches as patches
from math import ceil, floor
import matplotlib.pyplot as plt
from ase.io impor... | [
"sivachiriki@phys.au.dk"
] | sivachiriki@phys.au.dk |
19fe4733092470c04d9b22d2264b885c70a14290 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /QcswPnY2cAbrfwuWE_24.py | 87292310bdc04e8e32529844946ccbcd1e95cb45 | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 618 | py | """
Create a function that filters out factorials from a list. A factorial is a
number that can be represented in the following manner:
n! = n * (n-1) * (n-2) * ... * 3 * 2 * 1
Recursively, this can be represented as:
n! = n * (n-1)!
### Examples
filter_factorials([1, 2, 3, 4, 5, 6, 7]) ➞ [1, 2, 6]
... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
40282fc5a8d13a3550a7977c79d53dc897d2564a | 3a17b31ed9250b38de3b9fd9db8d3d3a8719222c | /setup.py | 1b13c01094f9aa2e0ecd2d15e8c084c887a0422e | [
"MIT"
] | permissive | a627414850/Macropodus | 4cc9bb48408b832cdc890a098a7ea8dc64328ba1 | 1d7b8f9938cb8b6d7744e9caabc3eb41c8891283 | refs/heads/master | 2023-02-15T09:04:35.889058 | 2020-12-25T14:29:04 | 2020-12-25T14:29:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,566 | py | # -*- coding: UTF-8 -*-
# !/usr/bin/python
# @time :2019/12/30 22:17
# @author :Mo
# @function :setup of Macropodus
# @codes :fix it and copy reference from https://github.com/TianWenQAQ/Kashgari/blob/master/setup.py
from macropodus.version import __version__
from setuptools import find_packages, setup
impor... | [
"2714618994@qq.com"
] | 2714618994@qq.com |
2ba20a83f2e3080ecf33539555d67783b0a914b3 | 253b65bc1317abd276649020a0474533ee65c350 | /preprocess_coco.py | 54ca521272eaecdeebe953414a0d52336b71842b | [
"MIT"
] | permissive | AMDS123/Faster-RCNN-Densecap-torch | 53a19ce1e44e2ec5e27c9ec8601799e66059138f | e41c3f585a15e4438348f5402ab3c6a945ea66f1 | refs/heads/master | 2021-06-02T09:38:43.607179 | 2016-09-12T00:43:10 | 2016-09-12T00:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,131 | py | # coding=utf8
import argparse, os, json, string
from collections import Counter
from Queue import Queue
from threading import Thread, Lock
from math import floor
import h5py
import numpy as np
from scipy.misc import imread, imresize
"""
This file expects a JSON file containing ground-truth regions and captions
in th... | [
"rluo@ttic.edu"
] | rluo@ttic.edu |
ab7557f54c78b00a84b9184bb4bae7e516208f59 | c0156da1c81a3a76e397974399c7345d082eca9b | /venv/lib/python3.7/site-packages/webdav/common.py | 5ba8b2c9e55df9fcb895045c8a1ca7c86de54bb2 | [
"Apache-2.0"
] | permissive | leanhvu86/matrix-server | 1823c60fc6ba5ed489bb5720474c6b56a9aec688 | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | refs/heads/master | 2023-05-09T01:21:37.774510 | 2021-05-21T15:10:48 | 2021-05-21T15:10:48 | 369,569,370 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,095 | py | ##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS I... | [
"leanhvu86@gmail.com"
] | leanhvu86@gmail.com |
cccc8870f7ed30c693be4991c997bd40760e5ee8 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_180/ch62_2019_10_02_15_14_58_527777.py | b4ad3aad05eeb567a0a0710d004c18a93d56a9fd | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 157 | py | def filtra_positivos(lista):
lista_positivos = []
for i in lista:
if i > 0:
lista_positivos.append(i)
returnn lista_positivos | [
"you@example.com"
] | you@example.com |
d8a55ec8bdd74b0f3ae4fc16b7c292a0b5ab4452 | c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce | /flask/flaskenv/Lib/site-packages/tensorflow/python/estimator/canned/linear.py | a870fe7a1fe83f1323f5d1b7383d5c93f2edf5e8 | [] | no_license | AhsonAslam/webapi | 54cf7466aac4685da1105f9fb84c686e38f92121 | 1b2bfa4614e7afdc57c9210b0674506ea70b20b5 | refs/heads/master | 2020-07-27T06:05:36.057953 | 2019-09-17T06:35:33 | 2019-09-17T06:35:33 | 208,895,450 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:e4a29da17634359c96032259089138e261570186b23d8d3ede31721e341ba111
size 1310
| [
"github@cuba12345"
] | github@cuba12345 |
8881a9b4109aac6cccaa8aad8b8db98a4aecf08a | c0f4104194a7989e44d7f0161b2425c5a5bc3a98 | /tacker/agent/linux/daemon.py | e60c6d9210e2a6984c2d5f8ba4f96c7331599496 | [] | no_license | bopopescu/Openstack-2 | f65470bdd0ee4736c45b6f869f0453cb8eb446c8 | 6f06133562e3dfd490695a92c9ddf1a322675104 | refs/heads/master | 2022-11-28T09:19:21.633850 | 2016-06-23T07:55:32 | 2016-06-23T07:55:32 | 282,095,817 | 0 | 0 | null | 2020-07-24T01:44:49 | 2020-07-24T01:44:48 | null | UTF-8 | Python | false | false | 4,324 | py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2012 New Dream Network, LLC (DreamHost)
#
# 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/li... | [
"egonmin@CN00119199"
] | egonmin@CN00119199 |
8ee2f1b168cb673bb9e1196e8e8507088a55e75b | 7300fc72162568f886e04509431359a62a09da79 | /lino_xl/lib/phones/mixins.py | cfc73974e2bfd9b6033a7d3015cfbcb1ca35f494 | [
"BSD-2-Clause"
] | permissive | forexblog/xl | ad27aa1e9f5669f8a78ec55f4b7d0bd952da6327 | 130303647d01c0d8271f770f3054907c183dc1e8 | refs/heads/master | 2023-03-04T01:44:39.485452 | 2021-02-13T08:18:16 | 2021-02-13T08:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,590 | py | # Copyright 2017-2019 Rumma & Ko Ltd
# License: BSD (see file COPYING for details)
from etgen.html import E, join_elems
from lino.api import rt, dd, _
from lino.core.diff import ChangeWatcher
from lino.mixins import Contactable, Phonable
from .choicelists import ContactDetailTypes
class ContactDetailsOwner(Contacta... | [
"luc.saffre@gmail.com"
] | luc.saffre@gmail.com |
2e7b9dada3d2c6d1f5775277b7fedd5aaa57321b | c29b838371729ac04744b40d486f0b55212990b6 | /Spider-Learn/Spider/chapter4_analyse_library_pyquery.py | 5ec6b154f29be6291fe4c1e9b4b48b87708a9f36 | [] | no_license | Sugarsugarzz/PyPractice | 93c3155a94d162c9eabf0d1a641d28bc6d639c22 | d91b7d6ca996792fe409c08862fa9da5b1dc319b | refs/heads/master | 2023-02-13T01:51:24.909947 | 2021-01-20T02:57:22 | 2021-01-20T02:57:22 | 163,177,428 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,717 | py |
#****** 4.3 使用pyquery ******
# 适合于用CSS选择器较多的情况
# 1、安装
# pip3 install pyquery
import pyquery
# 引入PyQuery,别名py
from pyquery import PyQuery as pq
# 2、初始化
# 传入一个参数来初始化Pyquery
# *字符串初始化
html = '''
<div>
<ul>
<li class="item-0">first item</li>
<li class="item-1"><a href="link2.html">second item</a></li>
<li cla... | [
"406857586@qq.com"
] | 406857586@qq.com |
c46eea6ac70388e3126470a5470b481d84d8b08e | a7b66311c2ce113789933ec3162f1128b2862f13 | /app/waterQual/EPA/ntnModel/wrapCl.py | 1059b5ef803b609b8ac5c26f307b198b30e4359e | [
"MIT"
] | permissive | ChanJeunlam/geolearn | 214b2c42359ea1164b39117fad2d7470adeb6d35 | 791caa54eb70920823ea7d46714dc8a3e7fa7445 | refs/heads/master | 2023-07-16T04:13:15.526364 | 2021-08-16T05:24:18 | 2021-08-16T05:24:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,772 | py | import os
import time
import pandas as pd
import numpy as np
import json
from hydroDL import kPath
from hydroDL.data import usgs, gageII, gridMET, transform
# varC = usgs.varC
varC = ['00940']
siteNoLst = ['0422026250', '04232050', '0423205010']
nFill = 3
varG = gageII.lstWaterQuality
caseName = 'chloride'
# add a st... | [
"geofkwai@gmail.com"
] | geofkwai@gmail.com |
c4a71d58b51d50f238a0fcfefb454888e76cbac3 | c3cf442e56969e98fbd392ee89bd85b3e22d5cd2 | /python/Spider/github_login2.py | ddd07e038a2e21d86bbac1715e399e0fe3d6860d | [] | no_license | Eacaen/diff_Code_Learn | bd4bd409f0027ab3d606ef029de9ae4a3af09775 | e55619c5736181fd50666b61d06e6ed7cafc4394 | refs/heads/master | 2021-01-12T07:55:54.127018 | 2019-11-07T10:42:05 | 2019-11-07T10:42:05 | 77,052,231 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,942 | py | # -*- coding:utf-8 -*-
import requests
import re
session = requests.Session()
# header = {
# "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
# "Accept-Encoding": "gzip, deflate, sdch, br",
# "Accept-Language": "zh-CN,zh;q=0.8",
# "Cache-Control": "max-age=0",
# ... | [
"501556184@qq.com"
] | 501556184@qq.com |
dab468facc509b0bc4a17bf71d78d2f64e565972 | 0689ad04900b45e6ffb85756e65e96f30781558b | /py44/数据/day06/demo03_vectorize.py | 53433c685f1e8058eb2bb0adb205b8acc6cb2766 | [] | no_license | lizhihui16/aaa | a5452b5d0de4c2ad6342fce1b8aef278d2d2943e | e8c38e012f6aa0bc05ac6481d6c3e2b4e9013b56 | refs/heads/master | 2020-04-24T01:05:19.266060 | 2019-02-20T01:43:51 | 2019-02-20T01:43:51 | 171,586,359 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 534 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
'''
vectorize矢量化案例
'''
import numpy as np
import math as m
def foo(x, y):
return m.sqrt(x**2 + y**2)
x, y = 3, 4
print(foo(x, y))
x = np.array([3, 4, 5, 6])
y = np.array([4, 5, 6, 7])
# z = foo(x, y) 错误
# 把foo函数矢量化处理
foo_v = np.ve... | [
"tarena@tedu.cn"
] | tarena@tedu.cn |
9012a4c3c7502633f1df59574ab7602af3edaaeb | 533c298a21e865d190e69b0c95a0f9ecd9dd8d8b | /reviewboard/__init__.py | 016a72ad23705cdef9d791d57c91bf2bda9806f0 | [
"MIT"
] | permissive | djs/reviewboard | cb78573890b821cbc228fb43a1bdb8e337d5e9d5 | 813158fbb31d7889e224f3fc1350fd4a791874ec | refs/heads/master | 2021-01-15T22:41:24.101928 | 2009-09-23T09:54:41 | 2009-09-23T09:54:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,573 | py | # The version of Review Board.
#
# This is in the format of:
#
# (Major, Minor, Micro, alpha/beta/rc/final, Release Number, Released)
#
VERSION = (1, 1, 0, 'alpha', 2, False)
def get_version_string():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version += ".%s" % VERSION[2]
if ... | [
"chipx86@chipx86.com"
] | chipx86@chipx86.com |
f5a8c989e65546942db6eb04c553e6eccd86bdf4 | 387d39b6be636d7a0c119882e055ee527f727e1a | /python/ccxt/bybit.py | 928a39f843ac70f3ebdf5da08cf566799862c092 | [
"MIT"
] | permissive | lobatt/ccxt | 30b30fa08d55538fe7dad4380aa1842a28ce06a3 | 9faec08330ca2565f63c7c2b11c99161883e2bdd | refs/heads/master | 2023-07-19T19:57:29.110899 | 2021-09-04T00:26:51 | 2021-09-04T00:26:51 | 228,749,714 | 4 | 4 | MIT | 2021-08-01T01:15:51 | 2019-12-18T03:25:20 | JavaScript | UTF-8 | Python | false | false | 88,075 | py | # -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from ccxt.base.exchange import Exchange
from ccxt.base.errors import ExchangeError
from ccxt.base.errors import AuthenticationError
from cc... | [
"travis@travis-ci.org"
] | travis@travis-ci.org |
0c6a313f175fae0b84ab49d728b75441dcf2ea5f | 13b14c9c75143bf2eda87cb4a41006a52dd6f02b | /AOJ/ITP1_1_D/ITP1_1_D_p.py | a6acf7b75b82545eb6dc179dabcbd87b1719406f | [] | no_license | yutaka-watanobe/problem-solving | 2c311ac856c79c20aef631938140118eb3bc3835 | f0b92125494fbd3c8d203989ec9fef53f52ad4b4 | refs/heads/master | 2021-06-03T12:58:39.881107 | 2020-12-16T14:34:16 | 2020-12-16T14:34:16 | 94,963,754 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 103 | py | s = int(input())
h = s // 3600
m = s % 3600 // 60
s = s % 60
print(str(h) +":" + str(m) +":" + str(s))
| [
"y.watanobe@gmail.com"
] | y.watanobe@gmail.com |
4e0e82716584b6f00ebb5773c0e041000aa55a11 | 1d9138d777744fa2d9d6e3b629a43041f2358d06 | /real_time/abc/118/B.py | 0cbaafe88c142600626cc3f11fe6341f0d44f97f | [] | no_license | Yuyats/AtCoderAnswers | f1956b790ee64a4d0b3b48b98791a91679a30244 | fac7e3eb74a888e77ba7a6b6a15d836c589baa3e | refs/heads/master | 2021-06-24T16:19:45.848524 | 2021-06-13T03:51:07 | 2021-06-13T03:51:07 | 198,857,448 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 923 | py | import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, random, time, copy, functools
sys.setrecursionlimit(10**7)
inf = 10 ** 20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]
ddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)]
def ... | [
"unitednum@gmail.com"
] | unitednum@gmail.com |
8b2fb070f5bd9c5bfb41af82e806c1cdd09c1850 | e764c69d09cb69653817df8fa410ce7a31dd5d1d | /residuosWebapp/residuos/models.py | 95607856e983b103db5e578608aeadf61d6b7687 | [] | no_license | fafaschiavo/residuosWebbapp | 5620d60a933e3894864c89de232ebebf11df6a5f | f1915bc1f136801e96c5bf01bd7d5127eddb8551 | refs/heads/master | 2021-01-20T17:12:27.770482 | 2016-08-14T22:26:03 | 2016-08-14T22:26:03 | 65,656,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,541 | py | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class members(models.Model):
first_name = models.CharField(max_length=200)
last_name = models.CharField(max_length=200)
email = models.CharField(max_length=200)
phone = models.CharField(max_length=200)
created_at = mo... | [
"fayschiavo@gmail.com"
] | fayschiavo@gmail.com |
33c85c8bf476a439d5dacd0afbbd365c0df5f844 | fb65b7c000642dca68c93ee85a87795b3f30fe21 | /Advance_Python/Quantifiers/Rule4.py | 2c441191c03a5512a02d8b5f8398a98bb93e4222 | [] | no_license | toncysara17/luminarpythonprograms | f41b446251feba641e117d87ce235dc556086f8f | 17bc37c3f83c0e9792aaa8bccd901371a6413f14 | refs/heads/master | 2023-04-17T18:51:31.493118 | 2021-04-20T05:25:02 | 2021-04-20T05:25:02 | 358,550,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 184 | py | #Quantifiers
import re
x = "a{3}" #no of a position
r="aaa abc aaaa cga"
matcher=re.finditer(x,r)
for match in matcher:
print(match.start())
print(match.group()) | [
"toncysara12@gmail.com"
] | toncysara12@gmail.com |
02ca81936a9bbc323cdc7593087daf093dfe7a6a | dc0d7e49eafe40f1c41f631621a6ccdefdcbbf7c | /press/log.py | fd7a77624aba7893cf089a1fce44ac9a436ccd5f | [] | no_license | jr0d/press | b2314b319da5b44d23110036064775796246c5c1 | 477b78700b644b2d333f4d9289f319a52fc54100 | refs/heads/master | 2021-06-15T20:44:18.061919 | 2019-04-24T17:01:37 | 2019-04-24T17:01:37 | 80,559,927 | 7 | 3 | null | 2021-03-25T21:49:09 | 2017-01-31T20:38:44 | Python | UTF-8 | Python | false | false | 830 | py | import logging
FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
def setup_logging(log_level=logging.ERROR,
console_logging=True,
log_file=None,
cli_debug=False):
press_logger = logging.getLogger('press')
press_cli_logger = logging.getLogge... | [
"jared.rodriguez@rackspace.com"
] | jared.rodriguez@rackspace.com |
6ab505a1ac637cbf578adba0cb1b1eb19c59b563 | 4ad94b71e30883d6df07a3277265bd6fb7457ba7 | /python/examples/doc_examples/plot/axis_title_3d.py | e81c6c337eadf7fd0d7458a698deea9e1388cc48 | [
"MIT"
] | permissive | Tecplot/handyscripts | 7cb1d4c80f323c785d06b0c8d37aeb0acb67f58c | 84a89bfecff5479a0319f08eb8aa9df465283830 | refs/heads/master | 2023-08-22T15:29:22.629644 | 2023-08-12T01:19:59 | 2023-08-12T01:19:59 | 149,826,165 | 89 | 64 | MIT | 2022-01-13T01:11:02 | 2018-09-21T22:47:23 | Jupyter Notebook | UTF-8 | Python | false | false | 1,345 | py | from os import path
import tecplot as tp
from tecplot.constant import PlotType, SurfacesToPlot, Color, AxisTitleMode
examples_dir = tp.session.tecplot_examples_directory()
infile = path.join(examples_dir, 'SimpleData', 'F18.plt')
dataset = tp.data.load_tecplot(infile)
plot = tp.active_frame().plot(PlotType.Ca... | [
"55457608+brandonmarkham@users.noreply.github.com"
] | 55457608+brandonmarkham@users.noreply.github.com |
5a9c07053f256cb8360b535a35fb9b97ed2bcae8 | c652797f5303bb7102967fc6603e5704025afb36 | /gamelayer/uitools/textline.py | 179db7b1680cae5dd59791572dfc2579cff6863c | [
"MIT"
] | permissive | Windspar/Gamelayer | fc1ce499cccb6530a4dcd446f9d86fd44026e564 | 65e1cf11548bc02bc49348eb265c209172c14844 | refs/heads/master | 2022-06-13T08:06:37.828771 | 2020-05-07T17:17:59 | 2020-05-07T17:17:59 | 258,047,982 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,569 | py | import string
from pygame import KMOD_CTRL, Rect, KEYDOWN, MOUSEMOTION, MOUSEBUTTONDOWN
from .label import Label
from .ui_base import UI_Base
from .textline_core import *
class TextLine(UI_Base):
def __init__(self, font, color, callback, rect, allowed_keys=None, *groups):
UI_Base.__init__(self, rect, (0, 0... | [
"kdrakemagi@gmail.com"
] | kdrakemagi@gmail.com |
20aed6156cab0fb01197eb7232f5d902cc34d1ae | 5023f3f6f493a6cf3a6e4acf7ee742fdecc2a558 | /ScopeFoundryHW/newport_esp300/esp300_xyz_stage_hw.py | ea5170c66505e93c87a73e26db3c8a6b14c200da | [
"BSD-3-Clause"
] | permissive | erictang000/stackbot | 1a0de1a30c0b17a67808cbb7f084149f0c744070 | e9a20930d790c995163192b29394a266af54a3d0 | refs/heads/master | 2022-04-10T06:48:25.785204 | 2020-03-18T23:08:57 | 2020-03-18T23:08:57 | 248,362,086 | 1 | 3 | null | null | null | null | UTF-8 | Python | false | false | 3,673 | py | from ScopeFoundry.hardware import HardwareComponent
class ESP300XYZStageHW(HardwareComponent):
name = 'esp300_xyz_stage'
def __init__(self, app, debug=False, name=None, ax_names='xyz'):
"""
ax_names defines the names of the three axes connected to the stage.
if an "_" un... | [
"esbarnard@lbl.gov"
] | esbarnard@lbl.gov |
761694d396861a5c422b785015b5680bb34787ac | 81f6fd135813f3727576bd5d74acaf0469b53615 | /test/test_variables_api.py | 92de66d295e33ba672eaac9f15c6edcb303a029b | [] | no_license | rlisowski/phrase-python | cb65ded1e80d1985aa95a4403c7aa3f012bd33b4 | cbd6bf580a74140928b7536bb9b466d43276cc29 | refs/heads/master | 2023-06-18T09:24:43.916142 | 2021-07-15T14:21:58 | 2021-07-15T14:21:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,350 | py | # coding: utf-8
"""
Phrase API Reference
The version of the OpenAPI document: 2.0.0
Contact: support@phrase.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import phrase_api
from phrase_api.api.variables_api import VariablesApi # noqa: E... | [
"support@phrase.com"
] | support@phrase.com |
673e7667066dc50650cfcf844997ca18b98537de | 4ba18540bfd8c523fe39bbe7d6c8fa29d4ec0947 | /atlas/testing/auth_acceptance/config.py | 8cd7cc13ffa195f811cd91010896c159bec16db3 | [
"BSD-3-Clause",
"MIT",
"CC0-1.0",
"Apache-2.0",
"BSD-2-Clause",
"MPL-2.0"
] | permissive | yottabytt/atlas | c9d8ef45a0921c9f46d3ed94d42342f11488a85e | b040e574fbc64c833039b003f8a90345dd98e0eb | refs/heads/master | 2022-10-14T11:12:12.311137 | 2020-06-13T13:19:35 | 2020-06-13T13:19:35 | 272,008,756 | 0 | 0 | Apache-2.0 | 2020-06-13T12:55:29 | 2020-06-13T12:55:28 | null | UTF-8 | Python | false | false | 1,381 | py |
# separates test runs
from uuid import uuid4
TEST_UUID = uuid4()
def set_foundations_home():
import os
os.environ["FOUNDATIONS_HOME"] = os.getcwd() + "/auth_acceptance/foundations_home"
os.environ["FOUNDATIONS_COMMAND_LINE"] = "True"
def _flattened_config_walk():
import os
import os.path as p... | [
"mislam@squareup.com"
] | mislam@squareup.com |
aa94f2a5beb0b786f90536824232dccead006413 | 53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61 | /.history/EMR/zhzd_3_20190605095859.py | fff25287104a8fd3c22d7bf52709955151761a05 | [] | no_license | cyc19950621/python | 4add54894dc81187211aa8d45e5115903b69a182 | d184b83e73334a37d413306d3694e14a19580cb0 | refs/heads/master | 2020-04-11T20:39:34.641303 | 2019-07-02T12:54:49 | 2019-07-02T12:54:49 | 162,078,640 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,295 | py | import time
import math
import os
import sys
import os, os.path,shutil
import codecs
import EMRdef
import re
import pandas as pd
emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHRzhzd')#txt目录提取
dis = open(r'C:\Users\Administrator\Desktop\ICD-10.txt',errors='ignore')
ds=dis.readlines()
ds_cs = []
for line in ds:
line ... | [
"1044801968@qq.com"
] | 1044801968@qq.com |
36e76dcb3732230740ae113deefc19b4e2a6d793 | fac4c2fa64e6a22d0a80eec7b65c93d7a6236b7f | /original-modules/text-to-text-transfer-transformer-master/t5/data/utils.py | 99bc9b12ed3388a6db2db6e2ca7b57fef107517b | [
"Apache-2.0"
] | permissive | zouning68/nlp-transfer-learning | ec2b9e91f4b3bb9d77bf88dd78282f6ff5aaa4fd | e9b1544b55905ceb2235471f036abc1d7c4160db | refs/heads/master | 2023-04-13T18:25:22.206475 | 2020-01-15T02:36:19 | 2020-01-15T02:36:19 | 228,514,893 | 2 | 0 | Apache-2.0 | 2023-03-24T23:36:35 | 2019-12-17T02:21:15 | Python | UTF-8 | Python | false | false | 38,608 | py | # Copyright 2019 The T5 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 writi... | [
"noreply@github.com"
] | zouning68.noreply@github.com |
f25a62b621331ffbb01cb7d174dcc64601a12e56 | 032a1ad3c94e1126729417a16e2a95743d121244 | /cell_fitting/optimization/evaluation/plot_sine_stimulus/when_doublet_start.py | d9a7d6b7ffa9710e6429e0347cd53e945c59af5e | [] | no_license | cafischer/cell_fitting | 0fd928f5ae59488e12c77648c2e6227c1911d0e9 | 75a81987e1b455f43b5abdc8a9baf6b8f863bee2 | refs/heads/master | 2021-01-23T19:27:30.635173 | 2019-09-14T08:46:57 | 2019-09-14T08:46:57 | 44,301,986 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,321 | py | from __future__ import division
import matplotlib.pyplot as pl
from matplotlib.patches import Rectangle
from matplotlib.colors import Normalize
import numpy as np
import os
from nrn_wrapper import Cell
from cell_fitting.optimization.evaluation.plot_sine_stimulus import simulate_sine_stimulus
from cell_characteristics.a... | [
"coralinefischer@gmail.com"
] | coralinefischer@gmail.com |
df74c510b2fa1f4bec7ac08c8ae445e9eb2ce365 | f259ca399ab33b5c2e66ae07921711ea5917ac9e | /pytorch/sphere20a.py | d4ce73637194c4236b20b4eb2bb1a4d6717c6d89 | [] | no_license | jizhuoran/HyperTea_Maker | 9a7930e1d6af995c8fdb9a15354eea5fc29f0806 | 2c3f8dfcb699495093165cd986eebedfb17a2433 | refs/heads/master | 2020-04-22T19:32:39.385611 | 2019-04-14T15:12:06 | 2019-04-14T15:12:48 | 170,610,900 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,046 | py | import torch.nn as nn
import torch
class sphere20a(nn.Module):
def __init__(self,classnum=10574,feature=False):
super(sphere20a, self).__init__()
self.classnum = classnum
self.feature = feature
#input = B*3*112*96
self.conv1_1 = nn.Conv2d(3,64,3,2,1) #=>B*64*56*48
s... | [
"jizr@connect.hku.hk"
] | jizr@connect.hku.hk |
42978fcaa46628548561391c85f29c13b5e7dd6d | 44600adf1731a449ff2dd5c84ce92c7f8b567fa4 | /colour_down/examples/plotting/examples_volume_plots.py | 769af73894ba737a07e58c6c32c7848950048d7f | [] | no_license | ajun73/Work_Code | b6a3581c5be4ccde93bd4632d8aaaa9ecc782b43 | 017d12361f7f9419d4b45b23ed81f9856278e849 | refs/heads/master | 2020-04-11T23:16:43.994397 | 2019-12-28T07:48:44 | 2019-12-28T07:48:44 | 162,161,852 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,535 | py | # -*- coding: utf-8 -*-
"""
Showcases colour models volume and gamut plotting examples.
"""
import numpy as np
from colour.plotting import (RGB_colourspaces_gamuts_plot, RGB_scatter_plot,
colour_plotting_defaults)
from colour.utilities import message_box
message_box('Colour Models Volume... | [
"ajun73@gmail.com"
] | ajun73@gmail.com |
ead60febeb04e387de8528926f63dddb77c1025d | d27b030ce654d523b266821080acb246d71a85af | /PDB/clrender.py | b5283cb280bcb2552552a4dac8d1945ddc356746 | [] | no_license | amiller/graphicsii | 9b6d638591a8df3267865a1be83cb1591586f662 | da6cc6347d2b1f344056b71358a4b5b8efabdb77 | refs/heads/master | 2016-09-03T06:23:42.297039 | 2011-05-02T02:39:15 | 2011-05-02T02:39:15 | 1,689,837 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,923 | py | import pyglet.gl
from OpenGL.GL import *
from OpenGL.GLU import *
from molecule import Molecule
import pyopencl as cl
import numpy as np
def print_info(obj, info_cls):
for info_name in sorted(dir(info_cls)):
if not info_name.startswith("_") and info_name != "to_string":
info = getattr(info_cls... | [
"amiller@dappervision.com"
] | amiller@dappervision.com |
21e1b0da1f6e231a3370a401206faebd2f2aff3e | c351c54ff292d4ce8628cf033f8f3026829d79f3 | /blog_api/apis/authorization_layer/python/bin/pyrsa-keygen | 126ebac139a75ad6bfe8c1f5d7e0f83016d8882e | [] | no_license | MathiasDarr/Portfolio | 424ba0d3bd3b36bb9be09a31ea0b9bca2d3cc568 | 0eb6377d9aedba75ac30a0a5583f47dc31d31810 | refs/heads/master | 2023-02-06T04:33:44.123544 | 2020-12-31T08:35:45 | 2020-12-31T08:35:45 | 261,949,420 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 232 | #!/home/mddarr/data/anaconda3/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from rsa.cli import keygen
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(keygen())
| [
"mddarr@gmail.com"
] | mddarr@gmail.com | |
d0c9931e691e704b6c556340c506cac64843ae85 | 08966e05b74e20774ed9cdd4501e843fab0a3a86 | /capacitacion/views.py | 9cc93845a726d801555587f8fe78a07b320dc903 | [] | no_license | luisfarfan/capacitacion_v2 | 6a650ea3119ad7da65f26f146c7e5d9d5139e76d | 802ef6b4c1101153a1c77e1bdf41bfe1966f4bff | refs/heads/master | 2020-06-30T20:14:52.686006 | 2016-12-10T00:05:01 | 2016-12-10T00:05:01 | 74,354,910 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,455 | py | from rest_framework.views import APIView
from django.db.models import Count, Value
from django.http import JsonResponse
from django.http import HttpResponse
from django.template import loader
from serializer import *
from rest_framework import generics
from django.views.decorators.csrf import csrf_exempt
from django.db... | [
"lucho.farfan9@gmail.com"
] | lucho.farfan9@gmail.com |
7ecaa4450f543c9a68460f1cc3e01872c9cb707f | 09ee86d0bd77ca79992f073b6c8b1e98b88cb09b | /resource_allocation.py | df8c166cbc456843a049ef8501f85c59300fe21a | [] | no_license | JaneWuNEU/hitdl_server | 624fbb5cfea3641cb624a291ed6de1e274982463 | 9076a813c803bc9c47054fff7bae2824304da282 | refs/heads/master | 2022-12-29T22:14:44.496492 | 2020-10-13T01:58:19 | 2020-10-13T01:58:19 | 303,327,129 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,589 | py | import cvxpy as cp
import numpy as np
c1 = np.array([1,3,5])
e1 = np.array([1.505,1.351,1.27])*c1
c2 = np.array([2,5,7])
e2 = np.array([1.844,1.502,1.843])*c2
c3 = np.array([1,5])
e3 = np.array([1.505,1.148])*c3
C = 12
'''
x1 = cp.Variable(name="inception",shape=(len(c1),1),integer=True,pos=True)
y1 = cp.Variable(sh... | [
"neu_15_wujing@126.com"
] | neu_15_wujing@126.com |
e739ca2725e96d1eb54ca21c74baf7f2e0a954eb | 7ce56dc3a1110b61d0087565f02b4fe576cad58c | /scrapy_test/coolscrapy/coolscrapy/middlewares.py | 2c8cf90cc52912785d05f2df18a5cb027042f66d | [] | no_license | lssxfy123/PythonStudy | 7c251961ce72217e83184853cb0c11dc773e4075 | d5beba373b78c6c0276c413a44819d3084899d01 | refs/heads/master | 2022-11-28T17:25:36.957483 | 2021-11-26T09:55:32 | 2021-11-26T09:55:32 | 55,392,700 | 1 | 1 | null | 2022-11-22T01:39:12 | 2016-04-04T07:28:25 | Jupyter Notebook | UTF-8 | Python | false | false | 3,605 | py | # -*- coding: utf-8 -*-
# Define here the models for your spider middleware
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/spider-middleware.html
from scrapy import signals
class CoolscrapySpiderMiddleware(object):
# Not all methods need to be defined. If a method is not defined,
# scra... | [
"liushenshenxfy@126.com"
] | liushenshenxfy@126.com |
bef5e7923ef0e16ee3bfb5807262adf9b9c54494 | 159f1032e3da50f15718e2ca99f6a3e50642b4b0 | /disquaire_project/disquaire_project/settings.py | b5ca2ae7e481309473f430f6948a4b80df16b46c | [] | no_license | Ellobo1er/disquaire_project | a3b29372dfe95f9938cd84723633f0ef3120ab3e | 0af1d93b2f8aa6302cb6ecb0b2d5b3bd7ddcb2ef | refs/heads/master | 2023-06-28T14:23:54.285800 | 2021-07-29T16:01:23 | 2021-07-29T16:01:23 | 390,767,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,373 | py | """
Django settings for disquaire_project project.
Generated by 'django-admin startproject' using Django 3.1.7.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
fr... | [
"you@example.com"
] | you@example.com |
6618838361e332c0f1e2a1d03010d913848c0609 | 4144df22392350035a9a24fcbc23fd1c6bce5c12 | /Lib/glyphNameFormatter/rangeProcessors/ipa_extensions.py | ccf36e61c84dd3c9b8071eb6a3377ab9c632c3e7 | [
"BSD-3-Clause",
"Adobe-Glyph"
] | permissive | danielgrumer/glyphNameFormatter | 55b6076684bed7ff4cc6e37ce4a0bb0e2ce86a4a | 9a41b3ef02c01cd18afe0232f6e436a2f7379178 | refs/heads/master | 2020-12-11T05:35:47.835908 | 2016-03-19T09:50:33 | 2016-03-19T09:50:33 | 53,578,090 | 0 | 0 | null | 2016-03-10T11:07:31 | 2016-03-10T11:07:30 | null | UTF-8 | Python | false | false | 1,329 | py |
def process(self):
self.edit("LATIN")
self.edit("OPEN", "open")
self.edit("WITH FISHHOOK", "fishhook")
self.edit("SCRIPT", "script")
self.edit("WITH BELT", "belt")
self.edit("WITH MIDDLE TILDE", "middletilde")
self.edit("WITH LONG LEG", "longleg")
self.edit("WITH CROSSED-TAIL", "crossed... | [
"frederik@typemytype.com"
] | frederik@typemytype.com |
e6fae05c449f2092d5fda416fb23b95be3b3aa1f | 73105a000374f7bbe97dac50b91b0c019826a1ba | /account/pipelines.py | 8fb36edc4bd7c7340a1ddea7f7606a19b22a27d7 | [
"MIT"
] | permissive | carpedm20/UNIST-auction | 657e80840e4c6adbfaeebd118acc03d4e04cc2a5 | f2db1d6fdb2c7781b3c142f8a2582888e24ad06d | refs/heads/master | 2021-01-22T04:43:55.844905 | 2014-10-21T14:01:32 | 2014-10-21T14:01:32 | 22,419,149 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 746 | py | from social_auth.backends.facebook import FacebookBackend
from social_auth.backends.twitter import TwitterBackend
from social_auth.backends import google
from social_auth.signals import socialauth_registered
def get_user_avatar(backend, details, response, social_user, uid,\
user, *args, **kwargs):
... | [
"carpedm20@gmail.com"
] | carpedm20@gmail.com |
7bb48802e116289f7974b0bc98bf6ea4da6cdcc9 | c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd | /google/cloud/dialogflow/cx/v3beta1/dialogflow-cx-v3beta1-py/tests/unit/gapic/dialogflowcx_v3beta1/test_session_entity_types.py | e149c587481234541d44591766391b6ac202a885 | [
"Apache-2.0"
] | permissive | dizcology/googleapis-gen | 74a72b655fba2565233e5a289cfaea6dc7b91e1a | 478f36572d7bcf1dc66038d0e76b9b3fa2abae63 | refs/heads/master | 2023-06-04T15:51:18.380826 | 2021-06-16T20:42:38 | 2021-06-16T20:42:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 97,381 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"bazel-bot-development[bot]@users.noreply.github.com"
] | bazel-bot-development[bot]@users.noreply.github.com |
6237d5cd45456cf4aea5e5eaa2cd7525a5a0f984 | 22bf910b64283b3c15cc4d80542e83fa89e9f09d | /monero_glue/messages/DebugLinkShowTextStyle.py | 6ddc6028fdf6a547536fc717cd8d48b7bf7a8654 | [
"MIT"
] | permissive | ph4r05/monero-agent | 24ed1aa17d6616b2ae6bcdb7b9997f982f8b7b5d | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | refs/heads/master | 2022-10-18T06:30:43.550133 | 2021-07-01T16:27:56 | 2021-07-01T16:27:56 | 126,215,119 | 24 | 5 | MIT | 2022-09-23T22:53:44 | 2018-03-21T17:18:21 | Python | UTF-8 | Python | false | false | 315 | py | # Automatically generated by pb2py
# fmt: off
if False:
from typing_extensions import Literal
NORMAL = 0 # type: Literal[0]
BOLD = 1 # type: Literal[1]
MONO = 2 # type: Literal[2]
MONO_BOLD = 3 # type: Literal[3]
BR = 4 # type: Literal[4]
BR_HALF = 5 # type: Literal[5]
SET_COLOR = 6 # type: Literal[6]
| [
"dusan.klinec@gmail.com"
] | dusan.klinec@gmail.com |
759b0b137a7faf1da9dc6ffbab58053fdcbad295 | bb5465b31067d8e2ef20a93c87bfad2c6a8e6569 | /orders/forms.py | c30ac21ad1c2d2d3346d20718321be245f6af33b | [] | no_license | greypanda/Django-Bootcamp-1 | cc7e1b131b55be4ca224702397f0e4aee6e1d2d9 | d66886bd2ab65f07cba08dc26640f52e0da72ac4 | refs/heads/main | 2022-12-27T01:27:26.516712 | 2020-10-14T23:45:57 | 2020-10-14T23:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 701 | py | from django import forms
from .models import Order
class OrderForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
product = kwargs.pop("product") or None
super().__init__(*args, **kwargs)
self.product = product
class Meta:
model = Order
fields = [
'... | [
"hello@teamcfe.com"
] | hello@teamcfe.com |
3a05d1a9e15233697f2611e6105e3a61f8da2282 | b0ede55e98d454f558e5397369f9265893deedb5 | /SWEA/D3/3750_digit_sum.py | 91b7ee6c6d6baa5d0dc8631446283554e277d0fb | [] | no_license | YeonggilGo/python_practice | 5ff65852900c4c6769d541af16f74a27a67920ec | 43082568b5045a8efc1d596074bdca3e66b2fed1 | refs/heads/master | 2023-06-22T02:09:31.906745 | 2023-06-17T01:27:22 | 2023-06-17T01:27:22 | 280,361,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 417 | py | # 매 테스트 케이스마다 print를 하지않고
# 배열에 저장해서 한꺼번에 출력하니까 동작시간이 훨씬 줄어들었다.
# 이유가 뭔지는 아직 모르겠다.
T = int(input())
ans = []
for tc in range(1, T + 1):
N = input()
while len(N) > 1:
N_li = list(map(int, N))
N = str(sum(N_li))
ans.append(N)
for tc in range(0, T):
print(f'#{tc+1} {ans[tc]}')
| [
"dudrlf1859@naver.com"
] | dudrlf1859@naver.com |
25e7860fa269e96b48ce74d7908cadb94fc03315 | 0ddbbc997883aa7c17e50a08de7aa40c3a4955c7 | /project1/package1/plot_test.py | ac3581147ec93402bf0aa6e75ea365f5c588c3e6 | [] | no_license | kwoolter/vscode-online | 39eef2ab9c13c0460d6f8a45a8674906e7594bdd | f13c0a1378a2724a44d95ce4ab06700eb0642cae | refs/heads/master | 2022-07-14T01:44:28.495267 | 2020-05-16T10:21:42 | 2020-05-16T10:21:42 | 264,375,452 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 158 | py | import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show(block=False)
input('press <ENTER> to continue') | [
"keith.woolterton@gmail.com"
] | keith.woolterton@gmail.com |
70cd3506623f02e09d026e8fbf4721df8d98cd99 | 8cb8bfd2dae516612251039e0632173ea1ea4c8a | /modules/user/publisher_user.py | 946ebcc7023cc69b7181138f470652fe3331ebb9 | [] | no_license | nyzsirt/lift-prod | 563cc70700d26a5812a1bce0bd9795998dce6e99 | 9a5f28e49ad5e80e422a5d5efee77a2d0247aa2b | refs/heads/master | 2020-04-22T01:05:42.262876 | 2019-02-09T13:31:15 | 2019-02-09T13:31:15 | 170,003,361 | 1 | 0 | null | 2019-02-10T17:11:50 | 2019-02-10T17:11:50 | null | UTF-8 | Python | false | false | 979 | py | class PublisherUserOnCreate:
"""
Publisher for notifying subscribers on new service admin user creating
"""
def __init__(self):
self.__new_user=None
self.__subscribers=[]
@property
def new_user(self):
"""
Publisher notifies subscribers about this user dict
... | [
"mutlu.erdem@soft-nec.com"
] | mutlu.erdem@soft-nec.com |
1bacbdd7d2adb957a389d64b3941a31252aa6e64 | 609582ee37a01ac6a67fb9c957825dcd3c9a5b3a | /LeetCode_Linked_List/160_Intersection_Of_Two_Linked_List.py | b95d8c954f372d3807f1ca3cb6bbbed0548eadf4 | [] | no_license | captainjack331089/captainjack33.LeetCode | a9ad7b3591675c76814eda22e683745068e0abed | 4c03f28371e003e8e6a7c30b7b0c46beb5e2a8e7 | refs/heads/master | 2022-03-07T19:53:40.454945 | 2019-11-06T19:32:00 | 2019-11-06T19:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,345 | py | """
160. Intersection of Two Linked Lists
Category: Linked List
Difficulty: Easy
"""
"""
Write a program to find the node at which the intersection of two singly linked lists begins.
For example, the following two linked lists:
begin to intersect at node c1.
Example 1:
Input: intersectVal = 8, listA = [4,1,8,4... | [
"qfhjack@gmail.com"
] | qfhjack@gmail.com |
6d960235947bbf4e658d18e273fb3658fd207da8 | 91b3f9f1803161c22ff5bed3e5604a07d67728ac | /patterns/factory/overlay_factory.py | 802822ffdc740832cd8fbf414f2218ceb02f190f | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | AndreTeixeira1998/TekkenBot | dab01fd022f91787f709241a17a903291e7089bd | 015c601afbea5d75a46b3385f1d322b2655249b0 | refs/heads/master | 2023-07-17T16:52:14.182255 | 2021-04-22T17:29:55 | 2021-04-22T17:29:55 | 273,787,610 | 0 | 0 | MIT | 2020-06-20T21:34:27 | 2020-06-20T21:34:26 | null | UTF-8 | Python | false | false | 2,082 | py | #!/usr/bin/env python3
# Copyright (c) 2019, Alchemy Meister
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# ... | [
"jesusesma@gmail.com"
] | jesusesma@gmail.com |
c48a6539ae876c3189fcf79c05265e1fdc2a596b | 4a399d20f9934c4984bab229a015be69e9189067 | /devel/lib/python2.7/dist-packages/roboy_communication_control/msg/_DebugNotification.py | 39749bcc8f1c881c53ae2f12b81695e3eb409819 | [
"BSD-3-Clause"
] | permissive | Roboy/myoarm_small_FPGA | 09af14c7d82c9e8fc923842ae5aad1be6344bf27 | f2f11bee50078d8a03f352e3b3ef9f3d9244d87a | refs/heads/master | 2021-01-21T03:21:49.777564 | 2017-08-30T22:11:44 | 2017-08-30T22:11:44 | 101,892,113 | 0 | 0 | null | 2017-08-30T14:49:18 | 2017-08-30T14:33:46 | null | UTF-8 | Python | false | false | 7,015 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from roboy_communication_control/DebugNotification.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class DebugNotification(genpy.Message):
_md5sum = "e83a19f2165c907848... | [
"simon.trendel@tum.de"
] | simon.trendel@tum.de |
674d799ef87465a5e5b80fdd21d63878fb2e1361 | e7b956cd98f3400249cd5097029f0a1a9e8ba645 | /app/relations/many_to_many/migrations/0002_auto_20180205_0701.py | 727d216af345dda00738984b376c0fcafe2b46fb | [] | no_license | standbyme227/fc-django-document | 8ffc4430099fbee037f1336e319e40292bcf7af4 | 8f01c108f773f3f7edc49e1f6527ed3789754ba9 | refs/heads/master | 2021-05-04T16:08:11.133487 | 2018-02-22T03:05:44 | 2018-02-22T03:05:44 | 120,244,689 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,435 | py | # Generated by Django 2.0.2 on 2018-02-05 07:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('many_to_many', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Post',
... | [
"standbyme227@gmail.com"
] | standbyme227@gmail.com |
c0816befac5b3984dad7c534e48520cc62c3eb87 | 88c1fa6dd5b51a93c4345951c41c4f56a82ba5a3 | /LiveProject-Python/AppBuilder9000/ZPYLP0612/GreatestComedies/models.py | 8eda5a405781578635b00d1f099ff55c4023617a | [] | no_license | Sean-Beyer/PythonDjango-LiveProject | 83335c4d5e22d00c34dac1c71c39f770ad896c4e | 986b567fad49368c52182eb5196534ff8a8ebcfc | refs/heads/master | 2022-12-13T22:43:21.820355 | 2020-09-01T00:34:18 | 2020-09-01T00:34:18 | 291,854,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 637 | py | from django.db import models
# Created models
class Comedies(models.Model):
comedy = models.CharField(max_length=100, blank=True)
actor = models.CharField(max_length=100, blank=True)
director = models.CharField(max_length=100, blank=True)
year = models.CharField(max_length=100, blank=True)
imdb_r... | [
"61070387+Thalious@users.noreply.github.com"
] | 61070387+Thalious@users.noreply.github.com |
239ad35cba71416a20dce988b43a1d29433918c0 | 748b0b8d653e2bf0a33b72ca97ac145c1bdce9b3 | /backend/msm_mobile_261109_d_15730/urls.py | 06b219555ca9a5c714db9636877f1c6fa779b44e | [] | no_license | crowdbotics-apps/msm-mobile-261109-d-15730 | b511e190dbd6fa5535698ce5d1b02bba649e129f | dfbf6260071f3b6a3f4a5e97f4ad9ddd06969b1d | refs/heads/master | 2023-01-19T12:59:19.711357 | 2020-11-26T05:42:47 | 2020-11-26T05:42:47 | 316,133,704 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,975 | py | """msm_mobile_261109_d_15730 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/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='... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
ddfeb229c2eb58e3c70f6c7666511fd98cae0dd1 | 0ced37fd5631850c43319b43aa2ac48a105eeb08 | /package/json_scraper.py | 3c3aabec5aae14fa57f94f0663d4e51004aa6958 | [] | no_license | chomman/earthquake-finder | c0d9b0bd5104b10b0bd7beec5d11f58c0d22e69c | d7f4de33843e7ceed5c2113cdefbb908f11338a2 | refs/heads/master | 2020-12-28T20:41:48.404930 | 2015-03-31T15:14:24 | 2015-03-31T15:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | #!/usr/bin/python
## @json_scraper.py
# This file makes a request to an external webpage, and returns the json
# response content.
import requests
## scrape: scrape the content of provided url.
def scrape(url):
# request (get) given url, store json response content
r = requests.get(url)
data = r.json()
... | [
"jeff1evesque@yahoo.com"
] | jeff1evesque@yahoo.com |
6fa79bddee0f2e98fef1c64301eae7417409cc46 | e474eefcc719c06aad59f8f69b01f903e3e0bbb9 | /src/cmd_tools.py | 404783908ac73bb4ef12e5d306b7b35249476c94 | [] | no_license | YiFeng0755/RepackGUI | 3ef8a46d0d31057993a1c52d2b27c2e59055af6e | 89794d804dd27e6dcff16bafb312579d63a2327c | refs/heads/master | 2020-04-28T04:44:49.062399 | 2018-03-06T04:26:00 | 2018-03-06T04:26:00 | 146,294,713 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,540 | py | #-*-coding:utf8 -*-
'''
Created on 2014-11-3
@author: wangdongchun
'''
import os
import re
import subprocess
import platform
import my_utils
import env
import log_utils
def dexTrans2Smali(dexFile, targetDir, baksmali = env.TOOL_DEF_BAKSMALI_JARFILE):
'''
@brief 把dex文件反编译成smali格式文件组成的内容
@param[in] dexFile d... | [
"YoungLiu@boyaa.com"
] | YoungLiu@boyaa.com |
b844262993e1cf3a0e55258d539ddecd80993328 | 2ad52a65c45051f26fe26631a31f80279522ddb7 | /build/test/catkin_generated/pkg.installspace.context.pc.py | 610ea7253b985ee7cc655143bb6f00b5a64ccb4c | [] | no_license | aryamansriram/Movel_Nav | a64c32528b7ce0a5a19127ba3a9379dca0201356 | 0e5e64232a01771999d34694f3bf6840f0c1e3ee | refs/heads/master | 2023-01-03T20:35:22.041816 | 2020-10-21T13:37:11 | 2020-10-21T13:37:11 | 305,279,271 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "test"
PROJECT_SPACE_DIR = "/home/rosg... | [
"aryaman.sriram@gmail.com"
] | aryaman.sriram@gmail.com |
df4a7dfe2740775f79df27bea8aabba64637d720 | 6b97da799cb9b72d711a5e1d6321e4e11f3cbe51 | /bin/iptest3 | 8f85d0e0d8a8e3a6e242b360c552cbf740df3398 | [] | no_license | dx-entity/env_parabola | 3531120d213ade533052161ec70f3a511f2fc90a | f830d5f05a578b1ed2b16f6898fb226e27de6b52 | refs/heads/master | 2021-01-09T20:22:51.509076 | 2016-07-22T06:55:49 | 2016-07-22T06:55:49 | 63,930,774 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 258 | #!/root/python_pro/env_parabola/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from IPython.testing.iptestcontroller import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"dengxin@iie.ac.cn"
] | dengxin@iie.ac.cn | |
a92d9bc93ed8d9c1567fb32f622b50c221616b5e | b5937928a48340569f673e237e42f32ab62cfd15 | /src/pathCrossing/path.py | 19ce0bdef5e67249b47937b919aa1930eff3039d | [
"CC0-1.0"
] | permissive | rajitbanerjee/leetcode | 79731de57ab4b0edd765b3cbb4aac459973fb22d | 720fcdd88d371e2d6592ceec8370a6760a77bb89 | refs/heads/master | 2021-06-13T11:19:03.905797 | 2021-06-02T14:40:08 | 2021-06-02T14:40:08 | 191,103,205 | 2 | 1 | null | 2020-02-23T23:41:45 | 2019-06-10T05:34:46 | Java | UTF-8 | Python | false | false | 575 | py | class Solution:
def isPathCrossing(self, path: str) -> bool:
x, y = 0, 0
visited = {(x, y)}
for p in path:
if p == 'N':
y += 1
elif p == 'S':
y -= 1
elif p == 'E':
x += 1
else:
x -... | [
"rajit.banerjee@ucdconnect.ie"
] | rajit.banerjee@ucdconnect.ie |
8399f0725684d5f05d0c7cdd73ca17a6c14c7062 | 403217dc6e0ea465b90d26faaa630dc30b04b396 | /tests/test_transformers.py | 47c941b50561247fa4c2c912717b5c08700f0256 | [
"Python-2.0",
"Apache-2.0"
] | permissive | fuzeman/QueryCondenser | f5708fe855c449e195d20d7db9ca5e7b0b657541 | 624d8db0077e540b4214eb44bb1def4bd659c50a | refs/heads/master | 2016-09-11T03:35:02.571079 | 2013-11-25T04:04:47 | 2013-11-25T04:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,422 | py | # Copyright 2013 Dean Gardiner <gardiner91@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
#
# Unless required by applicable law or a... | [
"gardiner91@gmail.com"
] | gardiner91@gmail.com |
1755ace993f4ea02065efd561ec2b726b5d17337 | 838302a39e25067fa7152c1a21574d80dbc25e94 | /routes/urls.py | 482446f2644cfefb444e61bbee0deb991c87a2b7 | [] | no_license | Vadym-Hub/route_search | 53f46b39f588bb9ee53f1f70d09f045f1d466492 | b1c0b5ac754e5e3601ab6815649eda4f50e9ae32 | refs/heads/master | 2021-09-28T01:40:57.271666 | 2020-07-12T23:03:27 | 2020-07-12T23:03:27 | 250,011,206 | 0 | 0 | null | 2021-09-22T18:57:23 | 2020-03-25T15:07:23 | Python | UTF-8 | Python | false | false | 525 | py | from django.urls import path
from .views import HomeView, RouteDetailView, RouteListView, add_route, find_routes, RouteDeleteView
apps_name = 'routes'
urlpatterns = [
path('find/', find_routes, name='find_routes'),
path('add_route/', add_route, name='add_route'),
path('list/', RouteListView.as_view(), na... | [
"webratel@gmail.com"
] | webratel@gmail.com |
c64a3abd2aad3c7bedc07c54f1a3deb7689b11c4 | 685f4474699d769dae88537c69f5517ac13a8431 | /EL385..py | 4170e4cfd9fa9008ec8bd6c37d95d5916a705ace | [] | no_license | Pumafied/Project-Euler | 7466f48e449b7314598c106398c0be0424ae72d5 | 0c3e80a956893ce1881a9694131d52b156b9d3d8 | refs/heads/master | 2016-09-05T22:45:09.733696 | 2013-04-20T04:46:48 | 2013-04-20T04:46:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37 | py | # http://projecteuler.net/problem=385 | [
"pumafied@gmail.com"
] | pumafied@gmail.com |
a72e20d9939dd2d43d0f6b798a108c4a1ceb872e | e99dfc900052272f89d55f2fd284389de2cf6a73 | /apostello/forms.py | e069a875e9ac32cb666be19e6c15e47374ee20b0 | [
"MIT"
] | permissive | armenzg/apostello | a3e6ca3d34917608af79fbab4134ee4de1f5e8ee | 1827547b5a8cf94bf1708bb4029c0b0e834416a9 | refs/heads/master | 2021-01-18T18:16:02.364837 | 2017-03-22T20:34:21 | 2017-03-22T20:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,984 | py | from django import forms
from django.forms import ModelMultipleChoiceField
from apostello.models import Keyword, Recipient, RecipientGroup, UserProfile
from apostello.validators import gsm_validator, less_than_sms_char_limit
class SendAdhocRecipientsForm(forms.Form):
"""Send an sms to ad-hoc groups."""
conte... | [
"montgomery.dean97@gmail.com"
] | montgomery.dean97@gmail.com |
93fa705b2aa486c2ea927afb7382f4d04a4ab1b2 | 4569d707a4942d3451f3bbcfebaa8011cc5a128d | /masterticketsplugin/branches/0.10/setup.py | 959b0c3c08eb24427c6df3a00be9187b87778476 | [] | no_license | woochica/trachacks | 28749b924c897747faa411876a3739edaed4cff4 | 4fcd4aeba81d734654f5d9ec524218b91d54a0e1 | refs/heads/master | 2021-05-30T02:27:50.209657 | 2013-05-24T17:31:23 | 2013-05-24T17:31:23 | 13,418,837 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 772 | py | #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
from setuptools import setup
setup(
name = 'TracMasterTickets',
version = '1.0',
packages = ['mastertickets'],
package_data = { 'mastertickets': ['htdocs/*.js', 'htdocs/*.css' ] },
author = "Noah Kantrowitz",
author_email = "noah@coderanger.n... | [
"coderanger@7322e99d-02ea-0310-aa39-e9a107903beb"
] | coderanger@7322e99d-02ea-0310-aa39-e9a107903beb |
cb90179a0f2c0c6d6d9ecd0add119d15ce349b91 | cdaeb2c9bbb949b817f9139db2d18120c70f1694 | /setup.py | 3464bc1d5f33496f16de775ce95e205c38b6b79e | [
"Apache-2.0"
] | permissive | sreekanthpulagam/rakam-python-client | 665c984ac7a29b57ead6feaeb99a69ba345220e6 | 8bd843208b03726d6ce89ee343b48b889b576e0e | refs/heads/master | 2021-01-24T15:42:36.374366 | 2016-07-19T21:49:26 | 2016-07-19T21:49:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,537 | py | # coding: utf-8
"""
Rakam API Documentation
An analytics platform API that lets you create your own analytics services.
OpenAPI spec version: 0.5
Contact: contact@rakam.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "Li... | [
"emrekabakci@gmail.com"
] | emrekabakci@gmail.com |
83aaae77975388840c2ec6d353f47230ec65d254 | 540c2057cb9180f563b8b097a3b369d3e346cc2c | /federatedml/protobuf/generated/mf_model_meta_pb2.py | f9376f4c31aedbd95d2bfc3b5d1b42d205ba391d | [
"Apache-2.0"
] | permissive | AustinNeverPee/FedRec | e35d282d9d80dc1312278b55112072c7fbf24d0c | 24a246239f8179c0d5facc982229d1568d05ae26 | refs/heads/master | 2022-12-25T08:07:26.470641 | 2020-08-30T12:02:46 | 2020-08-30T12:02:46 | 271,752,017 | 0 | 0 | Apache-2.0 | 2020-06-12T08:47:08 | 2020-06-12T08:47:07 | null | UTF-8 | Python | false | true | 11,192 | py | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mf-model-meta.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as ... | [
"ianben@163.com"
] | ianben@163.com |
cb86190241829fe4dbed3dcca133c4bba33f705d | bad62c2b0dfad33197db55b44efeec0bab405634 | /sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_12_01_preview/operations/_tenant_level_access_review_instance_contacted_reviewers_operations.py | 48d84587e79ccee9f1e63b27a608b56c06fc182f | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | test-repo-billy/azure-sdk-for-python | 20c5a2486456e02456de17515704cb064ff19833 | cece86a8548cb5f575e5419864d631673be0a244 | refs/heads/master | 2022-10-25T02:28:39.022559 | 2022-10-18T06:05:46 | 2022-10-18T06:05:46 | 182,325,031 | 0 | 0 | MIT | 2019-07-25T22:28:52 | 2019-04-19T20:59:15 | Python | UTF-8 | Python | false | false | 7,033 | py | # pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRe... | [
"noreply@github.com"
] | test-repo-billy.noreply@github.com |
24983dba27a4c3513d731d7b06bc5dccdeee9d43 | 7dba60ae27ff247705607839348f017b85f5da16 | /nyumbax/migrations/0002_auto_20210411_0803.py | 2ec99f45ae6bd3b4e3db2f3f8d33a24f6ac451aa | [
"MIT"
] | permissive | BwanaQ/nyumba-kumi | 7edccb6745ede6d9f6faf5bd8c0dcf6e24726991 | c264b0941c77a4d7175a2dc5380723bea1acf380 | refs/heads/master | 2023-04-05T09:32:34.867456 | 2021-04-13T15:54:16 | 2021-04-13T15:54:16 | 356,136,458 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,845 | py | # Generated by Django 3.2 on 2021-04-11 08:03
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('nyumbax', '0001_initial'),... | [
"thunjawax@gmail.com"
] | thunjawax@gmail.com |
1732ea51eb17a5805ad684399acaf1b1dd263503 | e34ba843cf682892462aec8b477d4a708968286d | /examples/reinforce/play_train_eval.py | 3940862cc92ca0638f291c3fc9e4d0b1fd396006 | [] | no_license | mecha2k/mygo | e088e4abff292aa225dd22655ef9032cd89ddabc | db77aeade0ef25b9cd8d0097aff7dd7cc7d78ef6 | refs/heads/master | 2023-01-21T21:37:57.930762 | 2020-11-26T14:02:33 | 2020-11-26T14:02:33 | 303,343,049 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,461 | py | import argparse
import datetime
import multiprocessing
import os
import random
import shutil
import time
import tempfile
from collections import namedtuple
from dotenv import load_dotenv
import h5py
import numpy as np
from dlgo import agent
from dlgo import kerasutil
from dlgo import scoring
from dlgo import reinforc... | [
"mecha2k@naver.com"
] | mecha2k@naver.com |
d0074cf34faa97e409587457b3a55e2e27a680b9 | e4e1223e28a47bee5c47f3b08e05276996bb3694 | /example/context.py | 101cbd0c816dc15c5e05434adbb53d99e805564c | [
"BSD-3-Clause"
] | permissive | ecarreras/subcmd | 891bc108ea713a2e2f78dfde9a2e7f2661f3c847 | ee0475b82da7125909c6a6828eee115d20e6193c | refs/heads/master | 2020-12-25T04:18:09.850340 | 2012-08-28T09:09:52 | 2012-08-28T09:09:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,682 | py | #
## BEGIN LICENSE BLOCK
#
# Copyright (c) <2012>, Raul Perez <repejota@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copy... | [
"repejota@gmail.com"
] | repejota@gmail.com |
e7ed20584cd2a3e9120547bf256c89a97295ec0d | 1a949f20cafe328c5ad145659903e8dc5d974a76 | /subjects/admin.py | 70f7ea47f0a4e6dd08a1ec643b007f0d733a30c9 | [] | no_license | Fabricourt/plotx | 7154be9153ab532796a16a1de3125276913fca97 | b2a526d4a9236217978a48a997b3b425cd40c0a9 | refs/heads/master | 2022-12-11T18:57:36.631087 | 2020-07-07T17:22:50 | 2020-07-07T17:22:50 | 230,000,109 | 0 | 1 | null | 2022-12-08T03:27:54 | 2019-12-24T20:25:39 | JavaScript | UTF-8 | Python | false | false | 458 | py | from django.contrib import admin
from .models import *
class SubjectAdmin(admin.ModelAdmin):
list_display = ('subject_name', 'created_by', 'is_published', )
list_display_links = ('subject_name',)
list_filter = ('subject_name', 'created_by',)
list_editable = ('is_published',)
search_fields = ('subject_nam... | [
"mfalme2030@gmail.com"
] | mfalme2030@gmail.com |
397e0436029206c88d0e89238ad11c9b50d2c719 | 80e83dd69395312db092f7b0277310a29afb95b6 | /untitled1/doc-To-Excel/ResolveDocx_JieYing-AddValue.py | d703a0525d96c3bd701c4fe5765107cd7388ac85 | [] | no_license | yif-zhu/Python-Project | 3a102695a7eab2e149e260ccee955de84685b6cb | d55edb652d66e6694a120eb329cd04abba57ba1e | refs/heads/master | 2023-01-21T00:59:27.743845 | 2020-12-04T08:42:56 | 2020-12-04T08:42:56 | 299,492,449 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,901 | py | # _*_ coding:utf-8 _*_
import os
import os.path
import sys
import re
import xml.etree.ElementTree as XETree
import xml.etree.ElementTree as ET
from docx import Document
from openpyxl import load_workbook
cdfp = None
cwb = None
clws = None
DATANOTFOUND = 0
writeLog = 0
def formatNum(num):
num=str(num)
pattern=... | [
"yif_zhu@163.com"
] | yif_zhu@163.com |
62b8907735fd3b6d06a37ae9b1f26172eb1cbfb7 | 922e77ac07392028c2d0ebdd2d40766638ad5008 | /detectron2/data/detection_utils.py | e6692e138ffced257458edebfa9ffc6569fff969 | [
"Apache-2.0"
] | permissive | lucascooper/detectron2 | 9acc0a59a5c45b9dc204e60463ad34a9b1f4db5f | 75ebc5340fa31f9ee0f41e9d6b761db249237043 | refs/heads/master | 2022-11-08T00:22:10.768847 | 2020-06-26T19:06:29 | 2020-06-26T19:08:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,489 | py | # -*- coding: utf-8 -*-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
"""
Common data processing utilities that are used in a
typical object detection data pipeline.
"""
import logging
import numpy as np
import pycocotools.mask as mask_util
import torch
from fvcore.common.file_io import PathMa... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
632b44110f8d17e5a87f2169f16492724791a409 | 2c4ba5a56b7a3d3e1c286b678eb8068f51c23046 | /week2/3-Simple-Algorithms/solutions/first_n_perfect.py | 388005a98408f01742f75b53102ab5c4f146e5ab | [] | no_license | OgnyanPenkov/Programming0-1 | 3b69757bd803814585d77479fc987a0ee92d0390 | 8078f316ea2b81216c21cf78e7cf1afc17f54846 | refs/heads/master | 2021-01-21T15:12:20.814368 | 2015-10-07T18:16:39 | 2015-10-07T18:16:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 925 | py | # Проблемът на тази задача е, че не знаем горната граница на интервала
# Например, не знае първите 4 перфектни числа в какъв интервал са
# За това подхождаме по следния начин - while True:
# За всяко число +1 гледаме дали е перфектно
# Aко намерим перфектно, намаляваме търснеата бройка с 1
# Когато търсената бройка ста... | [
"radorado@hackbulgaria.com"
] | radorado@hackbulgaria.com |
04b6c88d1353b5bcedc3f41edb10107f55960060 | 1dacbf90eeb384455ab84a8cf63d16e2c9680a90 | /lib/python2.7/site-packages/networkx/drawing/layout.py | d6ade95e25422e759c0531fc265903f50288c684 | [
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | wangyum/Anaconda | ac7229b21815dd92b0bd1c8b7ec4e85c013b8994 | 2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6 | refs/heads/master | 2022-10-21T15:14:23.464126 | 2022-10-05T12:10:31 | 2022-10-05T12:10:31 | 76,526,728 | 11 | 10 | Apache-2.0 | 2022-10-05T12:10:32 | 2016-12-15T05:26:12 | Python | UTF-8 | Python | false | false | 18,158 | py | """
******
Layout
******
Node positioning algorithms for graph drawing.
The default scales and centering for these layouts are
typically squares with side [0, 1] or [0, scale].
The two circular layout routines (circular_layout and
shell_layout) have size [-1, 1] or [-scale, scale].
"""
# Authors: Aric Hagberg <aric.h... | [
"wgyumg@mgail.com"
] | wgyumg@mgail.com |
7393ed5275df359c4798e683f9f52f70ea73ee36 | 5fd4707876cac0a4ca3b14af9a936301c45b5599 | /02_数据结构/fp_15_一个谜题.py | 12cd3f9686732f4027c53318216d150dbc7debc7 | [] | no_license | xuelang201201/FluentPython | 5b0d89bfc6ee1238ad77db9955ec7e8417b418b8 | 7cbedf7c780c2a9e0edac60484f2ad4c385e1dbd | refs/heads/master | 2022-04-26T21:49:16.923214 | 2020-04-27T01:27:50 | 2020-04-27T01:27:50 | 258,290,957 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 671 | py | # 一个关于+=的谜题
t = (1, 2, [30, 40])
t[2] += [50, 60]
# 到底会发生下面4中情况中的哪一种?
# a. t变成 (1, 2, [30, 40, 50, 60])。
# b. 因为 tuple 不支持对它的元素赋值,所以会抛出 TypeError 异常。
# c. 以上两个都不是。
# d. a 和 b 都是对的。
# 在终端中运行:没人料到的结果:t[2] 被改动了,但是也有异常抛出
# t
# TypeError Traceback (most recent call last)
# <ipython-input-2-d87... | [
"xuelang201201@gmail.com"
] | xuelang201201@gmail.com |
bdea5739deb6de4ea45ee5a8b9375074d1bd4a56 | c1e31f49a59beb6089328d09040f6f48d2e12cde | /lib/python2.7/exportfits.py | 8ac16bd8a03a5dfb2e656ce6285ff75d901e1e57 | [
"Python-2.0"
] | permissive | kernsuite-debian/casalite | 3d81761e0d8ae497f97ea242e98d4357618a7591 | b620981f14f4ba5b77f347f649cd2c16d498db04 | refs/heads/master | 2021-06-22T16:22:51.765703 | 2021-02-25T13:28:05 | 2021-02-25T13:28:05 | 80,822,139 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,655 | py | #
# This file was generated using xslt from its XML file
#
# Copyright 2009, Associated Universities Inc., Washington DC
#
import sys
import os
from casac import *
import string
from taskinit import casalog
from taskinit import xmlpath
#from taskmanager import tm
import task_exportfits
def exportfits(imagename='', fit... | [
"gijs@pythonic.nl"
] | gijs@pythonic.nl |
03751bac302d1bfbd2bf027224f83efe634a666c | 9b01f7d430f7ee87217618cfa4567f42635e8923 | /22-06-2017/cloudformation/nginx-demo-1/ansible/.env/lib/python2.7/site-packages/ansible/executor/task_executor.py | 21a29052d1f8809f341b51f3230f658a4224f5cd | [] | no_license | awsusergroupsantiago/demos | ccb045545d2a407a39d865cf19800d2b6d284b8f | e7f0dc8d9a4e8f2547c33a5a294fd76bf3ac9c9c | refs/heads/master | 2022-04-30T23:43:30.646556 | 2020-08-08T01:35:40 | 2020-08-08T01:35:40 | 95,129,959 | 2 | 0 | null | 2022-03-29T21:54:09 | 2017-06-22T15:29:25 | Python | UTF-8 | Python | false | false | 36,398 | py | # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) an... | [
"eduardo.miranda.becerra3@gmail.com"
] | eduardo.miranda.becerra3@gmail.com |
568bc42695dfdf14190d884be35c1c4afa43689f | d1ac66f9a935fd5515a16a1cc8d4dae0104ea0fe | /src/check_structures.py | 3c3fea7183213683e377187b6fdf992c82b42c34 | [
"MIT"
] | permissive | chemspacelab/meltingpoint | 8b1b1f5a7e6f45fee82c2e8d55db2df29c6ae0bc | e3d8eb61fcb5fa5c9c2a1a03852216e4e625a9c9 | refs/heads/master | 2020-08-30T06:08:17.739191 | 2020-04-17T11:18:32 | 2020-04-17T11:18:32 | 218,285,755 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,068 | py |
import qml
from chemhelp import cheminfo
import numpy as np
from rdkit import Chem
import sys
args = sys.argv[1:]
filename = args[0]
molobjs = cheminfo.read_sdffile(filename)
for i, molobj in enumerate(molobjs):
molobj = next(molobjs)
# stat = cheminfo.molobj_optimize(molobj)
# print(stat)
dis... | [
"jimmy@charnley.dk"
] | jimmy@charnley.dk |
dae39314521542665f7fe4ce4c6605824fa4d40c | 728e57a80995d7be98d46295b780d0b433c9e62a | /src/rewriter/rewriter.gyp | 1566c15345faf46401995133dcfc423cc15a2523 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"GPL-1.0-or-later"
] | permissive | SNQ-2001/Mozc-for-iOS | 7936bfd9ff024faacfd2d96af3ec15a2000378a1 | 45b0856ed8a22d5fa6b4471548389cbde4abcf10 | refs/heads/master | 2023-03-17T22:19:15.843107 | 2014-10-04T05:48:29 | 2014-10-04T05:48:42 | 574,371,060 | 0 | 0 | Apache-2.0 | 2022-12-05T06:48:07 | 2022-12-05T06:48:06 | null | UTF-8 | Python | false | false | 4,492 | gyp | # Copyright 2010-2014, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and ... | [
"kishikawakatsumi@mac.com"
] | kishikawakatsumi@mac.com |
86203cbdc8524bc438ae6337aa0c9192f9d21c19 | bfc25f1ad7bfe061b57cfab82aba9d0af1453491 | /data/external/repositories_2to3/152687/plankton-classification-master/code/maxout/train.py | 1a1c2151cd0734ec1b1463ad74ed84d26eb51fef | [
"MIT"
] | permissive | Keesiu/meta-kaggle | 77d134620ebce530d183467202cf45639d9c6ff2 | 87de739aba2399fd31072ee81b391f9b7a63f540 | refs/heads/master | 2020-03-28T00:23:10.584151 | 2018-12-20T19:09:50 | 2018-12-20T19:09:50 | 147,406,338 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 9,293 | py | import os
import numpy as np
from data import load_images
from realtime_augment import RealtimeAugment
from pylearn2.datasets import preprocessing
from pylearn2.training_algorithms import sgd, learning_rule
from pylearn2.termination_criteria import EpochCounter
from pylearn2.datasets.dense_design_matrix import... | [
"keesiu.wong@gmail.com"
] | keesiu.wong@gmail.com |
0cc9f793bbbacb2d71d1f077caac1470878e96ee | badb121a8c72debc539e7b9caf17b5c4cd875897 | /setup.py | d788bb0448c2f1d68b5d93911c2598c8b73aeadc | [
"MIT"
] | permissive | shlpu/DeepNeuro | 8721e1f83b30031a422e6cf112c31879edfa0feb | 6b239942589d1b05e2384019c442508f5d02beb3 | refs/heads/master | 2020-03-16T07:12:25.128910 | 2018-04-10T22:32:29 | 2018-04-10T22:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,506 | py | """DeepNeuro: A deep learning python package for neuroimaging data.
Created by the Quantitative Tumor Imaging Lab at the Martinos Center
(Harvard-MIT Program in Health, Sciences, and Technology / Massachussets General Hospital).
"""
DOCLINES = __doc__.split("\n")
import sys
from setuptools import setup, find_pack... | [
"andrew_beers@alumni.brown.edu"
] | andrew_beers@alumni.brown.edu |
54b5f9999727867f92c0a86ef38bb2f8502bf5aa | 56fc8fe58ec8d576ec857f19a8adc43b49e19125 | /DjangoDrf/DjangoDrf/urls.py | c75f1d5a486221814c1b64622ac12621ad0426fc | [] | no_license | Qpigzhu/Drf | 53ae3dfd7d2715ea49bbfca02ada1a9239cb25a2 | e4faa165a81abe8e641b992b6f86cc46cb01ac16 | refs/heads/master | 2022-12-13T16:30:33.868771 | 2018-12-12T02:34:11 | 2018-12-12T02:34:11 | 161,421,986 | 0 | 0 | null | 2022-12-08T01:20:24 | 2018-12-12T02:32:20 | JavaScript | UTF-8 | Python | false | false | 2,253 | py | """DjangoDrf URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-bas... | [
"331103418@qq.com"
] | 331103418@qq.com |
4fdd0d8c6ae5710146751a450372bd9c6f5b06d7 | 1934761958bbb6082beebe887af36d7579d73fd5 | /sandbox/test_concatenation.py | e25fa9c7ed94080b29d6fbe34cc88e58924e3439 | [
"MIT"
] | permissive | sjoerdapp/tacoma | 92d16e0beb93a3fc0dd0a745bccc35e050fa5dbe | 3c63d51e2b9b021f95a6945716f50b557dd41d52 | refs/heads/master | 2020-04-10T14:01:22.713198 | 2018-12-07T17:10:09 | 2018-12-07T17:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,403 | py | import tacoma as tc
print("===== edge_lists => edge_lists =====")
L = tc.edge_lists()
L.N = 4
L.t = [0.0,1.0,2.0]
L.tmax = 3.0
L.edges = [
[
(0,1)
],
[
(1,2), (0,2)
],
[
(0,1)
],
]
L2 = tc.e... | [
"benjaminfrankmaier@gmail.com"
] | benjaminfrankmaier@gmail.com |
75b3a9895a158f61870ce7f6948ee8c615166ebf | ad1fc1783487a70b3b10e9d3927cd864d15a6056 | /pytablewriter/style/__init__.py | 01aa4c10be5158f44fcc371276ce1231fe78cce7 | [
"MIT"
] | permissive | Diwahars/pytablewriter | ea1d53669d7f0507c35332cb296fc9c0015473d0 | 6275405d75cb091c9e225e278b0d1230736fb9e8 | refs/heads/master | 2020-04-16T09:41:39.070414 | 2019-01-09T13:38:03 | 2019-01-09T13:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 321 | py | # encoding: utf-8
from __future__ import absolute_import
from ._font import FontSize, FontWeight
from ._style import Align, Style, ThousandSeparator
from ._styler import (
HtmlStyler,
LatexStyler,
NullStyler,
TextStyler,
MarkdownStyler,
ReStructuredTextStyler,
)
from dataproperty import Format... | [
"tsuyoshi.hombashi@gmail.com"
] | tsuyoshi.hombashi@gmail.com |
0f9324881116da5ccc6d95e209e3b1eca52c64cb | d0bdf444c71b724ecfd59b5bc6850962c56494cb | /labs/07-resampling_and_the_bootstrap/tests/q0_2.py | cb757a625b8c22fcb31df3b7f2d4ca35b9ab74d6 | [] | no_license | ucsd-ets/dsc10-su20-public | 10e3d0ff452b337f222baee330fe60d1465b0071 | 38787e6cc3e6210b4cc8a46350e5120845971c9f | refs/heads/master | 2022-12-13T23:28:20.512649 | 2020-09-03T19:28:06 | 2020-09-03T19:28:06 | 275,905,339 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 356 | py | test = {
'hidden': False,
'name': '0.2',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
>>> p_50 == 76
True
""",
'hidden': False,
'locked': False
}
],
'scored': True,
'setup': '',
'teardown': '',
... | [
"eldridgejm@gmail.com"
] | eldridgejm@gmail.com |
911268cc7033fdb9e4f5dfa358b0e1e352f93e23 | ae39044997354b7270c6f35957bdd5efdcfbd2ee | /21.类.py/carse.py | c25056e3efde01e2d06ef62660cd80b401ed2c88 | [] | no_license | text007/learngit | a2a7d8c872f17103a388f77370dcd07d6eb477c9 | 6f3429ecab51f738a99b2ec6637cd21603f48ec4 | refs/heads/master | 2020-06-18T13:18:34.563100 | 2019-10-08T13:08:09 | 2019-10-08T13:08:09 | 156,345,863 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,057 | py |
'''一个类'''
# 导入另外一个类
from cars import Car
class Battery(): # 定义一个类
def __init__(self, battery_size = 70): # 定义一个方法,传入一个形参,如果没有传入参数值,则默认值
self.battery_size = battery_size # 初始化
def describe_battery(self): # 定义一个方法
print(str(self.battery_size)) # 打印
def get_range(self): # 定义一个方... | [
"jzheng@qumitech.local"
] | jzheng@qumitech.local |
4ed203fe5bd61e1e611d29326dfa8157d106a3bd | 292726345fae67a78771477e164441a716e0c22b | /setup.py | 90234c02a27b4334d60238f950aa900379015c21 | [] | no_license | anirban89/mypackage | d9bf8c7b0d2cc9dbd4ac4b5493cd650bf390f8a7 | 7b38e6db6c9e60cf2edb2b34ebe649ec3b7f0737 | refs/heads/master | 2021-01-13T02:26:17.878874 | 2014-10-02T00:29:34 | 2014-10-02T00:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 132 | py | from setuptools import setup
setup(
name = 'mypackage',
version = 0.1,
packages = ['mypackage'],
install_requires = ['numpy']
)
| [
"anirbancnha@gmail.com"
] | anirbancnha@gmail.com |
07382111d4dd14b487f8ddc2f8632c66c9034b55 | 60d2c390736f5dce1cd0c9d4249a0ab95bdae802 | /worker/vtmis/vtmis/vtmis.py | 6c886d68c3dbbe2f79a09e4295661bcb96a4eb5f | [
"Apache-2.0"
] | permissive | tsmolka/stoq-plugins-public | d996b0be051ce0bac453af7380e7cbfecc03ff93 | a8d3351fe55fc72891c395d6767188746bf381cf | refs/heads/master | 2020-12-28T22:22:15.077514 | 2016-07-13T17:57:43 | 2016-07-13T17:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,148 | py | # Copyright 2014-2015 PUNCH Cyber Analytics Group
#
# 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... | [
"marcus@randomhack.org"
] | marcus@randomhack.org |
f705ee4bc444b70f5af055fe8b3972fe83329f2c | 8a6c18088c50bc782df58e176663114d91ffc47c | /src/teams/migrations/0048_auto_20180814_1950.py | c59f9f8cb4135dcc034d5f69b80569efbd596119 | [
"BSD-3-Clause"
] | permissive | flummer/bornhack-website | 14cc55f34b85740d32567d6a3934e865f2549381 | c40f225f0993a6edd25dc608de1f6467f7d8e5a1 | refs/heads/master | 2020-04-29T13:23:44.167064 | 2019-05-12T15:30:01 | 2019-05-12T15:30:01 | 176,167,685 | 0 | 0 | BSD-3-Clause | 2019-03-17T22:19:27 | 2019-03-17T22:19:27 | null | UTF-8 | Python | false | false | 359 | py | # Generated by Django 2.1 on 2018-08-14 17:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('teams', '0047_taskcomment'),
]
operations = [
migrations.RenameField(
model_name='taskcomment',
old_name='content',
... | [
"valberg@orn.li"
] | valberg@orn.li |
07151db73c571183b2efe81f155b7ee8f4d0d5aa | 9b8e2992a38f591032997b5ced290fe1acc3ad94 | /untitled1.py | 5168631138eec406cbc548e97cca8ab1abb1401a | [] | no_license | girishdhegde/aps-2020 | c694443c10d0d572c8022dad5a6ce735462aaa51 | fb43d8817ba16ff78f93a8257409d77dbc82ced8 | refs/heads/master | 2021-08-08T04:49:18.876187 | 2021-01-02T04:46:20 | 2021-01-02T04:46:20 | 236,218,152 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,329 | py | import cv2
import numpy as np
def dense():
global cap,currentframe
if denseflag==1:
x=currentframe
x1=x-100
y1=x+100
count=x1
cap.set(1,x1)
ret, frame1 = cap.read()
prvs = cv2.cvtColor(frame1,cv2.COLOR_BGR2GRAY)
while(count<y1):
... | [
"girsihdhegde12499@gmail.com"
] | girsihdhegde12499@gmail.com |
5294c57910e749afa0feb0dc04adc4fd5fdc14aa | a7685d315e6616cc2b6d43587bb19ead4324fb2a | /cci_salesman/wizard/extract_participations.py | 11c7dc952971d632537da32cf14d109bdf728a5d | [] | no_license | philmervdm/modules_cci_odoo8 | 472ea68de409e876722413afdd873d6a7827744e | 603144219a86e805f7603cfafc0fb05a78166eef | refs/heads/master | 2021-01-09T20:02:58.326569 | 2017-05-06T15:45:03 | 2017-05-06T15:45:03 | 60,332,279 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,601 | py | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
#... | [
"philmer@ccilvn.be"
] | philmer@ccilvn.be |
37aad6a8d126f7a2f34d49e6e6fd4bddd5f08cb1 | 7f529df5381361874d51c8cb7d8678e088dbe71d | /aea/protocols/default/__init__.py | 52e51b51e36ef3b50d6e1ccddf33b0782f9c9c80 | [
"Apache-2.0"
] | permissive | cyenyxe/agents-aea | 914546708ce3e2e913ce1bb48bc8928289738c9a | c2aec9127028ae13def3f69fbc80d35400de1565 | refs/heads/master | 2021-01-07T05:36:27.879856 | 2020-02-07T19:28:01 | 2020-02-07T19:28:01 | 241,594,907 | 0 | 0 | Apache-2.0 | 2020-03-05T14:53:54 | 2020-02-19T10:35:49 | null | UTF-8 | Python | false | false | 872 | py | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# 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... | [
"david.minarsch@googlemail.com"
] | david.minarsch@googlemail.com |
125494d60a6fda1d0624163876564440784178ed | f8666599b83d34c861651861cc7db5b3c434fc87 | /plotly/validators/carpet/baxis/tickformatstop/_name.py | 8ff0b7a47aa7b5fed8b166c536845b675ff38361 | [
"MIT"
] | permissive | mode/plotly.py | 8b66806e88c9f1820d478bab726f0bea81884432 | c5a9ac386a40df2816e6c13264dadf14299401e4 | refs/heads/master | 2022-08-26T00:07:35.376636 | 2018-09-26T19:08:54 | 2018-09-26T19:19:31 | 60,372,968 | 1 | 1 | MIT | 2019-11-13T23:03:22 | 2016-06-03T19:34:55 | Python | UTF-8 | Python | false | false | 492 | py | import _plotly_utils.basevalidators
class NameValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(
self,
plotly_name='name',
parent_name='carpet.baxis.tickformatstop',
**kwargs
):
super(NameValidator, self).__init__(
plotly_name=plotly_nam... | [
"noreply@github.com"
] | mode.noreply@github.com |
d15d67d65624be46de1b72401f49d991cdb8c86e | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/model/batch_delete_iterations_v4_request.py | 49a9950000cd6af7e35e6cdf50daf4cd5933de11 | [
"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 | 4,126 | py | # coding: utf-8
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class BatchDeleteIterationsV4Request:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key ... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
740028a049c72a4eb04c08359edfac9f378d6525 | c0340c511cff5b40b4681c4d3238d807624c0323 | /models/corpus_reader/corpusIterator.py | 9ae01c2a3c9b76ef214d4727d895cd74c0b05141 | [] | no_license | m-hahn/grammar-optim | 5fa7ade47d2ad91f517c887ee2c65af24059069d | 07a1a80692a504bcafc8120a21c4dc9066b495ee | refs/heads/master | 2022-08-30T06:54:42.749264 | 2022-08-05T12:09:28 | 2022-08-05T12:09:28 | 156,456,167 | 13 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,334 | py | import os
import random
import sys
header = ["index", "word", "lemma", "posUni", "posFine", "morph", "head", "dep", "_", "_"]
def readUDCorpus(language, partition):
basePaths = ["/u/scr/mhahn/grammar-optim_ADDITIONAL/corpora/"]
files = []
while len(files) == 0:
if len(basePaths) == 0:
... | [
"mhahn29@gmail.com"
] | mhahn29@gmail.com |
27c7fe3ed3a9f243315dd8256f5390ab76485e06 | e81576012330e6a6024d14f3e241f88ca34b73cd | /python_code/vnev/Lib/site-packages/jdcloud_sdk/services/mps/apis/GetNotificationRequest.py | 49630052bdeca358968876ff0e2634d9dd20ad88 | [
"MIT"
] | permissive | Ureimu/weather-robot | eba6a84147755aa83c941a306bac1a7c4e95e23e | 7634195af388538a566ccea9f8a8534c5fb0f4b6 | refs/heads/master | 2021-01-15T07:23:42.274413 | 2020-03-23T02:30:19 | 2020-03-23T02:30:19 | 242,912,896 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,222 | py | # coding=utf8
# Copyright 2018 JDCLOUD.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
#
# Unless required by applicable law or agreed ... | [
"a1090693441@163.com"
] | a1090693441@163.com |
578ab4564ac917e59f31823eb1d6cfb9f28fc608 | 2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae | /python/python_21885.py | 8917a8ab7563dc2340287d482527305078ed27d8 | [] | no_license | AK-1121/code_extraction | cc812b6832b112e3ffcc2bb7eb4237fd85c88c01 | 5297a4a3aab3bb37efa24a89636935da04a1f8b6 | refs/heads/master | 2020-05-23T08:04:11.789141 | 2015-10-22T19:19:40 | 2015-10-22T19:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 136 | py | # Making a call to a Chef server from Windows PE
> perl Configure VC-WIN32 no-asm no-shared
> ms\do_ms
> nmake -f ms\ntdll.mak
| [
"ubuntu@ip-172-31-7-228.us-west-2.compute.internal"
] | ubuntu@ip-172-31-7-228.us-west-2.compute.internal |
4fcebeee0e3e255674d7dfda68f199803b482d48 | c7e9ec5ce6627f6f68bab1b86a27a4516595154d | /maintenance/06migratedeletes.py | c9d6b4ad448306f6ddbcd4e2633be4ec2113805c | [] | no_license | michaelcrubenstein/consentrecords | 7b79e82c9ad4b5efcfbb44a50ff1d4cadf7180e2 | 992fe78c68d1d5c083f9e2cc0e3e9aa24363b93d | refs/heads/master | 2021-01-23T19:28:13.807809 | 2018-07-03T16:10:34 | 2018-07-03T16:10:34 | 41,223,029 | 1 | 1 | null | 2018-07-03T16:10:35 | 2015-08-22T20:21:26 | JavaScript | UTF-8 | Python | false | false | 1,765 | py | # Migrate translation objects to translation types.
import datetime
import django
import tzlocal
import getpass
import sys
from django.db import transaction
from django.contrib.auth import authenticate
from django.db.models import F
from django.db.models import Count
from consentrecords.models import TransactionStat... | [
"michaelcrubenstein@gmail.com"
] | michaelcrubenstein@gmail.com |
0c35e06c4e5be85693d075e16977c37d18936c4b | 14aab11a9bd38acaaf3ed959ce736a3e1f1e3bad | /contrast/4/p4/mininet/delay.py | dc4aa0dd140d190cd83feac0ad77c10c8e299be3 | [] | no_license | chenyuchuting0912/SwitchML | 4eae7d3a3f40c93156ebf039e34df67df430c286 | d24ee879b3feadf308b4fdf52d090d0d21d1ee80 | refs/heads/master | 2020-06-03T17:41:13.993330 | 2020-01-09T02:39:47 | 2020-01-09T02:39:47 | 191,668,879 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,623 | py | #!/usr/bin/python
from mininet.net import Mininet
from mininet.node import Controller, RemoteController, OVSController
from mininet.node import CPULimitedHost, Host, Node
from mininet.node import OVSKernelSwitch, UserSwitch
from mininet.node import IVSSwitch
from mininet.cli import CLI
from mininet.log import setLogLe... | [
"18227357674@163.com"
] | 18227357674@163.com |
045862281c288c88f92463538e884c0427ee8453 | d41d18d3ea6edd2ec478b500386375a8693f1392 | /plotly/validators/choropleth/_reversescale.py | 8af580fb6748504b61ef7f5ef3b1ef25f5da02e4 | [
"MIT"
] | permissive | miladrux/plotly.py | 38921dd6618650d03be9891d6078e771ffccc99a | dbb79e43e2cc6c5762251537d24bad1dab930fff | refs/heads/master | 2020-03-27T01:46:57.497871 | 2018-08-20T22:37:38 | 2018-08-20T22:37:38 | 145,742,203 | 1 | 0 | MIT | 2018-08-22T17:37:07 | 2018-08-22T17:37:07 | null | UTF-8 | Python | false | false | 431 | py | import _plotly_utils.basevalidators
class ReversescaleValidator(_plotly_utils.basevalidators.BooleanValidator):
def __init__(
self, plotly_name='reversescale', parent_name='choropleth', **kwargs
):
super(ReversescaleValidator, self).__init__(
plotly_name=plotly_name,
p... | [
"adam.kulidjian@gmail.com"
] | adam.kulidjian@gmail.com |
1f84f12505ff59602d122001d005785a8f5bce8d | adbedf9626c52748aa048f2b17c18d25262b4d56 | /robot_framework_baseline_comparator/BaselineComparator/html_baseline.py | 34eefcebeb0891f7888d2198c466c78c88472e5c | [] | no_license | sanjitroy1992/robot_framework_custom_libraries | 3ef91ea6d4705215f86c83d276d67ce7c5af673a | e5fde8f428a4d46d5cacb2c5369f9c59529f5c91 | refs/heads/master | 2022-11-06T09:11:02.148601 | 2020-06-29T09:35:46 | 2020-06-29T09:35:46 | 274,330,471 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,893 | py |
from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLBodyComparator
from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLFooterComparator
from Libraries.Common.BaselineComparator.HTMLTBodyComparator import HTMLHeaderComparator
from Libraries.Utilities import ReportBuilder
from ite... | [
"sanjit.roy@finastra.com"
] | sanjit.roy@finastra.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.