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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
9611fd8e79e725c836099ca0e2b297efab9883de
2847f70cb61e57c036ebf3853f85b82350d39241
/site_settings/models.py
03da250c68902c7996bbe00f436698cfeac7a65c
[]
no_license
SDupZ/sdup.nz
6f020c3f074062edf6df734ee75996a50459df42
a84c8bcbc14e3a086c263c38630555764e0acb71
refs/heads/master
2021-01-20T05:13:12.960616
2017-06-12T10:28:22
2017-06-12T10:28:22
89,761,960
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
from datetime import datetime from django.db import models from filer.fields.image import FilerImageField class HomepageSettings(models.Model): created = models.DateTimeField(db_index=True, auto_now_add=True) modified = models.DateTimeField(db_index=True, auto_now=True) jumbotron_image = FilerImageField(b...
[ "smdupnz@yahoo.co.nz" ]
smdupnz@yahoo.co.nz
fb3c8d03e35d9a16bcaa330a45d50fdb01bb1c19
f500caaa13d7471956c04b153ea6cfc841623af6
/homeassist/util/cache.py
4526fa71a6e674eae6e118b5abbc3ec34a2e3e1b
[]
no_license
little-young/home-assist
66ce97f3b573af8ac6d648a096842dc6f19d7ec5
ab8f703b75c30e7f9bb8b70ffb1a81c7589019c5
refs/heads/master
2022-11-25T17:17:58.749991
2020-07-30T15:42:03
2020-07-30T15:42:03
278,770,402
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
from time import time from homeassist.util.error import Error CACHE_MEM_DICT = {} CACHE_TIME_DICT = {} def check_db(db): if db not in CACHE_MEM_DICT: CACHE_MEM_DICT[db] = {} CACHE_TIME_DICT[db] = {} def delete(key, db=0): """删除键为key的条目""" check_db(db) if key in CACHE_MEM_DICT[db]: ...
[ "xiaoyang.wang@luckincoffee.com" ]
xiaoyang.wang@luckincoffee.com
20c4b3f39164a03f9e109ad879f4ffeb710248ed
c8103407fde3e0462ef77441f8421303ce79ebf3
/backend/tips/__init__.py
a562431ec09ae4540dab5d178a0736c190f76175
[ "MIT" ]
permissive
snvfyy/satia
d4f5cb991c85cbe880ec7d8872bc21eb8cb4ed76
5142046345b99d595aa49d3bbf79f1619abf5591
refs/heads/master
2022-05-02T03:51:32.234579
2018-10-24T17:55:21
2018-10-24T17:55:21
153,897,419
1
0
null
null
null
null
UTF-8
Python
false
false
177
py
def load_fire_tips(): fire_tips = [] with open("./tips/fire_tips", "r") as f: for line in f.readlines(): fire_tips.append(line) return fire_tips
[ "vlad.sabi18@gmail.com" ]
vlad.sabi18@gmail.com
b44921c2444b6b4af3d4aedf5fafaa97c2468da0
0666f52326b56aadf6c3e63bcd7e5c5adf8f4cd2
/cs106a-hw1-karel2/server.py
13915f312d905d407646730238cab1bf74b99bbc
[]
no_license
aashidham/benuku_code_sample
19b62aaf181801a30bf7fad6c8da8158bb1702f7
ec84ceddade22ee9c72d7896a9b909e531a1ea40
refs/heads/master
2020-07-04T11:56:17.271419
2016-08-17T21:38:30
2016-08-17T21:38:30
65,943,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,994
py
from werkzeug.wrappers import Response, Request from werkzeug.serving import run_simple import eventlet, socketio import posixpath, urllib, os, mimetypes, json, sqlite3, signal, subprocess from operator import attrgetter import time, subprocess proc = None sio = socketio.Server() @sio.on('connect') def connect(sid, ...
[ "aashidham@gmail.com" ]
aashidham@gmail.com
ab203dead3895fbe4a0ffe442a2e8d8ab56f1073
65ca2789de0a95a7371454a22d8f76256669eafc
/loss.py
aed0aa0f430b6db6a86e037c11639a873cf6f4f4
[]
no_license
yyy11178/CRSSC
0f5c1c7414068b40d301f1c60db5844788bc5643
97c2f217f3cf5b1af1e20e807c6bc6ee50342a88
refs/heads/master
2022-03-03T23:16:20.264106
2019-11-15T06:01:04
2019-11-15T06:01:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,852
py
# -*- coding: utf-8 -*- import torch import torch.nn.functional as F from utils.utils import print_to_logfile torch.manual_seed(0) torch.cuda.manual_seed(0) torch.cuda.manual_seed_all(0) def std_loss(logits, labels, indices, T_k, epoch, memory_pool, eps=0.1): ce_losses = label_smoothing_cross_entropy(logits, l...
[ "fg_nust_3@163.com" ]
fg_nust_3@163.com
91ffcd83defc9e9403a8e76012c3754f335db4fa
8661aca3cd633d3f50cfd19d4d5e2c864ca5e71c
/Ex009.py
fa77ecda8d0ce94d40879d21b8736c706e3499a1
[]
no_license
hianp/Exercicios_Curso_em_video_Py
043cfba7e7fb558a6f4d972acd5367c9f15718e2
51a3e71504bb8db6debd0fa7992b929d712f4b2f
refs/heads/main
2023-03-21T14:20:43.509963
2021-03-10T23:47:01
2021-03-10T23:47:01
335,655,362
1
0
null
null
null
null
UTF-8
Python
false
false
459
py
n = int(input('Digite um número: ')) print('A tabuada do número {} é:'.format(n)) print('{} x 1 = {}'.format(n, n*1)) print('{} x 2 = {}'.format(n, n*2)) print('{} x 3 = {}'.format(n, n*3)) print('{} x 4 = {}'.format(n, n*4)) print('{} x 5 = {}'.format(n, n*5)) print('{} x 6 = {}'.format(n, n*6)) print('{} x 7 ...
[ "noreply@github.com" ]
hianp.noreply@github.com
c4149668fc54104349962cc2f172eb9e34b861d5
2b45da1be780556426e707da7fa73756cea02ba5
/main_app/migrations/0002_auto_20210203_0736.py
bf9af9023dd9521919d04226bd38535e1daeda50
[]
no_license
abonilla1/offThePace
7e350efc22ad5ba1531bb8c7085d1f08bb9a6e8d
d3debd4ef6703919b7cddfd5e102d9b3decac413
refs/heads/main
2023-03-10T21:41:34.665850
2021-02-10T11:31:02
2021-02-10T11:31:02
335,526,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
# Generated by Django 3.1.6 on 2021-02-03 07:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Race', f...
[ "amariabrown015@gmail.com" ]
amariabrown015@gmail.com
76773f8a01b7a8807b6f82164ffad3f9efad41d6
6dd08121190d58eb9c934c6f631768fa1b56f7b2
/assignment2/cs231n/optim.py
dae457a240b33995d83e7e227d66443cfd9287ba
[]
no_license
naineshhulke/CS231n-2019-Assignments
414460d509d67af2b17cdb83fbb2413a8d187142
1f0c0120c87bdf0439c50249bcc4de3c01aba4a9
refs/heads/master
2022-12-11T11:10:54.769042
2019-10-22T11:18:35
2019-10-22T11:18:35
185,601,578
0
1
null
2022-12-08T05:17:51
2019-05-08T12:27:38
Jupyter Notebook
UTF-8
Python
false
false
6,649
py
import numpy as np """ This file implements various first-order update rules that are commonly used for training neural networks. Each update rule accepts current weights and the gradient of the loss with respect to those weights and produces the next set of weights. Each update rule has the same interface: def updat...
[ "thenainesh@gmail.com" ]
thenainesh@gmail.com
4d271fa9f696c201b66ded9d03285d14b12361db
178a2253f431bc580b4d913ce25e229e1d4570f3
/users/forms.py
59a158eeedc57db18e58e66f02d82b64e376266f
[]
no_license
2501070055/jinciAPP
39340dd761f2af6330eecb3ceb289b0cb8c1774f
24eacd74f803e8769fbaeffe97a5950b4dc093b1
refs/heads/main
2023-07-16T01:12:16.385701
2021-08-31T02:28:26
2021-08-31T02:28:26
401,547,000
0
0
null
null
null
null
UTF-8
Python
false
false
9,575
py
import datetime import logging import random import re from django import forms from django.contrib.auth import login, authenticate from django.core.cache import cache from django.db import transaction from django.utils.timezone import now from users.choices import SexChoices from users.models import User...
[ "noreply@github.com" ]
2501070055.noreply@github.com
08c9f961074cb25d9eab1cf25d4fdfef08792002
70f66599f8e4f3294a14f317af20d54c8fde440c
/beyondhealthhack/beyondhealthhack/wsgi.py
ef92a34382d0d77f5851333b0a69d1da7eed97d1
[]
no_license
Jh123x/Beyond-health-hack-2021
b91bad078e83028adc0459c7e13434fb7ae75ec4
c8208bb4989cce8ada9766b7de0b719f536f9d96
refs/heads/main
2023-06-22T11:53:11.390969
2021-07-14T14:55:18
2021-07-14T14:55:18
382,859,218
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for beyondhealthhack project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "wenjh1998@gmail.com" ]
wenjh1998@gmail.com
2a8fdd258e6761431797bfe4ce7c1e78c398dc5a
cb6d7c967c0f5068e5a2add3723b612839ba07b0
/user/views.py
81db221b1bb82cc957687f083bcf73fcac9c225d
[]
no_license
ChanoPark/sj_chat_backend
97eb7580767ce00cb85ba703c827a57315888e9e
7165c942b8b1e37281dcc8b76382275caf6b36d1
refs/heads/main
2023-02-26T19:22:20.524187
2021-02-03T05:35:58
2021-02-03T05:35:58
332,686,593
0
0
null
null
null
null
UTF-8
Python
false
false
2,899
py
from django.contrib.auth.models import User #기본유저모델 from django.forms.models import model_to_dict #모델을 딕셔너리형태로 반환 from rest_framework import status from rest_framework.response import Response # json형태로 반환하기 위함 from rest_framework.decorators import api_view, permission_classes, authentication_classes #api_view: 어떤 메소드...
[ "koc081900@korea.ac.kr" ]
koc081900@korea.ac.kr
7d51d7a2ed6f5210cb3d90865585ac7981656575
5950c456b9b347d67c8f9bdbbc99060d4a3bc6d4
/152.Maximum Product Subarray.py
23d3e4c7ff1bc1a4a41b9d8506da482772ff4210
[]
no_license
redrumshinning/Leetcode
c24541eab864281ff07315ca81c5cccb9da559e0
5ded4c79f567639042bcf6eb71ece910f54a5af9
refs/heads/master
2020-03-26T13:05:10.825896
2019-07-31T09:34:41
2019-07-31T09:34:41
144,922,610
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
class Solution(object): def maxProduct(self, nums): """ 动态规划 nums会有负数,所以在保存最大值时如果遇到负数不做保存的话,后面如果有 另一个负数,最大值就不对了,所以同时保存最大值和最小值 :type nums: List[int] :rtype: int """ maxvalue = minvalue = nums[0] globalmax = nums[0] for i in range(1,len(n...
[ "1184761736@qq.com" ]
1184761736@qq.com
8d3e9d28c7d3cbb3972f10322e33431fd9210f4f
982cee5d250b972e2a8c2aaa9ad9648661435119
/src/my_session.py
535077020f45a49b4bc9fa9e1db4b777ac29f0f3
[]
no_license
yewberry/mycollector
ac9d6f0663a11d0d1223845805732fce731351dc
6bd7585bff6541753f6c8b90b9f24c15709a2b41
refs/heads/master
2021-01-20T02:37:29.674866
2017-09-01T10:05:51
2017-09-01T10:05:51
89,429,662
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# -*- coding: utf-8 -*- import os import cPickle from my_glob import LOG from my_glob import Singleton class MySession(object): __metaclass__ = Singleton def __init__(self, file_path=""): LOG.info(u"session path:{}".format(file_path)) self.file_path = file_path self.session = {} ...
[ "yewberry@163.com" ]
yewberry@163.com
66cc1a4ea3850ef7dfca7e84bf4c5b041a488acf
87752d226647cf42e925c0264a2355d8ea513be2
/gen_tests.py
14e6091043381f999fff252fb0743c163f9143ce
[]
no_license
AlbertoEAF/BSS
401d7d5af12d004c0ec6fcc11807e1ec95f97a49
a683c01acb83a94268380fa6d11a035953ab26b8
refs/heads/master
2021-03-27T20:46:14.280319
2014-10-02T03:24:33
2014-10-02T03:24:33
23,039,104
0
0
null
null
null
null
UTF-8
Python
false
false
3,832
py
#! /usr/bin/python3 from os import listdir from os.path import isfile, join import os import subprocess as sub import re from ConfigParser import * from color_codes import * from parse_run import * def raw_string(s): if isinstance(s, str): s = s.encode('string-escape') elif isinstance(s, unicode)...
[ "albertoeafworks@gmail.com" ]
albertoeafworks@gmail.com
c4765a14009d0d9a9af8c24c57ca868d88a1d5ba
479898d0162fd9b00a43dfcc5f3a9db899ea8c09
/bin/threatcrowd.py
14e652b6f324cb66df2a5e5bf6b8839aa9dfa65c
[ "MIT" ]
permissive
Tmvrdummy11/osweep
bf09bc1b4960856d477a7f0c093e7c4194650a68
1d987ef95854df637d7222932f88331365c0e71c
refs/heads/master
2020-04-12T13:01:58.349172
2018-12-19T23:45:54
2018-12-19T23:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,288
py
#!/opt/splunk/bin/python """ Description: Use ThreatCrowd to quickly identify related infrastructure and malware. The script accepts a list of strings (domains, IPs, or email addresses): | threatcrowd <IOCs> or input from the pipeline (any field where the value is a domain, IP, and/or email address). The first a...
[ "theemailaddressishare@gmail.com" ]
theemailaddressishare@gmail.com
5514cf98695a998af222480eea475c9dc957363c
abf2ee47a829fdb6557edc1a7a13bc5a0d204485
/crowd_counting/crowdcounting/application/picture_lib.py
f9fb68523866aec464c3cf675c1bd51692e1bb52
[ "MIT" ]
permissive
buyeah1109/Crowdedness-Detector-with-3D-Visualization
5a208699a32255de599ecca6541b78788b73d97b
8aa2db813ee4abff58d06fc2cfee3a3a5f34558b
refs/heads/main
2023-02-24T21:12:45.173928
2021-01-31T06:13:14
2021-01-31T06:13:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,525
py
import numpy as np from PIL import Image import os rootdir = os.path.join('./data/npy') def fetch(loc, floor, section): for (dirpath,dirnames,filenames) in os.walk(rootdir): for filename in filenames: if os.path.splitext(filename)[1] == '.npy': name = os.path.splitext(file...
[ "z1054276327@gmail.com" ]
z1054276327@gmail.com
abd3bcdbedfbf53aa74ec49c4c5efae200ede1c3
536656cd89e4fa3a92b5dcab28657d60d1d244bd
/tools/perf/core/results_processor/command_line_unittest.py
5dd1f9abc72545c59b4f8dfebf02d90dec2e566e
[ "Zlib", "LGPL-2.0-or-later", "LGPL-2.1-only", "MIT", "APSL-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown" ]
permissive
ECS-251-W2020/chromium
79caebf50443f297557d9510620bf8d44a68399a
ac814e85cb870a6b569e184c7a60a70ff3cb19f9
refs/heads/master
2022-08-19T17:42:46.887573
2020-03-18T06:08:44
2020-03-18T06:08:44
248,141,336
7
8
BSD-3-Clause
2022-07-06T20:32:48
2020-03-18T04:52:18
null
UTF-8
Python
false
false
7,545
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Unit tests for results_processor. These tests mostly test that argument parsing and processing work as expected. They mock out accesses to the operating ...
[ "pcding@ucdavis.edu" ]
pcding@ucdavis.edu
53bd21551303a9812df6895c3a5bcf7d5342dedb
d772869033c47a666622e9ee518bb306db5451a5
/unified/modules/main/categories/crm/entities/deal.py
0bcaee514289e3195334ae924481bbb68f1f6ee0
[]
no_license
funny2code/unified_api
920f1e19b2304e331b019f8a531d412b8759e725
ffa28ba0e5c0bd8ad7dd44a468e3d1e777bba725
refs/heads/main
2023-08-31T16:00:17.074427
2021-10-04T04:09:45
2021-10-04T04:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from dataclasses import dataclass @dataclass class Deal: deal_id: str = None account_id: str = None name: str = None close_date: str = None description: str = None stage_id: str = None value: str = None probability: str = None owner_id : str = None contact_id: str = None c...
[ "baidawardipendar@gmail.com" ]
baidawardipendar@gmail.com
832cce96b7f9dfa6dbddcb796fe9a8b2301cf122
2065098a18b5ecc3e08b6f1634a59c54b2a6dcd6
/item/migrations/0011_item_tag.py
f83793352c43d578b67bea0a8429f66853a9c5bb
[]
no_license
JongtaeKim93/point_mall
03a83b0f913b3db56fa9048b0a3b7ed3085830b5
abd0862297a6ed946913f0441f0fac6c41f23567
refs/heads/master
2022-12-23T17:54:36.722102
2019-08-29T08:01:48
2019-08-29T08:01:48
198,540,754
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 2.2.3 on 2019-08-20 02:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('item', '0010_tag'), ] operations = [ migrations.AddField( model_name='item', name='tag', field=models.Ma...
[ "minahn93@gmail.com" ]
minahn93@gmail.com
611e284cb8350ee5e0530de97ff2121e728b6f84
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/279/66340/submittedfiles/testes.py
7ccd166e96f0a4767cbe69f6d5511f7efefae093
[]
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
165
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO print("andre bezerra de barrros ") print("24") print(11+1037) print((9*35+160)/5) print(3.14159*(10/2)*(10/2)*30)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
50231bfaaa346862a809d5b0b867c22d6adfb0e0
450525bb5cb613c3b1b331ad6a48259c53d93f4b
/array/flip.py
0b17f47423cc6a8132ac8d7be6da579c952eef69
[]
no_license
peterdjlee/ds_algorithms
61dcf4e3af2db8332841462f901cab9a6df4d0cb
87827ad4c51c3ddf5822877a2f4803f99db5d0cc
refs/heads/master
2020-05-25T16:52:17.685132
2019-11-10T05:04:20
2019-11-10T05:04:20
187,895,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
# "Flipping an Image" from Leetcode # Given a binary matrix A, we want to flip the image horizontally, # then invert it, and return the resulting image. # To flip an image horizontally means that each row of the image is reversed. # For example, flipping [1, 1, 0] horizontally results in [0, 1, 1]. # To invert an...
[ "peterdjlee@gmail.com" ]
peterdjlee@gmail.com
fffb6afe04ae24bc0ad2edd767d297c6d60f611e
f56de46df70081cc7f7479b5c9177cba88725c24
/stage8_state.py
667a78babed37880e9d5b71ff05db620a4443e2d
[]
no_license
DongGyu96/2DGP
7418397da1166f1f4ecc05a56737e6d152e30fd2
7f3d0384381fcc6ad8df621538e972b5bd55d8b9
refs/heads/master
2021-01-24T08:15:54.878516
2016-12-22T13:02:14
2016-12-22T13:02:14
68,904,615
0
0
null
null
null
null
UTF-8
Python
false
false
6,354
py
import game_framework import main_state import math import stage7_state from pico2d import * from Ball_Object import Ball from Block_Object import Block from BGM_Object import BGM name = "Stage8_State" image = None text_image = None circle = None blueball = None redball = None blueball_effect = None redball_effect = N...
[ "crow4079@naver.com" ]
crow4079@naver.com
bebb7bc514d382106d8ed6f452d956b5a09201d4
72e68181ea99ed967a565975ae5d9119e486ea91
/employee.py
111655c82ee5cee19bea3686a0564e166337bc39
[]
no_license
lmac02/HW4-ill
71fcc48d7e1352a0a3d375c6eb90aaf4a858eba0
61983eb5985dd8aeab51fb903dbe749247e8e190
refs/heads/master
2020-04-11T01:13:44.921464
2018-03-12T22:12:32
2018-03-12T22:12:32
124,317,015
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from person import person from person import make_routingNumber from person import make_ssn import random as r from datetime import datetime as dt class employee(person): def __init__(self): person.__init__(self) self.employee_permissions = True def ShowCustomerInfo(self, other): print( 'Custome...
[ "noreply@github.com" ]
lmac02.noreply@github.com
cdf3d09aaf600bff0fb8404dcd1901d6d23bd172
c6b3abd156c09326c3a6e5da9e420eed6a5ffd8e
/Test/parameter_text.py
a4b8ac7fb51c882f8ec266a775559df5b60f0bb8
[]
no_license
andoniVT/ESA_Final
4c36230fd3b5e1232869ce366cb0fc15c68ed7ec
065669df965589d00f84c2be873ada935bb0e3a9
refs/heads/master
2021-01-10T13:46:30.146613
2015-10-29T18:54:10
2015-10-29T18:54:10
43,454,014
0
0
null
null
null
null
UTF-8
Python
false
false
11,397
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 15/11/2014 @author: andoni ''' import re import Test.settings as settings import Test.corpus as corpus from Test.term import Term from Test.manager_rule import Manager , Pattern import Test.commentPreprocessor as CP class ParameterText(object): def ...
[ "andoni.valverde@ucsp.edu.pe" ]
andoni.valverde@ucsp.edu.pe
5b443bc248f4ba4e33ec6a112ee23731ed68ef18
c0eaa927a308c95f66c3d3be881d69f21eca024c
/Main/urls.py
b6ded82991322f4145371ee802796e85ae80d996
[]
no_license
gitRobV/Main
45d96de24e6a55cefe1fdf676bcce9a4cd9a490b
d75ec66176f0eeb5717be4d3ead723434a2971d0
refs/heads/master
2020-12-03T09:16:27.405098
2017-06-28T01:28:27
2017-06-28T01:28:27
95,613,647
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
"""Main URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "robertv1979@gmail.com" ]
robertv1979@gmail.com
643abe60ca6014563cdd023652e73a2d29a6797e
cc22c017e3b7a127218755f7183c377235eb76dd
/persona.py
6844c9aa40e6c868a6d8ba7b0a6efdc7332d0d23
[]
no_license
iandrade90/python-crud-pool-conn
17efb74115e77cbb9211211fd0895dd2a5b6d9d6
139f40b51c2d159823ca4be9e4fcc619b275fe32
refs/heads/main
2023-04-15T12:47:33.718000
2021-04-27T01:49:54
2021-04-27T01:49:54
361,946,918
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
class Persona(): def __init__(self, id_persona=None, nombre=None, apellido=None, email=None): self.__id_persona = id_persona self.__nombre = nombre self.__apellido = apellido self.__email = email def __str__(self): return ( f'ID persona: {self.__id_person...
[ "ivandandrade90@gmail.com" ]
ivandandrade90@gmail.com
1c460f138444384b52eda73ccc1a7db8da23d76b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3999/codes/1635_2442.py
7d4cb10f6eb2bb08c1ebeeb9ad94276bb7866760
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
271
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Use as mensagens de erro para corrigir seu código. num=int(input("Digite um numero: ")) if (num%2==0): mensagem="par" else: mensagem="impar" print(mensagem)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ae09bb1661be801f7980a94afbbefdc6ad13a5f0
995377be6b76ba82972a8d6a06723ff534a11704
/mysite/urls.py
fba60b92ee343dae4317be3d364e35117125c3e2
[ "MIT" ]
permissive
ChechonsOrganization/mysite-django3byexample
8a5bdd0e31625bc2aee167901f1f5e10453c9894
f8c0a341df30599c35d52e5205242b0e5906150c
refs/heads/master
2023-03-21T15:27:32.042118
2021-03-10T13:35:45
2021-03-10T13:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "sergio.04.ramirez@gmail.com" ]
sergio.04.ramirez@gmail.com
34b224ca169154804d42c83f0596df550b7665ef
96e9da624caaa4d93fe6c8807bf8876c9e38729b
/agents/utils/parsing.py
76018c275957536f0fca77ffae100dd39c40ee9e
[]
no_license
APodolskiy/TextWorld_Challenge
89c3da5b8601795ec3c733c1dcc4bdc9c1c9f6ba
74a6de102edb697304b5f5ecb47115d187171c10
refs/heads/master
2020-04-22T23:27:34.622316
2019-07-11T07:36:30
2019-07-11T07:36:30
170,742,519
1
0
null
2019-07-11T07:36:31
2019-02-14T18:59:54
Python
UTF-8
Python
false
false
1,949
py
from pathlib import Path from pprint import pprint from random import shuffle from typing import List import gym import textworld.gym def parse_recipe(recipe: str): dir_pos = recipe.find("Directions:") ing_pos = recipe.find("Ingredients:") description = [s.strip() for s in recipe[dir_pos:].split("\n")[1:...
[ "dimich3d@ya.ru" ]
dimich3d@ya.ru
78cd02f35eb33e0dca1c10049960dc96d060c161
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part006597.py
f32e3be699fb19351abe7424a78bedb56216f820
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,302
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
9b2b62d6c9e2308e570b19de28085ae1f34c35a9
7bcb0b7f721c8fa31da7574f13ed0056127715b3
/src/apps/api/resources/subscription.py
62e5a4c74c86c9613ca6bd0c1ba0aeca5007fa3d
[]
no_license
simonchapman1986/ripe
09eb9452ea16730c105c452eefb6a6791c1b4a69
c129da2249b5f75015f528e4056e9a2957b7d884
refs/heads/master
2022-07-22T05:15:38.485619
2016-01-15T12:53:43
2016-01-15T12:53:43
49,718,671
1
0
null
2022-07-07T22:50:50
2016-01-15T12:53:09
Python
UTF-8
Python
false
false
455
py
from apps.base.models import FactServicesStorefrontSubscription from tastypie.resources import ModelResource class SubscriptionResource(ModelResource): class Meta: queryset = FactServicesStorefrontSubscription.objects.all() list_allowed_methods = ['get'] detail_allowed_methods = ['get'] ...
[ "simon-ch@moving-picture.com" ]
simon-ch@moving-picture.com
105f39188ea14f446671389556da928dc7a2a49f
d5fb21eec872bde734b967f31ae822a22316ce8b
/samplesite/bboard/migrations/0001_initial.py
314b155cf0ee449eb546856667590acfcab560d0
[]
no_license
isys35/lessons_django3_dronov
27cea948ce0d4af1ff8fa3a2ba09b1f4b6b6e04c
c14f68854968b36bae3584172b9479f44c519306
refs/heads/master
2023-06-11T03:17:30.877993
2021-07-02T11:45:10
2021-07-02T11:45:10
317,238,079
1
0
null
null
null
null
UTF-8
Python
false
false
708
py
# Generated by Django 3.1.3 on 2020-11-30 13:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Bb', fields=[ ('id', models.AutoField(auto_...
[ "isys35@mail.ru" ]
isys35@mail.ru
7cad58a9f69a867abfe4d091be275e040d48a0d4
d44c05216e554e0d0b279fd6d7e6bcfe4755c399
/pieces/bing.py
f1f67c4eae56d7f2a037325cfcff38965780b8e7
[ "MIT" ]
permissive
east-before-dawn/Check-Chess-Cheer
bef5c53dc0e5b88c96c5fcfde9fba55cfef773fd
6c7562d1358bf12946693221b5414d9fbb676841
refs/heads/main
2023-06-09T17:10:02.293679
2021-06-15T11:08:47
2021-06-15T11:08:47
401,147,724
1
1
MIT
2021-08-29T21:41:08
2021-08-29T21:41:08
null
UTF-8
Python
false
false
1,446
py
from NormalPiece import NormalPiece class Bing(NormalPiece): def __init__(self, x, y, color): NormalPiece.__init__(self, x, y, color) """ 找该棋子的图片路径 """ def get_image_path(self): if self.selected == True: if self.color == 'red': return "images/R...
[ "389041637@qq.com" ]
389041637@qq.com
b42508610856a9da00e6b77138872e63aab1b223
50f04c633f36e9d64c40c4f1b434ed0c24e447c7
/argparse-examples/positionalarg.py
047332844d22ec1332227b4bb8bc6c545fec0f22
[]
no_license
sarahchou/python-practice
883ba7dedd60b2cc18d5d73ef7d3cbb74f09dede
2a3d10144b74460d8ec513e3c7d49bdb48107596
refs/heads/master
2022-11-11T10:06:12.944579
2018-06-11T22:14:06
2018-06-11T22:14:06
136,985,077
0
1
null
2022-10-20T08:48:36
2018-06-11T21:54:46
Python
UTF-8
Python
false
false
305
py
#Introduction to positional arguments import argparse parser = argparse.ArgumentParser() # parser.add_argument("echo", help="echo the string you use here") parser.add_argument("square", help="display a square of a given number", type=int) args = parser.parse_args() # print args.echo print args.square**2
[ "chou.s@husky.neu.edu" ]
chou.s@husky.neu.edu
08e5f8478bb5c283fa2e2c074c5942fd8ce543c0
35d094f33d0c2f840298b6a38113701f7c22e92a
/load/bin/record-index-quotes.py
c7a4073f454d0e05df2c0a984620dd2ddb0f32ec
[]
no_license
sqt-aliu/etl
e40e0879f820d5523b408c9aed4ff2b1944cfe3e
63e0c5dda81e1a849b10c724661c8cfa6b7f832f
refs/heads/master
2020-04-05T13:39:42.120815
2017-11-07T01:59:22
2017-11-07T01:59:22
94,945,798
0
0
null
null
null
null
UTF-8
Python
false
false
6,144
py
#!/opt/anaconda3/bin/python -u import getopt import os import pandas as pd import sys from sqlalchemy import create_engine, exc from datetime import datetime, date, timedelta from dateutil.relativedelta import relativedelta from urllib.parse import urlencode from urllib.request import urlopen from urllib.error import ...
[ "allenliu@htsc.com" ]
allenliu@htsc.com
142149509d7a5bb8e78ae7e37ec76a01b767a1bf
bfb1ebb52db5018f328e4b33003073d547b777d0
/sql_queries.py
347cd9e0aa01f2f81321b9bc2fb323d0ecc42817
[]
no_license
mrpythonita/Data-Modelling-with-Postgres
96ab888bfdca8a0879187d01bf8145993ccef117
e4c562fd7239141a01aeefdd1eed9792efc58c74
refs/heads/main
2023-02-23T11:51:11.128289
2021-01-26T21:01:25
2021-01-26T21:01:25
333,214,021
1
0
null
null
null
null
UTF-8
Python
false
false
2,808
py
# DROP TABLES songplay_table_drop = "DROP TABLE IF EXISTS songplays" user_table_drop = "DROP TABLE IF EXISTS users" song_table_drop = "DROP TABLE IF EXISTS songs" artist_table_drop = "DROP TABLE IF EXISTS artists" time_table_drop = "DROP TABLE IF EXISTS time" # CREATE TABLES songplay_table_create = (""" CREATE TABLE...
[ "noreply@github.com" ]
mrpythonita.noreply@github.com
fe75ca185adaf37639a4e3782095a41d9b93f1ab
f5eba932cba302389943cc1beed77352ce484b73
/isolate_by_range/isolate_atoms_by_z_range_atom_numbers.py
c9e30d883f995fbdd0cf3738b5637c056cf575db
[]
no_license
mikexstudios/wagcode
06c74332e8cad42e6b04bac121fd86f7d75a9e2d
3e925052f17a9c9cf256d3e1ab985265d39e13ff
refs/heads/master
2020-12-24T15:41:07.849300
2009-07-22T10:24:23
2009-07-22T10:24:23
246,507
1
1
null
null
null
null
UTF-8
Python
false
false
1,345
py
#!/usr/bin/env python ''' isolate_atoms_by_z_range_atom_numbers.py ------------------------ Given an XYZ file and a z range, isolates those atoms. This version adds the output of atom numbers. Used these numbers to get charges from fort.56 file. ''' __author__ = 'Michael Huynh (mikeh@caltech.edu)' __website__ = 'http:...
[ "mike.huynh@gmail.com" ]
mike.huynh@gmail.com
b246bc922d4bf8d4371629aadf578c161d4a5220
b5a214062f140389527479802d98d414d8e41dc6
/bindings/python/tests/cindex/test_comment.py
d8f3129ac51e7f5643327d177424ac5d821fbf7c
[ "NCSA" ]
permissive
Codeon-GmbH/mulle-clang
f050d6d8fb64689a1e4b039c4a6513823de9b430
2f6104867287dececb46e8d93dd9246aad47c282
refs/heads/master
2021-07-18T07:45:29.083064
2016-11-01T13:16:44
2016-11-01T13:16:44
72,544,381
29
5
Apache-2.0
2020-04-30T11:36:08
2016-11-01T14:32:02
C++
UTF-8
Python
false
false
957
py
from clang.cindex import TranslationUnit from tests.cindex.util import get_cursor def test_comment(): files = [('fake.c', """ /// Aaa. int test1; /// Bbb. /// x void test2(void); void f() { } """)] # make a comment-aware TU tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files, ...
[ "akyrtzi@gmail.com" ]
akyrtzi@gmail.com
ee135d519ec0726e6868d0dedee7b7549765574d
95e475d1d8141c0ed59225d9dbb08f066e018545
/OpenCV/DrawingShapes.py
488edecafaec533fe61892f7bd1be144815ee0ea
[]
no_license
kk13332488/Deep-Learning
296a81888a17e6b7ffe96d72e965a04d17c70967
c72d6453483dba0bdd591a499e6009dcd3f81139
refs/heads/main
2023-05-31T10:48:08.663865
2021-07-02T05:17:33
2021-07-02T05:17:33
362,121,336
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
import numpy as np import cv2 def drawing(): img = np.zeros((512,512,3), np.uint8) #Generating Space cv2.line(img, (0,0), (511,511), (255, 0, 0), 4) #img, pt1, pt2, color, thickness cv2.rectangle(img, (384, 0), (510, 128), (0, 255, 0), 3)#img, vertex1, vertex2, color, thickness cv2.circle(img, (447, 6...
[ "kk13332488@gmail.com" ]
kk13332488@gmail.com
afe6fbf10498b11d0c161994d33a51a850a6036e
1fa3016c1b67178910b477fd5885cc0fff17e923
/Learning Python/2D Array.py
000cb06dc25ee81a85c884fc6a4a04e61e55c5d2
[]
no_license
Charnub/python-code
9f1c952075ed725b8561a2115acb30872ba0b797
3e35510756e8635e26fc3b71396a0c8856385b69
refs/heads/master
2021-04-15T09:26:34.691921
2018-03-22T18:09:51
2018-03-22T18:09:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import random aScores = [["Jane", 0], ["Bob", 10], ["Ben", 14]] for i in range (0,1): for j in range (0,2): print(aScores[i][j])
[ "noreply@github.com" ]
Charnub.noreply@github.com
75bbbe754d344cb243580cb495baebe07914d27a
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/alhada001/question1.py
a7d1ab9e4c2362dd2297a16531f5457babdf6f3d
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
#Adam Alhadeff import math file = input("Enter the marks filename:\n") f = open(file, "r") length = len(open(file).readlines()) names = [] marks = [] line = f.readline() count = 0 for i in range(length): split = line.split(",") names.append(split[0]) marks.append(split[1]) count += 1 ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
3cfe9f806a69dac658f48ef9028306aaaa9e5724
67954b4bfce1395d571bf4f298f71f04167156c1
/manoeuvre/test.py
b13e08e0e60992264b88f9768c38a900d28ede85
[]
no_license
seym45/erc2018
90cf4257a541c701940f9985f3fd1e2df326b988
0ab9cc3132597d626c2cea999ca65e19510c054e
refs/heads/master
2020-03-26T22:06:55.342243
2018-09-08T19:17:53
2018-09-08T19:17:53
145,432,610
1
0
null
null
null
null
UTF-8
Python
false
false
14,524
py
a = 'imei:864893030415379,tracker,180819162419,,F,102419.00,A,2348.89374,N,09024.74758,E,,,,0,0,0.00%,,;imei:864893030415379,tracker,180819162429,,F,102429.00,A,2348.89374,N,09024.74758,E,,,,0,0,0.00%,,;imei:864893030415379,tracker,180819162439,,F,102439.00,A,2348.89374,N,09024.74758,E,,,,0,0,0.00%,,;imei:8648930304153...
[ "seym45@gmail.com" ]
seym45@gmail.com
48cf3ed92a3e10d96e85fb1b15ba0340b11f90da
9dba8607dce414f9905700d7a4ac44668de5e1f1
/puente_quintanavides/combinaciones/def_hip_elscp_resumidas_xci.py
da24fbbb055eb1ffb3374131c83a39767b1d825f
[]
no_license
anaiortega/XCmodels
c0463ffe38531578aee281456e88528882255cd7
e9b8c2f996a21b8aa3314242f3cc12b0e391b5df
refs/heads/master
2023-08-16T22:44:01.168775
2023-08-14T18:15:10
2023-08-14T18:15:10
141,140,177
3
3
null
null
null
null
UTF-8
Python
false
false
3,362
py
\combinacion["ELSCP001"]{ descomp("1.00*G1 + 0.70*TC1V1")} \combinacion["ELSCP002"]{ descomp("1.00*G1 + 0.70*TC1V1 + 0.20*NV")} \combinacion["ELSCP009"]{ descomp("1.00*G1 + 0.70*TC1V1 + 0.70*TC3V2")} \combinacion["ELSCP010"]{ descomp("1.00*G1 + 0.70*TC1V1 + 0.70*TC3V2 + 0.20*NV")} \combinacion["ELSCP021"]{ descomp("1.0...
[ "l.pereztato@gmail.com" ]
l.pereztato@gmail.com
11814138337f2db2d0f27136c20633ef680bac49
07d1e4d5f55e00bae1376d6adf56070b8458aa52
/src/debug.py
2c69a113197ac8050dd0b220d9cebc258b0069cd
[ "MIT", "BSD-3-Clause" ]
permissive
GRobled0/CenterNet
0bc85ee7ad11f69eb9477ce0fec11397c3f333a1
740ecf06a96897b3545249bbb239264394283565
refs/heads/master
2023-02-11T15:02:10.692191
2021-01-05T20:16:22
2021-01-05T20:16:22
294,961,676
0
0
MIT
2020-09-12T14:38:15
2020-09-12T14:38:14
null
UTF-8
Python
false
false
5,979
py
import _init_paths import os import cv2 import csv import pandas as pd import numpy as np import kalman from opts import opts from detectors.detector_factory import detector_factory import datasetmaker as dm from camera_params import cal_params as params_1 from camera_params_realsense import cal_params as params_2 ...
[ "grobled0@hotmail.com" ]
grobled0@hotmail.com
b19a3f67cbb8d044b2a5ea9cd8fbb25fe0f96ee7
1ec3811f4cafe29f9165f78d059a192ec05a03e1
/app/main/controller/user_controller.py
848bc1d4bda58756eba8ea81b7656adda60a7b39
[]
no_license
IcySkype/FlaskRestPlus
87f964fecc428ace90b99b471e9608f24ac5fd46
2db2faf68d6b9c71907bf2b5cbcbbe932f4331ac
refs/heads/master
2020-04-28T10:12:47.540299
2019-03-13T03:11:52
2019-03-13T03:11:52
175,193,731
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
from flask import request from flask_restplus import Resource from ..util.dto import UserDto from ..service.user_service import save_new_user, get_all_users, get_a_user api = UserDto.api _user = UserDto.user @api.route('/') class UserList(Resource): @api.doc('list_of_registered_users') @api.marshal_list_with(_use...
[ "skytrizero@gmail.com" ]
skytrizero@gmail.com
21b67cd73c3425afe749638e23831431e4628084
0f07107b016d2aee64788966b9f0d322ac46b998
/moya/docgen/theme.py
39c3d707e1310f7b2799f5a59c83826bd99563b2
[ "MIT" ]
permissive
fkztw/moya
35f48cdc5d5723b04c671947099b0b1af1c7cc7a
78b91d87b4519f91dfdd2b40dab44e72f201a843
refs/heads/master
2023-08-09T09:20:21.968908
2019-02-03T18:18:54
2019-02-03T18:18:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
from .. import iniparse from fs.path import dirname, pathjoin class Page(object): def __init__(self, doc_class, settings): self.doc_class = doc_class self.settings = settings def __repr__(self): return "Page(%r, %r)" % (self.doc_class, self.settings) def get(self, context, settin...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
ca2a6787fbbbc2183e4852f837cd9b38f57a2152
ca1182f1b43126bc55736725ae9219f30aec6d84
/venv/bin/pip3.6
7b2bdc1104d2f79da1bb4837699daf22ae6ec0ad
[]
no_license
jesusCDev/Instagram-Bot-With-Selenium
c1501865d9b4563cde39beeffd0bbac2727fe46b
b19ad8f276b74f38b0fa51dc771385dd56e80f10
refs/heads/master
2022-04-08T15:36:09.917401
2020-01-03T01:35:35
2020-01-03T01:35:35
104,346,246
0
1
null
null
null
null
UTF-8
Python
false
false
433
6
#!/home/jesuscdev/Programming/Pycharm/InstagramBot-With-Selenium/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)...
[ "jesuscdev@gmail.com" ]
jesuscdev@gmail.com
a291c9eac13c4ace0db60d7b2a34622f71668b2c
ad7c11f673c290eeb2fa8e3a97c06878553d0035
/plotterWsvgPreview.py
24fd751e6305cd868e80d9a820c4f0f09f4b227f
[]
no_license
jefftrevino/sol118
c05a1cc26facfa31cb0fc19de8de26bbc1a11464
82c0e463e74d4aca3edcce8d9e3dd4c38141d051
refs/heads/master
2021-01-12T06:21:21.485247
2017-01-10T01:10:24
2017-01-10T01:10:24
77,346,073
0
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
import svgwrite from matplotlib import pyplot from shapely.geometry import Polygon, LineString from shapely.affinity import scale, rotate from chiplotle import ( hpgl, instantiate_plotters ) class Drawing: def __init__(self, geoms=None): self.geoms = geoms or [] self.scale_ratio = 1 ...
[ "jeffrey.trevino@gmail.com" ]
jeffrey.trevino@gmail.com
e14f43ea5025e2ed22934b1c5b74a03a9f91f38d
579e3d7310f8b25afc694f647a0b7e5e91329a21
/neuralphys/models/rpin.py
2973633e11850b4a073d8f64dcf96c818d3d5c61
[]
no_license
Alexadlu/RPIN
cd3514312410e4386ed12f435f1c0300e054fb21
eebb8f64a1dd566585566e378ffb05aa5616ae18
refs/heads/master
2022-11-26T22:29:43.849778
2020-08-06T01:19:38
2020-08-06T01:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,098
py
import torch import torch.nn as nn import torch.nn.functional as F from torchvision.ops.roi_align import RoIAlign from neuralphys.utils.config import _C as C from neuralphys.models.layers.IN import InterNet from neuralphys.models.backbones.build import build_backbone class Net(nn.Module): def __init__(self): ...
[ "macshqi@gmail.com" ]
macshqi@gmail.com
f13a77c853df1627ee0607c358aa576706d35efe
1760630328334270695d88596332d6b7be25def9
/solutions/005_smallest_multiple/smallest_multiple.py
03233411c9b01b846833f4359232ca520ca2869a
[]
no_license
ZekeMiller/euler-solutions
1320aea8ebcde9f9ca0b971086820f8b4591f6bc
472e9609cea9b87642ca90bf58dcd1361ddfd736
refs/heads/master
2021-06-02T20:45:15.248518
2019-11-12T20:49:28
2019-11-12T20:49:28
131,333,138
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
from functools import reduce from operator import mul def genPrimes( max ): primes = [2] for i in range( 3, max, 2 ): if 0 not in [ i % k for k in primes ]: primes += [ i ] # for k in primes: # if i % k == 0: # print( i, k ) # break ...
[ "zfm6866@rit.edu" ]
zfm6866@rit.edu
08af56622c50f5c76d675410fd3e23b7fb5c8bca
b401baaea0bd296a4ee7aa7acb6d054ea5bc93cc
/babyjesus/babyjesus/wsgi.py
ee247676f00f013423c8aa79f1f91e75bf762561
[]
no_license
Adamhunter108/aliases
4ff6f060c3b4020d1097ec3f8e854e3e6ce29925
abaca4e87a163d8a68989b2d767042d3da0fdc7d
refs/heads/main
2023-08-27T02:22:34.146353
2021-10-11T21:21:20
2021-10-11T21:21:20
367,797,227
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for babyjesus project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "61752774+Adamhunter108@users.noreply.github.com" ]
61752774+Adamhunter108@users.noreply.github.com
6da97c918d990c76993a7fb6019a95481f022014
cf0943d5560b32afe03c551aeb4d71ba7b4fd563
/catstuff/plugins/musicbrainz/main.py
e006f96e924a21f81943132ad2cc8bb9f1d813c1
[ "MIT" ]
permissive
modora/catstuff
96d87a1922d99398ad4dbb7c656ecf90e2e3bf3c
7a4ea67e26774e42e90d0c71a4b2c299fe506d73
refs/heads/master
2021-09-01T09:02:32.896399
2017-12-26T05:07:19
2017-12-26T05:07:19
114,436,934
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
raise NotImplementedError("BROKEN") import catstuff.core.manager import os import musicbrainzngs default_version = '0.1' __dir__ = os.path.dirname(os.path.realpath(__file__)) __plugin_file__ = os.path.join(__dir__, "musicbrainz.plugin") __mod__, __build__, _ = catstuff.core.plugins.import_core(__plugin_file__) __ver...
[ "swubro@gmail.com" ]
swubro@gmail.com
9458f3ce00791ddc49646c8c8aa298f325f5846a
11f7fa68ea8d18ae6ef35e739f092630a3755f60
/python/list/invetList.py
05423038078ad59c1ec1a8ba6229fcb243bdd719
[]
no_license
Edgar3g/date_struct
d064c2d47dc81359d0365d4b3ff12fbcfaa93ead
00705a1846e21d6ede06ae2fbebdc34d11716f46
refs/heads/master
2023-04-25T04:06:58.193313
2021-05-06T13:47:30
2021-05-06T13:47:30
337,095,209
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
def inverter_lista(lista): tamanho = len(lista) limite = tamanho // 2 for i in range(limite): aux = lista[i] lista[i] = lista[n - i] liata[tamanho] = aux def inverter_lista2(lista): nova_lista = [] tamanho = len(lista) for i in range(tamanho): nova_lista.append(l...
[ "dikengeofficial@gmail.com" ]
dikengeofficial@gmail.com
ca8c94fb16c3dcc6a3fee1dfea471e6a033318b8
46ee99adf99352b7879c5b2bdbb669f33549cc7c
/runner.py
7d450ece39fe91252134ce0ec89ba0e639b08c1b
[]
no_license
webclinic017/TBDStructure
d85a01ec04a95a85bb82f2571b5fec898246d9f4
9b9b02088c7dcc5786f985dd17292e184b5ce6c2
refs/heads/main
2023-03-21T01:21:29.665270
2021-02-06T01:28:36
2021-02-06T01:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,199
py
import sys import traceback from PyQt5.QtWidgets import QApplication from multiprocessing import Queue, Process from roboticks.data import DataHandler from roboticks.portfolio import Portfolio from roboticks.execution import ExecutionHandler from db import UserDB, PriceDB from strategies import STRATEGY try: fro...
[ "ppark9553@gmail.com" ]
ppark9553@gmail.com
b960c2fd6d1c30aa4ebce4aebd86b7586a91c0b3
03d733b0c6ed233ecfd47d984acce8b779bf345b
/Exercícios/Mundo 1/ex010.py
dd68b19f265ff4a91f76b8fa1b954710f332b28c
[ "MIT" ]
permissive
gslmota/Programs-PYTHON
ccbc7aa758dfeb7ce0a011654fee62a8dd0f563d
cf6f98ded31e1bc32997ad6887d96e60975c3cad
refs/heads/master
2022-11-29T08:54:48.535215
2020-08-09T23:44:06
2020-08-09T23:44:06
274,794,244
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# Arrendondamento Número import math numero = float(input('Digite um número: ')) nbaixo = math.floor(numero) print('O número {} tem como {} como parte inteira.'.format(numero, nbaixo))
[ "gabrielsavio81@gmail.com" ]
gabrielsavio81@gmail.com
992f7cf55c4bffc77e2110b339c9a3d091ef44f9
d726a06a4fe344de854312cc2ae93558adefd206
/pynet/datasets/primede.py
c26d45a1beb3a35e83cd5fbd315ba72c66df1ad0
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
CorentinAmbroise/pynet
6f52f296b4ab5c651c341715786cb131391eabf1
c353e5f80e75f785a460422ab7b39fa8f776991a
refs/heads/master
2023-03-29T13:10:10.391193
2021-02-10T17:39:14
2021-02-10T17:39:14
278,072,885
0
0
NOASSERTION
2020-07-08T11:37:51
2020-07-08T11:37:51
null
UTF-8
Python
false
false
14,409
py
# -*- coding: utf-8 -*- ########################################################################## # NSAp - Copyright (C) CEA, 2020 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html #...
[ "antoine.grigis@cea.fr" ]
antoine.grigis@cea.fr
5783ce1e2789f35719b925425e95f886b574fd59
76d8f9d741d4e0bbd15a2c29fa77d041c01ea9bf
/exercise/keras/trafficsign.py
a422aaf4c134f2d7e34383236a64a9a9fb67fcf1
[]
no_license
LevinJ/Behavioural-Cloning-P3
d92bf3500797019a3fcf038a5c0e817f445e7a39
fff8993ba2671c9664ab65899db952e2f5de37da
refs/heads/master
2020-06-22T03:16:27.869561
2016-12-19T00:19:06
2016-12-19T00:19:06
74,758,835
0
0
null
null
null
null
UTF-8
Python
false
false
7,848
py
from utility.dumpload import DumpLoad import numpy as np from sklearn.preprocessing import scale import pandas as pd import os from sklearn.preprocessing import MinMaxScaler from keras.models import Sequential from keras.layers import Dense, Activation from sklearn.preprocessing import OneHotEncoder from keras.optimize...
[ "jianzhirong@gmail.com" ]
jianzhirong@gmail.com
92ea114b1907807cc47d45d2b77ee51981cafab8
887f2e664c6d92f17e784f57022333a2fb859d06
/analysis/plotMove.py
252a91a4c6be6dc9ba8b647cac05970a426f3080
[]
no_license
ctorney/dolphinUnion
1968e258c6045060b2c921bd723d0ef0daea0147
9d7212d172a8a48a36fc4870fcdb04d66130bb76
refs/heads/master
2021-01-19T04:40:57.286526
2017-08-17T20:44:58
2017-08-17T20:44:58
46,424,670
1
0
null
null
null
null
UTF-8
Python
false
false
4,332
py
import numpy as np import pandas as pd import os, re import math import time from scipy import interpolate from scipy import ndimage import matplotlib.pyplot as plt import matplotlib.pyplot as plt import matplotlib.animation as ani HD = os.getenv('HOME') FILELIST = HD + '/workspace/dolphinUnion/tracking/solo/fileList...
[ "colin.j.torney@gmail.com" ]
colin.j.torney@gmail.com
7db1a2988c552372fb5395ea469d95dd7642b33f
f561a219c57bd75790d3155acac6f54299a88b08
/splash_screen/migrations/0001_initial.py
595c80d3d3c899474e567d2f95d683c19e6bc3ae
[]
no_license
ujjwalagrawal17/OfferCartServer
1e81cf2dc17f19fa896062c2a084e6b232a8929e
b3cd1c5f8eecc167b6f4baebed3c4471140d905f
refs/heads/master
2020-12-30T15:31:04.380084
2017-05-24T18:26:20
2017-05-24T18:26:20
91,155,405
1
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-06 17:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FcmDat...
[ "ujjwal.iitism@gmail.com" ]
ujjwal.iitism@gmail.com
55845668b67565b8b7fe585c190c0dac8611d35d
097c6263e0f30f54ce2deb8d4a6e4c2d8e5c675d
/app/routes.py
850e06abf30295eeba4ea219d8f1e6fbdd850562
[]
no_license
Abhay-1812/microblog3
1b5d15026ea22ef05cbfe457abd760cca322a069
82ba815b0346e2adf96f9cb6ede0bbaefb338748
refs/heads/main
2023-05-25T09:20:25.122622
2021-06-03T08:09:26
2021-06-03T08:09:26
373,429,493
0
0
null
null
null
null
UTF-8
Python
false
false
8,145
py
from app import app from flask import render_template,url_for,flash,redirect from app.forms import LoginForm from app.models import User from flask_login import current_user, login_user from flask_login import logout_user from flask_login import login_required from flask import request from werkzeug.urls import url_par...
[ "dhillonabhay1@gmail.com" ]
dhillonabhay1@gmail.com
0c6f4a15555b5ae5f9e16ca3aed6a1cfae5f982f
4513fae798d527f55501f42b856c3412766062a9
/products/migrations/0001_initial.py
54683f5691c93f6953b3730aff1863d5f81ec3fc
[]
no_license
bearadamsj/dj1
c4ac78c74e68cd4051116ea630a23cde8800394b
2bc55b9449c7cd64d65a1a7f785933fe9b612903
refs/heads/master
2023-03-28T14:17:10.795041
2021-04-01T00:51:13
2021-04-01T00:51:13
353,528,517
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# Generated by Django 3.1.7 on 2021-03-19 05:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "zhu11&dmin@bitzer.cn" ]
zhu11&dmin@bitzer.cn
4693d1d06b71c1fb2a188430faad444dcb9116db
2f6f7c056df8ed13273866cc4ed5bcc0e49c4d93
/catch_all/catch_rsvp
248edc70e7d6f21a36287d148c164e0c2bd13c1f
[]
no_license
ssem/honeypots
8e5eccc614536d05d977a2b5fa93839f06f5cec7
7f137f69e88f671d69f3de91b30e160b7ebb0419
refs/heads/master
2021-01-18T21:34:03.110770
2016-04-18T20:25:02
2016-04-18T20:25:02
31,721,862
0
0
null
null
null
null
UTF-8
Python
false
false
2,083
#!/usr/bin/env python import os import sys import struct import socket import select import argparse class Catch_All: def __init__(self): self.socket = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_RSVP) def __del_...
[ "ssem@tacnetsol.com" ]
ssem@tacnetsol.com
5aaefe82f83adb270dd3fb0e626bee58be47b308
13cf5e8616e2f1bfbacd360d6c60a1b8b48b3b5a
/16/part2.py
c557dc0deb9de57a238ba9b7a8ce3481dc2501f3
[]
no_license
uwatm8/aoc2020
e73aed7d8c9dfddf0bff53139d2625d3fda46699
be4170a455b64d10c63434b817a0fbf454b18304
refs/heads/main
2023-02-06T10:40:43.852449
2020-12-28T01:14:22
2020-12-28T01:14:22
319,053,533
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
filepath = 'data.txt' l = [] with open(filepath) as fp: line = fp.readline() while line: l.append(line.strip()) line = fp.readline() nls = len(l) ans = 0 fields = {} hasFields = False newyt = False mynums = [] nearbynums = [] def canBeIndex(i, n): key = list(fields.keys())[i] i...
[ "hasta@student.chalmers.se" ]
hasta@student.chalmers.se
70e757c0fdeae8986311446c704fac3633df52cf
a9fc0a578d6cbc3104a7a08f0f009e5a37c42f74
/src/bag3_testbenches/measurement/pnoise/base.py
2409b0c936c02c056038f5107408efacf0067e8f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
zhaokai-l/bag3_testbenches
f832e3336a2ffe486f118d16822d8297e47f61dd
334f0f0ab4eae2931c3ede5471b152329840bf86
refs/heads/master
2023-06-27T11:41:20.749692
2021-07-25T23:48:48
2021-07-25T23:48:48
297,793,219
1
0
null
2020-09-22T23:04:12
2020-09-22T23:04:11
null
UTF-8
Python
false
false
2,913
py
from typing import Any, Union, Sequence, Tuple, Optional, Mapping, Iterable, List, Set, Dict, Type import abc import numpy as np from bag.simulation.data import SimData, AnalysisType from bag.design.module import Module from bag.simulation.core import TestbenchManager from bag.simulation.data import SimNetlistInfo, n...
[ "zhaokai_liu@berkeley.edu" ]
zhaokai_liu@berkeley.edu
986d1d6dde1c0148d0569a83ed87756fdccbf521
b6f9a54c9b237e45df67170c7dfdf26e73d8ab19
/Monitor.py
b4b6935ba5909a7f853e487fdea240645f620b1d
[]
no_license
nfrjy/python
094822483f6f95ef9465ceeb71935a5335113d5d
53de810ce26cf73103dc9be72ee694434017e7aa
refs/heads/master
2021-01-10T07:08:30.151757
2020-01-20T07:08:09
2020-01-20T07:08:09
45,826,996
1
0
null
null
null
null
UTF-8
Python
false
false
3,903
py
#!/usr/bin/python #codeing:utf-8 from typing import Union import psutil import os import smtplib import configparser from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.mime.audio import MIMEAudio from email.mime.application ...
[ "58209376@qq.com" ]
58209376@qq.com
57ce4e23c369d0ac1c8990a08dd6f14bffa13f86
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/spacy/tests/lang/en/test_exceptions.py
6285a94089db310ac5481689b6030d62f9ea8679
[ "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
4,097
py
# coding: utf-8 from __future__ import unicode_literals import pytest def test_en_tokenizer_handles_basic_contraction(en_tokenizer): text = "don't giggle" tokens = en_tokenizer(text) assert len(tokens) == 3 assert tokens[1].text == "n't" text = "i said don't!" tokens = en_tokenizer(text) ...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
78e8a604cecf27fe811b0c948ad111c099ce963d
e54e1a63bffbe913f5e5018ace56cfa3eab1a72b
/practice/Leetcode/1253_reconstruct_a_2_row_binary_matrix.py
2b71d9f4f15e8a18ca410c4daa4699f6e1846cec
[]
no_license
rmodi6/scripts
5e27a46ce8970cbf601f132a53164c273f1812ea
7cc47eecac00e6bd0b3ec74d7eed8ec3e0e77a84
refs/heads/master
2022-02-14T20:41:28.765751
2022-01-20T06:59:40
2022-01-20T06:59:40
168,207,721
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
# https://leetcode.com/contest/weekly-contest-162/problems/reconstruct-a-2-row-binary-matrix/ import numpy as np class Solution: def reconstructMatrix(self, upper: int, lower: int, colsum: List[int]) -> List[List[int]]: if upper + lower != sum(colsum): return [] ans = np.zeros((2, len(...
[ "modi.ruchit6@gmail.com" ]
modi.ruchit6@gmail.com
0212f9e5951c9f222ca5a846a070bf81530f2a1c
47c175daf97051e1f5c37b161f16abbd5f5a506e
/modules/forward_attention.py
1572b09366af7b47ef3fe8cd017f1bbae7507555
[ "BSD-3-Clause" ]
permissive
nii-yamagishilab/self-attention-tacotron
947d1d2eb8bc25f70331fbc401bf44c93ef92673
0ebd96114feab5a499964402a8ab7e402f0083b4
refs/heads/master
2021-07-11T06:13:18.202669
2020-06-19T03:04:42
2020-06-19T03:04:42
156,176,608
116
35
BSD-3-Clause
2020-06-19T03:04:43
2018-11-05T07:21:46
Python
UTF-8
Python
false
false
6,383
py
# ============================================================================== # Copyright (c) 2018, Yamagishi Laboratory, National Institute of Informatics # Author: Yusuke Yasuda (yasuda@nii.ac.jp) # All rights reserved. # ============================================================================== """ """ impo...
[ "yusuke.007.yasud@gmail.com" ]
yusuke.007.yasud@gmail.com
c208f338b0b8e717f7788e70ab415ccb06596ec2
be6ce691a3667edf152859f16804e06aaa486a03
/solution1/deprecated.py
f70d197db4f26a45a6e6cf1f3aaa93a6efa255a6
[]
no_license
mik-laj/airflow-deprecation-sample
d9b7d068013884177fec833e234914c6a1ec8be3
ae1f93ac6ab85cec4c57dcb62f956fec73d88bbe
refs/heads/master
2020-04-23T00:13:41.579998
2019-07-30T13:17:29
2019-07-30T13:17:50
170,771,368
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
import warnings from solution1.new import * warnings.warn("solution1.deprecated has moved to solution1.new. Import of " "solution.new will become unsupported in version 2", DeprecationWarning, 2)
[ "kamil.bregula@polidea.com" ]
kamil.bregula@polidea.com
2a563fa6b7c7f2004a33e6eab407557501b546a2
dbc67a3fcf38da11350d6155a7da0592314d5f5c
/functions.py
6b8d37738c8033733339a7d2ef44fb41c380ad0b
[]
no_license
cforsythe/Steganography
b5e97fa1307ff3b4e83cb0ff508e1201e8a5d129
9f72e46d5e26b10e08e2202eb0e631ba3abf6230
refs/heads/master
2021-05-31T15:01:19.860162
2016-04-02T06:14:05
2016-04-02T06:14:05
113,824,556
1
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
#Resources #https://docs.python.org/2/tutorial/inputoutput.html #https://docs.python.org/2/library/functions.html #https://docs.python.org/2/library/stdtypes.html #use ord() to get ascii value #http://www.greenteapress.com/thinkpython/thinkpython.pdf from PIL import Image #This function opens a file and reads it the...
[ "louispromero@student.hartnell.edu" ]
louispromero@student.hartnell.edu
ba703162cf0be9cf266b4d9d5e3a39f149d6d0ae
277abbfee6a3755b34a25135dc32399df497f916
/construct_payload.py
3cc577f69bf686f1616123dccdbabff2e7cd7579
[]
no_license
mahersamawi/cs460FinalProject
a9b34ab458bf11be8238640833e497160dc0b7eb
1d6fc91064c6651c616b2a5b4d156c469ca494d2
refs/heads/master
2021-01-23T08:15:07.172565
2017-05-07T21:37:16
2017-05-07T21:37:16
86,488,622
2
1
null
2017-04-30T19:58:10
2017-03-28T17:33:33
Python
UTF-8
Python
false
false
439
py
import subprocess payload_files = [ 'attack_server.py', 'dos.py', 'messenger.py', 'setup.py', 'encryption.py', 'victim_node.py' ] subprocess.call('zip tmp.zip ' + ' '.join(payload_files), shell=True) with open('tmp.zip', 'r') as f: raw = f.read() subprocess.call('rm -rf tmp.zip', shell=T...
[ "calvin.pelletier@gmail.com" ]
calvin.pelletier@gmail.com
283845b8c4a81738b39c332e062e558f4a1fa42f
e03f502312775b01b41ea7c6f5cb3dfbafdb8509
/aboutus/api/serializers.py
189187d979c6f742e946a41c169302bc8c45fb14
[]
no_license
Grechanin/Misteckiy-DjangoRest-React-Redux
e223e89310362b8c21e30c8c669d4e170d232db6
f05eb50a6aec72432716672294df81c3dc939ddd
refs/heads/master
2020-04-13T10:58:17.931584
2019-02-18T09:21:54
2019-02-18T09:21:54
163,159,697
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from aboutus.models import AboutUs from rest_framework import serializers class AboutUsSerializer(serializers.ModelSerializer): class Meta: model = AboutUs fields = ( 'tab_title', 'title', 'short_description', 'description', )
[ "grechanin@gmail.com" ]
grechanin@gmail.com
3dd48b123692cca927d423498c37f208f8e4dbb4
37153931545967e20ef0d026024c892442b00af3
/nokkhum/web/api/videos.py
9a767f3a102a6b19216353421d2fe3e0f2297a79
[]
no_license
gnekeng/nokkhum
d47313b95369d85889d1859df90ed03a9c12a555
254a1edcafa619feae7d319ba46e808406ca59a7
refs/heads/master
2023-06-10T13:30:08.057024
2021-06-24T09:14:40
2021-06-24T09:14:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from flask_restx import Namespace, Resource from flask import request, jsonify from flask_jwt_extended import jwt_required from santhings import models from santhings.models import influx import json import datetime from .sensors import get_sensors_data api = Namespace("videos", description="videos", base_url="/videos...
[ "mypspgood@gmail.com" ]
mypspgood@gmail.com
a418b63acbacdf11e8ce1f9516014528f1ca8df7
7ac10d2874e99844846a36281b7b19183e823983
/node_app/commands/Spotify/Play.py
0bf022536fb3cc4f10b94d1fff78eaff5032bb06
[]
no_license
raspi-chromecast-box/WebServer
b50319080a49a5f3f23ef5daeb0ba6fae033a8ec
e6150bd74b136e3c76fc0696a6f2ef5da288746d
refs/heads/master
2023-02-09T02:44:13.901951
2020-04-14T03:15:57
2020-04-14T03:15:57
244,017,758
0
0
null
2023-01-23T22:21:59
2020-02-29T18:10:34
Python
UTF-8
Python
false
false
4,822
py
#!/usr/bin/env python3 import http.client as http_client import time import os import sys import json import pychromecast from pychromecast import Chromecast from pychromecast.controllers.spotify import SpotifyController import spotify_token as st import redis import spotipy def string_to_bool( input_string ): input_...
[ "raspiccbox03@gmail.com" ]
raspiccbox03@gmail.com
a2222b7c61da1124e7c78d8cba9b669f8bf5bd15
64baaa5ecb17f5c67095269ac5ad4a7e346c5e32
/testDaemon.py
f6486738ba5b18dfa71f8e5ca66bb581400ab89c
[]
no_license
chaewonk/clover
666b23dfd1ec1b46111a4a0b5c983ddc9cde0780
690cb0782e0041f4dfe213b3792aa60eea0bb17c
refs/heads/master
2020-12-31T00:09:35.322612
2017-06-14T12:03:54
2017-06-14T12:03:54
86,558,482
3
1
null
null
null
null
UTF-8
Python
false
false
6,512
py
# -*- coding:utf-8 -*- import wave from select import * from socket import * from time import ctime import pyaudio from pyfcm import FCMNotification push_service = FCMNotification(api_key="AAAAkXdjqxM:APA91bHgGK9xOi7tTf0ch6tOoxU30hNevDohrkNcyUhLuiHqNgifO4jDDYUSgrVCS_h5VB9JUV1ffxRFa5x-4pshglFyoO2wFtTfT2yfA5UkDIP5iy...
[ "rocky92.lim@gmail.com" ]
rocky92.lim@gmail.com
98a0eb413768739d94890ec9443376e800d155f7
82c2c1ac7a727bb68454e61f3b0ad6399a49126e
/utils/json.py
206423b90cf4b6c71ea36b69bbe2693d7b59fe6f
[]
no_license
pradoslaw/coyote-ws
d2e9f4fb793e1ddcab4b65138fb17ff36c92ee66
b3a14597b3cd795ff70e90c779191e4bb2f5f3c2
refs/heads/master
2023-05-09T16:22:27.683405
2021-06-10T18:15:40
2021-06-10T18:15:40
51,928,970
1
0
null
null
null
null
UTF-8
Python
false
false
149
py
from json import loads def is_valid_json(message): try: obj = loads(message) except ValueError: return False return obj
[ "adam@boduch.net" ]
adam@boduch.net
c3ca2d48fc3106d240183f94624a9d8af3cbb55a
660e35c822423685aea19d038daa8356722dc744
/stock_lot/tests/test_stock_lot.py
7fdaf10723fc7fdb663b0c5c7b29412cb8e8023d
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
13,168
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import unittest import doctest import datetime from dateutil.relativedelta import relativedelta from decimal import Decimal import trytond.tests.test_tryton from trytond.tests...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
4bff47136dc598c93846a18cfc7873b43bbf4eef
d31c5d6fa72d058d0f6de6aca5b3ab0822b0deaf
/tfrecord_reader.py
10e5abc8b57fc3e0d25437bc5fff7a86042334e9
[]
no_license
you359/TFRecordGenerator
deaf14584416c73325893de984b3a65da02d35d7
3580926e052268cc22260fd3c28594bc3c623180
refs/heads/master
2020-04-07T12:22:32.556446
2018-11-20T10:17:01
2018-11-20T10:17:01
158,365,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
import tensorflow as tf import glob def _parse(record): features = { # 'image/encoded': tf.FixedLenFeature([], tf.string), 'data/encoded': tf.FixedLenFeature([], tf.string), 'data/height': tf.FixedLenFeature([], tf.int64), 'data/width': tf.FixedLenFeature([], tf.int64), 'dat...
[ "you359@koreatech.ac.kr" ]
you359@koreatech.ac.kr
84943acbf7b7b989ac08e4c3d173d53799243119
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/1170. Compare Strings by Frequency of the Smallest Character/solution2.py
f55713f52de924d420434c926569d1d9fb130de7
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from bisect import bisect class Solution: def numSmallerByFrequency(self, queries: List[str], words: List[str]) -> List[int]: f = sorted([w.count(min(w)) for w in words]) return [len(f) - bisect(f, q.count(min(q))) for q in queries]
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
932f0f3ca464a0e327e0dcff6fe1f74ce0621071
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/routing_transformer/routing_tf_api.py
62feaeaa11136632e25caf46ffb158383e6714e4
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
7,727
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
8ef782168d9426a05d7c3eba58168c3c1960a475
8e0c257beaefd47b8906901c8359c7748cc91bdf
/core/dblite/dblite.py
48d24561f72eb795d5435fd2ae24080da4686f85
[]
no_license
Reqin/tft_rebuild
fc2d917e7bb4ff097d7473da8d5110eddca9ebc4
2745d3e1ab84b5931ab018e49f7eb245304d8109
refs/heads/master
2022-11-27T23:28:51.421917
2020-07-26T10:53:25
2020-07-26T10:53:25
279,995,549
3
0
null
null
null
null
UTF-8
Python
false
false
15,032
py
""" @author: Reqin @desc: 这是此项目的数据驱动程序。 除了用于程序初始化的配置信息之外,所有文本数据的增、删、查、改必须通过这个这个程序进行。 此程序的数据规范如下: 1. 此程序读取 .db 文件 2. 每一个 .db 文件里包含的数据必须是同一类数据,每一类数据的用途必须严格一致 3. .db 文件只存储文本数据,且文本数据的意义表征只能是严格的文本,不用于解码等其他操作 4. .db 文件的第一行是此文件中所有数据的索引,且索引必须为非数字,且不能重复 5. .db 文件没有严格意义上的数...
[ "reqinfeng2008@gmail.com" ]
reqinfeng2008@gmail.com
175f152d05ef49c12354b7ffb06d8f723803c2c9
9246c85dd13e52719a97fac2769bf4cc387e34aa
/app/main/views.py
352d9ddb2a8c2986af19f419937af9ca6c85d687
[]
no_license
Heersin/flask-quick-scaffold
5d8add1cd8178a2ab6284bf08e65ae32dc0e2d71
31ab2b80b41d9248b495aacfbbb8ddb2ca2d426f
refs/heads/master
2021-04-07T04:16:28.240400
2020-04-17T17:36:45
2020-04-17T17:36:45
248,645,232
1
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
from flask import render_template, redirect, request, url_for, flash from .forms import ClientForm from . import main, mychart import os from app.models import Client @main.route('/') def root(): return redirect(url_for('main.index')) @main.route('/index') def index(): return render_template('main/new_index....
[ "muse208@qq.com" ]
muse208@qq.com
be0fa3968a416b2196ac451acf973eb9d1af14be
329bc425fb085596bf2bc385abcb8e8d581a64b8
/Simple-eval.py
577a171307b1935c86c9fbdf5e82e7932df0ebd4
[]
no_license
aoeu256/dumb-pythonproblems
c9929dafe4d0fcff5bb08f2b4bab3ebfd7f0555e
5955fd0a1b593e0cf8c481404405eed071ed93b1
refs/heads/main
2023-04-11T19:51:25.004086
2021-05-03T13:43:48
2021-05-03T13:43:48
363,941,907
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
def arithmetic_arranger(problems, answer=False): outputS = [[], [], [], []] if len(problems) <= 5: return "Error: Too many problems." for prob in problems: [a, op, b] = prob.split(" ") assert op in '+-' assert a.isdigit() assert b.isdigit() outputS[0].append(a) line2 ...
[ "noreply@github.com" ]
aoeu256.noreply@github.com
5bed9df02107cc457888e09dc4a4f4012d2b9405
4f6beba19a2aad878b04ef523495a591849a5097
/riak/mian.py
2057e0ba6848a84f22d344805cf09fc1deeb7997
[]
no_license
zofiamaszlanka/nbd
9ffad05e70e167a0b336a0d8e9abbf1527afd2b8
d0cd9043a46c6e20d91321c4a0bd88282222f74d
refs/heads/main
2023-06-02T10:12:20.467008
2021-06-27T22:21:39
2021-06-27T22:21:39
380,843,052
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import requests URL = 'http://localhost:8098/buckets/s22555/keys/' print("\ncreate: ") shoes = {'brand': 'Spraindi', 'size': 37, 'price': 99} print(requests.post(URL + "sprandi", data=shoes)) print("\nget: ") print(requests.get(URL + "sprandi")) print(requests.get(URL + "sprandi").text) print("\nupdate: ") shoes_upd...
[ "s22555@pjwstk.edu.pl" ]
s22555@pjwstk.edu.pl
1496c6926500134828feb54cde9f2ff4147b1331
1ea77105dc42b6f7103ba93d00f981c546a10c63
/saas/web/models.py
e338c9db3c66b89f4810296e7c4b14074f0eba42
[]
no_license
cat-fans/web_back
23845ac5b73cf5ad99dcfd53c1b38d068dc8c9c9
1c405be433159223bf8e2f35aaf40d934b99ae9b
refs/heads/master
2023-03-02T21:57:15.888633
2021-02-04T22:07:59
2021-02-04T22:07:59
331,644,076
0
0
null
null
null
null
UTF-8
Python
false
false
9,845
py
from django.db import models class UserInfo(models.Model): username = models.CharField(verbose_name='用户名', max_length=32, db_index=True) # db_index=True 索引 email = models.EmailField(verbose_name='邮箱', max_length=32) mobile_phone = models.CharField(verbose_name='手机号', max_length=32) password = models....
[ "qaq_cat_fans@163.com" ]
qaq_cat_fans@163.com
12f82502a50aa68c38ef68424a7ca051b4fa9948
3cb9b94a2ddbc3b6f65a10efd63db4a84619a7d8
/crawler.py
6d4d469a97002d77f948f3c1448f2a68923fc798
[]
no_license
allen0818/simple-ptt-crawler
f01fd33ffb09d3f33bf674b1edd7c96ae7d4fe38
6ed729903b3f7a53578271ae0f7c1bfc99df45c2
refs/heads/master
2021-05-21T02:19:49.442198
2020-04-02T16:18:09
2020-04-02T16:18:09
252,499,923
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
import urllib.request as req from bs4 import BeautifulSoup # NSWITCH_BOARD = url_nswitch = "https://www.ptt.cc/bbs/NSwitch/index.html" url_gossiping = "https://www.ptt.cc/bbs/Gossiping/index.html" def get_titles(url): # fetch website request = req.Request(url, headers={ "cookie": "over18=1", ...
[ "chshman310222@gmail.com" ]
chshman310222@gmail.com
1c8937910a3a56ccad8dea727c5b37a6074a5cc7
fae08819d8f0e72999adb74f653a4b088578d6dc
/API/desafio-api-produtos/api_produtos/api_produtos/asgi.py
6e30b5a724c974985c1b02b09da8e5c1e40f47b8
[]
no_license
konkah/desafio-aws-eks
a321a77d57ab2f60ce64dbb5755efde1b3919c56
0b159540e84b5ad71cb02f0da925f27abd9e7c6a
refs/heads/main
2023-06-18T10:35:00.520565
2021-07-14T20:15:09
2021-07-14T20:15:09
383,628,191
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for api_produtos project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "karlos.hbraga@gmail.com" ]
karlos.hbraga@gmail.com
4d5ad693ce20e9b97da95b0ef67213eb07bc3c1f
03a10a552e3019e23efb38086b239659183b59c5
/src/tiles.py
9a62ef786790072c5d44c7e7c8a4ca34abcb3e98
[ "MIT" ]
permissive
GreenXenith/zoria
54a5c067a7d460a9126acf9c2085ad3ee5905fe1
30a16baab3643c820613a8c8669ee6235a2cd47c
refs/heads/master
2023-02-22T14:19:34.674436
2021-01-29T22:03:44
2021-01-29T22:03:44
334,269,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
import pygame global registered_tiles registered_tiles = {} # Content IDs are currently unused # They would be used for map-saving content_ids = [] content_id_map = {} def register_tile(name, definition): registered_tiles[name] = definition content_id_map[name] = len(content_ids) content_ids.append(name)...
[ "24834740+GreenXenith@users.noreply.github.com" ]
24834740+GreenXenith@users.noreply.github.com
fb125b831dfdd12ef020ba37e389a57e9312650c
08379db5712432b34767d747b9f078ab30822d74
/tdd/counter.py
7b6c18b587d99d5bf211cdcbdafb50576a2a4e78
[ "MIT" ]
permissive
scotttrumpy/Python-Fizzbuzz
7fa739d3be5487e9e40f9a2285a96a2ed825b52b
c9bafd436a22533634bbf58458ce82942cb21268
refs/heads/master
2021-09-10T15:43:27.110072
2018-03-28T19:22:39
2018-03-28T19:22:39
125,870,390
0
1
null
null
null
null
UTF-8
Python
false
false
314
py
def fizzbuzz (count): if count % 15 == 0: return('Fizzbuzz') elif count % 3 == 0: return('Fizz') elif count % 5 == 0: return('Buzz') else: return count def main(): for count in range(1,101): print fizzbuzz(count) if __name__=='__main__': main()
[ "trumpysm@dukes.jmu.edu" ]
trumpysm@dukes.jmu.edu
1eccb89c21839695c2e7fceeac48858578fdcc38
6e9df4bf681978c15d408b1e8f8278f26a0346b4
/complete/bayes_sampling.py
d66267184769140ba310bf49c3cb5c896a0c850d
[]
no_license
dungdinhanh/gan_training
f3177972d857594ed5fd52f7b9d0e157b6680695
4e80f0e8f112f4e4d6a7d937f30ba0cfa09e1339
refs/heads/master
2020-09-13T09:41:03.941638
2019-12-20T09:20:21
2019-12-20T09:20:21
222,729,960
0
0
null
null
null
null
UTF-8
Python
false
false
3,370
py
import numpy as np from scipy.stats import multivariate_normal as mvn from complete.util import * from matplotlib import pyplot as plt from sklearn.mixture import BayesianGaussianMixture class SingleGauss: means_ = None count = None @staticmethod def get_mean(): if SingleGauss.means_ is None: ...
[ "dinhanhdung1996@gmail.com" ]
dinhanhdung1996@gmail.com
64e7542df83df9bd0d6edf9f81dd3c5add9aef71
0800aac473cbb94f3ac263c202979498c326cf18
/법인세_총설.py
a437c75324c85c0332211d27ad24fe8df470b893
[]
no_license
DanielHennyKwon/TAX_LIM_JEONG
8f12e072c044cd17646f196c17b51d1e0cae179e
a263b4e90f0ac78500382047bf7ae72380213ca8
refs/heads/master
2023-06-16T10:50:55.111407
2021-07-11T02:59:50
2021-07-11T02:59:50
384,847,297
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
# -*- coding: utf-8 -*- # 2018-12-24 권달현 import 결산의확정, 신고납부절차, 기한후신고, 수정신고, 경정청구, 법인의분류, 세금의종류, 실질과세, 소액주주, 대주주, 중소기업, 이월과세, 과세이연, 세무조정, 소득처분, 법인세비용, 세액계산_구조,세무조정_흐름도 _={ "결산의 확정":결산의확정.결산의확정, "법인세의 신고납부절차":신고납부절차.법인세, "기한후신고":기한후신고.법인세, "수정신고":수정신고._, "경정청구":경정청구._, "법인세법상 법인의 분류":법인의분류.법인세, ...
[ "cpahouse@naver.com" ]
cpahouse@naver.com
655a655620f983caafb5b12283dfc5b1c274d08d
de28880dd1c46d0ee2def7e46066d12185fc9a4b
/sketchRnn_clean_v3/tools/utils.py
9458cfa2b2c2a28c3ca8f8fc65b2e8572ea10cad
[]
no_license
frederictamagnan/PredictDrumFillsInNativeInstrumentsSoundPack
c3712987352a152edf91e893e8af1b23fd17f495
2a19d43d5c153340f0a7a50e7314c4763a6089a4
refs/heads/master
2020-04-10T04:16:11.417914
2019-04-28T16:18:51
2019-04-28T16:18:51
160,793,133
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
PATH = '/home/ftamagna/Documents/_AcademiaSinica/dataset/lpd_5/lpd_5_cleansed/' PATH_TAGS = [ '/home/ftamagnan/dataset/id_lists/tagtraum/tagtraum_Blues.id', '/home/ftamagnan/dataset/id_lists/tagtraum/tagtraum_Country.id', '/home/ftamagnan/dataset/id_lists/tagtraum/tagtraum_Electronic.id', '/home/ftamagn...
[ "frederic.tamagnan@gmail.com" ]
frederic.tamagnan@gmail.com
096bc0ec339e35fa0708f8f760dd66381cdcf5eb
bd64c5926f5a6d17f823d48eb27070a9e4c93e49
/main.py
f3bd374d376d3a9bb7954013e34465e803abb3d2
[ "MIT" ]
permissive
ahamlinman/trello-reporter
9768ef58ea6215f8e59ce38e4f40e751dee7e013
601e7f74592f89a6424bf20a38b63153f80091e1
refs/heads/master
2021-08-08T01:57:59.260557
2020-08-23T04:35:25
2020-08-23T04:38:36
214,364,617
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
#!/usr/bin/env python3 from datetime import datetime, timedelta from pprint import pprint import argparse import json import os from dateutil.parser import parse as parse_date from mailer import send_email from reporter import Reporter from trello import TrelloClient def older_than(date_str, delta_spec): date ...
[ "alex@alexhamlin.co" ]
alex@alexhamlin.co
b080960023d3de4b6813fe57e3f48af239f29069
836fcb1fb4db3d2b6d0d9b54c3f916bc599a0b62
/ClassInterface2.py
3842cd4a687fcb9ac5f6b695d29199ec4b6d536c
[]
no_license
opickers90/Python3-1
cf8c544ee17107f535e4431fbe67eb4e218fff70
04b2338ddfb7c554cc123677a769b2f4dafbdc5b
refs/heads/master
2020-04-19T11:01:35.793376
2019-02-02T11:11:04
2019-02-02T11:11:04
168,155,993
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
class InsurancePolicy: def __init__(self, price_of_item): self.price_of_insured_item = price_of_item class VehicleInsurance(InsurancePolicy): def get_rate(self): return self.price_of_insured_item * .001 class HomeInsurance(InsurancePolicy): def get_rate(self): return self.price_of_insured_i...
[ "taufik@LI-320s" ]
taufik@LI-320s
a65776b895a6918affe05ddf0fd3dea283e97182
52a7fd3ef46cb0a29b42ab11386721ece0f51a56
/env/lib/python2.7/site-packages/sqlalchemy_utils/expressions.py
150c6fa6e53759ac18827ad54c0720835a405707
[]
no_license
nicolas3355/AUBOOST
95f8b2c0503fd1dfecdbceb9f1a0e88b786a3b4b
6af5593ef85c675336850e7e1691cb267cb26315
refs/heads/master
2016-08-04T03:28:12.180742
2015-06-29T17:41:53
2015-06-29T17:41:53
38,261,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,300
py
import sqlalchemy as sa from sqlalchemy.sql import expression from sqlalchemy.ext.compiler import compiles from sqlalchemy_utils.types import TSVectorType class tsvector_match(expression.FunctionElement): type = sa.types.Unicode() name = 'tsvector_match' @compiles(tsvector_match) def compile_tsvector_match(...
[ "nicolaselhaddad.nh@gmail.com" ]
nicolaselhaddad.nh@gmail.com
996050481c43d0fc4419ad5c97ca943a18676fea
08bb966a6eb75877429630787a7adcb090685cb9
/web_scraping/link_scrapers/link_scraper_majcom.py
8ef4bbd895461f08cedc85db64b0f8e976a6fd4e
[ "MIT" ]
permissive
RANDCorporation/policy2vec
946dd6743b22bafa31926400695b5485136fe9b5
a309217115b2163241313a239671b2ab84169b3e
refs/heads/master
2023-04-09T11:10:46.303654
2021-04-20T23:41:11
2021-04-20T23:41:11
359,979,373
3
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
# Network Analysis of Vaccination Strategies # Copyright (C) 2020 by The RAND Corporation # See LICENSE and README.md for information on usage and licensing ## Imports from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.common.action_chains import ActionChains from se...
[ "gshartnett@gmail.com" ]
gshartnett@gmail.com
222c5178a7adba45b63bfa89f62fe5db08357f6f
31a49331912b64586e4c811403d335d054ad0172
/cardcalc/__init__.py
44e34496838c665917e2a4dbfd607e95b2c0266c
[]
no_license
kuwoyuki/kadocalc
1645827ec385f8d2c5744f5092c38328ad20e10d
cf2e4a8f6d5937c1210b854642eec0f3ac38343b
refs/heads/master
2022-12-27T11:15:29.924433
2020-10-15T16:33:36
2020-10-15T16:33:36
298,285,986
2
0
null
null
null
null
UTF-8
Python
false
false
45
py
from .core import app def main(): app()
[ "kuwoyuki@gmail.com" ]
kuwoyuki@gmail.com
a84953050ba040b805bbbeb0174345a641f84c25
d48b46f53cb1b54899e6f84863c5f275d17b0f0d
/lab_09/utils.py
aa6240241cbc03d043995fa83a36a0d0f79a1b72
[]
no_license
ivaaahn/bmstu-cg
36c26768aa398a56dd3661ef5f067be90a7abcd5
9cb70730d9c4f0e4ad172ff5018bed7ae6ccbd2d
refs/heads/main
2023-06-11T23:15:33.751793
2021-06-22T20:23:24
2021-06-22T20:23:24
343,135,970
1
0
null
2021-03-13T13:17:32
2021-02-28T15:16:13
Python
UTF-8
Python
false
false
105
py
W, H = 1236, 941 def custom_round(num: float) -> int: return int(num + (0.5 if num > 0 else -0.5))
[ "ivahnencko01@gmail.com" ]
ivahnencko01@gmail.com
e9327ec7e2122b53dc3b6ba3560a822de0e43c08
740b4f75dbede3c7d81e2fbd55e81ae62fe88589
/Mutuales/models.py
8c847d0be6b02ac64179b7764475e59861de8415
[]
no_license
juancastelli1/FederacionMut
e45ced865ab3082ceacb678458b7390c9502be54
48ec18b4ce92d39306b77b51e10c26e6991d314d
refs/heads/master
2023-08-17T12:41:48.248851
2021-09-29T19:03:40
2021-09-29T19:03:40
411,431,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
from django.db import models from django.db.models.fields import AutoField from backend.deptos import deptos_tucuman # Create your models here. """ Construyo la entidad para los servicios """ class servicios(models.Model): id_servicio=models.AutoField(primary_key=True) servicio=models.CharField(max_length=20) ...
[ "juancastelli12345@gmail.com" ]
juancastelli12345@gmail.com
4f11e5a9b9a6bb26ab4f1092072e1ee5fbba1ab3
6407cca09a68be7ff28ad8ce31fa43af5d099eb3
/oldbkp_mao_data/TrafficModels.py
ed28f706a7aa1debf781fa3b45465c1b133c7a7a
[]
no_license
hannnni/lkw_algo
34936fdda7b6e10112845358ea03a6a17ecf1389
f6cbd5a14cafe0203097499fd3b836a8cf326c42
refs/heads/master
2021-01-18T14:11:10.944867
2014-11-11T22:21:58
2014-11-11T22:21:58
26,492,296
1
0
null
null
null
null
UTF-8
Python
false
false
39,002
py
import os import string import random import csv import numpy# as np import scipy import pygame import math global NetworkFileName #, signalPlanFileName #filename = 'networkTest.csv' NetworkFileName = 'NetworkTestFeld.csv' #signalPlanFileName = 'temporarySp.csv' """ Should predefine link Number or should be read from...
[ "johannes@vonoswald.de" ]
johannes@vonoswald.de