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
32f05b77100c28b9d1b8b4cb3de8164e01404a65
b9e065798f51eb60d8b29bc0756990103a7b5e70
/application/controller/Demo.py
b8435f5ae15a54926d7091f2e79b846cc944e392
[ "Apache-2.0" ]
permissive
jayqiyoung/LuckyPython
02f56c8cbb09d80a597ff430712c2b985567d7f4
8546214c62b3173f3bd4cf0a59476a9a7a48743e
refs/heads/master
2020-12-25T12:28:31.110804
2016-01-25T10:19:54
2016-01-25T10:19:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import LuckyPython class Demo: @staticmethod def welcome(self): data = dict() data["name"] = "World" view = LuckyPython.View("application/view") return view.show_page("Demo/welcome.html", data) @staticmethod def hello(self, name): return "Hello {0} !".format(na...
[ "kandisheng@163.com" ]
kandisheng@163.com
ece7a1b4904871303354b9e1284c3e3f5a49bdde
ee37afaea6263875c86ab1215e0452501c47e408
/Models/DeepFM.py
8683dd3c92858c9f479c9deac0d39526da1b2bdc
[]
no_license
bytecamp2019-alg-10/mtl
abfe5f175a414334309e6cb63b5e1ab10f14ae16
4600846245c87efc2f52add3be75ba35fc20f333
refs/heads/master
2020-07-10T21:24:17.404162
2019-08-28T13:06:15
2019-08-28T13:06:15
204,374,888
0
0
null
null
null
null
UTF-8
Python
false
false
18,809
py
""" Tensorflow implementation of DeepFM [1] Reference: [1] DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, Huifeng Guo, Ruiming Tang, Yunming Yey, Zhenguo Li, Xiuqiang He. """ import numpy as np import tensorflow as tf from sklearn.base import BaseEstimator, TransformerMixin from sklearn...
[ "lzy960601@gmail.com" ]
lzy960601@gmail.com
5e348a82403d2692756bbb92dea05d2c79650670
ae9d7d9d1aa6b6e91ac69b93e63f42aec514d37c
/checkerpy/tests/types/all/test_all.py
91f1a382e9cb9885851e05853c7c065c0b6e9a04
[ "MIT" ]
permissive
yedivanseven/CheckerPy
03b6be3d50da2e9e8f42c19e542cf0b93a5a241c
04612086d25fecdd0b20ca0a050db8620c437b0e
refs/heads/master
2021-09-13T16:43:42.324243
2018-05-02T08:46:37
2018-05-02T08:46:37
117,227,319
1
0
null
null
null
null
UTF-8
Python
false
false
34,094
py
import logging import unittest as ut from collections import defaultdict, deque, OrderedDict from ....functional import CompositionOf from ....types.all import All from ....types.one import _REDUCED_ITER from ....exceptions import WrongTypeError, IterError, CallableError class TestAllInstatiation(ut.TestCase): d...
[ "georg.heimel@snapp.cab" ]
georg.heimel@snapp.cab
31ab53622731a767c1b356b06feb534ca482348d
d63e022dcd11d9249e5a7b9670c0f7ab7cc735ef
/genproduction_configs/WJetsToQQ_HT400to600.py
d8b79646128d2ba871db58039d4f6fe8ac571811
[ "MIT" ]
permissive
clelange/TruthNtuple
b55caaeb81bc06929b013e5c7af2cd667e184688
fd39c9ea2b1d02084a63d3409f79a4a902703a5f
refs/heads/master
2020-03-12T01:07:17.299211
2018-05-10T10:10:41
2018-05-10T10:12:17
130,367,808
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
import FWCore.ParameterSet.Config as cms externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/2017/13TeV/madgraph/V5_2.4.2/WJetsToQQ/WJetsToQQ_HT400to600_slc6_amd64_gcc481_CMSSW_7_1_30_tarball.tar.xz'), nEvents = cms.untracked.uint32(5000), ...
[ "clemens.lange@cern.ch" ]
clemens.lange@cern.ch
7652f8e517b6c0253bb59ed0e0a90c6899495f5f
165cc420b7e8c1b7cbcfd17fea89611db90e866c
/hello_world.py
1496b95f0f572c35020b6dae68b45c3dd706f1fb
[]
no_license
Shoolapani/Demo-repo
378d21ac11ab0643a1441432bf55ad497ec0c324
57079c0c119c99878ad2ce8bf7b70b3681b1ed8c
refs/heads/main
2023-04-12T05:58:43.816622
2021-05-06T13:16:41
2021-05-06T13:16:41
363,992,991
1
0
null
2021-05-06T13:16:42
2021-05-03T16:30:31
Python
UTF-8
Python
false
false
135
py
# First project print("Hello world") num=int(input("Enter the number:- ")) num3=int(num *num); print("Square of two number:- ",num3)
[ "satyamkrjha040@gmail.com" ]
satyamkrjha040@gmail.com
a653b493012302d01c67b1a5803b34b9ad1dd3a0
e69c09e75e2f1369e98b28e6380868f30c2e0baf
/experiments/lsi_clip/make_archive_collage.py
994afaf3005b420406046caca41cdb42223613bd
[ "MIT" ]
permissive
kangalice/dqd
60d8cfd5a1f6c7e2b82173465ded7c4032bd96d9
262c31f56cd4704b76ddaf9b9eb024afdbb209d6
refs/heads/main
2023-09-01T06:55:47.944799
2021-10-29T23:01:22
2021-10-29T23:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,613
py
# A small script for generating a collage of faces from the QD-Archive import matplotlib import matplotlib.font_manager matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.fonttype'] = 42 matplotlib.rcParams["font.family"] = 'serif' matplotlib.rcParams["font.serif"] = 'Palatino' matplotlib.rc('font', size...
[ "tehqin@gmail.com" ]
tehqin@gmail.com
8994919e217e0faa9714145047e5dc631cc7c871
8dbb48232b8647d1aa6f1032e5eeb8a525f1fd22
/backend/migrations/0004_auto_20200520_0049.py
a004edc82f884642e86722a623618b198be9b2c9
[ "MIT" ]
permissive
manulangat1/Jaza-ndai
97538e7f8a164b213163e6416a88537c39ec37f2
e0b02051665a18d64d7d1e1e3f8384b0f3757695
refs/heads/master
2023-01-30T23:07:26.554672
2020-06-12T19:15:47
2020-06-12T19:15:47
242,711,544
2
0
MIT
2023-01-24T02:32:51
2020-02-24T10:51:29
JavaScript
UTF-8
Python
false
false
741
py
# Generated by Django 3.0.3 on 2020-05-19 21:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('backend', '0003_auto_20200519_1639'), ] operations = ...
[ "emmanuelthedeveloper@gmail.com" ]
emmanuelthedeveloper@gmail.com
6e9fd4673eafa40dfb29ca75b028166591b30fd6
7aaec8760f020ed934b0bf08e3c569bf73c5b9cd
/django/django_orm/book_authors_proj/server/env/bin/django-admin
5f63b697eb35054ccb24f26ea28414b75e5a4b69
[]
no_license
DallasJM/Python
8715b5e09de028ed0dae44f59d0dd0a10e7f8981
924ac32089737165c9e90497792740e2b138d987
refs/heads/master
2021-03-13T09:32:56.120769
2020-03-11T19:53:53
2020-03-11T19:53:53
246,664,738
0
0
null
null
null
null
UTF-8
Python
false
false
349
#!/Users/sallad/Code/bootcamp/python_stack/django/django_orm/book_authors_proj/server/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(...
[ "sallad@Dallass-MacBook-Air.local" ]
sallad@Dallass-MacBook-Air.local
14ecf3ab4975eb5791a89430d0ba8be5cd8e6585
297efd4afeb46c0b56d9a975d76665caef213acc
/src/core/migrations/0071_auto_20190802_1405.py
c7aac7e2794c88618122bd34b6f554eee1e4c436
[ "MIT" ]
permissive
metabolism-of-cities/metabolism-of-cities-platform-v3
67716c3daae86a0fe527c18aef26ce29e069cbcc
c754d3b1b401906a21640b8eacb6b724a448b31c
refs/heads/master
2022-12-06T22:56:22.207853
2020-08-25T09:53:51
2020-08-25T09:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
# Generated by Django 2.2.2 on 2019-08-02 14:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0070_auto_20190802_1331'), ] operations = [ migrations.AddField( model_name='people', name='organizations', ...
[ "paul@penguinprotocols.com" ]
paul@penguinprotocols.com
ad8acdf6ff1d85ddfa41331f6fa6de3a87cb1b49
e2c53cf441f071dac3b563c902e2d53409f87ffc
/teacher/urls.py
3651f23da64f579a4e28789bea4bcf14e016e44b
[]
no_license
spriyaalpha/DirectorySchoolApplication
9446c93c3fba76f0ebb086b80d9c34d3db6eabce
c9d8c60d9c4c4aaa2644dddb029bf42a274575c7
refs/heads/main
2023-06-02T19:55:47.247543
2021-06-20T07:47:47
2021-06-20T07:47:47
378,121,562
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.urls import path from . import views urlpatterns = [ path('registration', views.teacher_registration, name='teacher-registration'), path('list', views.teacher_list, name='teacher-list'), path('profile/<FinalUploadedDetails_id>/', views.teacher_profile, name='teacher-profile'), path('list/s...
[ "noreply@github.com" ]
spriyaalpha.noreply@github.com
ba1f261b3860292d509efc9541c58fb97e8cdae4
19cb1af3b1e384e8dbb55c5ecfea1cb23598b0be
/df/asgi.py
ec63d9a4ee5921d2e76db34e7796f94d2867df59
[]
no_license
beautxiang/df
6d220c3936f562cf13d7dec766eded9129a785eb
2a3d0d06dfd3ff26b018e6a4f6ed7f4b4a2251a2
refs/heads/master
2023-05-30T07:38:33.291681
2021-06-15T08:14:23
2021-06-15T08:14:23
377,076,170
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
""" ASGI config for df project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
[ "2494916623@qq.com" ]
2494916623@qq.com
502d4c8f8451e1c9b1c0ba98ece8a47bedf9a824
d483dd0e8f18569329456e7fc14b3839664a7e72
/manage.py
c13f12f3531f9b8b12734ede4a74d670e1beb055
[]
no_license
lucyHD/pathfinder
b62bd2f8838992f9a8c827dd50620b205a1b79f1
605eec4c5b6eec7dc04d73a082c0ad7a7be7cc45
refs/heads/master
2023-08-11T02:42:08.699934
2020-07-02T16:27:35
2020-07-02T16:27:35
274,635,751
1
0
null
2021-09-22T19:22:49
2020-06-24T10:01:43
JavaScript
UTF-8
Python
false
false
637
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pathfinderproject.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "lucyhelendonnelly@gmail.com" ]
lucyhelendonnelly@gmail.com
6f2e3b891d08a35366f8720d70ec8fc1efe31d7c
f5171500752e258406718a0d2f33e027e97e9225
/Simulators/BEsim-py/be-sim-version-one/input/machines/titan.py
122d7300189aea326e7a6371c5d2f8932ce88acd
[]
no_license
UFCCMT/behavioural_emulation
03e0c84db0600201ccb29a843a4998dcfc17b92a
e5fa2f1262d7a72ab770d919cc3b9a849a577267
refs/heads/master
2021-09-25T17:55:33.428634
2018-10-24T15:55:37
2018-10-24T15:55:37
153,633,006
0
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
# @Author: Nalini Kumar # @Date: 09-12-16 # @Brief: Hardware description file for Titan @ LLNL # Simulation Root is the "type" (not the "name") of the component that defines # simulation granularity. default:system, rack, node, processor Root( "node" ) #This capability will need to be built into the simulator Leaf...
[ "aravindneelakantan@gmail.com" ]
aravindneelakantan@gmail.com
fec2b91bc15aa91b4365c4c1ddc5428b06f48d34
251c70bd53ce6c499b011590c2f73632696d950f
/virtual/lib/python3.6/site-packages/mypy/modulefinder.py
dd801d213064a56f5f66242dd227a8fbae975453
[ "MIT" ]
permissive
EduardoPessanha/Git-Python
ef09e404641fb988817c995bdf607c1860bf0622
87aa10af09510469032732ed2c55d0d65eb4c1d6
refs/heads/master
2023-01-25T01:10:51.089507
2020-12-03T12:27:44
2020-12-03T12:27:44
296,760,423
0
0
MIT
2020-09-28T03:37:14
2020-09-19T01:04:33
Python
UTF-8
Python
false
false
28,020
py
"""Low-level infrastructure to find modules. This build on fscache.py; find_sources.py builds on top of this. """ import ast import collections import functools import os import subprocess import sys from enum import Enum from typing import Dict, List, NamedTuple, Optional, Set, Tuple, Union from typing_extensions i...
[ "poppessanha@gmail.com" ]
poppessanha@gmail.com
dfcad5c303e88efcac418f48355af1de45e4e2f1
44d379302787c5b65a3f5a8143431a3c19c3604a
/c03django_advanced/fc_mall/product/models.py
cf2952d7e4af3eac297ba0600d632c597a9dc53d
[]
no_license
Miniminis/python-study-note
71bde562be1111ea4cfae38613f604f4bfe3cba5
4b70c2f0ad0a449fcd6f213aeec69d1e40bd3fb2
refs/heads/master
2023-03-04T08:53:17.113739
2020-09-09T21:11:13
2020-09-09T21:11:13
237,565,137
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
from django.db import models # Create your models here. class FcMallProduct(models.Model): name = models.CharField(max_length=256, verbose_name='상품명') price = models.IntegerField(verbose_name='상품가격') description = models.TextField(verbose_name='상품설명') stuck = models.IntegerField(verbose_name='재고') ...
[ "minhee4735@gmail.com" ]
minhee4735@gmail.com
1d2ebb44e2ddc4c16590914e4341cf5e6514f071
bbedc4eaff6c69b620487caf14c2f54a05f79308
/contact/admin.py
1e3065979b6b121b035c771b319613b4f5d85591
[]
no_license
venkatR065/perfectlearn
404db6d3da40972ab61865243015121b382e98f2
3332553ab9349316a58e84ca1ccdae9f0cf7382f
refs/heads/main
2023-07-15T06:33:12.903131
2021-08-19T10:30:20
2021-08-19T10:30:20
392,893,550
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
from django.contrib import admin from .models import Email from .models import Banner from .models import Contact admin.site.register(Contact) admin.site.register(Email) admin.site.register(Banner)
[ "mallarapuvenkataraju065@gmail.com" ]
mallarapuvenkataraju065@gmail.com
090dd571209ba80b5cf1b896a2b0e700534bd1c5
9403d5c55b15a4185ad5394ef637a1f0373916a4
/logger/__init__.py
05870a6fab1788b3c9f07b06139fe2ea6111862b
[]
no_license
KosoFF/EduCerts
fb267dbbfb88b7bdb7443f4a291b6af9c5a9e83d
bee9b76aac8d0c52df5ca35df34442c91ff34653
refs/heads/master
2022-12-11T23:52:11.225877
2018-05-16T01:13:56
2018-05-16T01:13:56
132,535,373
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
import logging import os log_handler = logging.StreamHandler() try: log_level_name = os.environ['LOG_LEVEL'] except: log_level_name = 'INFO' log_level = logging.getLevelName(log_level_name) log_handler.setLevel(log_level) log_handler.setFormatter(logging.Formatter('%(asctime)s %(levelname)s: %(message)s [in %(...
[ "a_bka@bk.ru" ]
a_bka@bk.ru
df3811216e191550ef71e1dd876af6d38b448c33
4059df77acb4a4472935c41e265da6635d500857
/findCountr.py
e3fa4be254ed94b55d3106535abc17887b9f578a
[ "MIT" ]
permissive
swapnilmarathe007/Handwriting-Recognition
857e664c850d09bc2366b5eb1949f34610b57e21
1c0430ec528573a2022d5059ef20243c39980776
refs/heads/master
2020-04-07T15:44:17.788455
2018-11-21T06:16:51
2018-11-21T06:16:51
158,498,803
0
1
null
null
null
null
UTF-8
Python
false
false
1,987
py
# Import all necessary Packages import cv2 import numpy as np import matplotlib.pyplot as plt image_loc = "testing_!.png" img = cv2.imread(image_loc) gray = cv2.cvtColor(img , cv2.COLOR_BGR2GRAY) #threshold Image ret , thresh = cv2.threshold(gray , 127 , 255 , cv2.THRESH_BINARY) #find contour image , contour , hier...
[ "swapnilm@winjit.com" ]
swapnilm@winjit.com
2f7fe65dbbd8485f1fe5e9a6204e7b6eb9ad821c
62114103a9254006b49ab209be50d9b785ea0ed3
/store/models.py
c7f1184790240abb0501b45943b6f5fabaab2301
[]
no_license
sudeepkhandekar99/tbw-dev
8655d29c147e3e2efadd563c32acad6f44d3fbd7
1da4688d6f42d2e5dea4bb904cdd4d522ba48815
refs/heads/main
2023-05-09T23:47:08.096067
2021-06-03T18:12:00
2021-06-03T18:12:00
373,600,742
0
0
null
null
null
null
UTF-8
Python
false
false
4,358
py
from django.db import models from django.contrib.auth.admin import User from datetime import datetime import random # Create your models here. class Product(models.Model): name = models.CharField(max_length = 50) uniqueCode = models.CharField(max_length=10, unique=True, null=False, default = "") price = mo...
[ "sudeepkhandekar99@gmail.com" ]
sudeepkhandekar99@gmail.com
5770346abe4a48d958e623f79a9c61097958d00d
f26dd860c8d764fc7a47bde656f393795cd8d763
/a4.py
782ca2447ff6d44c33f8b927c65ae5bdb2e6972a
[]
no_license
chokkuu1998/david
8e9fa162f657c8b9bb55502f1cdd730a08ff0235
4dc999cdb73383b5a5d7ed3d98b2c1a4d6b5f7ee
refs/heads/master
2020-03-28T17:05:04.046963
2019-07-16T08:07:37
2019-07-16T08:07:37
148,756,731
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
Xx=input() Yy=Xx.title() if(Xx!=Y): print("no") else: print("yes")
[ "noreply@github.com" ]
chokkuu1998.noreply@github.com
81f0ea6e0baef78f3bdcc0825839d08dc09898fc
79768b5999f9208484a0cf443eaaf82c3b2bdc56
/GUI Visualization/color.py
270e16323cf48556c4896637ba90b0d3017a74a6
[ "MIT" ]
permissive
RezaFirouzii/a-star_algorithm_visualization
a7ab82d987ca188e6905afbe7dccae96c76e490f
08be4dca454c1125c7f6bd96df6f61959c5ef777
refs/heads/main
2023-04-14T00:27:19.318531
2021-04-10T16:34:43
2021-04-10T16:34:43
356,626,041
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
# bunch of color constants class Color: WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) BLUE = (0, 128, 255) GREEN = (0, 153, 0) YELLOW = (255, 255, 0) BROWN = (204, 102, 0) PINK = (255, 102, 178) PURPLE = (153, 51, 255) GREY = (128, 128, 128) colors = { ...
[ "sr2000f@gmail.com" ]
sr2000f@gmail.com
4eb2b24396476c48355759b19e71e09945090a55
e2cede75302ba926fe0cb6fffd608b4352f336ab
/patch.py
1afad284f5c1027ac7aeb75c1c4e4840da217b9a
[]
no_license
stevenbraham/pi-aware-extra-info
6c6c81bdb4e90819641011110b6dfc1be3f74645
045b4723e7f3571a83fc9f3ec91b99c6117047ea
refs/heads/master
2020-12-24T06:06:27.635840
2016-11-08T23:29:50
2016-11-08T23:29:50
73,228,562
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
data = [line.strip() for line in open("index.html", 'r')] data.insert((len(data) - 2),'<script src="./pi-aware-extra-info.js"></script>') f=open('index.html','w') for line in data: f.write(line+'\n') f.close()
[ "steven@braham.biz" ]
steven@braham.biz
0d9d38e56f67375ccfe16fab62b67589fb05824b
157d0810d40bbb165889f946566346663cf5b22f
/Python-For-Everyone-Horstmann/Chapter8-Sets-and-Dictionaries/P8_9.py
5ad8eec093f3621b0a6870fef90d50450e432ed1
[]
no_license
dg5921096/Books-solutions
e6ccdcaba0294bdc95e2267723a02d2ba090cb10
31bb4bba240bf95aafeb6d189eade62c66a1765a
refs/heads/master
2021-12-09T16:07:47.756390
2021-11-14T07:09:25
2021-11-14T07:09:25
255,447,147
0
0
null
2020-04-13T21:39:02
2020-04-13T21:39:01
null
UTF-8
Python
false
false
1,360
py
# Write a program that asks a user to type in two strings and that prints # • the characters that occur in both strings. # • the characters that occur in one string but not the other. # • the letters that don’t occur in either string. # Use the set function to turn a string into a set of characters. # FUNCTI...
[ "syndbe@gmail.com" ]
syndbe@gmail.com
4abfddd2014cf989c845810569a277f34bc42ff3
f62598a462689aafc489a24c7b1526ad7e356536
/mysite/views.py
071a0c4aa6c8f16d3fc8ee92caa4cd1b7221f81f
[]
no_license
JJ-project/django_web_programing
5fcf45bb6293849211d77b4d2ddae8911c53cccd
b1ee23f5fd686ddf43720d03780bf961e31d55f1
refs/heads/master
2020-09-12T15:07:05.672027
2019-11-23T08:12:00
2019-11-23T08:12:00
222,461,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
from django.views.generic.base import TemplateView from django.apps import apps class HomeView(TemplateView): template_name = "home.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) #context['app_list'] = ['polls', 'books'] dictVerBose = {} ...
[ "jinjin2836@gmail.com" ]
jinjin2836@gmail.com
1baac10753e7043c8e72620f0ae434a8d30e89af
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_tables_operations.py
2d995d5f877e517415f08d401d405cc413ac20b3
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
29,628
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
3d196d8263c79fa57d8b2a733812641161b65a5b
c41f84ac71ce24b741ec1ffd714646078d6c0b8c
/spider_practice/scapyProject/stockEastmoney/stockEastmoney/settings.py
caaf6f2a3062b893209036e4fe2c70d2024ca193
[]
no_license
0xliang/python3
b044327cbdcf6af07ad7f11cad7c1e9424dcd9a0
a70d9f37cd71070bb5149abaf998a18fc754fc75
refs/heads/master
2023-03-22T18:29:00.383317
2021-03-15T17:44:55
2021-03-15T17:44:55
298,767,733
0
0
null
null
null
null
UTF-8
Python
false
false
3,146
py
# Scrapy settings for stockEastmoney project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-mid...
[ "lyqmichaelowen@gmail.com" ]
lyqmichaelowen@gmail.com
94a4c8120d37eabcfee7b87fa13c1a359cc05290
77f4ffa8572ef6f57b6b26cb1ce985a06109d8af
/main.py
0233038af5576d2312e81ddf6690ab96fc2466af
[]
no_license
szzzh/zh-NER
ced616a658298a52cbe92adaa55eda1db0457673
310019aa4f6827ec4ee3f8a4859943a55ec1d097
refs/heads/master
2020-03-22T13:08:22.511578
2018-07-07T23:40:31
2018-07-07T23:40:31
140,086,179
2
2
null
null
null
null
UTF-8
Python
false
false
5,605
py
import tensorflow as tf import numpy as np import os, argparse, time, random from model import BiLSTM_CRF from utils import str2bool, get_logger, get_entity from data import read_corpus, read_dictionary, random_embedding, read_dict, sentence2id ## Session configuration os.environ['CUDA_VISIBLE_DEVICES'] = '0' os.envi...
[ "szzzh8@gmail.com" ]
szzzh8@gmail.com
6bbac76293004570878b2004f4f9bf9722929607
79c290a743557ef0fdf41e816bdfc247287a7ca3
/booking-hackathon-2015/travel-profiles.py
fa8419f092cb235aa2557916dbf94f905d56b742
[]
no_license
paulorodriguesxv/hackerrank
b836c385b4bd6e33cd222dfeb34592046a815f15
00a03e18cea3cd0769047d1c0eefdeb6ba02369c
refs/heads/master
2021-05-01T05:09:10.865405
2017-08-26T23:59:25
2017-08-26T23:59:25
79,718,137
3
0
null
null
null
null
UTF-8
Python
false
false
2,007
py
f = open('travel-profiles.txt', 'r') from collections import Counter class Budgets(object): def __init__(self, stream): liststream = stream.split() self.price = float(liststream[0]) self.facilities = liststream[1:] class Hotel(object): def __init__(self, stream): list...
[ "paulorodriguesxv@gmail.com" ]
paulorodriguesxv@gmail.com
2bada593738d64fac83332d82048bd0c5b4afb46
4d16f6eeb98ab37519bb08fecd17640e77191630
/test/camera.py
6b44c5357e922c87c27d0aee35ed53f81a44e359
[ "MIT" ]
permissive
alvarlagerlof/ball-pid
94319b7b8458ad104cd25a288889205b33350b8f
6122e729782750818449645f97db41b31503a9aa
refs/heads/master
2021-06-25T20:43:46.424780
2020-10-19T10:38:01
2020-10-19T10:38:01
160,885,225
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
from threading import Thread import numpy as np import cv2 import imutils import time class Camera: def __init__(self, src=0): self.stream = cv2.VideoCapture(src) (self.grabbed, self.frame) = self.stream.read() self.stopped = False time.sleep(1) Thread(target=self.update...
[ "alvar.lagerlof@gmail.com" ]
alvar.lagerlof@gmail.com
ef35a44d9964f90aa902985117d12968ef6d6134
892f8ff633ec90e4fc77066dfb3d2df3ed8684b4
/ryo_iwata_python_self_assessment/python_code_wars/consecutive_strings.py
d7a60e577b70b7811db8fbfe0145c4a7b0fdcb57
[]
no_license
ryoiwata/galvanize_python_self_assessment
8e321bf7ab55603bd7efe6192a8321c93fa5badb
d4ac564a3a4f2ba81264b36b24fc6fff33a4f0b0
refs/heads/master
2020-04-12T07:07:02.599358
2018-12-18T23:38:46
2018-12-18T23:38:46
162,357,446
1
0
null
null
null
null
UTF-8
Python
false
false
837
py
""" codewars.com/kata/56a5d994ac971f1ac500003e given a array of strings and integer k, return the longest combination of k strings(in the order of the array) """ def longest_consec(strarr, k): if k <= 0 or len(strarr) == 0 or k > len(strarr): return("") turn_num = 0 list_of_combined_wor...
[ "noreply@github.com" ]
ryoiwata.noreply@github.com
df8b60d39f7964d979deab8c142b7f5d70d5f1f8
33ff050337ba4575042032d9602bf84dcf81435e
/test/functional/p2p_invalid_tx.py
8dc06d4c89637c54047786113286b12e17194b2c
[ "MIT" ]
permissive
robinadaptor/chronon
5256b33fbe797bbdeb9c9a3c2091f0592afe6614
630b3945824c1b1cd2ea67ca80835a9f669b9124
refs/heads/master
2020-07-11T06:27:01.758237
2019-12-17T20:53:48
2019-12-17T20:53:48
145,383,639
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import ComparisonTestFramework from test_framework.comptool import TestMan...
[ "robin.adaptor@gmail.com" ]
robin.adaptor@gmail.com
ecc0ca086c3e3f050cb57d80121670b8e2ae4f81
f4f0235c9f4cc33f3cc83b2d93ccbb6f5fedabe7
/flask_boilerplate/models.py
3040337e970e1f174d5b33fb63a16d53e0ac166a
[]
no_license
isaacchansky/flask_boilerplate
b5b894a7705290cef8dd8d3dfb89ee10282112a9
1f715a8412e5d13b71199c41ce1f14824f2aef5d
refs/heads/master
2020-04-12T18:47:30.862224
2013-11-07T16:12:58
2013-11-07T16:12:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
""" My Flask App models. """ from flask.ext.sqlalchemy import SQLAlchemy db = SQLAlchemy() class User(db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String, unique=True, nullable=False) email = db.Column(db.String, unique=True, nullable=False...
[ "ichansky@gmail.com" ]
ichansky@gmail.com
9de5f420c7903864615b26079f346ea3cebeab6b
e15073438738794f6aab56ddf8f7efc8fea6733f
/models/wide_resnet.py
f3ced74959cd5c11be75e5829f94daa58a82973b
[]
no_license
myunghakLee/DataAugmentationWithNoise
e1568957ff8ecaf25d742b546887a9c279e5412f
327c2a6592e509e5ce7b230b68cc185641227666
refs/heads/master
2022-11-15T00:27:54.424266
2020-07-09T10:32:03
2020-07-09T10:32:03
276,308,982
0
0
null
null
null
null
UTF-8
Python
false
false
7,701
py
### dropout has been removed in this code. original code had dropout##### import torch import torch.nn as nn import torch.nn.init as init import torch.nn.functional as F from torch.autograd import Variable import sys, os import numpy as np import random sys.path.append(os.path.dirname(os.path.abspath(__file__))) from ...
[ "mh9716@naver.com" ]
mh9716@naver.com
fc4c5ad27e7a405838aecbb8fccca26d2fbbd4b7
59a1151a9236ecc037c54711eb8ff0ad8e88558e
/C1 sequence/C1example/oefening 10.py
97b502efa524d270c1664002b98073f72c216159
[]
no_license
brandonmorren/python
c76c2d7ecc471ec7738041caaad85bb0760061bc
6db74202ccdf777c9a2caba892bbcf6871941c14
refs/heads/master
2023-02-11T17:36:44.929892
2021-01-04T14:58:44
2021-01-04T14:58:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
consumption_day = int(input("power consumption during the day(kilowatt per hour): ")) consumption_night = int(input("power consumption during the night(kilowatt per hour): ")) print("invoice") print("*" * 7) fixed_cost = 83.6 consumption_day_price = 0.068 * consumption_day consumption_night_price = 0.035 * consumptio...
[ "r0842912@student.thomasmore.be" ]
r0842912@student.thomasmore.be
fbb0cb79304c6dda5f420047c1d0b5c865008647
459cf34442e5edfada54a0e74499ded88dd9f520
/recipe/templatetags/recipe_filters.py
3912d0c9a304c269cfaf47387ad16929d535164f
[]
no_license
olifirovai/FoodGram_project
f5ac8131e699a5477a0b17479d6ec107e84c9b55
d27e681d8b03a6ab53a0d4c8339ccae7dcd495be
refs/heads/master
2023-08-15T19:28:23.208149
2021-10-13T22:17:52
2021-10-13T22:17:52
360,272,094
0
0
null
2021-04-22T00:54:28
2021-04-21T18:43:07
CSS
UTF-8
Python
false
false
1,734
py
from django import template from recipe.models import FavoriteRecipe, ShoppingList, RecipeTypeMapping register = template.Library() @register.filter def subtract(value, arg): return value - arg @register.filter() def is_in_type(type, recipe): type_exists = RecipeTypeMapping.objects.filter(type=type, ...
[ "golubtsovairinas@gmail.com" ]
golubtsovairinas@gmail.com
a23f87abb60c34a3fdb28208f4f5c7807fbeca7b
604de367c5455fbe052e430751a0797a017fce69
/allennlp/models/encoder_decoders/simple_seq2multiseq.py
f5d026f1e5407e500c9482bb01eae411d0aa31d0
[ "Apache-2.0" ]
permissive
schangpi/allennlp
3a152dcf0be4170777782d5b39318161e4af43e0
04eee4ce94ac096c65598ebff394c93b0ac97f5c
refs/heads/master
2021-05-03T23:16:57.449878
2018-03-15T21:23:50
2018-03-15T21:23:50
120,397,512
0
0
null
2018-02-06T03:36:33
2018-02-06T03:36:33
null
UTF-8
Python
false
false
14,543
py
from typing import Dict, Optional from IPython import embed import numpy from overrides import overrides import torch from torch.autograd import Variable # from torch.nn.modules.rnn import GRUCell from torch.nn.modules.rnn import LSTMCell from torch.nn.modules.linear import Linear import torch.nn.functional as F fro...
[ "martbeerina@gmail.com" ]
martbeerina@gmail.com
f5faa5b427e0b5ac987bbe63f6a85745fe598fef
ae17dbce5e09a3d6cf6d48be1c31e64cdd110600
/boba/urls.py
51e8c5ecf134da559e5fa773407051c332fb87a2
[ "MIT" ]
permissive
gracerosemary/boba-project
6dcf8cfe568b12f2e82552ac94ae5442d0319ed1
627504a3caf9f2833d3a5b12c9172543a64a7f70
refs/heads/master
2023-03-20T10:11:56.888178
2021-03-17T18:42:05
2021-03-17T18:42:05
346,222,209
0
0
NOASSERTION
2021-03-17T18:42:06
2021-03-10T03:42:17
Python
UTF-8
Python
false
false
480
py
from django.urls import path from .views import BobaListView, BobaCreateView, BobaDeleteView, BobaDetailView, BobaUpdateView urlpatterns = [ path("", BobaListView.as_view(), name="boba_list"), path("<int:pk>/", BobaDetailView.as_view(), name="boba_detail"), path("new/", BobaCreateView.as_view(), name="boba...
[ "choi.g.330@gmail.com" ]
choi.g.330@gmail.com
903582b3fbfcafbe95101cc7a00acf75d474b845
82fdb2f3baeb4f08799d93c4be8d8c829f092415
/rasa_core/version.py
91afe203b5cccccd5a7f8b12cd4e9baa0ab9359b
[ "Apache-2.0" ]
permissive
velamurip/rasa_core
915f815772e2b596f837f0e1af511e829cc28e3e
f3dbb70d0bb748628ab238eded17a8f5e09279e2
refs/heads/master
2021-05-16T04:22:04.310610
2017-10-05T09:53:22
2017-10-05T09:53:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import __version__ = '0.7.0'
[ "tom.bocklisch@scalableminds.com" ]
tom.bocklisch@scalableminds.com
0d7a944e35c031e0b4fc6f129e53b720f2764efd
56ec2fe75c27ee0f9eda4246805ea903d195c108
/check/myTraining.py
9656280a2e7d6e6f2f16399db3936589cb0d1d96
[]
no_license
whoisashish/Covid-19-WebApp
3ef71e8c3fca96af94265d002fc32d61124adeb1
d7eaba0f8612dab268634d874d39c822ba71986d
refs/heads/master
2022-04-16T08:10:30.141340
2020-04-09T17:22:45
2020-04-09T17:22:45
250,134,732
2
0
null
null
null
null
UTF-8
Python
false
false
56
py
import pandas as pd df = pd.read_csv('data.csv')
[ "noreply@github.com" ]
whoisashish.noreply@github.com
86fbc2d6300338aa31b746d7698c5c018e6d6119
69c85c659909aaef863fd92281c11df1ad7d4be3
/Python Problems/62.py
5c015cc6f2843244d927a382b232ff24d12f3c22
[]
no_license
OneCalledSyn/project-euler
fd7b8a8541bab173846826dbdfd5503ef2816a54
c5b9ec35cedf10fcdf45678e39470e9a8484db73
refs/heads/master
2023-08-05T01:08:39.095996
2023-07-23T19:42:24
2023-07-23T19:42:24
241,126,797
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
cubes = dict() solutions = [] for i in range(100, 10000): curr = ''.join(sorted(str(i ** 3))) print(curr) if curr not in cubes.keys(): cubes[curr] = list() cubes[curr].append(i) if len(cubes[curr]) == 5: solutions.append(cubes[curr]) if len(cubes[curr]) == 6:...
[ "noreply@github.com" ]
OneCalledSyn.noreply@github.com
aed8fa7e7361c148a1e9f6978319b73fe94d4af9
80c24f75f86a29b28aab42d7752cf41165e2ac7d
/src/mininglogic/knn_kdtree_fasten_eager.py
e560dab0f015ec0902e96c04df8d24f8eecc6c5b
[]
no_license
txsing/KDDCup15
52ebd7846085b5c0c70d310823de80c67442014e
1c89f94c47310e2dc64eb33a695e2ea0c760a9db
refs/heads/master
2021-01-10T02:26:38.688243
2016-03-04T20:59:56
2016-03-04T20:59:56
52,838,847
0
0
null
null
null
null
UTF-8
Python
false
false
5,957
py
import numpy as np import time from sklearn import neighbors import sys from sklearn.svm import SVC from sklearn import svm sys.setrecursionlimit(100000000) TestsampleNum = 48217 trainVector = np.zeros([72325,7]) # 72325 samples in total, each in a 7-component vector format trainLabel = np.random.rand(72325)...
[ "txsing@gmail.com" ]
txsing@gmail.com
8ce56d89a9b682e82b60e2ae11f21050cd689353
13390c6d65b2b222a5525e485f5dd1d1b48b46d9
/django/clo/paginatortest.py
85ec6e7335f0b638a3171b72ca52db913ff880a5
[]
no_license
Roarain/py2
35c6f730a8dae46e2cb79349250448d5e3ea85b2
ee60ac13f3bbad0347bc790c8f64db26210948f0
refs/heads/master
2021-06-02T16:08:10.625121
2019-11-01T11:54:35
2019-11-01T11:54:35
98,857,911
0
0
null
2020-04-29T23:04:21
2017-07-31T06:55:33
JavaScript
UTF-8
Python
false
false
592
py
#coding:utf-8 from django.core.paginator import Paginator itemlist = ['a','b','c','d','e','f','g'] p = Paginator(itemlist,2) # print p.num_pages for i in range(1,p.num_pages+1): if p.page(i).has_previous(): print 'Page %d 有上一页,上一页是 %d' % (i,p.page(i).previous_page_number()) else: print 'Page %d...
[ "welovewxy@126.com" ]
welovewxy@126.com
688481d306ef5a1d5633e44a88b0133a5281ff0d
9486974db3f1eca2359cc65a108301e6d158c641
/SS_app/models.py
828bcba6c54f167273beb57ccb9f5c3e1c4afec0
[]
no_license
KirandeepKaur03/ss
c0c41cd879df8c1847715447f41d0aa71fe92c22
3241591213cf6ed77175399ee943f8b2558a9afe
refs/heads/master
2023-04-13T21:39:22.561240
2021-04-24T07:42:34
2021-04-24T07:42:34
347,861,276
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
from django.db import models class Queries(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=255,default="",null=True,blank=True) email = models.EmailField(default="",null=True,blank=True) mobile=models.BigIntegerField(default=0,null=True,blank=True) message=...
[ "kkirandeep2@gmail.com" ]
kkirandeep2@gmail.com
b6e0e8889401a2c8cee10f7a52d483fcdd0facce
a8c1a7cf331a746d2711e48094eb4be5b3c566ae
/set_dilation/viz/poly_viz_3d.py
20455316cf7b1b93da6e6ba4e04ab1ac5e516f6c
[]
no_license
aalbert-dev/minkowski_solver
87bbbac95d1e9550f0959b51befc83ca3f33f1ee
b5e0d4a8f8b52d0a1f3ea7ed432574ce4bafd8b9
refs/heads/main
2023-04-18T05:31:38.594006
2021-03-24T06:15:58
2021-03-24T06:15:58
344,354,305
2
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import random def plot(plt, coords, color, style): if not coords: return x_pts = [] y_pts = [] z_pts = [] for i in range(0, len(coords) + 1): cur_x, cur_y, cur_z = coords[i % len(coords)] cur_x = float(...
[ "arjunalbert1@gmail.com" ]
arjunalbert1@gmail.com
c13c389f3d476fad44b7df7071d4d66218e09f44
8da9a2e818ed7a304c716cc2eb5bd2762a6b8b9d
/env/bin/flask
ec1c8d934cd89084f05989e845570327b1a3b45b
[]
no_license
rachelgoff/FSND
9b1b3d63e2707a829fec0f21c0a97b76d30f4140
b72230debcd6b18816ce574db4dd7b7e0273e472
refs/heads/master
2020-12-13T13:55:36.171470
2020-06-10T06:04:35
2020-06-10T06:04:35
234,435,253
0
0
null
2020-01-17T00:00:39
2020-01-17T00:00:38
null
UTF-8
Python
false
false
307
#!/Users/rachel/full_stack_class/projects/fyyur/FSND/projects/capstone/05_what_to_eat/backend/src/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rzhangmoz1@gmail.com" ]
rzhangmoz1@gmail.com
23d517302e7e039c5fa654c1734866871498ede2
db2d5b2b1a48e0b834993f3fe606deb9a4a57e56
/Desktop/master/DPROT/labWork1/codisGit/lab1dprot.py
fe09e43e54edfd8d3569112d9de3d36ab18286aa
[]
no_license
mbasart/prova2
9ce78722a0fd1ab8b3a4b2ef8b46ccc33021dff4
b8b429ceee42ee129d18ed566b375e84ecee19cd
refs/heads/main
2021-06-22T07:18:18.605483
2020-12-06T22:35:14
2020-12-06T22:35:14
149,730,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
f = open("resultatsXifratsMcopy1.txt","r") valorsXifrats = [] count = 0 valorsXifratsDic = {} maxfreq = 0 valuefreq = 0 for x in f: value = x.split(' ', 1)[0].strip() valorsXifrats.append(value) valueInt = int(value, 16) finalxor = valueInt ^ (count+2) count = count+1 if finalxor in valorsX...
[ "mbd2797@gmail.com" ]
mbd2797@gmail.com
2fb7ffee21e0dc2f4eca5bdebe372d417dfe97d9
a59d1faced9fe7348ca7143d2a8643e0ebad2132
/pyvisdk/do/operation_disabled_by_guest.py
0767e0fe3a5714693497cfec0b893a5dfefa5187
[ "MIT" ]
permissive
Infinidat/pyvisdk
c55d0e363131a8f35d2b0e6faa3294c191dba964
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
refs/heads/master
2023-05-27T08:19:12.439645
2014-07-20T11:49:16
2014-07-20T11:49:16
4,072,898
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def OperationDisabledByGuest(vim, *args, **kwargs): '''An OperationDisabledByGuest except...
[ "guy@rzn.co.il" ]
guy@rzn.co.il
09aa4e450f4fc1fe24c41d5ab95eea8247db0226
856c958451ff1770115232d6f7289afb354db4e1
/Tests/test_filtering_products_by_name.py
23641670420d997ca8cabe5746e1a2d1537fc16c
[]
no_license
Alex-Chizhov/Test_automation_for_web_store
0d82a105e75521fd3ec9c19497184c7e967239ec
8f0e50a2db0c2d6a1bfffdfc615f20efca77d1bc
refs/heads/master
2022-11-01T22:01:59.152063
2022-10-02T06:33:45
2022-10-02T06:33:45
164,032,730
2
0
null
null
null
null
UTF-8
Python
false
false
283
py
import allure @allure.feature('Filtering products by name') @allure.severity('critical') def test_filtering_products_by_name(appf_customer): list_products_names = appf_customer.shop.get_filtering_products_by_price() assert list_products_names == sorted(list_products_names)
[ "alexchizhov90@gmail.com" ]
alexchizhov90@gmail.com
c9a99d0b6f30fc9256d329cb0d67be6887f815d5
c874e55ec73043f6b837601cc58d855d37649e59
/mlcenzer/python scripts/find_time_duration.py
90d350b7501cc45fb8a4f1dddb8d2526b7a9d14a
[]
no_license
mlcenzer/SBB-dispersal
85c54c924b399834a798d700cabf0b2702ae0755
1a777370986f83186180552a09149dfba72b96d0
refs/heads/master
2022-12-11T10:13:32.416530
2022-12-03T16:23:52
2022-12-03T16:23:52
229,098,494
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
#*************************************************************************************************************************** # Calculates flight duration of a trial. The function reads all the data, splits the data out as a list of strings (each # string is a ro...
[ "mlcenzer@ucdavis.edu" ]
mlcenzer@ucdavis.edu
dcfa5ed4aef2d586ed2d0c1c723f6ce1e8e10460
8b69e4e5119813ffeccc25acad7b6922a7fcf8ff
/tronn/learn/baselines_v2.py
3417bb499bc5f81029e8bec6a7981c91ca6bd13e
[ "MIT" ]
permissive
mbrannon88/tronn
752089520b83637636f848d11fdf917cadaca6f4
59654a958f6debb5be150e383e96997f1982359d
refs/heads/master
2023-07-08T15:22:08.170872
2021-08-04T21:36:21
2021-08-04T21:36:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,976
py
"""Contains code to run baseline models as comparisons """ import glob import numpy as np import tensorflow as tf from tensorflow.contrib.learn.python.learn import metric_spec from tensorflow.contrib.learn.python.learn.estimators import estimator from tensorflow.contrib.tensor_forest.client import eval_metrics #from ...
[ "dskim89@gmail.com" ]
dskim89@gmail.com
358f264887f571c41af0642c4ba2e6a3b8d4574a
52b959e977ac6fa150fa1d0414ee69cba3f1869b
/dijkstra算法.py
6b024fde750262c2a6c7d130075c0cf6ab3c199e
[]
no_license
1536696608/Traversal-of-graphs
66a00e5118f5a9d547c87d7d9b298b79bac4be12
a0bcbf7a17ab39301514241ac115b60f7ded16d2
refs/heads/master
2020-06-26T05:45:57.157388
2019-07-31T02:51:04
2019-07-31T02:51:04
199,551,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
import heapq import math graph = {"A":{"B":5,"C":1}, "B":{"A":5,"C":2,"D":1}, "C":{"A":1,"B":2,"D":4,"E":8}, "D":{"B":1,"C":4,"E":3,"F":6}, "E":{"C":8,"D":3}, "F":{"D":6} } def init_dis(graph,s): dis = {s:0} vertex = graph for v in vertex: ...
[ "noreply@github.com" ]
1536696608.noreply@github.com
46500e06310a7c56f312a32b1272edbd5ce08c71
25fed1e45c4b6bdbf50d2beb91db97d8dbbe6926
/image_processing/basic_processing.py
b1a5c9d7915bf0048e4f2a3003fd0ddb44d9c883
[]
no_license
qingnianmeng/Image-processing-app
d2ba5629683d41101a55949ab61d7a26df972415
86b645973bc2222009170d359255bdfb9b3b186d
refs/heads/master
2023-01-23T19:00:49.317135
2020-12-03T23:50:00
2020-12-03T23:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,949
py
""" Module contains functions that perform some basic image operations """ import cv2 import numpy as np import matplotlib.pyplot as plt def scale(img, factor): """ scale the image based on factor. :param img: target image to scale :param factor: scale factor :return: rescaled image """ if...
[ "qm4@illinois.edu" ]
qm4@illinois.edu
fc678eca34ca0b34e88a85b8926db4d11200920f
16e8963be3b720b8c3ad5a792ed68a467e772ba4
/Prac6/guitar.py
9d653d28ef7748d7551b8269ebc3fc1ac477d125
[]
no_license
Kampangchau/practicals-of-programming2
0b33475fb7941b1628ba8d22505e042807deb2fe
692e47e3b208a3425b8db759d0c7192839400345
refs/heads/master
2022-07-02T17:56:06.373542
2020-05-18T04:19:23
2020-05-18T04:19:23
259,234,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
CURRENT_YEAR = 2017 VINTAGE_AGE = 50 class Guitar: """Guitar class for storing details of a guitar.""" def __init__(self, name, year, cost): """constructor that takes three parameters and registers the result""" self.name = name self.year = year self.cost = cost def __str_...
[ "changlin.wen\"my.jcu.edu.au" ]
changlin.wen"my.jcu.edu.au
1252fccbc56b12ce2a33f22a90f63c8d9c9e6ceb
a8eb6b808ee6fcaf2a5aed07b8d565f80fe36627
/rfPractice/DecisionTree.py
bf905f2b81499b923d79eb9e415f79a54571f660
[]
no_license
CEfanmin/EnsembleTree
1ece7c95164c72aec142daf1dba632931a44cad5
8b02757303904f85940cac997ee76f9375727d5c
refs/heads/main
2023-01-30T23:24:32.739744
2020-12-12T03:41:40
2020-12-12T03:41:40
320,728,223
0
0
null
null
null
null
UTF-8
Python
false
false
4,799
py
# CART on the Bank Note dataset from random import seed from random import randrange from csv import reader # Load a CSV file def load_csv(filename): file = open(filename, "rb") lines = reader(file) dataset = list(lines) return dataset # Convert string column to float def str_column_to_float(dataset, column): fo...
[ "840831204@qq.com" ]
840831204@qq.com
09df5c5e3da9cb387b466b48c192d2f7c5637d02
946c75548a83958b1f365b29c86ebd27d681c409
/ca_main/src/obs_avoid.py
344e817976e10150b2b69b2955d51161b30d6560
[]
no_license
umerjamil16/castaway-on-island
b48d4a6525f41ae862e71a267bdb2f3d657f5b71
c608184385f97b6374467c5dd9d9fa78a1428afc
refs/heads/master
2020-07-02T22:01:57.093153
2019-08-15T20:25:30
2019-08-15T20:25:30
201,680,802
0
0
null
null
null
null
UTF-8
Python
false
false
2,627
py
#! /usr/bin/env python import rospy from sensor_msgs.msg import LaserScan from geometry_msgs.msg import Twist pub = None thres = 1 def clbk_laser(msg): regions = { 'right': min(min(msg.ranges[0:143]), 10), 'fright': min(min(msg.ranges[144:287]), 10), 'front': min(min(msg.ranges[288:431...
[ "umerjamil@protonmail.com" ]
umerjamil@protonmail.com
079ac10eae3ffca14bd74b719a85f1c0ba7a4d4c
596ae66458321f86d7000ac24803e9d90deb764b
/python/sparktk/frame/ops/quantiles.py
2d25c19fe471568ba78f7f67788d69b6d06f143c
[ "Apache-2.0" ]
permissive
tlisonbee/spark-tk
162be1aed9adf7eff45af9f239c2df1d50cb53f2
cbebbe0efc96f8631c428fad5ad83ca76e3629bf
refs/heads/master
2021-01-24T23:50:23.730034
2016-05-19T23:48:26
2016-05-19T23:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
def quantiles(self, column_name, quantiles): """ Returns a new frame with Quantiles and their values. :param column_name: The column to calculate quantiles :param quantiles: What is being requested. :return: A new frame with two columns (float64): requested Quantiles and their respective values. ...
[ "briton.barker@intel.com" ]
briton.barker@intel.com
6aa53c6bce92c102ff21ae9076922f2929effc42
948a8fe4a46bbdda00f3af5d7a999092fd546808
/src/crf.py
f43327729459334cd0646378348ce4d419fbf2f5
[]
no_license
wencanluo/QuantitativeSummarization
fcaf072566f0a4907f383042af0054ed1c47d82e
8c34923e3447e517ee99fc00fda2bd81b34e25a0
refs/heads/master
2020-12-21T01:07:37.842895
2017-05-11T01:06:02
2017-05-11T01:06:02
56,019,382
1
0
null
null
null
null
UTF-8
Python
false
false
10,333
py
#!/bin/env python # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 # -*- coding: utf-8 -*- ''' CRF wrapper for wapiti ''' from classifier import * import os, codecs class CRF(Classifier): ''' The Wrapper of the Wapiti CRF ''' def __init__(self, root=None): ''' @param root: string...
[ "wencanluo.cn@gmail.com" ]
wencanluo.cn@gmail.com
8879183ca7d037d2f672f977fc300d2c39569277
cea61ad705399327f24a6ac4aa31b3084eac42f0
/pysharp/libs/common/middlewares.py
8c1cb55316975d773c81c2b1b494a86b48ed60a6
[]
no_license
BiaoLiu/pysharp
e5e0d789c5af1731c201fdbd7df9a3d46d7fdd9b
b45db5e63802a19be2368ae865c9f4b47dfb7f95
refs/heads/master
2021-01-12T09:11:35.148826
2017-05-17T01:58:41
2017-05-17T01:58:41
80,979,236
3
0
null
null
null
null
UTF-8
Python
false
false
4,577
py
# coding=utf-8 import re import json from django.conf import settings # from settings import SITE_URL from django.views.debug import technical_500_response import sys from .log import logger from .utils import html_escape, url_escape, html_escape_name, check_script class CheckXssMiddleware(object): def process_v...
[ "452381072@qq.com" ]
452381072@qq.com
10b3f098f5437b76e5a0ca4059cd190fc7d29bb1
2740a350055c34a398ecfbf3c8b41a812e0bae9e
/calculator.py
bc6fecbf2a2dfbf93ac8251af6fceeaa992a8190
[]
no_license
vipod/wxpython_calculator
8c426b663cca782af1bb5d344b5b934364684101
e48d225e2ca55ecd33e15f93c3c2b88e3ec41750
refs/heads/master
2018-12-28T09:31:35.217151
2013-10-24T10:19:19
2013-10-24T10:19:19
13,828,727
1
1
null
null
null
null
UTF-8
Python
false
false
4,801
py
""" wxPython learning program: Integer Calculator Author: Vitaliy Podoba vitaliypodoba@gmail.com """ import wx # list of math operations and digits to check against OPERATIONS = ('/', '*', '-', '+') DIGITS = ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') class Calculator(wx.Dialog): """Python Intege...
[ "vitaliypodoba@gmail.com" ]
vitaliypodoba@gmail.com
1954647244f670c5dc25f03b9b3410053e37fac8
07520f0b5c41dee98fe9ecfefd890b2a01d4672a
/ROS_ws/src/hardware_coms/setup.py
f518b3d23de69bd01fca19c2fafa1f09b3d3f026
[]
no_license
asmorgan24/project_cuboid
a33c4c44b0e64690925664483f1fb5d09253694f
81f28bb319817de4bae5917e1d7c09a8fe3a4fb2
refs/heads/master
2021-07-15T13:12:03.464189
2019-02-13T23:07:41
2019-02-13T23:07:41
153,474,422
0
1
null
2018-11-30T16:58:29
2018-10-17T14:49:25
C++
UTF-8
Python
false
false
214
py
#!/usr/env python from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup d1 = generate_distutils_setup( packages=['hardware_coms'], package_dir={'': 'src'} ) setup(**d1)
[ "andrew.morgan@yale.edu" ]
andrew.morgan@yale.edu
df281edec9a4154b5ca80600c51d4c254fbc3f42
4aba8e6477aaff482294e93da518afc0351139fc
/dataset.py
61dd67f10dabe8bd1339e37d769696acd90bb74e
[]
no_license
akshit61/CRNN_OCR
e0930ef4d11ec3f351fda14f6eb265b8ac701790
2216415f836757a61b55c88f6f0a50a5fe98497b
refs/heads/master
2023-02-18T09:58:30.122690
2021-01-16T17:13:22
2021-01-16T17:13:22
330,213,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
import albumentations import torch import numpy as np from PIL import Image, ImageFile ImageFile.LOAD_TRUNCATED_IMAGES = True class OCR_data: def __init__(self, image_path, target, resize=None): self.image_paths = image_path self.target = target self.resize = resize self.aug = alb...
[ "akshitkotian61@gmail.com" ]
akshitkotian61@gmail.com
e964e343ab995aa3f38a6d6424a313f5e926a380
885e084d1c8dff17146c2c4ef69365dacf0167a6
/myus.py
8163344d7e27db13c110fea382cd8d2e2956b4aa
[ "MIT" ]
permissive
amitattry/MyUs_api
06881568563c714231a25ce12a37b6ca23e487a5
e240cb0f4fdbfb9ed08af860c04503d425fb42c5
refs/heads/master
2021-05-07T15:21:53.290351
2017-11-08T07:01:05
2017-11-08T07:01:05
109,939,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
import requests import os import Tkinter import json from Tkinter import * from tkFileDialog import * def zoosk(username,password): """" Headers - > Paras - > URL -> CAP """ headers = { "X-Cbt":"T3y8j3vOZNJbQN1N-z0XFqCvxGV3vVfKnJqeygBenAWZXwEAANX_XJAQuG3fexoNQyufatJ5GlPxSPEscd9z_JneiftH-C...
[ "noreply@github.com" ]
amitattry.noreply@github.com
6c0f0ce98c3564f0181e0dcecfc4c60c50a5b9e7
c577f5380b4799b4db54722749cc33f9346eacc1
/BugSwarm/scikit-learn-scikit-learn-87009782/buggy_files/sklearn/tests/test_multiclass.py
16588fe4010c56c223f976be164c3302f1bd128b
[]
no_license
tdurieux/BugSwarm-dissection
55db683fd95f071ff818f9ca5c7e79013744b27b
ee6b57cfef2119523a083e82d902a6024e0d995a
refs/heads/master
2020-04-30T17:11:52.050337
2019-05-09T13:42:03
2019-05-09T13:42:03
176,972,414
1
0
null
null
null
null
UTF-8
Python
false
false
21,405
py
import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_almost_equal from sklearn.utils.testing import assert_true from sklearn.utils.testing import assert_false from sklearn.utils.testing ...
[ "durieuxthomas@hotmail.com" ]
durieuxthomas@hotmail.com
54c5388edad985329b1af131d036432a1bb73a88
a3ab60bdd004bfa22b400a554dff8f3d215b0fac
/foul_copy/Radix.py
cbde5f11b8affa2705abb0231ea1bb83841dece1
[]
no_license
Aidaralievh/Aidaralievh
a9e5facc31825f21abba93e6ce6d1884a13b7963
3fe9254a77c123ae0164c730dfb3419b592d7012
refs/heads/master
2023-03-06T06:34:59.130439
2021-02-18T12:30:47
2021-02-18T12:31:12
322,245,472
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
inputt = open('input.txt') output = open('output.txt', 'w') read = inputt.read().split() a = [int(h) for h in read] del a[0] l = [0 for i in range(-100, 101)] for x in range(len(a)): num = a[x] l[num] += 1 new = [] for m in range(-100, 101): if l[m]: for n_ in range(l[m]): new.append(m) ...
[ "a.aidaraliev26@gmail.com" ]
a.aidaraliev26@gmail.com
1c109a50966b0734437d36a25fa972e74522ae23
47ed490ff277c63374b26efb742b830237988b59
/finndata/finndata/settings.py
91e804075fc34a2d3cd9349d447b3c3566de978a
[]
no_license
an3z/Scrapfinn
bc3b8e35c0a37e3bd36333ee99f607dacf6dc297
87bb59fe2c519e9b938ca6cc26107f67671b1409
refs/heads/main
2023-01-24T09:35:54.391746
2020-11-12T11:28:32
2020-11-12T11:28:32
312,234,071
1
0
null
null
null
null
UTF-8
Python
false
false
544
py
BOT_NAME = 'finndata' SPIDER_MODULES = ['finndata.spiders'] NEWSPIDER_MODULE = 'finndata.spiders' # Database settings CONNECTION_STRING = "{drivername}://{user}:{passwd}@{host}:{port}/{db_name}?charset=utf8".format( drivername="mysql+pymysql", user="root", passwd="toor", host="localhost", port="3...
[ "salam.alanezy@heimstaden.no" ]
salam.alanezy@heimstaden.no
00939890adec7df36ab5f1d64050e075d92a7be4
52d53fa337e3db4349b43f08961dc42cc2cc7624
/Visualisations/DatabaseConnection/DatabaseConnection.py
83ed507f499bc69783e89d50d909fe4305916375
[]
no_license
tomneutens/log_data_analysis
7f0a0e14230fe692091bad9508f1433322de8f19
6c7d4f8aba05975fdbd0597da60037eccc0fda22
refs/heads/master
2021-06-29T19:17:02.602250
2020-11-16T08:25:38
2020-11-16T08:25:38
178,832,512
0
1
null
null
null
null
UTF-8
Python
false
false
26,456
py
from pymongo import MongoClient class DatabaseConnection: debugSessionIds = [ "100098162156200550876384166413318805194", "100791076829784311538777553313397622066", "100845778315810870381297666893312058560", "102313417323140926547887400500875042809", "102848729222989382702129...
[ "tomneutens@gmail.com" ]
tomneutens@gmail.com
df4ac51fccc876c20ce0077aa7d9de548e96e905
97dae48fa3c613a84655c1c0b12cdc0db2c555bb
/algorithm/random/random_node.py
762a106aab90fb123741b27e865a4ab52323d43e
[]
no_license
klknet/geeks4geeks
6aa5841b15be41057dc987524721ea1ea37e02ea
d7d9099af7617a4000f38c75d2c7214bed570eda
refs/heads/master
2021-07-12T06:34:30.048691
2020-06-22T07:51:14
2020-06-22T07:51:14
170,288,225
1
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
""" Select a random node from a singly linked list. """ import random class Node(object): def __init__(self, data): self.data = data self.next = None class LinkedList(object): def __init__(self): self.head = None def insert_node(self, data): node = Node(data) nod...
[ "konglk@aliyun.com" ]
konglk@aliyun.com
78d1db3c6dc1d8c61587fd41ec302b44b9c0485e
b39670923ee518f2da16207a0d7e6093775f7b55
/prac_05/word_occurences.py
72bf33df1a8e510cee5448f94c119206bd505145
[]
no_license
SebastianFrizzo/CP1404_Practicals
02116acbd7730f18c9f4b0f93d9c6e3afe619746
f635cd701e99e81087587e1ae34972b51e1d1357
refs/heads/master
2020-07-12T21:07:48.623511
2019-11-11T06:11:22
2019-11-11T06:11:22
204,906,505
0
0
null
2019-09-18T02:27:24
2019-08-28T10:30:56
Python
UTF-8
Python
false
false
401
py
user_strings = input("Say something: ").replace(",", "").split(" ") user_dictionary = {} max_word_length = 0 for word in user_strings: if word not in user_dictionary: user_dictionary[word] = 1 if len(word) > max_word_length: max_word_length = len(word) else: user_dictionary[word] += 1 for word in user_dict...
[ "sebastianfrizzolaloli@gmail.com" ]
sebastianfrizzolaloli@gmail.com
c5783433362fd28cfaa4c90e29326762ed7361eb
3698669255e1b1780a467f050b746fc5c803f76a
/titles/admin.py
3be782bc024f8330a07c90cb0ddb01af260ee97a
[]
no_license
RustamIR/yamdb_final
2213bc15e0246caea264d59250c960ae64b3c3c0
6364f8b8d83f0a9c229ef43919f7738763801dc2
refs/heads/master
2023-02-27T01:01:04.434217
2021-01-18T06:35:13
2021-01-23T09:58:53
329,542,251
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from django.contrib import admin from .models import Categories, Genres, Titles class CategoryAdmin(admin.ModelAdmin): list_display = ("pk", "name", "slug") search_fields = ("name",) empty_value_display = '-пусто-' class GenreAdmin(admin.ModelAdmin): list_display = ("pk", "name", "slug") search_...
[ "roostamishteev@yandex.ru" ]
roostamishteev@yandex.ru
f8ae2d1fca5e85c23a12fde1dc9d340d64458945
80052e0cbfe0214e4878d28eb52009ff3054fe58
/e2yun_addons/odoo12/e2yun_base_geolocalize_bing/models/res_partner.py
cd91d36bc9c2e0d6e122fe3eabed2e72bf7cbc34
[]
no_license
xAlphaOmega/filelib
b022c86f9035106c24ba806e6ece5ea6e14f0e3a
af4d4b079041f279a74e786c1540ea8df2d6b2ac
refs/heads/master
2021-01-26T06:40:06.218774
2020-02-26T14:25:11
2020-02-26T14:25:11
243,349,887
0
2
null
2020-02-26T19:39:32
2020-02-26T19:39:31
null
UTF-8
Python
false
false
4,245
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import json import logging import requests from odoo import api, fields, models, tools, _ from odoo.exceptions import UserError _logger = logging.getLogger(__name__) def geo_find_bing(addr, apikey=False): if not ...
[ "joytao.zhu@icloud.com" ]
joytao.zhu@icloud.com
6440e43eeb24e41f882ccb95d12ebfb8d7b5b3b5
c6c450d750bcc559882c6f211f952b411505d6d8
/apps/work/views.py
b732081bebd1c4c612bcf8b2aefa24ad1c5c8736
[]
no_license
ESCL/pjtracker
e26ea09136f35f5c85ea8d68a63fd94fab2629da
4dcf0e6a37e8753ae9d69d663c0c280fcca0a26c
refs/heads/develop
2021-09-26T09:18:54.158051
2021-09-10T23:16:07
2021-09-10T23:16:07
52,280,177
1
0
null
2021-09-10T23:16:08
2016-02-22T14:45:55
Python
UTF-8
Python
false
false
4,052
py
from django.shortcuts import render, redirect from django.forms import inlineformset_factory from ..common.views.base import StandardResourceView from .forms import (ProjectForm, ProjectSearchForm, ActivityForm, ActivitySearchForm, ActivityGroupForm, ActivityGroupSearchForm, ...
[ "claudio.melendrez@gmail.com" ]
claudio.melendrez@gmail.com
28bf442921e0912bc5ab3b61c32415d4283444d4
eefede4cd6fbd61fb63a0b367c9a03e2cf8217da
/fanjian.py
54a6c755e82f548a4dcf49075813f70602aee809
[]
no_license
josephok/fun
94d1dd4df6868797fc32b329bf1f8cf0f29fb1e8
c1176f914219f9ddb3024b8c827fa8a00bc063a5
refs/heads/master
2020-12-26T03:55:28.864934
2016-11-05T04:14:19
2016-11-05T04:14:19
68,285,161
1
0
null
null
null
null
UTF-8
Python
false
false
752
py
import logging from spider import Spider logger = logging.getLogger(__name__) class FanjianSpider(Spider): name = "犯贱志" page_pattern = "latest-" def _parse_index(self, page): return page.xpath("//h2[@class='cont-list-title']/a/@href") def _parse_content(self, page, document): # 标题 ...
[ "josephok@qq.com" ]
josephok@qq.com
2ed97f8452b49adbd0bdcfc03b06558d59735e10
f9fb4f8073d963c349679e7f40b73dc711160991
/eric-fokou/Lesson2/lesson2_crawling.py
38284aae64b54eb4d14d916148d80eaad3a276e4
[]
no_license
ouedraogoboukary/starter-kit-datascience
83606196fc19cc3385ba8e846ef3014ff9e0b2e9
f621d4a1d7826c79c7ebd3a5a07a0138199e6c82
refs/heads/master
2020-10-01T01:04:23.460810
2017-12-04T22:33:52
2017-12-04T22:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,410
py
import requests import pandas as pd from bs4 import BeautifulSoup MAX_PAGE = 2 def extractIntFromDOM(soup, classname): res_str = soup.find(class_=classname).text.replace( u'\xa0', '').replace('vues', '') res = int(res_str) return res def extractLikeDislikeFromDOM(soup, classname, position): ...
[ "fokoub@gmail.com" ]
fokoub@gmail.com
fa24656c30eff68cac260d33467c06f2f0f78e40
3a3055474bccf3def468c4d03a969efb35809c08
/comment/forms.py
312dce5e9e0ab645687d8fb96e102cc68cbb442a
[]
no_license
kinghanjiangxue/BulidMyWebSite
18cc838597e8e0b92d17065b2e9b0fb212d96618
8bb59e740814a164b759711953068096cf6d8658
refs/heads/master
2022-12-26T05:09:37.138055
2019-08-23T10:50:24
2019-08-23T10:50:24
191,863,534
3
1
null
2022-12-09T22:53:41
2019-06-14T02:31:00
Python
UTF-8
Python
false
false
157
py
from django import forms from .models import Comment class CommentForm(forms.ModelForm): class Meta: model = Comment fields = ['body']
[ "yuankisstherain@163.com" ]
yuankisstherain@163.com
8f6b8907e13c2ab27fed2def8a040695b861dd34
1d75146a66245dc046dc216bb602129208e00733
/open/Edgecortix/code/mobilenetv2/Offline/python/backend_pytorch_yolov3_jit_traced.py
64772093cea7eabe60308826e27dbfb1b13720d5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
georgelyuan/inference_results_v1.1
febf287bd5967bf7f087355a81f06a2bd298cbfe
3196a5587887c39203ee3ac246fa5dbe789d9085
refs/heads/main
2023-08-16T08:49:45.274284
2021-09-23T20:57:17
2021-09-23T20:57:17
409,773,141
0
0
NOASSERTION
2021-09-23T23:36:37
2021-09-23T23:36:37
null
UTF-8
Python
false
false
2,310
py
""" pytoch jit-traced backend """ # pylint: disable=unused-argument,missing-docstring import json import os import time import torch import torch.nn as nn import torchvision import backend import sys sys.path.append('yolov3') from models.yolo import Detect from utils.general import non_max_suppression config = { ...
[ "tjablin@google.com" ]
tjablin@google.com
826053e4c8827b6ddae96995a415820e2ebb74a3
d37862139b44f4eaa9892b47b9b7ed52b2bbfef4
/week2/d5-permutations.py
39db73e253cabb8619fe9c3ac57edd48dd128c6d
[]
no_license
nhnminh/leetcode-challenge
e59faec4eb8434ff0ebebcac2c31fd279286dee9
f618f53eca8e23d9d8b5b4e1bd09d768090c0bf4
refs/heads/master
2023-01-07T05:11:25.528985
2020-11-18T10:09:33
2020-11-18T10:09:33
312,016,464
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
class Solution: def permuteUnique(self, nums: List[int]) -> List[List[int]]: if len(nums) <= 1: return [nums] seen = {} first = nums[0] remainder = nums[1:] remainder_perms = self.permuteUnique(remainder) for remainder_perm in remainder_p...
[ "nhnminh@apcs.vn" ]
nhnminh@apcs.vn
6a7abbb138da35522f6af973df8ff02116342540
3de5bedc4b1ebe5389896658a0bf0c0302afaa0b
/images360/images360/items.py
49d8879cdb2000b7e69b362809863adfa5c0bc46
[]
no_license
ShaoLay/KeyWords_Images
c4908081119a2d137d1210c1793bf739cb883a83
d83c76e07d834a4226bf708d000efbf9c01f8735
refs/heads/master
2020-04-12T02:49:35.894724
2018-12-18T09:01:53
2018-12-18T09:01:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy import Item, Field class ImageItem(Item): collection = table = 'images' id = Field() url = Field() title = Field() thu...
[ "javs_shao@163.com" ]
javs_shao@163.com
227624e1a2b47af4149919d50b795f308501b5d2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_verdure.py
8a49a8042f50de2bb3ea919aa34e26684f025e8f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
#calss header class _VERDURE(): def __init__(self,): self.name = "VERDURE" self.definitions = [u'(the green colour of) fresh, healthy plants'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.json...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
23ebc1cc6d44d65f993c8b7fdda6e4fedc6aada2
7c4c9b6b61b233839526b0ac717ea1e3873b105f
/video/make_frame.py
63d02e346b99426b81ea788d685c50b9a108ed25
[]
no_license
Peddi30/speech-img-vid-generator
51ec96a9412b22cb97efefc2999fbdd93a7da9c9
9bf1c023382b580876575319041d4f1df4912f04
refs/heads/master
2023-03-20T05:18:26.915497
2021-03-09T23:24:49
2021-03-09T23:24:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,672
py
from selenium.webdriver import Chrome, ChromeOptions import requests from PIL import Image import base64 import uuid import os import time import math import utils.log as log CHROME_DRIVER_PATH = '/Users/aarenstade/Documents/chromedriver' def downloadB64Img(img, filename): data = str(img)[22:] decoded = base...
[ "aarenstade@gmail.com" ]
aarenstade@gmail.com
d5314cdaa575a225f31f0288cd7ecb535f6da709
4aa7a4d0525095725eb99843c83827ba4806ceb1
/keras/keras108_ensemble2.py
6a175be3a7a210e13cfe51a8b6cbb64286ea57a3
[]
no_license
seonukim/Study
65a70f5bdfad68f643abc3086d5c7484bb2439d4
a5f2538f9ae8b5fc93b5149dd51704e8881f0a80
refs/heads/master
2022-12-04T17:04:31.489771
2020-08-21T00:35:15
2020-08-21T00:35:15
260,144,755
2
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# 1. 데이터 import numpy as np x1_train = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) x2_train = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) y1_train = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) y2_train = np.array([1, 0, 1, 0, 1, 0, 1, 0, 1, 0]) # 2. 모델 구성 from keras.models import Sequential, Model from keras.layers import D...
[ "92.seoonooo@gmail.com" ]
92.seoonooo@gmail.com
6a3fa960b84a9d356ed5e5860ecd007c65673ab6
f26111108d5b30a4cf52dab4d64a7b068a0cc7dd
/custom-addons/openmadrassa_base/__init__.py
771db3c08636c7015877ba19efca683e0f6f4456
[]
no_license
vidtsin/girls_erp
80489598d408e401f3f96c08854691d00790e5f8
381bfe7fb2ac2c4fd49bf5b5a7e75365ca300df4
refs/heads/master
2020-07-19T17:10:24.336653
2017-05-06T15:44:02
2017-05-06T15:44:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "emeytahaz@gmail.com" ]
emeytahaz@gmail.com
7127487e6db86d1498fb041791074873451e4b75
44ecce58e54d475158afc703dc7e6c5455db9c9f
/Detectivesusi/mysite/mysite/settings.py
202281f9453b4d45cf12111a74351663702d0b31
[]
no_license
YangTaeSung/CAU-CapstoneDesign2-SusiDetective
0d3f5752e3082fcaf5efec1a611b763a2ded60ae
ce9e6c2ba44a26f67f54522bc67736b5758e181f
refs/heads/master
2020-08-07T04:11:20.905517
2020-04-01T08:37:41
2020-04-01T08:37:41
213,290,847
0
0
null
null
null
null
UTF-8
Python
false
false
4,137
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ from django.co...
[ "tsy0668@naver.com" ]
tsy0668@naver.com
14870f84a64db46f9127e12a287297baeccee592
a19179d51e494b1fed9eed94e72a2d01b67fcb44
/xylophone/pgw/ConfigurationService.py
6a15b62f0d863535d6708b167aa04b047a174da5
[ "MIT" ]
permissive
Turysaz/xylophone
d4752b926f80fab5350e1e6eb36376f640df6b10
da44b8127aa6b89d6cdb3bdb564c386520b37e22
refs/heads/master
2021-09-11T16:41:31.632019
2018-04-09T20:46:00
2018-04-09T20:46:00
124,000,417
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
# Copyright (c) 2018 Turysaz <turysaz@posteo.org> from configparser import ConfigParser def create_configuration_parser(): configuration = ConfigParser() configuration.read("configuration.txt") return configuration
[ "turysaz@posteo.org" ]
turysaz@posteo.org
06ab084d23697033b94ecb4e90ee9c1e04b11f01
75519d2a9bf55e2d9376ea08a36676948a8b232c
/cores/Registry.py
4271cb1b3e6868b1dde194e897c740ebeb6257e4
[ "MIT" ]
permissive
CGFanTuan/damgteam
9c32d59cbd0ecb9d3acffd9b902b918c40797e14
aec414f084f6ab6ec5897314390605aaa8380d62
refs/heads/master
2020-09-17T00:29:24.832648
2019-11-25T09:51:13
2019-11-25T09:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,119
py
# -*- coding: utf-8 -*- """ Script Name: Registry.py Author: Do Trinh/Jimmy - 3D artist. Description: """ # ------------------------------------------------------------------------------------------------------------- from __future__ import absolute_import, unicode_literals import datetime, time from bin.data.damg ...
[ "dot@damgteam.com" ]
dot@damgteam.com
0bd4b125f0c29da6a25d10ab87d80259130e89d5
bf3bd49d3113db36550808182d2f14a3e6baebf7
/05/lambda01.py
b5aaf16fd92e09178f37cc9f7374f3b65da2382f
[]
no_license
bbangwon/hongong_python
7dac29fea90d79143af1bcfa3f79dd6336906954
05daa3594b858082b97a2c0e8ba73d84fd86b234
refs/heads/master
2020-08-24T16:21:19.934245
2020-02-02T15:01:09
2020-02-02T15:01:09
216,862,896
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
#함수를 선언합니다. power = lambda x: x * x under_3 = lambda x: x < 3 #변수를 선언합니다. list_input_a = [1, 2, 3, 4, 5] #map() 함수를 사용합니다. output_a = map(power, list_input_a) print("# map() 함수의 실행결과") print("map(power, list_input_a):", output_a) print("map(power, list_input_a):", list(output_a)) #filter() 함수를 사용합니다. output_b = filt...
[ "bbangwon.chung@gmail.com" ]
bbangwon.chung@gmail.com
b091664ff5c3a2d99189aa4cbc7b05ab80edba36
83843adddd37a668873f6161f7b2f2907d50911e
/unet_test.py
37bc1b633b1bea55ca99069393651c53c8969c29
[]
no_license
Vishakha6/UNet-Python
efd375e9b1043d82791844c7948c78ffe9f63355
ea0ed4cc5860f683a277f510a0fb5c8a29f42a2f
refs/heads/main
2023-03-14T17:21:33.554395
2021-03-28T19:02:15
2021-03-28T19:02:15
336,354,213
0
0
null
2021-03-28T19:02:16
2021-02-05T18:20:59
Python
UTF-8
Python
false
false
6,809
py
import h5py import numpy as np import PIL import subprocess import os from PIL import Image import sys from tifffile import imread, TiffFile from bfio import BioReader, BioWriter, LOG4J, JARS import javabridge, math from pathlib import Path from multiprocessing import cpu_count def rescale(size,img,mode='uint8'): ...
[ "noreply@github.com" ]
Vishakha6.noreply@github.com
07ad80db0ea602e2772902174ad5d49288838307
a0613d6d00be6e23de8757c347e9c7fff1db6733
/Source_Code/SC9.py
4fea522f2d06d9faccf7f1ccecde50eaaf452b3f
[]
no_license
roseyemelyanova/User_Guide
125da2a13809afc129dbe60c2bbd57ab84a0a4fb
405dfb6f82a9ba55f04153f6ec4218cea65b69a6
refs/heads/master
2020-04-19T17:14:59.195743
2019-01-30T11:10:01
2019-01-30T11:10:01
168,329,496
0
0
null
null
null
null
UTF-8
Python
false
false
4,388
py
from netCDF4 import Dataset import numpy as np import matplotlib.pyplot as plt ''' The code below creates the images for Figures 15 and 2 in the User Guide. Figure 15 is a L0 image created from the S8 band information. Figure 2 is a L0 image using only one detector from the S8 band, and including a ...
[ "rose.yemelyanova@stfc.ac.uk" ]
rose.yemelyanova@stfc.ac.uk
71731d810836000957d4a14c67af9f44ad0a8730
739aa685120a039a02fd0083188b6258800d5018
/app.py
310075a22ef5a981b7a1f3cf6277b9dd0f10d0a2
[]
no_license
uzmabb182/web-scraping-challenge
839018deb1af717d8ab0cb6532bbe72777f1fcb3
74c61c79febfb5331ae81d580aedf0928cf6f5f9
refs/heads/main
2023-06-04T18:16:22.201735
2021-06-25T23:42:52
2021-06-25T23:42:52
379,407,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from flask import Flask, render_template, redirect from flask_pymongo import PyMongo import scrape_mars # Create an instance of Flask app = Flask(__name__, template_folder="templates") # Use PyMongo to establish Mongo connection mongo = PyMongo(app, uri="mongodb://localhost:27017/mars_app") mars_collection = mongo.db...
[ "81127634+uzmabb182@users.noreply.github.com" ]
81127634+uzmabb182@users.noreply.github.com
fb3fbed1966c9bc54315d047365e9a8a546cbd50
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2449486_1/Python/Sedols/b.py
64b55176a8396c1963fbdc7ee779fa270ef59426
[]
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
742
py
import sys fin = open('in.txt', 'r') fout = open('out1.txt', 'w') n = int(fin.readline()) for T in range(0, n): ret = True array = [int(x) for x in fin.readline().split()] m = int(array[0]) s = int(array[1]) board = [] for k in range(0, m): array = [int(x) for x in fin.readline().split()] board.ap...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
8df28996c392f920439cc92dd00251d705607e13
d40cbeeeea6593fe2a85b0fd899de86b5fe8fd4d
/model_to_tensorboard.py
3c492ab46480adec4df8f1360a212348ab5e8b38
[]
no_license
cisco08/tf-graph-freeze
859e835bd179e79de08a50e8ca7e9338803c9255
cf3e9f29ee2704791ea93e761c2fa43e06339180
refs/heads/master
2021-05-21T22:44:10.017827
2018-08-16T19:26:49
2018-08-16T19:26:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
import os import argparse import tensorflow as tf from tensorflow.python.saved_model import signature_constants from tensorflow.python.saved_model import tag_constants import pickle def main(args): model_dir = args.dir checkpoint = tf.train.get_checkpoint_state(model_dir) input_checkpoint = checkpoint...
[ "guilherme.uzeda@santodigital.com.br" ]
guilherme.uzeda@santodigital.com.br
d1fa352f5e8c36914f1ec3d82fde294d99c835e7
90c7b75c018ea55c5f4acb7b600070d35a8ebccf
/newspaper_project/views.py
6d49094181761f282c185e0207884cd48fb2c2bd
[]
no_license
Pulatov-Javlon/news-app
05ee6e697d22ef1402e2e2983d88efc723b42fa6
f9fe961876a8896438f1599a70ce527bf2500035
refs/heads/master
2023-03-23T01:54:10.841967
2021-03-17T05:12:35
2021-03-17T05:12:35
348,587,514
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from django.urls import reverse_lazy from django.views.generic import CreateView from accounts.forms import CustomUserCreationForm class SignUpView(CreateView): form_class = CustomUserCreationForm success_url = reverse_lazy('login') template_name = 'registration/signup.html'
[ "javlon_pulatov@mail.ru" ]
javlon_pulatov@mail.ru
0cc0b4065bd79e77eed87e7d39054cd52e5b5ac1
331bf102de58b30da373c5b7c2d8f4b4b149c9fc
/facebook/postapp/migrations/0013_postcomment_commentreply.py
b5c7040e8daa0a00a3ff6444f9d2f32df0d8efee
[]
no_license
Chandu8817/Thoughtwin
6dfcb077c51bab320895ce0e25554408472491a4
d7b86e8baa57a9eb06606b97d3c99a1d751a16b9
refs/heads/master
2023-04-21T16:17:17.967617
2021-05-05T14:29:40
2021-05-05T14:29:40
344,074,201
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# Generated by Django 3.1.7 on 2021-03-15 07:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('postapp', '0012_auto_20210315_0718'), ] operations = [ migrations.AddField( model_name='postcom...
[ "virendrakapoor45@gmail.com" ]
virendrakapoor45@gmail.com
795a01da9137fe4b28460de6da338a8256919b72
e11ff0e58ec044193d977ea2b11cae46ef30b42c
/Plot1.py
8a21ec8451995d8da1597a34c224ed89369539d6
[]
no_license
AndreiChugunov/telecom
e3d8f570b6b6ff0697bf22eedd3e9199d657366b
e38318d1b372bc00e03e4ac9451c97b15297200b
refs/heads/master
2020-05-26T11:12:46.765427
2017-05-14T19:57:19
2017-05-14T19:57:19
82,476,732
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from scipy.fftpack import fft import numpy as np import matplotlib.pyplot as plt from scipy import signal Fdiscrete = 8e3 t = np.linspace(0, 1, int(Fdiscrete)) A = 2 f0 = 1e3 phi = np.pi / 4 s1 = A * np.cos(2 * np.pi * f0 * t + phi) alpha = 1000 s2 = np.exp(-alpha * t) * s1 Nfft = int(2 ** np.ceil(np.log2(len(s2)))) ...
[ "bloodyavangard@mail.ru" ]
bloodyavangard@mail.ru
ac6372714d0d7a42172ddc02955add3d036d91bc
5026e3a914e6d143357e570ff299897ac7e36138
/1. Jimmy's pie.py
5edb04566b46da45423f671bdde58948c0b1c8af
[]
no_license
Minjun-KANG/Python-learning
e351907e1a79b49ca4aaaee1feddb28ce530d504
ecba2d8a47fe6bedc0a7d52db3bc5b3ba641fb1d
refs/heads/master
2022-12-09T21:52:49.091993
2020-09-12T07:13:29
2020-09-12T07:13:29
294,889,106
1
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
""" 문제에서 제시한 코드 pi = '3.14' #string으로 되어 연산불가 pie.diameter = 55.4 #변수이름에 특수문자 사용불가 pie_radius = pie.diameter // 2 #변수이름에 특수문자 사용불가 circumference = 2 * pi ** pie_radius #pi가 string이여서 연산불가 circumference-msg = 'Jimmy's pie has a circumference: ' #Jimmy's 에서 '를 사용하려면 "" 쌍따옴표 필요, 변수이름에 특수문자 사용불가 print(circumference-msg, ci...
[ "rkdalswns1@kw.ac.kr" ]
rkdalswns1@kw.ac.kr
e913c8716d91ada19978e483c0baa41a1893614c
f1f7e8360f86b11fbb4f1559a414fc561a0e42d5
/Creacionales/Singleton/Python/Singleton_Ingenuo/main.py
edd9c9d3bee94e7ab2d68f0b18d350eea1f2d4f7
[]
no_license
carlos-paezf/Design_Patterns
58c5b18bb5264d265c57f48eea1bc13ab1e93c1a
7ea1d30acd3c2f7375fb7c9f4a9c3b3c8a228c9a
refs/heads/main
2023-08-02T11:42:28.273573
2021-10-04T16:36:10
2021-10-04T16:36:10
384,248,493
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class SingletonMeta(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: instance = super().__call__(*args, **kwargs) cls._instances[cls] = instance return cls._instances[cls] class Singleton(metaclass=SingletonMeta): def some_bu...
[ "carlos.paezf@usantoto.edu.co" ]
carlos.paezf@usantoto.edu.co
af4d4b5c1213abea4e4ba8ffaddad83002f809df
c1aac38b1ee7bf7b8621050bd4837a60744bfd9f
/ay_hw_5/__init__.py
7aa3c0b45b08b3a16f6053b80868ab013a269dff
[]
no_license
callmeorangecat/INF_552
3b0a007a37963fcd57396dab96d3f17ee20b0eb6
cdcaf20e549bfa2d5942f91f2ce3b4a93d1beba9
refs/heads/master
2021-02-17T15:04:32.222974
2020-02-21T20:31:54
2020-02-21T20:31:54
245,105,595
0
1
null
2020-03-05T08:16:29
2020-03-05T08:16:28
null
UTF-8
Python
false
false
90
py
# __author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '10/3/2019 1:32 PM'
[ "aaron19940628@gmail.com" ]
aaron19940628@gmail.com
1c9be258220f972fc0cb44e196a956d1cccd70df
115e22d743882c6b4f9d834c01a52f8c00b14f3d
/optimizers/optimizers.py
94711f42f6478c90491f8165eaaee8c9e3357c23
[]
no_license
bblss123/DIP2021-SSNet
f562c5d5dc8d5ee68d8a5eb01279d863f41bbc50
455c607c693fd2055dddf981f67983045862ffa0
refs/heads/main
2023-07-17T06:31:58.608330
2021-08-22T06:22:17
2021-08-22T06:22:17
374,912,187
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
import torch def init_optim(optim, params, lr, weight_decay): if optim == 'sgd': return torch.optim.SGD(params, lr=lr, weight_decay=weight_decay, momentum=0.95) if optim == 'adam': return torch.optim.Adam(params, lr=lr, weight_decay=weight_decay) else: raise KeyError("Unsupported Op...
[ "bblss123@outlook.com" ]
bblss123@outlook.com
902dfb7519146575070e321be7cb1d14ec655ab8
92409dbea06183af132c6ee191303939f2340060
/Products/Person/__init__.py
7fd3523eaccae3c15612ccff0d424abbd0870453
[]
no_license
v2lab/Products.Person
2275da8f22fd9716413b68a5d9c3ff76427dd58b
caf7d66fbabb1f957fb01a2a13b2c415a83e91a2
refs/heads/master
2021-01-10T19:54:19.762014
2012-11-08T15:11:06
2012-11-08T15:11:06
16,309,347
0
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
"""Main product initializer """ from zope.i18nmessageid import MessageFactory from Products.Person import config from Products.Archetypes import atapi from Products.CMFCore import utils from Products.CMFCore.permissions import setDefaultRoles # Define a message factory for when this product is internationalised. # T...
[ "thefunny@gmail.com" ]
thefunny@gmail.com
91caf03713ddaccf135a689fad6bb63e1f369df3
180911c631321f6768f7ad1ec5c15e00c7b5cf0d
/extrapypi/migrations/versions/21a32f52b0c3_remove_digest_from_release_model.py
f0fbc25f1a878a8293cb4b7e45c6308603f2de0d
[ "MIT" ]
permissive
karec/extrapypi
34a943532409ee321b4924b52de21823c9eb7970
0abc8d3a632628cc7d3a4020fb7c9436787695f9
refs/heads/master
2023-02-26T05:12:36.876363
2018-02-02T15:54:28
2018-02-02T15:54:28
105,063,006
8
4
MIT
2023-09-02T12:27:06
2017-09-27T19:56:00
Python
UTF-8
Python
false
false
595
py
"""remove digest from release model Revision ID: 21a32f52b0c3 Revises: e9ba59cdb7b9 Create Date: 2018-01-02 18:30:24.105748 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '21a32f52b0c3' down_revision = 'e9ba59cdb7b9' branch_labels = None depends_on = None de...
[ "manu.valette@gmail.com" ]
manu.valette@gmail.com
c9c783e1fa71a263175960a59e4ed8c7881b466d
71d3632c19ada5585223d4800f681718af0e1f87
/python/sw/pro/6326.py
e4508e97b2307f8f8a65a886b6c32e563111064c
[]
no_license
hyunwoo-song/TOT
640433b909913098699ff517698e71a1b8661cff
76a8c18af942d9ed3d636fcec35001ae70b6b8d2
refs/heads/master
2023-01-05T08:11:38.858134
2019-08-14T08:53:23
2019-08-14T08:53:23
162,208,482
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
N = int(input()) a= 1 for i in range(1, N+1): a *= i print(a)
[ "gerrar486@gmail.com" ]
gerrar486@gmail.com