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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7c2c6ce75d118f0ec3e765b552055eb6feb226f | 8fa6f4e78b3836c6ba9ae687d4e4c6e6d1e90e23 | /asset_tracking/views.py | d43da60ccda1ea8e066beac62d8cd8f7233b74c4 | [] | no_license | duydang2110/demo | 870e974a033881e7b5effdd40d5386283a73a4ad | 47aef25ea8edf85a5f8d5aa328697f358a692a70 | refs/heads/master | 2021-01-01T18:41:11.596271 | 2017-07-30T10:06:52 | 2017-07-30T10:06:52 | 98,408,936 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,494 | py | from django.shortcuts import render,get_object_or_404
from django.http import JsonResponse
from django.template.loader import render_to_string
from django.contrib.auth.decorators import login_required
from django.forms import inlineformset_factory
from django.forms.models import modelformset_factory
from rest_framework... | [
"duy_dang2110@yahoo.com"
] | duy_dang2110@yahoo.com |
9f4361de9bf50451699223c832beb0557fceab55 | dde189408cbf021456e7d55b709082a8457d1b07 | /lib/python2.7/_sysconfigdata_x86_64_apple_darwin13_4_0.py | 899ac641cc110733407255a245cda29fe555db7b | [
"Python-2.0"
] | permissive | axiros/xc.reactive_python2.7 | 958c38e0f1a0c090119b0cf83b165fc8646fadf8 | 1b3f3d7d6a9c6c25c60c07c0626ae4a8a07530b2 | refs/heads/master | 2020-03-26T08:32:21.955645 | 2018-08-14T10:55:06 | 2018-08-14T10:55:06 | 144,707,859 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,109 | py | # -*- coding: utf-8 -*-
# system configuration generated and used by the sysconfig module
build_time_vars = {'AC_APPLE_UNIVERSAL_BUILD': 0,
'AIX_GENUINE_CPLUSPLUS': 0,
'AR': 'x86_64-apple-darwin13.4.0-ar',
'ARFLAGS': 'rc',
'ATHEOS_THREADS': 0,
'BASECFLAGS': '-fno-strict-aliasing',
'BASEMODLIBS': '',
'BEOS_THREAD... | [
"GK@axiros.com"
] | GK@axiros.com |
f79f3465381def312720a2205e28a051021ff1bd | 3c82ea78607e530811e0e837503ce26717e5fd04 | /TopQuarkAnalysis/Configuration/python/patRefSel_eventCleaning_cff.py | 5676a6c747cd5e1df39cdbd39d2ec009084dd6f1 | [] | no_license | fhoehle/OldCMSSWPackages | 7065c1cd2944c56fe2731c9be49dc2bd1d9781ce | cb655adfd0d59c9c8143b2e3db1ea950110df8f6 | refs/heads/master | 2016-09-06T18:05:43.458784 | 2014-08-21T10:54:47 | 2014-08-21T10:54:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 480 | py | import FWCore.ParameterSet.Config as cms
from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import *
# s. https://hypernews.cern.ch/HyperNews/CMS/get/JetMET/1196.html
HBHENoiseFilter.minIsolatedNoiseSumE = 999999.
HBHENoiseFilter.minNumIsolatedNoiseChannels = 999999
HBHENoiseFilter.minIsolatedNoiseSumEt = 999... | [
"hoehle@physik.rwth-aachen.de"
] | hoehle@physik.rwth-aachen.de |
bc3951be9c5bfade5e1c22b8e2086c3ec54b0366 | 94b69cb1e99978ae18f0291f2ca5df45e2f57421 | /python/wxFormBuilder/test1/src/noname.py | 1d7f14c0a4efbb3da3bdd958b54ba090ee9bd877 | [] | no_license | soumyadc/myLearning | 7c3fa64995a5a4f98bda61b946612f5f18cd2364 | 94e60ecbd6a175be4b67435dffec93c5b948c07e | refs/heads/master | 2021-07-23T22:33:08.723758 | 2020-06-13T09:19:20 | 2020-06-13T09:19:20 | 56,660,928 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,085 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
###########################################################################
## Python code generated with wxFormBuilder (version Jun 17 2015)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###############################################################... | [
"sdc.imp@gmail.com"
] | sdc.imp@gmail.com |
3e2e7deb2486fc54188e52035f0eebea4dce3e14 | 80c2076c5ff4fe3e6161d9dae722af8844243982 | /media/am2.py | 042643db8b8ad22ca632d4382d4c4280b60e2fb4 | [] | no_license | mrugankv12/application | 0a7200e925a428cd97a63462bc683b9f81075ce5 | 1f68ac66465df21b32df6169ac87beaf5e6925ed | refs/heads/master | 2022-11-13T22:18:23.786316 | 2020-07-08T02:22:07 | 2020-07-08T02:22:07 | 277,968,266 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 448 | py | def reverse(x):
rev = 0;
while (x > 0):
rev = (rev * 10) + x % 10;
x = int(x / 10);
return rev;
def printEmirp(n):
prime = [1] * (n + 1);
p = 2;
while (p * p <= n):
if (prime[p] == 1):
for i in range(p * 2,n + 1,p):
prime[i] = 0;
p += 1;
for p in range(2, n + 1):
if (prime[p] == 1):
rev = re... | [
"mrugank1903csd@ict.gnu.ac.in"
] | mrugank1903csd@ict.gnu.ac.in |
e3332261e40144fa97dfbd80d950582342ebc533 | f82757475ea13965581c2147ff57123b361c5d62 | /gi-stubs/repository/Gio/FileIOStream.py | cfe2c6065b47c09736727679d4b0284e2a15413a | [] | no_license | ttys3/pygobject-stubs | 9b15d1b473db06f47e5ffba5ad0a31d6d1becb57 | d0e6e93399212aada4386d2ce80344eb9a31db48 | refs/heads/master | 2022-09-23T12:58:44.526554 | 2020-06-06T04:15:00 | 2020-06-06T04:15:00 | 269,693,287 | 8 | 2 | null | 2020-06-05T15:57:54 | 2020-06-05T15:57:54 | null | UTF-8 | Python | false | false | 20,977 | py | # encoding: utf-8
# module gi.repository.Gio
# from /usr/lib64/girepository-1.0/Gio-2.0.typelib
# by generator 1.147
# no doc
# imports
import gi as __gi
import gi.overrides as __gi_overrides
import gi.overrides.Gio as __gi_overrides_Gio
import gi.overrides.GObject as __gi_overrides_GObject
import gi.repository.GObjec... | [
"ttys3@outlook.com"
] | ttys3@outlook.com |
bd842fa4bbbdc5baa6ecab38d627ca0c3fb06a9e | f13a5fa17b27bc23d5cb60783d46f062726a12bc | /courses/migrations/0001_initial.py | 575ff5cc7f8a07d40dcb452de86f42bf6d19c878 | [] | no_license | babanazar/educa | 048672f5709e4df07332e49d679baa409a32eb4c | 9873e4366deb1c26418ee2d25211947ee29a8be1 | refs/heads/master | 2023-04-26T18:10:11.541210 | 2021-05-30T22:06:30 | 2021-05-30T22:06:30 | 372,323,983 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,194 | py | # Generated by Django 3.2 on 2021-04-16 14:00
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
opera... | [
"g.babanazar@gmail.com"
] | g.babanazar@gmail.com |
0031270ed6012e511d66340abc38cbe8fdca46fc | 8dd9debe498b5fc0e6ec41542f1fc18e91b88e0c | /PyMiniGCS/MainWin_rc.py | 37a665ef688dc4f714fe3e3e4e05ced08c05939b | [] | no_license | escker/MiniGCS | f0e5b5cb31420f258e1ddb6a4cc5e16a8b354093 | 2c797aee44595d18de43cc44c020833958bf4d07 | refs/heads/master | 2020-05-22T15:20:58.477147 | 2015-11-12T09:04:04 | 2015-11-12T09:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37,125 | py | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Mon Dec 10 14:10:11 2012
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x03\x54\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00... | [
"walker8088@gmail.com"
] | walker8088@gmail.com |
56b1064a8d927dbfc0eda7675a994a6151717a0d | e2b705da7f8a575898730768a896310e4fda2ff5 | /hsm/hsm_working/doctype/employee/test_employee.py | 9d7778676fa1cb4845e95d607658ffacbd81d8af | [
"MIT"
] | permissive | PratikMane34/BILLS | 191f19b13b89bd241fa07b10456484ffcda4353a | 0aed6dbb669a2f66fdc710cfa93040e0c57ac2b0 | refs/heads/master | 2023-06-09T15:31:20.391801 | 2023-06-06T19:11:18 | 2023-06-06T19:11:18 | 150,928,090 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 212 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2020, Pratik Mane and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestEmployee(unittest.TestCase):
pass
| [
"pratik.m@indictrans.in"
] | pratik.m@indictrans.in |
deee26ca9e685631ff63c4376f9e435f66452620 | cadb6dceb7bb67ce47ef48b2c83f480a65d6b01a | /s3prl/problem/hear/gtzan_music_speech.py | 5cd6274c2963c8c9e15792e2f29f92bd1933caa8 | [
"Apache-2.0",
"CC-BY-NC-4.0"
] | permissive | s3prl/s3prl | 52ec2ae4df5a61c786c122085603aa9c5e8c2681 | 76a9432b824f6ae3eae09a35a67782c4ed582832 | refs/heads/main | 2023-08-17T02:26:57.524087 | 2023-06-10T17:12:27 | 2023-06-10T17:12:27 | 196,905,457 | 1,549 | 398 | Apache-2.0 | 2023-09-14T13:07:05 | 2019-07-15T01:54:52 | Python | UTF-8 | Python | false | false | 2,662 | py | import logging
from s3prl.corpus.hear import hear_scene_kfolds
from s3prl.util.configuration import default_cfg, field
from .scene import HearScene
logger = logging.getLogger(__name__)
NUM_FOLDS = 10
class GtzanMusicSpeech(HearScene):
@default_cfg(
**HearScene.setup.default_except(
corpus=d... | [
"leo19941227@gmail.com"
] | leo19941227@gmail.com |
338224b306fe6bd7bfb403460e852eaca4b28dee | da64994d73d250d19a30381de7462c5729372f81 | /apps/student/migrations/0023_auto_20191125_2256.py | e8d84833aad8f99e902435dfa2d29e34a791bfa8 | [] | no_license | Mid0Riii/psybackend | 2f872c1dd21e97ba0a46efa10f2b3246ac8bb2b5 | 2cd477f01111a816b17725a00ffa77a156dec7b0 | refs/heads/master | 2023-03-26T07:55:17.580161 | 2021-03-14T01:45:19 | 2021-03-14T01:45:19 | 305,083,821 | 0 | 1 | null | 2021-03-14T01:45:20 | 2020-10-18T11:15:48 | Python | UTF-8 | Python | false | false | 578 | py | # Generated by Django 2.2.5 on 2019-11-25 14:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0022_auto_20191123_1526'),
]
operations = [
migrations.AlterField(
model_name='studentbasic',
name='stu_l... | [
"1534296263@qq.com"
] | 1534296263@qq.com |
d28adcc380bc2a5d0479ffa1269f974346c32199 | 705b64f296a0ba86d2b242e5cbf820b1bfa04410 | /hood/views.py | 2f246b1c13c99cd5d4c051a02e25d9f79b5b0fd5 | [
"MIT"
] | permissive | Missy-Olivia/The-Neighborhood-App | f15568f6a2838af75e3ba9baf23cc87415d2e458 | 68c5de5cd35a425907554f68ec2fef9f946eb7fe | refs/heads/master | 2023-03-02T16:54:39.841302 | 2021-02-09T14:00:46 | 2021-02-09T14:00:46 | 336,923,569 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,352 | py | from django.shortcuts import render,redirect, get_object_or_404
from django.http import HttpResponse, Http404, HttpResponseRedirect, JsonResponse
from django.contrib.auth.decorators import login_required
from .models import *
from .forms import *
from django.contrib.auth import login, authenticate
from django.contrib.s... | [
"ngamissia@gmail.com"
] | ngamissia@gmail.com |
05a99c89f89259a30bc87c419ab4bd2091e0f42d | 32ab426d2a55f17e887c148a05143766efa1cb0c | /target/seq__blm/case/enc_niche.py | 2d504c2b249bf6c7fa7839770b25a4f2a5769357 | [] | no_license | semicontinuity/embedded | 5b948d5b44ffad90ba07cdf2126317ccc474fa5d | 6ed8b346838b54c341f47be43db48cfe69c942e9 | refs/heads/master | 2023-08-16T18:38:16.168355 | 2023-08-16T17:56:34 | 2023-08-16T17:56:34 | 4,820,795 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 624 | py | from gcode import *
RM=1
POT_OP_D=14
def milling_program(gcode):
return gcode.program(
gcode.with_spindle(
gcode.cylinder(0, 0, d=12 - 2*RM, z_step=0.5),
gcode.cylinder(0, 0, d=10 - 2*RM, z_step=0.5)
)
)
def gcode():
gcode = GCode()
gcode.SPINDLE_SPEED = 300
... | [
"igor.a.karpov@gmail.com"
] | igor.a.karpov@gmail.com |
15948e34eabcfacf33682befc617fe1de74b9247 | f54d99bd746980dccb2c92e7c4b82e3d18bbbb1e | /Module_02_search_fundamentals/BFS_DFS_Algorithms/module_02_search_fundamentals.py | 1f83416658d51f7b461db24d696a25f94cda751b | [] | no_license | FelixMedrano/Intro-to-artificial-intelligence | 82676043e6117ef2f7285d20fee5946ecc606275 | f97f9eea87e0cac8d1386bb2115ef178d6b8c7e5 | refs/heads/main | 2023-06-30T23:20:25.170965 | 2021-07-24T20:11:24 | 2021-07-24T20:11:24 | 375,855,580 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,058 | py | # -*- coding: utf-8 -*-
"""Module_02_search_fundamentals
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/155upFmxS7OdgJbBiduJr1d7q6KhCNbUy
"""
import copy
import math
from collections import deque
# github repository by Rishal Hurbans
#https://github.... | [
"noreply@github.com"
] | FelixMedrano.noreply@github.com |
3f292325adefb310f4f099c022659b6b3d0466b3 | 7d0169684263df719e9050d26227fbf0383998b2 | /meegnobis/rsa.py | 01d9b4e400cce2152f56be3318eb0b24d396d1fd | [
"Apache-2.0"
] | permissive | iancharest/meegnobis | a409fcc6bc272cd0aa48bda0f780f29b2bfb0097 | 212fac9fa8de89a9f9b7ad512a2ac84e9c3c6aab | refs/heads/master | 2020-03-08T00:26:43.296132 | 2018-04-02T21:55:54 | 2018-04-02T21:55:54 | 127,805,978 | 1 | 0 | null | 2018-04-02T20:01:15 | 2018-04-02T20:01:15 | null | UTF-8 | Python | false | false | 19,288 | py | """Module containing functions for temporal RSA"""
from itertools import islice
import mne
import numpy as np
from joblib.parallel import Parallel, delayed
from mne import EpochsArray
from mne.cov import compute_whitener
from numpy.testing import assert_array_equal
from sklearn.model_selection import StratifiedShuffle... | [
"matteo.visconti.gr@dartmouth.edu"
] | matteo.visconti.gr@dartmouth.edu |
ef4d6dfcc404eef043eb20246f5b4cda418d1972 | eaa43160aeeaa3cb4c7c9f52d8ed01f9abdf85e5 | /tests/db/sql/clauses/test_array_agg.py | b827c5049998aee470f52ac1b088f9ea6f219154 | [
"MIT"
] | permissive | furious-luke/polecat | 4fd2a2f859b9a77d9d004b32bc1bf8f907fea2ba | 7be5110f76dc42b15c922c1bb7d49220e916246d | refs/heads/master | 2022-07-31T16:38:45.791129 | 2021-05-06T01:05:03 | 2021-05-06T01:05:03 | 179,440,367 | 4 | 0 | MIT | 2022-07-05T21:28:34 | 2019-04-04T07:00:55 | Python | UTF-8 | Python | false | false | 457 | py | from unittest.mock import MagicMock
import pytest
from polecat.db.sql.expression.array_agg import ArrayAgg
from polecat.db.sql.sql import Sql
from .conftest import SqlTermTester
def test_to_sql():
term = ArrayAgg('test')
sql = Sql(term.to_sql())
assert str(sql) == 'array_agg("test")'
@pytest.mark.para... | [
"furious.luke@gmail.com"
] | furious.luke@gmail.com |
b1b040d767296d8c2901283ddd4759ac1033adbc | 25ebc03b92df764ff0a6c70c14c2848a49fe1b0b | /daily/20200112/example_python/00varargs.py | ad017fc8a47ce3cd6acaaafb2268930d71dc5a06 | [] | no_license | podhmo/individual-sandbox | 18db414fafd061568d0d5e993b8f8069867dfcfb | cafee43b4cf51a321f4e2c3f9949ac53eece4b15 | refs/heads/master | 2023-07-23T07:06:57.944539 | 2023-07-09T11:45:53 | 2023-07-09T11:45:53 | 61,940,197 | 6 | 0 | null | 2022-10-19T05:01:17 | 2016-06-25T11:27:04 | Python | UTF-8 | Python | false | false | 141 | py | def f(name: str, *args: str) -> None:
print(name, args)
# TypeError: f() got multiple values for argument 'name'
f(1, 2, 3, name="foo")
| [
"ababjam61+github@gmail.com"
] | ababjam61+github@gmail.com |
ee0922e23396ac2c3237791b760d5864c43c937b | 9b6f65a28af4c6befdd015d1416d6257138c0219 | /alpha/event/migrations/0019_auto__add_field_event_audited.py | d84f098e7baab33d92cf6539647b8c48da0925a4 | [] | no_license | dany431/cityfusion | 5beec53131898e539a892249fa711fb3086fb53c | 4e67464db69cfa21c965e4eb8796a5c727d5a443 | refs/heads/master | 2016-08-11T13:20:17.966539 | 2016-01-13T11:17:12 | 2016-01-13T11:17:12 | 49,567,611 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,323 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Event.audited'
db.add_column(u'event_event', 'audited',
self.gf('djang... | [
"danialaftab@ucp.edu.pk"
] | danialaftab@ucp.edu.pk |
cd963ae21e09e0d0ff46765e6e6b05dc13b590f2 | 98a83cf38341b4fc25bbe0819e38ae67c50ef062 | /Code/TFIDF/NLTK/tfxidf2.py | 4113197e5c3549ec2e4e7e5a72be65aa610261f1 | [] | no_license | MLOPEZMALET/Python_Project | 3289899e121fd53c40d81872f467fdb4fd41dc0c | 79b920ab3c37aa0c2f032eec9e50291de28ebc76 | refs/heads/master | 2022-12-13T00:55:13.174916 | 2020-01-09T16:30:01 | 2020-01-09T16:30:01 | 219,970,616 | 0 | 0 | null | 2022-12-08T03:24:43 | 2019-11-06T10:26:44 | Jupyter Notebook | UTF-8 | Python | false | false | 1,020 | py | #!/usr/bin/python
# coding: utf-8
from sklearn.feature_extraction.text import TfidfVectorizer
import csv
import io
with io.open('out.txt','w', encoding='utf8') as csvfile1:
filewriter = csv.writer(csvfile1, delimiter=' ')
with io.open('Corpus.txt','r', encoding='utf8') as csvfile:
corpus = csv.reader(... | [
"46356762+verosol@users.noreply.github.com"
] | 46356762+verosol@users.noreply.github.com |
de5e5963def2fc704a4ca13909be6d4e53d770f3 | f20c7ef06fedf56e550f9c5308ef5d3d07460829 | /4-term(Python)/second/serializers/Types.py | e69cce71a2e2a56fbc40403340970a090c07467c | [] | no_license | Smoglyk/BSUIR-Labs | 4224b702adb2e15b1fdc08e399640432d72ef87e | 9341e0d62cb14b7491df13b4edc6f1c7cdded04e | refs/heads/master | 2023-05-14T19:16:06.918727 | 2021-06-08T13:00:29 | 2021-06-08T13:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 530 | py | code_attributes = [
'co_argcount',
'co_posonlyargcount',
'co_kwonlyargcount',
'co_nlocals',
'co_stacksize',
'co_flags',
'co_code',
'co_consts',
'co_names',
'co_varnames',
'co_filename',
'co_name',
'co_firstlineno',
'co_lnotab',
'co_freevars',
'co_cellvars'... | [
"kazlou.uladzislau@gmail.com"
] | kazlou.uladzislau@gmail.com |
daf3c62495b0a6d80c27c6d4d0132852f7ccdd01 | 7ca78350035c502e16732f96c9bd1d98374fc76e | /data/fake_data_generator.py | 3f70ce7efb0a115ed9eda0eb56cf5096d3905988 | [] | no_license | dosanjosfilho/shiny_dashboard | 9c892df8c891281c0f497af5dec13a1e09970528 | 2fd2724df82a1d71b7de3b221d38bf2f905c7b03 | refs/heads/master | 2022-11-18T18:26:18.026331 | 2020-07-14T17:26:47 | 2020-07-14T17:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,410 | py | from os import path
import pandas as pd
from datetime import datetime
from random import random
from math import floor
from faker import Faker
from faker.providers import date_time, python, geo
faker = Faker()
faker.add_provider(date_time)
faker.add_provider(python)
start_date = "2018-01-01"
end_date = "2019-12-31"
... | [
"drzamich@gmail.com"
] | drzamich@gmail.com |
8de9f829da8e37e5dcead1022f077143b6f7a089 | 1f977afb558f2488986da9990e950dc8ea12ef17 | /lab12b/csv-field-position.py | 385f97e3373d5c4b410fbc1e9a338b1673934002 | [] | no_license | sarahbermingham/ca116 | 38af13ed4e4a3ca0c19150f70e8860fffb487277 | 4544f7f37af05f3c6b02cfa6157b8615c5552d4e | refs/heads/master | 2020-04-08T09:23:06.750439 | 2018-12-11T15:11:25 | 2018-12-11T15:11:25 | 159,221,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 364 | py | #!/usr/bin/env python
import sys
field = sys.argv[1]
s = raw_input()
a = []
start = 0
end = 0
i = 0
while i < len(s):
end = start + 1
while end < len(s) and s[end] != ",":
end = end + 1
if start < len(s):
a.append(s[start:end])
start = end + 1
i += 1
i = 0
while i < len(a):
i... | [
"noreply@github.com"
] | sarahbermingham.noreply@github.com |
a8bf7488a6744e53a99e1ccd19d70c3f88be861b | 9a832a66a8a4b17021b2e0f7e3b40362879a7012 | /arabel/asgi.py | dbdc7b43f4e9f73ea21c38c7c9520aa6d284df7f | [
"MIT"
] | permissive | niconoe/arabel | dcdd29cb14bafef8cf19853ad87b28fc30bc709d | ef0ffb1ef3e104799ac95dea55e48aae93b399d5 | refs/heads/master | 2023-05-04T22:07:53.244933 | 2021-05-26T14:58:08 | 2021-05-26T14:58:08 | 334,908,666 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 389 | py | """
ASGI config for arabel 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_SETTIN... | [
"nicolas@niconoe.eu"
] | nicolas@niconoe.eu |
e805f7daa30ed3d89a3fa0f1a1bb20417d70be53 | ae32be5e62b4b98459f13392b3cc4a30831977c8 | /politeness/data/__init__.py | a2b1149f23306105025e2aff0184a043c266c827 | [
"Apache-2.0"
] | permissive | ItxelZavala/politeness | b3db4831ce87b0bce099cbaf7436feadeb6600ba | 4ea7fe1ef9480acfe332a4b191b3cedc15ff610f | refs/heads/master | 2020-03-27T14:06:23.098978 | 2018-08-31T18:02:20 | 2018-08-31T18:02:20 | 146,644,423 | 0 | 0 | Apache-2.0 | 2018-08-29T18:51:13 | 2018-08-29T18:51:13 | null | UTF-8 | Python | false | false | 23 | py | __all__ = ['download']
| [
"ben@lionlogic.org"
] | ben@lionlogic.org |
b9fcb1e4c9f52495a526909b1962de51c5ceaad0 | fa00321fa07a61ebb752df120969fc7e054d00b4 | /data_structure/mylink2.py | 05e53c702633d64e08fd8ec3618ba7fad6f5dbd4 | [] | no_license | LouisU/practice | 42a7b24a549c9cc1d5a3730524193853661dec7f | d931dbae24a35870ea35ffe5febc164adf02e663 | refs/heads/main | 2023-09-02T20:01:08.336864 | 2021-11-19T00:05:41 | 2021-11-19T00:05:41 | 429,608,621 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,155 | py | # -*- coding: utf-8 -*-
# author = "Louis"
class Node:
def __init__(self, value=None, next=None):
self.value = value
self.next = next
def __str__(self):
return "node value: {} next node is exist:{}".format(
self.value, True if self.next else False)
# 链表首有head指针, 链表尾有tail指针... | [
"1056699051@qq.com"
] | 1056699051@qq.com |
c06dc7856ba48a23a9f97437d2e53084257570a1 | 7a13a7f538c9138fc035fffb1ce2a4df68d44937 | /addons/related_partners/res_partner.py | 0d33f8463dae0a51e99218a383985d4cedc80f21 | [] | no_license | mcopop/livepos_openerp | 408cf8a7e9951197431fc0333ed4bce3ea942871 | 863ecce7e60fbc21a325854e901d49780e8f28e3 | refs/heads/master | 2021-01-10T07:32:39.764179 | 2015-11-11T23:05:25 | 2015-11-11T23:05:25 | 45,922,100 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 956 | py | # -*- coding: utf-8 -*-
# Original file: /media/datos/openerp-dev/openerp70noalpha/openerp/addons/base/res/res_partner.py
import openerp
from openerp.osv import osv, fields
from openerp.tools.translate import _
class res_partner(osv.osv):
_description = 'Partner'
_name = "res.partner"
_inherit = "res.part... | [
"sheoul_08@yahoo.com"
] | sheoul_08@yahoo.com |
07401c1e6a187b32c1074eb2c08dd8cb41916ac7 | b095173b2dbc77c8ad61c42403258c76169b7a63 | /src/sagemaker/cli/compatibility/v2/modifiers/deprecated_params.py | 1cc2f6dca060824a2f9117889c88e84f5fe907bd | [
"Apache-2.0"
] | permissive | aws/sagemaker-python-sdk | 666665e717cfb76698ba3ea7563b45344634264d | 8d5d7fd8ae1a917ed3e2b988d5e533bce244fd85 | refs/heads/master | 2023-09-04T01:00:20.663626 | 2023-08-31T15:29:19 | 2023-08-31T15:29:19 | 110,621,895 | 2,050 | 1,255 | Apache-2.0 | 2023-09-14T17:37:15 | 2017-11-14T01:03:33 | Python | UTF-8 | Python | false | false | 2,482 | py | # Copyright 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" file accompan... | [
"noreply@github.com"
] | aws.noreply@github.com |
c97534d7ad5b129aa5e2e092a9d772af4853ed9a | ffadf9541d01cf9af20c419759d48b1eb01bfd35 | /pachong/PCdemo1/day16/刘士豪20200414/梨视频爬取.py | c6ded9d8a6124d9c59c2e87f6c0e2f3f0748bb42 | [] | no_license | 1987617587/lsh_py | b1bb1016eaafcba03bbc4a5310c1db04ae227af4 | 80eb5175cd0e5b3c6c5e2ebb906bb78d9a8f9e0d | refs/heads/master | 2021-01-02T05:14:31.330287 | 2020-06-20T05:18:23 | 2020-06-20T05:18:23 | 239,498,994 | 2 | 1 | null | 2020-06-07T23:09:56 | 2020-02-10T11:46:47 | Python | UTF-8 | Python | false | false | 6,029 | py | # author:lsh
# datetime:2020/4/14 17:32
'''
.::::. _oo0oo_
.::::::::. o8888888o
::::::::::: 8... | [
"1987617587@qq.com"
] | 1987617587@qq.com |
02cb1e940a8046016546ccaa8fc4575b897e354a | 208db32f1fb85d54f3935676cebe9e92e39e40e4 | /Network/Layers.py | 98a7b1a6800bd1b13e0c260a4b62e6d59d770117 | [] | no_license | yuengdelahoz/ObjectOnFloorDetectionNN | 7eea94bbe6917e7a64871fd86ab669568e6c5123 | 4e20eb9d0cbb1d71583bbe225930aa65038dcff9 | refs/heads/master | 2021-01-17T16:41:19.360539 | 2018-01-31T03:14:09 | 2018-01-31T03:14:09 | 60,807,354 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,415 | py | import tensorflow as tf
import numpy as np
import cv2
class Layer():
def __init__(self, act_func = 'relu'):
self.act_func = act_func
def Dense(self,shape,x,output=False):
self.type = 'Dense'
self.Weights = self.W_init(shape)
# Weights.shape = [in_neurons,out_neurons] = [?,1720*1720] in output layer
self... | [
"yueng.delahoz@taoconnect.org"
] | yueng.delahoz@taoconnect.org |
645e91881a42abc46634eb57919be69d30b46ab8 | 9f1c93623a09d21b7360d67db21fa86e7ee5f777 | /swaping_edges_over_vertex.py | a54d2cb876d09990b3540b8e10a5b7d6e9ff72b9 | [] | no_license | Fila757/generating_simple_drawings_of_graphs | 8d745231ab59ab9ba203920ac796a6e0e61a5871 | 000ed7c650ba3f94c5d1ab58e819cecefb94f8dd | refs/heads/master | 2023-06-18T03:47:19.091058 | 2021-07-15T12:12:16 | 2021-07-15T12:12:16 | 370,767,069 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,795 | py | import sys
import numpy as np
n = 4
#matrix_sum = np.ones(((n*(n-1))/2, n)) * (n-2) #e=uv, w #rectilinear
matrix = np.zeros((int((n*(n-1))/2), n, n))
my_dict = dict()
indexer = 0
for i in range(n):
for j in range(i + 1, n):
my_dict[(i, j)] = indexer
my_dict[(j, i)] = indexer
indexer += 1
#print(my_dict)
d... | [
"filip.cermak2@gmail.com"
] | filip.cermak2@gmail.com |
e56c0a6f34577794fddf1e0e344ffa44cd7c5504 | 7807d8d9d109a3e272fffed91bf841201da39256 | /trans_ALDS1_1_B/oreo0320_ALDS1_1_B_kotonoha.py | fb7da8b5cfb0a8448ae7e1cfdeee8e2de5cd6b7f | [] | no_license | y-akinobu/AOJ_to_Kotonoha | 0e8df43393964fcdd5df06c75545091bd6c0c2e2 | 5a694a55a3d85e3fbc4a07b57edc4374556db9a1 | refs/heads/main | 2023-02-05T15:33:16.581177 | 2020-12-30T16:14:44 | 2020-12-30T16:14:44 | 325,524,216 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 226 | py | # mathモジュールを用いる
import math
# map(整数,入力された文字列を空白で分割した列)を展開し順にaとbとする
a,b = map(int,input().split())
# math.gcd(a,b)を出力する
print(math.gcd(a,b)) | [
"sx2_vn_yuka@outlook.jp"
] | sx2_vn_yuka@outlook.jp |
600e5c594c19fbdacd5c329a116c5ef242a63a0e | 7d098b1b56354d906ec3eaba321676cdb34d63bd | /Outreach Code Final/commands/setFixedDT.py | f6fba88bb5bb980f414dc021b7735643ac819e13 | [] | no_license | Cortechs5511/Offseason-2018 | 51f055c41829a8747edcfa3544994eaf2757485d | 10f792c00736600cd24a4e43052abc336d9a9796 | refs/heads/master | 2022-12-21T14:53:26.669854 | 2019-07-07T14:44:19 | 2019-07-07T14:44:19 | 141,187,441 | 1 | 0 | null | 2022-12-16T08:16:07 | 2018-07-16T19:55:54 | Python | UTF-8 | Python | false | false | 672 | py | import math
import wpilib
from wpilib.command import Command
from wpilib.command import TimedCommand
class setFixedDT(TimedCommand):
def __init__(self, leftSpeed = 0, rightSpeed = 0, timeout = 300):
super().__init__('setFixedDT', timeoutInSeconds = timeout)
self.requires(self.getRobot().drive)
... | [
"sriyam03@gmail.com"
] | sriyam03@gmail.com |
030b81dbb5d24363ea464020eea83f39a6d85c0d | c68a73e7695039b04ae75633350a55408cdc5407 | /Python/stubs/FRC_betting.pyi | 390e9fafae55aa0aca315801c3bd4e06aed4de8d | [] | no_license | CraftSpider/CraftBin | 7ed23e17f7a7c1504942c912b339902908e56942 | 1ef5e2ef3df4a83df1033912225d3e6bab4a8d25 | refs/heads/master | 2021-05-04T09:47:11.843500 | 2019-11-02T20:14:25 | 2019-11-02T20:14:25 | 52,108,847 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,468 | pyi |
from typing import Tuple, Union, List, Optional, Dict, Callable
Number = Union[int, float]
class User:
__slots__ = ... # type: Tuple[str, ...]
name = ... # type: str
cash = ... # type: Number
def __init__(self, name: str, cash: Number) -> None: ...
def __str__(self) -> str: ...
class Round:... | [
"runetynan@gmail.com"
] | runetynan@gmail.com |
1958ba72f578a180ae656aab8c407494a1874f58 | cbc5e26bb47ae69e80a3649c90275becf25ce404 | /xlsxwriter/test/comparison/test_chart_up_down_bars01.py | 393b2df0723766bdd319a942f072296d1d44a69f | [
"BSD-2-Clause-Views",
"BSD-3-Clause",
"MIT"
] | permissive | mst-solar-car/kicad-bom-generator | c3549409c3139f787ad28391372b5cb03791694a | 2aae905056d06f3d25343a8d784049c141d05640 | refs/heads/master | 2021-09-07T14:00:40.759486 | 2018-02-23T23:21:13 | 2018-02-23T23:21:13 | 107,868,801 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,690 | py | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2017, John McNamara, jmcnamara@cpan.org
#
from ..excel_comparsion_test import ExcelComparisonTest
from ...workbook import Workbook
class TestCompareXLSXFiles(ExcelComparisonTest):
"""... | [
"mwrb7d@mst.edu"
] | mwrb7d@mst.edu |
856d72ca9575290e059e9c9e64b2f67295d612af | 60091cf8d0213ae0003b972b82b56d8e5a752072 | /launcher.py | 292a158b70caa83b868b76ad2f3e5ce050604cdb | [] | no_license | woshimanong1990/auto_add_subtitle | 3d3cf4aae8f4881a86c8af6507e44e59c791c06d | 6c75a53d448746f273ec5be64d35b7bfc7960840 | refs/heads/master | 2023-07-20T16:54:53.230437 | 2020-04-26T12:35:26 | 2020-04-26T12:35:26 | 259,023,496 | 7 | 0 | null | 2023-07-06T21:58:12 | 2020-04-26T12:21:30 | Python | UTF-8 | Python | false | false | 352 | py | # coding:utf-8
import sys
from PySide2.QtWidgets import QApplication
from views.main import MainWindow
from utils.config_logger import setup_logger
def main():
setup_logger("add_subtitle.log")
app = QApplication(sys.argv)
main_window = MainWindow()
main_window.show()
sys.exit(app.exec_())
if __n... | [
"liuyahui@xmov.ai"
] | liuyahui@xmov.ai |
04ef425297bd55327cc3249a40fd9acc43f6d6f6 | bc9619265208c3cdc628e580457bdfdcf0b4d823 | /graph_completion/cross_graph_completion.py | dd42bf13bdd932e04909b50288adca67482e2977 | [] | no_license | zggl/MuGNN | ac6bab5577d58af4e931fd22a462d7f934070d5c | e007f38793df535c0966f1714cff7789020bfe78 | refs/heads/master | 2023-01-01T04:01:32.320201 | 2020-10-25T13:36:19 | 2020-10-25T13:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,202 | py | import random, pickle
from utils.tools import print_time_info
from graph_completion.triple_graph import TripleGraph
from utils.reader import read_mapping, read_triples, read_seeds, read_rules
def construct_entity_pair_for_bootstrap(sr_rel, tg_rel, rel_seeds):
sr_seeds, tg_seeds = list(zip(*rel_seeds))
sr_seed... | [
"acharkq@gmail.com"
] | acharkq@gmail.com |
77e2e9925d65adf6792cfe64d286efa898dd2a31 | 19bb9e7d505500516747725912e8ba929e0be50e | /plugins/markov.py | 4a429523512d7c85387fe9e5cb42f2067bfaf858 | [
"MIT"
] | permissive | salas106/irc-ltl-framework | 381f0d3f28cf540ef8c1423a7cd2d386a77d346a | 4c4776e9c370a738e75ca33032142781a3ad0b69 | refs/heads/master | 2016-09-03T06:23:49.378717 | 2014-11-27T02:12:39 | 2014-11-27T02:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 578 | py | # -*- coding: utf8 -*-
"""
The ``markov`` plugin
===================
Log the marvelous and ingenious spam on main chan and learn to speak with this.
Then may answer to sentence using the Markov chain.
V2 will learn the grammar.
V3 will be more intelligent that the OP itself.
V4 will be... | [
"salas.106.212@gmail.com"
] | salas.106.212@gmail.com |
9c9c946ce2f263d6ac0e9774000d19601b8ad29d | ee9c167eb5567d76ebf15e4d4e49fc09a412f2fd | /src/preprocessing.py | f0160e5481df63807a56e6debe4dbdd06fdbf970 | [
"MIT"
] | permissive | pxmars/text-mining-project | 6f621699ccdf9d1b5d0081d379e1895603588786 | f1ae862ebd8b15afb90b326e4d686f0dccf4c012 | refs/heads/master | 2021-07-11T05:55:17.239529 | 2017-10-11T20:34:36 | 2017-10-11T20:34:36 | 106,603,592 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,082 | py | import json
import re
from nltk.corpus import stopwords
from nltk.stem.snowball import GermanStemmer
from nltk.tokenize import TweetTokenizer
def loadData(filePath):
"""
Load data as a list of tuples and conserve the wanted attributes
:param filePath:
:return:
"""
file = open(filePath, 'r', e... | [
"mars.mohamed.mm@gmail.com"
] | mars.mohamed.mm@gmail.com |
5ebae5874d208063c395bbf6d6118ed2aca27b8c | aa6e1dd07a71a73bc08574b76f9e57a3ce8c8286 | /077.Test_BeeWare/helloworld/macOS/Hello World/Hello World.app/Contents/Resources/app_packages/rubicon/objc/__init__.py | 15b6e36cede428eead64cb153f86979a662adfe7 | [
"MIT",
"BSD-3-Clause"
] | permissive | IvanaXu/PyTools | 0aff5982f50bb300bfa950405192c78473b69537 | 358ae06eef418fde35f424909d4f13049ca9ec7b | refs/heads/master | 2023-06-07T21:45:44.242363 | 2023-06-06T16:00:25 | 2023-06-06T16:00:25 | 163,940,845 | 60 | 8 | MIT | 2022-12-23T02:49:05 | 2019-01-03T07:54:16 | Python | UTF-8 | Python | false | false | 2,188 | py | # Examples of valid version strings
# __version__ = '1.2.3.dev1' # Development release 1
# __version__ = '1.2.3a1' # Alpha Release 1
# __version__ = '1.2.3b1' # Beta Release 1
# __version__ = '1.2.3rc1' # RC Release 1
# __version__ = '1.2.3' # Final Release
# __version__ = '1.2.3.post1' # Post Release... | [
"1440420407@qq.com"
] | 1440420407@qq.com |
711950f1f0df561d6a4bb09869383759997670f9 | 66c113ef98a619dbf7481a781dfb252a5c4b2b0e | /BayesianOPTScraper/BayesianOPTScraper/remote_settings.py | d14c5fdc020fc74c52034b8a1229e884d33f4a50 | [] | no_license | chronologos/opt-processing-bayes | f40dc303ccdfaa99a9d10ffa4faa1bd2d8210d5d | cb8db0cbd88fc80f6e4c177540e273ae1a2e3850 | refs/heads/master | 2021-04-03T06:25:18.601708 | 2018-03-10T12:49:00 | 2018-03-10T12:49:00 | 124,655,198 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,701 | py | # -*- coding: utf-8 -*-
# Scrapy settings for BayesianOPTScraper project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://doc.scrapy.org/en/latest/topics/settings.html
# https://doc.scrapy.org/en/l... | [
"skrpfn@lavabit.com"
] | skrpfn@lavabit.com |
74c279d546985c3a9e60cbb06b3b5d5263f7e52e | 0f6ccc51990380f529f78df982422a15a4a72e39 | /ryansty_com/views.py | 3262ab7200b0f4eb21ea3303f3f8dfdb0660ab8f | [] | no_license | RyanZhuZhy/ryansty_com | 0f93ddd5bfc4d4db16fcd8bdecbb7eef09caa2ee | 1685302a4ccfb63442da1bd0b28fc91ec15ad110 | refs/heads/master | 2020-03-08T22:22:35.229534 | 2018-05-19T14:38:52 | 2018-05-19T14:38:52 | 128,428,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 382 | py | from django.shortcuts import render
from blog.models import Article, Tag
# Create your views here.
def home(request):
post_list = Article.objects.all()
tag_list = Tag.objects.all()
params = {
'post_list': post_list,
'tag_list': tag_list,
}
return render(request, 'home.html', params... | [
"RyanZhuZhy@yahoo.com"
] | RyanZhuZhy@yahoo.com |
c89049954d03812c587620194ac4b1444adbb738 | e55be4b31c58d0934ba8db2fdbb3af8fcac781a1 | /Node_class.py | 5c4570f10a1c9abd9fa438bf7433ad73ce43d761 | [] | no_license | BazNick/HashTables | 6df3377723de57569602b4f52fa28fb4272b26db | 2a5d8cce185e449139ef0bbd49a92a9500fd2c69 | refs/heads/master | 2023-08-07T20:23:30.868884 | 2021-09-11T17:42:08 | 2021-09-11T17:42:08 | 405,405,703 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 373 | py | class Node:
__slots__ = '_element', '_next'
def __init__(self, element, next):
self._element = element
self._next = next
@property
def get_element(self):
return self._element
@property
def next_node(self):
return self._next
@next_node.setter
def next_n... | [
"nikita_tyupin@mail.ru"
] | nikita_tyupin@mail.ru |
f92f5f95e7c1c9b68e7a522938c2afe1c00e0d01 | b38e64f47f84e3aa984f813d1fbeef2717e2bc3d | /characters/migrations/0003_class_race.py | fbdf75700c0bc20661afb443e1d24f7dabb0b948 | [
"MIT"
] | permissive | luiz158/django-tutorial-v2 | 2abf28939060750e031fca95429c1d6cbb738f46 | 3d128301357e687542c6627f9d8eca026e04faaa | refs/heads/master | 2021-12-04T04:18:59.535664 | 2015-01-06T21:54:45 | 2015-01-06T21:54:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,052 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('characters', '0002_alignment'),
]
operations = [
migrations.CreateModel(
name='Class',
fields=[
... | [
"mpirnat@gmail.com"
] | mpirnat@gmail.com |
3bf06d6835a2604d132021ccb6da799b47b15481 | cc03ff6b0580683e43402323cb3a6dacaab28fbd | /PYQT John Ortiz/Modulo 17/demo02 QLaBel.py | 4942f8579bb1692272b56905e968aee3db9d2622 | [] | no_license | Tusitala73/Prueba | 1111d4c6fc4810e7f324e09d1692d96ec0803383 | 850b67fca2596e35e86fef14035099243a2a4803 | refs/heads/master | 2021-05-11T19:51:15.952672 | 2020-07-08T04:56:58 | 2020-07-08T04:56:58 | 117,424,495 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 612 | py | #la
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel
class VentanaPrincipal(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.iniUi()
def iniUi(self):
self.setWindowTitle('Demostración del componente Qlabel')# titulo Ventana
self.setFi... | [
"SU-CORREO-ELECTRONICO"
] | SU-CORREO-ELECTRONICO |
79e36ccddb1d985d28ffab08b5f8e3af2d013e4a | 962193aefd8836c35a3d8b31fcedd70ce866d245 | /piqa/ssim.py | bab8ee28f50c150fae0a6dd9b61cd41b7a02b473 | [
"MIT"
] | permissive | Prince-XuanChan/piqa | 05e3ae7e2d2bb66e8f95d3c4347cbd52c7539568 | fd2a1d5662a871d338622f9b3ee066fc211fb64e | refs/heads/master | 2023-01-24T22:00:19.471615 | 2020-12-06T12:29:36 | 2020-12-06T12:29:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,702 | py | r"""Structural Similarity (SSIM) and Multi-Scale Structural Similarity (MS-SSIM)
This module implements the SSIM and MS-SSIM in PyTorch.
Wikipedia:
https://en.wikipedia.org/wiki/Structural_similarity
Credits:
Inspired by [pytorch-msssim](https://github.com/VainF/pytorch-msssim)
References:
[1] Multiscal... | [
"francois.rozet@outlook.com"
] | francois.rozet@outlook.com |
90d6c77461f14136dce2dbbe7499cfefd76b6731 | edc55461d2564e94824d0ea865e08495653d8573 | /manage.py | a62ad10b2d678a76c6908461f122a8bcd98f3d8d | [] | no_license | invictus89/Remember-the-day | 579ad1c87c824ac1762fb61f89f12643b223be14 | 937587c749846ed15aeadb7a2bd2f9d0076fddb5 | refs/heads/master | 2022-12-10T13:53:42.194709 | 2019-07-26T09:04:57 | 2019-07-26T09:04:57 | 193,827,606 | 0 | 1 | null | 2022-12-08T05:50:40 | 2019-06-26T04:08:03 | CSS | UTF-8 | Python | false | false | 626 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'nambie.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportE... | [
"47375763+invictus89@users.noreply.github.com"
] | 47375763+invictus89@users.noreply.github.com |
0ea7e8efdff3400abb5978208cd4943c5240426e | 8804f70749e13604d01b71c3d3840c9573dc84a1 | /src/home/views.py | 59b694c41c0ec791cddc6d28756103e85edf60aa | [] | no_license | hamada-kamal/students-management-system | 53e1c7b681ae9081770df4546d11eb5c6519ab61 | a745cb2cd116a84323a95a804442a31cabafeb71 | refs/heads/master | 2023-06-29T23:46:56.875830 | 2021-08-02T22:26:23 | 2021-08-02T22:26:23 | 392,110,650 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,765 | py | from django.shortcuts import redirect, render
from django.contrib.auth.decorators import login_required
from .forms import ComplaintForm
from django.urls import reverse
from django.contrib import messages
from course.models import Subject
from .models import Registraion
from django.shortcuts import get_object_or_404
fr... | [
"hamadakamal819gmail.com"
] | hamadakamal819gmail.com |
2a3cc7c559643250e1d8c240271c348751ce2873 | dd4622390bb7122db37a889e647f28004a265ccd | /1300-蓝桥杯/year-2017/JAVA-A/test-02.py | 0b3ec8ada9b463bdf429f266152044ab7e0cad3c | [] | no_license | gschen/where2go-python-test | c8adaa095aa8a095401f98c7b3f8f17c72d0532d | eb9e6011b8d33fa45a6b1ef853affd01a296db21 | refs/heads/master | 2022-12-13T19:45:09.874691 | 2020-10-15T13:12:52 | 2020-10-15T13:12:52 | 211,591,156 | 4 | 1 | null | 2022-12-05T07:46:12 | 2019-09-29T02:35:00 | Python | UTF-8 | Python | false | false | 634 | py | def check(prev_nums: list, number: int) -> bool:
is_contained = (str(number) not in prev_nums)
is_zero = ((10 * int(''.join(prev_nums)) + number) % len(prev_nums) == 0)
return (is_contained and is_zero)
def search_num(prev_nums=['0']):
for k in range(1, 10):
if check(prev_nums, k):
p... | [
"2359362331@qq.com"
] | 2359362331@qq.com |
70f651f2244f633a44f0cb5cf916631ddbb6b679 | 1e6e7034af95fd78c61f946648e8a37c9c49b483 | /blog/migrations/0001_initial.py | 4cfc7470c364404fbaa5519d15425e55fac689b6 | [] | no_license | Mehmet442482/mehmetzerey_com | a00084d28864108fb4b4b4946f26fca3e4e96279 | fe70ad3b14e44609d46f122b8502d61a63d533ee | refs/heads/master | 2023-02-21T15:48:55.904909 | 2021-01-21T13:21:01 | 2021-01-21T13:21:01 | 331,597,729 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 986 | py | # Generated by Django 3.1.5 on 2021-01-21 11:19
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUT... | [
"mehmet_zerey_44@outlook.com"
] | mehmet_zerey_44@outlook.com |
bd39bad678176b5771c884d98427a6a2a69b5db0 | c27fc8df5ce6afea24970e56a4c2cc91f64d80b4 | /Graph-Tutorial/vertex_test.py | 6179efc6987f3a160b24feaaf249fa10a6d2e81e | [] | no_license | jayceazua/Social-Network-Graph-Tutorial | cd4d9ca7aa725f21389d1364ff68f9f89d7f0ec6 | ef84f9eb8ce0822a05191356248b3cbdd32ae985 | refs/heads/master | 2020-06-23T07:09:56.597888 | 2019-08-12T12:14:53 | 2019-08-12T12:14:53 | 198,551,787 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,287 | py | import unittest
from vertex import Vertex
class VertexTest(unittest.TestCase):
def test_init(self):
id = "A"
v = Vertex(id)
assert v.id == id
self.assertDictEqual(v.neighbors, {})
def test_add_neighbor(self):
v1 = Vertex(1)
v2 = Vertex(2)
# Test default... | [
"jayce.azua@gmail.com"
] | jayce.azua@gmail.com |
037a61588ff6beee98d174185d63d229af12a3d1 | e51e5d56e6e1bd01bca9e830ff4e37b1d9b3e8dc | /backend/foodgram/foodgram/settings.py | 3a30052d6bcd6e9df3cc9e8881e9e7cf93b98cfb | [] | no_license | tmbaranova/foodgram-project-react | 5b8e2699fb18336bc467303d9c557a1b5e927c80 | c185c9d851521bc2c2add41f957cbaecbf006f0a | refs/heads/master | 2023-08-15T13:10:45.906453 | 2021-10-03T08:35:28 | 2021-10-03T08:35:28 | 406,787,817 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,296 | py | import os
from dotenv import load_dotenv
load_dotenv()
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = os.environ.get('SECRET_KEY', default='default')
DEBUG = False
ALLOWED_HOSTS = [
'*', 'localhost', 'backend', '84.201.177.123', 'web', 'web:8000'
]
INSTALLED_APPS = [
... | [
"tmb2508@gmail.com"
] | tmb2508@gmail.com |
dfa327ec4cfed0ab06142436566c6f221623ef8e | ed527efff9f21c4b626b3903361e49401df7ffa1 | /manage.py | f52676004e00ea8149dcb48b9bf6e90ada0b26bc | [] | no_license | bbisesti/djangoWebsite | 220f84ab09679c8da0b9dc4c7b56fc22a3182150 | 0ea8d7e9a9079dd327bce904137f13cd19116bea | refs/heads/master | 2020-03-10T15:35:53.161292 | 2018-04-13T21:27:40 | 2018-04-13T21:27:40 | 129,450,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 545 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoWebsite.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django... | [
"bisestinumber2@gmail.com"
] | bisestinumber2@gmail.com |
00006a09a55a493a7f613871c6db21ae95556a22 | 5f0037c22e731234744a49d10c67c3a6f69a7786 | /setup.py | 28cd87f9a81b114f33dd899e928db483f0b129df | [
"BSD-3-Clause"
] | permissive | rohitsanj/doex | 79c08f5bd56c674fd712b81e569faba1bbf805c0 | d1fe3629dfe3fb789dfe42b072c2682581a9ae90 | refs/heads/master | 2023-01-22T23:06:43.551060 | 2020-11-07T15:35:17 | 2020-11-07T15:35:17 | 304,247,881 | 12 | 1 | BSD-3-Clause | 2020-10-20T09:56:21 | 2020-10-15T07:41:24 | Python | UTF-8 | Python | false | false | 2,430 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""""
setup.py
See:
https://packaging.python.org/tutorials/packaging-projects/
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import os
from setuptools import setup
local_path = os.path.dirname(__file__)
# Fix for tox w... | [
"sanjay.rohit2@gmail.com"
] | sanjay.rohit2@gmail.com |
9d67c902ecb3e645f1a75a8f35e88c53a4472c19 | 2b795d9b9206b9872421fea2c1bf8f6cabeff6c2 | /server/gethostbyip.py | dd674b413452426e536b2e6a753377ac2d43e0d9 | [] | no_license | maxomnis/python_example | 42ce2859ebed280a4b3f5502a7fad3ef0ca23541 | eb0e4c30f6a9d2d1878e28e020b1422ce47ed36b | refs/heads/master | 2020-05-30T08:23:41.287774 | 2019-08-07T12:45:55 | 2019-08-07T12:45:55 | 9,361,193 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 642 | py | #! -*- coding=utf-8 -*-
#-------------------------------------------------------------------------------
# Name: 根据IP查域名
# Purpose:
#
# Author: jack
#
# Created: 08/03/2013
# Copyright: (c) jack 2013
# Licence: <your licence>
#-----------------------------------------------------------... | [
"maxomnis@qq.com"
] | maxomnis@qq.com |
df6b7919f0f4d731c68b54914240fed2aaa8fe5b | 91d1a6968b90d9d461e9a2ece12b465486e3ccc2 | /rds_write_3/db-parameter-group_copy.py | ee699d9102789428290b58d77fa4169647f2cf6c | [] | no_license | lxtxl/aws_cli | c31fc994c9a4296d6bac851e680d5adbf7e93481 | aaf35df1b7509abf5601d3f09ff1fece482facda | refs/heads/master | 2023-02-06T09:00:33.088379 | 2020-12-27T13:38:45 | 2020-12-27T13:38:45 | 318,686,394 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,218 | py | #!/usr/bin/python
# -*- codding: utf-8 -*-
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import write_three_parameter
# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/copy-db-parameter-group.html
if __name__ =... | [
"hcseo77@gmail.com"
] | hcseo77@gmail.com |
8815b5d2803b773eddf98edb40eef3b220b2800f | 43d40b4847430f0f986dad449eaf2e914a2d2618 | /py7seg/Display102.py | a58e98cbfc8fa2b74d504d815eaf55188c23f48c | [] | no_license | srideepkar/Driver-Drowsiness-Detection-using-MQ6-gas-sensor-and-vision-sensor | 8076c94e951988ae4037873d0770f4852ab243d7 | be9c3589df4fb2132ff7a8eeea2cf1f54812d126 | refs/heads/master | 2023-03-25T12:33:17.113373 | 2021-03-16T17:41:46 | 2021-03-16T17:41:46 | 337,304,193 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 374 | py | # Display102.py
# Show displayable chars
# Enter text from terminal
from py7seg import Py7Seg
print "Displayable chars:", Py7Seg.getDisplayableChars()
ps = Py7Seg()
ps.showText("run")
while True:
print "Enter text (x to terminate)",
text = raw_input() # Fetch the input from the terminal
if text == "x":
... | [
"srideepkar@gmail.com"
] | srideepkar@gmail.com |
ffad2757a4dc34ac07a4c5c1496e5221e858d5bb | 84e05eaadfbca50159516e43b5f7e74024539dcb | /Selenium/Instagram/CapturingAndParsing.py | 6b7f451983c2c3d9528f234193b591422f6dae64 | [] | no_license | 2020-Crawler-Dataton/main | 9ca0b5881e20fe0d1f3da751939a72a44c9801d0 | 01f5dfda96d3b2f41767820849ccfd34ada270d1 | refs/heads/master | 2023-02-01T23:03:56.067718 | 2020-12-23T08:31:59 | 2020-12-23T08:31:59 | 323,242,198 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,848 | py | from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
import time
import numpy as np
import cv2
def driver_exist(driver: webdriver):
if driver is None:
return False
else:
True
def skip_store_login_info(driver: webdriver):
time.sleep(1)
try:
... | [
"jys01012@gmail.com"
] | jys01012@gmail.com |
be540f856ed7f7ac9c7a8f2c4137eb6770d04e67 | bc8a6b0a39b510f0da3f16d0e3257af05501b38a | /train.py | be466b5e8ae2b3f77dad8822ffc3838b16047fce | [] | no_license | bogus215/Bayesian-convolutional-neural-networks-with-bernouli-approximate-variational-inference | a02711da19457e3f5fa58021ee31c1324532dcfa | edd970c619688f881b747a3152dbdde9d5d75bee | refs/heads/main | 2022-12-29T00:33:56.445233 | 2020-10-23T09:45:11 | 2020-10-23T09:45:11 | 306,592,815 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,131 | py | #%%
import warnings
warnings.filterwarnings("ignore")
from loader import *
import argparse
from Lenet import *
import numpy as np
import torch
import torch.optim as optim
import torch.nn as nn
from tqdm import tqdm
import gc
import torch.nn.functional as F
from torch.utils.tensorboard import SummaryWriter
import random... | [
"wlstn215@gmail.com"
] | wlstn215@gmail.com |
10219f3aa82ee083283d3ab5e26f3e0d93b5266b | cf70b91df736d472d31a54c79bbdf124b7713adc | /docs/conf.py | 00d03b6ce5f611f322a30ce6a1b3ec1349168f29 | [
"MIT"
] | permissive | andycasey/mcfa | 1e8a46d7c313988c4c0c57f214bd5268f8e35ae7 | 8c4135e665e47006e9ca725e8bfc67315508366e | refs/heads/master | 2021-06-16T02:27:01.686167 | 2019-09-30T02:18:17 | 2019-09-30T02:18:17 | 142,864,003 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,654 | py | # -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup ------------------------------------------------------------... | [
"andycasey@gmail.com"
] | andycasey@gmail.com |
9c1ddb33c2790a6552911ac6eab857de8890295f | 8ff1b4925becaa68dd2bdf0bce3fa647d405f6ef | /problems/problem-113.py | ea194aa2011674c2b017aa625b388a124f102d1d | [] | no_license | chanchs/euler | 61dc078d54940f62961efe91cbf0befdd88843f9 | 32787ca9abb83d21d03b710136dc27d0159d7f6a | refs/heads/master | 2022-09-08T06:18:46.159434 | 2020-04-17T19:08:50 | 2020-04-17T19:08:50 | 75,235,991 | 0 | 0 | null | 2022-08-23T01:11:19 | 2016-11-30T23:20:23 | Python | UTF-8 | Python | false | false | 392 | py | # I hate counting problems
import lib.utilities as ut
import time
if __name__ == "__main__":
start = time.time()
print(ut.nCr(6 + 10, 10) + ut.nCr(6 + 9, 9) - 2 - 6 * 10)
print(ut.nCr(10 + 10, 10) + ut.nCr(10 + 9, 9) - 2 - 10 * 10)
print(ut.nCr(100 + 10, 10) + ut.nCr(100 + 9, 9) - 2 - 100 * 10)
... | [
"chanchs1@gmail.com"
] | chanchs1@gmail.com |
a0b0c137024bc7662c3f4312e31231ff6348ff1b | 848d327c1958cd34b02e2f349b1bab612c7e6d8d | /lincoln_park/manage.py | 54e2581aad78c052b948b1adcd1f729ead87ae74 | [] | no_license | mistersig/Lincoln_Park_Tourist_App | 6a0d5549ca3c3e368b37cc8a5f51db61f9eea3a5 | 47517f036d3a1baa59bf0675eaa624d4b5377d0c | refs/heads/master | 2020-04-05T14:31:01.796034 | 2018-11-26T18:16:35 | 2018-11-26T18:16:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 544 | py | #!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lincoln_park.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django.... | [
"sig@sigs-mbp.attlocal.net"
] | sig@sigs-mbp.attlocal.net |
4db8c52c55a15a2c51d249ebc988d87166facf26 | c02b52aa8bc9f617b21e7748c87b91be14689302 | /urls.py | 72a655847517fed3153ce1786682b6b43410f639 | [] | no_license | lithbery34/project | 345269ca9a2e91240029905a8acd75d49b3a211b | b7095145975dacc5b1397ab0f5a64631c94843d6 | refs/heads/master | 2021-04-11T03:01:34.529205 | 2020-03-21T14:05:02 | 2020-03-21T14:05:02 | 248,987,524 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 102 | py | from django.urls import path
from . import viewsf
urlpatterns =[path("",viewsf.index, name="index")] | [
"noreply@github.com"
] | lithbery34.noreply@github.com |
7c2ffe0523c3d4688aa835dcad6c37671706e956 | 4f917ec364189f5c90fec55ea0a3dfefd7cbcc98 | /ASST2/q2.py | d5b9d6d065067bffa1feaed487116f3213966df9 | [] | no_license | Tennsoku/EagleJump | 4b434c42a2c281a937d276f52558fdded1d8800f | 7a03c04aaa0f8c1d76fa93e234fb45eddc14f106 | refs/heads/master | 2021-05-12T16:39:29.194073 | 2018-01-11T16:06:56 | 2018-01-11T16:06:56 | 117,020,612 | 0 | 1 | null | 2020-10-01T07:09:46 | 2018-01-10T22:50:17 | Python | UTF-8 | Python | false | false | 386 | py | def find_product(l):
limit = len(l) - 4
set = map(lambda x: (x,x+5), range(limit))
sublist = map(lambda x: list(l[x[0]:x[1]]), set)
productList = map(lambda x: reduce(lambda y,z: y*z, x), sublist)
resultList = list(enumerate(productList))
resultList.sort(key = lambda t: t[1], reverse=False)
... | [
"olvantorxu@gmail.com"
] | olvantorxu@gmail.com |
92710436566b708b08bd48d719f1d036e734bd41 | 1aeb828e57be9b046ee25433fff05956f01db53b | /python_bms/연습/파이썬/2309일곱난쟁이.py | e3763f5945dec78a7f01414e9b1daa99104cf9ab | [] | no_license | LynnYeonjuLee/TIL_BMS2 | 11f2753e2e82c4898a782d6907a21e973c34cf69 | f363723391598caf5ec6b33925fcb8a13a252d9f | refs/heads/master | 2023-01-22T00:45:25.091512 | 2020-12-04T00:22:44 | 2020-12-04T00:22:44 | 290,238,836 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 64 | py | for tc in range(9):
heights = int(input())
h_list = [0]* | [
"lynnlyj9@gmail.com"
] | lynnlyj9@gmail.com |
543a0cc511afc65f251aa8ac057397d7886e2138 | 8f15c2e89105a63660608aafeff75127ad7a5f33 | /A4/code/algorithm.py | 2c3f81f75d572e44d49745e8521b07f2800362ed | [] | no_license | Ryan-Downes/Image-Understanding-A4 | 35aade41e5ef717e51d1e8deb3ee5648c330e4b8 | 7b5eab7f00045631965bf6ceccfec4a816ab6126 | refs/heads/master | 2021-05-04T22:30:12.780266 | 2018-02-02T22:49:49 | 2018-02-02T22:49:49 | 120,039,773 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,979 | py | # CSC320 Winter 2017
# Assignment 4
# (c) Olga (Ge Ya) Xu, Kyros Kutulakos
#
# DISTRIBUTION OF THIS CODE ANY FORM (ELECTRONIC OR OTHERWISE,
# AS-IS, MODIFIED OR IN PART), WITHOUT PRIOR WRITTEN AUTHORIZATION
# BY KYROS KUTULAKOS IS STRICTLY PROHIBITED. VIOLATION OF THIS
# POLICY WILL BE CONSIDERED AN ACT OF ACADEMIC DIS... | [
"noreply@github.com"
] | Ryan-Downes.noreply@github.com |
3dffc5c20f744079690693c532bc36ee2d591421 | ef3a7391b0a5c5d8e276355e97cbe4de621d500c | /venv/Lib/site-packages/caffe2/quantization/server/group_norm_dnnlowp_op_test.py | 973576bc6ed334f54d6524e629e153233989b982 | [
"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,621 | py | from __future__ import absolute_import, division, print_function, unicode_literals
import collections
import caffe2.python.hypothesis_test_util as hu
import hypothesis.strategies as st
import numpy as np
from caffe2.python import core, dyndep, utils, workspace
from caffe2.quantization.server import utils as dnnlowp_u... | [
"bengmen92@gmail.com"
] | bengmen92@gmail.com |
40f7f208c7ac981e93c4855882b66b053e820506 | 6aa5eb4e8b467fa35522456cd28ed87aa2b5aa7d | /prog4/Exercicio 2.4 (Aula String).py | 6016ad79a4107c215aaf91452df194668e1967b6 | [] | no_license | JojoBR07/MiniProjetosPython | e4261c3021de8734e87c97a23a92e620bd5df8fb | fde6ff567db8edbbb129af23e71047b49337a185 | refs/heads/main | 2023-03-08T16:41:18.801677 | 2021-02-21T02:25:02 | 2021-02-21T02:25:02 | 340,798,698 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 89 | py | A = "Python - Linguagem de Programação 4"
print(len(A))
print(A[22:])
print(A[:6]) | [
"joilsontelles@gmail.com"
] | joilsontelles@gmail.com |
ce62c8d65453bb1469bd5ef95c500b7b1d0ea258 | 9500ed352269a45225b73e30a607b6a8dc76d922 | /code/model.py | f0a3cc2008f722df55884b44cf611a2db161e29b | [] | no_license | eco-mind/SegRoot | b39d40d0f673f1001c1264c1e14b67d676a10287 | 8b83132de20de709865da07b1ab97d51d9699c3d | refs/heads/master | 2022-01-30T23:37:42.780376 | 2019-07-19T22:41:26 | 2019-07-19T22:41:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,951 | py | import torch
import torchvision
from torch import nn
from torch.nn import functional as F
class ConvBNRelu(nn.Module):
def __init__(self, in_ch, out_ch):
super(ConvBNRelu, self).__init__()
self.conv = nn.Conv2d(in_ch, out_ch, 3, padding=1, bias=True)
self.bn = nn.BatchNorm2d(out_ch)
... | [
"wangtao@outous-MacBook-puro.local"
] | wangtao@outous-MacBook-puro.local |
f7927d30c29369ad42397c13cb9dd2433ee374e6 | 287763c982c368a985e0416755e7c2f2f6889e11 | /alzheimercare/interview/migrations/0006_auto_20190503_1006.py | fdb64fb9ffaab3acef62f5e9ced1444e73e8b8b2 | [] | no_license | eduardoislas/alzaid_care | be46b8d0ffd7354455a5766e83cbb17701f67ac0 | fca4fdf7b2deb81ef3423962fded293092df9baa | refs/heads/master | 2022-04-28T09:43:38.523520 | 2020-03-24T07:02:02 | 2020-03-24T07:02:02 | 245,567,181 | 0 | 0 | null | 2022-04-22T23:18:21 | 2020-03-07T04:20:18 | JavaScript | UTF-8 | Python | false | false | 587 | py | # Generated by Django 2.1.7 on 2019-05-03 10:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('interview', '0005_tutor_email'),
]
operations = [
migrations.AddField(
model_name='tutor',
name='responsibilities',
... | [
"eislas22@gmail.com"
] | eislas22@gmail.com |
832884cade6ffbae994e75d59756654d897f0ee7 | 529c33f4de0ff2f327dbb4643931babda2319095 | /eval_func/meteor/meteor.py | 2636054005a247511f622f27abfa5658110711a4 | [
"MIT"
] | permissive | zml110120/Image-Caption | ccf45bdd6feb53260f23ea0a68b6cbd5ff9a9f87 | e528b36b32fdc8175921ce60bb9a2c6cecafebb8 | refs/heads/master | 2023-06-17T19:45:28.501871 | 2021-07-20T04:56:14 | 2021-07-20T04:56:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,218 | py | #!/usr/bin/env python
# Python wrapper for METEOR implementation, by Xinlei Chen
# Acknowledge Michael Denkowski for the generous discussion and help
import os
import sys
import subprocess
import threading
# Assumes meteor-1.5.jar is in the same directory as meteor.py. Change as needed.
METEOR_JAR = 'met... | [
"a19970417b@qq.com"
] | a19970417b@qq.com |
67d7f66d8e7375b1211aa7e2cb21658077e309ff | 3ced10fbfc1472664509dc6c231edaed04db9e78 | /tickers.py | c26e141bb1bb10132e8ea49c5f280ad6b4b18290 | [] | no_license | cmc/trading_stuff | d44637f871cfa256fd1b9f1fd431dab570b05223 | b26357017cc3456099992747e8750cf5ab7d4031 | refs/heads/master | 2022-06-09T08:58:39.946371 | 2020-05-06T21:29:54 | 2020-05-06T21:29:54 | 261,880,102 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,119 | py | """
Monitors BTC price across 9 exchanges, returns an average.
"""
import os
import sys
import time
root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(root + '/python')
import ccxt # noqa: E402
def print_exchanges():
dump('Supported exchanges:', ', '.join(ccx... | [
"chris@cmcsec.com"
] | chris@cmcsec.com |
cafa8c9dbb1847bb92eaf9c809708bb6ca81d59a | ae592b5c4b83d12e2f3f398f79ec6359fede0959 | /warhammer/manage.py | fcea453072a40c7c702459a114d91cebe29e0b22 | [] | no_license | homich77/PyLab17_HW_WEBSITE | 527e7a33c3b87c1b42bd19f178ffe7bcb4f80f88 | 54225f9b35d8b55d134901aee18573eb2add0601 | refs/heads/master | 2021-07-25T10:43:08.483965 | 2017-11-06T09:58:25 | 2017-11-06T09:58:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 807 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "warhammer.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that th... | [
"alex.m3da@gmail.com"
] | alex.m3da@gmail.com |
b73428382fda2e1ca751a76df524f3bcf515ef26 | 7967a3ee1c0ba80d2c4be404f5b779882cd24439 | /playground/config/apps.py | 8a5b10b147866b35f9dd3f69a721de35112665cc | [
"MIT"
] | permissive | LeeHanYeong/django-quill-editor | bf0e7150afedc890652b20b288b27c635c777a5f | f49eabd65503462f0a9081626dfc66d2d7ddce36 | refs/heads/master | 2023-06-24T07:26:55.664214 | 2023-02-07T08:14:56 | 2023-02-07T08:30:14 | 245,107,729 | 184 | 44 | MIT | 2023-06-09T09:35:05 | 2020-03-05T08:27:55 | Python | UTF-8 | Python | false | false | 185 | py | from django.contrib.admin.apps import AdminConfig as DefaultAdminConfig
__all__ = ("AdminConfig",)
class AdminConfig(DefaultAdminConfig):
default_site = "config.admin.AdminSite"
| [
"dev@lhy.kr"
] | dev@lhy.kr |
8206c441a422da0136685c937769f0db9d5f24c4 | fd6f30bef4f1995d0d99a577473675f067ed2f0a | /aula_13/ex53.py | 6072f430f5656386d707bf61fd673c3325a1f27d | [
"MIT"
] | permissive | Matheus-Pontes/Curso-Python-3 | 20decbdb32dc05167885f0bfa6926846ba0aebc1 | a55f6730112ee58d6b23158d50b9d3051dce4448 | refs/heads/master | 2023-03-19T19:33:50.757940 | 2021-03-15T23:04:34 | 2021-03-15T23:04:34 | 290,352,518 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 634 | py | # DETECTOR DE PALÍNDROMO
# DESCONSIDERANDO ESPAÇO E ACENTOS
print("="*30)
print(" DETECTOR DE PALÍNDROMO ")
print("="*30)
frase = str(input("Digite uma frase: ")).strip().upper() #sem espaços
palavras = frase.split() #sepera transformando em um vetor
junto = ''.join(palavras) # juntar as palavras que tiv... | [
"pontesm10@outlook.com"
] | pontesm10@outlook.com |
de4075a9a9a953c46c54f3d995598ea498f7f7bd | cdf559a2da5ed69e350190067657e96c69628f82 | /SocialBehaviorptc/ssm_ptc/observations/base_observation.py | b8938741580ab07e4a1168140f8b465108d9a7d3 | [] | no_license | cunningham-lab/SocialBehaviors | 50a5d62407ca1652bc504520bac7b5a378488532 | 6383d77ae528c9826d869158d1ec274b1a48d140 | refs/heads/master | 2020-06-18T08:24:14.050005 | 2020-03-20T15:40:51 | 2020-03-20T15:40:51 | 196,230,397 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 946 | py | import torch
import torch.nn as nn
from ssm_ptc.utils import ensure_args_are_lists_of_tensors
class BaseObservation(nn.Module):
def __init__(self, K, D, M=0):
super(BaseObservation, self).__init__()
self.K, self.D, self.M = K, D, M
def log_prior(self):
return 0
def log_prob(self... | [
"lhwunju@outlook.com"
] | lhwunju@outlook.com |
8ce23fe9462decf1f8afc1b1a38644722077cdfb | 6341e96526d574f7c4e772f17504bea8cc865d5f | /example.py | b6b60b32fad104d9889bbca6581940a1765ae878 | [] | no_license | DK-teknologisk-MADR/mads-raad-MADR | 9f55aeedd1cb28d8854f936319790d68f191acb5 | bf9ed08339f38c387006c7e9f6d6f63147b422e7 | refs/heads/master | 2023-04-22T23:19:04.592201 | 2021-05-06T12:58:20 | 2021-05-06T12:58:20 | 356,237,128 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,145 | py | import D2TIDefaults as D2TI
from pruners import SHA
from detectron2.evaluation import COCOEvaluator, inference_on_dataset
from detectron2.data import MetadataCatalog, DatasetCatalog
class ex_hyperopt(D2_hyperopt):
def __init__(kwargs_to_super):
super().__init__(**kwargs)
def initialize(self):
... | [
"madr@teknologisk.dk"
] | madr@teknologisk.dk |
dfc090030893edb02fddb1e27966098054bcb524 | 0278382431f74e016d4d0072a5ebb7cf89b6c13a | /feeder.py | b08826a964e48896edfffe13321cc75cdaba9f1c | [] | no_license | botir2/Smartfeeder1.3 | f5421b910046d14897a96a6afc5caa5220f6f5ab | e16849504c54d35539d3cbfb8d3d7dc4f6110237 | refs/heads/master | 2020-12-27T02:46:00.695588 | 2020-02-28T07:55:29 | 2020-02-28T07:55:29 | 237,738,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,341 | py | #!/usr/bin/env python
import io
import picamera
import logging
import socketserver
from threading import Condition
from http import server
import paho.mqtt.client as mqtt
from threading import Thread
import json
from datetime import time, datetime
from time import sleep
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
G... | [
"noreply@github.com"
] | botir2.noreply@github.com |
647f759cd84c085f6812ff133a678d6f9f5e5c29 | 02e6a94cc7f2237192f7b59b9b38297c17cb21c9 | /pls2sql.py.bak | 7d1a23f64c6084b00b930aee75afd42e8e0989ef | [] | no_license | emildekeyser/itl | cd89a0848e01ec0ac8cec82c443138df9e38993e | ad48537ea7c2259662aed99ce20d97fdfea14674 | refs/heads/master | 2020-06-21T21:23:28.493003 | 2019-07-18T09:24:36 | 2019-07-18T09:24:36 | 197,555,169 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,867 | bak | #!/home/user1/miniconda3/bin/python
import argparse
import plistlib
import sqlite3
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--library',
help='Path to XML library file',
type=argparse.FileType('rb'),
default='./... | [
"emil.dekeyser@student.ucll.be"
] | emil.dekeyser@student.ucll.be |
5c7e03cfde4e62af529b48d1339e85a404f70a10 | 35dabb943c7821cbdf05c8e22e329fb89b45f742 | /basicapp/apps.py | 84f2c721771f9a0e06a817cb2374b40d0402e4a3 | [] | no_license | priyanshuarora1/Email-OTP-verification-form-using-AJAX-and-JS-in-Django | df22dd2965d2f04c24692fe5cf676d02b3e078d4 | 228f8a73b0c20dd74491750916af18960ed22555 | refs/heads/master | 2023-04-12T20:06:03.051116 | 2021-05-06T08:27:38 | 2021-05-06T08:27:38 | 364,833,052 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 154 | py | from django.apps import AppConfig
class BasicappConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'basicapp'
| [
"priyanshu.18bcs1097@abes.ac.in"
] | priyanshu.18bcs1097@abes.ac.in |
b546b3ddc0e7dfe417126377133ce316d35c7020 | e13c98f36c362717fdf22468b300321802346ef5 | /documents/migrations/0001_initial.py | 6c30b613f871a3e0cbc4328170b19e5c35b4b42e | [] | no_license | alexmon1989/libraries_portal | 2415cc49de33459266a9f18ed8bb34ac99d3eb7c | 277081e09f6347c175775337bffba074a35f3b92 | refs/heads/master | 2021-01-23T07:25:53.884795 | 2018-12-25T14:29:29 | 2018-12-25T14:29:29 | 80,501,603 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,144 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-06 13:45
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('home', '0008_profile_address'),
]
... | [
"alex.mon1989@gmail.com"
] | alex.mon1989@gmail.com |
2351ca814b5fc811cbe99d550c0e9c2c1ce73a95 | 3247e7151711e257e2eeebf9b57487bfe3e4b239 | /backend/manage.py | 58715ed4c97a92e328f590a9375167cfbbd0eb43 | [] | no_license | crowdbotics-apps/wam-18762 | 6703f5e275b3afecd814ec4d6f8cef96b55d105c | 069669b42d42be0c310433e020c82cad83c186a9 | refs/heads/master | 2022-11-19T03:30:28.338372 | 2020-07-10T16:50:17 | 2020-07-10T16:50:17 | 278,461,990 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 629 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wam_18762.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise Impo... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
a7e6b93b828b73252bf1ca1c4c424a47300881b6 | beeed4a081faaba7a4f3e0e941313b2a71631639 | /kotti_link/__init__.py | 70557918480b518f62f35b264dd43ac9c2d59e09 | [
"BSD-3-Clause-Modification"
] | permissive | j23d/kotti_link | 2359e650546a892c13b666c7531b989285b56891 | 29af4cbbdee343f88a25760ae851a0b3fb0f72ad | refs/heads/master | 2021-01-13T02:27:11.734568 | 2015-02-12T23:11:24 | 2015-02-12T23:11:24 | 7,355,046 | 0 | 1 | null | 2015-02-12T21:27:23 | 2012-12-28T14:02:41 | Python | UTF-8 | Python | false | false | 353 | py | from pyramid.i18n import TranslationStringFactory
_ = TranslationStringFactory('kotti_link')
def kotti_configure(settings):
settings['pyramid.includes'] += ' kotti_link'
settings['kotti.available_types'] += ' kotti_link.resources.Link'
def includeme(config):
config.add_translation_dirs('kotti_link:lo... | [
"j23d@jusid.de"
] | j23d@jusid.de |
cefee122da46382fddbbae6c4973f6655f3e79a2 | 25ee921b602f4daa9db95cc3d919db90a76665ad | /django/mysite_v2/polls/polls_urls.py | eafbfdc84dc2e7c72de1e024dd0a0bb7c6cc9b7f | [] | no_license | HenryChenV/practises | 64538e058e1a71263844db0fc18c082a484802b7 | 4649d20fc848b6a879d998a4929a68ee0de31260 | refs/heads/master | 2021-01-10T18:35:33.571211 | 2018-05-13T16:16:51 | 2018-05-13T16:16:51 | 42,400,776 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 734 | py | from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from polls.models import Poll
urlpatterns = patterns('polls.polls_views',
url(r'^$',
ListView.as_view(
queryset=Poll.objects.order_by('-pub_date')[:5],
context_object_name='latest_poll_l... | [
"chen_hanli@163.com"
] | chen_hanli@163.com |
cde478e9d898f4813a1d833ac9ee554700c7ee66 | 73142ce727623417f4c4f0d54305313f3d4996f2 | /libjade/net.py | a8789d8a9b759ee152fbd85a242b9a6eb04b01a0 | [] | no_license | gbsoft/libjade | 0410d0290e4525bbba2564526d160756790f7891 | 66afbc5767b8aa639b79919cabb8e2b4693a1320 | refs/heads/master | 2020-12-24T13:52:24.889802 | 2012-06-27T07:51:43 | 2012-06-27T07:51:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,844 | py | #coding:utf8
import sys, urllib, urllib2, re, socket
re_host=re.compile("^(http|https|ftp)://(([\w\-]+\.)+[\w\-]+|localhost)/?")
def get_host_name():
return socket.gethostname()
def get_host_ips():
return socket.gethostbyaddr(get_host_name())[-1]
def get_host_ip():
return get_host_ips()[0]
def g... | [
"wslgb2006@gmail.com"
] | wslgb2006@gmail.com |
a2edf533c5f87b9a7a20b420a47a8d82d04227ec | 7decbdcb530e867aa2233e1de298630517813e23 | /day24.py | d948d34e4e287679f131790b56989ef617e4d916 | [
"MIT"
] | permissive | jlucangelio/adventofcode | 1948be485a79dd0be450dfec5e94d157a0cd7262 | 90030f82eca4498c56dadf1344b562de6e1af975 | refs/heads/master | 2021-01-12T09:16:33.205910 | 2016-12-26T21:38:26 | 2016-12-26T21:38:26 | 76,811,589 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,932 | py | import sys
from copy import copy
###########
#0.1.....2#
#.#######.#
#4.......3#
###########
LEVELS = 1000
MAX_DIGIT = 0
xs = 0
ys = 0
m = []
initial = None
with open(sys.argv[1]) as f:
for j, line in enumerate(f.readlines()):
line = line.strip()
if j == 0:
xs = len(line)
... | [
"jlucangelio@gmail.com"
] | jlucangelio@gmail.com |
2cf68c4c488cae807414c8d867e8fab21bbd5f08 | 935e6fc5f32dfd6dcd7db4c2ef2b6083e9dcd867 | /examples/whbm/lstm_task.py | 4637ae76103386793980ff053a3f90f6a6978202 | [] | no_license | zkmartin/tsframe | 0e805d76c89f647aa102e0acd5d75831f5dd808f | b522180f8179b52c4b1e510882813da912243e33 | refs/heads/master | 2020-03-21T13:14:08.559186 | 2018-06-12T14:03:00 | 2018-06-12T14:03:00 | 138,594,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 793 | py | import tensorflow as tf
import core
from tframe import console
import model_lib as models
def main(_):
console.start('WHBM task (LSTM model)')
# Configurations
th = core.th
th.model = models.lstm
th.num_blocks = 1
th.memory_depth = 2
th.hidden_dim = 100
th.epoch = 50000
th.learning_rate = 1e-4
t... | [
"willi4m@zju.edu.cn"
] | willi4m@zju.edu.cn |
340501a4bf1dd9d633b7f083e9a04a2eee4e1c56 | 401560bc476ea699ab98a41871e998acb84c9e20 | /tests/debug/test_debug_utils.py | ea4f9e70a8eddfd94c283142057cb9ab6a9d757b | [
"MIT"
] | permissive | bartvm/myia | 8a8eca9aaf23da58d6b9c81f7e3d9ad3ccb12d04 | c754a382a3c8fee53b38050ef82aa51d5083807e | refs/heads/master | 2021-03-27T20:45:22.609101 | 2018-07-04T14:49:16 | 2018-07-04T14:49:16 | 58,974,518 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,130 | py | """Test some debug utilities that may be used in tests."""
import pytest
from myia.api import parse
from myia.debug.utils import GraphIndex
def test_GraphIndex():
@parse
def f(x, y):
a = x * y
b = x + y
c = a - b
return c
idx = GraphIndex(f)
assert idx['x'] is f.pa... | [
"noreply@github.com"
] | bartvm.noreply@github.com |
34db61a21b086f6b20417643c7bd2a6047e3ff56 | 801692a16effa6e356a815128f73704ab1be0ddc | /assign_mask.py | c7eb1e8c63101b12c0f061f8629d10d39617f27d | [] | no_license | Thatfreesky/SyntheticTumor | fb5b3a1d5be1954075d1357eedf27367ebe43831 | bb5251d8e54a5227bbf3bea08efd84a85cc9d26c | refs/heads/master | 2021-01-19T22:53:27.561083 | 2015-09-02T14:51:02 | 2015-09-02T14:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,497 | py | from utils import Brain_mha
from utils import save_mha
import argparse
import itk
from os.path import join as join
from os import listdir as listdir
from os.path import isdir as isdir
from os import mkdir as mkdir
def mask_mha(brain_path, mask_path, save_path):
#brain_path = '/home/local/USHERBROOKE/havm2701/git... | [
"seyed.mohammad.havaei@usherbrooke.ca"
] | seyed.mohammad.havaei@usherbrooke.ca |
02866b4e7ed5044cd3bd18ae71a5943fbe9a6582 | be134ef839e56e860582063761c3aa91aedc1546 | /build/rrt_exploration/cmake/rrt_exploration-genmsg-context.py | 9bb443fac1e7e40699b4a5e41eddff577a1acfb0 | [] | no_license | Alidong/ROS_WORKSRACE | 3cd2ad3c56858278402837ab8917fd6f39bb1035 | 9ccd06b4e96e3238837fef3ebb052ca59e606994 | refs/heads/main | 2023-06-29T13:27:53.949767 | 2021-08-03T05:56:08 | 2021-08-03T05:56:08 | 391,874,407 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 677 | py | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/orangepi/ros_workspace/src/rrt_exploration/msg/PointArray.msg"
services_str = ""
pkg_name = "rrt_exploration"
dependencies_str = "std_msgs;geometry_msgs"
langs = "gencpp;geneus;genlisp;gennodejs;genpy"
dep_include_paths_str = "rrt_exploration;/h... | [
"958396826@qq.com"
] | 958396826@qq.com |
5da7522f573c0ba74fc25998df121e5e511505e9 | e6ec7021ccb34c7127fc943cabb20b4bbe0344a9 | /phanterpwa/frontend/selects.py | d1e369ffe05c0b24b8beb38b09c3f5024ed7a87a | [
"MIT"
] | permissive | PhanterJR/phanterpwa | ed4d0ab68282561778553666d74f76db8b83f0b0 | 046a166cab400504425ef6aba4571dcc4c255e53 | refs/heads/master | 2023-06-21T22:01:21.765713 | 2023-06-14T01:53:37 | 2023-06-14T01:53:37 | 189,083,281 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,467 | py | from phanterpwa.frontend import helpers
from org.transcrypt.stubs.browser import __pragma__
__pragma__('alias', "jQuery", "$")
__pragma__('skip')
# it is ignored on transcrypt
window = jQuery = console = document = localStorage = Hammer =\
sessionStorage = this = FileReader = JSON = js_undefined = navigator = __n... | [
"junior.conex@gmail.com"
] | junior.conex@gmail.com |
14863f27e49cf1dd4e9838673cd64b4d3be23a86 | 076f997363a28cb63fc3936a9583f2703ef25388 | /mobike/urls.py | 0058e6d09dc9c5857e8b6357e9eea826dee3052b | [] | no_license | cataliinaa/Mobike | a584fe513fece60dc0fa38f997884449fcd96d98 | 2a420c6c4f1ea3d8f3da3890090201d2706aab92 | refs/heads/main | 2022-12-30T04:16:27.526088 | 2020-10-20T20:15:52 | 2020-10-20T20:15:52 | 305,827,943 | 1 | 0 | null | 2020-10-20T20:38:39 | 2020-10-20T20:38:38 | null | UTF-8 | Python | false | false | 748 | py | """mobike 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 ... | [
"fernando.llovel.alfaro@gmail.com"
] | fernando.llovel.alfaro@gmail.com |
dcf014900e62ca3265897fbf6ebe9cb481dd9164 | f63cb267c47f4343dc69e52cb10042720a40fb3e | /montecarlo.py | a6b6902d17d0b3f16d6c31038baa9716050f4e95 | [
"Apache-2.0"
] | permissive | JDBumgardner/ConcreteCorrosionSimulator | 2b3c012dda790dd21d0be284799d22f95095055f | f68492fd40e0320992885bb8bfe77b0ffff4900c | refs/heads/master | 2022-12-29T02:03:18.597828 | 2020-10-08T15:19:41 | 2020-10-08T15:19:41 | 47,902,646 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,774 | py |
from scipy.stats import norm
import numpy as np
from scipy import special
import matplotlib.pyplot as plt
import math, random
class montecarlo(object):
def __init__(self):
self.Cover_Mean = 2.5 # cover depth in inches
self.Cover_Stdev = .2 # cover standard deviation in inches
self.Diffusi... | [
"jake.bumardner@gmail.com"
] | jake.bumardner@gmail.com |
838878a7c21c4d3041bdd02699936657ce06ad10 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/locket.py | 64afc11dcc2dc630d17738ff6e338fc2675aad89 | [] | no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 122 | py | ii = [('BailJD2.py', 1), ('GilmCRS.py', 6), ('EdgeMHT.py', 19), ('RoscTTI.py', 1), ('JacoWHI2.py', 1), ('HogaGMM2.py', 2)] | [
"prabhjyotsingh95@gmail.com"
] | prabhjyotsingh95@gmail.com |
c821d2270f27f7cefc63b9c07549c9226c3f8f03 | 1013a96db28be6e93ef304edf873401922407ff6 | /classes.py | 13356201445f1217b5634c472da965fed3f75909 | [] | no_license | kv244/python_graph | 9a49a5ba43c03f0e8904b6fabb144e906677fe56 | 566b26dcebe6f5b59341cf5daf75c78493e3e10e | refs/heads/master | 2022-07-07T02:20:25.207106 | 2020-05-16T12:22:44 | 2020-05-16T12:22:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,000 | py | class Drugs(object):
"""getter, setter for person"""
def __init__(self):
self._value = []
def __get__(self, instance, instance_type):
return self._value
def __set__(self, instance, value):
assert isinstance(value, list)
self._value = value
class Person:
"""Class ... | [
"julian.petrescu@live.com.sg"
] | julian.petrescu@live.com.sg |
3b58821f2eb113092f865312a4dec819db38c21a | a410af6b8c0bbbb8647927dd3a843e747ce5d72d | /kioskoapp/migrations/0005_auto_20191201_0118.py | 6f5b6747910d68f462e004b6207ba9c91add7f21 | [] | no_license | ArielTEP/wisehackathon2019 | 33a46b237d6019b4809af80d4f2fc0909547b3e2 | e46b56fa798a362e448e51a9b296bd4e7d145358 | refs/heads/master | 2020-09-22T11:56:14.963982 | 2019-12-01T17:37:33 | 2019-12-01T17:37:33 | 225,183,134 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 749 | py | # Generated by Django 2.2.7 on 2019-12-01 07:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('kioskoapp', '0004_doctor_dose_medicalrecord_user_vitalsignsmeasure'),
]
operations = [
migrations.AddField(
model_name='dose',
... | [
"aespindo@cisco.com"
] | aespindo@cisco.com |
ec771175f6375c1a0c82610bce0420bd3597b4e4 | 2afee8574d6611fcfaa4dc6210d4a279ee38f154 | /DailyCodingProblem/57-substringLenK.py | 555378920fbde881fbf0f9983badf7e815af3b0f | [] | no_license | Neminem1203/Puzzles | 23e57e210ade4151ca1f598b4c31b8dfbfdae8fb | bf7373d0432accd4da73cf41f78a24f02ddb5e9f | refs/heads/master | 2021-11-25T16:53:05.661454 | 2021-10-27T03:35:09 | 2021-10-27T03:35:09 | 89,552,001 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,159 | py | '''
Given a string s and an integer k, break up the string into multiple texts such that each text has a length of k or less.
You must break it up so that words don't break across lines. If there's no way to break the text up, then return null.
You can assume that there are no spaces at the ends of the string and tha... | [
"Neminem1203@users.noreply.github.com"
] | Neminem1203@users.noreply.github.com |
5dccbcfa18dfe466ddaf80e578f34af7875bb11a | 321268b6d7a77684a8c4af5eaf763bc44e11152f | /LeetCode/Middle-of-the-Linked-List.py | a3472fed0a7f2aab5eb6875f908cbbed4c31b506 | [
"MIT"
] | permissive | canxkoz/Competitive-Programming | 17b8e091f1ddb36826255d8067295c35f6243595 | c5aba7ff3537e0ecb5cf0972e5b605498995e82a | refs/heads/master | 2021-07-15T23:30:44.641916 | 2020-09-16T13:42:03 | 2020-09-16T13:42:03 | 190,234,263 | 11 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,242 | py | # Middle of the Linked List
# Given a non-empty, singly linked list with head node head, return a middle node of linked list.
# If there are two middle nodes, return the second middle node.
# Example 1:
# Input: [1,2,3,4,5]
# Output: Node 3 from this list (Serialization: [3,4,5])
# The returned node has value 3. (... | [
"canxkoz@gmail.com"
] | canxkoz@gmail.com |
8df4ca9b5e0fe7752819761c02071cc06fc4b1a2 | 68e76ef27df38b0fe2c1c993a9c15896563f950d | /2 Практика Робот/robot-tasks-master/task_27.py | adb36b2f4c4d8b0d56eece184d7dc0228bed4853 | [] | no_license | Jumas-Cola/mipt_cs_on_python3_answers | 72e9341656daa4afa35f8d39de917eb5471ee132 | a2d128c4ce391bdeea6d20eb955855ad5bc5a0b4 | refs/heads/master | 2020-03-27T23:44:09.088994 | 2019-07-29T13:55:35 | 2019-07-29T13:55:35 | 147,341,552 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | py | #!/usr/bin/python3
from pyrob.api import *
@task
def task_7_5():
n = 0
i = 0
move_right()
while not wall_is_on_the_right():
if i==n:
fill_cell()
n+=1
i=0
move_right()
i+=1
if __name__ == '__main__':
run_tasks()
| [
"kbbyfl91@gmail.com"
] | kbbyfl91@gmail.com |
42ad4f982111a42eee33208b239d79bdb928cde4 | 841844d831734f99b216d9935d67f3875be0d925 | /mysite/schedule/migrations/0003_auto_20160526_0512.py | 9396a93799817d6003a42a8ed9e01a5aa4765521 | [] | no_license | Carl1993/schedule | bda52ecff3e165ab9a5cd72676b928d407d74c1a | 7ae03be5f314d2a8915d49ba538039120a0a9434 | refs/heads/master | 2020-12-31T05:10:10.533978 | 2016-05-28T04:21:36 | 2016-05-28T04:21:36 | 59,754,792 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 449 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-05-25 21:12
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schedule', '0002_auto_20160526_0454'),
]
operations = [
migrations.AlterFiel... | [
"1034645564@qq.com"
] | 1034645564@qq.com |
df36743c5bc13e418b5df8f670b43e00179a22b6 | 4948210222f65bf0f38df20b141c6571da41fee2 | /project3/cocos/director.py | 67a2798ac8e15c0fbf38eaf8c2cc8e969bc262ca | [] | no_license | novasharper/cs4732-projects | 772b9a61f81deb4360ccdf89acdc93fbda40202d | cd37fa694104644b1030acf38405c7b1b6349e45 | refs/heads/master | 2021-01-19T05:11:49.946044 | 2017-06-11T13:36:22 | 2017-06-11T13:36:22 | 84,944,014 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,195 | py | # ----------------------------------------------------------------------------
# cocos2d
# Copyright (c) 2008-2012 Daniel Moisset, Ricardo Quesada, Rayentray Tappa,
# Lucio Torre
# Copyright (c) 2009-2016 Richard Jones, Claudio Canepa
# All rights reserved.
#
# Redistribution and use in source and binary forms,... | [
"ppatlong@gmail.com"
] | ppatlong@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.