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
0df87538cedcba052babac4cc05026bbc66ace39
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE404/HW7/BitVector-3.3.2/hw07.py~
08ef38ad32ad7f2b2fafb604f998643df82f26a1
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,924
#!/usr/bin/python import sys sys.path.append( "/home/shay/a/kalita/ece404/HW4/BitVector-3.3.2" ) from BitVector import * import string import math if len(sys.argv) != 2: sys.stderr.write("Usage: hw07.py <name of input file.>\n") sys.exit(1) def sig1(x): x1 = x.deep_copy() x8 = x.deep_copy() x7 = x....
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
964e42c543eab01bedbbcc49dba8225a9f199bd4
82eaaf696c8062664a1fb1b0d996ca6ee10c9930
/learn_algoritms_bot/tasks.py
b3d96042822696d1f3208b090ab7af1fb9b1d839
[]
no_license
AktanKasymaliev/django-tgbot-algoritms
deba72dd502b529ad50e81436116f893fabd46bd
b0ca186c95c7f70d68f814831b474fbc940ddedc
refs/heads/main
2023-07-16T08:33:45.275389
2021-09-07T14:43:32
2021-09-07T14:43:32
392,641,157
0
0
null
2021-09-07T14:39:28
2021-08-04T10:11:57
Python
UTF-8
Python
false
false
847
py
import json from typing import Text import requests from celery import shared_task from datetime import datetime from memo.models import Review, TaskToMemorize from config.settings import MESSAGES_TO_SEND from learn_algoritms_bot.credentials import API_URL from .bot import bot from .processors import inline_kb @shar...
[ "aktan.kasymaliev@icloud.com" ]
aktan.kasymaliev@icloud.com
3fdb7b83e7e147729adbd374b35acf929fdf7312
2ca3cbbcb55512712d25a72e9f475e24e6bf7de6
/shop/models.py
d0a4c2ff35f4e4cf7acb97ae7801d19a61fbcac9
[ "MIT" ]
permissive
MahmudulHassan5809/Full-Featured-OnlineShop-APP-Django
25c9f0b4a062f3079c232e6474dcf9d3ac4d9d5a
5e61c0863e4f5444cd3905c6673a82164cfcf8ed
refs/heads/master
2020-04-24T16:50:10.975867
2019-02-22T19:32:54
2019-02-22T19:32:54
172,123,604
0
2
null
null
null
null
UTF-8
Python
false
false
1,211
py
from django.db import models from django.urls import reverse # Create your models here. class Category(models.Model): name = models.CharField( max_length=200,db_index=True) slug = models.SlugField(max_length=200,unique=True) class Meta: ordering = ('name',) verbose_name='category' verbose_name_plural = 'cate...
[ "mahmudul.hassan240@gmail.com" ]
mahmudul.hassan240@gmail.com
0e8ea36e9d83abae209a76aad4664bd25f907e85
6fe5fae54af9cee2e9de356dd149b7cfe1ca112a
/examples/handler/publisher_methods.py
95a2946ed58161ab59d06aa44f4eabdae8b8e514
[]
no_license
GrahamDumpleton-abandoned/vampire
181b03a53b62f3f53bdf83fb3d4305ef146d3526
bdcb2d25105ca95fcbda1afa16c4d9d681c664f6
refs/heads/master
2021-01-05T11:26:25.908716
2010-07-11T21:24:07
2010-07-11T21:24:07
241,008,577
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
import vampire class _Object: def __init__(self): self.value1 = "value1" def method1(self): return "method1()" def method2(self,req): req.content_type = "text/plain" req.send_http_header() req.write("method2()") def __call__(self): return "__call__()" _object = _Object() handler =...
[ "devnull@localhost" ]
devnull@localhost
1bb6eec0267d0fb1104cbbd549ad9a517888b73c
8b447a1bcb0be9da082b477d1692bbda73ab083b
/book/source/conf.py
bae0fb3295e06462c571748014c4b1b4fdce4aab
[]
no_license
konradzdeb/osbook
fdc4edb0fcd64e5b6c5c0060bd792f6122a24711
f7ecb0158b37d7c4ad64e324837c5e6d420dc82d
refs/heads/master
2023-03-15T23:28:52.103756
2015-07-26T02:38:32
2015-07-26T02:38:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,564
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Operating Systems Development documentation build configuration file, created by # sphinx-quickstart on Thu Jul 16 10:24:20 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values ar...
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
5c46ae87923edd36e9deb11afe900c0d3a15f9a8
0cf269af0e6f8266c26b3bc68e57368e8c3d9edb
/src/outpost/django/thesis/migrations/0001_initial.py
bb88e41ce878cefdc9727f8b42ba4e4535ce03f2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
medunigraz/outpost.django.thesis
c1518aa516d2177b0cacf381432bcdde41f2b5e1
1f0dbaa6edb6d91216d9bd97c79ee8b3bbc153cc
refs/heads/master
2021-09-25T16:47:59.469921
2020-08-04T19:16:07
2020-08-04T19:16:07
184,580,281
0
0
null
null
null
null
UTF-8
Python
false
false
5,664
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-06 12:33 from __future__ import unicode_literals from django.db import migrations from django.conf import settings class Migration(migrations.Migration): forward = [ """ CREATE SCHEMA IF NOT EXISTS thesis; """, """ ...
[ "michael@fladi.at" ]
michael@fladi.at
36c7c339ab0ec0a089e0fbee72d89c2f222df335
91b051b7a8d837033761cc10d69a6e47c64fd600
/ptah/manage/tests/test_layout.py
65ea5e26b4589054c7f172d7b69739e7b606320f
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
blaflamme/ptah
f315c9f0de9b6fc56904589fe701435b971f6a51
32497151e0556b84d47a146499dfe1bcb0ab02db
refs/heads/master
2021-01-18T12:15:02.895925
2011-11-02T03:00:30
2011-11-02T03:00:30
2,692,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
import ptah from pyramid.testing import DummyRequest from pyramid.httpexceptions import HTTPNotFound from base import Base class TestLayoutPreview(Base): def setUp(self): self._setup_pyramid() def test_layout_preview_notfound(self): from ptah.manage.layout import LayoutPreview requ...
[ "fafhrd91@gmail.com" ]
fafhrd91@gmail.com
9ca75b651e55eb9dc3763816382db096f7eab4a6
79cd7118917561ab5b8d25f04143e0975578b74f
/tests/test_data_utils/test_du_image.py
387f552c417d1360f3e99b9614300a118adee00e
[ "Apache-2.0", "MIT" ]
permissive
jrzaurin/pytorch-widedeep
aac80263ba8e94d36b41fb1f47181a66471d7594
74f1ab6feb2e231fdb8c10478638d9e8d5cf3a47
refs/heads/master
2023-09-06T06:41:41.800801
2023-09-04T15:32:38
2023-09-04T15:32:38
107,763,164
1,036
124
Apache-2.0
2023-09-04T15:32:39
2017-10-21T08:11:44
Python
UTF-8
Python
false
false
2,216
py
import os import cv2 import numpy as np import pandas as pd import pytest from sklearn.exceptions import NotFittedError from pytorch_widedeep.utils import SimplePreprocessor, AspectAwarePreprocessor from pytorch_widedeep.preprocessing import ImagePreprocessor full_path = os.path.realpath(__file__) path = os.path.spl...
[ "jrzaurin@gmail.com" ]
jrzaurin@gmail.com
957f52da8530dd8743fedd357bd9062d592333df
e76c8b127ae58c5d3b5d22c069719a0343ea8302
/recurrent_neural_network_example_test.py
ae2eadd34067742d918bd0c2ef77091e6f90a836
[]
no_license
janFrancoo/TensorFlow-Tutorials
18f3479fc647db3cbdb9fb9d5c0b9a67be804642
b34dbf903d2f5ff7bde6fb279fef6d7e2004a3bf
refs/heads/master
2020-07-23T02:01:14.940932
2019-10-26T08:41:23
2019-10-26T08:41:23
207,410,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
import numpy as np import pandas as pd import tensorflow as tf import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler data = pd.read_csv('monthly-milk-production-pounds.csv', index_col='Month') data.index = pd.to_datetime(data.index) train_data = data.head(156) test_data = data.tail(12) scl = M...
[ "noreply@github.com" ]
janFrancoo.noreply@github.com
760377de1c00cce09b89873815e6ba6c2b1c9f85
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python-flask/generated/openapi_server/models/org_apache_sling_commons_html_internal_tagsoup_html_parser_info.py
7a8c2cbec50ffbacf19406eecff2df26698b7b22
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
5,250
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server.models.org_apache_sling_commons_html_internal_tagsoup_html_parser_properties import OrgApacheSli...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
3d7d99d7b28fdf2c2f155cd6b1adf1cc371cc147
f9a3feb980a975799ff83a38642f3b9ed55709e9
/lecon_sept/lucky_ticket.py
491c8aaa919a4e9a36dfb1e93d91d68415c95cf6
[]
no_license
citroen8897/Python_basic_hw
b06c0239457041f9fa84ad985cf7cd76ceb8b674
6d5efff5a22e661bbe28ce2eaa22cdb04eb2396c
refs/heads/main
2023-03-07T02:07:16.754087
2021-01-31T11:11:32
2021-01-31T11:11:32
325,802,236
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
def is_lucky(ticket_num): # Вариант 1 (9 строк) # list_1 = [int(i) for i in str(ticket_num)] # n = m = 0 # for a in range(len(list_1) // 2): # n += list_1.pop(0) # m += list_1.pop(-1) # if n == m: # return True # else: # return False # Вариант 2 (7 строк) ...
[ "citroen8897@gmail.com" ]
citroen8897@gmail.com
59056b756c2dd7c2243d4b8c9c2e194661f304dc
ee21f2d1914c8d9a2aecd74d51d60a7bc18b50b6
/sdk/lusid/models/cut_local_time.py
6a938c2a4e7a71231418cdef1383fe8fa8e387da
[ "MIT" ]
permissive
benjamintn/lusid-sdk-python
409cb7273b588e687bdb51ac3b3040a8d90c0838
9c68537e0fa1ec850046ea14aaa1163b4dbcd437
refs/heads/master
2020-07-18T01:57:58.712219
2019-09-03T12:11:50
2019-09-03T12:11:50
206,112,579
0
0
null
2019-09-03T15:38:27
2019-09-03T15:38:27
null
UTF-8
Python
false
false
27,113
py
# coding: utf-8 """ LUSID API # Introduction This page documents the [LUSID APIs](https://api.lusid.com/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.c...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
e39279c08865189e99d2a1247b82c0a2160ad414
1228cfbe329506440b31828656b86b03dbfbf0a5
/example/usermanagement/serve_aiohttp_marshmallow.py
f6e9802d4e02fad3a01a4d8a96a8a4207b0e3aa9
[ "MIT" ]
permissive
algoo/hapic
9a43943309f70492465c44fc5b5688ed9ac45507
e44ebce630b1681dfd8b76a2eb8ddafd03d0481f
refs/heads/develop
2023-04-02T23:46:09.658919
2023-03-21T10:38:27
2023-03-21T10:38:27
106,427,356
20
7
MIT
2022-08-31T12:33:33
2017-10-10T14:20:44
Python
UTF-8
Python
false
false
5,560
py
# -*- coding: utf-8 -*- from datetime import datetime import json import time from aiohttp import web from aiohttp.web_request import Request from example.usermanagement.schema_marshmallow import AboutSchema from example.usermanagement.schema_marshmallow import NoContentSchema from example.usermanagement.schema_mars...
[ "guenael.muller@algoo.fr" ]
guenael.muller@algoo.fr
f31dbbb77006f888b40c5ceff9c1f9b2852835fb
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merra882/670-tideGauge.py
9a39418ebd8625507322296b656d969638c1cf8f
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,041
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a multiple linear regression model by using the KFOLD method @author: Michael Tadesse """ import os import numpy as np import pandas as pd from sklearn import metrics from scipy import stats from datetime import date...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
11dadbb6ebe13eff66c22ccf647ec424b29ce13a
17b7f61b9b3596147d60d3e261cfeceeb207788d
/current/old python docs/my_script1.py
29e4e9c4597375177430078645d0b99f060d6be7
[]
no_license
capybaralet/current
9db25b0bfd99cee83c8374c159db8cdff611787d
db6c0871665cbb886f07646062ecebfd29227681
refs/heads/master
2016-09-06T08:14:35.921635
2013-06-07T23:39:27
2013-06-07T23:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
# This is a script to train Denoising Autoenconders with a range of hyper-parameters # on patch-pair data extracted from images, save the trained models, and plot example # input/reconstruction pairs. # # Currently, we are using CIFAR-10 for the datset, but we will change this to using face data. # # This script will...
[ "davidscottkrueger@gmail.com" ]
davidscottkrueger@gmail.com
384df48bd013e95ef58f8b48ab77a0d64890f2e1
a54d5a5ae5ba352963f1166a29e1bb6c867157ab
/python/inclusive_list_ranges.py
31780bce3833aa40345d454a28b5eac2d34fb5fc
[]
no_license
alephist/edabit-coding-challenges
06f573e90ffbd13bc54ecbdaa8e6a225aa44f5d8
35f1fc84848fc44e184aae1ae231a36319c1c81e
refs/heads/main
2023-07-30T22:39:37.468756
2021-09-18T07:47:02
2021-09-18T07:47:02
341,467,751
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" Inclusive List Ranges Write a function that, given the start start_num and end end_num values, return a list containing all the numbers inclusive to that range. https://edabit.com/challenge/bHTb8p5nybCrjFPze """ from typing import List def inclusive_list(start_num: int, end_num: int) -> List[int]: return li...
[ "justin.necesito@gmail.com" ]
justin.necesito@gmail.com
6e374ee85ea5a9e66cbc6d2e1a7f9606484b8690
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/healthbot/azure-mgmt-healthbot/generated_samples/list_bots_by_subscription.py
73f13fe5b2c44b0d7834a219dedc5296ffeb25e8
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,475
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 ...
[ "noreply@github.com" ]
Azure.noreply@github.com
ba97db04f1fc806fbedc17d7e548c83fc5a26a81
a262151ecb151b4c8335354c972fb166b81f4635
/sdk/automation/azure-mgmt-automation/azure/mgmt/automation/operations/_agent_registration_information_operations.py
5f66219dc6b3fad92989b9492cd6ff38520d100f
[ "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
fenwickt/azure-sdk-for-python
5fc8f3383caa4e5e7a61f5b497a73635c4377935
0d1f644925d2472c72b195588508bd0efc4baf0c
refs/heads/master
2023-03-31T08:02:37.322485
2021-03-29T07:48:41
2021-03-29T07:48:41
319,299,226
0
0
MIT
2020-12-07T11:31:48
2020-12-07T11:31:48
null
UTF-8
Python
false
false
8,703
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 ...
[ "noreply@github.com" ]
fenwickt.noreply@github.com
3d9269b7c591dd97c8207da0944f45065e362e1e
fde19434cdbdcc0a102128ce84e201e0f97a2b60
/bcbio/variation/validate.py
aa7e1fc4d7ffd9594a52c6bc5f2146e6e6297545
[ "MIT" ]
permissive
dbolser-ebi/bcbio-nextgen
af5432d23b2a8b2a13afe26244b5864f47ebe832
88bc6360245bc28247d0e5797dbba0b72314159c
refs/heads/master
2021-01-12T21:04:31.245853
2016-05-12T18:35:04
2016-05-12T18:35:04
58,717,877
0
0
null
2016-05-13T08:27:46
2016-05-13T08:27:46
null
UTF-8
Python
false
false
27,074
py
"""Perform validation of final calls against known reference materials. Automates the process of checking pipeline results against known valid calls to identify discordant variants. This provides a baseline for ensuring the validity of pipeline updates and algorithm changes. """ import collections import contextlib im...
[ "chapmanb@50mail.com" ]
chapmanb@50mail.com
bb8bb4ef9f59636bdfb07d18aa038abc80b04bcf
9d496fa3b3d94002a804cb7f64b04c9adf7673a7
/bin/pyreverse
e57badca62b9245818badacf0c36d7cb48454f4f
[]
no_license
stephenlofgren/WemosController
6e373c654dfb767cbc02d31a94e70d963c42ed66
9bc78f13db848e3d999ed6d2d965b11d993223c2
refs/heads/master
2021-01-13T10:35:23.331502
2017-08-15T00:37:14
2017-08-15T00:37:14
76,656,366
0
0
null
2016-12-29T02:05:38
2016-12-16T13:37:05
Python
UTF-8
Python
false
false
256
#!/home/stephen/git/WemosController/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "stephenlofgren@hotmail.com" ]
stephenlofgren@hotmail.com
3c63a1c2ecab8e96bea98e5cde9b5eced6c70f38
ce1a39a14864a00ae836fee7d82715d7077f6c3c
/test_of_the_EA.py
66375f817b6870c14f8bd944bbe3ae678eec9ffe
[]
no_license
RuojiWang/Kaggle_Titanic
031c82afa0cad825bbf5225d3b3b3f33eb9e8c27
3473adae7a1ced2a7aa4d4efb539c78b2ac0d6d3
refs/heads/master
2021-06-27T14:41:33.900233
2020-11-18T13:27:55
2020-11-18T13:27:55
148,452,628
0
0
null
null
null
null
UTF-8
Python
false
false
14,082
py
#coding=utf-8 import sys import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import time import random import numpy as np import pandas as pd import seaborn as sns from datetime import datetime import matplotlib.pyplot as plt from sklearn import svm f...
[ "noreply@github.com" ]
RuojiWang.noreply@github.com
e3d839bbab830316785594870929e332fd7119d3
ecf9902d67a65563bf5014d3d2693fc44b610fb8
/P933-CousinsInBinaryTree.py
a541fcfd961f1d27456de8b478dfc3a17fe80f3a
[]
no_license
hkmamike/leetcode
18956c0ecefe9c315d45b67d9a12625ea342cc00
cb4fa5ce108e4f4cedec4a3c28d3bb2f980e3831
refs/heads/master
2021-06-13T16:36:21.732382
2019-09-15T19:26:37
2019-09-15T19:26:37
133,134,853
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isCousins(self, root: 'TreeNode', x: 'int', y: 'int') -> 'bool': self.parents = [] def dfs(node, x, y, depth...
[ "mikebrianleung@gmail.com" ]
mikebrianleung@gmail.com
3421506b66a93eee0e69118571f5da50b9d65717
f54b7fa675df8d0e30c447d7212f7116f16b7e42
/Kattis/isItHalloweenCom.py
7be692c205a781ae62c6097db7541256bebb0d09
[]
no_license
ManuLam/Competition
eccee2c3432d46e1e3d028f6ebc04285d396c85a
a01ea254243b4799bd8c44cd94c95e74786415af
refs/heads/master
2023-06-27T16:56:58.845783
2021-08-01T10:26:04
2021-08-01T10:26:04
76,399,429
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
print("yup" if(input() in ["OCT 31", "DEC 25"]) else "nope")
[ "noreply@github.com" ]
ManuLam.noreply@github.com
b057db67015217b25dd8645e182936235724a9e3
bde8e24b07bb3a403fa40a3c2aabe3f8d4466272
/question90-99/question93.py
543a93cb4f0f4f0ea40c25df59b3374c6288297c
[]
no_license
refine-P/NLP100Knock
fda6680b6d72faae9d8805829fa7d9cb9ab379d6
ed29a3a3d80820ef074247f79253c7ef97500b55
refs/heads/master
2021-07-06T15:55:29.512827
2019-04-07T16:37:34
2019-04-07T16:37:34
179,993,250
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#coding:utf-8 from sklearn.metrics import accuracy_score if __name__ == "__main__": y_true = [] y_pred = [] with open("analogy_result_family.txt", encoding='utf-8') as f: for line in f: result = line.split() y_true.append(result[3]) y_pred.append(result[4]) print(accuracy_score(y_true, y_pred))
[ "32488002+refine-P@users.noreply.github.com" ]
32488002+refine-P@users.noreply.github.com
faf38633cc24dcc092f864a90e33f3008f146f69
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/storage/azure-mgmt-storagecache/azure/mgmt/storagecache/aio/_vendor.py
ad73b146350a613776fde037e3409271cdad749b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,084
py
# -------------------------------------------------------------------------- # 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 cause incorrect...
[ "noreply@github.com" ]
Azure.noreply@github.com
bf5ae4848091b42af71e0c4598d072c864f3f7ff
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/Tests/DigitizationTests/python/DigitizationTestsConfigDb.py
3f440b76a0e7e74acf6c926089c3b3b05ea40064
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
603
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from AthenaCommon.CfgGetter import addTool addTool("DigitizationTests.DigitizationTestsConfig.McEventCollectionTestTool", "McEventCollectionTestTool") addTool("DigitizationTests.DigitizationTestsConfig.PileUpEventInfoTestTool", "PileUpEventInfo...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
533e3e9e0d3933c9cab68a17a183a4d2ffcd9185
80a3e654cf33e5c86410e207e3a28ed160adbd75
/while_loop/chance.py
7f3126d4dabe9d831f7029fd098f4c3d169d9e0c
[]
no_license
Rinkikumari19/python
f3f6e57ca39d7d6fe4e110264eb5685be2441f66
2b98f4bac313725c2716cc8a60440336d28acba4
refs/heads/master
2022-11-26T06:47:34.161251
2020-08-02T18:37:54
2020-08-02T18:37:54
284,518,849
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
a=1 while a<3: user=input("enter your number") if user>1 and user<10: print("well done",user) break print("try again",user) a=a+1 # it is giving only two chance for choosing one disit positive number
[ "ravina18@navgurukul.org" ]
ravina18@navgurukul.org
5fc62bf89d97074a30f343fdd7e7c71f7980ca59
9e2386557ddcaf91e0f0ea9b530d40803305aa70
/demo_practice.py
9416b4fbd9483f5066a327023fb13e623bf4f44b
[]
no_license
wonjunee/trading-strategy
3f8c83c11aa3fb03cfb20cce706111fb29789ba6
584c151de97c06664da415f45831dfc0354750ca
refs/heads/master
2020-04-05T23:43:04.856065
2016-05-27T13:44:58
2016-05-27T13:44:58
56,386,790
1
1
null
null
null
null
UTF-8
Python
false
false
281
py
import pandas as pd import numpy as np index = range(10) columns = ["spy","xom","tsla"] data = np.zeros((10,3)) for i in range(10): for j in range(3): data[i,j] = i+j print data df = pd.DataFrame(data,index=index, columns=columns) df.to_csv("c:/asdf.csv",sep=',',mode="w")
[ "mymamyma@gmail.com" ]
mymamyma@gmail.com
6c955006ad7d43bf927065f190511b69f0e3558f
e05f8d36c70336a8714cc260c02fe85ecee2e62e
/subject/async/taskflow_executor.py
d4857cf2ba6197c88dc4e399d66f45a3cdf3d825
[ "Apache-2.0" ]
permissive
laoyigrace/subject
eafa442b5d9ebf83c78a01ce3bb5d088d08d620d
e6ed989fdc250917a19788112b22322b73b3550f
refs/heads/master
2021-01-11T00:06:54.790751
2016-10-24T02:13:32
2016-10-24T02:13:32
70,754,470
0
0
null
null
null
null
UTF-8
Python
false
false
6,756
py
# Copyright 2015 OpenStack Foundation # 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 requ...
[ "yibo_grace@163.com" ]
yibo_grace@163.com
0bc43c3ad977cfe32fc973668d306419a82a681b
dd208e5d00cce0a5a38d881af8a59aaeb532e44b
/Python_level_1/Python_05/dz/examples/with_args.py
49a6ab2cc503379c314886bdb6642f66f67233a0
[]
no_license
dKosarevsky/geekbrains
93324fc8c70db93f253ba844185ad2ef83126e6c
c8eedfe8a89ff482a075a8506a821c22a08995a1
refs/heads/master
2020-04-19T06:28:56.425038
2019-02-03T05:58:19
2019-02-03T05:58:19
168,019,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# Данный скрипт можно запускать с параметрами: # python with_args.py param1 param2 param3 import os import sys print('sys.argv = ', sys.argv) def print_help(): print("help - получение справки") print("mkdir <dir_name> - создание директории") print("ping - тестовый ключ") def make_dir(): ...
[ "kosarevsky.d@ya.ru" ]
kosarevsky.d@ya.ru
0141db8f5bab72bc92a65732aead052ac6506ff5
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/demo_20201202110049.py
b1bb432219ecbc5344d3764ccb029d6dc016db91
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# a=10 # print(a) # #id可以打印变量的内存地址 # print(id(a)) # A= 1 # a =2 # print(a,A) # a =1 # b = 0.2 # c = 2j # print(type(a)) # print(type(b)) # print(type(c)) # a = str(2) # print(a) # print(type(a)) # b = "b" # c = "c" # d ="d" "r" # # print(b) # # print(c) # # print(type(b)) # print(c,b) # print(d) # e = "123456...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
008230ba394ee59eae89a9db3424786097496803
793913495349a2a53565c9238915ff928995b555
/django-easyvisa/callback/migrations/0003_auto_20200701_0031.py
e6e286501fffb816021b834b5581207cff031ec9
[]
no_license
Naumov1889/django_easyvisa
48ff9f56569e5950dbb700159c2a4b7515d87413
8c81f9e37ef4c6f44ad1f5aef3d00c136ef7bc40
refs/heads/master
2023-04-09T07:26:38.432411
2021-04-03T09:16:43
2021-04-03T09:16:43
277,068,342
0
0
null
2021-04-03T09:16:44
2020-07-04T08:15:02
JavaScript
UTF-8
Python
false
false
496
py
# Generated by Django 3.0.7 on 2020-06-30 19:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('callback', '0002_callback_detected_or_selected_city'), ] operations = [ migrations.AlterField( model_name='callback', ...
[ "144112passgitword" ]
144112passgitword
906d86c2ae2e6bca34c5b65ab71d51cab87ec027
46a62c499faaa64fe3cce2356c8b229e9c4c9c49
/taobao-sdk-python-standard/top/api/rest/ItemsListGetRequest.py
0fcf7e2591ee10166d01e83a48f2dac1f56c9ede
[]
no_license
xjwangliang/learning-python
4ed40ff741051b28774585ef476ed59963eee579
da74bd7e466cd67565416b28429ed4c42e6a298f
refs/heads/master
2021-01-01T15:41:22.572679
2015-04-27T14:09:50
2015-04-27T14:09:50
5,881,815
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
''' Created by auto_sdk on 2012-09-23 16:46:13 ''' from top.api.base import RestApi class ItemsListGetRequest(RestApi): def __init__(self,domain,port): RestApi.__init__(self,domain, port) self.fields = None self.num_iids = None self.track_iids = None def getapiname(self): return 'taobao.items.l...
[ "shigushuyuan@gmail.com" ]
shigushuyuan@gmail.com
bbcb1c79475f6c71621807a47de1d755d73ce442
6c2d219dec81b75ac1aef7f96f4e072ed7562f81
/scenes/siteFellatioJapan.py
a2e9383facfcfe91e3398fddb40eb6ae62b82cfb
[]
no_license
SFTEAM/scrapers
7e2b0a159cb19907017216c16a976d630d883ba5
778f282bf1b6954aa06d265fdb6f2ecc2e3c8e47
refs/heads/main
2023-08-15T18:21:41.922378
2021-09-24T22:24:29
2021-09-24T22:24:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,517
py
import re import dateparser import scrapy import string import html from tpdb.BaseSceneScraper import BaseSceneScraper from tpdb.items import SceneItem class siteFellatioJapanSpider(BaseSceneScraper): name = 'FellatioJapan' network = 'Digital J Media' parent = 'Fellatio Japan' start_urls = [ ...
[ "briadin@yahoo.com" ]
briadin@yahoo.com
787a5a5ee14fea40ffc9f6577d59fb2f207efd76
29055f6da38e148e38e33c6f750e3d4e6609a0fb
/Home/house-password.py
cd5efc863de40a01fdb270219dd051fcdebb9301
[]
no_license
ckclark/CheckiO
42ed57b64f80a5b9d9781b311d8ce439c8ebabc5
f9e01f57b6a73160a18dec5a255ea4507814b06b
refs/heads/master
2021-01-17T14:30:48.848211
2016-07-16T14:34:06
2016-07-16T14:34:06
47,816,733
5
2
null
null
null
null
UTF-8
Python
false
false
860
py
def checkio(data): lower, upper, digit = False, False, False for c in data: if 'a' <= c <= 'z': lower = True elif 'A' <= c <= 'Z': upper = True elif '0' <= c <= '9': digit = True else: return False return len(data) >= 10 and lo...
[ "clark.ck@gmail.com" ]
clark.ck@gmail.com
8f5c150b8b5760e781530d16056384e102256d1e
ac88bdb4d2e0aae0c96f2305dc8e9140aedc9294
/Day4/projects/rock_paper_scissor/main.py
97bfad1589ee154523a4c7c3dd069ac79afb75ba
[]
no_license
AMAN123956/Python-Daily-Learning
5a253102c48f62b6786dec0991688b56086ada07
9b62dce3688f8f0f10a5e0addce137a2954f20d7
refs/heads/main
2023-06-09T19:36:55.454485
2021-06-30T16:52:07
2021-06-30T16:52:07
375,426,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) ---.__(___) '''...
[ "you@example.com" ]
you@example.com
c5c6487e9e9aa72ce21660aea5075b42816d3bad
dcda5ba16474dd8ff650e04e7f4a9bf700f6a9ff
/coupons/migrations/0001_initial.py
0abbdeaf85b34cd2f85deb81508d6642fb5dbb84
[]
no_license
007vict/shopbyexample
2084d6e53faafb5c7e856cc8b3a5ff43bc3a82e2
bc7dcfe5818499731c3cbf956c9c0b95cf3791da
refs/heads/master
2022-12-21T13:05:08.425653
2019-04-10T10:30:41
2019-04-10T10:30:41
177,291,341
0
0
null
2022-12-08T04:58:00
2019-03-23T13:18:59
JavaScript
UTF-8
Python
false
false
845
py
# Generated by Django 2.1.7 on 2019-03-26 12:03 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Coupon', fields=[ ...
[ "super_vg@bk.ru" ]
super_vg@bk.ru
34e39fc404c212d0c75c858ccf54d7d8b313e83b
8024be47f6643ba998a2596353d42e3bca0be720
/StandardLib/multiprocessing/shared_memory.py
879893032a2b44c52041b866e721ebc2f5915401
[]
no_license
hiepbkhn/itce2011
a8aaec08e426454671570e28f1dd4828d83d12ca
d8985d1484699bdbb7bbece572058a420a960eac
refs/heads/master
2021-04-22T12:49:38.516261
2019-02-11T15:45:42
2019-02-11T15:45:42
37,022,768
9
6
null
null
null
null
UTF-8
Python
false
false
389
py
''' Created on Jan 1, 2013 @author: Nguyen Huu Hiep ''' from multiprocessing import Process, Value, Array def f(n, a): n.value = 3.1415927 for i in range(len(a)): a[i] = -a[i] if __name__ == '__main__': num = Value('d', 0.0) arr = Array('i', range(10)) p = Process(target=f, args=(num, a...
[ "hiepnh.vtt@gmail.com" ]
hiepnh.vtt@gmail.com
2894ef4e63e6847fa52a6f4b1dd4061ee4a1ceba
84c2fa4aed9094b5ec3cc612d28980afe5d42d34
/appiumdemo/appium1126/pages/invitemember_detail_page.py
cfae0f8190b84a05a590d3a91cb0660222598aed
[]
no_license
cyg2695249540/generatewework
186831a1b5c788e9b99e90d1a08bf6a8638131ce
cd01b0fc4a69cc2f2ed4c109afdf8771bee3bffd
refs/heads/master
2023-01-20T17:13:13.186034
2020-12-01T12:05:01
2020-12-01T12:05:01
310,201,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
# !/usr/bin/env Python3 # -*- coding: utf-8 -*- # @FILE : invitemember_detail_page.py # @Author : Pluto. # @Time : 2020/11/26 19:46 from appium.webdriver.common.mobileby import MobileBy from appiumdemo.appium1126.pages.base_page import BasePage1126 class InvitememberDetailPage1126(BasePage1126): _name_...
[ "2695249540@qq.com" ]
2695249540@qq.com
325e8ddfd293680b5ab643fdac0a98ebd7722b1e
529297d80bfa34c7f3cd7b9773e0419bbfacdf15
/package_control/package_io.py
13216f922988558567af717f7be34a6fce4bf64d
[ "MIT" ]
permissive
wskplho/package_control
3d451e7a05242dca949932d032ca94b850477316
c9034102844456c9c69ef13ac159d59d0de29833
refs/heads/master
2021-01-18T08:02:33.199235
2015-02-11T06:29:45
2015-02-11T06:29:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,275
py
import os import zipfile import sublime from .console_write import console_write from .open_compat import open_compat, read_compat from .file_not_found_error import FileNotFoundError def read_package_file(package, relative_path, binary=False, debug=False): package_dir = _get_package_dir(package) if os.path...
[ "will@wbond.net" ]
will@wbond.net
f2732c25bc2c3cc235f1fa7847f391bba885b387
5b6afd9c63d7408a6254710689a9fe809e026b50
/main.py
92d8914c01bb1fec34a118f1a9eff517ab5ac3f5
[]
no_license
Watchful1/ShittyRainbow
f89b17760cb237902ae71bb6578ea202de5fd5a9
28a6f6648dcb30028ac12c14466ca1ef850810b3
refs/heads/master
2020-12-13T19:58:46.360531
2020-06-06T03:13:17
2020-06-06T03:13:17
95,512,346
0
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
#!/usr/bin/python3 import praw import os import logging.handlers import time import sys import configparser import signal import traceback import re from datetime import datetime from datetime import timedelta ### Config ### LOG_FOLDER_NAME = "logs" SUBREDDIT = "shittyrainbow6" THRESHOLD = 80 USER_AGENT = "shittyrain...
[ "watchful@watchful.gr" ]
watchful@watchful.gr
9cbd83e129b2fe4f26736d923860cae7869123a7
9da3b54f7c47f742f6e88d40ce84e94741a71c85
/coconut/compiler/header.py
3be75c8fd740c03bc7ac7f9c93dc9e4b34e8633e
[ "Apache-2.0" ]
permissive
evhub/coconut
f977dfd17674820aebc468f8ef864d73aff0192b
dbec988047e8dcfc75522a71b54d5eb59fa311b4
refs/heads/master
2023-08-16T17:27:02.668945
2023-07-29T07:38:34
2023-07-29T07:38:34
24,804,430
4,014
172
Apache-2.0
2023-09-02T08:53:25
2014-10-04T23:43:11
Python
UTF-8
Python
false
false
36,566
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------------------------------------------------- # INFO: # ----------------------------------------------------------------------------------------------------------------------- """ Author: Evan Hub...
[ "evanjhub@gmail.com" ]
evanjhub@gmail.com
e5ee16a45a98d60aba41c675c9248969eb74bf51
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/timber/testcase/firstcases/testcase5_026.py
cb47585a01d65de126db4d2ef9f35710a8674769
[]
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
5,044
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
ace6e9f4dae2ebb01af5fdf3aefa34b3f2405daf
847d6ee4a0094925553768088f0ca9d2b3d3cc66
/memegen/routes/_cache.py
4b831f37b359948e1df521155c1f77787e8f5e7a
[ "MIT" ]
permissive
DanLindeman/memegen
1aa2cafdac11626026f12cf7b74f0ab4b543fb3a
f40555a74edc25c45323704d7319223c897e5084
refs/heads/master
2021-01-17T20:33:00.330415
2016-11-15T06:03:45
2016-11-15T06:03:45
38,079,069
0
0
null
2015-06-25T23:07:05
2015-06-25T23:07:02
Python
UTF-8
Python
false
false
1,092
py
import logging import yorm from yorm.types import List, Object import profanityfilter log = logging.getLogger(__name__) @yorm.attr(items=List.of_type(Object)) @yorm.sync("data/images/cache.yml") class Cache: SIZE = 9 def __init__(self): self.items = [] def add(self, **kwargs): if kwa...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
8b1bbe0dfe6c4350cf8adef320c53dafc138538c
b0640fb8fd786771463efaa0b591a2995dfbb6c1
/mayan/apps/document_signatures/tasks.py
9657f6417f268973f873e1d824a08576f2b93d2a
[ "Apache-2.0" ]
permissive
kyper999/mayan-edms
9a868ee9470e8689bf8c36f3cc6c05bcc2b356a8
ca7b8301a1f68548e8e718d42a728a500d67286e
refs/heads/master
2021-01-22T20:18:34.009706
2017-03-14T03:58:25
2017-03-14T03:58:54
85,309,322
1
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
from __future__ import unicode_literals import logging from django.apps import apps from mayan.celery import app RETRY_DELAY = 10 logger = logging.getLogger(__name__) @app.task(bind=True, ignore_result=True) def task_unverify_key_signatures(self, key_id): DetachedSignature = apps.get_model( app_label=...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
77d5254be7c63252cfe108bb60e564073dff72d5
7cd8ee14711eaf33cee0d9e06e78a974fc579242
/Facebook/Facebook/spiders/facebook_excelsheet_parsing.py
c061f3ca89046e8afdcac1ec38daae599dc30ce0
[]
no_license
Chandler-Song/pi
c618117dfdd9a7496a57c69f029851e94787f591
aebc6d65b79ed43c66e7e1bf16d6d9f31b470372
refs/heads/master
2022-03-13T02:44:30.452673
2019-02-19T09:38:45
2019-02-19T09:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
import MySQLdb import datetime import os import openpyxl as px import glob import md5 import json class Fbparsing(object): def __init__(self): self.con = MySQLdb.connect(db='FACEBOOK', user='root', passwd='root', charset="utf8", host='localhost', use_unicode=True) self.cur = self.con.cursor() self.social_p...
[ "aravind@headrun.com" ]
aravind@headrun.com
7eff07fc829689636f0c4674c2505b58d9751574
a550aece79bda789826b463280b91abffbf2d372
/books/python-3-oop-packt/Chapter7/7_27_add_function_to_object.py
e453504d836b16c1118e848b9703eeafd9b27f4a
[ "MIT" ]
permissive
phiratio/learn_python
20376470eaa292c157fd01f52b3077e3a983cd5a
a32240d4355fb331805d515f96e1d009914e5c47
refs/heads/master
2022-11-27T07:07:45.712373
2020-12-03T22:04:31
2020-12-03T22:04:31
189,397,679
1
0
MIT
2022-11-22T04:40:27
2019-05-30T10:56:10
Python
UTF-8
Python
false
false
161
py
class A: def print(self): print("my class is A") def fake_print(): print("my class is not A") a = A() a.print() a.print = fake_print a.print()
[ "phiratio161@gmail.com" ]
phiratio161@gmail.com
0e8d7d244f94adc5980cb759dceb192abf7be7de
06ad4c1a392c27b622f79a359242a67193235536
/scripts/historicalPrediction.py
5495446df600bf38c79e86a780a0155e84e047a4
[]
no_license
msgpo/MMadness
53746c5ed8322dbea8205379a28438f2cda81310
c3b6a7abdec9583acc2af805710d02678c02e542
refs/heads/master
2021-05-28T11:53:18.116064
2015-03-18T04:30:46
2015-03-18T04:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,200
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 11 11:10:19 2015 @author: jmf """ """train an SVM, predict historical data""" import numpy as np import csv from sklearn.svm import SVC import numpy as np import sklearn from sklearn import svm from os.path import isfile import kaggle2scraped import cPickle import mat...
[ "jamesmfrick@gmail.com" ]
jamesmfrick@gmail.com
01f6c447cb305228a55daa4f4539f447aa7e7e0d
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts/framework/acts/test_decorators.py
8eea7c82ff2dffc3942f438ea29207337e3ae36e
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,872
py
#!/usr/bin/env python3 # # Copyright 2017 - The Android Open Source Project # # 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 requi...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
0aa1da60fa42ebb3ae9e2c71005d49ca82e4afd7
05536893d069dd87256ba74ecdee06bdf481d44b
/args_api/DBTEC/DBTEC-DDL.py
fe915485e8aff63dbf10c36d51a709f1ffd1db15
[]
no_license
TheRockStarDBA/DataBuddy
b2d889e11745d0afe1b39a11aab5945e2bd08cf7
38fa7adfdd228e2b2e4b4408393505163c5702e8
refs/heads/master
2020-12-25T23:27:02.363977
2015-05-28T19:14:12
2015-05-28T19:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
74,689
py
#do not change aa={'DBTEC_Partition_Limit30.DDL_Default': [{'lame_duck': ('-l', '--lame_duck', 30, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'c...
[ "alexbuzunov@gmail.com" ]
alexbuzunov@gmail.com
636d3fa668c7816463117317d4e56b536bffbed2
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/acloud/public/report.py
6afff82d5083b9f1b2aeeb754d4526cd7929426c
[ "Apache-2.0" ]
permissive
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,382
py
#!/usr/bin/env python # # Copyright 2016 - The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
c5c14c003bd36c2e6f9c6f18c535e2136e5b3364
9c627ff27787665b2e0114a4043ec04db7442936
/khl.py
2540f04667fbeb505984ee34eeaf46ed711d298a
[]
no_license
suganthicj/ghj
b3df775dc0ff671257e68258bc554235542860a6
be5f50c64b6ebc4a3dbcb2bc9dd6ba5bc4b26cbf
refs/heads/master
2020-07-04T01:07:20.712895
2020-01-08T05:52:03
2020-01-08T05:52:03
202,105,825
1
0
null
null
null
null
UTF-8
Python
false
false
138
py
def fact(x1): z1=1 for t in range(1,x1+1): z1=z1*t return(z1) x1,y1=map(int,input().split()) print(fact(x1)//(fact(x1-y1)*fact(y1)))
[ "noreply@github.com" ]
suganthicj.noreply@github.com
851259f4debcff8423300b2853325afb1a593a3a
a80963fbac8c0edcef5b1b9bad67a4b5913cd569
/web_app_flask/flaskblog/config.py
3b6fe6094c7ab261edc316f247a9159297134cc9
[]
no_license
manurp/Python_programs
946877caf93a2ff0239c68dc4e8e02c72fe6f156
1a0c896b05b72afee7a48dd1bc2bef2aa7ffe0af
refs/heads/master
2020-06-28T01:22:59.140092
2018-09-01T17:03:18
2018-09-01T17:03:18
97,080,367
2
0
null
null
null
null
UTF-8
Python
false
false
357
py
import os class Config: SECRET_KEY = '5791628bb0b13ce0c676dfde280ba245' #move this env variable SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db'#move this env variable MAIL_SERVER = 'smtp.googlemail.com' MAIL_PORT = 587 MAIL_USE_TLS = True MAIL_USERNAME = os.environ.get('EMAIL_USER') MAIL_PAS...
[ "manojrpoojary@gmail.com" ]
manojrpoojary@gmail.com
70d16b77c892b63310336c81815d8e1b6cc832f9
d65a9118ddbf9ec7f156e7383240080942e9a47b
/python/dev/processes/geckolaunch.py
7e271fbba8b6b49ec569b8cae01a0a4ad6fefa55
[ "MIT" ]
permissive
gecko-robotics/gecko
4f96acbbd4d09b205073d6150ebb1345cf4e60fd
f340381113bdb423a39d47aaee61e013bb9e002a
refs/heads/master
2022-05-30T21:20:38.049321
2022-03-06T21:43:01
2022-03-06T21:43:01
165,568,726
2
0
MIT
2019-10-26T19:28:10
2019-01-14T00:06:09
HTML
UTF-8
Python
false
false
3,369
py
#!/usr/bin/env python3 """ So this is sort of a copy of roslaunch """ import sys sys.path.append("../../") from pygecko.multiprocessing import GeckoProcess from pygecko.file_storage import FileJson, FileYaml import multiprocessing as mp import time import logging import logging.config import logging.handlers # https...
[ "walchko@users.noreply.github.com" ]
walchko@users.noreply.github.com
76bb4cd60b6d44e55e7d4e94eae0236830d89195
5004bb828f4bf3fb419fd9cfca711cd612cc8ecd
/CMSAPI/topic_views.py
18db101a1e4b46e406f580e7f81ba323fb0b2ab8
[]
no_license
JulianYangJingJun/OSVRCMS
5918354c6c4671aff1b183e4a7df9788a8261c8a
bef95536e96417e18972a3118e19a8074bfc8684
refs/heads/master
2022-12-11T12:42:41.497851
2018-01-05T02:27:44
2018-01-05T02:27:44
113,274,305
3
1
null
2022-11-22T02:06:16
2017-12-06T05:45:27
Python
UTF-8
Python
false
false
7,222
py
#!/usr/bin/env python # encoding: utf-8 """ @version: ?? @author: Julian @license: Apache Licence @contact: aqkt_436@163.com @site: http://www.abbstyle.com @software: PyCharm @time: 2017/4/20 11:00 """ from django.http import Http404 from rest_framework.decorators import api_view from rest_framework.response import Re...
[ "JulianYangJingJun@users.noreply.github.com" ]
JulianYangJingJun@users.noreply.github.com
17746f5a3fa2eabb03c21f6971d99fca9a3c0406
40a06a9d9e48e65a3e817a7aee57614895c0a6c0
/agents/monte_carlo_agent.py
67d4400557c974abeab92f3d76378985ba654ade
[]
no_license
gmaher/RL
30a5c549c8bde0c1aac913d389437937cd14993d
622523c799a856d6cdf5984247003be3cc9cabfc
refs/heads/master
2021-01-20T20:18:18.241576
2016-08-17T01:46:10
2016-08-17T01:46:10
64,807,485
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
class MonteCarloAgent(): def __init__(self): def act(): def update():
[ "gmaher2@hotmail.com" ]
gmaher2@hotmail.com
67306a97836e769d619abaa555af2bf2d367e65c
b951e1d2ad3fbed70500d1e8d15bd8e033a3e7ff
/精通网络爬虫/myfirstpjt/mypjt3/mypjt3/pipelines.py
131b60085d9e4083c6ea305ea89d01122fc6a227
[]
no_license
whyismefly/pythoncrawl
b195d8beb380558bdda74f3e79c38bbeeddc86c4
0e6fb6675971edbedc87bcb923afc83d1f577643
refs/heads/master
2021-07-08T21:50:10.287630
2020-09-15T16:57:53
2020-09-15T16:57:53
192,689,605
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class Mypjt3Pipeline(object): def process_item(self, item, spider): return item
[ "whyismeflying@hotmail.com" ]
whyismeflying@hotmail.com
9c4356090bb31728e61180125119ef299e05784c
f5ffd566166948c4202eb1e66bef44cf55a70033
/openapi_client/model/role.py
631dfd454e195fddb64b8919a99e579bae1ca942
[]
no_license
skyportal/skyportal_client
ed025ac6d23589238a9c133d712d4f113bbcb1c9
15514e4dfb16313e442d06f69f8477b4f0757eaa
refs/heads/master
2023-02-10T02:54:20.757570
2021-01-05T02:18:03
2021-01-05T02:18:03
326,860,562
0
1
null
null
null
null
UTF-8
Python
false
false
8,040
py
""" Fritz: SkyPortal API SkyPortal provides an API to access most of its underlying functionality. To use it, you will need an API token. This can be generated via the web application from your profile page or, if you are an admin, you may use the system provisioned token stored inside of `.tokens.yaml`. ### ...
[ "profjsb@gmail.com" ]
profjsb@gmail.com
472ee732da73893d1fdbefdf5c703cbba57dd5a1
c671c6637e04b93cd7cd2f6dac20f9fd07b0462b
/src/pyams_batching/tests/__init__.py
4cc11acab09a5a8de6f4dbb67e2c40365b752ab6
[ "ZPL-2.1" ]
permissive
Py-AMS/pyams-batching
746f80a37e9e78f6c7b85f91faff06d6be33fc8e
60418bf4cf34d8c9e78f806ccd2bc652556c43f9
refs/heads/master
2021-07-09T19:08:46.193295
2021-03-09T07:21:56
2021-03-09T07:21:56
234,533,150
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
# # Copyright (c) 2015-2019 Thierry Florac <tflorac AT ulthar.net> # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
[ "thierry.florac@onf.fr" ]
thierry.florac@onf.fr
f2dea8305700fe14e6a85c62ca818711ee856c6c
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1379_a.py
a361296f706f1f7a0715516413f369236fa8e6b2
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
2,517
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): #input = sys.stdin.readline from pprint import pprint import sys def count_aba(s): param = "abacaba" res = 0 for i in range(len(s)): if str(s[i:...
[ "glenda.kanai@gmail.com" ]
glenda.kanai@gmail.com
92510f03682835d498113b4cdfc4b55ca76a4337
c94f888541c0c430331110818ed7f3d6b27b788a
/ak_6263e9812ef844e09bb70749be52ec3b/python/setup.py
9b37e3118db11e902bea1093c1c6eec6f5cd20a1
[ "Apache-2.0", "MIT" ]
permissive
alipay/antchain-openapi-prod-sdk
48534eb78878bd708a0c05f2fe280ba9c41d09ad
5269b1f55f1fc19cf0584dc3ceea821d3f8f8632
refs/heads/master
2023-09-03T07:12:04.166131
2023-09-01T08:56:15
2023-09-01T08:56:15
275,521,177
9
10
MIT
2021-03-25T02:35:20
2020-06-28T06:22:14
PHP
UTF-8
Python
false
false
2,650
py
# -*- coding: utf-8 -*- """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
5baf0029ac5eae63b4e4775b8d271d0690dc3956
0809ea2739d901b095d896e01baa9672f3138825
/libraryproject/libApp/migrations/0001_initial.py
dc4d77f31ad63d79181ed2829f3f619fc0f83bb1
[]
no_license
Gagangithub1988/djangoprojects
dd001f2184e78be2fb269dbfdc8e3be1dd71ce43
ea236f0e4172fbf0f71a99aed05ed7c7b38018e2
refs/heads/master
2022-11-15T23:46:46.134247
2020-07-15T06:37:51
2020-07-15T06:37:51
273,479,403
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# Generated by Django 3.0.5 on 2020-04-19 17:32 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='destination', fields=[ ('id', models.AutoFi...
[ "djangopython1988@gmail.com" ]
djangopython1988@gmail.com
a3d1fefc0de6b1a5c86d7165100b386d5b17e2ab
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03296/s677827689.py
a2beb2c257353c536aa840b602253747bf28034e
[]
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
133
py
N=int(input()) a=list(map(int,input().split())) Q=0 for i in range(N-1): if a[i]==a[i+1]: a[i+1]=0 Q+=1 print(Q)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc8c3c56d7f80d526b26323cc122b0da42d79053
c8d37e7f6e66422cf2c32c2e63ecb0da876dfc85
/typeline/typing.py
3015292eb4f65f90775f2a5a16cdec8a057da8e9
[]
no_license
mkurnikov/typeline
d94310199a1d05a975ad62df3b946a93e85e9176
8b7e27bace661cc90f9486c2533bdca74aed2e1c
refs/heads/master
2020-03-25T08:23:32.344878
2018-08-14T09:14:15
2018-08-14T09:14:15
143,610,014
0
0
null
null
null
null
UTF-8
Python
false
false
8,449
py
# Copyright (c) 2017-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. import inspect import re import sys import types from typing import ( Any, Callable, Dict, Generator, ...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
f5b2570dd9463355444386bfc543b1e0f63ac360
d204e9b521cbd67721ac639897510164ebfceb05
/_widget.py
c5353c7ba682867f50c229b177a97d00690392d8
[]
no_license
pytsite/plugin-odm_ui
1a745112fd1edd1d8619b1f47d72ae9e8edcbcac
8c6e9f6f9b7038657cd3366dcc855c1a6b5bc9ac
refs/heads/master
2021-06-24T09:08:52.641746
2019-07-13T03:44:04
2019-07-13T03:44:04
111,998,578
0
0
null
null
null
null
UTF-8
Python
false
false
16,525
py
"""PytSite Object Document Mapper UI Plugin Widgets """ __author__ = 'Oleksandr Shepetko' __email__ = 'a@shepetko.com' __license__ = 'MIT' import htmler from typing import List, Callable, Union, Iterable, Tuple from pyuca import Collator from json import dumps as json_dumps from pytsite import lang from plugins import...
[ "a@shepetko.com" ]
a@shepetko.com
159f0d5334f669e99d124f85542b169dae2551a1
b7a67fa152eeea31f59f142e77d1424e48802fb8
/python/ThirteenTeV/SMHiggsToTauTau_13TeV-powheg_pythia8_cff.py
85d33b8ceac965600ef536efbdb0206a54618925
[]
no_license
gitytakahas/genproductions
500e681e5fcaa079732a83346bbaa660d3923186
bd96765534cd5b56caa2a3d0ff33cc4f51c1924d
refs/heads/master
2020-04-12T11:37:19.933238
2015-06-17T12:24:18
2015-06-17T12:24:18
28,107,795
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * generator = cms.EDFilter("Pythia8HadronizerFilter", ...
[ "Yuta.Takahashi@cern.ch" ]
Yuta.Takahashi@cern.ch
6295ab04722328cd1e95e2f2d3aceb5164f2d840
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/water_month/area/community/man/right/book_generic/life_idea_hour/thing/right/city.py
673099c49029c87b862751054d5913ea8edef6df
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,161
py
using System; using System.IO; using System.Text; using System.Threading.Tasks; using System.Net.Http; using System.Net.Http.Headers; using System.Collections.Generic; using Newtonsoft.Json; using Microsoft.Extensions.Configuration; using System.Linq; /* in this repo */ using dfbStartup; namespace cog_console { ...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
06a44194988f1facf0a06262e0a56eea88956e24
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/ebayer/kernel-old/xen/drivers/module-nvidia96/comar/xorg.driver.py
3aab34d3d14cb1db66cb7d2729abbe605d4b088a
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,090
py
#!/usr/bin/python # -*- coding: utf-8 -*- import os import subprocess from zorg.config import getDeviceInfo version = "96.43.16" driver = "nvidia96" base = "/usr/lib/xorg/%s" % driver BLACKLIST_CONF = "/etc/modprobe.d/blacklist-nouveau.conf" ZORG_ENABLED_PACKAGE = "/var/lib/zorg/enabled_package" ZORG_KERNEL_MODULE ...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
3e32a5b633e134e568ff7eca4b2c084387d43cc7
e9b3bceb3a88c10a46bad27963052838d1b545cf
/territory/models.py
bcd63c8e4523de61329d5a97037c977d6005c02e
[]
no_license
vtemian/outclan
23273b6486152efd1d5ccc1c6364b9b2d4ab119a
80cdbf70ed6ca4ca235f425355d8bf8b027636a4
refs/heads/master
2021-01-22T22:49:32.025184
2011-09-12T11:10:09
2011-09-12T11:10:09
2,370,588
0
1
null
2016-10-20T18:13:52
2011-09-12T11:06:34
C++
UTF-8
Python
false
false
451
py
from django.db import models from Items.models import Defends from account.models import UserProfile from location.models import Location class Territory(models.Model): owner = models.OneToOneField(UserProfile) defense = models.IntegerField(max_length=6, null=True) capital = models.OneToOneField(Location...
[ "vladtemian@gmail.com" ]
vladtemian@gmail.com
16e6c9ba1bf833080de09896f4fdbbcfcec58329
51885da54b320351bfea42c7dd629f41985454cd
/abc190/d.py
62cdf1f0f2e041b9dcc02340e2f1e0d92d5293dd
[]
no_license
mskt4440/AtCoder
dd266247205faeda468f911bff279a792eef5113
f22702e3932e129a13f0683e91e5cc1a0a99c8d5
refs/heads/master
2021-12-15T10:21:31.036601
2021-12-14T08:19:11
2021-12-14T08:19:11
185,161,276
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
# # abc190 d # import sys from io import StringIO import unittest class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out = sys.stdout.r...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
a802b085a25b1ece7b6a2d7983a3d6aceed6ddc2
34b9ef26424161ce5aaa0c5a3cb93819e3f8b681
/zipfiles/zip1_read_extract.py
95dfe395dc3557a2e3c0820a5dd8af65b3153772
[]
no_license
sarthak77/practice
9544842563294e28d69cad4cb61b825db591efaf
78618892c97797840681c3996f8f777b720b49de
refs/heads/master
2020-03-23T17:35:49.919785
2019-07-08T07:22:17
2019-07-08T07:22:17
141,866,612
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import os,zipfile exampleZip = zipfile.ZipFile('j.zip') #for all files&folders present in zip folder j.zip print(exampleZip.namelist()) # particular file in j.zip folder a=exampleZip.open('j.txt') b=a.readlines() print(b) #to extract all exampleZip.extractall('./hello') exampleZip.extract('j.txt','./hello2')
[ "sarthak.singhal@students.iiit.ac.in" ]
sarthak.singhal@students.iiit.ac.in
6e39ad98dd9e143ac015980a3c4f910d7ac21279
4126bac318747280437b985007becfde1c445253
/side-project/DjangoEnv/Python_Fundamentals/sorry/apps/to_wife/models.py
c7fe32d78cb6addaced4431877de1329cb411277
[]
no_license
HaochengYang/Project
887e42b8429055f31cb5edb4474c2e9a8e4557e6
d4d829a1127935daa65b928f8f94a27f9012ca2c
refs/heads/master
2021-01-12T14:41:18.714541
2017-02-15T21:48:58
2017-02-15T21:48:58
72,052,594
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from __future__ import unicode_literals from django.db import models class AnserManager(models.Manager): def answer_check(self, postdata): error =[] if len(postdata['answer']) ==2: error.append('Give me another chance') response ={} if len(postdata['answer']) == 3: ...
[ "haocheng0906@gmail.com" ]
haocheng0906@gmail.com
c59907b7ecc7c4804b84311be66877c430195609
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ETFMM_D/YW_ETFMM_SHSJ_160_D.py
57fc0b0bba23388683c8f72ba68c88bc33badeaa
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/home/yhl2/workspace/xtp_test/m...
[ "418033945@qq.com" ]
418033945@qq.com
8271d58f982d67b7b02016a629c43029693b3070
cc10b80f143684270a7f4db7c73ada125309e3fa
/Number_of_Paths_with_Max_Score_1301.py
782b5c297e0f3ed08df7cd964a1db243f6a9451d
[]
no_license
jay6413682/Leetcode
bfe8bf15183aa824fb96d9ff5a1ead5b7b7fa4d9
3ea03cd8b1fa507553ebee4fd765c4cc4b5814b6
refs/heads/master
2023-03-04T19:43:31.477643
2023-03-02T06:34:50
2023-03-02T06:34:50
30,943,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
class Solution: def pathsWithMaxScore(self, board: List[str]) -> List[int]: """ my own dp solution. 解题思路可看https://mp.weixin.qq.com/s?__biz=MzU4NDE3MTEyMA==&mid=2247485565&idx=1&sn=9d307e3ef239d9ba509624736408fc3c&scene=21#wechat_redirect,她的解就算了。 注意:每个数字都是正数 """ # 从左上到右下等价从右下到左上 ...
[ "private@email.address" ]
private@email.address
04b15aa78d4efde6470211c0fd4b71f3efbd6f35
45dc0dd09a7599d75711340cb69207267c8567b2
/script/lib/config.py
9ac2a7bdd2c332addacf1e162f145643199a3a3f
[ "MIT" ]
permissive
ccheever/atom-shell
6616b852bf6a1ef9fa3f0563d8777a229e3fd73c
dd804b090a20ff06423394a11f8190869af14ded
refs/heads/master
2021-01-17T06:38:36.292105
2014-05-30T01:02:21
2014-05-30T01:03:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
#!/usr/bin/env python NODE_VERSION = 'v0.11.10' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '34d71b3bcc65c5213663a967ee1950c6d3729346'
[ "zcbenz@gmail.com" ]
zcbenz@gmail.com
4149cd3f9a5c51d9a5c6608f197d5c002cdfcab1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03206/s078879399.py
9efad4b84d1d70b07729719116873b430cee5df8
[]
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
150
py
n=int(input()) if n==25:print("Christmas") if n==24:print("Christmas Eve") if n==23:print("Christmas Eve Eve") if n==22:print("Christmas Eve Eve Eve")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c08e93f8e654ba9b458ebf4baf1d8f4cf5d3a559
a41749c1adcde222a90dc8fd6459cd3db104def3
/zadania/zaj6/sessions/models.py
e2c797e463cb6810ec0065f440f72ecd31063470
[]
no_license
jbzdak/webapliacje
0385eae3357b3dad3bf99e3aae5b0eadbe036ded
85ca7f1ff6390477dac80eaed9ac561656dc5b06
refs/heads/master
2021-01-10T08:57:47.809807
2016-01-13T19:17:27
2016-01-13T19:17:27
43,634,523
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import base64 import os import pickle from django.db import models # Create your models here. class Session(models.Model): session_key = models.CharField( default=base64.b64encode(os.urandom(64)), ) db_session = models.BinaryField() @property def session(self): return pickle.loads(bytes(self.db...
[ "jbzdak@gmail.com" ]
jbzdak@gmail.com
1ac977190fab50fc0351df022cbe6a4a7c3fb0bf
5175aa0d42d1de3c04d1a88494406e0ea31792d6
/src/12_numba_mem/1d_iter_avg.py
822b0903ba9b83414b7dcdcd0b9725c3b4c0100d
[ "MIT" ]
permissive
agrippa/hpc-bootcamp
c24a41aaf86e21d0185ba63b363d2fe0964df339
7db008557a48e7a6d9eae2df2371a3c7b9f0678c
refs/heads/master
2021-10-10T07:58:30.003887
2021-09-30T15:39:28
2021-09-30T15:39:28
58,377,319
1
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
#!/usr/bin/python import sys import time import math import numpy as np import matplotlib matplotlib.use('agg') from numba import cuda @cuda.jit def kernel(nxt, curr, N): tid = cuda.blockIdx.x * cuda.blockDim.x + cuda.threadIdx.x if tid < N: tid += 1 nxt[tid] = (curr[tid - 1] + curr[tid + 1])...
[ "jmaxg3@gmail.com" ]
jmaxg3@gmail.com
1176076ed6df9142c0ed646a73fb69f9a4dd0265
3fdad7e4cf4725e90354a674eddea4ec34f2344c
/myia/operations/op_hyper_map.py
97e305726ef971005cc594ee0180e49bc63ae1b9
[ "MIT" ]
permissive
zangmunger/myia
1f2e9045af62da5a5d832eed0436de7c5813cd99
0aa38aa3c43648ee408dc031352ba442f6bed59f
refs/heads/master
2020-12-13T04:10:28.154027
2020-01-15T20:33:05
2020-01-15T20:33:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
"""Definition of the operation `hyper_map`.""" from ..hypermap import hyper_map __operation_defaults__ = { 'name': 'hyper_map', 'registered_name': 'hyper_map', 'mapping': hyper_map, 'python_implementation': hyper_map, }
[ "abergeron@gmail.com" ]
abergeron@gmail.com
694364cf7931df5c0fe3e23c5f9f5504071cac1c
d4280eca1a9badb0a4ad2aa22598616eedece373
/PyQt/GUI example/image/image.py
e737c48e14526a4f71dce05347a12d8da6194647
[]
no_license
Little-Captain/py
77ec12bb2aaafe9f709a70831266335b03f63663
74ba3c3449e7b234a77500a17433e141e68169f7
refs/heads/master
2021-06-09T11:33:23.205388
2019-11-22T01:17:44
2019-11-22T01:17:44
131,844,918
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
import sys from PyQt5.QtWidgets import QApplication, QWidget, QLabel from PyQt5.QtGui import QIcon, QPixmap class App(QWidget): def __init__(self): super().__init__() self.title = 'PyQt5 image - pythonspot.com' self.left = 10 self.top = 10 self.width = 640 self.heigh...
[ "littlecaptain@foxmail.com" ]
littlecaptain@foxmail.com
925fd6c6e2394fbdd0adfdc9ccd3dba4fe442e68
382ec9281347bc564327205e35d19c7808c661b0
/Hello3.py
dec1fd33515fb41d465f33e1efe3977c1e6d9f8a
[]
no_license
Anukun170/Project1
378a4077a39505f278a8bc2be8ee680ad8941541
2bcdebbb4b22a7123a37b0892b3ce7ed435de906
refs/heads/master
2022-12-04T12:09:19.075049
2020-08-11T12:17:32
2020-08-11T12:17:32
279,528,739
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
print ('Hello Hello') print ('Hello My name is ') print ('Hello Jesus')
[ "INE-02@Admins-iMac-5.local" ]
INE-02@Admins-iMac-5.local
b7afe682565db2fdd2f5ef04136e24aa702d536a
2ce9d661457d079f7ee3e9643c33018f02fa9dc3
/compute_genesis_details.py
78a009eaf06d2e27b5fbabed737755ad30290c6e
[]
no_license
protolambda/steklo
bf202fe9817e40e2bdddefe452ae40765102949e
174f7f4d7c08c9df1f9cdab8228c1a3b1c12d33a
refs/heads/master
2023-04-18T05:45:24.643194
2021-04-30T09:43:07
2021-04-30T09:43:07
362,686,274
2
1
null
2021-04-30T03:45:50
2021-04-29T04:10:21
Python
UTF-8
Python
false
false
3,567
py
import json from datetime import datetime import os from ruamel.yaml import YAML from pathlib import Path from eth2spec.config import config_util def load_conf(): yaml = YAML(typ='base') loaded_config = yaml.load(Path('./eth2_config.yaml')) out: Dict[str, Any] = dict() for k, v in loaded_config.items()...
[ "proto@protolambda.com" ]
proto@protolambda.com
de5536fd24b4ddb808476eb6350b1ea118d6a101
e0cbea0cb68f0ba5dba837dbe60067eb88e3d151
/CodeClubProjects/AboutMe/venv/bin/easy_install-3.7
1dc1318f8d6e61e265fd9bb343043171e4a89bf8
[]
no_license
arossbrian/my_short_scripts
74fb689ac25feaffb14437496902ee1a0dcc5b60
a34923f7ecbf027d8a0704400fcfb3e71ed662fd
refs/heads/master
2023-05-24T16:45:51.050321
2023-05-11T16:20:30
2023-05-11T16:20:30
195,057,250
0
0
null
null
null
null
UTF-8
Python
false
false
489
7
#!/home/piper/Documents/shortpythonscripts/CodeClubProjects/AboutMe/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[...
[ "arossbrian@gmail.com" ]
arossbrian@gmail.com
db7eca128d698041919735e0a472a63e06a753a7
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/maxas_limit/in_/__init__.py
c51e23e84b45f64d9b0a21b1efbfdcfa29859956
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,628
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
f780da42cad3baae6415617f60277acd128d2287
70026e9e5a6d9f70057574c749d0ef8b603763f5
/importers/access_technical/formmaps.py
866000798513181e56fd4025121468b338687cfd
[ "MIT" ]
permissive
GreenBankObservatory/nrqz_admin
96b113e640bfdec221631626114665ef1f684cc5
c8e0876c3ab7a3feae578fa725dbfd1bdbe52a61
refs/heads/master
2023-05-11T16:28:21.731339
2023-05-01T14:25:25
2023-05-01T14:25:25
159,407,852
2
0
MIT
2022-12-14T04:13:35
2018-11-27T22:22:48
Python
UTF-8
Python
false
false
6,649
py
"""Field mappings for Access Technical Data""" from cases.forms import ( AttachmentImportForm, CaseImportForm, FacilityImportForm, PersonImportForm, ) from django_import_data import FormMap, ManyToOneFieldMap, OneToOneFieldMap from importers.access_application.formmaps import ( convert_access_date...
[ "tchamber@nrao.edu" ]
tchamber@nrao.edu
6b4f25e1418ffb1fb811d8c6f83c611742df6f5e
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/G9QRtAGXb9Cu368Pw_0.py
0d8ae98acfb90be8f4463c1db4c4f1f435deb6cb
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
""" Create a function that takes a variable number of arguments, each argument representing the number of items in a group, and returns the number of permutations (combinations) of items that you could get by taking one item from each group. ### Examples combinations(2, 3) ➞ 6 combinations(3, 7, 4) ➞ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ee726722cbd056c4d788513d194afc4f90954599
8cc44eb6cc0fd2e74ce80246ad50e9d510591345
/q166.py
a583b83a24adaa9250c2bf69f67d3071ab70ad84
[]
no_license
gitttttt/lc
8b6521af300c6903f593b209783560b6b880d8ae
fa1a63cb192666fc6aa5c7c72130993818ea58d0
refs/heads/master
2020-05-30T07:12:56.955633
2016-12-14T03:16:42
2016-12-14T03:16:42
68,888,461
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
import time class Solution(object): def fractionToDecimal(self, numerator, denominator): """ :type numerator: int :type denominator: int :rtype: str """ n, d = numerator, denominator l = n/d n -= l*d tmp = {n: 0} c = 0 while n ...
[ "zhangyifan@neotel.com.cn" ]
zhangyifan@neotel.com.cn
8953b3de112833a058c748ef93792785f48fe80d
8ffccb986def3f1f669b475a8575e05dccd77163
/py23표준모듈/py23_03_datetime모듈.py
d91f40a9911edfa9aeb6f45ee703ff11527c81e6
[]
no_license
pythonJhu/testProject
09f5d412b0271e17b31f78fd7133d6e54464c41a
74f27b0f5c2b798122c3edbd66f7b485a8add6d5
refs/heads/master
2021-01-01T10:55:56.370576
2020-03-08T07:09:33
2020-03-08T07:09:33
239,248,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
################################# # datetime 모듈의 사용법을 익힌다. # #datetime.now() 현재 년월일시분초 가져오기 #datetime.timedelta() 시간 가감로세스를 주어진 초만큼 정지 #datetime.replace() 시간 교체 ################################# # 모듈을 읽어 들입니다. ######################## # 현재 년,월,일,시,분,초 출력하기 # 예시) 년 2020 # 월 3 # 일 2 # 시 15...
[ "bvyuguy@md.com" ]
bvyuguy@md.com
429bc5e46821a2fa089c5e110922970908977275
63b0fed007d152fe5e96640b844081c07ca20a11
/ARC/ARC127/a2.py
00dda31573e1fcb0413c9ee2b7d13c87101d1f8b
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
from itertools import groupby n = int(input()) def solve(): cnt = [0]*20 for k in range(1, len(str(n))+1): v = [0]*k for i in range(k): s = list('1'*(i+1)+'0'*(k-i-1)) p = list('1'*(i+1)+'0'*(k-i-1)) p[i] = '2' p = int(''.join(p)) s ...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
75ca5d6a2456e0e3f11abe3fcb9b840fd86d2842
d13a069fda8ce2e0a202eb43266af7558355cdc6
/LIZA_DAMIAN_CARLOS/app24.py
f6343e15eed5fb035ad6cd972c6bd35847859e27
[]
no_license
CARLOSC10/T09_LIZA.DAMIAN_ROJAS.CUBAS
879aba53c1db9ed2bfc4c37da3bf1cbd9df14d97
357ec4a3c266fa4ddf8d13b1ecb2af0feb604755
refs/heads/master
2020-11-27T04:52:52.004005
2019-12-20T18:10:12
2019-12-20T18:10:12
229,309,705
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import libreria import os #ARGUMENTOS densi=int(os.sys.argv[1]) grave=int(os.sys.argv[2]) altu=int(os.sys.argv[3]) precion_hidrostatica=libreria.precion_hidrostatica(densi,grave,altu) print("LA PRECION HIDROSTATICA ES:",precion_hidrostatica)
[ "clizad@unprg.edu.pe" ]
clizad@unprg.edu.pe
e1f15240af7d33b1d09beb66315b676acfcb2b78
978771b07fd3773462a12c27afa90d4c0ddc3efb
/nock.py
50538c1de19e452ede120e8871ec1d11fa2bbc2e
[ "MIT" ]
permissive
jtauber/pynock
168dd899f5f36ccf1a2903b8d8a8319f682b6648
a11f9088653aad5400a097026429a2599bca2d06
refs/heads/master
2021-01-10T21:08:02.963296
2014-07-15T22:47:54
2014-07-15T22:47:54
13,111,154
8
1
null
null
null
null
UTF-8
Python
false
false
2,834
py
#!/usr/bin/env python3 # [] def l(*lst): if len(lst) == 1: return(lst[0], 0) if len(lst) == 2: return lst else: ## LINE 2 return (lst[0], l(*lst[1:])) # * def nock(noun): ## LINE 1 return tar(noun) # ? def wut(noun): if isinstance(noun, int): ## LINE...
[ "jtauber@jtauber.com" ]
jtauber@jtauber.com
357501f3d0ec752589c89dd30414adf9e2c0c0f9
ae181bc91a206e6cfdf476f02bc3d5f48d155ade
/train.py
d6ce0e047c65eefd535c3693b44f13273a44b612
[ "Apache-2.0" ]
permissive
Guillem96/deep-erase
56042f396cfe02d031b464fd49e5f083ba7f4b74
faefdef3ac79b2365ecd0e12c14a4a4692e80c71
refs/heads/main
2023-03-10T16:02:55.542674
2021-02-23T09:06:50
2021-02-23T09:14:28
332,744,143
5
2
null
null
null
null
UTF-8
Python
false
false
4,610
py
import click from pathlib import Path from typing import Tuple from datetime import datetime import matplotlib.pyplot as plt import tensorflow as tf import deeperase def _show_batch(input_images: tf.Tensor, target_images: tf.Tensor): cols = 2 rows = input_images.shape[0] i = 1 for inp, target in z...
[ "guillem.orellana@gmail.com" ]
guillem.orellana@gmail.com
c19fc12e10af564f86825e8fa7baa0775f6b376e
9a9d1e0a2185985b12adebdd15540a91012bbe1d
/Algorithms/3.4/linear_probing.py
25468d72f492295fb57985ca06b5b637ed7a26ea
[]
no_license
soasme/Practise
2c15844ce31c36bad9d46e800afbc411bb16fa24
68b07fd91cd3106dd19bbc43144a5c7d95f18d2e
refs/heads/master
2020-05-16T22:25:37.143113
2013-08-01T01:39:33
2013-08-01T01:39:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,659
py
# -*- coding: utf-8 -*- class NullItem(object): def __repr__(self): return 'Null' nullitem = NullItem() class LinearProbingHashTable(object): def get(self, key): start = self.hash(key) index = start while True: if not self.keys[index]: return ...
[ "soasme@gmail.com" ]
soasme@gmail.com
689fc26a3c7f494805b9a1320bd1041d3fd5e63f
411c286e478f54caeff3e97096543729eaf04673
/energypy/common/memories/register.py
01bc67ba802e1dbafb1c2621dcac45a5a6b83891
[ "MIT" ]
permissive
winonecheng/energy-py
bab64f8e8b3c16bab94002d996f0ec52489fcb4f
1ac00446cfd6baf335f3772c679488758f9bfded
refs/heads/master
2022-09-13T22:43:19.469607
2020-05-27T00:46:20
2020-05-27T00:46:20
261,758,799
0
0
MIT
2020-05-06T12:57:11
2020-05-06T12:57:10
null
UTF-8
Python
false
false
571
py
from energypy.common.memories.array_memory import ArrayMemory from energypy.common.memories.deque_memory import DequeMemory from energypy.common.utils import load_pickle memory_register = { 'array': ArrayMemory, 'deque': DequeMemory, } def make_memory(**kwargs): """ makes a memory for an agent to store...
[ "adam.green@adgefficiency.com" ]
adam.green@adgefficiency.com
8aa3eff7382385d8e13decb1696b941136374141
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/189/36614/submittedfiles/triangulo.py
493c9e3b4bc7b09447795aadd4639235b06c8bf5
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- import math a=int(input('digite o a:')) b=int(input('digite o b:')) c=int(input('digite o c:')) if a-c<b<a+b and a-b<c<a+b and b-c<a<b+c: print('S') if (a**2)==(b**2)+(c**2): print('Re') if (a**2)>(b**2)+(c**2): print('Ob') if (a**2)<(b**2)+(c**2): print(...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c6e9cf996b39333196e449a0649d2889a1f486dc
c6dc8b682aea706b18b05952f791e01989db3669
/Programiz/factorsOfNumber.py
f8ec3ddce9db6b08958d547ad481ecf2dece139e
[]
no_license
LizaPersonal/personal_exercises
aeb9ceb2593a6d5ee1a8e9f7c0862ce638acd29b
649dc0c116861995fbf58b4736a0c66fd75d648c
refs/heads/master
2021-04-03T02:17:51.850676
2018-07-31T21:10:59
2018-07-31T21:10:59
125,123,778
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# Python Program to find the factors of a number # define a function def print_factors(x): # This function takes a number and prints the factors print("The factors of", x, "are:") for i in range(1, x + 1): if x % i == 0: print(i) num = int(input("Enter a number: ")) print_factors(n...
[ "liza@rocketrip.com" ]
liza@rocketrip.com
7c8fb360d10d6ab1061501420f9566bcd064b40c
36e4626b0b1740bcfe9dc067dca5a672fc578bf8
/QuestionTypes/venv/Scripts/easy_install-3.7-script.py
c832aded675efdc036a8099250ce8f408e7e2bfb
[]
no_license
MiaZhang0/Learning
3e6aaefcf61c8f3d5a1907f4acdd0b400455e782
eeb196c245322c8b96b8a542c88eb35064f6398a
refs/heads/master
2022-10-08T15:44:37.328099
2020-07-30T06:56:14
2020-07-30T06:56:14
189,350,248
0
1
null
2022-10-01T11:40:33
2019-05-30T05:20:13
Python
UTF-8
Python
false
false
455
py
#!E:\workspace\Learning\QuestionTypes\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "xiaomei_zhang93@126.com" ]
xiaomei_zhang93@126.com
69cb268a9f079de02e6051b40a76a7bf315f3b64
1ba5c90292dbed982a23167fd083dd2cf29f6d8d
/boliau/cmd.py
889b173587b4e455d1d2d81770686d0be15f7399
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
hychen/boliau
8d99a331056ef18001cae5503084624c1e43618c
618e4557c7b4a3d97c9926b1d7e691291472ff7c
refs/heads/master
2021-01-01T17:37:25.012545
2013-08-16T09:58:58
2013-08-16T09:58:58
7,454,169
1
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
#!/usr/bin/env python # -*- encoding=utf8 -*- # # File: cmd.py<2> # # Copyright (C) 2012 Hsin-Yi Chen (hychen) # Author(s): Hsin-Yi Chen (hychen) <ossug.hychen@gmail.com> # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Softwar...
[ "ossug.hychen@gmail.com" ]
ossug.hychen@gmail.com
22c9a403565f3d50832ae269ede84d75b6f496c1
39441d237f5acec220ff20e8005675ae24263feb
/pylibrary/plotting/colormaps/option_b.py
11008098ddd29fae7a38d9a5ce6f0fe103fd61d1
[ "MIT" ]
permissive
pbmanis/pylibrary
ed5a528891b0ab11b85a21c521695f409dd6a6df
07e48582dc1456bd80e2fa9c12bef4eb7641acae
refs/heads/main
2023-08-19T02:58:39.205092
2023-08-03T20:21:11
2023-08-03T20:21:11
16,565,856
3
1
null
null
null
null
UTF-8
Python
false
false
17,049
py
from matplotlib.colors import LinearSegmentedColormap from numpy import nan, inf # Used to reconstruct the colormap in pycam02ucs.cm.viscm parameters = {'xp': [0.62912107182941668, 5.9459613496072166, 109.50795214009284, -21.828857638709152, -6.5743399496759416], 'yp': [-9.0711805555555429, -75.15190972...
[ "pmanis@med.unc.edu" ]
pmanis@med.unc.edu
30ffa913c0d48fabc85d7ec5bdcb9c547a074b77
9db903f5bae9f3832f37028e17116fc9ad853078
/Io.py
2eec0901e0342e1e71b79214946617d46c4f560c
[ "BSD-3-Clause" ]
permissive
tbekolay/behaviour-tool
d852c46b2036265389772383c4002427842cafea
c15df562bac0e601a56f95c4bc91ff261cb6d26e
refs/heads/master
2016-09-10T13:41:43.373418
2013-03-12T21:28:12
2013-03-12T21:28:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,524
py
# Copyright (c) 2010, Trevor Bekolay # 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 must retain the above copyright notice, this # list of conditions ...
[ "tbekolay@gmail.com" ]
tbekolay@gmail.com