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
cbd4324d8911038723a6c833cf2b4120d84a6c32
2d3a9a5ca9b15f4fc3edc443bf885f43421e31f4
/done/db1.py
d80edea0dbc4f146d8eed4c5371e08a6c1db840c
[]
no_license
takao-fujiwara/mypy
913ab4bdb80a97fe2be33d1615e4ee18c062578e
93c0f8c7026278540fe84d7d590af41f032a0e9b
refs/heads/master
2020-05-21T04:27:03.079300
2018-10-15T07:17:58
2018-10-15T07:17:58
47,017,547
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String engine = create_engine('sqlite://', echo=True) print engine metadata = MetaData() metadata.bind = engine menus = Table( 'menus', metadata, Column('id', Integer, primary_key=True), Column('name', String), Column('kcal', In...
[ "cafetakao@gmail.com" ]
cafetakao@gmail.com
ea8bb3f37fef6e37cd9f9274f22db69548ed5b99
1a59a9076c1e9f1eb98e24ff41a4c1c95e2b353e
/xcp2k/classes/_program_run_info36.py
df87e8835f3ba808b0a2fb5f2bbb04a979030521
[]
no_license
Roolthasiva/xcp2k
66b2f30ebeae1a946b81f71d22f97ea4076e11dc
fc3b5885503c6f6dc549efeb4f89f61c8b6b8242
refs/heads/master
2022-12-23T06:03:14.033521
2020-10-07T08:01:48
2020-10-07T08:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from xcp2k.inputsection import InputSection from xcp2k.classes._each343 import _each343 class _program_run_info36(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.File...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ae7c6fb32f635a0734cb1b392275d8a99e4c28fa
ece78bd2141b3ce31bb0e52b9298734b899eb05e
/Number_theory_and_Other_Mathematical/Prime_number_and_Prime_Factorization/gcd_euclid.py
b295194fc1be35d6306b0100dc322c4949fea6f6
[]
no_license
code-project-done/Algorithms_for_Competitive_Programming_in_Python
cf4cacbe7e3f170a454dce59949973e6152737b2
fe13c90d1bc84e1a8858c83ea32c725182106616
refs/heads/main
2023-04-05T04:04:26.934540
2021-04-11T09:01:31
2021-04-11T09:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from math import gcd def gcd_euclid(a, b): """ actually no need it, it is in the module math """ if a < b: return gcd(b, a) while b != 0: a, b = b, a % b return a for a in range(500): for b in range(500): assert(gcd(a,b) == gcd_euclid(a,b))
[ "pierre.machine.learning@gmail.com" ]
pierre.machine.learning@gmail.com
d40fe1fa68ac26ffdef8cf290971dda494b0fc6b
7cfa2d0e1b28cf14925b5ce55d1b2a9e55bfdb73
/Week5/Quiz.py
fe8263f84bbcba5785fdfae22c59d5bbf85c23e3
[]
no_license
ads2100/Saudi-Developer-Organization
45dcb9a5813fe1725ee3b2ca8defe8331625dc39
0dbeb0843ff476805dfc67f774de9f45ffac0754
refs/heads/master
2022-02-25T13:54:32.165819
2019-09-27T12:42:16
2019-09-27T12:42:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
# the lists of numbers A = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17] B = [2,4,6,8,10,12,16] # defaul number for var y start = 0 # nested loops for print A,B lists elements for x in A[2:17]: print('List A element: ' + str(x)) for y in B[start:6]: print('List B element: '+ str(y)) start+=1 break
[ "root1@MacBook-Engneering-waseem.local" ]
root1@MacBook-Engneering-waseem.local
0480e0b8c2d156438f5e163074ef17c3dfd8dbe5
90cbd3e71e0f6a5bc5175a1bafbc981c0ca64060
/homework/hw2/Hu_hillary.py
1ad46d01e702523d6f0d04e1abc7fb367657131f
[]
no_license
sammo3182/POLI7002-TextAsData
ef888f5ed9728bd11783cc5d5cb1febe88c6be9c
389e13dbee07f747a02c7b8f306dead1d49379c8
refs/heads/master
2020-12-06T01:17:14.174854
2016-11-01T00:44:07
2016-11-01T00:44:07
66,304,512
0
0
null
null
null
null
UTF-8
Python
false
false
3,987
py
# Title: Homework2_Hillary # Author: Yue Hu # Environment: Win 10, Python 3.5 # Purpose: The assignment is a project using the New York Time API to scrape text data. ## module preload import requests # imported the `requests` package for request url later. import csv # for saving the results into csv files. # ## Data...
[ "sammo3182@sina.com" ]
sammo3182@sina.com
bca0e4a8bfdd5fb61f779d7021faff1f11192a8b
2792c12fc00de1a4057cbfe9f03c6fdcd9e45e2e
/archive/collectRaws.py
eb4bdb7386efd09957f739c943e24f386c8ebe13
[]
no_license
tangylyre/EOG
0b2d4d9ded3087248324e021e00c561f7279cd27
bec8cdd2a2034272d127045880b230b131fa19ac
refs/heads/master
2023-05-09T18:29:45.003247
2021-04-14T21:45:41
2021-04-14T21:45:41
326,846,287
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
from datetime import date import time import os import numpy import time import busio import digitalio import board import adafruit_mcp3xxx.mcp3008 as MCP from adafruit_mcp3xxx.analog_in import AnalogIn # from pygame import mixer # Load the popular external library # import pickle # Rick # import matplotlib.pyplot as...
[ "tangylyre@gmail.com" ]
tangylyre@gmail.com
a19a5bde912baaf41479780b9b03f7f7f91d23f2
c1dad911fef54ecf07997a969e72b9f1f316378b
/Longestpalindrome.py
4fdb8e7af00463c75dba813f0cb728e03d312bf0
[]
no_license
jatin008/DP-6
3b3d2efbc87ea87880912f65a801b99dbf237dd4
ef2397061613e7b3818506ee7a683c030464d91d
refs/heads/master
2021-05-22T00:35:55.906604
2020-04-04T02:19:00
2020-04-04T02:19:00
252,887,262
0
0
null
2020-04-04T02:08:17
2020-04-04T02:08:16
null
UTF-8
Python
false
false
889
py
#T: O(M+N) #S: 0(1) #Tested on Leetcode class Solution: def longestPalindrome(self, s: str) -> str: self.start = 0 self.maxLen = 0 n = len(s) if len(s) < 2: #Edge case return s for i in range(n): #checking if a stri...
[ "jatindawar26@gmail.com" ]
jatindawar26@gmail.com
79b6d3007b7c9f2d365f2bb097665e9d494d16d9
37a593995c96c65be0e93722cb395cdfac9b0bd2
/pymongo_fetcher.py
fc214e3f1276dd1f013453a28a50b43a6a5a1251
[]
no_license
in0928/com-schedule
26401eb6b21912404cc666db894a52e45de82f2e
1b0e9989f682ec923687e59e26feb402862157f2
refs/heads/master
2022-12-12T10:45:00.508719
2020-02-12T08:28:19
2020-02-12T08:28:19
226,829,792
0
0
null
2022-12-08T03:20:11
2019-12-09T09:09:06
Python
UTF-8
Python
false
false
500
py
from pymongo import MongoClient class MongoFetcher: def __init__(self): # real DB self.client = MongoClient("mongodb+srv://in0928:trybest920928LAISAI@cluster0-nfgyd.gcp.mongodb.net/test?retryWrites=true&w=majority") # host uri self.db = self.client.NSDB # Select the database sel...
[ "49297560+koasurion@users.noreply.github.com" ]
49297560+koasurion@users.noreply.github.com
276a00dcd091106149ec816df2e84655c49386ea
654caebc0a12face3f5a57fd4c64ffb85c6fe0c6
/venv/bin/pip
28f57425b752cd07254df5c6e4572c4495da78cc
[]
no_license
hoAlimoradi/TheFirstCourseInAPA
ede5cdae74eefe175c41a2ade51aff6c701f3810
e6024ce2f586cecd016e1fc762affec9ffe6c6ad
refs/heads/master
2020-04-27T11:54:38.236215
2019-03-07T09:42:03
2019-03-07T09:42:03
174,313,846
0
0
null
null
null
null
UTF-8
Python
false
false
410
#!/Users/ho/pycharmProjects/TheFirstCourseInAPA/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' 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]...
[ "ho.alimoradi@gmail.com" ]
ho.alimoradi@gmail.com
e01b140eb36a9c67eba75192ebe27eb8b1a977f6
6f2a8a9d2f11d194fe41762e71ebd7270a22325b
/source/abstract/entities/electronic/controller/controller.py
889ac5c8eca1c378a0464c9d0484d2aa82609ba9
[]
no_license
rschum/game
053da314a276445e03d682c6481a35aa888c5125
59ef0461c1ac60e690d39f6c180256f387999e44
refs/heads/master
2020-05-23T20:10:57.698939
2017-04-20T03:04:31
2017-04-20T03:04:31
84,785,024
0
0
null
2017-03-13T04:45:46
2017-03-13T04:45:46
null
UTF-8
Python
false
false
193
py
from source.abstract.entities.inanimate.controller import controller class Controller(controller.Controller): def __init__(self): controller.Controller.__init__(self) pass
[ "Master.Foo.v.1.0.0@gmail.com" ]
Master.Foo.v.1.0.0@gmail.com
e3280f9a700f857d1a028607a351ab8ff308aa07
2611a6ecda7b36511485439dcecdc11356ea98a6
/pychemia/dft/codes/vasp/_incar.py
7511b7cbfd02f3d14806113e4df8c7db27250c4b
[ "MIT" ]
permissive
maksimovica/PyChemia
169fa9e2c0969d4375b2dddf935440bf35d68519
62b8ed06f186d0b40a628d98e7dd985efe3b7581
refs/heads/master
2021-01-16T17:51:42.772243
2014-06-18T02:18:17
2014-06-18T02:18:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,228
py
""" Routines to read and write INCAR file """ __author__ = "Guillermo Avendano-Franco" __copyright__ = "Copyright 2014" __version__ = "0.1" __maintainer__ = "Guillermo Avendano-Franco" __email__ = "gtux.gaf@gmail.com" __status__ = "Development" __date__ = "March 16, 2014" import os as _os import numpy as _np def l...
[ "guilleaf@msn.com" ]
guilleaf@msn.com
cfbdabfc13d6e89a1cfcbc015ee849ffc5635eb5
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/plugins/generic/filesystem.py
ee9770612e90346479646bec319c7d2028574f13
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,062
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import os from lib.core.agent import agent from lib.core.common import dataToOutFile from lib.core.common import Backend from lib.core.common import checkFile from lib.core.c...
[ "everping@outlook.com" ]
everping@outlook.com
3b2b4b72c827466af785eb8a9670fc7e4d2bff0d
06ee5a5d83466896bbfd1653206da0151d6aa81a
/apps/business/serializers/file_serializer.py
ae6dac0452ba845b69a632709ac10c18ac7e31f3
[]
no_license
fengjy96/rest_task
201421a40ce42031223f61135d1d5e85809188e6
db1d7c4eb2d5d229ab54c6d5775f96fc1843716e
refs/heads/master
2020-07-22T19:48:19.940094
2019-09-02T13:40:11
2019-09-02T13:40:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
from rest_framework import serializers from business.models.files import Files class FilesSerializer(serializers.ModelSerializer): """ 文件:增删改查 """ class Meta: model = Files fields = '__all__' class FilesListSerializer(serializers.ModelSerializer): """ 消息:增删改查 """ c...
[ "onerf@sina.com" ]
onerf@sina.com
086a719cbdaad09756a71716cec0332342db36f1
8827d6e4a531d4da8ec5567f235bc79551b43a68
/app/game/component/baseInfo/BaseInfoComponent.py
3621b625e971a6ec0c217adea0ab9bdd12328097
[]
no_license
wyjstar/traversing
0f6454f257e5c66a7295ef1f9a9dca970e8a1bb7
f32bb9e6d9f4c0d8bcee9ce0aa4923dcfc913cce
refs/heads/master
2021-01-17T22:44:54.059161
2016-04-04T09:54:13
2016-04-04T09:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
# -*- coding:utf-8 -*- """ created by server on 14-6-10下午4:58. """ from app.game.component.Component import Component class BaseInfoComponent(Component): """ 抽象的基本信息对象 """ def __init__(self, owner, bid, base_name): """ 创建基本信息对象 @param id: owner的id @para...
[ "guanhaihe@mobartsgame.com" ]
guanhaihe@mobartsgame.com
e6df5acf08fd8bbbf178c132ccb74291ca5e33b8
10d2ff5992d0d5d5dfc25350c56b030f4b669f29
/driven_by_mysql/driven_by_mysql.py
a442adc26688af65e4860544f9d412ee3dcf215c
[]
no_license
hongzhiguang/DataDriver
5ca42e92d3b725fc34651e01ba59cf88fae61749
ca997910000a131a0beb420a516071f8ba700552
refs/heads/master
2020-06-03T01:58:49.861415
2019-06-11T14:26:07
2019-06-11T14:26:07
191,387,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import ddt import unittest import time import logging from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from Config import * from ReadData import * logging.basicConfig( level=logging.INFO, format="%%(asctime)s %(filename)s...
[ "1583297821@qq.com" ]
1583297821@qq.com
ed283187764b5f7ce7a792ed6445b60d8b759828
a066ef198ddd1ce9a77bb5cf4495f5f937dc642e
/2017/Day 17/Day17_Part1.py
a56396e29719fe398fd30eac1ed174141dd651ea
[]
no_license
olber027/AdventOfCode2017
1719860d7410a04ca356b0de921b45357448b426
c664100bab9ab31af231404e6b5cc5bc51fc9cf8
refs/heads/master
2021-05-14T09:10:16.016241
2019-01-02T20:44:12
2019-01-02T20:44:12
116,319,668
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
class Node: def __init__(self, value, next): self.value = value self.next = next def insert(self, value): node = Node(value, self.next) self.next = node def getNext(self): return self.next def __repr__(self): return "{0}".format(self.value) file = open...
[ "olber027@gmail.com" ]
olber027@gmail.com
b1ac9099c36ddeeab3548464dd1b5d5e9b1ee687
84d2040faf1acaabedce67e884b55767b6b98e57
/source/watches/migrations/0003_auto_20210305_1130.py
e955040939fd33e381c347577ff1f00f4c1035ee
[]
no_license
UuljanAitnazarova/watches_shop
3adae63141107c91ae6a489dddeb8f8fa9433666
6f54b11d468957cf05275c37b17f4c2e669e9fc2
refs/heads/master
2023-05-08T11:51:25.597190
2021-05-27T12:48:46
2021-05-27T12:48:46
344,481,584
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# Generated by Django 3.1.7 on 2021-03-05 11:30 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('watches', '0002_auto_20210304_1426'), ] operations = [ migrations.AlterField( model_name='product'...
[ "u.aitnazarova@gmail.com" ]
u.aitnazarova@gmail.com
32f2f00bef6097a79694d585d991c08882b2179c
02f3cf8d895ef167be50a4865bb03210f5ab4c4b
/setup.py
dd93efa4948162a15dba1a29b316b3eb817c94fc
[]
no_license
cy-sohn/my-vot-toolkit-python-master
67a7d51f70b10d6622d32adb2a1b35d2177fd23b
e1e78c0064e8ad33559a6a72d35e2eb9b8395f62
refs/heads/master
2022-12-02T10:35:54.695104
2020-08-07T06:36:34
2020-08-07T06:36:34
285,754,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
#!/usr/bin/env python from os.path import join, dirname, abspath, isfile from distutils.core import setup this_directory = abspath(dirname(__file__)) with open(join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() install_requires = [] if isfile(join(this_directory, "requirements...
[ "64947778+cy-sohn@users.noreply.github.com" ]
64947778+cy-sohn@users.noreply.github.com
11247c56107695e84821a8412a5d43b66542c9fc
a5d0a0499dd069c555080c8cefc2434304afead4
/Programmers/pipe.py
bfa9ff3f16b5e878de473bd4fbe430f11b47ebcb
[]
no_license
devjinius/algorithm
9bdf9afc021249b188d6930cf9d71f9147325d9f
007fa6346a19868fbbc05eefd50848babb5f1cca
refs/heads/master
2020-05-04T06:08:32.827207
2019-07-31T02:39:39
2019-07-31T02:39:39
178,999,456
1
1
null
null
null
null
UTF-8
Python
false
false
478
py
# 프로그래머스 쇠막대기 # https://programmers.co.kr/learn/courses/30/lessons/42585 def solution(arrangement): stack = [] prevStr = '' count = 0 for word in arrangement: if(word == ")"): if(prevStr == "("): stack.pop() count += len(stack) else: ...
[ "eugenekang94@gmail.com" ]
eugenekang94@gmail.com
e2e6053a401e98b26f59d1afe6d7fe23d264c972
099c4d066035463c2e9b201798a8d3b57357458a
/blog/models.py
c5faa2d6ca6c7cb6d5b41e052ae8ef3291d6929a
[]
no_license
Toluwalemi/Fast-API-Blog
3c2123b09538f164c12258e0a4ddcfbd6a9680ff
cd62b18b052ae344f8f8e9eed7f60a20d4f3113b
refs/heads/main
2023-05-06T09:57:47.570888
2021-05-27T22:01:06
2021-05-27T22:01:06
371,513,464
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
from sqlalchemy import Column, Integer, String, ForeignKey from sqlalchemy.orm import relationship from .database import Base class Blog(Base): __tablename__ = 'blogs' id = Column(Integer, primary_key=True, index=True) title = Column(String) body = Column(String) user_id = Column(Integer, Foreig...
[ "toluwalemisrael@gmail.com" ]
toluwalemisrael@gmail.com
aa3d71e2ea62b064980ca47bda05ad3822b8f0a9
ab13952a85e5d58fec5aadb5d978b4f1f822035d
/tests/test_api_functions.py
f1551ec62ed5270bcc53b845b198e123affefd33
[ "MIT" ]
permissive
edison12a/portal_glance_api
da62e5a60e2608ccaf555c36f6300f32f8d8df22
76692df23ee5e8d05169e0e2af6b8ddbaee75b01
refs/heads/master
2023-05-27T14:38:51.749470
2019-01-17T19:31:29
2019-01-17T19:31:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,605
py
""" This module contains all tests for glance_api.modules.functions.py """ import os import pytest import requests import sqlalchemy from glance_api.modules import functions from glance_api.modules import models from glance_api import api # TODO: Finish testing Item # TODO: Currently using sqlite3 database for tes...
[ "rory.jarrel@gmail.com" ]
rory.jarrel@gmail.com
bccd589288338812701721351e97a1efb0ac9b50
f1dc6331fa73b7f3f5bc6b3af64ceab4a4804849
/src/sagemaker/local/image.py
432567484b5eae3f674b9a35416a577ac48747cc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lily1110/sagemaker-python-sdk
77532f9ba9ed105dd56f0b3d1824d2dd9cd7065e
fb91511e32610965bcb793e976eb7a47d161c04f
refs/heads/master
2020-03-20T12:42:36.228606
2018-06-14T22:26:56
2018-06-14T22:26:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,342
py
# Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" fil...
[ "noreply@github.com" ]
lily1110.noreply@github.com
ee193694d08978ec07e06b3a43be5b022a396bef
4b4558c6cbc3cf2a5c0517a9d388572aa5a216ec
/Computer Science/Artificial Intelligence/Pacman/search/search.py
36c79159ff511165c9be6e3665892fbea901d891
[]
no_license
cow-coding/School-Project
15269e3f7078521381453871c88ed36ff1008cff
1e8fa3347da14f381cb73f2cd59d3ea144612bf8
refs/heads/master
2022-06-22T01:22:42.025813
2022-06-08T18:32:21
2022-06-08T18:32:21
247,887,355
0
0
null
null
null
null
UTF-8
Python
false
false
6,202
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...
[ "kbp0237@gmail.com" ]
kbp0237@gmail.com
54b812bf117a999b6cb8c36a01995b5107aa8ea4
0db729c520410c95139589098f303f1de30b99f5
/radio/programs/migrations/0002_event.py
747a22373c73b67b6534532496f3897f70895668
[]
no_license
deisaack/radio
b76cca194f6a02ca27dea5f8b24925611016545c
e6abf60f4462e88ff5b8f88b024093ac3067c947
refs/heads/master
2021-06-22T12:44:20.452555
2017-08-23T06:19:22
2017-08-23T06:19:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-07-30 13:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0001_initial'), ('programs', '0001_initial'), ] operations = [ ...
[ "pkemey@gmail.com" ]
pkemey@gmail.com
f371da24e39dc65c8a368916d0897107542f39c0
652dc8c22b929b3b75bdf68fdc4c7905794f9e74
/Reverse_Int.py
e5bc8fc2c2eff64e776421d33a779d379b57250f
[]
no_license
jaysurn/Leetcode_dailies
29ea9cc866e0f39a5573e39dc7b4bbd4157b4ea9
4593e396327aa8965c130dde97975612a75cc285
refs/heads/main
2023-04-07T22:07:38.869051
2021-04-07T07:06:55
2021-04-07T07:06:55
350,246,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
# Goal : Return a 32-bit int with its digits reversed, if the value is outside the 32-bit range, then return 0 # Given : 32-bit signed int # Assumption : Assume given int is between -21^31 <= x <= 2^31 - 1 def Reverse_int( input_int ): result = int( str( abs ( input_int ) ) [ ::-1 ] ) # Take absolute value of...
[ "noreply@github.com" ]
jaysurn.noreply@github.com
bd34cba713330f49ee188c81630715aa396f5f11
13c3028d52bdb7a647921b52367a9c804e07cc25
/epyseg/gui/preview.py
fcb5b0ef61019349c9a1db85bc7000fb0a38a4e4
[ "Apache-2.0", "MPL-2.0", "HPND", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
baigouy/EPySeg
8b1a062f5e88405ca07bd33c6427686182bdae9d
5ce46ce981c7607c74d9a8f82ef942b207bdb210
refs/heads/master
2022-07-26T10:30:41.056239
2022-05-24T13:03:50
2022-05-24T13:03:50
272,421,806
19
5
BSD-3-Clause
2022-05-23T08:27:41
2020-06-15T11:34:48
Python
UTF-8
Python
false
false
7,311
py
from PyQt5.QtCore import QRect, Qt, QRectF from PyQt5.QtWidgets import QWidget, QApplication, QGridLayout, QScrollArea from epyseg.draw.shapes.square2d import Square2D from epyseg.draw.widgets.paint import Createpaintwidget from epyseg.img import Img from epyseg.draw.shapes.rect2d import Rect2D import sys # in fact th...
[ "baigouy@gmail.com" ]
baigouy@gmail.com
0daa335585b3be2faeb308e446ff223bc54d6ac7
e41b8e6aa152ce0650f7cdafe044b465a4466ad2
/chap03 decision tree/decision tree.py
1094ebbf532af4205b6dde685fa5e6ed71f517cc
[ "MIT" ]
permissive
apachesep/code-of-machine-learning
c73040b24cd75149af769832b620a5a24642b026
843a1a23c801b97bba3a818e5adb143d869c8286
refs/heads/master
2022-11-22T06:48:51.117693
2020-07-24T07:52:41
2020-07-24T07:52:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,604
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: Zhiqiang Ho @contact: 18279406017@163.com @file: decision tree.py @time: 7/23/20 8:38 AM @desc: ''' from sklearn.datasets import fetch_california_housing from sklearn.model_selection import train_test_split import seaborn as sns from sklearn import tree import panda...
[ "18279406017@163.com" ]
18279406017@163.com
9cb991b352cb52bf657354c37ce5000bcdddc967
5072235c3798e182705017c684da42897f5710d4
/tools/general_tools.py
bbb6a5ff74afc17afa0e1e7d16e18625001f680a
[ "Apache-2.0" ]
permissive
gafzan/AlgorithmicTradingStrategies-Decommissioned-
a4522f68db64f37fcc24ac5d74d824cf45345d87
80e7f97bf75b22de52130de5ad247342488b27f4
refs/heads/master
2023-08-14T23:29:26.065878
2021-10-17T09:18:01
2021-10-17T09:18:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,917
py
""" general_tools.py """ from itertools import zip_longest from operator import itemgetter from datetime import date # ______________________________________________________________________________________________________________________ # Handling lists and dictionaries def _grouper(iterable, n, fill_value=None): ...
[ "gafzan@gmail.com" ]
gafzan@gmail.com
346d811811941e402f2c375d0f49101f32158661
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/gui/scaleform/daapi/view/lobby/customization/camouflageinterface.py
6ebe0013b393fb58ca391ed6ffa5081abde07dd3
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
16,854
py
# 2016.02.14 12:39:07 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/customization/CamouflageInterface.py import BigWorld import functools from datetime import timedelta from math import ceil import time from CurrentVehicle import g_currentVehicle from constants import IG...
[ "info@webium.sk" ]
info@webium.sk
00306de26033af3b73544da9760dde62a5a6bd64
e1eac39ac5b0b28bcc704a48e4d17602ee6477eb
/news3.py
73a1ea1da464d2fba6cb20bba96c05c2b9b852e5
[]
no_license
CMyCode/webscrapepy
76341f455bf483cdf29382946001697e36f3c0c6
6419aa2ddd71b6ff296733d7bea5ba2e7d0413a3
refs/heads/master
2020-03-08T23:48:13.940815
2018-06-02T01:24:56
2018-06-02T01:24:56
128,473,139
0
0
null
null
null
null
UTF-8
Python
false
false
8,006
py
import requests from bs4 import BeautifulSoup import re import sys import os import datetime import pandas as pd from random import choice from collections import defaultdict from nltk.corpus import stopwords from datetime import datetime, timedelta from random import * import string import nltk from nltk.tokenize impo...
[ "balaji.meka1@t-mobile.com" ]
balaji.meka1@t-mobile.com
b73d1826be68e566cc4418a478ee654d378cc0a6
073d40d3ea58e37d8a130794910068005f3f259d
/processing/surface_based_analysis.py
56afba929f609a17760fcae36ccf26cd024a0541
[ "BSD-2-Clause" ]
permissive
KamalakerDadi/public_analysis_code
bd925f442d32fbedc56e145ad0bc981d5ac3924c
b8770d485fd2697838b911120c41d91250671636
refs/heads/master
2020-03-20T21:10:33.759118
2018-07-30T18:27:10
2018-07-30T18:27:10
137,727,239
0
0
null
2018-06-18T08:27:58
2018-06-18T08:27:58
null
UTF-8
Python
false
false
5,182
py
""" This script does 2 things: 1. Freesurfer segmentation 2. project the coregistered fMRI images to the surface: the surface is the grey-white matter interface of the subject The purpose is to perform proper group analysis on the surface on fsaverage, and use existing atlases on the surface. Author: Bertrand Thirio...
[ "bertrand.thirion@inria.fr" ]
bertrand.thirion@inria.fr
3559b52d2c097d90ee4e42b0914bc1c2f4394ae1
0b1079e405bad2950a8799c30a46fc6984b922bf
/venv/Scripts/django-admin.py
5596281abc86563d7351294fdfe04acdbc24d41c
[]
no_license
dpridoy/employee_test_api
ddc3786aecd9a3efd8f1d09c2749f237a2c31dee
7b5da0f3bd6cd25500234952a701f34fc80c0a70
refs/heads/main
2023-03-07T14:38:50.817090
2021-02-09T09:25:50
2021-02-09T09:25:50
337,337,570
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#!c:\users\dma-ridoy\documents\django projects\api_test\venv\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( ...
[ "dpridoy@gmail.com" ]
dpridoy@gmail.com
71fd2309a48331c48fd5788811c68992705cdd2a
b57a5f2613d626c96beab02966f2075848cb1d8f
/Linear Regression.py
6ebab678842e0131d9e3c280ecda3ae18ce3d147
[]
no_license
rishabds/Machine-Learning-
e29e9917fa883c5756442b2d358029dd0ac8b3be
f966bffa1012787f77fc37ac03c5f124202601c6
refs/heads/master
2020-08-01T18:21:38.855225
2019-09-26T11:48:16
2019-09-26T11:48:16
211,074,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
import numpy as np import matplotlib.pyplot as plt def estimate_coef(x, y): # number of observations/points n = np.size(x) # mean of x and y vector m_x, m_y = np.mean(x), np.mean(y) # calculating cross deviation and deviation about x SS_xy = np.sum(y*x)-n*m_y*m_x SS_xx = np.sum(x*x)-n*m_x*m_x # ...
[ "rishabdussoye@hotmail.com" ]
rishabdussoye@hotmail.com
cd15183227ca013ef8df4b0a9c35e52023611ad0
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/Blast/Applications.py
634372703b80657a8c7039c95ba7de9db2e186ef
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
/usr/share/pyshared/Bio/Blast/Applications.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
b7201790e7f7e245810a4e7196093347bcf5631a
fed4c4352fba76fe5bbf1ebb7c3f2a845f864794
/src/allStat.py
d78ca9d2f9d2f81468f8995929672180ee79f0c3
[ "MIT" ]
permissive
theandyb/cleanCollegeBBallData
1e9011fad30bb2c029c37d0c15235c600d5edf1a
13ca29055cf84894c22d8b128436507550f11358
refs/heads/master
2020-05-17T06:03:10.526095
2015-03-08T16:12:09
2015-03-08T16:12:09
31,838,276
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import sys,getopt try: opts,args = getopt.getopt(sys.argv[1:], "r",["recursive"]) except getopt.GetoptError: print "Lulz" reclass = False for o,a in opts: if o == "-r": reclass = True fName = "./raw_data/all_stat2.csv" num = 1 outFile = "./raw_data/" + str(num) + ".csv" out =...
[ "beckandy@umich.edu" ]
beckandy@umich.edu
35c107479c099af9ea0ca70ffefed3c45c7af786
adb03bb1735a2bc87c4bbb0c6037e835e28563d9
/scripts/teleop.py
4d281e1e50dfc697db182a6980ed71ce9ccc3439
[]
no_license
2038prob/lab6
d5a415859dad2cbc2335880366db247bdea4a67c
4d1fa120d12c208fbcb6698eff8d87a602a85fcc
refs/heads/master
2023-04-15T18:18:14.828425
2021-04-26T17:24:54
2021-04-26T17:24:54
361,834,074
0
0
null
null
null
null
UTF-8
Python
false
false
2,494
py
#!/usr/bin/env python import rospy from geometry_msgs.msg import Twist from std_msgs.msg import UInt16 import sys, select, os if os.name == 'nt': import msvcrt else: import tty, termios MAX = 180 MIN = 0 msg = """ Control Your Traxxis! -------------------------------- Controls: w a s d ...
[ "christopher.m.korpela.mil@mail.mil" ]
christopher.m.korpela.mil@mail.mil
6c5aeaeaa97a6a6c63f493f4001386755a32d850
1e160d6f6b400a38e36e237e74f37296c8637513
/src/colony/center/hall.py
762ca3d6be24645d7064e11a1d21ab8c1dccc1ec
[]
no_license
max97292/Pirates
22e3bb1df9cddd51f1bbbf13aada5668084cdb83
1bc3fd6f25c9a8c4c123fb60bd0850f6bfdf225c
refs/heads/master
2022-12-25T02:35:07.171626
2020-09-30T20:43:36
2020-09-30T20:43:36
291,234,406
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
# -*- coding: utf-8 -*- import random import time import telebot import sqlite3 from telebot import types from src.config import TOKEN bot = telebot.TeleBot(TOKEN) conn = sqlite3.connect("DataBase.db", check_same_thread=False) cursor = conn.cursor()
[ "max97292@gmail.com" ]
max97292@gmail.com
ceacf929311c32f3db1575b140d2548b6ce06f9d
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/nemo/collections/asr/models/k2_sequence_models.py
087e9e41b85dd8673ac6e2ff667bad355c5e747f
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
13,426
py
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
28623b218914214e68ec618ce9c1d580488e0449
b12f6c2e4e35cf51956c6a887dcf47eaccc8ed21
/File Write &Read.py
4abdc291cb0f82e7845110f4665039908616a353
[]
no_license
VanyashreeS1/Python-flask-projects
76873da41be0190abb54813256f3386f7d7addf6
fcf2f4fabb3d1fa45f9e3545aa8b961408a4c944
refs/heads/master
2021-01-05T23:47:18.193419
2020-02-21T17:45:20
2020-02-21T17:45:20
241,170,090
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
f = open("file3.txt", "a") f.write("Now the file has more content!") f.close() #open and read the file after the appending: f = open("file3.txt", "r") print(f.read())
[ "vanyashree.s@gmail.com" ]
vanyashree.s@gmail.com
cbf6bc2fa02f3077d4a2e66ac887debcce4bae36
aba1d17ddc7d7ad9f49e2d6d87600e9e0387ba14
/mi/dataset/driver/flort_kn/stc_imodem/flort_kn__stc_imodem_recovered_driver.py
4fe4de3d18ce68d6534b32380e50fd98fe6bab2f
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
oceanobservatories/mi-instrument
3ad880c1366b1a8461fc9085768df0e9ddeb6ef5
bdbf01f5614e7188ce19596704794466e5683b30
refs/heads/master
2023-07-23T07:28:36.091223
2023-07-14T15:54:49
2023-07-14T15:54:49
24,165,325
1
32
BSD-2-Clause
2023-07-13T01:39:22
2014-09-17T22:53:22
Python
UTF-8
Python
false
false
877
py
from mi.dataset.parser.flort_kn__stc_imodem import Flort_kn_stc_imodemParser,Flort_kn_stc_imodemParserDataParticleRecovered from mi.dataset.dataset_driver import DataSetDriver from mi.dataset.dataset_parser import DataSetDriverConfigKeys from mi.core.versioning import version @version("0.0.2") def parse(unused, sourc...
[ "petercable@gmail.com" ]
petercable@gmail.com
fbdcda5ade7f09825d2bccbf2d035d00975e7893
6861adad57bdd1fd357829e3f422081ac4a25c60
/S7_CIFAR10_Modular/models/S7_Model.py
7afee0cfe07dc2fdb10f3556b3846715bae7bac7
[]
no_license
anilbhatt1/Deep_Learning_EVA4_Phase1
21373061cd5ec318d2eaa8d615262d7340a59472
b1a0bb5c55de087a3dd065648cd8690b8f22a912
refs/heads/master
2020-12-27T06:53:59.858580
2020-04-25T15:12:54
2020-04-25T15:12:54
237,800,803
2
3
null
null
null
null
UTF-8
Python
false
false
3,544
py
import torch import torch.nn as nn import torch.nn.functional as F dropout_value = 0.05 class Net(nn.Module): def __init__(self): super(Net, self).__init__() # CONVOLUTION BLOCK 1 self.convblock1A = nn.Sequential( nn.Conv2d(in_channels=3, out_channels=32, kernel_size=(3, 3), pa...
[ "noreply@github.com" ]
anilbhatt1.noreply@github.com
d72e7e11bde474750297d7c0e0c5be87fe00bcb8
01b0227ed8e8955491e4465d8ebbda9e835d83f4
/python/prueba_completa.py
73eb094a6ca028fc16c6a7e78a3692c6d81151df
[]
no_license
LeoBrasileo/QR-Assistance
4ab0b3e87c9f5683cf2f06ee8d46fb5656329af2
10ae308baf841bb0e5ad8432a1c150c9c95e1b95
refs/heads/master
2023-01-24T17:04:58.133133
2019-11-19T13:44:22
2019-11-19T13:44:22
194,198,054
2
0
null
2023-01-09T11:53:34
2019-06-28T03:11:44
Java
UTF-8
Python
false
false
1,078
py
import schedule import time import pyrebase import random import qrcode import numpy as np import cv2 # Configuracion e inicializacion de Firebase config = { "apiKey": "AIzaSyAbMl8vM1IHJj6ygDad_TSg4b8daYQVXJA", "authDomain": "ususarios-3b9a8.firebaseapp.com", "databaseURL": "https://ususarios-3b9a8.firebaseio.com", "s...
[ "leobraginski@gmail.com" ]
leobraginski@gmail.com
77bec3ab8b9e6134f5d4e804a0775b0ffb29825b
74f382e96cc6f60092ec25878bcaeef280c7acdf
/core/api/models.py
136ed4467bbd2eec39f63bf7caf919cf569c8585
[ "MIT" ]
permissive
vroxo/api-flask-users
f2bfe57e1466bc0461fa35977fa766b2708ba192
c464537b8df260e7cf4e8654f34aacd4959297ee
refs/heads/master
2021-06-27T21:40:25.580338
2017-09-14T08:08:05
2017-09-14T08:08:05
103,499,263
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import datetime from core import db class User(db.Model): __tablename__ = "users" id = db.Column(db.Integer, primary_key=True, autoincrement=True) username = db.Column(db.String(128), nullable=False) email = db.Column(db.String(128), nullable=False) active = db.Column(db.Boolean(), default=False, ...
[ "vitorroxo.dev@gmail.com" ]
vitorroxo.dev@gmail.com
b33dc6ed7a11b4a2e3127592c66b9d813072b574
e62a8943ea2cc45b660b17ab10e238e7cb4642dc
/CompareMatchingMethod_Codec_ORB.py
0a47f5d8d3a1da1bab046fd0ef44a1cec40c6526
[]
no_license
mkjubran/HMS
6229fd36e7f01b93be6f572e59e26a42a1058257
2402380d4e68c9b924303a8e1efac6af434d3a57
refs/heads/master
2021-04-09T15:18:07.334487
2020-11-10T19:49:30
2020-11-10T19:49:30
125,491,202
0
0
null
null
null
null
UTF-8
Python
false
false
21,171
py
#Frame1: Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs #print >> fid, 'Frame1: P 1 5 -6.5 0.2590 0 ...
[ "mjubran@birzeit.edu" ]
mjubran@birzeit.edu
c6d6095b6aecf8907d6dbe353e20a0cf0c58d042
cc36d7ba409dfc2c9b7252b3c4efa55ca829adb7
/tests/test_split_and_export.py
354a7a0d37f2c8667857f6c75d9617afb5048cbd
[]
no_license
shinglyu/MusicPupil-tf
e09b2615047e9b87caa797fd7108b8ae35b34cf5
5ae05dc23fef1f9daf9deecd378adee9353a9e66
refs/heads/master
2021-05-15T18:10:37.284122
2017-12-30T15:34:46
2017-12-30T15:34:46
107,603,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,370
py
import os import sys sys.path.append( os.path.join( os.path.dirname(os.path.realpath(__file__)), '..', 'feature_extractor' ) ) from unittest.mock import patch, MagicMock import music21 import csv import split_and_export def test_split_train_test(): samples = ['a', 'b', 'c', 'd', '...
[ "shing.lyu@gmail.com" ]
shing.lyu@gmail.com
f28f2b8d0a341418b14873cfe5a8cf5027367013
b37c943e29f3cac3cb733ecb7a93b8f8ba070547
/Hangman.py
d384fd1448bb58d00a578c8c037a720443da1e45
[]
no_license
NicholasKao/Hangman
30c5f9cde02ad9b46a41dbebf00a6426923d08b2
1bbe8883143a6b433d891db3a11f750ab12cb5da
refs/heads/master
2021-01-24T16:33:41.801712
2018-02-28T00:17:43
2018-02-28T00:17:43
123,201,224
0
0
null
null
null
null
UTF-8
Python
false
false
5,008
py
def hangman(): word = input('Player 1: Please select a word or phrase: ').lower() #word to play with in lower case letters = [] # to be used later for the letters in the selected word ### function for player 1 to select a word def selectWord(word): for x in range(len(word)): # iterate tho...
[ "noreply@github.com" ]
NicholasKao.noreply@github.com
60f501dd33bc408bb5b0ce9ae012cb0765548801
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_144/ch20_2020_03_09_20_17_14_756367.py
0730239956a1947237866393bd5dc6de5401f7cc
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
distância=float(input("Digite a distância a percorrer:")) multa = distancia - 200 excesso = multa * 0.45 if distância <= 200: passagem = 0.5 * distância else: passagem = passagem + excesso print("Preço da passagem: R$ %7.2f" % passagem)
[ "you@example.com" ]
you@example.com
1da4cd6e7a958faab83c1099e1a7f95e2a6fd87f
c00790236ba746596f205bcb609aee44a369800b
/pi_scale_server.py
5e1567c8433fdc197e8310ca9ea7b7118f567950
[ "MIT" ]
permissive
lhenkel/ToledoScalePiServer
ab6e335735bb4fa84bef60e2c36f9c895ee1ea7b
1fa8f675d971cd92c84206b639b72858d81f0598
refs/heads/master
2020-04-10T07:11:32.851377
2018-12-07T22:41:14
2018-12-07T22:41:14
160,874,884
0
1
null
null
null
null
UTF-8
Python
false
false
7,433
py
from serial import * from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import smtplib import re import subprocess import socket import urllib2 from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer import glob import os PORT_NUMBER = 8675 def find_usb_tty(vendor_id = None, pr...
[ "lee.henkel@kng.com" ]
lee.henkel@kng.com
a6518773dbefe07cc7d1820e140f06c7535c0a7b
4316f9a62c7d09fc8ff74b0b27251bce2090462b
/camelot/view/album.py
cad8592a0b5df30d74a86464d0cabb68c4a52aab
[]
no_license
SaChiBon/project-camelot
9739a70623cbd732edbf3eff4d61acca77516ad6
b7aa839753f534a38aebc031004091e095843bdc
refs/heads/master
2021-04-09T13:43:32.559201
2018-03-18T01:23:12
2018-03-18T01:23:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,614
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from django.http import HttpResponse from ..controllers.albumcontroller import albumcontroller, AlreadyExistsException from ..forms import AlbumCreateForm, UploadPhotoForm """ Album views """ @login_required def cr...
[ "docz2a@gmail.com" ]
docz2a@gmail.com
e7216dadcd35fa5652fd49a944bc5e806253d1fb
feca738182b7bcac3fe4f70a8eca2b628b2d0809
/LojaSyst/Models/Equipamento.py
6c526f70c11adeb03c9d023d668c04fc96d8d6a0
[]
no_license
ViniciusAugustoRR/LojaSystem
bd82ae2a7fecbddc6df14af7f2c4331a2fe5e550
510d53343d7c9b083ff5fafe89b016288335ecd7
refs/heads/master
2020-12-09T01:21:47.131777
2020-02-13T23:11:53
2020-02-13T23:11:53
233,149,335
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
'''nserie: str, equipamentoNome: str, modelo: str, marcaid: int, acessorios: str''' class EquipamentoMD: def __init__(self): self.Id = int self.Serie_N = str self.Nome = str self.Modelo = str self.Marca_id = int self.Acessorios = str
[ "vini.rios.rocha@gmail.com" ]
vini.rios.rocha@gmail.com
9aa9799855d7fe837b31652aa8140412a8ac1779
911117a97349f26be8f72e3c7b84b8fce8de265a
/mysite/migrations/0002_maker_pmodel_pphoto_product1.py
43c655b7986ca5b361ab49240feb8b34d7b8cf7b
[]
no_license
tlsvie/PMSYS
99cd7d6fb58819699e6a9ca44e4366686ecad52c
e13fef6bde7eeef7bc292b1f09c9d5efeedf4c1c
refs/heads/master
2020-03-24T07:33:40.582690
2018-08-05T12:10:21
2018-08-05T12:10:21
142,568,312
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
# Generated by Django 2.1b1 on 2018-07-27 05:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mysite', '0001_initial'), ] operations = [ migrations.CreateModel( name='Maker', fi...
[ "hirenzhao@hotmail.com" ]
hirenzhao@hotmail.com
42e44d36df2d8995690e0ac00535e4955d8b3472
94d5467b1315791fa75165eb862fdd8fef300958
/yunyan_baotou/src/business_ultra/init_data.py
61600784148a3a71b91b0ae55c58a09ba84d4b62
[]
no_license
scmsqhn/code
e31926174c247d49c1db8f121e3ec1b82f8a2d9d
b389d7dc5fafad8a4185a03cd6d5519ccf8f99df
refs/heads/master
2022-12-09T05:37:07.065840
2019-05-14T01:55:07
2019-05-14T01:55:07
185,903,771
1
0
null
2022-12-08T05:05:51
2019-05-10T02:22:28
Python
UTF-8
Python
false
false
5,621
py
#!/usr/bin/env python3 import datetime import pandas as pd from datetime import datetime import json import os import codecs import numpy as np import traceback import sys sys.path.append(os.environ['YUNYAN']) sys.path.append(os.environ['ROOT']) sys.path.append(os.environ['WORKBENCH']) #import gensim #from gensimplus....
[ "2364839934@qq.com" ]
2364839934@qq.com
5c49b4a8a73336da08a895778349ad6859231a04
e4e4ed8338a389e1e329562d253224d95d9080c6
/ml/sample/pipelines/large_graph/subgraphs/new_subgraph_c95b.py
2d17b3d8152ab9e09f21de757ee8366fd254f437
[]
no_license
lalala123123/project_template
854361ac6b9b714dc23be9a439506310e04f1952
a1aef8b2509388e47ebf51b21066169b977286de
refs/heads/master
2023-08-30T13:51:49.135769
2021-10-28T07:06:46
2021-10-28T07:06:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,358
py
from datetime import datetime from azure.ml.component import dsl from resources import generalselectcosmos_func, generalselectcosmos_func print(datetime.now(), "Declaring pipeline: new_subgraph_c95b") @dsl.pipeline(name='new_subgraph_c95b', default_compute_target='cpu-cluster') def new_subgraph_c95b( in1, in2...
[ "henu_rz@163.com" ]
henu_rz@163.com
32194e3ebe219fc0fafff1a524d1df176a58bd46
e6dd07c0f9104051ac850d90045f38b2f4ae5c79
/advance/apps.py
888bee437ed3fc702f0f2e32d27113550ff20e64
[]
no_license
mostaq22/drf-vue
70fb3846814dd4814b0cd4b4544f1c2a7b4ff11e
76061ff46831fe70c6b482b20b10377287f806ff
refs/heads/master
2022-06-08T04:55:28.948466
2020-05-06T20:09:55
2020-05-06T20:09:55
257,530,726
2
2
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class AdvanceConfig(AppConfig): name = 'advance'
[ "mostaqcse@gmail.com" ]
mostaqcse@gmail.com
69bf66e39c764d3908167da27714165e6daf5213
865ca1055efa25c137aa0b3d977b028c0cc19d70
/forkedapps/voucher/config.py
8aa11027d9488feb15986136cbace374bd5dc320
[]
no_license
mnzil/mnzil-test
f76ab8b5924e9810ad8e03d485b721e091da8980
f7234f9e0306ceb126b774c0615740d4395d1b23
refs/heads/master
2021-01-20T19:57:02.588470
2016-03-14T16:17:36
2016-03-14T16:17:36
49,824,654
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from oscar.apps.voucher import config class VoucherConfig(config.VoucherConfig): name = 'forkedapps.voucher'
[ "root@ip-172-31-28-4.us-west-2.compute.internal" ]
root@ip-172-31-28-4.us-west-2.compute.internal
3afdb2cb66231d75fca8ddb8c9b16ecc1bd4b320
856460e5bdbb4046b43258e48baaf26b314762be
/client/client_main.py
743256e53901a2a668faa2810cba9e4d58633e6f
[]
no_license
imwiwiim90/robotZero
7a6e510eaf007311ce803201f0939808188804fd
d2e6cbbaadc7cdad6c86f1c58a6a1f5c46e9e76b
refs/heads/master
2020-05-26T15:15:35.855059
2017-04-07T22:18:07
2017-04-07T22:18:07
82,491,233
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
from controller_alt import PS4Controller from MessageUDP import MessageUDP from videoStream import Video import cv2 import json import threading import time lock = threading.Lock() #ip_dir = '192.168.0.5' #ip_dir = '127.0.0.1' #ip_dir = '186.31.47.239' ip_dir = '190.24.142.149' PORT = 8000 ctrl = PS4Controller() mail...
[ "wilsondaniel95@hotmail.com" ]
wilsondaniel95@hotmail.com
134f1ee4050d20ac333a4b35da4222bf51a32243
cce0f3939036f536a182d7541b636874cd8247b6
/xicam/core/data/bluesky_utils.py
f93d436d1f70f7dd0bcf439a14fb2df9fa7ab9e4
[ "BSD-3-Clause-LBNL" ]
permissive
Xi-CAM/Xi-cam.core
b942ab7935935b4b514cd8593afcfba83ce7b042
f993699391439402624934daafe329024165bb0b
refs/heads/master
2023-08-25T16:16:19.231948
2020-05-01T17:28:29
2020-05-01T17:28:29
111,475,839
0
0
NOASSERTION
2020-04-28T22:51:49
2017-11-20T23:55:13
Python
UTF-8
Python
false
false
907
py
from databroker.core import BlueskyRun def ndims_from_descriptor(descriptor: dict, field: str): return len(descriptor['data_keys'][field]['shape']) # NOTE: this doesn't include event dim def shape_from_descriptor(descriptor: dict, field: str): return descriptor['data_keys'][field]['shape'] def fields_fro...
[ "ronpandolfi@gmail.com" ]
ronpandolfi@gmail.com
7fb6b02760faa33f68b8c94a97b6b44671597bd2
99cedc8927edc502db3270008608358fe6f507a1
/Salasah/urls.py
f19b44bf90984327a35c5c64526922d377067945
[]
no_license
maulanasdqn/django-salasah
b2d76735997cb5562cc1f876e8513d4a040c228b
c386b8fca75f383e66a89ea4ad27922d60aaf6ea
refs/heads/main
2023-01-01T04:22:06.130164
2020-10-24T13:02:13
2020-10-24T13:02:13
306,884,437
3
0
null
null
null
null
UTF-8
Python
false
false
106
py
from django.urls import path from .import views urlpatterns = [ path('', views.home, name= 'home'), ]
[ "sodiqincahyana1@gmail.com" ]
sodiqincahyana1@gmail.com
aa82b974a22240b99dced283997bfed6a235f20a
a9063fd669162d4ce0e1d6cd2e35974274851547
/swagger_client/models/inline_response20094_site.py
60809a21527af5e7d917c54707fe326dad72bc22
[]
no_license
rootalley/py-zoom-api
9d29a8c750e110f7bd9b65ff7301af27e8518a3d
bfebf3aa7b714dcac78be7c0affb9050bbce8641
refs/heads/master
2022-11-07T14:09:59.134600
2020-06-20T18:13:50
2020-06-20T18:13:50
273,760,906
1
3
null
null
null
null
UTF-8
Python
false
false
4,519
py
# coding: utf-8 """ Zoom API The Zoom API allows developers to safely and securely access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public appli...
[ "github@rootalley.com" ]
github@rootalley.com
bce41ae64991eaa9ef5e290859b7196415b1c8d0
e5a62b970378386ec1b19ee7adc707c445e19a4f
/problems/p072/p072_solution.py
dba19258f0c7370a6a37dc881615ca2677071f15
[]
no_license
lawrencium/project_euler
a39976d9b3619c2edae3e3f1b4f0bdd1ec82162d
96ac5684b449d327e7f63a8c63cdb46660bff731
refs/heads/master
2021-01-17T07:46:43.603066
2017-09-25T05:56:05
2017-09-25T05:56:05
23,099,118
0
0
null
2016-07-22T22:24:47
2014-08-19T06:15:47
Python
UTF-8
Python
false
false
1,467
py
from abc import abstractmethod from problems.util.prime import sieve_of_eratosthenes, get_factorization from problems.util.solutiontimer import time_function d = 1000000 # d = 8 sieve = sieve_of_eratosthenes(d) sieve_set = set(sieve) def main(): number_reduced_fractions = 0 factory = DenominatorHandlerFacto...
[ "ltc35@cornell.edu" ]
ltc35@cornell.edu
5daabd0e42aacc1ce5f197f6154547f200ab892b
4bb9cde4a8aa41d883a9f139ebf476993d3ab8a1
/listing/migrations/0004_auto_20201129_1211.py
0d371dc556f3c9188c8d97a13670faad836e042c
[]
no_license
sajalmia381/real-estate
bc380328046899406ec97524697b87cbfc0e45ec
a2602f9333e677b362020123789b68933703b3c6
refs/heads/master
2023-01-21T06:16:50.992361
2020-12-05T18:19:55
2020-12-05T18:19:55
318,859,009
1
0
null
null
null
null
UTF-8
Python
false
false
644
py
# Generated by Django 3.1.3 on 2020-11-29 12:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('listing', '0003_auto_20201129_1205'), ] operations = [ migrations.AddField( model_name='listing', name='square_feet'...
[ "sajalmia381@gmail.com" ]
sajalmia381@gmail.com
5577c038a68b1019ac4522c163caa04ecaebe6be
c39c0449f8efbc3bf39cebe9a33724dfa237f670
/ss_dnn/merlin_scripts/src/layers/mdn_layers.py
f8318e1a77b6a548a8a67efd3d43a3778da2f298
[]
no_license
pbaljeka/world_merlin
81561f8817e516e90adf4dd60ce2847ffd17127f
5cf1cdfd75b570dda5e35c74bc2b5e500437786e
refs/heads/master
2021-01-11T17:45:46.706562
2017-01-25T21:28:51
2017-01-25T21:28:51
79,839,178
6
1
null
null
null
null
UTF-8
Python
false
false
16,415
py
################################################################################ # The Neural Network (NN) based Speech Synthesis System # https://svn.ecdf.ed.ac.uk/repo/inf/dnn_tts/ # # Centre for Speech Technology Research # ...
[ "pallavibaljekar@gmail.com" ]
pallavibaljekar@gmail.com
4ce26279b22d0826b7b738a468f20d2e3d818f58
61b6e904a9e3d0bdf9cab361a08bd028b4ab0c77
/cybo/training/trainer.py
1759a571b982df55128f63976d309c54b47727e2
[ "MIT" ]
permissive
bo-ke/cybo
81c5e94ca7c6c78fa8342b35384d6e7cacc22140
612f30b0466b4ed6d04f5c2128b133367b55e576
refs/heads/master
2023-06-04T11:46:37.612829
2021-06-22T13:22:34
2021-06-22T13:22:34
321,707,325
2
1
null
null
null
null
UTF-8
Python
false
false
5,198
py
# -*- coding: utf-8 -*- ''' @author: kebo @contact: kebo0912@outlook.com @version: 1.0 @file: trainer.py @time: 2021/05/12 01:09:57 这一行开始写关于本文件的说明与解释 ''' import tensorflow as tf from functools import wraps from cybo.data.dataloader import Dataloader from cybo.models.model import Model from cybo.training.utils impo...
[ "itachi971009@gmail.com" ]
itachi971009@gmail.com
011b6cd63f0e69535e48f048f9780470226cac42
5313fe47b0dd453af3ea51bb707a9882242c37d3
/VisualPIC/Views/createVTKAnimationWindow.py
6ff5f3f8f51e19a3a73d3137be7aeecf2dae2e38
[]
no_license
QJohn2017/VisualPIC
c347d0864907b5261ed737cfa1a4b780ab69fe78
5b7e0c10f8b0589ec24f41fc8c631d1c6cd34bfd
refs/heads/master
2023-03-03T07:16:58.382512
2018-06-05T17:14:04
2018-06-05T17:14:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,007
py
# -*- coding: utf-8 -*- #Copyright 2016-2018 Angel Ferran Pousa, DESY # #This file is part of VisualPIC. # #VisualPIC is free software: you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation, either version 3 of the License, or #(at you...
[ "angelmail_97@msn.com" ]
angelmail_97@msn.com
fbb4658c90d6d28b0bdc3e8198164c1013309d5a
31e048782f9161894587489ff2a3f0ee1ddb8d7a
/leet_code/Tree/sum_of_left_leaves.py
20b70e4cee9c2493b72d1f9eb49a7ba4574844e5
[]
no_license
sankeerth/Practice
f2c81f0273ba5edbb4491f473278c5d2c4cd5e1e
df9791d18e98bd175bcddf47fcd24f06aef46258
refs/heads/master
2021-01-11T14:53:32.958725
2017-01-27T20:28:21
2017-01-27T20:28:21
80,243,020
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
class TreeNode: def __init__(self, val, left=None, right=None): self.val = val self.left = left self.right = right def __repr__(self): return 'TreeNode({})'.format(self.val) def deserialize(string): if string == '{}': return None nodes = [None if val == 'null' ...
[ "sankeerth456@gmail.com" ]
sankeerth456@gmail.com
dd65586916f290702c8d0c8f526cdfa0b8907fc7
22e3a62bdd5922c2a7ff70216cf9a6b0d30ed3c3
/TestQARTRole.py
3103c53120e2fa86773f6c871b99d089362a0f48
[]
no_license
RobQA/test
74d7416ac2c5f9ae52e59a04fddd03c1a3615cd1
be2106c013fb08dbbdf982e348a6f8e7060764a6
refs/heads/master
2020-07-13T02:43:25.327197
2019-09-01T13:53:04
2019-09-01T13:53:04
204,971,001
0
0
null
null
null
null
UTF-8
Python
false
false
8,638
py
from selenium import webdriver from Logout import Logout from Roles import Roles from SearchFillAll import SearchFillAll from Payroll import Payroll from TestGroup import TestGroup from TestCase import TestCase from Obligation import Obligation from IncreaseOverpayment import IncreaseOverpayment from DecreaseOverpaym...
[ "r-akopyannn@mail.ru" ]
r-akopyannn@mail.ru
f8b68369b0629d62b060a8a9ec9b70d6ad94d184
7d53faedef395ca31eb5d056da358ee9dfcc05a1
/venv/bin/names
cd6580c21a1b060b9ed11b4b24fdc77cb1f6c7ac
[]
no_license
MaciejSwierad/hd_generator
343622f129e96d805027bddef4ca38c522e5ecb8
c5e855d08303113410786f9d6f0f67a0abd2800d
refs/heads/master
2020-09-14T21:08:24.551584
2019-11-21T20:09:22
2019-11-21T20:09:22
223,256,193
0
0
null
null
null
null
UTF-8
Python
false
false
412
#!/home/macias/PycharmProjects/hdGenerator/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'names==0.3.0','console_scripts','names' __requires__ = 'names==0.3.0' 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])...
[ "maciej.swierad@gmail.com" ]
maciej.swierad@gmail.com
6adb63d5796714f98ca7a02f21d5d0837cf0acc6
60cf6e400ec093268cf7b89ed818119e9c59f0ff
/miller_rabin_fermat_lucas_lehmer.py
fcb278c36a1f76adaf30538372be9a24a7e0d693
[]
no_license
lion137/Python-Algorithms
7b5e396ebcb113e112907661f88715791c90b0fe
91502619f03c4be2229dd1f591e07ec1bb150859
refs/heads/master
2022-01-28T13:23:12.087976
2022-01-06T06:56:22
2022-01-06T06:56:22
79,455,277
17
2
null
null
null
null
UTF-8
Python
false
false
2,476
py
# Primality Tests # # Copyleft 2018 lion137 # # 1. Fermat Test from random import randint def modularexponenation(base, exponent, modulus): """modular exponentiation""" if modulus == 1: return 0 result = 1 base = base % modulus while exponent > 0: if exponent % 2 == 1: ...
[ "lion137@gmail.com" ]
lion137@gmail.com
64c6e624e5cdc1d68562c50856c653259e6a714f
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/spanner/v1/spanner-v1-py/tests/unit/gapic/spanner_v1/test_spanner.py
48c0e610faf11dbdc0bd2728018980965350473f
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
150,377
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
1553d5d277a72ef2274a5f58479348835444fb15
c1e31f49a59beb6089328d09040f6f48d2e12cde
/lib/python2.7/tests/test_plotants.py
7a7cdc4a579d40018e4ad412b42fcc84faf8eb45
[ "Python-2.0" ]
permissive
kernsuite-debian/casalite
3d81761e0d8ae497f97ea242e98d4357618a7591
b620981f14f4ba5b77f347f649cd2c16d498db04
refs/heads/master
2021-06-22T16:22:51.765703
2021-02-25T13:28:05
2021-02-25T13:28:05
80,822,139
0
1
null
null
null
null
UTF-8
Python
false
false
3,517
py
import os import string import sys import shutil import unittest from __main__ import default from tasks import * #from taskinit import * from __casac__ import tableplot ''' Unit tests for task plotants. It tests the following parameters: vis: wrong and correct values figfile: if output is crea...
[ "gijs@pythonic.nl" ]
gijs@pythonic.nl
5279c267aee7c9ab4445a98576cfcfaf40093b5f
d75b740cfe43b283fda6ea7370cbea6aaf3deb6c
/collective/constants.py
0b9bdb55087adaab89664ab1952c5708baca2d04
[]
no_license
HaySayCheese/OpenCorporaUA
0911c29bf5d37880b130bfee2c0eb4793ce32c67
794254c65a098bcf38b2999704840e2614dc28f4
refs/heads/master
2021-01-17T05:19:19.519345
2015-09-14T11:58:10
2015-09-14T11:58:10
42,046,726
1
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
#coding=utf-8 class AbstractConstant(object): def __init__(self): self.ids = {} self.count = 0 def set_ids(self, ids_dict): # check for duplicates if len(set(ids_dict.__values())) < len(ids_dict.__values()): raise ValueError('Duplicate id detected.') self...
[ "dima.chizhevsky@gmail.com" ]
dima.chizhevsky@gmail.com
a03b0d31c5006e59062ef309a36e5e16b33b6c54
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/web/v20190801/web_app_private_endpoint_connection.py
61880949796fac9550f145ecc6ea0878b1e34616
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,253
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
12bfd823bba8659e67c22af6c2bd0062937a4c5f
362224f8a23387e8b369b02a6ff8690c200a2bce
/django/django_orm/courses/courses/settings.py
d11c36f0bb97c266c1f7db84060415fcde1a5412
[]
no_license
Helenyixuanwang/python_stack
ac94c7c532655bf47592a8453738daac10f220ad
97fbc77e3971b5df1fe3e79652b294facf8d6cee
refs/heads/main
2023-06-11T02:17:27.277551
2021-06-21T17:01:09
2021-06-21T17:01:09
364,336,066
0
0
null
null
null
null
UTF-8
Python
false
false
3,353
py
""" Django settings for courses project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "wangyixuan@msn.com" ]
wangyixuan@msn.com
4feb8e94c1009ed1a7bd4e668bd531bd760e00c5
24e7e0dfaaeaca8f911b40fcc2937342a0f278fd
/venv/Lib/site-packages/plotly/graph_objs/parcoords/line/_colorbar.py
257f038abfbb04d2dbc94a73796c799953fc8c52
[ "MIT" ]
permissive
BimiLevi/Covid19
90e234c639192d62bb87364ef96d6a46d8268fa0
5f07a9a4609383c02597373d76d6b6485d47936e
refs/heads/master
2023-08-04T13:13:44.480700
2023-08-01T08:36:36
2023-08-01T08:36:36
288,455,446
1
0
MIT
2021-01-22T19:36:26
2020-08-18T12:53:43
HTML
UTF-8
Python
false
false
70,590
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class ColorBar(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "parcoords.line" _path_str = "parcoords.line.colorbar" _valid_props = { "bgcolor", ...
[ "50989568+BimiLevi@users.noreply.github.com" ]
50989568+BimiLevi@users.noreply.github.com
8f2e3caa6aa3e8037118946cc4681495f25b6c40
9e4003f3a5974663a8ef49263fb3bb3028581604
/hw24/EoS Game/level.py
00e2747b8b692b3b07f1f0b6a8dff9ddafb127b5
[]
no_license
RMeiselman/CS112-Spring2012
624fc89745eacbf08f7931dcd8041eeda2bb808c
dc55b3c04cb59d3ad26a6836c31c0c6e86781018
refs/heads/master
2021-01-18T12:17:01.315712
2012-05-06T00:35:43
2012-05-06T00:35:43
3,266,344
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
#!/usr/bin/env python import os import pygame from pygame import Rect, Surface class Level(object): def __init__(self, size): self.bounds = Rect((0,0), size) def restart(self): self.player = Player() self.player.rect.center = self.bounds.center def update(self, dt): self...
[ "Dagerothmeiselman@gmail.com" ]
Dagerothmeiselman@gmail.com
8dbe860dcd142c6356ebf8fbb80b5b2200bcd6e4
0feb885020bda66d4828e7a5b73caac4ca944303
/code/test/integration_tests/pages/header_page.py
21377146a2565c293081bfde0ff97440ab17dd47
[]
no_license
OlehHappy/smartnest
0bcfb373ca1dd9770d0cb5f7a983ab07be5db38f
18757cf5576b7a6880c6aabf7f3da7539a8cf19a
refs/heads/master
2021-01-12T05:08:02.818394
2017-01-02T22:44:33
2017-01-02T22:44:33
77,866,539
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
__author__ = 'Juraj' from selenium.webdriver.common.by import By from pages.page_base import Page class Header(Page): def __init__(self, driver): self.driver = driver # page elements locators section # link pointing to user's name in page right upper corner # self._user_name_link_...
[ "olegtranslator@gmail.com" ]
olegtranslator@gmail.com
105b5bf8cb48f2ba85f5700e00a2b72766734d88
303d119180421b6cb7b2fbbf41f6c4959b54b2cd
/MON/osm_mon/plugins/CloudWatch/prod.py
36766dc2add21579bae64a07f0ea39a19baa0022
[ "Apache-2.0" ]
permissive
usmanjavaiduj/OSM
2c508b1fcf89ccc80f7b9054743e9ceeb389f056
8a65c37e90cec9e896d52ea41eded8ac3541e063
refs/heads/master
2021-08-28T04:46:26.803468
2017-12-11T07:40:17
2017-12-11T07:40:17
106,265,897
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
import os import sys sys.path.append("../../core/message_bus") from producer import KafkaProducer from kafka import KafkaConsumer from kafka.errors import KafkaError import logging import json from jsmin import jsmin producer = KafkaProducer('create_alarm_request') producer.create_alarm_request( 'create_alarm_reques...
[ "usmanjavaid9423@gmail.com" ]
usmanjavaid9423@gmail.com
4e6731c513f7aa97ea99261cc61ad55cdfee5dcf
d7a03a982239e5bb11b98f05cee0ce79f418cf72
/schedule_class.py
d07bf08e4355d3e68e013868495a3936dbcabed8
[]
no_license
furfa/Pulkovo.Hack
6d6c869ac131faa14a086b4f81f89ecd466dbf86
30b088149e182124ae0ab75d665bf7d4fa0f7fb7
refs/heads/master
2022-11-30T05:13:47.496860
2020-08-16T15:36:52
2020-08-16T15:36:52
287,518,898
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
from entity_classes import * from entity_getters import * from datetime import datetime import pandas as pd class Schedule_item: def __init__(self, time:Time, task:Task, teacher:Teacher, audience:Audience): self.time = time self.task = task self.teacher = teacher self.audience...
[ "gleksandr.myashin@gmail.com" ]
gleksandr.myashin@gmail.com
9cd5a7daa2bcddd413ea13e5c88b3ae9de3aece4
6b3870bb321d930c34c6f65f19091169425f4dee
/scripts/scil_print_header.py
aabdeebfb6da8f04cf27aa6d65dae5373a64ada6
[ "MIT" ]
permissive
fred-laberge/scilpy
a15b3c525be892ca99b1dad25e35a3667ac116db
b0055521a87eb803876b8122eddc77608f520e89
refs/heads/master
2021-03-13T05:12:25.237411
2020-03-11T17:44:20
2020-03-11T17:44:20
246,642,805
0
0
NOASSERTION
2020-03-11T17:55:22
2020-03-11T17:55:22
null
UTF-8
Python
false
false
1,554
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Print the raw header from the provided file or only the specified keys. Support trk, nii and mgz files. """ import argparse import pprint import nibabel as nib from scilpy.io.utils import assert_inputs_exist from scilpy.utils.filenames import split_name_with_nii d...
[ "francois.m.rheault@usherbrooke" ]
francois.m.rheault@usherbrooke
0b2318f827065c29077d00fa717ad062eba5b34e
3260490045fd2bd929b3861fe2b4dd35a14cc9fb
/exercicios/Mundo01/ex028.py
588c922a2dab89987d43e367d451858bb5652dcf
[]
no_license
lucaslamdev/cursoemvideo-exercicios-python3
a07292bffd8733ce56192f80fb80b20fd6b5bfb9
545ca6dc2952019f5d29da71d6293f80d5f99a73
refs/heads/main
2023-08-03T14:46:36.619723
2021-09-17T00:44:27
2021-09-17T00:44:27
353,704,386
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from random import randint numeroPensando = randint(0,5) print("O computador pensou um número entre 0 e 5 tente adivinhar!") numeroDigitado = int(input('Que número você acha q eu pensei? ')) if numeroDigitado == numeroPensando: print('Parabéns você acertou!') else: print(f'Que triste você perdeu, o número era ...
[ "50436012+lucaslamdev@users.noreply.github.com" ]
50436012+lucaslamdev@users.noreply.github.com
88e8f0be914f7822411fdb479f9868d5490751f1
b3ab02d32b7ed543d95f5a4a38d6cc3cbda138d9
/Python-数据结构-青岛大学/线性表实现/数组(序列类型)/数组.py
ac9ab4ea381d47a5d68dcde000ab8840076aa8ae
[]
no_license
reallyz/Beta
b09d7a53d4cd4a9cfdea984be8c61eade28d5a15
0c91b162d0f7367df13930390dd306aca5d20b3d
refs/heads/master
2021-01-02T17:12:27.478572
2020-05-08T04:08:15
2020-05-08T04:08:15
239,717,278
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
# 一维 array=[] # 二维 array=[[],] import numpy as np array=np.array()
[ "zhuruilicust@163.com" ]
zhuruilicust@163.com
0fad5455bca400dc1c8cd50c5e7720d7187ce031
f5a5599df7be4f05365f3c10138a32064bdf19d9
/WorldHappinessReport-InsetPlot.py
ed317eb07efac99a4766f64f7fe019a373b11819
[]
no_license
ErkanCetinyamac/Data-Visualization-with-Plotly
c09bdf90989794dca4319760f9574928e5c829c3
445d5cc54f7402f3b98760a90df690d6b918a2ab
refs/heads/master
2020-05-07T06:04:40.086268
2019-04-09T07:41:59
2019-04-09T07:41:59
180,300,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 8 18:09:22 2019 @author: Erkan Çetinyamaç """ import pandas as pd # Plotly library usage in Spyder from plotly.offline import plot import plotly.graph_objs as go # import graph objects as "go" data=pd.read_csv(r"C:\Users\eceti\Desktop\phyton\DataAi\Data Vis...
[ "noreply@github.com" ]
ErkanCetinyamac.noreply@github.com
c49b770e7e0eb0e6b026077bfc57767e6170ae0f
9badb76369f2bb081afced41bb97900fb9b29245
/site-packages/kivy/version.py
e6674be5c3ed45cf8eac5642212118096718451c
[ "MIT" ]
permissive
officekamiya/5yen
69a8ba0f2edd10d56934b2806fa3644f46847406
cb0e8a03b6a9decde0b5ab9329871da1ed1ba85f
refs/heads/master
2020-12-05T20:08:54.191521
2020-03-04T01:34:40
2020-03-04T01:34:40
232,232,117
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# THIS FILE IS GENERATED FROM KIVY SETUP.PY __version__ = '1.11.1' __hash__ = 'Unknown' __date__ = '20190717'
[ "hayato@officekamiya.co.jp" ]
hayato@officekamiya.co.jp
f6a28321d328796b38fa66f112d42b2f54807025
d37a6c5982a4dd768898dfad13b93f3e30ff8497
/Code/model_compactor.py
5595e2272d6ca1e541666aa8520cd3841810776f
[ "MIT" ]
permissive
Jinwon-DK/GaitAnalysis
691a4fc815dbaf2f59b6d0a45834627a40ae3a32
6b7be4aae9963b8986519af5bcbff39f32ebf2cd
refs/heads/master
2022-11-22T13:02:52.675870
2020-07-21T13:26:14
2020-07-21T13:26:14
281,865,622
0
0
MIT
2020-07-23T06:05:54
2020-07-23T06:05:53
null
UTF-8
Python
false
false
3,435
py
import tensorflow as tf from keras.backend import set_session from keras import backend as K import keras from Code.Model import basic_10_network as BasicNet from Code.Model import resnet as ResNet from Code.Model import vgg_network as VGGNet from Code.Model import base_model as dcnn from Code.Model import lstm_model a...
[ "hchan11@naver.com" ]
hchan11@naver.com
f821bfab7ae9d9781d32c46492f098dc9b856612
91e2f963ec4b13d38c3d5d0258ad0c48d4d674f1
/wrappers/BlockDataWrapper.py
84aca9a6dbc6f9535d864b0cfd6f2876d1b654ce
[ "MIT" ]
permissive
WouterGlorieux/BitcoinSpellbook-v0.2
6265589afc1197fe52e41b9dc701e4cc5294187f
93b5480f87f4dc41c2d71093aa98d1fbdd83625c
refs/heads/master
2021-06-02T06:48:25.607028
2016-09-23T20:03:55
2016-09-23T20:03:55
61,746,127
0
0
null
null
null
null
UTF-8
Python
false
false
6,554
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib2 import json import urllib import hashlib import hmac import base64 import logging class BlockDataWrapper(): def __init__(self, url): self.url = url def utxos(self, addresses=None, provider=''): if not addresses: addres...
[ "wouter@valyrian.tech" ]
wouter@valyrian.tech
6d150af553878700d5df20c1eccef683e5acb322
c3ffb020314af5894242073c23c7138a9aa6ea6e
/Past/Rest/script.py
66cc3e50b6f1c8087cc3a27b882438816d74bbb2
[]
no_license
mohammedjasam/CleverNator
1fa8a54c8dca281696de1f33c4c62d7ab78725a1
dd04b975c4caaa201ccdf92df51635213156c920
refs/heads/master
2020-05-18T15:13:40.667968
2017-11-25T17:44:35
2017-11-25T17:44:35
84,256,689
1
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
"""# Pull the existing Tensorflow Environment docker run -it gcr.io/tensorflow/tensorflow:latest-devel # Download the multilabel data from internet to a single folder # Ex: Place Darth_vader pics folder + Darth_Maul Pics Folder in Star_Wars folder # Move the multi-label image folder(star_wars) to docker mv "c:../.../...
[ "mnqnd@mst.edu" ]
mnqnd@mst.edu
276cdbfd909177b2431c7eae9a27253766a28570
654b2ece53bddd8c059cfe3e0e07d02c7dcfb6dd
/parladata/migrations/0023_alter_personmembership_role.py
6fe9585d7c9949adb45d0d6aaab321d54cbf5884
[]
no_license
danesjenovdan/parladata
a5bfa85b63f773a60ff393e6377192006da1eb67
b2a4a5d622b9286f902edea817f4128dfad806fe
refs/heads/dev
2023-08-16T20:26:26.851218
2023-07-07T15:34:48
2023-07-07T15:34:48
113,332,736
1
0
null
2023-07-11T08:39:57
2017-12-06T15:24:26
Python
UTF-8
Python
false
false
483
py
# Generated by Django 3.2 on 2021-05-12 19:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('parladata', '0022_alter_law_passed'), ] operations = [ migrations.AlterField( model_name='personmembership', name='rol...
[ "filipdobranic@gmail.com" ]
filipdobranic@gmail.com
2f5b97a5828fd10e996f4e639fd1fd2130a65158
a367b9dc148be03616c10eb76e169561789acd43
/src/predict.py
9fc99791e365c7a5c765bbda37efd244fd060225
[]
no_license
Rabahjamal/Visual-Question-Answering
9e66d62eeb3da33a6e2bacc40349908f1c983992
d5d8bdeb5d7fe7ac8518c11d489e229e81a99318
refs/heads/master
2020-03-21T03:32:01.288282
2018-06-30T13:33:06
2018-06-30T13:33:06
138,059,224
0
1
null
null
null
null
UTF-8
Python
false
false
1,585
py
import numpy as np import keras import pandas as pd from keras.models import Sequential,Model from keras.preprocessing.text import one_hot from keras.preprocessing.sequence import pad_sequences from keras.layers import Concatenate,Reshape , Input ,LSTM, Dense, Dropout ,concatenate , Flatten ,GlobalMaxPooling1D from ker...
[ "rabah9686@gmail.com" ]
rabah9686@gmail.com
fdeba04ec009c89a271ec8cdbf952115c6138d06
e7580d924666db728ea02611819f6cc0e5077ec3
/accuracy.py
66a275b7a12436fae14b5ccc913ca13a3d8a6858
[]
no_license
lawauditswe/Pokemon-Battle
ee48c3625c2a2816d16c9cf321096a05280c3669
54585b466f39f9b986d745e4ea08e0934a67826e
refs/heads/main
2023-07-07T22:16:40.707571
2021-08-25T20:27:34
2021-08-25T20:27:34
349,981,229
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
# Accuracy checks from random import randint import random def accuracy(move): miss = random.randint(1,100) if miss > move.accuracy: return 0 return 1
[ "noreply@github.com" ]
lawauditswe.noreply@github.com
68d23317f6f0a24c9995428930f87cb7863815ca
53c309591a91b014c30421e8af4dfe20eb532a3b
/testsite/settings.py
4b7f1fec52669ed0e7ff8616bb73a147db004d8e
[]
no_license
codecampNick/TestSite
af4e2dea0077bfc1f6cc9084dcef2125bfa0bdfa
1221c644ed5d4be3ad366dbf3eedda079e30edf6
refs/heads/master
2020-06-03T06:50:33.674154
2019-06-20T02:14:26
2019-06-20T02:14:26
191,269,766
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
""" Django settings for testsite project. Generated by 'django-admin startproject' using Django 2.1. 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/ """ import os # ...
[ "nick.jp.ross@gmail.com" ]
nick.jp.ross@gmail.com
2e83051cab98c6e966a89981f641b396e0630240
efde9197a0a0ea1e11113e79bce87c3ded80573e
/hackerRank/cyclic binary string.py
00f79a18ec9e5abbffb5f41d0b5d339823f58e5e
[]
no_license
dkarthicks27/ML_Database
bb370366e7b4d2ad06d992778c02815304a30f2d
9f3856b1ac2aead5df4e3ef05e1800b1152f777e
refs/heads/master
2021-10-27T10:45:47.258344
2021-10-24T10:42:55
2021-10-24T10:42:55
238,627,713
0
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
"""Algorithm: 1011010 So it is actually left rotation So what we can actually do is that we can probably shift each time convert to decimal and see if there exist a integer log for this number but I don’t know if this method is feasible Take the input string save it to a variable original 1. Convert it to decimal a...
[ "dkarthicks27@gmail.com" ]
dkarthicks27@gmail.com
6df3222d955efd0abe5781c7c48aced830dbed13
5dcaf0c31a8362d64134d0dcd9131fb8e827307a
/footmark/vpc/router.py
9ca6687ef880578501b031e2b61357f50519bf50
[ "Apache-2.0" ]
permissive
lixue323/footmark
10a94ef97cefdab2264088cda70c937c63b819ec
30cbb2f4b61546d530d955079ccbb38f22fa3edb
refs/heads/master
2020-08-11T21:57:07.782124
2019-10-15T16:15:17
2019-10-15T16:16:08
211,007,645
0
0
Apache-2.0
2019-09-26T05:34:05
2019-09-26T05:34:05
null
UTF-8
Python
false
false
1,532
py
""" Represents an VPC Security Group """ from footmark.vpc.vpcobject import TaggedVPCObject class RouteTable(TaggedVPCObject): def __init__(self, connection=None, ): super(RouteTable, self).__init__(connection) self.tags = {} def __repr__(self): return 'RouteTable:%s' % self.id d...
[ "guimin.hgm@alibaba-inc.com" ]
guimin.hgm@alibaba-inc.com
a450a16b1200362256b6935d2e9e58dab3f43813
ffa967abfb47af7a370f02a09dd0df14318c20a3
/Modelling/Regression/Gradient Boosting.py
f6a1efbb99eaab0c297a6706364083c64894061b
[ "MIT" ]
permissive
fraunhofer-iais/IAIS-Python-Snippets
f564d4ba4f9ee633fbda1bb3aa00ed8970fac55c
a3ee610d6270cda2c891688851696c34831ffa2b
refs/heads/master
2023-01-08T19:59:05.055937
2020-11-11T10:00:46
2020-11-11T10:00:46
293,539,482
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from sklearn.ensemble import GradientBoostingRegressor from sklearn.model_selection import GridSearchCV parameters = {'n_estimators':[2, 5, 10, 50, 100], 'max_depth':[3, 4, 5], 'learning_rate':[0.001, 0.01, 0.1]} model = GradientBoostingRegressor() regs = GridSearchCV(model, parameters, ...
[ "hammam.abdelwahab@iais.fraunhofer.de" ]
hammam.abdelwahab@iais.fraunhofer.de
e07a47abfbe7d722114af4192739a875854c3f68
aac55184b20defb682c781fd4bf7aae2a402d439
/RedditAnalyzer.py
ce5d93ec2a226b043796109732da5f9b94701bbd
[]
no_license
bianchima/reddit_corona_scraper
632824ed151cbf38d25621660352d681489850d3
6442c12e8b495c450b49ff760e6d25e0411ce34c
refs/heads/master
2022-06-19T05:35:45.724944
2020-05-11T06:25:04
2020-05-11T06:25:04
262,848,435
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
import json import operator from datetime import datetime as dt # Load from File with open("data.json", "r") as fp: data = json.load(fp) words = {} authors = {} dates = {} for key in data: # Words in Post title = data[key]["title"] title_words = title.split() for word in title_words: if wo...
[ "Nomentum@10.145.253.205" ]
Nomentum@10.145.253.205
42be3d1e9cacde54e580d4767efb954f52e2fdd4
a65e5dc54092a318fc469543c3b96f6699d0c60b
/Personel/Ruthwik/Python/4mar/list_even.py
287949f2c9dd5179c08725f9c845b5ed20460460
[]
no_license
shankar7791/MI-10-DevOps
e15bfda460ffd0afce63274f2f430445d04261fe
f0b9e8c5be7b28298eb6d3fb6badf11cd033881d
refs/heads/main
2023-07-04T15:25:08.673757
2021-08-12T09:12:37
2021-08-12T09:12:37
339,016,230
1
0
null
2021-08-12T09:12:37
2021-02-15T08:50:08
JavaScript
UTF-8
Python
false
false
206
py
#Python program function to print the even numbers from a given list. n1=[15,42,40,85,96,80,34,50,55,12,23,24] def even(n): for i in n: if i % 2 == 0: print(i, end=" ") even(n1)
[ "ruthwikraja@gmail.com" ]
ruthwikraja@gmail.com
3c68bcd1c8eb969fe6f027f047b84e08c321097f
0b2acfb420f4f1354c1f0db78a5fb192f7ffa3fb
/ds_in/sampler_base.py
7ecf9a7af0460ebfa27a6b151291ac232d78ef68
[ "WTFPL" ]
permissive
wsfreund/decoder-generative-models
0ef7aed7fb53e5307a1d27738e153cbcf5dc8902
927409dda96d5e886156214ecb6960eb2072a9fd
refs/heads/master
2023-06-04T19:47:49.322157
2021-06-25T13:35:09
2021-06-25T13:39:47
279,616,507
0
1
NOASSERTION
2021-03-25T20:25:44
2020-07-14T15:00:39
Python
UTF-8
Python
false
false
11,774
py
from abc import ABC, abstractmethod import numpy as np import tensorflow as tf import copy import itertools from ..misc import * class SpecificFlowSamplingOpts(object): def __init__( self, batch_size , take_n = NotSet, drop_remainder = NotSet , shuffle = NotSet, shuffle_kwargs = NotSet ...
[ "wsfreund@gmail.com" ]
wsfreund@gmail.com
3bed628c0eefc76fd507d162f5644a7d9a624739
29ca59f02597d1241817233def8fb433823f959c
/nth_node_from_end_of_linked_list.py
a3e494a301f2ff054cb0fe01baf9c84e07f3ed5c
[]
no_license
rupalisinha23/problem-solving
eebb5690cf226f49d8d3fd79fb7d1382d7d716a3
85e4eb2b5d762c99b34683dac0cb4ac42c1683dc
refs/heads/master
2020-05-18T03:16:28.982448
2020-01-31T12:23:58
2020-01-31T12:23:58
184,141,342
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
class Node: def __init__(self,val): self.val = val self.next = None class Solution: def remove_nth_node(self, head,n): dummy = Node(0) dummy.next = head first = dummy second = dummy for i in range(n): first = first.next while(first....
[ "rupalisinha23@gmail.com" ]
rupalisinha23@gmail.com
721e3853f3a1799fc3552d4f8d2e08bdd76aa6cc
54004129b8d5933aeed28e71aabf34daf2fb061a
/venv/untitled/hp/models.py
4e468419d44d8983dc3c2615cd795f975c6d5aff
[]
no_license
eva990417744/zsxywwhp
1e6c9a4e1831891630e9ea22b49a3c4eb3e18603
5a2d46ef68b9028fa30cd1f5a66b175b84cf39fc
refs/heads/master
2022-12-07T14:06:20.942616
2016-11-02T18:08:05
2016-11-02T18:08:05
69,695,877
0
1
null
2022-11-18T03:41:59
2016-09-30T19:29:31
Python
UTF-8
Python
false
false
4,860
py
from django.db import models class Excle(models.Model): name = models.CharField(max_length=10) excle = models.FileField(upload_to='%Y/%m/%d/') add_time = models.DateField(auto_now=True) class HP(models.Model): name = models.CharField(default='', max_length=50, verbose_name='hp_name') blood = mod...
[ "990417744@qq.com" ]
990417744@qq.com
86c6bda0603c609d70afe20bb9b6a60d1be9327b
7dfc850b1e82ba852c1b6f81153f499466faa426
/database_imports/dataimport_symbols_Single.py
1313e169132fd7a17ec7ba0543934ba76b18e179
[]
no_license
ollieboard/CodeA
e06053989e55da7b468f0f567eb614995ffb0393
497e51a6d7f555ec9fb709f22fc04c57139f233a
refs/heads/master
2020-12-14T16:03:53.764505
2017-06-12T16:45:16
2017-06-12T16:45:16
52,689,792
0
2
null
null
null
null
UTF-8
Python
false
false
829
py
# Python script for filling database from csv file import sys, os, csv # Full path and name to csv file csv_filepathname="FSE-datasets-codes.csv" # Full path to your django project directory your_djangoproject_home="/home/oliver/Repositories/CodeA/codea/" sys.path.append(your_djangoproject_home) os.environ.setdefaul...
[ "ofeindt@hotmail.com" ]
ofeindt@hotmail.com
5299c187799270f860c642046f4536a3f2a2a679
6ca758d6f2edad22e0029c283e65d5826f065461
/nodes/freeplay_sandbox_supervisor/launcher.py
3bd255c2c46dbfc5209122efa988b7f3270ec63f
[]
no_license
aaramirezd/web-supervisor
2f98d1f2c060bb92275df008fb7a8ea35d0c617c
1beed6cd86db6dc90dfc1c0b64012c1fd3941246
refs/heads/master
2020-04-11T04:35:17.567292
2017-06-28T14:40:06
2017-06-28T14:40:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,872
py
import time import sys import subprocess import psutil import rospy import roslaunch import roslaunch.xmlloader from roslaunch.core import RLException from roslaunch.config import load_config_default from rospkg.common import ResourceNotFound class Launcher: def __init__(self, package, launchfile): se...
[ "severin.lemaignan@plymouth.ac.uk" ]
severin.lemaignan@plymouth.ac.uk