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
d88e83ce61f5c1cfefddc7edc3506b16a9221549
d8d0de926ac1a1de1abfca06aaed843d59f3674a
/python/easy/Solution_53.py
3823a1f61d12b196772daf89164680284c13e3b6
[]
no_license
nickest14/Leetcode-python
75b4919d1ac45c6a7b008e6336db38a06e337bc7
435deadfe2b3936dd7848a384d2d9a364352268c
refs/heads/master
2023-08-31T07:23:14.595745
2023-08-30T13:52:10
2023-08-30T13:52:10
188,695,066
0
0
null
2019-07-20T12:29:09
2019-05-26T14:43:12
Python
UTF-8
Python
false
false
643
py
# 53. Maximum Subarray from typing import List class Solution: def maxSubArray(self, nums: List[int]) -> int: ans = nums[0] total = 0 for n in nums: total += n ans = max(ans, total) if total < 0: total = 0 return ans # def m...
[ "nickest14@gmail.com" ]
nickest14@gmail.com
d8f4e1dab4f396180784cd27edd3f97818f00ff4
275a96a33ae1f89e7b2ee0ecdbac7d78abe6d6cc
/test/test_agreement.py
a23d4faa65adb95e44786545cc1594e00cee38cd
[]
no_license
cascadiarc/cyclos-python-client
8029ce07174f2fe92350a92dda9a60976b2bb6c2
a2e22a30e22944587293d51be2b8268bce808d70
refs/heads/main
2023-04-03T16:52:01.618444
2021-04-04T00:00:52
2021-04-04T00:00:52
354,419,532
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
# coding: utf-8 """ Cyclos 4.11.5 API The REST API for Cyclos 4.11.5 # noqa: E501 OpenAPI spec version: 4.11.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.agreeme...
[ "dan@leftcoastfs.com" ]
dan@leftcoastfs.com
33daa2f6e6384682405e79bf9780044ac51c8720
d914604923dffab7a612b95f7e1b7ebcab0e9bb3
/insta/migrations/0001_initial.py
86409c50e4e9b1efd73aabc3b1f744ec7c895782
[]
no_license
MaryMbugua/Insta
8ca4adaa356d249a0d945cec653cf70fd2fe1589
a238cda86616cbfc26e95611ad63b7a42011ffc0
refs/heads/master
2020-03-18T03:27:33.141311
2018-05-23T16:05:06
2018-05-23T16:05:06
134,241,994
0
1
null
null
null
null
UTF-8
Python
false
false
2,618
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-05-23 06:31 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): initial = True dependencies ...
[ "marymbugua.nm@gmail.com" ]
marymbugua.nm@gmail.com
d593edb29f5801f87b35e1ea86e83429d51735a0
215fd5c4f9893d9f38e4e48199ea16d7d6ef9430
/9.Dynmaic_Programming/9.6_L91_Decode_Ways.py
8f21ead3257f41860d9cc46e3d11e2e5d4e81dbb
[]
no_license
fztest/Classified
fd01622c097ca21b2e20285b06997ff0e9792dd1
b046d94657c0d04f3803ca15437dfe9a6f6f3252
refs/heads/master
2020-03-25T06:34:07.885108
2017-05-04T17:22:36
2017-05-04T17:22:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
""" Description ______________ A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total number of ways to decode it. For example, Given encoded message "12", it could be decoded as "AB...
[ "cdzengpeiyun@gmail.com" ]
cdzengpeiyun@gmail.com
c9ee749e1278aca262b9a42c087dbe576822bd2e
bfaf89bdb222b5b1f31aa4ef2a6466ca0125e225
/students/view/logs.py
1ebabdab75d4327d83f3c4782c224b271a81e1d8
[]
no_license
smolynets/studentsdb13
ab70506571150745753f04923c1a62457368ee03
a76f9afa62ac6176a2f4dcea0098b6dd3986c3fc
refs/heads/master
2021-01-17T22:03:14.145146
2017-03-07T08:33:38
2017-03-07T08:33:38
84,186,580
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from django.core.urlresolvers import reverse from ..models.monthjournal import logentry from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from datetime import datetime from django.contrib import message...
[ "smolynets@gmail.com" ]
smolynets@gmail.com
b363b9ba1433e55ffe49fdb19adb2c5bade1ef05
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5738606668808192_0/Python/macieck9/c.py
272d253ddc792afadcf3d720f6bab5d5693a2d4b
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
869
py
def to_bin(n): l = [] while n != 0: l.append(n % 2) n /= 2 l.reverse() res = 0 for d in l: res = 10 * res + d return res def to_dec(n, b): l = str(n) res = 0 for d in l: res = b * res + int(d) return res def divisor(n): for p in primes: if n % p == 0: return p if p * p > n: return -1 r...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
0901a8decebfd2e16adbeb8a5654d44c7e9cc093
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/์˜ˆ์™ธ์ฒ˜๋ฆฌ_20200709152901.py
0f0b02c3f92435483b13b818496c0572d693295e
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
try: print("๋‚˜๋ˆ„๊ธฐ ์ „์šฉ ๊ณ„์‚ฐ๊ธฐ์ž…๋‹ˆ๋‹ค.") nums = [] nums.append(int(input("์ฒซ ๋ฒˆ์งธ ์ˆซ์ž๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š” : "))) nums.append(int(input("๋‘ ๋ฒˆ์งธ ์ˆซ์ž๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š” : "))) nums.append(int(nums[0] / nums[1])) print("{0} / {1} = {2}".format(num1, num2, int(num1/num2))) except ValueError: print("์—๋Ÿฌ! ์ž˜๋ชป๋œ ๊ฐ’์„ ์ž…๋ ฅํ•˜์˜€์Šต๋‹ˆ๋‹ค.") except ZeroDivision...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
91cb47500489f1a197928970caee8353d4676186
347299b495e1417dd4748c86f7696fb849c79c4f
/analisis_proyectos/servicios/configurador.py
5fd1e564e54d15c1808c25abe4961a5136ee9eb8
[]
no_license
vvalotto/python_uner
6a379cc7ab4cb6380c193863403409e5559e1cd6
8fbeb9fde0883427695b5065232ace452160034f
refs/heads/master
2020-07-25T23:32:50.829101
2019-10-18T18:02:16
2019-10-18T18:02:16
208,457,042
0
0
null
null
null
null
UTF-8
Python
false
false
2,099
py
""" Clase que inicializa y arma las instancias necesarias iniciales de la aplicaccion: Contextos de datos Respositorios Gestores """ from analisis_proyectos.infraestructura.persistencia.contexto.contexto_database_sqlite import * from analisis_proyectos.infraestructura.persistencia.repositorios.DB_repositorio_proyecto i...
[ "vvalotto@gmail.com" ]
vvalotto@gmail.com
9a4060829fa3fbbf0940f5bfb96aa01245a3d0c5
1bccf7d57c7aa8d48b84fff187de4b6ff2599cb6
/pandora_rqt_gui/scripts/pandora_rqt_gui.py
c324b72f85afebafedfbb68e996684964493b158
[]
no_license
skohlbr/pandora_ros_pkgs
733ed34edb5b6d46e59df4acb01288f28ef3b50f
eecaf082b47e52582c5f009eefbf46dd692aba4f
refs/heads/indigo-devel
2021-01-21T18:06:14.967943
2015-11-04T15:08:03
2015-11-04T15:08:03
53,413,573
0
1
null
2016-03-08T13:19:40
2016-03-08T13:19:40
null
UTF-8
Python
false
false
140
py
#!/usr/bin/env python import sys from rqt_gui.main import Main main = Main() sys.exit(main.main(sys.argv, standalone='pandora_rqt_gui'))
[ "pandora@ee.auth.gr" ]
pandora@ee.auth.gr
4fff3230f52f4f0a934e4f4430ae04de4a2e3c0a
43b6bffc820d26dfd223728bed71241fb3d54983
/abc/223/c.py
b26920383e241d8bef73911853f1633fb651f49a
[]
no_license
kiccho1101/atcoder
3a163b6a38a62c578dad6d15ccb586d0fcd1e004
c86cb8e08b881a0a01dc2ef538f0699f3951e897
refs/heads/master
2023-03-02T13:27:17.747402
2022-05-30T13:51:00
2022-05-30T13:51:00
223,152,693
1
0
null
2023-02-11T01:29:47
2019-11-21T10:52:49
Python
UTF-8
Python
false
false
345
py
N = int(input()) ab = [list(map(int, input().split())) for _ in range(N)] secs = [a / b for a, b in ab] middle = sum(secs) / 2 ans = 0 curr = 0 for i, (a, b) in enumerate(ab): diff = middle - (curr + secs[i]) if diff > 0: curr += secs[i] ans += a else: ans += (middle - curr) * b ...
[ "yodai.a.kishimoto@rakuten.com" ]
yodai.a.kishimoto@rakuten.com
c125b0cb7fc1c7088739d00ba172ced46b39efe7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02909/s936658151.py
b112400ac8521188a69b312edffaf79281fe8a75
[]
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
157
py
S = input() weather = ['Sunny', 'Cloudy','Rainy'] if S == weather[0]: print(weather[1]) elif S == weather[1]: print(weather[2]) else: print(weather[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1e92b2d38e080ce7e20b2e929c60746d9140b4ed
a18db39e7c392d9529f2cc4889e188310706b14f
/amadon_django/apps/amadon_app/migrations/0001_initial.py
10c9629f6f602333a30d5560925895a7900a50db
[]
no_license
LeoKnox/amadon
d9f9d6234a3ebba12576115a02ee8ae222addb89
f522f2c2e7ba655f8f11fe1984d49b9db799fbd3
refs/heads/master
2020-04-11T05:45:05.352715
2018-12-12T23:46:15
2018-12-12T23:46:15
161,558,894
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-12-12 20:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Shop', ...
[ "noreply@github.com" ]
LeoKnox.noreply@github.com
df112d0a858197f8660c215b773b0b219f73d5c7
0c9e35012baf61ee678bc719588b8cb2ccbe449e
/product/migrations/0228_auto_20180502_0957.py
8a9605683776d8c9b4c9a98061df35772b9ed2bd
[]
no_license
rickyakilimali/approeco
6f0f62d57b6e5361b5c5dd473038f2999bac1413
fd96ca6d70dabf20668d2a582c67e5d409a4a097
refs/heads/master
2018-09-21T12:44:27.414394
2018-06-06T16:35:40
2018-06-06T16:35:40
113,836,591
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-05-02 09:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0227_auto_20180502_0954'), ] operations = [ migrations.AlterFiel...
[ "ricky.akilimali@approeco.net" ]
ricky.akilimali@approeco.net
6160f5c334c7db26952d00d3e77126d97da0f263
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/SevenTeV/RSGravitonToWW_kMpl01_M_2000_TuneZ2_7TeV_pythia6_cff.py
44240dee8666db40ad085eb0bf7cb53b891f710d
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,223
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2Settings_cfi import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0), pythiaPylistVerbosity = cms.untracked.int32(0), filterEfficiency = c...
[ "sha1-45889d0b422ced4b08fb223eae59c585c331ccec@cern.ch" ]
sha1-45889d0b422ced4b08fb223eae59c585c331ccec@cern.ch
a274df74a04971717b3273284e2577410940beae
cb4d2629eadfafb4ffbcea8087399acb4f35cf00
/mycalendar/serializers.py
a44370c64247b8d713cd71a8eb00701e76792d99
[]
no_license
rdahal35/django_fullcalendar
576023fa348391082ee82b50e27772b9c11c7b47
35623f562642816b9f501ea1390a03d96c0d188a
refs/heads/master
2022-12-13T12:32:33.098739
2018-08-13T10:28:35
2018-08-13T10:28:35
142,756,016
0
1
null
2022-12-08T02:19:24
2018-07-29T11:40:13
JavaScript
UTF-8
Python
false
false
182
py
from rest_framework import serializers from .models import Event class eventSerializer(serializers.ModelSerializer): class Meta: model = Event fields = '__all__'
[ "rdahal35@gmail.com" ]
rdahal35@gmail.com
a79bfdb21a8f6a40a5c9ace790f401e9e1725607
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/1501-2000/1678.Goal Parser Interpretation.py
4653442e30b404a724cb952adacb2f49bdd3b8e1
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
552
py
class Solution(object): def interpret(self, command): """ :type command: str :rtype: str """ def tokenize(command): i = 0 while i < len(command): if command[i] == "G": yield "G" i += 1 ...
[ "skw_kevin@126.com" ]
skw_kevin@126.com
1a7cb4284d1fd36b31dba154ea268d380e9ed4f4
0d1c1a216b01f6773e751691e9d3e10cc4f27d09
/tensorflow/contrib/cudnn_rnn/python/kernel_tests/cudnn_rnn_ops_benchmark.py
8d5ff341acd737162334c2f2a8f4c81db9db82d2
[ "Apache-2.0" ]
permissive
abdo5520/tensorflow
13c1496e7aa115bba06cda5fc9dc73ba9e4b1694
55b01593515817992821423fec19733bca91c918
refs/heads/master
2021-01-13T04:05:38.763884
2017-01-01T13:10:05
2017-01-01T13:10:05
77,894,045
0
1
null
2017-01-03T07:28:02
2017-01-03T07:28:02
null
UTF-8
Python
false
false
6,958
py
# Copyright 2016 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
102be23096fba5b7196ac3e0c929f4ac9631cd95
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/dev_bc/models/product_uom.py
77461ba74a7add5a24d3a1415a7831e4131454f2
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from odoo import models, fields, api, _ import openerp.addons.decimal_precision as dp from odoo.exceptions import UserError class productuom(models.Model): _inherit = 'product.uom' name_bc = fields.Char('Unit of bc')
[ "dads02_zetti@yahoo.com" ]
dads02_zetti@yahoo.com
294939bed03799b74ad9da32b6d03e81286ce9ed
8a83bb7acb9b62183fca817e1f196dd8075630a4
/24_fourthFolder/18_lazy_propagation.py
4435a51def47f2397589dc377acdb639e7fffb40
[]
no_license
sandeepkumar8713/pythonapps
ff5ad3da854aa58e60f2c14d27359f8b838cac57
5dcb5ad4873124fed2ec3a717bfa379a4bbd197d
refs/heads/main
2023-09-01T04:12:03.865755
2023-08-31T07:04:58
2023-08-31T07:04:58
234,762,925
1
0
null
null
null
null
UTF-8
Python
false
false
6,404
py
# https://www.geeksforgeeks.org/lazy-propagation-in-segment-tree/ # Question : Write a function which takes start and end index and return their range sum. We # have used the same "Sum of given Range" problem to explain Lazy propagation. He then asked # range update in best optimised way. I told him Lazy propagation. I...
[ "sandeepkumar8713@gmail.com" ]
sandeepkumar8713@gmail.com
570f37233f49a95dccabcfab99c73b34aed7b8a1
fe488ec29223d32d0d94295e838517b7e8cf9c7d
/ghidra/scripts/find_duplicate_functions.py
eefaf1e3448e6d38d520887ec12f49284de1acca
[ "MIT" ]
permissive
qeedquan/debug
4ad1fd9c2f484190a0a64725653e47172e7595c6
aadeb3351f832bbd7210f0512037c93e48153062
refs/heads/master
2023-05-10T17:06:50.463693
2023-05-01T01:33:39
2023-05-01T01:33:39
87,041,932
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
#@author #@category _NEW_ #@keybinding #@menupath #@toolbar class Func: def __init__(self): self.func = None self.body = [] self.hash = "" def getfuncs(): listing = currentProgram.getListing() result = [] func = getFirstFunction() while func is not None: f = Fun...
[ "qeed.quan@gmail.com" ]
qeed.quan@gmail.com
2c8eb5561dfa8bcd89c70ae82192ec5011775a7f
1f190e0290513ede543c370b0428dff8079e32ed
/clusters/haswell/submit_dalton.py
7010c4b656d761c5a57f7b5154d2253d5287f643
[]
no_license
Computational-Chemistry-Research/personal_scripts
535062bc402088d1fd0ccbabae906eb6e7a65e84
0b51032582a2ee55b06a150009bb898e2b976606
refs/heads/master
2023-02-03T10:02:18.612244
2020-12-25T15:20:37
2020-12-25T15:20:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
py
#!/usr/bin/env python """submit_dalton.py: A standalone script for submitting DALTON jobs to Haswell's SLURM scheduler. """ def template_slurmfile_dalton(inpfile, ppn, time, extrafiles): """The template for a SLURM jobfile that calls DALTON.""" copy_string_template = 'cp "$SLURM_SUBMIT_DIR"/{} "$LOCAL"\n' ...
[ "eric.berquist@gmail.com" ]
eric.berquist@gmail.com
a963122d803d9c95d2f4da26529d3c3263e17c97
8935286746ba7d98e69f28343498a20303b8fbef
/tests/problem_difference_operators/test_Dcd.py
11d01a7860d1dd2af0fcf3104146558a36b2498c
[]
no_license
ASU-CompMethodsPhysics-PHY494/Activity_11_differential_operators
dceac220f1a68addc8a4b1720793a62bdf805038
bec1e9064d24364fa6e7013b4719c3d48e9e3529
refs/heads/main
2023-03-12T15:45:59.381399
2021-03-04T10:09:50
2021-03-04T10:09:50
344,430,601
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from ..base import _TestDxx class TestDcd(_TestDxx): name = "D_cd" @staticmethod def op(f, x, dx): dx2 = dx/2 return (f(x + dx2) - f(x - dx2))/dx
[ "orbeckst@gmail.com" ]
orbeckst@gmail.com
ca62d5843d222ded6598b0f8b2af7ca737d437d6
12579725d1c1e51a436136f465a8a7e60a76248b
/apps/almacen/views.py
a054d12a7d23f2f3f1b6d09e0dc0930306a1e707
[]
no_license
kiritodeveloper/optica
f4f43b9ead720e0708974736ba6a798e7980ccb8
6491c4b6b074a1e1f6d7a5b2d73f85e7ed11bedd
refs/heads/master
2023-01-06T14:00:20.337601
2019-07-07T00:42:21
2019-07-07T00:42:21
176,391,884
3
0
null
2022-12-26T20:15:18
2019-03-19T00:33:16
TSQL
UTF-8
Python
false
false
6,978
py
# -*- encoding: utf-8 -*- from django.shortcuts import render,redirect, HttpResponse from django.views.generic import View, ListView, DeleteView from apps.cliente.models import Cliente from apps.facturacion.models import Venta from apps.receta.models import Receta from .models import Producto,Proveedor from .forms impo...
[ "admin@example.com" ]
admin@example.com
6cb58c3d103adce06bc3212805179da117d0586a
87d0de6a06451d7aa561b72d908d06e68074f650
/core/arxiv/submission/auth.py
2bc77e6859adcdde806a42175c0522339435c9cd
[ "MIT" ]
permissive
arXiv/arxiv-submission-core
3e79085ee408fd83b4dd4c0c1e8ccc53dd282230
6077ce4e0685d67ce7010800083a898857158112
refs/heads/develop
2022-01-21T02:11:56.384920
2020-07-31T18:16:17
2020-07-31T18:16:17
106,854,828
14
8
MIT
2022-01-06T22:29:31
2017-10-13T17:36:51
Python
UTF-8
Python
false
false
1,330
py
from typing import List import uuid from datetime import datetime, timedelta from pytz import UTC from arxiv.users import auth, domain from arxiv.base.globals import get_application_config from .domain.agent import User, Agent, Client def get_system_token(name: str, agent: Agent, scopes: List[str]) -> str: sta...
[ "brp53@cornell.edu" ]
brp53@cornell.edu
f9f5f1c810bd6768490f56eed7d994bb84fc244d
d5682d2ef13ad63c68d59d3d0706853a88035ff1
/week4/netmiko_test.py
7d33f05d13548fa2bd2280fdb6c9095940601267
[ "Apache-2.0" ]
permissive
mikealford/ktbyers_automation
66467f5352a3fbb111fc18f9c90b83cf97a75e79
d8b30e7ddbe27b4bc62b74bfc051b6d1c099f7f9
refs/heads/master
2020-04-17T19:37:42.365653
2019-02-19T01:16:41
2019-02-19T01:16:41
166,872,630
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
from netmiko import ConnectHandler from getpass import getpass password = getpass() switch1 = { 'device_type': 'cisco_ios', 'ip': '192.168.122.172', 'username': 'malford', 'password': password, } switch2 = { 'device_type': 'cisco_ios', 'ip': '192.168.122.173', 'username': 'malford'...
[ "mike.alford13@gmail.com" ]
mike.alford13@gmail.com
debf5d538dd470447e69bf1ceafc4368d95d2702
a276d03f34457c174d2e79fc4fdb17c90299e843
/projects/buttons/lib/markdown/__version__.py
65edeeddbe2024b9e9a9513b5ec0deaec794cfdb
[ "MIT" ]
permissive
lucidworks/streams
effba3bc55df10431fb505937180b30d72e248b8
89aaf02382494cf09041ca5dadb41dddb86cf9d8
refs/heads/master
2021-06-02T04:09:27.626504
2020-01-07T01:28:09
2020-01-07T01:28:09
106,742,467
8
6
null
2020-03-17T21:17:48
2017-10-12T20:34:28
Python
UTF-8
Python
false
false
907
py
# # markdown/__version__.py # # version_info should conform to PEP 386 # (major, minor, micro, alpha/beta/rc/final, #) # (1, 1, 2, 'alpha', 0) => "1.1.2.dev" # (1, 2, 0, 'beta', 2) => "1.2b2" version_info = (2, 4, 0, 'final', 0) def _get_version(): " Returns a PEP 386-compliant version number from versi...
[ "kordless@gmail.com" ]
kordless@gmail.com
a68ab708a3dd64fa6df53028e3ae4f92b71cde57
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/collective.siterss-0.4-py2.7.egg/collective/siterss/tests.py
504d02d5c4f70d7c823545bd4735b78c9bb7ae7c
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
1,490
py
import unittest #from zope.testing import doctestunit #from zope.component import testing #from Testing import ZopeTestCase as ztc from Products.Five import zcml from Products.Five import fiveconfigure from Products.PloneTestCase import PloneTestCase as ptc from Products.PloneTestCase.layer import PloneSite ptc.setup...
[ "renansfs@gmail.com" ]
renansfs@gmail.com
447a68a7c95e7246409e5e6a6d769ae3909d7314
b03a7b92cef9cbee31918b0608ce58669b92df73
/jd_home1.py
014257d838a833709c28bf6bb2c6adc3e7d5d364
[]
no_license
luobodage/-
5cbc3f7900867cddb53bf347da57716cd7917481
affbaa854a031819a74c944d3a95f4dc5d90d08f
refs/heads/master
2022-12-30T23:49:31.205151
2020-10-25T09:02:01
2020-10-25T09:02:01
297,016,262
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
import requests import UserAgent import lxml.etree as le import re import os def spider_home(): """ ่Žทๅ–็‰ฉๅ“็š„urlไปฅๅŠๆ ‡้ข˜ไปทๆ ผ :return: ่ฟ”ๅ›ž็‰ฉๅ“็ผ–็  """ shop = input("่ฏท่พ“ๅ…ฅไฝ ่ฆๆœ็ดข็š„ๅ•†ๅ“๏ผš") global headers headers = UserAgent.get_headers() # ้šๆœบ่Žทๅ–ไธ€ไธชheaders url = 'https://search.jd.com/Search?keyword={shop}&enc=ut...
[ "fuyu16032001@gmail.com" ]
fuyu16032001@gmail.com
39c457d336d955950a124abbfb9682486e1bbab8
90115eeb4d60c1dc26deb1c124d42039d214195c
/ixl/management/commands/createchallenges.py
dacb82b399b6bd7265dc6ed66a89f577c65727cc
[]
no_license
waffle-iron/Newton
ce60a8ccc66bbc23aa764742b197add4cfb4d2d3
f8f3df4127e88428db0cc73207ac51582db7cd42
refs/heads/master
2021-01-02T08:59:39.948797
2017-08-02T12:52:52
2017-08-02T12:52:52
99,116,161
0
0
null
2017-08-02T12:52:52
2017-08-02T12:52:51
null
UTF-8
Python
false
false
7,674
py
# commands/createchallenges.py # Full path to your django project directory your_djangoproject_home="/home/alex/newton/" import django import datetime import sys,os import requests from variables import second_teachers as assigned_teachers from variables import mastery_skills, cbaExercises sys.path.append(your_djangop...
[ "alexrtrost@gmail.com" ]
alexrtrost@gmail.com
9b27acf8e7217a6d9531f6f8b2b0b06fc5734d47
282d0a84b45b12359b96bbf0b1d7ca9ee0cb5d19
/Malware1/venv/Lib/site-packages/numpy/ma/core.py
2a76d165ece3eafac172eaa1d54d982e3d5957f7
[]
no_license
sameerakhtar/CyberSecurity
9cfe58df98495eac6e4e2708e34e70b7e4c055d3
594973df27b4e1a43f8faba0140ce7d6c6618f93
refs/heads/master
2022-12-11T11:53:40.875462
2020-09-07T23:13:22
2020-09-07T23:13:22
293,598,094
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
version https://git-lfs.github.com/spec/v1 oid sha256:5152f7d1fc4275d76c9cc94b3a0702c65f9c6bff88aa6eaec8df101e7733707e size 256431
[ "46763165+sameerakhtar@users.noreply.github.com" ]
46763165+sameerakhtar@users.noreply.github.com
984cdfba99e9f183944bffc8080c34e4f54c0e66
94ed2113af11ba8b716fb959c5ac0a32c5549c18
/templates/plexus/{project.name}/actions/About.py
cd853ead8059cee02158904d7f5a4fd013c94cd8
[ "BSD-3-Clause" ]
permissive
avalentino/pyre
85ba21388514dc8c206d5136760e23b39aba1cae
7e1f0287eb7eba1c6d1ef385e5160079283ac363
refs/heads/main
2023-03-23T04:58:02.903369
2021-03-09T17:37:11
2021-03-09T17:37:11
347,723,195
0
0
NOASSERTION
2021-03-14T18:43:34
2021-03-14T18:43:33
null
UTF-8
Python
false
false
4,184
py
# -*- coding: utf-8 -*- # # {project.authors} # {project.affiliations} # (c) {project.span} all rights reserved # # externals import {project.name} # declaration class About({project.name}.command, family='{project.name}.actions.about'): """ Display information about this application """ # user co...
[ "michael.aivazis@orthologue.com" ]
michael.aivazis@orthologue.com
f97683759d994ffa651b9fe04556b5fe7227fbec
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/90d8d0df916085db80d40220965daa4a3b7ba311-<test_qz_single>-bug.py
2282f4798ce0ca3c2d1f5cf68bc695667672a3e3
[]
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
389
py
def test_qz_single(self): n = 5 A = random([n, n]).astype(float32) B = random([n, n]).astype(float32) (AA, BB, Q, Z) = qz(A, B) assert_array_almost_equal(dot(dot(Q, AA), Z.T), A) assert_array_almost_equal(dot(dot(Q, BB), Z.T), B) assert_array_almost_equal(dot(Q, Q.T), eye(n)) assert_arra...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
32d24dea52ce64fed1b3599ceacbc71988bc0232
1310ca784c1b0b9238f2407eb59d0704b8ae5a08
/NextGen/circuitpython/adafruit-circuitpython-bundle-6.x-mpy-20201114/examples/requests_simpletest_cellular.py
6727815ba8df84aa15bd0a164f457469bad79927
[]
no_license
RyannDaGreat/LightWave
6b89838bfd48dba010eb5229b84b206be4e8ccbb
d055b0c01b01b3795d9e6c28b6b70f969893ed97
refs/heads/master
2023-07-20T08:23:47.526629
2023-07-18T00:25:02
2023-07-18T00:25:02
123,113,725
1
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
# pylint: disable=unused-import import time import board import busio import digitalio from adafruit_fona.adafruit_fona import FONA from adafruit_fona.fona_3g import FONA3G import adafruit_fona.adafruit_fona_network as network import adafruit_fona.adafruit_fona_socket as cellular_socket import adafruit_requests as requ...
[ "sqrtryan@gmail.com" ]
sqrtryan@gmail.com
31b20c33f85cf51e5f5a85fc2e154cd5e696c05c
622a4baffb2c1e47aa9f1ac10eedeaf97e16c2a4
/DataFreaksSchool/apps/school/admin.py
0cb291f1c034da2523b31ef46444010cdfe6b23a
[]
no_license
Noeuclides/DataFreaks
81bff087ee813bff4529245a27c09ea5ff6086d8
4739316223e31feffe5a020505727be983001be0
refs/heads/master
2023-04-27T18:06:49.788374
2020-02-05T00:50:36
2020-02-05T00:50:36
237,767,894
0
1
null
2023-04-21T20:47:07
2020-02-02T12:28:54
Python
UTF-8
Python
false
false
269
py
from django.contrib import admin from .models import CustomUser, Student, Teacher, Course, Note # Register your models here. admin.site.register(CustomUser) admin.site.register(Student) admin.site.register(Teacher) admin.site.register(Course) admin.site.register(Note)
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
8c5a37c5f4bd04e4bdee20dfee9587c03cbae32c
3e05276c6562bbca2c46daec0bf30d765bb6c8d5
/jobseeker/forms.py
7ce3e3e0bb7a3ade0d8400cacafb8924bcf73ddf
[]
no_license
mrpal39/portflioWebapp
762571a74979ddcd4abf90c8ab8684dcd2afa6fa
898023c0b528557d4ab5ece6c48707f5e61ea296
refs/heads/master
2023-08-07T06:17:28.081727
2021-10-05T16:30:27
2021-10-05T16:30:27
414,057,726
0
0
null
null
null
null
UTF-8
Python
false
false
2,814
py
from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit from django.db import models from django.db.models import fields from password_reset.forms import PasswordRecoveryForm, PasswordResetForm from django import forms from django.contrib.auth.forms import AuthenticationForm, UserCreationFor...
[ "rp9545416@gmail.com" ]
rp9545416@gmail.com
b321ddea753491e4d4c5b8d334c61a4c303b5cd0
96148bf17555c028f5650d51f496f349c89e8c79
/build/cob_driver/cob_utilities/catkin_generated/pkg.develspace.context.pc.py
a5e228897d169a8b0fdaa67c1507b846b574a730
[]
no_license
kerekare/ros_hydra_libphidgetsupdated
239daed94a95f60743c5659f1102183641761240
e05e58417fb03a14d627bc80d09af3b2a0fcceab
refs/heads/master
2016-09-05T23:35:43.792883
2014-03-25T16:32:01
2014-03-25T16:32:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/kerekare/workspace/care-o-bot/src/cob_driver/cob_utilities/common/include".split(';') if "/home/kerekare/workspace/care-o-bot/src/cob_driver/cob_utilities/common/include" != "" else [] PROJECT_CA...
[ "kerekare@i60sr2.(none)" ]
kerekare@i60sr2.(none)
1519cd3690074f07ddfb744acb91bcd6f0e5a6a8
26e4bea46942b9afa5a00b9cde9a84f2cc58e3c9
/pygame/Astar/pathfinding/Graph_old.py
bb30a06775a80a8af4ce9dfcaed88b9af6e2cc5d
[]
no_license
MeetLuck/works
46da692138cb9741a913d84eff6822f107510dc7
ab61175bb7e2ed5c5113bf150e0541ae18eb04c4
refs/heads/master
2020-04-12T05:40:25.143075
2017-08-21T17:01:06
2017-08-21T17:01:06
62,373,576
2
1
null
null
null
null
UTF-8
Python
false
false
4,690
py
from random import random from colors import * #bgcolor = lightgray grid = [" * ", " *** ", " ", "* ** ", "* "] def findNode(node,lst): return node in lst class Node: def __init__(self): self.adjacent = [] # UP,DOWN,LEFT,RIGHT(NWSE) self.previous = Non...
[ "withpig1994@hanmail.net" ]
withpig1994@hanmail.net
67473f9f435beec220fa067cf392d561ef7b110b
d8a766184f7d2e4379a9578b6bd01451f4434fd8
/waynes_world/server.py
a8b013a456acdc8013c43b1f65b05507c9a6c9c7
[]
no_license
YaoQ/zmq_examples
1e9c386f3d8b51e04208bcededb8f64938a5200e
631867073b79087c4bf94dff7ff3c57c113fc9a1
refs/heads/master
2020-11-30T13:03:08.111975
2011-06-03T21:16:59
2011-06-03T21:16:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
#!/usr/bin/env python import zmq import time ctx = zmq.Context() # one socket s1 = ctx.socket(zmq.PUB) s1.bind("tcp://127.0.0.1:5566") # another s2 = ctx.socket(zmq.PUB) s2.bind("ipc://*:5567") while True: print 'Camera 1?' s1.send("Camera 1") time.sleep(1) print 'Camera 2?' s2.send("Camera 2")...
[ "jd@j2labs.net" ]
jd@j2labs.net
dcf370a1bd6932ff3c4ff9bb217104dc2ff6961a
2fc849ee16732463779d4445954941538828879a
/source/webapp/migrations/0001_initial.py
04cf199a27d95189a00f4255ac850a68e5143e58
[]
no_license
Aisuluu1405/python_group_3_homework_48_Aisulu_Dzhusupova
83da037fc9200a1a213fdf0eb5b09ed2febae79a
d4272516816fb83ff4d8a1c64645a508aecf37ee
refs/heads/master
2023-05-02T16:13:24.948710
2019-09-23T12:30:14
2019-09-23T12:30:14
210,325,979
0
0
null
2023-04-21T20:38:01
2019-09-23T10:19:38
Python
UTF-8
Python
false
false
1,036
py
# Generated by Django 2.2 on 2019-09-20 05:09 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(au...
[ "aisuluueco2009@yandex.ru" ]
aisuluueco2009@yandex.ru
e432d89a1b17d0c1572e3c78718079a42a30ce0d
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/encoding/encodings/muxings/packed_audio/customdata/customdata_api.py
d4a1fef29ca90072435cc6650196696f08976147
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
1,484
py
# coding: utf-8 from __future__ import absolute_import from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase from bitmovin_api_sdk.common.poscheck import poscheck_except from bitmovin_api_sdk.models.custom_data import CustomData from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope from ...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
f9552e5fb9ea367cd1fb32326b63cd871d695afb
2b4668ba8ff74aa03d031786956c4d4802bfe02b
/util/samm_resolver.py
5b5a982d47eede73c9a4c109120b5b22b97f4f1d
[ "BSD-3-Clause" ]
permissive
ioggstream/dsomm-orm
a8397ab6f73d46a0acfb8928ad7e835bef9b759a
52c2040b1cb7263d568af548ab18acdcc3700292
refs/heads/main
2023-07-12T21:52:52.988267
2021-08-13T22:56:30
2021-08-13T22:56:30
360,102,120
1
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
# # Parses yaml files contained in https://github.com/OWASP/samm/tree/master/Supporting%20Resources/v2.0/Datamodel/Datafiles # from pathlib import Path import yaml def read_yaml(f): return yaml.safe_load(Path(f).read_text()) class SammResolver: def __init__(self, basepath="."): self.basepath = Path...
[ "robipolli@gmail.com" ]
robipolli@gmail.com
dca2aacac1572c1ca6111998fa21040bca5af015
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/208513/kaggle-liberty-hazard-prediction-master/models/neighbors.py
72c4ced2d31ec580b44e987575d068641d85f2de
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
2,990
py
# import pandas as pd # import numpy as np # import pickle # from sklearn import preprocessing # from sklearn.cross_validation import train_test_split # from sklearn.grid_search import RandomizedSearchCV # from sklearn.neighbors import KNeighborsRegressor # from sklearn.neighbors import KNeighborsClassifier ...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
24454c08c7717f816db15594fcbc51f9901da313
c81377ee1e27d00f797fcf2ad68317ba42429ca5
/LIZA_DAMIAN_CARLOS/PARA/bucle_para01.py
bf3b86c64c3c7a11735a0aed52813614fb771917
[]
no_license
CARLOSC10/T07_LIZA.DAMIAN_ROJAS.CUBAS
39c55f08a1178b611125979741a3538276fa5d40
ad736fb83de76f6342f8d53b4b5acfe1ecc88b7f
refs/heads/master
2020-09-16T14:24:40.571198
2019-12-19T23:41:21
2019-12-19T23:41:21
223,798,603
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
#REPETITIVAS "PARA" QUE MUESTRA LOS N PRIMEROS NUMEROS, N SE ESCRIBE POR TECLADO import os n=0 #ARGUMENTOS n=int(os.sys.argv[1]) #INPUT VALIDA LOS DATOS datos_incorectos=(n<0) #WHILE #MIESTRAS LOS DATOS SEAN INCORECTOS A LA CONDICION ENTRA EN WHILE while(datos_incorectos==True): n=int(input("DATOS INGRESADOS INV...
[ "clizad@unprg.edu.pe" ]
clizad@unprg.edu.pe
fcba8acddc2b4aef40d9b982a26b8447898804b1
86fcd7e56f7409dc05fb1cc07496a38e39ef2607
/vispy/testing/tests/test_testing.py
8877a55354fc9b791914fe58aadeaef4537d012d
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
alexjc/vispy
a1622f7920df5f0ddd11acf56302896fabd5cb37
2e528cf3915c8274848d9f3662809485f3dbcf3f
refs/heads/master
2021-01-15T08:57:01.427072
2014-12-08T20:02:11
2014-12-08T20:02:11
26,930,099
1
1
null
null
null
null
UTF-8
Python
false
false
813
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2014, Vispy Development Team. All Rights Reserved. # Distributed under the (new) BSD License. See LICENSE.txt for more info. # -------------------------------------------------------------------------...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
760cb2fd39f86a9b39f87005d16dbdd0b0dc1846
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/water/java_level_reason/lot/president.py
0dc9e9aba884377bf07220292becfd6d869e08ff
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
# -*- coding: utf-8 -*- import http.client, urllib.parse # ********************************************** # *** Update or verify the following values. *** # ********************************************** # Replace the subscriptionKey string value with your valid subscription key. host = 'api.microsofttranslator.com'...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
9b1be2255716dd81859aaf4f32c15e6443397f0a
a33a5d7d2a9b0b6030f39803553f2689f3d2c743
/ml/vcwiz/training/trainer.py
4024824cb15983e56849955a17f6b33eeebf0686
[]
no_license
yasyf/vc
6c1a4224d56049aff44f2ffa1c57922ccb7907ab
bd12d8b1248b008516b1547a693008428085de78
refs/heads/master
2023-01-10T08:39:34.285545
2019-07-29T10:20:31
2019-07-29T14:58:33
59,700,244
11
4
null
2023-01-09T20:04:34
2016-05-25T21:52:18
Ruby
UTF-8
Python
false
false
1,826
py
from abc import ABC, abstractmethod import os, sys, tempfile from google.cloud import storage class Trainer(ABC): def __init__(self): self.model = None self.output_path = None self.upload_path = None self.client = storage.Client(os.environ['GC_PROJECT_ID']) self.bucket = self.client.bucket(os.e...
[ "yasyfm@gmail.com" ]
yasyfm@gmail.com
b679b28b5411bf945455ca4c62ff77c700dcf922
84b05857cbe74d190bdbee18d442d0c720b1b84d
/AlgoExpert_algorithms/Easy/FindThreeLargestNumbers/test_FindThreeLargestNumbersd.py
1ab120e3c5754042ad18d7723c6535b5dafe7308
[]
no_license
JakubKazimierski/PythonPortfolio
1c8c7e7b0f1358fc42a2295b807d0afafd8e88a3
3aa62ad36c3b06b2a3b05f1f8e2a9e21d68b371f
refs/heads/master
2023-06-01T01:16:22.897097
2023-05-15T01:05:22
2023-05-15T01:05:22
311,473,524
9
1
null
null
null
null
UTF-8
Python
false
false
692
py
''' Unittests for FindThreeLargestNumbers.py January 2021 Jakub Kazimierski ''' import unittest import FindThreeLargestNumbers class test_FindThreeLargestNumbers(unittest.TestCase): ''' Class with unittests for FindThreeLargestNumbers.py ''' # region Unittests def test_ExpectedO...
[ "j.m.kazimierski@gmail.com" ]
j.m.kazimierski@gmail.com
36bf83381d9d12a2a2f73d94138ec08698d8c928
d4f579219d0d557973e6b3d6392d887081825dc3
/PythonNTF/T1/Naloge/logicnioperatorji.py
0777d56b1679e3b60086c901e99582547c3a29d6
[]
no_license
aljazvaupotic/Python-Course
1eb841cc407105c6e14bdb49445d85484de9c6d9
d1df7b1a357fef5fbc3cccea83fd5adec25e3edf
refs/heads/master
2023-08-25T09:05:24.258495
2021-11-08T10:00:31
2021-11-08T10:00:31
186,800,762
0
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
#______________________________________________________________________________ # Termin 1, 16.5.2019 # Logiฤni operatorji #______________________________________________________________________________ # Logiฤni operator *konjunkcija* ima naslednjo resniฤnostno tabelo, kjer # `F` predstavlja neresniฤno (`False`), `T...
[ "noreply@github.com" ]
aljazvaupotic.noreply@github.com
b2cff122cc6e2e3b7f77f15c0931ccbb7b0bffc9
3a4fbde06794da1ec4c778055dcc5586eec4b7d2
/code-samples/coursera-17.py
6b9f38101bcabf8e7262bb9c084391cdcce921fd
[]
no_license
raychorn/svn_python-django-projects
27b3f367303d6254af55c645ea003276a5807798
df0d90c72d482b8a1e1b87e484d7ad991248ecc8
refs/heads/main
2022-12-30T20:36:25.884400
2020-10-15T21:52:32
2020-10-15T21:52:32
304,455,211
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
import io def create_python_script(filename): comments = "# Start of a new Python program" with open(filename, "w") as fOut: fOut.write(comments) with open(filename, "r") as fIn: filesize = fIn.seek(0, io.SEEK_END) return(filesize) print(create_python_script("program.py"))
[ "raychorn@gmail.com" ]
raychorn@gmail.com
2311c794062db12ee14f68625930ee7ec4fc5dd9
34a9c26849b3d82318c5d50df1474776e96afc58
/scheduler/learning_rate/cosine_lr.py
6de33f7ea0771db16fc3b300dee812194a968e42
[ "MIT" ]
permissive
vcowwy/CvT_paddle
483ef210e9864b254f45e556571c686409512afe
de8c28fbbc83e2c6c2479d44971020b15e7b12ec
refs/heads/master
2023-08-31T08:49:19.237186
2021-11-02T09:13:43
2021-11-02T09:13:43
423,333,423
0
0
null
null
null
null
UTF-8
Python
false
false
3,760
py
import logging import math import numpy as np import paddle from .scheduler import Scheduler _logger = logging.getLogger(__name__) class CosineLRScheduler(Scheduler): def __init__(self, optimizer: paddle.optimizer.Optimizer, t_initial: int, t_mu...
[ "1719870799@qq.com" ]
1719870799@qq.com
8b7099feb3ee046dd8adee97b3da106d2a3c6379
9644572133b4cde92745a6c2320069bce926f715
/general_ocr/datasets/utils/parser.py
c6908ad99250785edfad0034ed46512b122f2d78
[]
no_license
hnhoangdz/general_ocr
b79306f8078556cdc83690d1d5e19baff30dc878
8975731cbc7065aa1825bf857c33b90ad0140c49
refs/heads/main
2023-08-16T09:41:56.444851
2021-10-19T09:09:44
2021-10-19T09:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,272
py
# Copyright (c) GeneralOCR. All rights reserved. import json from general_ocr.datasets.builder import PARSERS from general_ocr.utils import StringStrip @PARSERS.register_module() class LineStrParser: """Parse string of one line in annotation file to dict format. Args: keys (list[str]): Keys in resul...
[ "towarddatascience@gmail.com" ]
towarddatascience@gmail.com
2a8c8c68da8aa31cf3e069ae3d86603d00d5ec27
9bb7bc13aad5d822f52b0f52e31a468faa964f22
/lcdb/helpers.py
18cd06a08d7c1a5bf783781640739cf536a2516e
[ "MIT" ]
permissive
lcdb/lcdb-workflows
03e9f8a5d887ac23059304d98f8abafe83644708
ee28a42bc6021b8b82f1950144cda6e841823661
refs/heads/master
2021-01-21T15:07:25.121526
2019-04-12T21:30:51
2019-04-12T21:30:51
58,685,798
1
1
null
2016-08-01T13:52:35
2016-05-13T00:11:01
Python
UTF-8
Python
false
false
2,947
py
import os import pandas import yaml from jsonschema import validate, ValidationError from snakemake.shell import shell def validate_config(config, schema): schema = yaml.load(open(schema)) cfg = yaml.load(open(config)) try: validate(cfg, schema) except ValidationError as e: msg = '\nPle...
[ "dalerr@niddk.nih.gov" ]
dalerr@niddk.nih.gov
8ea00d6cb58f877c3542b77e7c1d3bd1ffa1d98e
40eea049f7e9cef38f30da90b9dd38f840eab240
/nvij-cliprm-ec362ad713de/cliprm/backend/crawlers/shaze/shaze/spiders/shaze_spider.py
de0f74731fa3f8eaacb3ca2c07c6359ec3237ec2
[]
no_license
pratikpoddar/clipr
ddf9a6e6ca9e50e84cd7dcc36ae732876e019da6
a84a88d8a6eb76836b0bef4b6531919a563b1345
refs/heads/master
2021-05-27T21:53:03.844876
2014-07-18T10:52:41
2014-07-18T10:52:41
21,977,252
1
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
import sys from scrapy.spider import BaseSpider from scrapy.selector import HtmlXPathSelector from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.contrib.spiders import CrawlSpider, Rule from shaze.items import CliprItem visitedIds = set() def isProduct(url): return url.find('/p/')...
[ "pratik.phodu@gmail.com" ]
pratik.phodu@gmail.com
075137d16c4ea177b032134a2f40c97cd6d7c5ce
438e546e2acf5aa57c34c6481e477f7025b12e21
/Grokking Coding Interview/P6 - In Place Reversal of LL /Reverse K Sized Sub-List.py
2dbe7f39ba36d836a47c76fe3b67fd7d1e61a5e3
[]
no_license
SajinKowserSK/algorithms-practice
988537ef3537487cb40c78776dd2c9e1130cde4f
41bbd55553747492a539b41f6e86bff5504c5842
refs/heads/master
2022-11-06T18:22:41.329484
2022-10-19T23:40:10
2022-10-19T23:40:10
206,470,288
1
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
from __future__ import print_function class Node: def __init__(self, value, next=None): self.value = value self.next = next def print_list(self): temp = self while temp is not None: print(temp.value, end=" ") temp = temp.next print() def rever...
[ "sajinkowser@gmail.com" ]
sajinkowser@gmail.com
ab45a62f3cdff764191fa10661d1c3a0d52c4b51
e129fe32194ad8d15f664cd055062d01caae370f
/tools/betterbib-format
c9fd4371c24e59f8a6cbfba8255c52059f2ba91c
[ "MIT" ]
permissive
tbabej/betterbib
dd3b6895d3fd8ff4cf50b4b8e5fdcd2fb6d31216
80a3c9040232d9988f9a1e4c40724b40b9b9ed85
refs/heads/master
2020-03-11T10:45:14.243594
2018-04-17T18:43:30
2018-04-18T13:37:11
129,950,668
0
0
MIT
2018-04-17T18:49:03
2018-04-17T18:49:02
null
UTF-8
Python
false
false
3,331
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # from __future__ import print_function, unicode_literals import argparse import collections import sys from pybtex.database.input import bibtex import betterbib def _main(): args = _parse_cmd_arguments() data = bibtex.Parser().parse_file(args.infile) # ...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
f30497be13679db52d80358c553ceabc0ae00929
17f1811abda6c828460b77f460671f9c2f464204
/leetcode/shuffle_an_array.py
2bcc987387591d1047a0a4164e7da89c024cb1c8
[]
no_license
rishabhranawat/challenge
f10f69fc30881a0571c4321b466a89aeeb06e568
e836343be5185f8843bb77197fccff250e9a77e3
refs/heads/master
2021-01-21T15:13:47.590675
2020-04-25T15:26:42
2020-04-25T15:26:42
91,833,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
# Checkout Fisher Yates import random class Solution(object): def __init__(self, nums): """ :type nums: List[int] """ self.nums = nums self.pairs = {} for i in range(0, len(nums), 1): self.pairs[i] = nums[i] def reset(self): """ ...
[ "rishabhranawat12345@gmail.com" ]
rishabhranawat12345@gmail.com
812d42b9f9e83081cc0bd88c2d1b6b5dcec3a3ab
85e078ee3ceda5091624233ca19ba42f78747499
/LeetCode/buy_sell_stock2.py
f9fc5f75d3de157ae7c519c73459053fbf61088c
[]
no_license
papayetoo/StudyinPython
d5e6ec0cff0e97fcc4afc8d846e3658c06eb67c2
f686b6e08720ad4d7d57b41d24c63c4bfa64dd90
refs/heads/master
2021-07-22T04:05:38.993123
2021-02-03T14:12:26
2021-02-03T14:12:26
240,009,852
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
class Solution: def buySellStock(self, prices: [int]) -> int: if len(prices) == 0: return 0 profit = 0 pair_prices = [(index, value) for index, value in enumerate(prices)] descending = sorted(pair_prices, key=lambda x: x[1], ...
[ "rhkdgus0826@gmail.com" ]
rhkdgus0826@gmail.com
742cf9975339908a3a686a400bc4f2e1c2447a7a
e845f7f61ff76b3c0b8f4d8fd98f6192e48d542a
/djangocg/contrib/gis/geometry/test_data.py
1ae4fe529d1427c026130348b99afec6eac57b91
[ "BSD-3-Clause" ]
permissive
timothyclemans/djangocg
fd150c028013cb5f53f5a3b4fdc960a07fdaaa78
52cf28e046523bceb5d436f8e6bf61e7d4ba6312
refs/heads/master
2021-01-18T13:20:13.636812
2012-08-31T23:38:14
2012-08-31T23:38:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
""" This module has the mock object definitions used to hold reference geometry for the GEOS and GDAL tests. """ import gzip import json import os from djangocg.contrib import gis from djangocg.utils import six # This global used to store reference geometry data. GEOMETRIES = None # Path where reference test data i...
[ "timothy.clemans@gmail.com" ]
timothy.clemans@gmail.com
0038fd3149b3996e6eb7ac75db588001245eb691
2ea1fdf72317649c698105be8d84935c55007db0
/npr_sfs/methods/ibme.py
ad09d7f2eb3c64720ad17bf007bc6edc5ebe989d
[ "MIT" ]
permissive
joepfortunato/NPR-SFS
25987b5eda4203473059dda1cabdbbb68ecbbf29
15d9fd2b83d75214fa851aafcc17f970252dad32
refs/heads/master
2021-05-30T02:48:56.252831
2015-10-06T07:41:53
2015-10-06T07:41:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
# -*- coding: utf-8 -*- ## @package npr_sfs.methods.ibme # # Image-Based Material Editing [Kahn et al. 2006]. # @author tody # @date 2015/07/30 """Usage: ibme.py [<input>] [-h] [-o] [-q] <input> Input image. -h --help Show this help. -o --output Save output files. [default: False] -q --q...
[ "tody411@gmail.com" ]
tody411@gmail.com
454f3d60787fdac730e072981d6438e2503218bf
aef0a344e13f6a10f7145e8cd63a514adaa2f5a7
/tb/irq_rate_limit/test_irq_rate_limit.py
ec8e60e9a36e56a4fd41e43d2460a8fb901e93d5
[ "MIT" ]
permissive
alexforencich/verilog-pcie
a0ff59662e2d9cac100295b43a9b4ad374bcd406
75126f133318b31f226ae13ebc46a40eb52cf3ac
refs/heads/master
2023-07-20T01:19:06.004282
2023-06-24T05:38:06
2023-06-24T05:38:06
164,569,208
765
223
MIT
2023-07-18T08:36:17
2019-01-08T05:28:51
Verilog
UTF-8
Python
false
false
5,159
py
#!/usr/bin/env python """ Copyright (c) 2022 Alex Forencich 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, merg...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
bdc6890d12b3d567090dc600624a8c446f355672
cbafab192b5072b8e9150dcada8013503af40fca
/Django_Learning/admin/app01/migrations/0001_initial.py
7eeda195e315bb1b00276f9051dfd29b6e1748aa
[]
no_license
lafitehhq/PythonProject
928421b49ff0ea9fd536ca7769a04fe990848929
d5d0352541a29ee070884263e7eb50160cd7b3b5
refs/heads/master
2021-09-06T01:48:42.971720
2018-02-01T11:56:50
2018-02-01T11:56:50
106,712,281
0
0
null
null
null
null
UTF-8
Python
false
false
3,267
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-14 06:41 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "lafitehhq@126.com" ]
lafitehhq@126.com
90b561a17cc041f5c24dc06b96de9a60de196e92
dff5c14ce2ce94b1170c4e31b985bc23c25c72a6
/CLASS 3/2606: ๋ฐ”์ด๋Ÿฌ์Šค/solution.py
88c05d9a1e3256315bd812da4654ae4a23ac2806
[ "MIT" ]
permissive
coco-in-bluemoon/baekjoon-online-judge
371c6afb66467d2afd28bc315afc5109fa3bd8cc
06e14fe89e4ec5b940f2afa20bc5e4b0de08c8f6
refs/heads/main
2023-02-15T11:51:38.631843
2021-01-08T15:33:17
2021-01-08T15:33:17
302,237,533
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
from collections import deque def solution(num_node, edges): START_NODE = 1 graph = {node: set() for node in range(1, num_node+1)} for src, dst in edges: graph[src].add(dst) graph[dst].add(src) visited = {node: False for node in range(1, num_node+1)} queue = deque([START_NODE]) ...
[ "coco.in.bluemoon@gmail.com" ]
coco.in.bluemoon@gmail.com
70feee5ad2d1a2ce6a9b66799514a767ef8dce50
c5758c1f4c880f4530df1a5ffb4c30ee2da445ee
/pytracking/vot_ep/sk3x3/vot_wrapper_sk3x3_ep0031.py
5753454ed67494b9ff345fda9c48e1174ac294a5
[]
no_license
bfjei2825401/d3s
6d662fc301181a0e3ad831b0db6111e3cf8f4097
32140a3c67252f0e98cbfbf6ad6d2a79267c221b
refs/heads/master
2023-02-27T09:57:25.692878
2021-01-27T14:20:57
2021-01-27T14:20:57
297,217,521
0
0
null
2020-09-21T03:23:09
2020-09-21T03:23:09
null
UTF-8
Python
false
false
2,459
py
import pytracking.vot as vot import sys import cv2 import os os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "0" from pytracking.tracker.segm_sk3x3 import SegmSK3x3 from pytracking.parameter.segm_sk3x3 import default_params_ep as vot_params def rect_to_poly(rect): x0 = rect[0]...
[ "752958525@qq.com" ]
752958525@qq.com
3acba025f2c13a9f0caf50de16baee79e95de19e
18ad97292b34a679b8dea8a85090541c5bbf6174
/averageseasy.py
97cf78596df80adb1ddda5916d7075d7163cfa81
[]
no_license
Jyotirm0y/kattis
b941044e39dc36d169450480fc33fd33bd2e0f8e
2b9c1819ba29419bbea3db2e8ad7851155abbb3a
refs/heads/master
2023-05-31T21:11:38.350044
2021-06-12T08:21:47
2021-06-12T08:21:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
t = int(input()) for _ in range(t): input() ncs, ne = map(int, input().split()) iqcs = list(map(int, input().split())) iqe = list(map(int, input().split())) sumiqcs = sum(iqcs) sumiqe = sum(iqe) print(sum([1 if iq*ne > sumiqe and iq*ncs < sumiqcs else 0 for iq in iqcs]))
[ "ainunnajib@gmail.com" ]
ainunnajib@gmail.com
7cd61cc5a2265dd40f86d8fb7e1a9c2e8cd16a39
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/B/BuddyStrings.py
fe5f524ac1581380e3ab3d95645abc58736301d5
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
''' Given two strings A and B of lowercase letters, return true if you can swap two letters in A so the result is equal to B, otherwise, return false. Swapping letters is defined as taking two indices i and j (0-indexed) such that i != j and swapping the characters at A[i] and A[j]. For example, swapping at indices ...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
df4409470fe736ddda0aa22479628205853deac1
ef09e86b16f741d0f262f330fc205e493b9d9041
/polls/migrations/0001_initial.py
d6c669eba075ac5f2bcb3e33a82f245077a8f69f
[]
no_license
sarthakbhooshan/my_first_django_app
6813d100a90dbe556732406a5d32691c7578b9c5
b07a50a44fb8126fedfad874d81f0cb5f287a9c1
refs/heads/master
2021-01-14T08:38:45.499995
2016-07-18T11:18:33
2016-07-18T11:18:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-12 05:24 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
[ "you@example.com" ]
you@example.com
267b81539f58299286c9d273a7fa0e636ada96e9
b0bd3342c244ebf30ae5ab29daa078f2b39010f7
/utils.py
a035fb3e56880250c7e067c38377ce533c431ec5
[]
no_license
naiqili/itime_learning
30a8af7f1234277162ccdd4c69cd9f9a4a7ab412
d9b191bb32a7e49cb99443d7dccea5bb392aee90
refs/heads/master
2021-06-19T04:54:06.239320
2017-06-26T13:35:39
2017-06-26T13:35:39
92,792,780
0
0
null
null
null
null
UTF-8
Python
false
false
2,946
py
import csv import operator import os import numpy as np import tensorflow as tf from os import path DATA_DIR_MOVIELENS_100K = 'data/ml-100k' HOME_DIR = path.expanduser('~') PROJECTS_DIR = path.join(HOME_DIR, 'Projects') RANKSYS_DIR = path.join(PROJECTS_DIR, 'RankSys') RANKSYS_EXAMPLES_DIR = path.join(RANKSYS_DIR, 'Ra...
[ "naiqil@student.unimelb.edu.au" ]
naiqil@student.unimelb.edu.au
b6cd96dc4083b3617cc8be9fe9c662bdcef2d60f
37eef4cd7e0e17086fb5cd3e0dd710b43470786a
/tests/commands/test__vi_cc.py
0f3c95eca2e8808a7538606bfb81c41e3e96a738
[ "MIT" ]
permissive
DylanBruzenak/Vintageous
9ffd480aeea0e5c127fec7c9eafb8b5d3acf85c7
022faaf22acd72d3514c74013217b7661bf10a37
refs/heads/master
2021-01-15T11:34:53.529087
2013-08-17T21:02:07
2013-08-17T21:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
import unittest from Vintageous.vi.constants import _MODE_INTERNAL_NORMAL from Vintageous.vi.constants import MODE_NORMAL from Vintageous.vi.constants import MODE_VISUAL from Vintageous.vi.constants import MODE_VISUAL_LINE from Vintageous.tests.commands import set_text from Vintageous.tests.commands import add_select...
[ "guillermo.lopez@outlook.com" ]
guillermo.lopez@outlook.com
33f784c238773201f20b7191cb092dc4657a942b
90ac505fb14e4969cd4e7f164f8969ed2344d3e3
/BYSL/ea.py
9b6bb77bb599f20215c88cbaad443e730deffe10
[]
no_license
rid47/python_basic_book
4d08641ed802a80f5b5398c568231b366b1cf5d0
f4a77577115b126094c9e5aac38a18bb42eeb28f
refs/heads/master
2022-12-22T12:24:48.094483
2022-12-10T12:11:52
2022-12-10T12:11:52
234,990,760
0
1
null
2022-12-02T03:44:50
2020-01-20T00:45:53
Tcl
UTF-8
Python
false
false
1,027
py
class Car: def __init__(self): self.carFare = {'Hatchback': 30, 'Sedan': 50, 'SUV': 100} def displayFareDetails(self): print("Cost per day: ") print("Hatchback: $", self.carFare['Hatchback']) print("Sedan: $", self.carFare['Sedan']) print("SUV: $", self.carFare['SUV']) ...
[ "ridwanmizan@gmail.com" ]
ridwanmizan@gmail.com
9f60fa0febd594f00a2a621ba5012a8222fc7696
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2244/60690/275105.py
24682629ee0ab61e98762255770bf7e57e5231fe
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
311
py
n=int(input()) def isHW(str): for i in range(len(str)): if str[i]!=str[len(str)-1-i]: return False return True def isSS(num): for i in range(2,int(num/2)+1): if num%i==0: return False return True while isHW(str(n))==False or isSS(n)==False: n+=1 print(n)
[ "1069583789@qq.com" ]
1069583789@qq.com
ba83a9d4e1b219536ebc3008d7ca7a7053a3910f
e645ebf3b5177eb0ebedb7f239bd6e1b40bf1b07
/ups/boost_python.cfg
b171d4be2d21271f368e3b34eb327ea98a5d77b8
[]
no_license
lsst-dm/bp
e095cdb7412124fef39bdd8428fce70bbf0f462a
31c0b65866d06a09575a53d0dd558320e6994a06
refs/heads/main
2023-07-22T11:32:48.479329
2023-07-10T00:30:32
2023-07-10T00:30:32
37,212,636
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
cfg
# -*- python -*- """ Dependencies and configuration for Boost.Python """ import os.path import eups def _get_root(): """Return the root directory of the package.""" return eups.productDir("boost") dependencies = { # Names of packages required to build against this package. "required": ["boost", "pytho...
[ "jbosch@git.lsstcorp.org" ]
jbosch@git.lsstcorp.org
9846c30b04f991029724e3c7761741398fd0acde
9b7ef36988860750e3a6b704254ed2aaeb3a3dc7
/insta/forms.py
b11f0faf52a0e23179021c45bebbb59b22c7d8d5
[]
no_license
nicky-code/instagram
ed016aef3cabed46cdff3f1c8598fb9445ea12e5
6d9eb31cca33ed137b730fb23cd15ea7a8482faa
refs/heads/master
2021-09-09T14:38:38.152140
2019-10-22T14:21:35
2019-10-22T14:21:35
215,626,513
0
0
null
2021-09-08T01:22:42
2019-10-16T19:20:08
Python
UTF-8
Python
false
false
917
py
from django import forms from .models import Image,Profile,Comments class ImageForm(forms.ModelForm): class Meta: model = Image exclude = ['image_name', 'likes','user','profile','comments'] # widgets = { # 'tags': forms.CheckboxSelectMultiple(), # } cl...
[ "aline.nicole7@gmail.com" ]
aline.nicole7@gmail.com
5a1874482abbdd857dd7f934e6aef889e1c11e38
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_commercialism.py
9e09ea8f68ec64d83d9e926fdaf0cb983af5d158
[ "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
407
py
#calss header class _COMMERCIALISM(): def __init__(self,): self.name = "COMMERCIALISM" self.definitions = [u'the principles and activity of commerce, especially those connected with profit rather than quality or doing good'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
973bf4a1bc852efaa74a10f6ea3c1548fc8bd3da
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/common/Lib/plat-os2emx/IN.py
4106b079428faa0be3a055320a5a82364e207dc1
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,138
py
# 2016.11.19 20:01:08 Stล™ednรญ Evropa (bฤ›ลพnรฝ ฤas) # Embedded file name: scripts/common/Lib/plat-os2emx/IN.py PAGE_SIZE = 4096 HZ = 100 MAXNAMLEN = 260 MAXPATHLEN = 260 def htonl(X): return _swapl(X) def ntohl(X): return _swapl(X) def htons(X): return _swaps(X) def ntohs(X): return _swaps(X) IPPR...
[ "info@webium.sk" ]
info@webium.sk
1f5eeb1362379c5c3b4038b981bfe90f79acab37
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/semantic_segmentation/Ultra-Fast-Lane-Detection/scripts/convert_tusimple.py
112ae4d113e7480f3b05e412d7499966a93165a3
[ "MIT", "Apache-2.0", "BSD-2-Clause", "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
6,498
py
# Copyright 2021 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 agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
8deed70e29027f1dfb4b831b5f3bedafcc194e64
5ee5853eb335fcf575d4344366ef9b4bce03570d
/pr1658m/min_operations.py
2008296fd086a4c60d9774021e9bc8ae9d23e3b3
[ "MIT" ]
permissive
l33tdaima/l33tdaima
15463fb2f8d61286a4a3a7bacaaee2ab1f7c4f43
f35305c618b383a79d05074d891cf0f7acabd88f
refs/heads/main
2023-07-20T21:52:26.330301
2023-07-19T02:30:22
2023-07-19T02:30:22
99,509,451
1
0
MIT
2018-10-31T15:10:49
2017-08-06T19:44:29
JavaScript
UTF-8
Python
false
false
772
py
from typing import List class Solution: def minOperations(self, nums: List[int], x: int) -> int: target = sum(nums) - x if target == 0: return len(nums) ans, s, smap = 0, 0, {0: -1} for i, n in enumerate(nums): s += n if s - target in smap: ...
[ "l33tdaima@github.com" ]
l33tdaima@github.com
b03961fffa86ad304863eef3bced898e77c688c3
c55aedc3479a4d311fb406d8133b0e0ceb99d2df
/example/kdtree_0_base/kdtree_3_mesh_color.py
7304ed067ce6dd6971b19b2aab7ca20736696a5c
[]
no_license
tarwcz111111111/DashCam_python
4a33cdb3e5a8368b81ddc7c0596d4f0802b7c9d6
6e025ff49261c146205eb56bbbf4175f1d413f54
refs/heads/master
2020-08-25T04:55:16.695561
2017-08-28T04:34:59
2017-08-28T04:34:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
#!/usr/bin/python3 # ============================================================== # Pack the matrix process into google parse # ============================================================== import numpy as np import triangle from glumpy import glm import sys sys.path.append('/home/andy/Documents/gitHub/DashCam_pyth...
[ "ydnaandy123@gmail.com" ]
ydnaandy123@gmail.com
80149282aabb59543236536d133ab52397c545e0
672809bd026d006e785f87c72995a2f368702d63
/site_main/matcher/matcher.py
439dbfb48a1e1430f417dd3e2fda9da149d0dabc
[]
no_license
kz26/uchicagolunch
34c391688897dc88edc78ccc771805c2f76d64d5
f1b0415856e7a62a8ca12ea824af3483a80c876d
refs/heads/master
2016-09-06T17:35:21.703308
2012-03-23T23:00:36
2012-03-23T23:00:36
2,806,713
2
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
from site_main.models import * from site_main.emails import * from datetime import datetime, timedelta, date, time import edmonds from random import choice # find and process matches # returns a list of newly created Match objects def run(): # retrieve a list of unfilled requests def getRequests(): req...
[ "whitehat2k9@gmail.com" ]
whitehat2k9@gmail.com
0e036c343fc1a1037156ec9e3dc7c44563c81dbf
b23bb2c9c98909c53e779e762c359fdb7b0cf412
/tests/unit/raml/tests/test_traits.py
b6eeb58116958ff7ca17198f63b8cd6eedbd49c1
[ "MIT" ]
permissive
mpetyx/pyapi
4902e97340e2597fcfe52968dc6902a96d9a3448
1c8c5b392e8a943ebff0864b129defdbf21570f2
refs/heads/master
2021-01-06T20:37:33.974145
2015-05-26T10:06:41
2015-05-26T10:06:42
29,341,456
4
1
null
null
null
null
UTF-8
Python
false
false
2,330
py
__author__ = 'ad' import os.path from pyapi.libraries.pyraml_parser_master import pyraml from pyapi.libraries.pyraml_parser_master.pyraml import parser from pyapi.libraries.pyraml_parser_master.pyraml.entities import RamlRoot, RamlTrait, RamlBody, RamlResourceType fixtures_dir = os.path.join(os.path.dirname(__file_...
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
7ee2fd4d8932d9ae1e9f9b0a3189f6b31cfc3a56
e87532daceef2e6d0db72238d647c5bde0993198
/apps/market/urls.py
ab5af579c5daee08bd75cf7d23a5bc60b9ba297d
[]
no_license
brijmohan/zamboni
cddfd07078c3eae902785d007c1f1e94b581c269
57eca56bfeae4f28547856d64284d10970905809
refs/heads/master
2020-12-25T03:11:58.888828
2011-10-24T09:25:06
2011-10-25T18:26:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from django.conf.urls.defaults import patterns, url from addons.urls import ADDON_ID from market import views urlpatterns = patterns('', url(r'^verify/%s$' % ADDON_ID, views.verify_receipt, name='api.market.verify'), )
[ "amckay@mozilla.com" ]
amckay@mozilla.com
8230cf200ed8c3a204e1cdb5def5c66e6fbfd784
f7aa97fe19b431523f35dc5badc9e8ff919ffa00
/fss17/project/tools/axe/libWhere.py
2731db6b521497034bcb603c18bfc22c6d81453a
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
rahlk/fss17
3b331427d450c5bb46b71b4aa5c77c59a8ec0a70
49e22c4ad01ff751f24c3e5702b7fa36a3a18e96
refs/heads/master
2021-01-19T18:03:13.364689
2017-12-12T12:51:28
2017-12-12T12:51:28
101,105,693
0
0
null
null
null
null
UTF-8
Python
false
false
7,919
py
""" # Support Code ## Standard Headers """ from __future__ import division, print_function import random import sys sys.dont_write_bytecode = True from settingsWhere import * """ ## Simple, low-level stuff ### Maths Stuff """ def gt(x, y): return x > y def lt(x, y): return x < ...
[ "i.m.ralk@gmail.com" ]
i.m.ralk@gmail.com
9d92f42947a9a168d3bebbdd5e5d06464b004d38
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/build/mayavi/enthought/tvtk/tests/test_class_tree.py
963470a3f830e41f91e935de287c3b563a80c44f
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
# Author: Prabhu Ramachandran # License: BSD style # Copyright (c) 2004, Enthought, Inc. """Tests class_tree.py. Uses the vtk module to test the code. Also tests if the tree generation works for the __builtin__ module. """ import unittest from enthought.tvtk import class_tree import vtk import __builtin__ # This...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
87bfa0465302e0f16e8e9caa8994ab7d156cc520
1eb960cec1c1bc891ea7cb9874b11182d753fabb
/news/migrations/0004_message_to_user.py
197b9b145a6e878b07a38558f57a7fb1d0ef7532
[]
no_license
squallcs12/kidnews-fbhack
516f87160042389b9a9be1016d6a71dc95f97d13
154368a40b2042671b933a9ac53ca2e469266c84
refs/heads/master
2021-01-19T04:24:35.254491
2016-07-31T03:27:42
2016-07-31T03:27:42
64,523,457
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-07-30 11:08 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependen...
[ "daotranbang@gmail.com" ]
daotranbang@gmail.com
49520f217fc253f8dd6e40a4f3b78353bec18c90
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1303_c.py
4d8b66d7ea2f0f8e979a1a705aaa21fe7ae12ec1
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
7,826
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): q = int(input()) for _ in range(q): s = input() d = dict() f = True # STEP1: ๅ…ฅๅŠ›ๆ–‡ๅญ—ๅˆ—ใ‹ใ‚‰้šฃใ‚Šๅˆใ†ๆ–‡ๅญ—ใฎ้–ขไฟ‚ใ‚’ไฝœใ‚‹ for i in range(len(s)): # ๅ‰ๅพŒใฎๆ–‡ๅญ—ใ‚’ๅพ—ใ‚‹ ...
[ "glenda.kanai@gmail.com" ]
glenda.kanai@gmail.com
0b3c6f4f9fd250ff776a7798baaea5f2b0d80fcc
60b704673152dfa5130405ce2a318b710fc3b120
/wrappers/arlexecute/simulation/testing_support.py
58f5c5bf0e5ccc0c1fe13b471934c2d5a6963bbc
[ "Apache-2.0" ]
permissive
rstofi/algorithm-reference-library
02b8e6735141fbbc1941cef2f36c8ed7ef2c3e38
03415e18ea55afc54eb9534dcd0ca2c7a4b0020a
refs/heads/master
2020-04-05T20:08:40.043608
2019-11-22T09:16:48
2019-11-22T09:16:48
157,166,061
1
1
null
null
null
null
UTF-8
Python
false
false
1,384
py
""" Functions that aid testing in various ways. """ from processing_components.simulation.testing_support import create_test_image from processing_components.simulation.testing_support import create_test_image_from_s3 from processing_components.simulation.testing_support import create_low_test_image_from_gleam from p...
[ "realtimcornwell@gmail.com" ]
realtimcornwell@gmail.com
474b5eb47ebc4029a4d155c60b3998250e41f214
81ec35443bc2567118aece66254c021e73f960d1
/python3/10.8.dates_and_times.py
5cdf7b5a8067e22dcf2ab6a0481b3b184e4d981b
[]
no_license
folkol/tutorials
95f1d641843cc26c04a79f74270721c7de4ac628
962b0fd89dac244e7f9dcb03773a25d96413fb0b
refs/heads/master
2023-08-17T18:50:18.358911
2023-08-02T20:46:53
2023-08-02T20:47:35
66,833,956
0
0
null
2023-09-05T03:40:46
2016-08-29T10:26:01
JavaScript
UTF-8
Python
false
false
331
py
from datetime import date now = date.today() print(now) # 2017-06-04 print(repr(now)) # datetime.date(2017, 6, 4) s = now.strftime('%m-%d-%y. %d %b %Y is a %A on the %d say of %B') print(s) # 06-04-17. 04 Jun 2017 is a Sunday on the 04 say of June birthday = date(1980, 11, 2) age = now - birthday print(age.days...
[ "mattias4@kth.se" ]
mattias4@kth.se
ee00de44f4a031e1d7bf9de64e82c1f55cbf8028
f22ca9aecda111a019502b462ce6772cb22d9425
/test/test_cart_warehouse.py
9147d67572c24863d56bc019a5bda0aaabd271d4
[]
no_license
sivanv-unbxd/a2c-sdk-pim
cac05bc6335ddc3c4121d43e2dc476a6fec14965
51a07a0b7f90d74569ad14b47b174da7ac1fc374
refs/heads/main
2023-05-29T05:45:32.279821
2021-06-09T03:52:11
2021-06-09T03:52:11
375,218,584
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
# coding: utf-8 """ Swagger API2Cart API2Cart # noqa: E501 OpenAPI spec version: 1.1 Contact: contact@api2cart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.cart...
[ "sivanv@unbxd.com" ]
sivanv@unbxd.com
014f19f93ff2542d81ce256e5af79c1fc0117b20
8981902427dc577228dfd5611c6afe86c3e2e9e2
/dsmr_mqtt/services.py
6a268e79b229fa528b8db0a29c46449e4d2c96f9
[]
no_license
genie137/dsmr-reader
5515f4f92bb05bcf00f0e8a0fbd1a018d408950b
4d934b4838cb2de4a66ff193f4f3095e9beecd99
refs/heads/master
2020-03-21T18:14:05.182137
2018-06-12T14:54:55
2018-06-12T14:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,411
py
import configparser import logging import json from django.core import serializers from django.utils import timezone import paho.mqtt.publish as publish from dsmr_mqtt.models.settings import broker, day_totals, telegram, meter_statistics from dsmr_consumption.models.consumption import ElectricityConsumption from dsmr...
[ "github@dennissiemensma.nl" ]
github@dennissiemensma.nl
79534b04cc124bc0a45a563f8ce019c809409d7b
88994e2e840a70ec702cee09e1a13813aa6f800c
/tests/models/observations/test_observations_input_files.py
bccc95a62ae1ed7dbee2e604e345dec01f022f35
[]
no_license
Clinical-Genomics/cg
1e9eb0852f742d555a48e8696914ebe177f7d436
d2ec6d25b577dd6938bbf92317aeff1d6b3c5b08
refs/heads/master
2023-09-01T02:04:04.229120
2023-08-31T13:50:31
2023-08-31T13:50:31
82,567,026
19
8
null
2023-09-14T15:24:13
2017-02-20T14:29:43
Python
UTF-8
Python
false
false
2,578
py
"""Test ObservationsInputFiles pydantic model behaviour.""" from pathlib import Path import pytest from pydantic import ValidationError from cg.models.observations.input_files import ( MipDNAObservationsInputFiles, BalsamicObservationsInputFiles, ) def test_instantiate_input_files(observations_input_files_r...
[ "noreply@github.com" ]
Clinical-Genomics.noreply@github.com
020d409514f60d8be97a9d22ef159566ead914e9
11b5de6bc38f1cf415ee2b743ce6e7da70e8ede3
/bin/split-seqs-by-id
dadb98424ce1875063d78de427e1ce7f1f3ff1ca
[ "MIT" ]
permissive
mkcor/bioinformatics-hacks
b21c6e3e3de4a1e28e1b2da754bf186a3faeb088
8f0894b8a0cc5595c7c1605ab3551a16e65d0f06
refs/heads/master
2020-07-13T22:48:17.092651
2019-07-24T22:38:58
2019-07-24T22:38:58
205,172,284
0
0
NOASSERTION
2019-08-29T13:38:32
2019-08-29T13:38:31
null
UTF-8
Python
false
false
917
#!/usr/bin/env python import argparse import logging from Bio import SeqIO def parse_args(): """ return arguments >>> args = parse_args() """ parser = argparse.ArgumentParser() parser.add_argument( "--log", default="/dev/stderr", help="log file (default=stderr)" ) parser.add...
[ "harekrishna@gmail.com" ]
harekrishna@gmail.com
130fb9e238720cf124db67fb1ce0d4358ee70e22
b4cf3438011c9521561143e677736c611ff19a0c
/setup.py
41f10d1828fa03e1a62e28eb8ac19b63cc45e852
[]
no_license
BUCT-Vision/boxx
3e5c24af20c06d4943dc04859e6cbfb577fe8a48
3d405c9ad744d2ff9f6f5d9efb1e31962474565b
refs/heads/master
2020-03-18T17:35:18.573106
2018-09-18T02:49:10
2018-09-18T02:49:10
135,037,392
2
0
null
2018-09-18T02:49:11
2018-05-27T10:44:44
Python
UTF-8
Python
false
false
6,981
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os from datetime import date from setuptools import setup, find_packages # --- import your package --- #import boxx as package packageName = 'boxx' pyPath = '%s/__init__.py'%packageName if os.path.isdir(packageName) else '%s....
[ "ylxx@live.com" ]
ylxx@live.com
f236269f4776ca93d30e415a57352e31115a6d08
63519b144e8b2d881c8f6e99b9c61aae5ab408ca
/resample_topo_file.py
ae26bfab26aea5740e8dc612baab9465dfbfedc0
[]
no_license
kujaku11/sandbox_scripts
667d260ef42c3fe90c9543e0a938fdb104368700
080003cdae3a14fec5178d3e7a854d142ef3948c
refs/heads/master
2023-08-10T18:27:30.463398
2023-08-05T01:28:29
2023-08-05T01:28:29
75,033,125
5
2
null
null
null
null
UTF-8
Python
false
false
1,579
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 26 15:06:46 2019 @author: jpeacock """ import numpy as np fn = r"c:\Users\jpeacock\Documents\Geothermal\GabbsValley\gis\gv_topo.txt" resample = 6 with open(fn, "r") as fid: nx = int(fid.readline().split()[1].strip()) ny = int(fid.readline().split()[1].strip()) ...
[ "peacock.jared@gmail.com" ]
peacock.jared@gmail.com
c3dfaa0899e4dab4d82c33038a74506baebc221a
560e212b000df60325d6a3cddd225aa4af69a8f8
/authentication/models.py
bf9cc5520e5f043e3db7e6a26072d08777b76001
[]
no_license
msrshahrukh100/Roba-Square-Website
c36964ee08536d6cfc1e2ced99c4cc61f5c03ace
3cfcbfc47541ae387bef9fe1e06c4046131841ba
refs/heads/master
2021-01-19T19:31:16.947352
2019-05-02T12:58:44
2019-05-02T12:58:44
88,420,401
1
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
from django.db import models from django.contrib.auth.models import User from autoslug import AutoSlugField from authentication.username import get_user_name from django.dispatch.dispatcher import receiver from django.db.models.signals import post_save from django.core.urlresolvers import reverse from sorl.thumbnail im...
[ "msr.concordfly@gmail.com" ]
msr.concordfly@gmail.com
3575db317ab710ec595dfe6bf58cde5c8976f25f
f5807a07ad72be79d4626ce9fe4adbf6d9f32fd8
/base.py
93a3986b8ab2d67b417169c5971b26987241751e
[]
no_license
15101538237ren/papers_collecting
74ddeb708502bf62dfdd5fd734a515e6fd73986b
0e9c4e24a8edac6f77f27f7b1b53ea2c9069f652
refs/heads/master
2018-11-04T18:47:01.170290
2018-08-26T22:32:17
2018-08-26T22:32:17
115,414,479
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import urllib2, os pkl_dir = 'pkl' papers_dir = 'papers' for dir_path in [pkl_dir, papers_dir]: if not os.path.exists(dir_path): os.makedirs(dir_path) paper_years = range(2013, 2018) ip = '10.138.232.71' port = '80' timeout = 20 def request_url(paper_collecti...
[ "renhongleiz@126.com" ]
renhongleiz@126.com
1e9a333a9a9085b4606cf1e5bd53b40f54343772
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq860.py
2953abe4bd2707aa6a6ffda17ae295e957dbe753
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=5 # total number=42 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7210e8c2d7640f4f2c4816aa750335f3e49bef62
b76289396b22eda191f25744a600fac2abaf8850
/hphp/tools/lldb/lookup.py
b2b6eaff45248b34068d08137fb0a176d2b21d29
[ "MIT", "PHP-3.01", "Zend-2.0" ]
permissive
fengjixuchui/hhvm
cb8cece7afd025fb8cdf8479c2a0696f38730949
bbbb1782fa258b8dd526ffc7e8ba0f6115931bff
refs/heads/master
2023-03-15T15:55:46.355422
2023-01-27T13:59:08
2023-01-27T13:59:08
175,142,159
0
1
NOASSERTION
2021-11-03T11:22:20
2019-03-12T05:34:16
C++
UTF-8
Python
false
false
4,595
py
import lldb import shlex try: # LLDB needs to load this outside of the usual Buck mechanism import idx import utils except ModuleNotFoundError: import hhvm_lldb.idx as idx import hhvm_lldb.utils as utils def lookup_func(func_id: lldb.SBValue) -> lldb.SBValue: """ Find the function correspondi...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e27d3ae4da61d77e608163c32861f19c4bc6f1e5
56bd9b3518f21080a0493f5330249bf5e85289fd
/patches_tool/aws_patch/aws_deps/libcloud/compute/drivers/joyent.py
dcf15dd66846793bd7529d7eb9cc9e240734edac
[ "Apache-2.0" ]
permissive
kevin-zhangsen/badam
da680bf8669722b5bc922381537bc4762fa5c228
6823f7dcd7c1b54c3b38edeffe59c16317598a2c
refs/heads/master
2020-04-01T13:43:03.300155
2015-10-29T01:07:46
2015-10-29T01:07:46
45,371,347
2
0
null
2015-11-02T04:02:50
2015-11-02T04:02:47
null
UTF-8
Python
false
false
8,019
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 ...
[ "nash.xiejun@gmail.com" ]
nash.xiejun@gmail.com
61d5e23c19070da8ec467f74852e7096b33ab380
fcde32709c62b8ee86da459bb7c8eee52c848118
/็ˆฌ่™ซ1905/day09/spider_day09_course/day09/Maoyan/Maoyan/settings.py
c4dbf33b7ab54d502aa651701fc4157d30dcb0bc
[]
no_license
klaus2015/py_base
6b92d362c3d7dc0e09205a037f4d580381dac94d
ec32c731c1c2f6a0dab87f1d167397e4fa86b8de
refs/heads/master
2022-07-28T15:49:30.383648
2020-05-11T15:31:43
2020-05-11T15:31:43
261,777,278
0
0
null
null
null
null
UTF-8
Python
false
false
3,382
py
# -*- coding: utf-8 -*- # Scrapy settings for Maoyan project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics...
[ "598467866@qq.com" ]
598467866@qq.com
cf4349e66001ff7285d399063205aebeb68ba443
fe06311a7de13a02ca0be37d84c542c3cece3f33
/Chapter38/file_38_2a.py
8fd1b4c07a9deadcb2e9460ccbcdfe4b3dbce9c8
[]
no_license
mooksys/Python_Algorithms
a4a84ddabc34ec4b7cc0ac01d55019880af38514
375817e3dfdec94411cf245fe3f685a69d92b948
refs/heads/master
2020-08-24T06:35:05.791979
2018-07-30T01:22:24
2018-07-30T01:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
def display_line(): print("-----------------------------") # ๋ฉ”์ธ ์ฝ”๋“œ print("์•ˆ๋…•ํ•˜์„ธ์š”!") display_line() print("์–ด๋–ป๊ฒŒ ์ง€๋‚ด์„ธ์š”?") display_line() print("๋‹น์‹ ์˜ ์ด๋ฆ„์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?") display_line()
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
8f14c453c8eb93b243a01aaf1d3cbb6e7c511f2a
3740de0d6e43ea140fc09ab314e4c492603ba185
/scripts/sources/S_TruncatedLFM.py
5972eb45ef92ce35b93b076421fd884df883530c
[ "MIT" ]
permissive
s0ap/arpmRes
29c60c65fd3e11be1cc31d46494e5b3ebf6e05ab
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
refs/heads/master
2022-02-16T05:01:22.118959
2019-08-20T16:45:02
2019-08-20T16:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,661
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.4 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # S_Tr...
[ "dario.popadic@yahoo.com" ]
dario.popadic@yahoo.com