blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
01987f0ad902f03e4f8143a9902372ec5a23fdac
100802fd56febbe28e11d45802e0ad661a9b98c4
/Community/migrations/0025_auto_20170917_1324.py
b00847fda82521674abe2ec4ce8c57358fab7431
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ByrdOfAFeather/AlphaTrion
efc4cfcfa246adde5a0ce84eb5e295c0c61722f5
90b00b8f4e4c7fe3c495a5ded14b47c3210119ea
refs/heads/master
2021-01-22T07:35:43.403968
2017-12-03T15:50:41
2017-12-03T15:50:41
102,306,857
0
2
null
2017-11-12T18:32:35
2017-09-04T01:39:45
Python
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-17 17:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Community', '0024_merge_20170906_2028'), ] operations = [ migrations.AlterModelOpti...
[ "matthew_a_byrd@outlook.com" ]
matthew_a_byrd@outlook.com
9cbd73869738bbc8369c6bfc681a592db0c22d7f
013ce5b341600adafb4bcbb2fc8fc3401d546fae
/rqalpha/mod/rqalpha_mod_sys_inplustrader/inplus_data_source.py
9e041586cdf7f43117ff15647063ededbe08a56f
[ "MIT" ]
permissive
tianhm/InplusTrader_Linux
75db2a653e977ea366fc50b731b4dc70b374062d
5f7eb17004da0b76ceafb93cb314de7a6009cd04
refs/heads/master
2020-04-13T19:57:50.590512
2017-08-05T11:39:25
2017-08-05T11:39:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,738
py
# -*- coding: utf-8 -*- import six import os, sys import pandas as pd import numpy as np import datetime import pymongo try: # For Python 2 兼容 from functools import lru_cache except Exception as e: from fastcache import lru_cache from rqalpha.environment import Environment #from rqalpha.interface import A...
[ "zhengwsh3@mail2.sysu.edu.cn" ]
zhengwsh3@mail2.sysu.edu.cn
8f4684429d545ecf7164585be6213989c7b40f50
15581a76b36eab6062e71d4e5641cdfaf768b697
/Topics/Bit Manipulation/Hamming Distance.py
0f20d3169bb1b5a3f103505b9745db2a91f036ec
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
# Approach 1: Just check every bit in both numbers and increment when they are different class Solution: def hammingDistance(self, x: int, y: int) -> int: hamming_distance = 0 while x != 0 or y != 0: if x % 2 != y % 2: hamming_distance += 1 x = x >> 1 ...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
81043998a660fac47d3cc846d5dcfef5ca7aba85
1ef56dcfef70ee14df8956eedd171f74406594af
/cms/dal/content_dal.py
6377504eafc1dd0140adba7c9c999684394a5e50
[]
no_license
journeyends/webtest
6c54ff19e01cd0cd99a34bcae55dd5701abf132f
2a24c6d7c52aa627edfbba3dd5eb9ccc16abe9fb
refs/heads/master
2020-04-17T07:38:52.873722
2019-03-21T09:36:50
2019-03-21T09:36:50
166,378,280
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
from cms.entity.content_entity import ContentModel class ContentDal: def getListByCondition(self, channelId, categoryId): search_dict = dict() search_dict['is_on'] = 1 if channelId is not None and int(channelId) > 0: search_dict['channel_id'] = int(channelId) if categor...
[ "songliyang@goldmantis.com" ]
songliyang@goldmantis.com
995de2292dda0406dc843356accff4f284d58da4
5ade44090b99ba19edd5cc0b07e4ebf1f8cc416e
/introduction.to.programming.with.turtle/5-1-1.45Tree.py
f06665fd7736a2cfefeee5d89c8d7619611ac0e3
[ "MIT" ]
permissive
Mito445/programming_with_python
af2f201fc3f13cab88fdaa708ecda6da05ad1b46
1114eaa7432ea8581d880bcebd1813a9fb873cce
refs/heads/master
2020-05-27T13:00:53.085344
2019-05-21T07:59:18
2019-05-21T07:59:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from easygraphics.turtle import * def branch(len, level): if level == 0: return fd(len) lt(45) branch(len / 2, level - 1) rt(90) branch(len / 2, level - 1) lt(45) bk(len) create_world(800, 600) set_speed(100) pu() bk(200) pd() branch(200, 5) pause() close_world()
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
f063629eadd4d9ceba806ccfa8b53d59a11e2640
1a639d185f9c883b7bebf33c577c58b22ac93c7e
/tkinter_learn/54_bind_multiple.py
bfd735893e6af94287c8c1d035feacf70951cf2d
[]
no_license
gofr1/python-learning
bd09da5b5850b1533a88b858690ed4380b55d33e
19343c985f368770dc01ce415506506d62a23285
refs/heads/master
2023-09-02T15:42:27.442735
2021-11-12T10:17:13
2021-11-12T10:17:13
237,828,887
0
0
null
2021-11-12T10:17:14
2020-02-02T20:03:42
Python
UTF-8
Python
false
false
696
py
from tkinter import Tk, mainloop from tkinter import ttk root = Tk() label0 = ttk.Label(root, text='Label 0') label1 = ttk.Label(root, text='Label 1') label0.pack() label1.pack() label0.bind('<ButtonPress>', lambda e: print('<ButtonPress> Label')) label0.bind('<1>', lambda e: print('<1> Label')) root.bind('<1>', l...
[ "gofr.one@gmail.com" ]
gofr.one@gmail.com
142c6a78e2239ee290ca640c02952a948775537f
1fc9a12c86be4e440f4f0d95c8b871c79df07545
/ML Libariries/python_numpy/numpy_zeros.py
b2db37298bb56aad4e9478392ff9204d6e28f939
[]
no_license
Rohit-Gupta-Web3/Articles
a56e7f1b36d6d5efd846eec2e1a4036716ac16eb
0f584916e065059d4dd1e95e7de874a7830fdff4
refs/heads/master
2023-05-14T02:50:17.817951
2020-07-26T06:44:10
2020-07-26T06:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
import numpy as np np.zeros((3,3)) print(a)
[ "rohit.gupta@iic.ac.in" ]
rohit.gupta@iic.ac.in
0fa4c393ffabac04abda009c1148efba8cede935
2ca120efab4f730df882e1f7e2d71a2dee61aa25
/analytics/signals.py
a38f739d1fd97347dfdbe714ad434b309b46799b
[]
no_license
jach58/geolocator
c246bfa95f600e0618ea8606fd203ac5b01b21dc
f00ba47df8893aff87da9e2142fd94faa3ca3cbd
refs/heads/master
2021-04-06T00:10:18.439145
2018-03-11T05:42:20
2018-03-11T05:42:20
124,726,848
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.dispatch import Signal user_logged_in = Signal(providing_args=['request'])
[ "jach58@hotmail.com" ]
jach58@hotmail.com
22c0cf9ad666b05c4b4de4efde05cbcbc5637ef7
32cb84dd41e4be24c065bb205f226f9b121a6db2
/swimmingpool/apps.py
858653df0fdd5d3f7907fc3a24965f943afd53a9
[]
no_license
InformatykaNaStart/staszic-sio2
b38fda84bd8908472edb2097774838ceed08fcfa
60a127e687ef8216d2ba53f9f03cfaa201c59e26
refs/heads/master
2022-06-29T11:09:28.765166
2022-06-13T21:56:19
2022-06-13T21:56:19
115,637,960
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
from __future__ import unicode_literals from django.apps import AppConfig class SwimmingpoolConfig(AppConfig): name = 'swimmingpool'
[ "hugo@staszic.waw.pl" ]
hugo@staszic.waw.pl
4791c02757534b823afff98e8e1f831eef411ee8
0cad32e2abd77ba43150b6e6a5f3a056f5d0cb13
/rec_test/spark_test2.py
93e887aa7a7d7ee6e6a5cb6a88eb79beec3a727a
[]
no_license
luohuayong/spark
73cf3720e588cf0c6a1d2f9f6c05387ac8d45295
1ff2180ac132405796daa8e5664ec4272f64a2f6
refs/heads/master
2020-04-06T06:53:58.201572
2016-08-24T11:21:24
2016-08-24T11:21:24
63,468,310
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
from pyspark.mllib.recommendation import ALS,Rating from pyspark import SparkContext from pyspark.sql import SQLContext,Row import os os.environ['SPARK_CLASSPATH'] = "/home/leo/spark/lib/postgresql-9.3-1103.jdbc41.jar" sc = SparkContext("local[2]","first spark app") sqlContext = SQLContext(sc) url = "jdbc:postgresql...
[ "luohuayong@163.com" ]
luohuayong@163.com
2f45c288c1a0d41d6ff5a1c1d40c94d3c9c32698
2e86ab87cb86ae4ffed162bc3e1109da7b362915
/supervisor/dbus/rauc.py
0a29112edaff028d4afed4370813fd5ff60e637c
[ "Apache-2.0" ]
permissive
swipswaps/supervisor
c5cae4ecad4d9bc53191c3882f4337d3edc5219a
2d294f68418fbbcdbad776cdd9c614ef952074c4
refs/heads/main
2023-01-24T13:18:51.463358
2020-11-30T17:00:12
2020-11-30T17:00:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
"""D-Bus interface for rauc.""" import logging from typing import Optional from ..exceptions import DBusError, DBusInterfaceError from ..utils.gdbus import DBus from .const import ( DBUS_ATTR_BOOT_SLOT, DBUS_ATTR_COMPATIBLE, DBUS_ATTR_LAST_ERROR, DBUS_ATTR_OPERATION, DBUS_ATTR_VARIANT, DBUS_NAM...
[ "noreply@github.com" ]
swipswaps.noreply@github.com
8882c1a68a42f5b8e201b5424ed071c14c1c054b
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/6737282/snippet.py
5c2d162fb0a8a82270d9ca2decf243da38c25c92
[ "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
638
py
""" Installs your SSH key on other hosts. A fabfile for lazy people. """ from fabric.api import task, run, put, env, cd # Use sh instead of bash. env.shell = '/bin/sh -l -c' @task def add_ssh_key(identity='~/.ssh/id_rsa.pub'): # Copy the key over. REMOTE_PATH = '~/id.pub' put(identity, REMOTE_PATH) ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
a13e095a11f32454452ddb7811aeced0983a69bb
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startQiskit269.py
0d004daf589a46c1043373aa682a4e2930b9c167
[ "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
6,721
py
# qubit number=3 # total number=54 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
c93c551d735e66aaea519dea5549a52276049c22
cba54fcdf5333aec90a70a6495f962f1c34818e9
/Data/ColorLUT/GenerateDefault.py
f2b8d3b2f8c34cee19657f30bf1e1ade794f1c65
[ "WTFPL" ]
permissive
2lost4u/RenderPipeline
f89fcb1b40e6fd5e5d001b311c8d6c8048a05c13
12131b115775f97927633d71832af65b99eebd09
refs/heads/master
2020-04-30T12:36:43.617264
2015-10-03T15:39:22
2015-10-03T15:39:22
44,781,091
1
0
null
2015-10-23T00:23:48
2015-10-23T00:23:47
null
UTF-8
Python
false
false
340
py
from panda3d.core import PNMImage, Vec3 lutSize = 32 image = PNMImage(lutSize * lutSize, lutSize, 3, 2**16 - 1) for r in xrange(lutSize): for g in xrange(lutSize): for b in xrange(lutSize): image.setXel(r + b * lutSize, g, r / float(lutSize), g / float(lutSize), b / float(lutSize)) image....
[ "tobias.springer1@googlemail.com" ]
tobias.springer1@googlemail.com
b812bca292f39c58ce9c994d00b04ae5e4ff59e6
4a2aed648b3890e51732ac7d9ceaaeabfd985f99
/Linked list/Link2Doubly..py
aca4d43528d5c3464374a148787f7ce4e5e42eb1
[]
no_license
bhatnagaranshika02/Data-Structures-Python
f544adeebc8af3b313354699dddd85af59889f4c
74de8a1c895b6ce18094d6c50beaee15a2715404
refs/heads/master
2023-03-13T06:47:20.247213
2021-03-01T13:58:53
2021-03-01T13:58:53
258,513,920
0
0
null
null
null
null
UTF-8
Python
false
false
4,565
py
class Node: def __init__(self,data,prev=0,next=0): self.data=data self.prev=prev self.next=next class linked_list: def __init__ (self): self.start=None def addfront(self,data): new_node=Node(data) new_node.prev=None new_node.next=self.start ...
[ "bhatnagaranshika02@gmail.com" ]
bhatnagaranshika02@gmail.com
52373f03597ca24ce183d53200144aa87abed7a4
9cda2257468d0ef2f7706d4d07099a7b6d897f02
/letecode/121-240/121-144/139.py
356b9d3a4011116e168da519c86020449cab5cc9
[]
no_license
hshrimp/letecode_for_me
4ba4031803687d7a309da9af4f003a328b48e53e
6dc5b8968b6bef0186d3806e4aa35ee7b5d75ff2
refs/heads/master
2021-12-11T07:37:22.323713
2021-08-23T08:16:00
2021-08-23T08:16:00
204,437,378
1
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
#!/usr/bin/env python # encoding: utf-8 """ @author: wushaohong @time: 2020-05-27 11:25 """ """139. 单词拆分 给定一个非空字符串 s 和一个包含非空单词列表的字典 wordDict,判定 s 是否可以被空格拆分为一个或多个在字典中出现的单词。 说明: 拆分时可以重复使用字典中的单词。 你可以假设字典中没有重复的单词。 示例 1: 输入: s = "leetcode", wordDict = ["leet", "code"] 输出: true 解释: 返回 true 因为 "leetcode" 可以被拆分成 "leet code"...
[ "wushaohong@zhongan.com" ]
wushaohong@zhongan.com
7caa93da7217e249804fdfd49de654c404d566ca
4d9e7292ff108d54c43d16b5c964c916f0971d26
/network/utils.py
9f5aec88619ff006f402f79886f3ea7ce146c087
[ "Apache-2.0", "MIT" ]
permissive
jun-ge/captcha_trainer
b0504b5504138046e49d59c2f2acc5a2bb694b48
06df8201c9a91e550fd0ddc4df55964647b758be
refs/heads/master
2020-12-03T23:31:06.756164
2020-01-01T02:14:40
2020-01-01T02:14:40
231,522,612
1
0
Apache-2.0
2020-01-03T06:03:10
2020-01-03T06:03:10
null
UTF-8
Python
false
false
9,976
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # Author: kerlomz <kerlomz@gmail.com> import math import tensorflow as tf from tensorflow.python.keras.regularizers import l2, l1_l2, l1 from config import * class NetworkUtils(object): def __init__(self, mode: RunMode): self.extra_train_ops = [] self...
[ "kerlomz@gmail.com" ]
kerlomz@gmail.com
b04bd6e4fc179a3156752e3180ad68f515dc2426
d52cb4c2e880875944b14da0b8a9542235942ac8
/geeksforgeeks/strings/13_remove_common_characters_and_concatenate.py
f25b216069ea2a31f0095869d2573c87de6a3fb4
[]
no_license
saparia-data/data_structure
fbd61535b68f92143b2cb2679377c0f56f424670
2e8700cfdaeefe0093e5b4fb2704b1abcd300d02
refs/heads/master
2023-05-08T18:54:52.250941
2021-06-04T05:44:29
2021-06-04T05:44:29
296,071,146
1
0
null
null
null
null
UTF-8
Python
false
false
2,919
py
''' Given two strings s1 and s2. Modify string s1 such that all the common characters of s1 and s2 is to be removed and the uncommon characters of s1 and s2 is to be concatenated. Note: If no modification is possible print -1. Input: The first line consists of an integer T i.e number of test cases. The first line of...
[ "saparia.ashvin@tavant.com" ]
saparia.ashvin@tavant.com
5c6d0e07034d72dd7133d62d6aa98fa6ad3f90d7
13d222bc3332378d433835914da26ed16b583c8b
/src/pemjh/challenge81/__init__.py
f9bee2a0acfcdc2b1206d732b54ae7657c08b554
[]
no_license
mattjhussey/pemjh
c27a09bab09cd2ade31dc23fffac07374bea9366
2ebb0a525d2d1c0ee28e83fdc2638c2bec97ac99
refs/heads/master
2023-04-16T03:08:59.390698
2023-04-08T10:54:00
2023-04-08T10:54:00
204,912,926
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
""" challenge81 """ from .main import main __all__ = ['main']
[ "matthew.hussey@googlemail.com" ]
matthew.hussey@googlemail.com
2706d20d8b42846ef0a92769ab0e1862cc9f67d6
7a11b6d4063685cb08b074ac8d08ab6e1d045ff5
/src/11_list_filter_map.py
fe22c07e7451ee77e9be1a6eb40d958c54a0fd5e
[]
no_license
slavaider/python
8a9f5769bd519e0e270c5814ef46ec5c653ab7c1
f98896b8e9dd93fe7d2b4a495b67704ef5f08373
refs/heads/master
2023-03-02T15:12:56.218871
2021-02-07T16:20:08
2021-02-07T16:20:32
301,493,207
2
0
null
null
null
null
UTF-8
Python
false
false
329
py
def square(number): return number * number def is_a(age): return age > 18 if __name__ == '__main__': list1 = [1, 2, 3, 4, 5] list2 = list(map(square, list1)) print(list2) l1 = [10, 12, 19, 20] l2 = list(filter(lambda age: age > 18, l1)) print(l2) l2 = [i for i in l1 if is_a(i)] p...
[ "slavaider1@gmail.com" ]
slavaider1@gmail.com
230d7556304b6d1e9e84253b384f89a7032e7e7c
04ea3d2a060151fc21179ca28373bfa516adcbfe
/deadly_corridor_scenario/data_preprocess.py
80aad30a1cf5cd87fb70ff51165b4c1f57794052
[]
no_license
zhouziqunzzq/vizdoom-naive-agent
394bdea6f88272603a5e6bf8b012e719d6f24701
4406b280567eef169d448fa77266812094aea736
refs/heads/main
2023-03-04T19:21:13.129770
2021-02-06T11:27:21
2021-02-06T11:27:21
333,699,839
1
0
null
null
null
null
UTF-8
Python
false
false
2,593
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : data_preprocess.py # @Author: harry # @Date : 1/27/21 7:05 PM # @Desc : Data preprocessor of raw play data import numpy as np import glob import os import pickle import matplotlib.pyplot as plt import matplotlib.colors as colors from constants import * from t...
[ "zhouziqun@cool2645.com" ]
zhouziqun@cool2645.com
cd0710aad9c6efbdf3cb3e9dcc4e8904d93f7c7a
0754e2e7aa1ffb90b54d563ce5a9317e41cfebf9
/Algorithm/Programmers/예선문제_0912_1.py
bf343580cadc687be1aa13eba4c93677632489b6
[]
no_license
ChaeMyungSeock/Study
62dcf4b13696b1f483c816af576ea8883c57e531
6f726a6ecb43387e4a3b9d068a9c491b115c74c0
refs/heads/master
2023-01-24T20:59:52.053394
2020-12-07T14:54:34
2020-12-07T14:54:34
263,255,793
2
3
null
null
null
null
UTF-8
Python
false
false
1,832
py
import re def solution(new_id): new_id = new_id.lower() new_id = re.sub('[^[a-z0-9-_.]','',new_id) c = 0 while 1: if len(new_id) >=2 and new_id[c]=='[': new_id = new_id[:c] + new_id[c+1:] c -=1 elif len(new_id) == 1 and new_id[c] == '[': ...
[ "noreply@github.com" ]
ChaeMyungSeock.noreply@github.com
24ea2a5d3090b4d31a336fddafb320974492ea58
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/ABC/abc151-abc200/abc154/a.py
89362b6b10c2cd6de4bd06bbc15544c91d7f434a
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
248
py
# -*- coding: utf-8 -*- def main(): s, t = input().split() a, b = map(int, input().split()) u = input() if s == u: print(a - 1, b) else: print(a, b - 1) if __name__ == '__main__': main()
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
df0e112a5ee8e6aa4e73c974f8a5193f413f1d51
8c205a39fd82f7f5782c6debeb1715b7ba8ca049
/te.py
7d471d8219db933a3a6f55ae1003b9651f6f73a7
[]
no_license
Omkar02/-Crawler-
8b96e9475bd24290dc176ce829414798e31fb893
6a51007f0b016d6e89f6c9b4294d2d652ce5ba22
refs/heads/master
2023-01-04T10:57:22.457112
2020-10-27T04:51:55
2020-10-27T04:51:55
307,585,199
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
"This is a Code test File" def Add(a, b): return a + b
[ "omkarjoshi4031@live.com" ]
omkarjoshi4031@live.com
e523c17f61fc2ea477066fd4d887bc7191e705e5
d78309688232cf5f411af4eff6b466c8cd30846b
/xutils/examples/tushare_live_feed.py
c9ef42c14431ca68089a602f29c006cfe727850f
[ "Apache-2.0" ]
permissive
huangzhangfeng/x-utils
5f8c1148789cf3dbbe6dff149562e3fd50c17c7a
291d92832ee0e0c89bc22e10ecf2f44445e0d300
refs/heads/master
2020-06-15T03:31:33.613290
2018-04-16T05:43:06
2018-04-16T05:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# -*- coding: utf-8 -*- from xutils.bar_builder import (LiveFeed, BarFrequency) import tushare as ts if __name__ == '__main__': live_feed = LiveFeed(tickers=['zh500'], frequency=BarFrequency.MINUTE, live_quote_arg_func=ts.get_real...
[ "siqiao_xue@163.com" ]
siqiao_xue@163.com
e5ff327c9bc201ab0a1fb5930b3270a892f257b5
6c5c6871fc5c37247b4059c956f3ac9d7cdeb714
/.venv/lib/python3.7/site-packages/pip/_internal/network/session.py
7020dafaf36134220619b496771053d4b203ccaa
[]
no_license
masa48326/homework_c
6596f91849b86ab4655712e4dddf2805231d5df3
86c9b83476ee5b18c5edef473f483a4336428d3c
refs/heads/master
2020-09-05T16:12:09.051967
2019-11-07T04:39:47
2019-11-07T04:39:47
220,152,904
0
0
null
null
null
null
UTF-8
Python
false
false
15,868
py
"""PipSession and supporting code, containing all pip-specific network request configuration and behavior. """ # The following comment should be removed at some point in the future. # mypy: disallow-untyped-defs=False import email.utils import json import logging import mimetypes import os import platform import sys ...
[ "masayuki.shibata.0831@gmail.com" ]
masayuki.shibata.0831@gmail.com
61a35ed86f7dcce431d0db4afc8fc306fcacbf12
c430b5b5b45f2fe94f7110fd56922bcf55c61269
/ixia/hlapi/4.98.122.39/library/common/ixiangpf/python/ixiangpf_commands/emulation_lacp_info.py
81a80b9fc2ad01c12e3b5d986294a671fe9f9876
[]
no_license
rayjiang2013/RF
08189671398095d864d41ea5a3af1958e8eb6252
936d32629061c4685d8e18b5cf9f001255514ec1
refs/heads/master
2016-08-09T11:38:51.990559
2016-01-06T20:20:02
2016-01-06T20:20:02
47,857,352
1
0
null
null
null
null
UTF-8
Python
false
false
6,096
py
# -*- coding: utf-8 -*- import sys from ixiaerror import IxiaError from ixiangpf import IxiaNgpf from ixiautil import PartialClass, make_hltapi_fail class IxiaNgpf(PartialClass, IxiaNgpf): def emulation_lacp_info(self, mode, **kwargs): r''' #Procedure Header Name: emulation_lacp_info Description: ...
[ "jimhe@fortinet.com" ]
jimhe@fortinet.com
bfd39877647de6747a51adede1939f0ff10c6d7c
871e1b0295c0fbbfca8191236d674866cf62ff01
/TrainEffNetB5_5FP_crossentropyloss_Block5_2FC_nonCrop_3.py
a4f1aba22a0059253ac6987c0239cd90c9ad026d
[]
no_license
Peckkie/USAI_ABnormal_Screening
ce31a813e9303a7d43def912ab731cc633268cb7
82cd63ac9ab72fbe68eae254c15c7bf7ef906022
refs/heads/master
2023-02-16T13:32:33.678500
2021-01-07T02:36:35
2021-01-07T02:36:35
277,981,638
0
0
null
null
null
null
UTF-8
Python
false
false
3,871
py
import PIL from keras import models from keras import layers from tensorflow.keras import optimizers import os import glob import shutil import sys import numpy as np from skimage.io import imread import matplotlib.pyplot as plt import os from tensorflow.keras import callbacks import pandas as pd os.environ["CUDA_VISI...
[ "w_yupaporn@kkumail.com" ]
w_yupaporn@kkumail.com
51c6159b731d8e3312ebfcff8878205082045ed9
f921ba30c773da9772293f69aa88c87b23929cc6
/src/main.py
80b5bb6dcf36d3ae1797299e1f62a20284465be6
[ "MIT" ]
permissive
R-Mielamud/Telegram_BooksDelivery
56349673b0bdb87204c35d4bce2cdb01d6d18722
0745e60a4541f38fba8ac378185aff558ec95147
refs/heads/master
2023-03-01T03:26:42.038174
2021-02-11T17:52:52
2021-02-11T17:52:52
326,045,333
0
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
from telebot import TeleBot as Bot from helpers.conversation import ConversationsStorage, Conversation from helpers.messaging import parse_manifest, send_until_question from api import UsersAPI, OrdersAPI, RequisitesAPI, BillsAPI from constants import BOT_TOKEN bot = Bot(BOT_TOKEN) welcome, manifest = parse_manifest()...
[ "2m.roman2@gmail.com" ]
2m.roman2@gmail.com
ffc449b45823b68adcab9b5cbbc47f8bb26e9c3e
b9f0399cf7ea0a66fb76900f0c2ceac2d4859d34
/app/models.py
25dafd0a7d71dca36697937b7a3967d96a57e0a2
[]
no_license
huangtaosdt/QA-website-zsb
eea0fcd6a2415cf5c61f01f6692d39a544ed900a
518470a3b37d6561797a38de42fe0c81d27c6ceb
refs/heads/master
2021-09-20T15:19:44.559747
2018-08-11T03:53:17
2018-08-11T03:53:17
100,498,996
0
1
null
null
null
null
UTF-8
Python
false
false
13,814
py
from . import db, login_manager from flask_login import UserMixin, AnonymousUserMixin from werkzeug.security import generate_password_hash, check_password_hash from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from flask import current_app, request, url_for from datetime import datetime import hash...
[ "huangtaosdt@163.com" ]
huangtaosdt@163.com
47ba284a792b5f983cbaf547bb02cc9069dde73b
4195cfc592b8c6ee42c5ea7b7d7d08b9899dd7c0
/spektral/datasets/qm7.py
0b226669c663f48b60d05bc6e3885431fd6d6681
[ "MIT" ]
permissive
mbrukman/spektral
4f5cc708a2996469ebbf2b6133acca42c6a869bc
d720de476d04a8d9ed23570336eddfedb97dd7de
refs/heads/master
2023-02-03T09:16:32.579795
2020-12-15T18:00:24
2020-12-15T18:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
import os.path as osp import numpy as np import scipy.sparse as sp from scipy.io import loadmat from tensorflow.keras.utils import get_file from spektral.data import Dataset, Graph class QM7(Dataset): """ The QM7b dataset of molecules from the paper: > [MoleculeNet: A Benchmark for Molecular Machine Le...
[ "daniele.grattarola@gmail.com" ]
daniele.grattarola@gmail.com
eb68771d4e777087643a92bffb715b1eae059a48
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/MSPN_ID0960_for_PyTorch/dataset/MPII/mpii.py
bc97e12ddafae1e8b4752d26c074ea0a1695bb97
[ "BSD-3-Clause", "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
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
8,487
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
3ec8a31d0882655804f8b5f2cb27daca6abfd5e7
2e8f0de7a1526ef511927783235edc93f7c90036
/communicare/core/migrations/0043_event_external_subscriptions.py
f59f64eaec3ff4408f9560c7e05cd7fcea47da6d
[]
no_license
ConTTudOweb/CommunicareProject
3d663578dfdeb455bc49419b3d103daec69c8fab
211a1124c8c4549c609832ad71069a55c714a430
refs/heads/master
2022-12-21T12:59:35.424560
2021-05-10T22:16:15
2021-05-10T22:16:15
163,891,380
0
1
null
2022-12-08T07:43:22
2019-01-02T21:27:42
HTML
UTF-8
Python
false
false
439
py
# Generated by Django 2.1.8 on 2020-03-02 17:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0042_auto_20191104_0945'), ] operations = [ migrations.AddField( model_name='event', name='external_subscrip...
[ "sandrofolk@hotmail.com" ]
sandrofolk@hotmail.com
2ac85d35e477f5d3e3fe61212bc2ef57463c03a6
637ab3853b560485d1b3c3ecbb469ff48114f3fb
/RepublicHyundai/taxapp/admin.py
66f846da14758850dcc5f7d4b76283e1f2e96d62
[]
no_license
vishalrathodgithub/republic_hyundai
19b7af4f84cec5cec037f2ed3a77ec5dfd4be8b9
cb1241f7c696a5b067a6b1ad1ce27dd371b41e2e
refs/heads/master
2020-11-24T13:09:21.491228
2019-12-15T09:29:16
2019-12-15T09:29:16
228,159,070
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from django.contrib import admin from taxapp.models import * # Register your models here. class TaxMasterAdmin(admin.ModelAdmin): list_display =['tax_product_category','tax_hsn','tax_sgst','tax_cgst','tax_igst'] admin.site.register(TaxMaster,TaxMasterAdmin) admin.site.register(FinancialYear)
[ "you@example.com" ]
you@example.com
8dc37cc18c0c38e4156e6ad424ef221774f15007
5a394c53a7099bc871401e32cf3fc782546f9f7d
/.history/lab1/Graph_20210130222041.py
a941a151506209424208f45209345b15f8b3979d
[]
no_license
ajaygc95/advPy
fe32d67ee7910a1421d759c4f07e183cb7ba295b
87d38a24ef02bcfe0f050840179c6206a61384bd
refs/heads/master
2023-03-27T10:10:25.668371
2021-03-23T08:28:44
2021-03-23T08:28:44
334,614,292
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from matplotlib import pyplot as plt import numpy as np import sklearn as sk class Graph: def __init__(self) -> None: self.plot = plt def plotGraph(self, x, y): plt.plot(x,y) plt.xlabel('Year') plt.ylabel('Change in Temperature') plt.title('Temperature change by year...
[ "gcajay95@gmail.com" ]
gcajay95@gmail.com
e8c4bb6b0a28096de4b86e45d42f7d4cf7c240ff
e837db39c9609830ab8e77dac2077ea30cadc5b3
/core/migrations/0003_auto_20190915_1905.py
368d065348ec67a18de5829c24f80f2c257f1185
[]
no_license
windundschnee/accountneu
9c8ff1507f725a5179604be2640d76b5302a0299
da9066840a312a95bc628556c94738010787a01f
refs/heads/master
2022-12-10T06:00:42.449898
2019-10-25T18:29:23
2019-10-25T18:29:23
211,513,631
0
0
null
2022-12-08T05:22:15
2019-09-28T14:34:00
Python
UTF-8
Python
false
false
868
py
# Generated by Django 2.2 on 2019-09-15 17:05 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0002_auto_20190915_1758'), ] operations = [ migrations.AddField( model_name='allgeingaben', ...
[ "du@example.com" ]
du@example.com
9c1dec43e89521c2bace3fda5c4a36ee10c09131
320280bfce76713436b76ffc3125ccf37e65a324
/AnalyzeMiniPlusSubstructure/test/ttbar/ttbar_82.py
439df1a9e7ad24d35f3968ac9303d4353832a0cf
[]
no_license
skhalil/MiniValidation
75ea5c0d7cde17bf99c7d31501f8384560ee7b99
1a7fb8377e29172483ea6d3c7b3e427ff87e7e37
refs/heads/master
2016-09-05T10:31:38.562365
2015-01-29T05:30:32
2015-01-29T05:30:32
29,898,162
0
0
null
null
null
null
UTF-8
Python
false
false
4,860
py
import FWCore.ParameterSet.Config as cms ############################################### useMiniAOD = True # AOD pfcandidates = 'particleFlow' chsstring = 'pfNoPileUpJME' genjetparticles = 'genParticles' importantgenparticles = 'genParticles' tracks = 'generalTracks' vertices...
[ "skhalil@fnal.gov" ]
skhalil@fnal.gov
ef32a3e70644ccee481a6bb2836324e2d3e9e4bf
b7f45072d056b80ed49e6bcde91877d8576e970d
/SQL/inc/py/all-names.py
b16948d631042a84c093b9e28cfe892992ea0f3f
[]
no_license
jrminter/tips
128a18ee55655a13085c174d532c77bcea412754
f48f8b202f8bf9e36cb6d487a23208371c79718e
refs/heads/master
2022-06-14T08:46:28.972743
2022-05-30T19:29:28
2022-05-30T19:29:28
11,463,325
5
8
null
2019-12-18T16:24:02
2013-07-17T00:16:43
Jupyter Notebook
UTF-8
Python
false
false
294
py
from sqlite3 import dbapi2 as sqlite connection = sqlite.connect("experiments.db") cursor = connection.cursor() cursor.execute("SELECT FirstName, Lastname FROM Person ORDER BY LastName;") results = cursor.fetchall(); for r in results: print(r[0], r[1]) cursor.close(); connection.close();
[ "jrminter@gmail.com" ]
jrminter@gmail.com
b3068976266831d415316817e2e3f7e468c472bc
e85b47c61947b13afd2d8855acff6c3fd0acd3e5
/accounts/models.py
2e83c57c385b45f7da7d1acf0d87954f0e2f8239
[]
no_license
Zhoroev/django_exam5
e2c2c5165d1dc5eeff87708de47267ec35135034
af5646b16732f8dc5bf0068ce34467cb29d70541
refs/heads/main
2023-06-30T16:49:25.077947
2021-08-07T17:33:19
2021-08-07T17:33:19
393,749,728
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): class TypeUserChoice(models.TextChoices): ADMIN = 'admin' SPECIALIST = 'specialist' PERSONAL_CABINET = 'personal_cabinet' type_user = models.CharField...
[ "erjan.joroev.kg@gmail.com" ]
erjan.joroev.kg@gmail.com
a4b2ee1468ea48c5f1588fd61509edd4dad20960
e36c5a91306f8d8cf487368d3a1dfae4c03da3c0
/build/yujin_ocs/yocs_ar_pair_approach/catkin_generated/pkg.develspace.context.pc.py
c4742daf75020b6b00db90c7f39c4b5afa7d64d6
[]
no_license
DocDouze/RobMob
84ae5b96a16028586c9da2008f7c7772bdaa1334
6a2e7505eb2207d61b1c354cfd255075b1efbc73
refs/heads/master
2020-04-11T07:24:28.958201
2018-12-17T11:56:54
2018-12-17T11:56:54
161,607,677
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "yocs_ar_pair_approach" PROJECT_SPACE_...
[ "quentin.aubailly@gmail.com" ]
quentin.aubailly@gmail.com
c20262a0f63933cce6ec99765eb0929fd4f684d8
ed21823488a1cca51009793efa0b124e40d224a4
/neurobioseg/161207_multiple_training_segmentations/p161207_03_compute_paths.py
c8d1a821dce33c10b72ca127676a412318bedebd
[]
no_license
jhennies/py_devel
4a41e13ec8cd9b834c3d5acf64becc0fa8ffc479
9fc860be95ae91064a40f25e26d4024fbae6eb1f
refs/heads/master
2021-01-16T23:25:56.716283
2017-03-10T17:49:55
2017-03-10T17:49:55
45,381,183
1
0
null
2017-03-10T17:49:56
2015-11-02T08:21:35
Python
UTF-8
Python
false
false
3,955
py
import os import inspect from hdf5_image_processing import Hdf5ImageProcessing as IP, Hdf5ImageProcessingLib as ipl from hdf5_processing import RecursiveDict as rdict from shutil import copy, copyfile import numpy as np import matplotlib.pyplot as plt import processing_libip as libip import sys from yaml_parameters im...
[ "julianhennies@hotmail.de" ]
julianhennies@hotmail.de
0d4208c30ec0aab0cdd5a4405a79fedd5cf74c17
ffe555768c86e03e8528e1d77a3b763ef8decea1
/pygcn/smtest.py
91378e0c2848cc9a91f55cfdda709108851373b0
[]
no_license
LittleQili/Toy-GCN
f4ba7dfa94468b44ef4687262d625678eea25007
2eb4ed0453b6acdff543aed7e965c80d424abc50
refs/heads/main
2023-03-25T17:41:04.459508
2020-12-27T07:40:02
2020-12-27T07:40:02
324,107,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
import time import argparse import numpy as np import torch import torch.nn.functional as F import torch.optim as optim import torch.utils as tutil # from utils import accuracy from smmodel import GCN from smdata import load_test_data # Training settings parser = argparse.ArgumentParser() parser.add_argument('--no-c...
[ "you@example.com" ]
you@example.com
67e65a797c551dbb3fbd1cc8e37359c580ca3a81
46225b4cd6234b3aeb31b0e88f85df44fddd3d53
/common_crawlers/common_crawlers/spiders/job_bole3.py
ed2a90fc2506289e2de9890670e8270d0ed127db
[]
no_license
git-wsf/crawler_project
cdbd8aaa0e4f232ffb07cdc5d4db90fc858e1d40
665945214036da1d312d16de83b13430d2e529c6
refs/heads/master
2020-07-27T15:14:16.152390
2018-10-30T13:46:34
2018-10-30T13:46:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
# -*- coding: utf-8 -*- import scrapy from scrapy.http import Request from common_crawlers.utils.common import get_md5 from common_crawlers.items import JobBoleItem, CustomItemLoader from urllib import parse class JobBole3Spider(scrapy.Spider): name = 'job_bole3' allowed_domains = ['jobbole.com'] start_ur...
[ "982698913@qq.com" ]
982698913@qq.com
7d0ebc005536be7a6d2ce1733d115bea7b53644b
0d0263ab9a24fc1bea785bcd913a8a113c571444
/03.02.object_detection_predict/SSD_detect.py
4df5bb9df70b4346ead58a4d2a3f46116c1d060b
[]
no_license
chenbobaoge/BeginnerDL
3b4f393802c230a7a9ed60828af96573fb340282
e038334880ee521fcf2d92953b530a5518346c35
refs/heads/master
2021-04-28T17:15:48.345072
2018-01-20T06:41:36
2018-01-20T06:41:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,693
py
from keras.preprocessing import image from scipy.misc import imread from keras.applications.imagenet_utils import preprocess_input import numpy as np from keras.models import load_model from keras_layers.SSD import PriorBox,Normalize, BBoxUtility import pickle import matplotlib.pyplot as plt from keras_config.SSDConfig...
[ "jeffcobile@gmail.com" ]
jeffcobile@gmail.com
85e4240770dd910e3b1334465f3b688842fb6c4e
8fa9174a6136c3f27c9090c2528e8d69835656a2
/app/mutant/tests/test_mutant_viewsets.py
dace4ccaf1ab5573dfd3bb347b3d654029504e2f
[]
no_license
hugoseabra/xmen-magneto-ambition
61336a8ce0eec7425f747c548dba87cb1bf8e88e
36caec2ae9102fc31ec502fe23d080b4625325b4
refs/heads/master
2023-07-08T05:57:36.007412
2021-08-18T00:36:47
2021-08-18T00:36:47
397,329,902
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
from django.test import TestCase from django.urls import reverse class MutantEndpointTests(TestCase): def _get_url(self): return reverse('mutant:mutant-list') def test_validation_of_how_many_items(self): """Tests error when less than 6 sequences is sent """ data = { 'dna':...
[ "hugoseabra19@gmail.com" ]
hugoseabra19@gmail.com
dcd2341b9a1ca25f9d958de48d6f57195b81b110
114372880a520f30f2d07b1b13a146f96454fd2e
/backend/channel_plugin/channel_plugin/contrib/sites/migrations/0003_set_site_domain_and_name.py
ff7bbcef9c5f692431794448bd76e7cd3743344e
[ "MIT" ]
permissive
wenotch/zc_plugin_channels
0ddb92064e6013a3f65d6ee65c526e0e605df25a
4e88aa4a3a1a140848c22a0fd90c6486560c3deb
refs/heads/main
2023-07-19T04:24:40.479183
2021-09-03T14:31:28
2021-09-03T14:31:28
401,643,447
1
0
null
2021-08-31T09:20:54
2021-08-31T09:20:53
null
UTF-8
Python
false
false
1,012
py
""" To understand why this file is here, please read: http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ from django.conf import settings from django.db import migrations def update_site_forward(apps, schema_editor): """Set site d...
[ "charlesboy49@gmail.com" ]
charlesboy49@gmail.com
e237d04b87dc293db59d1d7946558444d2c591d0
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/know_first_place_about_other_year/think_fact.py
5ccb9491f21faeaab2c0396088561a505e242764
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
#! /usr/bin/env python def world(str_arg): part_or_different_eye(str_arg) print('early_work') def part_or_different_eye(str_arg): print(str_arg) if __name__ == '__main__': world('new_place_and_way')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
bcc158707990ef3fd6461688eaaac914048eb6f5
783bbebfafd546b310fe3425e463ce064d88aabc
/msgraph-cli-extensions/v1_0/sites_v1_0/azext_sites_v1_0/vendored_sdks/sites/_sites.py
ea7966ba52e08d879263aedaf0d50f500c3d5838
[ "MIT" ]
permissive
thewahome/msgraph-cli
0d45bcc487bfa038023dee0b43127c3f59f6e12d
80ce5f9ff1ce2105af473b28576aedcfa76e0d6a
refs/heads/main
2023-06-02T05:29:13.317801
2021-05-28T04:58:55
2021-05-28T04:58:55
371,593,690
0
0
NOASSERTION
2021-05-28T05:48:41
2021-05-28T05:48:41
null
UTF-8
Python
false
false
40,750
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
5640887551d1f6accdd6e95361bd131529b00b45
3899dd3debab668ef0c4b91c12127e714bdf3d6d
/venv/Lib/site-packages/tensorflow/_api/v1/keras/initializers/__init__.py
aeaecd1674940e94d41121da513763e784bc99ac
[]
no_license
SphericalPotatoInVacuum/CNNDDDD
b2f79521581a15d522d8bb52f81b731a3c6a4db4
03c5c0e7cb922f53f31025b7dd78287a19392824
refs/heads/master
2020-04-21T16:10:25.909319
2019-02-08T06:04:42
2019-02-08T06:04:42
169,691,960
3
2
null
null
null
null
UTF-8
Python
false
false
1,855
py
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Keras initializer serialization / deserialization. """ from __future__ import print_function from tensorflow.python import Constant from tensorflow.python import Constant as c...
[ "a@bogdanov.co" ]
a@bogdanov.co
9663660be1f81d43d647bd908fc286cfa0639e9c
74912c10f66e90195bf87fd71e9a78fa09f017ec
/execroot/syntaxnet/bazel-out/local-opt/bin/syntaxnet/text_formats_test.runfiles/org_tensorflow/tensorflow/contrib/imperative/imperative_mode.py
51f63712b82033879294775ce5d8396e1d8f3fbb
[]
no_license
koorukuroo/821bda42e7dedbfae9d936785dd2d125-
1f0b8f496da8380c6e811ed294dc39a357a5a8b8
237fcc152ff436f32b2b5a3752a4181d279b3a57
refs/heads/master
2020-03-17T03:39:31.972750
2018-05-13T14:35:24
2018-05-13T14:35:24
133,244,956
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
/root/.cache/bazel/_bazel_root/821bda42e7dedbfae9d936785dd2d125/external/org_tensorflow/tensorflow/contrib/imperative/imperative_mode.py
[ "k" ]
k
4bbc91ad36755f133c5b473d3e59491f7d00cb10
8329282a8fda056d705c1af6dbcd0de1ed7ca25e
/.history/textutiles/textutiles/views_20210522204110.py
615e455ae34300f081f062b014e9c40135cf0c9b
[]
no_license
ritikalohia/Django-beginners-
c069b16867407ef883bb00c6faf4f601921c118a
829e28ab25201853de5c71a10ceff30496afea52
refs/heads/main
2023-05-04T03:34:29.082656
2021-05-22T17:38:21
2021-05-22T17:38:21
369,869,599
0
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
#created from django.http import HttpResponse from django.shortcuts import render def index(request): #params = {'name' : 'Ritika', 'place' : 'Mars'} return render(request, 'index.html') #return HttpResponse("Home") def contact(request): return render(request, 'contact') def analyze(request): #g...
[ "rtklohia@gmail.com" ]
rtklohia@gmail.com
e0d37014e4b7a9b35335efd96f0808e2c0f5f6ac
48c07006c95631ccba60bf08942a0ad5f458b453
/backend/wallet/admin.py
fd30a9aae90dd41aa5ec089a0797784423b75c71
[]
no_license
crowdbotics-apps/irmflorida-21805
80359102e4cb3f949cbc4261f3345338d4ca5e31
6cca6ab134dc423a0dfe6c5180a3310471f44392
refs/heads/master
2022-12-31T22:17:17.827396
2020-10-22T13:09:20
2020-10-22T13:09:20
306,148,773
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.contrib import admin from .models import ( CustomerWallet, PaymentMethod, PaymentTransaction, TaskerPaymentAccount, TaskerWallet, ) admin.site.register(CustomerWallet) admin.site.register(PaymentTransaction) admin.site.register(PaymentMethod) admin.site.register(TaskerWallet) admin.site...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e1a146982bf9b581fb39ab7883f2b8bc9180d00d
287e70a3b2382d1b4c3dd4bc3454ec66a7af1ac5
/tsuanlo/thongke.py
c8719e935443b954dc81c57ceb57dc9dc94cc2cb
[]
no_license
twgo/su5pio2
9b7c070bf3483312628d3c338949703147189a8a
24a567604aec090fdbce11335bbfef56c71f6888
refs/heads/master
2020-03-11T14:19:23.606168
2018-10-16T12:22:26
2018-10-16T12:22:26
130,050,110
0
0
null
null
null
null
UTF-8
Python
false
false
2,321
py
from 臺灣言語工具.解析整理.拆文分析器 import 拆文分析器 from builtins import set import json from 臺灣言語工具.音標系統.台語 import 新白話字 from 臺灣言語工具.音標系統.閩南語.臺灣閩南語羅馬字拼音 import 臺灣閩南語羅馬字拼音通行韻母表 def su(): imchiat = 0 su = 0 tsuanpooji = set() tsuanpoojitiau = set() tsuanpoosu = set() for liong, 句物件 in enumerate(tsuliau()): ...
[ "ihcaoe@gmail.com" ]
ihcaoe@gmail.com
50602a2a258c39fa894476cd9a9cbbc0de1e795a
e27509d78f9bc9746c535b4ed7adec6370741af6
/bwdesignworld/magazineisuue/views.py
732a1d7f95c369a29873e8f7c6a683ee1d397957
[]
no_license
bopopescu/bw
deae2323039d70b32a35043361f8562b09bea630
1ddb78a280388548ef7dd201a361db710e271791
refs/heads/master
2022-11-22T18:29:05.581667
2019-10-01T03:30:48
2019-10-01T03:30:48
282,542,998
0
0
null
2020-07-25T23:41:43
2020-07-25T23:41:42
null
UTF-8
Python
false
false
2,009
py
# -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponse import datetime from django.utils import timezone from django.http import HttpResponseRedirect from django.http import HttpResponse import json from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger,Invali...
[ "kr.sumit89@gmail.com" ]
kr.sumit89@gmail.com
84d900bd249dc56e022df49fe1adc11d8e94cc33
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03106/s203963496.py
3326c7676c3537cc9fbbf30aabd9f17c4dbc711a
[]
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
172
py
A, B, K = map(int, input().split()) I = [] if A < B: C = A else: C = B for i in range(1, C+1): if (A % i == 0) & (B % i == 0): I.append(i) print(I[-K])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9172b2337654eb31b67c8624ae7c796d8f3c43bf
144deb9795e28783fde8a930ed396000a2755551
/research_toolbox/tb_remote.py
a675fb9e6b812163fc014f81930026c1305af049
[ "MIT" ]
permissive
negrinho/research_toolbox
10786754afbffa22085d002e1b549be77e90d1d1
c99aac302ba427269c07ccf25369eb4d552cac95
refs/heads/master
2021-08-02T20:06:25.403862
2021-07-31T11:41:04
2021-07-31T11:41:04
121,714,230
20
6
null
null
null
null
UTF-8
Python
false
false
18,316
py
### running remotely import subprocess import paramiko import getpass import inspect import uuid import urllib.request, urllib.parse, urllib.error import research_toolbox.tb_utils as tb_ut import research_toolbox.tb_resources as tb_rs import research_toolbox.tb_logging as tb_lg import research_toolbox.tb_filesystem as ...
[ "negrinho@cs.cmu.edu" ]
negrinho@cs.cmu.edu
b81d16acd782e6d7a33df7203ed023976899d3df
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/MT5_ID4146_for_PyTorch/transformers/src/transformers/models/bertweet/__init__.py
1cc8f1fbfd9965d221219b89ed919785328e0409
[ "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
1,128
py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
d2be32d5af389e04d2e6dae67d4efe62f076a23e
d7fafa497d5724a6a53d6790556a0056493be80e
/srl_model/tests/data/dataset_readers/dataset_utils/ontonotes_test.py
fe01419bdd4f4cc5c321accbdd74f81465447bd0
[ "Apache-2.0" ]
permissive
rz-zhang/Bert_Attempt
472a9e3d7e3874f63710f850357b884354bb2d46
26936a5a63ff22c8ab118480caf515cdc395e37f
refs/heads/master
2021-10-08T09:25:04.297734
2018-12-10T14:59:13
2018-12-10T14:59:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,631
py
# pylint: disable=no-self-use,invalid-name from nltk import Tree from srl_model.data.dataset_readers.dataset_utils import Ontonotes from srl_model.common.testing import AllenNlpTestCase class TestOntonotes(AllenNlpTestCase): def test_dataset_iterator(self): reader = Ontonotes() annotated_senten...
[ "986645906@qq.com" ]
986645906@qq.com
031beb90b4f484126de2a0aa9d25895b63eba864
716abd9e5ba4b72b72cc5f724a6cc0a6ad4390d1
/8-Working with Python Modules/35-Introduction-to-Python-Modules.py
d82b80c881be39c2f7329e85993ccf5267b6067f
[]
no_license
devopstasks/PythonScripting
ac45edd72dc134ec3539b962f02dfc866f365ecf
48bc37733ae6b3be4e2d64909ffe0962b6908518
refs/heads/master
2023-03-29T11:18:01.329452
2021-04-07T03:25:20
2021-04-07T03:25:20
350,388,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
''' ====================================================== What is a module? => A module is a file containing python definitions and statements.That means module containing python functions,classes and variables. What is the use of module? => Reusability ex: If script name is mymodule.py then module name is mymodule ...
[ "rpadhan2015@gmail.com" ]
rpadhan2015@gmail.com
09fd87d07d10fa12b78b49a16a161ae0c05646ac
3b7a07ad2d78e8526ad8ae0767530d98aaff9f3e
/backend/core/settings/dev.py
5e31a25b6b87f5c7ce7ba9c4302df39b89fc9375
[]
no_license
ImmortalViolet/one-oms
ba2281acdd63f35eb907651e5aae240c97c16e8b
9b89e2773511cb4f9fe37c4cde79e9e3e47464fe
refs/heads/master
2022-04-12T17:38:59.052337
2020-02-28T04:29:34
2020-02-28T04:29:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
# -*- coding: utf-8 -*- # author: timor import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # db DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, '../core.db'), } }
[ "itimor@126.com" ]
itimor@126.com
6ee9e09c43f596747e6f734706f13995d405a1f5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_overruns.py
b104b69597f068db56d3556bd4709eb128fbc11a
[ "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
245
py
from xai.brain.wordbase.verbs._overrun import _OVERRUN #calss header class _OVERRUNS(_OVERRUN, ): def __init__(self,): _OVERRUN.__init__(self) self.name = "OVERRUNS" self.specie = 'verbs' self.basic = "overrun" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c51305ba5e4d56ee36a2a1cdb829f4a76038d5d3
59166105545cdd87626d15bf42e60a9ee1ef2413
/test/test_human_gene_location.py
ed2c5bf611870f00b36c70bc931cf84d6aa20bd0
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import dbpedia from dbpedia.models.human_gene_locat...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
f81a63c4262b48497bf3b90fc7acc5c04f3469e4
54f57cf661423b4cb4375ec86557a934ac94a497
/proj/run.py
c4f36b79ea5076151cfdfb10f7a6911a3fd8a76e
[ "MIT" ]
permissive
0xangelo/deep-rl
dd87520120e70a5d2325fcd25cdf004ce67f1453
9f0c1aafe71852c8973bf1ab732114a3cdbe23ad
refs/heads/master
2022-02-24T00:21:47.248660
2019-06-22T20:51:44
2019-06-22T20:51:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
""" The MIT License Copyright (c) 2018 OpenAI (http://openai.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
[ "angelolovatto@gmail.com" ]
angelolovatto@gmail.com
d5c530b751dafafc0517165d510d97d4829e610b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02860/s022291938.py
d07ef112fa467f50552ffd2851692df5d30addee
[]
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
149
py
N = int(input()) S = str(input()) flag = False half = (N+1) // 2 if S[:half] == S[half:N]: flag = True if flag: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f1d0157b2ab380f994197bcf15eb45900e508175
db9ff8accaa4d8d4a96d3f9122c0fdc5e83ea2a5
/test/test_inventory_location_full.py
45ffb25097659f31398e3148e7d153ea0d03eafd
[]
no_license
agtt/ebay-openapi-inventory
4754cdc8b6765acdb34f6b8f89b017ccbc6b1d2b
d990c26f16e811431892ac6401c73c4599c2d414
refs/heads/master
2023-06-17T10:53:43.204075
2021-07-14T18:32:38
2021-07-14T18:32:38
386,039,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
""" Inventory API The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay marketplace. There are also methods in this API that will convert eligible, active eBay listings into the Inventory API model. # noqa: E501 The version of the OpenAPI docum...
[ "csd@hotmail.com.tr" ]
csd@hotmail.com.tr
b2f480134ffe6ada98a4401e94a2dc14f3d4157a
41a20700b5bb351d20562ac23ec4db06bc96f0d7
/src/plum/loss_functions/__init__.py
92abc2bd7b2fad62b77b73fb46fd67551b4aeae5
[]
no_license
kedz/noiseylg
ee0c54634767e8d3789b4ffb93727988c29c6979
17266e1a41e33aecb95dc1c3aca68f6bccee86d5
refs/heads/master
2020-07-30T11:22:08.351759
2019-10-30T21:33:11
2019-10-30T21:33:11
210,212,253
4
2
null
null
null
null
UTF-8
Python
false
false
51
py
from .class_cross_entropy import ClassCrossEntropy
[ "kedzie@cs.columbia.edu" ]
kedzie@cs.columbia.edu
aeeeb349ebfd16e04ca2e0194f5292de498ea198
bb465b891e5bd14b2be2c6ae008417106cc1d9bb
/pycozmo/audiokinetic/soundbanksinfo.py
bdebf47c9b23d44c2f5aa0606371bf4afe2ea978
[ "Apache-2.0", "MIT" ]
permissive
ReidsTech/pycozmo
4393b157e7a8fba13bc3452226ec45cac5c5b80b
1b6dcd9b869a3784f1d8b02e820bb033f95fd13a
refs/heads/master
2023-02-10T22:45:43.789691
2020-11-12T14:39:52
2020-11-12T14:39:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,733
py
""" AudioKinetic WWise SoundbanksInfo.xml representation and reading. See assets/cozmo_resources/sound/SoundbanksInfo.xml """ from typing import Dict, Any, Union, TextIO import xml.etree.ElementTree as et # noqa from . import exception __all__ = [ "EventInfo", "FileInfo", "SoundBankInfo", "load...
[ "zayfod@gmail.com" ]
zayfod@gmail.com
0ed43fd97bc1aaa0a8dd69685412961f634b5081
52b5773617a1b972a905de4d692540d26ff74926
/.history/twosum_20200716164442.py
d7b038af3c1ba2d0728e86c4a678d19d439a0ad0
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
def twoSum(nums,target): # loop through the array # add the two nums checking whethere they are equal to the target # when you get one that is equal to the target append the indices... index = [] for i in range(len(nums)-1): for j in range(i+1,len(nums)): if nums[i...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
250a4f07e7a707025c6c2dca69887c9dd8db0074
8048d04a51cd8b14b9de52c1ab4c0b670a8d8cc9
/blog/models.py
bda80cb88c8d0a1f1c39f18ba8f6672b578e0796
[]
no_license
earvingemenez/myblog
2520bb08278272cdb1d3916b07c1b5167d6f5245
18b560efc0c0e20ecca0d0383b727785d713f776
refs/heads/master
2021-01-19T22:43:21.359989
2017-04-20T10:14:37
2017-04-20T10:14:37
88,848,933
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
from __future__ import unicode_literals from django.db import models class Blog(models.Model): title = models.CharField(max_length=250) content = models.TextField() date_created = models.DateTimeField(auto_now_add=True) def __str__(self): return "{}".format(self.title)
[ "earvin.gemenez@gmail.com" ]
earvin.gemenez@gmail.com
05a2da3536237a06814e065da6da7f82fc80af50
654f400751dfb180a937e0f18f6b722119a5b4f1
/zend_django/apps.py
d51e43ee375699520963436ed7f099816a53f9e8
[]
no_license
imagilex/tereapps
fae8bcb18ad4276f09a6ef6887d0c685c7a5522a
51d4da8dab1d184cb7dcfe144ac8d2405a179028
refs/heads/main
2023-07-04T12:19:32.943411
2021-08-10T19:41:00
2021-08-10T19:41:00
343,847,920
0
1
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class ZendDjangoConfig(AppConfig): name = 'zend_django'
[ "maths.unam@gmail.com" ]
maths.unam@gmail.com
f168470e59ea4a92c5b6627fba06f7eef60ecdb4
09cead98874a64d55b9e5c84b369d3523c890442
/sj200116_python2/py200423/quiz6_leon.py
e7bc492a754e0f420cf6470c899a5891e1959202
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
print(1, 2, 3, 4) print(5, 6, 7, 8) print(9, 10, 11, 12)
[ "inf.athensoft@hotmail.com" ]
inf.athensoft@hotmail.com
71261c496f40cbff4d353ee2197fd2cd73018ab6
df8b2ec756d5b3a45e04729df0fd7f6f27c5d5e5
/backend/aliah_27163/urls.py
cc188fd335d41bd8368c51da5890b3964c42faf2
[]
no_license
crowdbotics-apps/aliah-27163
06e0918b09861b9ff79ff0e00c569748f6985a43
6f32e337a0cf8d4fb247c45ae71b86740ff4f5f1
refs/heads/master
2023-05-04T10:57:07.929233
2021-05-21T15:52:18
2021-05-21T15:52:18
369,581,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
"""aliah_27163 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
31583fc5b7d6736e1fd571f3c2c2951d935d9380
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/248/original/248.strobogrammatic-number-iii.py
f15a21644c1adb868cb39614cde884e402e9deb3
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
837
py
# # @lc app=leetcode id=248 lang=python3 # # [248] Strobogrammatic Number III # # https://leetcode.com/problems/strobogrammatic-number-iii/description/ # # algorithms # Hard (35.88%) # Total Accepted: 18.6K # Total Submissions: 51.7K # Testcase Example: '"50"\n"100"' # # A strobogrammatic number is a number that lo...
[ "frankie.y.liu@gmail.com" ]
frankie.y.liu@gmail.com
a508f7fff35fe197202d0930f5a4a128153dafe8
5d1c43bb4881039f198eedcee2ceb101b406e0a0
/Django/myvenv/Scripts/rst2pseudoxml.py
14b4d31f246fab38616c63e1ebada18b21f34d47
[]
no_license
MunSeoHee/Likelion_Gachon_2020
46155b1686a245a59c5664f7726ac754b7079e4b
e0e48845fdb0e4aa2365e7c47e29880a27f0f261
refs/heads/master
2021-04-10T09:51:06.618980
2020-12-07T10:06:43
2020-12-07T10:06:43
248,927,668
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!c:\users\munseohee\desktop\likelion_gachon_2020\django\myvenv\scripts\python.exe # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo...
[ "nansh9815@naver.com" ]
nansh9815@naver.com
36cada529703f18157356f5a4a204b09e7a73f74
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/SSD_for_PyTorch/configs/faster_rcnn/faster_rcnn_r50_fpn_bounded_iou_1x_coco.py
7993e3d583f8b6a8348d46e7ed63642a7c1310ba
[ "Apache-2.0", "GPL-1.0-or-later", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
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
798
py
# Copyright 2022 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
0358c0a7d390749d6a438898355cb946deba8891
6b9b032a5516c8d7dbb26deeb1b189022f8f9411
/LeetCode/math/326.3的幂.py
c748ea5a012df0e8d72d3e38e176aa8eefb1eadb
[]
no_license
mrmenand/Py_transaction
84db99a0010ae90f43fba6b737d7035e48af55fb
7e82422c84ad699805cc12568b8d3d969f66a419
refs/heads/master
2021-07-13T21:15:03.714689
2020-06-21T11:49:31
2020-06-21T11:49:31
176,281,954
1
0
null
null
null
null
UTF-8
Python
false
false
163
py
# 326. 3的幂 class Solution: def isPowerOfThree(self, n: int) -> bool: ret = 1 while ret < n: ret *= 3 return ret == n
[ "1006024749@qq.com" ]
1006024749@qq.com
5cdc9a19af934f9266f1825c6652b217388655ed
111b4a8e40afb25fe9c906e89b3d31ccde18447b
/07b - Iteraties-WhileLus/Kassa.py
4a0ca6b9223b11b1bd5165e99b762bf2937f5301
[]
no_license
astilleman/Informatica5
722276619b5c2a80e03ad97a6c67bdb25f12bda2
9cbd82055c621c25ec372547c179bcf045f6629f
refs/heads/master
2020-03-28T03:19:12.206052
2019-05-16T08:05:54
2019-05-16T08:05:54
147,637,244
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#bewerking totale_prijs = 0 prijs = float(input('Prijs van het product: ')) while prijs > 0: totale_prijs += prijs prijs = float(input('Prijs van het product: ')) mes = 'De totale prijs is € {:.2f}'.format(totale_prijs) #uitvoer print(mes)
[ "43027764+astilleman@users.noreply.github.com" ]
43027764+astilleman@users.noreply.github.com
e96a7653bd522fe7c50ce48d1ca0ee14524ecf15
24a52b2b363417a8bdfeb8f669ee53b7ee19f4d6
/playa/common/__init__.py
d697428efddf43e7d8cbbcff969cc8c236aedfd8
[ "Apache-2.0" ]
permissive
isabella232/playa
e203997e2660babe333d4915f294530cde57ccb0
a93335e592aa596645a60497a7c030a36ae7fec2
refs/heads/master
2023-03-18T23:51:35.577746
2011-07-15T01:07:53
2011-07-15T01:07:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
""" playa.common ~~~~~~~~~~~~ :copyright: (c) 2011 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """
[ "dcramer@gmail.com" ]
dcramer@gmail.com
12cb6beaf4312399b793a615b7d33422092fb159
5f953682963317760135a7b39e655e11c962ee6d
/grabbit/_version.py
b173b93e4627f6fa464e0e3f4a9ebac6164db311
[ "MIT" ]
permissive
duncanmmacleod/grabbit
3651db5e24ed23bf72a1d12e44d03d9d44860b9b
83ff93df36019eaaee9d4e31f816a518e46cae07
refs/heads/master
2020-04-22T04:27:31.516594
2019-01-11T16:27:08
2019-01-11T16:27:08
170,124,285
0
0
null
2019-02-11T12:22:15
2019-02-11T12:22:14
null
UTF-8
Python
false
false
18,444
py
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
[ "markiewicz@stanford.edu" ]
markiewicz@stanford.edu
44c1f957f92750ca1bb1fc159f552e8a11dad6cf
3eb7ab0621e33aeb1db2e2b67d4a5f3b6d041d4f
/sim_ws_new/build/f110-fall2018-skeletons/labs/wall_following/catkin_generated/pkg.installspace.context.pc.py
f822c74f901f9a33f91d75679bc27565bb3026ea
[]
no_license
kkamons/Capstone_RacecarJ
4ec192c5b569c540bd8b614257c580d946077f3a
1fbc6aea625014c39dfe34d52bac5fef80592ee9
refs/heads/master
2020-12-14T03:49:27.323060
2020-03-11T22:35:47
2020-03-11T22:35:47
234,626,725
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "wall_following" PROJECT_SPACE_DIR = "...
[ "you@example.com" ]
you@example.com
9aba883f1836f9fbb65bad41fdd7395fb576f7b5
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/venv/lib/python3.7/site-packages/plotly/graph_objs/contourcarpet/contours/_labelfont.py
923e265437086913d339a7c5738604017a8dc29f
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
8,634
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Labelfont(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "contourcarpet.contours" _path_str = "contourcarpet.contours.labelfont" _valid_props = {"c...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
a77d9836bd428d402dfa9f88a23deaf8f561556e
067f015c6b70c18c78dc9c6976c10d77b2f6bb03
/tests/test_extension.py
ef0f38593557e3ffde9f7323b34d1e17c8252893
[ "Apache-2.0" ]
permissive
SolarisYan/jupyterlab_autoversion
d146a99f8e975def441a2a22ceb89c27f1510123
f16a1f0833cd278df390e7cc3c72aa4569dd4b8e
refs/heads/master
2020-04-26T12:17:01.191856
2019-02-14T14:07:01
2019-02-14T14:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
# for Coverage from mock import patch, MagicMock from jupyterlab_autoversion.extension import load_jupyter_server_extension class TestExtension: def setup(self): pass # setup() before each test method def teardown(self): pass # teardown() after each test method @classmeth...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
59179e3611dfd909c95ac81a1ccb88b8d87bd48d
aec6d287856a06e8b366216b5562b76d46978dc6
/specialelaven.py
d85f1f38564a80b40e58bd012bb94922693c77aa
[]
no_license
subbuinti/python_practice
b724a4e562b63c66d23b67093219d5a4bf1e1f0f
ffdab933586609b3760681effccdfead0b90033f
refs/heads/master
2023-07-12T17:47:00.773554
2021-08-31T14:26:51
2021-08-31T14:26:51
395,187,797
0
0
null
2021-08-31T14:22:56
2021-08-12T03:54:58
Python
UTF-8
Python
false
false
219
py
number = int(input()) is_multiply_by_11 = ((number % 11) == 0) is_multiple_times_by_11 =((number % 11) == 1) if is_multiply_by_11 or is_multiple_times_by_11: print("Special Eleven") else: print("Normal Number")
[ "subbuinti1@gmail.com" ]
subbuinti1@gmail.com
e3fbaa41424466c1205d5c08baabfd0e8be8d179
45467e07e77131f631d0865046dcc4d18f483601
/src/Codeforces/manthan_codefest18/B.py
d3ed1ae6fd8350c021bcad1b6d526a63371793da
[]
no_license
bvsbrk/Algos
98374e094bd3811579276d25a82bbf2c0f046d96
cbb18bce92054d57c0e825069ef7f2120a9cc622
refs/heads/master
2021-09-25T10:01:59.323857
2018-10-20T16:07:07
2018-10-20T16:07:07
98,708,839
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
if __name__ == '__main__': n, s = [int(__) for __ in input().strip().split()] arr = [int(__) for __ in input().strip().split()] arr.sort() mid = n // 2 ans = 0 if s == arr[mid]: print(ans) elif s > arr[mid]: while mid < n and arr[mid] < s: ans += s - arr[mid] ...
[ "v.ramakoteswararao2015@vit.ac.in" ]
v.ramakoteswararao2015@vit.ac.in
0e2d85e036627e1e34c67e17618b48e652a18d05
e3a6939a2faaf9bfd7ed21e7a877d2bd2125b130
/projects/migrations/0006_alter_portfolio_main_image.py
802a68ae6f98fe2b1e907debaaf8c9c2427ecd06
[]
no_license
furkalokbu/PortfolioTime
b133a64ec1472a12b878b87cf8e0706fdf39a16a
c4233930cd0988a80c65edf2079d4a560987d225
refs/heads/main
2023-04-29T21:24:30.629206
2021-05-14T15:49:14
2021-05-14T15:49:14
367,320,283
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# Generated by Django 3.2.2 on 2021-05-13 18:23 from django.db import migrations, models import djlime.utils class Migration(migrations.Migration): dependencies = [ ("projects", "0005_portfolio_main_image"), ] operations = [ migrations.AlterField( model_name="portfolio", ...
[ "furkalokbu@gmail.com" ]
furkalokbu@gmail.com
c11b62bf5d9810407247cd30ec391cedacc33a4b
8780bc7f252f14ff5406ce965733c099034920b7
/pyCode/python3.6网络爬虫实战/16-使用Selenium模拟浏览器抓取淘宝商品美食信息/16-使用Selenium模拟浏览器抓取淘宝商品美食信息.py
31abbc0c226bf81b218662c13dc366640a3d2005
[]
no_license
13661892653/workspace
5e4e458d31b9355c67d67ba7d9faccbcc1ac9f6b
17960becabb3b4f0fc30009c71a11c4f7a5f8330
refs/heads/master
2020-12-24T20:00:15.541432
2018-08-14T13:56:15
2018-08-14T13:56:15
86,225,975
1
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
#coding=utf-8 #Version:Python-3.6.0 from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from pyquery import PyQuery impo...
[ "470563152@qq.com" ]
470563152@qq.com
734c3ae12014f9b1251ed08b02aa2812c6836d5a
f159aeec3408fe36a9376c50ebb42a9174d89959
/1094.Car-Pooling.py
ca906b5c2ebfe85078f842d56167aa7405bbd8e4
[ "MIT" ]
permissive
mickey0524/leetcode
83b2d11ab226fad5da7198bb37eeedcd8d17635a
fc5b1744af7be93f4dd01d6ad58d2bd12f7ed33f
refs/heads/master
2023-09-04T00:01:13.138858
2023-08-27T07:43:53
2023-08-27T07:43:53
140,945,128
27
9
null
null
null
null
UTF-8
Python
false
false
698
py
# https://leetcode.com/problems/car-pooling/ # Easy (56.22%) # Total Accepted: 3,367 # Total Submissions: 5,989 class Solution(object): def carPooling(self, trips, capacity): """ :type trips: List[List[int]] :type capacity: int :rtype: bool """ trips.sort(key=lam...
[ "buptbh@163.com" ]
buptbh@163.com
ec09c23ed955776b9848aa5c94f2f4b1c92574bf
3f7e2c4e9a4dcee8f788150e1ead8fea1ea29b9d
/src/spaceone/statistics/service/schedule_service.py
90d817258de4d4e8093583d0e0619f546f8f4ec0
[ "Apache-2.0" ]
permissive
choonho/statistics
8fd5d5cb88c7b1d028cc1074cbafebfcd38e1371
31fbae2d0772a2e8b717ac12c8de9edd9d8f1734
refs/heads/master
2023-03-04T04:16:21.121928
2020-08-18T12:54:26
2020-08-18T12:54:26
289,881,803
0
0
null
2020-08-24T09:17:07
2020-08-24T09:17:07
null
UTF-8
Python
false
false
7,013
py
import logging import copy from spaceone.core.service import * from spaceone.statistics.error import * from spaceone.statistics.manager.resource_manager import ResourceManager from spaceone.statistics.manager.schedule_manager import ScheduleManager _LOGGER = logging.getLogger(__name__) @authentication_handler @aut...
[ "whdalsrnt@megazone.com" ]
whdalsrnt@megazone.com
6a59f5d9af6d2da2d4c3ff4fc689214c1ab15d8d
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/SRAP-WCM-MIB.py
2e0dea32a85b2a42244420b2abca21ea9f2a02d6
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
77,412
py
# # PySNMP MIB module SRAP-WCM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SRAP-WCM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:10:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
d129e4c0812fa19f8e5a6c71e7e94860e1283e5f
c1f1900d0f1522cfb6c0148ccd1138e3a3503ba8
/generativeopenset/options.py
1ccde89c0051407dab95ba2371390693424f4dd0
[]
no_license
yunruiguo/counterfactual-openset
4252c79bc799de0856cf019b4f13308e737a137c
fdba67466a877ed81de645b6c856d6f0a36006db
refs/heads/master
2023-02-28T21:54:44.175036
2021-02-02T14:02:00
2021-02-02T14:02:00
335,285,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
import os import subprocess import json from pprint import pprint def save_options(options): # Include the version of the code that saved the options # (in case the meaning of an option changes in the future) if 'version' not in options: options['version'] = get_code_version() if not os.path.e...
[ "nealla@lwneal.com" ]
nealla@lwneal.com
42e89f451bbe4d4030bb30fcf32c0531c44d827a
147d6678b8c99bd1e18b20814f259dc25a395ca6
/python daily coding/2020.4.16 (문자열)/2675번 (문자열 반복).py
fd8d8f2aec4445d09f7e86b6a80d085465055c18
[]
no_license
omy5123/Oh-min-young
7759cf869720d58fb07edc0e8f5a9b013afacc95
7db08ab828cc28cb9f477ea5410a48245a156fef
refs/heads/master
2021-05-19T07:08:01.379930
2021-01-17T07:51:49
2021-01-17T07:51:49
251,577,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
""" 문제 문자열 S를 입력받은 후에, 각 문자를 R번 반복해 새 문자열 P를 만든 후 출력하는 프로그램을 작성하시오. 즉, 첫 번째 문자를 R번 반복하고, 두 번째 문자를 R번 반복하는 식으로 P를 만들면 된다. S에는 QR Code "alphanumeric" 문자만 들어있다. QR Code "alphanumeric" 문자는 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\$%*+-./: 이다. 입력 첫째 줄에 테스트 케이스의 개수 T(1 ≤ T ≤ 1,000)가 주어진다. 각 테스트 케이스는 반복 횟수 R(1 ≤ R ≤ 8), 문자열 S가 ...
[ "omy5123@naver.com" ]
omy5123@naver.com
72a5fad825c61fa86d5ef8ed291f73492c1c0c5f
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/website_sale_delivery/models/sale_order.py
8348b35afb5921f18f137f6b7cf52a75f79e7da7
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
4,297
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import logging from odoo import api, fields, models _logger = logging.getLogger(__name__) class SaleOrder(models.Model): _inherit = 'sale.order' amount_delivery = fields.Monetary( compute='_compute_am...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
2f7faf8cb1215010b6f4f201ca1e2084f22cdd66
09de981a1b1591f85e41147a299885e60f7cea93
/ivona_api/__init__.py
12d2e343b511d0b5f83847e836f1f82e3f4ebef5
[ "MIT", "Python-2.0" ]
permissive
Pythonity/python-ivona-api
c95951509f7dda90812c2d325beb82ad34560d1f
490a2e502d4aa769b9f41603eb5d5e5ebf1ea912
refs/heads/master
2020-12-18T16:00:19.157330
2017-06-15T21:02:07
2017-06-15T21:02:07
60,565,253
10
3
null
2017-01-20T23:15:10
2016-06-06T22:33:22
Python
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- """ ivona_api - Python library that helps you connect to Amazon's IVONA Speech Cloud from within your Python project. """ from __future__ import absolute_import, unicode_literals from ivona_api.ivona_api import IvonaAPI # noqa __title__ = 'ivona_api' __version__ = '0.3.0' __autho...
[ "pawel.ad@gmail.com" ]
pawel.ad@gmail.com
f9ca580abef29cccb94846ae9d25defc6a9972cc
a8828f1b8d443e44be8521d63b212e33c6bd7cbb
/app/sprites/tile_map.py
16b23e9fc61336084860a295778fd5c873d0a668
[]
no_license
JordanSlaman/pygame-cc
ab8e156ee7b27296996efc212ab23a18de122325
fe2ac5ceb2c8f2cdb37dd1efa657723b4a45d1b9
refs/heads/main
2023-03-13T05:49:21.705879
2021-03-07T01:22:39
2021-03-07T01:22:39
345,232,003
2
0
null
null
null
null
UTF-8
Python
false
false
4,538
py
from pathlib import Path tile_sprite_filepath = Path('./sprites/tiles.png') tile_size = 34 column = [0, 34, 68, 102, 136, 170, 204, 238] row = [14, 48, 82, 116, 150, 184, 218, 252, 286, 320, 354, 388, 422, 456, 490, 524] tiles = { "player_down": (column[0], row[0]), "player_left": (column[1], row[0]), "...
[ "jordan.slaman@gmail.com" ]
jordan.slaman@gmail.com
73873758c4fae5b30bbd029eb70045763949697f
bc758176773f988876d408880b2288de0a1a1532
/manage.py
2786e300b207f85a923c4a6d888b9f6294bb6853
[]
no_license
15101538237ren/traffic_prediction
171e8ed66d5d0462e18d635e4380cbac566c5123
5e463a098cd4f6439cd5fcf6d7ae6bb36a6536de
refs/heads/master
2021-03-19T16:35:13.074763
2018-04-11T03:31:01
2018-04-11T03:31:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "traffic_prediction.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "renhongleiz@126.com" ]
renhongleiz@126.com
fd33cdef41235e78f40026197c9486d4bb1b798e
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/PythiaChargedResonance_WG/PythiaChargedResonance_WGToLNuG_M2600_width5_13TeV-pythia8_cff.py
83509f85ddff909d3050b28a383fc39e126a530a
[]
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,133
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), filterEfficiency = cms.untracked.double(1), maxEvent...
[ "shubhanshu.chauhan.cern.ch" ]
shubhanshu.chauhan.cern.ch
4d67763457adce3ac314868828b0af8e54f996a2
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/nP2.py
861daa82b45e4c0c46c0e7caad157a507e5e6890
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
19ff523329804f16e2b6d3094c39cb90e0bf0d56
9ed4d46aedd4d4acadb48d610e940594b5b7b3fd
/electronics/resistor_equivalence.py
55e7f2d6b5d2bd87baae998228830e13073f1456
[ "MIT" ]
permissive
TheAlgorithms/Python
7596a0e236ed12a61f9db19a7ea68309779cc85b
421ace81edb0d9af3a173f4ca7e66cc900078c1d
refs/heads/master
2023-09-01T17:32:20.190949
2023-08-29T13:18:10
2023-08-29T13:18:10
63,476,337
184,217
48,615
MIT
2023-09-14T02:05:29
2016-07-16T09:44:01
Python
UTF-8
Python
false
false
1,593
py
# https://byjus.com/equivalent-resistance-formula/ from __future__ import annotations def resistor_parallel(resistors: list[float]) -> float: """ Req = 1/ (1/R1 + 1/R2 + ... + 1/Rn) >>> resistor_parallel([3.21389, 2, 3]) 0.8737571620498019 >>> resistor_parallel([3.21389, 2, -3]) Traceback (m...
[ "noreply@github.com" ]
TheAlgorithms.noreply@github.com
b8f2f746520ef84dcec1b5ea9dbfb14196e27a81
37efda4646f478b66674e384e1bc139e7874d972
/practice/String.py
ee6e9b1a4544ded7ff46560e1f056471c96e2855
[]
no_license
siberian122/kyoupuro
02c1c40f7c09ff0c07a1d50b727f860ad269d8b1
8bf5e5b354d82f44f54c80f1fc014c9519de3ca4
refs/heads/master
2023-04-04T02:45:29.445107
2021-04-20T07:37:47
2021-04-20T07:37:47
299,248,378
1
0
null
null
null
null
UTF-8
Python
false
false
152
py
s=input() t=input() Flag=False for _ in range(len(s)): s=s[-1]+s[:-1] if s==t: Flag=True if Flag: print('Yes') else: print('No')
[ "siberian1000@gmail.com" ]
siberian1000@gmail.com
a285d314cf791de350574d787f98fcbe0f98517f
2487f84e74c068e727783932be59aa79e2fd3f3c
/tutorial/snippets/migrations/0001_initial.py
8342bc81abf76fa893db88b1ca3383d6a83e3f94
[]
no_license
jesusmaherrera/my-rest-framework-tutorial
350a9a34fb02c2f1160cac33e6341140be6c70f9
066b416805083d27529d6fe2c6807dc3685f0dd4
refs/heads/master
2016-09-06T18:47:00.684356
2015-04-11T04:38:15
2015-04-11T04:38:15
33,751,142
0
0
null
null
null
null
UTF-8
Python
false
false
11,237
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "jesusmaherrera@gmail.com" ]
jesusmaherrera@gmail.com