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
f5baeac0738dfa8508464ce5bcfa5f41ca97435b
4d343b7e92a44b8c8eb3e3afeeeb0e1a7a699869
/ch4-practice/books/models.py
feed0423f49f8baba32c13a55d88e9fa25a7ef57
[]
no_license
dev-iwin/book4-Django-redbook
dfca5395ae68df7536a9e7b64b73b582608b6eaa
64e0b260b50bae8bd35b918eb341725c3c3373b4
refs/heads/master
2023-03-07T05:12:26.990807
2021-02-20T21:15:12
2021-02-20T21:15:12
335,654,957
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.db import models # 예제 4-26을 위한 모델 (혼자 만들어 봄) ========================== class Book(models.Model): book_name = models.CharField(max_length=300) pub_date = models.DateTimeField('publication_date') def __str__(self): return self.book_name # ===============================================...
[ "iwinoriwin@gmail.com" ]
iwinoriwin@gmail.com
1cdbe0eee6a24955bbe72e9528b58437571dd39b
af0b56556b747233d9085eb51991806017e2a5eb
/cardpay/model/payment_response_customer.py
ba914e59a971e9191cee9c6f161144ad9508c0f5
[ "MIT" ]
permissive
whereisthebabki/python-sdk-v3
ab39809f911e80873550c44156882c8680cb6e96
b756cd0761fc23cb095db4801baee53c00de9241
refs/heads/master
2020-06-22T01:02:44.377584
2019-07-18T13:30:26
2019-07-18T13:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,414
py
# coding: utf-8 """ CardPay REST API Welcome to the CardPay REST API. The CardPay API uses HTTP verbs and a REST resources endpoint structure (see more info about REST). Request and response payloads are formatted as JSON. Merchant uses API to create payments, refunds, payouts or recurrings, check or update t...
[ "rnd@cardpay.com" ]
rnd@cardpay.com
be1ff21d8d3789702fd02aa6333e49ef6cfe5047
cddfa750235344aa5e04244ce5c36871d3c6465b
/mayan/apps/document_states/links.py
f2d41f7e5898b86968e418d4195fb20c1560a36b
[ "Apache-2.0" ]
permissive
Lomascolo/mayan-edms
76e0fdcad98605838df6737d109c95d67d9ebba5
f7f0d27a059b1e010b9bbcdf371b9867f6fcfa45
refs/heads/master
2021-01-24T08:30:07.480929
2017-05-30T06:01:31
2017-05-30T06:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,176
py
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Link from .permissions import ( permission_workflow_create, permission_workflow_delete, permission_workflow_edit, permission_workflow_tools, permission_workflow_view, ) link_document_wo...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
a6066f6913650d57e3ddb4301debeef629944d3d
e97fb7903336837edb6bb3db16ea48512128076e
/22. Database/2. Parameterized/24. RetrieveMultipleRowWhereClauseUserInputDict.py
c2ab4af145f726d2a9c6710e5f457dcc12b68740
[]
no_license
satyambhatt5/Advance_Python_code
4081bdb1e80f05161c07f416ebade3907e83f0fd
58746540285f253699b73aeebd3975911a310deb
refs/heads/master
2023-05-22T20:10:54.271672
2021-06-16T08:55:16
2021-06-16T08:55:16
377,386,448
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# Retrieve Multiple Rows WHERE clause - User Input - Dict import mysql.connector try: conn= mysql.connector.connect( user='root', password='geek', host='localhost', database='pdb', port=3306 ) if (conn.is_connected()): print('Connected') except: print('Unable to Connect') sql = 'SELECT * FROM stude...
[ "bhattsatyam793@gmail.com" ]
bhattsatyam793@gmail.com
8ea574857fbefb741c89a4bd87a9dd7d8dca56e0
0ff6198179fda1763acba69ff414c32e0f537233
/papers/admin.py
a402aa0c0c52c85351602ea2b3aef87fbfe288fe
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jc11am/Lab-Website
2a4d03f98f0502a2f77dacbbcd6db6714823cdab
111e837c957e5c73022de366985aaa6e3b3d014c
refs/heads/master
2021-05-16T22:54:04.790528
2016-09-10T19:28:37
2016-09-10T19:28:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
'''This package sets up the admin interface for the :mod:`papers` app.''' from django.contrib import admin from papers.models import Publication, AuthorDetails, AuthorContributions class PublicationAdmin(admin.ModelAdmin): '''The :class:`~papers.models.Publication` model admin is the default.''' pass admin.s...
[ "dave.bridges@gmail.com" ]
dave.bridges@gmail.com
75553f4f93558a9c446c561ab0cac78bb68102c8
b232ab24686a197a88973f26478157d05c71a930
/03. 파이썬 문자열/049.py
a0ff28c7508d71fb92da6f742be5fdf32d09267d
[]
no_license
areum0505/python300
09a3ea858bb728b6e2f699a57f013457680ab1d8
e3b56bd653390172410b86e15c40f34ef3125787
refs/heads/master
2023-01-06T04:53:44.937116
2020-10-22T23:44:36
2020-10-22T23:44:36
288,321,068
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
# 다음과 같이 날짜를 표현하는 문자열이 있을 때 연도, 월, 일로 나눠보세요. date = "2020-05-01" date.split("-")
[ "noreply@github.com" ]
areum0505.noreply@github.com
e98c9e6e4e8e98f0eb86148a6604600fbb0f969e
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part002645.py
26c00d84fbe342c060edabef02fe3c69582a4427
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,821
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
4db5502b3cb8b1723df8a7ac89467e02e213fda7
d83f50302702d6bf46c266b8117514c6d2e5d863
/counting-bits.py
f875bfed4d8a2d111f435b9c52cfced316a0c179
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
250
py
class Solution: def countBits(self, num): """ :type num: int :rtype: List[int] """ ones = [0] * (num + 1) for i in range(1, num + 1): ones[i] = ones[i & (i - 1)] + 1 return ones
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
4f0d5c22413bdaacf869bf9cbd12d47bcc73f375
1dc753d68b234b10193962f58d306bd91957eb6d
/college/college/doctype/student_achievements/student_achievements.py
66884338ed30206d53469c0ed0ba413e759ab9c7
[ "MIT" ]
permissive
harshith187/college
e8612134e47c48ad721840f684362f7348e9bad4
d9ae21734dcde70397aead827e57fbbdcdeb98c9
refs/heads/master
2020-07-20T12:36:27.601134
2020-05-25T13:53:57
2020-05-25T13:53:57
206,641,495
0
4
NOASSERTION
2020-05-25T15:05:16
2019-09-05T19:27:37
Python
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, mvit ise and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class StudentAchievements(Document): pass
[ "frappe@ubuntu.vm" ]
frappe@ubuntu.vm
7948a9e20dfc18adb728f35ea7d8d4a1387faf1a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2408/60670/279400.py
462432fde739ac9f0e437d3408deb95a44e663a4
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
360
py
def isPrime(x): for i in range(2,int(x**0.5)+1): if x%i!=0: return False return True def factorial(n): t=1 for i in range(1,n): t*=i return t%1000000007 n=int(input()) numOfPrime=0 for i in range(1,n+1): if isPrime(i): numOfPrime+=1 print((factorial(numOfPri...
[ "1069583789@qq.com" ]
1069583789@qq.com
955a3394f44e953f1a4c30c5c454af78e16f84da
a2477654a0fb85f9507389ff7a4b4a8bcc1641fa
/trydjango1-11/src/restaurants/migrations/0003_auto_20170926_1624.py
5708b2f804f86a92b2d7213e1dbc4f79de3a24b5
[]
no_license
ervinpepic/Django-11-Restaurant-app
6ae1e2dec7571b0180ea991ca80b9b83d00cdb1b
a6bd976130c70621e6149ee64c61e1cdcec2acba
refs/heads/master
2022-10-18T08:34:11.496044
2017-11-25T19:57:36
2017-11-25T19:57:36
111,400,182
0
1
null
2022-10-10T08:12:45
2017-11-20T11:13:00
Python
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-09-26 16:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('restaurants', '0002_restaurant_location'), ] operations = [ migrations.RenameModel(...
[ "ervin.hack@gmail.com" ]
ervin.hack@gmail.com
85dedc26a7d0b18671e3606cefba8011ec6f33a6
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_156/521.py
ca8aafaec283d6e9fa857be6020a6168166a825e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,635
py
#!/usr/bin/python3 import sys import math ncases = int(sys.stdin.readline().strip()) for t in range(1, ncases+1): d = int(sys.stdin.readline().strip()) values = sys.stdin.readline().strip().split() pancakes = [int(x) for x in values] pancakes.sort(reverse=True) best = pancakes[0] # Node for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
36815ed5dbc21619f0e347fd9614d4889ea71b0d
bfb882c400956861fccd40bf1fb53cd6ddcba41e
/hagelslag/processing/__init__.py
947f56449e95c6deffd11da0f81a50f94c71a716
[ "MIT" ]
permissive
stsaten6/hagelslag
3b1b07cf424997686b3320c538a188c790232bd7
6b7d0779a0b0ac4bd26fbe4931b406fad1ef9f9e
refs/heads/master
2020-03-10T17:38:44.528943
2018-04-12T20:50:38
2018-04-12T20:50:38
129,504,847
2
0
MIT
2018-04-14T09:58:37
2018-04-14T09:58:37
null
UTF-8
Python
false
false
524
py
from .EnhancedWatershedSegmenter import EnhancedWatershed from .EnsembleProducts import MachineLearningEnsembleProducts, EnsembleProducts, EnsembleConsensus from .Hysteresis import Hysteresis from .ObjectMatcher import ObjectMatcher, TrackMatcher from .ObjectMatcher import mean_minimum_centroid_distance, centroid_dista...
[ "djgagne@ou.edu" ]
djgagne@ou.edu
feb3861b0c0a06a508fdf4a0748c05fe0b8f72be
0f00c8a02e8dc1d8136b2afc92338108f92cc6ae
/recipes/mrbayes/run_test.py
40033ea2ed9721ad50dfc69b067eccb43cef93ff
[]
no_license
faircloth-lab/conda-recipes
3714f5be83753261bf3abc70454bdf6b7028c8d6
75a520a75a357ea47ee80262f3c3a6dfe1b0715f
refs/heads/master
2021-01-20T07:07:05.705307
2015-06-16T13:50:18
2015-06-16T13:50:18
12,671,015
2
6
null
null
null
null
UTF-8
Python
false
false
1,416
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ (c) 2013 Brant Faircloth || http://faircloth-lab.org/ All rights reserved. This code is distributed under a 3-clause BSD license. Please see LICENSE.txt for more information. Created on 30 December 2013 16:33 PST (-0800) """ import unittest import subprocess class...
[ "brant@faircloth-lab.org" ]
brant@faircloth-lab.org
8c49afcd2557458371bc37031be00356b871799d
092e00ae8389811929a381637b73dcb2303fefeb
/blog/domain/user.py
338592ec2da4b0e0020f532f84602d13ba2ace07
[]
no_license
uiandwe/rest_framework_ex
33cfb73e386785009b1d012a3dfa6909bdc74ab3
8130bcf9a6ffd67b91906c85d66ed9d8d453bab8
refs/heads/master
2022-11-27T20:56:26.911462
2021-10-12T07:46:17
2021-10-12T07:46:17
234,095,110
0
0
null
2022-11-22T05:17:55
2020-01-15T14:12:34
Python
UTF-8
Python
false
false
220
py
# -*- coding: utf-8 -*- class User: def __init__(self, email, username): self.email = email self.username = username def __repr__(self): return "{}, {}".format(self.email, self.username)
[ "uiandwe@gmail.com" ]
uiandwe@gmail.com
291145b4c5ed899fc48d811be2dd62caa2b32b4a
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4010/819004010.py
23f27f88966ad294e1ec85c55e27af7395e422d6
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,730
py
from bots.botsconfig import * from records004010 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'JB', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BOS', MIN: 1, MAX: 1}, {ID: 'CUR', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
51086a37acacb82ec4da2e56fe316b05793a58d1
2335e7d1c10d800abb10b4432465f29a4456548d
/setup.py
721f1b8d75682c30d9183bd741ff5d826e50db7d
[ "LicenseRef-scancode-warranty-disclaimer", "EFL-2.0" ]
permissive
deathbybandaid/Sopel-StartupMonologue
48a7e85ca117c630cf8039af76a0bbaea91ff5a1
f495344cee379e66ec5022e1e7edf15f075c758c
refs/heads/master
2020-05-09T11:18:01.564022
2019-04-27T14:12:38
2019-04-27T14:12:38
181,074,314
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import sys from setuptools import setup, find_packages if __name__ == '__main__': print('Sopel does not correctly load modules installed with setup.py ' 'directly. Please use "pip install .", or add {}/sopel_modules to ' '...
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
55c13d8cf177119f3b0b4ac0b18bc121cc4f8d62
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/tests/test_p1494_parallel_courses_ii.py
dbf8cbae087e98cebaed176c651d916aaa595833
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
1,391
py
# flake8: noqa: F403, F405 import pytest from leetcode.p1494_parallel_courses_ii import * solutions = [ minNumberOfSemesters, ] test_cases = [ ( [ 13, [ [12, 8], [2, 4], [3, 7], [6, 8], [11, 8], ...
[ "zinchenko@live.com" ]
zinchenko@live.com
78e368fb716111fadb4e8ba88e1ddd8e34f363a5
98b0d740346ad9aecd228b9a8ebb8e818908ce03
/hr-1.py
0d51517045973153f9d6f31c16975b8fb25a1e6b
[]
no_license
alexisbellido/python-examples
8c63156a2800a584a8aff0909325e38acbe49163
e6a4f61d9cd18588987430007e28ef036971764b
refs/heads/master
2022-10-16T08:28:15.312916
2022-09-30T15:55:31
2022-09-30T15:55:31
240,379,353
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
def hi(name): return f'Hi, {name}' if __name__ == '__main__': # people = [input().split() for i in range(int(input()))] # print(*name_format(people), sep='\n') #################### people = [ 'John', 'Mike', ] # print(hi(people[0])) # print(hi(people[1])) # print(*h...
[ "alexis@ventanazul.com" ]
alexis@ventanazul.com
9e783b4e701f26b5c214da0138af22e4c3c66562
f2ac9260dfa7483cd54a30700bb952e10acbc1bb
/fit_lr.py
27c2ea1089ad19bf4212c6e4d9de0bab81cb012f
[]
no_license
kudkudak/compound-activity-prediction
94dd9efd2ff7ba5c95ebb71ce1766eb6b8882aac
d55e6ecb4e3de74d40b1a37950449f60df1a2ca4
refs/heads/master
2016-09-15T21:35:54.930142
2015-01-14T13:09:19
2015-01-14T13:09:19
27,130,096
2
0
null
null
null
null
UTF-8
Python
false
false
4,056
py
from misc.utils import * from misc.experiment_utils import get_exp_options, print_exp_header, \ save_exp, get_exp_logger, generate_configs, print_exp_name from data_api import prepare_experiment_data, prepare_experiment_data_embedded, get_raw_training_data from sklearn.metrics import matthews_corrcoef, accuracy_sc...
[ "staszek.jastrzebski@gmail.com" ]
staszek.jastrzebski@gmail.com
4fafdb60d2714fc699c55d2ce9bc473bfcffb686
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/situations/complex/university_mixer_situation.py
bdd94a7c82a8c319385d8ae99bf8517a96e6a57b
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
5,087
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\situations\complex\university_mixer_situation.py # Compiled at: 2019-10-19 01:32:53 # Size of source...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
2a6ed3ab36186dc4b2907c6eccfff147841622dd
bc28f8fe941caf281261afa1641868e743ecb5ab
/Google_APAC_Round_E/Beautiful_Numbers/Beautiful_Numbers.py
07ce6d570af05b0e1e80e6cd90d4524fcd142a89
[]
no_license
anubhavshrimal/CompetitiveProgrammingInPython
9fc6949fb3cd715cfa8544c17a63ffbe52677b37
2692c446d49ec62d4967ed78a7973400db7ce981
refs/heads/master
2021-07-05T08:17:15.182154
2018-05-29T02:26:25
2018-05-29T02:26:25
60,554,340
7
6
null
2021-05-24T17:46:16
2016-06-06T19:18:27
Python
UTF-8
Python
false
false
465
py
import numpy as np test = int(input()) for t in range(1, test+1): num = int(input()) n1, n2 = abs(np.roots([1, 1, -(num-1)])) if int(n1) != n1 or int(n2)!= n2: ans = num-1 else: if n1 == 1 or n1 == -1: ans = n2 elif n2 == 1 or n2 == -1: ans = n1 ...
[ "anubhavshrimal@gmail.com" ]
anubhavshrimal@gmail.com
7054d92c14a1e6c568fc15281f3341cce89ae817
4c2136ab05913beba890b4127c2f608be4798ed2
/(0, '')/py/fc_session.py
751c6d3892c8e00fd0baf22a85673c65224e1427
[]
no_license
Dyutee/test
345adcd1769cba0f468090bcc311f4d379ea5f1e
b8b3718922bafbac1bad3802f6c885d777e1bb08
refs/heads/master
2021-01-12T04:19:45.511927
2016-12-29T07:25:29
2016-12-29T07:25:29
77,588,025
0
0
null
null
null
null
UTF-8
Python
false
false
4,517
py
#!/usr/bin/python import cgitb, sys, header, common_methods cgitb.enable() sys.path.append('/var/nasexe/storage') import storage_op import sys,os from lvm_infos import * from functions import * import san_disk_funs check_fc = san_disk_funs.fc_target_status(); fc_target=san_disk_funs.fc_list_targets() fc_ip = '' ses ...
[ "dyuteemoy46@gmail.com" ]
dyuteemoy46@gmail.com
d3c0c2a4b226f7e7de023845098715c9f079029c
6484cdf98189f5f5736950c81a9d8d30e0f0c0db
/notifications/serializers.py
488db18520ad943f4fc0b50ec121588e37fe25bd
[]
no_license
AlexFrundin/great_app_example
e0e9c91f06bfba76058f3af5b113a9399945bf6c
23225e7e88f2ee51359d23cac2200b32b8bd6e20
refs/heads/main
2023-05-30T15:02:22.035811
2021-06-17T06:40:06
2021-06-17T06:40:06
339,434,159
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
from rest_framework import serializers from .models import Notification # This class is use for serialize the data of user profile details class NoitifcationListSerializer(serializers.ModelSerializer): created_on = serializers.DateTimeField(format="%d %b %Y") class Meta: model = Notification ...
[ "aleksey.frundin@gmail.com" ]
aleksey.frundin@gmail.com
0a6a1c337560a7be7affe868a65af85fb574f072
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2021/February/Peeking Iterator.py
1c47322e8ae397e80fa7c43ca73eea44f3a2c292
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
# Below is the interface for Iterator, which is already defined for you. # # class Iterator: # def __init__(self, nums): # """ # Initializes an iterator object to the beginning of a list. # :type nums: List[int] # """ # # def hasNext(self): # """ # Returns true if...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
050fbf37649611034d2d17fa1d8f6eaaec527045
99b784550a6d306147c022c8d829800b0fbb8c68
/Part_1_Basics/Chapter_9_Classes/number_served.py
c4bf3cff3db3a73bcf0555f68427754403f58a40
[]
no_license
apuya/python_crash_course
116d6598f656d8fed0b4184edbce8e996cd0f564
0b2e8a6e9849a198cfb251706500a919d6f51fe7
refs/heads/main
2023-06-03T22:41:03.203889
2021-06-16T04:07:28
2021-06-16T04:07:28
367,812,531
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
# Python Crash Course: A Hands-On, Project-Based Introduction To Programming # # Name: Mark Lester Apuya # Date: 06/12/2021 # # Chapter 9: Classes # # Exercise 9.4 Number Served: # Start with your program from Exercise 9-1 (page 162). Add an attribute # called number_served with a default value of 0. Create an insta...
[ "contact@mapuya.com" ]
contact@mapuya.com
b91cb3c12a2949a4360518e9abecbc11298c03dd
230b7714d61bbbc9a75dd9adc487706dffbf301e
/third_party/blink/web_tests/external/wpt/tools/wptrunner/wptrunner/environment.py
2493f1fa4407a39aad3ac3c2a724322b75b0944a
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-w3c-03-bsd-license" ]
permissive
byte4byte/cloudretro
efe4f8275f267e553ba82068c91ed801d02637a7
4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a
refs/heads/master
2023-02-22T02:59:29.357795
2021-01-25T02:32:24
2021-01-25T02:32:24
197,294,750
1
2
BSD-3-Clause
2019-09-11T19:35:45
2019-07-17T01:48:48
null
UTF-8
Python
false
false
8,027
py
import json import os import multiprocessing import signal import socket import sys import time from mozlog import get_default_logger, handlers, proxy from .wptlogging import LogLevelRewriter here = os.path.split(__file__)[0] repo_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir, os.pardir)) sys.path....
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
36ef2e86187829ed5ae2b132e41bef8f08740314
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/compute/v20210701/gallery_application_version.py
85870dafc661c246411261654d85f997d3480818
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,510
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
242f80c5d1c207d66d4fd11b8d495d63cf4a6543
4b2c5fe21ffcc35837bba06d2c3b43c5116f74bd
/Bit++.py
b021896ca96ab26196e29a12c95ef313ebda47fc
[]
no_license
joydas65/Codeforces-Problems
8870cbbf1db9fa12b961cee7aaef60960af714ae
eb0f5877d0fede95af18694278029add7385973d
refs/heads/master
2023-06-23T07:16:49.151676
2023-06-17T07:28:24
2023-06-17T07:28:24
184,123,514
5
1
null
2020-11-28T07:28:03
2019-04-29T18:33:23
Python
UTF-8
Python
false
false
212
py
ans = 0 for _ in range(int(input())): s = input() if s[0] == '+' or '+' in s: ans += 1 elif s[0] == '-' or '-' in s: ans -= 1 print(ans)
[ "noreply@github.com" ]
joydas65.noreply@github.com
20eb7196fe3b002591b7b276815778936aebeb54
4eb76ddbe2bf6d7fb8ee791dcaa1dfaccd4a09b0
/jitai/events/EventTemplate.py
e85c491ebb1b21082dabbe5b4fef53d7216dc3b1
[]
no_license
koike-ya/research
3cae0be17a8871d5782842510676c05a75627c49
3ff99c56c8e5d6c57ee65f1bca2431f3dc6f6593
refs/heads/master
2021-10-12T03:13:20.645738
2019-01-26T07:12:58
2019-01-26T07:12:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,138
py
from abc import ABC from datetime import datetime, timedelta import pandas as pd from jitai.src.utils import set_hour_minute class EventTemplate(ABC): def __init__(self, param, user_info, ema, logger): self.param = param self.ema = ema self.name = param["condition_name"] self.ema_...
[ "makeffort134@gmail.com" ]
makeffort134@gmail.com
2527f4d9fd54b3e27de63af10a0a6823676bffc5
8f63cf27e69bc44dcd11e63a0c396b398443009b
/tests/unit/util/iterables.py
454eaf3914e1ade640b62d055b97606ada1ab216
[ "MIT" ]
permissive
ethanjli/phylline
fae756dbbead0351dd11c770158a1aa08fa363d2
f11307d0f37ca835996250e1e835c44abd282769
refs/heads/master
2021-01-01T23:56:41.018911
2020-02-25T05:07:34
2020-02-25T05:07:34
239,400,454
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
"""Test the util.iterables module.""" # Builtins # Packages from phylline.util.iterables import make_collection, remove_none def test_make_collection_singleton(): """Test whether the make_collection function makes collections from singletons.""" assert make_collection(42) != 42 assert make_collection(4...
[ "lietk12@gmail.com" ]
lietk12@gmail.com
b86f37f64be3a4a6a783e0cc8de77ab087a399bf
4b360696d512a35b2114c482c658d10e3ff91a2c
/project-addons/mail_ph/models/__init__.py
94a375f2116535169a7287ca79e29be1a3feb530
[]
no_license
Comunitea/CMNT_010_15_PHA
24ecf3be6a50441dfa3dd8deca4ee96ac5e61970
d4a24aafba48fc7dda7ee662e0c7e1112c220162
refs/heads/master
2022-08-12T00:39:24.464028
2022-07-11T10:30:30
2022-07-11T10:31:31
37,918,119
0
1
null
2015-12-02T12:39:43
2015-06-23T12:37:45
Python
UTF-8
Python
false
false
256
py
# -*- coding: utf-8 -*- # © 2020 Pharmadus I.T. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import res_partner, sale_order, purchase_order, hr_holidays, \ account_invoice, res_company, stock, mail_compose_message, mail_mail
[ "oscar.salvador@pharmadus.com" ]
oscar.salvador@pharmadus.com
bb92611663129085e0c2b2b258620024399268b9
24d070c6410fdf7212c4c37c2fadc932cd4e8aec
/trac/tests/notification.py
f2f6ce13b9e162a72b77a90a539f2142f77a07ba
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
clubturbo/Trac-1.4.2
4f111e8df9e8007a0e02080bec560361b25fc11c
254ce54a3c2fb86b4f31810ddeabbd4ff8b54a78
refs/heads/master
2023-01-20T16:20:44.724154
2020-12-03T08:57:08
2020-12-03T08:57:08
317,922,011
0
0
null
null
null
null
UTF-8
Python
false
false
15,655
py
# -*- coding: utf-8 -*- # # Copyright (C) 2005-2020 Edgewall Software # Copyright (C) 2005-2006 Emmanuel Blot <emmanuel.blot@free.fr> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also availab...
[ "jonn@mindhunterx" ]
jonn@mindhunterx
68e9badb63dfa7f93aed88ca630799e3a43f8ee8
bb24d8a7f71206fac23ebef0d53f94918d7aa32d
/mymusic/migrations/0005_album_image_url.py
2818a2cbf76e1a6e207e5a6e7dae1d783a693bd1
[]
no_license
momentum-morehouse/django-music-bettinacjohnson
ec3311b41df1c3c09a3993fb476c06d715a87405
c52f24d2f9faec73b0cad4139ebfe002bd819766
refs/heads/master
2022-11-27T02:04:49.847168
2020-07-16T23:46:13
2020-07-16T23:46:13
279,333,283
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.0.8 on 2020-07-15 20:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mymusic', '0004_auto_20200714_1510'), ] operations = [ migrations.AddField( model_name='album', name='image_url', ...
[ "replituser@example.com" ]
replituser@example.com
88e16d0fac13e4e9eee8c7bea8b9fa71c55ddd68
9c2edc273db48dcb6d31a937510476b7c0b0cc61
/cython_sample/setup.py
aee60680780e7c7437d6abd35f1504bd902ef425
[]
no_license
miyamotok0105/python_sample
4d397ac8a3a723c0789c4c3e568f3319dd754501
77101c981bf4f725acd20c9f4c4891b29fbaea61
refs/heads/master
2022-12-19T22:53:44.949782
2020-05-05T05:09:22
2020-05-05T05:09:22
81,720,469
1
0
null
2022-11-22T02:22:55
2017-02-12T11:15:08
Jupyter Notebook
UTF-8
Python
false
false
731
py
#! -*- coding: utf-8 -*- #python setup.py build_ext --inplace from Cython.Build import cythonize from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy as np try: numpy_include = np.get_include() except AttributeError: numpy_include = np....
[ "miyamotok0105@gmail.com" ]
miyamotok0105@gmail.com
60d34638bc1a71aec3b30bdb71943672f3a6594b
88ed6ed99589f7fb8e49aeb6c15bf0d51fe14a01
/026_removeDuplicates.py
5e8dbfc5edb96029cb37d413ce206813159f712a
[]
no_license
ryeLearnMore/LeetCode
3e97becb06ca2cf4ec15c43f77447b6ac2a061c6
04ec1eb720474a87a2995938743f05e7ad5e66e3
refs/heads/master
2020-04-07T19:02:43.171691
2019-06-23T15:09:19
2019-06-23T15:09:19
158,634,176
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
#!/usr/bin/env python #coding:utf-8 #@author: rye #@time: 2019/2/18 17:15 ''' 很快就写完了。。。算是最近写题最快的一个 ''' class Solution: def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ i = 0 j = 0 while j < len(nums): if...
[ "noreply@github.com" ]
ryeLearnMore.noreply@github.com
7ac450e80d74815ef7401aa056f3feb1952628a3
853d4cec42071b76a80be38c58ffe0fbf9b9dc34
/venv/Lib/site-packages/pandas/tests/series/test_duplicates.py
6577b3e54b7b981a4d18a17b1a5eb28849a224fe
[]
no_license
msainTesting/TwitterAnalysis
5e1646dbf40badf887a86e125ef30a9edaa622a4
b1204346508ba3e3922a52380ead5a8f7079726b
refs/heads/main
2023-08-28T08:29:28.924620
2021-11-04T12:36:30
2021-11-04T12:36:30
424,242,582
0
0
null
null
null
null
UTF-8
Python
false
false
4,717
py
import numpy as np import pytest from pandas import Categorical, Series import pandas.util.testing as tm def test_value_counts_nunique(): # basics.rst doc example series = Series(np.random.randn(500)) series[20:500] = np.nan series[10:20] = 5000 result = series.nunique() assert r...
[ "msaineti@icloud.com" ]
msaineti@icloud.com
c019e47f0ff83cf6dcdb0d544128652acf3ae52c
0cf6728548830b42c60e37ea1c38b54d0e019ddd
/Learning_MachineLearning/DeepLearningWithPython/5.3.py
0f1e218f44d0b1287be5fb399e830a0c97bf75a1
[]
no_license
MuSaCN/PythonLearning
8efe166f66f2bd020d00b479421878d91f580298
507f1d82a9228d0209c416626566cf390e1cf758
refs/heads/master
2022-11-11T09:13:08.863712
2022-11-08T04:20:09
2022-11-08T04:20:09
299,617,217
2
2
null
null
null
null
UTF-8
Python
false
false
5,734
py
# Author:Zhang Yuan from MyPackage import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.patches as patches import seaborn as sns import statsmodels.api as sm from scipy import stats #------------------------------------------------------------ __mypath__ = MyPath.MyClass_Pa...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
fd7663c74ab7441e0d5e4e98c3e5a02023c432b6
48983b88ebd7a81bfeba7abd6f45d6462adc0385
/HakerRank/data_structures/trees/tree_top_view.py
54610fe4a1f57e64ca716708d368bed09f4c0f84
[]
no_license
lozdan/oj
c6366f450bb6fed5afbaa5573c7091adffb4fa4f
79007879c5a3976da1e4713947312508adef2e89
refs/heads/master
2018-09-24T01:29:49.447076
2018-06-19T14:33:37
2018-06-19T14:33:37
109,335,964
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# author: Daniel Lozano # source: HackerRank ( https://www.hackerrank.com ) # problem name: Data Structures: Trees: Top View # problem url: https://www.hackerrank.com/challenges/tree-top-view/problem def topView(root): instance = root if not root: return answer = [instance.data] while instance....
[ "lozanodaniel02@gmail.com" ]
lozanodaniel02@gmail.com
263b4e73ca9c63039667b3f9bfd7f5987ff27324
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/TauES_test/up/emb/DoubleMuParked/StoreResults-Run2012C_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374851248/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_165/run_cfg.py
8c6b3e542ac26649a77e44a538c98aeaa7bee2f0
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,050
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/TauES_test/up/emb/DoubleMuParked/StoreResults-Run2012C_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CM...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
314ea5491f976610601bc93def87970f19fa13e6
33e006f5ae711d44d796a0e3ca384caefe1ec299
/Wprowadzenie do algorytmow - ksiazka/rozdzial 2/2.1-2.py
1919575e88d14a8d51ece544f7292e484a60b267
[]
no_license
Cozoob/Algorithms_and_data_structures
959b188f8cef3e6b7b1fd2a6c45a5e169d8f41fe
f786a397964f71e2938d9fd6268d3428e3ed7992
refs/heads/main
2023-08-05T02:23:43.565651
2021-09-17T10:52:14
2021-09-17T10:52:14
407,532,105
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# Zmodyfikuj INSERTION_SORT tak zeby sortowala w porzadku nierosnacym def insertion_sort(A): for j in range(1, len(A)): key = A[j] # Wstaw A[j] w posortowany ciąg A[1,...,j-1] i = j - 1 while i >= 0 and A[i] < key: A[i + 1] = A[i] i -= 1 A[i +...
[ "kozubmarcin10@gmail.com" ]
kozubmarcin10@gmail.com
c62c4a9af1d76050479aa8b61113b12aa938d298
9187131d6a06e4a2cd56a0eb6d20604b38ea2359
/apitest/tp/mail/test_case/page_object/mail_page.py
fd5073f7bbd54dfe0c0487251a04d2b334badf62
[]
no_license
hikaruwin/hikaru
0dc75843047c01023327854798fbf4999e710f57
1675192d4584609bb1f678c2e5a82c06915ab25e
refs/heads/master
2020-03-27T23:33:14.958007
2018-09-04T10:29:40
2018-09-04T10:29:40
147,327,361
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# coding: utf-8 from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.by import By from time import sleep from .base import Base class MailPage(Base): url = '/' login_success_user_loc = (By.ID, 'spnUid') def login_success_user(self): return self.find_elem...
[ "your email" ]
your email
b07f99a0807b1964ad81d8b566bd461031dd078d
48832d27da16256ee62c364add45f21b968ee669
/res/scripts/client/account_helpers/customfilescache.py
76a90b18fe88817f3ac8604b079be904324562d0
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
18,439
py
# 2016.08.04 19:47:56 Střední Evropa (letní čas) # Embedded file name: scripts/client/account_helpers/CustomFilesCache.py import os import time import base64 import urllib2 import cPickle import BigWorld import binascii import threading import BigWorld from debug_utils import * from functools import partial from helper...
[ "info@webium.sk" ]
info@webium.sk
300105105b624689dfe8a2adcac101be4fe25fd7
149489e12a2f209e33a82684518785540b3508b8
/configs/dram/low_power_sweep.py
9adfcaff0c0faa9eb1e0e129a7edc6b1e1f8ad9c
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
FPSG-UIUC/SPT
8dac03b54e42df285d774bfc2c08be3123ea0dbb
34ec7b2911078e36284fa0d35ae1b5551b48ba1b
refs/heads/master
2023-04-15T07:11:36.092504
2022-05-28T21:34:30
2022-05-28T21:34:30
405,761,413
4
1
BSD-3-Clause
2023-04-11T11:44:49
2021-09-12T21:54:08
C++
UTF-8
Python
false
false
10,445
py
# Copyright (c) 2014-2015, 2017 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementation of the fun...
[ "rutvikc2@midgar.cs.illinois.edu" ]
rutvikc2@midgar.cs.illinois.edu
1c8bcdf2d99bd5630809fedcd85b30f4ca5af1d3
b61b0a5333814779669320532233ee75327f039f
/xls_proc.py
2b62ee064f9f7d001f18b164b612cead6498106d
[]
no_license
marine0131/attendance_calc
75f6d387e336dfd7ff22fcde5bcb13c96a87c810
e991f30ba7ff88474b2135315b12f360d52ee726
refs/heads/master
2020-03-26T07:52:31.226713
2018-08-14T08:37:25
2018-08-14T08:37:25
144,675,548
0
0
null
null
null
null
UTF-8
Python
false
false
6,994
py
#! /usr/bin/env python import xlrd import xlwt import re import datetime import json with open("config.txt", 'r') as f: params = json.load(f) FILE = params["FILE"] MONTH = params['MONTH'] ON_WORK_TIME = params['ON_WORK_TIME'] LUNCH_TIME = params['LUNCH_TIME'] REST_TIME = params['REST_TIME'] AFTERNOON_WORK_TIME =...
[ "wanghj@woosiyuan.com" ]
wanghj@woosiyuan.com
580d3bab5161c2089c9b1c92b66b2465fd94ddb9
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/thirdparty/pythonpkgs/scipy/scipy_0.9.0+pbi86/lib/python2.7/site-packages/scipy/linalg/interface_gen.py
aed22b2164e1399c612a6bd8fd85ad35866e808f
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,791
py
#! python import os import re from distutils.dir_util import mkpath def all_subroutines(interface_in): # remove comments comment_block_exp = re.compile(r'/\*(?:\s|.)*?\*/') subroutine_exp = re.compile(r'subroutine (?:\s|.)*?end subroutine.*') function_exp = re.compile(r'function (?:\s|.)*?end function...
[ "409511038@qq.com" ]
409511038@qq.com
013c1d369981d94c454a38a281f78ed4f54d4b91
5f86944bdf1b810a84c63adc6ed01bbb48d2c59a
/kubernetes/test/test_settings_api.py
e266034720dee9676cdc5fb197e1b837aaa3f470
[ "Apache-2.0" ]
permissive
m4ttshaw/client-python
384c721ba57b7ccc824d5eca25834d0288b211e2
4eac56a8b65d56eb23d738ceb90d3afb6dbd96c1
refs/heads/master
2021-01-13T06:05:51.564765
2017-06-21T08:31:03
2017-06-21T08:31:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
efa90fcef860a3ef52b4c5a68e10fff81084c425
b5bc72861644c274b75e42374201ea8cdb84c1a2
/class_examples/class_college.py
23c904a627487340213fb1578c4134909be7e295
[]
no_license
Aadhya-Solution/PythonExample
737c3ddc9ad5e3d0cde24ac9f366ce2de2fa6cfe
34bc04570182130ebc13b6c99997c81834ad5f53
refs/heads/master
2022-12-18T09:54:30.857011
2020-08-24T13:53:59
2020-08-24T13:53:59
288,183,879
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
import class_student ps=class_student.Student('Shiva',20) print ps.name print ps.age
[ "shashikant.pattar@gmail.com" ]
shashikant.pattar@gmail.com
822de060466784748690413911f1bd522c7cfdc4
ebb0f88adedf4d5202185b27fd2b8cecc1e59ebb
/pplot/figure.py
5f79f1facf388ef88e8cc178d7e5fd4a5acc9fd6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pmacosta/pplot
c528de8a6fcec83784ed92b84979a4d738444f57
ac2e40aa1fc22a3c2aa39d894bc71c29ba33058a
refs/heads/master
2020-12-31T04:28:02.763633
2019-06-11T18:35:59
2019-06-11T18:35:59
58,674,101
1
0
null
null
null
null
UTF-8
Python
false
false
45,520
py
""" Generate presentation-quality plots. [[[cog import os, sys if sys.hexversion < 0x03000000: import __builtin__ else: import builtins as __builtin__ sys.path.append(os.environ['TRACER_DIR']) import trace_ex_plot_figure exobj_plot = trace_ex_plot_figure.trace_module(no_print=True) ]]] [[[end]]] """ # figure.p...
[ "pmasdev@gmail.com" ]
pmasdev@gmail.com
6a5f99fc2d8fd1c5ad7da2f097eecb0cf51bf7cf
0ba2c3776618b5b8b76f4a23f21e9c6ad3f6e2e1
/afterclass/homework1/007_1.py
98e2ac33076dbf3ab283e7a973e4e7a0a135d6f8
[]
no_license
WangDongDong1234/python_code
6dc5ce8210b1dcad7d57320c9e1946fd4b3fe302
6a785306a92d328a0d1427446ca773a9803d4cc0
refs/heads/master
2020-04-15T12:35:03.427589
2019-09-16T15:38:25
2019-09-16T15:38:25
164,681,323
1
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
#list记录以i为分段点的最长增长子序列的个数 #返回最大分段点的坐标 def Max(list,n): max=0 index=0; for i in range(0,n): if list[i]>max: max=list[i] index=i return index; def LIS(array,len,list,list_increase): # list记录以i为分段点的最长增长子序列的个数 for i in range(0,len): list.append(1) list...
[ "827495316@qq.com" ]
827495316@qq.com
35b823ee571526aabe931d1cf528fedc446c7de5
55e9f3b00fc2e488597bab5225ed321c86efbd4b
/sdk/test/test_frequency_response.py
8e97d49e14aa132ed3efe4ee80569106b6d29d8d
[ "MIT" ]
permissive
bs-yapily/yapily-sdk-python
ad9d04c28f3d744830734c3444c1cef8215206fd
0bba45e351b674eb655425a51190f539c4e9896f
refs/heads/master
2020-08-26T17:18:53.156429
2019-10-22T11:01:16
2019-10-22T11:01:16
217,085,936
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# coding: utf-8 """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 OpenAPI spec version: 0.0.155 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __fu...
[ "systems@yapily.com" ]
systems@yapily.com
2eb15e7a7809dccc58b91240a1a0bdbde8f2ea7a
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/examples/linear_model/plot_logistic_l1_l2_sparsity.py
afccba025af1f2bb50d6e3b57e30535232120bfa
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
3,328
py
""" ============================================== L1 Penalty and Sparsity in Logistic Regression ============================================== Comparison of the sparsity (percentage of zero coefficients) of solutions when L1, L2 and Elastic-Net penalty are used for different values of C. We can see that large values...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
71e8829afac3e0a0c65027c407736ec43eeb6262
0cba5529e387ba0f077b4e8ddeb96f914004f5df
/malaya/emotion.py
dcd419468d7b3fce6dc88b499f1cc790ea1925c7
[ "MIT" ]
permissive
AsyrafAzlan/Malaya
dc78398ee6880578f40c5646a48882a5913217ae
3d5166173cf74881f7a56fffaaf391813c55d4f1
refs/heads/master
2021-05-21T22:47:41.863857
2020-04-03T15:00:21
2020-04-03T15:00:21
252,841,526
1
0
MIT
2020-04-03T21:04:44
2020-04-03T21:04:44
null
UTF-8
Python
false
false
1,861
py
from malaya.supervised import softmax from malaya.path import PATH_EMOTION, S3_PATH_EMOTION from herpetologist import check_type _emotion_label = ['anger', 'fear', 'joy', 'love', 'sadness', 'surprise'] _availability = [ 'bert', 'tiny-bert', 'albert', 'tiny-albert', 'xlnet', 'alxlnet', ] def a...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
f68c22a3ebcff8045d9ad3131f9b30a050725a36
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_filthiness.py
d1e4e34d83d291300555681e0bf38feb72c2e796
[ "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
319
py
#calss header class _FILTHINESS(): def __init__(self,): self.name = "FILTHINESS" self.definitions = [u'the quality of being very dirty'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b033e8f0b13e41e324b11e403739c993c52bbe7e
a4a01e251b194f6d3c6654a2947a33fec2c03e80
/PythonWeb/Ajax/1809/Day02/1808/AjaxDemo02/run01.py
35ac2bfbdbdab18d5da55f05332beae995cd1c85
[]
no_license
demo112/1809
033019043e2e95ebc637b40eaf11c76bfd089626
e22972229e5e7831dce2aae0b53ce19a6e3bb106
refs/heads/master
2020-04-09T07:10:49.906231
2019-02-27T13:08:45
2019-02-27T13:08:45
160,143,869
0
2
null
null
null
null
UTF-8
Python
false
false
2,861
py
from flask import Flask, render_template, request from flask_sqlalchemy import SQLAlchemy import json import pymysql pymysql.install_as_MySQLdb() app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI']="mysql://root:123456@localhost:3306/flask" db = SQLAlchemy(app) class Login(db.Model): __tablename__ = "logi...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
35e5326d1aad1c103b3e76b9efefdd92864a2926
45edff14271724c5bf27e62e96eeb635840eae22
/ML/ensemble_learning/util.py
d998161fe6c0a48ae7207841cc63d1e0147b0db8
[]
no_license
DaiJitao/machine_learning
1e41208dc94836a97e57a4b0f5778f8da2bb81d4
49e1db9ecbfbf886a11ce416eea402d214cf2049
refs/heads/master
2021-06-25T23:52:06.066315
2021-02-07T16:17:50
2021-02-07T16:17:50
209,712,507
3
1
null
null
null
null
UTF-8
Python
false
false
347
py
""" 决策树常用的工具类:指标的计算、数据的加载 """ import numpy as np def load_data(): ''' 根据《统计学习方法》第八章8.1.3产生数据. :return: ''' dataset_label = np.array([[0, 1], [1, 1], [2, 1], [3, -1], [4, -1], [5, -1], [6, 1], [7, 1], [8, 1], [9, -1]]) return dataset_label
[ "hejinrong@news.cn" ]
hejinrong@news.cn
bbae3698bee755a86e113f6ff4e7d52fe4f8a1ca
7b12eb45c1ea76ad9c186b858b5dfebf2c5b862a
/.history/DEBER_20210905000023.py
9516b0bda58c56e4e39bbf9f8a08dc9dc32c935e
[ "MIT" ]
permissive
Alopezm5/PROYECTO-PARTE-1
a1dce04009b24852c1c60e69bdf602ad3af0574b
bd7a8594edf08d41c6ca544cf6bac01ea4fcb684
refs/heads/main
2023-07-25T11:22:17.994770
2021-09-07T03:27:34
2021-09-07T03:27:34
403,670,226
0
0
null
null
null
null
UTF-8
Python
false
false
5,447
py
import os class Empresa(): def __init__(self,nom="",ruc=0,dire="",tele=0,ciud="",tipEmpr=""): self.nombre=nom self.ruc=ruc self.direccion=dire self.telefono=tele self.ciudad=ciud self.tipoEmpresa=tipEmpr def datosEmpresa(self):#3 self.nombre=input("Ingres...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
c2154d3a5fe4c8670860e1c2b5ea7301a892ea20
780b6cca690a213ac908b1cd5faef5366a18dc4e
/314_print_names_to_columns/save1_nopass.py
8cb6c53bb39aa700c4f9bc48b51e4735762b74ba
[]
no_license
katkaypettitt/pybites-all
899180a588e460b343c00529c6a742527e4ea1bc
391c07ecac0d92d5dc7c537bcf92eb6c1fdda896
refs/heads/main
2023-08-22T16:33:11.171732
2021-10-24T17:29:44
2021-10-24T17:29:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
from typing import List # not needed when we upgrade to 3.9 def print_names_to_columns(names: List[str], cols: int = 2) -> None: name_list = [f'| {name:{9}}' for name in names] output = '' for i in range(0, len(name_list), cols): output += ' '.join(name_list[i: i + cols]) + '\n' pri...
[ "70788275+katrinaalaimo@users.noreply.github.com" ]
70788275+katrinaalaimo@users.noreply.github.com
d3e323c429533162b102744f30b393fd5c2f8081
0951cb62572e75a8e8a7ef1f98092110bb73d20a
/pandas/tests/categorical/test_operators.py
09a0607b67a88f0f3b238c65434191cfa6e3562f
[ "BSD-3-Clause" ]
permissive
ActiveState/pandas
452de0fe049412f273caf6ebc86b8d0ffa0c68e6
106a04f14e0c090f95784c311f3d07c35e6ef276
refs/heads/master
2023-08-30T09:05:13.587536
2018-01-04T15:25:01
2018-01-04T15:25:01
112,227,117
1
4
BSD-3-Clause
2023-07-28T17:52:11
2017-11-27T17:32:22
Python
UTF-8
Python
false
false
11,023
py
# -*- coding: utf-8 -*- import pytest import pandas as pd import numpy as np import pandas.util.testing as tm from pandas import Categorical, Series, DataFrame, date_range from pandas.tests.categorical.common import TestCategorical class TestCategoricalOpsWithFactor(TestCategorical): def test_categories_none_...
[ "jeff@reback.net" ]
jeff@reback.net
010885dad083a7b1ec9ebb80c5c3d64b92989605
37930870719caede967fdf6905c032e22d086e8b
/scripts/imaging/chaining/slam/light_parametric__mass_light_dark__source_parametric.py
80e4df39df68667dc5cd365fcf51cfac21c6f9f0
[]
no_license
Cywtim/autolens_workspace
cbede944c0f85ee95cd7362fee957ef77e701280
da40cafee8dc26e5d8b1041888fb280598e74a5e
refs/heads/master
2023-04-05T14:22:06.091992
2021-04-15T20:29:28
2021-04-15T20:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,711
py
""" SLaM (Source, Light and Mass): Light Parametric + Mass Total + Source Parametric ================================================================================ SLaM pipelines break the analysis down into multiple pipelines which focus on modeling a specific aspect of the strong lens, first the Source, then ...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
d1564abb5583ba7d937b0d846491cf7aa40a1cb2
00ef8e1eb57b73427508b20aadf0266da6b1f900
/rlf/exp_mgr/viz_utils.py
f323dee2afc60a42bb37336d3b28e50fe18fb7b4
[]
no_license
amy12xx/rl-toolkit
f4643935cc8afd960356bfeae74c233d2596dea9
8254df8346752ea0226ae2064cc1eabc839567b0
refs/heads/master
2023-08-14T00:56:52.270642
2021-09-28T15:59:32
2021-09-28T15:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,503
py
""" Utilities for manipulating images, rendering images, and rendering videos. """ import os import os.path as osp from argparse import Namespace from typing import List, Optional, Union import cv2 import matplotlib.pyplot as plt import numpy as np import rlf.rl.utils as rutils try: import wandb except: pass ...
[ "me@andrewszot.com" ]
me@andrewszot.com
2aeb217b02dbe82cdc5445f4bec4aafb01b07802
68049b03dbbd9a3d778571794472e07c05fb00ad
/python/courses/jose_portilla/flask/sandbox/10_databases/10_1_flask_and_databases_practice/setupdatabase.py
e2f38694c1a0eb91547cf484e4e8aa594a19934b
[]
no_license
tjkhara/notes
c9e96ecea6efed860c521eb7df562c5715091aea
5602a25ba23104e4154700108f1b8a3a0144f712
refs/heads/master
2023-01-20T07:42:47.129359
2020-11-24T06:43:24
2020-11-24T06:43:24
285,811,022
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
from basic import db, Puppy # creates all the tables # takes classes and converts them into tables db.create_all() sam = Puppy('Sammy', 3) frank = Puppy('Frankie', 4) miles = Puppy('Miles', 10) # These will say none because they are not in the database yet # They don't have any ids print(sam.id) print(frank.id) prin...
[ "tkhara@gmail.com" ]
tkhara@gmail.com
3a9884fb534bd51716b75014723d49e7b5590761
59c55725576bbf0e2f6617507ba2f1db639abb3f
/analytic_billing_plan/wizard/analytic_billing_plan_line_make_sale.py
921890470694b17358282339a41cfc55af455bcf
[]
no_license
bmya/eficent-odoo-addons
e3426ebaf1f59e52726253fc1dd36a09d9363059
5d8ddfa384ab4417f42bda103b71d926848035f6
refs/heads/7.0
2021-01-21T16:48:55.312452
2015-11-04T14:11:19
2015-11-04T14:11:19
45,649,141
1
3
null
2015-11-06T00:35:17
2015-11-06T00:35:17
null
UTF-8
Python
false
false
11,703
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2014 Eficent (<http://www.eficent.com/>) # <contact@eficent.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero...
[ "jordi.ballester@eficent.com" ]
jordi.ballester@eficent.com
e4fd0b88f086e8155bee37b5546c0096f7760d3e
e78154abbb8bacf5afccda9da371684cbeabad36
/envs/ALPHA-POPEGO/lib/python2.5/site-packages/ipython-0.8.2-py2.5.egg/IPython/Release.py
c22250cf389d6cc8e86540e756de11ec217a66b1
[ "BSD-3-Clause" ]
permissive
enterstudio/popego
1a196fabc374c0f45764e5c74bd7752236424040
2d09e793d9d2f297139edb325b8a70ddda9b2705
refs/heads/master
2021-04-09T16:39:40.781634
2016-10-14T16:53:47
2016-10-14T16:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,806
py
# -*- coding: utf-8 -*- """Release data for the IPython project. $Id: Release.py 2855 2007-11-06 06:53:49Z vivainio $""" #***************************************************************************** # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu> # # Copyright (c) 2001 Janko Hauser <jhause...
[ "santisiri@gmail.com" ]
santisiri@gmail.com
31298541903089b84d357150a735501103053981
0a57f05221d425119cb2994c5686a95e01b33d46
/ex21.py
67a0f965521d5f8cce8027401d93c01786fc9214
[]
no_license
luroto/lpthw
371ad2de422e7656b9f18461808d28847d17971f
e89329477d0c5c5b34d7998832b395c05385876b
refs/heads/master
2022-06-02T17:56:01.873932
2020-05-02T17:52:11
2020-05-02T17:52:11
260,742,781
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
def add(a,b): print(f"ADDING {a} + {b}") return a + b def substract(a, b): print(f"SUBSRACTING {a} - {b}") return a - b def multiply(a, b): print(f"MULTIPLYING {a} * {b}") return a * b def divide(a, b): print(f"DIVIDING {a} / {b}") return (a / b) print("Let's do some math with just functions") age = add(3...
[ "774@holbertonschool.com" ]
774@holbertonschool.com
6a6ebe3550b44d0e3ce445ed0151ed8f95c18ec0
7889f7f0532db6a7f81e6f8630e399c90438b2b9
/2.1.2/_downloads/boxplot_demo1.py
aac441baa4f86269d657f3d8b96bfebf095017f7
[]
no_license
matplotlib/matplotlib.github.com
ef5d23a5bf77cb5af675f1a8273d641e410b2560
2a60d39490941a524e5385670d488c86083a032c
refs/heads/main
2023-08-16T18:46:58.934777
2023-08-10T05:07:57
2023-08-10T05:08:30
1,385,150
25
59
null
2023-08-30T15:59:50
2011-02-19T03:27:35
null
UTF-8
Python
false
false
7,720
py
""" ======== Boxplots ======== Visualizing boxplots with matplotlib. The following examples show off how to visualize boxplots with Matplotlib. There are many options to control their appearance and the statistics that they use to summarize the data. """ import matplotlib.pyplot as plt import numpy as np from matplo...
[ "tcaswell@gmail.com" ]
tcaswell@gmail.com
c8c91b8f93916d59a46e5052ed5bf42d766b5c99
e914da03391c81b69ae47c3dfaabb119259eb66f
/aon_decoder.py
4f5b351c967cae4c175b18aac6ed5d606fc3f548
[]
no_license
koder-ua/python_practice
25f67e7c2333c0f96a2a711947e87951769570db
a68b8fc9c12e841b7355c745db6d104205ea568f
refs/heads/master
2021-01-22T04:22:58.642582
2015-12-15T14:16:40
2015-12-15T14:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
#!/usr/bin/env python # -*- coding:utf8 -*- """ Homework for Automatic Number Identification (ANI) https://github.com/koder-ua/python-classes/blob/master/slides/pdf/FF_tasks.pdf Slide #7 """ def decode(string): """ ANI decoder: - combine repeated characters (2333# -> 3) - remove single characters (123...
[ "vitaliy@kulanov.org.ua" ]
vitaliy@kulanov.org.ua
8cc39834a3986a41c0b6c4717eda289d67aa0f2a
7d3cb9e6ac0f2a0f217fb8ad77076fd4f719a437
/xen_signature/apps/pdf_to_image/migrations/0003_auto_20181020_1658.py
75cf4f4498115f51b134898cac32d0c1bc38dea3
[]
no_license
FlashBanistan/django-xen-signature
b88b0698b00390e019ebb419d74043f1e36777ba
b390e9aa069c89021e63e41a554489ccf9d685a5
refs/heads/master
2020-04-02T06:11:24.486660
2018-10-26T17:17:20
2018-10-26T17:17:20
154,135,107
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
# Generated by Django 2.1.2 on 2018-10-20 16:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pdf_to_image', '0002_auto_20181020_1657'), ] operations = [ migrations.RenameField( model_name='documentimage', old_...
[ "FlashBanistan66@gmail.com" ]
FlashBanistan66@gmail.com
29aa7eefb7323c5953972bcecbf05797b238b684
e42cce21fbb3c4fe3f271c2029d9659270a968ab
/vmrunapi/vmrunapi.py
cde0c05a165dbfc2cd3c7b87f6803f601bfd2453
[]
no_license
cloudbase/maas-hacks
d086a91338e45121dafb33734ba4977e31851dbc
0e2cc5537ff64376505c1e9e77dcdf3657fc4d78
refs/heads/master
2016-09-06T13:02:15.808249
2014-04-30T00:24:58
2014-04-30T00:24:58
17,869,386
5
0
null
2014-05-06T01:23:22
2014-03-18T14:43:58
Python
UTF-8
Python
false
false
3,400
py
#!/usr/bin/python import flask import os import re import subprocess import sys if sys.platform == 'win32': from win32com.shell import shell from win32com.shell import shellcon app = flask.Flask(__name__) STARTED = "started" STOPPED = "stopped" def _get_matching_vmx_path(path, mac_address): mac_address...
[ "apilotti@cloudbasesolutions.com" ]
apilotti@cloudbasesolutions.com
57c5f0267b758e4eb4c42389e10c758178243ed3
c703b8ac3b5545857f6c95efa2d61eaf7a664021
/iPERCore/models/networks/discriminators/patch_dis.py
83491547d5a6977f9e719ae8d16041dd07558ae4
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "BSD-2-Clause" ]
permissive
iPERDance/iPERCore
d29681d229b3098b3517b1abf4f7ea65f579de73
fcf9a18ffd66bf3fdd3eea4153a3bc4785131848
refs/heads/main
2023-07-30T15:04:15.835396
2023-04-12T14:21:23
2023-04-12T14:21:23
313,664,064
2,520
339
Apache-2.0
2023-05-12T03:26:52
2020-11-17T15:36:25
Python
UTF-8
Python
false
false
2,757
py
# Copyright (c) 2020-2021 impersonator.org authors (Wen Liu and Zhixin Piao). All rights reserved. import torch import torch.nn as nn import functools class PatchDiscriminator(nn.Module): """Defines a PatchGAN discriminator""" def __init__(self, input_nc, ndf=32, n_layers=3, max_nf_mult=8, ...
[ "liuwen@shanghaitech.edu.cn" ]
liuwen@shanghaitech.edu.cn
e0a7315e974496146f931f1dccb8aff89ce1264d
1ca94f20401cc0bd33a7a935dea2f3c66776dbe4
/users/models.py
b8680d9a1d986368544da5d9676214693646fa7a
[]
no_license
liangsongyou/news-18
468d06a854e3bf6b5389e6efbb2b1a812d45fef6
45619e32d7f950d75949912ee8c570903f6c39f3
refs/heads/master
2020-04-11T15:59:26.136085
2018-12-15T13:54:16
2018-12-15T13:54:16
161,909,795
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.contrib.auth.models import AbstractUser from django.db import models class CustomUser(AbstractUser): age = models.PositiveIntegerField(default=0)
[ "yuebei58@gmail.com" ]
yuebei58@gmail.com
06a59e32f037c215fdd5e541b97856291bb4a2c7
fded1e6c9cdd64bd96f0bad1d2877a65a0202631
/src/simulacra/cluster/__init__.py
4c576ebc5c4b160c199211499b0c315b87a4a462
[ "MIT" ]
permissive
johnvonlzf/simulacra
46100c33be6992b1f45d7272884689579c28bd37
b89fd0abf59debf077a4ce4cc46d5e0c58f53b4d
refs/heads/master
2022-01-23T23:04:08.191552
2018-10-14T15:53:23
2018-10-14T15:53:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
from .interface import * from .job_creation import * from .processing import *
[ "josh.karpel@gmail.com" ]
josh.karpel@gmail.com
2cb549fab7ccf5db93a112f7980fa14fbc3ffbd0
8e7e51ff8b9c1103d10aa86c3d1cb446cfb25e4c
/djeniesecurity/djeniesecurity/urls.py
c409e1093e267c2e36d190bdc95028974c4ec905
[]
no_license
huogerac/modulo4
b2c6e07f5e2928182a03edac503d0a4468736007
b30e056fb5a4703255982a349ed184beaea010fd
refs/heads/master
2021-01-17T21:25:03.926382
2013-09-23T10:21:51
2013-09-23T10:21:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'djeniesecurity.views.home', name='home'), # url(r'^djeniesecurity/', include('djeniesecurity.foo.urls')), # Uncomment the admin/doc line below...
[ "huogerac@gmail.com" ]
huogerac@gmail.com
b12c0fb45f697b54880348bc5234ea5e8967228d
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq1197.py
1ebb841cfc54a0fc26e0f2bd3522d7dfdaa63405
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=5 # total number=51 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
e1241643f1fdabd9675e8ec25ea0a5b2350349a4
62d6a37e1fb1b224b53e14a1cf151ef0571aa20f
/tests/fixtures/tests.py
abc94a63d35f2bfe008a3e1bdcf4d4b144ec1bb5
[]
no_license
katrid/orun
4fa0f291a1ef43f16bc1857a170fc0b2e5e06739
bfc6dae06182124ba75b1f3761d81ba8ca387dea
refs/heads/master
2023-08-30T03:58:34.570527
2023-08-09T04:05:30
2023-08-09T04:05:30
66,562,767
14
4
null
2023-01-06T22:29:37
2016-08-25T14:01:44
Python
UTF-8
Python
false
false
2,024
py
from orun.test import TestCase from orun.apps import apps from orun.db import connection class FixturesTest(TestCase): fixtures = { 'fixtures': [ 'fixtures.author.csv', 'fixtures.author.tsv', 'data.xml', 'fixtures.book.tsv', 'fixtures.book.csv', 'metadata.%(db_vendor)s.sql', ...
[ "alexandre@katrid.com" ]
alexandre@katrid.com
e29b795b791a39c16bac4e8f849e8d67b243c733
18dca9a552f5aa9303536613ec39f19cebf6647c
/CreateTrainingFiles/ArxivMAG/prepare_arxiv_hd2v_file.py
b73e1d6597b04b0f270151a1756b21c7527be5e2
[ "MIT" ]
permissive
ashwath92/MastersThesis
9a39ed7eec825ed559d09507721c21bd12e2ab9c
f74755dc0c32f316da3c860dd5dbfa4c9cad97b3
refs/heads/master
2021-08-16T12:01:33.282459
2020-06-27T16:00:16
2020-06-27T16:00:16
197,282,312
0
0
null
null
null
null
UTF-8
Python
false
false
14,315
py
""" Prepapres a file from Arxiv data (as well as additional mag contexts) as per the hyperdoc2vec format. All the citation markers in the output file are MAG Ids (for the ACL papers, the mapping from ACL to MAG can be found in /home/ashwath/Programs/ArxivCS/SQLITEDB/arxivcs_mag_mapping.sqlite3 -- table name: arxivcs_ma...
[ "ashwath92@gmail.com" ]
ashwath92@gmail.com
1e6895e6f359a03fff2e6129c7a5e162e1c1d48a
4ad53199feb82d911bd2edbe0b5713da8c1909c1
/pytablewriter/style/__init__.py
6be6ff1844a0928139b11cb5ac086bac8216c4f9
[ "MIT" ]
permissive
thombashi/pytablewriter
9bf8b73da0eb18dba835e951021fd581958a4d12
49f9da777625a5b920c2c87c5e086d33d19a80d4
refs/heads/master
2023-08-19T05:13:15.333317
2023-07-01T08:03:47
2023-07-01T08:03:47
59,484,958
609
43
MIT
2021-09-20T15:26:45
2016-05-23T13:25:53
Python
UTF-8
Python
false
false
1,006
py
from dataproperty import Align, Format from ._cell import Cell from ._font import FontSize, FontStyle, FontWeight from ._style import DecorationLine, Style, ThousandSeparator, VerticalAlign from ._styler import ( GFMarkdownStyler, HtmlStyler, LatexStyler, MarkdownStyler, NullStyler, ReStructure...
[ "tsuyoshi.hombashi@gmail.com" ]
tsuyoshi.hombashi@gmail.com
5cc40f6f01d9530255a06e81239788b2eae2fb46
981ecc9cf59dd6f839c3e40d26601efb1d073558
/src/face_recognition/youtube_dl/aes.py
c5bb3c4ef1561847a1025a0b35095a2224582efe
[ "MIT" ]
permissive
lodemo/CATANA
469e0684b816f09ac74f186552b463cc77db369e
a349f460772511ccbb16429b40bfb50f774d45d4
refs/heads/master
2023-03-30T04:07:12.070332
2021-02-03T21:47:32
2021-02-03T21:47:32
102,767,095
12
6
MIT
2023-03-24T21:55:24
2017-09-07T17:36:45
Jupyter Notebook
UTF-8
Python
false
false
16,123
py
from __future__ import unicode_literals import base64 from math import ceil from .utils import bytes_to_intlist, intlist_to_bytes BLOCK_SIZE_BYTES = 16 def aes_ctr_decrypt(data, key, counter): """ Decrypt with aes in counter mode @param {int[]} data cipher @param {int[]} key 16/24/3...
[ "moritzlode@gmail.com" ]
moritzlode@gmail.com
77d950e90b279c3c0f8a7d1aa395e6b81e1a73ab
06c1e0add693ba6d9fa3421f6e3713ea1df47036
/snakeskin/path_finders/__init__.py
8a012c900caefe2b281e754cabfa768043c569a9
[ "Apache-2.0" ]
permissive
ewanbarr/snakeskin
95dc9069c61de60097aa78b0d68218e3ed240445
b41a5393e9b4ab42fd6245e022dd4923be01815b
refs/heads/master
2020-04-15T07:20:24.400522
2015-12-07T04:55:34
2015-12-07T04:55:34
33,218,383
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
from base_path_finder import BasePathFinder
[ "ewan.d.barr@googlemail.com" ]
ewan.d.barr@googlemail.com
a29e5f81d40ccd06b6053ab1c38c7a185c9ec5fc
7851871aa904c8e02b88690ef4423f8d988f8a90
/square_no_list.py
a8a23de9e4c0dfc5702f6d0c31443e03f6b7e24a
[]
no_license
sharda2001/list
98809d9e0913adf9691523eb380fef4aa13fb703
40c2328e7da6dd410945e9febf767ba78f66cea1
refs/heads/main
2023-06-17T09:54:10.122583
2021-07-13T03:52:00
2021-07-13T03:52:00
377,053,205
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
numbers = [1, 2, 3, 4, 5] squared_numbers = [number ** 2 for number in numbers] print(squared_numbers)
[ "noreply@github.com" ]
sharda2001.noreply@github.com
c4ab791f131770d16025600c9969fa275bcb485e
6527b66fd08d9e7f833973adf421faccd8b765f5
/yuancloud/recicler/localizaciones/l10n_be_invoice_bba/__init__.py
8c3517b22a87f1e464f6866fc7d7621f263d5a7d
[]
no_license
cash2one/yuancloud
9a41933514e57167afb70cb5daba7f352673fb4d
5a4fd72991c846d5cb7c5082f6bdfef5b2bca572
refs/heads/master
2021-06-19T22:11:08.260079
2017-06-29T06:26:15
2017-06-29T06:26:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
# -*- encoding: utf-8 -*- # Part of YuanCloud. See LICENSE file for full copyright and licensing details. # Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. import partner import invoice
[ "liuganghao@lztogether.com" ]
liuganghao@lztogether.com
ae825fe3516b3c4458a8137c101f289786af735c
3ced55b04ec82df5257f0e3b500fba89ddf73a8a
/src/stk/molecular/topology_graphs/cage/two_plus_four/two_plus_four.py
80aa18537329f8d918ee7fea003280f088245115
[ "MIT" ]
permissive
rdguerrerom/stk
317282d22f5c4c99a1a8452023c490fd2f711357
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
refs/heads/master
2023-08-23T21:04:46.854062
2021-10-16T14:01:38
2021-10-16T14:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,112
py
""" Two Plus Four ============= """ from ..cage import Cage from ..vertices import LinearVertex, NonLinearVertex from ...topology_graph import Edge class TwoPlusFour(Cage): """ Represents a capsule cage topology graph. Unoptimized construction .. moldoc:: import moldoc.molecule as molecul...
[ "noreply@github.com" ]
rdguerrerom.noreply@github.com
0799da7f0ed0a7e68edd997eeaa9deedf6405066
8f70b40ef1c657ee14accfe6e2f8b1ebb1bebb7e
/schoolinfo/urls.py
e842061d58d48d531db89aafe7420297d52ef38e
[]
no_license
TejashviVerma/School_ERP
e3d6f1aabe92167c2b55c0b1682dde505bb04edd
11406da8b1d8701b7ea55f75c76f1cbf44a72c53
refs/heads/master
2023-08-03T15:10:11.481306
2020-09-13T18:02:40
2020-09-13T18:02:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name="addSchoolInfo"), ]
[ "yashboura303@gmail.com" ]
yashboura303@gmail.com
6305425047bc6275d2a171616fbdffe8a360ec2c
674f5dde693f1a60e4480e5b66fba8f24a9cb95d
/armulator/armv6/opcodes/concrete/rsb_register_shifted_register_a1.py
584074016b2edaaf59d9ac2ff84cb51509bec935
[ "MIT" ]
permissive
matan1008/armulator
75211c18ebc9cd9d33a02890e76fc649483c3aad
44f4275ab1cafff3cf7a1b760bff7f139dfffb07
refs/heads/master
2023-08-17T14:40:52.793120
2023-08-08T04:57:02
2023-08-08T04:57:02
91,716,042
29
7
MIT
2023-08-08T04:55:59
2017-05-18T16:37:55
Python
UTF-8
Python
false
false
837
py
from armulator.armv6.bits_ops import substring, bit_at from armulator.armv6.opcodes.abstract_opcodes.rsb_register_shifted_register import RsbRegisterShiftedRegister from armulator.armv6.shift import decode_reg_shift class RsbRegisterShiftedRegisterA1(RsbRegisterShiftedRegister): @staticmethod def from_bitarra...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
8d26a6f969809cb725345cdc97e909cdc61f535b
97a39cfdbd0ae4310eef729785630438278d3279
/manage.py
4dfa3b998a58a9b60a40062cf56854fe68d23419
[ "Apache-2.0" ]
permissive
cvlucian/confidant
e9ddf15885ec6a4442422a00d7c9d2a84f8dfa20
8e273fb813d57ae831343f7d047b32a8f62458cb
refs/heads/master
2021-01-13T09:37:39.757319
2020-09-23T14:35:53
2020-09-23T14:35:53
72,053,900
1
0
NOASSERTION
2020-09-23T14:36:19
2016-10-26T23:44:55
Python
UTF-8
Python
false
false
809
py
from flask.ext.script import Manager import confidant.workarounds # noqa from confidant import app from scripts.utils import ManageGrants from scripts.utils import RevokeGrants from scripts.bootstrap import GenerateSecretsBootstrap from scripts.bootstrap import DecryptSecretsBootstrap manager = Manager(app.app) # E...
[ "rlane@lyft.com" ]
rlane@lyft.com
78df3320c27ab2b3e2c072df6c4e2ef16a3b7759
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1469.py
8fbe59658076b2a46a7c77ed1bf039f34b16f0ae
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
import numpy as np def checkWin(p): #2 is X, 3 is O, check using the MOD method if p == 0: return "no" if p % 2 == 0 and p % 3 != 0: return 'X' if p % 2 != 0 and p % 3 == 0: return 'O' else: return 'draw' def solve(filename): fin = open(filename + '.in', 'r') ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0dc35183393d83eb31bf25b1f1f39d1850886c4d
17ef1c7483843540ce4d063708afa65430b9301f
/tests/test_allocate.py
b4281fbb11694e1dbc38fd7af714e2195439f9b5
[ "MIT" ]
permissive
CivicKnowledge/synpums
e01f8815c5fe118ec748c248b84c862a1db15a3f
dd3793388862aa7b43eee2fc2aa96fcf21014267
refs/heads/main
2023-01-03T09:04:37.021235
2020-10-31T00:17:15
2020-10-31T00:17:15
304,128,332
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
import unittest import warnings import pandas as pd import rowgenerators as rg from synpums import * from synpums.util import * warnings.filterwarnings("ignore") state = 'RI' year = 2018 release = 5 cache_dir = '/tmp/synpums' class TestAllocate(unittest.TestCase): def test_basic(self): tasks = Alloc...
[ "eric@civicknowledge.com" ]
eric@civicknowledge.com
5a5e0ce76558c3b94ad2149478844745d1f5087a
67f19ebb1fb3189e4c2f99484c1dc13af5099edb
/wii_packages/enso/gage_don_h/gage_don_h.py
08da11557b1626666c779f60cf484d446bd3aa80
[]
no_license
delguoqing/PyLMPlayer
609c4fe35e56e4ce3ce30eeb2e9244aad5ea1609
db8a1edf70ac1c11deffddc458788b3a2c2078df
refs/heads/master
2021-01-22T05:06:00.491732
2013-09-13T04:54:23
2013-09-13T04:54:23
8,878,510
5
1
null
null
null
null
UTF-8
Python
false
false
343
py
def func0(this, _global): this.stop() def func1(this, _global): this.gotoAndPlay("fever") def func2(this, _global): if 2 <= this.fever_gage._play_head <= 23: this.fever_gage.gotoAndPlay("toNormal") this.stop() def func3(this, _global): this.fever_gage.gotoAndPlay("toFever") this.stop() DATA = ( func0, fu...
[ "delguoqing@hotmail.com" ]
delguoqing@hotmail.com
8d13198a10bafeba6b94dad3cf02953c983de332
67325192c1e528a39d457f11e61b480d68826708
/mods/mcpython/Item/gold_block.py
248d5e0998a17f7d438e81b093ded15dc48a62bd
[ "MIT" ]
permissive
vashistaarav1611/mcpython-a-minecraft-clone-in-python
5851b377b54fd2b28c106112c7b18f397b71ab50
c16cd66f319efdeec4130e1a43f5a857caf1ea13
refs/heads/master
2023-02-01T22:48:51.787106
2020-12-21T15:02:25
2020-12-21T15:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from .Item import * class GoldBlock(Item): def getName(self): return "minecraft:gold_block" def getTexturFile(self): return "./assets/textures/items/gold_block.png" handler.register(GoldBlock)
[ "baulukas1301@googlemail.com" ]
baulukas1301@googlemail.com
087bc7514170d26a886ceb157ad850b49b661a4b
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/network_instances/network_instance/connection_points/connection_point/endpoints/endpoint/state/__init__.py
50aadd5a1163361e23e5c78af06fbd8a3a0a4ce6
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
30,938
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
c2a50a2894a8886745a3b0cf6176b87cdd9ff324
bd14c979335112b7718b0feda18ebf0e3b40fe5c
/contest_093/b_small_and_large_integers_2nd.py
5090fc480a7ed5adb7ee90d373f591aadebb6a25
[]
no_license
ababa831/atcoder_beginners
22c57b15333d110126d1b1afadc0ff5e8784fc4f
1a30882ce7f20f312045d5dc7bfaa5688cc8a88e
refs/heads/master
2023-03-07T15:47:19.750682
2020-03-04T19:53:45
2020-03-04T19:53:45
143,360,607
1
1
null
null
null
null
UTF-8
Python
false
false
245
py
# Accepted a, b, k = map(int, input().split()) lower_list = [i for i in range(a, a + k)] upper_list = [i for i in range(b, b - k, -1)] out_list = sorted(set(lower_list + upper_list)) for out in out_list: if a <= out <= b: print(out)
[ "flvonlineconverter@gmail.com" ]
flvonlineconverter@gmail.com
dbc0f0130cf61ccefa2cb7304519c144f1dc48bf
a3c34ad9425cf9c16a09423278b81c20edd8d77a
/sms_frame/models/sms_compose.py
3cbd3cbd6f0bcc7f98da112e58038923a071a292
[]
no_license
meswapnilwagh/Odoo9
d1dca7de18ac555abe2da96fb78f0d3bd3835650
91f1e545ab597ca89283b8dc5dbf3d7f5bd5df5b
refs/heads/9.0
2020-04-08T00:24:25.179940
2016-02-22T08:49:56
2016-02-22T08:49:56
52,294,854
0
1
null
2016-02-22T18:20:41
2016-02-22T18:20:40
null
UTF-8
Python
false
false
3,144
py
# -*- coding: utf-8 -* from datetime import datetime from openerp import api, fields, models class SmsCompose(models.Model): _name = "sms.compose" error_message = fields.Char(readonly=True) record_id = fields.Integer() model = fields.Char() sms_template_id = fields.Many2one('sms.template', s...
[ "steven@sythiltech.com" ]
steven@sythiltech.com
10c70540a9623f4e0994a218263f3b689583ef58
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_049/ch25_2019_03_11_12_40_04_650432.py
1ccce705dfcb58b27c4c448e847adbc6418c6bc3
[]
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
distancia=int(input('Qual a distância do trajeto? ')) def preco(distancia): if distancia > 200: return 100+(distancia-200)*0.45 else: return distancia*0.5 print ("{:.2f}".format(preco(distancia))
[ "you@example.com" ]
you@example.com
737ec07de6c5ea89bf1610e81acecb3e9200babb
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5708284669460480_0/Python/zdan/B.py
e89eff79728bb389faaa4be1f8d9b26f813576ea
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,651
py
import sys import itertools import numpy as np def occurrences(string, target): if len(target) > 1 and target[0] == target[-1]: count = start = 0 while True: start = string.find(target, start) + 1 if start > 0: count += 1 else: ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
098f68ce0de1a4e85ab1ea096ed45ccf2fff3eeb
4bed9030031fc99f6ea3d5267bd9e773f54320f8
/sparse/repos/Calysto/matlab_kernel/setup.py
313419fcbb79751dd03972ceb291c85638644417
[ "BSD-3-Clause" ]
permissive
yuvipanda/mybinder.org-analytics
c5f4b939541d29727bc8d3c023b4d140de756f69
7b654e3e21dea790505c626d688aa15640ea5808
refs/heads/master
2021-06-13T05:49:12.447172
2018-12-22T21:48:12
2018-12-22T21:48:12
162,839,358
1
1
BSD-3-Clause
2021-06-10T21:05:50
2018-12-22T20:01:52
Jupyter Notebook
UTF-8
Python
false
false
1,680
py
import glob from setuptools import setup, find_packages with open('matlab_kernel/__init__.py', 'rb') as fid: for line in fid: line = line.decode('utf-8') if line.startswith('__version__'): version = line.strip().split()[-1][1:-1] break DISTNAME = 'matlab_kernel' PACKAGE_DAT...
[ "yuvipanda@gmail.com" ]
yuvipanda@gmail.com
7c7b6d5899ee3e4f388506f32f261fbed6508bac
3649308c5d709100c4dc90e661fc9f564f184877
/ocs/login/models.py
bc379435ce64eb699e183aa176c7f68a662e65a4
[]
no_license
anirudhasj441/django
54171f6141d6938201146a6d3e9475477a3f0078
5bb202d13d4b17daca9aedf3b213908c3245757b
refs/heads/master
2021-07-09T06:18:11.597848
2021-03-07T17:58:32
2021-03-07T17:58:32
230,616,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from django.db import models from datetime import date # Create your models here. class Student(models.Model): # s_id = models.AutoField(primary_key=True,default="1") s_pnr = models.IntegerField(primary_key=True) s_name = models.CharField(max_length=50) s_dob = models.DateField(null=True,blank=T...
[ "anirudhasj441@gmail.com" ]
anirudhasj441@gmail.com
210bc7bd0293918d3ca37014a57b68ebe2823f96
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03408/s214379251.py
fba6c07029d057c1512feb87f8d481f483ef4cb4
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
N = int(input()) ListP = [] for i in range (N): ListP.append(input()) M = int(input()) ListN = [] for i in range (M): ListN.append(input()) res = 0 mid = 0 for i in range(N): mid += ListP.count(ListP[i]) mid += -ListN.count(ListP[i]) res = max(res,mid) mid = 0 print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
07f87234adb59300c6bb17578632811553a04257
8cf633e92a0671c8201268620a0372f250c8aeb2
/205.同构字符串.py
f76217c78e58ac420845c37b25d7da82a86ce71d
[ "Unlicense" ]
permissive
SprintGhost/LeetCode
76da5c785009d474542e5f2cdac275675b8e60b8
cdf1a86c83f2daedf674a871c4161da7e8fad17c
refs/heads/develop
2021-06-06T04:04:28.883692
2021-01-01T14:09:26
2021-01-01T14:09:26
230,635,046
0
0
Unlicense
2020-12-11T14:55:36
2019-12-28T16:34:39
Python
UTF-8
Python
false
false
1,636
py
# # @lc app=leetcode.cn id=205 lang=python3 # # [205] 同构字符串 # # Accepted # 30/30 cases passed (48 ms) # Your runtime beats 55.2 % of python3 submissions # Your memory usage beats 16.3 % of python3 submissions (14.1 MB) # @lc code=start class Solution: def isIsomorphic(self, s: str, t: str) -> bool: if (not...
[ "864047435@qq.com" ]
864047435@qq.com
4f95ffbb37ddcbd7d1965a4ed8a986c5e52274fa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_193/ch11_2019_08_22_19_37_28_357381.py
1ee4b70ca39ef725a52d1d1a1e107d4d7747a66f
[]
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
115
py
def celsius_para_fahrenheit(x): y = (x * 1.8) + 32 return y a = 0 b = celsius_para_fahrenheit(a) print(b)
[ "you@example.com" ]
you@example.com
554b02c0fd1b8bac352fe742a597f5be3d13b43d
8222dcbb226682a9112720927361877a92185407
/fluent_contents/plugins/sharedcontent/managers.py
7bd0a8f6915af76928eb41ced0dc3898c6d93cf6
[ "Apache-2.0" ]
permissive
acolorbright/django-fluent-contents
ada4a5fedb590e5f679463221fce2f965730bac1
4e5c6e99134ceee804bb42391ec37e5e17ff5a7e
refs/heads/master
2023-04-12T05:31:19.179528
2018-05-14T11:10:16
2018-05-14T11:10:16
108,149,326
0
0
Apache-2.0
2023-04-04T00:22:27
2017-10-24T15:48:46
Python
UTF-8
Python
false
false
1,888
py
from django.conf import settings from django.db.models import Q, Manager from parler.managers import TranslatableQuerySet from fluent_contents import appsettings from fluent_contents.plugins.sharedcontent import appsettings as sharedcontent_appsettings class SharedContentQuerySet(TranslatableQuerySet): """ Th...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl