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
80e8c98591b0afb1451043bb84bd90a39ef8b326
71012df2815a4666203a2d574f1c1745d5a9c6dd
/4 Django/solutions/mysite/polls/views.py
ee7ecc4a4c55eaec3ae5baa8abb4803fe3c76ed1
[]
no_license
PdxCodeGuild/class_mouse
6c3b85ccf5ed4d0c867aee70c46af1b22d20a9e8
40c229947260134a1f9da6fe3d7073bee3ebb3f7
refs/heads/main
2023-03-23T14:54:39.288754
2021-03-20T01:48:21
2021-03-20T01:48:21
321,429,925
1
7
null
null
null
null
UTF-8
Python
false
false
1,007
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, HttpResponseRedirect from django.urls import reverse from .models import Question, Choice # Create your views here. def index(request): questions = Question.objects.order_by('-pub_date') context = { 'question...
[ "anthony@Anthonys-MBP.lan" ]
anthony@Anthonys-MBP.lan
52e8847e9de82e204fdf0c8cd2b6aae8698321bd
534b315921a7ad091aaef3ad9dd33691a570adad
/ex_03_02.py
92e6efbfca059085bac104c573028c8f2f8773d7
[]
no_license
epicarts/Python-for-Everybody
42d91b66f6c5fbae47caabee98f64269ac4b2437
edbe916b0beb9087e2a4a57516ccb3a315ac95d7
refs/heads/master
2020-03-21T21:00:07.393582
2018-07-17T10:58:11
2018-07-17T10:58:11
139,041,394
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
sh = input("Enter Hours: ") sr = input("Enter Rate: ") try: fh = float(sh) fr = float(sr) except: print("Error, please enter numeric input") quit() if fh > 40 : reg = fr * fh otp = (fh - 40.0) * (fr * 0.5) xp = reg + otp else: xp = fh * fr print("Pay:", xp...
[ "0505zxc@gmail.com" ]
0505zxc@gmail.com
b737adc0f2b8afa966e318f561e92474527a3b0c
10d57ce051ca936f6822724a4e996d35f7cd269c
/third_party/blink/web_tests/external/wpt/tools/wptrunner/wptrunner/executors/executorwebdriver.py
ad79600aeb8f943f5c5621102df8b6e701eed303
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
billti/chromium
aea73afa192266460538df692e80dd3f749d2751
94fde1ddc4a9db7488fd646443688a88c178c158
refs/heads/master
2023-02-02T05:00:23.474800
2020-09-24T16:57:28
2020-09-24T16:57:28
298,350,654
0
0
BSD-3-Clause
2020-09-24T17:37:58
2020-09-24T17:37:57
null
UTF-8
Python
false
false
24,135
py
from __future__ import absolute_import import json import os import socket import threading import time import traceback import uuid from six.moves.urllib.parse import urljoin from .base import (CallbackHandler, CrashtestExecutor, RefTestExecutor, RefTestImpleme...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
390ca1273fd423bf42edd83f7b629397e189fd4b
bca124bc2cecb5d3dec17c9666ec00d29fadf517
/i03Python-API-Development-Fundamentals/ch8pgination_search_order/resources/user.py
438080c8c6bf226f01b9b4c26477bcc73ceb2276
[]
no_license
greatabel/FlaskRepository
1d1fdb734dd25d7273136206727c76b2742a915f
85d402bc7b4218d3ae33d90f4a51dbac474f70ee
refs/heads/master
2023-08-19T18:30:33.585509
2023-08-07T14:12:25
2023-08-07T14:12:25
60,396,096
5
0
null
2023-02-15T18:18:42
2016-06-04T06:11:32
JavaScript
UTF-8
Python
false
false
5,782
py
import os from flask import request, url_for, render_template from flask_restful import Resource from flask_jwt_extended import jwt_optional, get_jwt_identity, jwt_required from http import HTTPStatus from webargs import fields from webargs.flaskparser import use_kwargs from extensions import image_set from mailgun i...
[ "myreceiver2for2github@gmail.com" ]
myreceiver2for2github@gmail.com
fcd7cbc53993e850cc4ab7e8288031e8e71969e8
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-sgw/aliyunsdksgw/request/v20180511/EnableGatewayLoggingRequest.py
20c5195c01a28b516aeeb9a542f39aea43c1267c
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,638
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
ae84bb1551d919d5a78e142d3902aadd859be877
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03475/s980181713.py
a507864b19aaa3ae22e296c2df9129769450df61
[]
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
506
py
#!/usr/bin/env python3 N = int(input()) data = [] for _ in range(N - 1): data.append(tuple(map(int, input().split()))) for i in range(N - 1): c_i, s_i, f_i = data[i] ans = c_i + s_i if i == N - 2: print(ans) continue for j in range(i + 1, N - 1): c_j, s_j, f_j = data[j] ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eb46806d343bb2682eec400c2d940d7baf75857f
819ea4165220ecaed5b168e37773282195501a38
/src/snakemake/rules/bcftools_stats.smk
d5aa48244c3c2de15c3a78a09a1ed77da8eda257
[ "MIT" ]
permissive
guillaumecharbonnier/mw-lib
662fe4f1ca28ed48554971d5fbf47bb11bb210d9
870f082431fb92d0aeb0a28f9f1e88c448aebd8a
refs/heads/master
2023-07-06T05:36:42.436637
2023-06-26T10:34:38
2023-06-26T10:34:38
198,626,514
0
1
MIT
2023-04-14T07:06:10
2019-07-24T11:57:07
Python
UTF-8
Python
false
false
1,285
smk
rule bcftools_stats_dev: input: "out/scalpel/discovery_--single_--bed_chr1:10000000-60000000_fa-genome-hg19-main-chr/samtools/index/samtools/sort/samtools/view_sam_to_bam/bwa/mem_se_fa-genome-hg19-main-chr/gunzip/to-stdout/ln/alias/sst/all_samples/fastq/Jurkat_SRR1057274_H3K27ac/variants.indel.vcf", ...
[ "guillaume.charbonnier@outlook.com" ]
guillaume.charbonnier@outlook.com
124696fb951a7fffc9df0dab4298e430e899cbba
8e46d95e040f498a9bae3d3bb6c645728cf51bda
/fll/backend/abstract.py
6b28ee5b0a139bf4e03a39c590722251df5c378a
[ "Apache-2.0" ]
permissive
matech96/federated-learning-library
815a0fd52274d7eb05a6707d03eea1d313b8d5dd
7ce769bab8cc62aaee6054aaef992e845ec9362f
refs/heads/main
2023-03-19T03:09:29.773009
2021-02-28T14:48:03
2021-02-28T14:48:03
301,724,428
0
0
null
null
null
null
UTF-8
Python
false
false
10,288
py
"""Our code supports multiple deep learning frameworks. This module describes the interfaces, that we have to create for a framework.""" from __future__ import annotations from abc import ABC, abstractmethod from pathlib import Path from typing import List, Dict, Optional, Callable, Tuple class AbstractBackendFactor...
[ "gangoly96@gmail.com" ]
gangoly96@gmail.com
8936e6c360a6169bb413fbc6ec891dedb2385f3a
c317312696645e061d955148058267dea10c9743
/backend/home/migrations/0002_load_initial_data.py
147470d221ed4d67a3edd73ef542a9b807f60286
[]
no_license
lorence-crowdbotics/shiny-block-1
96dc1fb4af1bae7eb535d1db25430a8114c124eb
64452c85dd1ebb6437437a637f4dff0402f57a9c
refs/heads/master
2023-02-08T10:32:14.106980
2021-01-04T11:51:18
2021-01-04T11:51:18
326,667,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Shiny Block" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "lorence@crowdbotics.com" ]
lorence@crowdbotics.com
99f471c3fbb40c19903e3f7b38741578d0324710
2e74c7339c63385172629eaa84680a85a4731ee9
/infertility/male_attr.py
59775495fac01fe5138790d83275bb10332c138e
[]
no_license
zhusui/ihme-modeling
04545182d0359adacd22984cb11c584c86e889c2
dfd2fe2a23bd4a0799b49881cb9785f5c0512db3
refs/heads/master
2021-01-20T12:30:52.254363
2016-10-11T00:33:36
2016-10-11T00:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,587
py
import os import argparse os.chdir(os.path.dirname(os.path.realpath(__file__))) from job_utils import draws, parsers ############################################################################## # class to calculate attribution ############################################################################## ...
[ "nsidles@uw.edu" ]
nsidles@uw.edu
d592e11371f738e326662c96b83751e6fe5f369f
f6bc15034ee1809473279c87e13cc3131bc3675c
/reader/migrations/0008_chapter_views.py
cb0aeea0af86abf7285e39283b5f7ac21f6a41cf
[ "MIT" ]
permissive
mangadventure/MangAdventure
d92e4c184d1ad91983cf650aa7fa584ba9b977ce
e9da91d0309eacca9fbac8ef72356fe35407b795
refs/heads/master
2023-07-20T04:54:49.215457
2023-07-14T15:34:20
2023-07-14T15:34:20
144,012,269
70
16
MIT
2022-08-13T12:22:39
2018-08-08T12:43:19
Python
UTF-8
Python
false
false
444
py
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [('reader', '0007_series_licensed')] operations = [ migrations.AddField( model_name='chapter', name='views', field=models.PositiveIntegerField( db_index=T...
[ "chronobserver@disroot.org" ]
chronobserver@disroot.org
7f7ae6f458cc8b68f26e89c645ab071ca90deb65
0199004d124f05c820a39af7914d57c3b53a44ff
/instagram/urls.py
96937019d58b89e8d2fa9c66381ddbb822b51d97
[ "MIT" ]
permissive
AnumAsif/instagram
ae6e4ffb7ce7aa2df5025f19fd25eef73fb62702
619731f799109b216e6ae0f75a4edd8057aa340c
refs/heads/master
2022-12-10T13:03:39.219406
2019-03-14T09:30:33
2019-03-14T09:30:33
174,493,800
0
0
null
2022-12-08T04:51:45
2019-03-08T07:58:40
Python
UTF-8
Python
false
false
1,046
py
from django.conf.urls import url, include from django.contrib.auth import views as auth_views from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ url(r'^home/$', views.home, name = 'home'), url(r'^$',views.signup, name='signup'), url(r'^activat...
[ "anum@cockar.com" ]
anum@cockar.com
2733e509636cffd4ec0fd9d7f66812a89293095d
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/blockEvaluator/some_package/module_in_package.py
1ed3bcb7cff0505bc6deccb4d4d97bfc2799be8b
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
66
py
__author__ = 'Ilya.Kazakevich' VARIABLE_IN_PACKAGE_MODULE = "foo"
[ "Ilya.Kazakevich@jetbrains.com" ]
Ilya.Kazakevich@jetbrains.com
77f2499232cafc4fe32a56e198bb85a9b79b4c31
3fbbd07f588aaeca78f18a4567b2173ce0154a85
/contours.py
6a57fb5fac998614e8a1a363cd6813b7e554a908
[ "MIT" ]
permissive
MuAuan/read_keiba_paper
d0af6e7454da04e89ad3080649df0436f09e26a6
b7c523f5880d1b4d1d397450baaefddbbdd6cfff
refs/heads/master
2020-06-10T23:51:11.406246
2019-07-30T07:20:57
2019-07-30T07:20:57
193,795,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
import numpy as np import cv2 import matplotlib.pyplot as plt import os, shutil, time, cv2, math import csv from operator import attrgetter from operator import itemgetter output_root_path = './text_detection/data' if not os.path.exists(output_root_path):os.mkdir(output_root_path) output_root_path += '/takaraduka'...
[ "noreply@github.com" ]
MuAuan.noreply@github.com
1709b78294401d0770a729fe519e3f8fa7e610d5
f66a33f8cdd8286320da730be67c89ee00d83d8d
/configs/example/gem5_library/x86-gapbs-benchmarks.py
6ab37479f92b9a71af448ca6425938b461df8701
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
H2020-COSSIM/cgem5
0d5812632757e6146f7852c9bf4abe4e9628296a
1222cc0c5618875e048f288e998187c236508a64
refs/heads/main
2023-05-13T14:08:01.665322
2023-05-08T08:39:50
2023-05-08T08:39:50
468,039,890
3
2
BSD-3-Clause
2022-10-12T14:29:33
2022-03-09T18:05:40
C++
UTF-8
Python
false
false
8,411
py
# Copyright (c) 2021 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this li...
[ "ntampouratzis@isc.tuc.gr" ]
ntampouratzis@isc.tuc.gr
f9097b43bb6e05b4023b3c72edab16670ec82815
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/mopidy/2015/12/test_status.py
25b8dd7242990ccd7bce9f3046630e7351b4a834
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
8,198
py
from __future__ import absolute_import, unicode_literals import unittest import pykka from mopidy import core from mopidy.core import PlaybackState from mopidy.internal import deprecation from mopidy.models import Track from mopidy.mpd import dispatcher from mopidy.mpd.protocol import status from tests import dummy...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
4b9e181c5fe7aac13ac618f98100dd7d6fa48825
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02678/s166039907.py
c6ab12488d55986930af9ba0117c10dc1bcf8bd2
[]
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
423
py
N, M = map(int, input().split()) route = [[] for _ in range(N)] sign = [0]*N #print(route) for i in range(M): a,b = map(int, input().split()) route[a-1].append(b-1) route[b-1].append(a-1) #print(route) marked = {0} q = [0] for i in q: for j in route[i]: if j in marked: continue ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e2cad7806874150acb3e00e8b4608cc4353915a9
ee81f6a67eba2d01ca4d7211630deb621c78189d
/my_profile/manage.py
b4a7631a6dfab5e670a48068f1d1f80597c22456
[]
no_license
zkan/saksiam-django-workshop
d452fa0ffec687a287965988a9afe256222a7920
ccef5359e04693681040c482865350720fa49189
refs/heads/main
2023-06-07T00:17:02.524926
2021-06-28T15:43:22
2021-06-28T15:43:22
374,397,011
1
1
null
2021-06-28T15:43:23
2021-06-06T15:33:50
Python
UTF-8
Python
false
false
1,062
py
#!/usr/bin/env python import os import sys from pathlib import Path if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.local") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for som...
[ "zkan.cs@gmail.com" ]
zkan.cs@gmail.com
00706a0ce78e5eee13d25f0e6fae2b55a8f50fe9
6ce826375d4ecc7b15cd843a0bf85438db7d1389
/cbmcfs3_runner/scenarios/demand_plus_minus.py
05177670f00eb079ad601a2bbc5d8ca5533566b6
[ "MIT" ]
permissive
xapple/cbmcfs3_runner
b34aaeeed34739d2d94d4ee485f4973403aa6843
ec532819e0a086077475bfd479836a378f187f6f
refs/heads/master
2021-12-26T07:06:02.073775
2021-10-25T14:15:53
2021-10-25T14:15:53
172,949,685
2
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC biomass Project. Unit D1 Bioeconomy. """ # Built-in modules # # First party modules # from plumbing.cache import property_cached # Internal modules # from cbmcfs3_runner.scenarios.base_scen import Scenario from cbmc...
[ "649288+xapple@users.noreply.github.com" ]
649288+xapple@users.noreply.github.com
e7d80b8d7f8bb438a4b24d5e18068fb5eefecd31
43acaf9718b0a62594ed8e42b6c01099acd2d075
/apps/asistencias/migrations/0003_auto_20200402_1450.py
0de223587557a923ebbda4dff048d594001e03b5
[]
no_license
JmSubelza/Demo
2f357889975c183b4a0f627330a80e535823faea
affceeadb87f1f14fb4e481851a1ac107e512f48
refs/heads/master
2023-05-14T18:16:38.153963
2020-04-28T16:15:27
2020-04-28T16:15:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2020-04-02 19:50 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('asistencias', '0002_auto_20200305_1646'), ] operations = [ migrations.AlterModelOptio...
[ "Chrisstianandres@gmail.com" ]
Chrisstianandres@gmail.com
916bde1a5aadf100d701152de0aa85f421789c8d
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateway_connections_operations.py
fa59556ffd80b020af121e5b5ac1dbeb307daf2f
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
42,994
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
03d71db6e4e6655b3342ac509b967885f5061b4e
3b504a983f1807ae7c5af51078bfab8c187fc82d
/common/GameEventsCommon/__init__.py
27c16f961bd42cf2edcbba2c6b9597fb0bf8b1cc
[]
no_license
SEA-group/wowp_scripts
7d35fd213db95ea6b3dbd1ec6d3e0f13de86ba58
2fe54a44df34f2dcaa6860a23b835dcd8dd21402
refs/heads/master
2021-09-07T23:10:13.706605
2018-03-02T17:23:48
2018-03-02T17:23:48
117,280,141
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# Embedded file name: scripts/common/GameEventsCommon/__init__.py pass
[ "55k@outlook.com" ]
55k@outlook.com
fb34240f1d836c1b23a16c911636ea02d8ba2b96
3c57fa50b0f922a75c29403f82f45b4ea850520c
/ml_models/__init__.py
b81caec1686bb9328ba6f5b4a421a9381a516193
[ "MIT" ]
permissive
sampathweb/imagnet-predictor-api
46ed12d82dd9220c364e7316bc30f320451315ed
76a939809621d2e00b957bfeb44ea70d51bcbfc5
refs/heads/master
2021-01-20T04:08:35.002586
2017-05-05T13:03:18
2017-05-05T13:03:18
89,644,070
0
0
null
null
null
null
UTF-8
Python
false
false
47
py
from .classifiers import ImagenetModel # noqa
[ "ramesh@sampathweb.com" ]
ramesh@sampathweb.com
5abfe9793871b012e49279286068e81223a85910
44d8042c77a8f18c03bec92b619425a0787e3ddb
/Classes/py3intro/EXAMPLES/creating_dicts.py
fc407b28becb13ff2907caaa355638516327a687
[]
no_license
Jgoschke86/Jay
3015613770d85d9fa65620cc1d2514357569b9bb
9a3cd87a5cff35c1f2a4fd6a14949c6f3694e3e2
refs/heads/master
2023-05-26T15:49:08.681125
2023-04-28T22:16:09
2023-04-28T22:16:09
215,616,981
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
#!/usr/bin/python3 d1 = dict() d2 = {} d3 = dict(red=5, blue=10, yellow=1, brown=5, black=12) airports = { 'IAD': 'Dulles', 'SEA': 'Seattle-Tacoma', 'RDU': 'Raleigh-Durham', 'LAX': 'Los Angeles' } pairs = [('Washington', 'Olympia'),('Virginia','Richmond'), ('Oregon','Salem'), ('California', 'Sacramento')]...
[ "56652104+Jgoschke86@users.noreply.github.com" ]
56652104+Jgoschke86@users.noreply.github.com
275e7ee7138368d6558257df45f8773d5533b5f9
8e858eea97c8654040552d190574acfc738b66e0
/tests/test_util.py
70f815d479ff6bf91ee0eb438df8782123904ec6
[ "MIT" ]
permissive
Typecraft/casetagger
73f0105caa7ab8a84e7ae3f84720797966addd31
b311f33449c8796e656600e8c9f255b40c4c2dce
refs/heads/develop
2023-01-14T00:28:06.339217
2017-05-10T10:44:09
2017-05-10T10:44:09
65,621,998
1
0
MIT
2022-12-26T20:26:26
2016-08-13T14:47:36
Python
UTF-8
Python
false
false
6,592
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from casetagger.util import * from typecraft_python.models import Text, Morpheme, Phrase, Word class TestUtil(object): @classmethod def setup_class(cls): pass def test_get_morphemes_concatenated(self): morpheme = Morpheme() morpheme...
[ "tormod.haugland@gmail.com" ]
tormod.haugland@gmail.com
b193d042f11de77758ebb4740dee22fad21ba1f8
684658837ca81a9a906ff8156a28f67b0ed53e81
/venv/bin/jupyter-serverextension
5493e28add6cf5377f63b4abb7dde6311928fb15
[]
no_license
sangramga/djangocon
30d6d47394daadfa162c5f96bf2e8476e580906d
d67203a7a7be2cefedbd75e080a6737e71a5bad3
refs/heads/master
2020-03-17T21:20:35.097025
2017-08-15T19:45:47
2017-08-15T19:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/Users/lorenamesa/Desktop/bootstrap_ml_project/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from notebook.serverextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "me@lorenamesa.com" ]
me@lorenamesa.com
31f6af36af85cf21686384f18d934765ad86235b
e1add42d3095608e73717cddf39646a1eaa62729
/setup.py
67db060118ca11d8cd2841bba696b5410defe1a0
[ "MIT" ]
permissive
PhoenixEra/mbcd
70870e7a774f649b22bb42810118640333d8c822
4be85b964bf02818f2fc83b21f2b339b3fc7a14f
refs/heads/main
2023-07-01T21:28:00.506563
2021-08-04T15:03:06
2021-08-04T15:03:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from setuptools import setup, find_packages REQUIRED = ['numpy', 'pandas', 'matplotlib', 'stable-baselines'] with open("README.md", "r") as fh: long_description = fh.read() setup( name='mbcd', version='0.1', packages=['mbcd',], install_requires=REQUIRED, author='LucasAlegre', author_email...
[ "lucasnale@gmail.com" ]
lucasnale@gmail.com
015308be165b92d7ae113955dc6228fb2a19068a
5c4e2a06779f3a5e9eee05d501eb710a684d9cf9
/networking_tn/db/migration/alembic_migrations/versions/38462bfd9dc_fortinet_plugin_database.py
555a7fcec5ffaeea96798d06a4cb8953e5602195
[ "Apache-2.0" ]
permissive
xjforfuture/networking-tn
e2b8e2a77b997af65a735c7a45401102eb9f9c94
1a21765a1ec45624dd83aa015ef8022d635d96b2
refs/heads/master
2021-09-10T09:06:48.372663
2018-03-23T08:44:40
2018-03-23T08:44:40
113,955,545
0
0
null
null
null
null
UTF-8
Python
false
false
8,255
py
# Copyright 2018 OpenStack Foundation # # 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 ...
[ "xjforfuture@163.com" ]
xjforfuture@163.com
245ffc8b4970e60d6c80835695d5aacfc03dcd78
3ac84fa46db498e914f6e1aaf2eff490a63807a1
/keystone/keystone/auth/controllers.py
21e4c9bbdbf79fe3ca1d3d9fafc1f84e5b9f14d5
[ "Apache-2.0" ]
permissive
onsoku/horizon_review
3c5f1a8f863142f3f724f59771ad39604bca4c20
80cca0badc61b4754ef2c10f23a0ee48cd227445
refs/heads/master
2020-05-20T11:11:25.625186
2015-01-21T01:01:59
2015-01-21T01:01:59
29,002,325
1
0
null
null
null
null
UTF-8
Python
false
false
26,981
py
# Copyright 2013 OpenStack Foundation # # 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...
[ "onsoku@onsoku.sakura.ne.j" ]
onsoku@onsoku.sakura.ne.j
d7f322eb83e4c6777bb715eb2d33ac92cdd6091e
6146e33102797407ede06ce2daa56c28fdfa2812
/python/GafferSceneUI/CopyOptionsUI.py
ec82897c8adf729127236f6d11032db45fc406ed
[ "BSD-3-Clause" ]
permissive
GafferHQ/gaffer
e1eb78ba8682bfbb7b17586d6e7b47988c3b7d64
59cab96598c59b90bee6d3fc1806492a5c03b4f1
refs/heads/main
2023-09-01T17:36:45.227956
2023-08-30T09:10:56
2023-08-30T09:10:56
9,043,124
707
144
BSD-3-Clause
2023-09-14T09:05:37
2013-03-27T00:04:53
Python
UTF-8
Python
false
false
2,430
py
########################################################################## # # Copyright (c) 2016, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistrib...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
9a4de1381f1804be5dae1d274c222ccdc3d44048
21c09799d006ed6bede4123d57d6d54d977c0b63
/python2/framework/Drawer.py
3db7fba10a54fe603542ecd1b16e825c7fa55e41
[]
no_license
corvettettt/DijetRootTreeAnalyzer
68cb12e6b280957e1eb22c9842b0b9b30ae2c779
e65624ffc105798209436fc80fb82e2c252c6344
refs/heads/master
2021-05-06T09:57:12.816787
2019-04-18T15:32:38
2019-04-18T15:32:38
114,043,763
1
0
null
2017-12-12T22:02:46
2017-12-12T22:02:46
null
UTF-8
Python
false
false
1,924
py
import os import ROOT as rt from rootTools import tdrstyle as setTDRStyle class Drawer(): """Class to draw overlayed histos for data and signals""" def __init__(self, hData, hSignal): print "Drawer::init" self._hData = hData self._hSignal = hSignal self._dataHistos = {} ...
[ "zhixing.wang@ttu.edu" ]
zhixing.wang@ttu.edu
6aa09349aae1917b65ddc6cca2c954c8cddbb364
bd5303f1fd7a6b8244c9d7f2f9037fd52f55686a
/crawler.py
08d56a24c3aac2d588ee945756150c353267800b
[]
no_license
mmmmkin/crawler
dfe446871ca09844e1dc8182d370f89cf24d2c78
8247270733ebd07284d93539c59e460e3d4458d7
refs/heads/master
2020-05-25T11:01:54.044397
2019-05-20T12:47:28
2019-05-20T12:47:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
import ssl from datetime import datetime from urllib.request import Request, urlopen def crawling(url='', encoding='utf-8'): try: request = Request(url) ssl._create_default_https_context = ssl._create_unverified_context resp = urlopen(request) try: receive = resp.read...
[ "kickscar@gmail.com" ]
kickscar@gmail.com
a583c5437d4f807b407d482f5e2221cce5862b2f
677f4896f21c46aee199c9f84c012c9733ece6f6
/ddsp/losses_test.py
dd4a23020c2d427443b4fb0f729ffa8fa5546d67
[ "Apache-2.0" ]
permissive
werkaaa/ddsp
90b2881a350dad9f954e28ead4f145140c7d2ad4
92ce8724e22c17822d7f7564547733ed7fe918e2
refs/heads/master
2022-12-13T06:41:48.871697
2020-09-03T15:50:49
2020-09-03T15:50:49
286,489,693
0
0
Apache-2.0
2020-08-10T13:57:00
2020-08-10T13:57:00
null
UTF-8
Python
false
false
1,770
py
# Copyright 2020 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "no-reply@google.com" ]
no-reply@google.com
09cce8fbbaa41efbc8ae40424576b47d84a05964
0e4d09b2a1b93aaa6d623d16905854d993a934ae
/Python/Django/belt_reviewer/apps/bookReviews/admin.py
ac72368c4b888b1d7d074e846a9860e09e00d9d3
[]
no_license
freefaller69/DojoAssignments
ee7f6308b02041be3244f795422e0e044d4a41b2
f40426ac448026c1172048665f36024ad22f0d81
refs/heads/master
2021-01-17T10:23:39.419514
2017-07-25T00:50:41
2017-07-25T00:50:41
84,012,790
0
1
null
null
null
null
UTF-8
Python
false
false
261
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Book, Author, Review # Register your models here. admin.site.register(Book) admin.site.register(Author) admin.site.register(Review)
[ "freefaller@gmail.com" ]
freefaller@gmail.com
5686d5a00a202f2b6cb60723f475bbd967b5cc76
5b4c803f68e52849a1c1093aac503efc423ad132
/UnPyc/tests/tests/CFG/2/return/return_if+elif_if+elif+else_.py
4d3f6e3a97f865aea7e5a8d94a62fe7ad96b04a8
[]
no_license
Prashant-Jonny/UnPyc
9ce5d63b1e0d2ec19c1faa48d932cc3f71f8599c
4b9d4ab96dfc53a0b4e06972443e1402e9dc034f
refs/heads/master
2021-01-17T12:03:17.314248
2013-02-22T07:22:35
2013-02-22T07:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
def f(): if 1: if 1: return elif 1: return elif 1: if 1: return elif 1: return else: if 1: return elif 1: return
[ "d.v.kornev@gmail.com" ]
d.v.kornev@gmail.com
e6dddca50724f057823cd02a76e2d1c2cb00d118
44e6fecee8710156333e171ad38a2b4d4cd4e3e3
/2-numpy/ex.5.19.py
d32d0241d72a77738eec995557aa944742c2e792
[]
no_license
3141592/data-science
5b0291ca40b275a1624e699828db5e63b5502b3c
f4f9bec56ee09bbd521b6dbacb0b221693a78637
refs/heads/master
2021-05-04T14:43:09.094396
2018-02-04T20:31:06
2018-02-04T20:31:06
120,209,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
import numpy as np print("arr") arr = np.arange(0,11) print(arr) print("=============") print("arr[8]") print(arr[8]) print("=============") print("arr[1:6]: ") print arr[1:6] print("=============") print "arr[:6]" print arr[:6] print("=============") print "arr[0:5] = 100" arr[0:5] = 100 print arr print("=======...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8e3ef950698fbf7d3e8c20133ccd2085180d1c8d
e204cdd8a38a247aeac3d07f6cce6822472bdcc5
/.history/app_test_django/models_20201116131143.py
ff79574c97012778681ec2385d75639933239b9a
[]
no_license
steven-halla/python-test
388ad8386662ad5ce5c1a0976d9f054499dc741b
0b760a47d154078002c0272ed1204a94721c802a
refs/heads/master
2023-04-08T03:40:00.453977
2021-04-09T19:12:29
2021-04-09T19:12:29
354,122,365
0
0
null
null
null
null
UTF-8
Python
false
false
2,333
py
from django.db import models import re class UserManager(models.Manager): def user_registration_validator(self, post_data): errors = {} EMAIL_REGEX = re.compile( r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') if len(post_data['first_name']) < 3: errors['first_na...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
7debb913ce33acbbf107e40036794d0f9b9fd499
affdb1186825486d40c1140314cc04fe63b153b7
/bike-sharing-demand/preprocessing/preprocessing.py
1f949627fbcd95c8b691834f548fd29c225a61bb
[]
no_license
Yagami360/kaggle_exercises
2f9a8a12c48a6e55ded6c626ceef5fb0cfca935b
17b731bb6f1ce0b81254047ffc56371f4c485df0
refs/heads/master
2022-11-22T23:00:27.176123
2020-07-23T05:05:00
2020-07-23T05:05:00
252,343,652
2
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
import os import numpy as np import pandas as pd from sklearn.preprocessing import LabelEncoder from sklearn.preprocessing import StandardScaler from sklearn.preprocessing import MinMaxScaler def preprocessing( args, df_train, df_test ): # 全データセット df_data = pd.concat([df_train, df_test], sort=False) # 時...
[ "y034112@gmail.com" ]
y034112@gmail.com
7dc2bc6f99ef24ea573366cb23999dea0e981450
ed54290846b5c7f9556aacca09675550f0af4c48
/salt/salt/modules/win_path.py
7e1601e22563416628aa2d70fd625b8e953dbe4f
[ "Apache-2.0" ]
permissive
smallyear/linuxLearn
87226ccd8745cd36955c7e40cafd741d47a04a6f
342e5020bf24b5fac732c4275a512087b47e578d
refs/heads/master
2022-03-20T06:02:25.329126
2019-08-01T08:39:59
2019-08-01T08:39:59
103,765,131
1
0
null
null
null
null
UTF-8
Python
false
false
4,719
py
# -*- coding: utf-8 -*- ''' Manage the Windows System PATH Note that not all Windows applications will rehash the PATH environment variable, Only the ones that listen to the WM_SETTINGCHANGE message http://support.microsoft.com/kb/104011 ''' from __future__ import absolute_import # Python Libs import logging import r...
[ "5931263123@163.com" ]
5931263123@163.com
82097c0eafbc46e1235c7382b6d048e7d4ef8aa8
eec267b544295bccb2ab88b13b221ff4fd3d2985
/test_plot_rms_map.py
c6bf17198c876c8af1635ee13bbe3c644bcfd488
[]
no_license
ralfcam/sandbox_scripts
dda368dcf8b8d01147660dedc6d0fcae2d15f80c
6fa53a63152c4a00396b38fb92ae7dc6f72d6b90
refs/heads/master
2022-05-29T02:02:24.849913
2020-05-01T02:23:57
2020-05-01T02:23:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 28 13:42:25 2018 @author: jpeacock """ import mtpy.modeling.modem as modem import matplotlib.pyplot as plt import scipy.interpolate as interpolate import numpy as np res_fn = r"c:\\Users\\jpeacock\\Documents\\Geothermal\\Umatilla\\modem_inv\\inv_03\\um_err03_cov03_NLCG_...
[ "peacock.jared@gmail.com" ]
peacock.jared@gmail.com
7a6854dfe3d5144790dab5b421192301bae5f7d5
e4724c9894768a3af353deb08c572324a9d18e3e
/workflowengine/lib/ConcurrenceSocket.py
13eda1835f608ce948342aafa7bd639dc46a648c
[]
no_license
racktivity/ext-pylabs-workflowengine
da85719dee9a21f448cb75cb7340367bb29543bb
28e01647852e2050fe971df9d5857e734b672980
refs/heads/master
2021-01-10T04:50:40.484585
2011-09-15T14:46:34
2011-09-15T14:46:34
54,315,007
0
0
null
null
null
null
UTF-8
Python
false
false
14,298
py
# fryckbos: # Changed tasklet calls from stackless to concurrence. # Don't use Tasklet.yield_(): sleeping tasks won't be awaken. # # Stackless compatible socket module: # # Author: Richard Tew <richard.m.tew@gmail.com> # # This wraps the asyncore module and the dispatcher class it provides in order # write a soc...
[ "devnull@localhost" ]
devnull@localhost
f28154c1d8284b4c1afcf2b115181573d4880ff2
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658282861527040_0/Python/ChevalierMalFet/lottery.py
187e6b8d05f410b95b0987ef03b00f8a8567c866
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
509
py
inputFile = open('B-small-attempt0.in', 'r') outputFile = open('B-small-attempt0.out', 'w') numTests = int(inputFile.readline()) for i in range(numTests): nums = map(lambda x: int(x), inputFile.readline().split()) a = nums[0] b = nums[1] k = nums[2] count = 0 for m in range(a): ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
211199e7bff2d13c497e7a08f172ffc279744939
3dcf3b4d1822fefc0dcab8195af1239abe7971a1
/AMAO/apps/Avaliacao/Questao/views/__init__.py
554a3a1467bf3ffcd4b9de57c04ac01067e84fd5
[ "MIT" ]
permissive
arruda/amao
a1b0abde81be98a04dee22af9ff0723ed7697fb8
83648aa2c408b1450d721b3072dc9db4b53edbb8
refs/heads/master
2021-01-13T02:11:52.776011
2014-09-20T15:43:16
2014-09-20T15:43:16
23,271,083
2
0
null
null
null
null
UTF-8
Python
false
false
134
py
#from temporario import * from resolucao import * from gabarito import * from criar import * from exibir import * from listar import *
[ "felipe.arruda.pontes@gmail.com" ]
felipe.arruda.pontes@gmail.com
de77b537516f29eb8f057077717c9b426ad9d33f
a4e4c3faa29043fc80f62a8442e2f8333cd23933
/MPI_test.py
5801da732e8dd08ddffe0d60fb141f04be8e6599
[]
no_license
FangYang970206/Intrinsic_Image
652ab87c2d95b400cf80c6a49d1863a40d1cba07
3b8ec261b7b3aeaa1c611473f53fb4e23b82893b
refs/heads/master
2023-01-21T05:18:40.748488
2020-11-24T02:22:00
2020-11-24T02:22:00
228,824,635
0
0
null
null
null
null
UTF-8
Python
false
false
4,477
py
import os import random import argparse import torch import torch.optim as optim from tensorboardX import SummaryWriter from torch.backends import cudnn # import RIN import RIN import RIN_pipeline import numpy as np import scipy.misc from utils import * def main(): random.seed(9999) torch.manual_seed(9999) ...
[ "15270989505@163.com" ]
15270989505@163.com
4d73a80f98e9a05bb82e58207ff09f60fb78bf00
8fcf33eb32de3ebe34934820c4635f9333af224a
/preprocessing/modules/utility/__init__.py
02345f75b2eff67c8d535e28cb7eacb3d75cf5d5
[]
no_license
Eadon999/wsd1
95b2bf105829b786393e44e7dbcd14b1009c8147
956206de1f22a93e591a0e5500f4f717b323a8ca
refs/heads/master
2021-10-12T01:14:17.641612
2019-01-31T12:37:09
2019-01-31T12:37:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
from .modules import UtilityModules __all__ = ['UtilityModules']
[ "starfield1019@gmail.com" ]
starfield1019@gmail.com
0b4f08bcee570cf762e0b682205d8fdcec785a9e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_289/ch88_2020_05_11_13_11_45_850336.py
5e8eda89358bc1e91ffb03476a4549962854f650
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
class Retangulo: def calcula_perimetro(self): dy = self.y - self.x dx = self.x - self.y return 2*dx + 2*dy def calcula_area(self): dy = self.y - self.x dx = self.x - self.y return dx*dy
[ "you@example.com" ]
you@example.com
e8bfec56b5c39e4bd3a759a4a033e6502c721abf
e5bc2c2c7ce172bf66cb526e6a27578e2919b807
/python/libs/r.py
c314af5e861f0aee2ddfd68a42af50f714b87c8b
[]
no_license
github188/libs-1
c561c3e8875f2fed3351692af62f833585e95511
83bfeeb29e9fafdd274ef645d2602f81290fd9e2
refs/heads/master
2020-05-29T11:43:55.629814
2016-03-04T11:11:41
2016-03-04T11:11:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
#! python import re import sys def MatchString(p,s): spat = re.compile(p) if spat.search(s): print '(%s) match (%s)'%(p,s) sarr = re.findall(p,s) print 'match (%s) (%s) (%s)'%(p,s,repr(sarr)) else: print '(%s) not match (%s)'%(p,s) if __name__ == '__main__': MatchString(sys.argv[1],sys.argv[2])
[ "jeppeter@gmail.com" ]
jeppeter@gmail.com
fdef8858fee95042d8bf62e3cc9b60a763ae012f
cd557e3c2b34f30f2e7caf7c79c07ff6e109fbd3
/k2/addons/k2-monitor/monitor/__init__.py
0ffee09d23f4e86d8b089538069e89f0c4c99707
[ "Apache-2.0" ]
permissive
Zenterio/opensourcelib
f005174c049df0f5deddc1269d7c343a8e219ca5
07f0dabffaceb7b6202b5f691cbad46dac5868a8
refs/heads/master
2022-12-09T02:53:36.444094
2021-04-28T18:03:24
2021-05-27T13:14:58
186,092,997
5
6
NOASSERTION
2022-12-07T23:37:26
2019-05-11T05:44:37
Groovy
UTF-8
Python
false
false
290
py
from zaf.messages.message import EndpointId, MessageId MONITOR_ENDPOINT = EndpointId('monitor', """\ The K2 monitor addon endpoint. """) PERFORM_MEASUREMENT = MessageId( 'PERFORM_MEASUREMENT', """ Request that a monitor performs its measurements. data: None """)
[ "per.bohlin@zenterio.com" ]
per.bohlin@zenterio.com
66e68b0679a6c7ab9e1e751a07a8086ef46b0705
f0d3ef10061147fb3bd04774a8b4eac9e4d9b671
/feedly/serializers/cassandra/activity_serializer.py
9e1d0ac4a1564c446dc88d23ab34e3b65db56800
[ "BSD-3-Clause" ]
permissive
jblomo/Feedly
9929077be3364d827aa03c4506ade29b819141cb
3e4999cc794231841e3b4909f0a73beabfcca046
refs/heads/master
2021-01-20T21:19:21.017683
2013-09-06T12:33:48
2013-09-06T12:33:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
from feedly.activity import Activity from feedly.storage.cassandra.maps import ActivityMap from feedly.verbs import get_verb_by_id import pickle from feedly.serializers.base import BaseSerializer class CassandraActivitySerializer(BaseSerializer): def dumps(self, activity): return ActivityMap( ...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
df16df9b7b4a3e8e07986df56e4f464254235aaa
0090756d7a6eb6ab8389ad23b20e89cd68dbd0e4
/배열정렬.py
2be7e2bad6cda422e8b99414109ecc6efe66010d
[]
no_license
ssh6189/2019.12.16
5c3093e03ac793d5f0a93cf99e78c6483fcee6d8
c1021bb72b3fdc05d7f5e8ae350bbd6eee65b0d3
refs/heads/master
2020-12-13T19:19:04.558270
2020-01-17T08:47:04
2020-01-17T08:47:04
234,507,219
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
import numpy as np #ndarray 객체는 axis를 기준으로 요소 정렬하는 sort 함수를 제공합니다. unsorted_arr = np.random.random((3, 3)) print(unsorted_arr) #데모를 위한 배열 복사 unsorted_arr1 = unsorted_arr.copy() unsorted_arr2 = unsorted_arr.copy() unsorted_arr3 = unsorted_arr.copy() unsorted_arr1.sort() #배열 정렬 print(unsorted_arr1) unsorted_arr2.sort(...
[ "ssh6189@naver.com" ]
ssh6189@naver.com
ff864913415b8a2a5a2e635e87aacbbc3c42a60c
bd86f45ec9355cf1b76c25307d77c85ff98d30a8
/venv/lib/python2.7/site-packages/pygments/lexers/jvm.py
76e3c24c7bebc1418c408de54ac34d972ae45c15
[ "MIT" ]
permissive
WhySoGeeky/DroidPot
fd39abe490117283f992d80f317574f47809de8d
7c3d9e975dae3835e2ccf42c425d65b26466e82a
refs/heads/master
2021-07-02T12:47:16.269514
2015-11-03T17:49:41
2015-11-03T17:49:41
45,484,292
6
0
MIT
2021-06-10T17:59:45
2015-11-03T17:44:48
Python
UTF-8
Python
false
false
66,056
py
# -*- coding: utf-8 -*- """ pygments.lexers.jvm ~~~~~~~~~~~~~~~~~~~ Pygments lexers for JVM languages. :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import Lexer, RegexLexer, include, bygroups, using, ...
[ "phobiatrs@gmail.com" ]
phobiatrs@gmail.com
992d39d8e5c5649b6954e1bd952fb77fbc4f0cb5
768c3fd42e0d3b407d89ccd9a3b3ace9eb0414c5
/user/migrations/0004_city.py
5c51ffa30bf5c417f1dc9f699aad8d54ad519165
[]
no_license
samkayz/LocationAPi
a644a45c6eb4ba6fb198b9992b5b79a89d6d9960
e7d601467e73ab127c61be257c2354dcd3aee21c
refs/heads/master
2023-08-14T03:33:32.574732
2020-05-03T18:38:08
2020-05-03T18:38:08
260,606,040
0
0
null
2021-09-22T18:57:32
2020-05-02T03:27:12
JavaScript
UTF-8
Python
false
false
761
py
# Generated by Django 3.0.5 on 2020-05-02 02:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0003_auto_20200430_1954'), ] operations = [ migrations.CreateModel( name='City', fields=[ ('...
[ "ilemobayosamson@gmail.com" ]
ilemobayosamson@gmail.com
3d294da817dabde94948c630eda7e6f79b1cf950
233f97c6f360d478bf975016dd9e9c2be4a64adb
/guvi_4_1_3.py
00eb925ae9c76c8511522e660cf1e63382c44343
[]
no_license
unknownboyy/GUVI
3dbd1bb2bc6b3db52f5f79491accd6c56a2dec45
d757dd473c4f5eef526a516cf64a1757eb235869
refs/heads/master
2020-03-27T00:07:12.449280
2019-03-19T12:57:03
2019-03-19T12:57:03
145,595,379
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
s1,s2=input().split() column=len(s1)+1 row=len(s2)+1 c=[[0 for i in range(column)] for i in range(row)] for i in range(1,row): c[i][0]=i for i in range(1,column): c[0][i]=i for i in range(1,row): for j in range(1,column): if s2[i-1]==s1[j-1]: c[i][j]=min(c[i-1][j-1],c[i-1][j],c[i][j-1]) ...
[ "ankitagrawal11b@gmail.com" ]
ankitagrawal11b@gmail.com
12302780bb6c2667bc5932b57d681745fe7155e5
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_27647.py
ff8f8287a5c0a51a03fcb76d8570639dde3aba61
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
# ValidationError in Django Model kwargs['time'] = datetime.datetime.strptime(v, 'YOUR_TIME_FORMAT').time()
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
0cc0ef34f5666bda22936a734d144ace9100a9b7
9d123c6b87b0baf80a6fce070023e19d68048b90
/slothql/utils/case.py
bb1ab8d97d84957c3449f009eb68fe74385f063f
[ "MIT" ]
permissive
IndioInc/slothql
ea4da3727cb974360eeb3b38517ead4328687e81
64a574013e249968746044555bd8779ac353b13f
refs/heads/master
2021-05-08T11:07:34.420797
2018-04-14T02:08:55
2018-04-14T02:08:55
119,881,523
2
0
MIT
2018-04-15T01:31:10
2018-02-01T19:16:50
Python
UTF-8
Python
false
false
527
py
import re CAMELCASE_SNAKE_REGEX = re.compile(r'([a-z\d])([A-Z])') def snake_to_camelcase(string: str) -> str: first_char = next((i for i, c in enumerate(string) if c != '_'), len(string)) prefix, suffix = string[:first_char], string[first_char:] words = [i or '_' for i in suffix.split('_')] if suffix els...
[ "karol.gruszczyk@gmail.com" ]
karol.gruszczyk@gmail.com
6e94648de2944ea3fae80b2f53a1364afd58c094
82da0dd86f0d8bbd526578f1a5252955bb2cc63b
/testClient.py
57082ea4c12edf7776d4b22583c80de163542678
[]
no_license
guldfisk/HexCG
a200a4790782fc91147da8342300cb618bdcb0c6
435511a8e61656baa8f7addb8f64128977033349
refs/heads/master
2021-01-12T06:35:58.738660
2017-04-27T21:24:15
2017-04-27T21:24:15
77,392,407
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import drawSurface import os import sys from PyQt5 import QtWidgets, QtGui, QtCore class MainView(QtWidgets.QWidget): def __init__(self, parent=None): super(MainView, self).__init__(parent) botsplitter = QtWidgets.QSplitter(QtCore.Qt.Horizontal) botsplitter.addWidget(drawSurface.DrawSurface()) botsplitter.ad...
[ "ce.guldfisk@gmail.com" ]
ce.guldfisk@gmail.com
82c30f1ac576e4d5f43336166d9b2aa053797c7c
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Dsz/PyScripts/Lib/dsz/mca_dsz/file/cmd/get/type_Result.py
e6ebf7d8de0e5bc766dae92b2644b9a4e230863d
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
6,656
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: type_Result.py from types import * import mcl.object.MclTime import array RESULT_FLAG_IGNORED_DUE_TO_FILESIZE = 1 class ResultFileInfo: def __i...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
8ba65c3c7211433bf61d3a399af108469c4e73d0
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/setuptools/sandbox.py
2ed7a0bf7fe00623e3280c9c013f6ef5a25e57e6
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:48ec4eb0b34103d21dc9a1544c6daed3406c040dc389ef8a07380ec677ad2ecf size 14767
[ "Nqk180998!" ]
Nqk180998!
1f0274c73fe51e1f7184f82248d76deb389cbc77
08d99e1d2d8dc2adbfea957855279c6ed62f9a5b
/Udemy-kurs-zaawansowany/sekcja_4/4.58_returing_function_L.py
e9e085670c87d5208d149c3c816435631b39d2c0
[]
no_license
rucpata/udemy-python-zaawansowany
23f6202edea8879f5a0ca24800908e11af59486e
597de3ceca723b799e1b31d13552bbb2c9d57a74
refs/heads/master
2022-03-15T20:48:36.076232
2019-12-09T14:19:09
2019-12-09T14:19:09
218,304,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
from datetime import datetime def time_span_m(start, end): duration = end - start duration_in_s = duration.total_seconds() return divmod(duration_in_s, 60)[0] def time_span_h(start, end): duration = end - start duration_in_s = duration.total_seconds() return divmod(duration_in_s, 3600)[0] ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
70524c923ce78ea4d4b851eabd7b02424b38a96b
03d55aab8ec79c8c7deb6ef94c20712fb0108b2c
/Statistics_is_Easy_Codes/Diff2MeanConfCorr.py
060b1ace90ea061424a36f34515e5bdbe63cea91
[]
no_license
kxu68/BMSE
8894a006b574f987ec65ac831d7aef3169402725
2722d9f1e0785b36ac00ccc576c2e6da8d6280cb
refs/heads/master
2023-05-19T05:47:03.911811
2021-06-10T20:46:23
2021-06-10T20:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,664
py
#!/usr/bin/python ###################################### # Difference between Two Means Bias Corrected Confidence Interval # From: Statistics is Easy! By Dennis Shasha and Manda Wilson # # Uses shuffling & bootstrapping to get a 90% confidence interval for the difference between two means. # The confidence interval i...
[ "artgoldberg@gmail.com" ]
artgoldberg@gmail.com
54befdb3e0a8b30d69a2aeeaa1a1cc346bb4cf05
18ca2e0f98b98941ff9d9e098e0be89166c8b87c
/Abp/Cp9/c9_4_2_backupToZip.py
9fec4c043c7091fcbfe196e42c9554230ca52d3c
[]
no_license
masa-k0101/Self-Study_python
f20526a9cd9914c9906059678554285bfda0c932
72b364ad4da8485a201ebdaaa430fd2e95681b0a
refs/heads/master
2023-03-07T07:38:27.559606
2021-02-22T16:24:47
2021-02-22T16:24:47
263,381,292
1
0
null
2020-06-09T17:32:06
2020-05-12T15:47:48
Python
UTF-8
Python
false
false
908
py
# -*- coding: utf-8 -*- #! python3 # backupToZip.py - フォルダ全体を連番付きZIPファイルにコピーする import zipfile, os def backup_to_zip(folder): # フォルダ全体をZIPファイルにバックアップする folder = os.path.abspath(folder) # 既存のファイル名からファイル名の連番を決める number = 1 while True: zip_filename = os.path.basename(folder) ...
[ "noreply@github.com" ]
masa-k0101.noreply@github.com
29dee4c6ed46e6c4f30e6d3f5b852347f06edfa7
668e32dea18d0a7dd3884801d773009b207b35d9
/api/migrations/0002_profile_phone.py
c7d193c54362c88c647621c0abd58f150cf0223d
[]
no_license
aviox-git/driss-backend
7a1b0759e899354b4dcbcb9e5dd20120667b0c5f
8825722c7c3c26896ebb2827075445f364bd2764
refs/heads/master
2020-06-13T12:35:10.939614
2019-10-05T14:33:52
2019-10-05T14:33:52
194,655,723
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 2.2.1 on 2019-06-13 14:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AddField( model_name='profile', name='phone', field=m...
[ "user@example.com" ]
user@example.com
14fec06ce8e0cefe82323f6b61ffa8b906026b8c
537b58ea8a1d1fcd961862876662da31efe4880f
/django/blog/migrations/0001_initial.py
ee37d7ab85daeacc6a7fc1012305eb781ec4eb54
[]
no_license
petershan1119/Djangogirls-Tutorial
d82e4ecdb6322f9c03dbe4d365087e692c265443
2f9bc6a6d0599859cf22d0f315553a5932814b39
refs/heads/master
2021-05-09T06:16:47.077800
2018-02-25T05:30:25
2018-02-25T05:30:25
119,325,945
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
# Generated by Django 2.0.1 on 2018-01-29 07:01 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...
[ "peter.s.han.1119@gmail.com" ]
peter.s.han.1119@gmail.com
c4ac81f2ad3729430ee488e572e843dd780a98fc
f04fb8bb48e38f14a25f1efec4d30be20d62388c
/牛客Top200/89验证IP地址.py
8194a075a514d37ea432617022318981185de087
[]
no_license
SimmonsChen/LeetCode
d8ef5a8e29f770da1e97d295d7123780dd37e914
690b685048c8e89d26047b6bc48b5f9af7d59cbb
refs/heads/master
2023-09-03T01:16:52.828520
2021-11-19T06:37:19
2021-11-19T06:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
# # 验证IP地址 # @param IP string字符串 一个IP地址字符串 # @return string字符串 # class Solution: def isIpv4(self, chs): ans = 0 for ch in chs: if not ch.isdigit(): return False ans = ans * 10 + int(ch) if ans > 255: return False else: return True ...
[ "15097686925@163.com" ]
15097686925@163.com
d8f81028d7f2a386824631eaa7c1a4f7c435a895
510b4d4db394191f1e5a6058555c29903c24d8c8
/geomat/stein/fields.py
36429148fa889e8ab0f43283d62e9e37732fff29
[ "BSD-3-Clause" ]
permissive
GeoMatDigital/django-geomat
8635735776b924d3ce4d8b2c64b2835d2a6b20d0
8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea
refs/heads/develop
2021-09-10T07:19:04.212942
2019-10-31T15:56:12
2019-10-31T15:56:12
45,467,102
3
0
BSD-3-Clause
2021-09-07T23:33:48
2015-11-03T13:09:05
Python
UTF-8
Python
false
false
955
py
from django import forms from django.contrib.postgres.fields import ArrayField class ChoiceArrayField(ArrayField): """ A field that allows us to store an array of choices. Uses Django 1.9's postgres ArrayField and a MultipleChoiceField for its formfield. Usage: choices = ChoiceArrayField(m...
[ "gecht.m@gmail.com" ]
gecht.m@gmail.com
54c3c7e8fe81cb1aab1bd644c8e54b0d2a2a2f5a
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_PolyTrend_Seasonal_Second_LSTM.py
97fe0297c57bed7d7cbbb7625f8f3d5fea08b058
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
163
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['PolyTrend'] , ['Seasonal_Second'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
55811f3f06f95917f6dea10ad8ed29ded8e18031
f13c586b82224c07f28f7bb7d9dd503e64eb5cb2
/tests/optimize/test_lie_algebra_optimizer.py
b61bcd59908a9a80b3f48fa6fcbbafd06aab1df4
[ "Apache-2.0" ]
permissive
therooler/pennylane
095f104e40254be2ed3050bc7be9ea9d2ee11ebd
fde1f24bd784d6ee2af5c980c2d5010b4c2bbe54
refs/heads/master
2023-04-29T13:32:43.115108
2023-04-18T09:41:42
2023-04-18T09:41:42
202,356,685
0
0
Apache-2.0
2019-08-14T13:30:39
2019-08-14T13:30:38
null
UTF-8
Python
false
false
10,915
py
# Copyright 2018-2021 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or...
[ "noreply@github.com" ]
therooler.noreply@github.com
8f8b7378f3e164e8ce802728ec439babb5859ec9
45b9beebad2f297486c9c12da537a0e28cbcd597
/users/config.py
c7d8704328ab790aebaaafcefe3ccfb2dccb3bf3
[]
no_license
thinkingserious/flask-microservices-users
27a00c3a0e5194a2ab8b7c244365cf343e8b6d57
943d0717db72600be590df3df9b8d21e8cf5c4a3
refs/heads/master
2021-09-08T08:49:48.978016
2018-03-08T22:30:19
2018-03-08T22:30:19
115,350,010
2
0
null
null
null
null
UTF-8
Python
false
false
645
py
import os class BaseConfig: """Base configuration""" DEBUG = False TESTING = False SQLALCHEMY_TRACK_MODIFICATIONS = False SECRET_KEY = 'my_precious' class DevelopmentConfig(BaseConfig): """Development configuration""" DEBUG = True SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_UR...
[ "elmer@thinkingserious.com" ]
elmer@thinkingserious.com
88c23711f8433fde27a7f539630b6a9d0120f461
a4753147801dbabfec45f6f9f47572cda77efb81
/debugging-constructs/ibmfl/evidencia/evidence_recorder.py
fa7058b58049d01df8a7237e81121f847aabfab1
[ "MIT" ]
permissive
SEED-VT/FedDebug
e1ec1f798dab603bd208b286c4c094614bb8c71d
64ffa2ee2e906b1bd6b3dd6aabcf6fc3de862608
refs/heads/main
2023-05-23T09:40:51.881998
2023-02-13T21:52:25
2023-02-13T21:52:25
584,879,212
8
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
""" Licensed Materials - Property of IBM Restricted Materials of IBM 20221069 © Copyright IBM Corp. 2022 All Rights Reserved. """ """ Abstract base class for providing evidence for accountability. """ from abc import ABC, abstractmethod class AbstractEvidenceRecorder(ABC): """ Class that supports providin...
[ "waris@vt.edu" ]
waris@vt.edu
94ba0c13938603187c3de37f00105a9894637186
a359c7be79fd15809b659ae745352757b052e5fa
/web/pgadmin/feature_tests/table_ddl_feature_test.py
9fb90d662ca4225e39d306f7b864db3be67ce747
[ "PostgreSQL" ]
permissive
harshal-dhumal/pgadmin4
579cfd91a1659d1e27445accb542511e73c88e4f
1977a5fcda44b78b00d6eaac2e6a99df355d5105
refs/heads/master
2020-12-02T22:16:34.682407
2017-07-03T10:19:02
2017-07-03T10:19:02
96,105,663
1
0
null
2017-07-03T11:54:02
2017-07-03T11:54:02
null
UTF-8
Python
false
false
2,316
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## from regression.f...
[ "dpage@pgadmin.org" ]
dpage@pgadmin.org
f197366b23568d36afd7a0adc83041610a363335
85eaa822b3a565163820a2c8f997c508c43b1d13
/Table/iris_table.py
ef34c72bb85f390990dfc039b6df43c383cf2c3b
[]
no_license
woorud/GuiTest
5e59db21eeb640db734b114ff351f25bc12fcdce
50b35818b09220b73092a01e86dd9cee174fc3ae
refs/heads/master
2023-01-01T05:44:10.969120
2020-10-06T16:09:49
2020-10-06T16:09:49
293,092,869
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
import sys from PyQt5.QtWidgets import QMainWindow, QApplication, QTableWidgetItem from PyQt5.uic import loadUiType import pymysql import pandas as pd form_class = loadUiType("iris_table.ui")[0] class ViewerClass(QMainWindow, form_class): def __init__(self, parent=None): QMainWindow.__init__(self, parent)...
[ "woorud96@gmail.com" ]
woorud96@gmail.com
92d3bb59489918ddcbcf0506d9c0336019d219e1
bc91d344ed2ee3f4f93547ec16350f2713e5f704
/.history/CRUD/views_20190108014602.py
5ca799bd23b34134d8e78785ed5186cce9299464
[]
no_license
SabitDeepto/Chitra
10ecf0c4a7588234f0a50adf038783c9ce8706d0
160e5d64c8e4ee56a95bb639386785590160ff07
refs/heads/master
2020-04-27T21:55:09.685341
2019-03-09T16:14:35
2019-03-09T16:14:35
174,716,372
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
from django.shortcuts import render from urllib3 import request # Create your views here. def home(request): executive = Exe templates = 'index.html' context = { 'name': 'deepto' } return render(request, templates, context)
[ "deepto69@gmail.com" ]
deepto69@gmail.com
a798a0e843c705439966420e50750750658888f2
c7e028d71b5dd72eb18b72c6733e7e98a969ade6
/src/algoritmia/problems/traversals/treetraversals.py
418311d170e2b266f36eec01d2d8af08272ec59a
[ "MIT" ]
permissive
antoniosarosi/algoritmia
da075a7ac29cc09cbb31e46b82ae0b0ea8ee992f
22b7d61e34f54a3dee03bf9e3de7bb4dd7daa31b
refs/heads/master
2023-01-24T06:09:37.616107
2020-11-19T16:34:09
2020-11-19T16:34:09
314,302,653
8
1
null
null
null
null
WINDOWS-1258
Python
false
false
3,233
py
#coding: latin1 from algoritmia.datastructures.queues import Fifo #[]level from algoritmia.datastructures.queues import Lifo #[]prepro from collections import namedtuple from abc import ABCMeta, abstractmethod class ITreeTraverser(metaclass=ABCMeta): #[interface @abstractmethod def traverse(self, tree...
[ "amarzal@localhost" ]
amarzal@localhost
7d6c3094add2dc3f6c27c81424781b777d17f603
4cb79aeadba003db92f295931012f4b85f0a10fa
/purkinje_model/neuron2morph.py
29afa103e60a24f35f9080a4d79b8f0cb7727d71
[]
no_license
ModelDBRepository/225089
77f64de167ac148336189c0e1c93cb94f55ec000
4d8cfd8d93cf74eda52df7a14b988eed691dc27c
refs/heads/master
2020-05-29T18:26:35.794854
2019-05-31T03:23:31
2019-05-31T03:23:31
189,299,613
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
######################################################################### # This script is provided for # # Chen W and De Schutter E (2017) Parallel STEPS: Large Scale Stochastic Spatial Reaction-Diffusion Simulation with High Performance Computers. Front. Neuroinform. 11:13. doi: 10.3389/fninf.2017.00013 # #########...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
49771ad3463b7f6cc1c7859994b5db00ce8fe7aa
48d232cc6dcf57abf6fca9cbbef8943e189acb04
/longest-peak-ae.py
81f9a6e95a133066bda1afc53954f3e21569d6c1
[]
no_license
csusb-005411285/CodeBreakersCode
dae796ba4262770e0a568e9c27597a041db0775c
8f218164e1b9e42c1a928d22ef5a76328abb66a2
refs/heads/master
2022-01-12T09:11:33.668338
2021-12-27T04:45:13
2021-12-27T04:45:13
232,490,141
1
1
null
2021-01-29T23:09:14
2020-01-08T06:02:11
Python
UTF-8
Python
false
false
2,198
py
# tc: o(n2), sc: o(n) def longestPeak(array): if len(array) < 3: return 0 peaks = get_peaks(array) path_to_from_peak = get_path_from_peak(array, peaks) if not path_to_from_peak: return 0 max_len = float('-inf') for i in path_to_from_peak: max_len = max(max_len...
[ "noreply@github.com" ]
csusb-005411285.noreply@github.com
360dd301bf43ba71d73c73e7a4ae7f879c30f84f
048df2b4dc5ad153a36afad33831017800b9b9c7
/yukicoder/yuki_0083.py
53f365fdf409ffe0ed76ea7a7d1529237b73802a
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
n=input();print '7'*(n%2)+'1'*(n/2-1)+'1'*(1-n%2)
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
fdbe466ecb4fc79c93bb6a16feee06d295ce8d0b
f121695e2dff353607fa47fb42482470e03bbf8a
/capitulo_08-Funcoes/magicos.py
908835a823b126a47b6d631c241eec625501b463
[]
no_license
ranog/python_work
76cbcf784c86fae4482be5383223e4b0a34f4130
47c442a90dcf32d5aef70858693a772a3c76a7ac
refs/heads/master
2022-12-22T11:02:26.482059
2021-04-17T01:12:22
2021-04-17T01:12:22
233,634,221
2
1
null
2022-12-08T07:38:43
2020-01-13T15:58:46
Python
UTF-8
Python
false
false
916
py
#! /usr/bin/env python3 """ NOME magicos.py - FAÇA VOCÊ MESMO. SINOPSES chmod +x magicos.py ./magicos.py Mágicos famosos: - Harry Houdini - Fu-Manchu - Richiardi Jr - Jasper Maskelyne - Dai Vernon - David Blaine - Siegfried Fischbacher - David Copperfield DESCRIÇÃO ...
[ "jprnogueira@yahoo.com.br" ]
jprnogueira@yahoo.com.br
77fd6bb439e708106d8cb5ef3ab6313444780583
2455062787d67535da8be051ac5e361a097cf66f
/Producers/BSUB/TrigProd_amumu_a5_dR5/trigger_amumu_producer_cfg_TrigProd_amumu_a5_dR5_450.py
540db515812846a4d296cd0d53441e47d7f6a26e
[]
no_license
kmtos/BBA-RecoLevel
6e153c08d5ef579a42800f6c11995ee55eb54846
367adaa745fbdb43e875e5ce837c613d288738ab
refs/heads/master
2021-01-10T08:33:45.509687
2015-12-04T09:20:14
2015-12-04T09:20:14
43,355,189
0
0
null
null
null
null
UTF-8
Python
false
false
3,360
py
import FWCore.ParameterSet.Config as cms process = cms.Process("PAT") #process.load("BBA/Analyzer/bbaanalyzer_cfi") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.load('Configuration.EventContent.EventContent_cff') process.load("Configuration.Geometry.GeometryRecoDB_cff") process.load("Configuration.St...
[ "kmtos@ucdavis.edu" ]
kmtos@ucdavis.edu
5e45d92c570a19aed882561fb8ce582ded4238ea
aeac131d9da991853a7eb0a68bc7be4f848b9ed6
/API_DB/adjacent.py
0c0f176ff137a3bd764efc066cb40a5b8bbd3aaa
[]
no_license
xuqil/-Crawler
d5b10c137beedb9daa8a33facf8ed80f62e8e53f
c9703d8ee2a7ea66ae50d20e53247932987122e6
refs/heads/master
2020-04-04T11:25:34.729191
2018-12-15T11:49:16
2018-12-15T11:49:16
155,890,694
0
0
null
2018-12-06T11:43:28
2018-11-02T16:09:30
HTML
UTF-8
Python
false
false
1,708
py
from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, ForeignKey from sqlalchemy.types import Integer, Unicode from sqlalchemy.orm import relationship, sessionmaker, joinedload, joinedload_all Base = declarative_base() Engine = create_engine('mysql+...
[ "13829842679@163.com" ]
13829842679@163.com
d10a5e2e66da614421ca8064583cae2b09a27942
09aea7ebe2ce7214ac9f18741e85e49a3d8bcd5e
/testes.py
f37cee7c457681542087f83cf56ef77f62f49f01
[]
no_license
bmsrangel/Projeto_Biblioteca
3555bf10058d450ad3d3b61bb20bd7427fe65a4d
4789c8070d194dd1ab8e1c2c0e7cc3102086d058
refs/heads/master
2020-04-27T15:12:24.472246
2019-03-07T23:51:35
2019-03-07T23:51:35
174,436,851
0
0
null
null
null
null
UTF-8
Python
false
false
3,407
py
import unittest from livro import Livro from pessoa import Pessoa from emprestimo import Emprestimo from database import Database class TestDatabase(unittest.TestCase): def setUp(self): self.db = Database() self.db.conectar() self.db.criar_tabelas() self.db.desconectar() d...
[ "bmsrangel@hotmail.com" ]
bmsrangel@hotmail.com
d34a0afb822ac7683ecc3dbd62212c93c518ce50
fbddd92b0eafcc79a24c05cbfe5e688174a5be27
/laraPython/day22/test3.py
1e09604b65b28a1a5c951ac379d68d7148892052
[]
no_license
priyankakumbha/python
968902b82811c31020b6ad2d853fee8ef64ec1a5
ae428d56e4afffa2fc16a8e03e99eeb6bf560037
refs/heads/master
2022-08-26T13:31:26.874275
2020-05-22T12:47:22
2020-05-22T12:47:22
266,107,443
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
s1 = 'abc xyz' s2 = "abc xyz 123" print(s1) print(s2)
[ "priyankakumbhar789@gmail.com" ]
priyankakumbhar789@gmail.com
2f26d83ce23d45e2fed8f7f4851fecfb82a00b63
c7c969259d9600eaa152d6896b8c3278e019f8c1
/cluster/util.py
5d2baf066105077e0c19e50a6cd6507549c3fc92
[]
no_license
jwintersinger/csc2515-project
4874d1fec5c3825cff7091ac6b9af147be88b9c5
ccd71032ae0617a2cc125c73b9b0af6e92a902c0
refs/heads/master
2016-09-11T12:20:29.766193
2015-04-17T03:23:08
2015-04-17T03:23:08
34,094,429
2
0
null
null
null
null
UTF-8
Python
false
false
682
py
import multiprocessing import numpy as np def load_mutpairs(fnames, in_parallel=True, limit=None): if limit: fnames = fnames[:limit] if in_parallel: results = multiprocessing.Pool(8).map(load_single_mutpairs, fnames) else: results = map(load_single_mutpairs, fnames) mutpairs = np.zeros(shape=(len(...
[ "jeff.git@wintersinger.com" ]
jeff.git@wintersinger.com
d46a62a0887148e9646d19c3afb237ce53409f3d
bd8ec52d55798ae62bbea1906847f56b37593911
/vtol/python/hw11/vtolController_lat.py
b9da0e6822e1f52d3f630250183268a61562076e
[]
no_license
jaringson/Controls_EcEn483
2d4e4a65d84afb8f9ddc74925b85349d348a59d5
1ca4f24dad65ce92f1ab5310242adf08062e22d1
refs/heads/master
2021-08-29T22:14:18.007719
2017-12-15T05:06:42
2017-12-15T05:06:42
103,585,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
import vtolParamHW11_lat as P import sys sys.path.append('..') # add parent directory import vtolParam as P0 import numpy as np class vtolController_lat: ''' This class inherits other controllers in order to organize multiple controllers. ''' def __init__(self): # Instantiates the SS_ctr...
[ "jaringson@gmail.com" ]
jaringson@gmail.com
79510f66671377a5b36333913b1852dbca847db4
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/INTERVIEW-PREP-COMPLETE/notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/_Another-One/networking_flow/Minimum_cut.py
33daad3378607ec598d9c9fbdfc725885e05db27
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
1,583
py
# Minimum cut on Ford_Fulkerson algorithm. def BFS(graph, s, t, parent): # Return True if there is node that has not iterated. visited = [False] * len(graph) queue = [] queue.append(s) visited[s] = True while queue: u = queue.pop(0) for ind in range(len(graph[u])): ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
7a395e238daa5075eff6cfc90de04a32bd859c45
bbeecb7cff56a96c580709b425823cde53f21621
/msw/spots/caribbean/anguilla.py
7c5f4514d34e7edf2d1f1006a88b39a1195afddd
[]
no_license
hhubbell/python-msw
f8a2ef8628d545b3d57a5e54468222177dc47b37
5df38db1dc7b3239a6d00e0516f2942077f97099
refs/heads/master
2020-04-05T23:46:21.209888
2015-06-16T01:36:43
2015-06-16T01:36:43
37,476,303
1
0
null
null
null
null
UTF-8
Python
false
false
47
py
WILDERNESS = 483 CUPECOY = 484 THE_LEDGE = 485
[ "hhubbell@uvm.edu" ]
hhubbell@uvm.edu
d4ec7a6a271ddb1d7d1065ab3dd6f881f89858a5
ed54290846b5c7f9556aacca09675550f0af4c48
/salt/salt/pillar/git_pillar.py
5cbd384421890ee5f50b6e574abab9fec6f4ed27
[ "Apache-2.0" ]
permissive
smallyear/linuxLearn
87226ccd8745cd36955c7e40cafd741d47a04a6f
342e5020bf24b5fac732c4275a512087b47e578d
refs/heads/master
2022-03-20T06:02:25.329126
2019-08-01T08:39:59
2019-08-01T08:39:59
103,765,131
1
0
null
null
null
null
UTF-8
Python
false
false
16,836
py
# -*- coding: utf-8 -*- ''' Use a git repository as a Pillar source --------------------------------------- .. note:: This external pillar has been rewritten for the :doc:`2015.8.0 </topics/releases/2015.8.0>` release. The old method of configuring this external pillar will be maintained for a couple relea...
[ "5931263123@163.com" ]
5931263123@163.com
65f119cbba27c8105c81c41132cf967b03783924
bdda458001808a029b171c09286f022a1384d180
/prove/provascript.py
b5d257652e5cc5bda09a9bc81170655522f2767a
[]
no_license
bianchimro/crm-django
4189f5c0c31f03d23a2b644a14403d63b8efdf0a
d8e4d18174cb050fd7a22d53fe8bb152e6e43120
refs/heads/master
2021-04-27T15:15:28.219887
2018-02-22T16:51:00
2018-02-22T16:51:00
122,466,604
1
0
null
null
null
null
UTF-8
Python
false
false
321
py
import sys from libreria import helpers def provafunzione(a, b=10, c=6): print(a) print(b) provafunzione(10) provafunzione(10, b=2) provafunzione(10, b=2, c=10) provafunzione(10, c=10) def main(msg): print(msg) x = helpers.somma(1, 2) print(x) if __name__ == '__main__': main(sys.argv[1])...
[ "bianchimro@gmail.com" ]
bianchimro@gmail.com
40d0f3711fc75767e77a31c5fdf441b71a49d137
89b7b6375226e5224321e8e467b1047830bd2073
/easy/palindromeLinkedList.py
ecedabb47a8c88feecda91c0c12e7b75e6f9ff09
[]
no_license
xiao-bo/leetcode
9cf5ec1dd86faa699f51b3a616929da4ebdb3053
671383b9ee745ed84fbb6d76a91d8be353710096
refs/heads/master
2023-03-18T19:10:28.990610
2023-03-11T10:11:43
2023-03-11T10:11:43
154,341,943
0
0
null
2023-03-11T10:11:44
2018-10-23T14:24:15
Python
UTF-8
Python
false
false
2,993
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def isPalindrome(self, head): """ :type head: ListNode :rtype: bool """ # Definition for singly-linked list. ...
[ "ay852852@gmail.com" ]
ay852852@gmail.com
bd9c12207e291abf0c6e8140048b593d0520e4c7
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/07_Machine_Learning_Mastery_with_Python/05/correlation_matrix_generic.py
bef6f583b5a4eab07926d46ad4579350536cf8f3
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# Correlation Matrix Plot (generic) from matplotlib import pyplot from pandas import read_csv filename = 'pima-indians-diabetes.data.csv' names = ['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class'] data = read_csv(filename, names=names) correlations = data.corr() # plot correlation matrix fig = py...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
0d293c66679798c3156d7d4d81887dd17635b22c
e21f7d14e564d7fb921277a329ff078e86ad86a2
/2018/Day 03/day3_part1.py
9608667c4f614f00c804d40b776d5d7de8749d61
[]
no_license
MrGallo/advent-of-code-solutions
31456a0718303cca6790cf1227831bcb14649e27
28e0331e663443ffa2638188437cc7e46d09f465
refs/heads/master
2022-07-07T08:49:30.460166
2020-12-17T17:22:24
2020-12-17T17:22:24
160,988,019
0
1
null
2022-06-21T22:26:19
2018-12-08T23:34:51
Python
UTF-8
Python
false
false
523
py
import numpy as np with open('input.txt') as f: claims = [] for claim in f: c_id = int(claim[1:claim.index(" ")]) at_i = claim.index("@") colon_i = claim.index(":") x, y = [int(n) for n in claim[at_i+2:colon_i].split(",")] w, h = [int(n) for n in claim[colon_i+2:].split...
[ "daniel.gallo@ycdsbk12.ca" ]
daniel.gallo@ycdsbk12.ca
d83b6bb921f87ceb9e99f7fb3acba053b8c15752
cd876d32aa66112892dc9550837ad843e3e03afd
/env_carzone/Lib/site-packages/django/core/management/__init__.py
6e57539c88e529768febe95c6f6521919faf1d0d
[ "BSD-3-Clause" ]
permissive
viplavdube/Car-Yard-App
7665b7e6e54f3b0e4a4da563151f85d65c225cef
65381a50f828e80f31d25d4f35e497f51c2d224d
refs/heads/master
2023-04-19T03:49:18.991604
2021-04-27T17:51:10
2021-04-27T17:51:10
349,094,392
0
0
null
null
null
null
UTF-8
Python
false
false
16,801
py
import functools import os import pkgutil import sys from argparse import _SubParsersAction from collections import defaultdict from difflib import get_close_matches from importlib import import_module import django from django.apps import apps from django.conf import settings from django.core.exceptions import Improp...
[ "viplav45@gmail.com" ]
viplav45@gmail.com
db71f979debd03e7f83d2826f8d2638ade23dd94
32b0f6aa3f52db84099205a3f6b59464469617c8
/aa/unit/unit.py
9bb67ee8fe20a7ea6515a6293b06f499bf44489c
[ "MIT" ]
permissive
projectweekend/aa
9eed3b75153cee74990640e9a40475172d5175b3
5c6da28121306b1125b2734d5a96677b3e3786e0
refs/heads/master
2022-01-29T11:34:22.467002
2018-09-04T02:33:43
2018-09-04T02:33:43
126,966,057
0
0
MIT
2022-01-21T19:18:28
2018-03-27T09:56:16
Python
UTF-8
Python
false
false
2,248
py
from random import randint from .info import * class Bonus: def __init__(self, targets, boosted_attribute, boost_value): self.targets = targets self.boosted_attribute = boosted_attribute self.boost_value = boost_value class Roll: def __init__(self, unit): self._unit = unit ...
[ "brian@projectweekend.net" ]
brian@projectweekend.net
a57790abe4d9ce8e9cc97d8ff297729b1c3ab13c
b1892cfaba853689e6db9bff2cc930e7472e4a67
/src/Calculating_Synthetic_Networks_Organize_Runs.py
c4b2538e7428c0ee41c0da5948e6d6850c392a69
[]
no_license
jeffalstott/technologyspace
0cb01655cec4d8c18c5496ecb1b621eeac4a3648
34185de439d58830392aaeadc61c2c59ccd84afa
refs/heads/master
2020-12-09T13:56:54.386249
2018-04-30T13:56:43
2018-04-30T13:56:43
46,704,128
3
0
null
null
null
null
UTF-8
Python
false
false
3,648
py
# coding: utf-8 # In[2]: import pandas as pd from pylab import * # In[3]: # class_system = 'IPC' # n_controls = 1000 # target_year = 2010 # In[4]: # n_years = 'cumulative' if n_years is None or n_years=='all' or n_years=='cumulative': n_years_label = '' else: n_years_label = '%i_years_'%n_years # In[...
[ "jeffalstott@gmail.com" ]
jeffalstott@gmail.com
e85cf3dcfa4ce7b1ff0c56d2b706b9c987245f76
0d8d40eba3eb0b54e6e7346c5e8160d922b0953f
/alalala_17403/urls.py
cc63fdcba3efd3f3eabe93788f5d84dcb48ae98d
[]
no_license
crowdbotics-apps/alalala-17403
e96a2e1197965e43105873efd82c37e9649b9d4f
bae7b1f3b1fd7a12a6a8ac34073565b5f3ddcfa2
refs/heads/master
2023-05-19T02:29:20.073969
2020-05-26T09:36:07
2020-05-26T09:36:07
267,001,767
0
0
null
2021-06-12T13:03:48
2020-05-26T09:34:37
Python
UTF-8
Python
false
false
2,046
py
"""alalala_17403 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
80f631cf3d47346c28c011a1d97a2ee7e6ad5594
7cad80770718e655766dd038bc654ebe1ad2ab3e
/network/fedoracoin.py
4daa642227ed53cbb62e9be465e0740e0ab9d2c5
[]
no_license
kindanew/clove_bounty
d0e1f917dff5b3a23eae6a05d6449af068fb4dc9
e707eebde301ac3728a5835d10d927aa83d27ab5
refs/heads/master
2021-04-29T00:29:37.698092
2018-02-24T02:34:33
2018-02-24T02:34:33
121,830,043
0
0
null
2018-02-17T05:34:54
2018-02-17T05:26:51
Python
UTF-8
Python
false
false
822
py
from clove.network.bitcoin import Bitcoin class FedoraCoin(Bitcoin): """ Class with all the necessary FedoraCoin (TIPS) network information based on https://github.com/fedoracoin-dev/fedoracoin/blob/master-0.9/src/chainparams.cpp (date of access: 02/17/2018) """ name = 'fedoracoin' symbols...
[ "noreply@github.com" ]
kindanew.noreply@github.com
d7e4f73db84e320d839e02f46066f13f6057272f
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy2986.py
e015914e151e5d9651cefff1550ef4347ec47356
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,210
py
# qubit number=4 # total number=39 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
848a1c59e318fe3cedaa0d7702194ef1a1d6b211
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N538_Convert_BST_To_Greater_Tree.py
0cf76aad40516b7710da549a39a22762f8d82918
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
936
py
class Solution(object): def convertBST(self, root): """ :type root: TreeNode :rtype: TreeNode """ if not root: return None stack = [root] prev = 0 visited = set() visited.add(root) visited.add(None) while stack: ...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
6521b280d000c57c00c0dacef579bcfd16457b95
aea8fea216234fd48269e4a1830b345c52d85de2
/fhir/resources/communicationrequest.py
114666d1c01e00de50e3e79b77fcd3abdd84ed86
[ "BSD-3-Clause" ]
permissive
mmabey/fhir.resources
67fce95c6b35bfdc3cbbc8036e02c962a6a7340c
cc73718e9762c04726cd7de240c8f2dd5313cbe1
refs/heads/master
2023-04-12T15:50:30.104992
2020-04-11T17:21:36
2020-04-11T17:21:36
269,712,884
0
0
NOASSERTION
2020-06-05T17:03:04
2020-06-05T17:03:04
null
UTF-8
Python
false
false
13,537
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/CommunicationRequest Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import sys from . import backboneelement, domainresource class CommunicationRequest(domainresource.DomainResource): "...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
5976b48f4a882bac42ead1b05645367c90e2f149
69bcc45028038351a7f891025df1f8e7d4b855f1
/unsupervised_learning/0x02-hmm/4-viterbi.py
d1b2dad6af9348540262ec79bcaa71f9e3174c85
[]
no_license
linkjavier/holbertonschool-machine_learning
6db799844821d450fed2a33a8819cb8df0fef911
c7b6ea4c37b7c5dc41e63cdb8142b3cdfb3e1d23
refs/heads/main
2023-08-17T21:00:24.182003
2021-09-09T05:47:06
2021-09-09T05:47:06
304,503,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
#!/usr/bin/env python3 """ The Viretbi Algorithm """ import numpy as np def viterbi(Observation, Emission, Transition, Initial): """ Function that calculates the most likely sequence of hidden states for a hidden markov model """ if not isinstance(Observation, np.ndarray) or len(Observation.shape...
[ "linkjavier@hotmail.com" ]
linkjavier@hotmail.com
d574c0c5bff1863e1788e44fe024613dc1f96569
1f21f836d8eaf9e68ef102612787912011dafa4b
/bc_study/two_stock_datafeed.py
e104c8f48858dec4b210c9d1ffb5b05f877e576b
[]
no_license
abcijkxyz/think_in_backtrader
2461b20dc24bff11c1cd2693a74da1a1c28b7bd1
1645a7527d24929a900755186c18efb65b3a1672
refs/heads/main
2023-03-09T06:46:05.943303
2021-02-28T10:26:52
2021-02-28T10:26:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : two_stock_datafeed.py @Time : 2020/11/27 13:33:27 @Author : Jeffrey Wang @Version : 1.0 @Contact : shwangjj@163.com @Desc : 同时读取两个股票DataFeed的示例 读取两个股票的日线数据,每日输出close价格 ''' import backtrader as bt import bc_study.tushare_csv_datafeed as...
[ "shwangjj@163.com" ]
shwangjj@163.com