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
a7ca9c17124ca0830796ae2a129f45c0f8d02b13
458495651f84b6ef033d084fa6caad15c2154077
/book/views.py
8b57fc286b811c4742788b028b40bfdc25d4fead
[]
no_license
waldemarantypov/sprint17_django_Forms
85c5333d4f39ed998c844b0056193ad0fc20f84a
15061b558a4b5e385d6a538ff89d664f6255223c
refs/heads/main
2023-04-04T21:53:17.876812
2021-04-04T14:52:44
2021-04-04T14:52:44
353,795,486
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from django.shortcuts import render from django.http import HttpResponse from book.models import Book # Create your views here. def show_books(request): randomBooks = Book.objects.all().order_by('?')[:3] context = {"allBooks": randomBooks} return render(request, 'index.html', context)
[ "waldemar.antypov@gmail.com" ]
waldemar.antypov@gmail.com
5497eed0b98d3d44dc25ed39c7376e7800f9fcaa
350cb6c7c7a7842e80aa06ee32bfffc5bc35ee03
/programming/language/python/python-pillow/actions.py
09179eb1424c0d20883d92c49aeb6480d96ba765
[]
no_license
LimeLinux/Packages-2
f41d11343e8b39274ccd85b9850d0f4e76830031
356975df129f2097f12dbed3bc2604cadb5a6c64
refs/heads/master
2021-04-30T23:25:31.121967
2017-01-21T21:46:54
2017-01-21T21:46:54
79,139,920
0
2
null
2017-01-21T21:46:55
2017-01-16T17:02:37
Python
UTF-8
Python
false
false
823
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools from pisi.actionsapi import get #WorkDir="Im...
[ "ergunsalman@hotmail.com" ]
ergunsalman@hotmail.com
712213e339f5e2cbd3b35fc7dbce59681eaeb484
3c968361997cc8555bf69f8dcb2283831ac99832
/pubmed_prepro/train_test_splits.py
a303ab18a02a896f2d53af5c4ab517f90ff903ed
[]
no_license
yellajaswanth/Pubset
01014c4b99ae32561741c14c8c638f60daa36a8a
650bd925c82e11aa44ae7be2dc8c10f4401ec074
refs/heads/main
2023-03-21T07:06:32.503514
2021-03-05T22:01:49
2021-03-05T22:01:49
340,588,695
0
1
null
null
null
null
UTF-8
Python
false
false
1,082
py
#%% import shelve from tqdm import tqdm import json from sklearn.model_selection import train_test_split db = shelve.open('/home/aniljegga1/bigdataserver/pubmed_docs/abstracts/pubmed_small/pubmed.db', 'r') keys = list(db.keys()) all_indices = [] for key in tqdm(keys): if 'bert' in db[key]: num_sents = l...
[ "yellajaswanth@gmail.com" ]
yellajaswanth@gmail.com
ca725619d876cdd4db8f6f079b26a3b27c7f51e9
e16a00326983750985f0d308b2b8cb156d2b7048
/DesignPatterns/Strategy.py
241764acd6a53fea462f8e5394fa31ed73a4ded5
[]
no_license
farabbit/learning_area
ff6b6cee6de5551a58068dd73b34f427903d3973
e553186ececb7ef2149356465044138cd84588c5
refs/heads/master
2020-05-22T22:45:58.115383
2019-09-27T08:23:13
2019-09-27T08:23:13
186,551,926
0
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
import abc """ Traditional way """ # every strategy is as class that inherits base stategy print("Traditional: ") class Strategy: """ Base Strategy """ @abc.abstractmethod def operation(self, context): pass # concrate stategies class StrategyAdd(Strategy): def operation(self, context): r...
[ "noreply@github.com" ]
farabbit.noreply@github.com
1a7c77ff09ef224b7bba1da2aa9c3122854922d9
1c1269eff0161d23845444ce0254d2ed195d6fb4
/app.py
d01b14ee1672d92ed61693f1e504dc1dfedcda9b
[]
no_license
dich1123/tasks
abf5aa9cdf17be0ac245eb27e99e3cc894238ec1
3c9aeccb172c9272f573b5831c8c6b8b0c7f2ba6
refs/heads/master
2021-06-27T01:15:48.574125
2019-11-20T11:11:09
2019-11-20T11:11:09
222,911,800
0
0
null
2021-03-20T02:13:02
2019-11-20T10:29:34
Python
UTF-8
Python
false
false
1,756
py
from flask import Flask, render_template, url_for, request, redirect from flask_sqlalchemy import SQLAlchemy from datetime import datetime app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db' db = SQLAlchemy(app) class Todo(db.Model): id = db.Column(db.Integer, primary_key=True) ...
[ "cherenkov1123@gmail.com" ]
cherenkov1123@gmail.com
1daeac4ecb17e7a2f26115ace37be515b4198865
897cb969990a5ae319547fd572a262d58a1e33a8
/scripts/get_lumi.py
cf7754d90251baeaf51cecd347b356800a3c9aac
[]
no_license
KIT-CMS/Excalibur
cc5a028bf6ad29a636536c3dfc0ebdc0eacfbbb7
8c27e2fdd7b7d5a0439f6e63be2299b16f5291c0
refs/heads/master
2023-07-24T05:28:08.156998
2023-07-17T15:29:15
2023-07-17T15:29:15
29,307,758
1
5
null
2023-05-24T11:41:22
2015-01-15T16:59:28
Python
UTF-8
Python
false
false
4,646
py
#!/usr/bin/python # standard library imports import os import sys import json import subprocess import argparse import errno # third party imports # application/library imports CLI = argparse.ArgumentParser( description="Get/Calculate integrated luminosity for given runs", epilog="This tool uses the brilcalc suite...
[ "max.fischer@kit.edu" ]
max.fischer@kit.edu
4979767ebde362092d71c72285624162e5330f9b
ba269272596a2427d46c21d3cebe0270775557c7
/setup.py
0b9e961c8d7687192ef0bc78f6f9eccb8dd148e7
[ "MIT" ]
permissive
renatoliveira/fixer-cli
e5e65177e7af38c5f478c181f2f151292ca716ed
d1a7a9d96fbc28392f600342e201f3098a6aa94a
refs/heads/master
2020-12-02T07:40:33.844985
2017-07-22T18:31:28
2017-07-22T18:31:28
96,712,040
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
"""Setup module""" from setuptools import setup def readfile(filename): """Get readfile""" with open(filename, 'r+') as readmefile: return readmefile.read() setup( name="fixer", version="3.1.0", description="", long_description=readfile('README.md'), author="Renato O.", url="",...
[ "ren811@gmail.com" ]
ren811@gmail.com
de2749d93e0cc76fcd54f2d8c178db2908200109
b92db3e3eae34b69dce099f78ebe8c0446439faf
/models.py
30e97d1a6a4e3ae8d3438702123b4f5d29f413e0
[]
no_license
gayathri44/Portfolio-project
06834ab0ca261d96f56e80809c4c138c1332dd69
260bf23700888fc18fcd0d808d57dd0d8d6650f9
refs/heads/main
2023-03-30T22:24:46.645209
2021-03-29T17:39:27
2021-03-29T17:39:27
352,729,848
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from django.db import models class Project(models.Model): title = models.CharField(max_length=100) description = models.TextField() technology = models.CharField(max_length=20) image = models.FilePathField(path="/img") # Create your models here.
[ "noreply@github.com" ]
gayathri44.noreply@github.com
491e15f5ff3feba66ba8f3a0cb4ca00a15def0fe
58b37bcd7f406034274bfaf64fafe446ca7d07bd
/Asset_Management/Asset_Management/settings.py
6822e9cc1a8f9552726787cca43a7ce874115c1c
[]
no_license
jmarigondon/django-repo
cfb06c6e18f85334f15150085df6748633590d56
48a8271c76fca27a3a095a19586d79d684afe9c2
refs/heads/master
2021-01-20T12:44:59.729698
2013-10-15T11:04:48
2013-10-15T11:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,317
py
# Django settings for Asset_Management project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. ...
[ "jbmarigondon@gmail.com" ]
jbmarigondon@gmail.com
869e9c59cdc059f3f26e0773ffa1001df5e61962
ad7e79fd9538dede52604603dde6a014a95ce425
/urls.py
805049b0f48b475a5e5771c4cffbfcfdad869490
[]
no_license
coco-ty/Course_Registration_Automation
b66ebf3ac19a0a7e6d1d1aafeb2afa3350b936ab
80fab09af70d67e74896f76f233601bd7b2077e2
refs/heads/master
2021-01-10T13:15:01.923534
2015-10-10T06:30:57
2015-10-10T06:30:57
43,997,091
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from django.conf.urls.defaults import * urlpatterns = patterns('main.views', (r'^$', 'home'), (r'^login/$', 'login'), (r'^logout/$', 'logout'), (r'^process/?$', 'process'), (r'^authenticate/?$', 'authenticate'), (r'^rate/?$', 'rate'), (r'^sites/$','sites'), (r'^sites/(?P<url>.+...
[ "eliz.clair914@gmail.com" ]
eliz.clair914@gmail.com
6ad6148e7378b35ec5dbeeb2a493dbad852d7119
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/61f29ff81b664630acba807a6f4f14e9.py
b34cc9defb4248705933ec5d41f5347dc783be44
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
286
py
# # Skeleton file for the Python "Bob" exercise. # def hey(what): if what.upper() == what and any(c.isalpha() for c in what): return "Whoa, chill out!" if what != '' and what[-1] == '?': return "Sure." if len(what) < 7: return "Fine. Be that way!" else: return "Whatever."
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5c33f8c1cfcbce6f594edaa5d44c32aebcdf7169
0fe2847bf222a3df0847a08de244000207514d05
/src/seabreeze/pyseabreeze/features/introspection.py
3422b402411c9583f102c62d5d08ac6c55d658e4
[ "MIT" ]
permissive
asenchristov/python-seabreeze
3656161eb2bf2be082839700f021a5957b81f00b
573bae1d9de4e819611b2f5b9c66f98d7d0fe066
refs/heads/master
2022-12-01T09:39:46.079901
2020-08-18T09:07:30
2020-08-18T09:07:30
288,403,712
0
0
MIT
2020-08-18T08:49:58
2020-08-18T08:49:57
null
UTF-8
Python
false
false
669
py
from seabreeze.pyseabreeze.features._base import SeaBreezeFeature # Definition # ========== # # TODO: This feature needs to be implemented for pyseabreeze # class SeaBreezeIntrospectionFeature(SeaBreezeFeature): identifier = "introspection" def number_of_pixels(self): raise NotImplementedError("imple...
[ "andreas@poehlmann.io" ]
andreas@poehlmann.io
cf72bc593892466402f683cff40798c3ae48bb49
5c13b223102d2f7559f2855eb6b8716de0708638
/pythonCollections/tuple/tuple.py
3d197cc7541880a3cd8938b71f2598bf122184ab
[]
no_license
Akhilvijayanponmudy/pythondjangoluminar
c0ab8e9ea1f2ef1ba034732de15b479d9f7a24da
1fc73790c530518f4a747ed6a4fea3bfbe27687e
refs/heads/master
2023-04-01T18:37:35.112270
2021-04-01T03:24:08
2021-04-01T03:24:08
328,891,456
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
#define() #store different type of data #insertion order preserved #duplicate allowed #tuple objects are immutable(not support update)
[ "akhilvijayanponmudy@gmail.com" ]
akhilvijayanponmudy@gmail.com
a3166ac3d5064df4705a84f1e7ae3c94963ca5bd
b55801df5a6f4fe8abfbd0bb61b92906cbf2a510
/pyLTM/pyltm/learner/mixed_clique_sufficient_statistics.py
8a8e2f6c68b7fd2a1e8bb6f0072d30275d2902ec
[]
no_license
rezaarmand/ltvae-release
51735fb12a33c685cb0198909355025cc84736f0
3a26e276e2a57363c0fb84cc1f8e492ff53bb5db
refs/heads/master
2022-02-18T10:16:04.736113
2019-09-11T02:23:26
2019-09-11T02:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,416
py
''' Created on 12 Sep 2018 @author: Bryan ''' from .sufficient_statistics import SufficientStatistics from pyltm.model.potential.cgpotential import CGPotential from pyltm.model import JointContinuousVariable, CGParameter import collections import numpy as np from pyltm.model.parameter import cgparameter from pyltm.mod...
[ "eelxpeng@gmail.com" ]
eelxpeng@gmail.com
64e6333fe55a93a5646cccf205ff50466adc18b0
8ed27d2b651e07d7d9cb489abe9686b7d158741e
/tasks.py
ceffdc72dbddf8e1f82cfa923555c1c7ddb68a3c
[]
no_license
Seven4ME/tgBot
6874b887849b0ae6ecceb6fae62b561d199dd1a3
1f51e41fd0c5c826e315c4f1f5e01b428b1cd528
refs/heads/master
2022-12-16T09:03:35.252717
2020-08-26T21:11:36
2020-08-26T21:11:36
163,940,738
0
0
null
2022-12-08T01:53:49
2019-01-03T07:53:21
Python
UTF-8
Python
false
false
155
py
from celery.schedules import crontab # https://api.telegram.org/bot1215880984:AAHuLxPx8vEuOVPIznPhOWBCKkBFUlZbKgs/sendMessage?chat_id=194650240&text=Hi
[ "kobun2341@gmail.com" ]
kobun2341@gmail.com
b620e42042438f0ddf82969a5e2f05dcf02a8e23
3922c05b9434bb5a96f7833a987c50c8e3e29107
/news/admin.py
6881fe98a61e98e3099d1a8b53bfb646d84da9fa
[ "MIT" ]
permissive
jasonmuchiri/moringa-tribune
e7769dca9aa2e7a9cdc62be56c3071104ba30f33
ceabe0cf9cc136b6eb5072253aef09f43bea7040
refs/heads/master
2020-05-23T23:19:55.111831
2019-05-18T21:32:44
2019-05-18T21:32:44
186,990,384
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from django.contrib import admin from .models import Article,tags # Register your models here. class ArticleAdmin(admin.ModelAdmin): filter_horizontal = ('tags',) admin.site.register(Article,ArticleAdmin) admin.site.register(tags)
[ "jasonmkinyua@gmail.com" ]
jasonmkinyua@gmail.com
80cff87d5c4547d5aa8707328225342560d7d397
7620eb38a3744d33842ef867a4dda40748f370ba
/src/apiwrappers/exceptions.py
0537acd446dca141a49012ba99dcb5bb4827d2f4
[ "MIT" ]
permissive
unmade/apiwrappers
f0f57d2f2d8a02ee9de2d52575b3e9b48809abfa
eb004fd86cbbc1d468030544472851a262b196dc
refs/heads/master
2022-09-10T10:27:23.233400
2022-01-15T15:27:39
2022-01-15T15:27:39
231,653,904
18
1
MIT
2022-08-29T07:24:51
2020-01-03T19:43:47
Python
UTF-8
Python
false
false
220
py
class DriverError(Exception): """Base class for driver-specific errors.""" class ConnectionFailed(DriverError): """A Connection error occurred.""" class Timeout(DriverError): """The request timed out."""
[ "lesha.maslakov@gmail.com" ]
lesha.maslakov@gmail.com
6132ba796a9e7e8e7a7f159210569d88c3858189
eda48a0bb8322bb5bb107cea8324aafaf105bf46
/SVNDev/comments/setting.py
57e88967a9aeb8bb9c2c471c717f9eda2ae6cfe3
[]
no_license
sougannkyou/pyWorks
c171dfc2c213bd7d75dc168b987eb96cbcbfd7e1
2402b3da4521a17d7f828504c0745ff55cb031be
refs/heads/master
2020-04-04T06:23:28.678959
2017-05-02T09:06:04
2017-05-02T09:06:19
48,786,947
1
3
null
null
null
null
UTF-8
Python
false
false
377
py
# coding=utf-8 # MONGODB_SERVER = '127.0.0.1' # MONGODB_PORT = 27017 # REDIS_SERVER = 'redis://127.0.0.1/15' MONGODB_SERVER = '192.168.16.223' MONGODB_PORT = 37017 MONGODB_SERVER_DIRECT = '192.168.149.39' MONGODB_PORT_DIRECT = 37017 REDIS_SERVER = 'redis://192.168.187.55/15' CONFIG_ID = '37556' # 全站爬虫配置ID OK_PER...
[ "syq314159" ]
syq314159
338c46e909035b0796f32985fc0a5b1bd0f7175c
2438cb198fc03a1de169e87a711692045df03ccd
/coffee.py
223762c681b226d47103c27f06908dabfaa7fa38
[]
no_license
Om1627/corrcoef
7138db6aa6f425af21f53ad4b01b8b353a33f9d9
ab2d088344ec078be851fe51df259174d64876ca
refs/heads/main
2023-02-21T22:18:55.323855
2021-01-28T09:05:09
2021-01-28T09:05:09
333,700,185
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
import pandas as pd import plotly.express as px import numpy as np import csv def getDataSource(data_path): Sleep=[] Coffee=[] with open(data_path) as csv_file: csv_reader=csv.DictReader(csv_file) for row in csv_reader: Sleep.append(float(row["Coffee in ml"])) ...
[ "noreply@github.com" ]
Om1627.noreply@github.com
557c96972141d1a75b7f45e4289a642a6390440e
08dfaf714830a6310742dcd50848790d595e838e
/位运算/code_01_EvenTimesOddTimes.py
c16881e90ab21aa241caa096e317d2dd06fa949c
[]
no_license
Tokyo113/leetcode_python
d9e0fb96a76efaadcec7aad08f5ef542d898d434
e86b3fb26aef1cf63727e3e5c9fd4ddc9bedb7f1
refs/heads/master
2020-08-10T15:36:10.364714
2020-04-13T08:28:53
2020-04-13T08:28:53
214,369,187
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
#coding:utf-8 ''' @Time: 2019/12/4 21:54 @author: Tokyo @file: code_01_EvenTimesOddTimes.py @desc: 1.一个数组中有一种数出现了奇数次,其他数都出现了偶数次,怎么找到这一个数 2.一个数组中有两种数出现了奇数次,其他数都出现了偶数次,怎么找到这两个数 ''' def findOddTimes1(arr): eor = 0 for i in arr: eor = eor ^ i return eor def findOddTimes2(arr): eor = 0 for ...
[ "21810179@zju.edu.cn" ]
21810179@zju.edu.cn
39c078ee69d1098e1c91f37879882232c475e2f0
59b0ebc4249f20edd0e87dc63784c6e8c138c7fd
/.history/fibonacci_20180603232558.py
0f355ae930f9f8d834a1e6a158738d3573e77163
[]
no_license
Los4U/first_python_programs
f397da10be3ef525995f3f220e3b60012a6accaa
c3fc33a38c84abd292cb2e86de63e09434fc7fc4
refs/heads/master
2020-03-22T08:09:40.426118
2018-07-04T17:17:58
2018-07-04T17:17:58
139,748,883
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
i = 0 j = 1 k = 0 fib = 0 user_input = int(input("How many numbers print out? : ")) for fn in range(user_input): #if i < 30: print('{0:2d} {1:>10}'.format(fn, fib)) #print(fib) fib = j+k j = k k = fib #else: # print("3")
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
604d6590d6ef3fce8b32b65c1c5a36acd2fa899e
4bbc78dfcb36bad90f4b5a4d1a1567bc820f22df
/Flaskweb1/venv/bin/pip3.6
6947d567b45a8cb1b6a17c1892873c702ec5d1ec
[]
no_license
Ernestbengula/python
38d09dad271cbc966eca65804ea7bcee2c248915
168d385e3258cc16db811cf34af1b269d7f055c7
refs/heads/master
2020-07-24T03:34:18.863179
2019-10-30T12:34:21
2019-10-30T12:34:21
207,789,628
0
0
null
null
null
null
UTF-8
Python
false
false
402
6
#!/root/PycharmProjects/Flaskweb1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.6' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.e...
[ "ernestbengula2017@gmail.com" ]
ernestbengula2017@gmail.com
73a74888c6116f3919e354c714885223f569f7b4
1c6299a4b63264e4722c1230ddc6fbd1e8795040
/Tareas/Proyecto/Proyecto.py
5cad493665fece58c650333c82b1d85fef9bfc7b
[]
no_license
RMACR7LP/Programacion1
a7f930c4c5881af42f3e24c96fb77d38a0b19cee
f207da58657309f1de999e11d8d25f6722f2a667
refs/heads/master
2021-01-02T23:01:13.209506
2017-11-12T17:56:47
2017-11-12T17:56:47
99,440,310
0
0
null
null
null
null
UTF-8
Python
false
false
19,914
py
#-*- coding:utf-8 -*- from Tkinter import * import ttk import datetime import json import subprocess import sys import os import socket import reportlab from PIL import Image, ImageTk from reportlab.pdfgen import canvas from reportlab.lib.colors import PCMYKColor from reportlab.graphics.shapes import Drawing from repor...
[ "cristianjalvarez123@gmail.com" ]
cristianjalvarez123@gmail.com
6b1337a8db31e35ab1f588c870e7418838a2eb92
3d45daee8b81777a25d54456659d73d58b9ce81e
/patient_main.py
b8d8fe64df98631c7f89f814e55cd4c008db2305
[]
no_license
benrprince/ref-range-test-patients
480016f78ceda9a02d203db218675b72fd49f426
9757a6fc38c6596b24effa73d6207d39e7c643db
refs/heads/main
2023-06-23T18:36:50.883701
2021-07-02T12:44:12
2021-07-02T12:44:12
308,037,927
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
# Author: Ben Prince # Version: 1.2 # Description: Used to figure out the number of test patients needed # based on the sex and age ranges given in the DCW import patient_sort as ps import xlwt import openpyxl # TODO: Update xlwt to use openpyxl....currently works, but pulling in redundant library def pa...
[ "noreply@github.com" ]
benrprince.noreply@github.com
5b9ed6ed0530e8623a9bbac53c115fadbaf8fb92
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_recesses.py
a34a6d1f64dbe47f008faa9c0c762b260b8b828f
[ "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
224
py
#calss header class _RECESSES(): def __init__(self,): self.name = "RECESSES" self.definitions = recess self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['recess']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6d76d5cccf34b4397840d9054661e6b099cfab82
12bfb5bcf0c1fcf4ae0a09b39bb180d6d2f27236
/manage.py
11a8c800f2676621c04324f836e1331b9ca4dcc7
[]
no_license
NonsoEz/Food_Vendor_App
b5e52371069595b129a4be4a065ae0f828225b86
550b785fe182a73f9ec85f033f9f1ae0b29f3325
refs/heads/master
2022-11-10T03:08:30.906210
2020-06-14T11:36:46
2020-06-14T11:36:46
272,182,164
0
0
null
null
null
null
UTF-8
Python
false
false
634
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', 'daisy_delights.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "itsnonso97@yahoo.com" ]
itsnonso97@yahoo.com
f7877e8532fbb6c049c1839b2d061e9e511a9704
380b3102e143a11ecd89f5f2eeced8532b8c431e
/Week_02/homework2.py
9fa4686c8f386443b55201bf48c2599d7541152d
[]
no_license
yoyoshuang/algorithm012
9fe1672ac5cb8d4abe515b7e02cf8b436c366b56
505caabc895999bb12e9ff7b42013b4af29655e4
refs/heads/master
2022-12-14T13:17:51.115992
2020-08-30T08:39:31
2020-08-30T08:39:31
280,764,795
0
1
null
2020-07-19T00:41:25
2020-07-19T00:41:24
null
UTF-8
Python
false
false
954
py
# N叉树的层次遍历 """ # Definition for a Node. class Node: def __init__(self, val=None, children=None): self.val = val self.children = children """ class Solution: def levelOrder(self, root: 'Node') -> List[List[int]]: if root == None: return [] outs = [] this_leve...
[ "haoshuang@rd.netease.com" ]
haoshuang@rd.netease.com
6bd5fb8e2cc28159a3d0726aa5efc0e21295b713
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/contour/_textsrc.py
43bd0d62ed17e92c16a553b953658aaf6d67f0be
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
393
py
import _plotly_utils.basevalidators class TextsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__(self, plotly_name="textsrc", parent_name="contour", **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, e...
[ "noreply@github.com" ]
hugovk.noreply@github.com
3838634472d2c87a52af758b035cb3239c9a2c41
2414312a385f668efddefa8b690f94ddf81f3abd
/SD_DATA/PRISM/PRISM_regrid-0.25_NRT-vars-etopo_US.py
20e2429d87bd98d0de5249efc19d1e0bc969ce3d
[]
no_license
ziwangdeng/DL_downscaling
ab04453c0ceb8fffee8f133b468ed823040c6626
563f3813a5e657d83cf99cd213d96162954fcb37
refs/heads/master
2022-07-19T08:08:26.320651
2020-05-13T00:39:12
2020-05-13T00:39:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,868
py
''' Downscaling pre-rpocessing Subsetting and re-griding near real-time PRISM. TMAX/TMIN/PCT separate hdfs ''' # general tools import sys from glob import glob # data tools import h5py import numpy as np import netCDF4 as nc # custom tools sys.path.insert(0, '/glade/u/home/ksha/WORKSPACE/utils/') sys.path.insert(0,...
[ "yingkaisha@gmail.com" ]
yingkaisha@gmail.com
e2043a4f3f9bfbda10f9e715da267f997ce686b1
84579f545dd8b62e2b3a4be8180078641a3000a7
/manage.py
e6a3a38ffeeae91d089af92fd263bf91c11406f3
[]
no_license
Prosper033/happyday
f46ac3a514337c73dbc5d41442ac09bef628025c
4c0b9c07f141216f7199b2b58483d67b37fbdb18
refs/heads/main
2023-08-29T15:09:17.370543
2021-09-15T13:15:27
2021-09-15T13:15:27
406,769,225
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'happyday.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "idowuoluwaseun033@gmail.com" ]
idowuoluwaseun033@gmail.com
9e11e55d93f9595fd71b03c927ce27548ea7f34c
28afc0b162388258f58382068f4496cb417879aa
/utils/request.py
85bfe51573a14fe97dc1f3ad842c09cfe01f9d86
[]
no_license
a1wen/bmtest_sample
395c94191fd53687df55b70585c5570045da14cb
9cda82198dbecfb56c401f16b4ed7a08d9a1b83d
refs/heads/master
2022-12-15T07:19:30.171868
2019-07-12T15:43:58
2019-07-12T15:43:58
196,605,164
0
0
null
2022-12-08T05:52:34
2019-07-12T15:42:38
Python
UTF-8
Python
false
false
795
py
from typing import Optional from pydantic import BaseModel class Request(BaseModel): msg_id: str first_name: str surname: str patronymic: Optional[str] birth_date: str class ByMsisdnRequest(Request): msisdn: str class ByPassportRequest(Request): series: Optional[str] number: str ...
[ "artem.chuprina@inplatlabs.ru" ]
artem.chuprina@inplatlabs.ru
d190d2073bc71b201cd5a4cdf229f13d5ed9a0b0
43b5d7bdcc9ec7a7b38e25ce67d0a3a618362275
/netdata/workers/worker_storage.py
c8bb6340fb8f56a87dc7c9535ace93fd81a71298
[ "Apache-2.0" ]
permissive
mincode/netdata
c8b64d1ab99601823fba2d3c9d70b4960cd26ac9
4369a3bfb473509eff92083e03f214d5b75f6074
refs/heads/master
2021-03-22T04:33:04.076065
2018-07-27T19:54:48
2018-07-27T19:54:48
113,805,799
0
0
null
null
null
null
UTF-8
Python
false
false
2,139
py
# Storage for a table of worker instances from netdata.workers.json_storage import JSONStorage class WorkerStorage(JSONStorage): """ Table of worker instances stored in a json file; consisting of a list of pairs {'ip': ..., 'instance_id': ...} """ _instances_label = 'instances' # label in the d...
[ "manfred@minimair.org" ]
manfred@minimair.org
35f47b09947f8ea4d901c650b0b88fab65047c57
fb9b0f9c6fb593dfb8e23ee04454f8c0a37cb15d
/other/ppmatrix.py
a84ab5fee6b75a0fd18b3583feba864d84ed27df
[]
no_license
dmishin/dmishin-pyscript
624f1efda94916780bf25c6bd554c75f43936170
494433c26daf826f4b914f81ceaa69dc2f35c350
refs/heads/master
2021-01-02T22:52:09.917804
2010-08-28T20:11:11
2010-08-28T20:11:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,710
py
from itertools import imap, count def mul(m1,m2, lazy=False): if m1.width!=m2.height: raise ValueError, "Matrix sizes do not match" k_range = range(m1.width) def sumat(i,j): return sum([m1[i,k]*m2[k,j] for k in k_range]) if not lazy: return mtx(m1.height, m2.width, sumat) el...
[ "shintyakov@gmail.com" ]
shintyakov@gmail.com
85c2a8dc30a8c4d16a1497f4bad44935f7ca19d2
81485dc96f7539730bee976c7e8e3d5929c3df77
/ProjectEuler145.py
a3fd109802113ff296456c4d9fc9e471357fb859
[]
no_license
zfhrp6/PE
6462621f5cb3812c7d8d9f591ad66382490661e2
4e64f6549bd50fb4c1ee5f580a76764935e35360
refs/heads/master
2020-04-05T13:45:56.936758
2015-12-11T08:29:50
2015-12-11T08:29:50
4,495,623
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ project euler problem 145 ある正の整数nについて、[n + reverse(n)]が奇数のみで表されるようなnが存在する。 えば、36 + 63 = 99, 409 + 904 = 1313 のように。この性質を持つ数を、reversibleと呼ぶことにする。 つまり、36, 63, 409, 904はrevesibleである。 先頭の0はnでもreverse(n)でも許されない。 1000未満には120個のreversibleな数が存在する。 10億(10^9)未満では、いくつのreversibleな数が...
[ "coricozizi@gmail.com" ]
coricozizi@gmail.com
4df437bfa66912a489fbf5bbae79735164228493
e10f72609ffd7c156303640aad26512f91e5b341
/decode-string.py
fb86f5dd4eb14168aca4a8059adac6ac9b10ea95
[]
no_license
CSLSDS/leetcode
c26e514b8ee47a59d2e71e9a4f5cda3e66538d41
6d00429d989c9ba05e2e4a682b3e2d82a8920aca
refs/heads/master
2022-12-06T14:51:06.192262
2020-08-28T17:50:50
2020-08-28T17:50:50
291,098,618
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
# https://leetcode.com/problems/decode-string/ from collections import deque class Solution(object): def decodeString(self, s): """ :type s: str :rtype: str """ stack = deque() # stack for stashing strings and scalars in op order scalar = 0 # initialize neutr...
[ "lambdadatasciencelearning@gmail.com" ]
lambdadatasciencelearning@gmail.com
da925a687a4a6763196e300aa014cbd8f853cc0e
6cb5afbe80fe07f837848f56c1c0cc194534155c
/전기버스2.py
0a419d679149cd2b9f819aedda22935b4e3d956d
[]
no_license
KoMinjae/codingtest
9073dbd094e0675c0f3cac35085703d8d1c546f6
160dfc5f73cad9d1d00a9a497550ab34cdf31a32
refs/heads/master
2022-12-19T14:11:00.972578
2020-09-25T03:08:16
2020-09-25T03:08:16
285,505,309
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
def solution(N,bp): answer = list() battery = bp[0] stack=list() stack.append((1,battery,0)) mintemp=999999 while stack: position, nowbattery, time = stack.pop(0) #백트래킹 조건 if time <= mintemp: if position == N: answer.append(time) ...
[ "alswovv@naver.com" ]
alswovv@naver.com
dfda12ed6eaa7357e9e486024948bcda5cbc5a23
e2a81e1e03a1deeaad9d9032e076a6e8327f65f7
/JSS-django/api/serializers.py
b91862e583884414f7a0c4643eba36c9d2be3563
[]
no_license
sirpqp/SubjectService
529960a6c3172386e3d2d8d1e942dff4affcb72a
a47916a61c9e23dff55617acb878859a07b18210
refs/heads/main
2023-07-06T15:35:46.968783
2021-08-24T01:24:55
2021-08-24T01:24:55
396,760,009
0
0
null
null
null
null
UTF-8
Python
false
false
5,090
py
from .models import * from rest_framework import serializers from robot.models import Dialog from django.db.models import ObjectDoesNotExist class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = '__all__' # class RoleSerializer(serializers.ModelSerializer): # c...
[ "337236126@qq.com" ]
337236126@qq.com
76353eeb5636f6bbec22d1117dfa467ba584418d
4ea26bf3ec34b8dc6e495372e0de143541b09ccb
/inventory/models.py
efce5773ca7427baffe05f36c84ef631164c0372
[]
no_license
mahesh2019/inventoryms
232e4bce9c5579c777d5e1cd45e2b775e28b84c0
67d104ec6f612a43262bf4e4dd32fce7fb6a36a3
refs/heads/master
2020-04-12T09:52:14.263635
2018-12-19T09:53:30
2018-12-19T09:53:30
162,411,118
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from decimal import Decimal class Product(models.Model): name = models.CharField(max_length=200, blank=True, null=True) cetagory = models.CharField(max_length=200, blank=True, null=True) supplier = models.CharFie...
[ "mahesh281420@gmail.com" ]
mahesh281420@gmail.com
07e944922bc77134b25da05b26ed94d7f5a4cc15
7fa4d48dfded9bcd5d9c113b38cd28c4b644f2eb
/Project 3: Data Warehouse/etl.py
c00815f8d3eb3da5d42060492bda15c641e225f2
[]
no_license
MalvikaBodh/Data-Engineering
8d322e1beba36d1c42aa6da53d67eac4ec093183
208de8cf576e8b28be6783270156d6a2a54a2166
refs/heads/main
2023-06-21T12:09:05.081108
2021-07-25T03:28:14
2021-07-25T03:28:14
350,126,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
import configparser import psycopg2 from sql_queries import copy_table_queries, insert_table_queries def load_staging_tables(cur, conn): """This function will load our staging tables and we're using copy command to load staging data from s3""" for query in copy_table_queries: cur.execute(query) ...
[ "noreply@github.com" ]
MalvikaBodh.noreply@github.com
e5e539147b37966eaf9509f87efb5d4f05343e42
860518269a26868520a441c0f82c6a87a9fa78e9
/find_and_replace_pattern.py
872a3e58f8db7461f97f5c545e55b0cedbb21e74
[]
no_license
aliabbasrizvi/leetcode
99e41b924a89fe01302e1c3d623927b792005e46
4c33a022984bb6e711d0def1bb9c47a5c22b3b29
refs/heads/master
2021-06-30T10:01:29.218059
2020-12-21T01:06:32
2020-12-21T01:06:32
49,443,725
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
import collections class Solution(object): def build_pattern(self, word_for_pattern): char_to_position = collections.OrderedDict() for idx, char in enumerate(list(word_for_pattern)): if char in char_to_position: char_to_position[char].append(idx) else: char_to_position[char] = [id...
[ "ali@optimizely.com" ]
ali@optimizely.com
1fc637baacfe15ec87147a5c262442e79ca08358
34cf89f633059d0e5f2a444992c23278232aa3e3
/stix2/test/test_hashes.py
40ace38fa6c866669dbc64b8f40ba2db61e74ed4
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
oasis-open/cti-python-stix2
e578fe17e42216bf2635781511be8d0b8612fcc0
f1c1632f3aa916cfa30b0b3625200f01c12dc5ed
refs/heads/master
2023-08-08T17:40:47.992285
2023-06-06T17:51:34
2023-06-06T17:51:34
81,590,907
336
112
BSD-3-Clause
2023-08-17T17:41:02
2017-02-10T17:50:12
Python
UTF-8
Python
false
false
2,887
py
import pytest from stix2.hashes import Hash, check_hash, infer_hash_algorithm @pytest.mark.parametrize( "hash_name, expected_alg", [ ("md5", Hash.MD5), ("md6", Hash.MD6), ("ripemd160", Hash.RIPEMD160), ("sha1", Hash.SHA1), ("sha224", Hash.SHA224), ("sha256", Hash.S...
[ "chisholm@mitre.org" ]
chisholm@mitre.org
66f7a5c960b0854fe94b6ba044edbb41cf14e1de
15a28c177721b62aa9976a2d61496b5ddc9c91a9
/setup.py
85cd2f6cd9f31448184929216e764e16a4804ec0
[ "MIT" ]
permissive
haywse/feems
404e4cf36da4acee0f425d985070977ac33ffd35
4fb3fa84470a2b87021f929ddc36703e7a2e2c4a
refs/heads/main
2023-04-18T10:01:57.137826
2021-04-28T03:12:19
2021-04-28T03:12:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
#!/usr/bin/env python from setuptools import setup version = "1.0.0" required = open("requirements.txt").read().split("\n") with open("README.md", "r") as fh: long_description = fh.read() setup( name="feems", version=version, description="Fast Estimation of Effective Migration Surfaces (feems)", ...
[ "jhmarcus@uchicago.edu" ]
jhmarcus@uchicago.edu
3a4aadc1e308d89e263727e617f4f157e27c8146
0ffe9d5c109d00cd9ca5eb25de3b0c6d963eb8d8
/venv/bin/easy_install-3.8
b7e3356679aae19589e816bbbe25416fbeb0e1d9
[]
no_license
Brunomleguizamon/Flask_ToDoList
9b6adb7236cce8cdfc00c4f132ddade19ed5f9cc
4f0dbb5f343adc8559a19058867e1953647f488d
refs/heads/main
2023-08-25T20:36:48.985344
2021-10-20T11:04:27
2021-10-20T11:04:27
418,869,594
0
0
null
null
null
null
UTF-8
Python
false
false
298
8
#!/Users/Bmleguizamon/Desktop/workspace/Flask_Projects/Flask_ToDoList/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "brunomleguizamon@gmail.com" ]
brunomleguizamon@gmail.com
c8ceb205029b263e2dcc73b72e5789d4fb2fb9fc
bc7f4a51dc8e98a6efb390949316c5d6ea9b18a2
/devel/lib/python2.7/dist-packages/mavros_msgs/msg/_GPSRAW.py
cae8c0300eddf1c7613fa784634add8ab00ec2ff
[]
no_license
JethroPhuah/Catkin_ws
952c22bbb8c72aecf7cdfe71a89f69b6bb0d7404
cdbf9f25dc5f2ce83cf1bc32905bbe29c60786cd
refs/heads/master
2023-06-30T23:28:02.816129
2021-08-05T10:25:21
2021-08-05T10:25:21
388,732,671
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
/home/jethro/catkin_ws/devel/.private/mavros_msgs/lib/python2.7/dist-packages/mavros_msgs/msg/_GPSRAW.py
[ "jethrophuah@gmail.com" ]
jethrophuah@gmail.com
dd167235a75d178c486cf5e338db8bdff5431bd2
12a12cd19b25352b57aa3729189ebfee8574c62a
/testse2e/common.py
58e6d940a6e0ecef3d93c5966d4c576dc4c09065
[]
no_license
Patrik-Stas/InstabotPatrik
b40fbff68f149bee7bf76e52fa5b71679b234e7c
69d015c690186cbd8aec844425741a5b5252c279
refs/heads/master
2020-03-17T22:54:08.724835
2018-04-11T06:35:13
2018-04-11T06:37:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from testsUnit.context import instabotpatrik import os def get_path_to_file_in_directory_of_this_file(file_name): this_directory_absolute = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) return os.path.join(this_directory_absolute, file_name) def get_config(): return instabotpatr...
[ "patrik.stas@concur.com" ]
patrik.stas@concur.com
bab1e109f5044efb3f4da3a62fb4d9a403a5c094
dfda488f07064cf4545843aa18da00a2631b2299
/font-caveat/setup.py
c9c4fd6bedb6f3da39f667d09b381ccda6b3bf4c
[]
no_license
castrofernandez/fonts-python
38f8301f7ad82f16c07a3e80b97c4e485944b0ae
f8593844538a6239f06f23e304b8af0a532d28bd
refs/heads/master
2022-11-13T12:47:21.828240
2020-07-02T17:42:54
2020-07-02T17:42:54
274,605,596
0
0
null
2020-06-24T07:36:09
2020-06-24T07:36:08
null
UTF-8
Python
false
false
2,506
py
#!/usr/bin/env python """ MIT License Copyright (c) 2020 Juan Castro Fernández Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use...
[ "castrofernandez@gmail.com" ]
castrofernandez@gmail.com
5b4139f4d254caa962680dbd2803d3a308ba364b
4569d707a4942d3451f3bbcfebaa8011cc5a128d
/virtualticketpermissionsplugin/trunk/virtualticketpermissions/policy.py
a5555ce1fb694ee48ff392de846dd5835f425203
[ "BSD-3-Clause" ]
permissive
woochica/trachacks
28749b924c897747faa411876a3739edaed4cff4
4fcd4aeba81d734654f5d9ec524218b91d54a0e1
refs/heads/master
2021-05-30T02:27:50.209657
2013-05-24T17:31:23
2013-05-24T17:31:23
13,418,837
0
1
null
null
null
null
UTF-8
Python
false
false
5,412
py
# -*- coding: utf-8 -*- # # Copyright (C) 2008 Noah Kantrowitz # Copyright (C) 2008 Norman Rasmussen # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. from trac.core import * from trac.perm import IPermissionRequestor, ...
[ "rjollos@7322e99d-02ea-0310-aa39-e9a107903beb" ]
rjollos@7322e99d-02ea-0310-aa39-e9a107903beb
0f6bff7af88112200164ee73a63e93548e0b7606
1094e533594d6fbdf4a0f605b06a1954336b52e8
/index/views.py
586009091d84dd75a9a807174d8ade7c1949bc90
[]
no_license
leezhiyong08/friutday
ac424c31bc2dd54aa61e76f13b8264042b4ba741
16f6a25d827f64fe88a526adf3e51de543b1c2de
refs/heads/master
2020-04-24T01:14:11.321113
2019-02-16T13:40:16
2019-02-16T13:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,810
py
import json from django.core import serializers from django.http import HttpResponse from django.shortcuts import render, redirect from .forms import * # Create your views here. def index_views(request): return render(request,'index.html') # /login 对应的视图 def login_views(request): url = '/' if request.met...
[ "lvze@tedu.cn" ]
lvze@tedu.cn
d617aaac35275cf070b7f5bd47f28582080b01ae
fb1e852da0a026fb59c8cb24aeb40e62005501f1
/kosmos-2/fairseq/fairseq/models/speech_to_speech/__init__.py
d34883552596496799514422e5a895376d02f735
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
microsoft/unilm
134aa44867c5ed36222220d3f4fd9616d02db573
b60c741f746877293bb85eed6806736fc8fa0ffd
refs/heads/master
2023-08-31T04:09:05.779071
2023-08-29T14:07:57
2023-08-29T14:07:57
198,350,484
15,313
2,192
MIT
2023-08-19T11:33:20
2019-07-23T04:15:28
Python
UTF-8
Python
false
false
248
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from .modules import * # noqa from .s2s_transformer import * # noqa
[ "1083127130@qq.com" ]
1083127130@qq.com
7d83082d756b0f82bbbe4ad530fa037045e22460
cd88c0c19c1be2b1cc6b9331c97f4ee67b5d0640
/event/migrations/0004_auto_20160919_1107.py
a2a359d83af59dbe7065f67a1e1845e616605a63
[]
no_license
al-alamin/msnb
eed3cb2e7252ad87c7866072b8c1c73ad626bdf3
451b8dfc3729424bb1d9ee2b1b592d671537171c
refs/heads/master
2022-05-10T05:54:46.149661
2022-05-03T20:54:18
2022-05-03T20:54:18
68,234,626
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('event', '0003_auto_20160820_1347'), ] operations = [ migrations.AlterField( mod...
[ "tareqbuet@gmail.com" ]
tareqbuet@gmail.com
4b17e3f76ea3f25cd1e3d6b4d7551e54d5734be4
33ee13e169f5405f9f808f7746178dfd56963e42
/main.py
058048b27efe66b869b56089c21d76311327ea2b
[]
no_license
23akei/SabeyaLogger
472bc8e65269078302b1fc0f04888af4a63db67a
ed48464ed7285e0dac5f61385638df3336a02350
refs/heads/master
2023-05-18T01:41:09.838749
2021-05-29T13:56:02
2021-05-29T13:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
from flask import Flask, render_template, escape, request, send_from_directory, url_for import sqlite3 app = Flask(__name__) @app.route("/") def top(): return render_template("top.html") @app.route("/hoge", methods = ["POST"]) def record(): id_num = 0 if request.method == None: return render...
[ "tom0pr01fr.olem.001@gmail.com" ]
tom0pr01fr.olem.001@gmail.com
980b466c28c5040171706e805a75717fbb69f66d
ed7342bcfd051d5280c444f5a625fac507ef9b53
/demo/basics/sum_of_numbers_v2.py
724f67c49fef9989060ad053d4ae302ff4759cd0
[]
no_license
srikanthpragada/PYTHON_19_MAR_2021
55f86289e7d6be5398c18ad9f52bfd4d81563827
20cd95481c1fc4c156d1fed01e29cb3b09b03333
refs/heads/master
2023-04-06T02:37:52.657864
2021-05-05T03:01:31
2021-05-05T03:01:31
350,551,106
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
# Take numbers until 0 is given and display sum of numbers total = 0 while True: num = int(input("Enter a number [0 to stop] :")) if num == 0: break # Terminate loop total += num print(f"Total = {total}")
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
e4c5682a8d2d2bdc622eb0592def31a8a389c27f
7d23cbeaf8fae2dca34180d8fa084b14c28cd1fc
/src/test/common/page.py
1ea314b59b6f07a21660fd49a4ddbc71dc2a616e
[]
no_license
Cnnnnnnn/test-framework
e29dfb34474f8e8fe52a2007334cc1668d046077
73f6e8fb88b8dc38bb53d3a88b7ae2faa9aa3521
refs/heads/master
2020-04-03T09:52:25.326538
2018-10-30T05:27:40
2018-10-30T05:27:40
155,178,640
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
py
import selenium.common.exceptions from selenium.webdriver.support import expected_conditions from src.test.common.browser import Browser from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.action_chains import ActionChains import time class Page(Browser): def __init__(self, pag...
[ "cnn@thinkerx.com" ]
cnn@thinkerx.com
404e972b7f3afe1279c55a210a28a4005c5a754c
797a4bbcee31943d9cad71537da88edebf63c7ad
/main.py
404163e74fe51ca71fcb9e675b94bd237e49182a
[]
no_license
Fratealin/exchange_rate_retriever
9bc21e86c4586ac4de6b10903902c17807bb2488
37fca8a955a751880d4f8fa9b5aa70752a778ffd
refs/heads/master
2022-05-29T13:25:12.269692
2020-05-02T16:33:12
2020-05-02T16:33:12
260,727,783
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
import get_exchange_rate_data import datetime import file_writer import email_manager import get_trip_destination import time # get email update every 24 hrs def get_daily_exchange_rate(): currencies = get_exchange_rate_data.get_currencies_list() destination_currency = get_trip_destination.get_trip_destinatio...
[ "ali_sensei2013@gmail.com" ]
ali_sensei2013@gmail.com
318e6a0c5427da811a19e24e577d6e94e37eee94
574189454870b5469804aab2866ffbffc3669785
/erikagnvall-python3/day05.py
f5ea40791948d4fd63a08643ec63e226b014e7b8
[ "Apache-2.0" ]
permissive
jakeru/advent_of_code_2019
63fe51301af2c21e2a0a8bc5c3abcb59b0756d5e
d906d55095707942a051788b1d41ba12e1af66cd
refs/heads/master
2020-09-24T08:27:55.138122
2019-12-11T21:35:03
2019-12-11T21:36:20
225,713,610
0
0
Apache-2.0
2019-12-03T20:53:32
2019-12-03T20:53:31
null
UTF-8
Python
false
false
2,627
py
import os.path from intcode import run def _read_input(): with open(os.path.basename(__file__).replace('.py', '.txt')) as f: program = tuple(int(i) for i in f.readline().split(',')) return program def part1(memory): _, _, _, outputs = run(memory, inputs=[1]) return outputs[-1] def part2(m...
[ "erik.jansson@cognibotics.com" ]
erik.jansson@cognibotics.com
21cb53ad9c60466e29851ca17b85630b65cdb096
0e70494cd1fb0958bcbf3c1dfafb008398defbb0
/ros2doctor/ros2doctor/verb/hello.py
e023960d9228e7ddad02e4485cfc4c5c1fd9a088
[ "Apache-2.0" ]
permissive
wayneparrott/ros2cli
2bdbd62dc2c0b7468915dc12a8447aea77ed4524
e9e89e037be79fd06a34399db18ef7ed79d23ffa
refs/heads/master
2020-12-22T21:01:53.837774
2020-04-28T09:00:26
2020-04-28T09:08:31
236,930,967
1
0
Apache-2.0
2020-01-29T07:57:06
2020-01-29T07:57:05
null
UTF-8
Python
false
false
8,786
py
# Copyright 2019 Open Source Robotics Foundation, Inc. # # 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...
[ "noreply@github.com" ]
wayneparrott.noreply@github.com
23766bceb270d73585937f8eb705efca167b4426
c3b739b07214507bf1023b926c19d30784623e98
/segme/model/cascade_psp/refine.py
b8419f1aa09101135ce9339c1be00c9ec1fa696d
[ "MIT" ]
permissive
templeblock/segme
20a96787500c46483cb7af0db917207fcedafb0b
8192ed066558c1ea1e7283805b40da4baa5b3827
refs/heads/master
2023-08-30T12:31:39.327283
2021-11-11T17:08:40
2021-11-11T17:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,917
py
import cv2 import numpy as np import tensorflow as tf from keras import backend from tensorflow_hub import KerasLayer class Refiner: def __init__(self, hub_uri, max_size=900): self.model = KerasLayer(hub_uri) self.max_size = max_size self.image = tf.Variable( shape=(1, None, N...
[ "shkarupa.alex@gmail.com" ]
shkarupa.alex@gmail.com
b01dce14fc9f5589006b2b7d410ad1ef9b9fee58
1ffdfe3588d39fd91c8f41a60c475c4e1cbb0126
/pro07/person/urls.py
937b70ac8d50da75dd2e2757ef73a9d5c0fee5e6
[]
no_license
xddongx/study-Django
b52279d5b44e3cde7b1694472ff42f92e9b463c8
c0ed149fddf9b1c39ab778103456ea2808188dd9
refs/heads/main
2023-04-15T03:31:42.657210
2021-04-21T08:48:28
2021-04-21T08:48:28
307,752,639
1
0
null
null
null
null
UTF-8
Python
false
false
940
py
"""config URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-based ...
[ "31644115+xddongx@users.noreply.github.com" ]
31644115+xddongx@users.noreply.github.com
2115a212a8cb5407557c8168b509d0dfcce1be84
4378bc1f97baf39dfc64f6b189f540bcebbf8772
/generate-test-data.py
9c36ccb065d57b70a5faf090d29d0187b2b97963
[]
no_license
liulangmeng/nmf-spark
fbdd04291605860f287e3b96513880c231ef4da6
a38e49948ed7faf15e8d05c7677677bdb172feb1
refs/heads/master
2021-01-13T03:47:38.438368
2016-12-23T03:09:41
2016-12-23T03:09:41
77,192,841
1
0
null
null
null
null
UTF-8
Python
false
false
388
py
from h5py import File import numpy as np # about 3 GB m = int(2e6) n = 200 k = 100 r = 20 W = np.random.random((m,r)) H = np.zeros((r, n)) H[:, :r] = np.eye(r) H[:, r:] = np.random.random((r, n-r)) for i in np.arange(2, 20, 1): temp = H[:, i] H[:, i] = H[:, 2*i] H[:, 10*i] = temp fout = File("testdata.h...
[ "mxyliulangmeng@126.com" ]
mxyliulangmeng@126.com
1842c2f22f63707d7611f23c86f8e2e01d22d89d
3ce2e64a18e0d8769429a849ed61b13d6b2c0c5b
/scheduler.py
467b7a5a5827421c072a10db8e95b39d57b2f832
[]
no_license
xiufengliu/DLS
fa74f6fdcafba0222e0edc372cbde52334faab12
df4d9b671c71853544130b0e7cc37a0808f6de72
refs/heads/master
2020-03-25T05:19:51.588425
2018-08-03T15:05:45
2018-08-03T15:05:45
143,441,210
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
import schedule import time from app import db def batchJob1Min(): try: result = db.session.execute("select script from essex_job_que where seg_type=1 and next_execute_time<=now()") scripts = result.fetchall() if scripts: for row in scripts: sqlStatements = row[...
[ "groupme@gmail.com" ]
groupme@gmail.com
ef835c8ab8f9b1d665e298b1da78b17ab7380731
135d2c02b3ad706573bdfafa75ebc14bd170ef97
/firedex-static/sdn-controller/sdn_controller.py
d19c338814f705b0ff1ecde6b5649d74806fa4f2
[]
no_license
boulouk/firedex
4afc6467bd83e096051d941699e59f1be806a46c
187012986f4adf85d017e84a64db7c9bb1f447b0
refs/heads/master
2022-06-06T01:56:38.464322
2019-11-24T09:44:03
2019-11-24T09:44:03
138,659,150
2
1
null
2022-05-20T20:55:18
2018-06-25T23:09:54
Python
UTF-8
Python
false
false
376
py
from ryu.cmd import manager applications = ["topology_application", "flow_application"] def run_controller(applications): arguments = [] arguments.extend(applications) arguments.append("--observe-links") arguments.append("--enable-debugger") manager.main( args = arguments ) if __name__ == '__m...
[ "lucascalz8@gmail.com" ]
lucascalz8@gmail.com
03ece2f4bb8c3b14f00121fd73d1286b8e0e795d
be3f53f6d61dd21b79a3ac1e079aa0149069a912
/lambdas_and_built_in_functions/filter.py
07329a3270c835004e5bf2ccc31414f43a6c4716
[]
no_license
ksompura/python_training
769e76fc73b2d40106bd4db2f52d1257ef1f01c3
8675bb5e415ba56eda85c1efeef969c8bd74f848
refs/heads/main
2023-03-29T14:52:50.801711
2021-03-30T05:00:17
2021-03-30T05:00:17
345,509,805
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# filter is like map, but it is used to filter out a thing based on some conditions # filter uses True and False to determine what is filtered out users = [ {"username":"sam","tweets":["Pizza is good","Yummmmm"]}, {"username":"kale","tweets":["Kale chips, yeaaaa"]}, {"username":"jeff","tweets":[]}, {"username":"nico","...
[ "keshavsomp@gmail.com" ]
keshavsomp@gmail.com
24e12b193bbe94063956d9ed76968f0ee0da71b5
e22b6598a03eb5f4c875ecdffee02a3e5b4ad717
/search.py
4617d453572a8b0ba24ac58771fcdd418d43a8e3
[]
no_license
JustinRohweller/AIPROJ1
62fac6121aff65fb72c27d3d0caa4c256a8bbac5
f67c1b86bdd98df49a9811392668dc9322c6c72c
refs/heads/master
2021-03-19T12:28:14.987717
2017-10-04T19:38:04
2017-10-04T19:38:04
105,118,728
0
0
null
null
null
null
UTF-8
Python
false
false
13,383
py
# search.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # A...
[ "jrohweller13@apu.edu" ]
jrohweller13@apu.edu
e5389b6f96d7b53ab8a61f670edde6d6581d4925
1334014eaeffdde4886da49ce5f387c46a5cc23a
/2020-2/kakao/2020/Senario2.py
82fc1c3d2689193e3ffe636a1ac40926025d5ebe
[]
no_license
gusah009/Algorithm
a85b1a4526a885b1f809c23c55565f453a5294c4
5da952e16a6f90f663706675812f042707aa7280
refs/heads/main
2023-07-31T17:28:20.404630
2021-09-05T06:14:00
2021-09-05T06:14:00
357,753,076
0
0
null
null
null
null
UTF-8
Python
false
false
5,900
py
import requests import pprint import json url = 'https://pegkq2svv6.execute-api.ap-northeast-2.amazonaws.com/prod/users' global LEN LEN = 60 global BOARD_SIZE BOARD_SIZE = LEN * LEN global moving moving = [1,5,-1,-5] global move move = [True for i in range(10)] global pp pp = pprint.PrettyPrinter(indent=2) def start...
[ "minion@bmeks.co.kr" ]
minion@bmeks.co.kr
1b5dde44a062a74cb90f2e60d15903012ccb7620
eff2fc11905f6118dcd70050392f168cd7aea086
/leetcode/5_longest_palindromic_substring/solution2.py
dc6f8c44f995cff0b89286e6dbc72af866bea932
[]
no_license
algobot76/leetcode-python
28f1e1107fa941a3b40006f074eec6231e674ac1
ec8bff8978d6915bfdf187c760b97ee70f7515af
refs/heads/master
2021-07-05T17:06:40.581977
2020-09-19T22:02:38
2020-09-19T22:02:38
199,255,699
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
class Solution: def longestPalindrome(self, s): n = len(s) if n < 2: return s f = [[False] * n for _ in range(n)] ans = "" for i in range(n - 1, -1, -1): for j in range(i, n): if s[i] == s[j]: if self._get_len(i, j)...
[ "xkaitian@gmail.com" ]
xkaitian@gmail.com
4b7d04c5de2f897b35e6ea61fc5a14077a9d6ef7
9f91ce42e1982ded6f77e184a0c6e35331b9ad23
/greedy_color/main.py
9308c47eb7dcc321bf983e03e6c97dfc36b2951d
[ "MIT" ]
permissive
dixler/graph-coloring
b5b1b5aeb91d24ba4f94fc1b837225019327c885
6a5e853b9a88bdddfd8a02c75dfe588f26eddaba
refs/heads/master
2020-04-10T14:17:53.701941
2018-12-15T09:44:36
2018-12-15T09:44:36
161,073,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
#!/usr/bin/env python3 # gonna make a stupid algorithm import json import sys num_colors = 0 graph = json.loads(input()) num_nodes = len(graph) class Node(): def __init__(self): self.color = None self.neighbors = set() nodes = {int(i): Node() for i, val in graph.items()} # add edges to graph for...
[ "you@example.com" ]
you@example.com
3f4d8e5bb5ac53e3e70d2d2c21110925d8afa471
3a2d89bc4d8d5385f835a64ef6694604b4aa063c
/rockpaperscissors.py
d7194b8c8ce81a0ddc7c64ccf771c97cc64d2709
[]
no_license
dancingdogs/myprojects1
c4045c3e4132552adea2e4031c4a83844d3f73ac
f04edcc3643bbf3c751865e9ef07f7c222b09e16
refs/heads/master
2022-12-13T05:48:45.496393
2020-09-07T12:14:50
2020-09-07T12:14:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
from random import randint #create list of play options t = ["Rock","Paper","Scissors"] #assign a random play to the computer computer = t[randint(0,2)] #set player to False player=False while player==False: #set player to True player=input("Rock, Paper, Scissors?") if player == computer: ...
[ "noreply@github.com" ]
dancingdogs.noreply@github.com
c2155b38173125504ea953047536dfada8b480da
e6fad75ea5843b25fef33c9eb1048a12a52c030b
/first.py
8563bf17b9ef8524107ac05b0f5ff9f604b80edc
[]
no_license
shirsenh/Playing-With-Matplotlib
40d1a66097a4fde8d38b2cfc8a2dd80c093c092c
340cfab4f4848cd7150e44e6d5e0275e2fca243d
refs/heads/master
2021-06-25T20:53:16.843597
2017-08-24T01:34:38
2017-08-24T01:34:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(111, projection='3d') X, Y, Z = [1,2,3,4,5,6,7,8,9,10],[5,6,2,3,13,4,1,2,4,8],[2,3,3,3,5,7,9,11,9,10] ax.plot_wireframe(X, Y, Z) plt.show()
[ "haldershirsendu1@gmail.com" ]
haldershirsendu1@gmail.com
771a2bf6caaa7ad3e08d7d92a9dd0f6c8d49b9a8
f74119a55ff5d4e89f5b7fb7da24a23828e1c203
/test_labeler.py
0ee0907d1d02f413876674b0d058a669f89f461d
[ "MIT" ]
permissive
mdlaskey/yolo_labeler
3f15dd229f6a5e01e508c5141345ff9363717b94
93463ee54ee8773e7c2ce2368a95c4c1102e712c
refs/heads/master
2021-08-16T00:50:10.238386
2017-09-20T22:49:40
2017-09-20T22:49:40
96,812,011
0
1
null
null
null
null
UTF-8
Python
false
false
2,526
py
import os,sys import xml.etree.ElementTree as ET import numpy as np import cv2 import cPickle import copy import glob import yolo.config as cfg import cPickle as pickle import IPython class TestLabeler(object): def __init__(self): self.cache_path = cfg.CACHE_PATH self.image_path = cfg.IMAGE_PATH ...
[ "mdlaskey@umich.edu" ]
mdlaskey@umich.edu
1bfc305c082437bc2aadcf82bad18fc7287eca39
86afc6b35e262e60e7758f05884558389bfd388e
/day_15.py
974eaf8959682a22266011f9a49a911c13c65c88
[]
no_license
flbdx/AoC_2019
c7c633fe615716a3ef2b20db0fabfa26b852cee1
5bb06e8b6a57cf8dc9a3a2d0f132af301a335abf
refs/heads/master
2022-12-26T11:46:42.129493
2022-12-09T22:29:08
2022-12-09T22:29:08
226,040,744
0
0
null
null
null
null
UTF-8
Python
false
false
7,666
py
#!/usr/bin/python3 #encoding: UTF-8 import fileinput import sys from intcodecomp import IntComputer import enum if len(sys.argv) == 1: sys.argv += ["input_15"] class LabBot(object): class Direction(enum.Enum): NORTH = 1 SOUTH = 2 WEST = 3 EAST = 4 def turn...
[ "46577074+flbdx@users.noreply.github.com" ]
46577074+flbdx@users.noreply.github.com
34ad15bcc03e457d2b3ad2ccd42aae05b50b0160
7d310e0ab34c9d33b11202f60188202330fcacf8
/Basic_grammer/for/for_star_tree.py
15da12c0a32c0c40e2a4312f3896a6e5eb831b31
[]
no_license
minseung73/kms
5010f580acaa38fade4b262564a22cd68ced9a71
946b7d09ebeb6b4555535c169ce1469144e0eb7a
refs/heads/master
2020-08-29T12:23:09.628838
2019-11-25T12:35:58
2019-11-25T12:35:58
218,029,686
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
for i in range(6): print("*"*i) for i in range(6): print("*"*(6-i))
[ "bria051@naver.com" ]
bria051@naver.com
bbed6ffc0de45ccedf5d739d5a96324c1eab399c
f67c3312d92a87c8f5858fac5e82970a012bfcbe
/squares/controllers/table.py
744ab3709d774875397d838b265094057ff5eb83
[ "MIT" ]
permissive
DestroyingWind/Squares
ae3268e11e4cb2291e2c2e7a2806ea38f55c14c4
3b331c38b577e67e5c08ab24f2900ed73d88c467
refs/heads/master
2021-01-21T16:35:41.500027
2017-06-01T09:46:48
2017-06-01T09:46:48
91,899,568
0
0
null
2017-05-20T15:51:16
2017-05-20T15:51:16
null
UTF-8
Python
false
false
3,060
py
from squares.models.play.table import Table from squares.models.schema import get_axis_by_schema_id from squares.errors.table import OutRangeError, TakeError class TableController: TABLE_MAX = 1024 TABLE_ID = 'table_id_{}' def __init__(self, table_id, player_id=0): self.table_id = table_id ...
[ "wangtao101rs@163.com" ]
wangtao101rs@163.com
2eedf0e0dbb2f5a75909791d40dfecad3658332e
d12847b0deaaaf640bf192f1e06e53dd281f98e7
/analysis/fitting.py
f24c854b205e9977d5317a0ba98420579e0724b6
[]
no_license
HelmutFedder/pi3diamond
3fe9e727db68c3339610d58121e8bb6463e47cbe
2d5c1292039b0717a1328d5e2b60ce433e8f3a82
refs/heads/master
2021-01-11T03:22:55.570737
2016-10-15T21:54:55
2016-10-15T21:54:55
71,015,077
10
11
null
null
null
null
UTF-8
Python
false
false
20,417
py
""" This file is part of pi3diamond, a toolkit for confocal scanning, anti-bunching, FLIM, pulsed ODMR / NMR, and more sophisticated quantum physics experiments, typically performed with NV centers in diamond, written in python using the enthought traits packages. pi3diamond is free software: y...
[ "helmut@fedder.net" ]
helmut@fedder.net
20bf8ced91a04164ec1fb736de04da27ad9c1360
5c79ed194ae04f2b3154c3daba77197b57e900e9
/password_generator.py
3cf50310740a86a5ac1e2a21a0532f94f10a4d4d
[ "Apache-2.0" ]
permissive
abrahamanderson19972020/Password-GUI-Manager
14b6579e8b9742bac9d04990805162300649480e
bf6516065af9918d7a2fd08128222d30f2a2d436
refs/heads/main
2023-07-20T05:33:33.064181
2021-08-15T18:16:57
2021-08-15T18:16:57
396,293,499
1
0
null
null
null
null
UTF-8
Python
false
false
836
py
#Password Generator Project import random def password_maker(): letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', ...
[ "abraham.anderson83@gmail.com" ]
abraham.anderson83@gmail.com
55452e8eaf3c675ee734d7d08b29328ed897b400
344b654cbb8b13d683bcd2cacf522c983287a5fe
/Exercises/fileExtension.py
295ca1b77df26281183deef41448b83bb4510202
[]
no_license
tchaitanya2288/pyproject01
d869522584ab498008e67e81c209472ab20685c2
565660b73039db6f0e9ed986504c2f96ba674f9c
refs/heads/master
2020-03-15T13:18:21.480443
2018-06-19T18:44:47
2018-06-19T18:44:47
132,163,324
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
Filename = input('Enter your required filename:') Extension = Filename.split('.') print("The Extension of file is:" +repr(Extension[-1]))
[ "tchaitanya.2288@gmail.com" ]
tchaitanya.2288@gmail.com
d04bb4d89096e1542544dacd46c832a9276e2f3e
256767f888195384e8a91bff0864d0afc3f7e4e9
/python_scripts/runDifferentNATAndST.py
86d11040c552b5a41ca89a2d36f0cb531f48d98c
[]
no_license
HelenHarman/AIS_Object_Tracking
a71b9c2df78c02180b7bb1ac2561a03a570ef935
3ec7128a739387299ac3e4a648e8c8f30274af97
refs/heads/master
2021-01-15T08:28:06.415775
2016-01-23T13:01:20
2016-01-23T13:01:20
43,375,968
1
0
null
null
null
null
UTF-8
Python
false
false
8,051
py
""" Runs the AIS tracking using different Network Affiliation Thresholds (NATs) and Stimulation Thresholds (STs). Compares the results to the locations given in the Ground Truth (GT) file """ import matplotlib.pyplot as plt from matplotlib import cm from mpl_toolkits.mplot3d import Axes3D from matplotlib.ticker import ...
[ "heh14@aber.ac.uk" ]
heh14@aber.ac.uk
e088b87c645c90af9868abefc5d1e8640ba3ecb5
be68da7fcdf533e58970897f91a78f12a44b720c
/FSMonitor.py
5ad6d4edf4cfc3d2c2e8bf200efea37f67e79315
[]
no_license
lishuaijie0816/FSMonitor
809e811b9a5fe2f38eead04183f5cd594fad1934
dcf374db62ed9487103468af61088a77260bdc1c
refs/heads/master
2020-06-21T03:39:05.313957
2019-07-17T08:03:29
2019-07-17T08:03:29
197,334,962
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # Event Name Is an Event Description # IN_ACCESS Yes file was accessed. # IN_ATTRIB Yes metadata changed. # IN_CLOSE_NOWRITE Yes unwrittable file was closed. # IN_CLOSE_WRITE Yes writtable file was closed. # IN_CREATE Yes file/dir was created in watched directory. # I...
[ "noreply@github.com" ]
lishuaijie0816.noreply@github.com
f39ba693f9984287400dc51c6fd3384c2c8d4aad
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/92/usersdata/216/46367/submittedfiles/atividade.py
6f93a371a202140a4fcb7fb058a09a066cd9d666
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
# -*- coding: utf-8 -*- import math n=int(input('Digite um número:')) soma=0 if n>0: for i in range(0,n,1): if n>=0: i=i+1 soma=soma+((i)/(n)) n=n-1 else: n=n*(-1) i=i+1 soma=soma+((i)/(n)) n=n-1 else: n=n*(-1) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
29c051ba4037637ba19565b0c61472f380db748c
c03869d82865e0d10c9f34d53563a3b0a49b5b0a
/env_file.py
f117aef8cf91c098d397640bbd126d81d689522b
[]
no_license
Azimkhan/env_file
9385b8724e346ed0697e387eedb504cc27f921c5
e865ba630ad6f745518dd65877f28b0ceb2d3e9d
refs/heads/master
2016-09-01T08:32:32.025926
2016-03-17T17:03:13
2016-03-17T17:03:13
54,100,649
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
import os def setup_env_from_file(file_name='.env', file_dir=None): if file_dir is None: file_dir = os.getcwd() file_path = os.path.join(file_dir, file_name) if not os.path.exists(file_path): return with open(file_path, 'r') as f: for line in f.readlines(): x = li...
[ "me@azimkhan.net" ]
me@azimkhan.net
c7db867a68cfc633338475e43990083bb406cd98
1564d12d61f669ce9f772f3ef7563167f7fe13bf
/codeforces/educationalRound73/A-books.py
77e50053332612a3e54fa06049612ac125655ecd
[]
no_license
sakshamk6999/codingPractice
73ec4873defb0f0d2e47173150a589ee12e5e0a1
f727aac6d87448b19fc9d48660dc6978fe5edc14
refs/heads/master
2020-12-01T20:22:36.299535
2020-02-04T05:55:53
2020-02-04T05:55:53
230,757,937
0
0
null
2020-02-12T20:38:12
2019-12-29T14:00:22
Python
UTF-8
Python
false
false
316
py
for _ in range(int(input())): n = int(input()) a = list(map(int, input().split())) dp = [0 for i in range(n)] for i in range(n - 2, -1, -1): if a[i] == a[i + 1]: dp[i] = dp[i + 1] else: dp[i] = n - 1 - i for i in dp: print(i, end=" ") print('')
[ "sakshamkhatwani@gmail.com" ]
sakshamkhatwani@gmail.com
440c195bd9d66a70de8b1abe612b540ee18ab1dc
4e7784abf3b2cddd98c1c1f092f576dcab04f74c
/scripts/fbx_importer/fbx_helper.py
39ad90663cac888e7ef286d5a052d4d945b5475e
[ "MIT" ]
permissive
tm8r/MayaFBXImporter
ad6f478dd1e0697699df7a7b0a83b0b9b78c4819
f349564d2ec0c09c17253a6a9fd4958977e7b999
refs/heads/master
2022-05-18T01:24:19.502698
2022-05-02T12:07:27
2022-05-02T12:07:27
209,183,153
4
2
MIT
2022-05-02T12:07:28
2019-09-18T00:39:51
Python
UTF-8
Python
false
false
1,152
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from .vendor.Qt import QtWidgets from .libs.maya import fbx from .libs.maya import namespace from . import history_helper def import_fbx(path, import_mode, parent): """import fbx Args: path (unicode): path ...
[ "tm8r.nrm@gmail.com" ]
tm8r.nrm@gmail.com
9a378ac66d24667514820bb7ae2934ca7d3f4f35
e2242f78a129f2b87252a0bf1621e8190fd07442
/src/compas_vol/microstructures/tpms.py
6264e6a6389be9c6043785e4474fb65d97fa8cda
[ "MIT" ]
permissive
ilmihur/compas_vol
751237e00f841f25546accf1bf1db782aa9a4559
8aedc611bd96acd95d26b9f34c805a8ff05020bf
refs/heads/master
2022-11-19T12:21:03.829785
2020-07-16T11:22:52
2020-07-16T11:22:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,724
py
from math import pi, sin, cos from compas import PRECISION class TPMS(object): """A triply periodic minimal surface (TPMS) is defined by a type and a wavelength. Parameters ---------- tpmstype: String Type of TPMS. Currently avaliable are Gyroid, SchwartzP, Diamond, Neovius, Lidinoid and Fisc...
[ "bernhard@arch.ethz.ch" ]
bernhard@arch.ethz.ch
ff5236cfbc685f7702d63948ddb042f1e8ba1d78
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-multimediaai/aliyunsdkmultimediaai/request/v20190810/RegisterFaceImageRequest.py
fcfb213b95d912b2eaf0be5026e27f0f3fad4814
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
1,779
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
0099ea1a24cd0a7e27e7caa9bcd30ad25bb5fc29
d4b91d9ebb7c850f07b06e5c15794b2885f2e767
/6/Tema3(Циклы)/6.c_6.py
3d423e792c84c79c5c729e0ca3d5be2f25693867
[]
no_license
Timur597/First6team
13b6dbb2d2e68d5df5c76c5bbba587d563a95957
4df85a6f20bad626ad76196cd5bc867ce27d0aac
refs/heads/master
2023-03-05T15:39:24.311784
2021-02-20T07:17:36
2021-02-20T07:17:36
340,588,974
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
6 Задание names = ('Максат','Лязат','Данияр','Айбек','Атай','Салават','Адинай','Жоомарт','Алымбек','Эрмек','Дастан','Бекмамат','Аслан') i = 0 while i < 12: print (names [i]) i = i + 2
[ "khalilov.timur97@mail.ru" ]
khalilov.timur97@mail.ru
e1deda18e1b2b41d478d2dce08424bda03ba7c3b
9836a073c4f9c4f371fdfe971045835a0736c73c
/Genetic_Algorithm/venv/bin/easy_install
699a4908203cf7b83e063ac1763559119bd94de6
[]
no_license
Volodimirich/LargeSystems
962efce5be55d077f32b9d4b959d0cdba305f693
dfaa70312cd48cfcb6c37cb9f777b29d381f85e8
refs/heads/master
2023-02-05T04:42:32.461806
2020-12-17T23:11:39
2020-12-17T23:11:39
295,217,829
1
0
null
null
null
null
UTF-8
Python
false
false
283
#!/home/voland/Workspace/LargeSystems/Genetic_Algorithm/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "volodimirich@arccn.ru" ]
volodimirich@arccn.ru
73acba9528101c1bfa9187c8776c8d7234afbc3f
c6fca34b2c9cb973d9d65d23e58e40d4513e173a
/aoc2015/day18.py
65008c1bad113a40d1876343cbf348d6f612d6a1
[]
no_license
tomkooij/AdventOfCode
8ff47c027c887194b0d441f61a8db172c4e260ea
7890d45a01498dcb48972a7e311888ce6f003bd2
refs/heads/master
2021-08-15T19:46:21.869137
2021-01-18T06:37:50
2021-01-18T06:37:50
48,421,868
7
2
null
null
null
null
UTF-8
Python
false
false
1,538
py
# adventofcode.com # day18 from copy import deepcopy INPUT = ('input/input18', 100) TESTCASE = ('input/test18', 4) ON = '#' OFF = '.' def pretty_print(lights): for l in lights: print ''.join(l).rstrip('\n') def count(lights): return sum([l.count('#') for l in lights]) def get_neighbours(lights, ...
[ "tomkooij@tomkooij.nl" ]
tomkooij@tomkooij.nl
8368d9e18fd02f573ea870d4d0cdbff40237d735
c23c092689ba634bb1037aaa0e058c8edec3407a
/Introduction to Machine Learning/Code Camp/Exercise2/LogisticR.py
e250a4d7b7813ac677020e5dc4a19caa81c3b202
[]
no_license
PemYanZen/DataScience_2019501129
3911d2204159eeaa84350764f183c550ae4c938d
f42cdacb6e2e8942df79b658594b64c275fabe11
refs/heads/master
2023-06-01T09:26:54.155414
2021-06-22T03:11:26
2021-06-22T03:11:26
295,600,844
0
1
null
null
null
null
UTF-8
Python
false
false
9,244
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Sep 29 11:59:12 2020 @author: pemayangdon """ import pandas as pd import numpy as np from matplotlib import pyplot as plt from sklearn.preprocessing import OneHotEncoder from sklearn.model_selection import train_test_split from sklearn import preproce...
[ "pemayangdon@pemyanzen.local" ]
pemayangdon@pemyanzen.local
1d87192e81d61530ae36b21063abb510bd089aee
fbaf44a5f4effe2838a03165f237a7a282284f64
/Practice/PIle_length-width_soilE/1.1 readODB.py
3f59145257606d79712227f140d6214a9b44a5d9
[]
no_license
WangDooo/Python-in-Abaqus
b568f5499bbfd8bc4893f4510a233b9c0be30cf8
c7bcbd1adc3bcff9661e13c8ce883cb59269ceb8
refs/heads/master
2021-06-13T14:05:25.639543
2021-03-24T03:32:44
2021-03-24T03:32:44
173,902,521
1
1
null
null
null
null
UTF-8
Python
false
false
413
py
# coding:utf8 from odbAccess import * odb = openOdb(path='Job-1.odb') step = odb.steps['Step-1'] point = odb.rootAssembly.nodeSets['SET-PILETOPPOINT'] lastFrame = step.frames[-1] u = lastFrame.fieldOutputs['U'] u_point = u.getSubset(region=point) uFile = open('U2.csv','w') uFile.write('nodeLabel,U2 \n') for u...
[ "wangbc1993@163.com" ]
wangbc1993@163.com
2219b78d7cfa9f5dd1ab782b5bffc725cc294b50
b0ca1e84804fe0fc1283addc7c90a6d6749887f2
/Grafos/main.py
b42aa040923c42f227b5550d6fb3305e5c2862b5
[]
no_license
santedicolaa/PO
922f028afb5c0f3689e407e5959ecc62304caf0b
0f17fe5fc8d5661796e17d51e42994aa492e5f60
refs/heads/master
2020-04-21T18:25:25.159875
2019-06-12T19:42:22
2019-06-12T19:42:22
169,468,477
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import replit import time class Grafo(): def __init__(self): self.inicio = {} self.num_vertices = 0 self.lis_vertices = [] def addVertice(self, vertice): inicio = self.inicio if vertice in inicio: print(vertice,"já pertence ao grafo") time.sleep(1) return 0 if vertic...
[ "noreply@github.com" ]
santedicolaa.noreply@github.com
1656940dd6607f773281e142235fe11ba06d5b00
14b190bf799bbbacda22cea27cb4689be46b46de
/jobs/migrations/0001_initial.py
5e903d40218b262e84948630dfe1ea2a7e7da231
[]
no_license
WaliEEE/portfolio-waleee
e3516e1f369905dd44787cae5bcbae6547a581b6
314ba08c4fa6a8136bbe5490617cda2058bf221d
refs/heads/master
2022-12-05T01:14:43.648681
2020-09-02T17:05:04
2020-09-02T17:05:04
292,340,994
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 3.1 on 2020-08-27 15:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Job', fields=[ ('id', models.AutoField(auto_c...
[ "jocularriad2@gmail.com" ]
jocularriad2@gmail.com
a4219b235f2b02423f9e0f1c6bb9b429308d9880
8c2d92c3be91dfe97dcae8a09c2a95de8f58cd41
/mm131zidong.py
f594d0f3bdf70d106cdba8331a2578c89a8d1386
[]
no_license
SeemNobody/mm131-linux
8ff442f1f73dd470fcd7065252a7e78a3a591d16
fb61e9cba7f92a32feff3a43f9f18b0db4ba394e
refs/heads/master
2022-09-21T07:15:00.134804
2018-01-04T10:02:00
2018-01-04T10:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,889
py
#!/usr/bin/env python # coding=utf-8 import urllib.request from bs4 import BeautifulSoup import os import shutil import urllib.error import pymysql import re def xiazai_mm131(url): html = urllib.request.urlopen(url).read() title = BeautifulSoup(html,'lxml').find("title").get_text() title = title[:-19] t...
[ "834775954@qq.com" ]
834775954@qq.com
c6d53eae7e1128d46dbbb956b76c3a7d625330d0
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/seed/types/MergeableHeap__immutable_tree.py
62b0066d20d34eb16226590a2d6f29b3da608310
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
33,990
py
#__all__:goto #testing_________goto:goto r'''[[[ seed.types.MergeableHeap__immutable_tree view ../../python3_src/seed/types/MergeableHeap__immutable_tree.py using immutable_tree underlying O(1) copy ++unoin/merge: like eat() but donot clear() input heap view ../../python3_src/seed/types/MergeableHeap__mutab...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
15f097e5d25a77c286c586a759cb6af2c2055888
743d1e35108932987cd6c451561dceb4a9bd93fa
/function/16_local_variable.py
339d8c6c9b4a8acea8863752bda79b6846edf4ba
[]
no_license
jun-young000/grammar-basic
bede88f8f1a4a85c1af8254b2d6b3e53ae1bbc1b
f0f0ce6b22bed8460162a9993551ebd2132bcf38
refs/heads/main
2023-07-07T07:36:52.560004
2021-08-10T12:27:56
2021-08-10T12:27:56
382,528,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
# 16_local_variable.py # 예제 함수 정의 def show() : a= 1 # 함수 내에서 정의된 지역 변수 a= a+1 print(a) #변수 a 는 함수 내에서만 사용 가능 / 화면에 a변수 값 2를 출력 하고 호출한곳으로 복귀 # 복귀가 되면 함수는 종료되고 만들었던 모든 변수는 제거 def show1(b) : # 인수가 b에 저장되면서 지역변수 b 생성됨 b=b+1 #b값을 1 증가 print(b) #b를 출력 - 함수 종료 - 호출한곳으로 복귀(변수b는 삭제) show() # 함수 호출 ...
[ "taropoint1@naver.com" ]
taropoint1@naver.com
9cd4c96a648545918764e06df4c6c48ad22746ee
43312a239823848b3f035a6ed6a52f23923004a9
/EasyTeleBot/GenericFunctions.py
fb6f60ba3f41d59b224c99b6de334cb6c5e79aab
[ "MIT" ]
permissive
idozahavy/EasyTeleBot
69a3072b8dbdc2a796b9763de94112015cdbb16a
ac5d2ff64d1a9a8382081ee9353596f5dd771e62
refs/heads/master
2022-11-21T00:58:52.468160
2020-06-28T15:48:54
2020-06-28T15:48:54
267,246,333
1
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
import copy class Data(object): def has_attribute(self, attr): return hasattr(self, attr) def __str__(self): return str(self.__dict__) def set_dictionary(self, dictionary: dict): self.__dict__ = dictionary def set_attribute(self, name, value): self.__setattr__(name, ...
[ "idozahavy@users.noreply.github.com" ]
idozahavy@users.noreply.github.com
6d268fb1bb10e27331a3f7427f4e7ec31917a891
5e557741c8867bca4c4bcf2d5e67409211d059a3
/test/distributed/elastic/timer/local_timer_example.py
8d3702c9a70283500c437adc763c2e6090b382a9
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
Pandinosaurus/pytorch
a2bb724cfc548f0f2278b5af2fd8b1d2758adb76
bb8978f605e203fbb780f03010fefbece35ac51c
refs/heads/master
2023-05-02T20:07:23.577610
2021-11-05T14:01:30
2021-11-05T14:04:40
119,666,381
2
0
NOASSERTION
2021-11-05T19:55:56
2018-01-31T09:37:34
C++
UTF-8
Python
false
false
4,080
py
#!/usr/bin/env python3 # Owner(s): ["oncall: r2p"] # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import logging import multiprocessing as mp import signal impo...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
94c384e986f1ff3e417c487c88c6ae0ea86c0df1
6651618987136b8c785dd57b8a8152e168114884
/sci_hrms/models/hr_contract.py
a3e26ae0f5c7f0665ff27d04e9c638e29c067269
[]
no_license
suningwz/odoo12_addons_qlptn
bece654efa23ddfb4a1f4cfffda7f11f279a436c
80785cdbbb742d0219e5b98dffc99c347da9b774
refs/heads/master
2021-05-17T22:06:55.679158
2020-03-03T03:46:05
2020-03-03T03:46:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,883
py
from odoo import fields, api, models, _ import datetime from dateutil.relativedelta import relativedelta from odoo.http import request from odoo.exceptions import ValidationError import pytz def canh_bao_tang_luong(i): exp_date = i.salary_year + relativedelta(years=1) lst_email_follow = [] if i.employee_id...
[ "lex4vn@gmail.com" ]
lex4vn@gmail.com
02a33085d35c70f94f68dab669344b797c917898
871ceeae4a3e8575f2f4d46d5cec6398d5571884
/py3.cgi
f53ebc0a48c0dfc03e075df2f7eede0b4147259e
[]
no_license
AhmadAlberkawi/Learntech
b27eb0a4cc8cb8ac819ebf789cc8eb94dd98c4c2
309181c8f71206a7129fccebe50a91febfc78f21
refs/heads/master
2023-05-27T06:44:34.615082
2020-07-13T12:58:51
2020-07-13T12:58:51
199,425,394
0
0
null
null
null
null
UTF-8
Python
false
false
730
cgi
#!/bin/python # Modul cgi import cgi, cgitb # Ausgabe bei Fehler cgitb.enable() # Objekt der Klasse FieldStorage #form = cgi.FieldStorage() # Einzelne Elemente des Objekts name = form.getvalue('Name') vorname = form.getvalue('Vorname') email = form.getvalue('Email') # HTML-Dokument mit Variablen print ("content-ty...
[ "ahmads-96@hotmail.com" ]
ahmads-96@hotmail.com
797d913b8e8db2d41ae09acf03025094110e6036
b56751f13eda1438fed17de5f8fae02513daa318
/assignment3/GANS.py
f80364e92d431368b6a5344633a6d20a80d9fdb2
[]
no_license
WinterPan2017/cs231n
e48ca0ea3e3c069992462a492bdf6257da04f7ed
bd366b6e06bd9eca10aa09a32b00c41eece5e67b
refs/heads/main
2023-02-03T10:02:18.662532
2020-12-23T11:18:07
2020-12-23T11:18:07
322,791,824
0
0
null
null
null
null
UTF-8
Python
false
false
15,119
py
''' Description: Copyright © 1999 - 2020 Winter. All Rights Reserved. Finished Generative_Adversarial_Networks_PyTorch.ipynb here. Author: Winter Email: 837950571@qq.com Date: 2020-12-18 14:02:09 LastEditTime: 2020-12-20 16:46:55 ''' import torch import torch.nn as nn from torch.nn import i...
[ "837950571@qq.com" ]
837950571@qq.com
962da2abca34985938d9ede37484fcea375e39e4
c730d4df20898a966b8ff215b2d3cce894bcf55e
/Linked_Lists/concatenate_circularLinkedList.py
9cf6ab5a0b417f94f29737d725ed6562f0d0d219
[]
no_license
venukumarbv/Datastructure_Algorithms_using_Python
23a6996b171aafc0bcfc43f55e679ee6ef76c5d7
cd32691edbf9f7b6cdfc16ea742f78fbc5f003e4
refs/heads/master
2022-11-19T22:27:38.751963
2020-07-21T10:46:55
2020-07-21T10:46:55
281,368,835
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
class Node: def __init__(self,value): self.info = value self.link = None class CircularLinkedList: def __init__(self): self.last = None def insert_a_node(self, value): temp = Node(value) if self.last is None: # Create a logical cicular list during empty list ...
[ "VKvision@venu.com" ]
VKvision@venu.com
15b2c5b66c9f84f6f1b8a358fac9053bb30b304a
c029647c1f3d06ac13fd519bddf8e25fc4e1b319
/carla_rllib/carla_rllib-prak_evaluator-carla_rllib-prak_evaluator/carla_rllib/prak_evaluator/srunner/scenarioconfigs/scenarios/control_loss.py
85d72b705a5f523073f8883e5a942dd9128e5a65
[ "MIT" ]
permissive
TinaMenke/Deep-Reinforcement-Learning
70f56eff4e9d54d70ea0eca6ca70e880fbdd74fb
8ab0894b92e1f994802a218002021ee075c405bf
refs/heads/master
2022-12-09T20:30:30.176090
2020-03-21T16:39:47
2020-03-21T16:39:47
249,012,679
9
2
MIT
2022-12-08T07:26:06
2020-03-21T16:12:14
Python
UTF-8
Python
false
false
9,003
py
#!/usr/bin/env python # # This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ Control Loss Vehicle scenario: The scenario realizes that the vehicle looses control due to bad road conditions, etc. and checks to see if the vehicle regains control and c...
[ "noreply@github.com" ]
TinaMenke.noreply@github.com