blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
7fb792bad28f1c928186db0504bcf02a1cacecad
aa81fe0b271ffddfd9f3bac6ebf0d4c503fb1ad8
/MultiPlanarUNet/sequences/isotrophic_live_view_sequence_3d.py
97bb66d6d3081b0ef8919a52bcde07fff1c54eca
[ "MIT" ]
permissive
admshumar/MultiPlanarUNet
dd295d182e82ce903025ff2cb4895b2727c7b56a
6b59e8f2e0fb9601c17dc32eec4bb114971bf0a1
refs/heads/master
2020-07-31T12:12:41.695269
2019-08-01T07:36:04
2019-08-01T07:36:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,050
py
from MultiPlanarUNet.sequences.isotrophic_live_view_sequence import IsotrophicLiveViewSequence from MultiPlanarUNet.interpolation.sample_grid import sample_box, sample_box_at from MultiPlanarUNet.interpolation.linalg import mgrid_to_points import numpy as np class IsotrophicLiveViewSequence3D(IsotrophicLiveViewSequen...
[ "mathias@perslev.com" ]
mathias@perslev.com
a5f77e33734ac4166f39a977b6fb45bb27e0877b
0ce10b36e9e886c79dca46e2247603b17475206a
/cell2cell/external/__init__.py
e8bb83dc0a7e1ded1f6450b3e063913378edc7e8
[ "BSD-3-Clause" ]
permissive
earmingol/cell2cell
dd5e5186a8793097db4e28bdf23c340399effd22
9fa855d48dc9c4b132fc59e2de1db23a37dc7c5e
refs/heads/master
2023-05-31T02:12:51.127542
2023-04-20T19:39:54
2023-04-20T19:39:54
182,623,687
46
10
BSD-3-Clause
2023-04-20T19:39:55
2019-04-22T04:37:54
Python
UTF-8
Python
false
false
257
py
from cell2cell.external.pcoa import (pcoa, pcoa_biplot, _check_ordination) from cell2cell.external.goenrich import (goa, ontology) from cell2cell.external.gseapy import (load_gmt, generate_lr_geneset, run_gsea) from cell2cell.external.umap import (run_umap)
[ "earmingol14@gmail.com" ]
earmingol14@gmail.com
a035d7288fa8d1cd1793230d7e381fb2968f4991
ef158af9d47fb1f0c974b49405174ba5b34e4721
/photoo/tendance_file/TENDANCE/remplir_database/analyse_femme_haut.py
49225333ad4fb68df01886c4602d7801f497b806
[]
no_license
LeGrosLezard/bobo
1227bcae22d9eb7d9e0423009cae154df5466994
7c50de512fb22c8bdf1a1127307fc4fd2f371152
refs/heads/master
2020-07-01T17:38:14.145955
2019-07-01T21:29:49
2019-07-01T21:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,505
py
import sys import os import cv2 from colour import * import numpy as np from PIL import Image, ImageDraw, ImageChops from matplotlib import pyplot as plt import math from palettecouleur_coiffure import couleur_cheuvelure from coul import * from palettecouleur import DICO_COULEUR from database import in...
[ "noreply@github.com" ]
LeGrosLezard.noreply@github.com
79b59580a3c12ad1a907baf87ad0c83e41650f0c
73744790709a75fa15bd3a9c141777b81acf6402
/dsl_parser/tests/test_get_consumers.py
e7612b10eeaeb7bd0d54a87f5825c0e58de59c58
[ "Apache-2.0" ]
permissive
cloudify-cosmo/cloudify-common
aea8f9b9b1f5d85a23b6f8d3f61b8a445d2fc27e
246550c150e33e3e8cf815e1ecff244d82293832
refs/heads/master
2023-08-24T12:44:40.277500
2023-08-17T08:54:31
2023-08-17T08:54:31
132,621,915
8
16
Apache-2.0
2023-08-24T12:27:03
2018-05-08T14:35:12
Python
UTF-8
Python
false
false
3,239
py
from dsl_parser import functions from dsl_parser.tasks import prepare_deployment_plan from dsl_parser.tests.abstract_test_parser import AbstractTestParser class TestGetConsumers(AbstractTestParser): def setUp(self): super(TestGetConsumers, self).setUp() self.mock_storage = self.mock_evaluation_sto...
[ "noreply@github.com" ]
cloudify-cosmo.noreply@github.com
26d99bcd4bb2a02032289382381ac6d94fc386f1
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_092520.01+273619.7/sdB_SDSSJ_092520.01+273619.7_coadd.py
3c92de12f087f3a8d072508af616ae85d6589595
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[141.333375,27.605472], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_SDSSJ_092520.01+273619.7/sdB_SDSSJ_092520.01+273619.7_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
0f95cdce65712bdf588c43e499e4f3c3114fd710
e8a8d8099419306feb8849625f65357456b6a2ae
/proj/app/models.py
4beb0e5041f2baa1d0e3b62ee95cc1796dee1cb1
[]
no_license
Sentret/classificator
57224597f64f44462be61228e6ed7e18b6973181
86aafc5884215918f1cdac92f17360ac671dc703
refs/heads/master
2021-08-30T09:52:48.157374
2017-12-17T10:17:39
2017-12-17T10:17:39
114,526,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
from django.db import models class Topic(models.Model): name = models.CharField(max_length=100) classifier = models.ForeignKey('Classifier', blank=True, null=True) class Meta: unique_together = ('name', 'classifier',) def __str__(self): return self.name class Classifier(models...
[ "you@example.com" ]
you@example.com
34d9562b56d5ed5af1c74797c367485b191fa909
2844812adf8e919c6629463e33a1d9a3634ec0cc
/tests/benchmarks/base_utils.py
648eb5f0e2caa2f0b29dac0e485f6bc089b50e29
[ "Apache-2.0" ]
permissive
tods-doc/d3m
0d920a4a88172c925cce7cd75c37296c3522a0c5
e25793d4aaa9a8fdb63ac33bf1c045b96d6067a6
refs/heads/master
2023-02-08T22:07:43.279961
2021-01-05T21:27:15
2021-01-05T21:27:15
296,895,826
1
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
from d3m import container from d3m.base import utils as base_utils class CombineColumns: params = [[100, 300, 500, 700, 900]] param_names = ['columns'] def setup(self, columns): self.large_dataframe_with_many_columns = container.DataFrame({str(i): [j for j in range(5)] for i in range(columns)}, c...
[ "daochen.zha@tamu.edu" ]
daochen.zha@tamu.edu
9fd4dc4e6e75819bbed57836d6ef6fe3242ab4b4
bd71b063f13958e07c9e16cd171d3fc0e1c58e4d
/0x0A-python-inheritance/100-my_int.py
f8cf0a3390d1775fbb032aa8af847e38377d73ed
[]
no_license
feliciahsieh/holbertonschool-higher_level_programming
2aecd291f85fe69ab11331bb2d5372c6d67e1af6
017e8b87f9d8967b55ccc68ed30921572d4ddb65
refs/heads/master
2021-01-01T20:46:36.901665
2019-04-10T18:24:59
2019-04-10T18:24:59
98,931,138
2
0
null
null
null
null
UTF-8
Python
false
false
541
py
#!/usr/bin/python3 class MyInt(int): """ MyInt - class that inherits from int """ def __eq__(self, other): """ __eq__ - redefine == to != Args: other - other operand Return: True if Not_Equal to """ return int(self) != int(other) ...
[ "felicia@tixwriteoff.com" ]
felicia@tixwriteoff.com
64a65dc8e8eb1d2a4fda1b44992a6c4e8928a5f0
15ed27bece0ae11ee0ae19f7d8fbffb1bd6db342
/tensorforce/environments/socket_environment.py
20cfde293eb197ba167a9b4a457e7ab276897cdb
[ "Apache-2.0" ]
permissive
marload/tensorforce
06baea28096d04bbe1f42ee99d0d8e4d815d1e40
7101282b2c4a0524361aeeab22d3a2c5a3dd03bc
refs/heads/master
2021-04-01T09:55:48.154186
2020-03-17T23:38:49
2020-03-17T23:38:49
248,179,865
1
0
Apache-2.0
2020-03-18T08:46:32
2020-03-18T08:46:31
null
UTF-8
Python
false
false
5,808
py
# Copyright 2020 Tensorforce Team. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "alexkuhnle@t-online.de" ]
alexkuhnle@t-online.de
42635fa6693ccd0a767871eb5e8353b606f9eb6d
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/PostenMapping/Model/Post060261215.py
1e8401f5696f51dc2d278fa4a273f956133d8b95
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
4,912
py
# coding=utf-8 from OTLMOW.PostenMapping.StandaardPost import StandaardPost from OTLMOW.PostenMapping.StandaardPostMapping import StandaardPostMapping # Generated with PostenCreator. To modify: extend, do not edit class Post060261215(StandaardPost): def __init__(self): super().__init__( nummer...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
51218db60992a0598c11d71f2a2840fd04fe9494
4e6caa29a341e8e3964855172af4b89d683ff65f
/orders/models.py
d2030a34d7e0aace750b9adea2fb7d4d6f9d3e26
[]
no_license
sadakchap/basic-ecommerce-site
2112e758ac0d9074a18c50f6a0955c0ab82ff01d
b1f9990eaebb260a3c338fda61f8c426953faad8
refs/heads/master
2022-12-25T11:04:16.247128
2021-06-02T01:47:00
2021-06-02T01:47:00
212,818,635
0
0
null
2022-12-08T06:40:57
2019-10-04T13:14:44
JavaScript
UTF-8
Python
false
false
1,301
py
from django.db import models from shop.models import Product # Create your models here. class Order(models.Model): first_name = models.CharField(max_length=255) last_name = models.CharField(max_length=255) email = models.EmailField() address = models.CharField(max_length=255) postal_c...
[ "aliceprerna@gmail.com" ]
aliceprerna@gmail.com
981bf9717f31d66e32777202e08d7e15847fb7fd
9b3f578e63a7e17e2b1bab5f38aa8625b8a80251
/descarteslabs/workflows/models/versionedgraft.py
5c4b26227aef784da05648dcf5da73da4df46673
[ "Apache-2.0" ]
permissive
carderne/descarteslabs-python
e6f7000f08cd1569e0ddd0f7fb8e53abb6765183
757b480efb8d58474a3bf07f1dbd90652b46ed64
refs/heads/master
2022-12-09T23:19:02.361226
2020-08-13T11:52:30
2020-08-13T11:52:30
287,264,851
0
0
NOASSERTION
2020-08-13T11:46:58
2020-08-13T11:46:57
null
UTF-8
Python
false
false
5,341
py
import json import textwrap from descarteslabs.common.graft import client as graft_client from descarteslabs.common.proto.workflow import workflow_pb2 from descarteslabs.workflows import _channel from descarteslabs.workflows.cereal import deserialize_typespec, serialize_typespec from descarteslabs.workflows.client imp...
[ "support@descarteslabs.com" ]
support@descarteslabs.com
c9481cd2dcec110f75b2234f1c65a3c1766da112
543286f4fdefe79bd149ff6e103a2ea5049f2cf4
/Exercicios&cursos/Curso_Py/escrevendo_arquivo.py
b357539a43c5f9dca9aea36886c29d852f520cae
[]
no_license
antonioleitebr1968/Estudos-e-Projetos-Python
fdb0d332cc4f12634b75984bf019ecb314193cc6
9c9b20f1c6eabb086b60e3ba1b58132552a84ea6
refs/heads/master
2022-04-01T20:03:12.906373
2020-02-13T16:20:51
2020-02-13T16:20:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
arq = open("teste_aula.txt", "w")#w para escrever arq.write("escreviiiiiiii\n") arq.write("dnvvvvvvvvvvv\n") arq.write("HAHAHA CHUPA") arq.write("UHUUUUUU") arq.close()
[ "progmatheusmorais@gmail.com" ]
progmatheusmorais@gmail.com
72e597de56f9957f4ef37fa1adeabff299cde620
ebcea394905df8222c257c8c6c469627a6e48095
/djangoProject/mysite/Profile/admin.py
cba40e206156413afaf37126354b58225ad1a65d
[]
no_license
valiok98/Python-Qt5-Tensorflow
2773cfc2a0e569ed53cf3d90066885f17abe8c6a
e03ccc2884b687a36fbe47f5ff320837be3e217a
refs/heads/master
2021-09-17T20:41:01.908602
2018-03-31T12:42:25
2018-03-31T12:42:25
103,644,683
1
0
null
null
null
null
UTF-8
Python
false
false
301
py
from django.contrib import admin # Register your models here. from .models import PersonalProfile, Item class PProfile(admin.ModelAdmin): list_display = ["f_name","l_name"] class Meta: model = PersonalProfile admin.site.register(PersonalProfile,PProfile) admin.site.register(Item)
[ "valentin1998v@gmail.com" ]
valentin1998v@gmail.com
6b597c229a07c5f8d530e8d7bded5e37bcd39348
730430ba3b45d5728ef044863598199bfa33aaaa
/examples/tutorials/homework/lesson3/dqn_mountaincar/model.py
17c7a8d93a532884187abf0a8cb44d3823018e56
[ "Apache-2.0" ]
permissive
PaddlePaddle/PARL
062d1b4a5335553be6cdfc33ad12f07ebbcd7310
3bb5fe36d245f4d69bae0710dc1dc9d1a172f64d
refs/heads/develop
2023-08-09T02:12:39.741551
2023-05-19T17:52:25
2023-05-19T17:52:25
131,044,128
3,818
988
Apache-2.0
2023-07-28T03:59:20
2018-04-25T17:54:22
Python
UTF-8
Python
false
false
1,140
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
c5c5338564eb826c01194cf073d4ba304148170e
39200f6d08ebeac0f147d3b2b6aaed980d2ce555
/blog/urls.py
ce3882ff9612bb77ff64376fa9dd24a0c8c0a086
[]
no_license
hemor/my-first-blog
506a81b6dcda82a39aa24ecda65632b1d92ecbce
525e002897fd9367ffa6fbfc9458bf2e477efab9
refs/heads/master
2020-03-28T02:08:04.116659
2016-06-01T17:40:35
2016-06-01T17:40:35
60,012,037
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
from django.conf.urls import url from . import views app_name = 'blog' urlpatterns = [ url(r'^$', views.post_list, name='post_list'), url(r'^index/$', views.post_list, name='index'), url(r'^post/(?P<pk>\d+)/$', views.post_detail, name='post_detail'), url(r'^post/(?P<pk>\d+)/comment/$', views.add_comment_to_post, ...
[ "you@example.com" ]
you@example.com
de41530ae7cbc92425d107c3f2e3e33d1b2dfa11
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Uranium/UM/Operations/AddSceneNodeOperation.py
3afab5a287b257c42b56bb5d7554760e5322b2c3
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
1,597
py
# Copyright (c) 2018 Ultimaker B.V. # Uranium is released under the terms of the LGPLv3 or higher. from UM.Operations.Operation import Operation from UM.Scene.Selection import Selection from UM.Scene.SceneNode import SceneNode from typing import Optional ## Operation that adds a new node to the scene. class AddS...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
17be2a2f724ed85a36c7e4f509abbb858d0860c6
5be8f72affd219c36587914f9b769faa0475b97e
/adafruit_tpa2016.py
182e51cfb3ad4da2b3abac2536eac00422cdec73
[ "MIT" ]
permissive
kattni/Adafruit_CircuitPython_TPA2016
5ac09de14a91d411e7d2bd9783aca3c39d0b0598
902e6aa3190b9aa9f667204bf42a9d399e01bf79
refs/heads/master
2020-04-29T05:12:33.627067
2019-03-21T17:51:03
2019-03-21T17:51:03
175,874,171
0
0
null
2019-03-15T18:43:36
2019-03-15T18:43:36
null
UTF-8
Python
false
false
9,955
py
# The MIT License (MIT) # # Copyright (c) 2019 Kattni Rembor for Adafruit Industries # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the ri...
[ "kattni@adafruit.com" ]
kattni@adafruit.com
6b0447a4f1e8917cc1625bd04e865f86499b4fa2
23e1f9af34f2f2c3f32f68a6176c7664cb7f62d7
/legacy/daily/163/overview.py
f5d54088c3d930ebb955ac5055aba50cd24e7f87
[]
no_license
jki14/the-cat-of-wall-street
8bc95d812f0381c7e02bd65777ee9f44e17f73d9
5e1265a11bba7f3040c893043d5ac79fe5736b63
refs/heads/master
2021-10-11T11:27:18.297584
2019-01-25T08:51:22
2019-01-25T08:51:22
115,118,975
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
# -*- coding: utf-8 -*- import csv import datetime import json import os import socket import sys import time import urllib2 tracking_list = ['sh000001', 'sz399001', 'sz399300'] foo = {} try: with open('./data/dbf/overview.dbf', 'r') as dbf: foo = json.load(dbf) except IOError: foo['layout'] = ['DAT...
[ "jki14wz@gmail.com" ]
jki14wz@gmail.com
4661574ed6bcbdbcb9e401e4121736a4c790d8e6
0131f6d91da5b063b3d79330b014871c128c67ed
/irc/asparagus/modules/4chan.py
ebb414e01e4aa3612a6cdb9b84448a46a5a2afc9
[ "Zlib" ]
permissive
moneytech/code-2
f31602a702cc7e13b24c1ab5817d30d2314dde76
d970038329f7c4e4f0ee9dcd1b345741dd0fcc51
refs/heads/master
2021-10-02T18:24:20.159492
2018-11-30T02:14:18
2018-11-30T02:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
""" Copyright (c) 2013, Christine Dodrill All rights reserved. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including ...
[ "xena@yolo-swag.com" ]
xena@yolo-swag.com
3b3693eadafb982f2084a294eca435e9ca20ceee
67bdebd561b19af9bf759b6ed5de8556b93ea91f
/trace_unless.py
f02ba6959a7ce84d5162f521cd3b15b0d53a8b8d
[]
no_license
rlowrance/re-avm
91371ec79f6b6f48e17643da4dfb7a4894d0a0ca
d4cfa62e9f65d325e8ac98caa61d3fb666b8a6a2
refs/heads/master
2021-01-17T07:34:16.876133
2017-02-06T21:04:59
2017-02-06T21:04:59
42,865,972
31
10
null
null
null
null
UTF-8
Python
false
false
316
py
import pdb def trace_unless(condition, message, **kwds): 'like assert condition, message; but enters debugger if condition fails' if condition: return print '+++++++++++++++' for k, v in kwds.iteritems(): print k, v print message print '+++++++++++++++' pdb.set_trace()
[ "roy.lowrance@gmail.com" ]
roy.lowrance@gmail.com
01f9a0bdf77391ac938617afd13a6195299dafb5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Wpbb6x9nHax55zKLX_14.py
8e96679b72e16f74a7456684857920bfe30cdea7
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
""" In many cases, **SQL** is used to select more than just columns in a table. For example, you can filter your search by specifying conditions as seen below: SELECT * FROM Table WHERE Name = "Bob"; * Again, we can use the asterisks to select all the data in a table. * However, with the use of the WHE...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
52d6fc860067cda559eaca821a47486d2e8644ac
c4af67db4c523d20f2d55aef90ba77db1fb53c38
/CMFDefault/Extensions/update_catalogIndexes.py
c86903bdb2a56bf53134126924f3d2287a8708e7
[]
no_license
dtgit/dtedu
e59b16612d7d9ea064026bf80a44657082ef45a3
d787885fe7ed0de6f9e40e9b05d852a0e9d60677
refs/heads/master
2020-04-06T05:22:50.025074
2009-04-08T20:13:20
2009-04-08T20:13:20
171,351
1
0
null
null
null
null
UTF-8
Python
false
false
639
py
from Products.CMFCore.utils import getToolByName def update_catalogIndexes(self, REQUEST): ''' External method to drop, re-add, and rebuild catalog Indexes for migrated CMF sites from Zope 2.3 to 2.4+. ''' rIndexes = {'allowedRolesAndUsers': 'KeywordIndex' , 'effective': 'FieldIndex'...
[ "ron@domU-12-31-39-02-65-03.compute-1.internal" ]
ron@domU-12-31-39-02-65-03.compute-1.internal
a519cbe8ed2abdf0645b211d1492e3723c52e6c2
c2bdcd5aec95d5c4ac4322f166c2ef9b2b8992f9
/kurstag_8/beispiele_8/Vehicle2.py
9a0bd64199b7f79a94416879935e99e849ee1964
[]
no_license
softborg/Python_HWZ_Start
4437c5d8676301db8f4c42b75c98f0cc91320012
6361647113365df66e3ad84a0d1d1b563137ebbd
refs/heads/master
2022-07-21T16:27:30.333598
2022-07-12T12:08:37
2022-07-12T12:08:37
252,724,616
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
class Vehicle: pass
[ "stefan.berger@softborg.com" ]
stefan.berger@softborg.com
2bfa12840166c969a9cdab6b15d1371191c6a2c6
5a281cb78335e06c631181720546f6876005d4e5
/senlin-7.0.0/senlin/tests/unit/drivers/test_lbaas.py
1bdc0d366f64a91318ae7c63fb4bef33cd72bff5
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
29,598
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed unde...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
00c5c1b70eb024b63457ed9b09528d8528502b80
cf05dc6b31bb83b0b71cd357d7d19dfea7ad40a0
/office_system/apps/users/forms.py
2f956301bb4f9be16de57da66f79a02283317f08
[]
no_license
peng-python/oa
5df69a935b20b8200808133bf92d6757016cb9fa
bfc600a9c439866e1617f297007dc10fd8b86090
refs/heads/master
2020-03-17T20:21:54.927871
2018-05-18T05:15:28
2018-05-18T05:15:28
133,905,915
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django import forms class LoginFrom(forms.Form): username = forms.CharField(required=True) password = forms.CharField(required=True, min_length=8)
[ "zhenpeng_pro@sina.com" ]
zhenpeng_pro@sina.com
ecad8ffd7a025b4ab4b4e0d41a5049f9c3ba1ac2
83d43c7b59c5cb5d7e5e793f76a26e588d52ffc2
/eventex/subscriptions/mixins.py
9687d96ac903e9388789a1d76f3d2caba68e4ce4
[]
no_license
rodrigoddc/wttd
ec548a13fdc5f6d7330daa2ce53b9e3fe3549bc6
fd5b4587cd3851668be8b85cf519f59c194a631c
refs/heads/master
2023-03-29T11:02:33.791149
2021-03-28T18:05:19
2021-03-28T18:05:19
342,949,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
from django.conf import settings from django.core import mail from django.template.loader import render_to_string from django.views.generic import CreateView class EmailCreateMixin: email_to = None email_context_name = None email_template_name = None email_from = settings.DEFAULT_FROM_EMAIL email_subject = '' ...
[ "rodrigoddc1@gmail.com" ]
rodrigoddc1@gmail.com
e52e408df819be554e75d2ac286768fecdfd6097
060e82b46016744deb7da7c940f97d0dea39d1b3
/excel/定向分配/赵土良100445/ztl_python_script/To_mongo/ztl.py
1fa3c0c96bb707e8b2bfcc393884c9065dcf378b
[]
no_license
yangwen1997/-
eb8c609d8af3f4493adf70d10df8cc5f561bcf60
197ae391ff1be36189ba003b025fd4802d703e00
refs/heads/master
2022-12-08T17:11:57.910664
2019-11-12T01:32:17
2019-11-12T01:32:17
160,466,240
0
1
null
2022-12-08T05:24:52
2018-12-05T05:34:19
Python
UTF-8
Python
false
false
1,872
py
''' @author : yangwenlong @file : ztl @intro : 4320条-赵土良存入monmgo @creatime : 2019/9/25 ''' import xlrd import hashlib from ztl_python_script.common import Enterprise_db,get_log log = get_log() #使用xlrd打开工作本(excel文件) book = xlrd.open_workbook(r'D:\白名单\定向分配资源整理\excel\定向分配\赵土良100445\2016年8月4320条-...
[ "1120021365@qq.com" ]
1120021365@qq.com
bbbd89f78abbeb8279500ab0d9bc9f97335753ed
056f80bf04090be41300ab7693ae0ca888f43a79
/hw1/04_pascal_vgg16_finetune.py
5862c812a8edc46984a0f77fe90854828cfe3dcc
[]
no_license
ouyangjiahong/visual-learning
6e223dc822e97417d296b19d7362f93cafc210bc
36b7a68f6ea29ad459f8c33fd88e739e4c6f7cac
refs/heads/master
2021-09-12T14:43:15.310856
2018-04-17T19:06:54
2018-04-17T19:06:54
121,583,147
1
7
null
null
null
null
UTF-8
Python
false
false
17,683
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function # Imports import sys import numpy as np import tensorflow as tf import argparse import os.path as osp import scipy.misc as sci from PIL import Image from functools import partial import matplotlib.pyplot as plt...
[ "ouyangjiahong13@gmail.com" ]
ouyangjiahong13@gmail.com
e9b1a299486c6a98727862c462c3b949bf92b416
94c8dd4126da6e9fe9acb2d1769e1c24abe195d3
/qiskit/circuit/library/__init__.py
775bf9fdf67fe41e674f190ff83ba2983724d6da
[ "Apache-2.0" ]
permissive
levbishop/qiskit-terra
a75c2f96586768c12b51a117f9ccb7398b52843d
98130dd6158d1f1474e44dd5aeacbc619174ad63
refs/heads/master
2023-07-19T19:00:53.483204
2021-04-20T16:30:16
2021-04-20T16:30:16
181,052,828
1
0
Apache-2.0
2019-06-05T15:32:13
2019-04-12T17:20:54
Python
UTF-8
Python
false
false
7,078
py
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
[ "noreply@github.com" ]
levbishop.noreply@github.com
10f403c415e3258aa195e50df38424e21966e650
c67831f476cb530fc0c26e0bf4258ce18e986749
/module_intent/migrations/0001_initial.py
f9fde504260720388d163863648d863149e5b7ff
[ "MIT" ]
permissive
cz-qq/bk-chatbot
a3ce4b86452b3de0ff35430c1c85b91d6b23a3e6
da37fb2197142eae32158cdb5c2b658100133fff
refs/heads/master
2023-06-05T05:48:22.083008
2021-06-15T10:21:30
2021-06-15T10:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,294
py
""" TencentBlueKing is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaSCommunity Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the...
[ "123@qq.com" ]
123@qq.com
611985b190db12a4bf84c0ef33c07bd98b4dab22
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/前端/juejin_2606.py
c4de48dbcffe8284cf97c951040c5747724d3210
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
69,539
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6995469197673234469", "article_info": {"article_id": "6995469197673234469", "user_id": "1996368848373357", "category_id": "6809637767543259144", "tag_ids": [6809640407484334093, 6809640528267706382], "visible_level": 0, "link_url": "", "cover_image": "", "is_...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
1778e80f2fab17a4495abc3b59d9289f191e26ed
bb71e927dc2429abf551b44874ee990cb3a93f7a
/python/python_tricks/train.py
b7b940b5716ec1c81a6ebdd74a7e822126801790
[]
no_license
khuyentran1401/Data-science
c37021349bb407ed50d891dab780463e0b243de5
be59f5959be9f5944e12260fbb4548c85ef6aabe
refs/heads/master
2023-08-31T13:46:58.212459
2023-08-09T15:46:11
2023-08-09T15:46:11
280,508,180
3,809
943
null
2023-05-23T02:38:37
2020-07-17T19:25:27
Jupyter Notebook
UTF-8
Python
false
false
281
py
import sys model_type = sys.argv[1] model_version = sys.argv[2] model_path = f'''model/model1/{model_type}/version_{model_version}''' print('Loading model from', model_path, 'for training') # On the terminal type # for version in 1 2 3 4 # do # python train.py $version # done
[ "khuyentran1476@gmail.com" ]
khuyentran1476@gmail.com
9593144727e4f55f8bc92271de4d519cd3632302
8e07b5b7a8dd38e0ef2c7ffc97d0392d886f32e6
/venv/Lib/site-packages/mypy/typeshed/stdlib/3/winreg.pyi
23482b55cac99932caabc054d47d219409f6ba40
[]
no_license
RodrigoNeto/cursopythonyt
fc064a2e6106324e22a23c54bdb9c31040ac9eb6
279dad531e21a9c7121b73d84fcbdd714f435e7e
refs/heads/master
2023-07-03T00:54:09.795054
2021-08-13T12:42:24
2021-08-13T12:42:24
395,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
3,827
pyi
from types import TracebackType from typing import Any, Optional, Tuple, Type, Union _KeyType = Union[HKEYType, int] def CloseKey(__hkey: _KeyType) -> None: ... def ConnectRegistry(__computer_name: Optional[str], __key: _KeyType) -> HKEYType: ... def CreateKey(__key: _KeyType, __sub_key: Optional[str]) -> HKEY...
[ "rodrigoneto.forseti@gmail.com" ]
rodrigoneto.forseti@gmail.com
9848fd410ddb1d313b711e656fde9ae27d2261fd
732d750ce7b96090bc1b252fbefdadfe167990a1
/networker/io/__init__.py
3ac84486d4ee66edda8e7eb94ebf4c159a76b37a
[]
no_license
carbz/networker
4008174200db1865635f524646ad550187a4d289
cab14026118db42603bd1a5757ec460c6cb4984d
refs/heads/master
2021-01-15T10:24:59.858048
2015-04-22T17:11:49
2015-04-22T17:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
# -*- coding: utf-8 -*- import ogr import osr import networkx as nx import networker.geomath as gm from networker.classes.geograph import GeoGraph import warnings import os """ Package for reading/writing networkx based GeoGraphs Note: these wrap existing networkx functions for custom behavior """ def load_shp(shp...
[ "chris.natali@gmail.com" ]
chris.natali@gmail.com
43b694369a93e5b2fca5c24a9a3ea7ae339c90e4
604bd9370a5b4e61a5f9e533c6612bc94aef0c6c
/django/helpdesk_deploy_old/helpdesk/base/migrations/0005_auto_20201210_0554.py
ac187c287afd3fa9fa8cede7bf91012b73480f43
[ "Apache-2.0" ]
permissive
Netromnik/python
2ba2f15b56e635b53c12ef39ed776b9577c08dff
630a9df63b1cade9af38de07bb9cd0c3b8694c93
refs/heads/main
2023-06-16T04:58:35.634371
2021-07-18T16:20:13
2021-07-18T16:20:13
355,891,948
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# Generated by Django 3.1.2 on 2020-12-10 05:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0004_auto_20201114_1445'), ] operations = [ migrations.AddField( model_name='collectmedia', name='groups', ...
[ "you@example.com" ]
you@example.com
e261f4ac64cfeda090c8d41631cb690d60dd4505
964f2882117ff656d7a2757c233c6dd88226d975
/services/autoscaling/setup.py
e3e711abf8319d6d068bac1c11a37bd4253ee6bd
[ "MIT" ]
permissive
ignapas/osparc-simcore
a002dd47d7689af9c1c650eea33e31add2b182c1
cb62e56b194265a907f260f3071c55a65f569823
refs/heads/master
2023-01-22T08:55:32.580775
2022-12-09T15:57:36
2022-12-09T15:57:36
170,852,656
0
0
MIT
2023-01-09T05:03:04
2019-02-15T11:12:34
Python
UTF-8
Python
false
false
1,726
py
#!/usr/bin/env python3 import re import sys from pathlib import Path from setuptools import find_packages, setup def read_reqs(reqs_path: Path) -> set[str]: return { r for r in re.findall( r"(^[^#\n-][\w\[,\]]+[-~>=<.\w]*)", reqs_path.read_text(), re.MULTILINE...
[ "noreply@github.com" ]
ignapas.noreply@github.com
9f579c8c5747a6de0aa87b0fd4321ae93b6efe44
1ebe5a07e7f6260c2c2ceb6ca00dcf2a0341e544
/op_impl/built-in/ai_core/tbe/impl/dynamic/pad_not_align.py
98cd8a0f3f998ba392725878df3a65ed17db1c78
[]
no_license
gekowa/ascend-opp
f5e09905336d85f9974d555d03d37a75cb8185c1
5c28a2faf9d2a117ea6f0923efe35fcd53904dd2
refs/heads/master
2023-04-09T12:14:40.337104
2021-04-19T23:00:59
2021-04-19T23:00:59
359,620,865
2
0
null
null
null
null
UTF-8
Python
false
false
19,929
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Apache License Version 2.0.You may not use this file except in compliance with the License. This progra...
[ "gekowa@gmail.com" ]
gekowa@gmail.com
480f230a8f4d7f2d2cb4b1c639c05909e1bd21f2
e90bf4b372da78ceec15282d060b48d18ba8d4e9
/supervisor/docker/const.py
f8e3edbeb75efcfbbb06b5df64772e6a083b2986
[ "Apache-2.0" ]
permissive
home-assistant/supervisor
67f2e1755ff5fbf7cf2084351e1c32c6995274e0
4838b280adafed0997f32e021274b531178386cd
refs/heads/main
2023-08-31T22:51:25.949277
2023-08-31T08:01:42
2023-08-31T08:01:42
84,926,758
928
477
Apache-2.0
2023-09-14T17:11:27
2017-03-14T08:54:15
Python
UTF-8
Python
false
false
2,030
py
"""Docker constants.""" from enum import Enum from docker.types import Mount from ..const import MACHINE_ID class Capabilities(str, Enum): """Linux Capabilities.""" BPF = "BPF" DAC_READ_SEARCH = "DAC_READ_SEARCH" IPC_LOCK = "IPC_LOCK" NET_ADMIN = "NET_ADMIN" NET_RAW = "NET_RAW" PERFMON ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
a90e9370b12a22d95dfd74afb1de671b312d4041
6471f95e6a193b0c018d81a2c4e8a518f7ec35d7
/tests/test_wrappers.py
04a0837a4d619f644b026ee4c60fc82aa4fe1eee
[ "BSD-3-Clause" ]
permissive
Billingegroup/bluesky_scanplans
5b297e4874b2e57d44a5cc091a2a87be87856503
f865da9712bb91dceee73d4aea61f9b6c4b2c9ef
refs/heads/master
2021-06-30T18:08:37.553268
2021-05-20T18:25:31
2021-05-20T18:25:31
234,350,238
0
3
BSD-3-Clause
2021-05-20T17:11:51
2020-01-16T15:27:35
Jupyter Notebook
UTF-8
Python
false
false
755
py
import bluesky.plan_stubs as bps import bluesky.plans as bp import bluesky.simulators as sim import xpdsim.movers as movers import scanplans.wrapper as helper def test_wrapper_count(): trigger_and_read = helper.shutter_wrapper(bps.trigger_and_read, movers.shctl1, 0, 100, 0) one_shot = helper.take_reading_wra...
[ "st3107@columbia.edu" ]
st3107@columbia.edu
130afc27743998b2f8782f773138e810728f701f
680371c067ae3bbab958d6224b405630eaef8e31
/python_BTL_BitTorrent-5.3-GPL/BTL/canonical/gtin.py
c43182a6c08aae0b0bcd64cbecb1cc71e2c07253
[ "MIT" ]
permissive
galaxy001/libtorrent
18ede4a2e1c610089a082683ec4b33da0625837a
6a17e8ebfb668a8965fbf8a53083ec7bd4339847
refs/heads/master
2021-01-10T11:13:44.730732
2017-08-26T19:58:08
2017-08-26T19:58:08
48,836,473
2
1
null
null
null
null
UTF-8
Python
false
false
90,803
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' This is a Python module for handling Global Trade Item Numbers (GTINs) and includes check digit verification and structural verification (has to look like a GTIN). GTIN is a superset of the older UPC/UCC-12 (12-digit), EAN/UCC-8 (8-digit) and EAN-13/UCC-13 (13-digit) c...
[ "galaxy001@gmail.com" ]
galaxy001@gmail.com
527f3f6b2e59ae487d07bc1f27334d5ba63a8ff6
eb2867c8ef92810fb0a76aa5fa9933cfba42d3de
/DL_HomeWork/DL_midterm_codings/u_toronto_csc321_winter2018.py
a2e3d6675c9eead5a172b8b76a40dbf99aa66367
[]
no_license
thomas-liao/python_prac
76bbaf988a21cdac8e932a272db8f5eddfc66a7f
05c68f14c5d7b8bb202ab6dde22e0214b1cd4ee1
refs/heads/master
2020-04-23T00:48:33.306497
2019-02-27T03:46:40
2019-02-27T03:46:40
170,792,637
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
import numpy as np X = np.arange(15).reshape(5,3) w = np.zeros((3, 1)) t = np.array([1,2,3,4,5]) t = np.reshape(t, (5, 1)) y_bar = np.dot(X, w) - t # single: dL/ dw.T = (yi - ti) * xi - > dl / dw = (yi - ti) * xi.T # multiple - > = y_bar = (np.dot(X, w) - t) # res = np.dot(X.T, y_bar) / N w_bar = np.dot(X.T, y_bar...
[ "thomas.liao256@gmail.com" ]
thomas.liao256@gmail.com
1fb0eac2c32fdf739ca1c6178dcee78561e16153
8cba955ce23f98e0a24dc8f8be04e305c4ba59ef
/model.py
8f523915da7766efb21deaa5bbaee095b8367a84
[]
no_license
amit20-meet/Y2L-Flask-Routing
5ba3ae8c9631f18897faf6d7a794355ac9dd907a
8ddac918a788bd68c065c9976487eb7f589b701a
refs/heads/master
2020-09-14T17:58:14.881190
2019-12-12T14:59:42
2019-12-12T14:59:42
223,207,600
0
0
null
2019-11-21T15:41:05
2019-11-21T15:41:04
null
UTF-8
Python
false
false
512
py
from sqlalchemy import Column, Integer, String, Date, ForeignKey, Float, Boolean, DateTime from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class Product(Base): __tablename__ = 'products' id = Column(Integer, primary_key=True) name = Column(String) price = Column(Float) picture_l...
[ "myname21@meet.mit.edu" ]
myname21@meet.mit.edu
2c5e1e78f81d3c4f9a9b47f685b834307e66f8aa
7a9f6e01c0450173a0a45bd70816a4be38021eda
/cliente/migrations/0009_auto_20151117_2109.py
a5f6d71b2be3d0455b483d4a777ab7235a44b6d6
[]
no_license
ryujiin/lovizdigital
6137726349e6bd1de866054ce37de90f783a3b38
9f14c83b976e1e47a2558b508396139145b67bf2
refs/heads/master
2021-01-10T03:54:41.460708
2016-10-14T02:10:32
2016-10-14T02:10:32
45,559,176
1
0
null
null
null
null
UTF-8
Python
false
false
441
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cliente', '0008_auto_20151117_2054'), ] operations = [ migrations.AlterField( model_name='comentario', ...
[ "ryujiin22@gmail.com" ]
ryujiin22@gmail.com
b682efa36350fb281b200657223293f02c8be285
d6ca0b326f1bd0ce381c6db611f6331096bf4187
/examples/example_18_many_runs.py
e04e292092de98147577f3188ad7b98029be7b6e
[ "BSD-3-Clause" ]
permissive
SmokinCaterpillar/pypet
aa35355d70e8f44be015313494376d993f645d80
3d454ac65f89e7833baaf89510f73c546e90d8f6
refs/heads/develop
2023-08-08T16:01:54.087819
2023-02-14T14:59:32
2023-02-14T14:59:32
12,901,526
89
22
BSD-3-Clause
2023-07-24T00:46:12
2013-09-17T17:06:00
Python
UTF-8
Python
false
false
2,415
py
"""Exploring more than 20000 runs may slow down *pypet*. HDF5 has problems handling nodes with more than 10000 children. To overcome this problem, simply group your runs into buckets or sets using the `$set` wildcard. """ __author__ = 'Robert Meyer' import os # To allow file paths working under Windows and Linux ...
[ "robert.meyer@ni.tu-berlin.de" ]
robert.meyer@ni.tu-berlin.de
1eda218ffa2e3edd8b517b2eb124e9f95f1996c4
c67831f476cb530fc0c26e0bf4258ce18e986749
/backend/opsbot/command/argfilter/__init__.py
f929fa7ce2f64581dcd0d1bd5e2a4709dad4ffb0
[ "MIT" ]
permissive
cz-qq/bk-chatbot
a3ce4b86452b3de0ff35430c1c85b91d6b23a3e6
da37fb2197142eae32158cdb5c2b658100133fff
refs/heads/master
2023-06-05T05:48:22.083008
2021-06-15T10:21:30
2021-06-15T10:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
""" TencentBlueKing is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaSCommunity Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the...
[ "123@qq.com" ]
123@qq.com
fc124f8b4453ed0ea2d82b9e548da280ea7e856d
0cd09f64f7d42f60167c688a959ab1b4eec62caf
/sources/t06/t06ej03.py
6e6fa34ed09a94cfe12c5ef1749df95a040a47e9
[ "MIT" ]
permissive
workready/pythonbasic
3d438250b2fce6b6d243f2a8a1f8c5ccc9734d8c
59bd82caf99244f5e711124e1f6f4dec8de22141
refs/heads/master
2022-10-14T09:20:30.160865
2020-06-10T09:22:51
2020-06-10T09:22:51
270,270,853
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
# Implementamos un constructor para nuestra clase, y dentro del constructor asignamos variables. class MiClase: def __init__(self, x, y): # self.x y self.y son propias de la instancia, no compartidas self.x = x self.y = y c = MiClase(7, 12) print(c.x, c.y)
[ "jorgeas80@tuta.io" ]
jorgeas80@tuta.io
7a1a3bafcd8974fdc513d298fc7f66943334e152
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/legacy_test/test_mv_op.py
14a4ada5727e896eb87ca2a3359b5f9f4e760a81
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
3,850
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
a80e5a089f37600ba430f6f29761a5e3e3bc6a52
4d4c197c49172549514af7845f2429772d0158c7
/message/migrations/0003_delete_user_account.py
6a1e9ea6b0bb8c49d85c29853a9aa0745e36b8ee
[]
no_license
vigneshhari/djangolife
787147ca4195a9a066bf7fdf2f389435afc6cc0b
1e3b7a6516e1b4fbb98117abec4fa166e6747250
refs/heads/master
2021-01-10T02:00:44.300142
2017-06-29T02:21:19
2017-06-29T02:21:19
48,617,422
1
0
null
null
null
null
UTF-8
Python
false
false
325
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('message', '0002_auto_20151206_1835'), ] operations = [ migrations.DeleteModel( name='User_Account', ), ...
[ "vichuhari100@gmail.com" ]
vichuhari100@gmail.com
32ded32756b1b4f4f83fa1014ca01a88bfcc0928
1131198c6d53eed5aeacb8af7cfd5e4664f924e5
/suggestion_baselines/HRED-qs/multi_bleu.py
bc4f5c96ca8b749f2fd68872137f47f4ad8213ed
[ "MIT" ]
permissive
polaris79/mnsrf_ranking_suggestion
d9f2a889e1ccd7f9993594ac212b3a2853f1b7eb
5bd241fb49f08fa4937539991e12e5a502d5a072
refs/heads/master
2020-03-11T23:15:24.019548
2018-04-14T16:41:07
2018-04-14T16:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
from functools import reduce from math import exp, log from collections import Counter def ngram_count(words, n): if n <= len(words): return Counter(zip(*[words[i:] for i in range(n)])) return Counter() def max_count(c1, c2): return Counter({k: max(c1[k], c2[k]) for k in c1}) de...
[ "wasiahmad@ucla.edu" ]
wasiahmad@ucla.edu
bf846570cdfda344627ed0134bc3cfe19b69e3b6
531be8455556ce2b1e171f71eb040fddd7eb7522
/Chapter_4_5/gifts_calc.py
15433eb8c94439a333675850b421dfd031bb4e4f
[]
no_license
tanc7/ACC_410_Tax_Calculator_Project
8a8f206268b0fb69872d0cc7191e3e69a299dee6
b6684f8a307f948dee653b7a81457d144866ba11
refs/heads/master
2021-01-23T16:19:55.737386
2017-07-11T00:32:28
2017-07-11T00:32:28
93,293,406
2
0
null
null
null
null
UTF-8
Python
false
false
6,517
py
from termcolor import colored import os import sys import socket import StringIO import time import operator # os.chdir('/root/Documents/ACC_410_Exam_Calculator_Project') os.chdir('/root/Documents/ACC_410_Exam_Calculator_Project/Chapter_4_5') def red(string): string = colored(string,'red',attrs=['bold']) print ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
e774524468621c8b62228ad9b5e4bf70b776f035
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day06/jiangyi/day06/day05_exercise/narcissistic.py
cbe324dd1bb5e88bff78735f37f05917d091fbdb
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
946
py
# 4. 算出 100 ~ 999 范围内的水仙花数(Narcissistic Number) # 水仙花数是指百位的3次方 + 十位的3次方 + 个位的3次方 等于原 # 数的整数 # 如: # 153 = 1**3 + 5**3 + 3**3 # 答案: # 153, 370, .... # 方法1 # for x in range(100, 1000): # bai = x // 100 # 百位 # shi = x % 100 // 10 # 十位 # ge = x % 10 # 个数 # if x == bai ** 3 +...
[ "442315617@qq.com" ]
442315617@qq.com
54857f8ce1335c730dd6913435514bdd95f0ec4d
6c1a3dc849b1d84271caad0133387c7001a9704f
/Sep05/client01.py
9c05f4d7af4e730c40cfc31f06a6225b9e242ab8
[]
no_license
tnaswin/PythonPractice
f6207a4cf560b45c09af2f82d7365d4f0d16afaf
8c20fa35bdf65aaf8ec899c217c10ffc7d4d3d64
refs/heads/master
2020-06-11T08:53:35.190582
2019-06-26T13:41:18
2019-06-26T13:41:18
193,908,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
from __future__ import print_function from twisted.internet import task from twisted.internet.defer import Deferred from twisted.internet.protocol import ClientFactory from twisted.protocols.basic import LineReceiver class EchoClient(LineReceiver): end = "End!" def connectionMade(self): self.sendLi...
[ "aswin@lintel.in" ]
aswin@lintel.in
cf008626688c045892e245b893ca625d48b2fd94
d237e2624a30007bf8b1934057cd667f54245d40
/url_summary/__init__.py
50505e275df54d5aea955fe1884dc157dd81ea47
[ "MIT" ]
permissive
xidianwang412/url-summary
8b64c6b374ecf155dd17de53c00eb4b9d2765177
affb4a08d08d1c79d2df40cb318ae40d531e9583
refs/heads/master
2023-04-25T17:40:59.757519
2018-05-29T21:26:10
2018-05-29T21:26:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
from .url_summary import get_summary, UrlSummaryResult
[ "kostia.lopuhin@gmail.com" ]
kostia.lopuhin@gmail.com
af6a652fa0f874ec7d1a8c91a4a5b77365f67462
b8085ef607da70023214f105eb27bdbc713e596f
/Day2/Async3.py
7774674800fd4e6e93ddc3f94d67f879c4b88f34
[]
no_license
artheadsweden/python_adv_april19
893c9ec76e8505a580439b7a2fd7aa2776503c77
04eecd25d4a291dddd608d94968b217fed7b88d8
refs/heads/master
2020-05-07T13:41:15.545033
2019-04-11T18:47:22
2019-04-11T18:47:22
180,559,955
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
import asyncio import random async def my_other(id): process_time = random.randint(1, 5) await asyncio.sleep(process_time) print(f"Coroutine {id}, has successfully completed after {process_time} seconds") async def my_coroutine(): tasks = [] for i in range(10): tasks.append(asyncio.ensur...
[ "joakim@arthead.se" ]
joakim@arthead.se
42f186c04422a74342c1a20c27768ff9e674740e
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test_001/test_level_20201125190551.py
1d0a30117b583608aaa4a2ed7178dc99529f1651
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
import allure @ def test_hight(): print("这是一条高级别的测试用例")
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
b5dd0646b1b2c4b271da16df28f9fa635ae98a8c
6162b166a93c60677b97b91c1f07be1511fd05e2
/catkin_ws/src/jackal_hunt_rabbit/scripts/output.py
ae97f3dd5df85b938f61ff6c608095446704d1bb
[]
no_license
SiChiTong/fuzzy-eureka
d7c540e4349621097ee861e7337488ba46a2c718
61e2075cfd99520e0fb689e47aa73b3d43481f18
refs/heads/master
2021-08-24T09:04:28.384368
2017-12-08T23:30:23
2017-12-08T23:30:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
#!/usr/bin/env python import cv2 import numpy as np font = cv2.FONT_HERSHEY_SIMPLEX cv2.namedWindow("ouput", flags = cv2.WINDOW_NORMAL) img = np.zeros((512, 2400, 3), np.uint8) def draw_egg(color, count, x, y): cv2.ellipse(img, (x, y), (140, 200), 0, 0, 360, color, -1) cv2.putText(img, count, (x - 80, y + 1...
[ "spartanhaden@gmail.com" ]
spartanhaden@gmail.com
a149725c1bd9437f884bb652f73407173011b1b8
8e3a27091d51c3fd9681f5caf0534a0d3a36c3ff
/setup.py
d6e064fc1b06aca13b6baa6cd70dd4d6360354cb
[ "MIT" ]
permissive
DES-SL/EasyLens
c5c5d9dc5af7d6495027f7cfe51cdf48c0a098de
97673d65abc00b945e7c6332e465c1d08fcb09a9
refs/heads/master
2020-04-06T07:09:07.342981
2016-11-08T10:47:20
2016-11-08T10:47:20
58,768,462
1
0
null
2016-05-20T06:19:18
2016-05-13T19:51:37
Jupyter Notebook
UTF-8
Python
false
false
2,058
py
#!/usr/bin/env python import os import sys from setuptools.command.test import test as TestCommand from setuptools import find_packages try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.e...
[ "simon.birrer@pyhs.ethz.ch" ]
simon.birrer@pyhs.ethz.ch
2a07ec5c9d77cdcc63263b3d1d6bc88a852f922f
1a7595a5896ca709eb98805b2a570bf12775a9ff
/charmdet/runSimulation.py
fc5ba183cbf7a706b2c96ac695c39211242b342e
[]
no_license
nathandpenha/CERN-FairShip
953683117f4971b323392bc1213b7ae7d9a3a708
10db3d519a5ac8fd67132afd39736b550cb60a30
refs/heads/master
2021-05-24T10:10:11.763338
2020-05-06T18:46:14
2020-05-06T18:46:14
261,848,065
2
0
null
2020-05-06T18:47:30
2020-05-06T18:39:22
C++
UTF-8
Python
false
false
42,585
py
import os,subprocess,ROOT,time,multiprocessing,socket ncpus = multiprocessing.cpu_count() - 2 interactive = not socket.gethostname().find('ubuntu')<0 pathToMacro = '' # $SHIPBUILD/FairShip/charmdet/ commandToHist = {"anaResiduals":"histos-analysis-","momResolution":"histos-momentumResolution-","plotDTPoints":"histos-...
[ "Thomas.Ruf@cern.ch" ]
Thomas.Ruf@cern.ch
2b3018fd53876b1bd94dc8c35c89202502fb585b
13131e0e4805aa48bf64647f5da666e2e72dab9a
/misc/aggregate_logs_and_stats.py
1b29c5437f03387cef5aede4d88bb57b7142ffbc
[]
no_license
m-bain/collaborative-experts
4ae6632f0ec36b612b768048b2daa623d8b4c385
3a224ecad6fe36722112181c3ac48f918a799081
refs/heads/master
2021-01-08T19:43:14.689074
2020-02-16T06:05:06
2020-02-16T06:05:06
242,124,924
1
0
null
2020-02-21T11:35:41
2020-02-21T11:35:40
null
UTF-8
Python
false
false
2,161
py
"""Aggregate logs across multiple seeded runs and summarise their statistics. """ import argparse import logging from pathlib import Path from collections import OrderedDict from utils.util import read_json from logger.log_parser import log_summary def summarise(group_id, log_dir="data/saved/log", model_dir="data/sa...
[ "albanie@robots.ox.ac.uk" ]
albanie@robots.ox.ac.uk
6b39dee81dd9f2c3d18cd4ad5ec017627ab539e7
8fcc27160f8700be46296568260fa0017a0b3004
/client/spacecomponents/server/eventLogger.py
fb49f52c4e8741c49e6cc178d8184b066a6f509d
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
1,022
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\spacecomponents\server\eventLogger.py from eveexceptions.exceptionEater import ExceptionEater EVENT_DECAYED = 'spacecomponent::decay_Decayed' EVENT_BECOMEACTIVE = 'spacecomponent::activate_BecomeActive' class EventLogger(...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
b0a3d83e3ea47c4f5c9fbde1b07b287a2ff2fa15
011823c0aa4335db3a523107b0916dbc2ca2c8c1
/app/main/__init__.py
93e67d393286660ada0d04eecdb31d8460c288a1
[ "MIT" ]
permissive
VirginiaNdungu1/Gypsy
570b3a84497528e71a27cb2634794021e8a5a2e3
fe610f0087061c77b1a18ca184ae426ad92ec0b9
refs/heads/master
2021-07-25T09:02:08.090011
2017-11-06T06:48:37
2017-11-06T06:48:37
109,368,268
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from flask import Blueprint main = Blueprint('main', __name__) from . import views, forms
[ "ndungu.wairimu22@gmail.com" ]
ndungu.wairimu22@gmail.com
ad194816a6379fa3222c48a90e327ef99945ece2
a8b17b17f9b2a640013064c50e1cebc27a7a68de
/16-statistical-thinking-in-python-pt2/01-parameter-estimation-by-optimization/01-how-often-do-we-get-no-hitters.py
8e07aef449d1b4f71f6836c43205c929a66754b4
[]
no_license
JohnnyFang/datacamp
20eae09752521f14006cb3fda600b10bd7b12398
0fa8fa7682c23b0eb07bd03e4b75f5b77aeafa75
refs/heads/master
2020-04-18T00:27:37.358176
2020-02-04T20:54:19
2020-02-04T20:54:19
167,078,316
1
0
null
null
null
null
UTF-8
Python
false
false
2,031
py
''' How often do we get no-hitters? The number of games played between each no-hitter in the modern era (1901-2015) of Major League Baseball is stored in the array nohitter_times. If you assume that no-hitters are described as a Poisson process, then the time between no-hitters is Exponentially distributed. As you ha...
[ "fangdejavu@gmail.com" ]
fangdejavu@gmail.com
6bf01c4d7cdaa26a436edc642c3871f8a1df6b49
9be5b6259e4db9a9386d5e6eea59bfb4ed4ccdbd
/liberapay/notifications/web.py
d3677868d705e6ac8647ec0f6c6f06ec7f41dc0b
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Changaco/liberapay.com
b3e040ed24d47a6ebccdd0b2285526f02b4103cc
4d134508c911f23478e80b8d8ff62223b866bb5e
refs/heads/master
2021-01-16T21:47:57.475734
2015-09-02T15:41:50
2015-09-02T15:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
from __future__ import division, print_function, unicode_literals def withdrawal_failed(_, user, exchange): href = '/%s/receiving/payout?exchange_id=%s' % (user.username, exchange.id) return ('danger', ['a', {'href': href}, _("The transfer to your bank account has failed!"), ] ...
[ "changaco@changaco.oy.lc" ]
changaco@changaco.oy.lc
cdf4bd815623a394fb53085fd197221e82e966f1
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/django/conf/project_template/manage.py
2e8e79612df8fd85e1f1355b06620fb5cc2dfa6d
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
104
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/django/conf/project_template/manage.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
5186b10cd80cab8f8320b0162dfd8881526c443f
93a613f09d564a1d45ecc01b54b73745ce2850b7
/majora2/management/commands/load_counties.py
7e60d9acd4fc67489980ad313b871f818eb9608d
[]
no_license
pythseq/majora
fa17c77fa8a916c688fd2b40744d768dd851b99b
40b918d32b4061cddee5f7279f97e70eb894623d
refs/heads/master
2022-12-23T20:09:41.233844
2020-09-28T18:18:42
2020-09-28T18:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from django.core.management.base import BaseCommand, CommandError from majora2 import models class Command(BaseCommand): help = "Load a list of counties" def add_arguments(self, parser): parser.add_argument('filename') def handle(self, *args, **options): fh = open(options["filename"]) ...
[ "samstudio8@gmail.com" ]
samstudio8@gmail.com
dc1979d0dfa2472504e14ad8cf2ef93d203ce0fe
524591f2c4f760bc01c12fea3061833847a4ff9a
/arm/usr/lib/python3.5/http/client.py
350313e87b32e275ac2f296b563f6f75845c6073
[ "BSD-3-Clause", "Python-2.0" ]
permissive
Roboy/roboy_plexus
6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e
1f3039edd24c059459563cb81d194326fe824905
refs/heads/roboy3
2023-03-10T15:01:34.703853
2021-08-16T13:42:54
2021-08-16T13:42:54
101,666,005
2
4
BSD-3-Clause
2022-10-22T13:43:45
2017-08-28T16:53:52
C++
UTF-8
Python
false
false
48,714
py
"""HTTP/1.1 client library <intro stuff goes here> <other stuff, too> HTTPConnection goes through a number of "states", which define when a client may legally make another request or fetch the response for a particular request. This diagram details these state transitions: (null) | | HTTPConnection()...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
ca32ac6e38b9a3d4b55c6c625ef3bc8c727a7bb3
3c17e189622018329bc0ebd8523eae8db9f3112a
/ykdl/util/wrap.py
de6d61b463f96d1bc0bb8f01bef4d73c3470f3b0
[ "MIT" ]
permissive
YU-zreo/ykdl
167c9b8715a1cecf57c18bf60c7da3b22437ad06
b59dacd78bcec79d208d7cb86b86fa65428e386a
refs/heads/master
2020-12-02T12:47:01.113309
2017-07-07T12:39:20
2017-07-07T12:39:20
96,594,712
1
0
null
2017-07-08T03:57:22
2017-07-08T03:57:21
null
UTF-8
Python
false
false
1,580
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess import shlex from logging import getLogger logger = getLogger("wrap") from ykdl.compact import compact_tempfile def launch_player(player, urls, **args): if 'mpv' in player: cmd = shlex.split(player) + ['--demuxer-lavf-o=protocol_whitelist=...
[ "zhangn1985@gmail.com" ]
zhangn1985@gmail.com
5a4d7837248354b88c88b465c3cbd58a4b15c328
0b1e404a165c960677d07015bc26aac0569cf84a
/src/combustion/nn/activations/swish.py
de70fb4f298b010d397300b048a83d7107bb6a6f
[ "Apache-2.0" ]
permissive
johndpope/combustion
d3ec349cd7be086f55b4e3deebd571c97842e1ed
c3f91e62a10a873cfeeae8c675b0683bc5158818
refs/heads/master
2023-03-01T14:34:42.149415
2021-02-07T17:55:58
2021-02-13T17:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,077
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import torch import torch.nn as nn import torch.nn.functional as F from torch import Tensor # implementation inspired by # https://github.com/lukemelas/EfficientNet-PyTorch/blob/master/efficientnet_pytorch/utils.py class _SwishFunction(torch.autograd.Function): @st...
[ "tidalpaladin@protonmail.com" ]
tidalpaladin@protonmail.com
f784b3a01ba171e37e1998ab9f4997ed520f1cbe
22622d1899ac2a37c66d776e317a7c752b2fb10e
/rio/_compat.py
3e05ed7366dbb45a1f3df523a9be3de33fa28f95
[ "MIT" ]
permissive
soasme/rio
64bb3e24580c18951d5eaf84809216785ae35020
e6b89634db8d3ad75ac7f7b25ddec5b19d4f66e2
refs/heads/master
2022-01-23T01:48:17.445050
2019-12-30T02:36:50
2019-12-30T02:36:50
55,581,621
0
1
MIT
2019-12-30T02:39:58
2016-04-06T06:34:59
Python
UTF-8
Python
false
false
315
py
# -*- coding: utf-8 -*- """ rio._compact ~~~~~~~~~~~~~ """ try: import cPickle as pickle except ImportError: import pickle # noqa try: from cStringIO import StringIO except ImportError: from StringIO import StringIO # noqa try: import simplejson as json except ImportError: import json
[ "soasme@gmail.com" ]
soasme@gmail.com
c07b1b463ef553ac6896b1ab101ae7c439731385
c56ffb7215547b658e6698bc4bbe78fbd0e3330b
/3.1 Conditional Statements Advanced - Exercise/02-summerOutfit.py
9fe22dd121ed0949664396b2184c89cbc50fc5bd
[]
no_license
byAbaddon/Basics-Course-Python-November-2020
344646bbb33740d15bec94fd5b5d7cd257df9220
c6c17a5cdc29121d706bc7677a61637a9bcefbb1
refs/heads/main
2023-04-16T01:00:10.000371
2023-04-10T20:46:11
2023-04-10T20:46:11
316,531,468
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
degrees = int(input()) day_time = input() result = 0 data_dict = { 'm': {'Morning':'Sweatshirt and Sneakers', 'Afternoon': 'Shirt and Moccasins', 'Evening': 'Shirt and Moccasins'}, 'a': {'Morning':'Shirt and Moccasins', 'Afternoon': 'T-Shirt and Sandals', 'Evening': 'Shirt and Moccasins'},...
[ "noreply@github.com" ]
byAbaddon.noreply@github.com
5fdf39560b8a0d61d2147c8f2ef8cd92fa18f88c
acba214b085dc887cff4398f308e9128667e84cb
/tools/visualize_pickle.py
9805c22fd25d16bc02db1823f2af8305d00977da
[ "MIT" ]
permissive
achalddave/segment-any-moving_detectron
4e97e8b78ff1d3e7dab2b39a2491f8f565275e11
cfa2a756fe8aec183e905b14751e5cb82248a383
refs/heads/master
2020-06-24T21:42:30.818633
2019-07-27T01:20:54
2019-07-27T01:20:54
199,099,705
4
2
null
null
null
null
UTF-8
Python
false
false
8,782
py
"""Visualize pickle files output by tools/infer_simple.py. This can be used, for example, if tools/infer_simple.py was initially called with `--save_images` set to False. It can also be used if the model needs to be run on one type of input, but the visualizations make more sense on another type of input (e.g. if the ...
[ "achalddave@live.com" ]
achalddave@live.com
6684bd853d6ef7bafa5052fab25a9722778e5c79
a193a941a9f70dd0aa46e7a402265bfff27bb075
/tests/codecs/formats/test_wav.py
ea60a4ef2fba103e2ff55f42f4466be82d316a33
[ "0BSD" ]
permissive
hile/oodi
f3c606b5209c2b05e077d9039104df7187ba0b1c
f3a758238033c0a511e1ecffbb4b5bfde70efbda
refs/heads/main
2023-04-13T07:07:03.535176
2023-04-10T07:17:44
2023-04-10T07:17:44
196,691,234
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
""" Unit tests for oodi.codecs.formats.wav module """ from pathlib import Path from oodi.codecs.constants import CodecFormat from oodi.codecs.formats.wav import Wav from .validators import validate_codec_properties, TEST_FILENAME_NO_MATCH TEST_FILENAME_MATCH = f'test case.{CodecFormat.WAV.value}' def test_codecs_f...
[ "hile@iki.fi" ]
hile@iki.fi
e5071c6b16895e33b46c923d938f1b8ff8361ee1
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/tools/test/check_futures_test.py
f0c4d0d47930e2ca716933f9f677440922daf5ca
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
4,053
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
0fb2282d3b84448e01b5dcc2f4bd64681db1bbb0
fabc3b3286df0fa98a35ea90d4693d9f38db50a2
/sendJsonRequest.py
a84652870f3a942e8fd181669bc76831b3cc1e21
[]
no_license
yangtou45du/openpyxl
750b5ee23ce8e5cb6826b8cc137012fbf2a5d9cb
87eef380391e60eab81f93c7742d1c21b1d029de
refs/heads/master
2020-03-16T21:59:35.078761
2018-05-31T03:42:03
2018-05-31T03:42:03
133,022,587
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
import requests import json class sendRequest(): def POST(self,url,dict): re=requests.post(url,json=dict) return re.text if __name__ == '__main__': url="http://221.236.20.217:8093/pcl/services/loanCenter/account/queryPaymentHistory" dict={ "params": { "loanNo": "00000...
[ "you@example.com" ]
you@example.com
b2b7e8daf9b2c2a4bda8d9a8c6010bce4bba22d7
42b324291b51b14e284a8c5e14270a4e9446737a
/test27.py
c4d5021a0c518bc02be33130f9503d78c638d5d9
[]
no_license
christinecoco/python_test
3f7505c85711eb6bff27cbc68bfd3fd9829a843d
6d6c519e237f1d9e7243e3e6378a0ca44af98439
refs/heads/master
2020-05-23T22:26:58.341688
2019-05-16T07:23:28
2019-05-16T07:23:28
186,973,896
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
#将用户输入的5个字符以相反顺序打印出来 def pri(): l=[] l.extend(n) l.reverse() return l n=input('请输入5个字符:') print(pri())
[ "tester@test.com" ]
tester@test.com
59773eb3cc899c7e48f6283380f46e6b5d8902c3
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/pyinstaller/tests/old_suite/interactive/test_pygame.py
bc4b2ab4e66186771f7e4675c2622bd8225cad3d
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:82d416a54f2704d7f86702c9d4fca758c3922aabd54f55bd79bc5d55d8cb8592 size 8156
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
8a43127609e4f347391453d0dab8d410e2ee6d3d
dc456b315dc6988fbc37a92e8c1af8987205c9fa
/holiday/countries/poland.py
5d59cee331e259533d6991ba00d5467cc7251f70
[ "MIT" ]
permissive
Lionbridge-Technologies/holiday
83bf8e0d665828e75429b519e3b85294475ecb64
e8fa1628efdc81ed2f3452cf7009de605968cb76
refs/heads/master
2021-01-13T08:58:09.830066
2013-11-10T21:50:58
2013-11-10T21:50:58
69,601,979
0
1
null
2016-09-29T19:46:17
2016-09-29T19:46:16
null
UTF-8
Python
false
false
1,582
py
# -*- coding: utf-8 -*- '''Holiday information for Poland. Adapted from https://gist.github.com/sebzur/1810707 ''' from __future__ import (absolute_import, division, print_function, unicode_literals) from datetime import date, timedelta from dateutil import easter from dateutil.relativedelta i...
[ "nandoflorestan@gmail.com" ]
nandoflorestan@gmail.com
2d40f0bfb1b559ceab1fa73202905567d7c26083
24c5c46f1d281fc15de7f6b72a5148ae85f89fb4
/SRC/demo/imooc/imooc_advanced/对象迭代与反迭代/part5.py
3baf32b97753c3d1764be42a9bf4906e61683e3c
[]
no_license
enterpriseih/easyTest
22d87c7ffe40fb10a07f7c5cdd505f63dd45adc0
43b8d294e898f25055c78313cfece2753352c250
refs/heads/master
2023-08-23T22:55:14.798341
2020-02-11T09:13:43
2020-02-11T09:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
# 如何对迭代器做切片操作 # 实际案例:有某个文本文件,我们想读取其中某范围的内容如100~300行之间的内容, # python中文本文件是可迭代对象,我们是否可以使用类似列表切片的方式得到一个 # 100~300行文件内容的生成器? # f=open('') # f[100:300] 可以吗 # 使用标准库中的itertools.islice,它能返回一个迭代对象切片的生成器 from itertools import islice f=open('part1.py',encoding='utf-8') # for x in f: # print(f.readline()) for line in islice(f...
[ "yaolihui0506" ]
yaolihui0506
21f5c6a34e88da9ea700f99dfdcc7834a7aefe05
6ead0d3997aa3470fc6f49c6ccc0ac8f808ae5d7
/problems/python/findPeakElement.py
54ddbd13b948a36ca234c81c0125b7d55d9dc703
[]
no_license
ikedaosushi/leetcode
d405455bfffda3057259da78783901feb56d9f76
d378f2dc5f0b2df1f00208e304979ac0f53ab385
refs/heads/master
2021-06-24T04:31:56.586685
2020-12-08T13:51:18
2020-12-08T13:51:18
178,659,078
1
1
null
null
null
null
UTF-8
Python
false
false
474
py
from typing import List class Solution: def findPeakElement(self, nums: List[int]) -> int: if len(nums) <= 1: return 0 if nums[0] > nums[1]: return 0 if nums[-2] < nums[-1]: return len(nums) - 1 i = 1 while i < len(nums) - 1: ...
[ "ikeda.yutaro@gmail.com" ]
ikeda.yutaro@gmail.com
251e492a5dd723d7807866355d7f4487306bc38d
0a7711063b30b1566ade3cc07f105292e32fe6d6
/scrapy_test/aggregates/apartment/tests/integration/test_apartment_behavior.py
2c4e1054d5b46d3ecaff69fa4cd40a24006fb188
[]
no_license
huokedu/dynamic-scrapy
e150a1fc6894e39d6bae37c602a592d57cd22c51
31a47e9810f2039cfe33653e09d7d03242764723
refs/heads/master
2021-01-17T21:33:17.810250
2013-10-05T17:28:19
2013-10-05T17:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import pytest from scrapy_test.aggregates.apartment.services import apartment_service from scrapy_test.aggregates.listing.models import Listing from scrapy_test.aggregates.listing.services import listing_service from scrapy_test.aggregates.listing.tests import listing_test_data @pytest.mark.django_db_with_migrations ...
[ "scoarescoare@gmail.com" ]
scoarescoare@gmail.com
12808eccde179a2a86faac55bccb1419289b162f
cc20c7658fdf4fa7506625c9efdae792dfd857ce
/src/visionlouisville/utils.py
8f17dc56324ff01681c7cff2368133b2fa2a242e
[]
no_license
openplans/visionlouisville
4a9972adc97af0048c4f7c0cd8f642bef59e69cf
e4dc182d061866e80ae140a887bba1b0e967753c
refs/heads/master
2020-05-20T13:25:47.273430
2013-10-24T16:27:47
2013-10-24T16:27:47
10,971,764
2
0
null
null
null
null
UTF-8
Python
false
false
809
py
from django.conf import settings from itertools import combinations, islice from random import randint def uniquify_tweet_ids(queryset): """Ensure that the tweet_ids of all items in the queryset are unique""" all_different = False while not all_different: all_different = True for referrenc...
[ "mjumbewu@gmail.com" ]
mjumbewu@gmail.com
9c6f84e5b09a323ccaef53d84b0b723bb457f244
11286e7989264134a8a8d610e0f609e6fbff9140
/ch13/ch13_21.py
9e23fcd51d42b42990d05ad987311aa76e6f5225
[]
no_license
p2c2e/machine_learning_with_python_cookbook
04eeed2e00e0a3e9c0681d4b2f4125aa85485a1d
b176323a02f5b5722e312a579ad764a0276ec9c6
refs/heads/main
2023-01-30T06:54:34.138786
2020-12-13T05:02:07
2020-12-13T05:02:07
320,987,171
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
# View coefficients model.coef_
[ "sudharsan.rangarajan@publicissapient.com" ]
sudharsan.rangarajan@publicissapient.com
19e37018d09be7a049a1eb9e51bdf5f7e821a01a
46c38a849a96ca868b1efaa8280be7416e15f952
/goslinks/blueprints/auth.py
3fc63ffc1366208b6bd7351e53fdf2521ccce5a9
[ "ISC" ]
permissive
RevolutionTech/goslinks
066b7f08a05bb68b6440bab4e670e537d0f1960f
fedb91a0d4ab227ba926f4588c7feeb3af284d2b
refs/heads/main
2023-02-20T17:25:50.052529
2021-10-16T23:19:28
2021-10-16T23:19:28
184,518,945
1
0
ISC
2023-02-08T00:51:24
2019-05-02T04:07:12
Python
UTF-8
Python
false
false
500
py
from flask import Blueprint, redirect, session from goslinks.auth.constants import AUTH_EMAIL_KEY, AUTH_NEXT_URL_KEY from goslinks.auth.decorators import no_cache bp = Blueprint("auth", __name__) @bp.route("/logout/") @no_cache def logout(): # Deprecated session variables, to be removed after 2020/10/13 ses...
[ "lucas.revolutiontech@gmail.com" ]
lucas.revolutiontech@gmail.com
269883af7e8c26cec4f9f1501eb31440733b33e5
2534803a09f5a6676ccece4519a2b8faaea9329d
/zeno/test/propagate/helper.py
dc33a738b861d6a9fd3e317a8adb5d9b0f2649da
[ "Apache-2.0" ]
permissive
SmithSamuelM/plenum
c41ccb849cd1113ba8496fa8bd9b0c5336ee9878
2675523f8718d6f240027582bc90c76b4f80c105
refs/heads/master
2021-01-15T23:35:53.640499
2016-02-16T05:01:22
2016-02-16T05:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from zeno.common.request_types import Propagate from zeno.test.helper import TestNode, getAllArgs def sentPropagate(node: TestNode): params = getAllArgs(node, TestNode.send) return [p for p in params if isinstance(p['msg'], Propagate)] def recvdPropagate(node: TestNode): return getAllArgs(node, ...
[ "jason@evernym.us" ]
jason@evernym.us
7d3f4e0a5031f9ce618c568b440c7425489060a1
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2019/day06/part1.py
d5325cb19e7543fcf23dde0b345f5a8f5535efa1
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
import sys class Obj: def __init__(self, name): self.name = name self.down = [] def add_child(self, obj): self.down.append(obj) def prnt(self, prev): if not self.down: print(prev + '=' + self.name) else: for d in self.down: ...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
dc099d384ffc6b9326adbfb10628a62857513c67
cbc829f5787b770c9184b91ee470d058cc4cbe65
/backtrack/46_全排列.py
b21c5927665b36a64df5503725fa3d085639de52
[]
no_license
SilvesSun/learn-algorithm-in-python
58815e7e85e767cbc4a9c21e36e7bdede4f32bef
5ba3465ba9c85955eac188e1e3793a981de712e7
refs/heads/master
2022-09-19T05:10:26.783943
2022-09-10T04:56:43
2022-09-10T04:56:43
115,470,779
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
class Solution(object): def permute(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ if not nums: return res = [] def backtrack(_nums, track): if not _nums: res.append(track[:]) return...
[ "2498256234@qq.com" ]
2498256234@qq.com
6d58a136326125dd005d704027df47e4a4e76d85
f03064e9f7fbd5d0344812fae45439905627f2a8
/helga/general/setup/helga_launcher/setup.py
4b09fe648d4121ba266e1af75a5d51617b7b9c7d
[]
no_license
tws0002/helga
45324a4acfde5054c452329de8cfdd38de4f8bda
80f44393a5f1b3038d4ce3dc5057989ad7d3ef28
refs/heads/master
2021-01-12T17:21:04.802566
2015-04-16T20:39:06
2015-04-16T20:39:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,150
py
""" setup ===== Helper module for py2exe to build a distribution. ----------------------- **Author:** `Timm Wagener <mailto:wagenertimm@gmail.com>`_ """ #win32com py2exe shell fix #------------------------------------------------------------------ try: #import module finder try: #from py...
[ "wagenertimm@gmail.com" ]
wagenertimm@gmail.com
fb8563d0c86c07072a406d9224c99e1ca35ca5d4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03433/s237464773.py
d74c7e1f2fe58c4046b4f3fe80fc54c3b637c0f6
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
x, a = [int(input()) for i in range(2)] print("Yes" if a >= x%500 else "No" )
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
01c6a82363241a9064bcdc20ba495dec968eb0ca
9461195cac30788855359753ac2856d746e81cd6
/apps/estado_flujo/forms.py
4e5747b61b4e54b2f824df8dd33ccf4402278ed3
[]
no_license
ChristianSmith18/python-project
e15460b29e29a6bb841c82a762618f7ff86ab724
76d876f3fded93643af58e65f183bb6403beb755
refs/heads/master
2023-04-30T15:30:48.472909
2021-05-24T17:33:46
2021-05-24T17:33:46
370,433,052
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django import forms from apps.estado_flujo.models import Glo_EstadoFlujo class estadoFlujoForm(forms.ModelForm): class Meta: model = Glo_EstadoFlujo fields = [ 'descripcion_estado', 'estado', ] widgets = { 'descripcion_...
[ "cgr.gonzalezrossier@gmail.com" ]
cgr.gonzalezrossier@gmail.com
6d2e0a26d4c7ad4f0faf749760e2e908565be54d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_splotches.py
ed0d1adf3f190745463d7e746b1ad80895ac0e75
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from xai.brain.wordbase.nouns._splotch import _SPLOTCH #calss header class _SPLOTCHES(_SPLOTCH, ): def __init__(self,): _SPLOTCH.__init__(self) self.name = "SPLOTCHES" self.specie = 'nouns' self.basic = "splotch" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
88dfa41087978b540b432a730f6068e9e609f5bc
2edfa18568b02e63757da73254c09e195b9f4efa
/evaluation/nejm/evaluate.py
7e2fcaf57a3bb27d779b4998aa9d3e4d76e406dd
[]
no_license
boxiangliu/ParaMed
65e67977c88c1ce2166d08d6d40a33f6961a3486
08484488f4829bf144303a2e348c79e4e2ae5f71
refs/heads/master
2023-05-02T22:14:31.911384
2021-05-15T21:44:51
2021-05-15T21:44:51
217,118,327
19
1
null
null
null
null
UTF-8
Python
false
false
4,436
py
import argparse import os import pandas as pd pd.options.display.max_columns = 99 import numpy as np from collections import defaultdict parser = argparse.ArgumentParser(description="Generate precision-recall "\ "table for sentence alignments.") parser.add_argument("--align_fn", type=str, help="Path to ground-truth ...
[ "jollier.liu@gmail.com" ]
jollier.liu@gmail.com
eed94a71c7239fbdd541de9a4417a48de3d95475
ab670d6e59ebd4a0c23fa867fb77866d223163da
/Python/Problem029.py
7fedb1207b0e2cc07512acac43d00c69115028a9
[]
no_license
JeromeLefebvre/ProjectEuler
18799e85947e378e18839704c349ba770af4a128
3f16e5f231e341a471ffde8b0529407090920b56
refs/heads/master
2020-07-05T02:42:44.844607
2014-07-26T01:04:38
2014-07-26T01:04:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
''' Distinct powers Problem 29 Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 53=125, 54=625, 55=3125 If they are then placed in numerical order, with any repeats removed, we get the following sequence of 15...
[ "jerome.p.lefebvre@gmail.com" ]
jerome.p.lefebvre@gmail.com
3bf61bbfa5ba4d78c42105bc36280e5ed2f3f3b2
34c01d4bf7ae13b15bfbcfd90ff39f5353971820
/examples/reactive.py
cb3d656e3187fae427834a62122f2958b8199bf1
[]
no_license
nvbn/microasync
c78d8684119fe6cbcd1ece762a15d64940ff9eb6
9e4975ed5077f133051bc80c1d54042dac5b78c7
refs/heads/master
2021-01-23T08:56:52.382753
2014-10-23T20:13:49
2014-10-23T20:13:49
23,565,211
5
1
null
null
null
null
UTF-8
Python
false
false
1,559
py
from microasync.async import coroutine, as_chan, Channel, do_all, select from microasync.device import get_switch, get_output_pin @as_chan(Channel) def get_bicolor_led(chan, left, right): left_pin = get_output_pin(left) right_pin = get_output_pin(right) while True: msg = yield chan.get() p...
[ "nvbn.rm@gmail.com" ]
nvbn.rm@gmail.com
0f7b6291b1f5cf75ec7597313122777012517352
f875b0d80254c8f6eee4e5887869442a8abf60e4
/Official_OpenCV_Docs/Image_Processing_In_OpenCV/changing_color_spaces.py
2065a51ee24f675278df82863552b3ccb6733902
[]
no_license
AmitKulkarni23/OpenCV
6d9320fa9e4fd41af4806cda6df0fb2c641d7884
449468f4c9c84ffb5b66ab352086e5b23f342b45
refs/heads/master
2020-03-19T12:36:23.305898
2018-09-16T00:53:51
2018-09-16T00:53:51
136,528,669
1
1
null
null
null
null
UTF-8
Python
false
false
1,703
py
# Python file which captures video from teh camera and displays only the red color # Everything else is blacked out # OpenCV has >150 color spaces # But 2 of teh important ones are BGR -> HSV and BGR -> Gray # Changing Colorspaces - used API cv2.cvtColor # Why HSV for color detection? # Will help in pinpointing a mor...
[ "amitrkulkarni232@gmail.com" ]
amitrkulkarni232@gmail.com
eab66c8739d2f800e313c946eeac35d82206b0f6
2b832e5d3d88b25998f44d21fdb3fa40c2072a9e
/testcase/api/__init__.py
fb1bdccf22a848238c4b584cbd9bcd23639dd0a1
[ "MIT" ]
permissive
lijunzhe123/Automation
387536505e0b77fd9cc1d7dc9d017dc1268925eb
18122ce2c5debe485fab7dac5f8007f4b7b2d51f
refs/heads/main
2023-06-17T10:04:51.296922
2021-07-10T17:58:56
2021-07-10T17:58:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- ''' @author: yuejl @application: @contact: lewyuejian@163.com @file: __init__.py.py @time: 2021/7/8 0008 20:59 @desc: '''
[ "lewyuejian@163.com" ]
lewyuejian@163.com
6755d6111619f91330fb2eb1521513e7e2fdf071
c5e5b2052c56e76ba4f33b36aeff26df3ac6ffb4
/VM/views.py
f5eab429b8b4f3b2e749d2006b7cefdb15f237c1
[]
no_license
willcai1984/Connect
c7d6d60cc8201820feb08ca61b48a2e5645ab5b6
d89fea4964519639056ae89c311adc1a7f68a1e0
refs/heads/master
2016-09-05T17:30:36.449016
2015-03-03T09:11:16
2015-03-03T09:11:16
28,028,452
0
0
null
null
null
null
UTF-8
Python
false
false
10,431
py
# -*- coding: utf-8 -*- from django.shortcuts import render_to_response from django.template.loader import get_template from django.template import Context from django.http import HttpResponse import sys, re, os, simplejson, time from django.db import connection def vm_manage(request): t = get_template('html/VM/...
[ "willcai1984@gmail.com" ]
willcai1984@gmail.com
134ea0ae19f609e515c711126a5c421c4f2b288a
850c6fd59110bbdd89a28a2ebd117be04ce3917a
/nengo_normal_form/hosted.py
4cbcbcb5084393bea9907aeb717900c91f30748e
[ "MIT" ]
permissive
tcstewar/nengo_normal_form
e56b35b5cb36a0ed659528ab83e1116bda3dfb32
37ca02b20c4cc143a7bf9c27912ead36d23a04d7
refs/heads/master
2021-01-01T19:44:39.556970
2018-05-15T22:08:06
2018-05-15T22:08:06
98,668,081
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
import nengo_normal_form import nengo import numpy as np from .generic import GenericSimulator class Host2Client(nengo.Node): def __init__(self, conn): self.latest_time = 0 self.latest_x = np.zeros(conn.size_out) super(Host2Client, self).__init__(self.update, ...
[ "tcstewar@uwaterloo.ca" ]
tcstewar@uwaterloo.ca
00104352c1370d91932fa8d8269ab961641f0546
5201e237c0d58cdfdbc2fdf8103f9141161eb9f8
/ITKFastMarchingPython.pyi
29ae0da83b4f80330b389cd611cb717d8648dacb
[]
no_license
hjmjohnson/itk-stubs
704f5b92a755e55b81d02fcad62a366143e125f3
771951d007ae425b758e088eae6f9e4ca0e4afb1
refs/heads/main
2023-01-22T05:50:33.649088
2020-12-04T01:31:09
2020-12-04T01:35:06
318,368,028
0
0
null
null
null
null
UTF-8
Python
false
false
788
pyi
from itk.itkLevelSetNodePython import * from itk.itkNodePairPython import * from itk.itkFastMarchingStoppingCriterionBasePython import * from itk.ITKFastMarchingBasePython import * from itk.itkFastMarchingImageFilterBasePython import * from itk.itkFastMarchingExtensionImageFilterPython import * from itk.itkFastMarching...
[ "hans-johnson@uiowa.edu" ]
hans-johnson@uiowa.edu
0a32b3ef2fb132f35bbac420ae65c23c9a600a2d
4dc0b92ae40c4bb90e4549732cab8b1f2d4305c6
/platforms/windows/dos/8232.py
c9204be6911fdfac7062141a0fd3580830f5263a
[]
no_license
xiaohen/exploit-database
be462a39978d6309ae98677e662dc8b228f936a8
d02449c714d2df225eba6f55b65d9840e6d19a5f
refs/heads/master
2021-01-17T10:00:13.535969
2014-03-02T04:29:43
2014-03-02T04:29:43
17,334,511
0
1
null
null
null
null
UTF-8
Python
false
false
799
py
#!/usr/bin/python # Chasys Media Player 1.1 (.pls) Local Buffer Overflow (SEH) PoC # SEH And NEXT_SEH are Overwritten but shellcode doesn't executed !!! # I have tried a lot of Addresses . # Waitting for the Exploit from someone . # Download : http://www.jpcha2.com/setup/chasys_media_player.zip print " Chasys Media Pl...
[ "info@exploit-db.com" ]
info@exploit-db.com