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
c3a7e9c3a0692d2974f6acff056f57ab42a7bf10
524591f2c4f760bc01c12fea3061833847a4ff9a
/arm/usr/lib/python2.7/dist-packages/rosdistro/source_file.py
d614c68bd8ca24a162d2b0dcb90e2b2449f5b3d9
[ "BSD-3-Clause", "Python-2.0" ]
permissive
Roboy/roboy_plexus
6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e
1f3039edd24c059459563cb81d194326fe824905
refs/heads/roboy3
2023-03-10T15:01:34.703853
2021-08-16T13:42:54
2021-08-16T13:42:54
101,666,005
2
4
BSD-3-Clause
2022-10-22T13:43:45
2017-08-28T16:53:52
C++
UTF-8
Python
false
false
3,365
py
# Software License Agreement (BSD License) # # Copyright (c) 2013, Open Source Robotics Foundation, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code mus...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
8cd578f9a8dc8366a1bea5ec6d51e91c6c3858fc
1609fe579811afe6f36ddca9d7c838ba5697131a
/radio/management/commands/set_default_access_tg.py
d05b1976d5381eb276ac621005d8e58c1a02900a
[ "MIT" ]
permissive
ScanOC/trunk-player
1777347f47744538a33109a05b72d5f28d2674ef
95f37e5a55a8f2a8b2ff6e1bb0a2b1049bc97ac4
refs/heads/master
2023-08-03T14:52:08.834013
2023-05-01T18:05:33
2023-05-01T18:05:33
68,432,108
65
50
MIT
2023-08-02T01:34:28
2016-09-17T04:35:59
Python
UTF-8
Python
false
false
1,484
py
import sys import datetime import csv from django.core.management.base import BaseCommand, CommandError from django.conf import settings from django.utils import timezone from radio.models import * class Command(BaseCommand): help = 'Helper for new TalkGroup Access' def add_arguments(self, parser): p...
[ "dreinhold@gmail.com" ]
dreinhold@gmail.com
b1f2cc85a77d533e1c78ae8a0ad3cb6b46551d10
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/angle/third_party/glmark2/src/waflib/Tools/md5_tstamp.py
29522311b19f3c194ccdb4ae91512b38a2798964
[ "GPL-3.0-only", "LicenseRef-scancode-x11-opengl", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
732
py
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file import os,stat from waflib import Utils,Build,Node STRONGEST=True Build.SAVED_ATTRS.append('hashes_md5_tstamp') def h_file(self): filename=self.abspath() st=os.stat(filename) cache=self.ctx.hashes...
[ "jengelh@inai.de" ]
jengelh@inai.de
30de42b2f9e57942415e8b6c7f980872b821c582
de590d5af29b1f962853a0c4395aa95a8aa06b58
/0x1F-pascal_triangle/0-pascal_triangle.py
2359f75ddfbbe4082bf683c1413fe97087f9b162
[]
no_license
MCavigli/holbertonschool-interview
ff31425e41a49bddd6d96a1bd41835830246f132
ab7c1e9b92eb113e8b28db82912e327736e4813f
refs/heads/master
2020-12-23T06:32:16.256851
2020-11-12T20:13:48
2020-11-12T20:13:48
237,068,237
1
1
null
null
null
null
UTF-8
Python
false
false
500
py
#!/usr/bin/python3 """ 0-pascal_triangle """ def pascal_triangle(n): """ Returns a list of integers representing Pascal's triangle """ lst = [[] for i in range(0, n)] for i in range(0, n): for j in range(i + 1): if (j < i): if (j <= 0): lst[i...
[ "mcavigli@gmail.com" ]
mcavigli@gmail.com
7114d514f06a2b225e3125b6227ae109bc916818
f98fc6d067d1b82b184deeed530ffec38f3d0e9b
/waliki/views.py
5a03797bd254bc69070d75eedb5591865b9890ca
[ "BSD-3-Clause" ]
permissive
leliel12/waliki
93de82e6326018578f70112446388ea66f4f3ddc
610d7ffb652e5eaa73824f4d69c85701ca059609
refs/heads/master
2021-01-17T14:07:59.503425
2014-09-21T23:38:54
2014-09-21T23:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
import json from django.http import HttpResponse from django.shortcuts import render, redirect from .models import Page from .forms import PageForm from .signals import page_saved from ._markups import get_all_markups from . import settings def home(request): return detail(request, slug=settings.WALIKI_INDEX_SLUG...
[ "gaitan@gmail.com" ]
gaitan@gmail.com
6e3fecbf74e22a8df6f5db0f7c7c17cca2e1d3aa
96316aead0ad883d93eebc3fcd2dcbb30ad6636a
/authproj/authapp/views.py
bee4b8390958421253069d227518f90b41c00afa
[]
no_license
Rashika233/django_auth_new
fe2e5da31e4d1e309946c333fa0ed2d7ec369a44
c3fbf2a7b042e33ff92ee894a63976ad97e77f7c
refs/heads/master
2022-12-04T10:06:10.294965
2020-08-27T15:54:52
2020-08-27T15:54:52
290,818,604
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.shortcuts import render from django.views.generic import TemplateView # Create your views here. class HomePageView(TemplateView): template_name='home.html'
[ "you@example.com" ]
you@example.com
c7a14f2f19153b5ed04edaec1cd126007973aac9
46e29adaf067dea495da67b09bf1be60d26c45c9
/genetic_algorithm/chromosome.py
9de551cf850875c5f52ca27381599032ce386d95
[ "MIT" ]
permissive
GeorgianBadita/Genetic-Programming-Function-Approximation
89800f96a7c457a6b7d5d4bb2deae915a7e7f3bc
5436074941d8888eb545e2cc4b332c6c832342f3
refs/heads/master
2020-09-12T20:58:09.383435
2020-06-13T10:22:27
2020-06-13T10:22:27
222,554,527
4
1
null
null
null
null
UTF-8
Python
false
false
5,825
py
import random import math import numpy as np import warnings warnings.filterwarnings("error") class Chromosome: """ Class for representing a chromosome """ def __init__(self, terminal_set, funct_set, depth, method='full'): """ Constructor for Chromosome class @param: depth - tre...
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
917e84a924d158a00d84a9381f093fbcf770d0e0
0b08158331fc9dfaead2ce5d67665facc36ff7f5
/openstack_dashboard/dashboards/admin/routers/tables.py
e914f08ad26039c3eb0136534521d644768d30d4
[]
no_license
linyihan2013/horizon
7086a5aad773c5eb45762b5ad8465e7e8c52e0fc
42adcfdcaeaf3366b6b8664d7de485fb8c3c901e
refs/heads/master
2021-01-11T19:13:35.118072
2017-02-03T07:45:40
2017-02-03T07:45:40
79,337,770
2
0
null
null
null
null
UTF-8
Python
false
false
2,003
py
# Copyright 2012, Nachi Ueno, NTT MCL, Inc. # # 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 applic...
[ "1032612468@qq.com" ]
1032612468@qq.com
50f356f3cc16e1baf68dac9dd9953090eafc3811
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/ix1.py
9ef14eb7866e68fb5e0f192e9f0a85df0b935088
[]
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
94dc893c82918cbe23b3f108f0902528e8950ded
22749c6a569661b2637233cc0aebdc1701033b26
/src/python/pants/backend/python/lint/flake8/subsystem_test.py
b1819103c29e14c0aef21b06727ffe544a568063
[ "Apache-2.0" ]
permissive
akk5597/pants
2eceb226c39b8ef7f603dfa96684b7522e1a9065
7ad295f71d2990eebbbe9c778bbf70f7d9e66584
refs/heads/main
2023-08-27T02:40:54.753545
2021-11-10T03:42:18
2021-11-10T03:42:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations from textwrap import dedent from pants.backend.python import target_types_rules from pants.backend.python.goals.lockfile import PythonLockfileRequest f...
[ "noreply@github.com" ]
akk5597.noreply@github.com
b094561bb43bc796f0b5a3d8cab158ada80d2a5c
7bcb08ff9aa4c7aee78fe11a51375ad69e5c651d
/TestMethod.py
d58300564fc885c2f6f9582216346878d8782568
[]
no_license
lc527756006/MachineLearningCW3
923441a548891c104800d78c18c476733296c2aa
1c21d4579f79f1154769996c34283cb3f921f304
refs/heads/master
2021-01-17T04:25:35.786315
2017-02-22T23:14:33
2017-02-22T23:14:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# encoding=utf-8 import numpy as ny import scipy.io as sio a=[[1,2,3],[4,5,6]] b=ny.array(a) c=[0 for i in range(6)] def load_data(i): # 加载数据 clean_data = sio.loadmat("DecisionTreeData/cleandata_students.mat") tdata = clean_data['x'] ldata = clean_data['y'] print len(tdata) print len(ldata)...
[ "wuzifan0817@gmail.com" ]
wuzifan0817@gmail.com
37a6ab00fbd2140699d440e7c55e4f0516154c08
0c70dcec22a090e70b1f20613ea6e0a64fd9a037
/GPS卫星位置的计算/venv/Lib/site-packages/pandas/tests/frame/methods/test_value_counts.py
d6ae0421b79083a459cc483107b921a45be42b0c
[ "MIT" ]
permissive
payiz-asj/Gis
82c1096d830878f62c7a0d5dfb6630d4e4744764
3d315fed93e2ab850b836ddfd7a67f5618969d10
refs/heads/main
2023-06-27T15:25:17.301154
2021-08-03T10:02:58
2021-08-03T10:02:58
392,269,853
1
1
null
null
null
null
UTF-8
Python
false
false
2,733
py
import numpy as np import pandas as pd import pandas._testing as tm def test_data_frame_value_counts_unsorted(): df = pd.DataFrame( {"num_legs": [2, 4, 4, 6], "num_wings": [2, 0, 0, 0]}, index=["falcon", "dog", "cat", "ant"], ) result = df.value_counts(sort=False) expect...
[ "1778029840@qq.com" ]
1778029840@qq.com
bc4ef7ea57a0c417ba89d83543e3f2bde704ec36
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_sp_outer/Jobs/Pc/Pc_neut_neut_inner0_outer4/Pc_neut_neut_inner0_outer4.py
1753bcc8360bd27ab685b3d3e60a4b4dc2778655
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
5,279
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
a1c657b1669648b68aab122a276b9a7e415bd902
99701affb7ae46c42c55484f3301d59f79294a10
/project/Examples/Examples/PP2E/Gui/ShellGui/Old/menugui0.py
afa1fa88bd67a89c2bde4e46238fb0d828516893
[]
no_license
inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall
1050b9e9bddb335bf42b7debf2abebe51dd9f9e0
0f650a97d8fbaa576142e5bb1745f136b027bc73
refs/heads/master
2021-01-21T21:48:21.326372
2016-04-06T20:05:19
2016-04-06T20:05:19
42,902,523
7
1
null
null
null
null
UTF-8
Python
false
false
1,182
py
#!/usr/local/bin/python from shellgui import * # type-specific shell interfaces class TextPak1(ListMenuGui): def __init__(self): self.myMenu = [('Pack', self.Pack), ('Unpack', self.Unpack), ('Mtool', self.Missing)] ListMenuGui.__init__(sel...
[ "inteljack2008@gmail.com" ]
inteljack2008@gmail.com
e71b6313b4cdfca169fb2903c4a7e17fc6731107
1a9ec1308a2ade079e95782906e5f8af4ecb403e
/MySortAlgorithm/5_quicksort.py
89d85a25eed4a5731450f592a3eea1051cc15120
[]
no_license
HeywoodKing/mytest
f0174f40bb60a7557ac361f566be36ac1b642366
ac19822dd28e3db60c56b57ba3dd50cb52736c6b
refs/heads/master
2022-12-12T15:47:28.141969
2020-07-24T00:46:01
2020-07-24T00:46:01
228,036,752
0
0
null
2022-12-08T06:18:26
2019-12-14T14:30:54
Python
UTF-8
Python
false
false
2,159
py
# -*- coding: utf-8 -*- import time """ 快速排序 (默认从小到大排序) 两边夹击 对于一个无序序列,取出第一个元素作为标志元素,剩下的元素定义两个头,一个低头,一个高头两个指针,从低指针开始和 标志元素比较,如果小于标志元素,继续查找,如果大于标志元素,停止低指针继续,从高指针一端开始查找,如果大于标志元素, 继续查找,如果小于标志元素,则将该元素和低指针的大于标志元素的交换位置,然后继续从低指针一端继续查找,知道两个指针相遇 ,此位置插入标志元素,第一次遍历结束,在重复上述动作,以此类推 """ # if alist[high] < mid_value: # alist[...
[ "opencoding@hotmail.com" ]
opencoding@hotmail.com
1fe5c11c421daf63a4d38aeba349c6f8b5f23f40
88cf3aa4eb13cda1790cd930ed2cb8c08964c955
/chainercv/experimental/links/__init__.py
25635fc7c593028b9f2ccc131d04205b2c365173
[ "MIT" ]
permissive
mingxiaoh/chainercv
6ae854f445b7a14f55e41b51b5e4226224702b95
cfb7481907efe93e13c729ae2d9df4706d3975a6
refs/heads/master
2022-11-11T20:44:31.875419
2018-05-03T04:09:13
2018-05-03T04:33:15
131,939,645
1
2
MIT
2022-10-26T00:07:37
2018-05-03T03:58:59
Python
UTF-8
Python
false
false
89
py
from chainercv.experimental.links.model.fcis.fcis_resnet101 import FCISResNet101 # NOQA
[ "shingogo@hotmail.co.jp" ]
shingogo@hotmail.co.jp
47defa7aab533fca08104fe6ee4ab64b38b50662
c947309ef03dc6ddd0a8bc0186adbab0089782d5
/torch/distributed/algorithms/ddp_comm_hooks/powerSGD_hook.py
e0c377132876bbbb528ea07ff24e89333dfce5a5
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
KsenijaS/pytorch
dc1dc2fd7adb982110aa0730d8625a84975c2e94
3bdb7af1e79c8e514a8cd4c87333ee7b77a78c36
refs/heads/master
2021-06-18T00:04:39.806795
2021-04-07T16:52:18
2021-04-07T16:52:18
191,849,503
1
1
NOASSERTION
2020-04-02T16:47:24
2019-06-14T00:14:56
C++
UTF-8
Python
false
false
33,986
py
import logging import math import numpy as np import torch import torch.distributed as dist from . import default_hooks as default def _orthogonalize(matrix, epsilon=1e-8): """ Applies Gram-Schmidt procedure to orthogonalize a given 2D tensor. If epsilon is 0, this is equivalent to `torch.qr(matrix, out...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
39618f68fe15ead1d408d92e16a6c74de256073d
970565892722ac73038688343eddcd89f856e72b
/code/part2/mapper_ip_to_hits.py
b83031092aee84bcba8eb5f3a36e2ef278987ca5
[]
no_license
dqian96/udacity-intro-to-hadoop-and-mapreduce
558d50881d6c20b8ef0c02f130d9b2b10857d547
0f5c58c60a47530ca8cac15b353f8a00b0efde0b
refs/heads/master
2021-06-08T20:54:33.486437
2016-11-26T00:20:01
2016-11-26T00:20:01
67,740,455
1
0
null
null
null
null
UTF-8
Python
false
false
493
py
#!/usr/bin/python # Maps page to number of hits. # Map("log_chunk_2", "10.22.33...") -> [("1.1.1.1", 1),...,("1.1.1.1",2)] import sys import re REGEX_COMMON_LOG_FORMAT = '(^[(\d{1,3}\.)]+\d{1,3}) (.+) (.+) \[(\d{2}/\w{3}/\d{4}):(\d{2}:\d{2}:\d{2}) -(\d{4})] "(\w+) (.+) ([\w\\/\.]+)[ ]*" (\d{3}) (-|\d+)$' def par...
[ "training@localhost.localdomain" ]
training@localhost.localdomain
0277ed8e4adb2a696e72cade9a86945c5ded6646
f0581fa08ef790606ca019890a2233f91b1c42a7
/PythonSrc/greeting.py
8864f7f80db107d64aa5b5a0cedba6491ca106ab
[]
no_license
jaycoskey/IntroToPythonCourse
de758f0dd0a1b541edb2ef4dcc20950a8d8788bb
d1373ec6602584a6791fd48d37ae66ff5f104487
refs/heads/master
2023-02-22T16:32:50.533091
2021-01-27T08:22:14
2021-01-27T08:22:14
333,007,314
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
#!/usr/bin/env python3 name = input("What's your name? ") print('Hello, ' + name + '!')
[ "jay.coskey@gmail.com" ]
jay.coskey@gmail.com
7526d4b5dca68fde0208ee88c56ae5e6478b6ba5
85c426913d63773c4802a4a3c354df909030654b
/python/FA3/Integration/Group 1/Group 1/PyFood/functionality/searchfunctions.py
30ddd14491b0ecaac3a8af817284a9985908b5ee
[]
no_license
SensehacK/playgrounds
17bf2a3133db6c0cafe185c4cc2c7b59862980aa
3decd550cdb6034db8b497051acaaec8221073aa
refs/heads/master
2023-05-11T20:05:31.680168
2023-04-30T00:01:58
2023-04-30T00:01:58
159,632,542
1
0
null
2023-03-05T11:34:34
2018-11-29T08:27:53
Python
UTF-8
Python
false
false
2,668
py
''' Created on Mar 16, 2017 @author: gaurav.sainger ''' # from database.ViewDB import search_restaurants from validations import Validate from exceptions import CustomException2 from functionality import filtersearch def search_as_guest(): try: city=input("Enter your city:") area=in...
[ "kautilyasave@gmail.com" ]
kautilyasave@gmail.com
d015a810f9644b95079e6ab7f4d4040c9b35aff6
6e67656c0fc79939f97a42d5ada57ab5b935b615
/mmic_ffpa/models/__init__.py
c98ed853b48793f90506b2200e550a3441de9917
[ "BSD-3-Clause" ]
permissive
pk-organics/mmic_ffpa
50bd058f1952b2f1f5409e89e5d83a0f7cc06a7f
6c61a93ed95a89cc06cf294674460f497f158530
refs/heads/master
2023-04-01T10:17:10.956970
2021-03-25T22:11:31
2021-03-25T22:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from . import input from . import output from .input import * from .output import *
[ "andrew.gaam@gmail.com" ]
andrew.gaam@gmail.com
08b0f6e23267d53449ba1b735756c83ac36b41d3
8cd0dc8d216130e4042c68a6ca79a80315a3037f
/venv/bin/easy_install
676950ea3601ddf278115f78544067ccdd65c540
[]
no_license
mutaihillary/Nsokoo
d5556bc35d2b12b08c9247c0bbd230c89657c390
e84d74755e60e83800e64343aa12639c9bd79804
refs/heads/master
2021-01-17T18:35:34.374280
2016-10-11T16:10:25
2016-10-11T16:10:25
69,482,657
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/home/kipkoech/Repos/flaskwebsite/app/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
2fab840e3c8c56b96c177cfe1d3791bad4b10365
3307766701d680af6d12a726a2d98df2cb1830e5
/jams/gcj/2011/1C/C.py
6a9956971f4be9063aaf7c2938656157a3b9c2e9
[]
no_license
dpaneda/code
c1a54037a275fa7044eb5c2d6079f052dd968615
7da1ede33a6a7cd19cbd0db517d91e7cccfbbfff
refs/heads/master
2023-01-07T18:41:00.816363
2022-12-30T09:24:22
2022-12-30T09:24:22
1,583,913
2
1
null
null
null
null
UTF-8
Python
false
false
618
py
#!/usr/bin/python # This works well and its clean but not good enought to fight agains large version :) import sys def Solve(): [n, l, h] = map(int,sys.stdin.readline().split()) notes = map(int,sys.stdin.readline().split()) index = l while index < h+1: freq = True for i in notes: ...
[ "dpaneda@gmail.com" ]
dpaneda@gmail.com
ffef77aa03d7bd6a4d97dc2d6033bc634767da14
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-881.py
96b180ba3614359c67033c631417e455b48fcf2c
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,752
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
3aebfa43822cf14ee8d21ed70f1c53729b30e15c
5dfe17514dc43d32c7945cc60b178fe58b15abc8
/Projects/Halma Game/Developing/AIClassTeam.py
ba3f99fdfbe673e651e4baf2933f85c647849f85
[ "MIT" ]
permissive
cholazzzb/A-Study-of-AI
79fd391400addf1d3fcc12630691b0d45033f40f
b069d536eb344a363d1b042086926d026afc0360
refs/heads/master
2021-01-08T23:42:14.988760
2020-05-02T06:18:27
2020-05-02T06:18:27
242,178,006
0
0
null
null
null
null
UTF-8
Python
false
false
16,544
py
# -*- coding: utf-8 -*- """ Create : 16 April 2020 16.23 Last Update : 16 April 2020 @author: Toro """ from copy import deepcopy # FORMAT (vertical or y, horizontal or x) startPositions = { 101: (0, 0), 102: (0, 1), 103: (1, 0), 104: (0, 2), 105: (1, 1), 106: (2, 0), 107: (0, 3), ...
[ "nicsphehehe@gmail.com" ]
nicsphehehe@gmail.com
5cb1a849d825eefe595062797868f3958e10eaba
0139244a5561b7ecee26c1c4497f36bfc27c60dc
/deeplens/object_detection/tensorflow_detect/utils/np_box_list_ops_test.py
dffede6a42f564419134a5b2b4730c7c6d2a5dae
[ "MIT" ]
permissive
sjyk/deeplens-cv
a0e94d649fcac46225c517596dbd2cefff0144dc
8383e6c377a93304534c46e3c9fd7821cc068d98
refs/heads/master
2022-11-27T10:59:55.806648
2021-02-22T19:41:09
2021-02-22T19:41:09
209,351,898
11
9
MIT
2022-11-21T21:38:23
2019-09-18T16:12:36
Python
UTF-8
Python
false
false
16,928
py
# Copyright 2017 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...
[ "sanjaykrishn@gmail.com" ]
sanjaykrishn@gmail.com
66c5ff6582c9ed9bc4af5f1ff227ef25c5f8b9ca
35d1b988b4ea391ed648f46ec00c13e9ab6cd9d8
/salt/modules/ssh.py
fd67e49953513f45222220088b57fe3bb4a07a5c
[ "Apache-2.0" ]
permissive
atoponce/salt
2ceb247433e6d7b8401a9e3c501ea75e89f798b2
19764c5b78820f81cdb8f7f429feb67a8859b692
refs/heads/master
2021-01-18T07:24:27.763822
2011-10-04T03:46:11
2011-10-04T03:46:11
2,509,562
0
0
null
null
null
null
UTF-8
Python
false
false
6,099
py
''' Manage client ssh components ''' import os def _refine_enc(enc): ''' Return the properly formatted ssh value for the authorized encryption key type. If the type is not found, return ssh-rsa, the ssh default. ''' rsa = ['r', 'rsa', 'ssh-rsa'] dss = ['d', 'dsa', 'dss', 'ssh-dss'] if rsa....
[ "thatch45@gmail.com" ]
thatch45@gmail.com
dfc5a128780d692bffb8e8c4f0479adb3a7df600
d20184bce93f6d4da8e4e1b430a0d9828acc7459
/tensorflow_datasets/core/features/image_feature_test.py
053951347dc5ef224d171666ddbcf97f01f57fde
[ "Apache-2.0" ]
permissive
abiraja2004/datasets
0bf6da2aaf86f332b54b1bcc0bfbd58eea4b2a7b
13b5287be1c400563d559384bd8e6d4d0244ba85
refs/heads/master
2020-04-05T12:17:02.018945
2018-11-09T11:51:19
2018-11-09T11:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,983
py
# coding=utf-8 # Copyright 2018 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
c648b82f5a7fde552e18e089edae3470823c484a
2a9e31f2dc50474cc33ea85a2b4dcb23b3a8b737
/raven/utils/stacks.py
57030b90849632bc56bab087fe41faf7aaf6a7fd
[ "BSD-3-Clause" ]
permissive
mitsuhiko/raven
39ce3971adc90da5544251a58baac63fbf031c8a
3d9bd01e2881f58c7f9156c1fd243569547840ed
refs/heads/master
2023-06-08T17:51:57.663446
2011-10-12T01:47:04
2011-10-12T01:47:04
2,559,563
1
1
null
null
null
null
UTF-8
Python
false
false
5,505
py
""" raven.utils.stacks ~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ import inspect import re from raven.utils.encoding import transform _coding_re = re.compile(r'coding[:=]\s*([-\w.]+)') def get_lines_from_file(fi...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
43fe0f6922d3ef40f54bcd87b20dd121739b4deb
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/KISS/testcase/firstcases/testcase9_020.py
03e1caf70102b771e968fc164b13a7e026557106
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,110
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
bc918e41ae9466ad97805350c85c83c738ad612c
b3e525a3c48800303019adac8f9079109c88004e
/iota/test/iris/testcases/swm/mode_switch.py
2163fc162470d0451dfa579e13746f89f9d2aa70
[]
no_license
PsymonLi/sw
d272aee23bf66ebb1143785d6cb5e6fa3927f784
3890a88283a4a4b4f7488f0f79698445c814ee81
refs/heads/master
2022-12-16T21:04:26.379534
2020-08-27T07:57:22
2020-08-28T01:15:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
#! /usr/bin/python3 import paramiko import logging import sys import time import traceback import iota.harness.api as api from iota.harness.thirdparty.redfish import redfish_client from iota.test.utils.redfish.ping import ping from iota.test.utils.redfish.ncsi_ops import check_set_ncsi from iota.test.utils.redfish.nic...
[ "noreply@github.com" ]
PsymonLi.noreply@github.com
60cd5aa547cedf3c4161dfe2689d0b25e1907946
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/nm8zFcqcQ9Rzu45Fm_8.py
6f23ec4930e6f866f2cf4c94d2f9d47afbdc03e8
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
def bridge_shuffle(lst1, lst2): ​ suffled_list, i = [], 0 ​ while True: ​ if i >= len(lst1): return suffled_list + lst2[i:] ​ if i >= len(lst2): return suffled_list + lst1[i:] ​ suffled_list += [lst1[i]] + [lst2[i]] ​ i += 1
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b9760bc5d28254cf3a26ee63a1685d0d8051e09d
00f1d6f2998e404deb42c43b3b03c8089b263568
/CCV4-adv/week4/lanhuajian/loss.py
05ed3934181726fa4c5cd98aa89fed59991ec0d3
[]
no_license
xiashiwendao/kaikeba
430bdfa4a0b99700fcbe76fce9118791917ade13
986f72e3f4eb9d210ebf6b46d9cace6c24353865
refs/heads/master
2022-12-26T15:41:06.842476
2020-10-10T06:20:47
2020-10-10T06:20:47
293,436,997
4
0
null
null
null
null
UTF-8
Python
false
false
673
py
import torch from torch import nn # 二分类focal loss class BCEFocalLoss(nn.Module): def __init__(self, gamma=2, alpha=0.25, reduction="elementwise_mean"): super().__init__() self.gamma = gamma self.alpha = alpha self.reduction = reduction def forward(self, pt, target): alp...
[ "xiashiwendao@163.com" ]
xiashiwendao@163.com
3189a9bddb5e0869d4c2a3fd33df5916788f3680
b403c7fe56209472855dff451f0b6283d5471008
/Supplemental_Material/PythonProjects/13. PYGAME/Pygames/pygame1.py
cb258cdafed5b51868ddb1c79da280eb4fc9e0e4
[]
no_license
Sandbox4KidsTM/Python_Basics
842bde52796896e913fdb5cc349034c52092555f
68c95547ec1567958fc8069e6a4bb119e436211a
refs/heads/master
2020-03-23T01:06:29.363196
2018-08-10T04:32:58
2018-08-10T04:32:58
140,901,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
#sentdex YouTube Video Tutorial Series #first pygame with basic window import pygame #import pygame module pygame.init() #start pygame #pygame is an instance, hence need to instantiate it gameDisplay = pygame.display.set_mode((800, 600)) #resolution of the game window #set_mode() expects a tuple, not 2 parameter...
[ "mitchslabrenz@gmail.com" ]
mitchslabrenz@gmail.com
a317c7c7a2454ad9c8e3d5914e0c7b875ea45f70
13a4df75e81ee4330a197340a300ec0755247a93
/aKindOfQuestion/5.arithmeticRobot.py
1b2226136d037872506976d20fe89461be50c385
[]
no_license
ltfafei/py_Leetcode_study
d22955380bf9f134bc9cb215fea73ec4f9ea94cf
0fd1bca56a621001cf9093f60941c4bfed4c79a5
refs/heads/master
2023-07-13T18:15:59.098314
2021-08-30T15:11:17
2021-08-30T15:11:17
363,597,757
1
0
null
null
null
null
UTF-8
Python
false
false
717
py
#!/usr/bin/python3 #-*- coding: UTF-8 -*- #Author: afei00123 ''' 5、算术机器人 现在利用编程设计一个简单的算术机器人,只需输入两个数字,在输入一个指令,机器人可计算并将结果返回。 输入的数值可以是任意整数,假设为X和Y,计算指令为A和B。A指令进行如下运算: X*2+Y Y指令表示如下运算: Y*2+X 如果输入指令:AB,则先进行A指令运算,再进行B指令运算。最终将运算结果返回。 ''' def arithRobot(x, y, s): n = 0 for c in s: if c == "A": ...
[ "m18479685120@163.com" ]
m18479685120@163.com
f8b84d578eefdacabcc837f5e63de75ee534d5f2
b8273daac56c6bb1e2cf5fba8bfe000a27f9ae6f
/src/optimal_root_model.py
0d0019148c5c0ee839f3f67bd6a304759dcd96fd
[]
no_license
jgomezdans/GDAY
0d117fc5bd27f2b3356192df22cb683970975711
66fea12aa4d454858be137530acd230d5e2834bf
refs/heads/master
2021-01-24T01:22:33.973009
2013-02-14T04:53:10
2013-02-14T04:53:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,831
py
""" Really need to fix these units so that there are consistent with G'DAY!!!""" from math import exp from utilities import float_ne __author__ = "Martin De Kauwe" __version__ = "1.0 (26.10.2012)" __email__ = "mdekauwe@gmail.com" class RootingDepthModel(object): """ Ross's Optimal rooting depth model. ...
[ "mdekauwe@gmail.com" ]
mdekauwe@gmail.com
2b6a99e9ca658e6f1cc574e56292dd95a63adb96
3b98ee18977177e10b57e6162a03204e3774d3b8
/Kirk_Byers_python_for_network_engineers/week2/week2exercise1.py
7ed21f9bba6e7484fd3a5b58b9e2f55c26fba027
[]
no_license
mattmiller87/practice
0a3d1cae1283abb683dfab0af86e6c569a6104e1
9655a8020038e0f6dfe8df842867debac0fcb1e3
refs/heads/master
2022-06-23T23:47:50.350379
2022-06-14T13:30:51
2022-06-14T13:38:56
51,970,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
''' I. Create a script that does the following A. Prompts the user to input an IP network. Notes: 1. For simplicity the network is always assumed to be a /24 network 2. The network can be entered in using one of the following three formats 10.88.17.0, 10.88.17., or 10.88.17 B. Regard...
[ "mattmiller87@gmail.com" ]
mattmiller87@gmail.com
87bdf10495c1654f797d96cbacd760e86d67a12b
6c523408c0122547d84ac7926cb67ee24f070efd
/8-curso-cod3r-python/pacote/sub/arquivo.py
b14ce505b09a1ce3649e9b576adc4b70d3dc9d80
[]
no_license
everaldobass/curso-python3
153f4364713f76984ccb00670defa927bdbdc4eb
1874803ff957df246fa052f5588f6066f4f948d9
refs/heads/master
2023-05-02T13:25:50.169067
2021-05-18T20:01:52
2021-05-18T20:01:52
186,182,832
0
0
null
null
null
null
UTF-8
Python
false
false
18
py
print("Funcionou")
[ "everaldobass@gmail.com" ]
everaldobass@gmail.com
42a67c3fb9dd598afba939fca288531e7c478b96
3fd0bd83099a2405c53c8f1b3f8235d7ebb46fbd
/tests/unit/specs/test_timer.py
5f77be1c6fa44cc2d266e027f6b838b25f532ba4
[ "MIT" ]
permissive
diogoaurelio/floto
59df848e0844314c999ad0833fec3671ea942cb9
5d1dedf91ea427db1f0fd9d7005fc3fa36e17cb6
refs/heads/master
2021-01-22T16:38:20.500203
2016-03-22T07:31:04
2016-03-22T07:31:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
import pytest import floto.specs class TestTimer(object): def test_init(self): t = floto.specs.Timer(id_='my_timer', requires=['t2'], delay_in_seconds=600) assert t.id_ == 'my_timer' assert t.requires == ['t2'] assert t.delay_in_seconds == 600
[ "amatthies@babbel.com" ]
amatthies@babbel.com
8726a52380b69f66f75746665c55e2a15f298458
e3da1286e01dec6a2b096e3d2f6620218468a391
/.scripts/submit.py
9dab5a0c353face38047e702bdfbca6c71c92620
[]
no_license
SquidneySquush/cse-20289
e42d6314d3a05a75b9ba4461002647019a215211
2e377f65e5dfde07fce277dbb30e04531e84d59c
refs/heads/master
2022-11-17T07:31:22.956873
2020-05-01T20:42:05
2020-05-01T20:42:05
264,722,989
1
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
#!/usr/bin/env python3 import glob import json import os import sys import requests import yaml # Globals ASSIGNMENTS = {} DREDD_QUIZ_URL = 'https://dredd.h4x0r.space/quiz/cse-20289-sp20/' DREDD_QUIZ_MAX = 4.0 # Utilities def add_assignment(assignment, path=None): if path is None: path = assignm...
[ "pbui@nd.edu" ]
pbui@nd.edu
97971326bba15e94906f8e029d5d8d64d6ef433d
40b0284e928451f4c26c4aa75180bd3f36251e0d
/tw2/asyncresources/requirejs/__init__.py
df843783696a1cac737c908606160d0dc98e55ed
[ "MIT" ]
permissive
amol-/tw2.asyncresources
2a8f318ff985b4ce2024bfa54707d389250601a2
298f6cc17ccc668f577b19322f2148b290c751b0
refs/heads/master
2021-01-18T14:38:42.437050
2014-05-12T09:23:43
2014-05-12T09:23:43
19,569,415
1
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
import json from tw2.core import params as tw2pm from tw2.core.resources import JSLink as TW2JSLink from tw2.core.resources import CSSLink as TW2CSSLink from tw2.core.resources import JSSource as TW2JSSource class JSLink(TW2JSLink): inline_engine_name = 'genshi' location = 'headbottom' template = '<script...
[ "alessandro.molina@axant.it" ]
alessandro.molina@axant.it
0d28b008daa72d90879d795f9f62367f1da6e748
46357db3b1c1af699384d9cba1ffbc3c732117ad
/selenium_basics/07_webdriver_api/scrolldown.py
439b92428042e802fb07494fe1578a9eabdd4038
[]
permissive
khanhdodang/automation-training-python
28fbd70ca4bc84e47cf17d1e4702513863e38c44
b16143961cee869c7555b449e2a05abeae2dc3b5
refs/heads/master
2023-07-11T05:21:34.495851
2021-08-18T01:29:37
2021-08-18T01:29:37
285,208,030
0
8
MIT
2020-09-29T07:01:15
2020-08-05T07:01:46
Python
UTF-8
Python
false
false
420
py
# import webdriver from selenium import webdriver # import time import time # create webdriver object driver = webdriver.Chrome() driver.maximize_window() # get geeksforgeeks.org driver.get("https://www.geeksforgeeks.org/") driver.execute_script("window.scrollTo(0, document.body.scrollHeight);") time.sleep(3) driv...
[ "khanhdo.pmp@gmail.com" ]
khanhdo.pmp@gmail.com
48cd2b90fd8d7b3acd2f71a560a9d8cfea3f13e2
61ce1dff5e61dde649e3908b6ba7c2a270a78e94
/pastebin/debug_settings.py
2ec0b6b08eb1b1e6d0357ef4758a6ac3d761d2df
[ "Unlicense" ]
permissive
xeddmc/pastebin-django
b9438104691b4c21af4a01e46e8c9ada7ee66403
5e38637e5a417ab907a353af8544f64a0ad2b127
refs/heads/master
2021-01-12T20:07:53.454983
2015-12-21T09:31:29
2015-12-21T09:31:29
45,421,895
0
0
Unlicense
2019-08-05T19:47:34
2015-11-02T21:03:40
Python
UTF-8
Python
false
false
37
py
from settings import * DEBUG = True
[ "jannepulk@gmail.com" ]
jannepulk@gmail.com
9912d2cab22351db39278bd3ea7187cff6c523e4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_017/ch35_2020_10_05_19_36_22_782479.py
5c7f486b60f6158998b37f504c5fe84a0b9a0d1b
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
s=0 while s !=0: x= int(input("Me diga um número: ") if x==0: s+=1
[ "you@example.com" ]
you@example.com
6379119d77fb8304861e6bb9226ab3b25fb3c157
7f44a279773732b183963349d146a8dd9a195b88
/home/migrations/0022_auto_20200929_1731.py
7074f056ac8ef3685cb16efd7ff2ff64f2433ad2
[]
no_license
pseudobabble/cms-boilerplate
f138060e2f25721191289eb261185136ae9cf6bd
3923a8ebe1541118c5551b0996557f241943831f
refs/heads/master
2022-12-28T01:30:49.554898
2020-10-15T15:23:10
2020-10-15T15:23:10
283,308,347
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
# Generated by Django 3.1.1 on 2020-09-29 17:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0021_auto_20200929_1725'), ] operations = [ migrations.RemoveField( model_name='artwork...
[ "harryjohnson500@gmail.com" ]
harryjohnson500@gmail.com
f3c793e84385a281b30ca565ac2bf8ddad2993fb
0561900bf01598e6c453131952fe4f62b2f9c6e9
/week2/List Problems/sorted_names.py
9c0c756f42014ab1a873fe9e1df0d2fc72f6a37c
[]
no_license
Rositsazz/HackBulgaria-Programming0
497f40eefa373b024389c58e7d83aff3ffc547ac
0590d7430ff0aadfb737593a04d3ab1eb894f8d3
refs/heads/master
2016-09-06T09:09:19.416648
2015-08-11T10:02:49
2015-08-11T10:02:49
30,868,430
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
n = input("Enter number:") n = int(n) count = 0 array = [] while count < n : m = input("enter word: " ) array = array + [m] count+=1 print("Sorted names are:") b = sorted(array) i = 0 while i<len(b): print(b[i]) i+=1
[ "ross_zz@mail.bg" ]
ross_zz@mail.bg
ed51a887cbf8c93ace619126a900925c2cbcdf54
78dc15505e17cef3e49410bbadc1bb4812cdbbad
/foiamachine/settings.default.py
5f1cdffa10b06c608591e67abe7ad5e408b15d45
[ "MIT" ]
permissive
jgillum/foiamachine
4a7e4ef9fec681341c014dbe7c98bbce79debb4e
26d3b02870227696cdaab639c39d47b2a7a42ae5
refs/heads/master
2020-06-29T11:19:46.232758
2019-08-19T02:27:45
2019-08-19T02:27:45
200,519,075
3
1
null
2019-08-04T16:57:27
2019-08-04T16:57:27
null
UTF-8
Python
false
false
5,386
py
# Django settings for foiamachine project. DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'foi...
[ "jgillum@gmail.com" ]
jgillum@gmail.com
ec596f7b294b1180b3f3de8871017bdaef112020
9e3398214a4f12bf31e367b0b7a4810c24526a1f
/core/migrations/0001_initial.py
04fb0789ed8aa582491be59e056c957fe38e7cee
[]
no_license
tricelex/django_ecommerce
7987381a240f75015d77293c16594f37cbc0c29a
7a9f9cb427214ea9134b59461e580616d2fc0ce5
refs/heads/master
2023-02-25T21:56:55.303780
2021-02-01T22:58:23
2021-02-01T22:58:23
327,143,075
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
# Generated by Django 3.1.5 on 2021-01-06 16:57 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] oper...
[ "tricelex@gmail.com" ]
tricelex@gmail.com
450ff22a3190894301c71874dd1f607b45be7e88
846119600b78936f9004bc3254aa8e6141e7c198
/setup.py
185ef6bf3b43da989871790301371722c9282f01
[]
no_license
slaskis/django-cachalot
e63ef8e5cf54988a0001a29f15c907e004355169
2b8f001a212d7774e450a0b2bf82e7d56e8b1e61
refs/heads/master
2020-03-25T20:22:46.572296
2018-07-27T18:27:56
2018-07-27T18:27:56
144,128,413
0
0
null
2018-08-09T09:08:40
2018-08-09T09:08:39
null
UTF-8
Python
false
false
1,410
py
#!/usr/bin/env python import os from setuptools import setup, find_packages from cachalot import __version__ CURRENT_PATH = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(CURRENT_PATH, 'requirements.txt')) as f: required = f.read().splitlines() setup( name='django-cachalot', version...
[ "bordage.bertrand@gmail.com" ]
bordage.bertrand@gmail.com
e13648df911fd331425d79cdea89def40d16be9a
f810836bea801f2fa85418ac7f5f5ffb0f3e0bda
/abc/abc026/A - 掛け算の最大値.py
0173704542455c55c832fe6424cfe982717d6a44
[]
no_license
cocoinit23/atcoder
0afac334233e5f8c75d447f6adf0ddf3942c3b2c
39f6f6f4cc893e794d99c514f2e5adc9009ee8ca
refs/heads/master
2022-08-29T06:01:22.443764
2022-07-29T07:20:05
2022-07-29T07:20:05
226,030,199
1
0
null
null
null
null
UTF-8
Python
false
false
122
py
a = int(input()) ans = 0 for i in range(a + 1): for j in range(a + 1 - i): ans = max(ans, i * j) print(ans)
[ "cocoinit23@gmail.com" ]
cocoinit23@gmail.com
73d8b6289524e9c1ef1e6c5e5eb989f59323f556
293b5687000daed5e5b610c912ca3cd41bb1c942
/python/EightTeV/GMSB_Lambda180_CTau10000_8TeV_pythia6_cff.py
71f458d3fd359a5f19e4169824815a29afdf3328
[]
no_license
amagitte/genproductions
a5ea90b74c025569b8088ca8c53459cc27e3a415
b081e07a1f7a3843a07ca56ef98706925233b0e1
refs/heads/master
2020-05-29T11:07:03.440946
2015-05-21T13:17:30
2015-05-21T13:17:30
36,014,150
0
0
null
2015-05-21T13:24:28
2015-05-21T13:24:28
null
UTF-8
Python
false
false
1,816
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythia6HepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0), pythia6PylistVerbosity = cms.untracked.int32(0), fi...
[ "dnash@cern.ch" ]
dnash@cern.ch
64870bd723301749859cd4d0d6225eb595790355
3dcf4fe1f47ff5682b9f033dc82e58cc223ce9b4
/features/steps/placeholder.py
8af196f8af6d0e73518af2f3f09e70f1c5dfd6ed
[ "MIT" ]
permissive
roeman/python-pptx
549e3e563acf527b7259795361f220c363458a3d
1052d94f4397730655c719d61cf858344f1da18d
refs/heads/master
2021-01-21T16:27:44.922761
2014-02-11T09:25:03
2014-02-11T09:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# encoding: utf-8 """ Gherkin step implementations for placeholder-related features. """ from __future__ import absolute_import from behave import given, when, then from hamcrest import assert_that, equal_to, is_ from pptx import Presentation from .helpers import saved_pptx_path, test_text # given ==============...
[ "scanny@cisco.com" ]
scanny@cisco.com
a80416871d4482e17a38e5f9de8b713ad6f9f2e2
6b82f8dee58795adacab6e090cfcc812cdafdbdd
/src/autovehicle_scripts/src/autovehicle_move.py
b80df8dafd5dd5272a0ef3bee58d350a817360c4
[]
no_license
AlexanderVieira/autovehicle
00b8bee757c6e4214a9db4f88d342e52c0221272
8c3b4f740cdbb451aecc09aea25e57b3a067c105
refs/heads/main
2023-04-04T13:23:29.692007
2021-04-01T05:29:47
2021-04-01T05:29:47
340,527,794
0
0
null
null
null
null
UTF-8
Python
false
false
17,969
py
#!/usr/bin/env python3 import rospy import tf import numpy import geometry_msgs.msg from geometry_msgs.msg import Twist from math import * from nav_msgs.msg import Odometry from std_msgs.msg import String import tf2_ros import copy LINEAR_VELOCITY_MINIMUM_THRESHOLD = 0.2 ANGULAR_VELOCITY_MINIMUM_THRESHOLD = 0.4 cla...
[ "alexander.silva@al.infnet.edu.br" ]
alexander.silva@al.infnet.edu.br
527a127d9ca3c34c0049745107072334589feedc
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/restore_to_existing_instance_request.py
eaeaf16d79bd59ce2328a16f998669aec7efff70
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,600
py
# coding: utf-8 import pprint import re import six class RestoreToExistingInstanceRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d3cc070bb3e6485c7ad08ccdbd9116c405ed25d9
55538c0680f270a007c64e51cf0ecd417b0929c2
/Dinosaur_bot.py
652448bc2b3d671c38a14bff4fa65f6fa041fbe4
[]
no_license
alankrit03/PROJECTS
62fff0a10ec5056ce8a907ca9bd7699f3fff1567
b0242c680f4be0efd7d78d21aea72ce38e7356e6
refs/heads/master
2021-05-18T17:01:07.543489
2020-04-11T16:34:51
2020-04-11T16:34:51
251,328,672
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 18 10:19:25 2019 @author: Alankrit Agarwal """ from PIL import ImageGrab,ImageOps import pyautogui import time from numpy import array class coOrdinates(): replay_button = (480,460) dinosuar = (189,439) def restartGame(): pyautogui.click(coOr...
[ "alankritagarwal9@gmail.com" ]
alankritagarwal9@gmail.com
266a16f03b660b672e82b8bea1f406c944d034fd
7c63a96fad4257f4959ffeba0868059fc96566fb
/py/m_lutz-programming_python-4_ed/code/ch_07/24-common_appearance_2/main.pyw
f3d0a30542bc7f07fcacfe426e4a921bf50a1d3f
[ "MIT" ]
permissive
ordinary-developer/education
b426148f5690f48e0ed4853adfc3740bd038b72c
526e5cf86f90eab68063bb7c75744226f2c54b8d
refs/heads/master
2023-08-31T14:42:37.237690
2023-08-30T18:15:18
2023-08-30T18:15:18
91,232,306
8
0
null
null
null
null
UTF-8
Python
false
false
698
pyw
from tkinter import * from user_preferences import bcolor, bfont, bsize class ThemedButton(Button): def __init__(self, parent = None, **configs): Button.__init__(self, parent, **configs) self.pack() self.config(bg = bcolor, font = (bfont, bsize)) def onSpam(): print('Spam') def on...
[ "merely.ordinary.developer@gmail.com" ]
merely.ordinary.developer@gmail.com
466ec891360a35814ebe15a57bbeee8f7f2adbbc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02726/s686642226.py
b305cc29a6765e5b6e23b79cc90a1b232f86414b
[]
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
416
py
import itertools import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N,X,Y = list(map(int , input().split())) combi = list(itertools.combinations(range(1,N+1),2)) ansList = [0 for _ in range(N)] for i,j in combi: kyori = min(j-i, abs(j-Y) + abs(X-i...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f4151d089fa928d1bb232c998e63f1317eb19335
d3ed9a2d85b2e18cda7c94c67a72a0b6747062d5
/blog_env/bin/easy_install3
9663734d83b0899f76667a24f96e6d26af533c55
[]
no_license
mrk24251/blogg
dce3cf1073b120bad4b510305379ea47f14fef56
533eae6ea922ecbcc518076abf06b9fb4c533ecc
refs/heads/master
2022-12-11T22:03:40.552450
2020-10-30T21:40:34
2020-10-30T21:40:34
238,296,805
1
0
null
2022-12-08T04:26:41
2020-02-04T20:13:41
JavaScript
UTF-8
Python
false
false
258
#!/home/mrk2/Desktop/blogg/blog_env/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mohammadreza.karami22@yahoo.com" ]
mohammadreza.karami22@yahoo.com
453c5be294b70396ec8c7f1b5601a359121582f9
63c8b9227a6b3178d918769042ecb060acc557be
/cwf/gateway/fabfile.py
331ddde55e0aab0eb396b96748426e32c4ecab5e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
snwfdhmp/magma
7c4898db68d2668fd39ed25f73bb9a2bc5959066
8b3ff20a2717337a83c8ef531fa773a851d2e54d
refs/heads/master
2020-12-06T09:06:25.806497
2020-01-07T18:27:09
2020-01-07T18:28:51
232,418,366
1
0
NOASSERTION
2020-01-07T21:12:28
2020-01-07T21:12:27
null
UTF-8
Python
true
false
7,077
py
""" Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. """ import sys from distutils.u...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1a87536b6ff79a033ee52fef26498ed28d0bd950
2820f09d142c00a9d6b24373f6c5ef502c4df75f
/Robot_Arm/gui/owirobot.py
92d18c07b41d054b7e17175849d7829273ee8d64
[]
no_license
IdeasGarage/code_club
53a08bb5c122ea69194fd2360e490b7fa2aa3d03
f638963b4bc0dd2c0d3473fb2c2a5bb3f7a3d185
refs/heads/master
2020-04-12T03:12:47.481116
2017-01-24T17:18:04
2017-01-24T17:18:04
43,813,443
2
0
null
null
null
null
UTF-8
Python
false
false
4,455
py
""" Copyright 2013 Steve Battle Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
[ "you@example.com" ]
you@example.com
09ae244ad99bc60aff2c70c0e43895b0cff2b546
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/AllenInstitute_dipde/dipde-master/dipde/internals/connection.py
fff691738825b6ce043b658098641e70501c748e
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
6,377
py
"""Module containing Connection class, connections between source and target populations.""" # Copyright 2013 Allen Institute # This file is part of dipde # dipde is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundatio...
[ "659338505@qq.com" ]
659338505@qq.com
e109d3f17f54fea2e3df2e88ee17f17aee45f02b
7c63130ae44e773a51fcd38c5dc3116f46daecd7
/error/Predicted_Results/test_sample4_4recom_model1.py
679e8bc3e9c879edd6252e6c0a279f51652e1b91
[]
no_license
GitHubdeWill/code_recom
a4e8e393592d210b0481f61a3cc89ea475c95153
954c334e4abb25aa96786c9efa8f8ca22bc286aa
refs/heads/master
2020-04-12T15:14:02.395548
2018-12-20T12:07:31
2018-12-20T12:07:31
162,574,531
0
1
null
2019-12-02T14:28:38
2018-12-20T12:07:00
Python
UTF-8
Python
false
false
13,213
py
start = [0,0] end = [7,7] taken = [ [1,0], [1,1], [1,2], [1,3] ] queue = [] queue.append([start[0],start[1],-1]) visited = [] maze = [] for i in range(8): maze.append(['.','.','.','.','.','.','.','.']) visited.append([0,0,0,0,0,0,0,0]) maze[start[0]][start[1]] = 'S' maze[end[0]][end[1]] = 'E' for i in taken: m...
[ "wtemp@cs.umass.edu" ]
wtemp@cs.umass.edu
1d281f4a7fba806ffa6a3d7a7354d1fbe7f9fd36
71d0a467e2c3c534456ec28f4634fb8efd13a145
/backend/users/migrations/0002_auto_20201018_0819.py
721547007279241c4f88e7bad632aad2c34a19eb
[]
no_license
crowdbotics-apps/demo-21662
4167ddd99751c3f9352e0cd8752177c4442ecd3f
e6a1de517cc1ae79d0fd58506e604f1ec2258307
refs/heads/master
2022-12-31T07:43:46.969806
2020-10-18T08:19:38
2020-10-18T08:19:38
305,053,867
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 2.2.16 on 2020-10-18 08:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='name', field=...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7a6d25498f7e955b9ca6d73293ef58f257f2ff44
1c72aa6d53c886d8fb8ae41a3e9b9c6c4dd9dc6f
/Semester 1/Week 6/test_module.py
bbc1c68bb40bb4cdfe43201388e9fc2e1ed27b9c
[]
no_license
codebubb/python_course
74761ce3189d67e3aff964c056aeab27d4e94d4a
4a6ed4a64e6a726d886add8364c65956d5053fc2
refs/heads/master
2021-01-11T03:06:50.519208
2016-07-29T10:47:12
2016-10-17T10:42:29
71,114,974
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import text_analysis str = "The quick brown fox jumped over the lazy dog" print "The string has a an average word length of", text_analysis.average_length(str.split()) print "The last word is ", text_analysis.last_word(str) print "The position in the alphabet of the first letter of the last word is", text_analysis.po...
[ "jpbubb82@gmail.com" ]
jpbubb82@gmail.com
71ad32d577c4f279a544b8619e23cd51ea7f8543
7c0348afd423d4f94d9a205e6aeb2bc9e3b3bc97
/lib/python3.7/site-packages/joblib/test/test_memory.py
fb83725a58c817aed264024fe8b69a19a19b132d
[]
permissive
manzars/Movie-Recommender-System
638b6523de0de8ccc1ac5bc1835316fd6e697fd1
d89a12ff6706bbe323f62531e5341b477e9b64b7
refs/heads/master
2020-04-24T16:41:19.733115
2019-05-07T09:33:48
2019-05-07T09:33:48
172,117,645
2
4
Apache-2.0
2019-02-25T11:24:42
2019-02-22T18:45:02
null
UTF-8
Python
false
false
39,966
py
""" Test the memory module. """ # Author: Gael Varoquaux <gael dot varoquaux at normalesup dot org> # Copyright (c) 2009 Gael Varoquaux # License: BSD Style, 3 clauses. import shutil import os import os.path import pickle import sys import time import datetime import pytest from joblib.memory import Memory from job...
[ "manzarshaikh69@gmail.com" ]
manzarshaikh69@gmail.com
c92417f537f0d13073d8166e8e78b658f05ed99b
a210132dd3e87772b4e1f3ef246ea8da4d8646e7
/cmdb1_demo1/cmdb1_demo1_app1/migrations/0030_auto_20190112_1339.py
5a0b6b06c4f85f641cf0c6107f747de923245c3d
[]
no_license
hongmalong/cmdb1
8574b21e81fb1833ec75d96fa771073ab9c360b3
8f2ba9afa549e24d9b406ff5b00a76dec31dd5ac
refs/heads/master
2021-07-01T14:29:31.278517
2019-04-18T05:04:54
2019-04-18T05:04:54
124,845,494
0
0
null
null
null
null
UTF-8
Python
false
false
4,148
py
# Generated by Django 2.0.3 on 2019-01-12 13:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmdb1_demo1_app1', '0029_auto_20190112_1337'), ] operations = [ migrations.CreateModel( name='EventTable', fields=[ ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3ed8f4ab078ac3c57086c22a5dd0db94514f07af
cea30aead7f0b529ee072c1bcab2896777e1408d
/PreprocessingCropsData/venv/Lib/site-packages/sklearn/datasets/_covtype.py
f705af97d2dfeb6b3a67a9d38481d1b500f0f750
[]
no_license
pgj9702/FarmSolution
3730ab3ca983b335ed48a60935c5fa6e3983cbb1
a8cacc45b8519e79b51ab65b9539a01f5006e64f
refs/heads/master
2023-03-30T15:41:10.312044
2021-03-31T08:47:23
2021-03-31T08:47:23
334,019,778
0
1
null
2021-02-22T09:32:57
2021-01-29T02:52:46
Python
UTF-8
Python
false
false
6,646
py
"""Forest covertype dataset. A classic dataset for classification benchmarks, featuring categorical and real-valued features. The dataset page is available from UCI Machine Learning Repository https://archive.ics.uci.edu/ml/datasets/Covertype Courtesy of Jock A. Blackard and Colorado State University. """ # Au...
[ "cao147147@naver.com" ]
cao147147@naver.com
3e57cd7b2ce4397e6d921fac46ff9af95062da80
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/ocaml/coq.py
9a02ca553f2d115228f920a99f746e35bcdf6ff9
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
from ..base import GnuRecipe class CoqRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(CoqRecipe, self).__init__(*args, **kwargs) self.sha256 = '6e3c3cf5c8e2b0b760dc52738e2e849f' \ '3a8c630869659ecc0cf41413fcee81df' self.name = 'coq' self.version ...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
001444d97273fc955bdf648d43cc6b89ce9194c9
3cd18a3e789d3a0739768f1ae848d9f74b9dbbe7
/mounth001/day24/text/file_write_2.py
57e6dfeb11a4a1e289915f4535f8acaa37be0ae6
[]
no_license
Molly-l/66
4bfe2f93e726d3cc059222c93a2bb3460b21ad78
fae24a968f590060522d30f1b278fcfcdab8b36f
refs/heads/master
2020-09-28T12:50:18.590794
2019-11-27T04:42:28
2019-11-27T04:42:28
226,782,243
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
'''(r文件不存在报错,w,a会新建)w清空重写,a追加''' f=open('w01.txt','ab') # f.write('111') bytes1='dfyt'.encode()#字符串转换二进制 f.write(bytes1) f.close()
[ "769358744@qq.com" ]
769358744@qq.com
a269f90cf7a7c85403e4d0201d5daf68e1d31eb9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2652/60705/266739.py
3f6d30e69a9b783eadfdca3eaeda2a8df1e79ad9
[]
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
843
py
[N, C, F] = list(map(int, input().split(" "))) print("N:" + str(N)) print("C:" + str(C)) print("F:" + str(F)) grades = {} prices = {} for students in range(0, C): [grade, price] = list(map(int, input().split(" "))) grades[students] = grade prices[students] = price print(grades) print(prices) li = sorted(gra...
[ "1069583789@qq.com" ]
1069583789@qq.com
bc4300f15098e0e87232005f0927580177ee0c50
8d3b5db62ec817a81d97d2bf741166da20fecffc
/tensorforce/core/policies/action_value.py
4b09436aff4b0089f8fc12aa9de65b535dfcc954
[ "Apache-2.0" ]
permissive
stheid/tensorforce
6ffe918054d1b298c0c4cf4de9a669d500c0983d
c4cce421be650d7500125b793b59aaeb92ffdf51
refs/heads/master
2022-11-23T19:15:39.336310
2020-06-11T16:04:08
2020-06-11T16:04:08
271,549,628
0
0
Apache-2.0
2020-06-11T16:04:09
2020-06-11T13:12:16
null
UTF-8
Python
false
false
5,112
py
# Copyright 2018 Tensorforce Team. 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 applicable la...
[ "alexkuhnle@t-online.de" ]
alexkuhnle@t-online.de
10ca4009d3fee037182f4df9155038fb40fe9114
93fc75b62e3fb6524f3891daf58772175fee781c
/沈书颖/2017310398-沈书颖-第五次作业-金工17-1/2017310398-沈书颖-第五次作业-金工17-1/10-6 10-7.py
4555a8454fea0638428be4e32b60903555d42d31
[]
no_license
jingong171/jingong-homework
13174a4a7b39b8ae6d5da103cbf0fb40766d59c1
542e8781f26676a62538714b92fb0bccdf41b47b
refs/heads/master
2020-03-29T13:38:34.152280
2018-12-17T14:38:08
2018-12-17T14:38:08
149,974,131
8
11
null
2018-10-08T14:40:58
2018-09-23T10:32:35
Python
UTF-8
Python
false
false
385
py
while True: number_a=input("请输入一个数字:") number_b=input("请再输入一个数字:") #提示用户输入两个数字 try: answer=int(number_a)+int(number_b) except ValueError: print("请输入数字!") #如果输入的不是数字,则给出提示 else: print(answer) #如果是数字就给出答案
[ "35986375+FrancisLau098@users.noreply.github.com" ]
35986375+FrancisLau098@users.noreply.github.com
33819073c9a333a74a0dd3cd161259efaae88da2
44e6e50a4d2e0095e055e59a6250b8ccf327f844
/morepath/converter.py
a87ca28927e2ff16e91ad410496591cae56631d0
[]
no_license
iapilgrim/morepath
14f8f4d457fa9e9a5a2342f659e03e962209f5a0
f173860661d00f2b3a684d2c512a1741d40cc26a
refs/heads/master
2020-12-26T03:44:35.396492
2014-02-13T08:31:40
2014-02-13T08:31:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
from reg.mapping import Map, ClassMapKey class Converter(object): """A converter that knows how to decode from string to object and back. Used for decoding/encoding URL parameters and path parameters. """ def __init__(self, decode, encode=None): """Create new converter. :param decode...
[ "faassen@startifact.com" ]
faassen@startifact.com
8b82b13b6a0ec3017b98b71e4834d9de191a7e53
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/python数据分析机器学习部分/机器学习/day04/score.py
03c4d24bda3a74f02be17657cf046736a6d8e985
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import numpy as np import sklearn.cluster as sc import sklearn.metrics as sm import matplotlib.pyplot as mp x = [] with open('../../data/perf.txt', 'r') as f: for line in f.readlines(): data = [float(substr) for substr in line.s...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
cfc990e4788553a5ae0cb0ae98b5d5f6046e27fa
0670d89e5d7b91d86b181e0b6cfdbef8b3b9e9e6
/p2/api/migrations/0001_initial.py
59146617b32f664e13e38f1dec9edb666ee6eefe
[ "MIT" ]
permissive
BeryJu/p2
dfe570afb420843033e519350f5b89e992878a6b
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
refs/heads/master
2020-12-04T01:21:21.197822
2019-08-29T16:02:21
2019-08-29T16:02:21
231,549,415
1
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
# Generated by Django 2.2 on 2019-05-03 17:56 import django.db.models.deletion from django.conf import settings from django.db import migrations, models import p2.api.models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MO...
[ "jens.langhammer@beryju.org" ]
jens.langhammer@beryju.org
87ed7b1213ff1c5ac14a3b8964f9b62568a734e3
350ade9361645f87d96589a0c90c76d8a951832b
/CP4/ICCP4_9.py
d2b59b71c9a9c7a4c57f25ad84303e7d47c670d7
[]
no_license
dongzeyuan/Practise
becf7c7ca15928213aa22ae15bd8b3f1f9b7dc8b
ecef4466d30c5c9e88e766b4f3df6db24959b9d3
refs/heads/master
2021-09-21T02:06:24.629708
2018-08-19T08:50:02
2018-08-19T08:50:02
119,028,934
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
# coding=UTF-8 for i in range(1,5): print('*'*7) print('\n') for i in range(1, 5): print('*'*(2*i-1)) print('\n')
[ "dongfujing88@gmail.com" ]
dongfujing88@gmail.com
b02551e689bd26380fb3d8e7424522b62aed0b35
e35eb92b5ab6547119585004b9eea3cafe948050
/efsw/conversion/tests/test_views.py
dd84ced35fd62ff5dd91a71f7d2cc9ee4053880a
[]
no_license
einsfr/mmkit
0a084db85b2cf5ba268e692676095d768733f387
f12bc2f83254a3123e02abdc105816cc04c438b5
refs/heads/master
2020-12-31T05:56:19.287611
2016-06-10T05:56:58
2016-06-10T05:56:58
29,473,203
0
0
null
null
null
null
UTF-8
Python
false
false
12,127
py
import os import math from django.test import TestCase from django.core import urlresolvers, paginator from mmkit.conf import settings from efsw.conversion import models from efsw.common.utils.testcases import LoginRequiredTestCase, JsonResponseTestCase from efsw.conversion.fixtures import conversionprofile, conversi...
[ "einsfr@users.noreply.github.com" ]
einsfr@users.noreply.github.com
5d3ce6d2880621f8511da0cf83c66ca2803270cd
0c85e44f3faee190bf7ec4893a287b60fa8afa93
/parse_questions.py
fbb10a0ff08dfc01707aa74a96455bedb5573d14
[ "MIT" ]
permissive
nthmost/rheti-python
8286124a9473413b7c840e45c6647174ae1b2aee
4c862f480e571bea7ec721f7a488e92e85839346
refs/heads/master
2020-12-30T12:55:46.613198
2017-05-16T19:22:13
2017-05-16T19:22:13
91,373,467
3
1
null
null
null
null
UTF-8
Python
false
false
101
py
from csv import DictReader dr = DictReader(open('questions.csv')) for item in dr: print(item)
[ "naomi@nthmost.com" ]
naomi@nthmost.com
63e7e972aa5a64516677fb0bba286c6a6bbfff36
eaa59c237e86432d8ae4366823a0b0dfa3d789d3
/bookwyrm/tests/models/test_fields.py
10c674d9979cd01533928b0a9cdf9c7cb87c483a
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
ahstro/bookwyrm
769b688eb1fcccd54f866a3d603d729100b5197b
e0d8e49d57d7c700a9d64559c7d8a14f7f08983e
refs/heads/main
2023-02-05T01:02:34.275970
2020-12-24T17:36:26
2020-12-24T17:36:26
324,860,126
0
0
NOASSERTION
2020-12-27T22:26:38
2020-12-27T22:26:37
null
UTF-8
Python
false
false
17,334
py
''' testing models ''' from io import BytesIO from collections import namedtuple from dataclasses import dataclass import json import pathlib import re from typing import List from unittest.mock import patch from PIL import Image import responses from django.core.exceptions import ValidationError from django.core.fil...
[ "mousereeve@riseup.net" ]
mousereeve@riseup.net
4c4723be440d412ac4176642f843b0e75a6b5236
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/virtual_networks_operations.py
9d1a9d853f168e10bc7ef04d431ed10bedfb5e5d
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
31,265
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
4b54bbdeef19d909ddd5bef71dfe0625ab46195f
9f930df50f28e6cbc74089057fb4418460a7f657
/regsoft/migrations/0001_initial.py
494f8a33ccdd12c1f25b1bc6e07ef0d7edadaeb4
[ "MIT" ]
permissive
xxyyzz/apogee-2016
2c57b3c48334e798cab560d6525567da9b2ede61
c55f6427bbe246060aacbeb831e1519fb051a1b1
refs/heads/master
2021-05-16T11:55:21.525340
2017-09-07T19:05:00
2017-09-07T19:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Bhavan', fields=[ ('id', models.AutoField(verbo...
[ "satwik55@gmail.com" ]
satwik55@gmail.com
e3e9ffd130063e0f3807af450237e3f23ff8ab2d
608ca6de9e2de70312dd3abc6fdf7d9aef326b53
/feder/institutions/migrations/0010_auto_20170808_0252.py
7c2c74204332edd5346dca93c2a0c7bf28d4b60d
[ "MIT" ]
permissive
watchdogpolska/feder
4d3f3a5de5d2d5d266bf34dea4969f583f9f1aa0
57cfde4aa8680c08758ee531d69a40b0f7f1d9d7
refs/heads/master
2023-08-18T04:52:45.284855
2023-08-16T10:54:03
2023-08-16T10:54:03
40,154,083
18
12
MIT
2023-08-22T11:35:15
2015-08-04T00:10:17
Python
UTF-8
Python
false
false
1,125
py
# Generated by Django 1.11.2 on 2017-08-08 02:52 from django.db import migrations, models import jsonfield.fields class Migration(migrations.Migration): dependencies = [("institutions", "0009_auto_20170708_2222")] operations = [ migrations.AddField( model_name="institution", ...
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
3bd9d220a3bff416185608e78413c0e27bdbfaf2
a382716034b91d86ac7c8a548a63d236d6da8032
/iaso/dhis2/api_logger.py
7347f082e7d6aac87c5f6449751f5d6ad37657dc
[ "MIT" ]
permissive
lpontis/iaso
336221335fe33ca9e07e40feb676f57bbdc749ca
4d3a9d3faa6b3ed3a2e08c728cc4f03e5a0bbcb6
refs/heads/main
2023-08-12T20:34:10.823260
2021-10-04T07:34:50
2021-10-04T07:34:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,627
py
from iaso.models.base import ExportLog from dhis2 import RequestException import json class ApiLogger: def __init__(self, api): self.api = api self.export_logs = [] def get(self, url, params=None): full_url = self.api.base_url + "/" + url try: response = self.api.g...
[ "tech@bluesquarehub.com" ]
tech@bluesquarehub.com
ec98c3f0072afc3854407df67e70813898de5049
baad457b1859f218314631c2bf10e28ab34aa0a5
/chapter02.py
d3f57722b9729416a00f466431e597015e6902aa
[]
no_license
hankehly/data-structures-and-algorithms-in-python
d856ae6049639d3f713556e7aee91cb51443f99b
26d2ad4852c103e5c96138de6957fa092a6b81aa
refs/heads/master
2023-02-19T13:38:52.986727
2021-01-25T00:51:19
2021-01-25T00:51:19
325,148,738
0
0
null
null
null
null
UTF-8
Python
false
false
5,526
py
def R_2_01(): """ 3 examples of life-critical software applications are 1. remote surgery software that moves robotic arms 2. automated rocket ignition and trajectory adjustment software in space flight 3. pacemakers """ pass def R_2_02(): """ An example of a software applica...
[ "henry.ehly@gmail.com" ]
henry.ehly@gmail.com
5d45c573744b34fc2473e7e50c09225740106a27
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/77e550192cdbc1e734f5ebfcd347539d9300559b-<main>-fix.py
b577d86ced2688cfc84b23b2c720d617725534ed
[]
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
2,507
py
def main(): module = AnsibleModule(argument_spec=dict(command=dict(default='install', type='str', required=False), arguments=dict(default='', type='str', required=False), working_dir=dict(type='path', aliases=['working-dir']), global_command=dict(default=False, type='bool', aliases=['global-command']), prefer_sourc...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
33b19de4abb9ea442bd9f7425e292d2f94d9f282
9f13c7be7e88d2486076db0b89a215ab900fea1a
/main/apps/studies/views.py
ce8693e21a63aa02a78dfaa0cd887984bc351d4d
[]
no_license
truhlik/reimpay
534664d2e506f39ec6b0edea471e7cfbad179c3b
ac8291dc8a0ac543283ee10aecd32deba24a1641
refs/heads/main
2023-08-10T16:45:55.283272
2021-10-06T19:00:15
2021-10-06T19:00:15
414,333,776
0
0
null
null
null
null
UTF-8
Python
false
false
14,349
py
from django.utils.decorators import method_decorator from django.views.generic.detail import SingleObjectMixin from rest_framework import viewsets, mixins from rest_framework.decorators import action from rest_framework.exceptions import ValidationError from rest_framework.response import Response from main.apps.core....
[ "lubos@endevel.cz" ]
lubos@endevel.cz
f8c0c13aa9f2fb23aa4164a1148faad3a90c1454
0bf93a74ce5676e978f3ee79a98a1be90b0e20a5
/nagios/check_metar_station.py
7ccf2c55c95b5dbf22239356bc0d162e432bc650
[ "MIT" ]
permissive
claudemp/iem
3c926361c55fde3265157e15bc5119d64dbf2418
557deb8c46342aa9a18ac56cba59345c072cf225
refs/heads/master
2021-04-06T13:39:08.352676
2018-03-12T20:58:14
2018-03-12T20:58:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
"""Ensure that a station is getting ingested properly python check_metar_station.py <network> <id> <minute_of_synop> """ from __future__ import print_function import sys import datetime from pyiem.util import get_dbconn def check(network, station, minute): """Do the check""" # Do IEMaccess res = {'r...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
ee9d6a11a76b3a0bd9f2a0d0e67a2943b1c885b2
6e038efd962e034aaffc38688c949261b2319818
/venv/lib/python3.7/ntpath.py
50dcef194d6176fb51ed00dcdd16316ca39d1ca4
[]
no_license
aliensmart/Django_message_board
88bc4ebbaf840440d39a5f099590bd78ef392c73
f6ae0be4be9c44fd6262e53221cbfbc94e74a402
refs/heads/master
2022-12-29T04:07:42.985630
2020-10-14T04:59:37
2020-10-14T04:59:37
303,907,544
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
/home/alienmoore/anaconda3/lib/python3.7/ntpath.py
[ "kaoua17@gmail.com" ]
kaoua17@gmail.com
77e3caad1c173557813c2f8d8ea67470f4576f4e
2553e81ac1927f9e3e4a18da60d6e9b9cc23affc
/Script2.py
cf98933e6342ec6fd17b8bf958969ac44e45f7e8
[]
no_license
Sapphirine/ISP-Dataset
50bbc545c7c62cc39cefc25ed9c53f356e7efd53
c93190d182b56a3c3c574105d4aff0faefc1f065
refs/heads/master
2021-08-31T16:41:33.235009
2017-12-22T03:47:21
2017-12-22T03:47:21
115,070,348
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
%matplotlib inline import numpy as np import pandas as pd import matplotlib.pyplot as plt import re plt.style.use('ggplot') chosen_indicators = ['IE.PPI.TELE.CD', 'IT.CEL.SETS', 'SIT.CEL.SETS.p2', 'IT.NET.USER.ZS', \ 'IT.NET.BBND', 'IT.NET.BBND.p2' ] df_s = df[df['IndicatorCode'].isin(c...
[ "noreply@github.com" ]
Sapphirine.noreply@github.com
1eb57e1d2984843d70cbb76c61433b9f643de98e
72cce39540db76c1915192470ca83a724aed2186
/error_reporting/google/cloud/errorreporting_v1beta1/gapic/error_group_service_client.py
d82d1d1a6a0be9e49291008de03fc2991ec2e802
[ "Apache-2.0" ]
permissive
cclauss/google-cloud-python
5b7731c5f4f1d545af6906f86d848be18d6d4dfc
90f3d0b5304fd8aef9cedc35d9323d257b5a36fb
refs/heads/master
2020-03-27T14:04:35.677857
2018-08-29T17:07:42
2018-08-29T17:07:42
146,642,760
0
0
Apache-2.0
2018-08-29T18:36:12
2018-08-29T18:36:11
null
UTF-8
Python
false
false
10,258
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
cclauss.noreply@github.com
83e68fc46fb7aa2a009ca2fa890446accaf1b950
55a6a35f7720089f8c7dcc083e3600cfbca0e6a2
/setup.py
3f401546aefe0ab2c9692fd02547d4ec9866e8f6
[ "MIT" ]
permissive
SirMathhman/context_menu
8d878aa94c23f225b37e6f89e00cd31cec62d65f
bb619d06e15798de8ceb0ddd252d7ae26a492947
refs/heads/master
2022-09-04T01:03:28.354901
2020-05-31T17:11:01
2020-05-31T17:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
import pathlib import setuptools # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "README.md").read_text() # This call to setup() does all the work setuptools.setup( name="context_menu", version="1.0.0", description="Library to creat...
[ "salvadoraleguas@gmail.com" ]
salvadoraleguas@gmail.com
37ee79c2c93d9f8ed6baae1d8a818870133f718d
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/test/test_nhl_stats_standing.py
33a21fdb377d2716a2c8b6e6677a31bbaea3972a
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
973
py
# coding: utf-8 """ NHL v3 Stats No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unit...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
6ea1daf688c5dea9387fb2ba10c5fbdfb8ce9008
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC2102.py
96caeab00be7aac3bbb16672f84d220d9143ee46
[ "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
4,224
py
# qubit number=4 # total number=33 import cirq import qiskit from qiskit import IBMQ from qiskit.providers.ibmq import least_busy from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from ma...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
4fa76e84426de96dcf88970cf3e131fedae3b972
a0d8e69fb80c5bcf7bdfd2c599f83fe71b04f48f
/lab4/mysite/settings.py
28d0892856efc88363d768d3008dc78678b2ecaa
[]
no_license
DawidPawlowski123/aplikacje-internetowe-Dawid-Pawlowski-185ic
abb0d177ee5919294ee76af651c1c615053b1347
5e40ed6f0ff7615405d7ec38a649a2bd7baaff97
refs/heads/main
2023-02-25T08:39:28.672531
2021-01-29T14:43:00
2021-01-29T14:43:00
312,213,734
0
0
null
null
null
null
UTF-8
Python
false
false
3,824
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "dawidpawlowski98@wp.pl" ]
dawidpawlowski98@wp.pl
d59bbb75712262a49cc6527e34bb5d872fe48b59
712085c99797a14c2c5cff0e46a3de33b307d5dd
/eveuniverse/management/commands/eveuniverse_purge_data.py
b312e93dcd044b42f0c88a8e0a6ce4b1ff6c30df
[ "MIT" ]
permissive
staropera/django-eveuniverse
eeb86a8086fb83e853d0ae5562a97d6969a48039
4dd875238d475c5dd0355283b6257e3bcbad2d8b
refs/heads/master
2023-07-05T05:53:11.295782
2021-07-03T13:21:31
2021-07-03T13:21:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,644
py
import logging from django.core.management.base import BaseCommand from django.db import transaction from ... import __title__ from ...models import EveUniverseBaseModel from ...utils import LoggerAddTag from . import get_input logger = LoggerAddTag(logging.getLogger(__name__), __title__) class Command(BaseCommand...
[ "erik.kalkoken@gmail.com" ]
erik.kalkoken@gmail.com
7556a5b4a26081f1b04ac88b64486ede82e59291
01175abc7d44d788a322ad2c6cdc7ea5daee4165
/vistrails_current/vistrails/db/versions/v1_0_2/translate/v1_0_3.py
d4d7a8c2953be830c8a9c81ded135ef7eec8b753
[ "BSD-3-Clause" ]
permissive
lumig242/VisTrailsRecommendation
917c53fbd940b3075e629d15ed41725c01db6ce3
23ef56ec24b85c82416e1437a08381635328abe5
refs/heads/master
2020-04-11T01:20:50.193303
2016-01-20T23:30:10
2016-01-20T23:30:10
50,065,923
3
0
null
2016-01-20T22:49:17
2016-01-20T22:49:17
null
UTF-8
Python
false
false
9,080
py
############################################################################### ## ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## "Redistribution and use in source and binary for...
[ "you@example.com" ]
you@example.com
e4ba4b294ec8c74cad7bd39a9a780e9bb14e7b7b
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/unsupervised analysis/NMorphCH/pcatv_NMoprhCH_scz.py
f1f9355da4350f7f69e3cf1ebc2aaae8b3e4eec8
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
14,058
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Feb 27 18:11:55 2017 @author: ad247405 """ import os import json import time import shutil from itertools import product from collections import OrderedDict import numpy as np import scipy import pandas as pd import sklearn.decomposition from sklearn.c...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
41a5fb2910a6e40b7bd1be04cfbbdb0ef8e86f82
50f6ddd45ae2811ae4580ceb4a5617106145769f
/player461.py
5fbfcb44c5bea39949159c1ff65d614cf4d54fcb
[]
no_license
MohammedFerozHussain/guvi1
432f89701b8d0d6e75229dbd199e362a42e2df53
cd4ae6c903bd5de883234d076aec770e2c8bcd41
refs/heads/master
2020-04-15T05:10:19.398719
2019-08-17T18:16:39
2019-08-17T18:16:39
164,411,569
0
1
null
null
null
null
UTF-8
Python
false
false
131
py
import math A=int(input()) c=math.radians(A) x=math.sin(c) c1=(round(x,1)) k=abs(c1) if k<1 : print(c1) else: print(round(c1))
[ "noreply@github.com" ]
MohammedFerozHussain.noreply@github.com
4108e3aeb18c96e6d9ded60bf08972664cb1c6bc
941cbcc815da9927c16291fd0cf341fdf26d4b4b
/Testing/Selenium/200518_First_demo.py
c33183c4fbe3ba07578a79c3b87637358574efb9
[]
no_license
narru888/PythonWork-py37-
27de004157efdf42972f66b20872e17de8bc676c
f9cb1670fb84b9eb8aaaf7cd5cf9139ab4ef4053
refs/heads/master
2022-12-09T04:58:06.068302
2020-09-23T09:47:40
2020-09-23T09:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,787
py
from selenium import webdriver # 啟動瀏覽器驅動和瀏覽器,返回的是WebDriver對象 # 參數為chrome驅動的路徑 wd = webdriver.Chrome(r'd:\Programming\WorkPlace\PythonWork(py37)\Testing\Selenium\chromedriver\chromedriver.exe') # 跳轉頁面 wd.get(url='https://www.google.com.tw/') # 因為有可能會遇到一種情況,就是web server尚未向我們(用戶)的瀏覽器返回頁面時,我們的程序繼續運行下一行代碼,導致找不到要的Element。...
[ "as124122323@gmail.com" ]
as124122323@gmail.com
5f3faf4c4562e9b0e64d315ddcd5eee864cc3b85
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 10 - Epressões Lambdas e Funções Integradas/any_all.py
e496ebcb6cf885ddd9c9be5e515223aa5b9bd253
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
""" Any e All all() -> Retorna True se todos os elementos do iterável são verdadeiros ou ainda se o iterável está vazio. # Exemplo all() print(all([0, 1, 2, 3, 4])) # Todos os números são verdadeiros? False print(all([1, 2, 3, 4])) # Todos os números são verdadeiros? True print(all([])) # Todos os números são ...
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com