blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
fe85918273b3ffd9dc2339a9b0f97a381f0ab2db
22f80b809204010da7e8217374a2ca78a5613308
/files/ResourceTools.py
8f03f0628ceb8a13b409ba83e82ad66a8f46bbb8
[ "BSD-3-Clause" ]
permissive
frohro/pysam
23421f506c25e3f2a57ef2533029e64dc856612d
cac4423410d948d886b3f19c83a73ac29ab618ae
refs/heads/master
2021-02-09T03:46:56.540560
2020-03-17T13:32:05
2020-03-17T13:32:05
244,236,139
0
0
BSD-3-Clause
2020-03-01T22:49:09
2020-03-01T22:49:08
null
UTF-8
Python
false
false
6,820
py
import csv import os from collections import defaultdict def TMY_CSV_to_solar_data(filename): """ Format a TMY csv file as 'solar_resource_data' dictionary for use in PySAM. :param: filename: any csv resource file formatted according to NSRDB :return: dictionary for PySAM.Pvwattsv7.Pvwattsv7.S...
[ "dguittet@nrel.gov" ]
dguittet@nrel.gov
11904ef28fb8158f2089b88efb705ee390701ba2
47008724082fd7fa39b87416bcd1d7633e9d8ef7
/04-使用Item封装数据/example/example/pipelines.py
65d9fcd59f07f0c6977eae5bb000f890f65df5e8
[ "Apache-2.0" ]
permissive
gy0109/matser-scrapy-liushuo
1909d5902dcaf9a119a1cbf42dff9c9434fb58cc
99afa51aa30248282bf6d86f8a98a28b086f54ff
refs/heads/master
2020-05-16T09:25:13.429519
2019-04-25T12:34:30
2019-04-25T12:34:30
182,947,663
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class ExamplePipeline(object): def process_item(self, item, spider): return item # pipeline不需要继承什么基类,只需要实现特定的方法...
[ "1974326896@qq.com" ]
1974326896@qq.com
c303cf21bf6d1ff3eeb3773c71c758ca5533d3e5
b4c93bad8ccc9007a7d3e7e1d1d4eb8388f6e988
/ph_locations/migrations/0002_auto_20210319_1358.py
6de5bb1e1c5891f630460b5a245aa21ef859f2f2
[]
no_license
flashdreiv/fis
39b60c010d0d989a34c01b39ea88f7fc3be0a87d
b93277785d6ad113a90a011f7c43b1e3e9209ec5
refs/heads/main
2023-04-02T12:46:32.249800
2021-03-31T00:27:29
2021-03-31T00:27:29
343,431,800
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
# Generated by Django 3.1.7 on 2021-03-19 05:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ph_locations', '0001_initial'), ] operations = [ migrations.AddField( model_name='city', ...
[ "dreivan.orprecio@gmail.com" ]
dreivan.orprecio@gmail.com
6b172bfdaa735bf76829cc5489e174778ff42719
0910e259a9bd252300f19b2ff22049d640f19b1a
/keras1/keras29_LSTM_ensemble2_differ.py
d841844016d8c7af269a3cb1dde3aa105b767905
[]
no_license
kimtaeuk-AI/Study
c7259a0ed1770f249b78f096ad853be7424a1c8e
bad5a0ea72a0117035b5e45652819a3f7206c66f
refs/heads/master
2023-05-05T12:34:52.471831
2021-05-22T16:16:12
2021-05-22T16:16:12
368,745,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,932
py
#2개의 모델을 하나는 LSTM, 하나는 DENSE로 #앙상블로 구현 # 29_1번 과 성능 비교 import numpy as np import tensorflow as tf x1 = np.array([[1,2,3], [2,3,4], [3,4,5], [4,5,6], [5,6,7], [6,7,8], [7,8,9], [8,9,10], [9,10,11], [10,11,12], [20,30,40], [30,40,50], [40,50,60]]) x2 = np.array([[10,20,30],[20,30,40],[30,40,50],[40,50,60],[50,60,70]...
[ "ki3123.93123@gmail.com" ]
ki3123.93123@gmail.com
19c5bac30dc1812153c6ada47917d8a1ad43f1cf
a4cfe8b47d3da97d335b210994fe03f8aa5b2f77
/vint/linting/config/config_project_source.py
0869f9ee8a02f71819a20b3062f265425bec19e2
[ "MIT" ]
permissive
blueyed/vint
e6e7bbbf43a7b337f60d05d768d424fe400d40d8
9ae019d6e7863a4c9634faa39b9b75111dd2ad36
refs/heads/master
2021-01-13T16:40:04.962921
2016-12-22T12:00:45
2016-12-22T12:00:45
78,246,540
0
0
null
2017-01-06T23:28:35
2017-01-06T23:28:35
null
UTF-8
Python
false
false
805
py
from pathlib import Path from vint.asset import get_asset_path from vint.linting.config.config_file_source import ConfigFileSource PROJECT_CONFIG_FILENAMES = [ '.vintrc.yaml', '.vintrc.yml', '.vintrc', ] VOID_CONFIG_PATH = get_asset_path('void_config.yaml') class ConfigProjectSource(ConfigFileSource): ...
[ "yuki.kokubun@mixi.co.jp" ]
yuki.kokubun@mixi.co.jp
0eea1f221c0a6316a2eed2457dffd111f15c8a0b
16e69196886254bc0fe9d8dc919ebcfa844f326a
/edc/core/bhp_content_type_map/migrations/0005_update_module_name.py
67a886c53b822966a1fc216991741f16ccb05bd3
[]
no_license
botswana-harvard/edc
b54edc305e7f4f6b193b4498c59080a902a6aeee
4f75336ff572babd39d431185677a65bece9e524
refs/heads/master
2021-01-23T19:15:08.070350
2015-12-07T09:36:41
2015-12-07T09:36:41
35,820,838
0
0
null
null
null
null
UTF-8
Python
false
false
3,009
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." # Note: Remember to use orm['appname.ModelName'] rather than "from appname.mo...
[ "ew2789@gmail.com" ]
ew2789@gmail.com
4404bba47db646d9416036a3aa8e535334e7902f
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4060/codes/1684_1100.py
47661cdbda903bedb36e8d7ab2f89e70b5985e55
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
541
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Ao testar sua solução, não se limite ao caso de exemplo. a=int(input("Entrada: ")) print("Entrada:",a) if((a!=2)and(a!=5)and(a!=10)and(a!=20)and(a!=50)and(a!=100)): print("Animal: Invalido") elif(a==2): print("An...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
fc1fa4990f3eb7c426991f2e920afe5ac67e8b2a
150d9e4cee92be00251625b7f9ff231cc8306e9f
/ReverseWordsIII.py
35bceae2ed4be0c631984cf4c703decb182946b7
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
''' 557. Reverse Words in a String III Given a string s, reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. Example 1: Input: s = "Let's take LeetCode contest" Output: "s'teL ekat edoCteeL tsetnoc" Example 2: Input: s = "God Ding" Output: "doG ...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
5972e9b3b763273f9a652d66f3d080b66c693961
6dedbcff0af848aa979574426ad9fa3936be5c4a
/cengal/parallel_execution/coroutines/coro_standard_services/remote_nodes/versions/v_0/request_class_info.py
fb2ff414d2289c06f43f46ac97d35a61e59d0cfe
[ "Apache-2.0" ]
permissive
FI-Mihej/Cengal
558d13541865e22006431bd1a1410ad57261484a
d36c05f4c90dfdac7296e87cf682df2f4d367e4b
refs/heads/master
2023-06-08T00:39:39.414352
2023-06-05T21:35:50
2023-06-05T21:35:50
68,829,562
10
1
null
null
null
null
UTF-8
Python
false
false
6,043
py
#!/usr/bin/env python # coding=utf-8 # Copyright © 2012-2023 ButenkoMS. All rights reserved. Contacts: <gtalk@butenkoms.space> # # 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:...
[ "gtalk@butenkoms.space" ]
gtalk@butenkoms.space
c7be3da8472cb8def0f76e0cac71b79a7063ba14
c829275111b9025dcccc9ac1b92d8dc51adbb71d
/photo/urls.py
4fec7ab88e9eb5f629a088b997138a2b641ed5cb
[ "MIT" ]
permissive
Ken-mbira/PHOTO_BOOK
f1bd1bd65af228b0600bf69da12840897eb109ad
d47cd8dabd4b92e3befdafe2d99db266be31ffff
refs/heads/master
2023-08-19T06:55:07.309342
2021-10-12T11:05:00
2021-10-12T11:05:00
414,297,623
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from django.urls import path from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ path('',views.index,name = 'home'), path('images/',views.images,name = 'images'), path('images/<int:pk>',views.image_spec,name = 'image'), path('category/<int:p...
[ "ken.mbira@student.moringaschool.com" ]
ken.mbira@student.moringaschool.com
20cf30291dd3e1ce42e9eac92e98cb83666fbc14
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/946.py
08e5a7f4e305aa8dfddd5a773566d9bdd70744e5
[ "MIT" ]
permissive
jxhangithub/leetcode
5e82f4aeee1bf201e93e889e5c4ded2fcda90437
0de1af607557d95856f0e4c2a12a56c8c57d731d
refs/heads/master
2022-05-22T12:57:54.251281
2022-03-09T22:36:20
2022-03-09T22:36:20
370,508,127
1
0
MIT
2022-03-09T22:36:20
2021-05-24T23:16:10
null
UTF-8
Python
false
false
392
py
class Solution: def validateStackSequences(self, pushed, popped): """ :type pushed: List[int] :type popped: List[int] :rtype: bool """ arr, i = [], 0 for num in pushed: arr.append(num) while arr and arr[-1] == popped[i]: ...
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
f2a2c09d102ebb4c12b5678990d4b07e6fa71280
16eaa90eec58137c7cf0e429e574499d00ee21f2
/apps/manga/models/manga.py
325ffa9c350f2a247de6aad14b844a1d38c33887
[ "MIT" ]
permissive
eliezer-borde-globant/lemanga
53c48f91f5df4671c1653ab927acab3c95097468
57c799804754f6a91fd214faac84d9cd017fc0c4
refs/heads/master
2023-02-16T23:25:49.889702
2020-12-28T17:27:49
2020-12-28T17:27:49
322,420,102
0
0
MIT
2020-12-17T23:10:32
2020-12-17T21:43:56
null
UTF-8
Python
false
false
748
py
from __future__ import unicode_literals import uuid from django.core.urlresolvers import reverse_lazy from django.db import models from django.utils.encoding import python_2_unicode_compatible from autoslug import AutoSlugField @python_2_unicode_compatible class Manga(models.Model): id = models.UUIDField(prim...
[ "leonardoorozcop@gmail.com" ]
leonardoorozcop@gmail.com
528f4f027317f1d22c63b7a145d3182c87daa77f
86fc644c327a8d6ea66fd045d94c7733c22df48c
/scripts/managed_cpe_services/customer/single_cpe_dual_wan_site/single_cpe_dual_wan_site_services/cpe_primary_wan/end_points/bgp_peers/service_customization.py
7e389e7294aa0bde9644faa5fec5bf5a73b91948
[]
no_license
lucabrasi83/anutacpedeployment
bfe703657fbcf0375c92bcbe7560051817f1a526
96de3a4fd4adbbc0d443620f0c53f397823a1cad
refs/heads/master
2021-09-24T16:44:05.305313
2018-10-12T02:41:18
2018-10-12T02:41:18
95,190,459
0
0
null
null
null
null
UTF-8
Python
false
false
5,162
py
# # This computer program is the confidential information and proprietary trade # secret of Anuta Networks, Inc. Possessions and use of this program must # conform strictly to the license agreement between the user and # Anuta Networks, Inc., and receipt or possession does not convey any rights # to divulge, reproduce,...
[ "sebastien.pouplin@tatacommunications.com" ]
sebastien.pouplin@tatacommunications.com
33342edc351835d96fc30b2229c64f36d1195aa5
0e25538b2f24f1bc002b19a61391017c17667d3d
/storefront/win_sfstore.py
182c135f774ac6bf02adb5b401eac608aa296006
[]
no_license
trondhindenes/Ansible-Auto-Generated-Modules
725fae6ba9b0eef00c9fdc21179e2500dfd6725f
efa6ac8cd2b545116f24c1929936eb8cc5c8d337
refs/heads/master
2020-04-06T09:21:00.756651
2016-10-07T07:08:29
2016-10-07T07:08:29
36,883,816
12
2
null
null
null
null
UTF-8
Python
false
false
2,533
py
#!/usr/bin/python # -*- coding: utf-8 -*- # <COPYRIGHT> # <CODEGENMETA> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, ...
[ "trond@hindenes.com" ]
trond@hindenes.com
abf55a6e89c418a0d6cb8142f1025f77d7a05d97
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/binarysearch/Generate-Primes/Generate-Primes.py
732a67fc393a9520ae82b86615fcb9d57bfa042b
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
538
py
# https://helloacm.com/teaching-kids-programmaing-generate-prime-numbers-using-sieve-of-eratosthenes-algorithms/ # https://binarysearch.com/problems/Generate-Primes # EASY, MATH class Solution: def solve(self, n): isPrimes = [False] * 2 + [True] * (n - 1) i = 2 while i * i <= n: ...
[ "noreply@github.com" ]
DoctorLai.noreply@github.com
7e9bc8c8ada0baa06ab47fa561af1ba9a1656353
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Uranium/UM/Scene/GroupDecorator.py
683f4d0b12d57e068187742b233f7f8283baa708
[ "GPL-3.0-only", "LGPL-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,777
py
from UM.Scene.SceneNodeDecorator import SceneNodeDecorator from UM.Scene.Selection import Selection from typing import TYPE_CHECKING, Optional if TYPE_CHECKING: from UM.Scene.SceneNode import SceneNode class GroupDecorator(SceneNodeDecorator): def __init__(self, remove_when_empty: bool = True) -> None: ...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
2f9bce858147dcf1996bd5661690506c4d32d259
d7fe33ef0959cf8d319db5e8c9d08b22ac100f50
/04_tavli/main/iso.py
0702a8fc0b4e479c0242e8db766984c6c5095ffb
[ "MIT" ]
permissive
georstef/GoogleAppEngine
79aaa3a969457ea318c4d5e50258d7b424dff7cc
008845ec768926513b1e5219267ea12e184cf3be
refs/heads/master
2020-04-20T21:34:29.654551
2014-08-03T11:07:04
2014-08-03T11:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,179
py
# coding: utf-8 ISO_3166 = { 'AF': 'Afghanistan', 'AX': 'Åland Islands', 'AL': 'Albania', 'DZ': 'Algeria', 'AS': 'American Samoa', 'AD': 'Andorra', 'AO': 'Angola', 'AI': 'Anguilla', 'AQ': 'Antarctica', 'AG': 'Antigua and Barbuda', 'AR': 'Argentina', 'AM': 'Armenia', ...
[ "georstef@gmail.com" ]
georstef@gmail.com
85566a279360d8fee75c2ed3b6a5c4fe6426afc1
30d360f965253167c99f9b4cd41001491aed08af
/PTFE_code/integrate_profile.py
4ba0587d6305af16574d6b5b2d36c2e9a6d5dba3
[]
no_license
petervanya/PhDcode
d2d9f7170f201d6175fec9c3d4094617a5427fb5
891e6812a2699025d26b901c95d0c46a706b0c96
refs/heads/master
2020-05-22T06:43:47.293134
2018-01-29T12:59:42
2018-01-29T12:59:42
64,495,043
1
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
#!/usr/bin/env python """Usage: integrate_profile.py <profile> <d> [--L <L>] [AD HOC] Load 1d water profile and integrate volume of water in polymer and in electrodes. Arguments: <file> Water profile, columns [r, f] <d> Slab width in nm Options: --L <L> Box size in DPD units [default: 40] 09...
[ "peter.vanya@gmail.com" ]
peter.vanya@gmail.com
0bea389e510b7977e448170db9a97655fd4abd53
7b4e9342d42be2b55af5dc23a8abedd672d68e99
/MobileApps/libs/flows/mac/smart/screens/printersettings/printer_from_other_devices.py
96ab7c3b1a277a1e82cb0c00364ddd13f515ba52
[]
no_license
Amal548/QAMA
af5bb335c92a90b461f1ee9a3870435d83d46802
b5230c51d3bc7bb04b3448d1a1fe5a076d8898d5
refs/heads/master
2023-07-12T09:17:04.624677
2021-08-06T08:01:11
2021-08-06T08:01:11
389,595,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
# encoding: utf-8 ''' Description: It defines the operations of element and verification methods on the printer from other devices screen. @author: Sophia @create_date: Sep 18, 2019 ''' import logging from MobileApps.libs.flows.mac.smart.screens.smart_screens import SmartScreens from MobileApps.libs.flows.mac.smart....
[ "amal.muthiah@hp.com" ]
amal.muthiah@hp.com
89dece8d86d548eb18d50cf9020cc5d85d9c4d93
4b4d21f6a2aaf8cb0ece595e4aaf9cb705ffdd49
/marketing_message/controllers/controllers.py
c83db22f29b37ed9ac02bcf44de219ae2e23a33a
[]
no_license
sc4you/odoo-project-10.0
e8c82b4cd42c0672e996561e75e0f9d0717821fa
bca7e400b6316bcbcefe6f0d088cb97a28f644bb
refs/heads/master
2020-03-21T13:41:08.042847
2018-05-15T07:41:58
2018-05-15T07:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,270
py
# -*- coding: utf-8 -*- import babel.dates import time, json from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta import werkzeug.urls from werkzeug.exceptions import NotFound import random from odoo import http from odoo import tools from odoo.http import request from odoo.tools.t...
[ "guwenfengvip@163.com" ]
guwenfengvip@163.com
0961c7df4a2719e2dfeeece2c5a57cf3f59e263c
2cb507ecd6629b9ff457a36e462f987913d94c1a
/python核心技术与实战/23/gil.py
f3ccf2898fadf6e776549b48a927183257a39720
[ "Apache-2.0" ]
permissive
youaresherlock/PythonPractice
6869e0a5949675198826e5a07552237a636d6f5b
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
refs/heads/master
2021-08-16T03:09:44.203035
2021-08-02T07:40:00
2021-08-02T07:40:00
146,625,560
0
1
null
null
null
null
UTF-8
Python
false
false
1,159
py
#!usr/bin/python # -*- coding:utf8 -*- import time from threading import Thread import sys import threading # 单线程版 def CountDown(n): while n > 0: n -= 1 if __name__ == "__main__": n = 3000000 start_time = time.perf_counter() CountDown(n) end_time = time.perf_counter() print("n = {}...
[ "2263194561@qq.com" ]
2263194561@qq.com
58ce61b7f582ce7941345cabdd91cbb99c06692c
78ee2d20722287f547c406a1cff1efc36d020ba3
/flare_portal/versioning.py
b5ae7e3705b2d24587dd22d5d6233ad8eded23e8
[ "MIT" ]
permissive
flare-kcl/flare-portal
db660b4ccc39a6f125d548fc9efb21026f097563
a1cef9d22ba3f1bafac55bb6ee1c8223425101dd
refs/heads/main
2023-07-24T10:00:27.807734
2022-07-19T02:08:38
2022-07-19T02:08:38
305,943,258
1
2
MIT
2023-07-03T14:40:33
2020-10-21T07:30:12
Python
UTF-8
Python
false
false
2,608
py
"""Provides functions to fetch versions from Git Copied from Raven Python https://github.com/getsentry/raven-python/blob/d7d14f61b7fb425bcb15512f659626648c494f98/raven/utils/compat.py """ import os.path class InvalidGitRepository(Exception): pass def fetch_git_sha(path: str, head: str = None) -> str: """ ...
[ "mixxorz@gmail.com" ]
mixxorz@gmail.com
ea5d5e55d54477a28c3d0d03081e37950effcb73
ca17adac27ce0fc199a111db0e786bdbfd24f849
/02-asyncio-basic/e02-http-server.py
fa21cd3155f88612807884c45b0db4c6eeb30ad7
[]
no_license
genzj/asyncio-training-course
862c1edb19bd3d25cb8a927fdb9942a9838c8d80
34e72a51f79945709fbd496391295e7cd92ec8e1
refs/heads/master
2023-08-08T05:25:01.438483
2023-07-17T08:53:59
2023-07-17T08:59:14
150,000,887
1
2
null
2023-07-25T23:36:11
2018-09-23T16:05:10
Python
UTF-8
Python
false
false
353
py
# -*- encoding: utf-8 -*- from aiohttp import web async def handle(request): name = request.match_info.get('name', "Anonymous") text = "Hello, " + name return web.Response(text=text) app = web.Application() app.add_routes([web.get('/', handle), web.get('/{name}', handle)]) web.run_app(a...
[ "zj0512@gmail.com" ]
zj0512@gmail.com
58f4c40eb8c52f99c0002350e82dc95a31f3baa3
180dc578d12fff056fce1ef8bd1ba5c227f82afc
/official/legacy/transformer/attention_layer.py
fcdce774b03f1b27cdf8350104946a44372bf458
[ "Apache-2.0" ]
permissive
jianzhnie/models
6cb96c873d7d251db17afac7144c4dbb84d4f1d6
d3507b550a3ade40cade60a79eb5b8978b56c7ae
refs/heads/master
2023-07-12T05:08:23.314636
2023-06-27T07:54:20
2023-06-27T07:54:20
281,858,258
2
0
Apache-2.0
2022-03-27T12:53:44
2020-07-23T05:22:33
Python
UTF-8
Python
false
false
7,119
py
# Copyright 2023 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
79700ce48d4aacbecddc068d807ecf3f56d9dc9c
c7a1470d2f6a15265e1f884c86439dc6d98b4484
/LintCode/trie/0442_Implement_Trie_(Prefix_Tree).py
7a674f32a78d465c8b92d461ef3d7d86a6c3d96c
[]
no_license
GuanYangCLU/AlgoTestForPython
5239774fb6c840f3d65c4e4290ce8125fe8c94d3
dddbc8115f69dec636c62c755f02905c469155e0
refs/heads/master
2022-01-19T15:03:54.835403
2021-12-30T02:19:37
2021-12-30T02:19:37
122,312,195
2
1
null
null
null
null
UTF-8
Python
false
false
1,196
py
class TrieNode: def __init__(self): self.children = {} self.isWord = False class Trie: def __init__(self): # do intialization if necessary self.root = TrieNode() """ @param: word: a word @return: nothing """ def insert(self, word): # write your ...
[ "noreply@github.com" ]
GuanYangCLU.noreply@github.com
462ac9a85d6bc6fb7b67357293dc32fc8f1a8490
0f9c9e4c60f28aa00aff8b80e1e4c142c61d24ce
/Python/LeetCode/102_binary_tree_level_order_traversal.py
9bf5ae9c253e87223e6611d5901e3a0a777bd81d
[]
no_license
shouliang/Development
c56fcc69e658393c138b63b507b96c48232128d5
b7e3b02c50d54515e584cb18dff83109224245d0
refs/heads/master
2020-03-22T09:14:51.070228
2019-08-29T02:50:26
2019-08-29T02:50:26
139,825,052
0
0
null
null
null
null
UTF-8
Python
false
false
2,498
py
''' 二叉树按层次遍历 102. Binary Tree Level Order Traversal:https://leetcode.com/problems/binary-tree-level-order-traversal/ 思路: 使用队列这种数据结构:首先根节点进入队列,然后在队列头部弹出节点的同时,将其左右分支依次插入队列的尾部, 直至队列为空 其实这就是图的bfs,但是二叉树就是一种特殊的图 ''' # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): ...
[ "git@git.dxl.cc:node/hunqing.git" ]
git@git.dxl.cc:node/hunqing.git
3703f80c8a35f44e25ab5acfc87a2c94b2001201
876de904572c611b8cbad21f50877cdc812f2946
/Leetcode/529. 扫雷游戏.py
3e649e9aaf806904b938e610485bcf270d5df164
[ "MIT" ]
permissive
QDylan/Learning-
66a33de0e15f26672fb63c0b393866721def27ae
f09e0aa3de081883b4a7ebfe4d31b5f86f24b64f
refs/heads/master
2023-02-08T02:34:26.616116
2020-12-25T05:02:32
2020-12-25T05:02:32
263,805,536
0
0
null
null
null
null
UTF-8
Python
false
false
4,152
py
# -*- coding: utf-8 -*- """ @Time : 2020/8/20 10:17 @Author : QDY @FileName: 529. 扫雷游戏.py @Software: PyCharm """ """ 让我们一起来玩扫雷游戏! 给定一个代表游戏板的二维字符矩阵。'M'代表一个未挖出的地雷,'E'代表一个未挖出的空方块, 'B'代表没有相邻(上,下,左,右,和所有4个对角线)地雷的已挖出的空白方块, 数字('1' 到 '8')表示有多少地雷与这块已挖出的方块相邻,'X'则表示一个已挖出的地雷。 现在给出在所有未挖出的方块中('M...
[ "qdy960411@outlook.com" ]
qdy960411@outlook.com
a3a216ba5eb2add7fd1e92e28f32ec90873d2f02
f7d4993c3f9d840b3505e82567e673de00d91afc
/Code/rearrange.py
95a3ffe7b898c2f242d8bb2a8905229d5b2251a6
[]
no_license
Andre-Williams22/CS-1.2-Intro-Data-Structures
026bb08c219ffcb7bafe43d3ea8426f821d6bc5c
a9effc2257a539456688c408ec4ae9e4d4d67e11
refs/heads/master
2022-12-10T00:12:31.879273
2019-12-12T07:10:33
2019-12-12T07:10:33
216,670,821
0
0
null
2022-09-23T22:30:43
2019-10-21T21:44:10
Python
UTF-8
Python
false
false
1,080
py
import random import sys # a = input('please type a word: ') # b = input('please type a word: ') # c = input('please type a word: ') # d = input('please type a word: ') # e = input('please type a word: ') # words = [] # words.append(a) # words.append(b) # words.append(c) # words.append(d) # words.append(e) # print ...
[ "awjrs22@gmail.com" ]
awjrs22@gmail.com
85d6d96659e6ab8df9179e891d05df56649e2e6d
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N431_Encode_Nary_Tree_To_Binary_Tree.py
29be7e11dec99008b385e8fc593469702e866409
[]
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
1,213
py
""" For any node in the N_ary tree: his first child to Binary Tree's left child all other children will be this first child(left child of BT)'s right child. """ class Node: def __init__(self, val=None, children=None): self.val = val self.children = children class TreeNode: def __init__(...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
88d3dd854018f601e7960c53e13223c135447a52
9db281fbed35bb8384eeacaa81d1a32a9dcc5cca
/class-17/demo/monster-jobs/monster_jobs/scraper.py
0bb9e23c6da0da5a1287792a996e2dcec15b38c1
[]
no_license
corey-marchand/seattle-python-401d14
aab3f48c82229f1958989ce8318de60b9abbe4e2
ae9ffebc9e5250cb5ec1760fd7764da0d3ad4e4c
refs/heads/master
2022-11-15T16:09:37.248530
2020-07-09T19:10:49
2020-07-09T19:10:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
import requests from bs4 import BeautifulSoup # Send a request to Monster webpage URL = 'https://www.monster.com/jobs/search/?q=software-engineer&where=Seattle__2C-WA' response = requests.get(URL) # print(dir(response)) # Extract content content = response.content # Convert to BS object soup = BeautifulSoup(content,...
[ "ahmad.alawad.sf@gmail.com" ]
ahmad.alawad.sf@gmail.com
5397b361705d553e3e3310f32c847b29f535c167
60d5ea4f007d49768d250ef394003f554003e4d0
/python/Depth-first Search/116.Populating Next Right Pointers in Each Node.py
885f028bc97eeb83c99f1867befd8577674b88a1
[]
no_license
EvanJamesMG/Leetcode
dd7771beb119ea1250dbb3b147a09053298cd63b
fa638c7fda3802e9f4e0751a2c4c084edf09a441
refs/heads/master
2021-01-10T17:11:10.896393
2017-12-01T16:04:44
2017-12-01T16:04:44
46,968,756
5
1
null
null
null
null
UTF-8
Python
false
false
1,655
py
# coding=utf-8 ''' Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL. Initially, all next pointers are set...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
83aafba4187bb26dfef831f2cb3ecf91c7677d01
04dddbf04893913b0b24c6c02ebd2672b774a616
/다이나믹 프로그래밍/11052 카드 구매하기.py
565e7ec0c89ae6471533ed01d0209c88d36b7020
[]
no_license
hatssww/BOJ
ca16345dbe24641e1ca5adee136a858a64a080b0
bd7363d5c84de281de9b34667e9c0b76a904cffc
refs/heads/main
2023-05-24T22:23:35.127397
2021-06-08T23:36:40
2021-06-08T23:36:40
370,254,375
0
1
null
null
null
null
UTF-8
Python
false
false
264
py
import sys n = int(sys.stdin.readline()) p = [0] + list(map(int, sys.stdin.readline().split())) d = [0] * (n + 1) d[1] = p[1] for i in range(2, n + 1): for j in range(1, i + 1): if d[i] < d[i - j] + p[j]: d[i] = d[i - j] + p[j] print(d[n])
[ "83650060+hatssww@users.noreply.github.com" ]
83650060+hatssww@users.noreply.github.com
810c374d5845fa02cb9141659fad67f933c09195
3abe7b4d572ae81a8222996821569bf3a684ec14
/text/__init__.py
e9461d87f13166dac13aea90ab80aead3a0ef212
[ "BSD-3-Clause", "MIT" ]
permissive
creotiv/RussianTTS-Tacotron2
6c8defdd5a9cafdd46b71f8006162c4bab586d0f
8ac15eea9450d141cb84d4d1a96b600f43d206c9
refs/heads/master
2023-06-01T09:43:12.209652
2021-06-10T12:54:24
2021-06-10T12:54:24
334,964,314
13
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
""" from https://github.com/keithito/tacotron """ import re from text import cleaners from text.symbols import symbols, ctc_symbols # Mappings from symbol to numeric ID and vice versa: symbol_to_id = {s: i for i, s in enumerate(symbols)} _id_to_symbol = {i: s for i, s in enumerate(symbols)} _ctc_symbole_to_id = {s: i...
[ "creotiv@gmail.com" ]
creotiv@gmail.com
a0af01108c13fc966f89021c5c91150515e97d0d
b9c9215eb12ab8f0dcc4a5d964dc97ac2ad62257
/supervised_learning/0x11-attention/6-multihead_attention.py
76729225e985b407847cb68ae5dc2a513672b6cb
[]
no_license
AndrewMiranda/holbertonschool-machine_learning-1
0318c2f45c863721b478acae26a5a874290e6445
e8a98d85b3bfd5665cb04bec9ee8c3eb23d6bd58
refs/heads/main
2023-01-19T00:34:15.264705
2022-07-25T15:10:43
2022-07-25T15:10:43
386,514,270
0
0
null
2021-07-16T04:58:08
2021-07-16T04:58:07
null
UTF-8
Python
false
false
3,218
py
#!/usr/bin/env python3 """File that conatins the class MultiHeadAttention""" import tensorflow as tf sdp_attention = __import__('5-sdp_attention').sdp_attention class MultiHeadAttention(tf.keras.layers.Layer): """Class that perform multi head attention""" def __init__(self, dm, h): """ Class ...
[ "juand0145@gmail.com" ]
juand0145@gmail.com
0c24daedded2881c22f5beb167c8ee8b0efba4f0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/55/usersdata/112/23295/submittedfiles/av2_p3_civil.py
190a7d9f68a0de2937c3818addab0a1181fc2f81
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np linhas=input('Digite a quandidade de linhas:') a=np.zeros((linhas,linhas)) for i in range (0,a.shape[0],1): for j in range(0,a.shape[1],1): a[i,j]=input('Digite o termo:') print a x=input('Digite a coordenada x da localizaçã...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
181d1d5084af6522c9e3c33e95be5e086608176e
a38b4c82feabe5be163ad2eeb5a46f38aeb88d77
/regressions/checkPageRank.py
6980c594526fb6e07683fdcf02458c065697e1c9
[ "Apache-2.0" ]
permissive
zzmjohn/vertexAPI2
a9ae240c2fde55dc5be4a96f0017e8a2e204b258
cf59a50d1239f3ea892a7473f8175958c7ac0051
refs/heads/master
2020-12-29T01:23:04.602915
2013-12-16T18:32:17
2013-12-16T18:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
#!/usr/bin/python2 #script to compare pagerank outputs import sys from math import fabs #load ranks for file fn def load( f ): ret = {} for line in f: vid, val = line.strip().split() ret[ int(vid) ] = float(val) return ret def compare( tol_vals, tol_allowed, test, gold ): histo_counts = [0] * (len(...
[ "a@b.c" ]
a@b.c
b5aab17911c032c7a93a159e063628fc4536e61e
bcb56cc126ea1885eb5ecc920884e2e331def045
/Part A/Déjà Vu.py
a510d4a81463d13148adb3624a1c08c02197962b
[]
no_license
priyanshkedia04/Codeforces-Solutions
2d11cb7b8329fe658f983b7212c17fc89fd784f0
a5197c633bf4c3238f48bfb5b308144c2ffba473
refs/heads/main
2023-06-06T13:10:13.787843
2021-07-01T14:06:52
2021-07-01T14:06:52
382,000,707
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
for i in range(int(input())): s = input() temp1 = s + 'a' temp2 = 'a' + s if temp2 != temp2[::-1]: print('YES') print(temp2) elif temp1 != temp1[::-1]: print('YES') print(temp1) else: print('NO')
[ "noreply@github.com" ]
priyanshkedia04.noreply@github.com
7e79b503b18d0387b9dfa5034bb0f9a4e2e53d84
48d1002394d233cf5932c7ef69300400af79118a
/examples/widgets/effectwidget.py
aeaf2d149fa96c8762405a9a404318773e80f479
[ "LGPL-2.1-only", "MIT", "Apache-2.0" ]
permissive
kivy/kivy
ba2668bffe4e125fd1c5aace54f671343802850e
ca1b918c656f23e401707388f25f4a63d9b8ae7d
refs/heads/master
2023-09-04T02:27:05.311875
2023-08-26T08:00:20
2023-08-26T08:00:20
1,049,095
16,076
4,161
MIT
2023-09-09T07:55:18
2010-11-03T20:27:32
Python
UTF-8
Python
false
false
5,485
py
''' Example usage of the effectwidget. Currently highly experimental. ''' from kivy.app import App from kivy.uix.effectwidget import EffectWidget from kivy.uix.spinner import Spinner from kivy.uix.boxlayout import BoxLayout from kivy.lang import Builder from kivy.properties import ObjectProperty from kivy.uix.effect...
[ "alexanderjohntaylor@gmail.com" ]
alexanderjohntaylor@gmail.com
219cef7e0bdb3c19ef844fd2b9f31656dcc58f07
2817ecd7e48c4decba12ee76e451727c1a6acf14
/scripts/legacy/survey_distribution.py
645981e58fef1bc3a1c76cafe786360c095677dc
[]
no_license
schwa-lab/sharingnews
6fcef71c16a03fb3a4a56c11322ba5c8ceb59582
81c87176c7b37511f15a97189f03d90d5074d0fb
refs/heads/master
2021-01-16T21:46:23.108811
2018-02-12T06:33:30
2018-02-12T06:33:30
26,195,626
3
0
null
2018-02-12T06:33:16
2014-11-05T00:39:40
Python
UTF-8
Python
false
false
3,985
py
from __future__ import print_function, division from collections import Counter, defaultdict import operator from likeable.cleaning import strip_subdomains MONTH_FIELD = 1 def get_status_binary(l): status = l[8] if status == '200': return True else: return False def get_status_group(l)...
[ "joel.nothman@gmail.com" ]
joel.nothman@gmail.com
495ba133d20be9696a894db3f3accc2f2fd82015
326c6ad82d59bb7509c02c76695ea9035993da70
/lib/modules/powershell/lateral_movement/invoke_psremoting.py
4680387727765b745328f6c6d9f005817ee6c58e
[ "BSD-3-Clause" ]
permissive
Arvanaghi/Empire
0c08bd7ddfba9be10e96bb0834b8ce3bc829059b
fd168ebf8acb1c2ee59d56f2c393ebd7a297603e
refs/heads/master
2021-01-20T14:15:34.864581
2017-08-05T17:51:44
2017-08-05T17:51:44
99,435,848
2
0
null
2017-08-05T16:50:16
2017-08-05T16:50:16
null
UTF-8
Python
false
false
5,441
py
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Invoke-PSRemoting', 'Author': ['@harmj0y'], 'Description': ('Executes a stager on remote hosts using PSRemoting.'), 'Background' : False, ...
[ "will@harmj0y.net" ]
will@harmj0y.net
ac49ac9a742dde207c205fdf63ceaf884a3a20e3
70ed9ef2867b2c0ca96596f8fdd75c31af5ac116
/build/lib/ArticleSpider/zheye/__init__.py
83954ea69947cd42adcc0f1dd46ef9f117c78f71
[]
no_license
nanmuyao/ArticleSpider
b24aef4bbd761951dd1bd450e49de8f40c96f289
a75cfaa028b1717636866b5833cdcaa29a2ec43a
refs/heads/master
2021-07-24T16:16:20.597430
2017-11-05T08:01:53
2017-11-05T08:01:53
109,280,103
1
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Recognizing class from sklearn.mixture import GaussianMixture from PIL import Image from ArticleSpider.zheye import util import numpy as np class zheye: def __init__(self): ''' load model ''' import os import keras full_path = os.pat...
[ "1558249222han@gmail.com" ]
1558249222han@gmail.com
0db2aa9ff306478ee3e5479f7c42bd343136846d
795f0081004920c15c178c43b00432cb8e7ca586
/controller/src/object_detection.py
3d2d3f1083a94ede6cb0ff9622c6d4a24be2a5ba
[]
no_license
60alex60/ECE140aLab6
e6e9985a07e5615a5678d817cdfb031802322425
f966af1d7aa87ab9f602bd3ad3f4cdea13ee7421
refs/heads/master
2023-04-05T15:31:52.014565
2021-03-05T05:41:31
2021-03-05T05:41:31
353,224,446
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
import numpy as np import cv2 import time class ImgProc(): def __init__(self): # read pre-trained model and config file self.net = cv2.dnn.readNet("object_detection/yolov4-tiny.weights", "object_detection/yolov4-tiny.cfg") # read class names from text file self.classes = None with open("object_...
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
fc65babef9b7d7077b94f35d2c17bcd73e6ea202
ac305c6739541e84857e297f8eb1b19417978548
/78.py
669cd4df43e886cd23adf6230f54103530d8dd28
[]
no_license
imhardikj/git_test
d6608d6c02e0bc454f9dd31ffbbc5704a7046a61
43f0de2e9ac09ecd4fdfee27879fd8ae354a0685
refs/heads/master
2020-03-27T21:56:46.394739
2018-09-03T11:27:58
2018-09-03T11:27:58
147,189,474
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
def greet_user(username): """Display a simple greeting.""" print("Hello, " + username.title() + "!") greet_user('jesse')
[ "noreply@github.com" ]
imhardikj.noreply@github.com
b92c943549a132c92ed17f40a08639a3e024897f
106983cf0b8df622f514ecff2bb2fa4c794c9dac
/Misc/Raspberry Pi Things/Motors/stringComparison.py
c9d425c4e5b4eeabd02957268eb17c72dcf90889
[]
no_license
michael5486/Senior-Design
2d9ae521c637abf7c0825f85b32752ad61c62744
6b6c78bed5f20582a9753a9c10020c709d6b6e53
refs/heads/master
2021-01-19T09:58:35.378164
2017-05-26T17:17:13
2017-05-26T17:17:13
67,556,475
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
testVar = None run = True while run == 1: testVar = raw_input("Ask user for something.\n") if testVar == "exit": run = False print "System Exiting..." else: print testVar
[ "michael5486@gmail.com" ]
michael5486@gmail.com
5b9c1aae3f26483755e82ecbe9dbc62f68a649ff
9a343c495459e79dc408a102730bcaeac7fa8886
/chapter9/SuperMattAdmin/ModelForm/urls.py
e330642ce8f8b5b0fcd8f30304a21a71719bd6f6
[ "MIT" ]
permissive
MMingLeung/Python_Study
62d3ae92bf6760de0804aa5792f53fb3799486a2
4ff1d02d2b6dd54e96f7179fa000548936b691e7
refs/heads/master
2022-12-27T12:53:05.186800
2018-03-07T04:34:36
2018-03-07T04:34:36
92,124,981
3
1
MIT
2021-06-10T18:35:33
2017-05-23T03:28:52
JavaScript
UTF-8
Python
false
false
1,316
py
"""ModelForm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "mingmingleung1991@gmail.com" ]
mingmingleung1991@gmail.com
a14a08ab5d69e160bff8619e5fa0c565a6878d76
03b30e760f571e309ab1539edbc24ce0ff47c141
/cyly/test1.py
0ee1339e5bbd9f9f590df225b40d8211bac483c9
[]
no_license
latata666/newcoder
548f32ab3acd75b592ce7f7b399ecdf340e747d8
e9206ab924899a2985bece312777e3b5d55c6f60
refs/heads/master
2022-12-12T22:46:03.255804
2020-08-31T02:27:17
2020-08-31T02:27:17
263,274,517
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# -*- coding: utf-8 -*- # @Time : 2020/5/15 10:41 # @Author : Mamamooo # @Site : # @File : test1.py # @Software: PyCharm """ """ import logging # create logger with 'spam_application' logger = logging.getLogger('spam_application') logger.setLevel(logging.DEBUG) # create file handler which logs even debug messages f...
[ "aslovc@gmail.com" ]
aslovc@gmail.com
856e9c0036931f4496353a90a125e2e2e94829e8
95aa5a5c10ad18195d7f92e37265d9dff06debe6
/synapse/tools/server.py
55efd5ecbd42ae28f7f5bd3ea0aa56bb306baf18
[ "Apache-2.0" ]
permissive
drstrng/synapse
2679f7c23221ad7d8fd2fbb4745bdcd5275843da
3901f17601821aa0e8b6de4de434309d465fbba2
refs/heads/master
2021-01-17T22:02:29.833824
2015-09-01T18:56:57
2015-09-01T18:56:57
40,968,669
0
0
null
2015-08-18T11:40:51
2015-08-18T11:40:50
Python
UTF-8
Python
false
false
1,358
py
import sys import argparse import importlib import synapse.link as s_link import synapse.cortex as s_cortex import synapse.daemon as s_daemon def main(argv): p = argparse.ArgumentParser(prog='server') p.add_argument('--initmod',help='python module name for daemon init callback') p.add_argument('--cortex'...
[ "invisigoth@kenshoto.com" ]
invisigoth@kenshoto.com
83fb210fa070a1486e7d0d70933f5079a00249e4
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/raw/GLES2/EXT/sRGB.py
8f6425aa57802b0bcff7a9f104b0879ff0ac08bc
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p from OpenGL.constant import Constant as _C # Code generation uses this # End users want this... from OpenGL.raw.GLES2 import _errors _EXTENSION_NAME = 'GLES2_EXT_sRGB' def _f(function): return _p.createFunction(function, _...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
ce7936e9279838ce773a5d1c8ec644b1ab44048f
ce55c319f5a78b69fefc63595d433864a2e531b5
/前后端分离-vue-DRF/Projects-lenongke/LNK/apps/users/signals.py
43a056d613cf142a3a112d980f3a8db7cfac5f0d
[]
no_license
Suijng/1809_data
a072c875e8746190e3b715e53f1afe3323f4666b
45f8a57089f5c30ccc1a3cddb03b76dc95355417
refs/heads/master
2022-12-21T12:38:30.458291
2019-09-27T01:14:41
2019-09-27T01:14:41
211,207,071
0
0
null
2022-11-22T03:16:18
2019-09-27T00:55:21
HTML
UTF-8
Python
false
false
579
py
# post_save Django中的model对象保存后,自动触发 from django.db.models.signals import post_save from django.dispatch import receiver from django.contrib.auth import get_user_model # 获取用户模型 User = get_user_model() @receiver(post_save,sender=User) # 监控用户User模型 def create_user(sender,instance=None,created=False,**kwargs): # cre...
[ "1627765913@qq.com" ]
1627765913@qq.com
99bdd4f3712583d0eca467f97b1c076141596f60
7edafb8e10c31bffd12420a4cee61d0a841fd226
/YunluFramework/public/handle/renmai/RENMAIHANDLE5.py
c53467af7c700dc0002bde67039eec60351ee5c0
[]
no_license
xiao2912008572/Appium
ca11d2cf82f9dcc051e9b719eb09f862f07621bf
3931957a8ae9b4ee2acc13ae4aba0ba46b6d842b
refs/heads/master
2021-01-21T12:27:36.243484
2018-09-12T09:25:35
2018-09-12T09:25:35
102,071,447
8
2
null
null
null
null
UTF-8
Python
false
false
9,492
py
__author__ = 'Administrator' from YunluFramework.public.handle.renmai.RENMAIHANDLE4 import RENMAIHANDLE4 class RENMAIHANDLE5(RENMAIHANDLE4): #*********************************【PAGE4】人脉首页-搜索-标签列表-点击进入群聊-设置:RMSY_search_label_groupchat_menu_setting********************************* #定位:人脉首页-搜索-标签列表-点击进入群聊-设置-群头像:点击 ...
[ "291008572@qq.com" ]
291008572@qq.com
1489a49a4e6ccd3697af23f1e682ca9574953838
efe6c52938fe5c7a259514ad317484057edfeff7
/tube/models.py
7526f1fa46150f5b12037f9489d41f329289eb0d
[]
no_license
seiya0723/video_site_02
69413879248a2cc314dd5c83c9bedb564e170aba
5ffcccb1f64b83bb3bf1c9bfd42c9896ff28eb85
refs/heads/master
2023-03-31T21:02:25.877950
2021-04-14T00:45:14
2021-04-14T00:45:14
357,728,585
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from django.db import models from django.utils import timezone class Video(models.Model): class Meta: db_table = "video" title = models.CharField(verbose_name="タイトル", max_length=30) comment = models.CharField(verbose_name="動画説明文", max_length=2000) dt = models.DateTimeField(...
[ "seiya@asahina" ]
seiya@asahina
bfba43a40c44ed33df829ed9cd1755d9c69e70f7
736250d9d14552c5fa0aca25b25d9c8a28fcd1a0
/sssionpro/manage.py
3b9b39fa5263b2fcca0a11cb1b35b13a433a6d39
[]
no_license
maheswatapradhan/feedback
57f052a2082902cb8a72b474e0b863b7a00d1c9c
31c7dcb113a38e29b3a56481fcb9ae2fce7d61a2
refs/heads/master
2020-09-15T23:42:32.041306
2019-11-23T12:54:25
2019-11-23T12:54:25
223,585,900
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sssionpro.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "test@test.com" ]
test@test.com
e5c3105a3f2f825626898ed2c619b599f820a0e9
f1a8e308c76866e2fba20401e6f1d5842dd60c46
/Algorithms and Data Structures Practice/LeetCode Questions/Greedy/TieRopes.py
0ca4144df73641761d8095f25ec57753846b4744
[]
no_license
harman666666/Algorithms-Data-Structures-and-Design
6e5da0c1f701e7dfc7b045ecd1209463131d3fc7
483f0c93faca8ccaf038b77ebe2fa712f6b0c6bc
refs/heads/master
2021-07-14T10:11:27.588838
2021-07-07T01:47:42
2021-07-07T01:47:42
101,330,760
3
1
null
2018-10-15T04:52:07
2017-08-24T19:32:03
Python
UTF-8
Python
false
false
2,234
py
''' There are N ropes numbered from 0 to N − 1, whose lengths are given in an array A, lying on the floor in a line. For each I (0 ≤ I < N), the length of rope I on the line is A[I]. We say that two ropes I and I + 1 are adjacent. Two adjacent ropes can be tied together with a knot, and the length of the tied rope is ...
[ "harman.j.singh@hotmail.com" ]
harman.j.singh@hotmail.com
685fda18ad8cf4719f324feb24e823122bb0d341
795df757ef84073c3adaf552d5f4b79fcb111bad
/stochastic_diffusion/diffusivity_1d_xk.py
62a6b21a6bbb4ecffa0bba1ee3ca9d405324092c
[]
no_license
tnakaicode/jburkardt-python
02cb2f9ba817abf158fc93203eb17bf1cb3a5008
1a63f7664e47d6b81c07f2261b44f472adc4274d
refs/heads/master
2022-05-21T04:41:37.611658
2022-04-09T03:31:00
2022-04-09T03:31:00
243,854,197
3
0
null
null
null
null
UTF-8
Python
false
false
4,885
py
#! /usr/bin/env python3 # def diffusivity_1d_xk ( dc0, m, omega, n, x ): #*****************************************************************************80 # ## DIFFUSIVITY_1D_XK evaluates a 1D stochastic diffusivity function. # # Discussion: # # The 1D diffusion equation has the form # # - d/dx ( DC(X) Del U(X...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
f4f21fb5b2c269df3326b786e78e6edc3d4fb923
5b002b82b025ee371432b436a0c19b000a0df2dd
/setup.py
93cb4423f1905fc32138f022a24043d62d1e8831
[ "Apache-2.0" ]
permissive
mvexel/whathappened
c5bfeeb1f41b20cd2f5f4c7782412a39090868b2
92805128d2a01909d89fca0650b585d8cac256e0
refs/heads/master
2021-01-19T09:10:53.189344
2017-04-10T00:05:24
2017-04-10T00:05:24
87,735,951
2
0
null
null
null
null
UTF-8
Python
false
false
220
py
from setuptools import setup setup( name='whathappened', packages=['whathappened'], include_package_data=True, install_requires=[ 'flask', 'requests', 'gunicorn==19.7.0' ], )
[ "m@rtijn.org" ]
m@rtijn.org
a1eeaddd15d2c948ed131f7a126f1ce98e9c1c6c
c8f023c1e2c9ecb9ffe328044ef3f013de0857a7
/src/apps/authentication/views.py
2523e22d739640c45818632c83a2d47a605d0269
[ "MIT" ]
permissive
snicoper/django-boilerplate
851932459fca8b4a6c9220d8ad3ca8f94b14b7a2
88cc24c3a2e935fd1be139368288cae6c38679e4
refs/heads/master
2021-01-18T18:40:36.633342
2018-10-15T07:54:59
2018-10-15T07:54:59
29,604,293
1
1
null
null
null
null
UTF-8
Python
false
false
7,839
py
from django.conf import settings from django.contrib import messages from django.contrib.auth import get_user_model, views from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.sites.shortcuts import get_current_site from django.shortcuts import get_object_or_404, redirect, render from django.ur...
[ "snicoper@gmail.com" ]
snicoper@gmail.com
18cca05e8062f4f535054f5fd1a51304be50beb2
052275c2dd6d59a0d0fcfe85591b44106343662b
/listings/urls.py
a3b13c17beedfeffab4f7f72383dfe1ae84efa0b
[]
no_license
nimadorostkar/Django-Real-Estate
93d104ad1847674103e525ae428af186fffa9e30
bf868e49bb4703e4081d8e7e9fd5e3ae23fc9af9
refs/heads/master
2023-08-10T17:07:29.829253
2021-09-19T10:55:47
2021-09-19T10:55:47
338,533,461
23
9
null
null
null
null
UTF-8
Python
false
false
281
py
from django.urls import path from .views import (ListingListView, ListingDetailView, search) urlpatterns = [ path('', ListingListView.as_view(), name='listings'), path('<int:pk>', ListingDetailView.as_view(), name='listing'), path('search', search, name='search'), ]
[ "nimadorostkar97@gmail.com" ]
nimadorostkar97@gmail.com
0efcee193c5cdeb0e1fe1f35336a1798a94c1084
59080f5116b9e8f625b5cc849eb14b7ff9d19f3d
/122 rabbitmq/producer.py
f519020c40c53d1b353416228a61b9216f10522a
[]
no_license
yyq1609/Python_road
eda2bcd946b480a05ec31cdcb65e35b3f3e739d1
e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49
refs/heads/master
2020-09-11T11:51:35.903284
2019-11-11T13:02:21
2019-11-11T13:02:21
222,054,462
1
0
null
2019-11-16T05:58:13
2019-11-16T05:58:12
null
UTF-8
Python
false
false
535
py
import pika credentials = pika.PlainCredentials('echo', '123') connection = pika.BlockingConnection(pika.ConnectionParameters('172.16.44.142', virtual_host='vhost1', credentials=credentials)) channel = connection.channel() channel.queue_declare(queue='test', durable=True) channel.basic_publish(exchange='', ...
[ "958976577@qq.com" ]
958976577@qq.com
609f208316babac07ccff737f84094897e5d863c
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/unknown.py
dd1afb9f030bccf6a3766988d89ff96438847c90
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,224
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class Unknown(object): ...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
9a3dff4505416c7621031482886acde695f4199e
bb00a3876ddb49dcea2cdc4bbd2356359260a563
/poptimizer/evolve/tests/test_store.py
d20ee06f325caec712a7a86b4cc74674f8863523
[ "Unlicense" ]
permissive
hraffiest/poptimizer
1d2975acd0ecbe8466a7a1aa1bf631d12b4c9854
16bc9e056a6daa452d48cdac0dea5901e4a3d4a1
refs/heads/master
2023-04-21T02:29:06.259420
2021-05-05T14:33:03
2021-05-05T14:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,176
py
from types import SimpleNamespace import bson import pymongo import pytest from poptimizer.evolve import store @pytest.fixture(scope="module", autouse=True) def set_test_collection(): # noinspection PyProtectedMember saved_collection = store._COLLECTION test_collection = saved_collection.database["test"...
[ "wlmike@gmail.com" ]
wlmike@gmail.com
6c917765f0811b156ddda90eac4c87e9f06185f7
f98c9dea0e212be5c7bc3161499e5633383bd4d7
/python/fruit_package_module_test.py
c82839cdcdd29c508d4f8791380d7717c7237b7c
[ "MIT" ]
permissive
ysoftman/test_code
dddb5bee3420977bfa335320a09d66e5984403f5
0bf6307073081eeb1d654a1eb5efde44a0bdfe1e
refs/heads/master
2023-08-17T05:45:49.716829
2023-08-16T05:00:09
2023-08-16T05:00:09
108,200,568
4
0
MIT
2023-03-15T04:23:10
2017-10-25T00:49:26
C++
UTF-8
Python
false
false
509
py
# 패키지(모듈이 모인 디렉토리)가 이닌 모듈이 같은 경로에 있는 경우 # import fruite_module as fm # alias 로 패키지.모듈 사용하기 import fruite_package.fruit_module as fm fm.fruit.apple(100) fm.fruit.lemon("2000") # 패키지.모듈 전체 사용하기 from fruite_package.fruit_module import * fruit.apple(100) # 패키지.모듈 중 fruit 클래스를 fr 이름으로 사용 from fruite_package.fruit_module i...
[ "ysoftman@gmail.com" ]
ysoftman@gmail.com
22cff3945dd868a9c060382d1020722c7a4d2eea
4a08ae605a8f96146b14881330d21317a67e225d
/data_types/question17.py
a245b912a288e46b12cce2f9783bf7dbe0c76b56
[]
no_license
alex1the1great/Assignment
dd6083a2196d9bae36bb66bf12a2bdc07a0b93e8
5a806668c3bfc0d9750421c4ae287f19cbf36fc7
refs/heads/master
2022-11-13T11:07:13.875607
2020-06-29T03:51:17
2020-06-29T03:51:17
275,724,898
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
import re print('Example: 1 2 3 4 5') numbers = input('Enter list of numbers separate with space:') pattern = r'^[0-9\s]+$' check_multi = re.findall(pattern, numbers) if not check_multi: print('Please enter valid format') else: total = numbers.split(' ') product = 1 for i in total: i = int(i)...
[ "asimshrestha608@gmail.com" ]
asimshrestha608@gmail.com
06c23408811bd37ee1ea076d37ef63244b96f858
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_155/945.py
a43e4458d2b1f38b912356b2ce0d2242713cfb2c
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
def nombre_ami(b): debout = 0 ami = 0 compteur = 0 ami_en_plus = 0 for chiffre in b: if compteur > debout: ami_en_plus = (compteur - debout) ami += ami_en_plus debout += ami_en_plus debout += int(chiffre) compteur += 1 return str(ami) def solution_jam1(): source = open("D:/Download...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e00d864ccd59cb04d2832d0d8da60884622e3044
b2de5660d81afdf6b1fba058faee6ece6a51e462
/amplify/agent/collectors/plus/upstream.py
ebd305b92eb648c9fd3ca9fc2b1bc0b84eb905e5
[ "BSD-2-Clause" ]
permissive
Ferrisbane/nginx-amplify-agent
725d8a7da7fb66e0b41cddd8139d25a084570592
ef769934341374d4b6ede5fcf5ebff34f6cba8de
refs/heads/master
2021-01-22T00:03:49.686169
2016-07-20T17:50:30
2016-07-20T17:50:30
63,801,713
0
0
null
2016-07-20T17:41:25
2016-07-20T17:41:25
null
UTF-8
Python
false
false
3,982
py
# -*- coding: utf-8 -*- from amplify.agent.collectors.plus.util import upstream from amplify.agent.common.context import context from amplify.agent.collectors.plus.abstract import PlusStatusCollector __author__ = "Grant Hulegaard" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __credits__ = ["Mike Be...
[ "dedm@nginx.com" ]
dedm@nginx.com
b4cff199f29e741f20b31e5e5f92df6fd15d82ab
d200a54adcec3a254a909b9689f925c1614f6fb1
/backend/core/admin.py
a526227756b4d1de8a88c8269f99a134351a5779
[]
no_license
shusaku-ishikawa/binance
1bbe7f4aaf32c0ade4f67da7a4c1972f414bfa19
60bad0848fa4f4666e2476117a79ee8452326ed1
refs/heads/master
2022-01-27T01:35:24.038917
2019-11-30T12:42:36
2019-11-30T12:42:36
204,909,653
0
1
null
2022-01-15T05:20:54
2019-08-28T10:50:13
JavaScript
UTF-8
Python
false
false
2,304
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django.utils.translation import ugettext_lazy as _ from .models import * from django.shortcuts import render from django.http import HttpResponseRedirect from djan...
[ "ishikawasyuusaku@gmail.com" ]
ishikawasyuusaku@gmail.com
4d5c0786be25e6910e4ce018e76c712744d39dae
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/74/usersdata/197/40006/submittedfiles/lecker.py
2e27da6fdd494d21fc5e283193a357ccb803379a
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- import math a=int(input('Digite o valor do número a:')) b=int(input('Digite o valor do número b:')) c=int(input('Digite o valor do número c:')) d=int(input('Digite o valor do número d:')) if a>b and b<c and c>d: print('N') elif a==b==c==d: print('N') elif a<b and b>c and c<d: print('...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a85eca58f0c19dea7674254798bcf77bb60ed9b8
a882ccf759025735f926695d6a5a39937854646a
/e_step4/pygame00.py
a91f3f96979ff338f83cd1d55dc042ebde65d456
[]
no_license
muzudho/practice-open-cv2
5c1534564bcf43c2d8f7a6fb4ee1583bd77337f9
55af5cfb37587b08123b404cf8768d83148cb046
refs/heads/main
2023-07-08T02:23:22.984816
2021-08-10T10:45:01
2021-08-10T10:45:01
349,864,518
3
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
"""coding: utf -8 """ # モジュールの読み込み import sys import time import pygame from pygame.locals import QUIT # pygame の初期化 pygame.init() # 画像の読み込み # FRAME_COUNT = 380 FRAME_COUNT = 528 #FRAME_COUNT = 960 # FRAME_COUNT = 4560 #FRAME_COUNT = 1520 FPS = 8 # 例えば 15 フレームで撮影するなら、ゲーム画面はその半分の FPS ならコマ飛びを感じないぐらい IMAGE1 = pygame....
[ "muzudho1@gmail.com" ]
muzudho1@gmail.com
b85a75aeafda4547a9db1b598e1d8f93af10c136
3b628230666e2324b325d29ed8997a905dcba291
/web/views/report.py
17aff5f6356ae5632f81eedc4114595ae36f8fbe
[]
no_license
emohamed/obshtestvo.bg
9f67734776ecdef5dfc5238a9caabd97c5e80cbd
b90c547a880294cc84956eb926413fb7118be133
refs/heads/master
2020-12-25T20:30:38.667603
2016-01-06T16:44:33
2016-01-06T16:46:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from django.views.generic.base import View from restful.decorators import restful_view_templates @restful_view_templates class ReportView(View): def get(self, request): return { "page": "inner report", }
[ "antitoxic@gmail.com" ]
antitoxic@gmail.com
77bf3568089d84dca57ebccf21f5df9caf089b6b
c1a9436f38714277b063d76af47e8b9448d5cc73
/CRO/Molecule.py
25eaa41d932d1644507e279a2297edc8bc7924ea
[]
no_license
rakib06/LearnPythonBasic
83f5bf5c63a40e8d5f93ac3ffa0d0443fdc0519a
fc0b81850e76d38c6816bd9fe81b442b68d6bd75
refs/heads/master
2020-09-01T01:03:49.087763
2019-12-25T23:11:09
2019-12-25T23:11:09
218,835,593
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
def spin_words(sentence): my_list = sentence.split() result = '' for i in range(len(my_list)): x = my_list[i] if len(x) >= 5: x = x[::-1] if i != 0: result = result + ' ' + x else: result += x return result s = 'rettel rettel Kata than in etirW than desre...
[ "six.rakib@gmail.com" ]
six.rakib@gmail.com
d6c42962c8c27b0253171b232edbef46fb681496
b1182238bf0d26451d567e3100cea940be771ff1
/hd-thrift-idl/hd-thrift-idl-social/src/main/python/SocialAdminService/ISocialAdminServiceDeleteAdminPost.py
2ea38cd7fffadcfa9fbbd5dc18012fea42a09f4d
[]
no_license
ybg555/vue-tvBox
af6df0e07848efc1c2ac80ee8b7c16c65b790a40
57e3849e7f8272794e5a38d5e49bb68f7a44f286
refs/heads/master
2021-01-15T15:42:23.728423
2016-10-02T09:36:08
2016-10-02T09:36:08
55,936,790
1
0
null
2016-04-12T01:07:09
2016-04-11T02:52:05
Python
UTF-8
Python
false
true
6,833
py
#coding=utf-8 # # Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * from thrift.Thrift import TProcessor from thrift.transport imp...
[ "93745726@qq.com" ]
93745726@qq.com
4ea78129b575c0fa392a02973b2e72fc68d1979c
c37414be07a423968c897887b0844830e349741f
/fastestimator/backend/to_number.py
766952ad187cb9f583dbacd315fbeb6d65a050c5
[ "Apache-2.0" ]
permissive
vbvg2008/fastestimator-future
5175047a1acac42f7172f8b9bb326486ed25a5a0
dbf7d597d1f97140f837345f6b06f1773d4fa299
refs/heads/master
2022-03-30T22:48:59.349348
2020-01-06T08:35:04
2020-01-06T08:35:04
227,687,532
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
import tensorflow as tf import torch def to_number(data): if isinstance(data, tf.Tensor): data = data.numpy() elif isinstance(data, torch.Tensor): data = data.data.numpy() return data
[ "shawnmengdong@gmail.com" ]
shawnmengdong@gmail.com
bed9cb10f6453c7018cc7f08aefc7153fb29f8cd
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ETFMM_K/YW_ETFMM_SZSJ_408_K.py
1bed5c3ce3bd01583d66e471f4a5c2ac987176e2
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
9c1513fc38a50fa093602c41444c8be32727345d
f47fe8a7d8cd87b3bfa2e172b4a9fc93e3a4abc2
/2015/AST1/vezbovni/David/habl.py
1b759c2b4f14d8433cbff56e9e18ac1feecb3585
[]
no_license
ispastlibrary/Titan
a4a7e4bb56544d28b884a336db488488e81402e0
f60e5c6dc43876415b36ad76ab0322a1f709b14d
refs/heads/master
2021-01-17T19:23:32.839966
2016-06-03T13:47:44
2016-06-03T13:47:44
60,350,752
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
import numpy as np #import matplot.pyplot as plt d, V, wi, deltav = np.loadtxt(habl.txt, unpac=True) sum_wi = np.sum(wi) sum_wy = np.sum() sum_wx = np.sum() sum_wxy = np.sum(wi*d*V) sum_wx2 = no.sum(wi*d*d) b = (sum_wxy * sum_wi -sum_wy * sum_wx) / (sum_wi * sum_wx2 - (sum_wx)**2) print(b)
[ "ispast.library@gmail.com" ]
ispast.library@gmail.com
b91fb546cbb42329ea80e0be279d6f298648f0d1
848cf2c39afe417272ce96d738266995cb0c9ca1
/jirani/tests.py
4c8d790627ab1c565880f05b726771f4c571271d
[ "MIT" ]
permissive
cliffnyendwe/neighbourhood
462c2d13d966745de6c63675e799e57cf412eca8
77e1a1a082a94fb5a883012a66bf2a4504e6d33b
refs/heads/master
2020-04-14T05:41:39.902621
2019-01-14T08:10:40
2019-01-14T08:10:40
163,369,785
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
from django.test import TestCase # Create your tests here. from django.test import TestCase from django.contrib.auth.models import User from .models import Neighborhood , Profile , Business class TestUser(TestCase): def setUp(self): self.testuser = User(username="user", email="test@mail.com") def ...
[ "cliffnyendwe" ]
cliffnyendwe
02de053f7a35ad14f7c9469e279ff827159d5414
904bf81488ce47c93453a8a841403e831f03ebe0
/tx_lobbying/search_indexes.py
edb9f8e6255ec97382048159f312a5a1398c6c77
[ "Apache-2.0" ]
permissive
texastribune/tx_lobbying
b7b26ed8acb6059f46bf1e4285af69398795b074
81dd911667e5368b874a56d5fba8e1613f7027ee
refs/heads/master
2020-04-01T09:25:11.457807
2015-05-19T03:34:53
2015-05-19T03:34:53
7,674,962
1
3
null
2015-05-28T03:08:54
2013-01-17T21:47:06
Python
UTF-8
Python
false
false
920
py
""" Haystack search indicies. I denormalize thing here to try and make things easier on the database later. """ from haystack import indexes from .models import Lobbyist, Interest class LobbyistIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(model_attr='name', document=True) content_...
[ "c@crccheck.com" ]
c@crccheck.com
3dab6d251c6ac13c212ea60b449bf66fc68e4008
48d86947d5f3b5896c4a05cfcddcff01582a26ef
/amnesia/task/migrations/0002_auto_20170504_2027.py
1792df7727f51e01362639cf36de2a20b7de1620
[]
no_license
pratulyab/amnesia
181874288c97fbf7e73d10c64e214c2a17574773
6b0b3428a27f98e0e2f6bb8aefdc8a4459e7b8cc
refs/heads/master
2021-01-20T12:49:16.592335
2017-05-07T20:38:06
2017-05-07T20:38:06
90,409,855
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-05-04 20:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('task', '0001_initial'), ] operations = [ migrations.AlterField( m...
[ "pratulyabubna@outlook.com" ]
pratulyabubna@outlook.com
7f611c84c8e4bd5fbd87fdfe6e15165d7275e17f
f7bdda5ce6026e30f8d2258499d066cec0a9bf6a
/detect_object.py
03a40e8e061ac0b96d172f6b950f5f922d728bb4
[]
no_license
AbhishekBose/yolo_docker
cfb3e3fe3dda8092771f614bdd9ce3ea022435e1
1377a73b38a95cfdde37ddc215a6f90ecbd407b0
refs/heads/master
2022-06-25T21:14:51.702133
2019-12-15T15:30:19
2019-12-15T15:30:19
228,206,788
10
10
null
2022-06-01T20:54:18
2019-12-15T15:29:53
Python
UTF-8
Python
false
false
5,336
py
#%% from ctypes import * import random import argparse import os import traceback import cv2 import functools import numpy as np import time import sys import imutils #%% THIS_DIR = os.path.dirname(os.path.realpath(__file__)) def sample(probs): s = sum(probs) probs = [a/s for a in probs] r = random.uniform...
[ "abose550@gmail.com" ]
abose550@gmail.com
129e029f51e6c808b38cbff8b551f38366f41e0c
0726e305f3a7b57e8837ddcd334148ec68e9d2de
/portfolio/settings.py
79f45073c3745b1bc73328e6685fcf08e83d4536
[ "MIT" ]
permissive
Brian23-eng/portfolio-1
873448172532c0dd82de496911ad509022189db1
70ec48288fadf803a166f70728adfb1a61916a6d
refs/heads/master
2022-09-24T21:26:13.670066
2020-01-23T05:36:20
2020-01-23T05:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,673
py
""" Django settings for portfolio project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "bryomajor@gmail.com" ]
bryomajor@gmail.com
953b813584667bf1bd1e285fa7bdb8d4caa9ffa5
9bb18febdfc911a88756afd9490526f8e7929bfc
/spacy/tests/regression/test_issue3951.py
f9912c494ec18b830006793bd039c8ffa525a4cc
[ "MIT" ]
permissive
ashaffer/spaCy
3c28c7c8422fd4072bd3d472e796994d3269cf9f
ec0beccaf13eef263feec27e820136ad1e270bd4
refs/heads/master
2020-07-05T23:42:00.467234
2019-08-16T16:39:25
2019-08-16T16:39:25
202,819,156
1
0
MIT
2019-08-17T01:06:11
2019-08-17T01:06:10
null
UTF-8
Python
false
false
585
py
# coding: utf8 from __future__ import unicode_literals import pytest from spacy.matcher import Matcher from spacy.tokens import Doc @pytest.mark.xfail def test_issue3951(en_vocab): """Test that combinations of optional rules are matched correctly.""" matcher = Matcher(en_vocab) pattern = [ {"LOWE...
[ "ines@ines.io" ]
ines@ines.io
de5ec83749603d84453db9285e68d7d64b0f4369
8edd63a42469bf09fcad1c1070995ceda6e49646
/env/lib/python2.7/site-packages/observations/r/phosphate.py
6977f1f13f9f2bdb88341269c503dcf9123103b4
[]
no_license
silky/bell-ppls
fa0b5418f40dab59de48b7220ff30caba5945b56
369e7602c810b694a70ac1e875017480c8910ac8
refs/heads/master
2020-04-06T08:40:28.588492
2018-11-01T06:51:33
2018-11-01T06:51:33
157,312,221
1
0
null
2018-11-13T03:04:18
2018-11-13T03:04:18
null
UTF-8
Python
false
false
1,835
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def phosphate(path): """Phosphate Level Data Plasma inorganic phosphat...
[ "akobeid.1@gmail.com" ]
akobeid.1@gmail.com
c733d23c52b223a95360a77acfa2c1924f9cc877
9433ce01c6e2906c694b6f0956a4640e1872d4d2
/src/main/python/wdbd/codepool/numpy/np_ployfit.py
7f5cd81f4002e97e948a3b8be95f2be36410229a
[]
no_license
shwdbd/python_codepool
fcd7950fc1339994186461ae18c34cee238938ee
92a4fb61d060f9a545499b6b7f99a4dc211d5009
refs/heads/master
2023-02-20T19:49:23.677824
2022-06-15T08:53:51
2022-06-15T08:53:51
209,431,254
0
1
null
2023-02-15T21:58:53
2019-09-19T00:56:03
Python
UTF-8
Python
false
false
344
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : np_ployfit.py @Time : 2019/11/06 14:24:55 @Author : Jeffrey Wang @Version : 1.0 @Contact : shwangjj@163.com @Desc : 拟合函数 1. fit_1z 一阶函数拟合 2. fit_2z 二阶函数拟合 ? 如何评价拟合效果 ''' # here put the import lib
[ "shwangjj@163.com" ]
shwangjj@163.com
4f933506f4af1143b9acc28db9a09d38ec4467de
4eab0329e5bf8b91e3305eaf9202de107cfe889b
/notebooks/data8_notebooks/lab04/tests/q2_3.py
bd02b5e36213b04e7d67c069acfcddca70a09933
[ "MIT", "BSD-3-Clause" ]
permissive
y1ngyang/jupyterhub_AWS_deployment
e638f489ad1b70962204f4355eb2a7c4fc97dc7d
8172d63d94894774ec29f427ab5eeec637c923f4
refs/heads/master
2023-04-15T16:00:11.948307
2018-05-18T20:16:37
2018-05-18T20:16:37
134,009,971
0
0
BSD-3-Clause
2023-04-04T00:27:55
2018-05-18T22:33:34
Jupyter Notebook
UTF-8
Python
false
false
375
py
test = { 'name': '', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> disemvowel("Datascience rules!") == "Dtscnc rls!" True """, 'hidden': False, 'locked': False }, ], 'scored': True, 'setup': '', ...
[ "jamesfolberth@gmail.com" ]
jamesfolberth@gmail.com
46d07128a604bf41698eb408598644429535db5b
77e8b7bc211624687eb61fdb071020642b2c0080
/machinelearning/f16.py
843de75f00d51c7741c5309feaa61e2e095f6c40
[]
no_license
wherby/hackerrank
fab46ea208042ce8055c2755545896bf69f88895
84345f56690ea6b1d5db181b12d2a2669007456c
refs/heads/master
2020-09-26T23:53:06.841052
2019-09-15T12:11:43
2019-09-15T12:11:43
67,225,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
import numpy as np from math import sqrt import matplotlib.pyplot as plt import warnings from matplotlib import style from collections import Counter style.use('fivethirtyeight') dataset ={'k': [[1,2],[2,3],[3,1]], 'r': [[6,5], [7,7,],[8,6]]} new_feature = [5,7] # for i in dataset: # for ii in dataset[i]: # ...
[ "187225577@qq.com" ]
187225577@qq.com
b20ca1afe34ac874e9dd05a205c75d038f6ea7b0
1ae03694e6826c2c3224647024f66debcebd62dc
/matlab/+robust_andrews_kernel/balance_scale/metrics.py
d78e052129030ea9de8d3552ad6679f6790d35df
[ "Apache-2.0" ]
permissive
Joaggi/Robust-kernels-for-robust-location-estimation
5ad7f8f3be9a08e5d4283e03e017e5e3b9b186b8
9db62273de90547c982d819dc45e66ac86bfcb58
refs/heads/master
2023-04-17T22:41:01.652426
2022-08-02T23:43:31
2022-08-02T23:43:31
27,465,913
3
1
null
2022-08-02T23:39:44
2014-12-03T02:49:24
MATLAB
UTF-8
Python
false
false
686
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 16 15:50:05 2014 @author: Alejandro """ import scipy.io as sio import os, sys lib_path = os.path.abspath('G:/Dropbox/Universidad/Machine Learning') sys.path.append(lib_path) import numpy as np import Algorithms.Python.Metrics as Metrics import Robustes.Experiments.m...
[ "joaggi@gmail.com" ]
joaggi@gmail.com
2277163fb77406568bbbbfd4c43fbc3d8f8704ff
583db8851c609f03f722884557cfc67de0ce564e
/pysmapi/interfaces/Event_Stream_Add.py
8592834aefd487a4a877f75155c9b4f73ace2267
[ "Apache-2.0" ]
permissive
lllucius/pysmapi
ab0b4409bfda6a61dab7805e2033d71d09a96493
c0d802edb58e835e4d48cb9c28ccfccfe5b5c686
refs/heads/master
2020-04-20T18:07:46.699611
2019-06-25T04:27:41
2019-06-25T04:27:41
169,009,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# Copyright 2018-2019 Leland Lucius # # 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 wr...
[ "github@homerow.net" ]
github@homerow.net
173d992267a4c50b4df509c54add6f9396d75fbc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02821/s313302941.py
271131d42505bd3b94253e5c4d6e944e2905ed13
[]
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
841
py
n, m = map(int, input().split()) a = list(map(int, input().split())) def cumsum(s): n = len(s) cs = [0] * (n+1) for i in range(n): cs[i+1] = cs[i] + s[i] return cs def bs_list(a, f): l, r = -1, len(a) while r - l > 1: x = (l + r) // 2 if f(a[x]): r = x else: l =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
48029ad550be99084bdc75771e75b28299f992dd
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/basic/28_1.py
8bba51f3b7f6bc07e66c3cce6c8bb5320e828687
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
4,733
py
Time Functions in Python | Set 1 (time(), ctime(), sleep()…) Python has defined a module, “time” which allows us to handle various operations regarding time, its conversions and representations, which find its use in various applications in life. The beginning of time is started measuring from **1 January, 12...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
45ea3e7d8004d23bd4b5fe78a403b5515a80826a
42000e14d25ce3de5b9ba24e3399e67bf88c4ad1
/Level_Three/ProTwo/AppTwo/migrations/0001_initial.py
db9703f5f9d755c7f363b452bdc1ccaea87e2c26
[]
no_license
cdunn6754/Django_Projects
0528b3263e2762d0e872686ec5f00a40f3730851
545d4e73f05969d1277cacaab2042787676b7e73
refs/heads/master
2021-09-11T18:21:07.249977
2018-04-11T00:06:27
2018-04-11T00:06:27
110,480,579
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-04-05 00:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User',...
[ "cdunn6754@gmail.com" ]
cdunn6754@gmail.com
ff5481487e54507a28f7f346fc73b088e009771b
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0006-ZigZag-Conversion/soln.py
f2d94cda1de538a16f8a63dbbbb03073bd1a954e
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
510
py
import functools class Solution: def convert(self, s, numRows): """ :type s: str :type numRows: int :rtype: str """ if numRows == 1 or len(s) <= numRows: return s rows = [[] for _ in range(numRows)] row, drow = 0, 1 for ch in s: ...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
9f52c25f81a9401c049a07ab2f0d2bf4f56c2f38
b87b4f2ad90390e6dcb53f258077ea6fea574f6c
/tests/test_models/test_user_model.py
86f00ff5b9e2c85d4cf23f0173349b8b234bc5ee
[]
no_license
Wassally/backend
1b73510ee451d433c1f747be5356c4e11b6e914a
01071eb94ecfc3a3b260ae957a0aa638271c66b1
refs/heads/master
2022-11-26T13:24:01.684833
2019-06-30T06:02:29
2019-06-30T06:02:29
177,253,039
2
0
null
2022-11-22T03:30:11
2019-03-23T06:29:15
Python
UTF-8
Python
false
false
805
py
from django.test import TestCase from api.factories import ClientFactory, CaptainFactory from api.models import User, Captain class ClientTest(TestCase): def test_creation_client(self): client = ClientFactory() self.assertTrue(isinstance(client, User)) self.assertEqual( clien...
[ "mahmoudzeyada440@gmail.com" ]
mahmoudzeyada440@gmail.com
b036d6fd8e95f539ae982a23cf985148ad491aca
bcabce262e54a6ac38948a4717254cdc3ce65874
/mealpy/physics_based/WDO.py
3e376916b7ec257ba7469ad4a3260e10a7cdabce
[ "MIT" ]
permissive
ibrahim85/MEta-heuristics-ALgorithms-in-PYthon
4ab6e6ef54127b6f4721178a1f855d1be91f9b42
47fb428e8378fc52cd5fe6eff20cec1c68ba5039
refs/heads/master
2023-06-03T05:23:31.993100
2021-06-28T14:48:38
2021-06-28T14:48:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,794
py
#!/usr/bin/env python # ------------------------------------------------------------------------------------------------------% # Created by "Thieu Nguyen" at 21:18, 17/03/2020 % # ...
[ "nguyenthieu2102@gmail.com" ]
nguyenthieu2102@gmail.com
4ad8ad1fbd7235c212a139cdeafe67ce534debf4
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/WH_chargeAsymmetry/WH3l/Full2018_v7/structure.py
6388a09a0a8e38670a88995180d3619b60830e60
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
2,018
py
# structure configuration for datacard #structure = {} # keys here must match keys in samples.py # structure['Fake'] = { 'isSignal' : 0, 'isData' : 0 } #structure['DY'] = { # 'isSignal' : 0, # 'isData' : 0 # } # #structure['top'] = { # ...
[ "nicolo.trevisani@cern.ch" ]
nicolo.trevisani@cern.ch
ee93303355c66a20ff5ffdd32b3ebf107b00bc0e
f5f7a1ae04a999f3f193cca647397b29806edf73
/0000_examples/ur3_dual_interpolation_exe.py
09b091f802f3706ab9fd2e03f1068f6f58440932
[ "MIT" ]
permissive
kazuki0824/wrs
bf88d1568f591c61870332436bfcd079d78b87d7
03c9e59779a30e2f6dedf2732ad8a46e6ac3c9f0
refs/heads/main
2023-07-24T05:20:02.054592
2021-05-31T14:38:18
2021-05-31T14:38:18
368,829,423
1
0
MIT
2021-05-19T10:25:48
2021-05-19T10:25:47
null
UTF-8
Python
false
false
1,191
py
import math import numpy as np import robot_con.ur.ur3_dual_x as u3r85dx rbtx = u3r85dx.UR3DualX(lft_robot_ip='10.2.0.50', rgt_robot_ip='10.2.0.51', pc_ip='10.2.0.101') # left randomization current_lft_jnt_values = rbtx.lft_arm_hnd.get_jnt_values() n_lft_jnt_values = (current_lft_jnt_values + (np.random.rand(6) - .5) ...
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com
1298229e6667d5b56fca496bd5b6d2adb592dec4
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/kdsjor001/question2.py
b192808bc1bd49a030995b7d46e982d2aaa24594
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
a=eval(input('Enter the hours:\n')) b=eval(input('Enter the minutes:\n')) c=eval(input('Enter the seconds:\n')) if 0<=a<=23 and 0<=b<=59 and 0<=c<=59: print ('Your time is valid.') else: print ('Your time is invalid.')
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
40f756004da71f05733139a24309c3462c7ec54b
43d4b962a83dac734dfb09b8523fdfcfcc6628c1
/lavajato_fornecedor/views.py
c245e3d77cf35444022eb95c2347a0cc74207d4f
[]
no_license
redcliver/sistemas
01edd98c2814eee50550010169b2c7594e5256f5
1129c9516c57fbf53ce3cf5e0e5feb3835d3e9df
refs/heads/master
2020-04-07T17:23:04.809752
2019-05-02T16:24:18
2019-05-02T16:24:18
158,567,651
1
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from .models import fornecedor # Create your views here. def lavajato_fornecedor(request): if request.user.is_authenticated(): empresa = request.user.get_short_name() if empresa == 'dayson': ...
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
005465f20680fb4a6b902a62c9c1f39bd408de7d
505b766aeef6dae5fdb2cab9f2550543179e10e9
/app/keyvalue/models.py
ca70f4fd07e1a6862c13073c71802ea54c71b626
[]
no_license
tossedwarrior/wri
19b912630d00f64bcccc499ba22418c73c7bf359
0d4a0f9d7c36b04f87c7cf0ec42db4a57698137f
refs/heads/master
2020-12-25T19:27:19.028235
2012-06-13T21:03:11
2012-06-13T21:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
# -*- encoding: utf-8 -*- import os from datetime import datetime if 'SERVER_SOFTWARE' in os.environ and os.environ['SERVER_SOFTWARE'].startswith('Dev'): from django.db import models class JSONData(models.Model): json = models.TextField(default='[]') @staticmethod def get_by_id(id):...
[ "qualopec@gmail.com" ]
qualopec@gmail.com
b548b9f7cdadb399f27f06b74930780a08061e79
05d5945350fe64f6c1235d4f12ee22323167ca0c
/snakemake/configs/mm10_SRP044873.py
d77054f2e20301267d8ba829038dad7ea369643b
[ "BSD-2-Clause" ]
permissive
saketkc/re-ribo-smk
674d4423830bbae3a32f46146ffd362514047a60
c9326cbafdfa060e22e9af692d9146c37f5035ba
refs/heads/master
2021-07-12T18:46:37.772947
2020-05-30T01:41:13
2020-05-30T01:41:13
148,952,525
1
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
RAWDATA_DIR = '/staging/as/skchoudh/re-ribo-datasets/mm10/SRP044873' OUT_DIR = '/staging/as/skchoudh/re-ribo-analysis/mm10/SRP044873' GENOME_FASTA = '/home/cmb-06/as/skchoudh/genomes/mm10/fasta/Mus_musculus.GRCm38.dna.primary_assembly.fa' CHROM_SIZES = '/home/cmb-06/as/skchoudh/genomes/mm10/fasta/Mus_musculus.GRCm38.dn...
[ "saketkc@gmail.com" ]
saketkc@gmail.com
e73bd41c33e69aa417fab4dffaa549a7814efb51
9a73c54526082c27e5c5d88bd54950a589233658
/DeepLearning/Verification_code_identification/nets/alexnet_test.py
f0dc38b9c9f6f80166eb10b496695e7ac63d676d
[ "Apache-2.0" ]
permissive
archu2020/python-2
af78b65ed7f3ad17f71d4f8a97c002df86908298
19c626ca9fd37168db8a7ac075fd80c8e2971313
refs/heads/master
2022-12-27T12:08:44.316760
2020-10-02T15:46:27
2020-10-02T15:46:27
300,660,839
0
0
Apache-2.0
2020-10-02T15:46:28
2020-10-02T15:37:58
Python
UTF-8
Python
false
false
5,964
py
# Copyright 2016 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 app...
[ "767786685@qq.com" ]
767786685@qq.com
d72ecdd7a3b850a399fcd9116f3c384b38b3d1d6
181e9cc9cf4e52fcc6e9979890cc5b41e7beb756
/Module 1/06_Codes/06/06_Codes/managers.py
c2650fc77fbc09ebd2367a198a7481ec81ec29c4
[ "MIT" ]
permissive
PacktPublishing/OpenCV-Computer-Vision-Projects-with-Python
ace8576dce8d5f5db6992b3e5880a717996f78cc
45a9c695e5bb29fa3354487e52f29a565d700d5c
refs/heads/master
2023-02-09T14:10:42.767047
2023-01-30T09:02:09
2023-01-30T09:02:09
71,112,659
96
72
null
null
null
null
UTF-8
Python
false
false
6,862
py
import cv2 import numpy import pygame import time import utils class CaptureManager(object): def __init__(self, capture, previewWindowManager = None, shouldMirrorPreview = False): self.previewWindowManager = previewWindowManager self.shouldMirrorPreview = shouldMirro...
[ "prasadr@packtpub.com" ]
prasadr@packtpub.com
549d26bdfebb26f7e41ffa553e48b04e054ae011
5e255ad1360c90478393744586663741a9569c21
/linebot/v3/insight/models/get_statistics_per_unit_response_overview.py
8dead06a2e9bdba632aa7f0ff33642dfff6804fd
[ "Apache-2.0" ]
permissive
line/line-bot-sdk-python
d76268e8b542060d6eccbacc5dbfab16960ecc35
cffd35948238ae24982173e30b1ea1e595bbefd9
refs/heads/master
2023-08-31T22:12:31.698183
2023-08-28T01:10:09
2023-08-28T01:10:09
70,553,423
1,898
1,181
Apache-2.0
2023-09-11T05:14:07
2016-10-11T03:42:26
Python
UTF-8
Python
false
false
4,122
py
# coding: utf-8 """ LINE Messaging API(Insight) This document describes LINE Messaging API(Insight). # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ from __future__ import annotations i...
[ "noreply@github.com" ]
line.noreply@github.com