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
8e43bbffa55609202fd7f452a6ba9bdc2d6717f6
c9a809c5ef2a6b5e7e50da548c182510d203f430
/salt/modules/win_pki.py
ca17b6d626c1a33c1da8964e62e336fdbe4a1266
[ "Apache-2.0" ]
permissive
andyyumiao/saltx
676a44c075ce06d5ac62fc13de6dcd750b3d0d74
a05c22a60706b5c4389adbd77581b5cf985763b5
refs/heads/master
2022-02-24T00:51:42.420453
2022-02-09T06:46:40
2022-02-09T06:46:40
231,860,568
1
5
NOASSERTION
2022-02-09T06:46:40
2020-01-05T03:10:15
Python
UTF-8
Python
false
false
16,167
py
# -*- coding: utf-8 -*- ''' Microsoft certificate management via the PKI Client PowerShell module. https://technet.microsoft.com/en-us/itpro/powershell/windows/pkiclient/pkiclient The PKI Client PowerShell module is only available on Windows 8+ and Windows Server 2012+. https://technet.microsoft.com/en-us/library/hh84...
[ "yumiao3@jd.com" ]
yumiao3@jd.com
d8485188dea7802b0cc8718c8456babc2e37dbd4
ae78ed1ea1cac59ccc9a9b50e4920c74947ef569
/pretrained-model/alxlnet/xlnet.py
1f6c2eacf276f873e0bd845c0229fe2d4aad797c
[ "MIT", "Python-2.0" ]
permissive
kheeirul96/Malaya
d4aafd8844f5a131854a5ede18068ba829b229a4
ceb7de556cd1077efa749e7e369ffd75b1a0dfd1
refs/heads/master
2020-08-20T15:47:36.990840
2019-10-18T03:50:58
2019-10-18T03:50:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,200
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import os import tensorflow as tf import modeling def _get_initializer(FLAGS): """Get variable intializer.""" if FLAGS.init == 'uniform': initializer = tf.initializers.random_unifo...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
a45c2d75d6cea18de733b89e8760a8a7a827b8f0
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/concat82/728-tideGauge.py
eefcf25d50aba7a69c82559eeee6d526db001363
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
# -*- coding: utf-8 -*- """ Created on Tue May 13 10:02:00 2020 --------------------------------------------------------- This script concatenates yearly predictor files Browses the predictor folders for the chosen TG Concatenates the yearly csvs for the chosen predictor Saves the concatenated csv in a separate dire...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
6d907810b817e314675bd275c3313d21111ee5a3
781e2692049e87a4256320c76e82a19be257a05d
/intervention/results/control_120802_1449613710_39_13.75.py
cb40cf5e2e0afecd0c7c8544b6db900f76291663
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
227
py
def num_common_letters(goal_word, guess): cache = set('') counter = 0 for i in goal_word: if i not in cache: cache.add(i) for i in guess: if i in cache: counter += 1 cache.remove(i) return counter
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
869ca60250a2409dbfa492cac38092f9ed2dd74c
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/srm/651-675/660/Coversta.py
3322d7823065e870dd37931908d60355b24de092
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#SRM660 Div1 Easy import math,string,itertools as it,fractions,heapq,collections as collect,re,array,bisect,random,sys class Coversta: def place(self, a, x, y): n, m, k = len(a), len(a[0]), len(x) a = [map(int, list(a[i])) for i in xrange(n)] dwr = zip(x, y) scores = [] for w in xrange(n): fo...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
4edc855bd5476a2b9bcab34e8779b09af4dec769
485816a0a8b86818e4f2cefec517e6316e2252d6
/posthog/api/plugin_log_entry.py
45e70682d86c77170aeadcbe9881f5cb8d48ac7f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abhijitghate/posthog
3647443274aee6431e7fecf6902644a9fa7eb9d8
68dc4d2730600efb00d3708fb7fba70d85612760
refs/heads/master
2023-04-19T15:17:25.033992
2021-05-13T09:48:59
2021-05-13T09:48:59
279,130,099
1
0
MIT
2020-07-12T19:04:15
2020-07-12T19:04:14
null
UTF-8
Python
false
false
2,275
py
from typing import Optional from django.utils import timezone from rest_framework import exceptions, generics, mixins, request, serializers, status, viewsets from rest_framework.permissions import IsAuthenticated from posthog.api.plugin import PluginOwnershipPermission, PluginsAccessLevelPermission from posthog.api.r...
[ "noreply@github.com" ]
abhijitghate.noreply@github.com
3aba8ae13b2626bfcc8c03954c7a12d1b3c28e99
46265d6f2804c9f74d6dc25723ec62ae349b5dc3
/manage.py
a65d7a8de7f58dd811bb3b452a092a6fb8ae07f0
[]
no_license
mdShakilHossainNsu2018/eCommerce_site
ea68c98f3d55ccbade29bbc29598c4d72fdccbec
8ac90e84e7ba699f54f880c863de30806994d960
refs/heads/master
2022-10-26T00:56:39.944312
2020-06-16T07:56:04
2020-06-16T07:56:04
268,805,532
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'eCommerce_site.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "shakilnsu2018@gmail.com" ]
shakilnsu2018@gmail.com
3049a52f0e3824b7e9183c34e6fbbd82deb72726
ecf1ce6f8b592f76c7b7c253608c1264ae0676a3
/days/day023/bite_022_Write_a_decorator_with_argument/test_bite_022.py
cb84a294a8948552c5e32652a8d195cd737cdd88
[]
permissive
alex-vegan/100daysofcode-with-python-course
94e99880a50ac412e398ad209ed53796f253641f
b6c12316abe18274b7963371b8f0ed2fd549ef07
refs/heads/master
2021-07-20T23:05:59.721661
2019-01-21T16:18:25
2019-01-21T16:18:25
150,115,516
0
0
MIT
2018-09-24T14:28:16
2018-09-24T14:28:15
null
UTF-8
Python
false
false
248
py
from bite_022 import make_html def test_make_html(): @make_html('p') @make_html('strong') def get_text(text='I code with PyBites'): return text assert get_text() == '<p><strong>I code with PyBites</strong></p>'
[ "alex-vegan@outlook.com" ]
alex-vegan@outlook.com
ddba2951e6d7f604b3af9174b0cd0fd2bc89d4e9
ecc4e8c9794c8ecddfd3774a396d4a06881c1245
/test/docker_test.py
72d60addf7437caf5bb641bfc13d1b97b21c6640
[ "MIT" ]
permissive
cheminfo-py/crystal_analysis_webservice
d244bd01523c1edfc428458e6dea42b063e3edbd
444c91adb645aa99401dbb3d8f30d8b98e2343c5
refs/heads/master
2023-01-10T20:58:34.389784
2020-11-19T07:06:27
2020-11-19T07:06:27
303,760,806
0
0
MIT
2020-11-19T06:40:05
2020-10-13T16:17:15
Python
UTF-8
Python
false
false
670
py
# -*- coding: utf-8 -*- """Test if the API responds in the Docker image""" import sys import requests import os import json THIS_DIR = os.path.dirname(os.path.realpath(__file__)) r = requests.get("http://localhost:8091/version/") keys = r.json().keys() if "version" in keys: print("OK") else: print("error") ...
[ "kevin.jablonka@epfl.ch" ]
kevin.jablonka@epfl.ch
b67776dddfb11a06e921bfc4315136dadb462d10
e3d6f803beece2ecc2cde8de795fdd20291213ff
/nova/tests/functional/notification_sample_tests/test_aggregate.py
61a4a20565b9da0c0ca69ba8232bfea12032390e
[ "Apache-2.0" ]
permissive
panguan737/nova
437c1adb81f3e9ef82c28ad957144623db13ba52
0d177185a439baa228b42c948cab4e934d6ac7b8
refs/heads/main
2023-01-07T00:08:44.069599
2020-11-01T14:00:42
2020-11-01T14:00:42
309,332,719
0
0
Apache-2.0
2020-11-02T10:17:13
2020-11-02T10:17:13
null
UTF-8
Python
false
false
4,047
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
[ "147360410@qq.com" ]
147360410@qq.com
37c3c598b02fad75e178c54e31aae90a0d649116
8f0ce1be6cc093d962c64179eec99c7ccc20ffc4
/fabrication/migrations/0007_fabricationprojectpage_items.py
f585382451b27a14eb873908ea552ac48e3a6fb3
[]
no_license
dmeehan/futuregreenstudio
cf5e12c6ead8f0c7023ba09d5868749888068b72
e6e2b7f7ffa2ed251d21e6b1d07573ab4f70782f
refs/heads/master
2023-08-30T20:12:24.814970
2023-08-28T14:55:26
2023-08-28T14:55:26
89,943,081
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-07-26 04:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fabrication', '0006_auto_20210726_0440'), ] operations = [ migrations.AddF...
[ "dmeehan@gmail.com" ]
dmeehan@gmail.com
eab1cf90ff876af4f0683c8f49fa175a879378ac
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/delivery/tests/__init__.py
8a969170bf17e9fd0f8173deea33b83546ba2af9
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing detailsself. from . import test_delivery_cost, test_delivery_stock_move
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
aef82e74b3d77b46a8daf0528299813a33884d69
1180c0bfe29959d95f3c131e6e839950e528d4ee
/05/bmiraski/similar_tweeters.py
370a3f3daee4af7e42956a3ee85a630156a63fbe
[]
no_license
pybites/challenges
e3e461accd8e7f890aee8007ba5070086ef983fc
02b77652d0901e6e06cb9b1e7cb3e59c675445c2
refs/heads/community
2023-08-20T18:19:02.982214
2022-11-17T09:23:31
2022-11-17T09:23:31
78,264,928
764
3,115
null
2023-07-21T05:58:19
2017-01-07T07:17:50
Jupyter Notebook
UTF-8
Python
false
false
2,284
py
"""Compare tweet similarity from two users.""" from nltk.corpus import stopwords import spacy from string import ascii_lowercase from string import digits from string import punctuation import sys import usertweets stoplist = set(stopwords.words('english')) nlp = spacy.load('en_core_web_md') def similar_tweeters(...
[ "pybites@projects.bobbelderbos.com" ]
pybites@projects.bobbelderbos.com
0eb176292acf6b719ee3c1745b86634560ae1707
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2016-17/02-rekurzija/rekurzija-b.py
aaf7cba7342ff8211217d6cb04f8b72ed61abd67
[]
no_license
jakamrak/uvod-v-programiranje
640b2738164e2026308d7e60f1478659df79cc40
3c05290f4f23b384ad9063880fffe208c08fc599
refs/heads/master
2022-07-17T16:50:18.563453
2020-05-18T13:54:13
2020-05-18T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,877
py
def fibonacci(n): '''Vrne n-ti člen zaporedja 1, 1, 2, 3, 5, 8, ...''' if n == 0: return 1 elif n == 1: return 1 else: return fibonacci(n - 1) + fibonacci(n - 2) def splosni_fibonacci(n, a, b): '''Vrne n-ti člen zaporedja a, b, a + b, a + 2b, 2a + 3b, ...''' if n == 0: ...
[ "matija@pretnar.info" ]
matija@pretnar.info
f655b27fab13fb11eed3d2d3b61c3cec82c6c715
e1dd0997239951d4d459b1ba0229493512b0b331
/mds_py/mds-env/lib/python3.11/site-packages/cleo/loaders/factory_command_loader.py
f47ae186ab1d41b16e0ae4a0c34e9357ad678bb2
[]
no_license
alexmy21/Octopus
bd17777cf66654c1e7959654f63ca82b716865b5
7844ec616376ec6cd9c1a8b73dbcad9c729557ae
refs/heads/master
2022-12-22T22:42:29.473433
2022-12-21T16:52:09
2022-12-21T16:52:09
61,543,002
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
from typing import Callable from typing import Dict from typing import List from cleo.commands.command import Command from ..exceptions import CommandNotFoundException from .command_loader import CommandLoader class FactoryCommandLoader(CommandLoader): """ A simple command loader using factories to instanti...
[ "alex.mylnikov@hitachivantara.com" ]
alex.mylnikov@hitachivantara.com
eb20013d020a237284de499bd0d8625c37888b89
bebba3fb1dfc13a2220f06997c4bc8da42ef8e87
/smashlib/ipy3x/core/error.py
fdce2fe18b4821b059eb0b9aa031ff4c40673968
[ "MIT" ]
permissive
mattvonrocketstein/smash
b48b93c3419637f615c7ac3386b04ae756e1fadc
98acdc27ab72ca80d9a7f63a54c0d52f126a8009
refs/heads/master
2021-01-18T23:23:59.340206
2016-07-14T01:28:17
2016-07-14T01:28:17
2,813,958
2
1
null
null
null
null
UTF-8
Python
false
false
1,742
py
# encoding: utf-8 """ Global exception classes for IPython.core. Authors: * Brian Granger * Fernando Perez * Min Ragan-Kelley Notes ----- """ #----------------------------------------------------------------------------- # Copyright (C) 2008 The IPython Development Team # # Distributed under the terms of the BSD ...
[ "matthewvonrocketstein@gmail-dot-com" ]
matthewvonrocketstein@gmail-dot-com
966167169ec32aff8bf1faaf037b3ff555065e29
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/8oNKM4osgxYyrFtGL_19.py
71e9c04b8fa2dd16ba98bba2536e6efa1c716407
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
def multiply(l): n = [] ll = len(l) for w in l: i = [] ll2 = ll while ll2 > 0: i.append(w) ll2 = ll2 - 1 n.append(i) return n
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
14f0ad0a9d89f796416f432792c730a988d1b86d
8acba76d7e7787c0b2c8270552ef5bc7eb0c7549
/backend/todo/models.py
10f3336c4b31594c2c1e77ee6f14a3858b46b33a
[]
no_license
harishtm/djreact
a99e91723fa92b52a5d467f01235ec0fc8eb02bb
6bec0b89db10b255581a5a9dd1f440e40e8bf784
refs/heads/master
2023-01-29T04:44:28.276494
2020-03-13T06:54:49
2020-03-13T06:54:49
201,904,114
0
0
null
2023-01-04T06:57:14
2019-08-12T09:58:03
JavaScript
UTF-8
Python
false
false
268
py
from django.db import models # Create your models here. class Todo(models.Model): title = models.CharField(max_length=255) description = models.TextField() completed = models.BooleanField(default=False) def __str__(self): return self.title
[ "you@example.com" ]
you@example.com
a30ee58e97e63845760962ab45ecbdd0b688678b
8ff12c53e31f134b9f39f59b9a6f7d4f9142cea7
/lvlist/teacherPython/import1/module1/main.py
6e25b061ef9cc5b6be2e48bb786ac825ab6be1d1
[]
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
127
py
#!/usr/bin/python from module1 import A,b from module2 import _C s = "main-->s..." print s b() m1 = A() m1.a() m2 = _C()
[ "813559081@qq.com" ]
813559081@qq.com
82b887d7cb1e3fd721d84204edba0434de3db89f
fdf1e1f4efc51bc024311d44a2fa4524f9b88bce
/girleffect/solutions/migrations/0042_add_slider_block.py
83edf03fd57f04e2ff14736ae6830e7b7bb42afe
[]
no_license
girleffect/girleffect.org
8327ffd6bbd1103033c92fbd4cbe5461aa1c7f03
55731b1c024f207211a161fd6d3ca796beea7a61
refs/heads/master
2023-04-07T21:40:43.910892
2022-06-14T11:50:21
2022-06-14T11:50:21
112,452,828
1
2
null
2023-04-01T12:05:55
2017-11-29T09:13:18
Python
UTF-8
Python
false
false
13,694
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-12-21 14:46 from __future__ import unicode_literals from django.db import migrations import girleffect.utils.models import wagtail.wagtailcore.blocks import wagtail.wagtailcore.fields import wagtail.wagtaildocs.blocks import wagtail.wagtailembeds.blocks impo...
[ "karl@kaed.uk" ]
karl@kaed.uk
d63abbb48211e4004a4441ab8f36cb5cc3a048f2
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Matriz_esferica_20200707115539.py
2a05f90d9392c0a9967f9cb280e6bcd2b930b4d3
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
import numpy as np import random #regras de movimentacao class Matriz_esferica(): def __init__(self, tamanho): self.tamanho = tamanho def get_vizinho_esquerda(self, ponto): pass def get_vizinho_direita(self, ponto): pass def get_vizinho_cima(self, ponto): pa...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
4171668175165d80aa71d270e8c75e6894a51269
f654f5f07dd8109c0ee31ba89dd4804e6b288343
/src/programy/clients/xmpp.py
22f1b1c3347d45f3276d071306235db382006fa7
[ "MIT" ]
permissive
sprinteroz/program-y
3d1f5f28e4f3be770705d4bef15410b8b78f19da
454c6bde225dce7c3fb01c549d46249248caf7b5
refs/heads/master
2021-01-19T16:05:25.636700
2017-08-22T03:56:33
2017-08-22T03:56:33
100,986,551
1
0
null
2017-08-21T19:43:43
2017-08-21T19:43:43
null
UTF-8
Python
false
false
3,522
py
""" Copyright (c) 2016-17 Keith Sterling http://www.keithsterling.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
183383359d833fb0a64220802c19ab444a1e24ba
d8e4ffa9daaeca95cf52d3a9e3ca1cff865357bf
/section 7/5. 동전분배하기/aa.py
04a5b8df849fde24fe520978eff8954f916f87e2
[]
no_license
mike-bskim/coding_test
ed4e3790b5b41ed62b922ba9d04149d1cd335c84
430445c3ad0ddb4435a5fd244ba3a86677cd00ff
refs/heads/master
2023-05-06T00:04:24.090152
2021-05-13T19:33:01
2021-05-13T19:33:01
365,245,924
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import sys # sys.stdin=open('in1.txt', 'rt') # input=sys.stdin.readline def DFS(L): global min1 # if max(money)> total/2: # 한개의 숫자가 다른 숫자보다 월등히 크면 로직오류 발생. # return if L == n: dif = max(money) - min(money) if (dif) < min1: tmp = set(money) if len(tmp) == 3:...
[ "mike-bskim@gmail.com" ]
mike-bskim@gmail.com
e27a4dbde2694d7944a84c853f4374204a7e4703
cc896a233121c4dc158210fae0588e7bdb63b9ff
/rtcbproj/rtcb/authentication/schema.py
b5af07989b4abed79691dda4ba9e29b3de4ded4c
[ "Apache-2.0" ]
permissive
arsenico13/rtcb-backend
2b99a0fbb6a07bb0a9ef6652603c6e914ccd4525
f097eae54a12ba4f3983869fef627ea1d55a37d1
refs/heads/master
2023-04-07T04:30:33.874569
2020-10-27T00:06:16
2020-10-27T00:06:16
151,688,197
0
0
null
2018-10-05T07:54:18
2018-10-05T07:54:17
null
UTF-8
Python
false
false
554
py
import graphene from graphene_django import DjangoObjectType from .models import User as UserModel class ChoicesRoles(graphene.Enum): Defender = 'D' Striker = 'S' class User(DjangoObjectType): role = ChoicesRoles() class Meta: model = UserModel interfaces = (graphene.Node, ) ...
[ "andrea.cecchi85@gmail.com" ]
andrea.cecchi85@gmail.com
b501b9b296b86bcc20f10667d6104cff0e7b9bf8
a1f2df675cfc595b15f1ca9390b7517989f2d4e0
/testCase/performance/contract_rank/result_contract_rank_month_case2.py
8640bf96de596e3ca582bfc88f340de7f1a4d6d7
[]
no_license
GGGYB/crm
d4def2f1abc89451e1c4b11b89ef100a842ed745
61932466dd0ac299adc661383d506389d5f0f8e7
refs/heads/master
2022-04-15T21:29:48.539311
2020-04-14T10:23:41
2020-04-14T10:23:41
255,575,666
0
0
null
null
null
null
UTF-8
Python
false
false
13,541
py
import datetime import os import codecs import operator from commons.const import const from testCase.roles import testGetRoles from commons import filters from testCase.login import testLogin as login from testCase.performance import result from testCase.contracts import testContract as contracts from testCase.contrac...
[ "nlnongling@163.com" ]
nlnongling@163.com
6c856cdbc50ea95865105c3aa077d96b3ea9ad24
56ab1f0aa30dc0357e84fa11640c9353fd5deeed
/set7/52/set7_pro52.py
01d24fe9296d4e88110b36a1d56cb8993b0cb214
[]
no_license
zjwzcn07/cryptopals
c9c11a7627222291e7f5c7a2cfffc4a55b548dc5
d44c9e8b8f1527e244de6a5425b8d4f46ef98e49
refs/heads/master
2021-06-10T13:35:48.517737
2016-11-30T11:29:59
2016-11-30T11:29:59
74,258,995
3
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
import hmac import sys def bad_hash_block(msg,iv): mac = str2bin(hmac.new(iv,msg).hexdigest())[:16] #print mac return mac def str2bin(string): string_bin = "" for x in string: the_bin = bin(ord(x))[2:] if((8 - len(the_bin))>0): the_bin = '0'*(8 - len(the_bin)) + the_bin string_bin = string_bin + the_b...
[ "1106911190@qq.com" ]
1106911190@qq.com
21ce8f7efc7d9750a693501c0a68db78036b44c3
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions/_operations_mixin.py
5631cad2bfb87a3b4ce5a3932a1c06cdb5d2fd42
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
3,410
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 ...
[ "noreply@github.com" ]
Azure.noreply@github.com
73d0d1b1c8b75b5f329b134be4f9f52dae01419b
bc5dd7be84a43ec53f8e4215761badb9b61a13ad
/kurs_2/vertualenv/Lib/site-packages/django/contrib/messages/storage/base.py
d1f9b274323aa72fc4ab49364e624f39becd2095
[]
no_license
MaximMak/DL_Academy_Lessons
ef4758be02e43954748031ac95c970077f71cd7e
427576859657e88fd81683494397af3df920c674
refs/heads/master
2023-01-29T19:53:11.650096
2020-12-13T21:40:58
2020-12-13T21:40:58
276,397,551
0
0
null
null
null
null
UTF-8
Python
false
false
5,679
py
from django.conf import settings from django.contrib.messages import constants, utils LEVEL_TAGS = utils.get_level_tags() class Message: """ Represent an actual message that can be stored in any of the supported storage classes (typically session- or cookie-based) and rendered in a view or template. ...
[ "54116778+MaximMak@users.noreply.github.com" ]
54116778+MaximMak@users.noreply.github.com
4e6c5b0a5c1fc42f8b453fe5a38fd77ed0d32ef8
1f8d05b774271e6c9321b23093baa1dda3dae650
/utils_app/website_settings.py
1ad5af2e18bf0beded6e8b31a84024909eaa29ea
[]
no_license
pockerman/python_lms
5ca2f0d90692bf6c9bc7c00d0ffd59db084ead3f
327dbbd9e5ad96c143c8abe60cf8a2cbc3d5dac0
refs/heads/master
2020-07-14T01:07:27.826127
2019-08-29T16:08:37
2019-08-29T16:08:37
205,197,331
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
site_index_title='Ustdy' navigation_elements = ["Join","Services","Courses","Contact"] main_page_buttons =["Courses Catalog","Request Info","Tests Catalog","Library","Learn More"] nav_page_title=["Ustdy-Join","Ustdy-Services","Ustdy-Courses","Ustdy-Contact"]
[ "a.giavaras@gmail.com" ]
a.giavaras@gmail.com
6216ac8e2467c29bdefb4a44159e403691e89f88
9a5438bdb8e84d0167ddea5458a7f729fdd54121
/MetaDataApi/tests/test_utils/test_json_utils.py
d364134e98feae48c1bf4083a71f2715fcc53c32
[]
no_license
Grusinator/MetaDataApi
740fd2be4cb97b670f827a071a0ac8c50f79f8ff
081f881c735466ed1dbbd68646b821299c5168f8
refs/heads/master
2023-07-25T23:58:22.179717
2020-03-15T09:36:05
2020-03-15T09:36:05
149,087,967
5
1
null
2023-07-25T15:39:12
2018-09-17T07:45:09
CSS
UTF-8
Python
false
false
366
py
import django from django.test import TransactionTestCase class TestJsonUtils(TransactionTestCase): # Django requires an explicit setup() when running tests in PTVS @classmethod def setUpClass(cls): super(TestJsonUtils, cls).setUpClass() django.setup() def test_identify_json_data_sam...
[ "grusinator@gmail.com" ]
grusinator@gmail.com
c8b71e3b91a871f2dc99627693d550ff4be408fe
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2017_09_01/models/express_route_circuits_routes_table_summary_list_result.py
db62dab03a898b918438cd3d316dd87a3d2c32b5
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
1,251
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 ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
1d5a9de4a037605a35872b62a9cd7204b3ab99ae
a12d46e439d81ba0a60776f46eb60b1a158b8ac1
/pfrl/utils/__init__.py
d632886211326ad92635ea4bae4dc51d21237a3a
[ "MIT" ]
permissive
TMats/pfrl
1b2a529aec210b0e3064182433797460a64f79f5
9c591657a5433b8f23c589e01751408ee5d1dde5
refs/heads/master
2022-12-21T01:27:07.625802
2020-10-07T02:32:20
2020-10-07T02:32:20
284,470,130
0
0
MIT
2020-08-02T13:46:29
2020-08-02T13:46:28
null
UTF-8
Python
false
false
548
py
from pfrl.utils.batch_states import batch_states # NOQA from pfrl.utils.conjugate_gradient import conjugate_gradient # NOQA from pfrl.utils import env_modifiers # NOQA from pfrl.utils.is_return_code_zero import is_return_code_zero # NOQA from pfrl.utils.random_seed import set_random_seed # NOQA from pfrl.utils.pre...
[ "muupan@gmail.com" ]
muupan@gmail.com
ba176ed298b23be1213d8b59e36b441d5f964a2c
235c0b75028efccd508f378032935374444593c6
/allennlp_semparse/fields/knowledge_graph_field.py
669edeabb01190bec2bf5999f39c7f822a14cd83
[ "Apache-2.0" ]
permissive
pdasigi/allennlp-semparse
b1c2ab33ed16e3172d5b8cd7fbfc91683f2eae14
843c9e5a4d15f449c8f11e6c08940d3de3e2a8c7
refs/heads/master
2020-07-22T23:26:32.464901
2019-08-28T23:01:36
2019-08-28T23:01:36
207,366,708
0
0
Apache-2.0
2019-09-09T17:34:27
2019-09-09T17:34:27
null
UTF-8
Python
false
false
23,779
py
""" ``KnowledgeGraphField`` is a ``Field`` which stores a knowledge graph representation. """ from typing import Callable, Dict, List, Set from collections import defaultdict import editdistance from overrides import overrides import torch from allennlp.common import util from allennlp.common.checks import Configurat...
[ "mattg@allenai.org" ]
mattg@allenai.org
96c96efe9ecb296cc2033b388891cae9edfce3eb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_stooges.py
1d4b04a9490a2094070e8d4dab9ac1b03b79dfd3
[ "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
238
py
from xai.brain.wordbase.nouns._stooge import _STOOGE #calss header class _STOOGES(_STOOGE, ): def __init__(self,): _STOOGE.__init__(self) self.name = "STOOGES" self.specie = 'nouns' self.basic = "stooge" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ea00ac9cf0ba38ce3d14ec9351fb5ce1d8ba4246
a72f39b82966cd6e2a3673851433ce7db550429a
/openchat/openchat/models/imagemodel.py
f1310a355504ba28f45bdb8db17b6ed4d232bf6c
[ "Apache-2.0" ]
permissive
linxi1158/iMIX
85841d6b95e1d99ed421a1ac3667658e49cae6fc
af87a17275f02c94932bb2e29f132a84db812002
refs/heads/master
2023-06-09T23:37:46.534031
2021-06-30T12:09:42
2021-06-30T12:09:42
381,608,650
0
0
Apache-2.0
2021-06-30T07:08:40
2021-06-30T07:08:39
null
UTF-8
Python
false
false
2,534
py
import torch from openchat.models.base_model import BaseModel import openchat.config as cfg from openchat.utils.prepare_image import detect_objects_on_single_image from openchat.utils.transforms import build_transforms import cv2 import sys sys.path.insert(0, '/home/datasets/mix_data/openchat/scene_graph_benchmark-mai...
[ "hsslab.inspur@gmail.com" ]
hsslab.inspur@gmail.com
0b25ae4c71c7ade397cad1698cadef5233b1b817
ecb7e109a62f6a2a130e3320ed1fb580ba4fc2de
/reference-code/lambda/cm-premembers-backend/premembers/check/logic/check_asc/asc_item_16_logic.py
8cec4f13cbcf037fbbe58d663cd87397596d2cb4
[]
no_license
nisheeth84/prjs_sample
df732bc1eb58bc4fd4da6e76e6d59a2e81f53204
3fb10823ca4c0eb3cd92bcd2d5d4abc8d59436d9
refs/heads/master
2022-12-25T22:44:14.767803
2020-10-07T14:55:52
2020-10-07T14:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,861
py
import inspect from premembers.repository.const import CheckResult from premembers.common import common_utils, S3Utils from premembers.const.const import CommonConst from premembers.exception.pm_exceptions import PmError from premembers.common import FileUtils, date_utils, aws_common from premembers.check.logic.check_...
[ "phamkhachoabk@gmail.com" ]
phamkhachoabk@gmail.com
82a59df3d48129e6e0810156db4eb099d6a7257b
ca8be92d186022018ce5157a56f365602eb70158
/src/201401/elasticnodes_learn.py
5491db6e1de7ca6752e7bf8183e2f7e825fe4005
[]
no_license
songgz/toys
05a8214cd86b747bb14b0870c1a12be4794299dd
f808e7c4ed1a76db4800c8e1ee6d163242df52cc
refs/heads/master
2020-06-19T15:36:11.175281
2014-09-28T13:54:41
2014-09-28T13:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,659
py
#coding=utf-8 import math from PyQt4 import QtCore, QtGui from PyQt4.QtGui import * from PyQt4.QtCore import * class Edge(QGraphicsItem): Pi = math.pi TwoPi = 2.0 * Pi Type = QGraphicsItem.UserType + 2 def __init__(self, sourceNode, destNode): super(Edge, self).__init__() self.arro...
[ "pingf0@gmail.com" ]
pingf0@gmail.com
fad8cd1b400beabb441d442165b3a8bf0df6762a
cbf9f600374d7510988632d7dba145c8ff0cd1f0
/virtual/XMLProContest/07/b.py
35635e38d107de7b0178f53764dc410a73266496
[]
no_license
sakakazu2468/AtCoder_py
d0945d03ad562474e40e413abcec39ded61e6855
34bdf39ee9647e7aee17e48c928ce5288a1bfaa5
refs/heads/master
2022-04-27T18:32:28.825004
2022-04-21T07:27:00
2022-04-21T07:27:00
225,844,364
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
s = input() if s[0] != "A": print("WA") else: c_count = 0 for i in range(2, len(s)-1): if s[i] == "C": c_count += 1 if c_count == 1: upper = 0 lower = 0 for i in s: if 97 <= ord(i) <= 122: lower += 1 else: ...
[ "sakakazu2468@icloud.com" ]
sakakazu2468@icloud.com
a015ebe3fa675abc13b391e986aad5bcb118daa4
996bc055b89b5e103f345dd26b0883caffd1c9bc
/openstack/identity/v3/region.py
1fdd1c20cda5780cde2af826cfa5caf2581b8f71
[ "Apache-2.0" ]
permissive
starlingx-staging/stx-openstacksdk
be633cedf4740e8788b814eca68039df3de6fe4b
93d4e95536c4824e2197b2a63a4438ff5c60b653
refs/heads/master
2020-03-18T03:00:29.254952
2018-11-23T18:27:59
2018-11-24T01:17:45
134,218,298
1
4
Apache-2.0
2018-11-24T01:17:46
2018-05-21T04:34:40
Python
UTF-8
Python
false
false
1,277
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "tengqim@cn.ibm.com" ]
tengqim@cn.ibm.com
563575c004cb97e9beef32766003f08b7e584b18
da386754e12ed3e251d5fb9091d9416b9f97edc7
/sfepy/discrete/common/extmods/cmesh.pxd
120eceb44f387f87854279f1d9895b7f2a036891
[ "BSD-3-Clause" ]
permissive
nasseralkmim/sfepy
5b5642f084b62632c1ca48035e510f27728e25ab
647f1754bcd4fd103cd19a03ed36cb10ebc8fd15
refs/heads/master
2020-04-06T04:57:21.589694
2016-08-03T12:38:31
2016-08-03T12:38:31
65,736,316
2
1
null
2016-08-15T13:58:01
2016-08-15T13:58:01
null
UTF-8
Python
false
false
3,893
pxd
# -*- Mode: Python -*- """ C Mesh data structures and functions. """ cimport numpy as np from libc.stdio cimport FILE, stdout from types cimport uint32, int32, float64, complex128 cdef extern from 'string.h': void *memcpy(void *dest, void *src, size_t n) cdef extern from 'common.h': void *pyalloc(size_t siz...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
7d84de5d28cd4b40bb4268adbdf0cb11c4199569
8cb8bfd2dae516612251039e0632173ea1ea4c8a
/modules/analyzes/employment/models.py
05c8ebbf391dc038ba5a93dbda7e187bdd3c6fba
[]
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
1,074
py
import datetime from mongoengine import Document from mongoengine import StringField from mongoengine import DateTimeField from mongoengine import ObjectIdField from mongoengine import DecimalField from mongoengine import ReferenceField from modules.analyzes.employment.kat_hesap_tipleri.models import KatHesapTipleri ...
[ "mutlu.erdem@soft-nec.com" ]
mutlu.erdem@soft-nec.com
b8f079041c20484d4c2101a86ff619727d3c3297
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/tenth/rank_2bo9_E.py
52f46a62409f621b8e01543e5c7aa75bed7aa552
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
9c27e79f90e511122a091902cda35327f7f6d46b
2a3de1d5fed001261102c33aed9367bec29aaff4
/joplin_web/_joplin.py
31d17aca3ed146428f56a6687b36be1c06e58392
[ "BSD-3-Clause" ]
permissive
kuyper/joplin-web
0b2a9d274910733cd233d28feaa717f9d21fff5a
7a13b75cbb55741ddfb58767af34c7ad164fec11
refs/heads/master
2020-04-04T11:38:58.871560
2018-11-01T14:20:02
2018-11-01T14:20:02
155,899,112
0
1
BSD-3-Clause
2018-11-02T17:21:46
2018-11-02T17:21:45
null
UTF-8
Python
false
false
9,210
py
# coding: utf-8 # std lib import json from logging import getLogger import shlex from subprocess import Popen, PIPE # django from django.conf import settings # create logger logger = getLogger("joplin_web.command") """ Joplin wrapper for joplin terminal command # run # 1) joplin use notebook to point on ...
[ "foxmaskhome@gmail.com" ]
foxmaskhome@gmail.com
36e370f7a59eb4a0f324af58795cd112dc7ceb73
9a819fc91e17ef9a44e45cf68e76cf696381d06d
/cdk_examples/cdk.out/asset.50ce0df99f68b771fed9c79fa8d531712d8d56eadb6b19697b42dfa31931f8ff/chardet/cli/chardetect.py
2f1156136c9af217a753fafdb0dd5b3a7cf52a9b
[]
no_license
Gautam3994/Dark-Knight
aef1d6383e0785130db75e80ed40f544a120579e
327b2d58851a42da1b707addea73e40fac6a61cc
refs/heads/master
2022-12-01T11:58:39.857379
2020-09-05T18:07:51
2020-09-05T18:07:55
203,866,327
0
1
null
2022-11-24T09:16:18
2019-08-22T20:14:43
Python
UTF-8
Python
false
false
2,764
py
#!/usr/bin/env python """ Script which takes one or more file paths and reports on their detected encodings Example:: % chardetect somefile someotherfile somefile: windows-1252 with confidence 0.5 someotherfile: ascii with confidence 1.0 If no paths are provided, it takes its input from stdin. """ from...
[ "gautam3994@gmail.com" ]
gautam3994@gmail.com
9a0dd6f10c652e2de3589f21c50e5edd3f286226
389569a591284a2adcdc38046114e7b1038afd94
/python-script/trax/remove_duplicate.py
01e34ae3b7890c0987c7795f288b8816e515b37c
[]
no_license
xytysingle/AnnotationTool
b797daf2fd472f602341b16f24fb1ed9b702aef1
a217d4376ceee739e0d8c43515c403133982e86e
refs/heads/master
2020-04-11T18:16:10.438919
2019-07-31T10:21:18
2019-07-31T10:21:18
161,992,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ @Author: Kong Haiyang @Date: 2018-05-21 09:40:31 """ from __future__ import absolute_import, division, print_function import hashlib import os from os import walk import time from PIL import Image from tqdm import tqdm path1 = '/Users/lingmou/Desktop/堆头项目/duito...
[ "2463072824@qq.com" ]
2463072824@qq.com
d3c4e601c45ab7daa7422417c26f7028a4043b80
cd78d84441e69c1fc40b6a6e9e235e7cf6882454
/python/110.balanced_binary_tree.py
e5b1cf1d1f013903993e66591250ea684ad21e5e
[]
no_license
buy/leetcode
53a12d4e0298284a5a2034c88353d0dc195aa66c
da0e834e3f2e3016396fffc96ef943ab9ec58ea4
refs/heads/master
2021-01-13T01:48:01.176632
2015-06-14T06:17:17
2015-06-14T06:17:17
31,863,627
1
1
null
null
null
null
UTF-8
Python
false
false
826
py
# Given a binary tree, determine if it is height-balanced. # For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self....
[ "cliu@groupon.com" ]
cliu@groupon.com
74fca21f256479a3865581a72ae58c5bc5d98d3b
8268afb15bebb260a65c9b4c54ff3a6eb709c7c3
/denoiser/lib_denoiser.py
6d5d8e12ffdb9c77dea02f213f5c263bd84144f5
[]
no_license
edublancas/yass-private
2dc4b5b520c7effbece6f93bf74d39af918b5e29
33e9e83ccd6cc7a333b0199c11cdd81363ced846
refs/heads/master
2021-03-24T12:48:12.715117
2018-12-24T20:22:29
2018-12-24T20:22:29
108,217,478
1
0
null
null
null
null
UTF-8
Python
false
false
3,548
py
import numpy as np from yass.templates import TemplatesProcessor from yass.templates import util as templates_util class SpikeIndex: """Wraps spike index logic """ def __init__(self, spike_index_array, channel_index=None, geometry=None, neighbors=None): self.arr = spike_index_...
[ "fkq8@blancas.io" ]
fkq8@blancas.io
0130e5fb78d51a55447ac03623a3d816d1707af0
c1ee8f22ece4fc39cb94fe19832fcba8e45cf5bc
/프로그래머스/체육복.py
6418eba937f097af343006fbd58235dfaf80fd2e
[]
no_license
JeongHanJun/BOJ
ae6b1c64c5b3226deef2708ae447aa1225333a92
a865624fb0a9291b68f99af8535f708554fa0b41
refs/heads/master
2023-03-31T02:22:58.974437
2021-04-02T02:43:57
2021-04-02T02:43:57
258,809,902
0
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
# 체육복 ''' # testcase #11 실패 코드 def solution(n, lost, reserve): answer = 0 students = [1] * (n+2) for i in reserve: students[i] += 1 for i in lost: students[i] -= 1 for i in range(1, n+1): if students[i] == 2: if students[i-1] == 0: stu...
[ "noreply@github.com" ]
JeongHanJun.noreply@github.com
1a11ad3ef2340b83cae095ecd1d26ec0b98f3411
c18781b5d4440cccbe8c417b277b342579c9ac71
/hhtest_18111/urls.py
c863e4463544e7b92af7261c50383a90703e9fe1
[]
no_license
crowdbotics-apps/hhtest-18111
a21d7f45345b94698951a0758d3dbde72e338d37
1a9a352061667c9a68010321d6c73e863702ff67
refs/heads/master
2022-10-12T05:07:43.157133
2020-06-15T03:40:16
2020-06-15T03:40:16
272,335,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
"""hhtest_18111 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='home') Class-...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4d012607d045af72d09fba80cfd1625c1e627d90
3b7474148c07df7f4755106a3d0ada9b2de5efdc
/training/c26_api_requests/client/lab05_HTTPBIN_GETJSON.py
1e47277097b0a36464989ac7362dd529aaf4bb11
[]
no_license
juancsosap/pythontraining
7f67466846138f32d55361d64de81e74a946b484
1441d6fc9544042bc404d5c7efffd119fce33aa7
refs/heads/master
2021-08-26T05:37:15.851025
2021-08-11T22:35:23
2021-08-11T22:35:23
129,974,006
1
2
null
null
null
null
UTF-8
Python
false
false
291
py
import requests def main(): url = 'http://httpbin.org/get' response = requests.get(url) if response.status_code == 200: response_json = response.json() # Dictionary origin = response_json['origin'] print(origin) if __name__ == '__main__': main()
[ "user.nuage@gmail.com" ]
user.nuage@gmail.com
69443fd6ce76067dbc1afcbe80e1509d0d32777d
411a2fc51902aef288a7382aa3d4950132c2ba7d
/prob_015.py
679c21e047a18f465bc60e6850e0f504ab847378
[]
no_license
bdjackson/ProjectEuler
c73a1f55a9e7995f8674b02dc486bbd433cb6ea7
3517c39ee5ae3e90499ced2ca47b94bef3f2fb8f
refs/heads/master
2021-01-01T19:47:17.902466
2013-11-03T19:07:39
2013-11-03T19:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
#!/usr/bin/env python # ============================================================================ import sys # =========================================================================== # = http://projecteuler.net/problem=15 = # = - - - - - - - - - - - - - - - - - - - - - -...
[ "bjack3@gmail.com" ]
bjack3@gmail.com
45de4b48e69e78beab1276afde0493a05412c0fc
de0bf3ddc4fedc14a24e085007d4babe598d2e66
/generate_col_num.py
a30edd1329a0d56d907ba9f3750e6b63255e1cf6
[]
no_license
Scandium627/usseful_data_fuction
aa5531d71b4f163a3580a9b9302bf55dc5298095
476671e9a5117b587d3dfc6f605e483841c7db1c
refs/heads/master
2022-08-15T08:11:34.602656
2020-05-24T08:09:05
2020-05-24T08:09:05
208,982,165
0
0
null
null
null
null
UTF-8
Python
false
false
2,276
py
import os import pandas as pd import csv def get_files(file_dir): list_fife = [] for root, dirs, files in os.walk(file_dir): for name in files: if name.endswith('py') or name.endswith('css') or name.endswith('html') or name.endswith('js') or name.endswith('vue') or name.endswith('sh'): ...
[ "360134299@qq.com" ]
360134299@qq.com
44c46ba93a07fded493503c407a780d5ac75ad25
11d8e5c2ea583b837469491b25c5f186368e0b78
/test/test.py
d4e137565c58df5475b8473dd7a041ca2d254395
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sloria/pattern
dcd77a9e2de9d31677c28208d4c5a0b7dbae55c8
d1d719540f195f3028e24f4d2e536d73e9fef210
refs/heads/master
2021-01-18T08:48:02.400336
2013-09-22T14:56:25
2013-09-22T14:56:25
11,158,672
1
1
null
null
null
null
UTF-8
Python
false
false
1,288
py
import os, sys; sys.path.insert(0, os.path.join("..")) import unittest import test_metrics import test_web import test_db import test_de import test_en import test_es import test_fr import test_it import test_nl import test_text import test_search import test_vector import test_graph #--------------------------------...
[ "tom@organisms.be" ]
tom@organisms.be
b415842158a3d373c9b8c0d3a087ea55ea60a8a9
f4bf81d4e80468331a09401dbaeef12465aca853
/lib/python/helpers/profiler/prof_util.py
b529b5ece1393da4c6c1318d21f61e7e9cfb71d6
[]
no_license
nottyo/intellibot
45c41d673608a0a1291c6387f9d33ef449f18837
0547d987deaad90260abe33db5284eae9704eb9b
refs/heads/master
2020-12-30T23:59:29.795725
2017-04-10T07:53:59
2017-04-10T07:53:59
86,574,980
1
0
null
2017-03-29T11:37:54
2017-03-29T11:37:53
null
UTF-8
Python
false
false
3,343
py
__author__ = 'traff' import threading import os import sys import tempfile from _prof_imports import Stats, FuncStat, Function try: execfile=execfile #Not in Py3k except NameError: #We must redefine it in Py3k if it's not already there def execfile(file, glob=None, loc=None): if glob ...
[ "traitanit.hua@ascendcorp.com" ]
traitanit.hua@ascendcorp.com
ce54e8f4e1cf1e79e32ead00677082d80c671d90
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/utr.py
c49bc1d2bc8027dc3b30a202a0820fc69fe61ea5
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
b542ddb755239f61ca7234b388116278a6242a35
c163e238d0a0818a613fe107471e7d824febd280
/users/migrations/0001_initial.py
bfb13135d37b1cdf7a5aa6a7e2761d46ee7e1063
[]
no_license
Thxpatoxx/brigido
c6302bee8e353e0b68c6f98b4b96f899b8de9d98
58a5c3bdda15ce2f5acc6400251faadef3552d8a
refs/heads/master
2020-09-12T22:27:40.537696
2019-11-19T02:54:40
2019-11-19T02:54:40
222,579,885
0
0
null
null
null
null
UTF-8
Python
false
false
6,464
py
# Generated by Django 2.2.7 on 2019-11-19 00:19 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('aut...
[ "tu@ejemplo.com" ]
tu@ejemplo.com
7a542dffb43bea50b4904ad35af6bd28f8eb9309
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/read_pyexcal_20201111165203.py
37ff68e7a0fcf5143221bdcfbab09e0d81af48b8
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
from openpyxl import load_workbook # wb = load_workbook(filename = 'empty_book.xlsx') # sheet_ranges = wb['range names'] # print(sheet_ranges['D18'].value) # wb = load_workbook(filename= "empty_book.xlsx") # sheet_ranges = wb['range names'] # print(sheet_ranges["D12"].value) wb = load_workbook(filename = "empty_book...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
313a803ee823c95518610dc7129331ac6979b773
f200708b8e5a67074f6c805a736311e9b1637532
/django_base/mysite3/bookstore/urls.py
76d264928b1d3498fb92d6293e248ff485af607f
[]
no_license
vivid-ZLL/tedu
48b78951eae07f5f0433ba85f7cc4e07cd76011d
319daf56d88e92f69ee467e0ccf83c01367ed137
refs/heads/master
2021-04-23T22:40:11.391574
2020-01-25T11:26:56
2020-01-25T11:26:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.conf.urls import url from . import views urlpatterns = [ url(r"^add_book", views.add_view), url(r"^add_auth",views.auth_view), ]
[ "283438692@qq.com" ]
283438692@qq.com
ee45c47184689072aa55d84bb11c3d5e6ca2b91b
40a1ca8ddbdcd96a58703913f98b29b435a42745
/antipodes average.py
99638ba6aad58bc25581fe72ccc0789c1d462ff9
[]
no_license
GaganDureja/Algorithm-practice
3eaca2cfc03fcee3671b87b5efda1f950fd36212
d40e08287754594d016801a093becc3f69f4bcc1
refs/heads/master
2023-05-06T11:58:35.471799
2021-06-01T03:49:58
2021-06-01T03:49:58
292,361,813
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#Link: https://edabit.com/challenge/oF8T7Apf7jfagC4fD def antipodes_average(lst): l = len(lst)//2 left = lst[:l] right = lst[-l:][::-1] return [(a+b)/2 for a,b in zip(left,right)] print(antipodes_average([1, 2, 3, 4]))
[ "gagandureja675@gmail.com" ]
gagandureja675@gmail.com
4463a41f0e2d05814c9a3f223ac97c262569bd68
f8dd8d046100f1223713e047074f30c7ce5a59cd
/testing/epilogue/utils/cache_utils.py
144e4fb20c3dfeaab976cb3fcc6260d51ccc9cdd
[]
no_license
dotslash227/98fitcortex
57aed99270799eff68fdff62db0b8c1d9aabd4a2
bd4002151e5def00c3dea1f5a1abfb06ba3e809a
refs/heads/master
2022-12-17T00:51:20.302948
2019-02-27T13:54:22
2019-02-27T13:54:22
197,362,824
0
0
null
2022-12-08T00:02:42
2019-07-17T09:55:14
HTML
UTF-8
Python
false
false
3,107
py
import functools import datetime import types from django.utils import timezone from django.core.cache import cache KEY_TEMPLATE = "%d_%s" #Template for cache "userid_key" modules = types.SimpleNamespace() modules.SLEEP_LOGS = "sleep_logs" modules.SLEEP_AGGREGATE = "sleep_aggregate" modules.SLEEP = "sleep" modules....
[ "shikhar.chauhan@live.com" ]
shikhar.chauhan@live.com
25c41d6ca45c55f09b718638c22bb3d7861e20cd
66a530b297725b1a2d1c95f95883145c04614ae1
/0x08-python-more_classes/6-rectangle.py
fa82234524d1f9de24bfbba4566ad040c31042c0
[]
no_license
Yagomfh/holbertonschool-higher_level_programming
4e6f28186eae18eaba60017fe49ac446a02cbdc5
1d15597a6040a8ee15b08447c478d0a2e79b5854
refs/heads/main
2023-04-23T18:23:28.096644
2021-05-18T08:12:27
2021-05-18T08:12:27
319,253,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
#!/usr/bin/python3 """This module defines a rectangle""" class Rectangle(): """This class defines a empty rectangle """ number_of_instances = 0 def __init__(self, width=0, height=0): """Initialise a rectangle Args: width (int): width of the rectangle height (i...
[ "yagomfh@gmail.com" ]
yagomfh@gmail.com
01302c0d283cbbef5b6f0169d78465af038bf961
27044bb88c709e7ffa5278afc7c81f37e0b6e9e4
/venv/lib/python3.10/site-packages/markdown_it/ruler.py
c71264120d1f324a87b4d9d9255195460684a7f9
[]
no_license
mesaye85/organika_Inventory_project-with-React-
48c93efb6aba64d5e9310c57e4c5a06d3f2cc502
6aa3d29e8be3e22b8dc9163d558cdcc8c9122fd1
refs/heads/main
2023-02-19T10:11:47.880754
2023-02-14T01:55:43
2023-02-14T01:55:43
298,101,393
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/7b/f1/76/7fc82ff783abb8aa49b96dfce8dee15abcd460b56b76733317d2895dad
[ "67935330+mesaye85@users.noreply.github.com" ]
67935330+mesaye85@users.noreply.github.com
e26cb78ff75c0518fef95e5020ff201bdd5bfd96
afd7207ec79198ed8b515c66a4ff951692fc5756
/Backend/users/views.py
005de0eee1fc2083a3fa4f7aa1f26b3fb1605619
[]
no_license
mdarifulislamroni21/Backend-project
469e58ee1c8395a56f45434efc238eccd2adea77
4a999c7cb520c811fb0a051015822944f5d8479d
refs/heads/master
2023-06-24T19:55:57.562157
2021-07-23T08:39:37
2021-07-23T08:39:37
388,731,430
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
from django.shortcuts import render from form.models import main_user,buyproduct from form.form import main_users,buyproducts # Create your views here. def s_user(request): load_main_user=main_user.objects.order_by('user_name') diction={'main_user_data':load_main_user} return render(request,'pages/main_pag...
[ "mdarifulislamroni21@gmail.com" ]
mdarifulislamroni21@gmail.com
3ab3b1e47de5a98b1b9f8d73aaef599497dfd142
3f01eb21ce140e6e8d6e9f6c037a0ed3acfd0e1b
/Project_Test_GEOJSON.py
2c5c2aa244467c86920f0fcf229c09a9a7a1789c
[ "MIT" ]
permissive
manushah17/Capstone_2019
01d45e3d8f925dac88c1911d853ec1b8762d5b1f
381094fc778906810e13d7611bfdb2c74cac326e
refs/heads/master
2022-12-16T21:08:29.385969
2019-09-07T15:08:42
2019-09-07T15:08:42
206,984,224
0
0
MIT
2022-12-08T01:22:56
2019-09-07T15:04:22
HTML
UTF-8
Python
false
false
6,594
py
import pandas as pd import googlemaps import json import datetime from pandas import DataFrame import logging import os from shapely.geometry import shape, Point import psycopg2 from django.conf import settings from googlemaps import Client #TODO - MAP THE DATABASE CREDENTIALS USING ENV VARIABLES #Get lat long details ...
[ "manushah@unomaha.edu" ]
manushah@unomaha.edu
e8dd6d093db04e14c283f3fd1568fca70c9c39bb
b8b26feac86b66b0b534996cf9c3fbf7ec660240
/codejam/18/0q/b-trouble-sort.py
1eb82f601040fa07b503be04eeaee11988becb31
[ "MIT" ]
permissive
neizod/problems
775fffe32166c5b124d0e4c973b8d0aba7f3900b
180aaf7d0ecfc3d0dd5f1d4345a7a4d83b1b884a
refs/heads/master
2021-07-08T12:30:31.100320
2021-05-26T09:34:19
2021-05-26T09:34:19
6,245,523
1
0
null
null
null
null
UTF-8
Python
false
false
638
py
#!/usr/bin/env python3 from itertools import count def trouble_sort(ls): ls[0::2] = sorted(ls[0::2]) ls[1::2] = sorted(ls[1::2]) return ls def check_trouble_sort(ls): ls = trouble_sort(ls) it = iter(ls); next(it) for index, a, b in zip(count(), ls, it): if a > b: return ...
[ "neizod@gmail.com" ]
neizod@gmail.com
ba38f0f9fe91ce95584b1cdebbee4b4300ddff82
31c75012d7b1e86bc12c0b3bcc811e6b6acb5e6f
/tests/test_utils_pcap_utils.py
e1c9248d6c474a433d0df011161937ba1ffd3d10
[ "Apache-2.0" ]
permissive
lostminty/NetML-arff
46b3228ef233e00141894f34245acbb896a4f9fa
11e933f8772f8502f5b45acf226eaab08abfb090
refs/heads/master
2023-04-07T10:42:49.202946
2020-01-06T21:42:49
2020-01-06T21:42:49
228,263,765
0
0
Apache-2.0
2023-03-31T14:49:53
2019-12-15T22:45:41
Python
UTF-8
Python
false
false
2,268
py
from networkml.parsers.pcap.pcap_utils import extract_macs from networkml.parsers.pcap.pcap_utils import extract_protocol from networkml.parsers.pcap.pcap_utils import extract_session_size from networkml.parsers.pcap.pcap_utils import is_external from networkml.parsers.pcap.pcap_utils import is_private from networkml.p...
[ "clewis@iqt.org" ]
clewis@iqt.org
23c31ae42243e1603913f6239aa8310c2ae362a8
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Twitter/Tweets/StatusesDestroy.py
07e9c00de2b583db36cbd869f08bd139b4004dfe
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
4,450
py
# -*- coding: utf-8 -*- ############################################################################### # # StatusesDestroy # Deletes a specified status. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file exc...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
d3fe008be694769fe5816841e56399d04c7fc6fe
8f70ad12af7eba07efa52eb29b8f99ed3900dbb9
/AGTGA data/AGTGA/LifeHack/LifeHack 2/TestSuite/TestSuite/TestCase06.py
19733c6a1b7ac5041c28934fdfc987459aa9461d
[]
no_license
Georgesarkis/AGTGARowData
768952dc03dc342bcbe0902bf2fb1720853d0e14
e1faa7dc820b051a73b0844eac545e597a97da16
refs/heads/master
2022-10-01T17:06:04.758751
2020-06-05T07:25:41
2020-06-05T07:25:41
267,772,437
0
1
null
null
null
null
UTF-8
Python
false
false
829
py
import time from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from TestSuite.TestSuiteHelper import ElementFinder port = 'http://localhost:4723/wd/hub' driver = webdriver.Remote(command_executor=port, desired_capabilities={'automationName' : 'UiAutomator2','deviceName':...
[ "32592901+Georgesarkis@users.noreply.github.com" ]
32592901+Georgesarkis@users.noreply.github.com
2d8d20e898416a657352704a147c29c99f0df41e
18508cea9458b2879017b44e6f18520cd8cf4f6c
/UCMDBPython/src/netutils.py
0617df9d5148b86b64c6df36f77062f8a832eb45
[]
no_license
kvt11/dd-git
7d4935962e06d835ad0023c4abb185876a5a9e77
49aafa7081b861c5f6d0e1753b425e78948116d0
refs/heads/master
2022-11-23T19:03:19.763423
2016-04-04T14:54:18
2016-04-04T14:54:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
50,069
py
#coding=utf-8 """ This library can be used to retrieve network and TCP information, such as getting the Operating system name, checking if a MAC Address is valid, check if an IP Address is valid etc. """ from __future__ import with_statement from contextlib import contextmanager from java.net import InetAddres...
[ "bluesteelkc@gmail.com" ]
bluesteelkc@gmail.com
5d868440f1095331ef8563a58ada332644b08b8f
684a9016bf00e132eab3c9cf4534639ae096cfc5
/Main/dlnaupnpserver/sqlalchemy/orm/state.py
76fddc6212122041936936f6953254fc5271f81d
[ "BSD-3-Clause", "MIT" ]
permissive
pszafer/dlna_upnp_invention
d97a0c641d1d7b170378f0fad5b978d8e5576966
497d173a9e3883412dbbb17cafa826a0394ff849
refs/heads/master
2021-01-02T09:35:04.628203
2012-07-10T15:02:53
2012-07-10T15:02:53
1,980,638
4
1
null
null
null
null
UTF-8
Python
false
false
17,589
py
# orm/state.py # Copyright (C) 2005-2011 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Defines instrumentation of instances. This module is usually not directly visible to ...
[ "pszafer@gmail.com" ]
pszafer@gmail.com
7f55ae48c78a49d9999ea1b01e0ad976109446fb
61be48226158a3f4f24a7e465f511397e98ce7a9
/05 Spider/爬虫案列/taobao.py
fa6eae77d89ba8b965f382a29d0951aef8b56dde
[]
no_license
yangzongwu/mynote
9f9e1eddf9c589d3063c8ba1f07e81e269997ddc
ee38af9b63652b917dd78a7d253d6efd41276f10
refs/heads/master
2023-02-18T01:52:22.338777
2021-01-20T06:35:12
2021-01-20T06:35:12
255,619,657
0
0
null
null
null
null
UTF-8
Python
false
false
3,547
py
import requests from lxml import etree import json import time def tbSearch(input='孤独星球',n=10): cookie='thw=cn; UM_distinctid=17226824d596e0-0575a27ff0dfc5-d373666-100200-17226824d5a672; cna=B6scF9WLgnACAXANP9/aEdRn; _m_h5_tk=ce77126788aaaaf8c8f5f1d0e5357a30_1596783335113; _m_h5_tk_enc=428da61375cb4c464acdbc54c144...
[ "yangzong5@gmail.com" ]
yangzong5@gmail.com
28c55f04edb78696643ed582fe5f5af8380b09c7
c68b99bf1671d1fb5a1a5a0d6df7bb164dd1d20d
/Medium/394-DecodeString.py
4af7e17cc5a884ed7770314baf35d36aaface6e3
[]
no_license
r50206v/Leetcode-Practice
8db9333e2e3d2a335f439d7e9e57e8c36b69ae6d
f9302e93c441f06cc14949605da20978c4289202
refs/heads/master
2022-05-17T18:09:48.857263
2022-04-27T01:02:12
2022-04-27T01:02:12
192,258,017
0
1
null
null
null
null
UTF-8
Python
false
false
917
py
''' Iteration + 2 Stack Time: O(N) Space: O(m + n) m: the number of letters in s n: the number of numbers in s ''' class Solution: def decodeString(self, s: str) -> str: result = "" strStack = [] countStack = [] base = "" for index in range(len(s)): ...
[ "r50206v@gmail.com" ]
r50206v@gmail.com
863f4da890f4e1a30367db93383f73c09e951f1c
9ac99a99dc8f79f52fbbe3e8a5b311b518fe45d9
/apps/lms/api/services/LMS_SurveyTemplateService.py
6c4bd27a38f6d95a6418cab80b7915b8834b249a
[]
no_license
nttlong/quicky-01
eb61620e01f04909d564244c46a03ca2b69dfecc
0f5610aa7027429bdd9ca9b45899a472c372c6cc
refs/heads/master
2020-03-25T17:45:31.633347
2018-11-27T15:02:30
2018-11-27T15:02:30
143,994,145
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
from bson import ObjectId from .. import models import logging import threading from .. import common from ..views.views import SYS_VW_ValueList import qmongo def get_list(args): searchText = args['data'].get('search', '') pageSize = args['data'].get('pageSize', 0) pageIndex = args['data'].get('pageIndex', ...
[ "zugeliang2000@gmail.com" ]
zugeliang2000@gmail.com
63aa115716ff7fe5f2eaf64fe7b6afc4667e0365
d4280eca1a9badb0a4ad2aa22598616eedece373
/Tools/repleace.py
04ff63a750e4afd2bcff0e396159483b20cd2d02
[]
no_license
Little-Captain/py
77ec12bb2aaafe9f709a70831266335b03f63663
74ba3c3449e7b234a77500a17433e141e68169f7
refs/heads/master
2021-06-09T11:33:23.205388
2019-11-22T01:17:44
2019-11-22T01:17:44
131,844,918
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
#!/usr/bin/env python import os folders = filter(os.path.isdir, os.listdir()) for folder in folders: os.chdir(folder) try: process = os.popen('git remote -v') output = process.read() output = output.split() output = output[1] output = output.replace('172.31.103.221', 'ww...
[ "littlecaptain@foxmail.com" ]
littlecaptain@foxmail.com
34720c2c7fb2d14e18209377a6429e1ffb825f7b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_getting.py
12500bcd909462b932ec388267fef20736df99a6
[ "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
223
py
from xai.brain.wordbase.verbs._get import _GET #calss header class _GETTING(_GET, ): def __init__(self,): _GET.__init__(self) self.name = "GETTING" self.specie = 'verbs' self.basic = "get" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0d5933e334cdf1f8a9aa2c79d39b3949cd95af95
db303c68682dfd18965a04026ff14e15c1ba6120
/ch09/ans89.py
48bb019536f5610904e0a23682919dd0e224fdf9
[]
no_license
Toshiyana/nlp100v2020
1a89f164de0c720da6d42c19b3fa60f8013d662c
37d4d208d5d527d163356793b630f36eb7595779
refs/heads/master
2023-07-15T15:01:28.454515
2021-08-21T13:20:03
2021-08-21T13:20:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
from tqdm import tqdm import torch from torch import optim from torchtext import data from transformers import BertForSequenceClassification def eval_net(model, data_loader, device='cpu'): model.eval() ys = [] ypreds = [] for x, y, _ in data_loader: with torch.no_grad(): loss, logi...
[ "upura0@gmail.com" ]
upura0@gmail.com
ef72c65accec37d5eb0fb33a531bfa3395a4a130
74e8b6ad9fa20b6caa61f7ced4825442f671f506
/curator/__init__.py
a9b39d35f54f3dab18f6bc3ed85d95b68be2e251
[ "Apache-2.0" ]
permissive
agent001/curator
2297191ea05903cdca5f2510b6423cf333961ef5
86fd4af224bbb1eb7993b754e47cd67e32f10d7a
refs/heads/master
2021-01-18T23:06:19.334462
2016-07-14T16:23:34
2016-07-14T16:23:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from .exceptions import * from .settings import * from .logtools import * from .utils import * from .indexlist import IndexList from .snapshotlist import SnapshotList from .actions import * from .cli import * from .repomgrcli import *
[ "aaron@mildensteins.com" ]
aaron@mildensteins.com
12e4bdeb469eebeac17b5a318bd159f07f6041d2
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_6404600001200128_1/Python/DaniTunes/p1.py
cffa3f03a45fe53db87b1c794440401ea7e6dd94
[]
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
477
py
#!/bin/env python # google code jam 2015 problem 1 def solve(ms): a = 0 n = len(ms) md = 0 for i in range(1, n): d = ms[i-1] - ms[i] md = max(d, md) if d > 0: a += d b = 0 for i in range(0, n-1): b += min(ms[i], md) return a, b tests = int(raw_input()) for k in range(tests): ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
043b8011270462a6381d0d82af17f50853f783bf
ad38b9a924911b3249b9ffec01d78a2b1048fa0d
/动态调试/Immunity Debugger v1.73/Lib/test/test_codecs.py
8fa88f2f004f4d8c0464c32276983eb47d5b05a9
[]
no_license
h3len/HackerToolBox
77c5a45553784d20104db21ac5fe8f840ca519a6
4397b0c25cfd0eb3f92484f396745cc664af2531
refs/heads/master
2020-04-04T22:57:47.376773
2018-10-10T15:43:06
2018-10-10T15:50:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
45,219
py
from test import test_support import unittest import codecs import sys, StringIO, _testcapi class Queue(object): """ queue: write bytes at one end, read bytes from the other end """ def __init__(self): self._buffer = "" def write(self, chars): self._buffer += chars ...
[ "redleavessun@gmail.com" ]
redleavessun@gmail.com
23953d581f20bd506f4a54c433e69cc12562b56e
5864e86954a221d52d4fa83a607c71bacf201c5a
/uthread/__init__.py
0baa971480f6994ce969c32ebb529f9c2f5428d3
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
22,798
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\uthread\__init__.py __version__ = '0.1' __license__ = 'Python Microthread Library version 0.1\nCopyright (C)2000 Will Ware, Christian Tismer\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentati...
[ "le02005@163.com" ]
le02005@163.com
273b566fe8b621e0c00df877720cd345330a2152
2f1adce65fbec7509782be2bc50a5025c45e8dc0
/backend/tiktok_lite_27297/urls.py
ceb8168dbf6d08c9fdf3dd1110a16ad81f532e2b
[]
no_license
crowdbotics-apps/tiktok-lite-27297
041a6ef444ed33d8ee342a797171e6ecbc3bde6d
2c1796662d3f4cb0c9fa452520621ade2f3f957f
refs/heads/master
2023-05-04T09:48:23.399812
2021-05-23T21:19:50
2021-05-23T21:19:50
370,159,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
"""tiktok_lite_27297 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='home') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
315294feedef65535c8cb675b0557e0718d5e388
1eee2c9c105148904d0fb47cee227cfd20241b76
/cutils/setup.py
4b8f01285208f2e111388993010a95b9ade689a3
[]
no_license
fred-hz/zeta
be9f6f466b75767cc1a45a4004d1c84e5d559b6b
e7b631447fff6e58928d6ac15702338b7cc8e3e7
refs/heads/master
2021-09-05T01:03:31.387379
2018-01-23T04:15:58
2018-01-23T04:15:58
118,187,345
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
from distutils.core import setup, Extension import numpy from Cython.Distutils import build_ext setup( cmdclass={'build_ext': build_ext}, ext_modules=[Extension("rank", sources=["_rank.pyx", "rank.cpp"], language="c++", include_dirs=[numpy.get_include()])], )
[ "zibo_zhao@berkeley.edu" ]
zibo_zhao@berkeley.edu
4f810e9abaca21391af002ed8d1c9698941921e4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_243/ch116_2020_03_31_22_45_24_453815.py
400553a42665308fa6ffd15da0619b304d274ada
[]
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
160
py
def raiz_quadrada(x): i=1 num=0 while x>=0: num==x-i i+=2 if num==0: raiz=num/i print (raiz)
[ "you@example.com" ]
you@example.com
c07b661a1ea80740df76e137477763e6ae83bce8
27c12a37b58548c1b3ace6184d452cdcf4128168
/src/neurounits/visitors/__init__.py
7af18da334fdbb01db0248858e6ceb7c81b0cbb6
[]
no_license
stevemarsh/NeuroUnits
48ca63b42ee74bf3a3d3107aa86e50d1c9aa4bc2
350663588f7d6f4cf85c1472debc1d2312b877e8
refs/heads/master
2020-12-25T16:13:56.983904
2013-03-29T12:19:32
2013-03-29T12:20:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
#!/usr/bin/python # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions...
[ "mikehulluk@googlemail.com" ]
mikehulluk@googlemail.com
a43b24f70964cf35080f97edde3f21e4610f166d
21a341a52b0305c70def05a141243cc46160cd0d
/esp/main.py
7bd5f8cf81395f548c29257f1a9a6c5b5ce8ff85
[ "MIT" ]
permissive
BPI-STEAM/mpy-flasher
980c9084fec9108a316f70a965c7c8ee032da385
03a1be35ae2e0aaafb71ea6fb7adcfce823e7717
refs/heads/master
2020-05-25T03:38:08.464466
2019-05-28T05:14:02
2019-05-28T05:14:02
187,608,277
5
4
MIT
2019-11-02T21:20:18
2019-05-20T09:19:44
Python
UTF-8
Python
false
false
4,127
py
#!/usr/bin/env python # coding: utf-8 ''' @File :erase.py @Author :youxinweizhi @Date :2019/3/28 @Github :https://github.com/youxinweizhi ''' import esp.control import sys import time from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox from esp.mainWindow import Ui_Form from PyQt5.QtCore import QTime...
[ "junhuanchen@qq.com" ]
junhuanchen@qq.com
9777359834936fdc8271ec94988ad65e6584a4ce
031dbb2a3ea47a0483db310db9f98796cc83c500
/658_Find K Closest Elements.py
f6a1201e4d36fb08d5c4bbdcd397c0ad6874f1d6
[]
no_license
Shwan-Yu/Data_Structures_and_Algorithms
429fb127983e32931f2168f44ef1484c1cc4c87f
9126c2089e41d4d7fd3a204115eba2b5074076ad
refs/heads/master
2020-03-27T11:46:59.947303
2019-08-23T15:15:21
2019-08-23T15:15:21
146,507,496
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
class Solution(object): def findClosestElements(self, arr, k, x): """ :type arr: List[int] :type k: int :type x: int :rtype: List[int] """ # O(lg(n-k)) keep track of the interval l, r = 0, len(arr)-k while l < r: mid = (l+r)//2 ...
[ "noreply@github.com" ]
Shwan-Yu.noreply@github.com
a0cb2913c3bfaa4b5be6c7b4e94e17a951198076
9ef548f1e5457a18fe56f5c38d84cb835f98c7c3
/main/seq2seq.py
073d6fac5e16077011a0df330a49fa70b2ae6a9c
[]
no_license
sarikayamehmet/txt-summarization
00c799535a5e1513fa35ac476eb094e8fbb16042
132340e2ba75497793686841b819abb35c47d76d
refs/heads/master
2020-11-25T09:17:41.299564
2019-05-27T20:53:16
2019-05-27T20:53:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,767
py
import torch.nn as nn import torch.nn.functional as f from main.encoder import Encoder from main.reduce_encoder import ReduceEncoder from main.decoder import Decoder from main.encoder_attention import * from main.decoder_attention import DecoderAttention from main.common.vocab import * from main.common.common import *...
[ "leangsotheara@gmail.com" ]
leangsotheara@gmail.com
a7c89e3ba731b9cccd6ce9f60d3b144001fa296b
bc02e2c69f425e03b609f466b0a2d52a455765dc
/1212/1239. Maximum Length of a Concatenated String with Unique Characters.py
662a56e27f9c558011a42f71d223602f521d25f4
[]
no_license
gaberani/AlgorithmStudy
d795f449fe185c3993df90173f27b7eb74e02366
6d9d20ac29446d22f2e0ef7037f131c4a2f48762
refs/heads/master
2023-02-03T03:24:45.039238
2020-12-22T12:53:52
2020-12-22T12:53:52
287,101,596
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# Given an array of strings arr. # String s is a concatenation of a sub-sequence of arr which have unique characters. # Return the maximum possible length of s. # 1 <= arr.length <= 16 # 1 <= arr[i].length <= 26 # arr[i] contains only lower case English letters. class Solution(object): def maxLength2(self, arr): ...
[ "khs0783@naver.com" ]
khs0783@naver.com
bfe2190a8c6124aa6bad4f012e9a3873003340da
83e21dcd88961e01d7b6d76c1e7d3e0c405bb7a2
/tests/components/climate/common.py
4ac6f553091470acdb1d8908a859bc38e18e9aee
[ "Apache-2.0" ]
permissive
skalavala/home-assistant
0a61886a8e399d6c46bf791927a69557edfdebb3
66d6db7934db1af0c560ccffd92cf4a114ef5841
refs/heads/dev
2020-04-04T11:35:24.377362
2018-11-02T17:40:05
2018-11-02T17:40:05
155,896,654
3
1
Apache-2.0
2018-11-02T17:00:10
2018-11-02T17:00:09
null
UTF-8
Python
false
false
3,373
py
"""Collection of helper methods. All containing methods are legacy helpers that should not be used by new components. Instead call the service directly. """ from homeassistant.components.climate import ( _LOGGER, ATTR_AUX_HEAT, ATTR_AWAY_MODE, ATTR_FAN_MODE, ATTR_HOLD_MODE, ATTR_HUMIDITY, ATTR_OPERATION_MODE, ...
[ "paulus@home-assistant.io" ]
paulus@home-assistant.io
91aecef65480009d7dbbe337141cf68bbe514f8a
6f56da8db171d4a6c006b5d944437bf061069faf
/XCat.v.0.0.1/source/healpy/query_disc_func.py
860b9d7fb4bfb7b36c397658f7cf006776b6d060
[]
no_license
afarahi/XCat
16819bef7087e994907c413dd6331cdebde72ffb
498602eb7f61696d169f071185115345c68bcf86
refs/heads/master
2021-01-21T01:59:36.907059
2013-05-03T05:12:07
2013-05-03T05:12:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,163
py
# # This file is part of Healpy. # # Healpy 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 2 of the License, or # (at your option) any later version. # # Healpy is distributed in the h...
[ "aryaf66@gmail.com" ]
aryaf66@gmail.com
b3c8d616e489ff6dc141e07a0074a2878e1459bc
48e9d0e84238daf0de290551e3588e9ff3f49549
/api/apiget.py
e4a87a5f3719acb9b9a59313730984215342957e
[]
no_license
celord/PythonGreencore
9606af569738703b66d80bce6e423c9a313fa539
259aadcc346203f8092f6c6d286e3fca2e9fc550
refs/heads/master
2020-05-30T23:18:15.542876
2019-06-19T14:39:59
2019-06-19T14:39:59
190,014,113
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
import requests import json token = "55d87efda345913f136102ce791c622ffe7341c74dcb4790c9d0e463edc831d1" headers = {"Authorization": token} r =requests.get('https://api.ciscopark.com/v1/people/me', headers = headers) r.status_code
[ "celord@gmail.com" ]
celord@gmail.com
928a56ae707e69d076cea2ac6ee12b17377f62d2
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-5059.py
accd3455111575581c05047eebbcc728bcb55a1a
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,292
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1a8cd084b7d6fe1ca312a37929a9ebd93b0edb00
2337351b228818e41be3002bd38f68f77c2aa074
/services/datastream/models/prefix.py
0d10a5ac433def71fd723d7eb22131d738db29e8
[ "BSD-3-Clause" ]
permissive
nocproject/noc
57d40c680a1499374463e472434f9595ed6d1374
6e6d71574e9b9d822bec572cc629a0ea73604a59
refs/heads/master
2023-08-31T01:11:33.544573
2023-08-30T17:31:11
2023-08-30T17:31:11
107,815,776
105
33
BSD-3-Clause
2023-07-31T07:57:45
2017-10-21T21:04:33
Python
UTF-8
Python
false
false
1,077
py
# ---------------------------------------------------------------------- # prefix datastream model # ---------------------------------------------------------------------- # Copyright (C) 2007-2021 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Pyth...
[ "dvolodin7@gmail.com" ]
dvolodin7@gmail.com
6c7421dce123b13a65b46ab1af4a596e22aae589
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/required_field_1.py
277122f083ebb95072706186a5e5838369bac68f
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
650
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.required_field_name_1 import RequiredFieldName1 __NAMESPACE__ = "http://www.travelport.com/schema/common_v52_0" @dataclass class RequiredField1: """ Parameters ---------- name The name of the re...
[ "chris@komposta.net" ]
chris@komposta.net
6f436c757d9095dc9ac7eb488a5fbd3eba77d8c0
990e7410c3debec7332ba09aa4c6504127ba2638
/examples/opengl/opengl_core.py
7dd09a10fd535cba1b54058f2e5fed71c6e3bdd8
[ "LicenseRef-scancode-free-unknown", "BSD-3-Clause" ]
permissive
nachogon1/pyglet
2b2699703b16118cb33dd009857e3cccccccf8ab
d6a85579f24a48e5f8e3e9f59f7bd9d5ebf2b049
refs/heads/master
2023-08-23T16:43:13.609153
2021-10-28T00:46:52
2021-10-28T00:46:52
422,730,754
0
0
BSD-3-Clause
2021-10-29T22:45:17
2021-10-29T22:45:17
null
UTF-8
Python
false
false
3,702
py
import pyglet from pyglet.gl import * # pyglet.options['debug_gl_shaders'] = True window = pyglet.window.Window(width=540, height=540, resizable=True) batch = pyglet.graphics.Batch() print("OpenGL Context: {}".format(window.context.get_info().version)) ########################################################## # ...
[ "benmoran@protonmail.com" ]
benmoran@protonmail.com
77416c87f4746c644da799b5cdbf2cdc286c0c90
afde521f50b6be4be9e5c3071ed6459419fb5edb
/env/lib/python3.6/site-packages/pyecharts/engine.py
ce7dc39427d98ca1b9afb790031a3c753cbd7f7a
[]
no_license
guhongcheng/myblog
ddef4aa0888dedfb70933b34bfd0c5da5bb5d5cd
b11f5ee26125b9551b1f27814b96a845dd4e6a76
refs/heads/master
2022-12-18T20:26:46.596014
2018-07-26T02:46:07
2018-07-26T02:46:07
134,683,127
0
0
null
null
null
null
UTF-8
Python
false
false
8,886
py
# coding=utf-8 from __future__ import unicode_literals from jinja2 import Environment, FileSystemLoader, environmentfunction, Markup from lml.plugin import PluginManager, PluginInfo import pyecharts.conf as conf import pyecharts.constants as constants import pyecharts.utils as utils from pyecharts_javascript...
[ "1051712303@qq.com" ]
1051712303@qq.com
b3943be483dc16b387eb116bc05a852c68759105
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/simulation_research/tf_risk/run_replication_experiment.py
3bd791c79eb4c0c8b6f9bf723fd6e1026baa1856
[ "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
8,615
py
# coding=utf-8 # Copyright 2022 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
f3832061ad2374d819506a18348aa03d27a95d26
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_slipped.py
b9ab1c3a9d8d932d06c99f0ba3cd3a162dee6b49
[ "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
228
py
from xai.brain.wordbase.nouns._slip import _SLIP #calss header class _SLIPPED(_SLIP, ): def __init__(self,): _SLIP.__init__(self) self.name = "SLIPPED" self.specie = 'nouns' self.basic = "slip" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d41b809d954f96b6e5eed80c4f4f724e850412aa
d7bc683cc14198ba4b1ae9193f7feaec1808e9f3
/python练习题/day01/Check variable type.py
2ad3cf67da0abeab24045e029c5e21b4fb137f79
[]
no_license
yuanshaohui/python-learn
8bd4e6a0a5cc0ed622e32bdf0c9e833460ee3b90
8c9c6ecccb4219e29fec7593e9bc4b45e218da3e
refs/heads/master
2021-03-14T09:44:50.142244
2020-03-21T13:48:18
2020-03-21T13:48:18
246,756,738
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
""" 检查变量类型 Author:袁亮亮 Date:2019-11-19 """ a = 100 b = 100.1 c = "字符串" d = 10 + 5j e = True print(type(a)) print(type(b)) print(type(c)) print(type(d)) print(type(e))
[ "123456@qq.com" ]
123456@qq.com
93356333e90c6fe3292e1d0888ed82cba15329c5
28510f9d380272777be446665be6bdbf784b07d1
/tensorflow_federated/python/learning/personalization_eval_test.py
5088671af269fb35b2381cca9250e37c1e3f349d
[ "Apache-2.0" ]
permissive
00mjk/federated
b6d5d1988dc999e60c2e3478aaae37a402e0e8c6
11caa7569ed00a8fa590f25761747d0ee09504a5
refs/heads/master
2023-04-09T07:21:09.469878
2021-04-22T20:47:52
2021-04-22T20:59:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,153
py
# Copyright 2020, The TensorFlow Federated 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 o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com