blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
e2ecb84e7bd187dde19acd1f4467e2a943701ecb
1d1a21b37e1591c5b825299de338d18917715fec
/Basic/Algorithm/Tree/Tree_test.py
8907d8300a5582d22c45d515f149b72b7b0b5ba6
[]
no_license
brunoleej/study_git
46279c3521f090ebf63ee0e1852aa0b6bed11b01
0c5c9e490140144caf1149e2e1d9fe5f68cf6294
refs/heads/main
2023-08-19T01:07:42.236110
2021-08-29T16:20:59
2021-08-29T16:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,366
py
class Node: def __init__(self, value): self.value = value self.left, self.right = None, None class NodeMgmt: def __init__(self, head): self.head = head def insert(self, value): self.current_node = self.head while True: if value < self.curre...
[ "jk04059@naver.com" ]
jk04059@naver.com
02a7289e8c584ad69bb517b1a9d5b45de07c8b34
a4a44ad46cd1306e2da72ff89483b0102fc9787d
/SamplePython/samplePython/Networking/Socket/_11b_client_choosing_address.py
2a2aba6ebcac3a3571e740cdbb423b502ecfa218
[]
no_license
okipriyadi/NewSamplePython
640eb3754de98e6276f0aa1dcf849ecea22d26b1
e12aeb37e88ffbd16881a20a3c37cd835b7387d0
refs/heads/master
2020-05-22T01:15:17.427350
2017-02-21T04:47:08
2017-02-21T04:47:08
30,009,299
1
0
null
null
null
null
UTF-8
Python
false
false
697
py
import socket import sys # Create a TCP/IP socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Connect the socket to the port on the server given by the caller server_address = (sys.argv[1], 10000) print >>sys.stderr, 'connecting to %s port %s' % server_address sock.connect(server_address) try: messa...
[ "oki.priyadi@pacificavionics.net" ]
oki.priyadi@pacificavionics.net
8ff8004d9f176547d07f6757b25afe8486f40199
c627543a0deb08dfcb026c2e08ed2f9cf3debc1f
/LAMBDA_LABS/yelp-dataset-challenge-2-ds/scraper/scraper_1_urls.py
9e98b2bb446d36d1dd9c314d6ce73ec48673b4a9
[ "MIT" ]
permissive
Bryan-Guner-Backup/DOWN_ARCHIVE_V2
1c882092ccacd2d918f67a30ce0efcee9630fcb6
ed957485c14aa8831e5a119d14849ddb0e1e6ec8
refs/heads/master
2023-08-17T17:39:28.659211
2021-09-28T18:20:15
2021-09-28T18:20:15
411,358,827
0
1
null
2021-09-28T17:02:26
2021-09-28T16:28:09
JavaScript
UTF-8
Python
false
false
3,826
py
""" Yelp Scraper Part 1 This module utilizes the Yelp Fusion API to find businesses within a geographic area centered on a city. """ from yelpapi import YelpAPI from decouple import config import os import numpy as np import pandas as pd import logging from app_global import g scraper_url_logger = logging.g...
[ "bgoonz4212@gmail.com" ]
bgoonz4212@gmail.com
000f458166c4e87eeebd9f3c6b1cc8837b7fe167
d12b59b33df5c467abf081d48e043dac70cc5a9c
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/interface_628fdf0890417e234e9b9a33933fd6bf.py
bc3f62607407370164930f63c544cb8ac478f11d
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,796
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
766e38cf88ba0045527d4d1bfb6d63628a781e9b
5faa433745c6ccd9732101c00848aeaabe9903fc
/pywind/lib/datababse.py
b0200383f00519e8e2ca5414cf60f50e2adca2ad
[ "BSD-2-Clause" ]
permissive
jinrenlab/fdslight
06d0dc947619d9a835b22a4175eaf427fb857091
d073057a74653eb2268ccfb9c11be602d39867e4
refs/heads/master
2021-01-14T09:36:57.999051
2016-05-14T14:57:13
2016-05-14T14:57:13
58,893,514
1
0
null
2016-05-16T01:10:05
2016-05-16T01:10:05
null
UTF-8
Python
false
false
2,343
py
#!/usr/bin/env python3 class _sql_helper(object): # 表前缀 __data_list = None __prefix = "" def __init__(self, prefix): self.__data_list = [] self.__prefix = prefix def select(self, seq): self.__data_list.append( "SELECT %s" % ",".join(seq) ) return...
[ "freekai@outlook.com" ]
freekai@outlook.com
dbde85d5c56529c3832be59bccff0287e1834344
a9063fd669162d4ce0e1d6cd2e35974274851547
/test/test_inline_response20028_details.py
1f5bd56fa7412b1f8445a7d68e8d0d89d65e74ec
[]
no_license
rootalley/py-zoom-api
9d29a8c750e110f7bd9b65ff7301af27e8518a3d
bfebf3aa7b714dcac78be7c0affb9050bbce8641
refs/heads/master
2022-11-07T14:09:59.134600
2020-06-20T18:13:50
2020-06-20T18:13:50
273,760,906
1
3
null
null
null
null
UTF-8
Python
false
false
1,498
py
# coding: utf-8 """ Zoom API The Zoom API allows developers to safely and securely access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public appli...
[ "github@rootalley.com" ]
github@rootalley.com
da2a67df368e8e852287f2bdb149a9350e3a36db
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractYehetstradamusWordpressCom.py
7f5c6a9888f22e2722e40d3d0483d4a1c3789cef
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
543
py
def extractYehetstradamusWordpressCom(item): ''' Parser for 'yehetstradamus.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('BILIP', 'Brother-in-Law, I’m Pregnant!', ...
[ "something@fake-url.com" ]
something@fake-url.com
9d9e3fb26c69889d585aaa04a6f6425c7d35323f
6e4f493329341661d869d9c5a8dd21c1baa6a621
/science/LawsOfMotion/pulley-problem/pulley-problem.py
152d5a9e679673ade7c659f5778dd8ad980b9706
[]
no_license
yujinee/scimat2
8dd03e1ba003715dd910d7e6a086b6f596a7f23b
98712c061b9ce5337b3da5b421926de4aaefbe67
refs/heads/main
2023-08-28T01:57:53.482632
2021-10-22T17:30:10
2021-10-22T17:30:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
import random # Two masses 8 kg and 12 kg are connected at the two ends of a light in extensible string that goes over a friction less pulley. Find the acceleration of the masses, and the tension in the string when the masses are released. qns = open('./questions.txt', 'w') ans = open('./answers.txt','w') no_of_samp...
[ "snehith.chatakonda@plivo.com" ]
snehith.chatakonda@plivo.com
14283e42e7e7b8810d2a7ea1db571c51627c0611
3b4c2fa85a358648614c60d295cc9d77eb7e4c81
/Chapter 1.py/pr.no 3 .py
60efa484c396da24e3e4d141335ca0f20fe5ca9f
[]
no_license
abbhowmik/PYTHON-Course
465e2e6c42b41f6dd731562c57d5c53c6ca2e711
223071569ce9b98d6725e2a33fb271ac0add6f49
refs/heads/main
2023-06-05T11:28:36.632080
2021-06-29T18:14:47
2021-06-29T18:14:47
381,456,413
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from playsound import playsound playsound('C:\\Users\\HP\\Downloads\\Besharam Bewaffa - B Praak.mp3') # thus we play a mp3 song
[ "ashisbhowmikisp@gmail.com" ]
ashisbhowmikisp@gmail.com
6fdb281fc89997b49d89f9158a1a49c39792ceed
255e7b37e9ce28bbafba5a3bcb046de97589f21c
/suqing/fuckal/python/recursive/binary-tree-preorder-traversal.py
5715d110737216a005a3f00aefaa2263a2e98af9
[]
no_license
dog2humen/ForTheCoffee
697d2dc8366921aa18da2fa3311390061bab4b6f
2f940aa9dd6ce35588de18db08bf35a2d04a54f4
refs/heads/master
2023-04-15T09:53:54.711659
2021-04-28T13:49:13
2021-04-28T13:49:13
276,009,709
2
2
null
2020-07-01T08:29:33
2020-06-30T05:50:01
Python
UTF-8
Python
false
false
1,137
py
# coding:utf # 144 https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def preorderTraversal(self, root: TreeNode) -> List[i...
[ "116676671@qq.com" ]
116676671@qq.com
c8c7cb0418c5e0bbc7005c187779284d0cc93e23
6ebf898a17a66a24f67a40d325fe26151db6a2fc
/muddery/server/combat/combat_handler.py
b69f59dd6feade3597c9ebfe220cf3dc8b91b2a7
[ "BSD-3-Clause" ]
permissive
dongwudanci/muddery
29671449b1935b166fcd1c05d2f33d9079d52285
669fbbdb394d04995470e32e94f10d42f3387996
refs/heads/master
2021-10-08T19:12:55.454970
2021-09-24T16:06:35
2021-09-24T16:06:35
238,517,680
0
0
NOASSERTION
2020-02-05T18:15:57
2020-02-05T18:15:56
null
UTF-8
Python
false
false
1,670
py
from django.conf import settings from muddery.server.utils.utils import class_from_path from muddery.server.utils.defines import CombatType class CombatHandler(object): """ Create and store combats """ def __init__(self): """ All combats will be stopped when the server stops, so put ...
[ "luyijun999@gmail.com" ]
luyijun999@gmail.com
5a09815811120c0303a8f4332cc0d82916845e37
45857abab0128c729ce73b51085ac5987b94cd88
/07_django/API/movie_api/urls.py
25b49ff24513114af3d13b85ae9fdc5de9740bcc
[]
no_license
helloddkd/TIL
5033fb60f232c244012b0f183914bc7d4e0fc907
c9c06b35032297d60730e6e7277c2d5a22648fba
refs/heads/master
2020-04-16T13:26:31.525557
2019-05-10T08:01:11
2019-05-10T08:01:11
162,257,230
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from django.urls import path from . import views from rest_framework_swagger.views import get_swagger_view schema_view = get_swagger_view(title='영화 api') urlpatterns = [ path('', schema_view), path('movies/', views.movie_list, name="movie_list"), path('movies/<int:movie_id>/', views.one_movie, name="one_m...
[ "img9672@daum.net" ]
img9672@daum.net
c0d22de82330d85dfca217f746b4cc01e2c23c05
eb6be0dc3dd0c79483d55fcde59cff95f4f86acd
/graphgym/train_pyg.py
cdfde2adaf0b0a6c6a355997c9d8f367ac2c8e9c
[ "MIT" ]
permissive
snap-stanford/GraphGym
67e96085f53f50a9d9e4e231a8a4ab12f42e287c
daded21169ec92fde8b1252b439a8fac35b07d79
refs/heads/master
2023-08-17T01:10:15.725520
2023-03-14T23:02:49
2023-03-14T23:02:49
303,907,761
1,451
188
NOASSERTION
2023-07-26T02:43:43
2020-10-14T05:01:35
Python
UTF-8
Python
false
false
2,976
py
import logging import time import torch from graphgym.checkpoint import clean_ckpt, load_ckpt, save_ckpt from graphgym.config import cfg from graphgym.loss import compute_loss from graphgym.utils.epoch import is_ckpt_epoch, is_eval_epoch def train_epoch(logger, loader, model, optimizer, scheduler): model.train(...
[ "youjiaxuan@gmail.com" ]
youjiaxuan@gmail.com
8edba274d1362164a8643b73e70727edda111e66
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_whisk.py
ecf3c0e9543c941f8162ca686c1580e100e94314
[ "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
439
py
#calss header class _WHISK(): def __init__(self,): self.name = "WHISK" self.definitions = [u'to take something or someone somewhere else suddenly and quickly: ', u'to beat eggs, cream, etc. with a special tool in order to add air and make the food light: '] self.parents = [] self.childen = [] self.proper...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b5089a8ed18b9510976d0cb59e9e7f2cb2dfbd7e
e2e4976ffc17231e95df3cc263d0e6dbd5495284
/pets-api/pet/api.py
c0e876201b3acdfd139377c93ddc23e79480d9eb
[ "MIT" ]
permissive
aymankh86/RESTful-API-Flask
27fed5a590eaf32f88b1201a51981f14fa742087
69e86b70608209b0bc178101af429ca91e954e6b
refs/heads/master
2020-03-13T07:08:11.645639
2017-12-17T07:27:22
2017-12-17T07:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,610
py
from flask.views import MethodView from flask import jsonify, request, abort import uuid import json from jsonschema import Draft4Validator from jsonschema.exceptions import best_match from app.decorators import app_required from pet.models import Pet from pet.schema import schema from store.models import Store from...
[ "nad2000@gmail.com" ]
nad2000@gmail.com
23fea77055a4ef98c42392d56d24cf96d36ec559
8d472f9facb895dda9e1df81f3bb6c2f81b9c357
/master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm/Alarm_triggerEscalationOnStopAcknowledgmentRegularisationRequest.py
a3a4b966082026e0057abb879ebe3d2d6fc1a064
[]
no_license
SlapOS/slapos.core
852485eed9382685f3df6ba8532f8192bb1389c4
369e8d56636e1c59a745e68dc68154abfc5b7840
refs/heads/master
2023-08-31T04:42:34.722241
2023-08-30T15:13:08
2023-08-30T15:13:08
1,825,920
11
4
null
null
null
null
UTF-8
Python
false
false
406
py
portal = context.getPortalObject() portal.portal_catalog.searchAndActivate( portal_type="Regularisation Request", simulation_state=["suspended"], default_resource_uid=portal.service_module.slapos_crm_stop_acknowledgement.getUid(), method_id='RegularisationRequest_triggerStopAcknowledgmentEscala...
[ "alain.takoudjou@nexedi.com" ]
alain.takoudjou@nexedi.com
d73e5d223573c551f24b2f38a520e4195dbb02c0
10d98fecb882d4c84595364f715f4e8b8309a66f
/ravens/ravens/models/transport.py
b5d3c409584638685592d031953eb251a327d352
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
6,799
py
# coding=utf-8 # Copyright 2021 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
535ce23bfe662a8a6b0a0c45b4c72d57a3155e49
e150e2d009bdf49920453ac819d1b56b35e67810
/tests/test_models/test_place.py
76f9ec8193a22f6ef4d2077d9c4d200e63e3953a
[]
no_license
untalinfo/AirBnB_clone
444c94bc0eb0cf1051df44c7613ff4e652e0c3eb
b0a4dc934618ac9e9c73ba3e5dc8b34542e7c928
refs/heads/master
2022-11-23T11:43:56.853372
2020-07-16T01:34:52
2020-07-16T01:34:52
278,417,257
0
0
null
2020-07-09T16:34:29
2020-07-09T16:34:27
null
UTF-8
Python
false
false
4,862
py
#!/usr/bin/python3 """ Test for Place """ import pep8 import unittest import models from models import place from models.base_model import BaseModel Place = place.Place class TestDocsB(unittest.TestCase): """ check for documentation """ def test_module_doc(self): """ check for module d...
[ "racso1607@gmail.com" ]
racso1607@gmail.com
1809f51bca1b475eb17c63d82fbcf62c7e330876
b0958e674b9d562b9b983d26eca99747acc00365
/backend/apps/user/migrations/0008_auto_20190828_1542.py
22fd52c916a83ac63b5ef7aec2bc3bdd901ea551
[ "MIT" ]
permissive
IT-xiaoge/Journey
d55bae3d6a4e8ac6fddc39c492f9a6a4699341a1
43f241e25e6030ddae39cc06a74b3da70c48da34
refs/heads/master
2021-05-23T10:51:33.424181
2020-03-23T03:15:10
2020-03-23T03:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Generated by Django 2.0.4 on 2019-08-28 07:42 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('user', '0007_auto_20190827_1439'), ] operations = [ migrations.AlterField( model_name='users', name='jwt...
[ "977983452@qq.com" ]
977983452@qq.com
8ae65a7ed923f84ca02a34115bd34cde0f7ae13b
31009aa8465599870d3f7e03c473631081bc87bc
/apis_core/helper_functions/utils.py
619135e59de1bae9506db8839c225a97f355792f
[ "CC-BY-SA-4.0", "MIT" ]
permissive
sviatoplok/apis-core
21b8aa8c9706c3ff939e05492403ec85365a918d
c23718af2a51598e32684b9b954b594ceef1f0f7
refs/heads/master
2020-06-05T21:08:33.820874
2019-06-17T12:28:40
2019-06-17T12:28:40
192,546,376
1
0
MIT
2019-06-18T13:32:30
2019-06-18T13:32:30
null
UTF-8
Python
false
false
992
py
from django.conf import settings def access_for_all(self, viewtype="list"): if self.request.user.is_authenticated: return self.request.user.is_authenticated elif viewtype == "list": try: access = settings.APIS_LIST_VIEWS_ALLOWED except AttributeError: access = F...
[ "Peter.Andorfer@oeaw.ac.at" ]
Peter.Andorfer@oeaw.ac.at
f7d6b3491c48495d8741b82db54ee78edead2cc4
9e2dbb3f8205f8bd0b3b5d79261182e9fb4c32c4
/Pyhton/Scripts/unix_time.py
adc78baa9990835d54366d63dd50b144f644f8b8
[]
no_license
melody40/monorepo
87129f934066cd1e162d578f8e4950e12b0fa54d
fc5b7c8da70534e69d55770adebf308fd41c02b7
refs/heads/master
2022-12-22T22:49:01.277092
2020-09-21T17:20:43
2020-09-21T18:35:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author : desertsniper87 <torshobuet@gmail.com> # Last Modified Date: 01.02.2018 import time import datetime from datetime import timedelta #This is the day of the time. Meaning at s, 04:00 the time has begun s = "30/11/2017" #After midnight ep = time.mkt...
[ "torshobuet@gmail.com" ]
torshobuet@gmail.com
cc99075deece2cd0b7dfe03954dacf78444df4d0
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/3XtrKPMbxAf86QjjS_18.py
3a4aff7d75ac086b981ee23efe1b0d5331b8eced
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
""" Create a function that returns `True` if an input string contains only uppercase or only lowercase letters. ### Examples same_case("hello") ➞ True same_case("HELLO") ➞ True same_case("Hello") ➞ False same_case("ketcHUp") ➞ False ### Notes N/A """ def same_case(txt): return...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1d86b73015e50a8ba8c0c8ec5f2a13487fa3acfe
427ab1f7f7fe08f76fab6468f6ea24dc5bc2701d
/bugscan/exp-1200.py
c041436d4b4ef4661c8fa39c576dae124d6d9dee
[]
no_license
gayhub-blackerie/poc
b852b2bcdba78185efd68817c31579247c6e4b83
8b7c95d765deb450c029a921031eb1c90418f2a7
refs/heads/master
2021-07-24T03:05:52.697820
2017-11-04T10:33:51
2017-11-04T10:33:51
107,093,079
1
0
null
2017-10-16T07:31:31
2017-10-16T07:31:31
null
UTF-8
Python
false
false
1,654
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #author:小光 #refer:http://www.wooyun.org/bugs/wooyun-2010-0106048 #refer:http://www.wooyun.org/bugs/wooyun-2010-0108186 import re def matchurl(arg): arg = arg + 'portal/' code, head, res, errcode, _ = curl.curl2(arg) m = re.findall('/portal/root/(.*?...
[ "hackerlq@gmail.com" ]
hackerlq@gmail.com
09d6a10281c195b90e74ebed6df2d6194b3aef50
a8aa8ecebda6c3bad4a27854d29371312cb152f8
/test/selenium/src/lib/constants/kwargs.py
75106c28d6406a4e76cf8c794156467dfe7eeb79
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
xferra/ggrc-core
ef1f7016c717a391d927c128b2058e1fee6e2929
b82333664db3978d85109f2d968239bd1260ee85
refs/heads/develop
2023-04-06T23:59:38.917995
2016-07-26T14:13:38
2016-07-26T14:13:38
64,231,198
1
1
Apache-2.0
2023-04-03T23:37:20
2016-07-26T15:10:29
Python
UTF-8
Python
false
false
165
py
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> DECORATOR = "decorator" METHOD_NAME = "method_name"
[ "zidarsk8@gmail.com" ]
zidarsk8@gmail.com
9647ee8424b30996a4f339f46454145fd38417b3
f8095636248bac9e2b018ed3b06f36502edffb0b
/frontend_issuu_autotest_replica/tests_topics_streams/TestTravel.py
bb9494ed856fc6a443ad57db09b1e4070b5cbb59
[]
no_license
slashsorin/auto-fe-test
deb1c696767b1c31125970679aa8ce4364fa956a
266f3d7badb14c388edc63139bf659f60e09ac64
refs/heads/master
2016-08-04T10:22:18.123109
2013-11-22T09:16:57
2013-11-22T09:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import sys #sys.path.append('/Users/Sorin/Issuu/new_eclipse_ws/frontend-issuu-autotest/autotest_framework/') sys.path.append('../autotest_framework') import make_platform_classes import SetTestStatus as sts from SeleniumTestCase import SeleniumTestCase import unittest, xmlrunner class TestTravel(SeleniumTestCase)...
[ "sorin.dimo@yahoo.com" ]
sorin.dimo@yahoo.com
efa7e85ef843430eba60b4a92dfc77adbe0eead2
a2d66b3a5048847048418096a3b4aa3aec387b63
/DFS_BFS/DFS.py
8557d25243e766706f16c98015383df8f5688bbe
[]
no_license
Lee-Geon-Yeong/my_algorithm
411ad98f1957ec9bb23c3aad27e199e4cc2d8185
d1b00a202f8b3cb16edccd1826d4bc36543f2da5
refs/heads/master
2023-09-03T22:33:18.450513
2021-10-12T15:37:37
2021-10-12T15:37:37
396,066,557
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
# DFS 메서드 정의 def dfs(graph, v, visited): # 현재 노드를 방문 처리 visited[v]=True result.append(v) # print(v, end=' ') # 현재 노드와 연결된 다른 노드를 재귀적으로 방문 for i in graph[v]: if not visited[i]: dfs(graph, i, visited) graph=[ [], [2,3,8], [1,7], [1,4,5], [3,5], [3,4],...
[ "yellowisher@naver.com" ]
yellowisher@naver.com
93036981deed04ce9c75187b0dfa9815cd3ed804
b6c6e045fc27ae037ab3cdec0a8c1f4a41cbe6cf
/napalm-lab/get_interfaces.py
8d4825c7af6e143d1ace4b53cfd747e955f1bd0d
[]
no_license
sourjp/lab-network
c00dcaff5053d3adaab6cf07b21218d45b12d092
f1d1f20a0f7161e0f297d75917e246e4d18579b3
refs/heads/master
2023-02-12T05:33:29.675565
2020-12-19T01:56:20
2020-12-19T01:56:20
321,029,873
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
#!/usr/bin/env python3 from napalm import get_network_driver vsrx1_params = { "hostname": "localhost", "username": "root", "password": "Juniper", "optional_args": {"port": "2201"} } if __name__ == "__main__": junos_driver = get_network_driver("junos") with junos_driver(**vsrx1_params) as conn...
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
6242cf29e6e01d68a9a6421e31e8da2a5dfe54ea
78e87614379f05f62e722492455505a40263d637
/G_LinUCB/LinUCB_Hybrid_Arm.py
e17c9a17ddd7f6b79651bc8fb8e3fd3c61b62d31
[]
no_license
ZJU-warren/MGRCR
0008e60f5ecf0f5d728c1c1cdac429bd0b874306
c61d68ea170e4299e673d5fe164dd2c3f1f45871
refs/heads/master
2022-12-11T01:05:37.395723
2020-09-08T07:30:08
2020-09-08T07:30:08
216,318,880
1
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import numpy as np from scipy import linalg # 定义膀臂类 class Arm_hybrid: # 记忆体 z = None # 膀臂初始化 def __init__(self, id, d, k, alpha, feature): # 初始化属性 self.id = id self.d = d self.k = k self.alpha = alpha # Lines 8 - 10 初始化每个臂的矩阵、向量 self.A = np.id...
[ "CS_wurui@163.com" ]
CS_wurui@163.com
455d42c1af696842b981714b3c29deff83c1cad1
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/ea813e3ce31b40f30c15/snippet.py
e2e706fa1c66eaeb399b5580b52cd1a06abf751e
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,976
py
#!/usr/bin/env python import argparse import logging try: from urllib import splittype except ImportError: from urllib.parse import splittype import boto3 LOGGER_NAME = None class Config(object): queue = 'data-etl' profile = None def log(): return logging.getLogger(LOGGER_NAME) def config_logge...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
f9807511f13b040c95197d0021e743ba15c16318
b40b2bcc63c617afae66a11d15598a588176ff20
/카카오/2020 블라인드/외벽점검.py
1ce3d7769046f0fceb9a35cd7106d7221c6e87ef
[]
no_license
tjdgus3160/algorithm
c5e66ffa1493dba4faede0491ffab60554647fb5
4146170943ec79e22c78e8f3d1ffedd527583c28
refs/heads/master
2023-08-22T07:48:53.164453
2021-10-21T02:28:02
2021-10-21T02:28:02
320,226,865
1
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
# 수가 적을때는 일일이 탐색, 투입친구수를 1부터 증가하면서 탐색, 선택한 친구들 배치 순열 사용, 원형임으로 deque의 rotate사용 from collections import deque import itertools def next_index(queue,d,start_index): start_num=queue[start_index] for i in range(1,d+1): try: if queue[start_index+1]==start_num+i: start_index+=1 ...
[ "tjdgus3160@gmail.com" ]
tjdgus3160@gmail.com
fe10a1e0b65a5cad7f78a921e16f6af3ec32c87d
dbe9d697b3ec48c6561a39f16912fd1dc5f56e9a
/BuildSimHubAPI/measures/light_lpd.py
1da9bf31964f16a0968818ae1b0961f822769464
[ "MIT" ]
permissive
mostaphaRoudsari/buildsimhub_python_api
0e0cff43415e4e6d2833cd6519841ab0cdd2b5be
4a562a678fc2f9671f9fc62faae46b79c448a922
refs/heads/master
2020-03-08T23:29:37.855206
2018-04-23T14:21:24
2018-04-23T14:21:24
128,465,836
0
0
MIT
2018-04-23T00:46:04
2018-04-06T20:11:40
HTML
UTF-8
Python
false
false
727
py
from .model_action import ModelAction class LightLPD(ModelAction): # this shows the ip to si conversion rate # if unit is 'ip', then multiply this rate. # for window it is the U-value # convert U-value IP to SI # The conversion will change w/m2 to w/ft2 if ip shows CONVERSION_RATE = 0.0929 ...
[ "weilix@alumni.cmu.edu" ]
weilix@alumni.cmu.edu
b655934e18f9046f40987c6002b0aa46ee5cddd1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/74/usersdata/149/35286/submittedfiles/lecker.py
75da9784909e321f2b41cef9e77a1bbca587b6da
[]
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
338
py
# -*- coding: utf-8 -*- import math a=int(input('digitite o valor 1:')) b=int(input('digitite o valor 2:')) c=int(input('digitite o valor 3:')) d=int(input('digitite o valor 4:')) if b>a and b>c or c>b and c>d: print('S') if a>b and a>c and a>d: print('S') if d>a and d>b and d>c: print('S') else: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c415ef1ec291b4602065c46af3f611188997ccb6
cc578cec7c485e2c1060fd075ccc08eb18124345
/cs15211/HandofStraights.py
a8c6e66db16171f77092d70cb9a95eab6b01c8c1
[ "Apache-2.0" ]
permissive
JulyKikuAkita/PythonPrac
18e36bfad934a6112f727b4906a5e4b784182354
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
refs/heads/master
2021-01-21T16:49:01.482561
2019-02-07T06:15:29
2019-02-07T06:15:29
91,907,704
1
1
Apache-2.0
2019-02-07T06:15:30
2017-05-20T18:12:53
Python
UTF-8
Python
false
false
2,941
py
__source__ = 'https://leetcode.com/problems/hand-of-straights/' # Time: O(N * (N/W)) # Space: O(N) # # Description: Leetcode # 846. Hand of Straights # # Alice has a hand of cards, given as an array of integers. # # Now she wants to rearrange the cards into groups so that each group is size W, # and consists of W cons...
[ "b92701105@gmail.com" ]
b92701105@gmail.com
6ae6839212b386c69a91985478faf73bc6f5cb44
fb6e7922df3da2e9cdc37a00150d6d7663e907ff
/environment/rtfm/tasks/rock_paper_scissors.py
01c283a2dd1f458dae2465da2edd4407ab8c98bc
[ "Apache-2.0" ]
permissive
Spiph/GTG
c54a587002c42a032c89e8eceb5ec638f6c8c05f
4a45032290d0c1364e4398684582c51094b245f5
refs/heads/main
2023-09-02T14:44:14.946624
2021-10-27T12:29:05
2021-10-27T12:29:05
393,086,007
0
0
Apache-2.0
2021-08-05T15:09:07
2021-08-05T15:09:07
null
UTF-8
Python
false
false
5,869
py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import random import string import itertools import numpy as np from ..dynamics import monster as M, descriptor as D, item ...
[ "jzyjiangzhengyao@gmail.com" ]
jzyjiangzhengyao@gmail.com
978d5bee62e8b5bdfe23aba8da6dcad20893919b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/MGALfBAXhXqqdFyqo_24.py
f16d4df5c26427a5ee01ba13960f65120df651b6
[]
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
277
py
def atbash(txt): temp = "" for char in txt: if 65 <= ord(char) <= 90: char = 65 + (90 - ord(char)) temp += chr(char) elif 97 <= ord(char) <= 122: char = 97 + (122 - ord(char)) temp += chr(char) else: temp += char return temp
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ddd147eebd35726c18cb581ce3ee23a82849880a
4de2b914e4607dd0ca7eec60b21026af6b6c4797
/python files/debug_uwb.py
9b893af3bf7fd4566b3e3e236fb30187e9141751
[]
no_license
ABiondi12/project_sgn
5203d21f2753dcdf7c53b153324dc75bc1221549
570b7be0b01e7c83cb927945e532d6a2213ebf65
refs/heads/main
2023-06-18T12:59:18.337096
2021-07-21T10:27:08
2021-07-21T10:27:08
307,121,028
0
0
null
null
null
null
UTF-8
Python
false
false
3,758
py
'''main.py file generico utile per debugging ''' import numpy import pypozyx import time import datetime from pypozyx.structures.device_information import DeviceDetails tag0_ID = 0x6760 # Fronte tag1_ID = 0x675d # Retro remote_id = None print("Connecting to tags...") serial_port_0 = pypozyx.get_pozyx_ports()[0]...
[ "petracci.francesco@gmail.com" ]
petracci.francesco@gmail.com
560608fddb65b5fac4a98026d036713ac2c32922
7c0acdc46cfce5dc116d394f6990ee5ab1c0fa0c
/venv/bin/garden
3bb1caf53f1ae8960321de89db726fedbf45c202
[ "MIT" ]
permissive
Vatansever27/ExchangeCode
84fb4a02371fdda7cd94d00971be76bcd1068be0
ab284653a337937139a9a28c036efe701fb376c7
refs/heads/master
2020-04-07T16:38:59.819929
2018-11-21T12:18:30
2018-11-21T12:18:30
158,537,067
0
0
null
2018-11-21T12:18:31
2018-11-21T11:22:14
null
UTF-8
Python
false
false
7,400
#!/Users/doguhan/PycharmProjects/Kurslarım/venv/bin/python import sys import argparse import zipfile import tempfile from shutil import rmtree, move from os import listdir, getcwd, chdir, makedirs from os.path import join, realpath, exists, isdir, expanduser, abspath, dirname try: from cBytesIO import BytesIO exc...
[ "doguhan@puentedev.io" ]
doguhan@puentedev.io
642912f6d03abeb6f20df6aefaafed87e7b713d0
144326b23641773bcb42246382a1b93d1be084b8
/webappcontext/sqla.py
bb3e8b7a5282a1bcddbdaad132606b4f625222a3
[]
no_license
aodag/WebAppContext
601f154c8d071613455db261b9a02bbbc70f3ab4
6e66e24d7aa1ffb27d371b9a05f9495afa6e4ecb
refs/heads/master
2020-04-05T22:57:35.862107
2014-08-02T14:21:36
2014-08-02T14:21:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# -*- coding:utf-8 -*- import contextlib from sqlalchemy import ( engine_from_config, ) from sqlalchemy.orm import ( sessionmaker, ) @contextlib.contextmanager def session_scope(sessionmaker): session = sessionmaker() try: yield session session.commit() except Exception: s...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
2943c930a675e0542e656110d25bb857ac03b566
be84495751737bbf0a8b7d8db2fb737cbd9c297c
/renmas3/shapes/mesh_desc.py
522288ea24c2b1f83b97fb226f79fe897a2b7f2f
[]
no_license
mario007/renmas
5e38ff66cffb27b3edc59e95b7cf88906ccc03c9
bfb4e1defc88eb514e58bdff7082d722fc885e64
refs/heads/master
2021-01-10T21:29:35.019792
2014-08-17T19:11:51
2014-08-17T19:11:51
1,688,798
1
0
null
null
null
null
UTF-8
Python
false
false
376
py
class MeshDesc: def __init__(self, vb, tb, name, material): self.vb = vb self.tb = tb self.name = name self.mat_name = material def __repr__(self): return '<MeshDesc object at %s name=%s, mat_name=%s, nvertiecs=%i, ntriangles=%i>' % \ (hex(id(self)), sel...
[ "mvidov@yahoo.com" ]
mvidov@yahoo.com
634abd91585cf0ff2a75f2f71fe025356b78d14d
66059967df0972430b42b379f93b2bb53fed155b
/extract_name.py
44686e1ff650b63d3cbc4323612448dda0ec91cc
[]
no_license
sj741231/vhalldata
dd0a03ac6fea50bb555eb0783e7a46f3225b5958
39a5e45d6f6ca3a92b2c67753d401bf7cfcfbdcb
refs/heads/master
2023-04-20T08:54:58.717752
2021-05-08T04:27:16
2021-05-08T04:27:16
363,300,556
0
0
null
null
null
null
UTF-8
Python
false
false
6,860
py
import os import sys import re import jieba from utils.util_xlsx import HandleXLSX from utils.util_re import re_remove_sub_company, re_full_company_name from settings import PROVINCE, EXCLUDE_WORDS, EXTRACT_WORDS def extract_company_name(company_name): _company_name = str(company_name).strip() _company_name =...
[ "shi.jin@126.com" ]
shi.jin@126.com
99a6cc1a5f69986e0a3a8386d95374318bc5eadd
c53b3e120c59557daaa2fa5b7626413105eb5965
/tendenci/apps/payments/templatetags/payments_tags.py
17f26356c3a6436cce72f1d1aa8b3ec3b535ab0f
[]
no_license
chendong0444/ams
8483334d9b687708d533190b62c1fa4fd4690f2c
f2ac4ecc076b223c262f2cde4fa3b35b4a5cd54e
refs/heads/master
2021-05-01T03:59:18.682836
2018-07-23T06:33:41
2018-07-23T06:33:41
121,194,728
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
from django.conf import settings from django.template import Library register = Library() @register.inclusion_tag("payments/top_nav_items.html", takes_context=True) def payment_current_app(context, payment=None): context.update({ "app_object": payment, }) return context @register.inclusion_tag(...
[ "chendong@shinezone.com" ]
chendong@shinezone.com
1d5507daa61631ae4c218f0f155bbb3e75fbf133
6498f5a27ed5f3d13cacaae77b7e8e98504e0c28
/Patient/migrations/0030_patients_account_details_appointment_id.py
bc358bef6b1a4d8c4a974dff3cf4eb6a6130da7a
[]
no_license
RitikaSingh02/HOSPITAL-MANAGEMENT
4e90f9e744f2f024ca72da97a38be60a3ece5d8d
84a7a58946a204d8f2187c41b3ac32776ff57a8b
refs/heads/master
2022-11-08T13:15:57.166620
2020-06-26T10:57:48
2020-06-26T10:57:48
272,244,859
1
0
null
null
null
null
UTF-8
Python
false
false
524
py
# Generated by Django 2.0 on 2020-06-25 08:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Patient', '0029_patients_country'), ] operations = [ migrations.AddField( model_name='patients_ac...
[ "ritika2002singh@gmail.com" ]
ritika2002singh@gmail.com
f8104df88095e94c12fe8308ebad4b5797582235
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/1601-1700/1621-Number of Sets of K Non-Overlapping Line Segments/1621-Number of Sets of K Non-Overlapping Line Segments.py
32163260b5afd7ed18fcc2330cc5f98ddec0a95a
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
138
py
import math class Solution: def numberOfSets(self, n: int, k: int) -> int: return math.comb(n + k - 1, k * 2) % (10 ** 9 + 7)
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
a3f83232698d34ef891151cc130eb222a82a2872
f0a0aa6a5fe0ded715bb65c78dbedd9b2ca24e2f
/100DaysOfPython/Day4/Randomisation/randomModule.py
74b451a894a3b3a9e99c822be1f1e502754da33b
[]
no_license
DeepanshuSarawagi/python
bb911dd8dfc2d567a2c51679bb10c3f37f11e500
a7b4ea3a0b6f1f373df3220ca655e575ae401d09
refs/heads/master
2022-04-26T17:46:39.301757
2021-08-25T15:08:14
2021-08-25T15:08:14
228,613,467
1
0
null
2022-04-22T23:32:41
2019-12-17T12:38:01
Python
UTF-8
Python
false
false
200
py
import random import my_module random_integer = random.randint(1, 10) print(random_integer) print(my_module.pi) random_float = random.random() print("{:.2f}".format(random_float * random_integer))
[ "deepanshusarawagi@gmail.com" ]
deepanshusarawagi@gmail.com
549a8332eb2fda6df9db9877ee66bf501d0d92a1
75169b83f2b975bff8baf61f0cf1264cf4b71a28
/learnpy/webdriver/multi_windows.py
655dd917b9e235397b117b0cb9bbe961639cd059
[]
no_license
Pangpang2/Python
a27024587ae51923954deefaaff304a26e5a944f
0b3bcfbdcaa71253c798090713c052fd397bff3f
refs/heads/master
2022-12-01T10:03:23.214443
2020-08-26T00:21:15
2020-08-26T00:21:15
290,171,195
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#coding = utf -8 from selenium import webdriver import time driver = webdriver.Firefox() driver.get('https://tieba.baidu.com/index.html') #get current window nowhandle = driver.current_window_handle driver.find_element_by_css_selector('.u_reg a').click() allhandles = driver.window_handles for handle in allhandles: ...
[ "may.li@internetbrands.com" ]
may.li@internetbrands.com
428acdcb3affb7044919182dd441515e41fb4096
8e233d067aa9be57e8f73ceb817e065fce801d86
/KARAKOSTANOGLOU Hippolyte - TP informatique numéro 1 - problème projet Euler numéro 16.py
f85b6037428cf5ac7802684ca907f66b050a5d17
[]
no_license
mines-nancy-tcss5ac-2018/td1-HippolyteKarakostas
fd057e1b693f443e31f2e5e029d490390f56ba8d
3e6b06055f70b656c35994626941d929f3a1eed0
refs/heads/master
2020-03-31T05:55:34.170625
2018-10-07T16:49:10
2018-10-07T16:49:10
151,962,642
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
def solve(n): m=2**n k=0 while m>10**k: k+=1 # k est la partie entière supérieure du logarithme décimal de "2 puissance n" s=0 for r in range(k): # je retire à chaque étape le dernier chiffre de "2 puissance 15" et je l'ajoute à la somme s s+=m%10 m=m//10 ...
[ "noreply@github.com" ]
mines-nancy-tcss5ac-2018.noreply@github.com
8e60f57ac137d1ce0b2dda985224792fdc7b5e66
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-scsp/aliyunsdkscsp/request/v20200702/UpdateRingStatusRequest.py
c8dd83adce7c28dd39810a227d68800da0d6b3f2
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,024
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
313d0cf414882cbffd9c445ccbb48edfa6ee4214
561aaed2d3b752e7add4be99083d3365b0e6e434
/pyglottolog/languoids/__init__.py
7fff5db239374a103585c6284a2d403703051709
[]
no_license
bakyobagish/glottolog
aa57f09083ec0066cd16bfd9928100d5035d6e08
5d25389be2c0a912011bdf82c696409085ba7aa5
refs/heads/master
2020-03-26T03:04:22.451751
2018-08-06T17:51:33
2018-08-06T17:51:33
144,438,312
2
0
null
2018-08-12T04:43:18
2018-08-12T04:43:18
null
UTF-8
Python
false
false
472
py
# languoids from __future__ import unicode_literals from .languoid import Languoid from .models import ( Glottocode, Glottocodes, Level, Macroarea, Country, Reference, ClassificationComment, EndangermentStatus, EthnologueComment, ISORetirement, ) __all__ = [ 'Languoid', 'Glottocode', 'Glottoc...
[ "sebastian.bank@uni-leipzig.de" ]
sebastian.bank@uni-leipzig.de
7c7df6bb99bed4d8f02c66649714872975ee4854
6d68240dd370b8511e5d6afceb48fae17a146ec7
/software/examples/python/example_morse_code.py
1edc8a5a4826c1a665d5c9238990bc8438d9976f
[]
no_license
chuangke365/piezo-speaker-bricklet
7314c55a29485bd86f7832fe2a2565762a253d56
b6af65a762348806ca101b895450bb7d576e1bc8
refs/heads/master
2021-01-17T09:56:03.712208
2015-03-02T14:39:58
2015-03-02T14:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
#!/usr/bin/env python # -*- coding: utf-8 -*- HOST = "localhost" PORT = 4223 UID = "XYZ" # Change to your UID from tinkerforge.ip_connection import IPConnection from tinkerforge.bricklet_piezo_speaker import PiezoSpeaker if __name__ == "__main__": ipcon = IPConnection() # Create IP connection ps = PiezoSpe...
[ "olaf@tinkerforge.com" ]
olaf@tinkerforge.com
c0c560ee4e39d1bd412a5506b4d850da12715ca1
9f5c2728b1ab844bf3110cce78e4083283943ebb
/chapter_4/exercise_4-5.py
4a5a1f2ad883534316c5704a44fa9c84c15e606a
[]
no_license
leetuckert10/CrashCourse
9838448e75636132169498f152200651a05181c4
3f35958de497026da5e7d0d0a52fe3f20f2ef196
refs/heads/master
2023-05-01T11:56:27.382141
2020-04-02T19:11:07
2020-04-02T19:11:07
249,979,785
0
0
null
2023-04-21T20:48:10
2020-03-25T13:01:08
Python
UTF-8
Python
false
false
341
py
# Summing a million numbers... # using functions min(), max(), and sum() one_million = [] for value in range(1, 1000001): one_million.append(value) print(f"Mininum value is {min(one_million)}") print(f"Maximum value is {max(one_million)}") print(f"The sum of adding one million numbers together is {sum(one_million)}!"...
[ "n4tlt.radio@gmail.com" ]
n4tlt.radio@gmail.com
2bb8a3ab504699e858f1bfa43b4021d96edfe539
ba157236151a65e3e1fde2db78b0c7db81b5d3f6
/LinkedList/reorder_list.py
d1efd940ba8f65b997738fe71ae38e0bf289bd32
[]
no_license
JaberKhanjk/LeetCode
152488ccf385b449d2a97d20b33728483029f85b
78368ea4c8dd8efc92e3db775b249a2f8758dd55
refs/heads/master
2023-02-08T20:03:34.704602
2020-12-26T06:24:33
2020-12-26T06:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def reorderList(self, head): if head == None: return n = 0 p = head arr...
[ "spondoncsebuet@gmail.com" ]
spondoncsebuet@gmail.com
d738f4e844c92a512026d48acc731ef74650e2f4
6a2b1b1d6092a8d2492a6677b6fd19d27b0f461f
/08-Python-DataTypes/Lists/12-clear-method-list.py
d38d0493a17bbd691b1f23708abea3e2a8486563
[]
no_license
Uttam1982/PythonTutorial
3cfbe237199e048967502f3d0c1936f2b878cb87
8e28cc5c4be5826a011059db66f6952871248c82
refs/heads/master
2022-12-17T18:47:28.397383
2020-09-22T08:55:23
2020-09-22T08:55:23
288,524,784
0
1
null
null
null
null
UTF-8
Python
false
false
158
py
# We can use remove() method to to empty a list. my_list = [12,23,34,45,56,67,78,89,90] print(my_list) #to empty a list. my_list.clear() print(my_list)
[ "uttampat@gmail.com" ]
uttampat@gmail.com
753bf74116321264c0e899e1cf30f4176cab71da
02fb101eac8e5f9cc5d5c5d807601787c339b7ec
/web_engine/dac.py
128f4142ba8c014f2dcbf1b350a3f14ef2d25fc3
[ "BSD-2-Clause" ]
permissive
awesomebytes/etherdream_tools
ad8c7f0e09318ab47ea9d1aaa8fec40f9e49f119
7ba3ba4828f43f323d76064ec0432b25b85f6e58
refs/heads/master
2021-01-01T20:12:17.858584
2015-10-12T21:25:05
2015-10-12T21:25:05
24,540,681
12
0
null
null
null
null
UTF-8
Python
false
false
6,005
py
# j4cDAC test code # # Copyright 2011 Jacob Potter # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ...
[ "sammypfeiffer@gmail.com" ]
sammypfeiffer@gmail.com
0c63371b5c57c6355c9cce6b5f19b60ae78d0113
1e37da1ec623d8e00b01ed7bee409a12eaf6f534
/spdivik/inspect/layout.py
cc157b4ab73a9a3c42cbdee0abfb72106e4e8236
[ "Apache-2.0" ]
permissive
spectre-team/spectre-divik
b8d88ac9e01846c799dc760a8676c5ac56122a17
8e5cec5bc0040eb01cf6621bfb0753886f58524b
refs/heads/master
2021-05-10T20:18:33.724755
2019-09-21T08:40:30
2019-09-21T08:40:30
118,183,654
0
0
Apache-2.0
2019-09-21T08:40:31
2018-01-19T22:06:27
Python
UTF-8
Python
false
false
4,567
py
from enum import Enum, unique import dash_core_components as dcc import dash_html_components as html from spdivik.summary import depth from spdivik.inspect.app import divik_result, divik_result_path from spdivik.inspect.figure import default_clusters_figure def _as_id(name: str) -> str: return name.lower().repl...
[ "g.mrukwa@gmail.com" ]
g.mrukwa@gmail.com
65d8ddddf7aef12c27047e4bc9785a529bca8b67
90914b7d84d69a86652e69d1ad72888af363367b
/production_routing/routing.py
fa09366e8670b80c1ad170f813b3aa45c64a7c17
[]
no_license
emperadorxp1/TrytonModules
754a3ca92c0ac7b2db9165208b1bc5fda5fe4a73
33ef61752e1c5f490e7ed4ee8a3f0cff63a8fc89
refs/heads/master
2020-12-19T18:41:05.260174
2020-01-23T15:32:57
2020-01-23T15:32:57
235,815,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,635
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from trytond.model import ( ModelSQL, ModelView, DeactivableMixin, fields, sequence_ordered) __all__ = ['Routing', 'Operation', 'RoutingStep', 'Routing_BOM'] class Routi...
[ "joxua.1995@gmail.com" ]
joxua.1995@gmail.com
4b83d57d1b9f73ae1b4ff1d0ddfd413c5721646f
c105570f12f1d56087ffb831f5d34cd763d6c90b
/top/api/rest/WlbWaybillIGetRequest.py
e2fe429d14010cf1413cb7ebafc64105dff8bd30
[]
no_license
wjianwei126/Alinone
01607423833d7736b2fd3c77e9e21f63c69b4e4c
80144d4657cb049d651c09647eb245405240f12f
refs/heads/master
2020-12-07T05:14:58.746777
2015-05-06T12:48:33
2015-05-06T12:48:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
''' Created by auto_sdk on 2014-11-09 14:51:18 ''' from top.api.base import RestApi class WlbWaybillIGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.waybill_apply_new_request = None def getapiname(self): return 'taobao.wlb.waybill.i...
[ "rapospectre@0163.com" ]
rapospectre@0163.com
ec8d26f17e2763cda97901683f3ca81fdac533d3
9861b269a21aa913c997d27ed7c6cec04ff3550f
/baidu.py
2201f63b50d96ce7448d7fd18c338f2209f7e631
[]
no_license
howlanderson/baidu.mp3
cff88d6dce3bf5cbbeb5c8b8de8eecee923bfe83
a12b6f55c7dd93f527036e5f068bc9903670a2f8
refs/heads/master
2021-01-19T10:59:35.663078
2012-05-17T14:04:03
2012-05-17T14:04:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
#!/usr/bin/env python from pyquery import PyQuery as pq from lxml import etree import urllib import urllib2 import time import sys #youdao_url = 'http://mp3.baidu.com/m?f=ms&rf=idx&tn=baidump3&ct=134217728&lf=&rn=&word=%C0%CF%C4%D0%BA%A2+%BF%EA%D7%D3%D0%D6%B5%DC&lm=-1' song_name = sys.argv[1] song_url_name = urllib.qu...
[ "u1mail2me@gmail.com" ]
u1mail2me@gmail.com
8d2e3b1a64703b974efd3b226e4231a51629ff68
50001d401b28800551acc65edb872f996dc0d422
/MQ1/win并发509/main2.py
2ccf0c0054eff811fab697c9712948aaf49eccd6
[]
no_license
maq-622674/python
08fea61b85bf811653207b497e9d194886a54bb3
cb8d7233dcae3fdc4bb3550a8826dd394dd1c31d
refs/heads/master
2023-01-22T10:09:55.646601
2020-12-03T08:11:10
2020-12-03T08:11:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
# import asyncio # import aiohttp # # # async def get_http(url): # async with semaphore: # async with aiohttp.ClientSession() as session: # async with session.get(url) as res: # global count # count += 1 # print(count, res.status) # def main(): # ...
[ "lws__xinlang@sina.com" ]
lws__xinlang@sina.com
2f1043ebe6ca4851e55ca7be39f2f01757a88c09
e84020108a7037d8d4867d95fada1b72cbcbcd25
/django/nrega.libtech.info/src/nrega/migrations/0037_auto_20170419_1126.py
f8a8263231b09a727f4ec383ab23ad0f735cf5d8
[]
no_license
rajesh241/libtech
8384316051a2e8c2d4a925cd43216b855b82e4d9
0105e717357a3626106028adae9bf162a7f93fbf
refs/heads/master
2022-12-10T03:09:00.048841
2020-06-14T09:39:04
2020-06-14T09:39:04
24,629,538
1
1
null
2022-12-08T02:26:11
2014-09-30T07:57:45
Python
UTF-8
Python
false
false
2,155
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-19 05:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('nrega', '0036_auto_20170419_0903'), ] operations = [...
[ "togoli@gmail.com" ]
togoli@gmail.com
03191f296b3bbb020c54b6f0d50aba4beb024acd
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/enums/types/label_status.py
ef55032d9937c0a44df15ae6344d80c2eacf885f
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
ead83faaeb1dad01bd31eb2d5a15c27a60e3e75c
cb4a9b53eff6d8a0db984c0e5233416bcb54b969
/src/python/codebay/l2tpserver/webui/admin/activateconfiguration.py
0b7f4c4e56f5e8c6193c875759e09abe374bb159
[ "WTFPL" ]
permissive
Cloudxtreme/vpnease-l2tp
d6f2f8d6480398494ad2eb9e0d414efe6696dc9d
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
refs/heads/master
2021-05-29T16:17:02.563556
2013-09-05T09:44:37
2013-09-05T09:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
""" Configuration activation page - Ajax page for better activation use case. """ __docformat__ = 'epytext en' import time, datetime, textwrap from twisted.internet import reactor from nevow import inevow, loaders, rend, guard, url, stan, tags as T from codebay.common import datatypes from codebay.l2tpserver.webui i...
[ "naked@iki.fi" ]
naked@iki.fi
5b3c2f38b2bd23665f191f3129fa1ef564a29df7
e23a4f57ce5474d468258e5e63b9e23fb6011188
/105_network/_exercises/templates/Python Network Programming Cookbook/Chapter03/3_10_check_ipv6_support.py
c042b2230c757b60e5a53d230b7775e4841cbeb1
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,273
py
# #!/usr/bin/env python # # Python Network Programming Cookbook, Second Edition -- Chapter - 3 # # This program is optimized for Python 2.7.12 and Python 3.5.2. # # It may run on any other version with/without modifications. # # This program depends on Python module netifaces => 0.8 # # ______ ? # ______ a_p.. # ______...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
6d3dacd3f399c70a50b8e1d2b19251ea096546a1
7468f5628e5aa1e4d1afc704048bf99b38a14175
/src/mbed_tools/project/_internal/templates/__init__.py
6a5e5f924404e049f02c9a5e2ddeb8f4e9e8eb3b
[ "Apache-2.0" ]
permissive
ARMmbed/mbed-tools
c2fe0bc35ed1c2476d78fc6736624f0a36160782
7ff8ed4d57857805bbf9f2b79486fdc3440dee9f
refs/heads/master
2023-04-12T01:30:32.016991
2022-11-16T05:01:07
2022-11-16T05:01:08
215,514,428
48
28
Apache-2.0
2022-09-12T02:29:17
2019-10-16T09:54:48
Python
UTF-8
Python
false
false
188
py
# # Copyright (c) 2020-2021 Arm Limited and Contributors. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # """Package containing jinja templates used by mbed_tools.project."""
[ "github@patater.com" ]
github@patater.com
9868db5462cf74ac431cd66d02efaf93a8c87254
a7bf280b2d4d61472def6f2089cdc9ed858cdb9f
/scripts/utility_functions.py
327448bfed68e3d7dd3fb18fc0d8bfe4d0c98b1e
[]
no_license
alexyigidey/Amharic_Speech_To_Text-2
13857dd0853929915198b5e8ebca002adc10f54d
b216a9b4ce529222d66dc3fc8d018512f51839f5
refs/heads/master
2023-08-16T17:57:43.191742
2021-09-28T11:29:26
2021-09-28T11:29:26
587,087,057
0
1
null
2023-01-09T23:29:20
2023-01-09T23:29:19
null
UTF-8
Python
false
false
4,742
py
import numpy as np from numpy.lib.stride_tricks import as_strided import soundfile def calc_feat_dim(window, max_freq): return int(0.001 * window * max_freq) + 1 def spectrogram(samples, fft_length=256, sample_rate=2, hop_length=128): """ Compute the spectrogram for a real signal. The parame...
[ "you@example.com" ]
you@example.com
a2be227ccf79f7caa20d0dc59af423271de3d301
16f36b0fc607cb9c0d7b4eb7d5123a1b7ed40c62
/untitled1/collect_tion/counttool.py
cf6666cdcc699610dab6649f71c35ff48d030479
[]
no_license
IanChen6/python-learning
64c5137f536d10ffc10a9664da43ec02722c95de
fea998620ba0a354a741cdbc9d8455bca4080bae
refs/heads/master
2021-01-23T18:45:18.595877
2017-10-31T10:34:51
2017-10-31T10:34:51
102,805,586
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from collections import Counter c=Counter() with open("D:\word.txt",encoding='utf8') as f: txt=f.read() for ch in txt: c[ch]=c[ch]+1 print(c)
[ "626614767@qq.com" ]
626614767@qq.com
32270bfd2db18171e337b1d1920cb6adce2386f2
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/classes/Handler_20171107100621.py
fda14a1278685960d62fedc5a94c8fb3c96a2abc
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,911
py
# DADSA - Assignment 1 # Reece Benson import json import random from classes import Player as Player from classes import Season as Season from classes import Tournament as Tournament from classes import Round as Round from classes import Match as Match class Handler(): # Define the variables we will be using ...
[ "business@reecebenson.me" ]
business@reecebenson.me
cd876cd48a9ae0b7008ebbbdc270ed1e4c281231
a343a405ecc557a52974fa84bc0481cc11405b14
/179_largestNumber.py
5b8b54d767d619a7a452e11a731fecb3f6c4d4e4
[]
no_license
jennyChing/leetCode
926c2a5ff9f6c03152e93725b64f7bad804c415a
f3fc71f344cd758cfce77f16ab72992c99ab288e
refs/heads/master
2020-05-21T16:42:17.325980
2017-03-18T01:59:15
2017-03-18T01:59:15
61,048,131
2
0
null
null
null
null
UTF-8
Python
false
false
785
py
''' 179. Largest Number Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be very large, so you need to return a string instead of an integer. ''' from functools import cmp_to_ke...
[ "jklife3@gmail.com" ]
jklife3@gmail.com
6149ed13b942fd0e3b4ee4c94b966c54e47b3f38
e7c72bccaf5cd9893102b254c0ea62a47f32dbd8
/app/migrations/0014_customer.py
c8ab49c25d706f596637dcec70fafebc0ec1f5ed
[]
no_license
StillsSma/final_project
3332f56668cda6c5ef167b3bf1bdd92ed55f602f
b03c9b8b8928177ad216e56cb1f3370e113cb20e
refs/heads/master
2020-07-16T17:23:01.010169
2017-03-28T19:39:33
2017-03-28T19:39:33
73,771,288
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-23 23:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0013_auto_20161123_2123'), ] operations = [ migrations.CreateModel( ...
[ "samdawson301@live.com" ]
samdawson301@live.com
2239f0d0a57a7334da802b06839357df9f11750f
e6593a50f71a8777c505b58dad3e915318276a2b
/radio-fast/nbtest.py
6d6aa9ec2cfc0d2e81db77be637eb96def6c4253
[ "MIT" ]
permissive
haybarry/micropython-radio
b5f81aa46f5a8a8082ba8842f6ec9003cf5cac75
8cd7c1d8e1c8c6746e4d31d7461a5a4ed4eee4c1
refs/heads/master
2020-03-27T15:45:59.703530
2018-09-01T03:17:40
2018-09-01T03:17:40
146,737,569
0
0
MIT
2018-08-30T11:05:38
2018-08-30T11:05:38
null
UTF-8
Python
false
false
1,558
py
# Test nonblocking read on slave. # usched and lcdthread at https://github.com/peterhinch/Micropython-scheduler.git import pyb import radio_fast as rf from usched import Sched, wait, Roundrobin from lcdthread import LCD, PINLIST # Library supporting Hitachi LCD module from config import FromMaster, ToMast...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
22111f3c624f9ecf265ce19b19dfebd4cc80ce48
d380e7dfd4c9bb5fd9f238ca48be9f807b4f5db3
/codes_auto/35.search-insert-position.py
80a8ca6e8b15eec96dd2f44dc24d6bb465045542
[]
no_license
zhanjw/leetcode
98c3d3fda23f100354b9ca030c47a854d3c207f0
2e62568dd9c6ce0bff4b0ca888ffff29f5a6feef
refs/heads/master
2022-12-14T12:49:23.797498
2020-09-18T14:31:30
2020-09-18T14:31:30
296,640,031
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# # @lc app=leetcode.cn id=35 lang=python # # [35] search-insert-position # class Solution(object): def searchInsert(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ l=0 r=len(nums) while l<r: m=(l+r)//2 ...
[ "imzhanjw@gmail.com" ]
imzhanjw@gmail.com
3ae6cf64719bc5f9057b571913253dbc83ec518e
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/models/export.py
ebdad78bc8181215e639cfaab3194144f2d4b011
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,378
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
58700e854952934560319b1f034a7217dc82a386
fad3f91ff90aa7434ff8fdd230da202a8aeffe58
/accounts/admin.py
15088b59e4e6388b5d8cab2c110ce4202bf91106
[]
no_license
kahihia/privalytics.io
1002014ef3fdb27c1088f2db17aa75125b912543
6a655ea1063c4316ce74b0435d55fae73429cf21
refs/heads/master
2020-12-19T16:18:12.288452
2019-11-04T13:11:52
2019-11-04T13:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.contrib import admin from accounts.models import Profile, Subscription admin.site.register(( Profile, Subscription, ))
[ "aquiles@aquicarattino.com" ]
aquiles@aquicarattino.com
57d2a84a6fe9bee2d32fd6a29577f38704f48924
3b09dc4623dac559c85c0333526d55b0615d79d7
/problems/1085.py
ca2d7a7131b47cc55c8787c66ae26f2b5660d11d
[]
no_license
Asperas13/leetcode
5d45bd65c490ada9b3cb2c33331a728eab2ef9b4
7f2f1d4f221925945328a355d653d9622107fae7
refs/heads/master
2021-09-28T15:54:54.761873
2020-05-05T15:29:48
2020-05-05T15:30:59
145,767,776
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Solution: def sumOfDigits(self, A: List[int]) -> int: min_elem = min(A) digit_sum = 0 while min_elem > 0: digit_sum += min_elem % 10 min_elem //= 10 return 1 if digit_sum & 1 == 0 else 0
[ "ivan.pashnev@developex.com" ]
ivan.pashnev@developex.com
d050c37ab19ae81031a5b83bbb96591f2c641c6e
c4a57dced2f1ed5fd5bac6de620e993a6250ca97
/huaxin/huaxin_restful_service/restful_xjb_service/v1_services_creditcard_matchchannel_entity.py
332d74487fd00ea055f20775432694a83c146a41
[]
no_license
wanglili1703/firewill
f1b287b90afddfe4f31ec063ff0bd5802068be4f
1996f4c01b22b9aec3ae1e243d683af626eb76b8
refs/heads/master
2020-05-24T07:51:12.612678
2019-05-17T07:38:08
2019-05-17T07:38:08
187,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
import json from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler DOMAIN_NAME = u'10.199.111.2' URL = u'http://%s/V1/services/creditcard/matchChannel' BODY_DATA = u'{}' _BODY_DATA = '' if BODY_DATA: _BODY_DATA = json.loads(BODY_DATA) QUERY_DATA = '' METHOD_TYPE = u'post' CONTEN...
[ "wanglili@shhxzq.com" ]
wanglili@shhxzq.com
0a8c9b943a4228d085583febdb9751b709defd51
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03401/s367952087.py
690c79dc5e606e5acdc187566bace0c2cd81752a
[]
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
228
py
N=int(input()) A=[0] a=list(map(int,input().split())) a.append(0) A.extend(a) res=0 for i in range(1,N+2): res+=abs(A[i-1]-A[i]) for i in range(1,N+1): print(res+abs(A[i-1]-A[i+1])-(abs(A[i]-A[i-1])+abs(A[i]-A[i+1])))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc0223638ea453753e94068fdcc01d97d6795848
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev3426-3513/left-trunk-3513/exe/engine/flashwithtextidevice.py
2b1cba2ff59b5a4cfae6d7d7869f851e03b0b909
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
4,313
py
""" A FlashWithText Idevice is one built up from a flash file and free text. """ import logging from exe.engine.idevice import Idevice from exe.engine.field import TextAreaField, FlashField from exe.engine.translate import lateTranslate log = logging.getLogger(__name__) class FlashWithTextIdevice(Idevice): ""...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
7b1c44cc61170367b82165ba9e6cd8b155b7334f
372b1321c545757308aa1ef93a3584d5674af40b
/2016/12/solver.py
bfe70ab94eca5e8eb13daba0476bae302e6cc816
[]
no_license
verdouxscience/advent-of-code
a10b129959a75c4821af1b831f88b89e71857bae
1f993f1104c818a8a0a459357c1be9a78bd33198
refs/heads/main
2023-04-09T10:20:44.307794
2021-04-05T01:55:18
2021-04-05T01:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
from aoc_computer import Computer from aoc_parser import Parser FILE_NAME = 'data' class Setter: def __init__(self, register, value, absolute): self.register = register self.value = value self.absolute = absolute def run(self, computer): value = computer.get(self.value) ...
[ "suslikovvd@gmail.com" ]
suslikovvd@gmail.com
6ec5d61cdcbd11b1301c461c38420f05d86c5ba2
73b5d880fa06943c20ff0a9aee9d0c1d1eeebe10
/tinyos-2.x-contrib/unlpt/FireSim/app/TestFireSim/fire.py
914867e55825a279d8d29025b72dc9bb000ca6a1
[]
no_license
x3ro/tinyos-legacy
101d19f9e639f5a9d59d3edd4ed04b1f53221e63
cdc0e7ba1cac505fcace33b974b2e0aca1ccc56a
refs/heads/master
2021-01-16T19:20:21.744228
2015-06-30T20:23:05
2015-06-30T20:23:05
38,358,728
0
1
null
null
null
null
UTF-8
Python
false
false
984
py
import TOSSIM import sys t = TOSSIM.Tossim([]) m = t.mac(); r = t.radio(); ff = t.newFireEstimator(); t.init() t.addChannel("FireSim",sys.stdout); print (dir(TOSSIM.Tossim)) f=open("ignitionTimes","r") lines=f.readlines() for line in lines: s=line.split() if(len(s)>0): for i in range(0,13): ff.setIgni...
[ "lucas@x3ro.de" ]
lucas@x3ro.de
2a52c007fb362213f43770462a916bbe210e6e84
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/abbazh001/question3.py
af078f24dd68e2655f808a52a43a6da09adf298f
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
#AZHAR ABOOBAKER #ABBAZH001 import math i=math.sqrt(2) pi=2 while 2/i!=1: pi=pi*2/i i=math.sqrt(2+i) print("Approximation of pi:", round(pi, 3)) r=eval(input("Enter the radius:\n")) print("Area:", round(pi*r**2, 3))
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
9a67c3197cd046bdbb164e9575868568e5eaf398
665a90f568b911706ff3c633e5dd9ec2233aee7e
/python_advanced/multidimensional_lists/3-maximal_sum.py
437b86c842e580d86af1b9cdf8b929b944918559
[]
no_license
branchev/SoftUni
5e33546f659e41619c6ae5c1899ae7b62332edf3
f0f67e929ce9091232f899817b7ac10e649de7ed
refs/heads/main
2023-04-05T13:56:29.438986
2021-04-21T06:04:19
2021-04-21T06:04:19
324,530,244
0
0
null
2021-01-06T20:40:04
2020-12-26T10:22:25
Python
UTF-8
Python
false
false
1,020
py
import itertools import sys rows, columns = [int(x) for x in input().split(' ')] SUBCOLUMNS = 3 SUBROWS = 3 LIMIT_RANGE_FOR_COLUMNS = columns - 2 LIMIT_RANGE_FOR_ROWS = rows-2 matrix = [[int(x) for x in input().split(' ')] for i in range(rows)] max_submatrix_sum = -sys.maxsize max_submatrix_content = [] current_su...
[ "ranchev.boris@abv.bg" ]
ranchev.boris@abv.bg
9b6b1ec55448ee571876dfb58c070910196cc1a9
d26145d446389e118424eacb0959912e2ec04a39
/easy/67.py
a407e5a2a86c9e4f49fad141711a1c035cea2ef8
[]
no_license
tzyl/leetcode-python
2b64b0f4affc4c938e4e637d1cbcbac5ee54295b
482eddcd24e984b20b6aae94b606c006b129149e
refs/heads/master
2021-05-14T08:56:07.506917
2018-01-05T12:49:30
2018-01-05T12:49:30
116,314,067
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
class Solution(object): def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ return "{0:b}".format(int(a, 2) + int(b, 2))
[ "tim95@hotmail.co.uk" ]
tim95@hotmail.co.uk
e223efb62f0032c29ef887b26916f8e3f2f56ecc
bb31c0062354bbb0df70692e904c949a00973503
/52_class_super.py
2cd83b8d4c833499c0be43b2d893624f121c58a7
[]
no_license
millanmilu/Learn-Python-with-Milu-
c42df5aa7832fba75015b7af29d6009489e00ec5
3b4714b849dff0a0ef3cc91fd102840fbcf00e43
refs/heads/master
2022-04-26T03:29:38.990189
2020-04-28T13:17:28
2020-04-28T13:17:28
259,634,227
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
x = 0 class fruit: def __init__(self): global x x +=1 print("I am a fruit") class citrus(fruit): def __init__(self): super().__init__() global x x += 2 print("i am citrus") lime = citrus() print(x)
[ "noreply@github.com" ]
millanmilu.noreply@github.com
3bd3a7c1b416b43f14e4d4fa5101cd3b739d24fb
fb73a797946888209a6c0769f87fc1bdebe8260d
/data_utils/data_utils.py
cf30f159c02586de78dac1da348e9767f9912321
[]
no_license
tdworowy/DeepLearningStaff
6709e388fd6c72a888a23c2913ea6fe3a3a9bea7
5434d148204bb9e42cf38c947551f7ec53e581b7
refs/heads/master
2021-09-29T05:35:31.484864
2021-09-26T14:56:01
2021-09-26T14:56:01
237,590,790
0
0
null
2020-06-07T09:28:59
2020-02-01T09:21:34
Python
UTF-8
Python
false
false
221
py
import numpy as np def vectorized_sequences(sequence, dimension=20000): results = np.zeros((len(sequence), dimension)) for i, sequence in enumerate(sequence): results[i, sequence] = 1 return results
[ "dworowytomasz@gmail.com" ]
dworowytomasz@gmail.com
c687c300dd267002f82333e33d7d5dc9fdac6e3d
defb68057cbd4a6f21f715f730be61c51bbcc41a
/molmaps/multiproc.py
47e21678809bfb25d35206576f348c6b6afa8dc2
[]
no_license
shenwanxiang/biendata
0eaf48dbe2bcd247f5de575e1a24972c470ce1c0
c67a3548483311695f67ea124846a8b60144b3f1
refs/heads/master
2021-04-07T15:43:59.576066
2020-03-20T07:45:30
2020-03-20T07:45:30
248,688,399
1
0
null
null
null
null
UTF-8
Python
false
false
5,465
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Nov 21 12:52:49 2018 @author: shenwanxiang Multi process Run """ import time import pandas as pd from tqdm import tqdm from concurrent.futures import ProcessPoolExecutor, wait, as_completed from multiprocessing import Pool,cpu_count,current_process ...
[ "shenwanxiang@tsinghua.org.cn" ]
shenwanxiang@tsinghua.org.cn
5c0075fa324c44e4f392955b9ebc844256b41cbf
a0db69ddb08f229519ec89e699ffb6c575ed7bf5
/addpoint/clientgallery/views.py
193309714dc35c257f42c73aed0b125c0900d7bc
[]
no_license
ninsgosai/photo-project
db814fe8850a87d49c98f1fa3347b5e60577a3f7
abeb5b1f00701d4716e70e1b8b0ea2815586167a
refs/heads/main
2023-01-07T01:09:52.911010
2020-11-18T09:41:04
2020-11-18T09:41:04
313,877,849
0
0
null
null
null
null
UTF-8
Python
false
false
3,210
py
from django.shortcuts import render, HttpResponseRedirect from django.contrib import messages from .models import Clientgallery from client.models import Client from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required # Create your views here. @login_requir...
[ "69950933+ninad-goswamy@users.noreply.github.com" ]
69950933+ninad-goswamy@users.noreply.github.com
0b34b634894235d18826a9c1a37aa257852e22f4
0b47c44e9f860cb820e1db22420b9359ddf885fc
/Week_03/G20200343030632/Leetcode_200_632.py
338234538b50ba89271a9711f8a4156dacf98550
[]
no_license
maxminute/algorithm006-class02
f71f9e8d2f59b1f7bbde434182a29c09792795d2
320d978f3a18751ebbac0c2c9a45462cdcc4cbc6
refs/heads/master
2021-01-02T03:17:20.549719
2020-04-05T14:54:22
2020-04-05T14:54:22
239,468,160
0
2
null
2020-04-05T14:54:23
2020-02-10T09:01:46
Java
UTF-8
Python
false
false
1,070
py
from typing import List class Solution: def numIslands(self, grid: List[List[str]]) -> int: # dfs row_length = len(grid) col_length = len(grid[0]) res = 0 for i in range(row_length): for j in range(col_length): if grid[i][j] == '1': ...
[ "116676671@qq.com" ]
116676671@qq.com
a2d57b1f0816dddab53c8d2d695a455803d89457
e12a377dab21a510080dedbe6e5210b8259c826d
/labelme.spec
24050fe57fac8bc984ae4656555c39efd65f71f1
[]
no_license
lucky0604/labelhub-labelme
b8d76eb70aeec3139286a124f3a85618f3f0e01b
7fce9c3172d5e50ffacd2e9a5aadd8b96c87eec3
refs/heads/main
2023-06-01T19:38:59.968718
2021-06-19T03:50:37
2021-06-19T03:50:37
349,533,092
1
0
null
null
null
null
UTF-8
Python
false
false
836
spec
# -*- mode: python -*- # vim: ft=python import sys sys.setrecursionlimit(5000) # required on Windows a = Analysis( ['labelme/__main__.py'], pathex=['labelme'], binaries=[], datas=[ ('labelme/config/default_config.yaml', 'labelme/config'), ('labelme/icons/*', 'labelme/icons'), ]...
[ "lucky_soft@163.com" ]
lucky_soft@163.com
4c83956b379891afbfba4b411053757968df2b90
b3b38ebf386bbd323d832ee077ae249a6ab331e9
/Day 4/Day 4.py
223a7d88cbfb2b815fcd9e609447567c6424c386
[]
no_license
bakkerjangert/AoC_2017
7bae1b1b9da5b2263d911eff5bbadc2849716be6
1c36b80965875cdcbc50c6abe75cc5def72ee573
refs/heads/master
2023-02-03T05:19:55.933367
2020-12-18T14:39:40
2020-12-18T14:39:40
322,620,627
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
with open('input.txt') as f: lines = f.read().splitlines() answer = 0 for line in lines: lst = line.split() valid = True for item in lst: if lst.count(item) > 1: valid = False break if valid: answer += 1 print(f'The answer is {answer}')
[ "gert-jan.bakker@rhdhv.com" ]
gert-jan.bakker@rhdhv.com
30304fbdf82ee5cf60f771cf238e3226e7b4fd30
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/compute/regions/describe.py
8505b735d3e2b54b0f1ce848d525587baa2a2651
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
1,796
py
# -*- coding: utf-8 -*- # # Copyright 2014 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
36e8a6f99d82701a7efd349f4b6cb7841d660af0
34823bf6b9c0f3d3fa9806e0d331f7d38a1c6756
/src/canari/__init__.py
eac32bc447a75bfdcae62c2128632621ddc3636d
[]
no_license
cmlh/canari
bdd7166fa3a55c4f27cf0bf8fd4a05f254f36f38
bfc43de0f2ce171e22b11041d1e1e47b632c6f86
refs/heads/master
2020-12-28T19:33:42.713091
2014-01-23T08:13:03
2014-01-23T08:13:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
__author__ = 'Nadeem Douba' __copyright__ = 'Copyright 2012, Canari Project' __credits__ = [] __license__ = 'GPL' __version__ = '1.0' __maintainer__ = 'Nadeem Douba' __email__ = 'ndouba@gmail.com' __status__ = 'Development' __all__ = [ 'commands', 'maltego', 'resources', 'utils', 'xmltools', '...
[ "ndouba@gmail.com" ]
ndouba@gmail.com
f172d0be7459e3990567c051e24a5ff3ddcf9c4f
7cd0420e4ed9f2c7356acbaf7fc9c2e5bbf328e5
/__manifest__.py
947f236190a315f867a0b27b6095b8691a7682a9
[]
no_license
asop-source/test_absensi
7645438e012a947a843e317fae847b85e4baea08
4b07fdc8d57a8614a868eafb3333ed4e820dba4f
refs/heads/master
2023-08-01T01:05:10.010813
2021-09-08T06:32:45
2021-09-08T06:32:45
404,236,784
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
# -*- coding: utf-8 -*- { 'name': "test_absensi", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", 'web...
[ "asopkarawang@gmail.com" ]
asopkarawang@gmail.com
1737b8b551e0542d3d32f2c203fcdfb24a9535cc
34de2b3ef4a2478fc6a03ea3b5990dd267d20d2d
/Python/parallel_programming/Parallel_Programming/withExecutable/overflow1.py
7f786a02dd7385979df7ffe4930b8818208c28b6
[ "MIT" ]
permissive
bhishanpdl/Programming
d4310f86e1d9ac35483191526710caa25b5f138e
9654c253c598405a22cc96dfa1497406c0bd0990
refs/heads/master
2020-03-26T06:19:01.588451
2019-08-21T18:09:59
2019-08-21T18:09:59
69,140,073
0
1
null
null
null
null
UTF-8
Python
false
false
366
py
# clear; python overflow1.py ; rm *~ from multiprocessing import Pool def run_process(args): name = args[0] arguments = args[1] commands = [] for x in range(20): commands.extend(("prog1.c",['./prog1'])) commands.extend(("prog2.c",['./prog2'])) commands.extend(("prog3.c",['./prog3', 'first argumen...
[ "bhishantryphysics@gmail.com" ]
bhishantryphysics@gmail.com
20a5529398fdff32ae5d5ecf94b9fcfb5d7bcbd3
64d8d80c9a292f1552190af17cf1fe984968d5dc
/python/8kyu/8kyu - Expressions Matter.py
7b19ba417fdec18fed07b250995491f5f5106467
[]
no_license
zurgis/codewars
3acc880e0f3a40fc77532bcac537452d419fc268
045d74d6a36f4bc8a69a76dd3f21fef22c338ca2
refs/heads/master
2021-04-20T22:47:45.833147
2020-05-19T14:01:55
2020-05-19T14:01:55
249,723,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
# Task # Given three integers a ,b ,c, return the largest number obtained after inserting the following operators and brackets: +, *, (). # Consider an Example : # With the numbers are 1, 2 and 3 , here are some ways of placing signs and brackets: # 1 * (2 + 3) = 5 # 1 * 2 * 3 = 6 # 1 + 2 * 3 = 7 # (1 + 2) * 3 = 9 # ...
[ "khdr437@gmail.com" ]
khdr437@gmail.com
a2372e737bf8b8e189949f9053b49ca57e327ef8
dee7875730c0f40655224b8c42c0c7679907af26
/franka_moveit/tests/test_scene_interface.py
4284ceabdcc53a5237d8b8f0cc94c344188bb959
[ "Apache-2.0" ]
permissive
codacy-badger/franka_ros_interface
0c7aba115858a0fa8d328230f770b696d757257a
906ed12eddd86f0d9f427a31b1356c399dd054a3
refs/heads/master
2022-11-30T18:40:22.252560
2020-08-11T18:00:56
2020-08-11T18:00:56
249,715,019
0
0
Apache-2.0
2020-03-24T13:26:44
2020-03-24T13:26:43
null
UTF-8
Python
false
false
1,764
py
#! /usr/bin/env python import sys import rospy import moveit_commander from franka_moveit import ExtendedPlanningSceneInterface from franka_moveit.utils import create_pose_stamped_msg """ Test if sceneinterface works. Use rviz and add PlanningScene visual while running the interface. """ objects = [ ...
[ "saifksidhik@gmail.com" ]
saifksidhik@gmail.com
fba25a8c46ad8f28faf4d4b9e96f031b57ccac0a
40f92e067b7705acac1a01709fbef49b7e98af05
/tutorial/练习/百度图片.py
5dd51e13dc654f3afae6bc3ae6eed7ca1b1ab916
[]
no_license
liuxiaoxiao666/python_study
bd2a2a6122cf316f3fa7ee6926675bc96deb773c
9afe9ec7809529af05a971993d9ee17421364f76
refs/heads/master
2021-10-19T15:47:47.729728
2019-02-22T08:27:40
2019-02-22T08:27:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
# coding:utf-8 __author__ = 'trc' import re import requests import time from lxml import etree word = input('请输入你要搜索的图片:') #百度复制搜索栏: ‘http://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fm=result&fr=&sf=1&fmq=1547206670591_R&pv=&ic=0&nc=1&z=&hd=&latest=&copyright=&se=1&showtab=0&fb=...
[ "1417633855@qq.com" ]
1417633855@qq.com
67f2cab90a2ef1d04421a111e03de45b7358eb26
95843051a7f474287190a136da22f3001f0a94f9
/dfirtrack_main/tests/serviceprovider/test_serviceprovider_forms.py
4aaaaf84b5288a2d5da317d81801e2ecb8385d69
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
kahfiAG/dfirtrack
76c57fcea5f2cd1c3d3bc114cffbb1f4500dd419
d5105a52b4fd7061be271eab8ac8f72a73bf883e
refs/heads/master
2022-10-23T03:48:29.190644
2020-06-08T22:24:14
2020-06-08T22:24:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,155
py
from django.test import TestCase from dfirtrack_main.forms import ServiceproviderForm class ServiceproviderFormTestCase(TestCase): """ serviceprovider form tests """ def test_serviceprovider_name_form_label(self): """ test form label """ # get object form = ServiceproviderForm() ...
[ "mathias.stuhlmacher@gmx.de" ]
mathias.stuhlmacher@gmx.de
8b8fb01d7292c405be703947b4304f067d8d7567
62d587741279b3ca999443357caa256628d43ff7
/pyupdater/vendor/PyInstaller/hooks/hook-PyQt4.uic.py
f488e767814cda78d5b5d32aa9abaefc2009d917
[ "BSD-2-Clause" ]
permissive
rsumner31/PyUpdater1
f2853b5be3d527de2a0dc8b480bf5a523a799705
d9658000472e57453267ee8fa174ae914dd8d33c
refs/heads/master
2022-12-11T17:16:36.727396
2018-03-11T14:08:42
2018-03-11T14:08:42
124,758,568
0
0
BSD-2-Clause
2021-06-01T22:01:36
2018-03-11T13:20:48
Python
UTF-8
Python
false
false
2,614
py
#----------------------------------------------------------------------------- # Copyright (c) 2013, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this softwa...
[ "rsumner31@gmail.com" ]
rsumner31@gmail.com
3a3b7d921672d5404fedc985eb05c6893be7c7d6
b76b6b56712eccde67ac2774fcc63e4953ae3ad3
/model_criticism_mmd-latest/model_criticism_mmd/models/datasets.py
de2360d4d0eca9e11281b1e345493699cb0bae94
[ "CC-BY-4.0", "MIT" ]
permissive
cocoaaa/model_criticism_mmd
0d19e63a18b703492c162647c40d4fe4f1001c9c
be371cb791af85911d32efd551bf2df95434d63a
refs/heads/master
2023-08-04T07:33:50.764311
2021-10-02T08:03:27
2021-10-02T08:03:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,118
py
import h5py import tempfile import pathlib import torch import typing import numpy as np from model_criticism_mmd.models.static import TypeInputData, DEFAULT_DEVICE from model_criticism_mmd.logger_unit import logger # todo save the data on storage, not on memory. class TwoSampleDataSet(torch.utils.data.Dataset): ...
[ "kensuke.mit@gmail.com" ]
kensuke.mit@gmail.com
054f2ea63ded90c09268a3ea54dde0a230baaa7b
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/eggs/docutils-0.7-py2.6.egg/EGG-INFO/scripts/rst2s5.py
61870c978e365ef2c41eba7be4e0c4b362848717
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
684
py
#!/afs/bx.psu.edu/project/pythons/linux-x86_64-ucs4/bin/python2.6 # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using the S5 templat...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
07ce3f29f389133962895901ff1b976e40253fea
301f0148e8c7595ee782403ce54b4112f49f3b08
/respy/fortran/wscript
6c54a9df633795dd65f482db06aee8cec5f1ee05
[ "MIT" ]
permissive
tobiasraabe/respy_for_ma
7c194cac92c13a1961e3ab2b16c619e2fd18ba91
405f40851b176705fe924220fba606263d47f3d6
refs/heads/master
2020-09-09T00:32:17.447807
2019-11-12T18:58:59
2019-11-12T18:58:59
221,289,434
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
def build(ctx): # Create the RESFORT library. This is build in addition to the RESFORT executable to allow # for the use of an F2PY interface to the core functions as well. src = ['shared/shared_constants.f90', 'shared/shared_types.f90', 'parallelism/parallelism_constants.f90', ...
[ "eisenhauer@policy-lab.org" ]
eisenhauer@policy-lab.org