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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5eed3714239dbbdbc222747f4f0cbdeabd53f707 | e211000d0d843fd944266892f49a7649c7e8918d | /abc/123/python/code_b.py | b66a43f0808d4068744a33bf695a953d695fb66e | [] | no_license | habroptilus/atcoder-src | 63dfa16c6d4b80d1e36618377d3201888183281f | 4cd54202037996b3f4a4442b1bd19d42d8a46db1 | refs/heads/master | 2020-04-26T07:14:38.322156 | 2019-06-08T14:44:26 | 2019-06-08T14:44:26 | 173,388,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 296 | py | import itertools
C = []
for i in range(5):
C.append(int(input()))
ans = float("inf")
for order in itertools.permutations(C, 5):
total = 0
for c in order:
if total % 10 != 0:
total = (total // 10 + 1) * 10
total += c
ans = min(total, ans)
print(ans)
| [
"x7deed53bc9k8@softbank.ne.jp"
] | x7deed53bc9k8@softbank.ne.jp |
6d106d639fc88e7665a4240be17042cde6af8abc | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_304/ch3_2019_03_01_13_17_51_752920.py | 154ae84238124582094fe76fa1c44246f56ad182 | [] | 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 | 141 | py | import math
def calcula_gaussiana (x, mi, sigma):
g = (1/ (sigma * (2* math.pi)** 0.5))* math.exp (-1/2*((x-mi)/sigma)**2)
return g
| [
"you@example.com"
] | you@example.com |
cf94a2952464ad7e382babd8bd47545a91f23438 | c36679186f669c6e3bd1c106c96d4a17be1f5ab1 | /Separare/174.py | d27d7dab645f90a5c89aff877660051895d8a8ad | [] | no_license | touhiduzzaman-tuhin/python-code-university-life | 60a3d671b200a6f5222c6d176c13c5f20f013509 | 6d2e3d90d430faa5c83fe79e7fb1ebe516994762 | refs/heads/master | 2023-03-22T15:18:10.636203 | 2021-03-06T18:52:04 | 2021-03-06T18:52:04 | 332,467,190 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 47 | py | class B:
pass
b = B()
print(b.__class__) | [
"touhiduzzamantuhin95@gmail.com"
] | touhiduzzamantuhin95@gmail.com |
509969186825a2b741968d27e6db165c2497afb9 | a36ff7af02702002fa30f6931a39a12986bd06cc | /app/demo/profile/apps.py | 4c401ef92c42afe40f6b00763263915b242cecec | [
"MIT"
] | permissive | m4rb3n/django-material-admin | 7878d2b2e332a04fda6c91d699a503a9b73af2ad | 8e113070b3ed47965cbe1bd4164729ea47b6a6f8 | refs/heads/master | 2022-09-16T11:48:05.753395 | 2021-12-25T19:35:35 | 2021-12-25T19:35:35 | 274,634,734 | 0 | 0 | MIT | 2020-06-24T09:57:06 | 2020-06-24T09:57:05 | null | UTF-8 | Python | false | false | 206 | py | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class ProfileConfig(AppConfig):
name = 'demo.profile'
icon_name = 'layers'
verbose_name = _('Profile')
| [
"it2015maistrenko@gmail.com"
] | it2015maistrenko@gmail.com |
30063246e8b89e68b5d40738bf69604bbd590010 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/adjectives/_curable.py | d6810c259819ef4187ea19730aa0f4e58819f290 | [
"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 | 392 | py |
#calss header
class _CURABLE():
def __init__(self,):
self.name = "CURABLE"
self.definitions = [u'A curable disease can be cured: ']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'adjectives'
def run(self, obj1, obj2):
self.jsondata[obj2] = {}
self.... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
47d2fe0fa90c83f6b40b403e38c6a6a4d1ea8a66 | 6ae1ba7d2ad2a97725699e1467171cc2deebb0d4 | /面向对象/05-魔法方法.py | 9108997cb05c769554cdbc04180c60f7ef94f653 | [] | no_license | weizt/python_studying | 6a95edcf781bd91d8b5f2684f1c6046a40a6d432 | 6dace3a6b73032de220c4b3ea4b3c37d47880ff1 | refs/heads/master | 2023-01-18T19:45:48.291898 | 2020-12-02T00:59:01 | 2020-12-02T00:59:01 | 293,965,283 | 2 | 0 | null | 2020-09-13T01:15:50 | 2020-09-09T01:04:03 | Python | UTF-8 | Python | false | false | 2,048 | py | # 魔法方法:也叫魔术方法,是类里的特殊的一些方法
'''
特点:
1.不需要手动调用,会在合适的时机自动调用
2.这些方法,都是使用__开始,使用__结束
3.方法名都是系统规定好的,在合适的时机自己调用
'''
class Person(object):
def __init__(self, name, age):
# 在创建对象时,会自动调用这个方法
print('__init__被调用了')
self.name = name
self.age = age
def __del__(self):
# 当对象被销毁时,自动调用此方... | [
"weizhetao3@163.com"
] | weizhetao3@163.com |
ce63773ac891d840efedbefc897d624a2c8e9401 | e1e485cef9b754fc69d0757783b5f74935d95f83 | /scripts/domovoi | e9b4d41a5b9ae4258696abf825c46c473e1e52e8 | [
"Apache-2.0"
] | permissive | ttung/domovoi | f81550c4254f464c53f0dec65a873737a099c786 | 9d2b841d5f6f95b3e3c23ee1c656fd4730c1d795 | refs/heads/master | 2021-08-28T13:48:10.082426 | 2017-12-12T10:55:00 | 2017-12-12T10:55:00 | 113,978,977 | 0 | 0 | null | 2017-12-12T10:54:33 | 2017-12-12T10:54:32 | null | UTF-8 | Python | false | false | 12,822 | #!/usr/bin/env python
from __future__ import absolute_import, division, print_function, unicode_literals
import os, sys, argparse, inspect, json, hashlib, time, copy
import chalice, chalice.app, chalice.deploy.packager
from chalice import __version__ as chalice_version
from chalice.cli.factory import create_botocore... | [
"kislyuk@gmail.com"
] | kislyuk@gmail.com | |
34a6ba87e667f5ba3e5d2ae0b17dfe476de4193f | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03352/s354399878.py | 46a787af28e80a908dd47ff3ac9482d29002732a | [] | 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 | 226 | py | n = int(input())
ex = [False]*(n+1)
ex[1] = True
for i in range(2, n+1):
v = i*i
if v>n: break
while(v<=n):
ex[v]=True
v*=i
for i in range(1, n+1)[::-1]:
if ex[i]:
print(i)
break | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
04562fdf71a3b1c5f07e792477b11322ff0fef34 | 1adcd7d2c146e6ddf5131112de5da69e7808fcb1 | /cluster_tools/inference/multiscale_inference_vis.py | f52599a93e419a7ccb591ee65915809326ac2569 | [
"MIT"
] | permissive | constantinpape/cluster_tools | cd6fc207a3c4ac4d5b7f1424dcc4ac2b85b83fa3 | 366f2a1a57d5c01a7d51548c74e1d53465a25924 | refs/heads/master | 2023-08-14T10:23:34.993578 | 2023-07-27T20:54:37 | 2023-07-27T20:54:37 | 118,263,492 | 30 | 14 | MIT | 2023-08-16T12:49:23 | 2018-01-20T17:09:39 | Python | UTF-8 | Python | false | false | 2,100 | py | import dask
import toolz as tz
import numpy as np
import nifty.tools as nt
from elf.io import open_file
import cluster_tools.utils.volume_utils as vu
from cluster_tools.inference.multiscale_inference import _show_inputs, _load_inputs
def view_multiscale_inputs(input_path, input_group, input_scales,
... | [
"constantin.pape@iwr.uni-heidelberg.de"
] | constantin.pape@iwr.uni-heidelberg.de |
ce7b2f3e8f454d6c77fe0eeb003846a88fdc1ec8 | aee5da6538c227473b5ec17ccacd2bbfb4795297 | /venv/bin/pip3.6 | 080acb16edbff3dd33c051a76f520329f17f2e03 | [] | no_license | oumarsow94/so | 2eb97f193acf3d08db57177cfe46e53d69181f0a | 2e1070d6861e310e41b232fdf9b828ff23a88d0b | refs/heads/master | 2021-06-22T10:21:56.833830 | 2019-07-23T15:05:09 | 2019-07-23T15:05:09 | 198,453,267 | 0 | 0 | null | 2021-03-20T01:24:03 | 2019-07-23T15:01:15 | Python | UTF-8 | Python | false | false | 239 | 6 | #!/home/sow/Musique/ecole/venv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"Vous@exemple.com"
] | Vous@exemple.com |
efcc2f4eef9e46fcec286eee605e1e8bfab9f08c | 230c42e95aab5297e2f566f5a0d698c07d1c5793 | /venv/bin/mako-render | 886682d68c5bef54c44709868011d2aea1a47d06 | [] | no_license | XiangLei5833/jobplus3-13 | aa83cc072b982d257535477524d2309d2529609a | a0e21b1453b0d1c7cf28f07a741a515ab7aefcf9 | refs/heads/master | 2021-05-12T03:32:23.427715 | 2018-02-12T07:30:39 | 2018-02-12T07:30:39 | 117,617,495 | 0 | 0 | null | 2018-01-16T01:58:25 | 2018-01-16T01:58:25 | null | UTF-8 | Python | false | false | 269 | #!/home/shiyanlou/Flask-Education-Platform/simpledu/venv/bin/python3.5
# -*- coding: utf-8 -*-
import re
import sys
from mako.cmd import cmdline
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(cmdline())
| [
"leixiang5833@163.com"
] | leixiang5833@163.com | |
f4a6509bc339ace408084b4adb86615b66af80ab | e92a3d0fb77120be99de6040cb6cd34eda0a95f4 | /1.7 Алгоритмы/code_7_algo_Python/quick.py | 91d3e980502c8d6d8cba822a674205e0b574203f | [] | no_license | Python18Academy/python_first_level | 495f85631f5afc737aa156ef8ca0ea307340c322 | 9ce490da3108474b135a17086f4d11f2a3bbbe55 | refs/heads/master | 2023-09-04T17:00:36.920987 | 2021-03-31T18:44:37 | 2021-03-31T18:44:37 | 331,934,029 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,208 | py | """
A pure Python implementation of the quick sort algorithm
For doctests run following command:
python3 -m doctest -v quick_sort.py
For manual testing run:
python3 quick_sort.py
"""
from typing import List
def quick_sort(collection: list) -> list:
"""A pure Python implementation of quick sort algorithm
:p... | [
"isakura313@gmail.com"
] | isakura313@gmail.com |
935a2e9c16b9bbc90ddac700a3d33b58d6b9a2c4 | afb572446506500ac2512424c324406b9118a19e | /medium_513. Find Bottom Left Tree Value.py | e1a8a7909433f4534a9541bbd0b92ac107def303 | [] | no_license | sdksfo/leetcode | 11aa578588123a59c111352e89f6b9678f322e16 | fa1ed20d266b9c226f10fdb64528ffae0a595aa4 | refs/heads/master | 2020-04-17T09:14:50.268823 | 2019-05-12T06:13:10 | 2019-05-12T06:13:10 | 166,450,553 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 727 | py |
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def findBottomLeftValue(self, root):
"""
:type root: TreeNode
:rtype: int
"""
q... | [
"sdksfo@gmail.com"
] | sdksfo@gmail.com |
89719df8adc1e62f21a456fab1e8a5b366ddae4d | a989728b92eb141ccef685574a671ed64a01ca9d | /15112/Final Review/recursion_2.py | 8b4b92ea63c04b3cbb16e5853ddfa0b985b2e02f | [] | no_license | jackalsin/Python | 9588f78fb7385a8f51c9842f36242a2d495a9c93 | 0459c8cc963d975a644172a9edaade85e913056c | refs/heads/master | 2021-01-10T10:26:32.708826 | 2017-01-06T04:36:00 | 2017-01-06T04:36:00 | 51,420,101 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 830 | py | # recursion Advanced
#
def powerset(a):
if (len(a) == 0):
return [[]]
else:
otherSet = powerset(a[1:])
result = []
for other in otherSet:
result.append(other + [a[0]])
return otherSet + result
print(sorted(powerset([1,2,3])))
def permutation(l):
if len... | [
"jackal.sin@hotmail.com"
] | jackal.sin@hotmail.com |
ff15d88c9a7b915fc59e0778dbb8674ef7a685e5 | 26f8a8782a03693905a2d1eef69a5b9f37a07cce | /swagger_client/models/destiny_destiny_progression_scope.py | f60cb5b6fdc2e94caff23a3cc004860eb772d2a1 | [] | no_license | roscroft/openapi3-swagger | 60975db806095fe9eba6d9d800b96f2feee99a5b | d1c659c7f301dcfee97ab30ba9db0f2506f4e95d | refs/heads/master | 2021-06-27T13:20:53.767130 | 2017-08-31T17:09:40 | 2017-08-31T17:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,745 | py | # coding: utf-8
"""
Bungie.Net API
These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
OpenAPI spec version: 2.0.0
Contact: support@bungie.com
Generated by: ... | [
"adherrling@gmail.com"
] | adherrling@gmail.com |
39769a7fc7b0a96e6e6c4df7232f859dbd5b672a | 14aa70729e57b5c75d85a2016aa3ee9d08428e66 | /backend/morning_frog_26766/settings.py | 19e7adcc361654903f69115befda54c160967e07 | [] | no_license | crowdbotics-apps/morning-frog-26766 | be4cc26abf8d9311ff3fec755bc6159e9ae738fb | 2ebf35b1ab4584354cccee1866709b11dff179a1 | refs/heads/master | 2023-05-04T02:41:32.423403 | 2021-05-17T01:12:59 | 2021-05-17T01:12:59 | 368,019,802 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,120 | py | """
Django settings for morning_frog_26766 project.
Generated by 'django-admin startproject' using Django 2.2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
i... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
e8bffcbe043aa0ba057b9566abd67462d316ce7f | e1891ca774b6eef5ffb93ef2f734c91d427ffcb4 | /tests/test_atomset.py | bfd78448b7d7b17d7228974f64f39f65bf90d8e1 | [
"BSD-3-Clause"
] | permissive | davidbrochart/atom | d8978f1b21396c3bb51d7f63f82992f0da3b6d4b | a03d5dc845c1c185f3c3f93da95634a22b870a89 | refs/heads/master | 2021-02-13T04:46:55.056174 | 2020-02-20T00:26:21 | 2020-02-20T00:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,394 | py | #------------------------------------------------------------------------------
# Copyright (c) 2019, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-------------------------------------------------... | [
"marul@laposte.net"
] | marul@laposte.net |
ad6c076a1d2a3dba21dd49ed61b13bd6f50b1802 | b4b107c74e825ef9a887ff763a6c19ee37905199 | /scripts/music/UCL_MUSIC_adv_xheadshot_v1.py | cd2676dde29df01a6b29079a82841364438a1d6f | [
"MIT"
] | permissive | leiloong/inferbeddings | 6fa21ea2f1925247e48e5c5b140333a150e43c49 | 80492a7aebcdcac21e758514c8af403d77e8594a | refs/heads/master | 2020-03-15T00:05:02.505112 | 2018-02-01T15:56:23 | 2018-02-01T15:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,158 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import itertools
import os
import os.path
import sys
import argparse
import logging
def cartesian_product(dicts):
return (dict(zip(dicts, x)) for x in itertools.product(*dicts.values()))
def summary(configuration):
kvs = sorted([(k, v) for k, v in configurati... | [
"pasquale.minervini@insight-centre.org"
] | pasquale.minervini@insight-centre.org |
a45f91bccb0e24e7c5e80f199027543f2d4c1bfa | 1e8b9aac62de005ff53246b1381271865585355b | /bin/openaps-vendor | e8197c9f6c152a99c3b9b39ab611f494d8a99d19 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jiapei100/openaps | 8624d39fa19afc29106c8f6f53e3179895de6a6e | d8e5878327ff34a41807ed0d94d782c47c28c1ee | refs/heads/master | 2021-05-19T23:37:25.159710 | 2020-04-01T06:40:08 | 2020-04-01T06:40:08 | 252,085,749 | 0 | 0 | MIT | 2020-04-01T06:00:22 | 2020-04-01T06:00:21 | null | UTF-8 | Python | false | false | 803 | #!/usr/bin/env python
# PYTHON_ARGCOMPLETE_OK
import sys, os, os.path
import argparse, argcomplete
import openaps
from openaps import cli
from openaps.vendors import plugins
class VendorApp (cli.ConfigApp):
"""
openaps-vendor - Manage vendor plugins.
show - lists all known vendors
add - add a new... | [
"bewest@gmail.com"
] | bewest@gmail.com | |
928b2a71f96e98dbf715c0a6f998236854476b8f | 6cc2d3b96819074f703fc0538dbe54c6bf63f29e | /project_scripts/fdr_thresholed_clique_analysis.py | 9298253e4846d97d7015f276d30197c372e8c339 | [] | no_license | lhogstrom/jailbird | 197685ed1760cf782bf68b2b8bd1cc343f317c11 | c768c40a8caee2367190fab436810d926daee59d | refs/heads/master | 2016-09-02T03:52:50.877322 | 2014-07-29T17:45:26 | 2014-07-29T17:45:26 | 9,912,211 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,040 | py | #! /usr/bin/env python
'''
-threshold lass matrix acording to connection q-val
-prep to run Rajiv's sig_cliqueselect_tool in matlab
'''
import os
import numpy as np, pandas as pd, scipy as sp
from matplotlib import pyplot as plt
from cmap.analytics.statsig import ConnectivitySignificance
from cmap.io import gct
impor... | [
"hogstrom@broadinstitute.org"
] | hogstrom@broadinstitute.org |
15701c2119ec9e9d5377fb09635453dd89856197 | 40132307c631dccbf7aa341eb308f69389715c73 | /PY3/vene3/Scripts/futurize-script.py | 0501aa29b4488ace1ba5a19d7faac5a5d254b837 | [] | no_license | Bn-com/myProj_octv | be77613cebc450b1fd6487a6d7bac991e3388d3f | c11f715996a435396c28ffb4c20f11f8e3c1a681 | refs/heads/master | 2023-03-25T08:58:58.609869 | 2021-03-23T11:17:13 | 2021-03-23T11:17:13 | 348,676,742 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 418 | py | #!F:\Development\myProj\PY3\vene3\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize'
__requires__ = 'future==0.18.2'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]... | [
"snakelonely@outlook.com"
] | snakelonely@outlook.com |
738d97840d477209f944440c8a9d12bce1656f3b | 35979ed5415386a78c4b7a73e716e71e9bd86ac1 | /evaluate_synthesis.py | c3d927a235912a270170f3f72878842755b99606 | [
"MIT"
] | permissive | smalgireddy/dusty-gan | 6a082995b467bae5f27a6103fb1e061890e5f30e | 63ea1757660806cd04976b24fc7733ab26b2a3a1 | refs/heads/main | 2023-07-01T18:43:04.665186 | 2021-08-02T07:04:29 | 2021-08-02T07:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,305 | py | import argparse
import datetime
import json
import os
import os.path as osp
import pprint
from collections import defaultdict
import torch
from tqdm import tqdm
import utils
from datasets import define_dataset
from utils import sigmoid_to_tanh, tanh_to_sigmoid
from utils.metrics.cov_mmd_1nna import compute_cov_mmd_1n... | [
"k_nakashima@irvs.ait.kyushu-u.ac.jp"
] | k_nakashima@irvs.ait.kyushu-u.ac.jp |
e0a19bff99557effc49ee1adb2199bad439ff4d3 | 33e006f5ae711d44d796a0e3ca384caefe1ec299 | /AAATESTY/ZESTAW 9/zad6.py | 1efe75f77540cfc20f9abbef9d1a5e0b90ed0645 | [] | no_license | Cozoob/Algorithms_and_data_structures | 959b188f8cef3e6b7b1fd2a6c45a5e169d8f41fe | f786a397964f71e2938d9fd6268d3428e3ed7992 | refs/heads/main | 2023-08-05T02:23:43.565651 | 2021-09-17T10:52:14 | 2021-09-17T10:52:14 | 407,532,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,216 | py | # Created by Marcin "Cozoob" Kozub 13.06.2021
from queue import PriorityQueue
import random
import networkx as nx
def Marcin_two_drivers(G, s, t):
# u i v to krotki/tablice wierzcholkow u oraz v
def relax(u, distance_u, v, distance_v, parent, G, x):
if distance_v > distance_u + G[x][v]:
... | [
"kozubmarcin10@gmail.com"
] | kozubmarcin10@gmail.com |
ecd9f144b72351eb00b132098e5fa7ffb76ee503 | ba602dc67ad7bb50133aeb312f3c6c54627b3dec | /data/3943/AC_py/520583.py | e466b99936533d9d60bf28a805b4cc0ae1f87c2f | [] | no_license | Dearyyyyy/TCG | 0d21d89275906157372d775f33309ce337e6bc95 | 7b80de16de2d3f5d95a7c4ed95d45a9e38882e67 | refs/heads/master | 2020-12-27T23:19:44.845918 | 2020-02-04T01:59:23 | 2020-02-04T01:59:23 | 238,101,032 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 663 | py | # coding=utf-8
import sys
def permutation(last_list, first_list=[]):
if len(last_list) == 2:
print(' '.join([str(number) for number in first_list + last_list]))
print(' '.join([str(number) for number in first_list + list(reversed(last_list))]))
else:
for i in range(len(last_list)):
... | [
"543271544@qq.com"
] | 543271544@qq.com |
d4e3907f1bcd913d045fb81be640acb8dd754a1a | e20ed90b9be7a0bcdc1603929d65b2375a224bf6 | /generated-libraries/python/netapp/disk/nvramid.py | d1e1eb31346500499e6bae283caf33582c28c607 | [
"MIT"
] | permissive | radekg/netapp-ontap-lib-gen | 530ec3248cff5ead37dc2aa47ced300b7585361b | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | refs/heads/master | 2016-09-06T17:41:23.263133 | 2015-01-14T17:40:46 | 2015-01-14T17:40:46 | 29,256,898 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 128 | py | class Nvramid(int):
"""
NVRAM Id
"""
@staticmethod
def get_api_name():
return "nvramid"
| [
"radek@gruchalski.com"
] | radek@gruchalski.com |
55a7b10d3a971d94a71da6e3ea14c11a44315c37 | 6146d080087b21e36347408eea76598f4691ed67 | /code/A/1873.py | e0a1b3efa7f069da4af4d1c290361245c9f3e770 | [] | no_license | banggeut01/algorithm | 682c4c6e90179b8100f0272bf559dbeb1bea5a1d | 503b727134909f46e518c65f9a9aa58479a927e9 | refs/heads/master | 2020-06-27T14:07:51.927565 | 2019-12-19T03:48:30 | 2019-12-19T03:48:30 | 199,800,363 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,065 | py | # 1873.py 상호의 배틀필드
import sys
sys.stdin = open('1873input.txt', 'r')
def battle_game(i, j): #i,j 전차위치
global h, w
for act in actions:
if act == 'U':
mymap[i][j] = '^' #방향바꾸기
if 0 <= i - 1 and mymap[i - 1][j] == '.': # 평지면,
mymap[i][j], mymap[i - 1][j] = mymap[i ... | [
"genie121110@gmail.com"
] | genie121110@gmail.com |
b2a16ebe9c927581d158df0fbdf7a9b6230a142c | 89f4284d0b5b2359c5121626e1575f95fc08a160 | /HeavyIonsAnalysis/JetAnalysis/python/jets/akFlowPuCsSoftDropZ05B153PFJetSequence_pponPbPb_mc_cff.py | 113098b7685761fc838b01db4129e33d68af64b2 | [] | no_license | geun-woo/Comparing-collections-in-AOD-and-in-miniAOD | e11eb48cc8ab15a07f02a08a8a46dfd9d5a4e418 | 7b6e2118b9ce733b2ebb6f26516cbc107e37b285 | refs/heads/main | 2023-01-27T21:18:37.980241 | 2020-12-04T08:24:01 | 2020-12-04T08:24:01 | 318,445,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,267 | py | import FWCore.ParameterSet.Config as cms
from PhysicsTools.PatAlgos.mcMatchLayer0.jetMatch_cfi import patJetGenJetMatch, patJetPartonMatch
from PhysicsTools.PatAlgos.recoLayer0.jetCorrFactors_cfi import patJetCorrFactors
from PhysicsTools.PatAlgos.producersLayer1.jetProducer_cfi import patJets
from HeavyIonsAnalysis.... | [
"9nukim@gmail.com"
] | 9nukim@gmail.com |
45bc289c786b328f5eb7aa247ea6f1a6be18ded6 | eb54d732b5f14f03d9bf2988c6157605c80bbdd5 | /leetcode209.py | d42ce240b4c1722b6e1c346442b37d4b7b13d042 | [] | no_license | tngo0508/practice_coding | 2e60519fed83a9b3c28b52c2d5ec1ee1d2a609ed | 453c9a7b9a8aa80f37b245f9df447525a9b0a2d1 | refs/heads/master | 2022-03-27T01:44:56.589650 | 2020-01-05T18:58:31 | 2020-01-05T18:58:31 | 225,294,423 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 797 | py | class Solution:
def minSubArrayLen(self, nums, s):
l, r = 0, -1
sum = 0
res = len(nums) + 1
while(l < len(nums)):
if (sum < s) and (r + 1 < len(nums)):
# if sum is smaller, keep moving right index to increase window
r += 1
s... | [
"tngo0508@gmail.com"
] | tngo0508@gmail.com |
43a9a1ce649f7b08069e85d799d0229141913fca | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2464487_1/Python/Indistinguishible/a.py | 0088a0428077c3b776189c2f0385f6582784a6a2 | [] | 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 | 471 | py | lines = open('a.in').read().split("\n")
f = open('a.out', 'w')
def sqrt(n, appr):
appr = long(appr)
if appr**2 <= n:
while appr**2 <= n:
appr += 1
return appr-1
while appr**2 > n:
appr -= 1
return appr
n = int(lines[0])
for i in range(1, n+1):
r, t = ([long(x) f... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
7aec4d52f7e6b8ba60b39eb54ba2018df6a060ea | 128548b223a941c1570aba99c679a698dedb3e72 | /old_script/download_.py | 4cfcf1c9aeb5514873c3582ec7314c1e96539dcf | [] | no_license | hhk86/Barra | de3e8d715f6ead1b425e5b639538df370a4eb11f | ddcf50766bcbdecb602213cccc65cab01146f88b | refs/heads/master | 2020-07-26T18:04:44.006126 | 2019-09-26T07:36:48 | 2019-09-26T07:36:48 | 208,727,872 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,507 | py | from pymongo import MongoClient
from make_financial_factor import *
class MongoDB():
'''
Connect to local MongoDB
'''
def __init__(self):
self.host = "18.210.68.192"
self.port = 27017
self.db = "basicdb"
self.username = "user"
self.password = "user"
def __e... | [
"hhk0@outlook.com"
] | hhk0@outlook.com |
c2bf2617db42da07c07d136a83f4f72443239f2b | 3961f9f14a2e3ae9806176290a89a1c679612373 | /docs/report/fa20-523-349/project/RankNet/indycar/nabcsv.py | 862ea5b8ed58bc0289746d10cf93d8bd486946e7 | [
"Apache-2.0"
] | permissive | mikahla1/cybertraining-dsc.github.io | c97026096dd36d3fa129c8068b9c1b35ae1617a3 | 168cadb2f755cb6ad4907e5656bd879d57e01e43 | refs/heads/main | 2023-06-10T18:11:53.925182 | 2021-06-30T18:41:43 | 2021-06-30T18:41:43 | 382,053,310 | 0 | 0 | Apache-2.0 | 2021-07-01T14:05:43 | 2021-07-01T14:05:42 | null | UTF-8 | Python | false | false | 5,866 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
CSV File for NAB
Usage:
nabcsv.py [--cmd cmdtype] --threshold threshold --input inputfile --output outputfile
cmdtype ; score by default, to convert nab result file
; flag, to convert flaginfo.csv
; prune, to remove datapoints not in gree... | [
"laszewski@gmail.com"
] | laszewski@gmail.com |
af408e001a5c249eacaf860921f037af8f2dc992 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_279/ch15_2020_03_10_00_17_56_997855.py | f3dee34fdbe222efb5c546ee3b1a223acc4e099c | [] | 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 | 125 | py | NOME = str(input("Diga seu nome: "))
if NOME == "Chris":
print("Todo mundo odeia o Chris")
else:
print("Olá, NOME") | [
"you@example.com"
] | you@example.com |
192cfa07df18ded043129948f0174c4198c15a4e | c077ee590d003ebada9e292bed0de8cc27fc1c7b | /python/Leetcode/Apr.30day_challenge/0415.py | 5f2f7cc854db785b497c04935a620891e318f222 | [] | no_license | pwchen21/pros | bb744bc451a0ede2a31a6a5c74f7cda7f5abf206 | 9b48e2ec40a3eea12c79b89a00b2be60d65cc8d1 | refs/heads/master | 2023-07-07T11:50:52.599589 | 2023-06-24T19:46:02 | 2023-06-24T19:46:02 | 140,359,861 | 0 | 0 | null | 2020-10-19T17:53:52 | 2018-07-10T01:17:30 | Python | UTF-8 | Python | false | false | 408 | py | class Solution:
def productExceptSelf(self, nums):
ans=[]
left = 1
right = 1
for x in range(len(nums)):
ans.append(left)
left *= nums[x]
for y in range(len(nums)-1, -1, -1):
ans[y] *= right
right *= nums[y]
... | [
"pwchen21@gmail.com"
] | pwchen21@gmail.com |
25fe6c04dc80f7c686731e0d26b484d5f3e47e1e | adbd5d0ea2989623cc930d648e511de2f3a5bf23 | /domainmanager/migrations/0151_auto_20161016_1752.py | d8268f3024f284b95852ff3d94203851fee0107c | [] | no_license | Yshekinah/bpbn | 2f7acf32675ec9343c90c36a344d1f047440ba9b | 173f39270a1607033eb6b8bfd83d98f39337f7d4 | refs/heads/master | 2021-01-16T23:58:21.169023 | 2018-06-28T16:23:43 | 2018-06-28T16:23:43 | 58,466,586 | 1 | 1 | null | 2020-07-22T19:53:50 | 2016-05-10T14:06:50 | JavaScript | UTF-8 | Python | false | false | 756 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-10-16 15:52
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('domainmanager', '0150_auto_20161014_1709'),
]
oper... | [
"david.hampel@gmail.com"
] | david.hampel@gmail.com |
d744d38f7891be92d61b9e208f2b6e847bcc56ff | 1a8c1b181de60621dae4e94c7179ff7c186dba9f | /liquepy/sra/sra.py | a9aff8bfd9226e46cd7bfd23285d0fff771fe1cd | [
"MIT"
] | permissive | championartu/liquepy | 798df0b029293cd766ad3d1531c49b04a7e10735 | dccefe0217634fa88957c9b4d2b517fb8b58accf | refs/heads/master | 2022-04-15T07:03:40.911503 | 2020-03-22T02:05:07 | 2020-03-22T02:05:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,459 | py | import numpy as np
import sfsimodels as sm
PA_TO_KPA = 0.001
def compute_pysra_tf(pysra_profile, pysra_freqs=None):
return calc_pysra_tf(pysra_profile, pysra_freqs)
def calc_pysra_tf(pysra_profile, pysra_freqs=None):
import pysra
if pysra_freqs is None:
pysra_freqs = np.logspace(-0.7, 1.5, num... | [
"maxim.millen@gmail.com"
] | maxim.millen@gmail.com |
b8c53027e5fb29dc1c85bd76f0aec7aed11312cd | 38b68b2202726bcdea32271448fea22554db6121 | /BOJ/Bronze/10250.py | dcac7363f55d5a1fe49512fe6f55d8dbe5908302 | [] | no_license | Soohee410/Algorithm-in-Python | 42c4f02342dc922e44ee07e3a0e1d6c0a559e0bb | fbc859c092d86174387fe3dc11f16b616e6fdfab | refs/heads/master | 2023-05-06T13:07:19.179143 | 2021-05-14T14:32:44 | 2021-05-14T14:32:44 | 336,232,129 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 204 | py | import sys
import math
T = int(sys.stdin.readline())
for i in range(T):
H,W,N = map(int, sys.stdin.readline().split())
y = math.ceil(N/H)
x = H if N%H==0 else N%H
print('%d%02d' %(x,y))
| [
"ggohee0410@gmail.com"
] | ggohee0410@gmail.com |
b81e758a22313e3cdf647aa8ae0cf3d46e6358fe | fb2e724f2c62e8e6317f261e0ddc42dc2d67a100 | /w3af/plugins/tests/grep/test_csp.py | 9d76271eee2fdad6cd3b96e3e0ce0e3e67453952 | [] | no_license | qatarattack/w3af | 12a864feb85514ad0caebf883106f982a563c5e0 | cb0fa6e1c0ef656d6abc201d8d077745391f8572 | refs/heads/master | 2021-01-20T17:43:38.481921 | 2015-05-02T23:57:22 | 2015-05-02T23:57:22 | 34,966,553 | 1 | 0 | null | 2015-05-02T23:15:38 | 2015-05-02T23:15:37 | null | UTF-8 | Python | false | false | 2,529 | py | """
test_csp.py
Copyright 2013 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
w3af is distributed in the hope tha... | [
"andres.riancho@gmail.com"
] | andres.riancho@gmail.com |
081f52c2e821a7eae83d45fe833f615f07808249 | ad5fe6b2dfba0b04cd8fd638049175fcefe90fcf | /Protheus_WebApp/Modules/SIGABI/BIXLinkTestCase.py | 3b84cda948c5de49521ccf87b7b0bf3c64ef1570 | [
"MIT"
] | permissive | totvs/tir-script-samples | 63833785de206e3e566baeab6f02e07a4313d6be | ccd0eb8038f4f1c91fe17e0813b15ce6dfa52cc9 | refs/heads/master | 2023-08-16T21:52:10.357667 | 2023-08-11T16:58:29 | 2023-08-11T16:58:29 | 148,842,685 | 24 | 22 | MIT | 2023-06-27T20:13:32 | 2018-09-14T21:17:10 | Python | UTF-8 | Python | false | false | 7,971 | py | # -*- coding: utf-8 -*-
import unittest
from tir import Webapp
class BIXLINK(unittest.TestCase):
@classmethod
def setUpClass(inst):
inst.oHelper = Webapp()
inst.oHelper.Setup('SIGACFG','11/12/2018','T1','D MG 01 ')
inst.oHelper.SetLateralMenu('Ambiente > Extrator Bi')
def test_BIXLINK_CT001(self):
self... | [
"hadrignoli@gmail.com"
] | hadrignoli@gmail.com |
ad62d794ef8f4e1d2220b1564038d6b6ed4ca146 | f3a79fc83061703a90d9f6f78ffa9f3782a58220 | /odbc_into_pandas.py | 0af0f2302cd50d145d38c4571f7fee4bae41a1a0 | [] | no_license | alxfed/work-with | 2e66c459b6a566554c84bc0c2645eec85645eff8 | 456bdb240b021df862f489f871fba9be73bfa844 | refs/heads/master | 2020-09-08T20:59:28.940414 | 2020-01-20T00:08:20 | 2020-01-20T00:08:20 | 221,238,586 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 526 | py | # -*- coding: utf-8 -*-
"""...
"""
import pandas as pd
import numpy as np
import string
import odbc
import sqlalchemy as sqlalc
def main():
name_of_dsn = 'home'
connection = odbc.dbase.connection_with(name_of_dsn)
SQL = 'select * from companies'
data = pd.read_sql_query(SQL, connection)
id = data... | [
"alxfed@gmail.com"
] | alxfed@gmail.com |
7689b456604bd85cbacc8915a73ba08fb4fb7800 | dd098f8a93f787e38676283679bb39a290ba28b4 | /samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post.py | 6c1f8b8c8d76688247eb13cac3657003c4e9e2b7 | [
"Apache-2.0"
] | permissive | InfoSec812/openapi-generator | 727c0235d3bad9b85ac12068808f844287af6003 | e0c72702c3d5dae2a627a2926f0cddeedca61e32 | refs/heads/master | 2022-10-22T00:31:33.318867 | 2022-08-20T14:10:31 | 2022-08-20T14:10:31 | 152,479,633 | 1 | 0 | Apache-2.0 | 2023-09-04T23:34:09 | 2018-10-10T19:38:43 | Java | UTF-8 | Python | false | false | 4,584 | py | # coding: utf-8
"""
Generated by: https://openapi-generator.tech
"""
from dataclasses import dataclass
import re # noqa: F401
import sys # noqa: F401
import typing
import urllib3
import functools # noqa: F401
from urllib3._collections import HTTPHeaderDict
from unit_test_api import api_client, exceptions
im... | [
"noreply@github.com"
] | InfoSec812.noreply@github.com |
21e711ca1080d37bdad655d2efe3ed09c915d506 | d94b6845aeeb412aac6850b70e22628bc84d1d6d | /bam/data/feature_spec.py | d9eb7df32659c7d2d8c95a72926f5e6c3592d421 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | ishine/google-research | 541aea114a68ced68736340e037fc0f8257d1ea2 | c1ae273841592fce4c993bf35cdd0a6424e73da4 | refs/heads/master | 2023-06-08T23:02:25.502203 | 2023-05-31T01:00:56 | 2023-05-31T01:06:45 | 242,478,569 | 0 | 0 | Apache-2.0 | 2020-06-23T01:55:11 | 2020-02-23T07:59:42 | Jupyter Notebook | UTF-8 | Python | false | false | 1,757 | py | # coding=utf-8
# Copyright 2023 The Google Research 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
7a0b1133e50156b4c9cc35b73aefb8c6798a31ce | 95253e19abd7725d92aa7214a8bffff39e433092 | /honeybot/gui_manager.py | 958cbfc3875dc0e87ee6d8222240a9b1a0a2692d | [
"MIT"
] | permissive | Felipe-Hub/honeybot | b00369631a70c83649f2dfa3c8478fd2b00fc27f | f3e5019918f549e1a63402a8380b54e2811023e9 | refs/heads/master | 2020-07-08T09:44:22.125946 | 2019-08-21T07:36:24 | 2019-08-21T07:36:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,125 | py | from tkinter import *
import tkinter as tk
import os
import inspect
import configparser
window = tk.Tk()
window.geometry("650x670")
window.title("Manager")
current_path = os.path.split(os.path.abspath(__file__))[0]
pluginPath = os.path.join(os.sep, current_path, 'plugins')
configPath = os.path.join(os.sep, current_p... | [
"arj.python@gmail.com"
] | arj.python@gmail.com |
4337510fc63ccc0659cc79f6d58b01b4841ceec0 | c4f01eec090833762b884c2078161df087d09b0d | /Other documents/Term papers/Курсач (5 сем)/CourseWorkPolygon/venv/Lib/site-packages/pdhttp/api/version_api.py | a5db1ac3873996fc257816266879a96cbcd91831 | [] | no_license | areyykarthik/Zhukouski_Pavel_BSU_Projects | 47a30144c5614b10af521a78fba538a0e9184efa | 3540979e680732d38e25a6b39f09338985de6743 | refs/heads/master | 2023-08-07T02:49:34.736155 | 2021-10-05T21:57:03 | 2021-10-05T21:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,563 | py | # coding: utf-8
"""
Robot API
Robot REST API # noqa: E501
OpenAPI spec version: 1.8.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from pdhttp.api... | [
"shist.pupust@mail.ru"
] | shist.pupust@mail.ru |
852b670d1b442bd3dcd122e9eb8a7cea1dca371e | 7c12b6487874b3db564e5c900be55fd9e050f765 | /hilder_friends/backup/fanggugu/yanzhengma.py | 2ece0a650e526f0b48339cb374582efdffa3ddd9 | [] | no_license | pjkui/githubproject | 9f1ea63bb12903d8a72e0ecb4aa6c8c02a7a45f8 | 808cb78fc3887f35bf838d77d62308fce9e6aa5d | refs/heads/master | 2022-10-06T00:11:34.493886 | 2019-10-07T13:09:18 | 2019-10-07T13:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,359 | py | import requests
import re
import time
def get_token():
url = 'http://api.ema666.com/Api/userLogin?uName=muliangshu&pWord=mls8715157&Developer=mMMmg1O%2bH%2bBd0FIZ%2blAc6A%3d%3d'
response = requests.get(url=url)
token = response.text
return token
def get_phone(token):
while True:
get_phon... | [
"1735429225@qq.com"
] | 1735429225@qq.com |
47fbbad05e6f569e4c430de20bb9cb1d6582b44b | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/testing/legion/examples/http_example/http_server.py | e575dd1df742a47551a73afde9852bd2a95afa9f | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,104 | py | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import argparse
import SimpleHTTPServer
import SocketServer
import sys
import threading
import time
class Handler(SimpleHTTPServer.SimpleHTTPRe... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
d0e5cdf457b80228696615a9027837e1c327bfb3 | 652e6171022bb844102e191e9459e73ff2d7901b | /nuitka/codegen/templates/CodeTemplatesLoader.py | d23b3d75d02f9b196192eda19d8766806f949ae4 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | pombredanne/Nuitka | e07ee1ba2c027c25e4feebc9751bbb0c1cb338b1 | 02e8d59a275cd7fe482cbc8100e753ff5abe39d7 | refs/heads/develop | 2022-03-16T23:55:49.295972 | 2022-02-20T14:28:23 | 2022-02-20T14:28:23 | 69,127,861 | 0 | 0 | null | 2016-09-24T21:10:20 | 2016-09-24T21:10:20 | null | UTF-8 | Python | false | false | 3,532 | py | # Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com
#
# Part of "Nuitka", an optimizing Python compiler that is compatible and
# integrates with CPython, but also works on its own.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... | [
"kay.hayen@gmail.com"
] | kay.hayen@gmail.com |
fdf35723e814d6cfb6da9f63eaa94acbd77633d8 | 629606ef6e0ce252f74729ac60f57ca8805c3c78 | /hw_002_LargeData/hw_001_matplotlib/venv/lib/python3.7/site-packages/matplotlib/tests/test_text.py | 47b11c675be016b5cb042a3c3de67591eb4541a3 | [] | no_license | LeeXyan/lxgzhw006 | cc31024874725f60b766c9d5d24c2dafc66b8de3 | 621a73544262df7e104806579242deeaa8dbe2c2 | refs/heads/master | 2021-10-10T17:41:52.381843 | 2019-01-15T00:25:08 | 2019-01-15T00:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,442 | py | import io
import warnings
import numpy as np
from numpy.testing import assert_almost_equal
import pytest
import matplotlib
import matplotlib.pyplot as plt
from matplotlib.testing.decorators import image_comparison
needs_usetex = pytest.mark.skipif(
not matplotlib.checkdep_usetex(True),
reason="This test nee... | [
"1156956636@qq.com"
] | 1156956636@qq.com |
5f245ef94b59288b459a57817f8f6465555cd055 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/08/42/12.py | 315f467452b57f1b314e43c588a52ac4ba2fa4a0 | [] | 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 | 1,697 | py | from __future__ import generators
import unittest
import psyco
psyco.full()
IMP = (0,0,0,0,0,0)
def handle_case(N,M,A):
for xb in range(1, N+1):
for yc in range(1, M+1):
for xc in range(1, N+1):
t = A+xb*yc
if t%xc == 0 and t/xc<=M:
yb = t/xc
return (0,0... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
3ff5d0f684bf862cb7943d8c40829a3943535105 | 9f5557fd6a1d809e7026e23d58f3da57a0c0cbcc | /chapter01/test3.py | 0e1fd531d62f58021620f64654d620fe40440eec | [] | no_license | biao111/learn_python2 | e5150b7bb7cdd0166330ff159d83a809ca9d81d7 | 60f8fc1f7da8ae22dae2314b55dbe669b404d95a | refs/heads/master | 2023-01-07T16:56:42.123504 | 2020-11-08T05:53:10 | 2020-11-08T05:53:10 | 310,993,379 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 119 | py | from pay.alipay.tools import *
def funct():
pay()
get_status()
if __name__ == '__main__':
funct() | [
"18211149974@163.com"
] | 18211149974@163.com |
bc089ad8ee30893bda86dbb380db8d62d690ec8a | 71b11008ab0455dd9fd2c47107f8a27e08febb27 | /05、接口测试阶段/Day05/1-课堂资料/codeKT0723/test03_insert.py | 8177ff33331b39dad691d169a6c374b9939c382b | [] | no_license | zmh19941223/heimatest2021 | 49ce328f8ce763df0dd67ed1d26eb553fd9e7da4 | 3d2e9e3551a199bda9945df2b957a9bc70d78f64 | refs/heads/main | 2023-08-25T17:03:31.519976 | 2021-10-18T05:07:03 | 2021-10-18T05:07:03 | 418,348,201 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,031 | py | """
1).连接到数据库(host:localhost user:root password:root database:books)
2).查询图书表的数据(包括:图书id、图书名称、阅读量、评论量)
3).获取查询结果的总记录数
4).获取查询结果的第一条数据
5).获取全部的查询结果
"""
# 导包
import pymysql
# 创建连接
# 1).连接到数据库(host:localhost user:root password:root database:books)
conn = pymysql.connect(host="localhost",
port=3306... | [
"1780858508@qq.com"
] | 1780858508@qq.com |
a0559f6623a2e3321d7694cae25eb056351006f1 | b0de8a3a9ddd569455b5dc55f282ace34c959ff9 | /NER/ner_rule.py | 925e305a5f21ed57fc301b1fc97f34d7f51f69d6 | [] | no_license | InsaneLife/MyPicture | 82369e1a8f0a1bde432e22fca0d2b24a7d8ac444 | 7d8d394a693230257aa585ba05e9d1524c618e18 | refs/heads/master | 2022-06-16T02:48:42.023726 | 2022-05-27T06:27:30 | 2022-05-27T06:27:30 | 89,673,315 | 156 | 153 | null | null | null | null | UTF-8 | Python | false | false | 4,443 | py | #!/usr/bin/env python
#encoding=utf-8
'''
@Time : 2021/08/03 23:53:52
@Author : Zhiyang.zzy
@Contact : zhiyangchou@gmail.com
@Desc :
'''
# here put the import lib
from collections import defaultdict
def forward_segment(query:str, dic:set):
"""
使用前向匹配识别分词,从前往后匹配字典中的词典,依次选着最长的词语
query: str
... | [
"993001803@qq.com"
] | 993001803@qq.com |
9afca3184c5a5b85ea707a4f2788b9357613103c | 8ff12c53e31f134b9f39f59b9a6f7d4f9142cea7 | /src1/super.py | 335587f2ae733b667ef518c3ae3b8ee998f6574e | [] | no_license | quhuohuo/python | 5b0a80dbec7d22a0b274e4a32d269e85d254718c | 5732c5974519da8e8919dab42b36ab0ab2c99b37 | refs/heads/master | 2021-06-13T11:41:12.356329 | 2017-04-07T08:58:05 | 2017-04-07T08:58:05 | 75,054,981 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 521 | py | #!/usr/bin/python
class Person(object):
def __init__(self):
self.height = 160
def about(self,name):
print("{} is about {}".format(name,self.height))
class Girl(Person):
def __init__(self):
super(Girl,self).__init__()
self.breast = 90
def about(self,name):
print... | [
"813559081@qq.com"
] | 813559081@qq.com |
d3930377f137efd914d9edcc571980b23b13927f | 32dda10669e459cf37c31f426fa709001d2c75b0 | /atcoder/contest/solved/abc035_a.py | 3d0ec635a3d946a125763ad06ec91638f080fcc5 | [] | no_license | fastso/learning-python | 3300f50d06871245d0bfcbe9d201224580f70852 | d21dbd1b9f31017cdb1ed9b9ffd1e53ffe326572 | refs/heads/master | 2023-02-10T14:43:53.726247 | 2023-01-26T10:14:59 | 2023-01-26T10:14:59 | 193,454,718 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 106 | py | w, h = map(int, input().split())
if w % 16 == 0 and h % 9 == 0:
print("16:9")
else:
print("4:3")
| [
"fastso.biko@gmail.com"
] | fastso.biko@gmail.com |
befedf2ef010e72605407101fd3950f5da858bef | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/lldp/rtlldpifpol.py | 026d35d3bd89e30b2befb3e467d2d136b320e557 | [] | no_license | bkhoward/aciDOM | 91b0406f00da7aac413a81c8db2129b4bfc5497b | f2674456ecb19cf7299ef0c5a0887560b8b315d0 | refs/heads/master | 2023-03-27T23:37:02.836904 | 2021-03-26T22:07:54 | 2021-03-26T22:07:54 | 351,855,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,218 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"bkhoward@live.com"
] | bkhoward@live.com |
464cde87afb176c2f1ed524204791667bd8f3825 | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /ieg/dataset_utils/autoaugment.py | 5f815fd56d89fd05c17cbca8f8113e74fa257a2f | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | Python | false | false | 29,631 | py | # coding=utf-8
# coding=utf-8
# Copyright 2018 The TensorFlow Authors All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
08892e31a006716135dd5674ec01fa01d64e1974 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03549/s438637323.py | 772606e44c4daf5d324e5148281ec950078f9603 | [] | 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 | 74 | py | n, m = map(int, input().split())
print((1900*m + 100*(n-m)) * pow(2, m))
| [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
a58ddd2e24ec1f09403cc1cb0ce4a29df82c716a | bcc6819c26bdbf900e2c76cded20047e11bd8c7c | /testj.py | 308ba1e0d81dd45ce423f36c5d6a8dfff929d3e8 | [] | no_license | babiswas/Python-Notes | 44546721e6f16f630bf4e7d4d821a205ff621d79 | f51e407d074f090cf09d25935c032942658203a2 | refs/heads/master | 2020-04-16T14:33:48.436262 | 2019-12-04T04:31:09 | 2019-12-04T04:31:09 | 165,671,748 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 216 | py | import os.path,subprocess
from subprocess import STDOUT,PIPE
import time
def compile_java(java_file):
subprocess.check_call(['javac', java_file])
compile_java('Hello.java')
os.system('java Hello') | [
"noreply@github.com"
] | babiswas.noreply@github.com |
8d9a4d29e24d7b75ddfe98137248545d7a68523a | 2ff83d7af0bcbc5822593d826b0c3276346d1276 | /transformers_local_rep/src/transformers/models/auto/modeling_tf_auto.py | 5a3d92c36f2462da7665291fb9da1348c112ced3 | [] | no_license | mauricerupp/PolitBERT | 43af66f5562bb5c5cf965aa99bb065d1c22f4fae | a8c4eb517eb38cb51101fc87780ed1de182560c8 | refs/heads/master | 2023-06-17T03:13:43.070682 | 2021-07-15T15:15:30 | 2021-07-15T15:15:30 | 386,334,080 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 73,244 | py | # coding=utf-8
# Copyright 2018 The HuggingFace Inc. team.
#
# 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... | [
"maurice.rupp@gmail.com"
] | maurice.rupp@gmail.com |
01b836428d6b64ce1406546f1f4789e6c71aa0bc | 96526f06564faac28452549e2d2cd31f533e9f6f | /meat/utils/one_hot_test.py | 4edd222418a3c509ee09208cad88a9a3dad62a58 | [
"Apache-2.0"
] | permissive | oushu1zhangxiangxuan1/learn-neat | 6aaad17d9b3feb1a8a798b343ff06981acfb7621 | f185e12282bf4346351cc4d6cfa75238c38afa51 | refs/heads/master | 2020-07-31T19:46:04.725386 | 2020-02-03T03:32:01 | 2020-02-03T03:32:01 | 210,733,713 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,181 | py | from sklearn.preprocessing import OneHotEncoder
from sklearn.preprocessing import LabelEncoder
import numpy as np
def test():
le = LabelEncoder()
res = le.fit_transform(['a','b','c'])
print(res)
enc = OneHotEncoder()
# enc.fit()
res = enc.fit_transform([[0],[1],[2]])
print(res.toa... | [
"zhang.xiangxuan@oushu.io"
] | zhang.xiangxuan@oushu.io |
517b94657dabbbbc79a0bee55d65ee2d36ec6c21 | 83e41f2ca9215bb933cdb753770ab04fbc962bd8 | /first_steps_in_coding/exercise/07. Fruit Market.py | 24585c4113dadc6b5b43385b6953548ded1af0a0 | [] | no_license | BobsunPower/python_basics | d8f0d3203406eb6cce1bb35a88391e0a2f812f30 | 52f1dbac904bf963fc60bd877e09c79689ce2299 | refs/heads/main | 2023-03-09T02:47:20.401376 | 2021-03-09T22:09:02 | 2021-03-09T22:09:02 | 346,132,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 470 | py | strawberry_price = float(input())
banana_quantity = float(input())
orange_quantity = float(input())
raspberry_quantity = float(input())
strawberry_quantity = float(input())
raspberry_price = strawberry_price * 0.5
orange_price = raspberry_price * 0.6
banana_price = raspberry_price * 0.2
money = (strawberry_quantity * s... | [
"bobsunpower@gmail.com"
] | bobsunpower@gmail.com |
321ff65aaec969ca5e04fbbdaaf20b0c8dcb272f | b5550fc728b23cb5890fd58ccc5e1668548dc4e3 | /virt/baremetal/db/sqlalchemy/migrate_repo/versions/008_remove_bm_pxe_ips_table.py | bfdedc26c6b1262d0b4dead29c297d5a7d31b0b8 | [] | no_license | bopopescu/nova-24 | 0de13f078cf7a2b845cf01e613aaca2d3ae6104c | 3247a7199932abf9718fb3260db23e9e40013731 | refs/heads/master | 2022-11-20T00:48:53.224075 | 2016-12-22T09:09:57 | 2016-12-22T09:09:57 | 282,140,423 | 0 | 0 | null | 2020-07-24T06:24:14 | 2020-07-24T06:24:13 | null | UTF-8 | Python | false | false | 1,975 | py | #coding:utf-8
# Copyright 2013 Mirantis Inc.
# 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
#
# Unles... | [
"719184289@qq.com"
] | 719184289@qq.com |
4623fbb2846985538836786c201b0a5de2f735d8 | a3c2f2da7791a0d64a44211a5844281f8c6ff838 | /produceHHMTcards_and_plots_oct19_high.py | 4fe30588165dd210fd855c61c47d3b0cc6246f38 | [] | no_license | RemKamal/HH_scripts | 441a21fd319e3a5891bb4eb35994d62e45bbd12e | e48250d8a1fb24a7f35e3bedaf9b89dd205de4db | refs/heads/master | 2020-04-08T02:28:12.274123 | 2018-11-24T13:10:43 | 2018-11-24T13:10:43 | 158,936,841 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,763 | py | import subprocess
import time
import numpy as np
import sys
start_time = time.time()
trueRun = True
# if len(sys.argv) > 1:
# directo = sys.argv[1]
# print 'all is fine, using', directo
# else:
# print 'not specified "directory", please provide an input'
# sys.exit(1)
# if not directo:
# print '... | [
"remkamal@mail.ru"
] | remkamal@mail.ru |
ff92805064e0a840d5de89c86c2c1aa62147a105 | a838d4bed14d5df5314000b41f8318c4ebe0974e | /sdk/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/aio/operations/_endpoints_operations.py | 4c8df8bf6fa75d10784bb524f81bef94be2cdbe4 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | scbedd/azure-sdk-for-python | ee7cbd6a8725ddd4a6edfde5f40a2a589808daea | cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a | refs/heads/master | 2023-09-01T08:38:56.188954 | 2021-06-17T22:52:28 | 2021-06-17T22:52:28 | 159,568,218 | 2 | 0 | MIT | 2019-08-11T21:16:01 | 2018-11-28T21:34:49 | Python | UTF-8 | Python | false | false | 16,371 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | scbedd.noreply@github.com |
0b4dd4cf0a572d79c77af6a70cb8b19ce7558fbb | 83de24182a7af33c43ee340b57755e73275149ae | /aliyun-python-sdk-hbr/aliyunsdkhbr/request/v20170908/CreateHanaBackupPlanRequest.py | 3d9201e5927018c9494f0b5c57b13d88e933c86e | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-python-sdk | 4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f | 83fd547946fd6772cf26f338d9653f4316c81d3c | refs/heads/master | 2023-08-04T12:32:57.028821 | 2023-08-04T06:00:29 | 2023-08-04T06:00:29 | 39,558,861 | 1,080 | 721 | NOASSERTION | 2023-09-14T08:51:06 | 2015-07-23T09:39:45 | Python | UTF-8 | Python | false | false | 2,845 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
7a7a11b452640d0a910ec84319a76009832e9d1c | 6ceea2578be0cbc1543be3649d0ad01dd55072aa | /src/fipy/meshes/pyMesh/cell.py | bf7e9d3b987d03de829e4fa1a7fddfd68a95391b | [
"LicenseRef-scancode-public-domain"
] | permissive | regmi/fipy | 57972add2cc8e6c04fda09ff2faca9a2c45ad19d | eb4aacf5a8e35cdb0e41beb0d79a93e7c8aacbad | refs/heads/master | 2020-04-27T13:51:45.095692 | 2010-04-09T07:32:42 | 2010-04-09T07:32:42 | 602,099 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,024 | py | #!/usr/bin/env python
## -*-Pyth-*-
# ###################################################################
# FiPy - Python-based finite volume PDE solver
#
# FILE: "cell.py"
#
# Author: Jonathan Guyer <guyer@nist.gov>
# Author: Daniel Wheeler <daniel.wheeler@nist.gov>
# Author: James Warren <jwarren@nis... | [
"regmisk@gmail.com"
] | regmisk@gmail.com |
9b252a5e3b9f95d28fbc5e113c4a1f469a58e7cd | 5fe72bb13baf3649058ebe11aa86ad4fc56c69ed | /hard-gists/a400d6c20a52f0b3cd5415e833263b1f/snippet.py | 5b1c02e04be1ad7e7b70b6926435b81cdfb12a0b | [
"Apache-2.0"
] | permissive | dockerizeme/dockerizeme | 8825fed45ff0ce8fb1dbe34959237e8048900a29 | 408f3fa3d36542d8fc1236ba1cac804de6f14b0c | refs/heads/master | 2022-12-10T09:30:51.029846 | 2020-09-02T13:34:49 | 2020-09-02T13:34:49 | 144,501,661 | 24 | 20 | Apache-2.0 | 2022-11-21T12:34:29 | 2018-08-12T21:21:04 | Python | UTF-8 | Python | false | false | 1,056 | py | #!/usr/bin/env python
# Now you'll be able to read those encoded/compressed
# responses in your vcrpy test artifacts!
# References:
# https://github.com/kevin1024/vcrpy/issues/249
# http://stackoverflow.com/questions/36366234
# Thanks to Reti43 on StackOverflow
import sys
import yaml
# decode_response doesn't exist... | [
"42325807+dockerizeme@users.noreply.github.com"
] | 42325807+dockerizeme@users.noreply.github.com |
77d535acea38a7b4ffcc82951c076baa18e50c8b | 8884cb22c63a345e2b92c3f9252b7f1dcc5364f4 | /test.py | 394b0da8067050d3b14b45d29de4ffcff72e7110 | [
"Apache-2.0"
] | permissive | wqn628/kaldi-python-io | b0341933b4b517f22719101cf4dcd48084282218 | a7191049d79beabffab7256327214d6d875ec7b5 | refs/heads/master | 2023-03-17T12:33:36.363148 | 2021-03-18T12:00:05 | 2021-03-18T12:00:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,265 | py | #!/usr/bin/env python
# wujian@2019
import numpy as np
from kaldi_python_io import ScriptReader, ArchiveReader
from kaldi_python_io import AlignArchiveReader, Nnet3EgsReader
from kaldi_python_io import ArchiveWriter
def test_archive_writer(ark, scp):
# for matrix
with ArchiveWriter(ark, scp) as writer:
... | [
"funcwj@foxmail.com"
] | funcwj@foxmail.com |
9c881e065d1256a93285b2cfb3726bf0f345ade9 | aba1d17ddc7d7ad9f49e2d6d87600e9e0387ba14 | /mi/dataset/parser/pd0_parser.py | a95dc3100fcff28b2f64d5342741e66dfdcb3124 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | oceanobservatories/mi-instrument | 3ad880c1366b1a8461fc9085768df0e9ddeb6ef5 | bdbf01f5614e7188ce19596704794466e5683b30 | refs/heads/master | 2023-07-23T07:28:36.091223 | 2023-07-14T15:54:49 | 2023-07-14T15:54:49 | 24,165,325 | 1 | 32 | BSD-2-Clause | 2023-07-13T01:39:22 | 2014-09-17T22:53:22 | Python | UTF-8 | Python | false | false | 22,750 | py | #!/usr/bin/env python
"""
@package mi.instrument.teledyne.pd0_parser
@file marine-integrations/mi/instrument/teledyne/pd0_parser.py
@author Peter Cable
@brief Parser for ADCP PD0 data
Release notes:
"""
from collections import namedtuple
import pprint
import struct
import sys
namedtuple_store = {}
bitmapped_namedtupl... | [
"petercable@gmail.com"
] | petercable@gmail.com |
ae52796794c2386e0baab8ad7e8295f81fef1e87 | c13641489927190e935fe41c2c9601a06e63829c | /liveagent_api/models/tag.py | ce41bd622ceb04bc92975998c4b6db0540b9367c | [] | no_license | suresh656/LiveAgent-api-python | 5f68b1da6ccb4d9bb8818d5ecca3ee8901c7c371 | d857c99eda5a6edf3dd9c8342d255c081bd3f2f7 | refs/heads/master | 2020-03-19T02:53:59.764620 | 2018-03-20T14:27:33 | 2018-03-20T14:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,691 | py | # coding: utf-8
"""
Copyright 2016 SmartBear Software
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... | [
"mbebjak@qualityunit.com"
] | mbebjak@qualityunit.com |
5a01baf6f4d88341dbc76be7a32ba8dfddfb67b5 | 7d37e86e622fc1d51d190dbc7c88cba43b001953 | /test.py | 76b2ae3663d5fc531eb67c803f4de43175f2c7d3 | [
"MIT"
] | permissive | michalc/s3selectparser | cb5e1c1485cb5e4cee65032ff86c8d4f039a7f58 | 3eb6d19709245f40376396655ee313309f356f73 | refs/heads/master | 2022-12-06T00:05:10.419854 | 2020-08-23T17:06:06 | 2020-08-23T17:06:06 | 286,232,598 | 2 | 0 | MIT | 2020-08-09T13:02:03 | 2020-08-09T12:27:36 | null | UTF-8 | Python | false | false | 2,572 | py | import unittest
from s3selectparser import s3_select_parser
class TestIntegration(unittest.TestCase):
def test_select_all(self):
parsed = s3_select_parser.parseString('SELECT * FROM S3Object')
self.assertEqual(parsed.asDict(), {
'select': '*',
'from': {
't... | [
"michal@charemza.name"
] | michal@charemza.name |
0d27ebe8dcb27d4b3c503c79d73b283ede0e05e4 | b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb | /samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post.pyi | 79a3e066d8079852d43b82a4836a32cdd75e214f | [
"Apache-2.0"
] | permissive | FallenRiteMonk/openapi-generator | f8b98940219eecf14dc76dced4b0fbd394522aa3 | b6576d11733ecad6fa4a0a616e1a06d502a771b7 | refs/heads/master | 2023-03-16T05:23:36.501909 | 2022-09-02T01:46:56 | 2022-09-02T01:46:56 | 164,609,299 | 0 | 0 | Apache-2.0 | 2019-01-08T09:08:56 | 2019-01-08T09:08:56 | null | UTF-8 | Python | false | false | 4,103 | pyi | # coding: utf-8
"""
Generated by: https://openapi-generator.tech
"""
from dataclasses import dataclass
import urllib3
from urllib3._collections import HTTPHeaderDict
from unit_test_api import api_client, exceptions
from datetime import date, datetime # noqa: F401
import decimal # noqa: F401
import functools ... | [
"noreply@github.com"
] | FallenRiteMonk.noreply@github.com |
bd465e5670f50971fdd1a7e8fd5456fefec7fd0a | 47288e23d0248d7bfbda0cfae5bc138d389cbbb6 | /sympy/polys/agca/extensions.py | 49ae4ed655f74c4e02a7245cf04735503c0bcf69 | [] | no_license | cosmosZhou/sympy | d94ce6ad9028d143bb877f46fad4eda1d5dc2173 | 6160fff63636fd81755bd94e777ba450a09df517 | refs/heads/master | 2022-07-30T20:51:35.359580 | 2022-07-11T12:40:50 | 2022-07-11T12:40:50 | 199,948,191 | 3 | 1 | null | 2020-08-26T14:13:49 | 2019-08-01T00:34:25 | Python | UTF-8 | Python | false | false | 3,831 | py | """Finite extensions of ring domains."""
from sympy.polys.polyerrors import CoercionFailed
from sympy.polys.polytools import Poly
class ExtensionElement(object):
"""
Element of a finite extension.
A class of univariate polynomials modulo the ``modulus``
of the extension ``ext``. It is represented by ... | [
"zhoulizhi@patsnap.com"
] | zhoulizhi@patsnap.com |
c18aee19e3a4422bbb2985c4608a00ffa611df31 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/maiy.py | 7aee462b74f08e1735808456fb04b559dc4b25f3 | [] | no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 63 | py | ii = [('RennJIT.py', 1), ('AdamWEP.py', 1), ('MereHHB3.py', 3)] | [
"prabhjyotsingh95@gmail.com"
] | prabhjyotsingh95@gmail.com |
fbe0720b912720a80392996387092c18ccd49fd0 | 2b0eab74af8d23244ff11699830f9bb10fbd717a | /autodiag_copro/migrations/0004_auto_20190321_1505.py | c9fbccd932dc8dc16e68e4647a44ce8c691952d5 | [] | no_license | alexandrenorman/mixeur | c7e25cd20b03c78b361cb40e3e359a6dc5d9b06b | 95d21cd6036a99c5f399b700a5426e9e2e17e878 | refs/heads/main | 2023-03-13T23:50:11.800627 | 2021-03-07T15:49:15 | 2021-03-07T15:49:15 | 345,384,858 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,339 | py | # Generated by Django 2.1.5 on 2019-03-21 14:05
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('autodiag_copro', '0003_auto_20190310_1633'),
]
operations = [
migrations.R... | [
"norman@xael.org"
] | norman@xael.org |
61ed67ee4b57f64452915ef87ce4b277c5180fd0 | bbfc9f05efefe29b6ce9832bb3506efb900c1c93 | /tencentcloud/ds/v20180523/errorcodes.py | 09b42e5bb0fe19dbc9a44a13fbab5a0a80d31d68 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-python | a2fab235926b0a27e9cfdf55e085a8bb15b3f506 | 6baf00a5a56ba58b6a1123423e0a1422d17a0201 | refs/heads/master | 2023-09-04T10:52:28.060438 | 2023-09-01T03:09:16 | 2023-09-01T03:09:16 | 130,147,399 | 594 | 300 | Apache-2.0 | 2023-09-06T07:03:24 | 2018-04-19T02:23:12 | Python | UTF-8 | Python | false | false | 10,034 | py | # -*- coding: utf8 -*-
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
5397910febb4da48fe56fefd31c716d885d57543 | 9f2c8c6b9c7caac464193fa9a995dc7244f3aac5 | /Exercicios Curso Em Video Mundo 1/ex010.py | 1b8c2c9c976a43630ba278a2abb0b132a6e00e08 | [
"MIT"
] | permissive | JorgeTranin/Python_Curso_Em_Video | a5c1a119e30aa08663d5b3e3d86625fb852ccbe8 | be74c9301aafc055bdf883be649cb8b7716617e3 | refs/heads/master | 2021-06-13T23:29:36.184378 | 2020-04-10T00:49:25 | 2020-04-10T00:49:25 | 254,464,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 146 | py | n1 = float(input('Quanto dinheiro vc tem ai palhaço? R$ '))
t = n1/3.27
print('Essa merreca de R${:.2f} da de comprar US$ {:.2f}'.format(n1, t)) | [
"antoniotraninjorge@gmail.com"
] | antoniotraninjorge@gmail.com |
8a33940fe9c2d49ba09f31bd7d065c029cb41c6f | 5b77ea24ccda4fcf6ed8a269f27ac33d0a47bcad | /Algorithm/test.py | a71cc43ce37313f8f8b103b01e0438a3b9734be6 | [] | no_license | yooseungju/TIL | 98acdd6a1f0c145bff4ae33cdbfbef4f45d5da42 | e6660aaf52a770508fe8778994e40aa43d2484d4 | refs/heads/master | 2020-04-11T21:13:56.981903 | 2019-09-28T12:34:03 | 2019-09-28T12:34:03 | 162,099,150 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 459 | py | def solution(brown, red):
if red == 1:
return [3,3]
for i in range(1, red):
R = i
if red % R == 0:
C = red // R
else:
continue
c = 1
while True:
if brown == (R + (2 * c)) * (C + (2 * c)) - red:
return [C + (2 * ... | [
"seung338989@gmail.com"
] | seung338989@gmail.com |
34070eda0ac2a5cad4d2b3178fa733428a9df0cf | 20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7 | /guided/__init__.py | c62d9bb58cced08b789aaec17d8589892a8d99a4 | [] | no_license | sarahboufelja54/galatea | f5664f0b3117629b2c5bbe078a1bd52bb5e359e6 | 002a9f2905868be25b71770190fb2d5eda11c861 | refs/heads/master | 2020-12-04T13:45:07.697189 | 2018-12-12T16:27:09 | 2018-12-12T16:27:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 100 | py | from pylearn2.costs.cost import Cost
class GuidedCost(Cost):
def __init__(self):
pass
| [
"goodfellow.ian@gmail.com"
] | goodfellow.ian@gmail.com |
bf23e3b191d23df2eec942c9028fc8060ac3f352 | aa91f6e8d59286f65e7f6ed065823c80b7694439 | /scripts/analysis/liutong_owner/v0.1/owner_test.py | ab9b8ca1c1724b711367f2d11cb113ab16b74366 | [
"MIT"
] | permissive | davidyuqiwei/davidyu_stock | 7f93bcc2c50a0e2c356e3b517dbf7e2e7467093f | c234911f49d5980f2dff651333f8ca957333e094 | refs/heads/master | 2023-01-07T02:08:04.330559 | 2023-01-02T16:31:37 | 2023-01-02T16:31:37 | 163,694,812 | 13 | 2 | null | 2022-12-18T03:55:10 | 2018-12-31T20:07:30 | Jupyter Notebook | UTF-8 | Python | false | false | 396 | py | import pandas as pd
file1 = "/home/davidyu/stock/data/tmp/owner_list.csv"
df1 = pd.read_csv(file1)
def check_owner(x):
#enumerate(x['owner_name_list'])
if '香港' in x['owner_name_list'].tolist()[0]:
x['check'] = 1
else:
x['check'] = 0
return x
def test(x):
x['tt']=1
return x
df1.... | [
"davidyuqiwei@outlook.com"
] | davidyuqiwei@outlook.com |
13654782b4097bf49701434636d236a9aed6a69e | 34187511ef2244ad2e6b5a0edce200a14b29a37a | /devito/devito/dle/backends/advanced.py | 344cfcbe3ba657c093fe3b6fe1fda2fb596a4d53 | [
"MIT"
] | permissive | faizao/GAN | b2fec35384a3d547fccf89234a2472e42ad8c51a | d6973a77ccd7e608cbc36efcf831defb8b4544c0 | refs/heads/master | 2020-08-15T16:12:41.663079 | 2019-12-02T04:32:43 | 2019-12-02T04:32:43 | 215,369,672 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,023 | py | # The internal loop engine
from __future__ import absolute_import
from collections import OrderedDict
from itertools import combinations
import cgen
import numpy as np
from devito.cgen_utils import ccode
from devito.dimension import Dimension
from devito.dle import fold_blockable_tree, unfold_blocked_tree
from devi... | [
"lukas.mosser@gmail.com"
] | lukas.mosser@gmail.com |
795dfb816d88d20466a739b6fa515b4371aa7974 | 469a3c959e1b2add5a3380b84e26fbb4f8dc885d | /src/test_softmaxreg.py | 78c2e18d6fce70df1f778ec6ff2d129367520a09 | [] | no_license | fengjiran/softmax_regression_pylearn2 | ce8e477d15af6d1279d5219c805e0d09b074f1f9 | b10042372e275bc9b823b986eca37b72c7567218 | refs/heads/master | 2016-09-10T10:43:35.587379 | 2015-07-15T09:50:52 | 2015-07-15T09:50:52 | 39,126,836 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,534 | py | #coding:utf-8
'''
Created on 2015��7��15��
@author: Richard
'''
"""
Test for softmax_regression.ipynb
"""
import os
from pylearn2.testing.skip import skip_if_no_data
from pylearn2.config import yaml_parse
from theano import config
def test():
skip_if_no_data()
dirname = os.path.join(os.path.abspath(os.pat... | [
"fengjiran@foxmail.com"
] | fengjiran@foxmail.com |
20dd0a012752438b3b9df7215ba2eaf2e308bac0 | c4347c4a41a5f8dcacb53afc76a76df765453063 | /setup.py | 28a1745aa8f24b698d878ef4d57f887adf3d92f4 | [
"MIT"
] | permissive | connectthefuture/polyglot | 27bc5508d442b21f131ea1337ee005ea2cef7c54 | 7704da0722f9393dfc8d7d0971fa909116e567ed | refs/heads/master | 2021-07-19T10:46:08.972149 | 2017-01-12T13:32:46 | 2017-01-12T13:32:46 | 80,859,941 | 0 | 0 | MIT | 2021-02-09T22:55:50 | 2017-02-03T19:02:11 | CSS | UTF-8 | Python | false | false | 1,765 | py | from setuptools import setup, find_packages
import os
moduleDirectory = os.path.dirname(os.path.realpath(__file__))
exec(open(moduleDirectory + "/polyglot/__version__.py").read())
def readme():
with open(moduleDirectory + '/README.rst') as f:
return f.read()
install_requires = [
'pyyaml',
'pypol... | [
"nothingbutdave@gmail.com"
] | nothingbutdave@gmail.com |
f3d2ad34365e8e60a84a73ebe54a8101f3ae47b1 | b1b77bb1ed47586f96d8f2554a65bcbd0c7162cc | /SPOTIFY/pyschema/pyschema/contrib/jsonschema.py | 3eae11a2c2869e9c3f50e9f5f471d1be97de6a7f | [] | no_license | DanHefrman/stuff | b3624d7089909972ee806211666374a261c02d08 | b98a5c80cfe7041d8908dcfd4230cf065c17f3f6 | refs/heads/master | 2023-07-10T09:47:04.780112 | 2021-08-13T09:55:17 | 2021-08-13T09:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 300 | py | import warnings
warnings.warn(
"pyschema.contrib.jsonschema is deprecated and will be removed.\n"
"Please use the pyschema_extensions.jsonschema package instead.",
DeprecationWarning,
stacklevel=2
)
import pyschema_extensions.jsonschema
from pyschema_extensions.jsonschema import *
| [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
938b917d12ac77ea4d0c192ff5a30d44e92bee1b | e780a5bd72f98ca2513c993d64a85b08578166a6 | /buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/webdav/tests/testPUT_factory.py | 2197291e3a93b7a70f765b9502eae50ef0f23193 | [] | no_license | vedantc98/Plone-test | 023246597ffe848e2a49b9f65742ff49127b190b | 9fd520fc78481e2c0b9b7ec427821e7f961c777e | refs/heads/master | 2021-03-30T22:14:33.368739 | 2018-03-11T19:22:58 | 2018-03-11T19:22:58 | 124,671,713 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,355 | py | import unittest
import Testing
import Zope2
Zope2.startup()
from Testing.makerequest import makerequest
import transaction
import base64
auth_info = 'Basic %s' % base64.encodestring('manager:secret').rstrip()
class TestPUTFactory(unittest.TestCase):
def setUp(self):
self.app = makereques... | [
"vedantc98@gmail.com"
] | vedantc98@gmail.com |
08d431affa6ae4a9804ee6ddd154328f6b3dbffa | e3ec7260806c1e2b045a0de93a150a5c3fc1b9df | /test/ResultsAndPrizes/top-3/test_top_3_results_of_the_draw_date_current_date.py | 3f84f5c3d0b49ec026fe0de0380d9715742ef590 | [
"Apache-2.0"
] | permissive | FearFactor1/SPA | 58a21c9ec7a72a78f5ff50214e58faac43a3059d | a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7 | refs/heads/master | 2021-07-07T04:25:12.525595 | 2020-11-16T14:35:33 | 2020-11-16T14:35:33 | 204,684,720 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 690 | py | # Топ-3 + Результаты тиража по дате + текущая дата
def test_top_3_results_draw_date_current_date(app):
app.ResultAndPrizes.open_page_results_and_prizes()
app.ResultAndPrizes.click_game_top_3()
app.ResultAndPrizes.click_the_results_of_the_draw_date()
app.ResultAndPrizes.click_ok_in_modal_window_curren... | [
"zelezodoroznik@yandex.ru"
] | zelezodoroznik@yandex.ru |
f10c0e8a277d298d1b2bec3428de8b449d40d2b3 | 6280780d3395e037bf9715e2df74a8b269fb17c2 | /posts/urls.py | 8b2cf4db8c33eeaf3a989a3106b5030c7eae385d | [] | no_license | zerobubus/foodgram-project | 3958f045e9dcc0b3a13abb3f310effe09ebadbb9 | eba01ab68bd70166d158f1569c8908a1a4397533 | refs/heads/master | 2023-03-02T17:45:56.705085 | 2021-02-15T13:59:29 | 2021-02-15T13:59:29 | 330,332,268 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,565 | py | from django.urls import include, path
from . import views
urlpatterns = [
path("", views.index, name="index"),
path("404/", views.page_not_found, name="page_not_found"),
path("500/", views.server_error, name="server_error"),
path("profile/<str:username>/", views.profile, name="profile"),
path(... | [
"spb.etr@yandex.ru"
] | spb.etr@yandex.ru |
ce7016f39640e4b1adc14891f59183ce173367d3 | c50e7eb190802d7849c0d0cea02fb4d2f0021777 | /src/peering/azext_peering/vendored_sdks/peering/aio/__init__.py | f817f9fc05e3fbd13b88c61d27a252651c97dd36 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Azure/azure-cli-extensions | c1615b19930bba7166c282918f166cd40ff6609c | b8c2cf97e991adf0c0a207d810316b8f4686dc29 | refs/heads/main | 2023-08-24T12:40:15.528432 | 2023-08-24T09:17:25 | 2023-08-24T09:17:25 | 106,580,024 | 336 | 1,226 | MIT | 2023-09-14T10:48:57 | 2017-10-11T16:27:31 | Python | UTF-8 | Python | false | false | 576 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | Azure.noreply@github.com |
ad0319ee926e1e50a1bc7232af8f533e1c962d53 | 62e45255088abb536e9ea6fcbe497e83bad171a0 | /ippython/sumatorio_124.py | 54e8b8d406eaa93ef04fe715eb0baaa00f709ae4 | [] | no_license | jmery24/python | a24f562c8d893a97a5d9011e9283eba948b8b6dc | 3e35ac9c9efbac4ff20374e1dfa75a7af6003ab9 | refs/heads/master | 2020-12-25T21:56:17.063767 | 2015-06-18T04:59:05 | 2015-06-18T04:59:05 | 36,337,473 | 0 | 0 | null | 2015-05-27T02:26:54 | 2015-05-27T02:26:54 | null | UTF-8 | Python | false | false | 581 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 27 08:06:23 2013
@author: daniel
"""
#programa:sumatorio_124.py
#calcula el sumatorio de i**2 utilizando <for in>
#data input
sumatorio = 0
inicial = 2
limite = 0
while inicial > limite:
inicial = int(raw_input('valor inicial: '))
limite = int(raw_input('valor l... | [
"danmery@gmail.com"
] | danmery@gmail.com |
e6b7ab15b6587477ee324b54cfb1d65dd88a68d0 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/otherforms/_wisconsinites.py | 9392f24282d1ee922086aa2f1d022b912c480fac | [
"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 | 246 | py |
#calss header
class _WISCONSINITES():
def __init__(self,):
self.name = "WISCONSINITES"
self.definitions = wisconsinite
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.basic = ['wisconsinite']
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
ce0cb76aa18cf44ae804d2a74cef88ee015a0fa6 | 0f59e486ea9d7c96b8c3f7f92bf063fc8389f1e8 | /envi/tests/msp430/isetz.py | 93e8821335cd5618056968be6bf8da8251508a28 | [
"Apache-2.0"
] | permissive | vivisect/vivisect | ac259918b6281d9431c32a0b2307c61f9cab0dec | b07e161cc28b19fdda0d047eefafed22c5b00f15 | refs/heads/master | 2023-08-25T09:02:00.526532 | 2023-07-26T03:07:07 | 2023-07-26T03:07:07 | 26,651,759 | 833 | 181 | Apache-2.0 | 2023-09-07T03:43:53 | 2014-11-14T18:28:47 | Python | UTF-8 | Python | false | false | 304 | py | from envi.archs.msp430.regs import *
checks = [
# SETZ
(
'SETZ',
{ 'regs': [], 'flags': [(SR_N, 0), (SR_Z, 0), (SR_C, 0), (SR_V, 0)], 'code': "22d3", 'data': "" },
{ 'regs': [], 'flags': [(SR_N, 0), (SR_Z, 1), (SR_C, 0), (SR_V, 0)], 'code': "22d3", 'data': "" }
),
]
| [
"jroi.martin@gmail.com"
] | jroi.martin@gmail.com |
a66e28d9e58ebdf6c9649a2b0eba69204574cd49 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_103/ch69_2020_03_31_23_47_00_972540.py | bd34bcc2db33fc24edab9b4ec93cfa1aa3c5ba97 | [] | 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 | 166 | py | def junta_listas(lista):
lista1=[]
i=0
while i< len(lista):
a=str.join(lista[i])
i+=1
lista1.append(a)
print (lista1)
| [
"you@example.com"
] | you@example.com |
fc3b125149041d6c93e0fa34a2e5f11cbf3639a6 | f875b0d80254c8f6eee4e5887869442a8abf60e4 | /Official_OpenCV_Docs/GUI_Features_In_OpenCV/mouse_events.py | e8be0304ac65a428c4d2c0906af3d87843f5e025 | [] | no_license | AmitKulkarni23/OpenCV | 6d9320fa9e4fd41af4806cda6df0fb2c641d7884 | 449468f4c9c84ffb5b66ab352086e5b23f342b45 | refs/heads/master | 2020-03-19T12:36:23.305898 | 2018-09-16T00:53:51 | 2018-09-16T00:53:51 | 136,528,669 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,143 | py | # Python file which demontrates mouse button events in OpenCV
# Example sof mouse events
# EVENT_LBUTTONDBLCLK
# EVENT_LBUTTONDOWN
# EVENT_LBUTTONUP
# EVENT_MBUTTONDBLCLK
# EVENT_MBUTTONDOWN
# EVENT_MBUTTONUP
# EVENT_MOUSEHWHEEL
# EVENT_MOUSEMOVE
# EVENT_RBUTTONDBLCLK
# EVENT_RBUTTONDOWN
# EVENT_RBUTTONUP
#############... | [
"amitrkulkarni232@gmail.com"
] | amitrkulkarni232@gmail.com |
1a5f5d35a1f2d24db6c4f33d1c2b4baf9b0e8e1d | d659d8f29ef2f01ac1fc8c292e8a836ba36bfd16 | /src/transformers/models/layoutlm/modeling_layoutlm.py | c8c395557977a1242539271da9e1d11a5a4ad6e9 | [
"Apache-2.0"
] | permissive | monuminu/transformers | dc0fa4730ca6e37c2053f8b327c37bb322dd99cc | 82c6e8fc0efaece02eb6e809b7b03df909ff6c11 | refs/heads/master | 2023-07-15T13:13:23.525788 | 2021-08-03T09:41:42 | 2021-08-03T09:41:42 | 369,849,849 | 1 | 0 | Apache-2.0 | 2021-05-29T05:26:17 | 2021-05-22T16:00:10 | Python | UTF-8 | Python | false | false | 50,824 | py | # coding=utf-8
# Copyright 2018 The Microsoft Research Asia LayoutLM Team Authors and the HuggingFace Inc. team.
#
# 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/... | [
"noreply@github.com"
] | monuminu.noreply@github.com |
a73cea42db3150e0ecda22374292fd5a98b039c4 | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_Anscombe/trend_ConstantTrend/cycle_7/ar_/test_artificial_128_Anscombe_ConstantTrend_7__20.py | cc6838cb6b4859c4e12550aadeda85e0b62171db | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 272 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 7, transform = "Anscombe", sigma = 0.0, exog_count = 20, ar_order = 0); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
23204052123d72a0ceeb6378f4f708a784354f98 | f8a58ae93ff78c59296a136dff721c5ef666790b | /Starting small/Fibonnacci.py | 5a76066130f58d96db637695f5b0d75ea3fb1c5d | [] | no_license | Anthonymcqueen21/Python-Programs | cb116b36e3c774ef51dba7f1fd29561767f89c7f | 127d5cbab4e7a2d0009d65075508cbaf5a6b6dc2 | refs/heads/master | 2021-06-26T18:03:30.212592 | 2017-09-15T19:59:21 | 2017-09-15T19:59:21 | 79,636,950 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 154 | py | parents, babies = (1, 1)
while babies < 100:
print 'This generation has {0} babies'.format(babies)
parents, babies = (babies, parents + babies)
| [
"noreply@github.com"
] | Anthonymcqueen21.noreply@github.com |
f8b52879948b58e4e65e817cc6a51fc210727531 | 33e02609e24512b3324ac949ce522a96e2a952a4 | /py/phl/phlurl_watcher__t.py | 1cfde26c9094329fc229eac335bb441281aee923 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jphiii/phabricator-tools | 37d323c7d98f67953106ca525b02fc9e04439571 | 5a9b9d057b6fa47283bb28deb96002c462803818 | refs/heads/master | 2020-12-25T05:29:22.011174 | 2014-07-21T18:19:41 | 2014-07-21T18:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,084 | py | """Test suite for phlurl_watcher."""
# =============================================================================
# TEST PLAN
# -----------------------------------------------------------------------------
# Here we detail the things we are concerned to test and specify which tests
... | [
"jevripiotis@bloomberg.net"
] | jevripiotis@bloomberg.net |
5c9e2a99daa843d138ede06d9b282849bdc26725 | 7f8f49e77c3d71531688c41e5147c75257a661f6 | /analysis/annotation_enrichment.py | 6491fad5386e05e4e848f075804370dae446fb47 | [] | no_license | francosimonetti/trans-eqtl-pipeline | 4ef83e007ee9d4e5aeb8650b30e4684b4150d6e8 | 877b835d832649056cd80cbb7feeedcebebcfb69 | refs/heads/master | 2023-06-19T18:40:55.354166 | 2021-03-02T20:34:29 | 2021-03-02T20:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,784 | py | import numpy as np
import collections
import os
import argparse
import sys
sys.path.append('./')
from utils import utils
from utils import read_tejaas_results
def parse_args():
parser = argparse.ArgumentParser(description='Calculate annotation enrichment for trans-eQTLs')
parser.add_argument('--annot',
... | [
"bnrj.saikat@gmail.com"
] | bnrj.saikat@gmail.com |
e157c0a6a705a978b298cf61ab28eb62a0a1c635 | 2447effa4ea6ae298c826967cc572583f6bde5d9 | /grants_reports/admin.py | 5e3c36fe4824fb04c6f41be8cba7dc686b0b672b | [] | no_license | lydia-karungi/Ruforum | fc317d74092c9d77903fd5a96b46c296fee9b2a7 | d1d6714fbac47a357bc51f0867f577b98e1bbf62 | refs/heads/main | 2023-02-06T04:10:51.032368 | 2020-12-23T09:11:33 | 2020-12-23T09:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,102 | py | from django.contrib import admin
from reversion.admin import VersionAdmin
from .models import (
Month12Report, Month18Report, Month24Report, LastReport,
FirstReport, Studentmonth12Report, Studentmonth18Report, Studentmonth24Report,
LastStudentReport, FirstStudentReport, Technology,Beneficiary
)
c... | [
"karungilydia43@gmail.com"
] | karungilydia43@gmail.com |
91bfc6008dc5ed40bc9406f300940533a6f1b347 | c6627895fbfae1ef714f10202eecb6ccce6e9af3 | /ptvapi/models/v2_object.py | c530400577469a91a4869d644830a480401a7541 | [
"MIT"
] | permissive | richardjkendall/ptv-api-client | c34f08f986de903d43ee50e5d2f39a6258c0e1fd | 9b1a3882ebee8cef363e688a56b90e2643799a88 | refs/heads/master | 2020-07-15T03:25:04.571357 | 2019-09-13T19:38:31 | 2019-09-13T19:38:31 | 205,468,365 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,498 | py | # coding: utf-8
"""
PTV Timetable API - Version 3
The PTV Timetable API provides direct access to Public Transport Victoria’s public transport timetable data. The API returns scheduled timetable, route and stop data for all metropolitan and regional train, tram and bus services in Victoria, including Night... | [
"richard.kendall@gmail.com"
] | richard.kendall@gmail.com |
6a3d5677a5a9f8455b0622a4cede37fcdf5fa428 | d590fe1324fa72f0a22bee03e78cd01b86c71677 | /settings_example.py | cb588150eb9b80b168b1bc6db266eedff460fd9f | [] | no_license | gunny26/homie_esp | efd5ffa1ec475e9839e7e91e5edd5f21ff1c5521 | 58bcbcd097d3c1abff52c1158b94ebab6fd5a39a | refs/heads/main | 2023-02-11T18:41:27.696642 | 2021-01-07T14:26:13 | 2021-01-07T14:26:13 | 327,674,149 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,002 | py | # Debug mode disables WDT, print mqtt messages
# DEBUG = False
###
# Wifi settings
###
# Name of Wifi
WIFI_SSID = "YOUR_WIFI_SSID"
# Password for the Wifi
WIFI_PASSWORD = "YOUR_WIFI_PASSWORD"
# Multiple WiFi credentials
# If a ssid near your device matchs a wifi credentials in the dictionary,
# WIFI_SSID and WIFI_... | [
"arthur.messner@gmail.com"
] | arthur.messner@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.