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
6f2740eb40028aca8ef96d8a17c5b716518bc41b
a8e6babc9fc2ff9870ef9ac49d73edd6439e92ca
/src/registration_backends/community_discussions/__init__.py
8d79c18b7463b84e21cf10f93b0f9b2e68c28df7
[]
no_license
jevy/community-discussions
fdb973ea5c9e5fb7dc7a50f2ccf7f5a14d253023
fe97179845263c7db855628187a9f7ba7a156d9a
refs/heads/master
2021-01-21T16:15:08.088930
2013-11-13T01:34:01
2013-11-13T01:34:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from registration.backends.default import DefaultBackend from registration_backends.community_discussions.forms import CommunityDiscussionsRegistrationForm class CommunityDiscussionsBackend (DefaultBackend): def get_form_class(self, request): return CommunityDiscussionsRegistrationForm
[ "mjumbewu@gmail.com" ]
mjumbewu@gmail.com
7c0aa2ab2a585ac7fdd8ee0b64d8e234e22f377a
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/web/latest/web_app.py
8c9f3a2f6cf3e4b65f84f3eef712b532054622aa
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
24,400
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 from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
9264c1fa7871090270edddd4e08b5b2169139bbb
c4f0a0215956ff0c29ae491a10416a72c1ce654d
/nails_project/tests/common/views/test_schedule_list_all_users_view.py
29646fc72afc90976bf1158437e6124701656fc5
[]
no_license
borislavstoychev/my_exam
1a2a499b2e6ac507641a9aad76576d49d4ac6a6d
9c756f76679ad85697ff123c478b765656d4ce2d
refs/heads/main
2023-07-13T12:49:40.116891
2021-08-25T08:54:44
2021-08-25T08:54:44
380,476,519
0
0
null
null
null
null
UTF-8
Python
false
false
3,455
py
from tests.base.mixins import UserTestUtils, ScheduleTestUtils from tests.base.tests import NailsProjectTestCase from django.urls import reverse class ScheduleListViewTests(NailsProjectTestCase, UserTestUtils, ScheduleTestUtils): def test_schedule_withUser_whenNoSchedule(self): self.client.force_login(se...
[ "stoy4ew@gmail.com" ]
stoy4ew@gmail.com
0bcf994a4a7a55ede627d1875f5594614e920386
171a89102edf10901e18a2c0f41c3313608d2324
/src-test/mc_unittest.py
af888def341d18efcd6e827e3d4044fd8e4e098c
[ "Apache-2.0" ]
permissive
gitter-badger/rogerthat-backend
7e9c12cdd236ef59c76a62ac644fcd0a7a712baf
ab92dc9334c24d1b166972b55f1c3a88abe2f00b
refs/heads/master
2021-01-18T06:08:11.435313
2016-05-11T08:50:20
2016-05-11T08:50:20
58,615,985
0
0
null
2016-05-12T06:54:07
2016-05-12T06:54:07
null
UTF-8
Python
false
false
7,505
py
# -*- coding: utf-8 -*- # Copyright 2016 Mobicage NV # # 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...
[ "bart@mobicage.com" ]
bart@mobicage.com
c699d2f5c4b6820d30dea4689cbd17f2dd6772b6
83e2fe88d4537403ee710b631d7d3e8c65415092
/services/web__china_kyodonews_jp.py
827c2c3f1dd7b7a52e56303e8ab630b74788b040
[]
no_license
ArchiveTeam/NewsGrabber-Services
b01f560b18bd5395673132321c16bcf7602608f1
2d52eb06a6ca767f4b1d1e623505fa427b6af459
refs/heads/master
2020-01-23T21:40:57.220775
2019-07-01T09:56:38
2019-07-01T09:56:38
74,690,301
3
8
null
2019-06-03T19:49:47
2016-11-24T16:41:59
Python
UTF-8
Python
false
false
208
py
refresh = 60 version = 20161106.01 urls = ['http://china.kyodonews.jp/', 'http://china.kyodonews.jp/rss/news_ch.xml'] regex = [r'^https?:\/\/[^\/]*china\.kyodonews\.jp\/'] videoregex = [] liveregex = []
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
d30f12e7c9adae4478b85e5a89e6eec232286eca
7f0ea2dc64b38b19f1f87a1f4fbff935ee435a4d
/cvpods/layers/masked_conv.py
7b8aec6211b31d4a99ecadb1d4ebdca5853c4bc4
[ "Apache-2.0" ]
permissive
yuexiemail/DynamicHead
ffba34f4b066c428228109048af30cc2d7f8a789
d62aa84e1d1c6a0c74d46258ad77b11413c10bef
refs/heads/main
2023-01-31T22:47:39.447369
2020-12-16T06:48:17
2020-12-16T06:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
import math import torch import torch.nn as nn from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.modules.utils import _pair from cvpods import _C class MaskedConv2dFunction(Function): @staticmethod def forward(ctx, features, mask, weight, bias, paddin...
[ "stevengrove@stu.xjtu.edu.cn" ]
stevengrove@stu.xjtu.edu.cn
e7a67817fccaff792771d75bcf1b39bc1e69a7a6
974e884ec655e14179c4434b82764aa3d05d3262
/src/0035.py
92a97968057326e0e5a2beddd2cf9a9fd4a060aa
[]
no_license
brickgao/ProjectEuler
13d842bf24f217a95ec9732bfb5d1d4b496b21a2
6ca88ff53feff744e64868a75c47a4783a7dc4e0
refs/heads/master
2020-12-24T06:58:25.682464
2016-04-10T08:33:49
2016-04-10T08:33:49
16,065,756
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
# -*- coding: utf-8 -*- _is = [True for x in range(10 ** 6 + 1)] _is[0], _is[1] = False, False _p = [2] _e = int((10 ** 6 + 1) ** 0.5) + 1 for i in range(4, 10 ** 6 + 1, 2): _is[i] = False for i in range(3, _e, 2): if _is[i]: for j in range(i ** 2, 10 ** 6, i * 2): _is[j] = False for i in r...
[ "brickgao@gmail.com" ]
brickgao@gmail.com
dcf444d38b9eb1384bfe45dd491bf10de5386d37
70e685f15c099d166fd96d9b22004e96639d634e
/core/tests/test_app.py
a6ea8f0d908ac8a787f3520e17aa0e2e235c6aaf
[]
no_license
duda-joann/flask-mongo-blog
3186a682ad169ff087b03c25b260ffd4185578cd
ef3fced8020f2e208eef27154ba74172429c7ae1
refs/heads/main
2023-02-18T14:23:18.990061
2021-01-11T18:30:53
2021-01-11T18:30:53
323,744,410
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from flask import Flask url = 'http://127.0.0.5000' def test_app(app): assert isinstance(app, Flask) def test_render_main(client): results = client.get(url + '/') assert results.status_code == 200 assert results.get_data def test_posts_lists(client): results = client.get(url + '/posts/list/')...
[ "duda.joann@gmail.com" ]
duda.joann@gmail.com
3bb67d8d8727941812945f336ead4d4b387b9c7b
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1532935/homework03/program02.py
2648b4ff5c6775f5361af32146c6a8f74dab0e78
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
4,300
py
''' Un robottino deve muoversi su di una scacchiera di 15 x 15 celle con celle bianche e nere ciascuna di lato 40. Per rendere il percorso accidentato alcune delle celle della scacchiera contengono ostacoli (queste celle sono colorate di rosso). Un esempio di scacchiera con ostacoli e' dato dall'immagine 'I1...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
a186a14d42c1bf19d4fc8e2c318c2a642e9afe0e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/3fa3ea604637443f9d75395c08c407d2.py
d074767b6a28872e3b111f2e3e5dcbc5031c1f8b
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
196
py
def to_rna(dna_sequence): transcription = {'G':'C', 'C':'G', 'T':'A', 'A':'U'} rna_sequence = '' for i in dna_sequence: rna_sequence += transcription[i] return rna_sequence
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
89c35820d02d30605ed462d7a47ccf2cbd42cebf
26a5dbfbe98fdffd7fde9cfaeb2d466b178c2d58
/Week2/day2_data.py
234262f22e88133b32ffb93ff65f6e7e2d95f7c4
[]
no_license
sseaver/class_notes
76130ae3f4c5416bd60d48810cf34efd4b760dff
cce376a2eb178a2e42282e9e1785b0cff24fb1ad
refs/heads/master
2020-04-12T22:39:25.984909
2016-11-09T17:31:05
2016-11-09T17:31:05
68,213,547
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
import csv with open("data.csv") as open_file: contents = open_file.readlines() # print (contents[2].split(",")[2]) # clean_data = [row.replace("\n", "").split(",") for row in contents] # print (clean_data[11][4]) # import csv with open("data.csv") as open_file: # contents = csv.reader(open_file, delimina...
[ "sseaver321@gmail.com" ]
sseaver321@gmail.com
0d05adc451ed148b9110e542fd50f19935f9f1de
1a639d185f9c883b7bebf33c577c58b22ac93c7e
/essential_training/Chap09/iterator.py
6687ae9fbb9205d87036bab90124a30420e0e908
[]
no_license
gofr1/python-learning
bd09da5b5850b1533a88b858690ed4380b55d33e
19343c985f368770dc01ce415506506d62a23285
refs/heads/master
2023-09-02T15:42:27.442735
2021-11-12T10:17:13
2021-11-12T10:17:13
237,828,887
0
0
null
2021-11-12T10:17:14
2020-02-02T20:03:42
Python
UTF-8
Python
false
false
1,139
py
#!/usr/bin/env python3 # an iterator is a class that provides a sequence of items, # generally used in a loop class inclusive_range: def __init__(self, *args): numargs = len(args) self._start = 0 self._step = 1 if numargs < 1: raise TypeError(f'expected at leas...
[ "gofr.one@gmail.com" ]
gofr.one@gmail.com
2fd4bbab32ff8ab03069722e5ff3f2a070a2d981
1000ef8a440424768e769416e7d2206dbf5e29a3
/PYOMO/examples/doc/pyomobook/overview-ch/wl_concrete.py
9e44ae03dd8f639edd5d1e359dd93b6900e6750e
[]
no_license
desarrollomarquez/Proyecto_Optimization
1c482cefd85d76720e9467ab4d249afb45965d84
07ee22f3c742fb74e9ba99e4eed21f97f0d7fefa
refs/heads/master
2020-03-21T10:15:42.301602
2018-11-01T02:23:35
2018-11-01T02:23:35
138,441,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
# wl_concrete.py: ConcreteModel version of warehouse location determination problem from pyomo.environ import * model = ConcreteModel(name="(WL)") N = ['Harlingen', 'Memphis', 'Ashland'] M = ['NYC', 'LA', 'Chicago', 'Houston'] d = {('Harlingen', 'NYC'): 1956, \ ('Harlingen', 'LA'): 1606, \ ('Harlin...
[ "desarrollo.marquez@gmail.com" ]
desarrollo.marquez@gmail.com
674b8e4aca375e191850c7577f797d5ffaf9594f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/csp_resnext50-mish/timm/models/__init__.py
aa13bbcc8846bc8e5c9f1b96bbf64d35f675f86e
[ "GPL-1.0-or-later", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,155
py
from .byobnet import * from .cspnet import * from .densenet import * from .dla import * from .dpn import * from .efficientnet import * from .gluon_resnet import * from .gluon_xception import * from .hrnet import * from .inception_resnet_v2 import * from .inception_v3 import * from .inception_v4 import * from .mobilenet...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
1903a17d842dc7247402a1a5be7ba70cc1c8bd05
edf15a03e6d3baa7a9547f7cca9d2aa0a2770d7d
/week09/code_from_today/monday/mod.py
f54b78e7303fb9c4877033608cc30eaa3abff379
[]
no_license
Jepp0103/introduction-to-python
5e748bd4ba5647412b3b3d5e92bb3fdcbc2bb6f4
fba58eb40371989708c05a3a2a610dd72ffb8dcd
refs/heads/master
2021-01-16T02:28:40.433604
2020-04-21T10:45:50
2020-04-21T10:45:50
242,944,165
0
0
null
2020-02-25T08:06:54
2020-02-25T08:06:53
null
UTF-8
Python
false
false
267
py
# mod.py a = 'Hello world from mod.py file a variable' l = [1, 2, 3, 4] s = {5, 6, 7, 8} d = {'name': 'Claus'} t = ('name', 'Claus') def func(): return 'Hello from function in mod file' def main(): print(func()) if __name__ == '__main__': main()
[ "clbo@kea.dk" ]
clbo@kea.dk
a4aeb2485f8512711a60faffdd06490b4815bf85
0c733dd9520e8b488f2fa6edbab12dc9df4f0337
/airflow/providers/singularity/operators/singularity.py
a3c8c9676f3febd1ff3ca49014cf3a69f404a0b8
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
RikHeijdens/airflow
26aff28808d4e9e1ad23cd96c209ea9aea7083a3
bff213e07735d1ee45101f85b01b3d3a97cddbe5
refs/heads/main
2023-05-08T15:02:38.918037
2021-06-07T08:47:24
2021-06-07T08:47:24
318,246,723
3
0
Apache-2.0
2020-12-03T16:02:37
2020-12-03T16:02:36
null
UTF-8
Python
false
false
7,165
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
RikHeijdens.noreply@github.com
02dd98797b76e0ad230d9fba1bf363cbaa37b576
2e11878301315f390121e4db0f2bead1a7d6952c
/neviseh/persian/base.py
48fe8e1ed6e4a4fda01590389074bbe60c53bd22
[ "MIT" ]
permissive
meyt/neviseh
3ae625e3ed5098f8645954332d38c9b8307644ce
b39841e7a224d5abfd89a2265ea40cd651630429
refs/heads/master
2021-01-25T10:06:21.367736
2018-02-28T20:54:21
2018-02-28T20:54:21
123,339,091
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from .. import Text class PersianTextBase(Text): language = 'persian' iso_639_1_code = 'fa' def __repr__(self): return 'PersianText("%s")' % self.value
[ "pasd3000@gmail.com" ]
pasd3000@gmail.com
c8b4ac9123b43d7c39a9dadf0694782fea3bc6da
195cdab2f180ced13b0e4c097ab75a565a5eb1d7
/fhir/resources/operationdefinition.py
5862d977face6c6f4c38c2faf82877fda8764fa5
[ "BSD-3-Clause" ]
permissive
chgl/fhir.resources
18166d7297a23ef0c144023fb5ba1d46b7bd2527
35b22314642640c0b25960ab5b2855e7c51749ef
refs/heads/master
2023-03-09T08:16:38.287970
2021-02-13T11:10:03
2021-02-13T11:10:03
341,916,191
0
0
NOASSERTION
2021-02-24T13:52:58
2021-02-24T13:52:58
null
UTF-8
Python
false
false
39,788
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/OperationDefinition Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import typing from pydantic import Field, root_validator from pydantic.error_wrappers import ErrorWrapper, ValidationError fro...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
e4e548aed2ecc94afae2886479ff639d70afa462
7b8710c06abe72dae0cb5fa95326971ff130e305
/HSRWLaserTool_APP/FlatCAM_beta_8.994_sources/tclCommands/TclCommand.py
80f19dd9659f87edf0e10fec43bfdec14a0b65d6
[ "MIT" ]
permissive
arthurgriloss/Developing-Computer-Aided-Laser-Lithography-for-PCB-Prototyping
bb09209550c354aad3249c44c2d070c398b17689
253aa74686f33b426736a11252fabd5f35a4e279
refs/heads/main
2023-06-01T19:10:44.694020
2021-06-14T11:39:56
2021-06-14T11:39:56
363,595,645
0
0
null
null
null
null
UTF-8
Python
false
false
15,555
py
import sys import re import app_Main import abc import collections from PyQt5 import QtCore from contextlib import contextmanager class TclCommand(object): # FlatCAMApp app = None # Logger log = None # List of all command aliases, to be able use old names # for backward compatibility (add_...
[ "arthurgriloss@users.noreply.github.com" ]
arthurgriloss@users.noreply.github.com
c7f3f3669d9d07ed480deb4c9c2a434c17db7570
51bbcf2c9e705363b8c1c8ff5b44d820dbc57bd4
/google-python-exercises/basic/string1.py
5065114b95e01d5304e5bba24ca13b10e98e1f11
[ "Apache-2.0" ]
permissive
Stenson00o/pythonStudy
cdb64deea5d7623582bef76c9288b668431b3e13
48134777af7e5eb39c218657d3642860e8328c0f
refs/heads/master
2021-01-01T05:25:51.520237
2016-06-03T08:28:53
2016-06-03T08:28:53
59,806,400
0
0
null
null
null
null
UTF-8
Python
false
false
3,580
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ # Basic string exercises # Fill in the code for the functions below. main() is already se...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f9f86350daf214fe508345dd710e50b15270cf5d
d79f7b25f11af8c5185f10fb48042d0265666712
/problème 22 XIANG Alide.py
66ce7f1af0e907eb9aa7b41a6effd7d625d1c8ce
[]
no_license
mines-nancy-tcss5ac-2018/td1-Xianlide
e300ccf5b5a637badcb53c1c66986bea75e6316d
2948a9aee7566b42bfd981ee600c49e34b45d191
refs/heads/master
2020-03-30T23:58:04.015808
2018-10-09T13:54:02
2018-10-09T13:54:02
151,719,911
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
def sousfonction(i): score1=0 for k in i[1:len(i)-1]: score1=score1 + (ord(k)-64) return(score1) def prob22(): f = open("p022_names.txt" , "r") L=[] for k in f: L=L+k.split(',') Lb=sorted(L) score=0 for k in range(len(Lb)): nom=...
[ "noreply@github.com" ]
mines-nancy-tcss5ac-2018.noreply@github.com
60d0c1f6d06503ae5dde25b5201cbcca77377d22
4da66858f5278af1b1c9e1d0099a9e422400dcfa
/python_spider/cc/cc/pipelines.py
6c1bca68e85dd29c27a3467f602604e1962c8f1a
[]
no_license
hi-noikiy/TestProject
62eb719a113b15be98a099e099afbb20f99d7062
e37617c9f1bee058c196f776451c1d81d9fd5f86
refs/heads/master
2022-01-05T03:00:05.498931
2018-09-26T09:28:10
2018-09-26T09:28:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class CcPipeline(object): def process_item(self, item, spider): file_path = 'xiezhen/'+item['title'] with ...
[ "401491197@qq.com" ]
401491197@qq.com
9f381dcf36a62eb080faff93774f8dab69b76f8d
73a1e22583d7db2aec260f87d6ce64478d675bba
/blog/models.py
375c6203a71f79664850d633c8de95c38a9e4072
[]
no_license
Mohamed-Kudratov/online_shop
eeca0de4a298d539363987f5b1512fa41959dc1c
a321fb55f1f8291e4dc7c17af8e9caf27c2c6434
refs/heads/master
2023-06-17T14:03:55.606234
2021-07-18T07:31:33
2021-07-18T07:31:33
385,886,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
from django.db import models from django.utils.translation import gettext as _ class AuthorModel(models.Model): full_name = models.CharField(max_length=64, verbose_name=_('full name')) avatar = models.ImageField(upload_to='author-avatars', verbose_name=_('avatar')) created_at = models.DateTimeField(auto_n...
[ "you@example.com" ]
you@example.com
76c1d70d85aa5c9a299c2bec2ec621fbf500a7be
0ea5c9dbb7ba775d6b8d9d6a2ad7a9644073ca4b
/PRÁCTICA 3/3d/cuboOrtografico.py
61df4fdfb1b8863a97349b33df02d528457b88d4
[]
no_license
CarMoreno/PracticasPyOpengl
9d0954240238c5032da5772cc561d24921f4b3ed
82f2197279f17322eeb9ef20b61bd8876d0580b5
refs/heads/master
2021-01-18T16:32:26.129564
2015-09-10T00:43:27
2015-09-10T00:43:27
31,389,091
2
0
null
null
null
null
UTF-8
Python
false
false
4,353
py
import sys from OpenGL.GLUT import * from OpenGL.GL import * from OpenGL.GLU import * # ==================================================================== #Para el color de fondo de ventana realize una regla de 3 simple: #Si 255 ---> 1 entonces # 135 ---> x # x = 135/255 # x = 0.529 (aproximadamente) # =========...
[ "carlosandresmorenovelez@gmail.com" ]
carlosandresmorenovelez@gmail.com
fe509371fdeccbd92986f9a66736df5e191055d5
8a7f1d0071036e1201ed5633a441090fdc8557b4
/vh/api.py
442145fffe088c8b55d539ac42f8528d6a05ae3f
[]
no_license
prsyahmi/ajenti-v
aa67809d17092f9576fcb92dd254547cfbea2209
eadc2e3f7e016ec85cba42bf90f2a53aea4bfe24
refs/heads/master
2021-01-18T09:11:28.300923
2014-08-18T15:26:59
2014-08-18T15:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,072
py
from slugify import slugify import gevent import json import logging import os import pwd import subprocess import traceback from ajenti.api import * from ajenti.profiler import profile_start, profile_end class Config (object): def __init__(self, j): self.websites = [Website(_) for _ in j['websites']] ...
[ "john.pankov@gmail.com" ]
john.pankov@gmail.com
53657a25e471ffee50147c2082a05d0a2a250e7a
ecd9b7e440f002a00d3a8a8e62de208508fadb75
/flask/api_env/lib/python3.6/warnings.py
36ea01f74271e0d449bda802cd6b1881f3620dd0
[]
no_license
enderst3/challenges
ce2248eabc36e64dbd84dffad3fea176108bc3f3
0b13195cc53d5fc25f7bedd3dad1c14051e216cc
refs/heads/master
2023-01-09T00:47:51.129159
2020-04-20T22:09:00
2020-04-20T22:09:00
77,492,197
0
1
null
2023-01-03T22:44:04
2016-12-28T01:08:14
null
UTF-8
Python
false
false
47
py
/Users/Todd/anaconda3/lib/python3.6/warnings.py
[ "enderst3@gmail.com" ]
enderst3@gmail.com
0916df6b29d251783b7115b03228b5c6d5f5dd66
885d050a82e180b97eeb77cc6835fc69be20096b
/python/main.py
e1296a884f5562c493208bea8c8c81a41248daf9
[]
no_license
cristianiniguez/curso_programacion_orientada_objetos
0adb56c9a8c4a63ade40291c5386c87539b956d0
d2ce241338d0b6c7dbcb5f324b9e89c6878e6d66
refs/heads/main
2023-03-22T11:14:48.777527
2021-03-20T20:02:50
2021-03-20T20:02:50
349,272,282
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
from car import Car from account import Account if __name__ == "__main__": car = Car("AMQ123", Account("Andres Herrera", "AND876")) car.passenger = 4 print(vars(car)) # {'license': 'AMQ123', 'driver': <...>, 'passenger': 4} print(vars(car.driver)) # {'name': 'Andres Herrera', 'document': 'AND876'}
[ "felizpc1@gmail.com" ]
felizpc1@gmail.com
b76ef668fd5d97bfd9ebf34bdbf6d9647d0bd3b2
a51854991671a4389902945578288da34845f8d9
/libs/UserInterface/TestPages/Base.py
a68429e2a50489f90f998a14a91086bcd22da2ee
[]
no_license
wuyou1102/DFM_B2
9210b4b8d47977c50d92ea77791f477fa77e5f83
69ace461b9b1b18a2269568110cb324c04ad4266
refs/heads/master
2020-04-13T18:54:20.045734
2019-06-17T12:46:23
2019-06-17T12:46:23
163,387,873
0
0
null
null
null
null
UTF-8
Python
false
false
19,001
py
# -*- encoding:UTF-8 -*- import logging import os import threading import time import wx from libs import Utility from libs.Config import Color from libs.Config import Font from libs.Config import Path logger = logging.getLogger(__name__) result2value = { "NotTest": "1", "PASS": "2", "FAIL": "3", } value...
[ "jotey@qq.com" ]
jotey@qq.com
f77f808ed006837c7e726d47e39790eeb7929563
12f18662719d04d2404396b9059b60525528f557
/findsportsordermanagement-master/suppliers/migrations/0001_initial.py
3480fcd88af010e8bcfc742d7d4e86f95d00386e
[]
no_license
ujjalgoswami/ordermanagementcustomdashboard
0bf4a5770d1913b257a43858d778e630e671a342
acd18510b0934601d30bd717ea4b3fbb61ecfb5c
refs/heads/master
2021-02-04T10:04:27.380674
2020-02-28T01:37:35
2020-02-28T01:37:35
243,653,613
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
# Generated by Django 2.2.4 on 2019-10-07 14:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Supplier', fields=[ ('order_id', models.Cha...
[ "ujjalgoswami92@gmail.com" ]
ujjalgoswami92@gmail.com
3c89468c68111e8106d82898793fd3fd6fa1b39c
bd3c9bce46f3bafa4a07422a23e80a9a87583aec
/chapter4/practice/CalBMI.py
bd594196a168e56244f920fcac42f7af068d044c
[]
no_license
shilingzi/LearnPythonBIT
c717e2789c370c57f4e2842ffb436d4fc742558b
0cc70f51e17f2456159cb65a5b13f97e3e684cb0
refs/heads/master
2023-03-16T18:39:46.107023
2019-08-03T06:40:24
2019-08-03T06:40:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,835
py
""" 实例5:身体质量指数BMI ‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬ 描述 这是"实例"题,与课上讲解实例相同,请作答检验学习效果。‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬ BMI :Body Mass Index 国际上常用的衡量人体肥胖和健康程度重要标准,主要用于统计分析‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬‪‬‪‬‪‬‪...
[ "crazykuma@qq.com" ]
crazykuma@qq.com
2001228e7b0f5d0442712d15e800cbde7799b7cc
b8eef5700d495a0b99a63d94ccbbf3ff845877da
/bin/coinwatch
d79d59f662926e7981079f399be80d23d46e1cfa
[ "MIT" ]
permissive
AYCHCool/Watch
2ad368ced60ddec30c9c1ae233e8374eaeb38caf
9d9ba6ca8a63c2c1c3f30b9e6b79a5ed415c27b0
refs/heads/master
2021-05-26T02:47:56.296636
2020-01-23T02:50:19
2020-01-23T02:50:19
254,021,823
0
0
null
null
null
null
UTF-8
Python
false
false
55,130
#!/usr/bin/env python # -*- coding: utf-8 -*- # # The MIT License (MIT) # # Copyright (c) 2018 cytopia <cytopia@everythingcli.org> """ Coinwatch is a low-dependency python[23] client to keep track of your crypto trades and easily let's you see if you are winning or losing. No financial aid, support or any other recom...
[ "cytopia@everythingcli.org" ]
cytopia@everythingcli.org
d828a8df2519594eae878bdb608e8f9f720bcb9e
9f2233614bdfdb9a689ac775d1cea9d4203efd8c
/law/composer.py
b6de309892c05dd50f4ba415f8d88caca795934e
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
syshex/public-contracts
1e30bce2c234801a367c92c69f201fd5d91b8f2e
f315a6cb2837228810a65ab8a352002baf4ef618
refs/heads/master
2021-01-24T20:53:01.702146
2014-11-16T20:12:49
2014-11-16T21:16:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,972
py
# coding=utf-8 from __future__ import unicode_literals import re from bs4 import BeautifulSoup, NavigableString from django.utils.text import slugify def normalize(text): text = ' '.join(text.split()) ## to substitute <br/> by </p><p> text = text.replace("<br />", "<br/>") text = text.replace("<br...
[ "jorgecarleitao@gmail.com" ]
jorgecarleitao@gmail.com
0b8aeb6dcf6f6d0892946e003c5f4d03f53bab20
4e47977ebfb4fc4d837cc4874822467e6a3587ac
/Demais/soma teste.py
8aeac1e93b096ffb289e626e99170385be721cc8
[]
no_license
alexaugusto23/The-huxley
64ae1d290727a8092d40030eebe86120e9556ad4
a18f6dbed7925d8abeb7a70fb953d7ba8f2f1952
refs/heads/master
2020-08-02T16:57:53.833288
2020-03-21T13:37:13
2020-03-21T13:37:13
211,437,251
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
a = int (input()) b = int (input()) x = a+b print("X = %d" %x)
[ "contato.alexaugusto@hotmail.com" ]
contato.alexaugusto@hotmail.com
4a7faf1cb4bafb8c853bce2d7b9e2797bdc80147
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/run/test_gpinitsystem.py
97b625139cd0e0ebc7c7a47bf185117c1030e1ea
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6"...
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
2,142
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
[ "jyih@pivotal.io" ]
jyih@pivotal.io
26a51d95e3c24f9714b55901d30c05bde5bae8ef
01bc3ed77a9ad9f89594d464e8b60fc679bffdef
/HW_3_Search_algorithms/Task_4.py
d9409a014c3256b163e845744bedf6d666240955
[]
no_license
rchermanteev/made-algorithms-2020-hw
3492c080adf05217f8ec7e8a30378d6a53e8732b
613b00e98c2aef9e5892e4884a4a58434120c60f
refs/heads/master
2023-02-11T06:42:18.716557
2021-01-07T13:43:51
2021-01-07T13:43:51
313,722,563
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
import sys from math import log2, ceil from typing import List def get_num_scraps(len_scrap: int, rps: List[int]) -> int: num_scraps = 0 for rp in rps: num_scraps += rp // len_scrap return num_scraps def get_max_piece_of_rope(_ropes: List[int], _num_houses: int) -> int: left_board = 0 ...
[ "rchermanteev@bk.ru" ]
rchermanteev@bk.ru
c04dc9cbb1fc3a59e1bc40e8c9289181afbfebd6
c1fb77fd5aa253cd77ea89522a7eab3ba5b2d66d
/distributed_rl/ape_x/replay.py
3fe4bfc6d538ee3aefd0b1534580b18ff877877a
[ "MIT" ]
permissive
neka-nat/distributed_rl
5191b320cc193ffc22c084af50b743c07ee27e3d
4a27094889c1e0dc3675e33566da1ea5c54d2590
refs/heads/master
2022-07-19T13:50:00.318736
2022-07-04T13:49:31
2022-07-04T14:09:00
154,700,187
79
10
null
2018-10-29T16:20:16
2018-10-25T16:06:24
Python
UTF-8
Python
false
false
1,658
py
# -*- coding: utf-8 -*- import threading import time import redis from ..libs import replay_memory, utils class Replay(threading.Thread): """Replay of Ape-X Args: size (int, optional): size of memory connect (redis.StrictRedis, optional): Redis client object use_compress (bool, opti...
[ "nekanat.stock@gmail.com" ]
nekanat.stock@gmail.com
d33fa660bb99110b84528b5a6c74ba52cc8c9473
4b87c2dee6dc135a60f2da397cb1bca92a04c259
/betterbuys/urls.py
60159c8bb8ccfc067d7347d21642ba33c6c3c476
[]
no_license
melissa-koi/betterbuys-backend
5d361986410ff05ebd3bd3dff586a93a64424272
265a61279bd850792edaba3aaef586267de17b55
refs/heads/main
2023-06-01T13:51:18.595625
2021-06-11T06:25:04
2021-06-11T06:25:04
375,657,025
1
0
null
null
null
null
UTF-8
Python
false
false
797
py
"""betterbuys URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "melissawangui3@gmail.com" ]
melissawangui3@gmail.com
c42c89d36240ad7998233ef840c09b4f5f454446
7e561a427a26d34c776c38af8ce98e6a0089c827
/speed/signals.py
65a75224425168bbc092af840c20342e6d93235f
[]
no_license
furkalokbu/reportpage
2772993858f16f287f069e2d2eefe0e42d2e569d
1f50612dede962f52ecb06e0fafbf1a73733afeb
refs/heads/master
2023-07-22T00:22:04.942273
2021-09-03T06:35:49
2021-09-03T06:35:49
401,259,028
0
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
from django.db.models.signals import pre_save from django.dispatch import receiver from django.utils.text import slugify from speed.models import UserData from speed.models import SpeedUserData from core.utils import generate_random_string from core.average_speed import AverageSpeed @receiver(pre_save, sender=UserD...
[ "furkalokbu@gmail.com" ]
furkalokbu@gmail.com
3248e09a6acc68aec328700bade73766159c8658
7f4886802e83352f37d35509b7775c93c2756105
/festival/urls.py
e987f5033e969a4daaa0782d5dedab00b2562cea
[]
no_license
JihyeKim0923/lion10
c23a019c3725de2d9f70556993db1ed3e8d6ae2e
2b76dc9290bec6f4d827a625b2f0b1e92c85ed53
refs/heads/master
2020-06-19T02:56:24.746341
2019-07-11T15:40:17
2019-07-11T15:40:17
196,539,639
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from django.urls import path from . import views urlpatterns = [ path('home/',views.home, name='home'), path('post/<int:post_id>/', views.detail, name='detail'), path('post/new/', views.new,name='new'), path('post/<int:post_id>/edit/',views.edit,name='edit'), path('post/<int:post_id>/delete',views....
[ "sos13313@naver.com" ]
sos13313@naver.com
99564ebe60605f96e00028c107e49f376d83163d
5ad47fbd962190ade47dcf286e0f522862583992
/sblog/myblog/migrations/0002_post_title_tag.py
a369ba9f9af630581333c8a775f64cde1003a6f7
[]
no_license
henryfrstr/blogapp-djando
29c83b1ee86e886b4c384576079011c57165f169
8a5a3f89c1bef2b011b4cdc9f7740fdd551c71ad
refs/heads/master
2022-12-30T07:22:13.939897
2020-10-19T11:30:29
2020-10-19T11:30:29
297,430,874
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.1.1 on 2020-09-22 03:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0001_initial'), ] operations = [ migrations.AddField( model_name='post', name='title_tag', fie...
[ "63148122+henryfrstr@users.noreply.github.com" ]
63148122+henryfrstr@users.noreply.github.com
672931bd55b71762a573215c358dfc75e7892d14
64c3e2545604df60812fbd2327761ad987bc3c92
/jax/experimental/x64_context.py
b2d7a4eb68e9998d28a1b5a52681f4c3a6ef7b97
[ "Apache-2.0" ]
permissive
ashutoshvarma/jax
6f364ff18670351f340f8cb19b5c63f581dd9cac
2fabc5345dc3a0c779f229c844506355b44688ac
refs/heads/master
2023-04-07T13:33:06.369754
2021-02-06T05:40:52
2021-02-06T05:40:52
336,528,422
0
0
Apache-2.0
2023-04-03T23:55:55
2021-02-06T12:06:31
null
UTF-8
Python
false
false
1,672
py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "jakevdp@google.com" ]
jakevdp@google.com
eac66b9ae6ad1ea62ab24ca22fe8c78cde4392ca
ef7ac01052ffbbba02a4dbd89931578813592107
/Projet 1/projet1_exo1.py
5ebe7a6b0c7d905e75a332816bdb87910c661769
[]
no_license
arianacarnielli/3I005
02f201750483efa86bdc228afa02747727352b7f
83a1d1366bf3ea88ca8efedb829646cfcc162eed
refs/heads/master
2020-04-22T00:43:52.837105
2019-04-12T14:32:13
2019-04-12T14:32:13
169,990,883
0
3
null
null
null
null
UTF-8
Python
false
false
9,412
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 8 15:57:57 2019 @author: 3302858 """ import numpy as np import matplotlib.pyplot as plt #============================================================================== #Common #====================================================================...
[ "ariana.carnielli@gmail.com" ]
ariana.carnielli@gmail.com
2b9761f1c03f368849bfc3c597355d2e128b0885
182c63ffa3ea6d8b20c6f92670d95b143910a2db
/tests/migrations/test_migration_handler.py
1182289b21648872ac35e086b20776071609b004
[ "MIT" ]
permissive
ephreal/rollbot
ad6f074a4d576d734866f50ecd422c34777e6637
b6947b225e789497eeb5e2375130e24f61c9d60a
refs/heads/master
2023-08-03T00:09:41.827697
2023-07-20T15:57:06
2023-07-20T15:57:06
156,770,105
2
1
MIT
2023-07-20T15:57:07
2018-11-08T21:17:43
Python
UTF-8
Python
false
false
2,019
py
# -*- coding: utf-8 -*- """ This software is licensed under the License (MIT) located at https://github.com/ephreal/rollbot/Licence Please see the license for any restrictions or rights granted to you by the License. """ import sqlite3 import os import unittest from utils.db import db_migration_handler class TestDB...
[ "tjannx@hotmail.com" ]
tjannx@hotmail.com
21f0adb5454ec7c285929844b0710f048f41ae62
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v8/googleads-py/google/ads/googleads/v8/services/services/customer_user_access_service/transports/base.py
5cc698fa24835e0587811374c1bc7872238f8fdf
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,287
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
643c3d54e8efe4c954086089303be44105ada21f
90f52d0348aa0f82dc1f9013faeb7041c8f04cf8
/wxPython3.0 Docs and Demos/wxPython/samples/wxPIA_book/Chapter-06/example4.py
9c4c1f63364719d0b8385b430222ee8a6d64355f
[]
no_license
resource-jason-org/python-wxPythonTool
93a25ad93c768ca8b69ba783543cddf7deaf396b
fab6ec3155e6c1ae08ea30a23310006a32d08c36
refs/heads/master
2021-06-15T10:58:35.924543
2017-04-14T03:39:27
2017-04-14T03:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
import wx from example1 import SketchWindow class SketchFrame(wx.Frame): def __init__(self, parent): wx.Frame.__init__(self, parent, -1, "Sketch Frame", size=(800,600)) self.sketch = SketchWindow(self, -1) self.sketch.Bind(wx.EVT_MOTION, self.OnSketchMotion) ...
[ "869999860@qq.com" ]
869999860@qq.com
bed17644664b9f2c7435972ba883be6c2c8c1c6e
9b59f76f3b312951519a15651290476c34a54174
/EXAMPLE/test_backtest/backtest_debug.py
a0637a8dc4e42f87328671b3224cc3a2d63dc87e
[ "MIT" ]
permissive
sjtututu/QUANTAXIS
b8d9ba35d20159680f25cd3e583ebcfc7ff34c75
e9e20cdeda8b8d132433037b639a7e60f286a190
refs/heads/master
2020-08-16T11:19:19.689925
2020-02-22T01:21:57
2020-02-22T01:21:57
215,495,655
1
0
MIT
2019-12-28T08:13:57
2019-10-16T08:22:54
Python
UTF-8
Python
false
false
3,804
py
# coding=utf-8 # # The MIT License (MIT) # # Copyright (c) 2016-2019 yutiansut/QUANTAXIS # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limit...
[ "415496929@qq.com" ]
415496929@qq.com
1dea04888ca75802bcfc47ef91f57058582c8489
520baeba0e86b0bab3c5590f40b868ca4306dc7e
/hazelcast/protocol/codec/multi_map_contains_key_codec.py
afbd502e4a344127afd7d176ac6a862672e932d1
[ "Apache-2.0" ]
permissive
mustafaiman/hazelcast-python-client
69f27367162045bbfa4e66e7adadcfd254dfab21
85f29f975c91520075d0461327e38ab93c2e78c2
refs/heads/master
2021-01-18T04:23:10.740371
2015-12-11T14:26:06
2015-12-11T14:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
from hazelcast.serialization.data import * from hazelcast.serialization.bits import * from hazelcast.protocol.client_message import ClientMessage from hazelcast.protocol.custom_codec import * from hazelcast.protocol.codec.multi_map_message_type import * REQUEST_TYPE = MULTIMAP_CONTAINSKEY RESPONSE_TYPE = 101 RETRYABLE...
[ "arslanasim@gmail.com" ]
arslanasim@gmail.com
73c3624907e00a0d42cf65a782a95f57f8561374
61c099aeaac57260ef17c30582a015aa853df94e
/sakila/views.py
64a62994f7c862bd262b71d9d40d98d0babf9d33
[]
no_license
hirokiky/aggregating_sakila
fe15a5d6157c791b1bc2f50811d9ca5fb9b78516
4576d8be24a68cd9b5a7a1dfb2f9e2de1ea30e05
refs/heads/master
2020-06-13T21:27:20.924891
2013-05-20T12:05:31
2013-05-20T12:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
#! -*- coding:utf-8 -*- from pyramid.httpexceptions import HTTPNotFound from pyramid.view import notfound_view_config, view_config @notfound_view_config(append_slash=True) def notfound(request): return HTTPNotFound('Not found, bro.') @view_config( route_name='home', renderer='sakila:templates/home.mako'...
[ "hirokiky@gmail.com" ]
hirokiky@gmail.com
ebd473166e89ac30920f50739fd849c810820925
a829617f9ad158df80a569dd02a99c53639fa2c6
/test/hep/cernlib/binned1d.py
36a9e8c0b78a7509a3efc0cb7fc40c6adbeeb15c
[]
no_license
alexhsamuel/pyhep
6db5edd03522553c54c8745a0e7fe98d96d2b7ae
c685756e9065a230e2e84c311a1c89239c5d94de
refs/heads/master
2021-01-10T14:24:08.648081
2015-10-22T13:18:50
2015-10-22T13:18:50
44,745,881
1
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
#----------------------------------------------------------------------- # imports #----------------------------------------------------------------------- from hep.hist import Histogram1D from hep.cernlib import hbook from hep.test import compare #---------------------------------------------------------------...
[ "alex@alexsamuel.net" ]
alex@alexsamuel.net
21fe508f0719f78a2aa47dcb6ae757a446f508b9
df126574e5fae32aa6ba8ae927942208107897b5
/tests/tree/test_sentencetree.py
4a8deaafa7db5f19f3a0aeaa66c96794b33f5da0
[ "MIT" ]
permissive
ZmeiGorynych/pyconll
865781a9ac2b5c0b9fe2a26d7d14fce60d4454a7
6784295db5fde769754e2b1ac46d6100484e45cc
refs/heads/master
2020-04-14T11:38:14.167823
2018-12-28T22:12:38
2018-12-28T22:12:38
163,819,354
0
0
null
2019-01-02T09:15:40
2019-01-02T09:15:40
null
UTF-8
Python
false
false
4,746
py
import pytest from pyconll.tree import SentenceTree from pyconll.unit import Sentence def assert_tree_structure(sentence, tree, root_token, children_paths): """ Assert a tree structure from tree node paths to sentence tokens. Args: sentence: The sentence that the tree is created from. tr...
[ "matgrioni@gmail.com" ]
matgrioni@gmail.com
43ce27e07f1cca06f9af225ff8f91cfffbea1fa9
c266d942da6da24812abf8a8dbe0292e63b16fa8
/pipeline/0x04-data_augmentation/2-rotate.py
4737851e597f8bae7cea1ac0cf8113c4d0fd72af
[]
no_license
Viiic98/holbertonschool-machine_learning
447be16c096bb6f3c8983c9479cc5fada7bf0945
fe8fe88a43b7a86f0c4b05540751847e7c1c418b
refs/heads/master
2023-03-28T16:03:15.429720
2021-03-31T01:11:36
2021-03-31T01:11:36
279,635,527
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
#!/usr/bin/env python3 """ Rotate """ import tensorflow as tf def rotate_image(image): """ rotates an image by 90 degrees counter-clockwise - image is a 3D tf.Tensor containing the image to rotate Returns the rotated image """ return tf.image.rot90(image, k=1)
[ "xathovic@gmail.com" ]
xathovic@gmail.com
86b0f6f84620b96e53e90df57326132d61e763d3
5ed389c1f3fc175aa73478fc3dcba4101520b80b
/python/test/test_inline_response2006_recipes.py
0548798db295ea17729f08ba38528d17e8d9b918
[ "MIT" ]
permissive
jvenlin/spoonacular-api-clients
fae17091722085017cae5d84215d3b4af09082aa
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
refs/heads/master
2023-08-04T01:51:19.615572
2021-10-03T13:30:26
2021-10-03T13:30:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,990
py
# coding: utf-8 """ spoonacular API The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural lang...
[ "davidurbansky@gmail.com" ]
davidurbansky@gmail.com
237f253adaa34ee9758fc6c6ccfd2f745e6f0d63
331fca39c99354bb96f9f07a2309c59c34a9fb15
/lib/python2.6/site-packages/tg/wsgiapp.py
1fa8da9e294625e47f035de5a38b1d8ce7d5c0da
[]
no_license
rudyvallejos/GestionItems
d368a940a63cae9a2e5845cdf50db6b232aa9871
1eb56b582f0539c883a4914ad48291941b3c6c38
refs/heads/master
2016-09-06T08:37:46.582041
2011-07-09T18:39:02
2011-07-09T18:39:02
1,662,813
1
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
import os import sys from pylons.wsgiapp import PylonsApp, class_name_from_module_name from pylons.util import class_name_from_module_name import logging log = logging.getLogger(__name__) class TGApp(PylonsApp): def find_controller(self, controller): """Locates a controller by attempting to import it then...
[ "rudy.vallejos@gmail.com" ]
rudy.vallejos@gmail.com
f6c3fb934c378837c3aeb97d4bfe35013a58e833
706518f154812af56f8fc91a71cd65d9667d9ed0
/python/paddle/fluid/dataloader/dataloader_iter.py
52ab83698592ab65e820b4bdf1f717667ded12c9
[ "Apache-2.0" ]
permissive
andreazanetti/Paddle
3ea464703d67963134ffc6828f364412adb03fce
a259076dd01801e2e619237da02235a4856a96bb
refs/heads/develop
2023-04-25T08:30:43.751734
2021-05-05T01:31:44
2021-05-05T01:31:44
263,870,069
0
2
Apache-2.0
2020-07-07T10:45:08
2020-05-14T09:22:07
null
UTF-8
Python
false
false
25,946
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
andreazanetti.noreply@github.com
df97144b2fad596b46408eef7668da56655730aa
47471f599c2f78055bd1d265d5536dbd9c4918d6
/imdb.py
4a83b5fa72a2e2b3461813130d8c5e7890c5f9a5
[]
no_license
jingshuangliu22/semi-supervised-learning
cd4db4be61bdaa02100381f7a08a9a10c6bfd2dd
1ebe8358e73a8ada76e597df5969712ab2ce8c00
refs/heads/master
2020-06-29T09:19:47.259272
2017-02-11T05:11:30
2017-02-11T05:11:30
74,437,339
0
0
null
null
null
null
UTF-8
Python
false
false
5,316
py
#encoding=utf-8 import cPickle import gzip import os import numpy import theano def prepare_data(seqs, labels, maxlen=None): """Create the matrices from the datasets. This pad each sequence to the same lenght: the lenght of the longuest sequence or maxlen. if maxlen is set, we will cut all sequence...
[ "=" ]
=
205cb7ba8895aecbc0541644bd34528757422fc1
ee4542cc7e82d214e0384f5012196f39e08a08a6
/exercises/module4_2_tensorflow_regression_ex.py
0d36bc106615393543b9b66c6e5d378a578127df
[]
no_license
tertiarycourses/DeepLearningTensorflow
5fbbdbec86b0348c83b9b65febf7c5dcf67841ca
81d5457add70e398ee2ad9dc56a074bb0bca1b65
refs/heads/master
2021-05-08T18:41:38.503537
2020-12-20T03:33:57
2020-12-20T03:33:57
119,531,617
2
3
null
null
null
null
UTF-8
Python
false
false
1,226
py
# Module 4: Machine Learning using Tensorflow # Simple TF Model - Linear Regression Challenge # Author: Dr. Alfred Ang import tensorflow as tf import numpy as np # Step 1 Initial Setup # Generate fictitious data N=100 X_train = np.linspace(-10,10,N) c1 = np.random.normal(loc=2, scale=0.2, size=N) c2 = np.random.norm...
[ "angch@tertiaryinfotech.com" ]
angch@tertiaryinfotech.com
45a9293f6d290d2ee54c0651cc38f66ea66e87bc
e7c03b71f26c463b2670c52cd2fddbc198e3c8cb
/apps/groupapp/tests.py
6a799eff58eae54c86ceb50e35ac5f625bab761e
[]
no_license
nerosketch/djing2
71cc96f4829fc047d788dd7d8a94f1035e9740f9
1fbb0941f26389cbfdc8015527ab0d426c2e2c01
refs/heads/master
2023-01-13T15:12:50.492646
2022-11-18T11:24:21
2022-11-18T11:24:21
196,469,351
7
3
null
2020-02-29T19:38:37
2019-07-11T21:50:34
Python
UTF-8
Python
false
false
3,188
py
# from django.contrib.auth.models import Group as ProfileGroup, Permission # from rest_framework import status # from customers.tests.customer import CustomAPITestCase # # Test recursive permission assignment # class GroupAppTestCase(CustomAPITestCase): # def setUp(self): # super().setUp() # se...
[ "nerosketch@gmail.com" ]
nerosketch@gmail.com
b2468a4ddd3636e1f5f085a6ccc55277a299bfae
386f89407d8b7f6459f7e53acf127a5ee4109c45
/tests/unit/extensions/test_l3.py
ece5bde049932fcc26d5d17488058bdd0b8cda62
[]
no_license
sajuptpm/neutron_notification_work
8712a31b18fe27eb8b5219471c1c60c1e06a1bd4
e0463b2abc35d6a28d180e952ca5a2cfc9714a5c
refs/heads/master
2020-12-06T18:37:56.394013
2016-09-06T09:34:58
2016-09-06T09:34:58
67,484,236
0
0
null
null
null
null
UTF-8
Python
false
false
135,713
py
# Copyright 2012 VMware, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
[ "sajuptpm@gmail.com" ]
sajuptpm@gmail.com
d415e45393e7195ed99a11b0e4e56b552ec8b70b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/matrix-org_synapse/synapse-master/synapse/util/caches/descriptors.py
998de70d29ca4c3dc36ecbe9d7435d75846351f7
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
19,070
py
# -*- coding: utf-8 -*- # Copyright 2015, 2016 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "659338505@qq.com" ]
659338505@qq.com
7f9a93b835823acf30b7ec6e264783924296cda5
9305ddb471ad41d8298a21bc4025067555ac5c2a
/tests/test_sync_shows.py
34fcfe7cda60ae4ab690b66c15e0b6b5faa9ae33
[ "MIT" ]
permissive
lhuriguen/trakt.py
4210edc60d3e5dff9dbb7612827843cad14bd22e
be3a521a14cc7d2db37ca716c23f3359d140e2b7
refs/heads/master
2020-12-28T17:31:41.297508
2015-07-07T17:27:00
2015-07-07T17:27:00
38,701,776
0
0
null
2015-07-07T16:52:09
2015-07-07T16:52:09
null
UTF-8
Python
false
false
6,348
py
from tests.core.helpers import authenticated_response from datetime import datetime from trakt import Trakt import responses @responses.activate def test_playback(): responses.add_callback( responses.GET, 'http://mock/sync/playback/episodes', callback=authenticated_response('fixtures/sync/playbac...
[ "gardiner91@gmail.com" ]
gardiner91@gmail.com
7fce23fad73eef87764eb03fa8ba29525fc2d8bc
6e1ea8d65052f025060453f66819ac446a7592d8
/archive/yitu_190823_1.py
9bc62d7f4f5d998540148b96c2c20dc9588cbdf5
[]
no_license
csJd/oj-codes
bc38b79b9227b45d34139c84f9ef1e830f6b996c
2bd65d0070adc3400ee5bee8d1cf02a038de540b
refs/heads/master
2022-03-21T20:21:40.153833
2019-11-28T13:11:54
2019-11-28T13:11:54
47,266,594
2
0
null
null
null
null
UTF-8
Python
false
false
916
py
""" 某市新建了一条N个站的单向地铁(0,1 2...N-1,第i站和第i+1站相邻), 对于每个乘 客,假设从第S站上车,在第T站下车,需要支付(T-S)元。目前地铁公司准备通过车 站的进出人数统计应该收取的总车费,用于验证收费系统。现在这个计算总车费的 任务就交给了你。 输入描述: 第一行输入为N,表示有N个车站。 第二行输入为N个整数ai,表示第i-1个车站有ai个人进入 第三行输入为N个整数bi,表示第i-1个车站有b;个人离开 输出描述: 输出一个整数sum,表示总车费 3 1 2 0 0 0 3 4 """ if __name__ == "__main__": n = int(input()) ...
[ "d.vay@qq.com" ]
d.vay@qq.com
fe39941664364cd1157edd66ece89db9f77d19e2
56bd9b3518f21080a0493f5330249bf5e85289fd
/engineering/installation.py
e4125e9144e0420f5d19ed67a7504274ca024907
[ "Apache-2.0" ]
permissive
kevin-zhangsen/badam
da680bf8669722b5bc922381537bc4762fa5c228
6823f7dcd7c1b54c3b38edeffe59c16317598a2c
refs/heads/master
2020-04-01T13:43:03.300155
2015-10-29T01:07:46
2015-10-29T01:07:46
45,371,347
2
0
null
2015-11-02T04:02:50
2015-11-02T04:02:47
null
UTF-8
Python
false
false
11,971
py
__author__ = 'nash.xiejun' import logging import os import traceback from common import config from services import RefServices from engineering_factory import EnginneringFactory, PatchInstaller, PatchConfigurator from common.econstants import PathTriCircle, PathHybridCloud import utils from utils import ELog module...
[ "nash.xiejun@gmail.com" ]
nash.xiejun@gmail.com
30cfc2f6acae060c71be9f319b4891d2e201335a
1556527f9077813490366d1fef284bc0ae1e02ba
/sdk/lusid/models/quote_id.py
2216ee9a84e12a4f20ac78138f371bc3fd81b5fc
[ "MIT" ]
permissive
timbarrass/lusid-sdk-python-preview
a04ce8887c7001bd7ddf099027ab94c97d8fa400
9a54e98bf748d87469aa7c797607550fe65ba6ba
refs/heads/master
2020-08-03T20:02:37.282370
2019-09-30T10:51:19
2019-09-30T10:51:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,034
py
# coding: utf-8 """ LUSID API # Introduction This page documents the [LUSID APIs](https://api.lusid.com/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.c...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
a023174f1155d3d84e42e629850e0714f3296d62
9dd665b950ff86c82f3ea74b6c1216bc42c7c1df
/Python-Advanced/Function_Advanced/function_executor.py
1c028d1b2bd62a4045759c86f5a5c5c8d2ae3aa3
[]
no_license
toshhPOP/SoftUniCourses
464c63a92e6594654a223cd764dc425f2990918b
b17021edd87d03b903567bf383ee71dce9a484cb
refs/heads/main
2023-08-27T20:37:07.849185
2021-11-06T08:28:52
2021-11-06T08:28:52
394,772,063
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
def sum_numbers(num1, num2): return num1 + num2 def multiply_numbers(num1, num2): return num1 * num2 def func_executor(*args): result = [] for i in range(len(args)): for func_name, data in args: result.append(func_name(*data)) return result # print(func_executor((sum_numbe...
[ "toshopz26@gmail.com" ]
toshopz26@gmail.com
418ad7deaa49c5131bf0f0d60c9e43fb6f58463d
c149f1263b41f89eb03201044c16e47476f7e79f
/Rootfs/opt/ros/jade/bin/catkin_test_results
4b7ddcb91a744d87a87bb73927a1adb6a0ed4a5a
[]
no_license
BasJ93/Zybo_Ubuntu
d596511dd7820aeb545a426e9c395b27b60028f9
2a50f4171a5469e0e96f0c0e75c528af0908758c
refs/heads/master
2022-12-22T00:17:54.522038
2017-02-02T13:15:16
2017-02-02T13:15:16
72,639,835
2
1
null
2022-12-16T08:57:26
2016-11-02T12:54:53
C++
UTF-8
Python
false
false
1,720
#!/usr/bin/python from __future__ import print_function import argparse import os import sys # find the import relatively if available to work before installing catkin or overlaying installed version if os.path.exists(os.path.join(os.path.dirname(__file__), '..', 'python', 'catkin', '__init__.py')): sys.path.inse...
[ "r.halvaei@gmail.com" ]
r.halvaei@gmail.com
1f846500b996a975044c57bba5447aa40d8c11f0
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/网络编程练习/python高级3/10-pdb调式.py
4dcdcef47e8e8144faa86dc77715c122fdb9991f
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
# pdb调式 ''' l list显示当前代码 n next向下执行一行代码 c continue继续执行代码 b break添加断点 c clear删除断点 p print打印一个变量的值 a args打印所有的形参数据 s step进入到一个函数 q 退出调试 IDE 集成开发环境 r return快速执行到函数的最后一行 '''
[ "2101706902@qq.com" ]
2101706902@qq.com
149650f6dc3ec87cc81f1dbd63d7cbe0c3f1625e
9887a323145380f5c866121bad78a311a6fdfd63
/tests/test_stateless.py
25f5bd88ffe88c808377212fc0acc99d33ecd4b9
[]
no_license
teh/pyoidc
f27df0cfce0698c4dbbed9b14b1934df18ea7aea
77df9ea28d403f0065b68f85f8f2c7577822929f
refs/heads/master
2021-01-14T09:36:36.961355
2014-12-12T17:39:58
2014-12-12T17:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
from oic.utils.stateless import StateLess __author__ = 'roland' def _eq(l1, l2): return set(l1) == set(l2) def test_access_code(): keys = {"OCT": ["symmetric key123"]} st = StateLess(keys, enc_alg="A128KW", enc_method="A128CBC-HS256") con = st.create_authz_session("subject", ...
[ "roland.hedberg@adm.umu.se" ]
roland.hedberg@adm.umu.se
a112044b675ee8d69166debce62ac2bcb55d999e
9f495456202ecbfdcbc17aae96f8db47116f7adf
/myenv/lib/python3.6/site-packages/django_extensions/management/color.py
a6c893701d4e152a761c86a35d767d21671b95d6
[]
no_license
nknaveenkumar760/pythontutorial
8dfae178e5ffa1942722a3754bd1b0c1fc99aa3b
22df07acad252040c6b9b68c935fef5add9cf974
refs/heads/master
2022-02-19T18:06:40.386333
2019-08-02T08:12:11
2019-08-02T08:12:11
171,852,495
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
# -*- coding: utf-8 -*- """ Sets up the terminal color scheme. """ from django.core.management import color from django.utils import termcolors def _dummy_style_func(msg): return msg def no_style(): style = color.no_style() for role in ('INFO', 'WARN', 'BOLD', 'URL', 'MODULE', 'MODULE_NA...
[ "nknaveenkumar760@gmail.com" ]
nknaveenkumar760@gmail.com
ca84fb9ad8f7c98892e0ac88b8fd6cbd03a8d62e
cf546730d2eada1fa876fd6990303535b970ddaa
/cross_product.py
c8fbc7b2decebd4e3c3c02a82917b05235a7ec15
[]
no_license
ibnahmadCoded/how_to_think_like_a_computer_scientist_Chapter_5
7f3bb2dfb879641cb2fde819526ddd99269ae2e5
e477bfa9d7ff681e7c7440b8f98db5b642797781
refs/heads/master
2021-05-21T05:28:17.843714
2020-04-02T21:20:01
2020-04-02T21:20:01
252,566,063
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
def cross_product(vector1, vector2): """calculates cross product of two vectors of length 3""" if len(vector1) == len(vector2) == 3: #check if both vector lengths are 3 #create new_vector containing all lsit values new_vector = vector1[:] new_vector.extend(vector2) #calculate de...
[ "alegeaa@yahoo.com" ]
alegeaa@yahoo.com
3db2145134344ba32f7716064e761c5f66fd867d
fc257aa68ab6183f0aa62289f736184d66d67967
/client/buck.py
e5ebf39a961ac838599999365a816cfb4c5c3b5d
[ "MIT" ]
permissive
ishaanthakur/pyre-check
9e091614cc8c83091348b54c16351b7da525dd3a
b0f12f8a3e6a817a81d87feae301c96d57d167b9
refs/heads/master
2020-06-12T02:06:37.631948
2019-07-22T21:39:40
2019-07-22T21:39:40
194,161,250
0
0
MIT
2019-06-27T20:48:22
2019-06-27T20:48:22
null
UTF-8
Python
false
false
10,734
py
# Copyright 2004-present Facebook. All rights reserved. import functools import glob import json import logging import os import subprocess import sys import tempfile from collections import namedtuple from typing import Dict, Iterable, List, Optional, Set, Tuple, cast # noqa from .filesystem import BuckBuilder, fi...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
55f43a17228fc9de9dd1c3b45bdabcdcb5455f66
e965adf3c062c4e8af4a113d5bcbb046ecc9ae94
/torchocr/losses/det_pse_loss.py
9199bbeb69ffbe4079f6406b8fdf71c3178bc169
[]
no_license
WenmuZhou/PytorchOCR
fc043af60a4fe05d29739d0320b9aa7c1e945af4
ad0e4d6026f35e71c6a27651e7348d613c845fac
refs/heads/dev
2023-08-31T04:32:07.536836
2023-08-30T15:52:16
2023-08-30T15:52:16
263,868,388
1,178
281
null
2023-09-04T09:47:16
2020-05-14T09:14:43
Python
UTF-8
Python
false
false
4,867
py
import torch from torch import nn from torch.nn import functional as F from .det_ct_loss import iou class PSELoss(nn.Module): def __init__(self, alpha, ohem_ratio=3, kernel_sample_mask='pred', reduction='sum', eps=1e-6, ...
[ "572459439@qq.com" ]
572459439@qq.com
254537eab236ca67e4b962d2717065d0d9047574
9d764e43207cc0bef3c613406154f05018979381
/core/read_results.py
ede212309df7a46264c0a355438eb82f43ef6538
[]
no_license
mwalling/RaceDB
a1a1ba5fcfcd6aa934b871f0182bb9865c1dd1df
5540c23e62dfca608a9f34f6c82767fe2a4d50b0
refs/heads/master
2023-03-22T01:58:49.193018
2023-02-23T14:38:38
2023-02-23T14:38:38
189,480,775
0
0
null
2019-05-30T20:50:04
2019-05-30T20:50:04
null
UTF-8
Python
false
false
7,988
py
import re import pytz import datetime from collections import defaultdict from .models import * from .DurationField import formatted_timedelta reNonDigit = re.compile( r'[^\d]' ) def get_event_from_payload( payload ): raceScheduledLocalList = [int(f) for f in reNonDigit.sub( ' ', payload['raceScheduledStart'] ).spli...
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
eba47dbe34cb021576261b31016d3e5db65b8155
adf66a4b3c92bd38f5532fb4792c8e6b84c55ca5
/manage.py
b2dfee2ca97ccd0ab958fb60fe14038845cd0478
[]
no_license
nicpottier/call
502d15bfb3412826aaaff7cb5cda521ee96cdc4e
11e833959c6c00429939a94cf6e66541daa770da
refs/heads/master
2020-04-14T20:39:39.419658
2013-11-10T09:51:21
2013-11-10T09:51:21
14,273,365
0
1
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "call.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "nicpottier@gmail.com" ]
nicpottier@gmail.com
9d8de7a226b0a51a4a0853b2ac1d848c61bf26c2
53150df439444f80ef8f7e5bd4b5881e82b297f2
/Python/2902.py
13eaf7cf8b69fdc8030fcafda6b6e579f7539dfb
[]
no_license
HanHyunsoo/Baekjoon_Algorithm
fbefac997a07d22e504128e49dc04896c35f9f2c
b895ca1b9841fd56b063ad06274e0f92a572faf7
refs/heads/master
2023-03-11T20:31:48.727047
2023-02-25T13:03:30
2023-02-25T13:03:30
142,466,087
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
name = input() result = '' for i in name: if ord(i) < 91 and ord(i) > 64: result += i print(result)
[ "gustn4563@gmail.com" ]
gustn4563@gmail.com
f2140221343410ae1f1f059697cc237f9c6fbbc9
1978a9455159b7c2f3286e0ad602652bc5277ffa
/exercises/17_serialization/task_17_2.py
72b1b10d76e9b7339a888d368b87d3d1e094aec8
[]
no_license
fortredux/py_net_eng
338fd7a80debbeda55b5915dbfba4f5577279ef0
61cf0b2a355d519c58bc9f2b59d7e5d224922890
refs/heads/master
2020-12-03T17:32:53.598813
2020-04-08T20:55:45
2020-04-08T20:55:45
231,409,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
# -*- coding: utf-8 -*- ''' Задание 17.2 Создать функцию parse_sh_cdp_neighbors, которая обрабатывает вывод команды show cdp neighbors. Функция ожидает, как аргумент, вывод команды одной строкой (не имя файла). Функция должна возвращать словарь, который описывает соединения между устройствами. Например, если как арг...
[ "fortunaredux@protonmail.com" ]
fortunaredux@protonmail.com
9c92b0a145b262d193e04316e60dc6fae61d6911
060c559cdfe39e3ff37bcc4f5113f30901a605d7
/tf2onnx/tflite/ConcatenationOptions.py
8f8281e5634b361f0715652758770364a4424a7c
[ "Apache-2.0" ]
permissive
onnx/tensorflow-onnx
4402bc3416b1e191b122120aafcce5a5f396b160
d5b7f39de66f3b4ff8731fd23b3f379ae731e601
refs/heads/main
2023-09-01T08:47:00.417130
2023-08-29T03:57:16
2023-08-29T03:57:16
125,098,252
2,068
454
Apache-2.0
2023-08-29T03:57:18
2018-03-13T18:39:56
Jupyter Notebook
UTF-8
Python
false
false
2,443
py
# SPDX-License-Identifier: Apache-2.0 # automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class ConcatenationOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf,...
[ "noreply@github.com" ]
onnx.noreply@github.com
0b698208cfdb527b6d10310aa139e9ba2561ef02
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/jdro/models/Change.py
92811c40be406b3cabcf8f70d168540d284dd466
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
920
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "oulinbao@jd.com" ]
oulinbao@jd.com
e0f3d58dc2a660f703a3de9c29ea1eeafca629d7
4bf6ccc2f6d0eeefcb51a946e871d352d6b8e910
/functions/1-even-numbers.py
b9f07d2bc941f9c060926e7cc370b384f454b18d
[]
no_license
KalinHar/Advanced-Python-SoftUni
81764cb3c2f3560950b884dd562d9658cc8fcff4
2887e6dfbda23478bf56a4f796392eaeb63b9987
refs/heads/main
2023-06-03T21:31:04.972260
2021-06-27T13:22:47
2021-06-27T13:22:47
357,142,736
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
print(list(filter(lambda x: x % 2 == 0, map(int, input().split())))) def is_even(num): return num % 2 == 0 even_nums = list(filter(is_even, [1,2,3,4,5,6]))
[ "kalix@abv.bg" ]
kalix@abv.bg
f60d1f2cef2a6a6c2ef615e6d7647781af500928
c45c1716137226bed2c3dc91400516b62038df32
/conftest.py
f22a49b0af7a2c504fed559d4d063ccb05658952
[ "Apache-2.0" ]
permissive
alkahan/testinfra
a30489377307c709b25f0dff6c1a0ce16a351774
a68908c46bffe447f4fb1ef2b1796b6ff1f7e672
refs/heads/master
2021-01-14T11:52:18.569036
2016-04-25T17:08:58
2016-04-25T17:08:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
# -*- coding: utf8 -*- # Copyright © 2015 Philippe Pepiot # # 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 ...
[ "phil@philpep.org" ]
phil@philpep.org
8f5918a19bac39c53ebf800dcb52c51094a100d5
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc049/C/answers/019021_rishizek.py
75f66df89435a327110c0eb0d6a8221d54d1517a
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
s = input() words = ['dream','dreamer','erase','eraser'] while len(s) > 4: if s[-5:] == 'dream': s = s[:-5] continue elif s[-7:] == 'dreamer': s = s[:-7] continue elif s[-5:] == 'erase': s = s[:-5] continue elif s[-6:] == 'eraser': s = s[:-6] ...
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
eb7bb60380b324ff578abf1048844f54cc35c3fb
092d5ba1912ed27f8e7a64929268a8cadc33a91e
/xascraper/modules/twit/twitScrape.py
77dddffe2615bc7d390de7260594c3a746a2f867
[]
no_license
yusuf5552/xA-Scraper
8e59fd34c30e8263d4ccaf3068224b88b92fd209
5282bd0af8e4d2c636879274c271701f678a1e1c
refs/heads/master
2020-08-21T18:14:15.092337
2019-10-17T05:33:31
2019-10-17T05:33:31
216,216,052
0
0
null
2019-10-19T14:07:27
2019-10-19T14:07:27
null
UTF-8
Python
false
false
12,002
py
import os import os.path import traceback import re import bs4 import urllib.request import urllib.parse from settings import settings import flags import util.unclassify import xascraper.modules.scraper_base from xascraper.modules import exceptions class GetTwit(xascraper.modules.scraper_base.ScraperBase): setti...
[ "something@fake-url.com" ]
something@fake-url.com
a8500b9bf61e3a69138366cd38ecb3ed68aef855
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02923/s599656381.py
51ea3d985a29d3978fb8f300827cd433959e4128
[]
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
383
py
n=int(input()) h=list(map(int,input().split())) step=[] for i in range(n-1): if h[i]<h[i+1]: step.append(0) else: step.append(1) a=[i for i, x in enumerate(step) if x==0] ans=[] for i in range(len(a)): if i==0: d=a[0] ans.append(d) else: b=a[i]-a[i-1] ans.append(b) if not a: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ab0babad06021b638f09a56fde129ae57ac2ee67
da2c6eed934559fae4258353c6bbbda10f160f1d
/GroupNumber/GetNumber.py
d0ca582bba3aa24ea55365b17ef3d9e3fec1bbeb
[]
no_license
Romanov-Niko/crazywork
b7ddfe6f8195a8411953eada8742835ab866ad5d
01ef7b0613870bfd538f027447d1dd5682d279ff
refs/heads/master
2020-09-03T15:52:01.899251
2019-11-04T14:00:38
2019-11-04T14:00:38
219,503,196
0
0
null
2019-11-04T13:39:45
2019-11-04T13:03:24
Python
UTF-8
Python
false
false
285
py
import re def getNumber(text): """ Функція зчитує рядок та повертає номер групи :param test: str, str, KM-91 :return: str, str, 91 """ group_number = re.findall('\d{2}', text) return group_number print( getNumber())
[ "you@example.com" ]
you@example.com
e05091315c6652d7036f48ac7247c81e18690652
41777d4d219ea97b4632f4a8a31ab6c82a60772c
/kubernetes_typed/client/models/v1beta1_api_service_condition.py
1afbe83e38cd1a725f1582ad516f5b1ec312d1f3
[ "Apache-2.0" ]
permissive
gordonbondon/kubernetes-typed
501d9c998c266386dc7f66f522f71ac3ba624d89
82995b008daf551a4fe11660018d9c08c69f9e6e
refs/heads/master
2023-07-18T12:06:04.208540
2021-09-05T19:50:05
2021-09-05T19:50:05
319,183,135
24
2
Apache-2.0
2021-09-05T19:50:06
2020-12-07T02:34:12
Python
UTF-8
Python
false
false
402
py
# Code generated by `typeddictgen`. DO NOT EDIT. """V1beta1APIServiceConditionDict generated type.""" import datetime from typing import TypedDict V1beta1APIServiceConditionDict = TypedDict( "V1beta1APIServiceConditionDict", { "lastTransitionTime": datetime.datetime, "message": str, "re...
[ "noreply@github.com" ]
gordonbondon.noreply@github.com
ab0d8885fa7fa9dd6c0e98ed2526ca7703957467
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py
524ba66d5ebf31a814ea4073d3655730b3ca844e
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
116,615
py
# pylint: disable=too-many-lines # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import re from enum import Enum from typing_extensions import Literal from azure.core import CaseInsensitiveEnumMeta from ._generated.mo...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
3baddc6ef84c3ac4d1921f12ae7b676a9d5b328d
d8574d8ca5c571fd7ed3b67dac00c55df2ac6580
/tools/forklift/python/forklift/arlcm/task_planner_status_t.py
a76bfd712eeab6d447086b2f6ea20d4d7418ceb0
[]
no_license
h2r/slu_core
19de87e55e84dd4dada65b4d7b65857bdae740e8
e30c0245177e8481397fd4987422e3d35d79ec08
refs/heads/master
2021-07-09T18:19:33.424551
2020-07-06T18:49:18
2020-07-06T18:49:18
143,929,984
0
0
null
null
null
null
UTF-8
Python
false
false
3,860
py
"""LCM type definitions This file automatically generated by lcm. DO NOT MODIFY BY HAND!!!! """ import cStringIO as StringIO import struct import task_summary_t import task_planner_state_enum_t class task_planner_status_t(object): __slots__ = ["utime", "current_task_active_utime", "current_job_active_utime", "n...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
35c410482e50a8fff0b6d6ede08ecb6337f04481
d2df2313410c73456f5ba5e27b3b38dd161b4708
/data_engine/rebuild_dataset_from_config.py
aced9cb467350f1485f323992a85202a023f805b
[ "MIT" ]
permissive
DeepaliVerma/interactive-keras-captioning
d3d26b14efae9ee807b95c5b4943ec7f10a2ae61
9791f0e96aeb89c9b4d97f2f3352b50f18f14df9
refs/heads/master
2021-04-18T09:27:57.679293
2019-08-02T10:39:14
2019-08-02T10:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import logging import ast logging.basicConfig(level=logging.INFO, format='[%(asctime)s] %(message)s', datefmt='%d/%m/%Y %H:%M:%S') logger = logging.getLogger(__name__) def parse_args(): parser = argparse.ArgumentParser("Rebuilds a data...
[ "lvapeab@gmail.com" ]
lvapeab@gmail.com
146fd2c4ef1974cdd780d9da975e19f2a851ea0f
6411acb3828fec8cc79f6f2630a4d99e8352a9aa
/983*.py
9fce268a1dc9e6aed339b0a7413740038e75d1e1
[]
no_license
zhouliuling/Leetcode_Task
95f55a3ca33b561a130fc15272e513d9af2c0317
0230d31351a4093e8ae6be5fe0c175f3f41e08ac
refs/heads/master
2020-05-25T18:44:59.377953
2019-09-12T02:14:22
2019-09-12T02:14:22
187,935,297
0
1
null
null
null
null
UTF-8
Python
false
false
1,317
py
## 最低票价 # 动态规划,dp[i]为截至到days[i]天所需要的最小花费,双指针i为当前截至到的天数,j为向前遍历寻找最小值的指针 # 如下 class Solution(object): def mincostTickets(self, days, costs): """ :type days: List[int] :type costs: List[int] :rtype: int """ n = len(days) dp = [float("inf") for i in range(n)] ...
[ "noreply@github.com" ]
zhouliuling.noreply@github.com
e8465af2249a60413464e23e1e7aff6b708286b5
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/network/latest/get_vpn_server_configuration.py
205c45abbb1d1afa3d8208c04f79472a5a61dce6
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
13,402
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 from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
51d6635031513e7e4c0ce91cedc7498850c7b58e
007cd60ca84623c5ace8b50e846be659ae2e8c85
/migrations/versions/20161007222818_create_cochrane_reviews_table.py
3397e090d60d4302b51ad66e0ddb0927da16521c
[ "MIT" ]
permissive
kenferrara/collectors
412a97f0475747a206cbe68890774c0c37e9fc1a
e6c1f45df3a1ffd5d60dada1816484812eb51417
refs/heads/master
2023-04-16T22:01:19.899692
2020-04-23T02:31:24
2020-04-23T02:31:24
258,073,992
0
0
MIT
2023-04-04T00:19:23
2020-04-23T02:30:59
Python
UTF-8
Python
false
false
1,076
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sqlalchemy as sa from sqlalchemy.dialects.postgresql import UUID, JSONB from alembic import op # revision identifiers, used by Alembic. r...
[ "vitor@vitorbaptista.com" ]
vitor@vitorbaptista.com
516e24a492609350cabd5054a920292e6ee19afc
aba00d6272765b71397cd3eba105fc79b3a346e0
/Digisig/digsigvenv/lib/python3.6/site-packages/ufl/algorithms/ad.py
9f170982653f08b3b60d6a1d00c51eeba8540a94
[]
no_license
JosteinGj/School
a2c7cc090571b867637003fe6c647898ba9d8d24
3b5f29846e443b97f042241237dbda3208b20831
refs/heads/master
2023-05-02T11:07:29.517669
2021-04-26T09:04:57
2021-04-26T09:04:57
295,340,194
3
1
null
null
null
null
UTF-8
Python
false
false
1,653
py
# -*- coding: utf-8 -*- """Front-end for AD routines.""" # Copyright (C) 2008-2016 Martin Sandve Alnæs # # This file is part of UFL. # # UFL is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either versi...
[ "jostein.gj@gmail.com" ]
jostein.gj@gmail.com
7312145420732bf93101ddf1d3bfba34d207a1b0
e8a48749014f372633de65d79bfa26a3ad743d89
/src/transformers/models/unispeech_sat/modeling_unispeech_sat.py
2ed4f43b515e095b3cb55ed96337974c2407247b
[ "Apache-2.0" ]
permissive
pvcastro/pytorch-pretrained-BERT
183b7291972c8d8c66c995647df66c1fe439a763
49cd736a288a315d741e5c337790effa4c9fa689
refs/heads/master
2022-08-19T08:55:16.332585
2022-06-30T16:11:08
2022-06-30T16:11:08
168,367,637
1
0
Apache-2.0
2019-01-30T15:39:42
2019-01-30T15:39:41
null
UTF-8
Python
false
false
83,608
py
# coding=utf-8 # Copyright 2021 The Fairseq Authors and the HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
[ "noreply@github.com" ]
pvcastro.noreply@github.com
fcecee171166f9dc803e588c855551fc6627391c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02630/s465870770.py
4458288c9b39c96f5cb2465230274515cf7364ea
[]
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
396
py
n = int(input()) a = list(map(int, input().split())) q = int(input()) total = sum(a) dct = {} for i in range(n): if a[i] in dct: dct[a[i]] += 1 else: dct[a[i]] = 1 for i in range(q): b, c = map(int, input().split()) if b not in dct: dct[b] = 0 if c not in dct: dct[c] = 0 total +...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
54b6520320b80f11584dedf5e51c8584f3620532
41dbb27af3a3ecabeb06e2fb45b3440bcc9d2b75
/reglog/migrations/0019_product_review.py
0410a5c982b4000f015615b0d5791b7ac570303d
[]
no_license
joypaulgmail/Dookan
4df83f37b7bcaff9052d5a09854d0bb344b9f05a
7febf471dd71cc6ce7ffabce134e1e37a11309f7
refs/heads/main
2023-03-02T04:10:19.611371
2021-02-09T11:45:32
2021-02-09T11:45:32
336,476,910
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 3.1 on 2021-02-06 13:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reglog', '0018_product_rating'), ] operations = [ migrations.AddField( model_name='product', name='review', ...
[ "joypaul650@gmail.com" ]
joypaul650@gmail.com
c27367a698276e9b4b5a34e98a65ec813aede320
afb16c3188bf06af65ae0d998e114c72342bd8be
/note/demo/pyd_package/my_module/my_module.py
644afe9a07a2d8dcd1e542e5dc323cd1932db422
[]
no_license
onsunsl/onsunsl.github.io
aa75f399f1c647bc2e62314633bfe35187e59ad4
4ed2b1b9a2407afcbffdf304020d42b81c4c8cdc
refs/heads/master
2023-05-26T12:33:11.167270
2023-04-01T10:18:05
2023-04-01T10:18:05
237,595,319
1
0
null
2023-05-23T20:13:11
2020-02-01T10:02:58
Python
UTF-8
Python
false
false
254
py
from my_module.sub_folder import sub_module def hello() -> None: print("hello " + sub_module.world()) def py_fib(n: int) -> int: a, b = 0, 1 for _ in range(n): a, b = a + b, a return a if __name__ == '__main__': hello()
[ "onsunsl@foxmail.com" ]
onsunsl@foxmail.com
335e6efc58aed21929c3eb4982bcacb78343b2ed
8ee5dcbdbd407eb5f294d430813b16eca22f571c
/data/HW3/hw3_159.py
32978210857e87995a16470d63e23dfa5c040a32
[]
no_license
MAPLE-Robot-Subgoaling/IPT
5e60e2ee4d0a5688bc8711ceed953e76cd2ad5d9
f512ea3324bfdceff8df63b4c7134b5fcbb0514e
refs/heads/master
2021-01-11T12:31:00.939051
2018-08-13T23:24:19
2018-08-13T23:24:19
79,373,489
1
1
null
null
null
null
UTF-8
Python
false
false
442
py
def main(): temperature=float(input("Please enter the temperature: ")) scale=str(input("Please enter 'C' for Celcius, or 'K' for Kelvin: ")) if scale=='k': temperature=(temperature-273.15) if temperature>=100: print("At this temperature, water is a gas.") elif temperature>0: ...
[ "mneary1@umbc.edu" ]
mneary1@umbc.edu
2cdd105f9d28b8e4d7a69e65868a50b1fe35222d
2f989d067213e7a1e19904d482a8f9c15590804c
/lib/python3.4/site-packages/storages/backends/gs.py
9899bba41afaff02cf13e8619f592fc1aa83e9e3
[ "MIT" ]
permissive
levabd/smart4-portal
beb1cf8847134fdf169ab01c38eed7e874c66473
2c18ba593ce7e9a1e17c3559e6343a14a13ab88c
refs/heads/master
2023-02-18T05:49:40.612697
2022-08-02T09:35:34
2022-08-02T09:35:34
116,001,098
0
1
MIT
2023-02-15T21:34:01
2018-01-02T10:00:07
Roff
UTF-8
Python
false
false
3,986
py
from django.core.exceptions import ImproperlyConfigured from storages.backends.s3boto import S3BotoStorage, S3BotoStorageFile from storages.utils import setting from storages.compat import BytesIO try: from boto.gs.connection import GSConnection, SubdomainCallingFormat from boto.exception import GSResponseErr...
[ "levabd@gmail.com" ]
levabd@gmail.com
b9079933929522586488dd9420adb5598d7e1abc
5d07564d0dbf02d084ba4a7f8fa942c328305400
/ebooks_api/migrations/0001_initial.py
f5f749f0a4764daf73d061236943b445c85330af
[]
no_license
PythonDjangoJavascript/ebook_api
860bc9347fdba687e07186f7f0aa2d69711e0591
ce6cad441c119ea3537f30fe90f8a8ca0ef1b263
refs/heads/main
2023-04-19T13:07:30.198177
2021-05-12T14:52:18
2021-05-12T14:52:18
365,871,430
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
# Generated by Django 3.2.2 on 2021-05-12 08:46 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
[ "nuruddinsayeed@gmail.com" ]
nuruddinsayeed@gmail.com
d571872c7236522dd6f3efad9845a1671b44d80b
ac0ec91101136ce016d1fc34d43c457517f469e6
/ptm/mysite/urls.py
9244a5840f9058497efecacb8be62a4cb72a491f
[]
no_license
SardarDawar/Real-estate
df907f79a7d7e7dd9e40ed8ded3e4203a3a041ab
3772e06fec19234b7ee51f431c6bb265c02d4051
refs/heads/master
2020-09-17T10:46:01.316330
2019-11-26T15:25:09
2019-11-26T15:25:09
223,478,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
from django.conf.urls import url from django.urls import path , include from . import views #REST API URLS from django.contrib.auth.views import PasswordResetView,PasswordResetDoneView, PasswordResetConfirmView, PasswordResetCompleteView urlpatterns = [ url(r'^$', views.home, name="home"), url(r'login/', v...
[ "dawarsardar786@gmail.com" ]
dawarsardar786@gmail.com
9076afc6f5538a1b3ccd3255fe127761e9c4b40e
4738129b25fceb5c8fdc83eebdd7621e41910230
/python-leetcode/sw_62.py
056b0beb7bc48a50a18db4a23273c036222b99c2
[ "MIT" ]
permissive
MDGSF/JustCoding
43aa20773b9c8325e6ba632e9941d235e9e285aa
2faa46323df991a12014021b49d568387a882233
refs/heads/master
2023-07-21T19:07:15.899019
2023-07-09T07:29:59
2023-07-09T07:29:59
201,714,062
15
2
null
null
null
null
UTF-8
Python
false
false
227
py
class Solution: def lastRemaining(self, n: int, m: int) -> int: last = 0 for i in range(2, n + 1): last = (last + m) % i return last n = 5 m = 3 s = Solution() result = s.lastRemaining(n, m) print(result)
[ "1342042894@qq.com" ]
1342042894@qq.com