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
9d15ba54f8204e5b2e686d0c7a4541bce317ae2d
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/carbonui/graphs/grid.py
c6c7ae7cc6bd5d2d25075f915ef76dc46a56dbdd
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
#Embedded file name: carbonui/graphs\grid.py import trinity from carbonui.primitives.container import Container from carbonui.primitives.vectorline import VectorLine import carbonui.const as uiconst class Grid(Container): default_name = 'grid' default_align = uiconst.TOALL def ApplyAttributes(self, attrib...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
a9662d65ecfc47d3f1b01d579b6338e46f120b5f
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/repos/flask-jsonrpc-master/examples/modular/api/user.py
a0fda866b35475700b609497f0701ca68babb2d2
[]
no_license
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
# -*- coding: utf-8 -*- # Copyright (c) 2012-2020, Cenobit Technologies, Inc. http://cenobit.es/ # 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 th...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
9e258308bbd998086877e7d329cb5ed769b2beaa
0dcf78e319956f2cb2327c5cb47bd6d65e59a51b
/Contest/LeetCodeWeeklyContest/WeeklyContest205/2_4_fail.py
7dce0dd0d208587f843e241061630001d471f948
[]
no_license
daviddwlee84/LeetCode
70edd09a64a6f61492aa06d927e1ec3ab6a8fbc6
da1774fd07b7326e66d9478b3d2619e0499ac2b7
refs/heads/master
2023-05-11T03:16:32.568625
2023-05-08T05:11:57
2023-05-09T05:11:57
134,676,851
14
4
null
2018-05-29T14:50:22
2018-05-24T07:18:31
Python
UTF-8
Python
false
false
689
py
from itertools import combinations from collections import Counter class Solution: def numTriplets(self, nums1: List[int], nums2: List[int]) -> int: answer = 0 comb = Counter(combinations(nums2, 2)) for num in nums1: square_num = num ** 2 for (num_j, num_k), cnt in ...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
c2d75378d0920779c8a1801005410f23df8ae96f
a10ba9886ad084523db07773a2aeaf2740f8350f
/0_Sentiment_in_Text/tokenizer.py
0f38d7d9b1e0a61c3ca853b231f93489b528047a
[]
no_license
mrech/NLP_TensorFlow
8bbecfec63d7f7322b8510af875f3344c617bad7
45d5002db65d37d07d9d8a9d860e18c41e3cacb8
refs/heads/master
2020-08-28T16:10:07.167376
2019-10-27T20:07:04
2019-10-27T20:07:04
217,749,865
0
0
null
null
null
null
UTF-8
Python
false
false
2,939
py
import json import re from tensorflow.keras.preprocessing.sequence import pad_sequences from tensorflow.keras.preprocessing.text import Tokenizer # Incorporate dicts as elements in a list to make it easier # to read json as python dataframe def parse_data(file): for line in open(file, 'r'): # use yield s...
[ "rivato.morena@gmail.com" ]
rivato.morena@gmail.com
61266285d2ccbe8d10f8d0907b5a56c31cb01e7a
174aa0021c10ebe4d7598b44404f8dfcad0cbc24
/dateparser/data/date_translation_data/jmc.py
ba6ad619b4611f4ba592a686b8bd3ad7a5e21390
[ "BSD-3-Clause" ]
permissive
Ronserruya/dateparser
6789fc84bd548e040975ab693c50362673960571
238d0dbc7a03a00c29818e474f28848e100010bc
refs/heads/master
2022-07-07T09:33:37.849429
2020-05-13T07:19:56
2020-05-13T07:19:56
263,635,745
0
0
BSD-3-Clause
2020-05-13T13:20:15
2020-05-13T13:20:15
null
UTF-8
Python
false
false
2,574
py
# -*- coding: utf-8 -*- info = { "name": "jmc", "date_order": "DMY", "january": [ "januari", "jan" ], "february": [ "februari", "feb" ], "march": [ "machi", "mac" ], "april": [ "aprilyi", "apr" ], "may": [ ...
[ "sarthakmadaan5121995@gmail.com" ]
sarthakmadaan5121995@gmail.com
e0effbc2fe2fee90a21495410c99c2d51c551452
7012005c9cd6ebf56c7e445a673648eff0d47f93
/tools/hexlifyscript.py
fa8304e7efdb99ed0947817c5a8711f97aab8a44
[]
no_license
frankcash/micropython
d52d17fca79db36a40335dcae1466ada4008369f
c7a7ba717e328444ac69339f011c921a748916db
refs/heads/master
2020-04-15T08:52:33.985339
2015-10-25T18:52:27
2015-10-25T18:52:27
44,924,192
1
0
null
2015-10-25T18:49:51
2015-10-25T18:49:51
null
UTF-8
Python
false
false
1,310
py
#!/usr/bin/env python3 ''' Turn a Python script into Intel HEX format to be concatenated at the end of the MicroPython firmware.hex. A simple header is added to the script. To execute from command line: ./hexlifyscript.py <script.py> ''' import sys import struct import binascii SCRIPT_ADDR = 0x3e000 # magic start ...
[ "damien.p.george@gmail.com" ]
damien.p.george@gmail.com
20eda1a29146d2181a21797cdf34f4cc0d7977bd
f3f21213e8a50f1ecd838cacf8f7c5a03ec9d322
/Python/Decimal2Binary.py
cb51e4c4458d622a33b728ff7b40c8bce88870f8
[]
permissive
Python-aryan/Hacktoberfest2020
043a33c3ac1c22d387064767a501c1f68ecdc498
a6e18c3e9159a03a887e3377ada00480ee191f42
refs/heads/master
2023-08-13T11:47:28.822487
2021-10-02T01:55:01
2021-10-02T01:55:01
301,635,313
0
0
MIT
2020-10-06T06:33:30
2020-10-06T06:33:29
null
UTF-8
Python
false
false
135
py
decimal = int(input("Enter a decimal number:")) print("The decimal value is", decimal,) print("Binary of",decimal, "is", bin(decimal))
[ "noreply@github.com" ]
Python-aryan.noreply@github.com
b484fa742d9c81984a6966c3ce54b0fbfa8017c6
84c4474a88a59da1e72d86b33b5326003f578271
/saleor/graphql/shipping/tests/benchmark/test_shipping_methods.py
6f33d0d77c4e41fadb5c62833e7c6968c6e9b3db
[ "BSD-3-Clause" ]
permissive
vineetb/saleor
052bd416d067699db774f06453d942cb36c5a4b7
b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9
refs/heads/main
2023-07-20T02:01:28.338748
2023-07-17T06:05:36
2023-07-17T06:05:36
309,911,573
0
0
NOASSERTION
2020-11-04T06:32:55
2020-11-04T06:32:55
null
UTF-8
Python
false
false
7,030
py
import graphene import pytest from ....tests.utils import get_graphql_content SHIPPING_METHODS_QUERY = """ query GetShippingMethods($channel: String) { shippingZones(first: 10, channel: $channel) { edges { node { shippingMethods { id name minimumOrderWeight { ...
[ "noreply@github.com" ]
vineetb.noreply@github.com
8ab66faa3ce384fb37b562f0033234cfd680d996
5af97bffa345fee6a0a26cc8e24756b41f83c66c
/actors/world_related/signal_related/sound_related/sensors/Base.py
b7447ca62df4a3d8c67e340a7f2af41e92c21100
[]
no_license
Myshj/tdoa_multisensor_model
26620bb687503c6b40ad886a0d666c10a34025d8
eb2dedd9e3c3918c17177ce9d63355e10d4649dd
refs/heads/master
2020-07-30T15:39:32.162225
2017-03-08T12:01:04
2017-03-08T12:01:04
73,627,161
1
0
null
null
null
null
UTF-8
Python
false
false
203
py
from actors.world_related import AbstractWorldRelatedActor as WorldRelatedActor class Base(WorldRelatedActor): """ Базовый класс для всех сенсоров. """ pass
[ "donmarin@mail.ru" ]
donmarin@mail.ru
0183d59028ef78aed32060c7ce07a9e9a6c0960b
05b0162d5ee7ab74f71ad4f21d5188a8735dfaef
/plugins/modules/active_directory_leave_domain_with_all_nodes.py
b41f265f1236aef982f64877b3b6b79e3dcc8d3a
[ "MIT" ]
permissive
steinzi/ansible-ise
567b2e6d04ce3ca6fbdbb6d0f15cd1913a1e215a
0add9c8858ed8e0e5e7219fbaf0c936b6d7cc6c0
refs/heads/main
2023-06-25T15:28:22.252820
2021-07-23T14:21:40
2021-07-23T14:21:40
388,820,896
0
0
MIT
2021-07-23T14:03:07
2021-07-23T14:03:06
null
UTF-8
Python
false
false
1,750
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2021, Cisco Systems # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) DOCUMENTATION = r""" --- module: active_directory_leave_domain_with_all_nodes short_description: Resource module for Active Directory Leave Domain ...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
a7438d180dfe7e12e247b7c84ae7ccca6e2a1c6e
eb43e43c055ccb0141a9da61cdce80939d98e64e
/Python Basics/Program 11 loops.py
2231d1614a530e8181e9fbc8be77f8379e808392
[]
no_license
ameyaditya/Python
35f5dacb9c006d238a63c83205b27c37e217452a
99ccfaa74b282e75978d0943b90fdfb915cba314
refs/heads/master
2021-05-03T15:00:12.503029
2018-05-27T13:32:18
2018-05-27T13:32:18
120,465,597
1
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
#loops #for loop #lets create a list first def for_loop1(): emails = ["me@email.com","he@was.com","she@coldmail.com"] for email in emails: print(email) #this is the most simple example of for loop and shows the simple syntax of for loop #lets make a function which prints emails which have only...
[ "ameyaditya.j@gmail.com" ]
ameyaditya.j@gmail.com
23b3bca6c45d194007f30141b367d379673a1b26
8ac9a8146bd782e603c2fa0a9cb674f4f33857d9
/fabric/api/util.py
4ad66387d547ae614270c5a4445e4c4fe49541a8
[ "Apache-2.0" ]
permissive
rafiu/crossbar-examples
4ea5b5e58fcbd8d3b24a93e028215327454574ef
2f6b4baa8e18a436257ed555aca4ebc5090b5bf3
refs/heads/master
2021-01-02T22:29:51.462938
2017-08-04T10:53:32
2017-08-04T10:53:32
99,330,929
0
0
null
2017-08-04T10:08:28
2017-08-04T10:08:27
null
UTF-8
Python
false
false
3,089
py
import os import txaio txaio.use_twisted() from twisted.internet import reactor from twisted.internet.error import ReactorNotRunning from twisted.internet.defer import inlineCallbacks from autobahn.wamp import cryptosign from autobahn.twisted.wamp import ApplicationSession, ApplicationRunner class CDCClient(Applic...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
498126319a994db8739f8c20c1e5b40af98c9c36
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/program/model/data/AlignedStructureInspector.pyi
693e3fd9084236d07f1180d0af1432e153dbdeea
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,582
pyi
from typing import List import ghidra.program.model.data import ghidra.program.model.data.AlignedStructurePacker import java.lang class AlignedStructureInspector(ghidra.program.model.data.AlignedStructurePacker): """ AlignedStructureInspector provides a simple instance of a structure member container use...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
2d40c664b2a41aa7067a9ff027e72b6c580a1ef1
089adbedb6d93148f404dfa2dbbc1bb495f4c723
/catshef/catshef/tests/test_snackbar.py
ce661993719b52c0739f1c16679e6f49395435b9
[]
no_license
iluxonchik/catshef
2c76106eb62f1ff9043a35d415f306ab6084e7aa
107ef7c9c69a2e56c0b4716a09f2cb6832df52f7
refs/heads/master
2021-03-30T16:57:09.416435
2018-05-09T15:09:54
2018-05-09T15:09:54
64,316,128
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
py
from catshef.snackbar import SnackBar from catshef.exceptions import ArgumentError from django.test import SimpleTestCase, override_settings from django.contrib import messages from django.http import HttpRequest from django.conf import settings from importlib import import_module class SnackBarTestCase(SimpleTestC...
[ "iluxon4ik@hotmail.com" ]
iluxon4ik@hotmail.com
5ef3bdbff9addf97c910cf9d3db9445f425b5741
9ff036f0cb2c5a9850af69181d016f5ca11ab63d
/week-04/day-3/sum.py
06206950dee38e24b1a95baf5639290e9787c309
[]
no_license
balintnem3th/balintnem3th
bd48f8aa7e79c718049f50e52bdd6be9ccf7b251
58bf033314466d96ed5b81b3642f04149fc463b0
refs/heads/master
2021-05-11T08:06:20.545375
2018-03-25T23:58:32
2018-03-25T23:58:32
118,041,790
0
0
null
2018-01-18T21:42:43
2018-01-18T21:42:43
null
UTF-8
Python
false
false
130
py
class Summer(object): def summ(self,list): summ = 0 for x in list: summ+=x return summ
[ "balint.nem3th@gmail.com" ]
balint.nem3th@gmail.com
fbb097c84451632baaba68b6a56a8aeb6fbeaba0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_bracts.py
ff792b52280791067117a8622f17e2bc0180686d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _BRACTS(): def __init__(self,): self.name = "BRACTS" self.definitions = bract self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['bract']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b275e228f1c615f34eb3aca17c0ab1ba1e232282
0d0afd1dce972b4748ce8faccd992c019794ad9e
/integra/leilao_marilda_personalizacao/models/orcamento_categoria_view_sale.py
325d69ad23a204eabbe9d2e7c89c521ccbd3416a
[]
no_license
danimaribeiro/odoo-erp
e2ca2cfe3629fbedf413e85f7c3c0453fd16941e
d12577bf7f5266b571cbedeb930720d653320e96
refs/heads/master
2020-01-23T21:32:16.149716
2016-11-05T15:35:40
2016-11-05T15:35:40
67,892,809
0
1
null
null
null
null
UTF-8
Python
false
false
11,555
py
# -*- coding: utf-8 -*- CABECALHO_FORM = u'''<?xml version="1.0"?> <group string="categoria_order_line" position="replace"> ''' RODAPE_FORM = u''' </group>''' CORPO_FORM = u''' <group string="{categoria_nome}" colspan="10"> <field name="{nome_campo}" colspan="10" nolabel="1" widget="one2many_list" mode=...
[ "danimaribeiro@gmail.com" ]
danimaribeiro@gmail.com
c1c0780bf6d94f5598e112a570c8364ca412e399
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/gensim/scripts/package_info.py
899ba36c77bc5fe3bf4477d2e9e18bd127b37cfe
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:0632b12abcf8313966ce5c778035857d1a0c5132e971d4984914c986c830426f size 1546
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
034fa602b52ff06cd3aa8dbdea2f88b40553f6e5
7b1edb732ca1159e428ecc4c2c1f5148f2ff03f0
/0x08-python-more_classes/8-rectangle.py
4816b62bf7f0f15e2ac6c112bdc7b0fc9033b38a
[]
no_license
maroua199525/holbertonschool-higher_level_programming
0045b1a31438f79e0da96b97e0a4d6eee46217c8
1df7014614ffb4b3fb2693a9711603d939b5dc35
refs/heads/master
2023-08-02T04:57:16.217728
2021-09-22T15:59:14
2021-09-22T15:59:14
361,716,729
0
0
null
null
null
null
UTF-8
Python
false
false
3,886
py
#!/usr/bin/python3 """ Module Rectangle""" class Rectangle: """ a rectangle class that define a rectangle""" # A class variable, counting the number of instances number_of_instances = 0 # A class variable , printing the symbol # print_symbol = "#" def __init__(self, width=0, height=0): ...
[ "2646@holbertonschool.com" ]
2646@holbertonschool.com
56178569dc5b8839c114d7711bc5695bca72f83e
ddc47b938d7ce1ccc3e239291b8db26eeca71226
/python-tips-and-tricks/Dogecoin Twitter Sentiment Analysis/main.py
63a6f39d474b8da3b44ffb8de49026312004559f
[]
no_license
abderrahmanesaad/python-climb-learning-tutorial
fad70b0d3d5cadf871198cffcb35be15402c63d4
8d32f8c50cb878d79d6e7b53c116e25f8ac8faf6
refs/heads/main
2023-06-19T01:11:09.672766
2021-07-17T06:12:01
2021-07-17T06:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
from os import access from matplotlib import colors import tweepy import textblob import pandas as pd import numpy as np import matplotlib.pyplot as plt import re all_keys = open('twitterkeys', 'r').read().splitlines() # put your twitter development keys here... api_key = all_keys[0] api_key_secret = all_keys[1] acce...
[ "lucifercaonima@gmail.com" ]
lucifercaonima@gmail.com
4439b420f228c1b5cbf3ffa62506d81de4f80860
4debe8cdb420726c5d3b0c6bfe5d91a3cae68119
/scripts/format-header.py
2b9506c91523de2dbdbebb11e04994ce87c54cf3
[ "MIT" ]
permissive
K-A-R-T/Jacinle
0c18d886f894106ff5f635db1f8d8f9e02fb8be3
ede6632abeec1a5c5788233e3dc939bc2a98dc0d
refs/heads/master
2023-09-02T17:27:46.023552
2021-10-07T16:08:24
2021-10-07T16:08:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,953
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : format-header.py # Author : Jiayuan Mao # Email : maojiayuan@gmail.com # Date : 05/09/2018 # # This file is part of Jacinle. # Distributed under terms of the MIT license. import os import os.path as osp import glob import time from jacinle.cli.argument imp...
[ "maojiayuan@gmail.com" ]
maojiayuan@gmail.com
9d95831296e702956ef81ab99aa643a7b83ab08b
c72f97f544263e734df60c2c74ffef0582578fa4
/homework08/hw08_01.py
0c97cbf3eb7a66293bd58222fb7a8baca5b10170
[]
no_license
an4p/python_learning
5d52bf3813af392f46743305e55fe022aa1e9fe6
28a8313925833fc846d4bd42fbeeb091c61dceda
refs/heads/master
2021-01-11T14:23:20.487976
2017-03-06T19:11:27
2017-03-06T19:11:27
81,359,126
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import my_file_functions f = "file_read.txt" count1 = my_file_functions.word_count(f, "beautiful") count2 = my_file_functions.symbol_count(f, "u") count3 = my_file_functions.first_letter_counter(f, "u") count4 = my_file_functions.letter_in_words_counter(f, "w") print(count1, count2, count3, count4)
[ "anna@3g.ua" ]
anna@3g.ua
8cdd38db8704ea2fcad9c4360035e5281d44b656
9cf434b6ee59ab22496ee031fb4ab145bbaff1a2
/tranque_v1.8.4_source/archivist/src/test_utils.py
06a872083b5004ef720192c0019038a63b8edeb6
[]
no_license
oliverhernandezmoreno/SourcesOH
f2ff1a5e3377f0ac1fb8b3153d99d0ee703700b7
5d9ca5ab1caceafd4d11207139c9e56210156ef8
refs/heads/master
2023-01-05T02:51:25.172103
2020-08-27T14:39:34
2020-08-27T14:39:34
64,422,812
0
1
null
2022-12-30T17:25:10
2016-07-28T19:33:44
JavaScript
UTF-8
Python
false
false
1,079
py
import utils def test_simple_command(): utils.command("ls") def test_command_failure_raises_exception(sandbox): try: utils.command("ls", sandbox / "non-existent") except RuntimeError: pass def test_command_can_interact_with_files(sandbox): with open(sandbox / "test-input", "w") as ...
[ "oliverhernandezmoreno@gmail.com" ]
oliverhernandezmoreno@gmail.com
c7ca4b569f4b4c5134c6d5e6c83d25ecb5f3eff0
c3e5c5068dc342c0c44464b16c067ba0b201e448
/student/models.py
226c5ec8e872e90eb5d6d334257cef7150f3ce59
[]
no_license
harunurkst/KhidmahBoard
63948e22e26404ac7be8c596781ed60c58bb980c
8da15273f242dfa169ff9108892d4d6ec906b6db
refs/heads/master
2020-03-19T04:12:59.624390
2018-06-02T10:01:42
2018-06-02T10:01:42
135,806,321
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
from django.db import models class StudentResult(models.Model): roll = models.IntegerField() name = models.CharField(max_length=125) result = models.CharField(max_length=25) def __str__(self): return self.name
[ "harun1393@gmail.com" ]
harun1393@gmail.com
3c487ca137887f73798dc1bef0b38f8550fbcef7
6efb4b9c2517772cf93972a17cf80e5ff4acf354
/assignment3/UNetOri.py
6f030be75d41846a8d6bb44238dfed63846f6aed
[]
no_license
ShichengChen/cs231n
51e40b914a17ef709f211489aa0e4dd8344c18f4
73ddc26b18e71dae6817df6458109ae81c580cdb
refs/heads/master
2021-01-01T05:57:52.976202
2017-08-23T13:20:08
2017-08-23T13:20:08
97,319,987
3
0
null
null
null
null
UTF-8
Python
false
false
7,802
py
import numpy as np import matplotlib.pyplot as plt #from cs231n.classifiers.cnn import * import cs231n.classifiers.ResidualNetwork from cs231n.data_utils import get_CIFAR10_data from cs231n.gradient_check import eval_numerical_gradient_array, eval_numerical_gradient from cs231n.layers import * from cs231n.fast_l...
[ "c337134154@gmail.com" ]
c337134154@gmail.com
d0a31991c5a6d759e7fd2f0f047c47de076412e3
9bdc01fddc660053e23eaf89302f9b8e5daaefdf
/scripts/forcefieldestimation/func_space_optimizer_2D.py
389767d756b4a8ac5183f0416dfd09b057ec1e33
[]
no_license
hello-starry/MotionExplorer
51d4ca1a1325567968ac2119de7c96b0345e5b10
01472004a1bc1272ce32a433fe6bde81eb962775
refs/heads/master
2023-08-14T21:20:22.073477
2021-09-07T17:51:20
2021-09-07T17:51:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,188
py
import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages import os, os.path from pdf2image import convert_from_path from cvxpy import * from math import pi import cvxpy as cvx import sys import numpy as np def Fpoly(x,K): return np.array(map(lambda e: map(lambda x: pow(x,e), x),np.aran...
[ "andreas.orthey@gmx.de" ]
andreas.orthey@gmx.de
58e2a8d622b58301d0b1908a499bb26d1f0e79e2
366ae44c239ec7d044c0114eeb1c702f9b3b15b4
/code/network/latent.py
cf1dea5a74b0e1edfbed91ae4a99e54a4bbdb959
[]
no_license
yusukeurakami/slac-playground
a169421165943fac00abf494b281fb86b768c374
101ddf5cbd0b01834576660683fc2c7259814bf9
refs/heads/master
2021-05-23T14:22:19.724192
2020-04-09T05:23:54
2020-04-09T05:23:54
253,336,601
1
0
null
null
null
null
UTF-8
Python
false
false
10,904
py
import numpy as np import torch import torch.nn as nn from torch.nn import functional as F from torch.distributions import Normal from .base import BaseNetwork, create_linear_network, weights_init_xavier class Gaussian(BaseNetwork): def __init__(self, input_dim, output_dim, hidden_units=[256, 256], ...
[ "kuboy2482@gmail.com" ]
kuboy2482@gmail.com
2db3e48990f887b9ffa91ef3edfa1eb08624503e
09a1d0f1ca86622795ad4674416d6cb9a5a78c05
/KingPhisherServer
82bf5795764ad27a021f515d6f3ca3e31fe5c8b9
[ "BSD-3-Clause" ]
permissive
junk13/king-phisher
9442508ac44a30669a0e3bc428ee8fc30ea28606
ff294c1a6ea3d59e238f0f4ed7ec668c5e8c2cfd
refs/heads/master
2020-04-12T00:41:18.596580
2015-01-30T20:53:01
2015-01-30T20:53:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,512
#!/usr/bin/python -B # -*- coding: utf-8 -*- # # KingPhisherServer # # 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 co...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
adb026585cfc2cd61ffc699c9313ed639dd5433e
3b8344095081b40b0e082137699a89a6e503e874
/code/order_batch.py
6e37e55b1046432d7ef5fbf8fda50d600c3d972d
[ "MIT" ]
permissive
KoalaYan/CS214-Project
e3636d2ed9d59d6da7ff162f987e6b3e52b46203
5c55586aa819a098a22f3557f9b12b8848941917
refs/heads/master
2022-11-07T00:01:37.221945
2020-06-30T10:00:46
2020-06-30T10:00:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,427
py
import order_assigner import datahelper import odrp_igdp import odrp_gdp import odrp_sgdp import csv if __name__ == '__main__': filename = '../../CS214-CourseData/Projects/data/haikou_order/order_20171011_20171014.csv' hr = 23 mt = 0 ans = [] for day in range(11, 15): date = '2017-10-' + s...
[ "galaxies@vip.qq.com" ]
galaxies@vip.qq.com
227ef1e646e608b342303997059c313c9392600f
2d8da5cacd21dd425688d67e1a92faa50aefc6bc
/reshape-the-matrix.py
98eabf06828f48b62cc139d0b54e69b19e69cf82
[]
no_license
stella-shen/Leetcode
970857edb74ae3ccf4bcce0c40e972ab8bcc5348
16ad99a6511543f0286559c483206c43ed655ddd
refs/heads/master
2021-01-19T02:48:49.918054
2018-11-29T10:36:43
2018-11-29T10:36:43
47,523,042
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
class Solution(object): def matrixReshape(self, nums, r, c): """ :type nums: List[List[int]] :type r: int :type c: int :rtype: List[List[int]] """ raw_r = len(nums) raw_c = len(nums[0]) if raw_c*raw_r < r*c: return nums fl...
[ "szsxt818@gmail.com" ]
szsxt818@gmail.com
f3a6a9f9dba8bf8a1f4110e92a8997baac56946c
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/accounts/migrations/0027_set_account_statii.py
f43b39b9af9f0bb343e91d01a0a5c10458d7bfff
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
8,752
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import DataMigration from django.db import models from accounts.models import Account class Migration(DataMigration): def forwards(self, orm): for a in Account.objects.all(): a.update_account_status() def backwards(s...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
8577f42354e6e49f9f43310e16f16c5e4ddbf381
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/language/v1/language-v1-py/google/cloud/language_v1/services/language_service/client.py
f51bca54ff86da7b2bf28083a0c2d8c8b034f66a
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,886
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
fc3501961ebafa9b48a2192f8dd9a7e1440855ca
903744272c3b28377d91e06d570f4ff996559373
/57.MAX VALUE DIVIDE OR SAME.py
13bf122260f9fbc55e404d9f1ed742f61be26998
[]
no_license
KumarAmbuj/GEEKSFORGEEKS-DYNAMIC-PROGRAMING
5772a5f42df50f054060382f0d0c190b2bf138b6
e2c84a0b6f30240f6ce05627ff70aa682f58445c
refs/heads/main
2023-02-20T18:25:57.811869
2021-01-23T10:44:45
2021-01-23T10:44:45
332,179,992
1
0
null
null
null
null
UTF-8
Python
false
false
180
py
def findmax(n): dp=[0 for i in range(n+1)] for i in range(1,n+1): dp[i]=max(dp[i//2]+dp[i//3]+dp[i//4]+dp[i//5],i) print(dp[n]) findmax(10) findmax(2)
[ "noreply@github.com" ]
KumarAmbuj.noreply@github.com
f20ed9e73b26cb77931af1a4f6fa8c0129a4b3f0
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/the_tale/the_tale/game/artifacts/tests/test_objects.py
01217b5246d28929317ee978a0d1ea28a851c113
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
24,637
py
import smart_imports smart_imports.all() class ArtifactTests(utils_testcase.TestCase): def setUp(self): super(ArtifactTests, self).setUp() game_logic.create_test_map() account = self.accounts_factory.create_account() self.hero = heroes_logic.load_hero(account_id=account.id) ...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
01af875fac89887b7b34d51d5cd3b7a392d1ec60
43e900f11e2b230cdc0b2e48007d40294fefd87a
/Facebook/670.maximum-swap.py
89b5962013bb37d14aa82864342d08b785a16f6e
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
499
py
# # @lc app=leetcode id=670 lang=python3 # # [670] Maximum Swap # # @lc code=start class Solution: def maximumSwap(self, num: int) -> int: arry = list(str(num)) last = {int(x): i for i, x in enumerate(arry)} print(last) for i, x in enumerate(arry): for d in range(9, int(...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
56b14e5ba4663693631f580ed6ea9b04d2c726dd
73c5a80b8ef2de609737a57c48b4190196bd4d20
/lib/base/framework.py
215e801b9a4e99365eb93fbb4ef59beca7696dcc
[ "MIT" ]
permissive
raildex1/shellsploit-framework
1674a2a0215ce0c87b0ad7f284e9b7c42834546b
a16d22fdffa5d9369cd55c8768d327e5abf8e648
refs/heads/master
2021-01-20T01:27:25.919068
2016-12-08T08:57:51
2016-12-08T08:57:51
89,279,926
2
1
null
2017-04-24T19:37:04
2017-04-24T19:37:04
null
UTF-8
Python
false
false
233
py
from lib.core.base import Base from lib.payloads.shellcode import Shellcode class ShellsploitFramework(Base, Shellcode): def __init__(self): super(Base, self).__init__() super(Shellcode, self).__init__()
[ "b3mb4m@tuta.io" ]
b3mb4m@tuta.io
1f3f988905c27f3929d3f869df25ba9cffb12fa5
5ea9a3185b8abbf536600bde73ffa5293c76913d
/django_storage/wsgi.py
87480d44259538ec14a44a6ccc650d57669eded3
[]
no_license
antikytheraton/django_storage
fd3fcaaeb93d236e2cc626e2326a8909f8fad488
7c3f8258f3a558ab99506b160659a824053db700
refs/heads/master
2021-07-08T19:17:46.690089
2017-10-07T02:16:20
2017-10-07T02:16:20
106,065,308
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for django_storage 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "binauralvoice@gmail.com" ]
binauralvoice@gmail.com
1ed49abebdebb892360fbd546b360de36192a8b7
8a780cb47eac9da046bdb5d6917f97a086887603
/problems/champagne_tower/solution.py
fd6a0aa12d43eca3c54aa0fb90a9c13118d5393a
[]
no_license
dengl11/Leetcode
d16315bc98842922569a5526d71b7fd0609ee9fb
43a5e436b6ec8950c6952554329ae0314430afea
refs/heads/master
2022-12-20T03:15:30.993739
2020-09-05T01:04:08
2020-09-05T01:04:08
279,178,665
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
class Solution: def champagneTower(self, poured: int, row: int, col: int) -> float: cups = [poured] while row > len(cups)-1: nexts = [0] * (len(cups) + 1) for i in range(len(cups)): if cups[i] >= 1: x = cups[i]-1 nexts[i...
[ "ldeng1314@gmail.com" ]
ldeng1314@gmail.com
6482c7be23e181f9623cddc6bb9db240584edf19
7c72f400f24818deed7e704d9f7d568951910634
/auxt/bfit/generate/ensemble.py
6978700c04e27f6a65ef817e31cbe62abadea5ba
[]
no_license
nymwa/korrektur-auxt
eee5f8306edaf39631de2538f43b205b60aaaa56
c6457c8571a2d275a3269f64e25209f818b550fc
refs/heads/main
2023-07-10T01:49:12.938452
2021-08-22T03:51:00
2021-08-22T03:51:00
388,433,614
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
from auxt.script.run import RunScript from .util import ( FMValidGenerationJobScriptInterface, FMTestGenerationJobScriptInterface, CoNLLValidGenerationJobScriptInterface, CoNLLTestGenerationJobScriptInterface, ValidatedFMGenerationRunScriptGeneratorInterface, ValidatedCoN...
[ "nymwa0@gmail.com" ]
nymwa0@gmail.com
39c34591ad6e2867252b9bec761f06656cbe7092
852c1fe472c04437e74965006b083ab19073a052
/inheritance.py
345acd7a5d64d748f031784b36de8fc260c4b9fd
[ "MIT" ]
permissive
zhumakova/ClassProject
718e241c4bd2f0f172197780f65038899284bf75
b869258706dae7c8e8ab723c61a45fd78e26494f
refs/heads/main
2023-05-04T09:04:10.023058
2021-05-14T10:17:43
2021-05-14T10:17:43
364,881,932
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
class Planet: def __init__(self, name, size, loc): self.name = name self.size = size self.loc = loc self.population = 0 self.temp = 0 self.sats = [] self.humanity = False self.water = False self.oxygen = False self.flora = False ...
[ "bzhumakova@gmail.com" ]
bzhumakova@gmail.com
f998b8724a4710b48dc18757d203e42511a547e6
3c59b7bde01cfbc1fbd170883393e8ebf7a0a92f
/프로그래머스/이진 변환 반복하기.py
e46e5e67c1f3a705edec689edf5c7e03077affc5
[]
no_license
gf234/python_problem_solving
93ae00d940091131d8f8b06e478e385e4c2a4503
4c95751f5a687215c14bf61c37e6dc2e7e752342
refs/heads/main
2023-05-10T07:28:12.351006
2021-06-14T04:59:33
2021-06-14T04:59:33
314,479,583
1
0
null
null
null
null
UTF-8
Python
false
false
248
py
def solution(s): answer = [0, 0] while s != '1': answer[0] += 1 sl = len(s) zeros = s.count('0') answer[1] += zeros s = bin(sl - zeros)[2:] return answer s = "110010101001" print(solution(s))
[ "gf265@naver.com" ]
gf265@naver.com
afa4ef40d53e9c4dd1879fed241509ea92a64292
ab5ef28065b0ad3f8d86fc894be569074a4569ea
/mirari/SV/migrations/0067_auto_20190607_1255.py
f3cc008f2e0fd775ec0d2db55b91f654b2c5991d
[ "MIT" ]
permissive
gcastellan0s/mirariapp
1b30dce3ac2ee56945951f340691d39494b55e95
24a9db06d10f96c894d817ef7ccfeec2a25788b7
refs/heads/master
2023-01-22T22:21:30.558809
2020-09-25T22:37:24
2020-09-25T22:37:24
148,203,907
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# Generated by Django 2.0.5 on 2019-06-07 17:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('SV', '0066_auto_20190528_1355'), ] operations = [ migrations.AlterModelOptions( name='cut', options={'default_permissions': ...
[ "g@gustavo-castellanos.com" ]
g@gustavo-castellanos.com
972153b9f042536b3193881e58aa663e5fcf76b6
b02bcd352f17c256a3d07404f8f799959e2766d2
/install/lib/python2.7/dist-packages/baxter_maintenance_msgs/msg/_CalibrateArmData.py
9826ffc72a61ecf166a62c09392acae3056be5d8
[]
no_license
kmxz2016/baxter
dec73117d6af04c0a0bb4b246f101e26aad43736
2b745f5e2b23c0aaadf1bd452cd3402f1b410d3f
refs/heads/master
2021-01-06T20:43:29.921525
2018-05-10T04:02:30
2018-05-10T04:02:30
99,546,545
2
2
null
null
null
null
UTF-8
Python
false
false
3,613
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from baxter_maintenance_msgs/CalibrateArmData.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class CalibrateArmData(genpy.Message): _md5sum = "ba9ee949ea363f7bcfc8cc74...
[ "601985329@qq.com" ]
601985329@qq.com
6623036a26d60401918cfe8fbe0649129669a8ec
ab18f1a685a7459dbf48f3edd68d8d477be0ba20
/dashboard/admin.py
fcb79239b71b3d730a5c6ee4388ad49bbb6a3369
[ "MIT" ]
permissive
a-samir97/mostql-project
4bb8afce703f9627b8f13832c093f22adf2c7a54
db4657e6f510760910b9e8afa100fcdc1fd329b7
refs/heads/master
2022-11-17T08:25:46.251554
2020-07-15T00:01:40
2020-07-15T00:01:40
267,169,688
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from django.contrib import admin from .models import Logging, Note, InboxMessages, CertifiedRequest, Reports admin.site.register(Logging) admin.site.register(Note) admin.site.register(InboxMessages) admin.site.register(CertifiedRequest) admin.site.register(Reports)
[ "a.samir9710@gmail.com" ]
a.samir9710@gmail.com
534e8aa2d7009f0348a1a6b518c249e5d0d0d9db
4e2b1b667583c4cbdd897005d8ab2d5db62eb00f
/logstash_async/utils.py
f2fd676215d6a8bf2f1be4fde8821957143fd6ac
[ "Python-2.0", "MIT" ]
permissive
BonitaTerror/python-logstash-async
856d95229495191a911f15b642aad582032d94cd
a1b800b8169a28a06b9477430d147530e52aa1fc
refs/heads/master
2023-08-20T15:53:45.007807
2021-10-24T14:47:56
2021-10-24T14:47:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
# -*- coding: utf-8 -*- # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. from __future__ import print_function from datetime import datetime from importlib import import_module from itertools import chain, islice import sys import traceback #...
[ "enrico.troeger@uvena.de" ]
enrico.troeger@uvena.de
a289443c809aa1c4eb9bb45da4293cc363a3a514
c13301b304e0ed1894ba9599a0c9b6d925bf880f
/tags/request.py
aa8d44cceafacf1d34ea02f0e3b8854fdd7491f7
[]
no_license
MarkyAaronYoung/daily-journal-backend
1d4b5e33854d0d46f0c19faaeb3f7ab452b47356
e68db9be2b7472ee5e749430025ca9c0398c5771
refs/heads/master
2023-01-02T10:30:40.677974
2020-10-30T00:29:54
2020-10-30T00:29:54
301,577,908
0
0
null
2020-10-30T00:29:55
2020-10-06T00:59:36
Python
UTF-8
Python
false
false
529
py
from models.tags import Tags import sqlite3 import json def get_all_tags(): with sqlite3.connect("./daily-journal.db") as conn: conn.row_factory = sqlite3.Row db_cursor = conn.cursor() db_cursor.execute(""" SELECT t.id, t.name FROM tags t """)...
[ "markyaaronyoung@gmail.com" ]
markyaaronyoung@gmail.com
2911034815c936ce45f0185a33778eefb5036fec
d364123a0655bff7e9d725382934fe2c15b5bfc4
/Crawler/CookiesPool/cookiespool/scheduler.py
da8b98d8353c767ef033f3275ff4a7daa84366cb
[]
no_license
yuan1093040152/SeleniumTest
88d75361c8419354f56856c326f843a0a89d7ca6
d155b98702bc46c174499042b43257696b861b5e
refs/heads/master
2023-08-31T15:00:25.415642
2023-08-30T09:26:42
2023-08-30T09:26:42
227,269,300
0
1
null
null
null
null
UTF-8
Python
false
false
1,751
py
import time from multiprocessing import Process from cookiespool.apii import app from cookiespool.config import * from cookiespool.generator import * from cookiespool.tester import * class Scheduler(object): @staticmethod def valid_cookie(cycle=CYCLE): while True: print('Cookies检测进程开始运行')...
[ "1093040152@qq.com" ]
1093040152@qq.com
3296a24eae5424edd2d85b086bc7fc609bf77e9e
81bad22641705683c68ff89f19362ba202891652
/napari/errors/__init__.py
bca7cb7758b88820f6c0f84cb9d7a9b9978e9617
[ "BSD-3-Clause" ]
permissive
sofroniewn/napari
ee2a39a1a1132910db6f2a47994671e8138edb51
beaa98efe5cf04ba659086e7a514b2ade05277af
refs/heads/main
2023-07-12T02:46:41.185932
2022-09-14T21:57:15
2022-09-14T21:57:15
154,751,137
2
3
BSD-3-Clause
2023-07-01T10:26:45
2018-10-25T23:43:01
Python
UTF-8
Python
false
false
107
py
from .reader_errors import ( MultipleReaderError, NoAvailableReaderError, ReaderPluginError, )
[ "noreply@github.com" ]
sofroniewn.noreply@github.com
e22ce5f56e5a4cd4fc7925415bcee3c64d04f154
11f7c51b506dcbd9e68441a749bd1e5d8d937c71
/ifstate.py
121010de91bb7b2edc29dcaa2a4f8b1504779a18
[]
no_license
liberbell/py08
4d6638bf4469d51d63a475ca4280d33eaab7b7a1
1585d2406ddb8fc8cd193a78aa62cabac049dcf6
refs/heads/master
2020-08-19T21:15:51.668318
2019-10-27T05:09:56
2019-10-27T05:09:56
215,955,142
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# n1 = input('input an integer between -10 to 10 here: ') # n1 = int(n1) # # if n1 < 5: # print('The interger you choose less than 5') def minimum(x, y): if x < y: return x else: return y result = minimum(1, 4) print(result) result = minimum(1, 1) print(result)
[ "liberbell@gmail.com" ]
liberbell@gmail.com
f0e4583f36b7365f0807d3c21c44caf43619a323
bc2661bd84d508c6bbeca9a635ec17e341ed8030
/problems/Subsets/Solution.py
d830af3630d865b63ca75ddc56e94ee41b66034a
[]
no_license
samuellando/CodeChallenges
ee0fb6db2e9ffd7449e3761a0e398068761a3eb1
721caa444abd39d0de11ae7902b902bb80f3c89d
refs/heads/master
2023-09-01T13:38:27.771769
2023-08-26T20:58:05
2023-08-26T20:58:05
205,923,622
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
class Solution: def subsets(self, nums: List[int]) -> List[List[int]]: if len(nums) == 0: return [[]] less = self.subsets(nums[:-1]) for i in range(len(less)): less.append([nums[-1]] + less[i]) return less
[ "samuel.lando@aol.com" ]
samuel.lando@aol.com
bc72d559a475a89d4d05cd4c6bfb97d0bbed8961
8b9674df9684e969f8d21228825b529e2fd49591
/dmc_remastered/finger.py
f40520a100157912221645b887b0e308d384e27d
[ "Apache-2.0" ]
permissive
QData/dmc_remastered
936612aacaf8f538ea0a2f4f50ac17a0323f3b6e
cec06842df66f1eef11eb40e97e02fd428795df7
refs/heads/main
2022-12-19T17:05:36.075103
2020-10-15T04:46:16
2020-10-15T04:46:16
305,465,750
11
0
null
null
null
null
UTF-8
Python
false
false
9,148
py
import collections import os import random import xml.etree.ElementTree as ET import numpy as np from dm_control import mujoco from dm_control.rl import control from dm_control.suite import base, common from dm_control.suite.utils import randomizers from dm_control.utils import containers from six.moves import range ...
[ "jcg6dn@virginia.edu" ]
jcg6dn@virginia.edu
dc61d87231a3743c0ba626298f794a3f3ecc83d3
a463f5858c663199b6f6e38d9b2dc93e9a9ae730
/problem/2003/00_200303/1865_동철이의일분배1.py
bfc8e00c41622b25bb962017191064581702d069
[]
no_license
do-park/swexpertacademy
4993f79e3a73697ecdc71e0f654306466626b00b
7cbbb0957ce5191cb44cd35094da5b0d29783e49
refs/heads/master
2020-12-22T19:26:35.257666
2020-10-19T02:02:32
2020-10-19T02:02:32
236,907,286
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
def perc(num): return int(num) / 100 def f(n, k, res): global result if result >= res: return if n == k: if result < res: result = res else: for i in range(k): if used[i] == 0: used[i] = 1 f(n + 1, k, res * maps[i][n]) ...
[ "dohee.pa@gmail.com" ]
dohee.pa@gmail.com
ba16aa7097a7da0c844b1421c70c4cef5d8c4aed
0f5f6ff75cef3e81419216ba0191bb69a26c9068
/OOP/oop.py
8c13c637c9539e8f7b45d0bfbd5cd54a6865c373
[]
no_license
daddyawesome/CodingP
1c7bbb2edd30333f7cb1b78ec6a0428854c4fa2b
66ab4e452c23f3f770d6ad1e32f604c65e1dcbd3
refs/heads/master
2022-10-13T18:36:23.068195
2022-10-04T07:01:58
2022-10-04T07:01:58
220,047,911
0
0
null
2020-07-07T20:49:07
2019-11-06T17:01:44
Python
UTF-8
Python
false
false
446
py
class Employee: def __init__(self, first, last, pay): self.first = first self.last = last self.pay = pay self.email = first + "." + last + "@company.com" def fullname(self): return '{} {}'.format(self.first, self.last) emp_1 = Employee('Mark','Russel', 50000) em...
[ "sablay296@gmail.com" ]
sablay296@gmail.com
0b9357d095c944eac275f0a82db15d9ff7469ddb
31bc3fdc7c2b62880f84e50893c8e3d0dfb66fa6
/language/python_27/class_/special_methods/rich_comparison.py
31b03c0f31d2402e95ef76e76d192348f57b83ba
[]
no_license
tpt5cu/python-tutorial
6e25cf0b346b8182ebc8a921efb25db65f16c144
5998e86165a52889faf14133b5b0d7588d637be1
refs/heads/master
2022-11-28T16:58:51.648259
2020-07-23T02:20:37
2020-07-23T02:20:37
269,521,394
0
0
null
2020-06-05T03:23:51
2020-06-05T03:23:50
null
UTF-8
Python
false
false
1,717
py
# https://docs.python.org/2.7/reference/datamodel.html#object.__lt__ # https://devinpractice.com/2016/11/29/python-objects-comparison/ ''' - I can implement any subset of rich comparison methods for a class that I want - That being said, I must implement the correct subset or I'll get weird results. For example, ...
[ "uif93194@gmail.com" ]
uif93194@gmail.com
1aef941907a324db4fbbe4f9f8ac3b2df9730367
bc441bb06b8948288f110af63feda4e798f30225
/object_store_sdk/model/pipeline/build_pb2.pyi
66642a94f7cf777f5a7fff63aa87ceec6cf10819
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,876
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScal...
[ "service@easyops.cn" ]
service@easyops.cn
e0ee76abbc22af9b270e2d573325511448401864
10d1da7d97b73a88177edb24939415feee60aec6
/transitland/feed.py
e9180c09d5c42a5a9701cea419ed364c3984036b
[ "MIT" ]
permissive
transitland/transitland-python-client
921588c82e54c5cf68688f7aa12efd1ec8653bb1
d03d8759d0758803519c51c6970213946a4078d4
refs/heads/master
2020-04-10T20:31:19.265327
2015-10-06T22:55:36
2015-10-06T22:55:36
30,332,990
5
1
null
2015-10-06T22:55:36
2015-02-05T02:15:37
Python
UTF-8
Python
false
false
5,274
py
"""Feed Entity.""" import os import geom import util import errors from entity import Entity from operator import Operator from stop import Stop from route import Route class Feed(Entity): """Transitland Feed Entity.""" onestop_type = 'f' # Feed methods. def url(self): return self.data.get('url') def ...
[ "ian@ianrees.net" ]
ian@ianrees.net
53307e61b1008f99d913fc3c90852db2a643896f
13d8ede6d23ed0a375bbc9310d93be035fd164e9
/InterviewBits/tree/sorted-array-to-balanced-bst.py
c8d1b3a21da6565143495a4a91b8fc3c1d7335a2
[]
no_license
iamrishap/PythonBits
192d3fb7bce101485eb81da2153e5b0c82b6872a
dcbc5f087ad78110a98e78dd6e5943ed971309c2
refs/heads/master
2022-03-10T07:16:08.601170
2019-11-17T04:01:00
2019-11-17T04:01:00
206,778,724
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
""" Given an array where elements are sorted in ascending order, convert it to a height balanced BST. Balanced tree : a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. Example : Given A : [1, 2, 3] A height balanced BST : ...
[ "rishap.sharma@iress.com" ]
rishap.sharma@iress.com
53ef355932cc3ff8b890b856fcbeecff27c9246d
aa28417be8935d6fa369fcb526174f9e1e30479a
/爬虫实战/05.噹噹/dangdang/dangdang/pipelines.py
97bd571887f8f3799f1b8530370ac85658ae71ad
[]
no_license
YYN117/Demo
d6fca95ed8a1a433ef06f1f3fc2e768414e863cb
40690040a7422fd5d8f03a0d68f20f1be5d4a836
refs/heads/master
2020-04-14T12:29:30.129709
2019-01-02T13:31:10
2019-01-02T13:31:10
163,841,708
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
# -*- coding: utf-8 -*- import pymysql # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class DangdangPipeline(object): def process_item(self, item, spider): conn = pymysql.connect(host='...
[ "41251061+YYN117@users.noreply.github.com" ]
41251061+YYN117@users.noreply.github.com
7d04bfd9344c34a6f8135c39e383810a32193241
a12c15ee8ca8093ad3acf40d491f786ec1cd8107
/soc/local.py
5724f86882f9a3c2a04293532d0ba0dfcad166af
[]
no_license
prathamesh920/scilab
f81565280ea5e48863be98f3ddf29739cadabc3a
df1a1b6e8b5a28f8febb4d2795df569823b4406a
refs/heads/master
2021-06-27T21:41:32.729883
2017-06-08T08:02:25
2017-06-08T08:02:25
103,620,642
0
0
null
2017-09-15T06:09:09
2017-09-15T06:09:09
null
UTF-8
Python
false
false
225
py
DB_NAME_DEFAULT='scilab_cloud_17' DB_USER_DEFAULT='root' DB_PASS_DEFAULT='root' DB_HOST_DEFAULT='' DB_PORT_DEFAULT='' DB_NAME_SCILAB='scilab' DB_USER_SCILAB='root' DB_PASS_SCILAB='root' DB_HOST_SCILAB='' DB_PORT_SCILAB=''
[ "you@example.com" ]
you@example.com
1ecb9438d15ea6550125579f660c64ef46bf8e1e
c497545ecf97bd7512c57a3f923f107bf4eed71d
/core/models.py
49bb8a638edc90b4d229f038866fb3d00bd5c915
[]
no_license
Shekharnunia/request-analatics
fb2456b5eafa24b1e8ca3e4732eb2fd346641d84
d4ce142ee7edc9114539641af547bd24abaff95a
refs/heads/master
2022-01-25T02:47:31.454023
2020-01-15T08:48:04
2020-01-15T08:48:04
234,036,968
0
0
null
2022-01-06T22:41:08
2020-01-15T08:43:11
Python
UTF-8
Python
false
false
898
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class WebRequest(models.Model): time = models.DateTimeField(auto_now_add=True) host = models.CharField(max_length=1000) content_length = models.CharField(max_length=1000) content_type = models.CharField(...
[ "shekharnunia@gmail.com" ]
shekharnunia@gmail.com
c03af2a7849184d4f5dfbaba80f885f657bdf107
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Amazon/SQS/ChangeMessageVisibility.py
c76df12be156c431e01bae19fc1af0d412ed2e45
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
5,373
py
# -*- coding: utf-8 -*- ############################################################################### # # ChangeMessageVisibility # Updates the visibility timeout parameter of a message. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
b653f7fc13cb0fae56d2e76b3a9e4a8276e23c49
9ecfba7ed75b2869b09ec3e79c1f45dab21b9640
/others/Allfilename.py
1136fb12b3d8ee6c9e9e5ee8c7b8bd7d60497034
[ "MIT" ]
permissive
pection/Scraper-website
ca7af593e421d4f09bfc280d6ec24e6562e0f6c3
77ed1df5103e1d8222a055c19acf5af255ffa4aa
refs/heads/master
2022-12-25T15:51:46.958483
2020-10-07T13:58:40
2020-10-07T13:58:40
315,717,273
1
0
MIT
2020-11-24T18:18:42
2020-11-24T18:18:41
null
UTF-8
Python
false
false
270
py
import os path ="/Users/pection/Documents/mn_furniture/AddwatermarkProgram/CG1" #we shall store all the file names in this list for root, dirs, files in os.walk(path): for file in files: if(file.endswith(".png")): print(os.path.join(root,file))
[ "pection.naphat@gmail.com" ]
pection.naphat@gmail.com
00828239355b61b293792b43ce8d4df98bef6f13
f4d9510585bd01bb17364230b3dcf9a028084c32
/lists/is_member.py
e41e1e61fcbd7f48239af0dad982c4b22ec6d8d5
[]
no_license
ErickMwazonga/learn_python
d3dcf0baa62d34ccd5413150911a87679aa68ad7
9e0da9a275c425747fcbac0354cb61014634cc3b
refs/heads/master
2021-04-15T14:27:54.320946
2018-04-25T11:45:59
2018-04-25T11:45:59
126,337,859
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
"""Write a function is_member() that takes a value i.e. a number, string, etc) x and a list of values a, and returns True if x is a member of a, False otherwise. (Note that this is exactly what the in operator does, but for the sake of the exercise you should pretend Python did not have this operator.)""" def is_m...
[ "erickmwazonga@gmail.com" ]
erickmwazonga@gmail.com
f3bf146187504fced791975aa23a03032f8d02d0
564bb8953ad74f25bb81831c6280e98a5e8ca75a
/account/tests.py
e5c00dcdb65ccd3dc3483c6f3eb997b2f319841f
[]
no_license
MohamedHany2002/my-twitter
600c083c10c006074dd1aa55d112291c731f8bc4
5f7048c3fd00a894b7c5de580954747e6421b77d
refs/heads/master
2022-07-03T09:12:34.741192
2020-05-12T15:29:41
2020-05-12T15:29:41
263,376,530
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from django.test import TestCase from .models import profile from django.contrib.auth.models import User # Create your tests here. class testProfile(TestCase): def setUp(self): self.username="some" User.objects.create(username=self.username) def checkProfile(self): print('tested'...
[ "goldenhany94@gmail.com" ]
goldenhany94@gmail.com
c77dbf5d63982f83c8f437c7688c14775b217752
b017c487d5710ed421e6e44415365c2c5b342501
/code/python/echomesh/command/Alias.py
79a8e51995524c97d46a28c301ff5c8ed5ca1732
[ "MIT" ]
permissive
dasbavaria/echomesh
d64932fb27463ebbbdc9d43184e8a3a367bf08d5
49424c63a0e6d9160cb8246cb1e28f396b475305
refs/heads/master
2021-01-18T09:28:17.334715
2013-05-17T23:45:15
2013-05-17T23:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
from __future__ import absolute_import, division, print_function, unicode_literals from echomesh.util import Log from echomesh.command import Register from echomesh.command import Aliases from echomesh.command import Show LOGGER = Log.logger(__name__) def alias(instance, *path): aliases = Aliases.instance() if n...
[ "tom@swirly.com" ]
tom@swirly.com
f23127c4510c322f4e4378f779e515808234687f
5e95083d63ce1e76385dd34c96c13c7ac382aa28
/Проверка числа на простоту.py
02fbc0b57bb4fca52e4675aaf1f5737ca12398f1
[]
no_license
oOoSanyokoOo/Course-Python-Programming-Basics
1ee3bff98259951d87d8656af1519884fb089f41
88a8ada069da45a882942ef83dd3d3bcb9cb3b0d
refs/heads/main
2023-06-14T20:57:25.347205
2021-07-08T07:09:20
2021-07-08T07:09:20
384,029,659
1
0
null
null
null
null
UTF-8
Python
false
false
241
py
def IsPrime(n): i = 2 a = False while i <= n ** 0.5: if n % i == 0: return a i += 1 return not (a) n = int(input()) if n == 2 or IsPrime(n): print('YES') else: print('NO')
[ "noreply@github.com" ]
oOoSanyokoOo.noreply@github.com
e6668940db2b84e22c5f44d8b9cb5124844e27bc
6fe3f4f2e30007bd3ff2f9fa5d2368b1d68a7a58
/onkos/Components/attachment_handlers.py
c5e2fea0692a4fbb0aafc5020d001d9fec5d72d7
[]
no_license
GregoryREvans/onkos
d5086c46d39112aea15c7e1cb386fe7d973ab369
1f42e559248c898a300770c2712e1beaae86739f
refs/heads/master
2022-02-24T05:37:26.803878
2022-02-10T13:49:20
2022-02-10T13:49:20
169,816,206
1
0
null
null
null
null
UTF-8
Python
false
false
6,256
py
from onkos.AttachmentHandlers import ( ArticulationHandler, ClefHandler, DynamicHandler, NoteheadHandler, PitchHandler, SlurHandler, TextSpanHandler, ) from onkos.Components.pitches import ( analyzed_list, chords, perm_list, random_walk_list, runs, sieve_list, ) arti...
[ "gregoryrowlandevans@gmail.com" ]
gregoryrowlandevans@gmail.com
ad7b70109de527bee96ccb40fb5898ed9aa0650d
be27b02f1a244014ff35cb3ff4cea5ffc67470a5
/build/ros_controllers/joint_state_controller/catkin_generated/pkg.installspace.context.pc.py
ce5472f025504ed1ceeb324e1e9088a03fee51bc
[]
no_license
khaledgabr77/m2Robot
172cd3859a419bc60446821db18fcf07e7d49dd9
8a2eb7cb342bade42012aea0ca4e41cc2655ee6e
refs/heads/master
2023-08-13T10:57:52.900044
2021-09-29T08:54:04
2021-09-29T08:54:04
408,036,508
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "realtime_tools;roscpp;hardware_interface;pluginlib;controller_interface;sensor_msgs".replace(';', ' ') PKG_C...
[ "khaledgabr77@gmail.com" ]
khaledgabr77@gmail.com
bda5b21ee95446e27dd0dc128592a23f1634d5dd
583fdc389936daa3a8a7748ef2b4d07110c72130
/vnquant/utils.py
1dca6c4192726f4316e8ff477b6338df64ab6f71
[]
no_license
caothetoan/vnquant
bb35eb81a7de53f54e54746e32c07d6d6ade5694
398b821ae2c0adb66ea4c9c2cdd44c6e986d4a97
refs/heads/master
2020-04-24T21:52:40.865181
2019-02-23T16:59:21
2019-02-23T16:59:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
from datetime import datetime import re def clean_text(text): return re.sub('[(\n\t)*]', '', text).strip() def convert_date(text, date_type = '%Y-%m-%d'): return datetime.strptime(text, date_type) def convert_text_dateformat(text, origin_type = '%Y-%m-%d', new_type = '%Y-%m-%d'): return convert_date(text...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
781ddfcc95ef29da19fc68baa73ffaf6fdc30514
bebe65ae5ea5d15eca9a388ddf86ca5b352762a6
/bubbles/objects.py
77ee53b9f8214a4930df18692dc4277dacdc9ada
[ "MIT", "LicenseRef-scancode-saas-mit" ]
permissive
biswapanda/bubbles
f65aa11b129cf272be1205ef1fd8f885b215216d
6c6bd7b378e53bc0edcbbb35c2211922e1cb2100
refs/heads/master
2021-01-17T19:16:58.100977
2013-12-08T21:31:21
2013-12-08T21:31:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,105
py
# -*- Encoding: utf8 -*- """Data Objects""" # FIXME: add this # from .ops.iterator import as_records from .errors import * from .extensions import * from .metadata import * from .dev import required, experimental __all__ = [ "DataObject", "IterableDataSource", "RowListDataObject", "It...
[ "stefan@agentfarms.net" ]
stefan@agentfarms.net
af221269a5035146216a8c6bcb316a1ba36014dd
91864e513235b324c3d57c8999b03df84fdeed5a
/tests/roots/test-ext-autodoc/target/properties.py
409fc2b5d61a6320b2d01f3c37649ad7dd53eb9a
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
usaturn/sphinx
868c2de3dfd8dd72d7a0481688cd582ee272a4ea
939c7bb7ff7c53a4d27df067cea637540f0e1dad
refs/heads/4.x
2023-06-19T15:36:47.833919
2021-07-14T17:24:14
2021-07-14T17:24:14
386,882,418
0
0
NOASSERTION
2021-07-17T08:32:56
2021-07-17T08:32:55
null
UTF-8
Python
false
false
97
py
class Foo: """docstring""" @property def prop(self) -> int: """docstring"""
[ "i.tkomiya@gmail.com" ]
i.tkomiya@gmail.com
a62b3c3e31b9f9347da58c7fbafb55aab391e09a
af7050b659e48a979809a705066baf7cd1a84255
/080_remove-duplicates-from-sorted-array-ii.py
10c39c7c537c1254f4d6196296a888f63632955a
[]
no_license
zyk930/leetcode
b9547cbbeaf0202c2bb3e1a22d30f1ecddd4244e
27c9da844550080c41fae60906274347f9e62919
refs/heads/master
2020-04-10T15:13:45.886717
2019-06-04T01:37:10
2019-06-04T01:37:10
161,101,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/2/27 19:14 # @Author : zyk ''' 给定一个排序数组,你需要在原地删除重复出现的元素,使得每个元素最多出现两次,返回移除后数组的新长度。 不要使用额外的数组空间,你必须在原地修改输入数组并在使用 O(1) 额外空间的条件下完成。 示例 1: 给定 nums = [1,1,1,2,2,3], 函数应返回新长度 length = 5, 并且原数组的前五个元素被修改为 1, 1, 2, 2, 3 。 你不需要考虑数组中超出新长度后面的元素。 示例 2: 给定 nums =...
[ "zhouyk@buaa.edu.cn" ]
zhouyk@buaa.edu.cn
c4fc7f28b72ecd0a9de5eeda3c5432278cc7f5f9
c48fa79309461d4b9eef30ed9fda8d7dbe1219bd
/python/algo_crate/sorting/merge_sort.py
e19401e1db6460262e97772d84c4d8a618ab0dbc
[]
no_license
johnyob/Algo-Crate
9b66086dea938523684be6682af6c5ed673165fe
89f30f3fdcaeb5bacb5ef648d41d51922f363a9c
refs/heads/master
2020-12-28T08:12:47.305377
2020-04-14T21:16:04
2020-04-14T21:16:04
238,242,633
1
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
# MERGE-SORT(A, l, r) # Sorts the subarray a[l:r + 1] using the following divide-and-conquer approach: # Divide: Divide the n-element array to be sorted into two subarrays of n/2 elements # Conquer: Sort the two subarrays recursively using merge sort # Combine: Merge the two sorted arrays to produce the sorted answer. ...
[ "johnyob132@gmail.com" ]
johnyob132@gmail.com
a74019e7b07b7545fab8dedc6056303d5e1360cc
abd9537f8b90a990e195ded5f9fafdcc108d2a48
/leetcode/739_daily_temperatures.py
78b9c0799398676d2e56792de34237844605bb7d
[]
no_license
ohdnf/algorithms
127171744631406c1d08cc2583aa569a094fa2cd
6f286753dab827facc436af4f2130f11dad2d44f
refs/heads/master
2023-08-09T11:19:56.445351
2021-08-31T13:11:46
2021-08-31T13:11:46
236,180,615
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
from typing import List class Solution: def dailyTemperatures(self, T: List[int]) -> List[int]: stack = [] result = [0] * len(T) for idx, curr in enumerate(T): while stack and curr > T[stack[-1]]: last = stack.pop() result[last] = idx - last ...
[ "jupyohong7@gmail.com" ]
jupyohong7@gmail.com
ed80b3d9556dcbef7f5c7d17a66a33b926dec522
1783342425ba9b2c5de356534101e01e6972dfc9
/rbtools/clients/tests/test_bzr.py
1e7327c4605b09148d6a8e2c22f72a9df8e1cf66
[ "MIT" ]
permissive
dakkar/rbtools
b5e55b497a6f71498f52c5b10e2db901554f3177
e977125a49a2697e516b864c05625fd2087e43c8
refs/heads/master
2021-04-09T10:16:59.371504
2018-03-07T18:35:39
2018-03-07T18:35:39
125,380,250
0
0
null
2018-03-15T14:33:14
2018-03-15T14:33:14
null
UTF-8
Python
false
false
16,680
py
"""Unit tests for BazaarClient.""" from __future__ import unicode_literals import os from hashlib import md5 from tempfile import mktemp from nose import SkipTest from rbtools.clients import RepositoryInfo from rbtools.clients.bazaar import BazaarClient from rbtools.clients.errors import TooManyRevisionsError from ...
[ "trowbrds@gmail.com" ]
trowbrds@gmail.com
ae7d13cc251a0d64980c14d9234c6e292ee38d92
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/l-n.py
69e09d4d29839e1d0d16d6f849355d8d9c9087d9
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
29b16e8a61fc4c03612a9c1b2dc100167f7c1d8b
fdbae5c032f340799129ce30de5d39eefcab3537
/src/driving_curriculum/learning/goal_oriented/online.py
f13ba3f07a43b09c9203f69cffd8a49b1b6aa7aa
[ "MIT" ]
permissive
manfreddiaz/pac-simulator
3f666b12412716fd0093755222889fa34cbc7187
2c00d878047ec4a0247167e8a7de5aec8b474086
refs/heads/master
2020-03-22T22:22:02.049442
2018-07-12T18:21:49
2018-07-12T18:21:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,300
py
from math import sin, atan2, asin, acos, pi import numpy as np from tqdm import tqdm import matplotlib.pyplot as plt from curriculum_learning.learning.end_to_end.online import OnlineLaneFollowing np.random.seed(1234) class GoalOrientedOnlineLaneFollowing(OnlineLaneFollowing): def __init__(self, world, teacher,...
[ "takeitallsource@gmail.com" ]
takeitallsource@gmail.com
d91a431bd988cb920ae2b348d9044bf503d3f3fc
5077b7508048a9c3b9f1e8519d1c229499325972
/cactus/server/outbound_message.py
3c7ad54af35915810547597929fccbeb4d39d4fd
[ "Apache-2.0" ]
permissive
Jsewill/cactus-blockchain
d5768400475b55937772b1d035302af252eea05c
eee04b35f6c6a6c2fa016cedd2f83ea33a2dd6b4
refs/heads/main
2023-06-18T13:11:22.670274
2021-07-18T18:02:04
2021-07-18T18:02:04
387,285,939
1
0
Apache-2.0
2021-07-18T23:08:23
2021-07-18T23:08:22
null
UTF-8
Python
false
false
1,201
py
from dataclasses import dataclass from enum import IntEnum from typing import Any, Optional from cactus.protocols.protocol_message_types import ProtocolMessageTypes from cactus.util.ints import uint8, uint16 from cactus.util.streamable import Streamable, streamable class NodeType(IntEnum): FULL_NODE = 1 HARV...
[ "sgroiwes@gmail.com" ]
sgroiwes@gmail.com
55c9a9df12e68ea6e99e9d501e73938b3390588a
9130bdbd90b7a70ac4ae491ddd0d6564c1c733e0
/venv/lib/python3.8/site-packages/setuptools/_distutils/_msvccompiler.py
01f0b5f5529a9426f76b8c97751f92afe4ca3054
[]
no_license
baruwaa12/Projects
6ca92561fb440c63eb48c9d1114b3fc8fa43f593
0d9a7b833f24729095308332b28c1cde63e9414d
refs/heads/main
2022-10-21T14:13:47.551218
2022-10-09T11:03:49
2022-10-09T11:03:49
160,078,601
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/27/5f/62/89ab5690585c404c380bbf1595613e229c3b6e66c66590828fb03d942a
[ "45532744+baruwaa12@users.noreply.github.com" ]
45532744+baruwaa12@users.noreply.github.com
247b147e49be1997e98a6ee96948360334c917ee
8afb5afd38548c631f6f9536846039ef6cb297b9
/_REPO/APRESS/practical-python-ai-projects/Apress-AI-master/test_multi_commodity_flow.py
c3ca6553956b5052cfae2a360e274a297635c041
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
1,527
py
from __future__ import print_function from multi_commodity_flow import gen_data, solve_model, solve_all_pairs import shortest_path def main(): import sys import random import tableutils n = 5 m = 3 C = [] if len(sys.argv) <= 1: print("Usage is main [data|run|pairs] [seed]") ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
9572b4f546d0952909d2d1b4cb861f86b58a50c4
2b8d0aa625cb0bf838bef9ea59be3ca48c6af666
/maternity_extended/apps.py
0cf1fbb277bb152117c64e62a0634907b9b3b020
[]
no_license
nayneshrathod/project
7a80d54475307d217080a6540b4f750f7d975378
cadb503fbcb393c6c6f621886a762c11e9671622
refs/heads/master
2022-11-09T15:13:13.322030
2020-05-09T18:13:58
2020-05-09T18:13:58
261,644,418
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from django.apps import AppConfig class MaternityExtendedConfig(AppConfig): name = 'maternity_extended'
[ "nayneshrathod@gmail.com" ]
nayneshrathod@gmail.com
3b3247d12a111a6cf760fb0654e8db89d64d70a2
70f78169207fa9aef8df390d6c3d77124c265c25
/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/route_tables_operations.py
72fc3ba87e445b76b0728c3abd6cb99d3e89350f
[ "MIT" ]
permissive
the1bit/azure-sdk-for-python
c89ad1d41a42c7e8ad0f6274cda09364be2d8d11
572208cdaa7d917281f6482c67725f514925c9b0
refs/heads/master
2021-05-12T13:53:16.194983
2018-01-10T01:16:08
2018-01-10T01:16:08
116,941,214
1
0
null
2018-01-10T10:16:00
2018-01-10T10:15:59
null
UTF-8
Python
false
false
22,129
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
5866b266380d070317055529ffa9473de67b3b44
76de13808c68235f3d75498e4b78b51f2b1bc975
/pyrosetta_help/__init__.py
9d0cb090d2d940ed053162782bd5f7ded33fac7d
[ "MIT" ]
permissive
OLaprevote/pyrosetta_help
9e66c231ebe91a7a9b391941465e090711f34b9c
2ce11381af71919617d6998024653b5caffc5911
refs/heads/main
2023-08-18T14:32:35.472769
2021-10-26T15:59:41
2021-10-26T15:59:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from .weights import WeightWatcher from .blueprint_maker import Blueprinter from .chain_ops import ChainOps, Transmogrifier, Murinizer from .score_mutants import Mutation, MutantScorer, extend_scores from .common_ops import * from .init_ops import * from .threading import * from .alphafold import * from .ligands import...
[ "matteo.ferla@gmail.com" ]
matteo.ferla@gmail.com
4c28d794ed02bfdc7dd30b30f4e31b0fbb290b9e
c46f8b1b822166b426b7dacfa85bbf093c8b3fa0
/pycity_calc/toolbox/networks/network_ops.py
65b0054763dda80d1a3a37091a96d4968a3557c8
[ "MIT" ]
permissive
RWTH-EBC/pyCity_calc
d82e684488ed2fba82167c07439f1ffa00907cd8
99fd0dab7f9a9030fd84ba4715753364662927ec
refs/heads/master
2021-03-27T13:11:13.171620
2019-06-16T12:01:59
2019-06-16T12:01:59
92,810,373
4
0
MIT
2019-06-16T11:38:14
2017-05-30T07:56:52
Python
UTF-8
Python
false
false
45,870
py
#!/usr/bin/env python # coding=utf-8 """ Network operation toolbox of pycity_calc """ import os import math import copy import pickle import warnings import matplotlib.pyplot as plt import shapely.geometry.point as point import shapely.geometry.linestring as lstr import networkx as nx import pycity_calc.toolbox.netw...
[ "jschiefelbein@eonerc.rwth-aachen.de" ]
jschiefelbein@eonerc.rwth-aachen.de
b3fe052159dd98d677fc5651f5dab9853a483d4c
5851bfab6684e49c808bcc724437a601107d17a8
/cnova_api_lojista_v2/model/SellerItemStocks.py
c4c51a83abde5aaf7769456208c36e3fb965f5ae
[]
no_license
ballke-dev/ViaVarejoSDK
18e3224a9d1faebfa00803dd41d4e70fe392e51e
90875423e4a5382faac926036de3cbc243a5c97f
refs/heads/master
2020-04-17T17:57:12.034404
2019-01-21T11:55:24
2019-01-21T11:55:24
166,805,846
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python class SellerItemStocks: def __init__(self): self.swaggerTypes = { 'sku_seller_id': 'str', 'stocks': 'list[Stock]' } self.attributeMap = { 'sku_seller_id': 'skuSellerId', 'stocks': 'stocks' ...
[ "ti2@ballke.com.br" ]
ti2@ballke.com.br
bf76c32746d9ff477c274bf506b38f3e1ac56c1a
fcf3c983043273c4e57ac33330efaa0a9e5643a2
/model-optimizer/extensions/front/caffe/pooling_ext.py
96540a17187fdebb8f82d2475a2de58e8dd8c1eb
[ "Apache-2.0" ]
permissive
p3tromyz0n/dldt
e7ab259848c90fdffd1395eaf5cf53ecd2b1e2f3
669bee86e580cbbc8ef40b440ab195ba2cbf5142
refs/heads/2018
2020-05-15T13:03:47.748654
2019-03-14T10:13:27
2019-03-14T10:13:27
158,445,061
0
1
Apache-2.0
2019-04-19T15:24:15
2018-11-20T20:07:50
C++
UTF-8
Python
false
false
2,931
py
""" Copyright (c) 2018 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
[ "44090433+openvino-pushbot@users.noreply.github.com" ]
44090433+openvino-pushbot@users.noreply.github.com
4cad21b44501d5263873fc08fa2e8fee59c1c59e
3e300ec008727afe36b1d334309492ad5aedb6d1
/Fourier/old experiments/partAmountInfluance.py
c467e3129b301bf5c1cfb2f4bbb5c3ae022f45c7
[]
no_license
ranBernstein/GaitKinect
c9b4f37d041c31442b66bea40f952ccf14be165a
6402092e8366f6ad507580388f2328d877202df8
refs/heads/master
2020-06-04T00:54:52.346636
2014-10-11T14:46:15
2014-10-11T14:46:15
15,319,959
8
0
null
null
null
null
UTF-8
Python
false
false
4,766
py
import numpy as np from utils.vicon.amcParser import getAMCInput from utils.timinigOneStride import getSwingsAndStances from multiprocessing import Pool from utils.stitching.stitching import EPSILON_FACTOR, GAP_FACTOR, MEAN_COEFF,OVERLAP_FACTOR,STD_COEFF, plotParts import utils.stitching.stitching as st import ut...
[ "bernstein.ran@gmail.com" ]
bernstein.ran@gmail.com
4d34c651d8eed23a8413acf8594694deaaeb62ab
47fd2ae92f3a40b9c7dd015b0718e892a2e2fce4
/pymisca/proba.py
fc572bfa66ee693a6213cc7b27921557667a74f6
[]
no_license
shouldsee/pymisca
94e1505e8e74bf47dfebd62f1fd46bcbced01bb3
50b09977779df1db8d675ef2e6e668875758a36b
refs/heads/master
2023-02-23T23:28:01.052529
2022-01-22T12:31:22
2022-01-22T12:31:22
125,884,095
0
0
null
2023-02-10T23:08:34
2018-03-19T15:59:20
Jupyter Notebook
UTF-8
Python
false
false
9,248
py
import scipy.stats as spstat import scipy.special as spspec import numpy as np import functools l2_norm = lambda x,keepdims=1:np.sum(np.square(x),axis=-1,keepdims=keepdims)**0.5 # D = 3. # E = 1. # K = (D-1)/2. import warnings try: import fisher except Exception as e: warnings.warn(str(e)) import pymisca...
[ "shouldsee.gem@gmail.com" ]
shouldsee.gem@gmail.com
de607cadc69f0aa854157be304a36367438d6dac
1355d3ba639170f874c920dc74eeeee70f9da35d
/links/signals.py
6b5e9109b82f41c737b60acbce14c401f86b087b
[]
no_license
farhad0085/Link-Monitor-Django
d2996567cd8162e74e7accc3f1c2b1745a29738d
cc7d6a2e1993d68442178d3b3e4959d615ca038f
refs/heads/master
2022-12-28T02:44:23.381411
2020-10-11T22:16:50
2020-10-11T22:16:50
297,468,999
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from django.db.models.signals import post_save from django.dispatch import receiver from .models import * @receiver(post_save, sender=Link) def create_link_detail(sender, instance, created, **kwargs): if created: LinkDetail.objects.create(link=instance)
[ "farhadhossain0085@gmail.com" ]
farhadhossain0085@gmail.com
97933d94331b0e48aa92e8df27f8ab642e8afbe6
3f28171d819fa1adf9c860114d1a18db76646b14
/activity.py
7a32a6de0a79298ba5a476d1829afc84449905f4
[]
no_license
sugar-activities/4263-activity
cc0ea7b5e5fd0eb2e371ae0f66964de49203f9ba
42a66e63093c331223ac97e45d00916e6ba8e2a6
refs/heads/master
2021-01-19T23:15:25.878820
2017-04-21T05:11:14
2017-04-21T05:11:14
88,936,104
0
0
null
null
null
null
UTF-8
Python
false
false
6,698
py
# Copyright 2007 Collabora Ltd. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
855e35d0dd2700406b62fc43c8eaa9db40d8b886
77bb6b9fd3efdad268a99c19da3b104a0914801b
/Dynamic Programming/longest_increasing_subsequence.py
87fc722c6bf6bb488da31a652e2b963915d1a97c
[]
no_license
Akasurde/Algorithms
2dc72a9b5fd30b20aba9ddce61e763a6b086c628
b6b79f267d39e3f352ffb4c91c544bdbd042092e
refs/heads/master
2021-01-14T08:55:07.928438
2015-06-21T20:21:21
2015-06-21T20:21:21
65,351,103
0
1
null
2016-08-10T04:41:13
2016-08-10T04:41:13
null
UTF-8
Python
false
false
814
py
# -*- coding: UTF-8 -*- # Program to find longest increasing subsequence (LIS) max_length = 1 # Recursive solution def LIS(arr, n): global max_length if n == 1: return 1 max_ending_here = 1 for i in range(1, n): res = LIS(arr, i) if arr[i-1] < arr[n-1] and res+1 > max_ending_here: max_ending_here = r...
[ "charul.agrawal@pagalguy.com" ]
charul.agrawal@pagalguy.com
104ea659c7f748bfcfac8b8b68f58b2ae92dab79
9c7875f2b0d33836dc5a1582645178efc88e52bc
/classification/cifar_10/figures.py
e179b6ebca10a30ce8e371d259c979217ad3cafa
[ "MIT" ]
permissive
vfdev-5/ignite-examples
d55834984d30fb02fe57834f11d8c25e9bee16b5
fb15b59e2b159e1e2bc4628f8756055e9154f5c8
refs/heads/master
2020-03-08T11:09:57.414806
2018-07-27T12:28:09
2018-07-27T12:31:43
128,090,294
11
0
MIT
2018-05-03T16:39:07
2018-04-04T16:31:30
Python
UTF-8
Python
false
false
3,942
py
import numpy as np # Change matplotlib backend import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import seaborn as sns def create_fig_target_distribution_per_batch(y_counts_df, n_classes_per_fig=20): n_classes = y_counts_df.shape[1] n = int(np.ceil(n_classes / n_classes_per_fig)) m...
[ "noreply@github.com" ]
vfdev-5.noreply@github.com
6e410c2d493e9ff280624af30193f5d612325c1c
4c99bc91391592c73c01fc5fc8bcbc6c01e96c63
/server/apps/budgets/rest_views.py
f5a305f5a635af30d81a63b173174e9ef33fc988
[]
no_license
npmcdn-to-unpkg-bot/divvy
8e50b5526715a4a5cdd3dd667e1641d552e70991
0376255b4f47e1326c5a8b58dbe885a32150b6f4
refs/heads/master
2021-01-18T05:28:43.114824
2016-08-22T20:56:09
2016-08-22T20:56:09
67,739,237
0
0
null
2016-09-08T20:48:55
2016-09-08T20:48:53
Python
UTF-8
Python
false
false
403
py
from rest_framework import generics, status from .serializers import TransactionSerializer, BudgetThroughModelSerializer from .models import Transaction class TransactionUpdate(generics.RetrieveUpdateAPIView): serializer_class = TransactionSerializer queryset = Transaction.objects.all() class TransactionRe...
[ "denverpsmith@gmail.com" ]
denverpsmith@gmail.com
6b2a0bbc95ae1042940c279a7dc6bd736bf57e6e
6fff0893ef43f1018d65f2e8e1bf27d9f8accf5b
/pw_log_tokenized/py/format_string_test.py
af49bf2001b484221784794697e8678ae5d806ab
[ "Apache-2.0" ]
permissive
isabella232/pigweed
eeb68a4eda6f0a9b5ef0b8145d0204bc9f85bfdc
53c2f3e2569d7e582d3dd3056ceb9b2c3b8197b2
refs/heads/main
2023-06-03T10:32:29.498066
2021-06-17T06:38:15
2021-06-17T20:44:55
378,165,913
0
0
Apache-2.0
2021-06-18T13:54:37
2021-06-18T13:53:40
null
UTF-8
Python
false
false
2,253
py
#!/usr/bin/env python3 # Copyright 2021 The Pigweed Authors # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com
9770d2ad5d2352b973a616e791f5d95bfaed0f6a
96f352cb2fb9f948ecebe53c844677e50af399bd
/dataset/antbee.py
dd4d12ca920f608ac6dfebdfc978fdae4fd48c99
[]
no_license
kaaier/slcv
092996d7886015da09bb24fb7eb3cabc6b80417c
060843e324faa609686c28d86b940c693a78b124
refs/heads/master
2020-04-08T14:18:18.306093
2018-11-27T15:07:33
2018-11-27T15:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Nov 24 21:53:32 2018 @author: ubuntu """ from torchvision import datasets datasets.ImageFolder(os.path.join(data_dir, x), data_transforms[x]) class AntBeeDataset(): """基于ImageNet的一个数据子集,只包含了ant和bee两类 参考pytorch英文网站中关于迁移学习的实例。 数据源结构特点:每类图片统...
[ "ximitiejiang@163.com" ]
ximitiejiang@163.com
9801b4fb2131fafb5e5221b85d90b308a84fab1a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_103/ch11_2020_03_09_11_58_17_812533.py
b57750fabec3122ec43464cc70d73cdc1f5616e0
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
def distancia_euclidiana(x1,y1,x2,y2): a=x2-x1 b=y2-y1 x1= input('digite um número:') x2=input('digite um número:') y1=input('digite um número:') y2=input('digite um número:') print (a,b)
[ "you@example.com" ]
you@example.com
549cc35b9fc32093f99b7a882b1b299a05af0740
d753976c3d89311b39f9b1f20ea354a1a0ae9a13
/vininfo/brands.py
79316f56c56aa872defda48310c00fe6f062a375
[ "BSD-3-Clause" ]
permissive
lmasikl/vininfo
1aa8b6890971b8a0651aa2e60d69948b2f9dc150
5e6e35ec4ba68849337d69ef4f425d7979541241
refs/heads/master
2020-03-24T17:04:30.118963
2018-07-30T08:52:34
2018-07-30T08:52:34
142,848,197
0
0
null
2018-07-30T08:36:07
2018-07-30T08:36:07
null
UTF-8
Python
false
false
224
py
# -*- encoding: utf-8 -*- from __future__ import unicode_literals from .common import Brand from .details import * class Lada(Brand): extractor = AvtoVazDetails class Nissan(Brand): extractor = NissanDetails
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
1310daf8f6cfa23334cd8e45aa2b4d42335e71a7
796c5481b4071b5e2d31eba2ad2a83cf3a1faa42
/backend/home/migrations/0001_load_initial_data.py
0302183558f433a9ef034ecba55e5b7888d4b9da
[]
no_license
crowdbotics-apps/graklu-31871
18e0385cb6259ace5212295777262d80d7997c82
e44bb9ef7646d3c33dbeb6d52435819ce2dc19c0
refs/heads/master
2023-09-05T16:02:26.198618
2021-11-08T07:57:31
2021-11-08T07:57:31
425,735,043
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from django.db import migrations def create_site(apps, schema_editor): Site = apps.get_model("sites", "Site") custom_domain = "graklu-31871.botics.co" site_params = { "name": "Graklu", } if custom_domain: site_params["domain"] = custom_domain Site.objects.update_or_create(def...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f19d19eff47c9a3576e507fc38be2b38181a627f
ef03c0bbe44baae4655e4ec840d648daf114b3c6
/tensor2tensor/models/video/savp.py
d05244c8359c6c3bed0afb39395c1078a0b52125
[ "Apache-2.0" ]
permissive
gitboyzorro5/tensor2tensor
728c62ccd024218d4e7ed7473260b032d4304f41
288f46cf00083ea2642cdf41339e60b0a81cebaf
refs/heads/master
2022-12-15T01:34:36.067801
2018-11-01T11:59:00
2018-11-01T11:59:35
155,729,697
1
1
Apache-2.0
2022-11-19T22:13:41
2018-11-01T14:42:58
Python
UTF-8
Python
false
false
22,194
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
78c0cfbeb7fe4b445525552b0c7d0aa709cebf24
4a08ae605a8f96146b14881330d21317a67e225d
/data_types/question40.py
e44e2c94e153e881c0f24635050c648864a30e10
[]
no_license
alex1the1great/Assignment
dd6083a2196d9bae36bb66bf12a2bdc07a0b93e8
5a806668c3bfc0d9750421c4ae287f19cbf36fc7
refs/heads/master
2022-11-13T11:07:13.875607
2020-06-29T03:51:17
2020-06-29T03:51:17
275,724,898
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
sample_tuple = (1, 2, 3) tuple_list = list(sample_tuple) tuple_list.append(4) print(tuple(tuple_list))
[ "asimshrestha608@gmail.com" ]
asimshrestha608@gmail.com