blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
4d585384763e05c817c96b0c49c9bd2ef8a0913c
859707c2bd1ad4c0cd8a5b36bc2f75da439fda33
/core/migrations/0004_auto_20190912_1320.py
0c2401d84ebe7644c122fbaf57f46897d16c596c
[]
no_license
aashima18/django-assignment2
41d7ecf75c749bbd8ad7d303aaee24cb9298e726
e58685297504cb4aa0e2b1cafca66594191e860c
refs/heads/master
2020-07-28T04:02:07.615616
2020-02-06T09:45:37
2020-02-06T09:45:37
209,016,732
0
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
# Generated by Django 2.2.5 on 2019-09-12 13:20 import core.models import core.validators import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_assignment_descripti...
[ "gargradhika0302@gmail.com" ]
gargradhika0302@gmail.com
898e65343fa8be03c32018d2c21f1de9e9a91ee5
005e918a0696bc4803e5dbe2388a155180379386
/000 tasks from programming/Ruslan/001/A+B.py
d3fc30aea2c1e1e49986eb1025ebd405253a5516
[]
no_license
zver1zver2/z261177z
25d4a50e43684c41ee0583aea0220ae22ac0a11e
652d4ec0a2860fae5b375b670cf189155f8dab8b
refs/heads/master
2020-04-17T10:03:20.151176
2016-10-18T11:18:49
2016-10-18T11:18:49
67,540,258
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""Задача №1 A+B (Время: 1 сек. Память: 16 Мб Сложность: 2%) Требуется сложить два целых числа А и В. Входные данные В единственной строке входного файла INPUT.TXT записано два натуральных числа через пробел, не превышающих 109. Выходные данные В единственную строку выходного файла OUTPUT.TXT нужно вывести одно цел...
[ "makievrus@gmail.com" ]
makievrus@gmail.com
74bd135799b9e379b5796b460765ca522fa803cf
21ba4d9c3c16a1c77035caba86b6c381ab0b8237
/Modules/Propagators.py
c655fd0a0c166c9d7662d4f31b8339c676c85155
[]
no_license
Palash-Patole/MoMpy
fe4df3dce93662a04ddd24820d9d8f3c5ad36fde
22e7ba44f2cbdf0cac8c3fac321206b421651521
refs/heads/master
2022-11-28T16:32:56.002546
2020-07-31T12:59:49
2020-07-31T12:59:49
203,998,587
0
1
null
null
null
null
UTF-8
Python
false
false
4,205
py
# -*- coding: utf-8 -*- """ Code by: Palash Patole MoMpy Project: Modules Date of creation: Thu May 7 06:47:10 2020 Version: developed with version 3 of the laboratory script, Integ3.py Description: 1.Defined the propagator class 2.Propagators supported so far: Cowell 3.Central bodies suppo...
[ "palashpatole16@gmail.com" ]
palashpatole16@gmail.com
83b3deb8174bba8ac39e20780fc4b825ec21f97b
90c546a1f799cd7b118e4e16851dd4efa77991fe
/server/server.py
1ff94148b15f5af83f96f2b341c4f839e8361d3d
[]
no_license
rtmrtmrtmrtm/fug
ebc734cd2a60b1614ba4e7ca5286c5dc8de94629
7625f661e8b47835342a3200f499fa01fb69171b
refs/heads/master
2021-08-14T19:57:00.898717
2017-11-16T16:07:02
2017-11-16T16:07:02
107,767,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
import socket import threading import time import struct import json class Server: def __init__(self): self.db = { } s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(("0.0.0.0", 10223)) s.listen(100) ...
[ "rtm@csail.mit.edu" ]
rtm@csail.mit.edu
627ae56760e71316805777959fe89f5f75dfad38
b888463595492442d6636416a6c4a0e23d090d93
/yahoo-answers/yahoourlextractor/YahooUrlSearcher/settings.py
d5d7349863ca90edf48c55e27d1b1d5a8b7d242e
[ "MIT" ]
permissive
pantherale0/qa-scrapers
cfe6d8f3547533e31f667e6f5122ab64cac49fe6
ac162d4c826fd3be653c29aaf0dc628f7d4861ca
refs/heads/master
2023-06-07T12:24:49.963135
2021-04-07T20:47:11
2021-04-07T20:47:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
# -*- coding: utf-8 -*- # Scrapy settings for YahooUrlSearcher project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/...
[ "calefato.uniba@gmail.com" ]
calefato.uniba@gmail.com
f10776cd8eece44485cc09761b3d3aae54044388
08e69b89815e7ad31f8d60d6744043e35bff17c8
/server/src/config/local.py
141a98e21d4222c71b7d2dfd7c4589d6e870d5d6
[]
no_license
dkrichards86/ip-heatmap
50ecd78c3dd2b7f920f95925ca418f63323d8220
e0d11f373df7bad9e5c3da2b6102416605b3c16e
refs/heads/master
2020-05-16T21:44:14.236638
2019-04-25T10:47:25
2019-04-25T10:47:25
183,314,837
1
0
null
2019-04-25T10:47:26
2019-04-24T22:20:25
Python
UTF-8
Python
false
false
447
py
import os from .common import Common BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) class Local(Common): DEBUG = True INSTALLED_APPS = Common.INSTALLED_APPS INSTALLED_APPS += ('django_nose',) TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' NOSE_ARGS = [ BASE_DIR, ...
[ "dkrichards@rti.org" ]
dkrichards@rti.org
0b4cd98072362cc8682d11ed73c4125e6c758daa
f707303e4dfe383cf82c23a6bb42ccfdc4cfdb67
/pandas-ml-common/pandas_ml_common_test/unit/utils/test_random.py
6a133b3025ab3ed9c52849c9e9d31683a5abd8f8
[ "MIT" ]
permissive
jcoffi/pandas-ml-quant
1830ec256f8c09c04f1aa77e2eecfba07d34fe68
650a8e8f77bc4d71136518d1c7ee65c194a99cf0
refs/heads/master
2023-08-31T06:45:38.060737
2021-09-09T04:44:35
2021-09-09T04:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from unittest import TestCase import numpy as np from pandas_ml_common.utils import normalize_probabilities class TestRandumUtils(TestCase): def test_probs_normalisation(self): p1 = [0.2, 0.8] p2 = [2, 8] np.testing.assert_equal(np.array(p1), normalize_probabilities(p1)) np.test...
[ "kic@kic.kic" ]
kic@kic.kic
031a31c56be87fce5cbb87131872eeeb083ec013
6ded879044abbe031d0c780af93858322d35c572
/s2protocol/versions/protocol82457.py
f35242b0988c8148c62e1b078ed3a70cca1d7876
[ "MIT" ]
permissive
Blizzard/s2protocol
987559ebb7939ec442c3bc25eec7f0789a0f2fb9
0eb6fa8885a7c9197252ca5d658b545930daed43
refs/heads/master
2023-08-31T21:06:44.370717
2023-08-28T18:22:17
2023-08-28T18:22:17
9,921,838
472
111
MIT
2023-04-12T18:57:52
2013-05-07T21:15:37
Python
UTF-8
Python
false
false
31,561
py
# Copyright (c) 2015-2017 Blizzard Entertainment # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, ...
[ "sc2github@blizzard.com" ]
sc2github@blizzard.com
213701be0bd38c30d0f30b16769058ee1f038a80
18ab6ee2b8864949375bc13d69b299a771b265c8
/departments/urls.py
3e94bf2c68b0cb6b43dfff16bbd46215ab583a51
[]
no_license
bala833/college
f8e7bd7c92adcb7e4783fe568615bc3a13f72cfa
c1d8a3b6efa62e6a572620b841b9d0b3919cac8b
refs/heads/master
2023-03-29T08:04:45.512110
2021-04-01T14:31:22
2021-04-01T14:31:22
289,534,953
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from django.urls import path from . import views from django.conf.urls import include, url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.conf.urls.static import static # from django.conf.urls.defaults import * from django.conf import settings # app_name = 'departments' urlpatterns = [...
[ "balaprajapati02@gmail.com" ]
balaprajapati02@gmail.com
0031c316aec50693090c60694db43e3cae91460d
2fcec8f06f5728225cadeb8fa1b51557048cbe9d
/discomegle/discomegle.py
04e312598b2ab43591df6a07b3ce33c46952a662
[ "MIT" ]
permissive
haaddaa1/Maybe-Useful-Cogs
89a536f096675cc1d6e13f62d0ff5457c9a01a9b
a1167c3f720973ba994b0a86146f75b459fe39fe
refs/heads/master
2020-05-25T11:30:55.719408
2017-02-28T07:10:29
2017-02-28T07:10:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
import discord from discord.ext import commands import aiohttp import asyncio import random from __main__ import send_cmd_help from bs4 import BeautifulSoup from .utils.dataIO import dataIO, fileIO prefix = fileIO("data/red/settings.json", "load")['PREFIXES'][0] class Discomegle: """Lets you chat with...
[ "noreply@github.com" ]
noreply@github.com
ab36d06b0e0193e002155363f05d283866367536
e77af89bcae4a06ecac79b3de9a18606289df6cc
/examples/py-fastapi/cryptarithm/parse.py
a63820f6d55fb83e1ac93149255a54eec6121de9
[]
no_license
masu-mi/playground
061b0e767c2f4f9e8d2b940fc0258020189ab258
e471e4112e93eec54304964a114a438ae6f71600
refs/heads/master
2023-03-17T10:32:32.296959
2022-02-03T02:35:37
2022-02-03T02:35:37
35,765,729
0
0
null
2023-03-07T00:33:25
2015-05-17T12:45:21
Go
UTF-8
Python
false
false
1,437
py
# coding: utf-8 import lexer from node import Op,EqExp,Var from typing import Iterator,Union """ Parse """ class Parser: def __init__(self, tokenizer: Iterator[lexer.Token]) -> None: self.tokenizer = tokenizer self.nextToken() def nextToken(self) -> None: self.head = self.tokenizer._...
[ "masumi.net@gmail.com" ]
masumi.net@gmail.com
067ce33eafbe4c1c51747c5eb5970cedf9a777da
83b1b8b8af455c0725e057bd6cf7c341072f85c7
/tests/unit/module_orm_test.py
fddfae8dd49c3f0170f822a5dab41ba6f3e123f4
[]
no_license
biellls/python_swift_generation
4814b19d3999cd65f74eb4803b5e4c3101e026d5
b10c8f343a7af5e55b94b35de8afdea0ae8e7041
refs/heads/master
2020-07-23T23:39:07.421722
2019-09-18T21:05:15
2019-09-18T21:05:15
207,740,396
1
0
null
null
null
null
UTF-8
Python
false
false
930
py
import mock from swift_python_wrapper.core import create_module_orm from swift_python_wrapper.rendering import SwiftModule, NameAndType, Function, SwiftClass, MagicMethods from samples import basic_module def test_basic_module_orm(): module = create_module_orm(basic_module) assert module == SwiftModule( ...
[ "gllobera@hotelbeds.com" ]
gllobera@hotelbeds.com
fcf55a4fddc13ca572e10aa7e84b4eff65180432
30a3fb90601e0e4a91e9792bce7ac668f3163c11
/tf_files/aws/modules/common-logging/testLambda.py
821b77886696a27818af37a825ea2bf4063d78e8
[ "Apache-2.0" ]
permissive
uc-cdis/cloud-automation
dbea462b2cb80db52fd6ebeb4a4ccc3c4a7a560c
607ef49e304358732f018c0c2c3c5ef8bdef2647
refs/heads/master
2023-09-01T15:54:29.625525
2023-08-31T15:38:47
2023-08-31T15:38:47
74,061,703
44
76
Apache-2.0
2023-09-14T19:17:56
2016-11-17T19:48:51
Shell
UTF-8
Python
false
false
5,758
py
#!/usr/bin/env python3 import pytest import lambda_function example = {'Records': [{'kinesis': {'kinesisSchemaVersion': '1.0', 'partitionKey': '81a6fb0168975347bb8d9ed7cd945367', 'sequenceNumber': '49582863307409319741090962153614735877224301205609512962', 'data': 'H4sIAAAAAAAAAMWQS2vDMBCE/4rQKYEI9JZl6CG0aU5pocmthCDba...
[ "fauzigo@gmail.com" ]
fauzigo@gmail.com
e948993058ede7b8582392788fb6f8fda86394fb
946f9fc9537916948f77ce254ee916bc098dd28a
/Projects/2_Classical Planning/my_planning_graph.py
a9435c821766fa253b46bf4aa599d4b85cc12e16
[ "MIT" ]
permissive
actuallymentor/artificial-intelligence
bdac867753e65c373b2778fba5a1eafff8b1e4b5
213989697ab5c06a28d16537b0ee7b5d83037c71
refs/heads/master
2020-03-12T22:04:56.620931
2018-04-24T20:05:45
2018-04-24T20:05:45
130,840,361
0
0
MIT
2019-03-16T09:30:07
2018-04-24T10:58:34
Python
UTF-8
Python
false
false
8,624
py
from itertools import chain, combinations from aimacode.planning import Action from aimacode.utils import expr from layers import BaseActionLayer, BaseLiteralLayer, makeNoOp, make_node class ActionLayer(BaseActionLayer): def _inconsistent_effects(self, actionA, actionB): """ Return True if an effect of...
[ "cgearhart@gmail.com" ]
cgearhart@gmail.com
91f77e66b22d6e2728eee2b1c6469a90df223bca
615f607894f17d6239334738796daa3c46520785
/pizzas/admin.py
06e6f0fbb1b8f95ee02294246d90fe3c9135fc4b
[]
no_license
araza17/EmployeeLogin
d68c3816be4ad509ae56d12e07aef5aaa22ebc1f
612792bd8df1c30069085899217c6356f592e26b
refs/heads/master
2021-04-09T13:16:49.255580
2018-03-17T00:34:54
2018-03-17T00:34:54
125,583,328
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.contrib import admin from pizzas.models import Pizza from pizzas.models import Topping # Register your models here. admin.site.register(Pizza) admin.site.register(Topping)
[ "Ali.Raza@ucdenver.edu" ]
Ali.Raza@ucdenver.edu
d1b6d651f777c45464dcbacff005184aa87ae11f
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/vim_esx_cl_ifcoeadapterlist_fcoe_adapter_device.py
3330a86d5a6754317ae63e082cfb7c861561ad0d
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,122
py
import logging from pyvisdk.exceptions import InvalidArgumentError # This module is NOT auto-generated # Inspired by decompiled Java classes from vCenter's internalvim25stubs.jar # Unless states otherside, the methods and attributes were not used by esxcli, # and thus not tested log = logging.getLogger(__name__) de...
[ "jmb@pexip.com" ]
jmb@pexip.com
5087615d25382cb628dda726b1e81ce17992c464
dd1424b76ed7b9cced681ab13c87026b35124bc4
/feature_engine/discretisation/equal_frequency.py
26fe62a936abf6763739478b2bd9123083756fbf
[ "BSD-3-Clause" ]
permissive
solegalli/feature_engine
2c685b34db53681d14ae9dc3115534924596dba6
3cd3bbb6e6bcb0e7ce7321684ced2a3f3a33d48d
refs/heads/main
2023-07-06T21:15:56.288083
2022-12-07T10:32:49
2022-12-07T10:32:49
394,274,826
42
13
BSD-3-Clause
2021-09-10T22:01:57
2021-08-09T12:02:48
null
UTF-8
Python
false
false
4,681
py
# Authors: Soledad Galli <solegalli@protonmail.com> # License: BSD 3 clause from typing import List, Optional, Union import pandas as pd from feature_engine._docstrings.fit_attributes import ( _feature_names_in_docstring, _n_features_in_docstring, _variables_attribute_docstring, ) from feature_engine._do...
[ "noreply@github.com" ]
noreply@github.com
53e916a2354173ad94fe2ffd901c9249e8a2572a
539af892f18d9a63f1d6966a15a100f004a5a908
/next-greater-number.py
cd9e250103832cc5ad5f3643d483ac75584f541a
[]
no_license
woofan/leetcode
5f0e7cfbcd9d0fddd7b25c7a96896e6a24ccbd15
4a13026b6e04a71d5da56c7c35ac58877b27f69b
refs/heads/master
2022-12-05T17:27:00.979915
2022-11-09T08:58:01
2022-11-09T08:58:01
226,093,086
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
def nextGreaterElement( nums1, nums2) : res = [-1] * len(nums1) for i in range(len(nums1)): for j in range(nums2.index(nums1[i]),len(nums2)): if nums2[j] > nums1[i]: res[i] = nums2[j] break if j == len(nums2): res[i] = -1 return res p...
[ "495464616@qq.com" ]
495464616@qq.com
8888d46889946f988eb20fc501f535f5c8b0bd90
799a8fbd2dab27b73185bd52b50496d35e080576
/mcs-tree/kruskal.py
ed9ab2736a352e7026fc985ffe3591afec0dc97b
[]
no_license
brandonartner/algorithms-python
bec78ac5a28d14fc1b71213274774b9797a011e4
40dd9daa8696f026494970b966420bc6fe6fb34c
refs/heads/master
2020-03-30T11:23:18.079728
2018-10-02T16:07:43
2018-10-02T16:07:43
151,139,886
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
import pprint import re import sys import math def has_edge(edges,start,end): contains_edge = 0 for edge in edges: if edge[0] == start and edge[1] == end: contains_edge = 1 break return contains_edge def display(T, n): for i in range(n): if i > 0: ...
[ "brandon.artner739@myci.csuci.edu" ]
brandon.artner739@myci.csuci.edu
e91853637601aa21c0789d573b45a57b0514e39b
bb7758af87dddc37af8c8f151e5f9cc87f050549
/helper/bp_write.py
0c35c2023103f6458662b5345f70921e5fe995e8
[]
no_license
zyrcon/stratasys
1c9552eaee4b01dc75636913791828cd365b20f8
f6f59eedb02fd2e9fcf595b7e3767dd40329df3c
refs/heads/master
2020-04-24T20:43:55.028393
2019-02-23T19:20:08
2019-02-23T19:20:08
172,253,779
1
0
null
null
null
null
UTF-8
Python
false
false
5,623
py
#!/usr/bin/env python2 # Copyright (c) 2014, Benjamin Vanheuverzwijn <bvanheu@gmail.com> # 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 abo...
[ "noreply@github.com" ]
noreply@github.com
771f82b1529867ea4e13963c6cf6ef6d6932fb22
16d4474e7777da03aef6ead78e112edf8931d131
/core/migrations/0007_category_direct_link.py
e10d5e9b585a815fcb128bd6f83b63203f61be65
[]
no_license
BijoySingh/HomePageMaker
f91dd03bc1e2b6a46893b8738f87686d105968b8
ba366dfd9514b10cc6283bb4e120037f8229fc1e
refs/heads/master
2020-12-06T23:51:51.122187
2017-01-30T23:31:38
2017-01-30T23:31:38
66,867,578
1
1
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-01 06:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_content_cover'), ] operations = [ migrations.AddField( ...
[ "bijoysingh693@gmail.com" ]
bijoysingh693@gmail.com
7f97fa2e91cadaf0707c10756b5b16de098158ae
0040b489b76f2d321b5ec1d65fb3574449f7cdc5
/tutorials/climate/ERA20C_MEI_2D/ERA20C_MEI_2D.py
997d1e01669f455c2d5137dba27e3b32c3b7695f
[ "MIT" ]
permissive
mathrack/PySPOD
0f6780172f7d76918ac93e360df6801ad6e45eee
f3629651d5b939f2bda6ab58981031072faf2c4a
refs/heads/main
2023-06-11T22:40:27.864426
2021-06-23T06:09:42
2021-06-23T06:09:42
349,419,823
0
0
MIT
2021-04-29T11:52:43
2021-03-19T12:44:17
null
UTF-8
Python
false
false
3,600
py
import os import sys import xarray as xr import numpy as np from pathlib import Path # Current, parent and file paths CWD = os.getcwd() CF = os.path.realpath(__file__) CFD = os.path.dirname(CF) # Import library specific modules sys.path.append(os.path.join(CFD, "../../../")) from pyspod.spod_low_storage import SPOD...
[ "gianmarco.mengaldo@gmail.com" ]
gianmarco.mengaldo@gmail.com
6ba11a740ab4ebb1f7828985fc6b159c6a717ad3
a0c59fe83a52a2168878b7620c35847d4cfa342f
/merge contents of two files.py
f8ccde5fbab4c297b04f133fd78bd22ea67ca948
[]
no_license
adityagith/pythonprograms
6e893c941817caf8730483d189c0da66b93a1926
49302e7eb5cd4b9da2351abebda1fc66bee3c95b
refs/heads/master
2022-11-22T05:09:03.442736
2020-07-28T10:53:42
2020-07-28T10:53:42
283,184,048
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
file1 = open("file3.txt","a") file2 = open("file1.txt") file3 = open("file 2.txt") file1.write(file2.read()) file1.write(file3.read()) file1.close() file2.close() file3.close() print("Heres the merged data of the two files\n\n") file1 = open("file3.txt","r") print(file1.r...
[ "noreply@github.com" ]
noreply@github.com
b691d12b39a29cffccfd1c54e721682c233e2320
7f2fc00415c152538520df84387549def73c4320
/s_backbones/shufflenetv2.py
8c6ee5b4b58efa8e8aad08950d4b0e06328ee77f
[ "MIT" ]
permissive
mxer/face_project
da326be7c70c07ae510c2b5b8063902b27ae3a5b
8d70858817da4d15c7b513ae492034784f57f35f
refs/heads/main
2023-08-06T09:24:49.842098
2021-09-18T08:32:18
2021-09-18T08:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,920
py
import torch from torch import Tensor import torch.nn as nn from typing import Callable, Any, List __all__ = [ 'ShuffleNetV2', 'shufflenet_v2_x0_1', 'shufflenet_v2_x0_5', 'shufflenet_v2_x1_0', 'shufflenet_v2_x1_5', 'shufflenet_v2_x2_0' ] def channel_shuffle(x: Tensor, groups: int) -> Tensor: batchsize, ...
[ "chen19940524@live.com" ]
chen19940524@live.com
b3c6f8b199115f12bd32d0061f4a571a117ca082
0bde5f7f09aa537ed1f4828d4e5ebee66475918f
/h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame_mult.py
f2690d0cf18bb0a449c22efbf81071d98ed0caba
[ "Apache-2.0" ]
permissive
Winfredemalx54/h2o-3
d69f1c07e1f5d2540cb0ce5e6073415fa0780d32
dfb163c82ff3bfa6f88cdf02465a9bb4c8189cb7
refs/heads/master
2022-12-14T08:59:04.109986
2020-09-23T08:36:59
2020-09-23T08:36:59
297,947,978
2
0
Apache-2.0
2020-09-23T11:28:54
2020-09-23T11:28:54
null
UTF-8
Python
false
false
1,178
py
from __future__ import print_function import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o import numpy as np from h2o.utils.typechecks import assert_is_type from h2o.frame import H2OFrame import random def h2o_H2OFrame_mult(): """ Python API test: h2o.frame.H2OFrame.mult(matrix)...
[ "noreply@github.com" ]
noreply@github.com
e967581074ee231c67a7f10c06ca6d07b6452aba
51f6443116ef09aa91cca0ac91387c1ce9cb445a
/Curso_de_Python_3_do_Basico_Ao_Avancado_Udemy/aula165/aula165/wsgi.py
6a1760d3a621190f05ff162edb5cb0e32301a322
[ "MIT" ]
permissive
DanilooSilva/Cursos_de_Python
f449f75bc586f7cb5a7e43000583a83fff942e53
8f167a4c6e16f01601e23b6f107578aa1454472d
refs/heads/main
2023-07-30T02:11:27.002831
2021-10-01T21:52:15
2021-10-01T21:52:15
331,683,041
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for aula165 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "dno.gomesps@gmail.com" ]
dno.gomesps@gmail.com
bc16bf313857fa136cd160dd511e148600093d21
d62361a23983d8610fb117ed3fa239e27377c531
/exercise1.py
04005ca377feae5c3f0a97c72ce1717dd13d0b1a
[]
no_license
Sheetal2304/File
593f20cfbf01d0d96297f61537b4bf0046004e83
c635d885a2b545b772827f6f6d7296b12c2340ea
refs/heads/main
2023-07-15T07:25:38.086780
2021-08-13T08:58:46
2021-08-13T08:58:46
395,584,008
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from os import read my_file=open("exercise1.txt") my_data=my_file.read() print(my_data) my_file.close()
[ "noreply@github.com" ]
noreply@github.com
427be95a3e10919c7f60362ba818390acf5a3f9b
1b7929f6e521042595fa5d8b04753b09fcf4825c
/webdev/public_catering/hello_py.py
cf5c547298ec0d27dc37cca15384c843c4bae85b
[]
no_license
xyzza/convert_hg
a73b8c5b3681decd75540570ff6ba0c7cf1ce576
9cfd9b34fcebbb2c0583b6bb19a98f28870c293d
refs/heads/master
2021-01-10T21:07:04.499530
2014-04-15T13:09:36
2014-04-15T13:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
#coding:utf-8 """ This is new python module for some stuff ok, i'll fix it! """ import os import sys print "hello module 01 in task 003"
[ "devnull@localhost" ]
devnull@localhost
422112e2531b3ae61aaa64ad6047343610cf1ba1
847c2cea3e967157d25e9e3e60d719cd1d64300d
/pydux/create_store.py
6cccee1cc3787e04b9a71aab84352fbe45cca4fe
[ "MIT" ]
permissive
chriskiehl/pydux
26c5f9064ee00185e7f56f4308b78be582fabbfa
1bc044c912912c1c7f2623a4cfef543d3f9b2954
refs/heads/master
2021-01-19T21:13:49.912634
2016-10-28T15:04:06
2016-10-28T15:04:06
74,156,606
2
1
null
2016-11-18T18:37:03
2016-11-18T18:37:02
null
UTF-8
Python
false
false
3,532
py
""" python + redux == pydux Redux: http://redux.js.org A somewhat literal translation of Redux. Closures in Python are over references, as opposed to names in JavaScript, so they are read-only. Single- element arrays are used to create read/write closures. """ class ActionTypes(object): INIT = '@@redux/INIT'...
[ "benjamin@rqdq.com" ]
benjamin@rqdq.com
a148cf3b8c710ee6206ac5e5aa858c8f33289c42
84f33f60f2c6ca36d2eca62d8757315d6085e312
/Source/Favorites/remove.py
eb858951e4900ef0eb6f6d064faf0566927ba5bc
[ "MIT" ]
permissive
TylerEich/Alfred-Extras
a4bf67e44518ffa58cb54b60509a320321f91857
dec2524447281760af705037ee9d5bdb17e8d849
refs/heads/master
2021-07-16T16:52:09.230947
2021-02-19T00:37:31
2021-02-19T00:37:31
9,268,808
128
16
MIT
2020-12-19T16:32:39
2013-04-07T00:26:59
Objective-C
UTF-8
Python
false
false
1,011
py
from os import path from types import * import alp if len(alp.args()) > 0: deletes = alp.args()[0].split('\t') else: print 'Nothing to remove.' raise SystemExit # SCRIPT EXITS # Sync & load favorites favs = alp.jsonLoad('favorites.json', default=[]) if type(favs) is DictType: favs = favs.values() if not favs: p...
[ "tyler2eich@gmail.com" ]
tyler2eich@gmail.com
66b90b6f418d992c6ad9d02a5fe1900d54a2d4dd
ba5040cfb937048fc54e016c5f241af3ae065ba4
/rasp_env/bin/pip3
08d8f69c9e2fbe7574d7a1e186913187ee4130af
[]
no_license
nick-pessim/rasp-log-system
dd303c03fb7cb88f1b7e87a162d6df64afd11058
0c52f39abfc0a30792e6f84c978ffcef2239d375
refs/heads/master
2022-06-09T06:25:30.972792
2020-05-06T09:07:32
2020-05-06T09:07:32
255,386,491
1
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/zvs-serv/rasp-log-system/rasp_env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nickolaspessim@hotmail.com" ]
nickolaspessim@hotmail.com
456e3a1355b7fa424438e782c7ca9bc3062478fa
a8a08fec453edf14c77ee9176ea626da2992cc67
/algorithms/hea.py
ea679d7d112b099c033588e434c446e3930b0706
[]
no_license
albertyw/rosalind
5098fb87664ae851e97b704cc3dbb3fc962db214
dfb2a2ccd26f789350c4d4a7c3e9a636140b8db2
refs/heads/master
2021-01-19T06:35:28.877873
2015-08-02T04:57:46
2015-08-02T04:57:46
8,350,016
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# Building a Heap # http://rosalind.info/problems/hea/ import inputparser def hea(data): heap = [0] for val in data[1]: heap.append(val) index = len(heap)-1 while heap[index/2] < heap[index] and index/2 > 0: temp = heap[index/2] heap[index/2] = heap[index] ...
[ "albertyw@mit.edu" ]
albertyw@mit.edu
eacff4f7baf62ec96220699591b17e93ef0738ac
e7f1bf5ff4616e85a70b607dee5328cec7e18d41
/正则表达式/demo.py
2f2e42a9f534bcb244a850b2e21520cda15cc9a4
[]
no_license
LibreChou/python3
5bf9a3d5e7d453062c5b06ac2ef7f79c5265b1a1
4e92a1ca22ff38c3eac3240b8ed819894ed580aa
refs/heads/master
2021-05-22T23:59:17.764309
2019-11-05T09:56:04
2019-11-05T09:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,523
py
import re # match 的使用 # s = 'hello world' # pattern = 'Hello' # o = re.match(pattern, s, flags=re.I) # re.I 不区分大小写 # print(o) # 未匹配返回None # print(dir(0)) # print(o.group()) # 返回匹配的字符串 # print(o.span()) # 返回匹配的范围 # print(o.start()) # 返回匹配的开始字符索引 # 常用匹配符 # s = 'a' # s = 'A' # s = '8' # s = '_' # s = '\n' # # # ...
[ "1527396988@qq.com" ]
1527396988@qq.com
d952914b068624ae9ef9e884297601cba5ea8a3a
eac3fb72ebf0bae220a741986a777a8c7c1ae60b
/ex33b.py
048457a04b88c874d621371ece7083178c3c7ca3
[]
no_license
renvasanth/Learning
a1591765c55a6e847fbb0ccd6936c7bd72d4284f
7ecdb79cf17b26aa43ec68909c5d8a400e5bca47
refs/heads/master
2021-01-10T05:06:52.834647
2015-11-19T07:25:01
2015-11-19T07:25:01
43,491,185
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from sys import argv (script, end_number) = argv i = 0 numbers = [] for i in range(0, int(end_number)): print "At the top i is %d" %i numbers.append(i) print "Numbers now: ", numbers print "At the bottom i is %d" % i print "The numbers: " for num in numbers: print num
[ "renvasanth@yahoo.co.in" ]
renvasanth@yahoo.co.in
51421fefa8b1e90b5ab0a1c35aa72fdcfe1fe799
1d152d88b5d45091924e04d28ab469124bcc0785
/pythonAndSqlite/.metadata/.plugins/org.eclipse.core.resources/.history/a2/80d2196f0e840015194a84fd09ca207c
92e75efb3937ddfd8f42a2a94a757366ce2855bd
[]
no_license
nCombo/Python
81a6cfe65c71cfc8079a95f99c27003f2b4e9f4c
6659a20006a1acda45c481fd56db487f28f1520e
refs/heads/master
2020-04-30T14:19:21.292541
2016-02-04T21:19:12
2016-02-04T21:19:12
31,417,246
0
0
null
null
null
null
UTF-8
Python
false
false
362
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 5 nov. 2015 @author: combo ''' import sqlite3 conn = sqlite3.connect('ma_base.db') cursor = conn.cursor() cursor.excute(""" CREATE TABLE IF NOT EXISTS users( id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE, name TEXT, age INTERGER ) """) conn.cm...
[ "combo.nourdine@gmail.com" ]
combo.nourdine@gmail.com
5dd62593440005609bba838017763978cbf2f76a
c91c0216a9cd33994af0d603e66c032033c8810b
/sai_numpi/matrix7.py
f6133489693485dbb6864f8a0a6705781023b8f4
[]
no_license
ponnuru171/Python-1
2ab83f938e9429d48c26ed75e71429de4d76b1d3
003ad0ec9897b9cab4727c237f0ca78b94493cc6
refs/heads/master
2022-12-27T10:30:40.642857
2020-10-13T06:40:54
2020-10-13T06:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import numpy as np x=np.array([1,2,3,4,5,6,7,8]) print(x.shape) x.shape=(4,2) print(x) x.shape=(2,4) print(x) x.shape=(8,1) print(x) print(x.ndim)
[ "venkatasai4050@gmail.com" ]
venkatasai4050@gmail.com
bdf0811838f676541a1b9d3f42b54f5d03f89340
c20ac0daddda14529d9afdfec76b3618539337ac
/run.py
8480810d5c8ad234b645e442e10c0f961ee952af
[ "CC-BY-3.0" ]
permissive
rgeoghegan/python-ireland-2011-02-unittests
e5f58901854db2679e77f7b349eec840db9fcbf2
a905ad49f6150a943eea961c6d6b474fc80152d5
refs/heads/master
2020-03-25T01:41:28.979972
2011-02-07T21:53:35
2011-02-07T21:53:35
1,339,545
0
1
null
null
null
null
UTF-8
Python
false
false
166
py
import dblayer db = dblayer.DBLayer("test.sqlite") for n in range(1,11) + [12]: w = dblayer.Widget(float(n)) db.insert_widget(w) print db.average_length()
[ "r.geoghegan@gmail.com" ]
r.geoghegan@gmail.com
7c6a33bc5ac61d7382e8da3e8bda249f13e1e8b5
b3c72156fba9a48091e6c5892a393b287521a296
/4_DCP.py
06d542d523a65386863ced8f59e402f9e6e8f7bf
[ "Apache-2.0" ]
permissive
T-Santos/Daily-Coding-Problems
cf711e45307f499d0250ec010a899eee58cc7872
f45c387a1c56648bf6b9b094ec60ab5f9e5127ed
refs/heads/master
2021-04-26T22:45:21.092357
2018-03-24T14:34:26
2018-03-24T14:34:26
124,142,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
''' This problem was asked by Stripe. Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array. The array can contain duplicates and negative numbers as well. For example: The input [3, 4, ...
[ "1tsantos7@gmail.com" ]
1tsantos7@gmail.com
104b4998183f65e0cf582dc98d3567e08ab64d65
d499472121517697fe723472a86a3245472ff551
/lib/auxcli/components/hardware/hat-waveshare-pn532-nfc/pn532/pn532.py
4664ffce1b0c5d04c8c94737c001f5cec5aa3224
[ "MIT" ]
permissive
casual-simulation/aux-cli
fc6fdc37ae102b458e673552863bb66c81bbb35f
9fe93605f032cd0f81afc4b48acb6eefcc3c455d
refs/heads/master
2022-11-20T12:26:30.485527
2022-11-11T17:33:01
2022-11-11T17:33:01
203,620,974
1
0
null
null
null
null
UTF-8
Python
false
false
25,488
py
# Waveshare PN532 NFC Hat control library. # Author(s): Yehui from Waveshare # Tony DiCola # # The MIT License (MIT) # # Copyright (c) 2019 Waveshare # Copyright (c) 2015-2018 Adafruit Industries # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associate...
[ "wesley@yeticgi.com" ]
wesley@yeticgi.com
c06019572c902779e71486a6b37277721f44d9ae
2f10c71bc4ee2eeabc67ce5a09bbc00f04e94740
/Project_1_Code.py
b2aa5ba3e2cfcdcc7923c07a9bf394c620fe89a5
[]
no_license
shreyas7124/Internsoft-Project--1
8812b1e1713a677566541cea490c7fd84cade7f0
f46c195852baf7203fd7e43511531ce15e8f603b
refs/heads/main
2023-08-03T11:26:57.100427
2021-09-10T12:03:22
2021-09-10T12:03:22
405,065,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 8 17:17:24 2021 @author: Shreyas S """ #IMPORTING THE LIBRARIES import pandas as pd import matplotlib.pyplot as plt data=pd.read_csv("advertising.csv") data.head() #To visualise data fig , axs =plt.subplots(1,3,sharey = True) data.plot(kind='sc...
[ "noreply@github.com" ]
noreply@github.com
808270b56854e917ed75cbf6c97e1c769dfb54cd
bc7b5d2477ca3b0c54383c97a19d29cb7cb63bc5
/sdk/lusid/models/resource_list_of_order.py
c5bac180964942bdd13bef10b9e59403e18824e9
[ "MIT" ]
permissive
mb-a/lusid-sdk-python-2
342b6e7b61ca0c93f43e72f69e572478e3a7be4f
0eee79c8e36188a735aaae578a9c4be2a8497aed
refs/heads/master
2023-07-15T16:15:11.878079
2021-08-25T20:52:27
2021-08-25T20:52:27
214,153,732
0
0
null
null
null
null
UTF-8
Python
false
false
6,906
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 0.11.3430 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ResourceListOfOrder(object): """NOTE: This cl...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
68739532baf131e6caa5b8f73a78a5f3c1dcdb5a
0abcd7664b0a44c8183b54441e98161af57aec79
/mvs_model/mvs_s.py
46a335f581eedc0d26cd1d1c95fbea25c3ebdee9
[]
no_license
sophia-hye/embedding_study
8efbaa7601ba54ecf8476aa943413242e8bce355
a4186f93ce5323c437aa22f9cd31e7ea53551e8d
refs/heads/main
2023-08-15T12:05:40.773869
2021-09-03T06:02:06
2021-09-03T06:02:06
328,598,080
0
0
null
null
null
null
UTF-8
Python
false
false
2,586
py
import torch import torch.nn as nn import torch.optim as optim # construct model on cuda if available use_cuda = torch.cuda.is_available() device = torch.device("cuda:0" if use_cuda else "cpu") class CNN(nn.Module): # @in_dim: dimension of inputted data # @out_dim: dimension of output data which user want t...
[ "kimjihae28@gmail.com" ]
kimjihae28@gmail.com
838a99328f271683ea7274a01883cf16a29fe0cf
64552e06355caae510fa3ba419395ab624076578
/stepik_tours/tours/views.py
978f06c13d3b87605eea366f002e348ab98bfccd
[]
no_license
lektor925/stepik_django
6e7b1de2806b9cde7abeae039c564a002a5cdfd4
d8a68f4478210bf035b7e034015b4259a46339aa
refs/heads/master1
2023-08-15T02:10:12.250383
2020-06-14T17:13:18
2020-06-14T17:13:18
271,190,466
0
0
null
2021-09-22T19:14:04
2020-06-10T05:50:38
Python
UTF-8
Python
false
false
275
py
from django.shortcuts import render def MainView(request): return render(request, 'tours/index.html') def DepartureView(request, departure): return render(request, 'tours/departure.html') def TourView(request, id): return render(request, 'tours/tour.html')
[ "partizan925@mail.ru" ]
partizan925@mail.ru
436d1079e865e48d975bd6ffa89a5f3ed150f80d
bdfd3889e1cc02f97b3e2dc0032ce0c9b59bf37e
/src/gork/contrib/gtag/forms.py
f975a8005e00e6d6fd6d68bfd55cee536a5ff863
[ "MIT" ]
permissive
indexofire/gork
c85728953cfa9ab98c59b79a440d4e12212cbc4e
c5e172b896a51c15f358d3aabbcb66af837b54b2
refs/heads/master
2016-09-06T04:58:01.435002
2014-02-06T08:35:51
2014-02-06T08:35:51
9,260,830
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- from django import forms from django.utils.translation import ugettext as _ from gtag.utils import parse_tags, edit_string_for_tags class TagWidget(forms.TextInput): def render(self, name, value, attrs=None): if value is not None and not isinstance(value, basestring): v...
[ "indexofire@gmail.com" ]
indexofire@gmail.com
4060c70ad70c06fdc4ecb47e1d1638e8661e6c45
789e0a2a9759f3d3e5b0ed7c319567da5fa342da
/src/Ceres_Show_GPS.py
58be6fb04e92ec687522f52de6fa45dbb74ef615
[]
no_license
swane/ceres
5c453be0dfbe9cbd1fda91722de49c46d12a2fc5
ccba36ffca2596575d65cb990929021c40401b98
refs/heads/master
2023-03-18T16:33:30.273943
2023-03-11T17:58:25
2023-03-11T17:58:25
233,298,333
1
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
#!/usr/bin/env python import rospy from std_msgs.msg import String from math import pi, sin, cos, tan, sqrt, atan2 from geometry_msgs.msg import Twist from std_msgs.msg import Float64 from std_msgs.msg import Int16 from latlongtoutm import * from tf.transformations import euler_from_quaternion from sensor_msgs.msg im...
[ "noreply@github.com" ]
noreply@github.com
83e2a8ef0312147b674048cf68598dd2c9516713
a312875503897cca08e4ef7d55a2787372e1c90e
/N14.py
75c0bd79ca3be18f31d7f60341e42633e3f630fe
[]
no_license
eagleliujun/leetcode
3138fb48ab1486609422c028f5a2845b96bfa4f7
26904c7a1f53ec1a30f5e9fcd1a41e6717c08015
refs/heads/master
2020-11-25T08:28:07.662625
2020-08-05T14:21:24
2020-08-05T14:21:24
228,376,179
2
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
"""Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: ["flower","flow","flight"] Output: "fl" Example 2: Input: ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among the input str...
[ "eagleliujun@hotmail.com" ]
eagleliujun@hotmail.com
7e2480c9e51766f7d751f3b75569496b206d1411
ec6b991e16e823554afccac689687f8c317e0fed
/comments.py
5cd173bae81292cb14d72c68241387612b55ef5e
[]
no_license
neyer/persuadertron
623705bc08f36f292442e7c48e432f5af465073d
bbc6e2f0f681c38646ed02916f30b3962229ff0c
refs/heads/master
2021-01-19T15:33:38.767397
2014-02-23T00:14:19
2014-02-23T00:14:19
17,097,637
0
1
null
2014-03-04T03:32:53
2014-02-22T23:48:22
Python
UTF-8
Python
false
false
2,525
py
import requests import json import os def _read_from_file(file_name='cache/bot-comments.json'): with open(file_name, 'r') as f: content = f.read() return json.loads(content) def get_comments(api_result): return [ Comment.from_json(c) for c in api_result.get('data').get('children')] class Comment(objec...
[ "mark@neyer.me" ]
mark@neyer.me
8b4e464b1ad0ef3c918a96fd380ac7b91b8c909d
7f57c12349eb4046c40c48acb35b0f0a51a344f6
/2015/ConstructBinaryTreeFromPreorderAndInorderTraversal_v0.py
daaa268e1414a2c429629aa49eadb7c663488efa
[]
no_license
everbird/leetcode-py
0a1135952a93b93c02dcb9766a45e481337f1131
b093920748012cddb77258b1900c6c177579bff8
refs/heads/master
2022-12-13T07:53:31.895212
2022-12-10T00:48:39
2022-12-10T00:48:39
11,116,752
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python # encoding: utf-8 # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {integer[]} preorder # @param {integer[]} inorder # @return {TreeNode} def buildTre...
[ "stephen.zhuang@gmail.com" ]
stephen.zhuang@gmail.com
bc0b93fd8478e0c280277ddeab4f81620aed29f5
6d42b5219f25cb12626c79d4ec45a0eab0b51d9c
/pthbldr/datasets/tests/test_datasets.py
38d66b8c1dd1cd81729e649848f3bb94db6e55e0
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
kastnerkyle/pthbldr
cc370182126784645f6a4b24af81aefb12e2adcc
4dd65f9973a0199b920fb7b76d9b3163b5928675
refs/heads/master
2020-12-30T13:20:07.846618
2017-11-06T23:45:07
2017-11-06T23:45:07
91,346,119
2
0
null
2017-11-06T23:45:08
2017-05-15T14:16:43
Python
UTF-8
Python
false
false
324
py
from pthbldr.datasets import load_digits from pthbldr.datasets import load_iris from nose.tools import assert_equal def test_digits(): digits = load_digits() assert_equal(len(digits["data"]), len(digits["target"])) def test_iris(): iris = load_iris() assert_equal(len(iris["data"]), len(iris["target"...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
edd1730b7bcc1a62ad822813df6d6f37c4d1de87
029ac36e7252b9398da0fff462da4a6b32fdbf9b
/usdacm/templatetags/custom_filters.py
37a5a844e03d2119593d6ad7362eac2f07e5be3f
[]
no_license
lauralondo/USDACM-web
73477612fb983f9094e2d3777fcab569b03065a3
8e2fbdb9642875b5cc34a2fb3863bf9d7a53ae10
refs/heads/master
2021-01-10T20:29:11.829363
2014-05-20T15:57:05
2014-05-20T15:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# custom_filters.py # USD ACM # Laura Londo # 20 May 2014 ''' This document provides custom template filters that can be used within the Django template language tags to perform various tasks. ''' from django import template register = template.Library() """ Filter - returns a list containing range made f...
[ "lauralondo@sandiego.edu" ]
lauralondo@sandiego.edu
679bf585c688354e4b896a76b7473cdfcc72fb40
3bc1967b6a843e06599e3d7075019b1b0a4d59a2
/src/samplics/categorical/tabulation.py
be31555c7af82e50a45296c85d77943401b8f6a3
[ "MIT" ]
permissive
kthyng/samplics
e02d36f16f21c5349d973cedd79798c043f31656
5a544f24a66e73fc439f0ee03b2d0a29915713d7
refs/heads/main
2023-02-21T11:34:24.845088
2021-01-18T20:26:45
2021-01-18T20:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,689
py
"""Cross-tabulation module The module implements the cross-tabulation analysis. """ from typing import Any, Dict, List, Optional, Union, Tuple import itertools import numpy as np import pandas as pd from patsy import dmatrix from scipy.stats import chi2, f from samplics.utils.basic_functions import set_variabl...
[ "msdiallo@quantifyafrica.org" ]
msdiallo@quantifyafrica.org
7e7d78849397ec5faee47c288bf0c68f862e2741
a7852f9300ea737dd8584d28636cbbae90957aae
/4-6/load.py
f26e5b0954916a3b1d21b97e857fdc3623212346
[]
no_license
justCV/TensorFlow-Chinese-Tutorial
77c36fd18a196ced627c4a72f5577befcd8f291b
cddb6064bfe9e3b8d3177b869970332d9138d923
refs/heads/master
2021-06-03T03:12:32.233388
2016-10-10T03:26:36
2016-10-10T03:26:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,050
py
# encoding:utf-8 # Python2 兼容 from __future__ import print_function, division from scipy.io import loadmat as load import matplotlib.pyplot as plt import numpy as np def reformat(samples, labels): # 改变原始数据的形状 # 0 1 2 3 3 0 1 2 # (图片高,图片宽,通道数,图片数) -> (图片数,图片高,图片宽,通道数) new...
[ "wangxuanzhealbert@gmail.com" ]
wangxuanzhealbert@gmail.com
093a6e492e954b5cdecba09acc2e71b2c709dc9d
eaeafd7bcb6ccab403cc5c2fbbef91da6a16ec10
/adventure/migrations/0001_initial.py
240e83ead9cf6dd235c89cd0eda8ad8a8748baa7
[]
no_license
CS25bw1mud/CS-Build-Week-1
af1347c5858e14c5e2a07344823121e823a8a004
15bbbc4aee325e48dbe605d86e2a18461e94d085
refs/heads/master
2020-12-26T22:40:44.098680
2020-02-06T18:42:45
2020-02-06T18:42:45
237,672,345
0
1
null
2020-02-07T16:16:36
2020-02-01T20:18:25
Python
UTF-8
Python
false
false
1,468
py
# Generated by Django 3.0.3 on 2020-02-03 21:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "blakegoms@gmail.com" ]
blakegoms@gmail.com
92601f9fa163e293ec244314b1e6ed4995377cd8
b5a102628b7dd9294965b9c286633895e0db3949
/evenodd.py
ff640873da2327b6bf3705abcf2cfab0171cecc0
[]
no_license
gauravubnare/python
6e53263e853bcda357c1891245e8f8a2456ba376
569f66a193ddb841b0c13f36d562cb11523847a3
refs/heads/master
2020-04-30T15:46:40.656540
2019-03-21T11:16:24
2019-03-21T11:16:24
176,929,311
0
1
null
null
null
null
UTF-8
Python
false
false
125
py
a=input("Enter a number ") a=int(a) if(a%2 == 0): print("the number is even") else: print("the number is odd")
[ "noreply@github.com" ]
noreply@github.com
3e8a63c52b3b1e5f7f95f95c7d6c0095318cbf70
91582ab800528e108f0c35c72d4244aa64e9118e
/climbStairs.py
b20a57b01db9df23525c9db1e6f6f267f53f59bd
[]
no_license
abhie19/code-repo
9bd79f6acca08a8df1c169849c13fe57db320f9f
0114d62a33d616162fcaa12f2a51e422a3020e21
refs/heads/master
2021-05-22T00:25:31.615152
2020-10-02T02:18:35
2020-10-02T02:18:35
252,882,669
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
class Solution: def climbStairs(self, n: int) -> int: # it is a DP problem coz the bigger problem can be disintegrated into # subproblems which can then be summed to get final answer. # Also can be memoized to store solutions to subproblems dp = [0]*(n+1) #if n == 1: return ...
[ "noreply@github.com" ]
noreply@github.com
435f0cadae67eb085a100d70d110e1ead463855d
e650aa5af413034824847ef843f6c45b1ccb34cb
/dictionary/searchbase.py
053581a86dd6f0921c8e3e9ebbcdfba998f1ffbb
[]
no_license
thuan20132000/python_vieclam24h_v2
b6377615742c356efad6a87e1a4ef40d3eb40679
78be8530c3ebb8d5e95cd1668260c898f331df48
refs/heads/master
2023-03-23T08:56:23.110836
2021-03-17T17:38:56
2021-03-17T17:38:56
333,516,018
0
0
null
null
null
null
UTF-8
Python
false
false
10,011
py
import urllib.request from bs4 import BeautifulSoup import re import json import time from django.utils.text import slugify import requests # from models import Word_Definition from dictionary.SearchNearBy import SearchNearBy # from VocabularyController import VocabularyController # from dictionary.helper import dowlo...
[ "thuan20132000@gmail.com" ]
thuan20132000@gmail.com
1ab8391bef4404b01e0e4f62f2d16c3f90e315ce
6782974234d68d27af841882e7799824ae69d764
/MLE/adaptive_attention/main.py
859c7b62421fc4e24fddae4fe090bf3e4db63fdb
[]
no_license
Veason-silverbullet/image-captioning
2236bb44dcbba15a10e54a41b072176cbd6d7d37
0b11a4318fa47d7f154840b0b7cafeb688d9cc39
refs/heads/master
2022-11-18T04:45:14.930250
2020-07-21T03:37:46
2020-07-21T03:37:46
281,280,519
3
0
null
null
null
null
UTF-8
Python
false
false
11,004
py
import sys sys.path.append('../../') import os import time import re from tqdm import tqdm import shutil import numpy as np import torch import torch.nn as nn from torch.utils.data import DataLoader import torch.optim as optim from torch.optim import lr_scheduler from tensorboardX import SummaryWriter from config impor...
[ "cszhmm@gmail.com" ]
cszhmm@gmail.com
72301ec7c64df86bd3500a01d59262d2037866dd
e59f696a96f216cdeea8d638f05b75bb0c26ef55
/4 Python_Programs/1 Problems on numbers/10_EvenFactors/Demo.py
2f5e56dcd12e00dd9d0888a7d45b09e65f1ca07a
[]
no_license
Aditya-A-Pardeshi/Coding-Hands-On
6858686bdf8f4f1088f6cc2fc0035a53c4875d81
0d72d45e92cb0698129636412f7bf5a8d865fd2f
refs/heads/main
2023-05-29T05:35:34.052868
2021-06-14T18:52:57
2021-06-14T18:52:57
376,928,262
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
''' Write a program which accept number from user and print even factors of that number Input : 24 Output: 2 4 6 8 12 ''' def PrintEvenFactors(no): if(no<0): no = -no; for i in range(2,int(no/2)+1): if(no%i == 0): print("{} ".format(i),end = " "); def main(): no = int(...
[ "adityapardeshi0078@gmail.com" ]
adityapardeshi0078@gmail.com
cd813461f75d2ec81029558f3fa70704af1a5a43
85fadecbc65e351263a71349c2db08190ef3d3c9
/app/main/views.py
370a5cca1349f3a4fe25faf8759e5e6e40e52b39
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sling254/Newscatch
05b1bb1509e386a6565d18ef2336734a010930f9
09398011b638c886e5c5c0a0f486567ce8a2d5a2
refs/heads/main
2023-08-20T13:00:38.565196
2021-10-31T15:25:12
2021-10-31T15:25:12
422,541,237
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from flask import render_template, url_for from . import main from ..request import get_news_source, get_articles @main.route('/') def index(): """ a function to view the home page """ technology = get_news_source('technology') sports = get_news_source('sports') business = get_news_source('...
[ "mwanikidenis7@gmail.com" ]
mwanikidenis7@gmail.com
6ec25503afb267289ed6ad50d644b27640bf0d26
eeb78834f8f8f7ccb4e8f7a98eb2eb4145dc6c80
/225_Implement_Stack_using_Queues.py
bca1d25c8f4b5f1e8d57ea857726bba8e458624e
[]
no_license
manphis/LeetCode
12b451b9e96f5643e9484a127fc930d8a5f75412
a9e81f91bb4e3e4e6370f2593653142c04024785
refs/heads/master
2020-04-07T19:15:13.536291
2019-07-19T03:05:46
2019-07-19T03:05:46
158,641,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
''' Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. top() -- Get the top element. empty() -- Return whether the stack is empty. ''' class MyStack: def __init__(self): """ Initialize your data struc...
[ "eason_chen@quantatw.com" ]
eason_chen@quantatw.com
7bf1d8084275a48c88c45504dc88dc8e8eb3552f
2319f749a5238bd346ae0598a07c8f708914802b
/views.py
e919a8b0b2cadc41fccc4a02a845b9b1edb8dbea
[]
no_license
Chaitra1817/Travel_Tourism
90eccf060d659a8c8d8ff0349c9853a84973f5c1
ed04c5ed179c259a04534c2f40555e804055ca63
refs/heads/master
2022-12-27T19:02:50.967476
2020-10-16T11:24:02
2020-10-16T11:24:02
304,605,525
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.shortcuts import render from .models import Destination # Create your views here. def index(request): dests=Destination.objects.all() return render(request, "index.html", {'dests': dests})
[ "chaitrabhatgng@gmail.com" ]
chaitrabhatgng@gmail.com
09ca684207631f62018ead121fb8608e0e416944
2d5f2e08b0e74c90228864a93e071a2572bedd8f
/test/test_autograd.py
4a7e4fc32c3429856865b95b6d703834af873a45
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
seanpm2001/Debian_PyTorch
0c0cb66e36c590e176e0eb88474e6e386b3687f8
d51954d0903601f087431d52deadd32fc09408ff
refs/heads/master
2023-06-02T21:03:13.919140
2021-01-27T10:38:07
2021-01-27T10:38:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
283,067
py
import contextlib import gc import sys import io import math import tempfile import time import threading import unittest import warnings from copy import deepcopy from collections import OrderedDict from itertools import product from operator import mul from functools import reduce import torch import json # TODO: re...
[ "cdluminate@gmail.com" ]
cdluminate@gmail.com
733d0d11ebb7252ed0ecdc46df7ff9df4f18545b
d39222e23ecfdd64b82312282164c3eec7a76317
/venv/bin/easy_install
42c85ee04b74edd39eef299fb7099f989d84697f
[]
no_license
simaung/webscraping-python
a0cbfe15fd8bb585ee0764f9ea58d0eeffafed01
7f36d754a27e49a553eb9e7e35ee34ef19f94207
refs/heads/master
2020-06-02T11:19:17.927861
2019-06-20T08:00:19
2019-06-20T08:00:19
191,135,537
0
0
null
null
null
null
UTF-8
Python
false
false
281
#!/home/aliya-azka/learning/python/web_scrapping/venv/bin/python3 # -*- 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())
[ "ddhr00@gmail.com" ]
ddhr00@gmail.com
0cf13f4ee9f33df9b74112f2d6e98d73271aa12e
b9f4cc9d6a769318a4d945c868b2883b87d7fec0
/data/1516_data/Uncertainty4VerificationModels-master/PHEME/model/analysis/calibration/calibration_plots_PHEME.py
8aee4450d246f92b97d59c25c1831d0b7193ffe1
[]
no_license
zzunebye/Capstone-code-data
b2dcd2ad4a0429d78dd584d9c2c5439fb0e14425
75a40649c3ab3b551546cd5deb7093d6cbcf01e0
refs/heads/main
2023-04-17T22:29:54.166818
2021-05-04T15:45:37
2021-05-04T15:45:37
342,014,393
0
0
null
null
null
null
UTF-8
Python
false
false
10,486
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt import pickle import os import random random.seed(364) from sklearn.calibration import calibration_curve from sklearn.preprocessing import MinMaxScaler from cal_methods import cal_probs, HistogramBinning #%% # load eval ...
[ "bhang96@gmail.com" ]
bhang96@gmail.com
09e8a321b6c2eef2de63530249fbe6c99e850863
729693cbd591f860ff61e2d8821fc653f379ceec
/models/base_model.py
932741fbea65979162285440b74228ce3e16410d
[]
no_license
aDENTinTIME/AirBnB_clone
f34c41f7f99af2d09b8c303e0d95c360a8eb876f
b5b0faca9d61b96d5798702dad480b634b3ed9cf
refs/heads/master
2020-03-21T06:42:08.343497
2018-06-25T04:28:46
2018-06-25T04:28:46
138,236,144
0
1
null
2018-06-22T00:40:05
2018-06-22T00:40:04
null
UTF-8
Python
false
false
1,729
py
#!/usr/bin/python3 """BaseModel module""" import uuid import datetime import models class BaseModel: """class BaseModel""" def __init__(self, *args, **kwargs): """__init__ method for BaseModel class Args: args (tuple): arguments kwargs (dict): key word arguments ...
[ "ocontreras.sf@gmail.com" ]
ocontreras.sf@gmail.com
720295f16c4deee47d594d603c601236d1adc9a2
57b233b378aa4814e3bc2dd1cde82e40110b7e31
/wsgi.py
947fa588c839e46f8d139c2c34dcf2b01222c630
[]
no_license
WRLC/alma-fines
b2bf8a4517a5992bd75695900d84bdafa9190915
4a7fa2072b6ad8b08781e2cec1984adc1289d63f
refs/heads/master
2023-08-05T08:52:40.122441
2023-07-27T17:37:43
2023-07-27T17:37:43
152,097,169
0
0
null
2023-07-27T17:37:45
2018-10-08T14:50:32
Python
UTF-8
Python
false
false
68
py
from fines_app import app if __name__ == "__main__": app.run()
[ "ihardy@wrlc.org" ]
ihardy@wrlc.org
4da322ad7373ffcc99ec58259c8b3e4c2ab58673
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/historic_place.py
792b569a8a3a2806daf5872b1931f2b92b0c12fe
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
411,588
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class HistoricPlace(obj...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
d293100fa7e1cde54f6b600b96e29dc25c393caf
198a0a577521b8676da0489733db07eaa6cdfcbf
/virtual/bin/email_validator
50f11a1d8a83958769c8ae70391464f1478011e6
[ "MIT" ]
permissive
Emmanuel-otieno/Qoutes
c605ec8a38d6ecd2d13df5ad11989f1c8a23886f
b3bb7baa307b62e36dcb340b813a631b03e13146
refs/heads/main
2023-01-28T18:12:42.657196
2020-12-14T09:26:29
2020-12-14T09:26:29
311,092,914
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/home/moringa/Desktop/Blogs/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from email_validator import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sakoemmanuel4@gmail.com" ]
sakoemmanuel4@gmail.com
39eb89d4c9d84ddd1f202c6ee47cf7da1f2834d1
bbf99c217ab6554f5aed307aad9bdc757aceac81
/userbot/_core.py
8ccf8eebc472de8beb9896bc4fa492031e1a844c
[ "MIT" ]
permissive
TGExplore/TeleBot
6d83bcb6b4abfb798f540ddedffa8a16793c80e1
0d3f2cddd316dfaa7db7f16aeabebe0f7abc29eb
refs/heads/master
2022-11-14T09:52:35.139500
2020-07-11T09:34:39
2020-07-11T09:34:39
272,342,603
2
3
MIT
2020-07-10T12:52:24
2020-06-15T04:34:19
null
UTF-8
Python
false
false
3,030
py
from userbot import bot from telethon import events from userbot.utils import command, remove_plugin, load_module from var import Var import importlib from pathlib import Path from userbot import LOAD_PLUG import sys import asyncio import traceback import os import userbot.utils from datetime import datetime DELETE_TI...
[ "noreply@github.com" ]
noreply@github.com
8de70c60deee7ad8b0db06b18e25e20a74949c6d
8c7386925a89d93745692a4826842b049406df02
/ganglr/migrations/0002_auto__add_field_poster_provider__add_field_poster_user_social_auth__ch.py
e9df9367df3268ebebbdfe843b5fbf713389941b
[]
no_license
RickyCook/ganglr
025c74162b802512f24b6249271bcbbc2dd68cf8
908fbf12a45509736fc729ff1639e3aa39af905b
refs/heads/master
2020-06-03T14:03:46.312119
2013-10-25T14:15:42
2013-10-25T14:16:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,660
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Poster.provider' db.add_column(u'ganglr_poster', 'provider', self.gf('...
[ "mail@fuzzibear.com" ]
mail@fuzzibear.com
160ebbfc65032d9c6f4dfd838997fb797f897dd0
bfd2cde7fc57ac220691630126a576dc9abad2a6
/main.py
ce92a3943da28d598a10a543f7cf9d770cc7938f
[]
no_license
km-aero/eng-54-pyodbc-connect
dfe4e5beaf519c5867286f4d338a7e58820c2bb7
c0c220d99d4e6281233d086ae89a3da57583e3ac
refs/heads/master
2021-03-15T02:35:43.321892
2020-03-13T11:42:30
2020-03-13T11:42:30
246,817,561
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
import pyodbc from dp_products_oop import * # db_object = NWProducts().read_all() # db_object # x = 'Dragon' # db_object = NWProducts().create_one('ProductName', x) other_object = NWProducts().read_one('ProductID' ,80) print(other_object)
[ "kevin.monteiro96@gmail.com" ]
kevin.monteiro96@gmail.com
4030f63098bbbd19a41102250c7f615bf1a647c3
dd87194dee537c2291cf0c0de809e2b1bf81b5b2
/test/test_v1_job.py
2a33786b9e31d281aa3aff1f99a840af636abb55
[ "Apache-2.0" ]
permissive
Arvinhub/client-python
3ea52640ab02e4bf5677d0fd54fdb4503ecb7768
d67df30f635231d68dc4c20b9b7e234c616c1e6a
refs/heads/master
2023-08-31T03:25:57.823810
2016-11-02T22:44:36
2016-11-02T22:44:36
73,865,578
1
0
Apache-2.0
2018-10-10T12:16:45
2016-11-15T23:47:17
Python
UTF-8
Python
false
false
1,310
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
6cb2b30df0e9b3bd421bbd6b8a21650fedf942a9
a5c3d8d1aa4228298f86c5b01ad38a315d5763c6
/todo.py
9348df4c08e40f5e89c55b66178bb6041cb873f8
[]
no_license
Harshilgupta95/WorkIndia_Todo_API
504c6b5431bff160bfc5e26e1aea28bfa7b4fbdb
4dddea8a761c24fd63585c11156ae2867518c345
refs/heads/master
2022-11-25T17:32:41.294567
2020-07-21T06:36:50
2020-07-21T06:36:50
281,315,836
0
0
null
null
null
null
UTF-8
Python
false
false
4,106
py
import os from flask import Flask,request,jsonify,make_response from flask_sqlalchemy import SQLAlchemy from werkzeug.security import generate_password_hash,check_password_hash import jwt import datetime from functools import wraps app=Flask(__name__) app.config['SECRET_KEY']='mysecretkey' basedir=os.path....
[ "noreply@github.com" ]
noreply@github.com
c253fd4223b3a4b95c0a137d34bc1de491943caa
276f79d1f8449a16c3efec94884c0e0d8a9a7c65
/firsttest_1.py
d2dcc41573570b1b91fa7b9c13ff01163f5ce068
[]
no_license
GurutheKing/airflowsample
effcec27c72103fbde07669ea83a8d2852da4589
b7f4e4822f9d7cbb74a9d7401fb124cec1f5a7ac
refs/heads/master
2020-09-06T11:09:10.942458
2019-11-13T06:31:45
2019-11-13T06:31:45
220,408,104
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
from airflow import DAG from airflow.operators.bash_operator import BashOperator from datetime import datetime, timedelta # default arguments contains the owner info, email details etc... default_args = { 'owner':'guru', 'depends_on_past': False, 'start_date': datetime(2018, 10, 1), 'email': ['airflow@e...
[ "gururajan.s@outlook.com" ]
gururajan.s@outlook.com
a6256c9b5837cca69a8b8c95003b3e2521477bcd
210ecd63113ce90c5f09bc2b09db3e80ff98117a
/AbletonLive9_RemoteScripts/LiveControl_2_0/LC2Modulator.py
764d6d49f7649a6e5881ede73c976d2d050d3616
[]
no_license
ajasver/MidiScripts
86a765b8568657633305541c46ccc1fd1ea34501
f727a2e63c95a9c5e980a0738deb0049363ba536
refs/heads/master
2021-01-13T02:03:55.078132
2015-07-16T18:27:30
2015-07-16T18:27:30
38,516,112
4
1
null
null
null
null
UTF-8
Python
false
false
9,938
py
#Embedded file name: /Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/LiveControl_2_0/LC2Modulator.py from _Generic.Devices import * from _Framework.ControlSurfaceComponent import ControlSurfaceComponent from _Framework.DeviceComponent import DeviceComponent from _Framework.InputControl...
[ "admin@scoopler.com" ]
admin@scoopler.com
dc1ea5f6ed66097ce3db157b69aeb58d176b9ffa
fd9ea3bf0d048fe40e635cde7414aa2a27e73b2a
/src/agvs_simk/agvs_gazebo/catkin_generated/pkg.develspace.context.pc.py
823f0ad578843f75220e5e8c193c6e21857d652f
[ "BSD-2-Clause" ]
permissive
shydhryw/catkin_ws
30428cec9290b85fe9412bb2e85d37594e3fa39b
35a0d2cd089b71e2b11c72b3dc7256bb1d948c0d
refs/heads/master
2020-04-15T17:13:45.339758
2019-01-09T13:18:51
2019-01-09T13:18:51
164,776,213
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "agvs_gazebo" PROJECT_SPACE_DIR = "/ho...
[ "shydhryw@qq.com" ]
shydhryw@qq.com
be0076e454280e9970e678b3f673a8ad4f30cfd4
4b66194e4d23261a8544444453f2a6560d683a1e
/training/unseen_speakers/train2.py
274f36766fce2cab35dff6a81fba76886985bc82
[]
no_license
lightning830/multimodal_with_lipnet
01d7d054837332629be2dbd827a2dceaf247a819
db7e7dfda56a18ba31984ef2562ff4c513d05cb6
refs/heads/master
2023-06-21T11:33:49.800938
2021-07-29T15:09:31
2021-07-29T15:09:31
378,707,000
0
0
null
null
null
null
UTF-8
Python
false
false
4,531
py
from tensorflow.keras.optimizers import Adam from tensorflow.keras.callbacks import TensorBoard, CSVLogger, ModelCheckpoint from lipnet.lipreading.generators import BasicGenerator2 from lipnet.lipreading.callbacks import Statistics, Visualize from lipnet.lipreading.curriculums import Curriculum from lipnet.core.decoder...
[ "nobukazuaoki830@gmail.com" ]
nobukazuaoki830@gmail.com
9b6e87777212e93821e9296860eef76c187aa685
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/298/82997/submittedfiles/testes.py
526e6017d8abd2de623bff22ac68e85aeb35505c
[]
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
2,205
py
n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) while (n<1) and (n>100): print('Entrada inválida.') n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) if n in range (1,100): kn = float(((n + 2)/10)*2) print('%.4f' % kn) #-----------------------------------------...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5a14e7fcc8bfaa14b74e1dfeeb274a6d884eae01
b23f38f59caf00bc76490c7b640e4e3e8b6534c6
/helpers/filters.py
7b6c4efb7a3cf92a577bfad2873a9c96bdd18788
[ "Apache-2.0" ]
permissive
krisnadiwangga01/Musik-Saya
3b3bb30ac2d49c3d77a18850a1693644c16567a0
d45d1dc84fc88d2e25f18f41f3a4469209ebb174
refs/heads/main
2023-08-17T14:37:21.828769
2021-09-16T14:46:08
2021-09-16T14:46:08
410,494,702
0
0
Apache-2.0
2021-09-26T08:28:23
2021-09-26T08:28:22
null
UTF-8
Python
false
false
388
py
from typing import Union, List from pyrogram import filters from config import COMMAND_PREFIXES other_filters = filters.group & ~ filters.edited & ~ filters.via_bot & ~ filters.forwarded other_filters2 = filters.private & ~ filters.edited & ~ filters.via_bot & ~ filters.forwarded def command(commands: Union[str, L...
[ "noreply@github.com" ]
noreply@github.com
e466264db5fee3fa97443be6ce730552716341bf
20be89b6039d2c7ac5cd7fceb4dc6c47ab7799d2
/openfda/tests/test_api.py
11ccd36333b118af8cb23eb2f9f2f2d3585d7ee2
[ "CC0-1.0" ]
permissive
beckyconning/openfda
385b37083ffe411d191b2175d6df4b859de75b5c
9d02fcc2e5b04861472d12de4fb843146f1c2b87
refs/heads/master
2020-08-01T09:07:28.743175
2018-09-24T18:04:08
2018-09-24T18:04:08
210,944,296
0
0
NOASSERTION
2019-09-25T21:32:48
2019-09-25T21:32:48
null
UTF-8
Python
false
false
1,911
py
#!/usr/bin/env python ''' Quick API tests to run against a new index build. These test certain "quasi-invariants" about the index data: e.g. we should have more reports for etanecerpt than for naltrexone. They are by no means a complete test of the full system. Before pushing out a new index, the `refresh_test_resp...
[ "hans@iodine.com" ]
hans@iodine.com
f91cd4e7fce475120da08bc7ea5d6fda64201a69
fb2da7ce33ed0f1010deff8a970b55b659ce7062
/lessnoise_specs.py
2b82cffe9908edd874cd5f9f9f6fb364917f9131
[ "MIT" ]
permissive
pymir3/pymir3
c4f590f8bd4d0fad02433a8784616c5d21fecf4b
c1bcca66a5ef1ff0ebd6373e3820e72dee6b0b70
refs/heads/master
2021-01-17T03:26:57.964485
2017-08-15T15:50:03
2017-08-15T15:50:03
21,573,888
13
3
null
null
null
null
UTF-8
Python
false
false
1,058
py
import glob import remove_random_noise as rrn import os filename, file_extension = os.path.splitext('/path/to/somefile.ext') if __name__ == "__main__": wavdir = "./links/" wavs = sorted(glob.glob(wavdir + "*.wav")) pngdir = "./pngs/" #print wavs for f in wavs: nome, ext = os.path.splitext(...
[ "julianofoleiss@utfpr.edu.br" ]
julianofoleiss@utfpr.edu.br
2fc607b69c5dbed60af5eb7d27d9096cdf6f5f97
adac901a1c98684bd40d0ffb2863f551f49faa15
/Array/tuples.py
4836b7278e18ce1fcf2d28593f3c6d484bc2b16e
[]
no_license
Singharat/BasicPython
017e9bbd70838d393082ee072669a6bafd786323
f3baafce85c52ba95397f23ab04d0082d97e45b7
refs/heads/master
2022-04-27T01:06:19.415454
2020-04-26T08:02:28
2020-04-26T08:02:28
258,975,696
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# ต่างกับ List ที่ไม่สามารถเปลี่ยนค่า,ลบค่า ได้ แต่สามารถเพิ่มค่าได้ # ใช้แค่ () ธรรมดา , List ใช้ [] number = (1, 2, 3, 4, 5) mixed = (10, 20, [5, 4, 3], True, 'Max') print(number[2]) print(mixed[1]) print(mixed[2]) # ไปที่ 2 แล้วเข้าไปที่อันดับที่ 1 print(mixed[2][1]) # ลองเปลี่ยนค่า มันจะเปลี่ยนไม่ได้ number[2] =...
[ "singharat.coe@gmail.com" ]
singharat.coe@gmail.com
6fe83533c4985956254a959f901bbfd8e7e686f8
b63e42047081bc2be186d506bc08417cd13d547c
/rice/deps/prompt_toolkit/document.py
2a9d1d79373438880647ed777ae41e7a1f6f0e56
[ "MIT" ]
permissive
Arrendi/rice
dbd999aa632b4dacae10c6edd18c3eb31fd3ffde
5bebd14556127613c9af4ac3fc1f95063110077d
refs/heads/master
2021-08-28T15:25:49.239846
2017-12-12T15:56:51
2017-12-12T15:56:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,209
py
""" The `Document` that implements all the text operations/querying. """ from __future__ import unicode_literals import bisect import re import six import string import weakref from six.moves import range, map from .selection import SelectionType, SelectionState, PasteMode from .clipboard import ClipboardData __all_...
[ "randy.cs.lai@gmail.com" ]
randy.cs.lai@gmail.com
3e351ccb89a05853454531618b5ea0802dea8108
876735f69ce5392f5737a8210758ac59f785611d
/buildtool/buildtool/actionlib_build.py
7a04c7ac24602a5c5d95c78f0e505f672ea63f73
[]
no_license
rospypi/ros_stubs
4a2a6c396952247af86c3bde7ee6dbcbc2bd9125
f2fdd6db767e2d2bacb6840cfa20e52419fdebd8
refs/heads/master
2023-08-05T01:23:58.787524
2021-10-06T14:36:06
2021-10-06T14:36:06
362,744,235
5
0
null
2021-10-06T14:36:07
2021-04-29T08:25:44
Python
UTF-8
Python
false
false
2,286
py
import pathlib from typing import List, Literal, Tuple, cast from .build_action import BuildAction from .context import BuilderContext ACTIONLIB_EXTENSION = ".action" def parse_actionlib(contents: str) -> Tuple[str, str, str]: parts: List[List[str]] = [[]] for line in contents.splitlines(): if line....
[ "noreply@github.com" ]
noreply@github.com
1f8e23f737414ef87007e5bbc13d447974c86a2d
bdd89a2423ef3f3cdc0a3957ab09b7050b5ae166
/BelBook/upmedia/migrations/0001_initial.py
486c14d320ee71e025adce20e0ec2f778dbf857e
[]
no_license
NTN-code/Test-Django
45dcb2f6290c555c5058ad9e3d47008d3c4c7cc8
b1875d1cfa3e90acf2274d1e0cb825d590ab8aa1
refs/heads/main
2023-06-25T08:06:22.884418
2021-08-02T12:52:34
2021-08-02T12:52:34
389,719,176
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
# Generated by Django 3.2.5 on 2021-08-02 12:16 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UploadFileModel', fields=[ ('id', models.Bi...
[ "tk2007m@mail.ru" ]
tk2007m@mail.ru
51c25a8903d2b3434d08c0cfafd25f9634a17f08
2e27b05415352ec73beccca5a370e2e1866625d1
/lection4/task1_encode.py
1cea411c7a5acf4200101d0786ee8ca334425bb1
[]
no_license
gleb-lobastov/algorithms
0a1e2e57149ff24ace9c0ff2f2cdfbd3666d9948
7432e2cc0c509c90e231491602063305ea57621c
refs/heads/master
2020-05-29T08:51:20.090907
2016-11-05T23:34:50
2016-11-05T23:34:50
70,075,757
0
0
null
null
null
null
UTF-8
Python
false
false
3,781
py
""" По данной непустой строке s длины не более 10^4, состоящей из строчных букв латинского алфавита, постройте оптимальный беспрефиксный код. В первой строке выведите количество различных букв k, встречающихся в строке, и размер получившейся закодированной строки. В следующих k строках запишите коды букв в формате "let...
[ "0000reg@gmail.com" ]
0000reg@gmail.com
d05df46c24584a0606f87bc9ab42b077f297ee35
ea0a54a16085e14a563297a0bb0fe22b0f3b7dad
/accounts/forms.py
b777c1e2ed5bfaffb54b6b857943ef7386836ff1
[]
no_license
kaisam11/AniComTy
ff5465c0500936c0edacc511270031c2abc3702b
67a328c047437f72cb47713424a64c0e1ffcb5c0
refs/heads/main
2023-04-02T01:32:15.908116
2021-03-22T10:34:05
2021-03-22T10:34:05
336,819,948
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm class UserCreateForm(UserCreationForm): class Meta: fields = ('username','email','password1','password2') model = get_user_model() def __init__(self,*args,**kwargs): ...
[ "hrithiksinha17@gmail.com" ]
hrithiksinha17@gmail.com
f9c16d5cbb4915c77273f21e84b090339c97ed72
ef94cddf90ac74d674598ac22b105bb58c1303da
/pruebas_automaticas/test_unitarios.py
c5896867e0c756d046ed0b4cbe4aece6c61c452f
[]
no_license
IvanLpJc/python-course
559f22bc6fe822c5ed2ef18f991f982098baf200
d5345267c3b21d58db97fd69bed75996d01d7df7
refs/heads/main
2023-06-18T19:52:41.014667
2021-07-20T11:57:18
2021-07-20T11:57:18
385,641,723
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# Sirve para crear pruebas dentro del propio código def multiplicar(numero1, numero2): return numero1*numero1 resultado = multiplicar(2,4) print(resultado) import unittest class pruebas(unittest.TestCase): # Definimos una clase para las pruebas que recibe TestCase # Definimos métodos para las pruebas ...
[ "malverano78@gmail.com" ]
malverano78@gmail.com
96180e29079c4ff6042a8ed8e4eab57e46a393b6
721e20fb2a3747ce257c772e03eb938a639e2261
/src/api/response.py
adffcdfccdeb63d8df94a46b2144ba62a3aaaf54
[ "MIT" ]
permissive
jsmuniz/wishlist
f5c5f31c893319374ded0e51bffb405a68ae92ec
9ba4d3d8877e1838588aaf80bdd7a1ec7dd0400d
refs/heads/main
2022-12-13T18:35:59.335696
2020-09-17T01:09:21
2020-09-17T01:09:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
from enum import Enum, unique class Response(): def __init__(self, status_code, message, data, details): self.status_code = status_code self.message = message self.data = data self.details = details @unique class ResponseMessages(Enum): SUCCESS="The request was successfull" ...
[ "noreply@github.com" ]
noreply@github.com
4ea930272b37c2387815e006e06d224faf0e0aa8
b118e154cf1b120e4a6b0a0f6434f1d85e08b869
/waketime.py
b10b8adcae0ac4a1d4d540b76a89312c7d0ecfbc
[ "MIT" ]
permissive
dleicht/waketime
6c9deeae9256163faa06abc6d83c583d9d31feab
ec165aa0185a955f67be27738e83a3f04a9bb3b0
refs/heads/master
2023-08-13T12:10:34.035532
2021-10-02T15:20:41
2021-10-02T15:20:41
285,099,028
1
1
null
null
null
null
UTF-8
Python
false
false
6,292
py
# WakeTime App v1.1 - AUG 2020 by D.Leicht # https://github.com/dleicht/waketime import rumps, syslog from uptime import uptime from subprocess import check_output from datetime import datetime class WakeTimeApp(rumps.App): rumps.debug_mode(False) # turn on command line logging information for development - defa...
[ "noreply@github.com" ]
noreply@github.com
c31a3b25afcc327402ecbc9b444aa0d0d9529bb8
f488c92e011acde64593918bc616dcb16f96a9fd
/testChild.py
e6a7541c96b5cab8ffe76f8151aa477275968ccf
[]
no_license
tahirUJ/test_repo
bf70f243ca74bd0fc5ef4a7de4887e3db7017974
977f22a671a5ec96563317a39bb903ccce056f99
refs/heads/master
2023-04-17T10:27:31.330474
2021-04-24T20:55:41
2021-04-24T20:55:41
360,905,268
0
0
null
2021-04-24T14:59:11
2021-04-23T14:08:26
Jupyter Notebook
UTF-8
Python
false
false
51
py
# testing child code print ("inside child branch")
[ "noreply@github.com" ]
noreply@github.com
8ee6eeee2ef21e2a0b407094b476d12713359a5a
a94d3bd556bae047cad4c27b8c322b472a5f9b6d
/Code/Day 12/SVM.py
9b7b9e58f394539fa59a3ad8e272c3f12ab569cb
[]
no_license
agarwalmayank32/100DaysOfML
fc8dc20b1a0dcf9dc5996074d3f3fb00617fc1d8
ec76b501a89ab38850765d08a3a8dc4d35fb8c0a
refs/heads/master
2020-03-22T18:31:34.246809
2018-07-28T01:27:05
2018-07-28T01:27:05
140,465,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
# Importing Libraries from sklearn.model_selection import train_test_split from sklearn.datasets import load_breast_cancer from sklearn.metrics import accuracy_score from sklearn.metrics import confusion_matrix from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC # Load dataset data = load_brea...
[ "agarwal.mayank32@gmail.com" ]
agarwal.mayank32@gmail.com
6a9cc515474517aeb1fd8839cf4f33405cb94cf5
fab298a55b6ef0cf9007f9d1e65bf225cc92da9c
/IntelliTrack.RFIDUDPReader/tools/gdal-1.8.0/swig/python/samples/ogr2ogr.py
c94d6958e3e7910a6964e11d0ee353e2453db712
[ "LicenseRef-scancode-info-zip-2005-02", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
diegowald/intellitrack
7fe5a22d7d3e5624f79dd7d9d0a1dc60887b7b0c
fa3397a373f296dba9518b1a8762c1b947f02eb5
refs/heads/master
2016-09-06T08:48:03.155393
2013-01-14T15:31:40
2013-01-14T15:31:40
7,606,666
1
0
null
null
null
null
UTF-8
Python
false
false
53,541
py
#!/usr/bin/env python #/****************************************************************************** # * $Id: ogr2ogr.py 21368 2011-01-01 18:38:35Z rouault $ # * # * Project: OpenGIS Simple Features Reference Implementation # * Purpose: Python port of a simple client for translating between formats. # * Author: E...
[ "diego.wald@gmail.com" ]
diego.wald@gmail.com
cb5a74a8c0b74da0c9257cc4d0a6a36ac3d0f1e1
da218343aa224536707f7fa0d33592da602ecab1
/algorithms/memetic/armijo_based_nsma.py
ef40b468107e21d58ba17c735bcffc3257c29f87
[ "Apache-2.0" ]
permissive
pierlumanzu/limited_memory_method_for_MOO
ef72b6b8665d6b57f6671fc19b863d11543cdfef
dce4b9b20c602f9865bd99f05c5dc9b74c7681a2
refs/heads/main
2023-04-06T17:02:14.976455
2023-03-23T08:04:11
2023-03-23T08:04:11
588,524,907
5
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
from nsma.algorithms.memetic.nsma import NSMA from algorithms.gradient_based.armijo_based_fmopg import ArmijoBasedFMOPG class ArmijoBasedNSMA(NSMA): def __init__(self, max_iter: int, max_time: float, max_f_evals: int, verbose: bool, ...
[ "mansueto@webgol.dinfo.unifi.it" ]
mansueto@webgol.dinfo.unifi.it
663a74a9cfe581c92ddc8809226d4370eed9176e
6d743394582df824d96230137418088969f3aad6
/test_MultiplexMarkovChain.py
6e7e8f8d4c9a8f155e8c838db407c11fe48e03ee
[ "BSD-3-Clause" ]
permissive
vkrmsv/MultiplexMarkovChain
37e4f04140b0147d317fbe7e86aa0c76c65d75e5
3bc3e866affb5a391a34af77cb4573b642352275
refs/heads/master
2021-01-18T20:30:37.504658
2016-02-11T05:34:25
2016-02-11T05:34:25
35,698,344
3
6
null
null
null
null
UTF-8
Python
false
false
3,456
py
""" Test cases for testing the class MultiplexMarkovChain and the class MarkovChain. """ import MultiplexMarkovChain import unittest import time import numpy as np class TestMarkovChain(unittest.TestCase): def get_counts(self): counts = [10, 10, 20, 20] return counts def setUp(self): ...
[ "vikram@ms.physics.ucdavis.edu" ]
vikram@ms.physics.ucdavis.edu
b4cf81d8c5b0af70a4d15e32d9b106218c7954de
453593a22e75f9e0497562d2741ffc1088dc8252
/main.py
31a67d916c68a2ded8d6422f7d2f3c59fbd388f2
[]
no_license
bibekbistey/Database
a4ef86f5d3f512d76cf7a7576d80bcda0692e90d
8eb6d92f9d27ea7d2542d3185b1ab86cd6113ab1
refs/heads/master
2023-07-16T02:00:20.855924
2021-08-16T05:29:21
2021-08-16T05:29:21
396,633,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,275
py
from tkinter import * import sqlite3 root=Tk() root.title("Creating database") #Database con=sqlite3.connect("contact.db") #Create cursor c=con.cursor() #create table '''c.execute("""CREATE TABLE contacts( first_name text last_name text city text phone_nu...
[ "bistabibek9@gmail.com" ]
bistabibek9@gmail.com
33c90b514e4791c02073aa6be9e909a04e670f77
b59e7549b6e290012a478d66a1591ac7791f34cd
/PythonWorkspace/basic_practice/23_practice_pass2.py
a275f618d4f981f92702fe719974ec87918ac02f
[]
no_license
ajc212-plt/MyCoding
d03a651772074ddd8ec15d91baf2a2782a6e0e22
dbbfb45b6894143b6019208d59ad17815a945317
refs/heads/master
2023-03-12T22:24:53.067463
2021-02-25T15:00:11
2021-02-25T15:00:11
327,207,235
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
class Unit: def __init__(self): print("Unit 생성자") class Flyable: def __init__(self): print("Flyable 생성자") class FlyableUnit(Flyable, Unit): #두개 이상의 부모 클래스를 다중 상속을 받을때는 맨 처음 받는 클래스만 #상속이 된다. def __init__(self): #super().__init__() Unit.__ini...
[ "ajc212@naver.com" ]
ajc212@naver.com
83f9a2486cced43d68b973c0fb1bef3bf55fb871
95c76c9321016d245f3f5dbf7bddc5664ec8a127
/features_script/Traindf.py
5cfbb0395dc134c99bfc8ab83857a32a743175fd
[]
no_license
1417404001/didi---Tech
44d856d01f8c6b5add35938a93c7321fdd58f5fe
29f4d4e1df63cb97bca9cf74392bf9f1766705cf
refs/heads/master
2020-06-09T20:01:31.971748
2018-07-23T01:02:08
2018-07-23T01:02:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,231
py
# -*- coding: utf-8 -*- """ Created on Fri May 20 13:37:25 2016 @author: 21644336 """ from collections import defaultdict import pandas as pd from multiprocessing import Pool import numpy as np pool = Pool(4) #oder frame = [] order_number = defaultdict(lambda: defaultdict(int)) miss = 0 made = 1 co...
[ "duxuhao88@gmail.com" ]
duxuhao88@gmail.com
bf04c95bf07c98a8ce4d8742044d06a723616acc
ff97ae8a042788d431e39342fd9d85a78160dc7a
/SecondTask/battle.py
7131ba87936ef14c26b6036bb3c2806f6c7bebf8
[]
no_license
tanyaamiheeva/Simple_Console_Game
db1a614597673078134b1a0a80a1d997919b2336
bfce338e21b6030eb2ab3fc8ab076d0dbf448ace
refs/heads/master
2023-01-28T23:56:33.682944
2020-12-09T17:04:27
2020-12-09T17:04:27
252,198,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
from armies import Army, HumanSquad, SpecialHumanSquad, CentaursSquad, CyclopsSquad, DragonSquad from service import Side import random def create_default_army(main_army: Army): if main_army.side == Side.Demigods: default_army = Army(Side.Monsters) else: default_army = Army(Side.Demigods) ...
[ "Mikheeva.TA@phystech.edu" ]
Mikheeva.TA@phystech.edu
ae8b468b6e2c0284d225e200c007a588de3466f7
1c05859f6eb84dd12823279da4896c2c753cb90f
/src/TC70_LL/TC70_LL_ModuleFunctions.py
f05f4b4bff80817f708cf52945f94b4322feb14b
[]
no_license
zlhope/UIAutomatorFramework
323dbf3fc2fd1180c198bfad2947eadc930d1618
de6800772aefd15eab55e8a6d0272092e1ad76d8
refs/heads/master
2020-05-09T20:31:01.633648
2016-08-30T03:59:44
2016-08-30T03:59:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,497
py
# ---------------------------------------------------------------------------------------------------------------------- # Name Of File: TC75_ModuleFunctions.py # # Author: Ashish Kumar ...
[ "ashishkumar.riku@gmail.com" ]
ashishkumar.riku@gmail.com