blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
97eb63dbfe1a1eae8ede3992dbe594c47baec695
e0ddffd0c355aa635f8823a9b3c2eddfcc7848eb
/links_left.py
bd199b038bdef88998b59936a9bad1044bed5fdf
[]
no_license
quanted/cyan_app
871f0532a30995efa02121d0696c64900173f867
7a71ce647bb66ba39e1e1ea32b4f9b64a2fc5f9d
refs/heads/dev
2021-01-13T03:54:37.564319
2019-10-16T16:23:26
2019-10-16T16:23:26
78,225,520
0
0
null
2020-04-14T19:15:29
2017-01-06T17:35:20
Python
UTF-8
Python
false
false
745
py
from django.template.loader import render_to_string from collections import OrderedDict from django.shortcuts import redirect # 03ubertext_links_left: def ordered_list(model=None, page=None): link_dict = OrderedDict([ ('Model', OrderedDict([ ('CyAN', 'cyan'), ]) ), ...
[ "arignatius@gmail.com" ]
arignatius@gmail.com
5bd17d058acc2ae9b0e419a939ef83d286a002a5
c752eb3a6cbf6a3d60e602fade7cd573cedee7a6
/getSheetsStatus.py
bd530dfbc05bcde6732b13d355c475b614185fe6
[ "MIT" ]
permissive
mkortekaas/RainBypass
32f672462a7b6a23851b9174452a823880e00e1c
b00e783a1004288b7ca9a51f0dcbeb4da156fade
refs/heads/master
2021-01-18T22:59:52.382970
2019-08-12T15:31:51
2019-08-12T15:31:51
11,034,938
0
1
null
null
null
null
UTF-8
Python
false
false
3,035
py
#!/usr/bin/env python # # Copyright 2018 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...
[ "mark@kortekaas.com" ]
mark@kortekaas.com
46747fbc3c33b336048baf27aad12d4a044b8473
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/yfooETHj3sHoHTJsv_11.py
3b80e0b8989222b1ece889e3f7396b901396c028
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
""" Create a function that returns `True` when `num1` is equal to `num2`; otherwise return `False`. ### Examples is_same_num(4, 8) ➞ False is_same_num(2, 2) ➞ True is_same_num(2, "2") ➞ False ### Notes Don't forget to `return` the result. """ def is_same_num(num1, num2): if num1==num2...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f1f06da392a28869848367fd1c0d1f4047137f9d
839dc463e9fcbb06d7994995227420f0e107dde0
/portfolio/portfolio/urls.py
5b92022b61b448e82c9efd3640420ce376661bd5
[]
no_license
jmcclena94/django-portfolio
f0508750eb3ba1e4fedfe1c36b90902861066461
1deb07035de371320fab2e953c48454f16be914d
refs/heads/master
2020-12-31T04:42:40.296275
2017-04-15T19:02:06
2017-04-15T19:02:06
58,496,222
1
0
null
2017-04-15T19:02:06
2016-05-10T22:00:56
Python
UTF-8
Python
false
false
534
py
from django.conf.urls import url, include from django.contrib import admin from portfolio.views import HomepageView from portfolio import settings from django.conf.urls.static import static urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^$', HomepageView.as_view()), url(r'^', include('projects.url...
[ "jmcclena94@gmail.com" ]
jmcclena94@gmail.com
e873276993669b26ecf9589aadea1be08a10112f
bc59bc0c84e4c9ecda50c94c5bb36adc31400bf4
/mlflowx_test.py
17c194fec785fc740840526b6d324399bb57a26d
[]
no_license
dum3ng/pipeline-test
6e352cba5de513a7d497c9314b6e04aaae2684f7
3928f0f2828853c31c7b3f9362d2289353490791
refs/heads/master
2020-08-22T05:10:21.999403
2019-10-25T11:37:08
2019-10-25T11:37:08
216,324,077
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from mlflowx.pipeline import run_pipeline run_pipeline('.', 'default')
[ "du.mang@malgo.cn" ]
du.mang@malgo.cn
0343a12712af23f99051af1d1eb45efc8aa04b53
5dfa9dfb2d2d604f54de7020aed11642f03f1186
/SLAC/dark_defects_offline/v0/validator_dark_defects_offline.py
30eb49152670cb1873fc87d6cdb693baf4218fea
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lsst-camera-dh/harnessed-jobs
49a9a65f3368771ff7b7b22caa94fc8f384681f4
352f48b70633b0f0e3faf941198edf1de85f4989
refs/heads/master
2021-03-19T16:57:36.199351
2019-03-10T21:18:46
2019-03-10T21:18:46
34,645,042
0
1
null
2018-04-03T23:37:34
2015-04-27T03:59:33
Python
UTF-8
Python
false
false
1,050
py
#!/usr/bin/env python import lsst.eotest.sensor as sensorTest import lcatr.schema import siteUtils import eotestUtils sensor_id = siteUtils.getUnitId() mask_file = '%s_dark_pixel_mask.fits' % sensor_id eotestUtils.addHeaderData(mask_file, LSST_NUM=sensor_id, TESTTYPE='SFLAT_500', DATE=eotest...
[ "jchiang@slac.stanford.edu" ]
jchiang@slac.stanford.edu
644841a27ffee6c9768e10bb6b4a3bba985e8167
7c01e9df3cd2375b756af2f7f25d5bcd24d65d17
/save-msg
56831f6c978d5043418cad7b36299d117a9d33b0
[]
no_license
Seefooo/manage-commit-msg
809427568599602b25d8782ee9400fe23982cfd7
87885d7706b3d0ef1be66752528c44f0614b474d
refs/heads/master
2022-09-10T20:58:47.511164
2020-02-27T20:03:42
2020-02-27T20:03:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
#!/usr/bin/env python3 import shutil import sys def main(): lines = [] with open(sys.argv[1]) as f: for line in f: if line.startswith("#"): continue if not line.strip(): continue lines.append(f"# {line}") if lines: lines.i...
[ "ygamal@sciencelogic.com" ]
ygamal@sciencelogic.com
394530c218df75cb6d4205db5a36ae592e904fac
768caee28ad4eddc7dd0b70b8f293854b25cf25b
/source/examples/mini-tutoriales/mipaquetepython/mipaquetepython/app.py
a3779dc5aadba97063a4ef9233bb278dbccbfc24
[]
no_license
macagua/collective.spanishdocumentation
bb904cfaaf2e8151d4af18362f379f03a4351715
a5638b87329dfe54746179bbf1848dad43d62012
refs/heads/master
2021-06-06T04:24:26.467552
2012-11-28T14:59:26
2012-11-28T14:59:26
2,941,330
2
2
null
2018-11-07T17:34:54
2011-12-08T16:27:56
Python
UTF-8
Python
false
false
76
py
var = raw_input("Introduzca alguna frase: ") print "Usted introdujo: ", var
[ "leonardocaballero@gmail.com" ]
leonardocaballero@gmail.com
54711c7dd2324bbcab304447d698604a428107b0
9bbc2f3f4f69296ee9aef2970a0d7d7c4a2ab2ee
/Video Capture/video_stream_opencv-master/cfg/VideoStream.cfg
272c16323b99f5d4e09e299c2b1bcd773ad9af6f
[]
no_license
rubis-lab/SML
6b9702f6f13dbc779bfab34640052fdfc63127f0
b3bbe6f9ff6967890dfce47ce9496f267ed909bc
refs/heads/master
2020-04-26T22:59:44.709888
2019-09-02T17:14:19
2019-09-02T17:14:19
173,889,450
3
2
null
2019-03-07T12:09:12
2019-03-05T06:37:05
C++
UTF-8
Python
false
false
1,519
cfg
#!/usr/bin/env python from dynamic_reconfigure.parameter_generator_catkin import * PKG = "video_stream_opencv" gen = ParameterGenerator() # name type level description default min max gen.add("camera_name", str_t, 0, "Camera name", "camera") gen.add("set_camera_fps", double_t, 0, "Ima...
[ "dohkim119@github.com" ]
dohkim119@github.com
f84e1c6f02ef74ae1af2ad57059953141012d950
957ffc377b411bab574739f0a0fcfa911bc7e877
/mnist.py
0536d2fb27d53b759ea536177c56249e580f7a5f
[]
no_license
wanpeng16/Wasserstein-PCA
bfe0369f70fd964bc21bfd002c772e65e89a41c8
d627a8a1ea32c1f8208425d451db213435d49d0f
refs/heads/master
2020-04-07T22:23:21.095728
2018-06-19T08:43:12
2018-06-19T08:43:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,075
py
# Copyright 2016 The TensorFlow 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 applica...
[ "vivienseguy@gmail.com" ]
vivienseguy@gmail.com
234660705b99c018421e1a94c25dbe952e2900e5
dbd85f5f672133244c53e177debe81f3dd845d5b
/week01/task2/mytest/middlewares.py
005532369dd4f7fded1cfb0f951f155de99a8cd0
[]
no_license
amelaxie/Python001-class01
85ac8f5f954798eadb03ade84fe07a342e84527a
7a934e3078bc8685101516c8e77f21980dc95d30
refs/heads/master
2022-12-09T04:19:59.345189
2020-09-06T14:29:44
2020-09-06T14:29:44
273,846,504
0
0
null
2020-06-21T06:16:08
2020-06-21T06:16:08
null
UTF-8
Python
false
false
3,581
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class MytestSpiderMiddleware: # Not all methods need to be defined. If a method is not defined, # scrapy acts as ...
[ "remotedesk@qq.com" ]
remotedesk@qq.com
42e8aa3fbab03891fdbdecdec7e5c1f68e211ce4
541209b715276738ff047f5b8de37f3e1a0b6a39
/Doubler.py
4d78d86d876071e33e4289efdd0d9434ec189bc7
[]
no_license
binonguyen1090/PythonExercises
bef8914c93d88bcfe421edd4549749b34d7e00f2
bb0056b20ba66fea700e7300e90625e87ef1d590
refs/heads/master
2020-08-29T18:16:01.873898
2019-11-26T04:16:49
2019-11-26T04:16:49
218,124,846
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# Write a method doubler(numbers) that takes an array of numbers and returns a new array # where every element of the original array is multiplied by 2. # # print doubler([1, 2, 3, 4]) # => [2, 4, 6, 8] # puts # print doubler([7, 1, 8]) # => [14, 2, 16] def doubler(arr): new = [] for i in range(0,len(arr))...
[ "binonguyen1090@gmail.com" ]
binonguyen1090@gmail.com
6bacb134a528804dff45b812c5ea7e73e151f3ac
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/model_zoo/model_zoo.py
5deb87cd07e7947c8ec193b4da018690b923ef91
[ "Apache-2.0", "MIT" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
3,377
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "1571856591@qq.com" ]
1571856591@qq.com
be8933396f92ba4e0bbc0f721914a0ef71410726
20cf2cb73adfed63cf182fc12a09aa3aadc033c6
/filter.py
ba1f301e7c35530bd36538e7e6db9a0ebf49052c
[]
no_license
arunkumar27-ank-tech/Python-Programs
678ae558e8c141a6302e2705849c97258974c4eb
a56788057d1bf8848681e38eb569874d84db7337
refs/heads/master
2023-06-16T14:50:36.146381
2021-07-15T13:57:54
2021-07-15T13:57:54
386,305,015
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from functools import reduce lst = [1, 2, 3, 4, 5, 6, 7, 8, 9] evens = list(filter(lambda n: n % 2 == 0, lst)) doubles = list(map(lambda n: n+2, evens)) sum1 = reduce(lambda a, b: a+b, doubles) print(evens) print(doubles) print(sum1)
[ "arunkumar834428@gmail.com" ]
arunkumar834428@gmail.com
c0aab4d5da741f5199ba82dee2e82895cffe5344
3ff80a99a95b9c0e13d9452eaa37419335e846ed
/VgammaTuplizer_normalfixed/Ntuplizer/crabconfigs/crab_MC2017WJetsToQQ_HT600to800.py
eab1e046df130cae462f4e360f3d48f9652c9468
[]
no_license
XL-Seb-Yan/WGammaProducer
9a58a109c6a8429ce29c9d213864d32f8c33ff50
7d1edb4707b5eb60f9d5fe475b8ae347879372e6
refs/heads/master
2022-01-15T20:00:59.992103
2019-07-03T08:10:55
2019-07-03T08:10:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'Wgamma2017_WJetsToQQ_HT600to800_%s'%"Jul18" config.General.workArea = 'crab_jobs_WgammaMC_2017_%s'%"Jul18" config.General.transferOutputs = True config.General.transferLogs = True config.JobType.pluginNa...
[ "xlyan0636@gmail.com" ]
xlyan0636@gmail.com
c433d7fe29d312b80fbac7fc3888a4c7c7dd2223
39c861da8f362874baac3f7e4aab089b18125dab
/ghostwriter/modules/exceptions.py
be1d30a317dbe958adf73cba0a39823fd06cbd43
[ "BSD-3-Clause" ]
permissive
chrismaddalena/Ghostwriter
47cdc2111695e19335430326cdf4f880b728be22
f197be35497ae97c6b90ba17a820ec04e4254c53
refs/heads/master
2022-07-09T02:14:12.382165
2022-06-07T23:19:15
2022-06-07T23:19:15
202,816,974
3
0
BSD-3-Clause
2022-03-09T21:07:37
2019-08-17T00:37:18
Python
UTF-8
Python
false
false
761
py
"""This contains all of the custom exceptions for the Ghostwriter application.""" class MissingTemplate(Exception): """ Exception raised when a report template is missing for a report. **Attributes** ``message`` Error message to be displayed """ def __init__(self, message="No report ...
[ "chris.maddalena@protonmail.com" ]
chris.maddalena@protonmail.com
c1ecba608b38e7e151190d9428b136119b3a8902
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/skia/gyp/icu.gyp
4a985032c26d61b2145ef092b2b838626d4a11de
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-public-domain" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
3,713
gyp
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ 'common_variables.gypi', ], 'variables': { 'component%': 'static_library', 'icu_directory': '../third_party/externals/i...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
2b5ef836da37b1cb9ee9a6a289de15d8f0aed26a
8a4cc536a1a9704f5cd095ea3a89dc6613592d67
/python/57.py
2da2c5fffc0171c8c83574aebb833a3dc4c1e6e4
[]
no_license
Edwin-DEV-py/trabajo-30-abril
07cb8067be0745672f7d8d78c5c092ec34578da8
4dfbb6cae93005ed5c7d2d5379378c409f3eca27
refs/heads/master
2023-05-25T22:59:52.623818
2021-03-29T01:36:39
2021-03-29T01:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
#ejercicio 57 cadena = str(input("escriba=")) print((cadena)[::-1])
[ "nicolas.tarazona.morales@gmail.com" ]
nicolas.tarazona.morales@gmail.com
bf77466fc9d42438623ab91fe345fb7f007eef5d
cca70e45645d5b96f98b1328833d5b4ebb1c882e
/P20/P06.py
cf4525656b07a2c7601c33937201708a72cf69c6
[]
no_license
webturing/Python3Programming_19DS12
9613a9808407b6abef0bc89ad8f74fc3920e789f
5bbc1e10cec0ebf7d5dfb415a9d4bb07ce0b32ca
refs/heads/master
2020-08-01T10:23:09.474316
2019-12-27T11:52:34
2019-12-27T11:52:34
210,964,665
1
0
null
null
null
null
UTF-8
Python
false
false
951
py
''' 赵、钱、孙、李、周五人围着一张圆桌吃饭。饭后,周回忆说:“吃饭时,赵坐在钱旁边,钱的左边是孙或李”;李回忆说:“钱坐在孙左边,我挨着孙坐”。 结果他们一句也没有说对。请问,他们在怎样坐的? ''' def left(a, b): return a + 1 == b or a == 5 and b == 1 def right(a, b): return left(b, a) def adj(a, b): return right(a, b) or left(a, b) zhao, qian, sun, li, zhou = 1, 1, 1, 1, 1 for qian in range...
[ "zj@webturing.com" ]
zj@webturing.com
306f6c9833017af5befb5b3012a0ced97bc1dbe8
daa963f18a7ea5bd963c48cebf0aaa4677ff6e72
/api_project/settings.py
f6f8915b037a23479d19e379c1c8ad40925b44e4
[]
no_license
sedefbostanci/garden_at_home
72ad66032e762545e790bb3954f0eae59b91042c
913cdcb9c778652981605d498b886de7f6c8365e
refs/heads/master
2022-12-16T08:38:36.371858
2020-09-22T15:40:23
2020-09-22T15:40:23
288,391,495
1
0
null
null
null
null
UTF-8
Python
false
false
3,743
py
""" Django settings for api_project project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import o...
[ "sedefbostanci.SB@gmail.com" ]
sedefbostanci.SB@gmail.com
7810863a36f0e2655681cc40c069bec877371a85
2e042bc67b296c0e65441caaae08c1ada1a29d5e
/0x0A-python-inheritance/6-base_geometry.py
39283225927fb79e9f0fbc96de52dcbbfd50b1b8
[]
no_license
nhlshstr/holbertonschool-higher_level_programming
2329a68bf86c070df0ac1048e7c090446de5e4fc
68f1ea581207800d76fd9f6932209d787dd80fdb
refs/heads/master
2020-12-22T05:28:30.756229
2020-05-15T02:28:08
2020-05-15T02:28:08
226,978,510
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#!/usr/bin/python3 """ Class with method area()""" class BaseGeometry: """ Class BaseGeometry """ def area(self): """ Calculates area """ return Exception("area() is not implemented")
[ "nhlshstr@gmail.com" ]
nhlshstr@gmail.com
f63b2195ee52616587fc6164d332acc72661dd95
58cefea9ef21d4822b692ce89471a657bcaa87eb
/tests/system/item_test.py
3d19bf3b76bc9c3891e0d7ccaebd971099b8c9e4
[]
no_license
py-guy/test-repo
d1d98d08412e8c6e38d4180987c1d88d6183ff66
46e133fad6875e2913ffccdc665ece9db5863eb1
refs/heads/master
2020-03-27T11:12:24.303338
2018-08-28T17:56:57
2018-08-28T17:56:57
146,472,029
0
0
null
null
null
null
UTF-8
Python
false
false
4,817
py
from models.store import StoreModel from models.user import UserModel from models.item import ItemModel from tests.base_test import BaseTest import json class ItemTest(BaseTest): def setUp(self): super(ItemTest, self).setUp() with self.app() as client: with self.app_context(): ...
[ "youssef.bezrati@gmail.com" ]
youssef.bezrati@gmail.com
12cb92ef2e5e7234c3018be90e228a46961390dc
3f3187918934bf08741ee398c82016142bdc8e34
/test_es.py
5984794f914a264571bb028a10e1cab0df6d045d
[]
no_license
satish107/reference
381f9bce44eab622aefb28665a293505299b4ca7
7d9cb9c733be23ecb62cfd1afc25b9f4921b4e70
refs/heads/master
2023-04-13T07:07:21.557738
2023-01-06T07:16:40
2023-01-06T07:16:40
284,040,069
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
test_es.py
[ "satish.kumar@careers360.com" ]
satish.kumar@careers360.com
c4bfbdba8ddbc1deef38d0aae1718ac01b3d20a6
c7b622d1ee634ac02817546f0a250b4668f19f57
/con2xyz.py
dba257c0f24cbdbd271046ba84cceebe88507591
[]
no_license
erdeq-upenn/vasp_tools
1f7003a8b7d4a962d9e14ca6b5328b215e18cda6
f62c64bde01305dabbfdbf23cefb3f5f03fe29e3
refs/heads/master
2020-04-24T01:25:14.704311
2019-02-20T04:15:13
2019-02-20T04:15:13
171,597,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
# only works for cubic structure import sys class Atom: def __init__(self, symbol, xyz): self.symbol = symbol self.x = xyz[0] self.y = xyz[1] self.z = xyz[2] def __str__(self): line = ('%s\t%16.12f\t%16.12f\t%16.12f') \ % (self.symbol, self.x, self.y, se...
[ "noreply@github.com" ]
erdeq-upenn.noreply@github.com
aa1241b114819b571860ab9d789c7c7dc515c7be
87bd0cd3352b272cd59b840956d429d31195cf0d
/trydjango/bin/python-config
feb7a242e00263bf2cc90b9e9d54fddc87922a8a
[]
no_license
foteini91/Django_sample
56d11ad4f1c5232b5f756cce19dba1587e67efb9
ab50c32543f3da58bfb362d721c455d85688cff9
refs/heads/master
2020-07-10T18:44:58.361392
2019-08-25T20:15:33
2019-08-25T20:15:33
204,338,115
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
#!/home/foteinip/DjangoTest/trydjango/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys.versio...
[ "foteinip@projectagora.com" ]
foteinip@projectagora.com
dcedde4b907c8e0439a37501b304f4fd5677bd95
c131e2b20b44040d388b40835dee43ba47d5b367
/Python/KpiToolBox/mysql/select.py
32446ae2cad23f02029fbd2522e8ac71c6386d87
[]
no_license
kwanghyun/Showcases
9b37b94626e1e98390dc9798283bcfd66094ca43
778d65b1313919f0034e3612c3f53fc0b3f0b001
refs/heads/master
2020-05-21T23:34:03.876453
2017-01-26T18:19:51
2017-01-26T18:19:51
19,902,271
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
#!/usr/bin/python import MySQLdb # Open database connection db = MySQLdb.connect("localhost","root","root","test" ) # prepare a cursor object using cursor() method cursor = db.cursor() # Prepare SQL query to INSERT a record into the database. sql = "SELECT * FROM EMPLOYEE \ WHERE INCOME > '%d'" % (1000) try:...
[ "kwjang@KWJANG-WS01.cisco.com" ]
kwjang@KWJANG-WS01.cisco.com
af515b669ae560887ad5dc37d62f08810616b261
ee0cd5c10058a0fc2e29b27139b89706755ca53e
/html/shell/firefox.sh
18f27d1faa6545cd843bcc49ea8e1b4821958b20
[]
no_license
meetann/finalcloudproject
44ac1e36b27cedfc43f6f24035f8477f876709c9
d8bce6f4fe18d4155900caf0f63eae737ae25309
refs/heads/master
2020-06-16T10:07:53.544074
2019-07-06T11:57:10
2019-07-06T11:57:10
195,534,054
0
0
null
null
null
null
UTF-8
Python
false
false
114
sh
#!/usr/bin/python import os os.system('sshpass -p t ssh -X -o StrictHostKeyChecking=no root@192.168.1.5 firefox')
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3621c26d643b968526ee66b6ca84b611670b510a
f75b15158c10291c79f07c312114ec7f974086e0
/catkin_ws/build/rosserial/rosserial_client/catkin_generated/pkg.develspace.context.pc.py
d232cc65b6b7a9b7e336428470972d1230b15c04
[]
no_license
nag92/Omnibot
fb1b79dfb0a093b5d00077593d31cdd53ca8c585
20ba63ac3f3a1cafd309de11214092d22a4a68ed
refs/heads/master
2020-03-21T21:51:36.577330
2016-11-23T18:28:59
2016-11-23T18:28:59
74,600,165
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rosserial_client" PROJECT_SPACE_DIR =...
[ "ngoldfar@stevens.edu" ]
ngoldfar@stevens.edu
2c6f44399105c6eaf015fa79e82a8722f392705f
e13c98f36c362717fdf22468b300321802346ef5
/home/migrations/0005_auto_20161130_1514.py
a8eda78bd3708cdb4cd0d223a5be51a7bbc35b45
[]
no_license
alexmon1989/libraries_portal
2415cc49de33459266a9f18ed8bb34ac99d3eb7c
277081e09f6347c175775337bffba074a35f3b92
refs/heads/master
2021-01-23T07:25:53.884795
2018-12-25T14:29:29
2018-12-25T14:29:29
80,501,603
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-30 13:14 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0004_auto_20161130_1402'), ] operations = ...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
85ff0e08501d35318743b11b853830f6643c962f
f0a715bab7c810d2728cd8ab0c4b673316d7f0ae
/venv/bin/rst2html4.py
132cd58b76ffa9684bbd03db03f0234bf8a54a33
[]
no_license
bopopescu/topic-modeling-with-LDA
7eab17db4a4dae8b25b05bc2a1c9e2f0b8b7d323
89d272ab97bdc4024714dbf344ef8c1620a55d9e
refs/heads/master
2022-11-22T05:18:55.955376
2018-09-29T11:10:07
2018-09-29T11:10:07
282,549,848
0
0
null
2020-07-26T00:48:46
2020-07-26T00:48:45
null
UTF-8
Python
false
false
763
py
#!/home/kasumi/PycharmProjects/TopicModelingWithLDA/venv/bin/python # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing (X)HTML. The output confor...
[ "kasumisanchika@gmail.com" ]
kasumisanchika@gmail.com
1e1d5ccfdb2caa614c32a09ee07729393624758c
4c672231bd8b7c23bd5773ef990404cc3146712a
/shipmaster/server/celery.py
8e24f72855c7e156d14e3e37290140aeabcf16b0
[ "BSD-3-Clause" ]
permissive
AzureCloudMonk/shipmaster
b0e82f93308ecc829e6f6b3cb3156f11dcfbadd4
cf596be7ea689c26c4bf47acb67dfd15169d3c46
refs/heads/master
2020-11-30T01:51:32.010852
2018-03-03T21:47:17
2018-03-03T21:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'shipmaster.server.settings') from celery import Celery from django.conf import settings app = Celery('shipmaster.server') app.config_from_object(settings) app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
[ "lex@damoti.com" ]
lex@damoti.com
0b048e3eb17caaa260995c929cb0ae618afc02f9
81dd984a9f287e1235e50ccc3461f19af48190a4
/__ref/retina_coco/test.py
d0e866e6718cee653e76cdfd4ebf1c66c0bc3dd3
[ "MIT" ]
permissive
CVML-Detection/Detection_Party
ca6939e70aa0959130b9d62459f8aad8b1a4e38d
b1e6a32748d9771584a40958e72c1d77560327c8
refs/heads/master
2023-03-12T00:02:14.559236
2021-03-03T04:08:03
2021-03-03T04:08:03
333,676,431
1
0
null
null
null
null
UTF-8
Python
false
false
5,658
py
import os import time import torch from utils import detect from evaluator import Evaluator from config import device, device_ids def test(epoch, vis, test_loader, model, criterion, coder, opts): # ---------- load ---------- print('Validation of epoch [{}]'.format(epoch)) model.eval() check_point = t...
[ "jinugpaeng@gmail.com" ]
jinugpaeng@gmail.com
60a9319cb5e51a72ea6172acb56753d27d908782
9aa52f7e5902ea8f4a2810809218d9631446345d
/backend/course/api/v1/serializers.py
94b376e43c63bba2216fc46a5939adf50d3f51d9
[]
no_license
crowdbotics-apps/merchandising-plays-21542
e662e42b8766a2fc24d6e0ab926580de0b580461
c0298b28a45a617b88984d074af4a69f4ea00700
refs/heads/master
2022-12-29T10:31:41.304017
2020-10-15T18:39:00
2020-10-15T18:39:00
304,412,965
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
from rest_framework import serializers from course.models import ( Recording, Event, Subscription, Course, Group, Module, PaymentMethod, SubscriptionType, Enrollment, Lesson, Category, ) class GroupSerializer(serializers.ModelSerializer): class Meta: model = Gro...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ef10e6dd4322d781b7c31c1a350b7397e6a752ac
4ee1d690aee51b13091cb2397bcad8254da446f1
/word_select.py
a23ad1608880d4e6f343eecaa86f7e0cae210973
[]
no_license
xyl576807077/BackgroundRemove
4a80752e09d6e3791f22e726cd4eef0154ec1216
c6df04e764b3fd172caf89a90e53e1da62c077a7
refs/heads/master
2020-03-09T23:06:35.023744
2018-05-16T02:52:52
2018-05-16T02:52:52
129,051,132
0
0
null
null
null
null
UTF-8
Python
false
false
7,116
py
import copy import json import os import sys import numpy as np from char_process import * from langconv import Converter from select_rule import * from util import * class WordSelect: def __init__(self, label_path, frequency_path): with open(label_path, 'r') as f: _ = json.load(f) ...
[ "xyl576807077@gmail.com" ]
xyl576807077@gmail.com
bbb437e84e29a7a57b6e783426de789e1c3f6ad7
4cb288c8b3274b9dc7959ca3bc2d5e4b3bf04618
/python/ccxt/async_support/bitopro.py
611f663bd07e3270ce070643f4ab02e0aff6649b
[ "MIT" ]
permissive
yijixiuxin/ccxt
7537f73148472efc912f3997040e373cabf2ae0c
d71cd424b9d19b82f2234d8be55dacf311e01a31
refs/heads/master
2022-10-01T18:39:29.356725
2022-09-20T21:28:02
2022-09-20T21:28:02
168,174,277
0
0
MIT
2019-01-29T15:05:10
2019-01-29T15:05:10
null
UTF-8
Python
false
false
62,980
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange import hashlib import math from ccxt.base.errors import ExchangeError from ccxt.base....
[ "travis@travis-ci.org" ]
travis@travis-ci.org
e781d00d0e62eba41dfcc5c1dbf741b1d1c2e5d3
3b40c1bc2a0616ae2ad1ab94f4b8c68ac43c5cb3
/AmazonSpider/AmazonSpider/spiders/Amazon_spider.py
bc88f030efa0c3cacf552051d866105abf926021
[]
no_license
clamli/Amazon-Dataset-API
f0341b54bb0bcbd1ee4d42b94485ff18e7d13a55
ae68be8a5f311d0f6a11a3330b68b97875a46df1
refs/heads/master
2020-03-17T01:39:22.903599
2018-05-16T13:33:58
2018-05-16T13:33:58
133,161,573
1
1
null
null
null
null
UTF-8
Python
false
false
596
py
import scrapy class AmazonSpider(scrapy.Spider): name = "Amazon" def start_requests(self): urls = [ "http://snap.stanford.edu/data/amazon/productGraph/categoryFiles/" ] for url in urls: yield scrapy.Request(url=url, callback=self.parse) def pa...
[ "boyizjuer2017@gmail.com" ]
boyizjuer2017@gmail.com
dd4c5f0cf3d049124539bf2e96145945474a60c3
389569a591284a2adcdc38046114e7b1038afd94
/python-script/trax/main.py
9c8e8741e2a3e128b672f4596ae761a0f61aea50
[]
no_license
xytysingle/AnnotationTool
b797daf2fd472f602341b16f24fb1ed9b702aef1
a217d4376ceee739e0d8c43515c403133982e86e
refs/heads/master
2020-04-11T18:16:10.438919
2019-07-31T10:21:18
2019-07-31T10:21:18
161,992,153
0
0
null
null
null
null
UTF-8
Python
false
false
11,827
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.remote.command import Command from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException, NoSuchElement...
[ "2463072824@qq.com" ]
2463072824@qq.com
964ebf4b9298853c334657ff5e86b55de08c732c
33cc5bd288a4f98be57df6ac880d49ab9937f9e7
/examples.py
0dcb1b9bbc3670a7a148b9f28110a7b9bfbd95ee
[]
no_license
stefantalpalaru/morelia-pcre
d848d69aab718a27c72ddca6ee5c2a803fd270bc
814b0b664d3a449889698775e5f1e40217ba77c1
refs/heads/master
2021-01-01T17:47:21.614705
2015-07-05T17:58:02
2015-07-05T17:58:02
4,858,206
1
1
null
null
null
null
UTF-8
Python
false
false
710
py
#!/usr/bin/env python import pcre from pprint import pprint pattern = r'(?<sna>fo{2})b' subject = 'foobar FoObaz' options = pcre.PCRE_CASELESS compiled = pcre.pcre_compile(pattern, options) extra = pcre.pcre_study(compiled) result = pcre.pcre_exec(compiled, subject, extra=extra) # find the first match print('%d mat...
[ "stefantalpalaru@yahoo.com" ]
stefantalpalaru@yahoo.com
701836e019bed7dc29f4b99b1ca2d9c0b7724046
c929fe7a8983f162345ce8a9a5f2bd038c94db65
/Track2/videowalk/code/utils_videowalk/visualize.py
e01642585e73132e56b1612367e229f950006990
[]
no_license
YJingyu/UVO_Challenge
7078cfb3482174badeaa0f708e4b5cb2fde0e299
78d1cb6d9299218fae08682e5e081eacbac29e4b
refs/heads/main
2023-08-29T03:56:34.878106
2021-10-29T14:53:49
2021-10-29T14:53:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,772
py
# Video's features import numpy as np from sklearn.decomposition import PCA import cv2 import imageio as io import visdom import time import PIL import torchvision import torch import matplotlib.pyplot as plt from matplotlib import cm def pca_feats(ff, K=1, solver='auto', whiten=True, img_normalize=True): ## ex...
[ "dulucas24@gmail.com" ]
dulucas24@gmail.com
9f4bf716ff6b31f433999da81b499aaa0e0761c6
724f23eaa94c64b9a72abcb6df90b6ed72114a3c
/day1/var1.py
af7bcd99732d01d19b0b9bd467d099b831f631b3
[]
no_license
wxwssg/leraning_python
e30f65fa65dd95707a7db9c3966b9514b3b1f880
282eae1b10ba6e1e3171e86b427a751918f85eae
refs/heads/master
2020-04-30T08:05:53.941876
2019-08-06T08:47:26
2019-08-06T08:47:26
176,701,873
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# -*- coding:utf-8 -*- # Author:wizard_wang name1 = 'wizard' name2 = name1 print('My name is',name1,name2) #内存指向 name1 指向被修改 但是值改了但是name2还是指向‘wizard’ name1 = 'old wang' print(name1,name2) #变量 奇葩使用 中文做变量 只有python3支持 名字 = '奇葩的中文变量' print(名字) #python没有常量 大写表示声明常量 NAME = '声明是常量' print(NAME)
[ "wangxingwu17@qq.com" ]
wangxingwu17@qq.com
2e73afe47864bd9ebaf4f8f37c8ee656dbe4e152
17713d586f680821759b0bba8e25046c2fa6a90b
/build/turtlebot3/turtlebot3_description/catkin_generated/pkg.develspace.context.pc.py
949b141090dd163690ebe5bdd2ab60d94da91ef9
[]
no_license
Saipriyavk/Delivery-Robot
fb899a8330815b02de118275dc6d7a1fad70bc8e
9255791e683b32573227a1877b5fb92f000dfca2
refs/heads/master
2023-06-14T16:32:25.444170
2021-07-19T21:43:13
2021-07-19T21:43:13
387,573,293
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "urdf;xacro".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "turtlebot3_description" PRO...
[ "saipriya.vk31@gmail.com" ]
saipriya.vk31@gmail.com
fbfb7242f59b6de918bafe71b564c981ed3c02db
decc60052f0d9e8c84bfae731a3a1e4f86da7659
/classes/Instrument.py
48c5ea07e8f97388fcef35fbd833b6e95caa0582
[]
no_license
dxcv/research
8370c2baac66b098f61424d6e323233f358239e2
153d7633f526a5eefd02c650b1c6264e1f93e73b
refs/heads/master
2020-09-08T16:02:15.130239
2019-11-08T15:50:05
2019-11-08T15:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import pandas as pd class Instrument(object): """ Individual Instrument """ def __init__(self, symbol, df_data, target_freq): self.symbol = symbol self.raw_data = df_data self.date_index = df_data.index self.frequency = target_freq for key in df_data: # tod...
[ "28ideas@gmail.com" ]
28ideas@gmail.com
9107cc0a1e028e20c237a6840a6fc50e903497c8
ca18cd3b72d75e3877bcb8ba1fdccd95b188dc46
/python_set.py
a03e891b245b87e37a4529f809fedac57138f47a
[]
no_license
ramshree123/ramya
e64490ea6828db1ee952bdbbd35034d0ed487885
88df88c198d29dcf50ac699962a21d20fc213b30
refs/heads/master
2021-05-16T14:09:42.601497
2018-03-19T10:01:17
2018-03-19T10:01:17
118,075,277
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
set1={1,2,3,4} set2={3,4,6,8} print("set1&set2")
[ "noreply@github.com" ]
ramshree123.noreply@github.com
2543a1e62c58b091daee385222a1fcbed751cfba
060c40375aee04f1f68352339ffa24eb74da56ef
/read-n-characters-given-read4-2.py
b25c2b8cc6d2362834bf2664b9b04ed6336dff7d
[]
no_license
cannium/leetcode
be7d9bfb3e2a999eabe6c466a5390005656cec2b
70f16a872cb203f77eeddb812e734ad1d46df79d
refs/heads/master
2021-01-23T20:14:47.821782
2020-04-12T09:34:20
2020-04-12T09:34:20
18,369,249
0
2
null
null
null
null
UTF-8
Python
false
false
1,709
py
""" The read4 API is already defined for you. @param buf, a list of characters @return an integer def read4(buf): # Below is an example of how the read4 API can be called. file = File("abcdefghijk") # File is "abcdefghijk", initially file pointer (fp) points to 'a' buf = [' '] * 4 # Create buffer with eno...
[ "can@canx.me" ]
can@canx.me
da255a406ffda289b1c78e5f386fd921f2efbcdd
abe02872257b18a9ad6179a057be71fe04825587
/task_1/svm/SVM.py
33340e6abb0e1a75b50ef17f52c0822adb0b7b56
[]
no_license
georgeahill/tdads
98924b9b28b826a8bbf1e374a2e1cb12db878c99
dd7b1742452c205aca2f2abb603bd65be3807721
refs/heads/master
2023-03-13T09:28:29.215662
2021-03-03T22:20:29
2021-03-03T22:20:29
274,945,760
0
2
null
null
null
null
UTF-8
Python
false
false
1,139
py
# Preprocesses the dataset using PCA, and increasing image contrast import numpy as np from sklearn import svm from sklearn.decomposition import PCA # The threshold at which a colour value is increased instead of reduced # These values were calculated using manual testing CONTRAST_THRESHOLD = 70 # 70 CONTRAST_REDUCTIO...
[ "oliver.little12@gmail.com" ]
oliver.little12@gmail.com
3835b22d8900c6b757de48417b42a1a6aa1eda45
ceabe6221dd70ef6b8e25c14dce2943e8732c453
/keras06_RMSE.py
c2b71a160e31dcdd92def3c84c4dcc7728728c1d
[]
no_license
seheonpark/Keras
6a68753ba869becb43f3d46146c73701bcccb676
cbad985b0e80068e0868228998f888c45c84c81a
refs/heads/master
2020-09-23T01:16:32.819268
2019-12-04T11:54:35
2019-12-04T11:54:35
225,343,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
from keras.models import Sequential from keras.layers import Dense import numpy as np x_train = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) y_train = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) x_test = np.array([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]) y_test = np.array([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]) #...
[ "noreply@github.com" ]
seheonpark.noreply@github.com
8e6782093b61600cbe22a17ae9e9302e33c03002
22e88f41deec7cbfda7d6094d514e5941adc218e
/Bag3D_package.V5/delete_dtseq.py
f8471fcac22e82060bad0320ed026852162b42c5
[]
no_license
SPURc-Lab/NGS-D9
6a2df9c96b4a029dd3672bd3189163e7baa3d1dc
3e0da35912edb5ecf3b8c6b1b7acf1bc7a5853b4
refs/heads/master
2021-01-01T15:55:31.348720
2015-06-03T08:15:14
2015-06-03T08:15:14
34,987,274
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
#!/usr/bin/python # Usage: delete_dtseq.py <Original FASTA format file> <redundant contig name file> # <Original FASTA format file> e.g. Dt_all_seq.fa # <redundant contig name file> is the redundant contig name file generated from Program 3: get_gene_model.py, e.g. deleted_dtnames.txt # Python program to filter the mu...
[ "yaolina@215-244.priv27.nus.edu.sg" ]
yaolina@215-244.priv27.nus.edu.sg
68630c5fbfab57458f2f69b296ec886ae0ac252a
869bbe81819d15a5a1bfdf591e909d15d41eba33
/src/nlp_utils/simple_tokenizer.py
c357607198bd69cc76fed14c4ef35a3a5f1949c0
[]
no_license
LindaMoreau08/nlp_utils
c6b5899b46760c1306c8bf01028d46444fb81d0e
b32582343b764a94af6630ecde196e5e27773c2c
refs/heads/main
2023-07-02T06:08:42.412320
2021-08-04T08:09:42
2021-08-04T08:09:42
392,092,039
0
0
null
null
null
null
UTF-8
Python
false
false
14,960
py
# -*- coding: utf-8 -*- # TODO: turn this into a class and implement it correctly! import numpy import regex import stopwords from w3lib.html import replace_entities lang_stopwords = stopwords.get_stopwords('en') NORM_prefix = 'norm_' # TOKEN TYPES (TT_)l TT_email = 'email' TT_emoji = 'emoji' TT_hashtag = 'hashta...
[ "lindamoreau08@gmail.com" ]
lindamoreau08@gmail.com
5222fa56f1244047dbb221e092b2f2d0ca6f8e32
e88436ade391f11aa69138056d926a15bd335ab8
/home/views.py
c80486e77d5f1712c6c643efac5051f938625f28
[ "Apache-2.0" ]
permissive
Ethan-Jeong/Django
a492a6c4f5af373e18015db560c03707adfb420b
01268256f782bc7ca36b8f7116380309def97ea5
refs/heads/master
2023-06-24T13:39:27.662976
2021-07-29T07:58:35
2021-07-29T07:58:35
384,298,529
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
from django.shortcuts import render # Create your views here. from django.http import HttpResponse def index(request): path = request.path resultstr = '' if path == '/home': resultstr = '<h1>여기는 Home 입니다.</h1>' else: resultstr = '<h1>여기는 master 입니다.</h1>' return HttpResponse(resul...
[ "jds88guy@gmail.com" ]
jds88guy@gmail.com
13c272c3444b1b202eff2b15a9ed3f9dac8dbc7b
6f293744f62c2e1f33250ade7cebfabc8bc24eda
/sentry_a/views.py
ec3227d201756bc62aa9a4d53a895d705ff13d47
[]
no_license
40huo/sentry_test
1026552f8240404a0b1d7d0178c86a35a7e63b4b
cd57a666a41ad67a4b0f39eddd794ca5acdb4e06
refs/heads/master
2020-12-07T10:01:27.203541
2020-01-09T01:56:06
2020-01-09T01:56:06
232,698,840
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.shortcuts import HttpResponse # Create your views here. def index(request): return HttpResponse("hello")
[ "git@40huo.cn" ]
git@40huo.cn
1c6e1b9c12df767cb7a6b9f2532ec92383cd2c87
739324fe968beecf2814792c0a85f6690e56a26a
/Codes/Dalily_Flash/Week_2/23Jan/Python/Program1.py
3babf00ed107d5e5dfc944e100facdbb79e59e38
[]
no_license
Kunal17sarpatil/kunal_personal
76e5cd1002c23dc30c1d7d86d495b72992a4c24d
b1c4f8de8b73e34253743deb3c26e00b2b02ef76
refs/heads/master
2023-03-22T03:47:46.132195
2020-06-17T10:53:19
2020-06-17T10:53:19
151,773,565
0
0
null
2021-03-20T04:23:24
2018-10-05T20:18:31
Java
UTF-8
Python
false
false
91
py
for row in range(1,5): for no in range(0,row): print(row,end=" ") print();
[ "hawkeye@pop-os.localdomain" ]
hawkeye@pop-os.localdomain
35c3037b8282d6a32e0538752d0f07e27be1b439
f6dd42c6e7cef402c08bccd92c9a0fd3423eded9
/ex015.py
53540053af3f85482fdc757dfc8d7f59c5d0e765
[]
no_license
ronicson/ronicson
3e122e6fa8a534abc1799ef765ec85323b71f451
74b5738bc7467b7f25451d33e9c16f7a733731ea
refs/heads/master
2023-07-14T23:24:09.419400
2021-08-25T18:17:59
2021-08-25T18:17:59
390,477,429
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
km = float(input('Quantos kilometros você percorreu:')) d = int(input('Quantos dias você permaneceu com o veiculo:')) p1 = d * 60 p2 = km * 0.15 print('O valor em diárias é de R${} de kms é de R${:.2f} e total de R${:.2f} a pagar.'.format(p1, p2, p1 + p2))
[ "ronikism@gmail.com" ]
ronikism@gmail.com
88ff3ce0379daf9f75d75ac23c9191cfe9db7fb9
d61c8fed77acfb0b977425a7cb9bbbb6983bfd17
/blog/forms.py
cc95e11a08a2770858a0e67065adefc525aaea9a
[]
no_license
soukaina-debug/CodeStorm
cc6fcf9bc9e0209a37c2dc87b985a73c65d4dbe4
b5a02a4520b05e4a0004c4ce62e474fca1821ac6
refs/heads/master
2023-08-10T20:31:18.182705
2021-09-29T09:42:30
2021-09-29T09:42:30
411,614,438
1
0
null
2021-09-29T09:41:40
2021-09-29T09:41:39
null
UTF-8
Python
false
false
257
py
from django import forms from .models import Doubt,Reply class DoubtForm(forms.ModelForm): class Meta: model = Doubt fields = ['ask'] class ReplyForm(forms.ModelForm): class Meta: model = Reply fields = ['reply']
[ "apurvaajmera10@gmail.com" ]
apurvaajmera10@gmail.com
ef1b5e460b554cf63dd75e50f5f716da3096df96
9b483cba8b680c280becd611e136329724b4d4fb
/t_rank.py
8d07e469f4fd931ed079ca1d0dfc34a2178e6d64
[]
no_license
dmlicht/FMAssembler
eac29ab82ff81dac196e738b0ba4fe53085c4b2e
3842390ea3be7cb7d9de1356a0f2a116a965023b
refs/heads/master
2021-01-01T20:16:26.243439
2016-12-18T22:55:18
2016-12-18T22:55:18
8,988,810
1
1
null
null
null
null
UTF-8
Python
false
false
2,362
py
class TRank(object): """Maintains checkpoints of t-ranks for last row in BW matrix values of characters at checkpoint is 0 if character has not been seen at all""" def __init__(self, bwt, characters, cp_interval=4): self.checkpoints = {} self.characters = characters self.bwt = bwt ...
[ "Dlichte5@jhu.edu" ]
Dlichte5@jhu.edu
0925941fe477c086703afaa2c02bab0a1f36fd82
50c1f7e4a3084ecd0ef72c9b20f8ea218cebe14c
/movie/urls.py
85d544f939f483dd2237188e0c01883acb0a8856
[]
no_license
rahulshivan05/Coder
922240a494207d0fcf1a553d1749eb7c09c6425b
79340971c4c1ac3123e5a65fc9fb423f87eac972
refs/heads/main
2023-02-17T13:50:51.491016
2021-01-13T15:55:22
2021-01-13T15:55:22
329,347,947
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from django.urls import path, include from django.conf import settings from django.conf.urls.static import static from django.conf.urls.i18n import i18n_patterns from django.utils.translation import gettext_lazy as _ from .views import * from .import views urlpatterns = [ path('', views.movie, name='movie'), #...
[ "rahulshivan05@gmail.com" ]
rahulshivan05@gmail.com
0c9ea3acd8dfbd941580cf0d8e50eff68889ee0b
6c56f13050a3a8c1208030bb96e5a9dddeabd584
/experiment/cpu_predictions_likelyhood_final_adaptation/nupic_output.py
aaaa36eb45b4a56edfe8fc530767497676dfbd8b
[]
no_license
baselm/self-healing-latex
089dd97dbc818f65e176d977a65a6fea469684b8
b43d5fa117aa40e9d4cf256f62f7945391d8681e
refs/heads/master
2020-03-29T12:51:57.235243
2018-12-30T11:47:01
2018-12-30T11:47:01
149,924,573
0
0
null
null
null
null
UTF-8
Python
false
false
9,438
py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
[ "baz@Basels-MacBook-Pro.local" ]
baz@Basels-MacBook-Pro.local
caf4b456838e4066cfe9191405c63b482a8eda64
036f11eaae82a9c7838580d141375ab3c03f739a
/unsupervised-semantic-audio-embeddings/main.py
53c20702308eebe08c34ffa43db3737d513dda3c
[]
no_license
silvadirceu/experiments
8b6f1739a51803f73da89c137d07871505ddf712
2390392726a43aa5587e02d8ee2a423cf281463c
refs/heads/master
2022-02-19T11:18:52.485742
2019-09-26T14:43:51
2019-09-26T14:43:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,422
py
from __future__ import division, print_function import zounds import argparse from data import dataset from deformations import make_pitch_shift, make_time_stretch, additive_noise from training_data import TripletSampler from train import Trainer from network import EmbeddingNetwork import torch import numpy as np impo...
[ "john.vinyard@gmail.com" ]
john.vinyard@gmail.com
4d0eb742be6248d77f5c482bc1869c2dcbcc2143
bb1a8acd8b17b687e6ab5e25628ef11c885b9735
/wc_script/mots_dans_codes_fiscaux.py
c4e49aab1c8ee51a7357b3643dff75b64ad04be5
[]
no_license
adrienpacifico/french-law-word-cout
d1e4b99fcb568fa14fd29878b0204503c643680d
dfc960058beb67660a1bbef446321e33b332decc
refs/heads/master
2021-01-10T14:55:44.653122
2015-12-10T17:45:54
2015-12-10T17:45:54
47,777,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# -*- coding: utf-8 -*- import os, sys, logging, shutil, ntpath execution_directory = os.getcwd() #os.system("pdflatex " + "-output-directory='/Users/adrienpacifico/.tmp_latex'" + " " + '"' + tex_file + '"' ) #TODO : allows for relatives path. cgi_path = "/Users/adrienpacifico/Informatique/loi_versionne_sous_git/...
[ "adrienpacifico@gmail.com" ]
adrienpacifico@gmail.com
ae929b0b384dcb6a29d72a3456cc2e90c9ff266c
55a29a059e19d6d9ef830f36bdc2a94174811379
/test_db_1.py
58fbafdc59c6f03a6847aae52998c7fe1893f9e3
[]
no_license
slyrx/flask_web_app
c321c79d809dcd4e0f28d18a67a7e037c90cbd7a
8a1eaa414a11a8e7628b412de579cc0092df560d
refs/heads/master
2020-06-03T20:46:08.859774
2020-03-02T02:19:45
2020-03-02T02:19:45
191,725,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
import os from flask import Flask, render_template, session, redirect, url_for, flash from flask_script import Manager from flask_bootstrap import Bootstrap from flask_moment import Moment from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.validators import Required from flask_sql...
[ "slyrx2006@gmail.com" ]
slyrx2006@gmail.com
f2e0abd8107144d4e884b8bd567c77d9c0a60711
850f5d34fdf43cd87ddf4028f35f94b0a6214411
/HandwrittenDigitsClassifierStreamlit.py
7fccfa0d7adbc25bf2c528177ada7f2a89aa7420
[ "MIT" ]
permissive
khanfarhan10/TextGeneration
419d11bf27e9c67580802c6d9a4252acce71a496
3f4680e8763a3002bcae98d776137b6dfde2f985
refs/heads/main
2023-02-03T16:33:31.373820
2020-12-09T17:43:05
2020-12-09T17:43:05
316,436,503
1
1
MIT
2020-12-05T19:42:06
2020-11-27T07:58:42
Python
UTF-8
Python
false
false
3,424
py
# streamlit run HandwrittenDigitsClassifierStreamlit.py from streamlit_drawable_canvas import st_canvas import streamlit as st import pandas as pd import numpy as np import sklearn import pickle from sklearn.svm import SVC # import Support Vector Classifier # Imports PIL module from PIL import Image import warnings...
[ "njrfarhandasilva10@gmail.com" ]
njrfarhandasilva10@gmail.com
d93c54dd443bb190b38b1b80e83a4f17d08b5b2d
e8ce8f41f8875b2c76d62a69e2aadd1e2503e4e0
/Alpaca_Blog_First/Alpaca_Blog_First/urls.py
1804a2b39b0c81fcd6e3f3693e95a29fa19da504
[]
no_license
Alpaca-H/Pyweb
9bdc41c9f10360b54fc5a973a4bd054211b0ef4a
7e7c6bdde9bf24acb5f7931638e9f734a310ff3b
refs/heads/master
2020-03-19T18:01:12.586189
2018-08-19T13:50:54
2018-08-19T13:50:54
136,789,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
"""Alpaca_Blog_First URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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') C...
[ "1097690268@qq.com" ]
1097690268@qq.com
52258e928c4847ff0ce541f546f10238923ecc97
086c483bec404a0aaafdd81dd2eb20760d8b6d90
/prueba_hilos.py
0e94a7bdfda78d5ca92d7386c99887699f9d4b22
[]
no_license
MariaFernandaG/raspberry
9faa8eaa23c9df2597f22e09d5cd825e3d2614d5
176ce4b26ef01007d92740ecacbf47b02844f808
refs/heads/main
2023-07-17T12:29:13.281874
2021-09-02T20:49:49
2021-09-02T20:49:49
367,141,942
0
0
null
null
null
null
UTF-8
Python
false
false
9,790
py
#OXIMETRO, PESA, TEMPERATURA Y ALTURA #lIBRERIAS import RPi.GPIO as GPIO import time from time import sleep import serial import threading #TEMPERATURA import board import adafruit_mlx90614 GPIO.setwarnings(False) #GPIO Mode (BOARD / BCM) GPIO.setmode(GPIO.BCM) #set GPIO Pins GPIO_TRIGGER = 18 GPIO_ECHO = 24 GPIO_T...
[ "noreply@github.com" ]
MariaFernandaG.noreply@github.com
488a72882522860ee0646184122fed08d6f759bc
5491c6305d3ce2000ad5a509b845c4e9846f6140
/lle_isomap_plot.py
9a81c278df20a4b52388c22ec32106fa2873743c
[]
no_license
Eason-Sun/Effects-Of-Different-Dimensionality-Reductions-On-Image-Data
468bcaee38a8fbef53503959ebe28451ccf4a6c3
9697462eca9834b7f1ec01d48e30692866305854
refs/heads/master
2020-07-09T06:37:10.524241
2019-08-23T02:58:34
2019-08-23T02:58:34
203,907,911
2
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib import offsetbox from sklearn import manifold df = pd.read_csv('DataB.csv', index_col=0) class_matrix = df['gnd'].values # Slice the data matrix so that only samples in class '3' are taken. digit_3_df = df.loc[df['gnd'] == 3].copy(...
[ "easonsyx@gmail.com" ]
easonsyx@gmail.com
033635d8b06972430571c7945b9aca52940092cf
073affd8807eb668f9e7013414a9cc39a6c34f26
/endgame.py
68cdc9087984a18a713aa9218c2371b002ef0439
[]
no_license
dencynluv/Hangman
fca2a972f07cf23b96a75f15661df168b6fc92ee
36ba194ed0f602a996b36fe45f3a17a94af3555e
refs/heads/master
2021-01-19T11:53:15.145780
2017-02-21T08:39:04
2017-02-21T08:39:04
82,270,855
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
# end game module # imports global variables needed into this module from setup import good_letters, bad_letters, unique_letters, secret_word, guess_limit # function to end the game def is_game_over(): # both lists have to match in length in order to win the game # or else # bad letters and the guess lim...
[ "sotocyn@gmail.com" ]
sotocyn@gmail.com
462ff12ed72a87b6f46032cc0eeb6fd1d11f6baf
af669dbef653dd69474f4c0836582bf14262c80f
/price-test/frame/lib/commonlib/configure/configunit.py
d59369edd113378ff64e2167f6f76406ff180d06
[]
no_license
siki320/fishtest
7a3f91639d8d4cee624adc1d4d05563611b435e9
7c3f024192e1c48214b53bc45105bdf9e746a013
refs/heads/master
2021-01-19T21:58:36.807126
2017-04-19T09:56:37
2017-04-19T09:56:37
88,729,049
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
#!/usr/bin/env python # -*- coding: GB18030 -*- ''' Created on 2012-3-10 @author: tongdangdang ''' class ConfigUnit(object): ''' @author: tongdangdang @summary: ub conf configure unit ''' def __init__(self,key,value,father,note = ""): self.key = key self.value = value self....
[ "lisiqi_i@didichuxing.com" ]
lisiqi_i@didichuxing.com
fe7bb503a0a28eaefde625c1ebbd8c2563154270
6d9d83eee49c5729afb3c6b4c3f1013d2e65107b
/05_boarding_pass/solution.py
e5154ae8202d5cae334fa061d10e8b62b695af05
[]
no_license
jpclark6/advent_of_code_2020
7aa706849d159ff9cd9117556588d877a9c98c80
b7255da50c1d555aa671f87b0d44cdb39777c117
refs/heads/main
2023-02-18T14:33:31.408534
2021-01-14T22:43:36
2021-01-14T22:43:36
317,354,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
""" Advent of code Day 5 """ def parse_row(boarding_pass): possible_seats = list(range(128)) for rule in boarding_pass[:7]: if rule == 'F': possible_seats = possible_seats[:round(len(possible_seats) / 2)] else: possible_seats = possible_seats[round(len(possible_seats) / ...
[ "jpclark6@gmail.com" ]
jpclark6@gmail.com
9f7caf4fed95bc81250d025326f45ff1780ff678
0a995834cfd7cce1defc2e0e5e0bee8103dca2b5
/luffy_permission/rbac/views/role.py
7654a58cd7c5a0575b3ef191abdf7e8c98d3e419
[]
no_license
mling17/rbac
9bcbc6e3c0cfd66d7399a7c9599801ff9271b20e
969b4e0c52e1eb8bd29cf67b02b26ae5b1203fe1
refs/heads/master
2020-11-29T19:30:56.315369
2019-12-26T05:05:57
2019-12-26T05:05:57
230,197,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
from django.shortcuts import render, redirect, HttpResponse from django.urls import reverse from rbac import models from rbac.forms.role import RoleModelForm def role_list(request): if request.method == 'GET': roles = models.Role.objects.all() return render(request, 'rbac/role_list.html', {'roles'...
[ "mling17@163.com" ]
mling17@163.com
9aef497bd51f3ca575e9f0400deb92ea47e6ae5f
df3c449a70bc985246e9d6263cebcd685781d05b
/Blink_Detection/blinky.py
e2c5901a077b74cdde7fb7c99f79cba749c0cf39
[ "MIT" ]
permissive
vaaiibhav/Blink-Detection-using-Webcam-in-Python--and-OPenCV
d800a16125e94ed8816b07f0b8c034a9f0286e71
d0ab756f6a5088223f18b96f962b711daa08db65
refs/heads/master
2022-04-23T22:49:07.915855
2020-04-28T14:48:54
2020-04-28T14:48:54
259,666,059
1
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
#!/usr/bin/env python """blinky.py: Starting point of blinky """ import extract import webcam import pylab import numpy as np def main(args): # Extract video first data = webcam.video2csv(args) edgyBlinks = extract.find_blinks_using_edge(data) outfile = "%s_blinks_using_edges.csv" % args['video_fi...
[ "vaaiibhav@live.com" ]
vaaiibhav@live.com
ad673bc733be8c44e976879669998549baebfa69
9180b7c014860820ea28af5876d374c935a8c8d3
/01.flask/05.static.py
5ec4c9832c93e58ed58152ba44237f616df0cac0
[]
no_license
leele91/flask-web
05d2ce3769b1c0a7196c828acfa3b35072fd7c97
7c66205d09cbcc1b044ad31e1ea6a7e882727afb
refs/heads/main
2023-03-10T21:15:04.997561
2021-02-26T06:47:15
2021-02-26T06:47:15
320,127,995
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
from flask import Flask, render_template import os app = Flask(__name__) @app.route('/') def index(): img_file = os.path.join(app.root_path, 'static/img/cat.jpg') mtime =int(os.stat(img_file).st_mtime) return render_template('05.index.htm', mtime = mtime) # mtime를 넣어주면 이미지경로가 바뀔때마다 리플레쉬됨 /html에도 동일적용 if _...
[ "wlsduddl013@gmail.com" ]
wlsduddl013@gmail.com
3a9ee750bfdb695244f25d1a4fe174c316d25b0b
0125394835e95f5fb4b47ec2a1bc7d5a555b81c4
/card_layout test.py
db268c3417a9c214541f02a291029381766e7690
[]
no_license
jayesh59/05-Blackjack
a7c91214bcba446eb2e48502ba5e55ff90ecd344
ee75275fcc5fcc04b9bca18e40585106ee824ecb
refs/heads/master
2023-04-13T22:43:38.336361
2021-04-27T03:02:45
2021-04-27T03:02:45
257,320,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import cv2 import numpy as np import matplotlib.pyplot as plt #Initiation: Spade = cv2.imread('Spade.jpg') Diamond = cv2.imread('Diamond.jpg') Club = cv2.imread('Club.jpg') Heart = cv2.imread('Heart.jpg') shapes = [Spade, Diamond, Club, Heart] for s in shapes: _, s = cv2.threshold(s, 127, 255, cv2.THRESH_BINARY) res...
[ "51175318+jayesh59@users.noreply.github.com" ]
51175318+jayesh59@users.noreply.github.com
fd91de5e21ca19d5f64f3219747ad6809612c353
10c40d2a919a69f4a680efffd17e326e25e9e73d
/sigopt/magics.py
d65810ab869a51a5098b128e4a519ada018c39f7
[ "MIT" ]
permissive
XiaozhiShenNovelis/sigopt-python
34b8930397bd364376a0daef6baaac7f3d34e8fc
3ba596cfae37a8f987c61f87055b8081a12aeaf0
refs/heads/master
2023-08-23T00:59:19.555102
2021-10-19T19:25:57
2021-10-19T19:25:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,430
py
import http import io import sys import yaml import IPython from IPython.core.magic import ( Magics, cell_magic, magics_class, ) from .config import config from .interface import get_connection from .log_capture import NullStreamMonitor, SystemOutputStreamMonitor from .run_context import global_run_context from ...
[ "noreply@github.com" ]
XiaozhiShenNovelis.noreply@github.com
8bc1f3af1ca811d884a225dbd76851c0ad13c46a
1da15a0ec8eb771d4584b3997d44d2af23d53484
/D3/1220.Magnetic.py
2da7b7c711faaafaf1586b556cbc79aeea42fe62
[]
no_license
cdh3261/Algorithm_Problems
1e9ad0310490ffe5396f8cef3205885d62ebefb7
d9ad791e9a0bcdd1c13b8e18fa993b784a53b064
refs/heads/master
2020-08-29T07:27:04.331917
2020-03-06T11:33:57
2020-03-06T11:33:57
217,966,844
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
####### N극 ####### ####### S극 ####### for t in range(1, 11): n = int(input()) arr = [list(map(int, input().split())) for i in range(n)] col = [] for i in range(n): a = [] for j in range(n): if arr[j][i] != 0: a.append(arr[j][i]) col.appe...
[ "cdh3261@naver.com" ]
cdh3261@naver.com
da03b2d8448602dd00e2ae9394f8c2537ee7e71f
b4be1cf1ac616abdf12297b3a69226d98ae8c70b
/src/coboljsonifier/fields/field_alphanumeric_ebcdic.py
32d18049debfef65a752fc01c42d9a4f6a62b9bf
[]
no_license
jrperin/cobol-copybook.jsonifier
08dc7cd6d6cb95bcb7e0b59b9db949e490b179a6
7aefd72956e3c26456327dcd222723a04a115bf3
refs/heads/master
2023-09-01T00:05:08.776147
2023-08-22T01:28:11
2023-08-22T01:28:11
405,270,494
13
7
null
2023-08-22T01:23:17
2021-09-11T03:11:16
Python
UTF-8
Python
false
false
482
py
from .field import Field class FieldAlphanumericEbcdic(Field): """ Composite Pattern - Leaf """ def __init__(self, type: str, name: str, size: int): super(FieldAlphanumericEbcdic, self).__init__(type, name, size, 0) def parse(self, data_in): if not data_in: return ...
[ "jrperin@gmail.com" ]
jrperin@gmail.com
b012696da3f84d3dfe7b35af80765087353bc29f
a8aa0624c8367d77079366a16671793978f47716
/traine_genetic.py
3542b9d4d11f49c39ac4edfad0392a187d79f0af
[]
no_license
Arty-Facts/battleships
35a976dddf2224999ea9d99663a24479468ccaee
5c7ede1d5dd49cd5925d4e3715728222411babfa
refs/heads/master
2022-11-22T06:01:26.600460
2020-03-02T07:10:43
2020-03-02T07:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
from ML.neural_tagger_trainer import train_neural from ML.nn_agent import NN_Agent from ML.training_agent import Train from ML.evaluvate import bench from lib.world import World from lib.state import State from lib.ship import Ship from config import * from time import time from random import shuffle from pathlib impor...
[ "artal938@student.liu.se" ]
artal938@student.liu.se
a0bcdf633e6f26afa8a550121748d1798216dddb
7994559f1baad2049751ac3c9d20455115d4a48b
/mySpartaSns/urls.py
c9d7678e8b3cf24e3b52e15eb598cf729615e6b6
[]
no_license
normaljeon/mySpartaSns
3f76f95aced89484520a8e6ad626b52ed73bfb6e
f934fac265a413dbcf74b04abde9eacb19ceb276
refs/heads/main
2023-06-07T01:40:06.608213
2021-06-26T16:13:56
2021-06-26T16:13:56
380,543,939
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
"""mySpartaSns 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-b...
[ "inputjsh@gmail.com" ]
inputjsh@gmail.com
f150726c58233152b08d58900602edbd74120923
8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b
/enthought/util/updates/info_file.py
8b990c36ca53d32b4dff8ed8376bbc10a937fb35
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/etsproxy
5660cf562c810db2ceb6b592b6c12274bce96d73
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
refs/heads/master
2023-03-27T04:51:29.297305
2020-12-02T09:05:18
2020-12-02T09:05:18
1,632,969
3
1
NOASSERTION
2020-12-02T09:05:20
2011-04-18T22:29:56
Python
UTF-8
Python
false
false
6,573
py
import warnings warnings.warn("Module is deprecated.", DeprecationWarning) import md5 import os import re import warnings from xml.etree import ElementTree as ET #======================================================================== # Regex helpers for parsing file names and validating checksums. #============...
[ "robert.kern@gmail.com" ]
robert.kern@gmail.com
0cf7cd7851932bf83ba266a23941fc3516d97cab
722905ff407bbabcfe9c3a0b1f848ef3bb7a9571
/randomforest1.py
8bf8cf1c364c09a6cd292713d3bb6697559f92be
[]
no_license
Anupwilson/datascience-python_code
469d4178ab3b272e84d67b953b632c36438ab0c2
5e067248866c241dc1ece30044540e8a969196e0
refs/heads/main
2023-04-01T17:06:21.993684
2021-04-23T16:10:07
2021-04-23T16:10:07
309,037,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import pandas as pd import streamlit as st from sklearn.ensemble import RandomForestClassifier st.title('Model Deployment: random forest classifier') st.sidebar.header('User Input Parameters') def user_input_features(): CALLERID = st.sidebar.number_input("Insert the callerid") OPENBY = st.sidebar...
[ "noreply@github.com" ]
Anupwilson.noreply@github.com
e1d6a76f3ee7691607e6831868d4cd7850d105a8
60cde9d4107b3bb5724ec36618af4b4ecd692165
/camera.py
6a2f93f5e942721d3bb04ce5cbb64fdbe2e7022a
[]
no_license
Yemy/security-camera-in-python
54cc176170c20c9b67dedefe037ced7410beb0d2
eb9b2a3b549045c5980b12a50c9b43c143659e4a
refs/heads/main
2023-08-02T16:56:27.780886
2021-10-09T10:41:52
2021-10-09T10:41:52
415,277,859
1
0
null
null
null
null
UTF-8
Python
false
false
300
py
import cv2 capture = cv2.VideoCapture("http://192.168.1.5:8080/video") while True: _, frame = capture.read() gray = cv2.cvtColor(frame, cv2.COLOR_RGB2GRAY) mirror = cv2.flip(gray, -1) cv2.imshow('Live', mirror) if cv2.waitKey(1) == ord("q"): break capture.release() cv2.destroyAllWindows()
[ "yemybold@gmail.com" ]
yemybold@gmail.com
f32dc0bf2193c95d85801ddc0ca99e3a0991e3fe
133dbe47cf8d64d11dfaf2a1109f472c67f56136
/tests/objects/test_time.py
1b32001d7b6594eabc6b56e2ad8db8d78cbdecca
[ "MIT" ]
permissive
My-Novel-Management/storybuilderunite
a2bae6f3d79a8bc22d141663a2b09dde12556299
c003d3451e237f574c54a87ea7d4fd8da8e833be
refs/heads/master
2021-07-13T16:35:31.922363
2021-01-29T00:38:04
2021-01-29T00:38:04
230,050,595
1
0
MIT
2020-06-24T01:49:03
2019-12-25T06:05:42
Python
UTF-8
Python
false
false
966
py
# -*- coding: utf-8 -*- ''' Time class test =============== ''' import datetime import unittest from tests.testutils import print_testtitle, validate_with_fail from builder.objects import time as tm class TimeTest(unittest.TestCase): @classmethod def setUpClass(cls): print_testtitle(tm.__name__, 'Ti...
[ "nagisc007@yahoo.co.jp" ]
nagisc007@yahoo.co.jp
6debc3f00966a216dd43e092a1d80453f069d876
cfe737ca092cf949f99af67743e2a935f53baecf
/Natural-Language-Processing_prepprocessing_and_feature_extraction/TFIDF.py
5ef16440787fbe0ebb5ab28f3b7296ae59f086b4
[]
no_license
Sakil786/Natural_Language_processing
409147d9c0fac900265c92724161c53d7a574372
0dd11c3c848b92837a73f5bc84e239cf3e36f27f
refs/heads/master
2022-06-26T22:47:59.125026
2020-05-10T14:08:11
2020-05-10T14:08:11
255,063,391
0
1
null
null
null
null
UTF-8
Python
false
false
3,020
py
import nltk paragraph = """I have three visions for India. In 3000 years of our history, people from all over the world have come and invaded us, captured our lands, conquered our minds. From Alexander onwards, the Greeks, the Turks, the Moguls, the Portuguese, the British, ...
[ "sakilansari4@gmail.com" ]
sakilansari4@gmail.com
9bde88a2b2416002fb786ff4cd29779e70a3c2e9
b5be3680c2b3404ec9c6156466b7c276bff0cf01
/salon/admin.py
7596574aa4e46d3d86c1088f779911155c0efef1
[]
no_license
aselya0012777/beauty-salon
e2cf861055fd10d6a6f29fcc8306c4be0199a117
86abc8c3c90b494bdd16275051cdab8b4b2493fb
refs/heads/master
2023-07-13T22:09:16.991190
2021-09-04T11:37:11
2021-09-04T11:37:11
370,702,229
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
from django.contrib import admin from .models import EmployeeSchedule, Salon, SalonServices,Employee,EmployeeSchedule @admin.register(Salon) class SalonAdmin(admin.ModelAdmin): list_display = ['name', 'address','number','rating'] list_filter = ('name','address', 'rating') @admin.register(SalonServices) class ...
[ "aselya.0012@yahoo.com" ]
aselya.0012@yahoo.com
ad91cb706816e164109bb744100c0b735da2602a
b8584fd8c5d6f7c44e92aa45c82d63ec79f6ec01
/main.py
149d3b22d7efaaf4d4d783f07c8e87b99ea7ff99
[]
no_license
qcwthu/cnn-relation-extraction-with-ranking-loss
24b2c37881f5cf6793a2a031df12aa90e98f052a
3a73c445d3ee9bae6693e60188e7aeb5eb4c7c60
refs/heads/master
2022-01-13T22:36:36.918461
2019-05-22T08:24:50
2019-05-22T08:24:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,253
py
import torch import pandas as pd import numpy as np import csv import spacy import os import re from torchtext import data, datasets import argparse import train as trains import model import datetime print('parse arguments.') parser = argparse.ArgumentParser(description='CRCNN text classificer') # learning parser.add...
[ "xisikongji2354@gmail.com" ]
xisikongji2354@gmail.com
d4b0ecde11724f063f3638035d6adf52935d4f31
211f7fab75d54945e98be68974d35ff2ab8ac94a
/client/constants.py
fd9e555539f15c3e61b257342c9a62ddd2a26e7b
[ "MIT" ]
permissive
heni/rem
de0693e7dbdf63539b564ca7923860c3b56d9fff
7472bc3b106f512355cfc2ca646e8290d19661c6
refs/heads/master
2022-02-23T15:06:59.926472
2022-01-19T11:52:42
2022-01-19T11:52:42
9,545,619
15
6
null
2015-11-17T05:33:49
2013-04-19T13:05:55
Python
UTF-8
Python
false
false
297
py
#for Job class #one week NOTIFICATION_TIMEOUT = 604800 #two weeks KILL_JOB_DEFAULT_TIMEOUT = 1209600 #Packet`s names policy IGNORE_DUPLICATE_NAMES_POLICY = 0b001 WARN_DUPLICATE_NAMES_POLICY = 0b010 DENY_DUPLICATE_NAMES_POLICY = 0b100 DEFAULT_DUPLICATE_NAMES_POLICY = DENY_DUPLICATE_NAMES_POLICY
[ "lexplua@41d65440-b5be-11dd-afe3-b2e846d9b4f8" ]
lexplua@41d65440-b5be-11dd-afe3-b2e846d9b4f8
dc2b280772e197fed6525ef2bb9002c0ee5025f7
6e7463cfc51a2b190a42ea45b416cdcade6cffe8
/Examenes/E1.3.Final/main.py
c993af08190cc29a774e5422c23db332c32ca9cc
[]
no_license
JoanAndoni/CyPS_2018
f8b510c0c53b6426831678869549abaad169c056
945fe2f335f05ecaf829a53ea25d670c8e8c0bc6
refs/heads/master
2020-03-25T16:02:39.900345
2018-11-20T23:41:29
2018-11-20T23:41:29
143,912,199
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# Joan Andoni Gonzalez Rioz # A00569929 from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep import csv driver = webdriver.Chrome() driver.get("http://fiware01.cem.itesm.mx:3000/~certificatec/pronosticos") driver.find_element_by_id("login_username").send_keys("ariel.g...
[ "mcr_joan@hotmail.com" ]
mcr_joan@hotmail.com
6e39adc45883cef0bb9f57391ecb69ad5f28f226
77ed9133c4c184a93539d0eea303f2da9e4448cf
/models/CNN/LeNet.py
0350cd1c51aef3a7d7ecd34a5eadd4fd2e175f43
[]
no_license
AgFeather/StudyNote
16e1bc34196cd2bce2ef26aed7eb3010e6adba5e
4c258e73153cf38a6392937a75fa560b2a6bcc97
refs/heads/master
2020-06-22T11:31:10.176663
2019-10-10T13:08:49
2019-10-10T13:08:49
197,707,284
0
0
null
null
null
null
UTF-8
Python
false
false
6,594
py
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data IMAGE_SIZE = 28 NUM_CHANNELS = 1 NUM_LABELS = 10 # 第一层卷积层的尺寸和深度 CONV1_DEEP = 32 CONV1_SIZE = 5 # 第二层卷积层的尺寸和深度 CONV2_DEEP = 64 CONV2_SIZE = 5 # 全连接层的节点个数 FC_SIZE = 512 class LeNetModel(): def __init__(self, flags): self.f...
[ "18843740508@163.com" ]
18843740508@163.com
fe0fe5ceb581258a2127b48eb65b8201e67adcf1
2310bf22a57aae02b09866169ca228a04a160fa3
/pysfOp/vsGraphOp.py
686ac1fba2c5b6e905c832cc58f0a307f1e2e4d0
[]
no_license
lobosKobayashi/PythonSfCp932
e16f8e94c38cea89879021b3ae4378f37a39e5e1
78127ce59cadc54e291d5e0afd4440240be630a1
refs/heads/master
2021-01-23T13:42:08.187821
2017-01-03T20:21:38
2017-01-03T20:21:38
11,274,335
0
0
null
null
null
null
SHIFT_JIS
Python
false
false
8,733
py
# -*- encoding: cp932 -*- from __future__ import division """' english: PythonSf pysfOp\vsGraphOp.py https://github.com/lobosKobayashi http://lobosKobayashi.github.com/ Copyright 2016, Kenji Kobayashi All program codes in this file was designed by kVerifierLab Kenji Kobayashi I release sou...
[ "lobosKobayashi@gmail.com" ]
lobosKobayashi@gmail.com
e03435734d25d798b79681af85b6574d5cbf61f6
a3ac96f0c7da0b6b03b4b52a35fbae551f488c1c
/Assignment_3_sol.py
9f978d91192edcbd63e299340d61007e5743209e
[]
no_license
Sohaib-50/OOP-assignment-3
4b59c98e74c2ba892d6e746f52f736878c84bee6
2974a00927070d5cb328908f6cf01b50d7141a00
refs/heads/master
2022-11-08T05:56:38.310520
2020-06-30T20:02:01
2020-06-30T20:02:01
276,196,665
0
0
null
null
null
null
UTF-8
Python
false
false
9,173
py
#### Q1 ##class Circle: ## def setRadius(self, r): ## self.radius = r ## ## def getRadius(self): ## return self.radius ## ## def setColor(self, c): ## self.color = c ## ## def getColor(self): ## return self.color ## ## def getCircumference(self): ## retur...
[ "noreply@github.com" ]
Sohaib-50.noreply@github.com
fe619f1da9f99173a18dd7df28146699dca5644e
e133ce013b0a3ca56120db66a95884f464308f2f
/learning_logs/forms.py
102a5d3d7097bca6f7bca5bc17359a91f583d6f9
[]
no_license
zhouyl02/learninglogs
27e2ec011cbc3c27db46c66ed42aa849186e1c81
d23ad9a0bfc72c813140bca07a898ee1e22293a8
refs/heads/master
2021-04-01T13:23:45.175845
2020-12-04T12:30:54
2020-12-04T12:30:54
124,403,101
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
from django import forms from .models import Topic, Entry class TopicForm(forms.ModelForm): class Meta: model = Topic fields = ['text'] labels = {'text': ''} class EntryForm(forms.ModelForm): class Meta: model = Entry fields = ['text'] labels = {'text': ''} widgets = {'text': forms.Textarea(attrs={...
[ "915186072@qq.com" ]
915186072@qq.com
1275d2dfcb26f9a06de524ae94252ec4c0261fcb
b6df9e7962725e6b4dda7873576a1bc23f748d93
/.history/crawling_20210906175955.py
d7af46376b00aacfd63666971793f5d6ccf0b9dd
[ "MIT" ]
permissive
jk7g14/keywordcount
8500288c0d248fc7b9227897170b8d50c8eaf0c6
89187bd865716a8cb8a1f50bc80265a2edf95cea
refs/heads/main
2023-07-21T20:22:05.016630
2021-09-08T00:34:10
2021-09-08T00:34:10
403,511,707
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
from requests_html import HTML, HTMLSession from time import sleep import csv import datetime file = open(f'data-{datetime.datetime.now()}', 'w', newline='') writer = csv.writer(file) writer.writerow(["name", "date", "content"]) session = HTMLSession() url = 'https://www.ybtour.co.kr/promotion/incRepList.yb' data =...
[ "llyppp@revhat.com" ]
llyppp@revhat.com
4883732ef5574518d7a8eea9d3610c27c1229f76
72371fbbca5e1631844de3a3815be721ad37ad4f
/compilador/simbolo.py
9abf35cbb0cc6a7ea53456333b78c3dfd9813edb
[]
no_license
gustavokida/compiladores_1
7c046386e8b92831e5b1b48afa301732cf29373b
cf50f20381c99784da1e76547f00abe0b51396aa
refs/heads/master
2023-08-02T19:36:53.712753
2021-09-25T22:11:24
2021-09-25T22:11:24
404,526,949
0
1
null
null
null
null
UTF-8
Python
false
false
309
py
class Simbolo: def __init__(self, nome, tipo): self.nome = nome self.tipo = tipo def getNome(self): return self.nome def setNome(self, nome): self.nome = nome def getTipo(self): return self.tipo def setTipo(self, tipo): self.tipo = tipo
[ "45009122+gustavokida@users.noreply.github.com" ]
45009122+gustavokida@users.noreply.github.com
265dc95d5597dd6704b8d1810358d09d0ea447cb
ea788d354226634a96fdba62d9f4a7587f6cb09f
/process_dynamixel_data.py
609ced7ba71a0288cee3a616012e02ea0279529a
[]
no_license
DeinFreund/px4_measurements
47f7cb2fd00017522df15b4ac6f5f97ee9c98ca6
a53e5f781634a11c2b24d145304228c7afa66b9e
refs/heads/master
2020-12-04T06:36:58.166716
2020-01-03T20:31:21
2020-01-03T20:31:21
231,660,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
#import rosbag import matplotlib.pyplot as plt import numpy as np import sys dyn_time = [] angle_measured = np.empty((0,6)) angle_cmd = np.empty((0,6)) for line in sys.stdin: try: if len(line.split()) == 14 and line.split()[0] == 'LOG': dyn_time.append(int(line.split()[1])/1e6) cmd = [] measured = [] fo...
[ "flyck@ethz.ch" ]
flyck@ethz.ch
91efd913c270d343c4b45b6d1eb44d4aa58f912c
35a6b6b5cabcf9fb39527bab020ef7c96265a026
/p3.py
5911e61bf240cc3e917c3377949ca16c9c46851d
[]
no_license
mepky/data-structure-and-algorithm
9a1324142276e6966692c51734613f15234f5300
96f64e657f97e46fc2d32cca5294fa0f104d5d01
refs/heads/master
2020-03-24T08:57:41.692564
2020-02-10T12:40:13
2020-02-10T12:40:13
142,614,071
1
0
null
null
null
null
UTF-8
Python
false
false
476
py
from collections import defaultdict t=int(input()) for _ in range(t): l=defaultdict(int) n=int(input()) d=2**20 t=0 s=input() a=[-1]*27 for i in range(n): if a[ord(s[i])-97]==-1: a[ord(s[i])-97]=i else: d=min(d,i-a[ord(s[i])-97]) t=1 ...
[ "noreply@github.com" ]
mepky.noreply@github.com
a22ecfc5db8d716f603611bc6d34e5846f57d403
ddb76ba98767c0e042d1eacfa41591ef2ee8bce8
/case/exchange/trade/test_navigation.py
9310eead8212d2ff05c16356b42dfcc3df72e747
[]
no_license
linzhiyang85/CryptoTasks
710f9b7cec613056090dc2de6109adcf132f28bc
7e0bfc8a09e32c9a4388ab9ea9b55f0b8dce757f
refs/heads/main
2023-09-01T08:14:07.790208
2021-09-25T20:46:21
2021-09-25T20:46:21
410,161,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
import pytest import time from page.exchange import ExchangePage from page.trade import TradePage class TestTrade: @pytest.mark.parametrize('source, target', [('CRO', 'USDC'), ('ATOM', 'CRO')]) def test_navigate_to_trade_page(self, source, target, driver, settings): # initialize page object exc...
[ "linzhiyang@aliyun.com" ]
linzhiyang@aliyun.com
f4cc030b9c8573c816c10160ff087a8c68c9d808
e00cf0bf72421ec31e4d3608c615aeeba5064731
/wows/move.py
3165d0d74b85208a58ea1b2ed7ee70fd489a053c
[]
no_license
lorne-luo/auto-wows
b4a84c7d99585c84a635fb5be11fd0f03a5f37fd
992ad473f1d5a78686e1c4c939c6c218e72373d7
refs/heads/master
2020-12-30T00:52:17.497039
2020-02-25T11:10:30
2020-02-25T11:10:30
238,803,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
import time from random import randint import pyautogui as pag import settings as settings from helper import search_template, get_map_image class WOWS_Move(object): def move_ship(self): global MOVE_TO pag.press('m', presses=1, interval=0.25) pag.sleep(1.5) if not MOVE_TO: ...
[ "dev@luotao.net" ]
dev@luotao.net
cb015eac44936cc54ab38c8fc85c628d7da24a26
d99a84bfcd2709bb04da73979c3ec5ea7e68cef9
/data/abilities/move.py
98965503339949433cd4314a3fdf56969155d212
[]
no_license
nikolr/PythonIsometricJRPG
151591cac17682807a202f6d4c47e316451b5078
d6c631fd06fb2b9a858cb9e36ac8e0ee0cee1334
refs/heads/master
2023-08-26T12:37:31.237974
2021-10-04T15:38:41
2021-10-04T15:38:41
408,345,232
0
0
null
2021-09-27T09:42:28
2021-09-20T07:16:03
Python
UTF-8
Python
false
false
1,057
py
from data.abilities.ability import Ability class Move(Ability): def __init__(self, name: str, potency: int, ap_cost: int, targeting_type, range: int, user=None): super().__init__(name, potency, ap_cost, targeting_type, range, user=user) self.description = "Move 1 square forward" def activate(se...
[ "nikolai.rantimo@gmail.com" ]
nikolai.rantimo@gmail.com
327de0fb6195fa9d70bb2f59a1b649c60f9ad8da
31900bdf5648061a3093230711c5394e20b90436
/usr/lib/enigma2/python/Plugins/Extensions/MediaPortal/additions/porn/cliphunter.py
f0ad44408f3a495045054598cafc29b1ceb97fb7
[]
no_license
linuxbox10/enigma2-plugin-extensions-mediaportal
aa6f14ecfc42ce91e22c487070541459a1ab820c
e6b388918c186442718e7200e03c83d0db260831
refs/heads/master
2021-05-01T18:50:50.332850
2018-02-10T11:33:48
2018-02-10T11:33:48
121,009,954
0
0
null
null
null
null
UTF-8
Python
false
false
10,746
py
# -*- coding: utf-8 -*- ############################################################################################### # # MediaPortal for Dreambox OS # # Coded by MediaPortal Team (c) 2013-2018 # # This plugin is open source but it is NOT free software. # # This plugin may only be distributed to and executed...
[ "jaysmith940@hotmail.co.uk" ]
jaysmith940@hotmail.co.uk
7ce4e5c6f137596f23f8186d9b680431e5a52ceb
ad37bbf3b1b0d4d6ad6bf0c127bd92669a8f3029
/node_modules/@web3-js/websocket/build/config.gypi
83aac1135a412270945de7c7f9ac49c1d0349e62
[ "Apache-2.0" ]
permissive
william-rittmeyer/private_ethereum_blockchain
9b7bef440186430c0fd293220543abc41a63b4e7
079a21a3d9f41784934e5abc7d59024e9fcfd706
refs/heads/master
2022-05-23T22:25:26.886789
2020-05-02T00:33:33
2020-05-02T00:33:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,459
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "debug_ngh...
[ "wittspace77@gmail.com" ]
wittspace77@gmail.com
8405cbf135eef4a8ea7864cace75bd9e40f91ebf
adbc667076cc5d35f2411239c1d717558df7f9a2
/ecom/blog/migrations/0001_initial.py
29cf764f4f6b1bfbc605d0254ade79b4f5b094be
[]
no_license
satyam2912/E-commerce-django
a455f9943c3e04de4b74a4101010fbccf4b10bc4
455d28ce6a1ec502bdccfc4c430c5f86a812127b
refs/heads/master
2023-03-01T17:22:11.923843
2021-02-14T11:42:23
2021-02-14T11:42:23
326,479,986
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
# Generated by Django 2.2.12 on 2020-09-29 16:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blogpost', fields=[ ('post_id', models.Aut...
[ "pandeysatyam1996@gmail.com" ]
pandeysatyam1996@gmail.com
8b564330a2dd2c16aace1926c913fcca01a19d48
fd19e9dc496d7af22cbdd8cd8d185d4e99583c18
/blog/urls.py
15b95e2762e9645f4f966fa434d380810ee61a13
[]
no_license
averlor/Blog_django
aa5e652e6970cf5aac6c8b155134685076bc9a25
53c324be0e2ca3b4fe5e4cc245fec361375d57de
refs/heads/master
2020-04-08T07:39:36.313018
2018-11-26T15:39:34
2018-11-26T15:39:34
159,146,773
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.post_list, name='post_list'), url(r'^post/(?P<pk>\d+)/$', views.post_detail, name='post_detail'), url(r'^post/new/$', views.post_new, name='post_new'), url(r'^post/(?P<pk>\d+)/edit/$',views.post_edit,name='post_edit'), ]
[ "vabramanc@gmail.com" ]
vabramanc@gmail.com
69f71e98982e26c3a6a8f76756133b13cb028e93
2f7c81de79cfd34770051d9bda3ee3fd1a0c9477
/solucion_usando_verlet.py
7fccdfab5b9a2c0dd2c002a6bea23273981abe5f
[ "MIT" ]
permissive
TatiFlores/04Tarea
ae38959d6313c16b5ff628912d88be45ff27d54d
2f219a4b02865ccac716c76dd5545248b8789f44
refs/heads/master
2020-05-29T12:15:21.408718
2015-10-22T02:14:26
2015-10-22T02:14:26
44,268,867
0
0
null
2015-10-14T18:45:56
2015-10-14T18:45:56
null
UTF-8
Python
false
false
1,486
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from planeta import Planeta import numpy as np import matplotlib.pyplot as plt condicion_inicial = [10, 0, 0, 0.4] p = Planeta(condicion_inicial) dt = 0.1 iteraciones = 60000 x = np.zeros(iteraciones) y = np.zeros(iteraciones) vx = np.zeros(iteraciones) vy = np.zeros(i...
[ "tatiflores.4@gmail.com" ]
tatiflores.4@gmail.com