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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f123fb96b9fc9be0b130cb0616266daca2a4b1f0 | 4791bde7bb7275fc25480fdf0cd81d1a9450a50c | /articles/migrations/0002_article_thumb.py | f990e16292870d560147e2f25f5793b8e00c4c80 | [] | no_license | VinneyJ/RU-I-tech-app | 9692f0681dd704ce52c621b3d080d1a90fbe501b | dd15335f26a35d8e32477e7dd384f3a80351d25d | refs/heads/master | 2020-05-02T21:04:17.773867 | 2019-03-28T13:25:18 | 2019-03-28T13:25:18 | 178,209,692 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 409 | py | # Generated by Django 2.1.7 on 2019-03-07 18:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('articles', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='article',
name='thumb',
fi... | [
"vincentjayden49@gmail.com"
] | vincentjayden49@gmail.com |
aea9b526917cfd144e682e610acce9676629ad37 | 3f09e77f169780968eb4bd5dc24b6927ed87dfa2 | /src/Problems/Linked_List_Cycle.py | d954942bb12a57f59ca94bcca0dceb6070ef809a | [] | no_license | zouyuanrenren/Leetcode | ad921836256c31e31cf079cf8e671a8f865c0660 | 188b104b81e6c73792f7c803c0fa025f9413a484 | refs/heads/master | 2020-12-24T16:59:12.464615 | 2015-01-19T21:59:15 | 2015-01-19T21:59:15 | 26,719,111 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 824 | py | '''
Created on 17 Nov 2014
@author: zouyuanrenren
'''
'''
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
'''
'''
Can be done with two pointers:
1. one fast pointer;
2. one slow pointer;
3. the list has a cycle iff fast == slow at some point
'''
# Defi... | [
"y.ren@abdn.ac.uk"
] | y.ren@abdn.ac.uk |
00d3db21ba2b288188763689d3d2ea6d93620a2e | 33b705ff525bd5efe3f8dc18949aa79be7cd41ec | /dvc/__init__.py | 8c166489ee26f2cdc2adba8e6620df190377a754 | [
"Apache-2.0"
] | permissive | nanokinetics/dvc | 7bbb737642e317fa3543334fac29b4e14e5e3514 | af6ac421fd8b7c514e4358543df0b5ae57746a4b | refs/heads/master | 2021-04-15T17:02:08.455586 | 2018-03-21T10:23:22 | 2018-03-21T10:23:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 117 | py | """
DVC
----
Make your data science projects reproducible and shareable.
"""
VERSION = '0.9.3'
__version__ = VERSION
| [
"kupruser@gmail.com"
] | kupruser@gmail.com |
4ffcca5c272df580b13e18d5d6c875ec77f8e30b | c8f5d69d21ac4df40d79a811dea2e3ad82fb5e04 | /src/stock_list_upd.py | 8985c45bee57d8f3d21e912834f494b47f4fdfdf | [] | no_license | webclinic017/usstock | e71ab18534fd3afc05ab2452578821584750e2b9 | c724f00bc1c5d2a41ee58e037ba0b1b3f0904f70 | refs/heads/master | 2023-08-15T05:22:14.275202 | 2021-10-14T21:19:53 | 2021-10-14T21:19:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,972 | py | #!/usr/bin/env python
'''
TBD, Wed Jan 30 21:47:38 EST 2019
to automate 1). sp500 ticker selection, 2.) additional ticker price hist update 3. split adj (TBD), 4. dividends adj (TBD), 5. earnings update 6. financials update
Procedure:
1. pull sp500 stock list to [sp500_component]
2. pull available stock list to [iex_c... | [
"facebook@beyondbond.com"
] | facebook@beyondbond.com |
31ee31ef742d9ac8ad49c4ca2f2a2c422d62dfd0 | e489b2f77b52d33bbf952066b0975485a30ec8f9 | /BootCRUDICApp/urls.py | 26f1cd46f50089a767ac6d5c45fa439ca1cbcf0c | [
"Apache-2.0"
] | permissive | cs-fullstack-2019-spring/django-bootstrapcrud-ic-Kenn-CodeCrew | 9e837b6a4d8f6b637273bcb5478c2ee844b1301e | dd65eda49daf8527d01f96c7b39f3c874f371138 | refs/heads/master | 2020-04-27T18:34:02.209542 | 2019-03-08T20:45:31 | 2019-03-08T20:45:31 | 174,576,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 168 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('addMember/', views.addMember, name='addMember'),
] | [
"kenn+git@code-crew.org"
] | kenn+git@code-crew.org |
5a8fa6e8941d07f985b6f4dddff4736e33c5f14c | d2327e4277629ff5c04cfdfb71cdae7209d56fa7 | /sample codes/topic6/py_test6.py | 43b88b93dc59ce1a63f4197fb2a40aeda7050b52 | [] | no_license | tertiarycourses/Full-ROS-Training | 77caeedda216e6e065fec0664a93d66df38ba571 | b9bdb7daf2a08421d163001cb2b22cbfb1221f23 | refs/heads/main | 2023-03-04T09:04:02.432243 | 2021-02-16T15:57:51 | 2021-02-16T15:57:51 | 314,543,129 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 362 | py | #!/usr/bin/env python
import rospy
from std_msgs.msg import Float32
def callback(msg_data):
rospy.loginfo(msg_data)
def listener():
rospy.init_node('iot_sensor')
rospy.Subscriber('temperature',Float32,callback)
rospy.spin()
if __name__ == '__main__':
try:
listener()
except rospy.ROSIn... | [
"angch@tertiaryinfotech.com"
] | angch@tertiaryinfotech.com |
3ad485aaa42a75f2c082663ae1879b0af554ddba | fbbe424559f64e9a94116a07eaaa555a01b0a7bb | /Keras_tensorflow_nightly/source2.7/markdown/extensions/sane_lists.py | 651b12b257b63a3aa6f281602a59f9a40c8a6c26 | [
"MIT"
] | permissive | ryfeus/lambda-packs | 6544adb4dec19b8e71d75c24d8ed789b785b0369 | cabf6e4f1970dc14302f87414f170de19944bac2 | refs/heads/master | 2022-12-07T16:18:52.475504 | 2022-11-29T13:35:35 | 2022-11-29T13:35:35 | 71,386,735 | 1,283 | 263 | MIT | 2022-11-26T05:02:14 | 2016-10-19T18:22:39 | Python | UTF-8 | Python | false | false | 1,597 | py | """
Sane List Extension for Python-Markdown
=======================================
Modify the behavior of Lists in Python-Markdown to act in a sane manor.
See <https://Python-Markdown.github.io/extensions/sane_lists>
for documentation.
Original code Copyright 2011 [Waylan Limberg](http://achinghead.com)
All change... | [
"ryfeus@gmail.com"
] | ryfeus@gmail.com |
322cccfc6c3c7ac77fce6b3f7163edea0ab29daa | 5e6d8b9989247801718dd1f10009f0f7f54c1eb4 | /sdk/python/pulumi_azure_native/documentdb/v20210701preview/sql_resource_sql_container.py | d09c4449bc4b846dedb02b4ed47f13814dce032c | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | vivimouret29/pulumi-azure-native | d238a8f91688c9bf09d745a7280b9bf2dd6d44e0 | 1cbd988bcb2aa75a83e220cb5abeb805d6484fce | refs/heads/master | 2023-08-26T05:50:40.560691 | 2021-10-21T09:25:07 | 2021-10-21T09:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,889 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | vivimouret29.noreply@github.com |
9dada075fc6880ae3051f749c69383a9d71ad79e | f4dedea53630c9cbdc6297ae4a7e2a8195fd7691 | /10 Advanced Techniques/21 Dynamic Connectivity.py | 7cca06fb0f10671253d333d96b04477b6777f2fa | [] | no_license | nikkisora/cses_problemset | d089db048444e07e002f131b4323adc9df95b05b | 03160f33e36cdc6d538403357b36bcb015b4dba7 | refs/heads/master | 2023-07-03T10:34:23.487709 | 2021-08-05T21:13:49 | 2021-08-05T21:13:49 | 379,251,540 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,243 | py | '''
CSES - Dynamic Connectivity
Time limit: 1.00 s
Memory limit: 512 MB
Consider an undirected graph that consists of n nodes and m edges. There are two types of events that can happen:
A new edge is created between nodes a and b.
An existing edge between nodes a and b is removed.
Your task is to re... | [
"32413317+nikkisora@users.noreply.github.com"
] | 32413317+nikkisora@users.noreply.github.com |
f5b9b5aad03c625181b97dedf70853d9f1345517 | c27c51f5c33e0431dbe7db6e18c21b249d476cfa | /OpenSource_Python_Code/nova-2013.2/build/lib/nova/virt/libvirt/imagebackend.py | 84c46e86a3635fb2a8957e6bf13c2a4b8c1e1236 | [
"Apache-2.0"
] | permissive | bopopescu/Python_Stuff | 9bef74e0db17bb5e3ba2d908ced01ee744820d80 | 9aa94a0fa5e4e802090c7b29ec88b840e304d9e5 | refs/heads/master | 2022-11-20T06:54:36.581623 | 2017-12-04T18:56:02 | 2017-12-04T18:56:02 | 282,171,169 | 0 | 0 | null | 2020-07-24T08:54:37 | 2020-07-24T08:54:36 | null | UTF-8 | Python | false | false | 22,365 | py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Grid Dynamics
# 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/l... | [
"thelma1944@gmail.com"
] | thelma1944@gmail.com |
4f770d7903cc4c618074e9115637038e89b1a77c | 6a819308924a005aa66475515bd14586b97296ae | /venv/lib/python3.6/site-packages/setuptools/py31compat.py | e80573126c1c9604f492fb04516ad2e619c23349 | [] | no_license | AlexandrTyurikov/my_first_Django_project | a2c655dc295d3904c7688b8f36439ae8229d23d1 | 1a8e4d033c0ff6b1339d78c329f8beca058b019a | refs/heads/master | 2020-05-04T13:20:20.100479 | 2019-05-04T23:41:39 | 2019-05-04T23:41:39 | 179,156,468 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,187 | py | __all__ = ['get_config_vars', 'get_path']
try:
# Python 2.7 or >=3.2
from sysconfig import get_config_vars, get_path
except ImportError:
from distutils.sysconfig import get_config_vars, get_python_lib
def get_path(name):
if name not in ('platlib', 'purelib'):
raise ValueError("Name... | [
"tyur.sh@gmail.com"
] | tyur.sh@gmail.com |
3692dfd4e01349c9d821ab23d96b5c0ced307d96 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-4/1c6aa5e912cb777ad2a6a9b42097c64e3f0d2f71-<send_message>-bug.py | e08ebe23393d18dd9b4df26cfe0c4d549738a144 | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 264 | py | def send_message(self, queue_url, message_body, delay_seconds=0, message_attributes=None):
return self.get_conn().send_message(QueueUrl=queue_url, MessageBody=message_body, DelaySeconds=delay_seconds, MessageAttributes=(message_attributes or {
})) | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
1c3b1236c2af033089a675439e47f130b4baec41 | dd573ed68682fd07da08143dd09f6d2324f51345 | /swea/모의SW역량테스트/5658_보물상자비밀번호.py | 0d31a6192d7541eaeb1e770c774b0ca5c24ab353 | [] | no_license | chelseashin/My-Algorithm | 0f9fb37ea5c6475e8ff6943a5fdaa46f0cd8be61 | db692e158ebed2d607855c8e554fd291c18acb42 | refs/heads/master | 2021-08-06T12:05:23.155679 | 2021-07-04T05:07:43 | 2021-07-04T05:07:43 | 204,362,911 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 896 | py | import sys
sys.stdin = open('5658_input.txt')
from collections import deque
T = int(input())
for tc in range(T):
N, K = map(int, input().split())
S = deque(input())
n = N//4
numbers = set()
# 회전한 상태
for _ in range(N//4):
for i in range(0, N, n):
temp = ''
for j... | [
"chaewonshin95@gmail.com"
] | chaewonshin95@gmail.com |
3d99b1f9a252500cbbfbbfb578d4f1b8692adbd4 | 55c250525bd7198ac905b1f2f86d16a44f73e03a | /Python/Tutorials/Google API's Python Client/expandsymlinks.py | 28b3c662846a89d685f571c65fdc7a1e5d5cebcb | [] | no_license | NateWeiler/Resources | 213d18ba86f7cc9d845741b8571b9e2c2c6be916 | bd4a8a82a3e83a381c97d19e5df42cbababfc66c | refs/heads/master | 2023-09-03T17:50:31.937137 | 2023-08-28T23:50:57 | 2023-08-28T23:50:57 | 267,368,545 | 2 | 1 | null | 2022-09-08T15:20:18 | 2020-05-27T16:18:17 | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:5f1f470f54b639699e0364110137529c5a098bae64631d265ea1ec985e10485a
size 1756
| [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
74fb966098d31d5bd5b87dddb2f7208224027dee | 6a44e772dfdec969f5e2af430f0bf3a35eb73c4e | /src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/int_wrapper.py | fc276dcc05f4904cd2f0ccc34b7f154b9521e849 | [
"MIT"
] | permissive | lurumad/autorest | ecc4b1de223e4b4cdd226a3cf922a6940dbddd34 | fef0c4c9e7fdb5c851bdb095d5a2ff93572d452e | refs/heads/master | 2021-01-12T11:07:39.298341 | 2016-11-04T03:12:08 | 2016-11-04T03:12:08 | 72,835,570 | 1 | 0 | null | 2016-11-04T09:58:50 | 2016-11-04T09:58:50 | null | UTF-8 | Python | false | false | 925 | 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.
# C... | [
"noreply@github.com"
] | lurumad.noreply@github.com |
fe63ce9389ff63768465358dbdd8a16ac4f05c7f | ea85e903db500eee66fe70ed3029b05577494d9d | /排序/349. 两个数组的交集.py | 40954a68011ddec065523c8ae1fe288574149fd7 | [] | no_license | baolibin/leetcode | fcd975eb23e5ca3fc7febbd6c47ec833595b5a51 | bc0540ec42131439be144cca19f6355a01de992a | refs/heads/master | 2021-08-15T20:40:25.580955 | 2021-01-20T09:57:21 | 2021-01-20T09:57:21 | 76,557,864 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 949 | py | # coding:utf-8
'''
349. 两个数组的交集
给定两个数组,编写一个函数来计算它们的交集。
示例 1:
输入:nums1 = [1,2,2,1], nums2 = [2,2]
输出:[2]
示例 2:
输入:nums1 = [4,9,5], nums2 = [9,4,9,8,4]
输出:[9,4]
说明:
输出结果中的每个元素一定是唯一的。
我们可以不考虑输出结果的顺序。
'''
def intersection(nums1, nums2):
n_1 = list(set(nums1))
n_2 = list(set(nums2))
res = []
for each in n... | [
"yangfengling@inttech.cn"
] | yangfengling@inttech.cn |
b0c71791df4278ee8b534d877f78f47e8c7b4ad7 | 7889f7f0532db6a7f81e6f8630e399c90438b2b9 | /3.4.0/_downloads/62c71faf74da9063a3e8cccd6bfdbed9/boxplot_demo.py | d5eb08f9cf1d9be597338a1e963c023ea4f694ef | [] | no_license | matplotlib/matplotlib.github.com | ef5d23a5bf77cb5af675f1a8273d641e410b2560 | 2a60d39490941a524e5385670d488c86083a032c | refs/heads/main | 2023-08-16T18:46:58.934777 | 2023-08-10T05:07:57 | 2023-08-10T05:08:30 | 1,385,150 | 25 | 59 | null | 2023-08-30T15:59:50 | 2011-02-19T03:27:35 | null | UTF-8 | Python | false | false | 7,870 | py | """
========
Boxplots
========
Visualizing boxplots with matplotlib.
The following examples show off how to visualize boxplots with
Matplotlib. There are many options to control their appearance and
the statistics that they use to summarize the data.
"""
import matplotlib.pyplot as plt
import numpy as np
from matplo... | [
"quantum.analyst@gmail.com"
] | quantum.analyst@gmail.com |
f65bae1fcb345c5530e79ae207a72b94a2dca716 | 1101585a921ae1abede0d2a5e28970d430871fe8 | /apps/account/consts.py | bb8b86dfc190bfc6435bbb9a0b665e405073b6db | [] | no_license | myanko01/Lesson_apps | 21e9a62a74731df69940039e140697f2d3b6fd64 | dda8571a56b85cee4cf11886dc3720d68fa123eb | refs/heads/master | 2020-07-01T00:00:05.711391 | 2019-08-07T06:36:49 | 2019-08-07T06:36:49 | 200,983,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 58 | py | CHOICE_GENDER = (
(1, '男性'),
(2, '女性'),
)
| [
"you@example.com"
] | you@example.com |
9147b60d41af7abb08939ef3562dc2359547bf87 | eb87c8b1ce8591d207643d3924b7939228f1a4fe | /conformance_suite/bool_is_a_subtype_of_int_pos.py | bb706bf124e6ecd51ce427cfe899d55b2d6e5a41 | [] | no_license | brownplt/insta-model | 06543b43dde89913c219d476ced0f51a439add7b | 85e2c794ec4b1befa19ecb85f2c8d2509ec8cf42 | refs/heads/main | 2023-08-30T19:06:58.083150 | 2023-05-03T18:53:58 | 2023-05-10T22:29:18 | 387,500,638 | 5 | 0 | null | 2022-04-23T23:06:52 | 2021-07-19T14:53:09 | Racket | UTF-8 | Python | false | false | 70 | py | # bool_is_a_subtype_of_int_pos.py
# This should pass.
x: int = True
| [
"lukuangchen1024@gmail.com"
] | lukuangchen1024@gmail.com |
0cab1f253f5f673f3a60a7e8f1f2fd07c1bfb275 | d2f91b93ad42aaefa5fc315a9b3a5d45d07fa705 | /slbman/venv/Lib/site-packages/aliyunsdkcdn/request/v20141111/DescribeDomainFileSizeProportionDataRequest.py | 50ce4087dcc0fd25e5b8e817ee998a50fb616012 | [] | no_license | junlongzhou5566/managePlatform | 66cb5bc5b176147ff0038819924f7efa8df1d556 | 3201ba1a11b05c86db5f42aa9ca8eaf1cc20e216 | refs/heads/master | 2021-03-29T00:58:23.337808 | 2020-03-17T09:50:21 | 2020-03-17T09:50:21 | 247,910,365 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,816 | 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... | [
"645647713@qq.com@qq.com"
] | 645647713@qq.com@qq.com |
1b5d14da025a52cca9cb61629495dbd0444d9afa | d0cb58e1658d4b5b88bdc07e497dc8092707ae02 | /2020/01january/14.py | a3f2553dce31bd97e8db5f46114b464bdc4eb538 | [] | no_license | June-fu/python365 | 27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c | 242033a4b644a7566fbfa4dba9b60f60aa31fe91 | refs/heads/master | 2021-07-02T21:42:28.454091 | 2021-05-04T15:08:44 | 2021-05-04T15:08:44 | 233,629,713 | 0 | 0 | null | 2020-01-13T15:52:58 | 2020-01-13T15:36:53 | null | UTF-8 | Python | false | false | 823 | py | # -*- coding: utf-8 -*-
# Author: june-fu
# Date : 2020/1/27
"""
python-practice-book 12
Write a function group(list, size) that take a list and splits into smaller lists of given size.
input: group([1, 2, 3, 4, 5, 6, 7, 8, 9], 4)
output: [[1, 2, 3, 4], [5, 6, 7, 8], [9]]
"""
def group(list1, size):
# return [... | [
"fujun1990@gmail.com"
] | fujun1990@gmail.com |
af7900ac95be793c451bd2cf4e983dfefb9c666a | bb959d621b83ec2c36d0071dd48bc20942c0dd84 | /apps/users/forms.py | 456ba979e88254bf1317fed9a3c4b540b56701e5 | [
"BSD-3-Clause"
] | permissive | clincher/django-base-template | 6dac3b67db80b2e6336698f3ed60c8ef85dd974f | 560263bf0bb9737f89ae06e391b3d730f102046b | refs/heads/master | 2021-01-18T08:30:27.286465 | 2014-07-19T09:51:27 | 2014-07-19T09:51:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,972 | py | # -*- coding: utf-8 -*-
from django.forms import ModelForm
from django import forms
from django.utils.translation import ugettext_lazy as _
from django.utils.text import capfirst
from django.contrib.auth.forms import ReadOnlyPasswordHashField
from django.contrib.auth import authenticate, get_user_model
from django.cont... | [
"va.bolshakov@gmail.com"
] | va.bolshakov@gmail.com |
7c62691590e5917d92a3dbb511c391577cd87034 | 7c16a9f999f966060c064ae5bd4bddaf8f4e1dd0 | /operator.py | 264f50d7656d72931316ada1cbd34bf10b76bb2c | [] | no_license | sbd2309/Adv.Python | fd5ed698b14c75484903006da7753a155cf11b47 | f7ef906cd78114643ffaaaaca6d4cb0ccfb34f62 | refs/heads/master | 2021-10-25T01:48:29.420102 | 2021-10-17T06:20:11 | 2021-10-17T06:20:11 | 232,631,577 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py | n=float(input())
x=float(input())
z=float(input())
d=(n*(x/100))
c=(n*(z/100))
print(round(n+d+c)) | [
"noreply@github.com"
] | sbd2309.noreply@github.com |
cd07a0839cf198525a33aed5909864ac6527e502 | 77b3ef4cae52a60181dfdf34ee594afc7a948925 | /mediation/dags/cm_sub_dag_parse_and_import_zte_3g.py | 5781cc0b7f0d683960266ee1c6de6a45da242481 | [
"Apache-2.0"
] | permissive | chandusekhar/bts-ce | 4cb6d1734efbda3503cb5fe75f0680c03e4cda15 | ad546dd06ca3c89d0c96ac8242302f4678ca3ee3 | refs/heads/master | 2021-07-15T02:44:27.646683 | 2020-07-26T08:32:33 | 2020-07-26T08:32:33 | 183,961,877 | 0 | 0 | Apache-2.0 | 2020-07-26T08:32:34 | 2019-04-28T21:42:29 | Python | UTF-8 | Python | false | false | 2,466 | py | import sys
import os
from airflow.models import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator
from airflow.operators.python_operator import BranchPythonOperator
from airflow.operators.dummy_operator import DummyOperator
from airflow.operators.... | [
"emmanuel.ssebaggala@bodastage.com"
] | emmanuel.ssebaggala@bodastage.com |
8e46ea58063b50c3a21f81a13f3a9e256b2011bc | 0e0ce88c886370df9af51855115c99dfc003e5da | /2019/01_Curso_Geek_basico_avancado/Exercicios_Python_Geek/exercicio_daniel/ex_2.py | fd492eecbc0a4528145e6fa1523d2b6de4c3795f | [] | no_license | miguelzeph/Python_Git | ed80db9a4f060836203df8cc2e42e003b0df6afd | 79d3b00236e7f4194d2a23fb016b43e9d09311e6 | refs/heads/master | 2021-07-08T18:43:45.855023 | 2021-04-01T14:12:23 | 2021-04-01T14:12:23 | 232,007,012 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 185 | py | """2-) Teste se o ano é bissexto"""
ano = int(input("Digite o ano: "))
if ano%4 == 0:
print("É ano bissexto, tem 366 dias")
else:
print("Não é ano bissexto, tem 365 dias") | [
"miguel.junior.mat@hotmail.com"
] | miguel.junior.mat@hotmail.com |
e744eb2408e49179a3f2fd7ef1493748da92e8a6 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02879/s383346727.py | 7f19bc56acd3472c1250fb5a9475c3828f9375fa | [] | 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 | 90 | py | a, b = map(int, input().split())
if a < 10 and b < 10:
print(a * b)
else:
print('-1')
| [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
3ae8c2d0c34a084d8aaad125c9ce618b4e15a444 | dbcd14a6a4e85f3e6a815c3fd05125ccb57d99b3 | /data_science/pandas_datacamp/manipulating_dataframes_with_pandas/03_rearranging_and_reshaping_data/05_stacking_and_unstacking_II.py | 2800c570456538d2908b651c37062cf9f126b606 | [] | no_license | blockchainassets/data-engineering | b1351b1321c612ba651f27230b506ebf73d949b8 | fc3136e89bc7defafb9e2fa6377217066f124fc7 | refs/heads/master | 2021-05-17T14:56:59.911700 | 2020-03-28T14:47:37 | 2020-03-28T14:47:37 | 250,831,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 803 | py | '''
Stacking & unstacking II
You are now going to continue working with the users DataFrame. As always, first explore it in the IPython Shell to see the layout and note the index.
Your job in this exercise is to unstack and then stack the 'city' level, as you did previously for 'weekday'. Note that you won't get the ... | [
"pierinaacam@gmail.com"
] | pierinaacam@gmail.com |
eb5c93e8330a4712426af4c4de2fcbb3b250f22e | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03409/s717601792.py | 2e4854f89fc655c31e61797553566850201cbd4f | [] | 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 | 653 | py | n=int(input())
a=[0]*n
b=[0]*n
c=[0]*n
d=[0]*n
edges=[set() for _ in range(n)]
matched=[-1]*n
for i in range(n):
ta,tb=list(map(int,input().split()))
a[i]=ta
b[i]=tb
for i in range(n):
tc,td=list(map(int,input().split()))
c[i]=tc
d[i]=td
for i in range(n):
for j in range(n):
if a... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
38ff709a61cfb1ae8896dc1e3c08780ad1e9a2ef | 54df8336b50e8f2d7dbe353f0bc51a2b3489095f | /Python/Interview Que/Interview Companies/Helious/helious.py | 689ab9b6cbb7979e1b4729d382fd1fd9463b130b | [] | no_license | SurendraKumarAratikatla/MyLenovolapCodes1 | 42d5bb7a14bfdf8d773ee60719380ee28ff4947a | 12c56200fcfd3e5229bfeec209fd03b5fc35b823 | refs/heads/master | 2023-06-17T15:44:18.312398 | 2021-07-19T10:28:11 | 2021-07-19T10:28:11 | 387,358,266 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 384 | py | import pandas as pd
def amazon(rows,column,grid):
l = grid
li = []
j = 1
for i in range(1,rows+1):
#print(i)
del li[:]
li.append(l[j:i+1])
j = j + 1
#print(li)
#print(len(li))
df = pd.read_excel('helious_excel.xlsx',index = False)
products_list = df.valu... | [
"suendra.aratikatla1608@gmail.com"
] | suendra.aratikatla1608@gmail.com |
65a307e046bd927498c11951ac68c7b6f1820282 | ad13583673551857615498b9605d9dcab63bb2c3 | /output/instances/sunData/SType/ST_facets/ST_facets00103m/ST_facets00103m1_p.py | 48419483f9e7d9f711bb0a9db68d1efb0f190a40 | [
"MIT"
] | permissive | tefra/xsdata-w3c-tests | 397180205a735b06170aa188f1f39451d2089815 | 081d0908382a0e0b29c8ee9caca6f1c0e36dd6db | refs/heads/main | 2023-08-03T04:25:37.841917 | 2023-07-29T17:10:13 | 2023-07-30T12:11:13 | 239,622,251 | 2 | 0 | MIT | 2023-07-25T14:19:04 | 2020-02-10T21:59:47 | Python | UTF-8 | Python | false | false | 137 | py | from output.models.sun_data.stype.st_facets.st_facets00103m.st_facets00103m_xsd.st_facets00103m import Test
obj = Test(
value=99
)
| [
"tsoulloftas@gmail.com"
] | tsoulloftas@gmail.com |
717a43259dc60384e77d65e86db860b4dc534928 | 786027545626c24486753351d6e19093b261cd7d | /ghidra9.2.1_pyi/ghidra/app/plugin/core/assembler/AssemblyDualTextField.pyi | 2bb5f62b3cb243f9fb56b96919696eb29f21d33a | [
"MIT"
] | permissive | kohnakagawa/ghidra_scripts | 51cede1874ef2b1fed901b802316449b4bf25661 | 5afed1234a7266c0624ec445133280993077c376 | refs/heads/main | 2023-03-25T08:25:16.842142 | 2021-03-18T13:31:40 | 2021-03-18T13:31:40 | 338,577,905 | 14 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,327 | pyi | from typing import List
import docking.widgets.autocomplete
import ghidra
import ghidra.app.plugin.core.assembler
import ghidra.program.model.lang
import ghidra.program.util
import java.awt
import java.awt.event
import java.lang
import javax.swing
class AssemblyDualTextField(object):
class AssemblyDualTextFi... | [
"tsunekou1019@gmail.com"
] | tsunekou1019@gmail.com |
5d9be8cbd2400d26b6973bf47290a761629d2234 | f50f1aa1f8f139d546db3230a1cb1f53043fd9e6 | /programming/language/python/xmpppy/actions.py | c7191c67dea317bccb65cc5fb9ea28569e810d0e | [] | no_license | pars-linux/corporate2 | 7887961d1552d39bc3b0bef4a60fd3413d9b82bb | 14d1eacfc824fb8d0bff8173e7ac06b36b88d10d | refs/heads/master | 2020-05-26T15:02:12.005654 | 2017-02-27T03:07:14 | 2017-02-27T03:07:14 | 82,476,084 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 507 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "%s-%s" % (get.srcNAME()... | [
"ozancaglayan@users.noreply.github.com"
] | ozancaglayan@users.noreply.github.com |
fe45965db65727374e8c7858346a6f1b042d6ccb | aa0270b351402e421631ebc8b51e528448302fab | /sdk/containerregistry/azure-containerregistry/azure/containerregistry/_version.py | e58e03dcf5cb74c0037ab2a31a9b3476cbb2efe7 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | fangchen0601/azure-sdk-for-python | d04a22109d0ff8ff209c82e4154b7169b6cb2e53 | c2e11d6682e368b2f062e714490d2de42e1fed36 | refs/heads/master | 2023-05-11T16:53:26.317418 | 2023-05-04T20:02:16 | 2023-05-04T20:02:16 | 300,440,803 | 0 | 0 | MIT | 2020-10-16T18:45:29 | 2020-10-01T22:27:56 | null | UTF-8 | Python | false | false | 172 | py | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
VERSION = "1.1.0b5"
| [
"noreply@github.com"
] | fangchen0601.noreply@github.com |
9c45ea43930611d5d6687bc81905d6bd6dc7511d | 32dbb74f03c7450ee1f3166f82260e60272f57e0 | /Push/special_mixer_component.py | 9867a321f3da17667503d3af980a96407815a7f9 | [] | no_license | cce/buttons10 | 61555bc767f2bd300bfffb373f9feaae96b83ca7 | 6f1137c96eead0b9771ad8ec9327dd72ada2e916 | refs/heads/master | 2021-04-15T09:45:39.684764 | 2018-03-24T04:29:52 | 2018-03-24T04:29:52 | 126,565,725 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,946 | py | # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Push/special_mixer_component.py
from __future__ import absolute_import, print_function, unicode_literals
from itertools import izip_longest
from ableton.v2.base import listens
from ableton.v2.control_surf... | [
"cce@appneta.com"
] | cce@appneta.com |
d5e78a332dff2134a46453a63b84a1c416791fe0 | 7cfcb2a79226d8fe90276bd32964d94243cc496a | /joints_detectors/hrnet/pose_estimation/video.py | 5271ff11f7860bd444e5f2f422c916880f5c3343 | [
"MIT"
] | permissive | daydreamer2023/videopose | 5185442eb31138f6bd6a86fdbec2c411a8773bc3 | 463f5d2770288a217033e901d1a8251b489d7f76 | refs/heads/master | 2022-01-12T16:14:33.589459 | 2019-05-13T12:45:23 | 2019-05-13T12:45:23 | 186,530,514 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,104 | py | '''
使用yolov3作为pose net模型的前处理
use yolov3 as the 2d human bbox detector
'''
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
import os
path1 = os.path.split(os.path.realpath(__file__))[0]
path2 = os.path.join(path1, '..')
sys.path.insert(0, path1)
sy... | [
"lxy5513@gmail.com"
] | lxy5513@gmail.com |
aab2aa6a4021a8c5efe708d79a20a7aa1c24c13d | 5e331ab99f88dd4d68099980a45ab33247ba6536 | /src/__init__.py | c140b8f38f4d6b28190bdddb890b3756dc31fc8b | [] | no_license | zidanewenqsh/mtcnn_02 | 264353976a5be15c8acce30ceda2d908fc4bc413 | 0e7abb7b2dd3148d5f083c1214747215209f0295 | refs/heads/master | 2020-12-11T00:40:54.228301 | 2020-02-11T12:22:21 | 2020-02-11T12:22:21 | 233,755,905 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 60 | py |
from src import train, nets
__all__ = ["train","nets"]
| [
"zidanewenqsh@163.com"
] | zidanewenqsh@163.com |
9045b983285883318be000d8d32475ee8e221303 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/nnincorrupt.py | c955653958e8de29fca899bc995da1724924bb1c | [] | no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 528 | py | ii = [('KembFFF.py', 1), ('WilbRLW4.py', 1), ('CookGHP.py', 3), ('MartHSI2.py', 1), ('PettTHE.py', 3), ('WilbRLW2.py', 1), ('ClarGE2.py', 1), ('CarlTFR.py', 34), ('CoopJBT2.py', 1), ('AinsWRR3.py', 1), ('CookGHP2.py', 2), ('ClarGE.py', 2), ('DibdTRL2.py', 1), ('WadeJEB.py', 2), ('NewmJLP.py', 1), ('SoutRD2.py', 2), ('H... | [
"varunwachaspati@gmail.com"
] | varunwachaspati@gmail.com |
e6365024ee3cd8e06acfeef8570a4e5969727fbd | ca17bd80ac1d02c711423ac4093330172002a513 | /remove_invalid_parenthese/RemoveInvalidParenthese.py | 6228196ed2a67837b1c30815b6bd3b8b6f1be798 | [] | no_license | Omega094/lc_practice | 64046dea8bbdaee99d767b70002a2b5b56313112 | e61776bcfd5d93c663b247d71e00f1b298683714 | refs/heads/master | 2020-03-12T13:45:13.988645 | 2018-04-23T06:28:32 | 2018-04-23T06:28:32 | 130,649,699 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 709 | py | class Solution(object):
def isvalid(self,s):
ctr = 0
for c in s:
if c == '(':
ctr += 1
elif c == ')':
ctr -= 1
if ctr < 0:
return False
return ctr == 0
def removeInvalidParentheses(self, s):
... | [
"zhao_j1@denison.edu"
] | zhao_j1@denison.edu |
85b68db2627031f616d3e2b99ba34bd77c09acf7 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/CISCO-GSLB-HEALTH-MON-MIB.py | cf61f3660ddb681fecf0998387da4bbecc70b4ed | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 26,320 | py | #
# PySNMP MIB module CISCO-GSLB-HEALTH-MON-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-GSLB-HEALTH-MON-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:42:11 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
d0521ace1b2b1d05327842085cb9e3c88b7ff56e | 6532b2c6dfefa27a7f5c3c790f13dfc1e42cc703 | /mlbstats/wsgi.py | b178aa582e80746b55bd0bee8b2755a5fc27ee86 | [] | no_license | aclark4life/mlbstats | c59ba44b17541364fc4da16dbd3383f7ea05497f | b939f32dadeed6642b23de3e57624c0b0661b87c | refs/heads/master | 2023-04-29T07:15:36.471625 | 2021-05-18T14:35:12 | 2021-05-18T14:35:12 | 348,089,359 | 0 | 0 | null | 2021-05-18T14:35:12 | 2021-03-15T18:57:54 | Python | UTF-8 | Python | false | false | 397 | py | """
WSGI config for mlbstats project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETT... | [
"aclark@aclark.net"
] | aclark@aclark.net |
a3367b66199f1c62e07674b577ce9be357b098d4 | 3c63087e4c6371b92e03e20a1770d60ba1ec5f89 | /pytest_services/__init__.py | 547303de6a745f4cf8bd0de02c6caa013bddbf0f | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | mgorny/pytest-services | d989fec749954ad82d3e430aca9ed24fbe79f33c | 9a18fc16093e4d239b8981998a05bc54058fa6d4 | refs/heads/master | 2022-12-17T14:03:59.055517 | 2020-09-25T04:13:53 | 2020-09-25T04:13:53 | 298,503,817 | 0 | 0 | MIT | 2020-09-25T07:43:28 | 2020-09-25T07:43:27 | null | UTF-8 | Python | false | false | 53 | py | """pytest-services package."""
__version__ = '2.2.0'
| [
"bubenkoff@gmail.com"
] | bubenkoff@gmail.com |
f3c73006fa5e1104d3838c08a0ff4d64b2ed7f7f | fcd00440495737c72f2ec0183e78002a6c9f0afe | /sample_plot_script_2.py | b51aa77d168c9ec09d9eb0a026c13281b5054960 | [] | no_license | Riashat/Plotting_Scripts | caa7ba20fbaa81e6f415c8311ec3d481f45e72c1 | 1b0b6d61aac0f3dbc0c6af207ce351d45e88411f | refs/heads/master | 2021-01-23T18:22:04.741566 | 2018-05-08T16:43:25 | 2018-05-08T16:43:25 | 102,787,346 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 8,040 | py | import matplotlib.pyplot as plt
import time
import numpy as np
import pandas as pd
from numpy import genfromtxt
import pdb
from scipy import stats
eps = np.arange(1000)
#HalfCheetah Policy Activations
hs_leaky_relu = np.load('/Users/Riashat/Documents/PhD_Research/OpenAIBaselines/ReproducibilityML/Results/rllab_resu... | [
"riashat.islam.93@gmail.com"
] | riashat.islam.93@gmail.com |
7c282c200459bd553ba96067cc096214498e9fc3 | a2080cbcf9694ad03690769cfc64d85a57f1d9d5 | /tests/type/test_directives.py | 83147cd74eda1f3a3c5616fe6181eed9445f576d | [
"MIT"
] | permissive | wuyuanyi135/graphql-core | 84196a47aec0f9508db3f8aadb8951b9fc9b9fe0 | 169ae7bced0f515603e97f1def925f3d062e5009 | refs/heads/main | 2023-04-13T11:38:10.815573 | 2021-05-02T05:17:29 | 2021-05-02T05:21:58 | 363,327,364 | 1 | 0 | MIT | 2021-05-01T05:05:29 | 2021-05-01T05:05:28 | null | UTF-8 | Python | false | false | 8,101 | py | from pytest import raises # type: ignore
from graphql.language import DirectiveLocation, DirectiveDefinitionNode, Node
from graphql.type import GraphQLArgument, GraphQLDirective, GraphQLInt, GraphQLString
def describe_type_system_directive():
def can_create_instance():
arg = GraphQLArgument(GraphQLStrin... | [
"cito@online.de"
] | cito@online.de |
7a197fe4699e4b70d97f31eb1a9343d397616030 | 53e2aabd85f3154f5c3c79d26fadf094ff694d92 | /Etl.Highlight/test.py | f2b6790f36ab963b6eafc13ac3ecccbdba9a427c | [] | no_license | yuchanmo/Upbit | 69446b08eb86692df5b2c68886d71310d7e226f2 | d7106579d644286b1305c0de370501821d6f499c | refs/heads/master | 2023-08-18T01:56:45.210567 | 2021-09-28T12:15:43 | 2021-09-28T12:15:43 | 411,268,241 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,961 | py | from dbconnector import sqlserver
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
import datetime as dt
import numpy as np
import requests
from sklearn.preprocessing import MinMaxScaler
df = pd.read_sql("SELECT * FROM [CoinStar].[dbo].[MarketPrice] where market = ... | [
"mojjijji@gmail.com"
] | mojjijji@gmail.com |
fe0eb734470c894706cf2b66195c37013924e275 | 49b33bd602e9e003c4017eb1d9852dec31a34cad | /wowza_ec2_bootstrapper/actions/set_config.py | 0a76884b6618e83ae8709df4c9ef0a0e9c433cec | [] | no_license | nocarryr/wowza-ec2-bootstrapper | 4dba7180c594a708edd6502c5530a1ab5a98ab12 | 0a4f9e31f4ea8422ea3234d5a76144d5917017a1 | refs/heads/master | 2021-01-10T05:46:29.216619 | 2015-10-20T16:20:34 | 2015-10-20T16:20:34 | 43,161,033 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,102 | py | import os
import requests
from wowza_ec2_bootstrapper.actions import BaseAction
class SetConfig(BaseAction):
action_fields = dict(
server_license={
'required':False,
'help':'Wowza License Key',
},
users={
'required':False,
'help':'A list... | [
"matt@nomadic-recording.com"
] | matt@nomadic-recording.com |
766714b71a03a0bfe48dbaae5c793aea50540062 | ddf1267a1a7cb01e70e3b12ad4a7bfaf291edb3e | /src/user/migrations/0026_auto_20200117_1954.py | 0d698365c342a20c5d63847872745908c6e77769 | [
"MIT"
] | permissive | Garinmckayl/researchhub-backend | 46a17513c2c9928e51db4b2ce5a5b62df453f066 | cd135076d9a3b49a08456f7ca3bb18ff35a78b95 | refs/heads/master | 2023-06-17T04:37:23.041787 | 2021-05-18T01:26:46 | 2021-05-18T01:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | # Generated by Django 2.2.8 on 2020-01-17 19:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('user', '0025_auto_20200117_1954'),
]
operations = [
migrations.RenameField(
model_name='action',
old_name='hub',
... | [
"lightning.lu7@gmail.com"
] | lightning.lu7@gmail.com |
6cee066db02d74992825bd071d758556b612e038 | b29589f95734682663ae6cd40ab00eb0a94b6d87 | /longwave/lblnew_20160916/study__g1_threshold/h2o_1_co2_1_o3_0_n2o_0_ch4_0_o2_0/band03c_wn_720_800/nv_1000/dv_0.001/wgt_flux_1/crd_1cb396b/atmpro_mls/param.py | c194611e3e4c28d338cbb8ea4eb4f450381498ad | [] | no_license | qAp/offline_radiation_notebooks | 02c2b2414ef1410f235776001a668f7df0b9f1cf | 44fb62391c27e4e314ad68ae3e91f6111b3172c5 | refs/heads/master | 2020-04-15T14:31:34.675322 | 2019-07-08T04:45:54 | 2019-07-08T04:45:54 | 43,118,324 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 371 | py | DIR_FORTRAN = '/chia_cluster/home/jackyu/radiation/crd/LW/examples/separate_g_groups/study__lblnew_g1_threshold/h2o_1_co2_1_o3_0_n2o_0_ch4_0_o2_0/band03c_wn_720_800/nv_1000/dv_0.001/wgt_flux_1/crd_1cb396b/atmpro_mls'
PARAM = {'molecule': ['h2o', 'co2'], 'band': '3c', 'atmpro': 'mls', 'tsfc': 294, 'nv': 1000, 'dv': 0.00... | [
"llacque@gmail.com"
] | llacque@gmail.com |
efef0ce5c060b5976beca74ab1d52ce316fc24fe | 03a22b3c00dc5188da3ed1a19077874e3ad786c5 | /futoin/cid/rmstool.py | aea53cbbfb428d40c425fdabe9c6f726303a4657 | [
"Apache-2.0"
] | permissive | iforgotband/cid-tool | fdf050169e5aa895ded9d9efb2741860ecd91a34 | f7d0e53057ecff156cf52c8dcae80c6408fb37d8 | refs/heads/master | 2021-08-15T02:51:17.717986 | 2017-11-17T07:59:24 | 2017-11-17T07:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,169 | py | #
# Copyright 2015-2017 (c) Andrey Galkin
#
from .subtool import SubTool
__all__ = ['RmsTool']
class RmsTool(SubTool):
__slots__ = ()
ALLOWED_HASH_TYPES = [
'md5',
'sha1',
'sha256',
'sha512',
]
def autoDetect(self, config):
if self._autoDetectRMS(config):
... | [
"andrey@futoin.org"
] | andrey@futoin.org |
43058dec0c17f852dc746ef45be8dccbff4c8e27 | 8bb4a472344fda15985ac322d14e8f4ad79c7553 | /Python3-Core/src/main/prompto/debug/ResumeReason.py | 4fae21a528ecd8d43a0ef4d870d04b77d3b012dc | [] | no_license | prompto/prompto-python3 | c6b356f5af30c6826730ba7f2ad869f341983a2d | 64bd3d97d4702cc912097d41d961f7ab3fd82bee | refs/heads/master | 2022-12-24T12:33:16.251468 | 2022-11-27T17:37:56 | 2022-11-27T17:37:56 | 32,623,633 | 4 | 0 | null | 2019-05-04T11:06:05 | 2015-03-21T07:17:25 | Python | UTF-8 | Python | false | false | 96 | py | package presto.debug;
public enum ResumeReason {
STEP_OVER,
STEP_INTO,
STEP_OUT,
RESUMED
}
| [
"eric.vergnaud@wanadoo.fr"
] | eric.vergnaud@wanadoo.fr |
6ce7bc39c05aee5ebed9f3370a45057595d99e7f | 9f99485ac5479c1e6169e71d88a33c31ff591f4e | /migrations/versions/0021.py | 4a35b8ca73df34418a507a045bfdbb03a1f849f7 | [
"MIT"
] | permissive | NewAcropolis/api | b8c65554ca78ac0e87fbef46f5f2fbecb6d7700a | 34367f55d3c9ee5bf870956ffc90fd23da559b15 | refs/heads/master | 2023-08-31T09:27:02.125549 | 2023-08-26T22:15:10 | 2023-08-26T22:15:10 | 99,582,634 | 1 | 1 | MIT | 2023-08-26T22:15:11 | 2017-08-07T13:46:23 | Python | UTF-8 | Python | false | false | 773 | py | """empty message
Revision ID: 0021 allow access_area nullable
Revises: 0020 add users
Create Date: 2019-02-02 13:42:31.511289
"""
# revision identifiers, used by Alembic.
revision = '0021 allow access_area nullable'
down_revision = '0020 add users'
from alembic import op
import sqlalchemy as sa
def upgrade():
... | [
"kenlt.uk@gmail.com"
] | kenlt.uk@gmail.com |
2242d8d1034270b8cfee1d019fcede2872faaa7d | 42d3d37a3dd22402154da4f4bd020afd7b7bad58 | /examples/adspygoogle/adwords/v201206/campaign_management/add_location_extension_override.py | db059a6c791048bd092aec25eff36d441d6cba7d | [
"Apache-2.0"
] | permissive | nearlyfreeapps/python-googleadwords | 1388316ec4f8d9d6074688ec4742872b34b67636 | b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc | refs/heads/master | 2020-06-03T23:05:08.865535 | 2012-08-02T21:46:16 | 2012-08-02T21:46:16 | 5,278,295 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,536 | py | #!/usr/bin/python
# -*- coding: UTF-8 -*-
#
# Copyright 2012 Google Inc. 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... | [
"ahalligan@nearlyfreehosting.com"
] | ahalligan@nearlyfreehosting.com |
b62071de2eebb19932cc24e94198d7d9b2505bc4 | 6af51aa6b83175acb256524beaf7972c92b58a74 | /python/QuickDS/implementations/list.py | 005373c66ec1445062c0ff1d12e97a97ac8aaabd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | rishi772001/QuickDS | 17dc0aa52bfd65dc12f55cd33309dafdf66f52e7 | dfe29840c81a557f9dbc20dbc5088057e2d7b987 | refs/heads/master | 2023-02-21T04:34:52.354396 | 2021-01-25T13:39:58 | 2021-01-25T13:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 744 | py | """
@Author: rishi
"""
# Import required modules
import random as rd
# Build List class
class List:
# Creates random list
@staticmethod
def create_random_list(length=10):
"""
:param length: length of the list
:return: list of random numbers
"""
retur... | [
"noreply@github.com"
] | rishi772001.noreply@github.com |
a032ae93a455de494d3208476a65b775ec1ba715 | 39cd9aa81927c20d85d1b65e55523455626ee902 | /python_work/chapter_6/exercises/6_6_polling.py | e73625d621232cceca5ee36ce3f1237f6ea02530 | [] | no_license | SMS-NED16/crash-course-python | acf363562a813f7deb36614dc935be4ed2d07fee | e6e6cb787d208f51f114f71331c43af1ddc1e4c2 | refs/heads/master | 2020-03-09T02:29:35.241621 | 2018-04-21T16:09:16 | 2018-04-21T16:09:16 | 128,541,065 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 543 | py | #dict of people and their favourite languages
favourite_languages = {
'sarah' : 'c',
'john' : 'python',
'brad' : 'c++',
'mike' : 'ruby',
'jessica' : 'java'
}
#list of people
respondents = ['sarah', 'jessica', 'andrew', 'mike', 'gilfoyle',
'peyton', 'joaquin', 'brad']
#parse list of names, check if they have ... | [
"saadmsiddiqui96@gmail.com"
] | saadmsiddiqui96@gmail.com |
0b1e777da2a004715ed496397a5acf96ebf6b323 | 7c5ed3cbbd777d6cf3789f48e82cedbf2cec0539 | /functions/net/icmp/ping-nodes-with-thread-and-save-results.py | fde628356b9022e0bfd0b49ad5bb297d472fa470 | [] | no_license | pench3r/ShellScriptForDevOps | 8735b22b04fd2c5c4de76c5c6ebe63563c215c5c | 2df2911ebe567daeeae493a57a31f356e305089a | refs/heads/master | 2023-03-23T09:23:13.964646 | 2021-03-22T02:46:31 | 2021-03-22T02:46:31 | 350,180,519 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,114 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Created by PyCharm.
File Name: LinuxBashShellScriptForOps:ping-nodes-with-thread-and-save-results.py
Version: 0.0.1
Author: dgden
Author Email: liuhongda@didiglobal.com
Create Date: 2020/1/19
Create Time: ... | [
"nageshangzei@gmail.com"
] | nageshangzei@gmail.com |
2856e10c6c27a1b2d3da8c8fbb72be1733014051 | a2211f0ef8297a77200a0b2eec8ba3476989b7e6 | /itcast/02_python核心编程/02_linux系统编程/day02_线程/demo09_轮询法-消除竞争状态.py | 1112eea51a6e9cce12ac7813f2e0563a914bd6ed | [] | no_license | qq1197977022/learnPython | f720ecffd2a70044f1644f3527f4c29692eb2233 | ba294b8fa930f784304771be451d7b5981b794f3 | refs/heads/master | 2020-03-25T09:23:12.407510 | 2018-09-16T00:41:56 | 2018-09-16T00:42:00 | 143,663,862 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 805 | py | from threading import Thread
g_num = 0
g_flag = True
def fun1():
global g_num
global g_flag
if g_flag:
for i in range(1000000):
g_num += 1
g_flag = False
print(f'线程1{g_num:+>20}\t{id(g_num)}')
def fun2():
global g_num
global g_flag
# 轮询
while True: # 如... | [
"1197977022@qq.com"
] | 1197977022@qq.com |
b113c837d2138196777156e7cf6f982f1f752475 | 2f0d56cdcc4db54f9484b3942db88d79a4215408 | /.history/Python_Learning/lesson17_20200503135756.py | a34d2eb01fc8a23dd6720f62c11d594ccb6dc60d | [] | no_license | xiangxing98/xiangxing98.github.io | 8571c8ee8509c0bccbb6c2f3740494eedc53e418 | 23618666363ecc6d4acd1a8662ea366ddf2e6155 | refs/heads/master | 2021-11-17T19:00:16.347567 | 2021-11-14T08:35:01 | 2021-11-14T08:35:01 | 33,877,060 | 7 | 1 | null | 2017-07-01T16:42:49 | 2015-04-13T15:35:01 | HTML | UTF-8 | Python | false | false | 1,178 | py | # -*- encoding: utf-8 -*-
# !/usr/bin/env python
'''
@File : lesson17.py
@Time : 2020/04/19 21:42:24
@Author : Stone_Hou
@Version : 1.0
@Contact : xiangxing985529@163.com
@License : (C)Copyright 2010-2020, Stone_Hou
@Desc : None
'''
# here put the import lib
# 类型转换
a = 1
print(a, type(a))
# 1 ... | [
"xiangxing985529@163.com"
] | xiangxing985529@163.com |
723cafe05499d104d0a4bcd08b6a751d0732586e | 7d23afa21ca9653ea337fbb01ba54e9488de8a80 | /autosuggest/asgi.py | 043460afdf64407137e1bebcf16eb3810e094fef | [] | no_license | clarkeustaquio/NLP-WordSuggestion | 65915d5ea11f9684ecd7bea97fdfcdf71d6b9c77 | cb681f24e1e55570b8d943bf631d8a6bd2e24285 | refs/heads/main | 2023-07-08T16:19:41.713217 | 2021-08-06T03:22:04 | 2021-08-06T03:22:04 | 386,520,843 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 399 | py | """
ASGI config for autosuggest project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_S... | [
"clark.eustaquio@gmail.com"
] | clark.eustaquio@gmail.com |
7003ec4ae5e020487c4ff6ad970d7a07dd84868b | 3d16bcf91c546dfc638bf9e48d7690e8aed37ee2 | /tests/Cpl/Dm/Persistent/_0test/realtime/windows/mingw_w64/mytoolchain.py | 4ca8928d0d14090c111788daa7ab0f54e695bd58 | [] | no_license | johnttaylor/colony.core | 7c3aa43abdd564689e1540795b8044228b97271c | e00902d33c9224a34e9f68edb02c18eb9571b09f | refs/heads/master | 2023-07-24T08:34:04.956247 | 2023-06-20T00:02:55 | 2023-06-20T00:02:55 | 31,176,673 | 2 | 2 | null | 2023-06-17T21:56:08 | 2015-02-22T19:38:07 | C | UTF-8 | Python | false | false | 4,935 | py | #---------------------------------------------------------------------------
# This python module is used to customize a supported toolchain for your
# project specific settings.
#
# Notes:
# - ONLY edit/add statements in the sections marked by BEGIN/END EDITS
# markers.
# - Maintain indentation level and u... | [
"john.t.taylor@gmail.com"
] | john.t.taylor@gmail.com |
1eeb2872ff71e27e27f2fa1eb0bc528b03eae27a | 6d5545faf2af0a6bb565ad698bb824110b40e121 | /WEBAPP/MLmodel/inception_client.py.runfiles/tf_serving/external/org_tensorflow/tensorflow/core/profiler/tfprof_options_pb2.py | 702b65e132b0390574ca5b34aa38f1b9655ea484 | [
"MIT"
] | permissive | sunsuntianyi/mlWebApp_v2 | abb129cd43540b1be51ecc840127d6e40c2151d3 | 5198685bf4c4e8973988722282e863a8eaeb426f | refs/heads/master | 2021-06-23T22:02:38.002145 | 2020-11-20T02:17:43 | 2020-11-20T02:17:43 | 162,194,249 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 184 | py | /private/var/tmp/_bazel_tianyi/f29d1e61689e4e4b318f483932fff4d0/execroot/tf_serving/bazel-out/darwin-opt/genfiles/external/org_tensorflow/tensorflow/core/profiler/tfprof_options_pb2.py | [
"sun.suntianyi@gmail.com"
] | sun.suntianyi@gmail.com |
79c0640dfe81c2911cd35bee527ab1c36f02d83e | 89e6c3548fbdd06178aae712de1ff19004bc2faa | /django_hg/admin.py | 6fc1e1082734fd909d4fff6278782f225444eeac | [
"BSD-2-Clause"
] | permissive | bhgv/ublog_git.hg.repo-django.python-engine | a3f3cdcbacc95ec98f022f9719d3b300dd6541d4 | 74cdae100bff5e8ab8fb9c3e8ba95623333c2d43 | refs/heads/master | 2020-03-23T01:04:07.431749 | 2018-07-25T12:59:21 | 2018-07-25T12:59:21 | 140,899,479 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 283 | py | from my_django.contrib import admin
from django_hg.models import HgRepository, RepositoryUser
class UserInline(admin.TabularInline):
model=RepositoryUser
class HgRepositoryAdmin(admin.ModelAdmin):
inlines=[UserInline,]
admin.site.register(HgRepository, HgRepositoryAdmin)
| [
"bhgv.empire@gmail.com"
] | bhgv.empire@gmail.com |
794c6c0782b7f633bd97356ec66fd21e7256b650 | db24aa665c499aebddfa1f430827c1f71ddd5567 | /tests/test_ast.py | fc221a2de0fd6b9dfce589da64e5dc05028394d0 | [
"MIT"
] | permissive | imclab/jmespath | 4e04c14d9a9b7885a00cc406926177085af3babf | fd8af349160d2ab7fa5b0fa06dfe4fb513f9d7bc | refs/heads/master | 2021-01-14T08:51:20.955670 | 2013-12-19T23:12:51 | 2013-12-19T23:12:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,763 | py | #!/usr/bin/env python
import unittest
from tests import OrderedDict
from jmespath import ast
class TestAST(unittest.TestCase):
def setUp(self):
pass
def test_field(self):
# jmespath: foo
field = ast.Field('foo')
match = field.search({'foo': 'bar'})
self.assertEqual(m... | [
"js@jamesls.com"
] | js@jamesls.com |
1d41c54ec8ce0af470639cebf2a279f1299f0c15 | 50cbc789f765610b1074b414a4cb5fbecb65b340 | /djangosige/apps/estoque/models/movimento.py | b23514c840fb941be3044a344591b3a4a1a54fa4 | [
"MIT"
] | permissive | jonatasoli/djangoSIGE | 6f79a92737e281ab6e999ad1353c5f24a0e54d97 | 31bba22cf5ce304bc96068e93d49002f99066218 | refs/heads/master | 2021-10-22T20:43:37.591470 | 2019-03-12T21:20:36 | 2019-03-12T21:20:36 | 109,386,717 | 1 | 0 | null | 2017-11-03T11:12:21 | 2017-11-03T11:12:20 | null | UTF-8 | Python | false | false | 4,915 | py | # -*- coding: utf-8 -*-
from django.db import models
from django.core.validators import MinValueValidator
from decimal import Decimal
from django.core.urlresolvers import reverse_lazy
from django.template.defaultfilters import date
from . import DEFAULT_LOCAL_ID
import locale
locale.setlocale(locale.LC_ALL, '')
TIP... | [
"thiagovilelap@hotmail.com"
] | thiagovilelap@hotmail.com |
9472d2e6c1f8c59f279a64790c1afe940a3f77db | 7c74ceb9f8addcc0816d012e0b84b174b96e0def | /src/azure-cli-core/azure/cli/core/decorators.py | 55a1d88e11e60f053ba780fa7627e97a9dc7db78 | [
"MIT",
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"MPL-2.0",
"LGPL-2.0-or-later",
"BSD-3-Clause",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | microsoft/azure-cli | 4c826290e7a6f6bd27da3829b05e4f02ff6dc8d9 | 9ba64b33f6f78e2c3e42f8a147f59484300e8779 | refs/heads/dev | 2023-08-31T08:51:39.526556 | 2022-11-28T19:08:23 | 2022-11-28T19:08:23 | 370,900,439 | 7 | 7 | MIT | 2023-08-01T23:34:50 | 2021-05-26T03:59:41 | Python | UTF-8 | Python | false | false | 2,777 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
2ec4b9ec43ae5d79f8a74733d95e82c82a27f429 | f37ae889f7ef4d6e57cf7b51a1c25d8c7a259590 | /pur_beurre/urls.py | a0193697b4559f131d9d496f48e2d0f1caab0f81 | [] | no_license | cleliofavoccia/Projet10 | f9ee05ed1586dbcf14475fc36d4aa3f24b58d66c | 802806afe19f7e6fe4766fd0e3ee26ba1bda6fa0 | refs/heads/master | 2023-05-10T07:36:15.637348 | 2021-06-12T07:25:23 | 2021-06-12T07:25:23 | 349,119,643 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,026 | py | """pur_beurre URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/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-ba... | [
"favoccia.c@live.fr"
] | favoccia.c@live.fr |
385a49c13b863a8896488f4156d05502aa2f7c80 | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/appcontainers/azure-mgmt-appcontainers/generated_samples/connected_environments_dapr_components_list_secrets.py | ea1924799cfe381f8684b2226852edd26e271f44 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 1,696 | 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"
] | Azure.noreply@github.com |
9026865925b672227cd58a155c84cd23b74dd83d | a06cd01b474e74d7b57144fca3930b7a2fe01ec4 | /ethpm/validation/uri.py | 009ceaf58091465a85e442722fdaa395a10bf1f1 | [
"MIT"
] | permissive | XTAUEMC/web3.py | e95b9b2e8bb18cae9794a0eaecb2bef3cbd87ec6 | 36224cfd19c3cf50746ccdeae8521ce4c08b7e3a | refs/heads/master | 2020-06-20T00:01:35.345192 | 2019-07-14T19:56:28 | 2019-07-14T19:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,339 | py | import hashlib
from typing import (
List,
)
from urllib import (
parse,
)
from eth_utils import (
is_checksum_address,
to_bytes,
to_int,
to_text,
)
from ethpm._utils.chains import (
is_supported_chain_id,
)
from ethpm._utils.ipfs import (
is_ipfs_uri,
)
from ethpm._utils.registry impor... | [
"nickgheorghita@gmail.com"
] | nickgheorghita@gmail.com |
151ef292dd5b4742d46553aee188acfd3a2cd8b2 | 1ff41a2393c969aaf662a198f405b4e76d4ce957 | /myshop/myshop/settings.py | f85c2d92c211522f0c679ef4a12a154d55a90ecd | [] | no_license | asimonia/django-bookstore | 7a15495c8a522a4c8f5151948d1a0f2a67a4f63a | 29fd151eb9269c3e43e1b2736f11f49247ec2994 | refs/heads/master | 2021-01-17T17:27:53.268028 | 2016-07-19T02:15:52 | 2016-07-19T02:15:52 | 63,547,855 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,086 | py | """
Django settings for myshop project.
Generated by 'django-admin startproject' using Django 1.8.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# Build paths... | [
"alex.simonian@gmail.com"
] | alex.simonian@gmail.com |
c11fdcc792918562865cbdc580eb0b8eb3b9459a | 67df0894b961a8d1729214f07c954c551fd06f3f | /re_search_en/o_O_re_search_en.py | fbcb34853079f23d19e01ac81ea62b4f37047ea5 | [] | no_license | hihumi/enjapy | 9261b209e3dbe3628229acff0e425da08ab46caf | 4d7344cb7291abe4deb4bca42590693d89ba328e | refs/heads/master | 2020-05-23T10:11:01.260143 | 2017-09-30T06:10:22 | 2017-09-30T06:10:22 | 80,397,788 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,838 | py | #!/usr/bin/env python3
"""main.pyで入力されたwordが、
oxxx_reモジュールのoxxx_re_func()で作成した正規表現のo、またはOからはじまる英単語と合致した場合、
oxxx_jaモジュールのoxxx_ja_func()を呼ぶ
ただし、o-listまたはO-list(すべて大文字小文字は問わない)と入力された場合、o_O_listモジュールのo_O_list_func()を呼ぶ
"""
# o: a b c d e f g h i j k l m n o p q r s t u v w x y z
#
# from re_en.oxxx_re import oxxx_re_fu... | [
"yui.maa5800@gmail.com"
] | yui.maa5800@gmail.com |
8cb50e722107fc700d8f17e3ee0ff96f2942120c | 908554f8250780024ffdd6c6f32a65acc36ec5cd | /backend/task_category/migrations/0001_initial.py | 63a0837d759cfbb72a35d63a7f45744f3ea04b43 | [] | no_license | crowdbotics-apps/petsker-23110 | 799032a970fce4da74d9ced06655b073ecee1621 | ca4d40e9b4b72d36fc60c8544c4e27635864a203 | refs/heads/master | 2023-01-21T21:39:29.108783 | 2020-12-01T15:54:38 | 2020-12-01T15:54:38 | 317,582,642 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,744 | py | # Generated by Django 2.2.17 on 2020-12-01 15:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Category",
fields=[
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
d97eaea3fb21768d3835c717678dd583e27be0e8 | df789505c99974c0ba45adc57e52fc7865ff2a28 | /python练习题/常用案例.py | f75ecfae83f1b4f2f8b671fcb764e2d1ca341108 | [] | no_license | zhiwenwei/python | 6fc231e47a9fbb555efa287ac121546e07b70f06 | 76d267e68f762ee9d7706e1800f160929544a0a3 | refs/heads/master | 2021-01-20T04:21:44.825752 | 2018-12-19T06:20:10 | 2018-12-19T06:20:10 | 89,676,097 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 305 | py | #coding:utf-8
#Author:Mr Zhi
#排列组合,将4个数字可能组成的所有互不相同且无重复数字的排列组合列出。
for i in range(1,5):
for j in range(1,5):
for k in range(1,5):
if (i != k) and (i != j) and (j != k ):
print(i,j,k)
import fileinput
| [
"ddzhiwenwei@163.com"
] | ddzhiwenwei@163.com |
01743d7f3fd3ed87763ed1ea40e97069ac07d8c2 | 4be2c72579486ad04a00db0349028de96d2dce89 | /scripts/aTools/animTools/animBar/animBarUI.py | c47fbf7c062fa74f255ab5c363e08a4142f0e8b9 | [] | no_license | italic-r/maya-prefs | 6a617d40beee8937186b4699c5cead44e01c2d40 | aa21e5e2938dc2698ce5f555ee74a594e08aed2b | refs/heads/master | 2021-09-09T16:31:00.411349 | 2018-03-18T01:40:10 | 2018-03-18T01:40:10 | 86,961,959 | 16 | 8 | null | null | null | null | UTF-8 | Python | false | false | 6,651 | py | '''
========================================================================================================================
Author: Alan Camilo
www.alancamilo.com
Requirements: aTools Package
------------------------------------------------------------------------------------------------------------------------
To i... | [
"italic.rendezvous@gmail.com"
] | italic.rendezvous@gmail.com |
18a1c1067bad2013e8ca5d5d30bccc4e31eb262f | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/Cases/2468/.mooctest/answer.py | 97b5f1afb2362e43de2e28c40adb9a4f8b3ccb58 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 305 | py | t=int(input())
while(t>0):
n=int(input())
a=[]
num=input()
for x in num.split():
a.append(int(x))
P=[]
i=0
p=1
for x in a:
p=p*x
while i<n:
P.insert(i,p//a[i])
i=i+1
for x in P:
print(x,end=" ")
print()
t=t-1
| [
"382335657@qq.com"
] | 382335657@qq.com |
c865d2dcc1d9e00316123c8b37dc16ed422db3ef | 2735c5f1a9b1f1a3d2468f0838fc0f20725cbe31 | /usr/lib/pymodules/python2.7/numpy/numarray/compat.py | d2b76797fbaa44016996f3e2659d515a9a20c9ca | [] | no_license | sanyaade-iot/rpi-sysroot | f202b9188fd99c372d28b59ebe1b8fcabbfb7a67 | 6e13f05b5b2b44b29ead66c96230a17f077d5198 | refs/heads/master | 2020-04-08T16:14:25.745147 | 2014-03-21T06:27:54 | 2014-03-21T09:47:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 44 | py | /usr/share/pyshared/numpy/numarray/compat.py | [
"weitjong@gmail.com"
] | weitjong@gmail.com |
421123dd75c5d9c60f99ea7d66de6b553bae9db3 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/148/usersdata/272/86767/submittedfiles/testes.py | db6500d7b4c0772c218a8e23b5ab043f7012a066 | [] | 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 | 171 | py | # -*- coding: utf-8 -*-
#COMECE AQUI ABAIXO
def impar(x):
if ((x%2)!=0):
return (True)
else:
return (False)
a=int(input('Digite a: '))
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
8c1ec39b364c12047ff70031d242a8c292be9e94 | 81b0e6fe7a6e56ed8a91748499b81ddd3f2e45f8 | /neural_network.py | 56ddb8ba46c9ef0d3b02ce7f51677509286dce26 | [] | no_license | shieldforever/DeepLearning | cfef817602b9677df4df4c1b87e60c5e91f2315a | b8080938a4b22395379be9032266df36cb5491e6 | refs/heads/master | 2021-01-05T14:12:26.110888 | 2019-10-29T11:23:06 | 2019-10-29T11:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,885 | py | # -*- coding: utf-8 -*-
"""
Created on Sat Apr 14 17:55:42 2019
@author: Administrator
"""
import numpy as np
from scipy import special
class neuralNetwork(object):
#initialize the neural network
def __init__(self,inputnodes,hiddennodes,outputnodes,learningrate):
self.inodes=inputnodes
self.h... | [
"870407139@qq.com"
] | 870407139@qq.com |
c0a0e1a4bdaa1c76b49f676e19384408c030d1c1 | e1f519fc0c4f76d11db9584f74c5b49ca95b0798 | /cs_notes/arrays/RLE_iterator.py | 8a78d35ba581f17f8aca1d70416549bdd8f05e1b | [] | no_license | hwc1824/LeetCodeSolution | 22d41327cde2b9562f58cc73e6205c7c2f9a5e1c | ac53dd9bf2c4c9d17c9dc5f7fdda32e386658fdd | refs/heads/master | 2023-08-16T10:15:39.351933 | 2018-12-19T00:43:07 | 2018-12-19T00:43:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,111 | py | # 900. RLE Iterator
# https://leetcode.com/problems/rle-iterator/description/
class RLEIterator:
# 下面的解法的想法是,只要記錄目前走到第幾步就好了
# 儲存 A 的時候將連續出現的次數變換成最後一次出現的位置
# 當 next 被呼叫的時候,將 n 累計起來
# 然後就只要查閱 n 介於那兩個數字的最後一次出現位置之間
def __init__(self, A):
"""
:type A: List[int]
"""
self.c... | [
"eraxer0165749@gmail.com"
] | eraxer0165749@gmail.com |
c549025fe6b58ffe1ccc0b22996cabc8736f8306 | 255e19ddc1bcde0d3d4fe70e01cec9bb724979c9 | /all-gists/4499367/snippet.py | 5581424b74f80c38427bb49d1be8aff71949ed4c | [
"MIT"
] | permissive | gistable/gistable | 26c1e909928ec463026811f69b61619b62f14721 | 665d39a2bd82543d5196555f0801ef8fd4a3ee48 | refs/heads/master | 2023-02-17T21:33:55.558398 | 2023-02-11T18:20:10 | 2023-02-11T18:20:10 | 119,861,038 | 76 | 19 | null | 2020-07-26T03:14:55 | 2018-02-01T16:19:24 | Python | UTF-8 | Python | false | false | 6,695 | py | class ReloaderEventHandler(FileSystemEventHandler):
"""
Listen for changes to modules within the Django project
On change, reload the module in the Python Shell
Custom logic required to reload django models.py modules
Due to the singleton AppCache, which caches model references.
For those model... | [
"gistshub@gmail.com"
] | gistshub@gmail.com |
b9dc54cabc677d71d8007287459dced2f2617cad | 099b57613250ae0a0c3c75cc2a9b8095a5aac312 | /一些总结/测试文件.py | a6b7753c5aaf1e6131ed711b632a56cb8e88a6b0 | [] | no_license | MitsurugiMeiya/Leetcoding | 36e41c8d649b777e5c057a5241007d04ad8f61cd | 87a6912ab4e21ab9be4dd6e90c2a6f8da9c68663 | refs/heads/master | 2022-06-17T19:48:41.692320 | 2020-05-13T16:45:54 | 2020-05-13T16:45:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 305 | py | class ListNode(object):
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def test(self,head):
while head.next != None:
print(head.val)
head = head.next
if __name__ == "__main__":
solution = Solution()
solution.test()
| [
"yifu3@ualberta.ca"
] | yifu3@ualberta.ca |
96485320f651c95c1a482e4192a688a2b0660b02 | 5fe72bb13baf3649058ebe11aa86ad4fc56c69ed | /hard-gists/2577781/snippet.py | e33c008d1679fcecad43252d5649b7c362333a02 | [
"Apache-2.0"
] | permissive | dockerizeme/dockerizeme | 8825fed45ff0ce8fb1dbe34959237e8048900a29 | 408f3fa3d36542d8fc1236ba1cac804de6f14b0c | refs/heads/master | 2022-12-10T09:30:51.029846 | 2020-09-02T13:34:49 | 2020-09-02T13:34:49 | 144,501,661 | 24 | 20 | Apache-2.0 | 2022-11-21T12:34:29 | 2018-08-12T21:21:04 | Python | UTF-8 | Python | false | false | 2,201 | py | #!/usr/bin/env python
# Thread pool based on: http://code.activestate.com/recipes/577187-python-thread-pool/
from queue import Queue
from threading import Thread
from functools import partial
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
from tornado import gen
from tornado... | [
"42325807+dockerizeme@users.noreply.github.com"
] | 42325807+dockerizeme@users.noreply.github.com |
e7f286d32115897aa45a6bdb8da562cfd9ae6f5d | 1eab574606dffb14a63195de994ee7c2355989b1 | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bmacmappedip_dfnlz21lbnrzl2jnywnnyxbwzwrjca.py | f27128cbf257a11174bdaf3fe003acc13969aa81 | [
"MIT"
] | permissive | steiler/ixnetwork_restpy | 56b3f08726301e9938aaea26f6dcd20ebf53c806 | dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9 | refs/heads/master | 2020-09-04T12:10:18.387184 | 2019-11-05T11:29:43 | 2019-11-05T11:29:43 | 219,728,796 | 0 | 0 | null | 2019-11-05T11:28:29 | 2019-11-05T11:28:26 | null | UTF-8 | Python | false | false | 5,867 | py | # MIT LICENSE
#
# Copyright 1997 - 2019 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | [
"srvc_cm_packages@keysight.com"
] | srvc_cm_packages@keysight.com |
280180605538ca9ee2017ad7f97de20f1a449c35 | 74549d7c57b4746ac2a9c275aa12bfc577b0e8af | /funny_string.py | ade6aa44436eeb9690be1bfa5f29809cbb0e93ea | [] | no_license | abidkhan484/hackerrank_solution | af9dbf6ec1ead920dc18df233f40db0c867720b4 | b0a98e4bdfa71a4671999f16ab313cc5c76a1b7a | refs/heads/master | 2022-05-02T11:13:29.447127 | 2022-04-13T03:02:59 | 2022-04-13T03:02:59 | 99,207,401 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 661 | py | #!/bin/python3
n = int(input().strip())
for i in range(n):
s = input().strip()
# tmp list, to get the consequtive subtraction of the s list(string)
s = list(s)
tmp = []
l = len(s)
for j in range(1, l):
temp = abs(ord(s[j]) - ord(s[j-1]))
tmp.append(temp)
# now reverse ope... | [
"abidkhan484@gmail.com"
] | abidkhan484@gmail.com |
ce7b7d741e6cdf375737b61908957bd3e62f89a9 | 7b2a3ea853dc44aea204f02abedaad6a2029f4ff | /preprocess_4mem2d.py | 4511128676f7bf408c9f199ba12a43ca4469807f | [] | no_license | NoisyLeon/SW4Py | 7d45503282dc988b5f886c039706bd79fdd6b339 | 7029f18eb526bcb46b4aa244da1e088ca57a56aa | refs/heads/master | 2020-12-22T14:57:11.265397 | 2016-12-20T18:27:18 | 2016-12-20T18:27:18 | 56,792,735 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,742 | py | import vmodel, stations
# SLst=stations.StaLst()
# # SLst.HomoStaLst(xmin=20000, Nx=149, dx=20000, ymin=20000, Ny=29, dy=20000)
# SLst.LineStaLst(xmin=300000, Nx=133, dx=20000, y=300000)
# SLst.WriteStaList('/lustre/janus_scratch/life9360/sw4_working_dir_4mem2d/station_4mem2d.lst')
# # SLst.Write2Input(infname='/lust... | [
"lili.feng@colorado.edu"
] | lili.feng@colorado.edu |
9fedd6c3390c1fce9081e9c32411b6ec4b73d856 | ba0a2b0d2d1534443ea34320675aadfa378457b6 | /String/Q843_Guess the Word.py | 14717252223355cffe90ae93b5a66190717a6e68 | [] | no_license | Luolingwei/LeetCode | 73abd58af116f3ec59fd6c76f662beb2a413586c | 79d4824879d0faed117eee9d99615cd478432a14 | refs/heads/master | 2021-08-08T17:45:19.215454 | 2021-06-17T17:03:15 | 2021-06-17T17:03:15 | 152,186,910 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,444 | py |
# 思路1: 每次随机选择一个word, 得到score, 留下list中和当前guess match结果为score的word
# 思路2: 因为最有可能的情况是一个字符都不match, 概率为 (25/26)^6 = 80%, 所以最有可能的情况是首先guess到match score=0,
# 可以从candidates中选择和其他word的 match score = 0 数量最小的word, 这样candidates 集合减小最快
# O(N^2)
# 思路3: 根据char frequency的总和 选择family 最大的那个word, 这样一旦guess到match score=0, 所有和这个word有重叠的... | [
"564258080@qq.com"
] | 564258080@qq.com |
40bc42df545f07ac7d1662bc6dfebf1fdf0c95a7 | 107e869bc298c74bf2418b53b630ca57c00bc68b | /src/repro/model/densenet201.py | 977eb43ebc36e871f5c9e9ee61ac995971421ec5 | [
"BSD-3-Clause"
] | permissive | bouthilx/repro | 699f1f635872507bd054b57ec03140f998a9f7d1 | 611734e4eddd6a76dd4c1e7114a28a634a2a75c1 | refs/heads/dev | 2020-04-18T03:26:55.670831 | 2019-01-30T17:56:21 | 2019-01-30T17:56:21 | 167,199,050 | 0 | 0 | BSD-3-Clause | 2019-01-23T19:48:35 | 2019-01-23T14:44:15 | Python | UTF-8 | Python | false | false | 283 | py | from repro.model.densenet import DenseNet, distribute
def build(input_size, num_classes, distributed=0):
model = DenseNet(input_size=input_size, num_init_features=64, growth_rate=32,
block_config=(6, 12, 48, 32))
return distribute(model, distributed)
| [
"xavier.bouthillier@umontreal.ca"
] | xavier.bouthillier@umontreal.ca |
b64d25c8ad3b2647cc130320042a122d807f1f72 | 50518b396163f9ee07e762cc30ec86a49c35782c | /DACON_LG_블럭장난감제조공정/baseline/module/simulator.py | 57b0815bd4d8b53ad80621dd2ec89028bb09e55e | [] | no_license | madfalc0n/Dacon_AI | 0185fe4cfd7ba9716b7420d7f464f6901be7382e | 68f9aaab2a7fcc0e634bce67199d8b22049c4a09 | refs/heads/master | 2023-03-23T08:39:34.910144 | 2021-03-09T10:28:05 | 2021-03-09T10:28:05 | 274,060,029 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,772 | py | import os
import pandas as pd
import numpy as np
from pandas.api.types import is_numeric_dtype
from pathlib import Path
class Simulator:
def __init__(self):
self.sample_submission = pd.read_csv(os.path.join(Path(__file__).resolve().parent, 'sample_submission.csv'))
self.max_count = pd.read_csv(os.p... | [
"chadool116@naver.com"
] | chadool116@naver.com |
0d4e4f9ccb9e3e351670700962ce088e8e6fff3e | d0758e0ca004226cec8ad8b26c9565c98534a8b8 | /02-core/06-lists/solutions/comprehension.py | 37759fc84e7eed5b988af80934a5df00fc85234d | [] | no_license | pythoncanarias/eoi | 334d64a96afc76ac1fa10282378f291b6d8c94b3 | 349367254f85e3e4273cede067ca950913a1332c | refs/heads/master | 2023-07-06T08:00:11.366345 | 2023-06-30T15:19:33 | 2023-06-30T15:19:33 | 222,742,870 | 26 | 19 | null | 2023-06-25T16:03:46 | 2019-11-19T16:41:25 | Jupyter Notebook | UTF-8 | Python | false | false | 48 | py | f = [3 * x + 2 for x in range(20)]
print(f)
| [
"euribates@gmail.com"
] | euribates@gmail.com |
2c6f87182a68ad85ede0cd34bc337b5fcded27ab | b08d42933ac06045905d7c005ca9c114ed3aecc0 | /src/coefSubset/evaluate/ranks/twentyPercent/rank_4eig_B.py | 02617609224e47a8260dfad0e57980bf1975417d | [] | no_license | TanemuraKiyoto/PPI-native-detection-via-LR | d148d53f5eb60a4dda5318b371a3048e3f662725 | 897e7188b0da94e87126a4acc0c9a6ff44a64574 | refs/heads/master | 2022-12-05T11:59:01.014309 | 2020-08-10T00:41:17 | 2020-08-10T00:41:17 | 225,272,083 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,392 | py | # 9 July 2019
# Kiyoto Aramis Tanemura
# Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess... | [
"tanemur1@msu.edu"
] | tanemur1@msu.edu |
915b37b464c9f5b749ec2d2ea2c391ad6ad174d3 | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/3/gLt.py | 5e286227723bdcb075163be345cff8d7a82aa4fa | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
c6bf383d8e5a35af168c40a96a2535f5a4986f6c | 306afd5282d9c24d58297478a1728a006c29e57e | /lintcode/lintcode_040_Implement_Queue by_Two_Stacks.py | 9f608da5577673762929157d354418a80e4c236b | [] | no_license | ytatus94/Leetcode | d2c1fe3995c7a065139f772569485dc6184295a9 | 01ee75be4ec9bbb080f170cb747f3fc443eb4d55 | refs/heads/master | 2023-06-08T17:32:34.439601 | 2023-05-29T04:33:19 | 2023-05-29T04:33:19 | 171,921,974 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,047 | py | class MyQueue:
def __init__(self):
# do intialization if necessary
self.stack1 = []
self.stack2 = [] # 用來暫時放 stack1 的東西
"""
@param: element: An integer
@return: nothing
"""
def push(self, element):
# write your code here
self.stack1.append(element)
... | [
"noreply@github.com"
] | ytatus94.noreply@github.com |
d4295b1a86339eafa1623e827e5b977d4aa665b6 | 10c26e25f7da2289d50b1138b7da48bf9a02d42f | /Oj/users/views.py | 2058ad4470ff413c387bbdd003f3b5c7b3b3942e | [] | no_license | ParitoshAggarwal/OJ | e1392a02dd95d42b4d72ba69b891db9df5e406ad | 1a4acb5e620b0575d744fd8e4c13148062d1670c | refs/heads/master | 2022-10-19T21:18:02.512008 | 2017-12-27T06:53:46 | 2017-12-27T06:53:46 | 97,516,099 | 0 | 1 | null | 2022-10-13T00:05:44 | 2017-07-17T19:50:06 | JavaScript | UTF-8 | Python | false | false | 3,067 | py | from django.contrib.auth.models import User
from django.shortcuts import render, redirect, get_object_or_404
from django.views.generic import View
from .modelForms import CoderForm, UserForm
from django.contrib.auth import authenticate, login
from django.contrib.auth import logout
from django.views.generic.edit import ... | [
"paritoshmait@gmail.com"
] | paritoshmait@gmail.com |
da83acb376af17ee4889f2e2866bb87ad92bc1a7 | 1220f32fbf835e7a853ee7ccc8ca13c215bc79cf | /Kivy_tutorial_files/Kivy_App_Tutorial_00/Box&Buttons/ButtonWidget_06.py | 03565d1cbf7eaf290a6f27c19ecf4a39a966067a | [] | no_license | CyborgVillager/Gui_Tutorial | 6775fc570427b424dc38b56cdaad2c17ef3d178d | 9f39efc3d62bcb2f22bbf1fa9d23ad96a04cc412 | refs/heads/master | 2022-11-06T10:14:44.006658 | 2020-01-11T15:35:14 | 2020-01-11T15:35:14 | 232,301,052 | 1 | 1 | null | 2022-10-21T05:28:32 | 2020-01-07T10:31:01 | Python | UTF-8 | Python | false | false | 370 | py | from kivy.lang import Builder
from kivy.base import runTouchApp
runTouchApp(Builder.load_string("""
Label:
Button:
text:'Jonathan'
font_size:32
color:222, 233, 7, 0.96
size:250,200
pos:50,100
Button:
text:'Joshua'
font_size:26
color:.8,.1,0,1
... | [
"almawijonathan@gmail.com"
] | almawijonathan@gmail.com |
223827bb659d011399d16c21781ff4f7c4693e37 | 8253a563255bdd5797873c9f80d2a48a690c5bb0 | /configurationengine/source/plugins/symbian/ConeHCRPlugin/hcrplugin/tests/unittest_reader.py | bbb2421193268f7d267aa23848823b90add748c2 | [] | no_license | SymbianSource/oss.FCL.sftools.depl.swconfigmdw | 4e6ab52bf564299f1ed7036755cf16321bd656ee | d2feb88baf0e94da760738fc3b436c3d5d1ff35f | refs/heads/master | 2020-03-28T10:16:11.362176 | 2010-11-06T14:59:14 | 2010-11-06T14:59:14 | 73,009,096 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,883 | py | #
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-... | [
"none@none"
] | none@none |
1d780768995828113deaed921b00fc415c7672d7 | 2a3743ced45bd79826dcdc55f304da049f627f1b | /venv/lib/python3.7/site-packages/bokeh/document/document.py | 8563f505ee23e2082c852a86dd0190def1b76933 | [
"MIT"
] | permissive | Dimasik007/Deribit_funding_rate_indicator | 12cc8cd7c0be564d6e34d9eae91940c62492ae2a | 3251602ae5249069489834f9afb57b11ff37750e | refs/heads/master | 2023-05-26T10:14:20.395939 | 2019-08-03T11:35:51 | 2019-08-03T11:35:51 | 198,705,946 | 5 | 3 | MIT | 2023-05-22T22:29:24 | 2019-07-24T20:32:19 | Python | UTF-8 | Python | false | false | 39,843 | py | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | [
"dmitriy00vn@gmail.com"
] | dmitriy00vn@gmail.com |
8a8c9a3189a6ca290d4e9ac347532ca02cb14649 | 895f79e57861f2e2d552750fe56b5f742bdbd4cb | /tcv_mrp/model/tcv_mrp_basic_task.py | 5f3d7c5be857b1b3f13d2a225232f9bb55d14d36 | [] | no_license | Tecvemar/openerp60 | e9899eebcfa150dd52537db8dcbf7264fafc63cd | 8534c448f63c71e57d91b21656f1bc1aa8f7aea8 | refs/heads/master | 2023-02-15T04:55:05.817013 | 2023-01-26T21:01:35 | 2023-01-26T21:01:35 | 74,976,919 | 1 | 1 | null | 2022-01-21T14:42:29 | 2016-11-28T13:45:07 | Python | UTF-8 | Python | false | false | 43,716 | py | # -*- encoding: utf-8 -*-
##############################################################################
# Company: Tecvemar, c.a.
# Author: Juan V. Márquez L.
# Creation Date: 03/10/2012
# Version: 0.0.0.0
#
# Description:
#
#
#############################################################################... | [
"juanvmarquezl@gmail.com"
] | juanvmarquezl@gmail.com |
60392a30744a47c26902a16ef07ffd786dbd9d0d | f0e6b08f33ea27ca0382f0bf8d9b5e33c01d1dfc | /djangoproject/myproject/myproject/settings.py | 0fcb5842788261b489b6bce73e7e2cb25479c510 | [] | no_license | nupur3101/batch430 | 8edef26909c2223031d8ef8690ba5cc6a0c83335 | cb9f0644a9f6662e731eb8b9b3f0762a738864f4 | refs/heads/master | 2020-12-28T04:45:52.825960 | 2020-01-30T12:35:33 | 2020-01-30T12:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,832 | py | """
Django settings for myproject project.
Generated by 'django-admin startproject' using Django 3.0.1.
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
... | [
"simrangrover5@gmail.com"
] | simrangrover5@gmail.com |
2cfd1c024c96fe49b55a5504ae8a2442e1d5c830 | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /TkL6GTu9QMhYnv869_14.py | a02ec9a366f6a9388b2c80a13da2f67a67dc42a7 | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 768 | py | """
Create a function that adds a string ending to each member in a list.
### Examples
add_ending(["clever", "meek", "hurried", "nice"], "ly")
➞ ["cleverly", "meekly", "hurriedly", "nicely"]
add_ending(["new", "pander", "scoop"], "er")
➞ ["newer", "panderer", "scooper"]
add_ending(["b... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
9babd500af3d3514b3868f6b6c35a7c0b134ea0b | 77ab53380f74c33bb3aacee8effc0e186b63c3d6 | /5389_food_orders.py | 608d2efac050ccce436916c2505a26f57eaf268a | [] | no_license | tabletenniser/leetcode | 8e3aa1b4df1b79364eb5ca3a97db57e0371250b6 | d3ebbfe2e4ab87d5b44bc534984dfa453e34efbd | refs/heads/master | 2023-02-23T18:14:31.577455 | 2023-02-06T07:09:54 | 2023-02-06T07:09:54 | 94,496,986 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,594 | py | '''
Given the array orders, which represents the orders that customers have done in a restaurant. More specifically orders[i]=[customerNamei,tableNumberi,foodItemi] where customerNamei is the name of the customer, tableNumberi is the table customer sit at, and foodItemi is the item customer orders.
Return the restaura... | [
"tabletenniser@gmail.com"
] | tabletenniser@gmail.com |
7674273a6bb9f50a92b66b039b3705b528f49169 | 549a573c35dd79f77ded35a0c9cc0b6074daba64 | /src/pipelines/epidemiology/ch_openzh.py | 84b9bfc4c3b7e25a898a84d4e355b0320286a7ec | [
"Apache-2.0",
"CC-BY-4.0",
"CC-BY-SA-3.0",
"LicenseRef-scancode-proprietary-license",
"GPL-3.0-only",
"AGPL-3.0-only",
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | harrisonzhu508/data | f91d5fb2847bfcba1c7debaad490266a11423424 | a3b95ced4abad6653d20f67f3f285abeeb0c2b25 | refs/heads/master | 2022-11-30T13:33:20.176773 | 2020-05-26T10:24:47 | 2020-05-26T10:24:47 | 266,201,099 | 0 | 0 | Apache-2.0 | 2020-08-03T20:55:05 | 2020-05-22T20:27:29 | HTML | UTF-8 | Python | false | false | 1,318 | py | from typing import Any, Dict, List
from pandas import DataFrame, concat, merge
from lib.pipeline import DefaultPipeline
from lib.time import datetime_isoformat
from lib.utils import grouped_diff
class OpenZHPipeline(DefaultPipeline):
data_urls: List[str] = [
"https://raw.github.com/openZH/covid_19/master/... | [
"oscar@wahltinez.org"
] | oscar@wahltinez.org |
0dea551c1c168da413200bb795660b6ad3d2ebed | ee76919635ce69e14ddf64ee9483dca073625aaf | /pythonAlgorithm/Practice/2049统计最高分的节点数目.py | f02db61c51e3be23fda138522eb59a428d8074f0 | [] | no_license | bossjoker1/algorithm | 574e13f0dd8fe6b3e810efc03649493e90504288 | c745168a01380edb52155ca3918787d2dd356e5b | refs/heads/master | 2022-07-13T16:26:10.324544 | 2022-07-10T03:28:15 | 2022-07-10T03:28:15 | 407,361,838 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 840 | py | class Solution:
def countHighestScoreNodes(self, parents: List[int]) -> int:
n = len(parents)
g = defaultdict(list)
for i in range(1, n):
g[parents[i]].append(i)
nums = [1] * n
def dfs(root:int) -> int:
if root not in g:
return 1
... | [
"1397157763@qq.com"
] | 1397157763@qq.com |
d146de0869cc4d752315a9eeeccfb815d0d81a47 | 45a0434de7cb5aaf51f372a9ea39c2e62528e8d7 | /preprocessor_inspec.py | de915f6306dfb7b0760aa56d71dab59e5c778e71 | [] | no_license | hongtaowutj/Seq2Seq-Keyphrase-Generation | 44b5b24f3af7a85c24fc5ef231c53c1dac7e48ff | 6f2d08222b108b543b7628b32e98480f2e3a32b0 | refs/heads/master | 2020-03-27T10:43:09.941194 | 2018-07-23T07:21:35 | 2018-07-23T07:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 137,582 | py | import os
import sys
sys.path.append(os.getcwd())
import numpy as np
from datetime import datetime
import time
import random
from math import log
import json
from collections import OrderedDict
from utils.data_preprocessing_v2 import Preprocessing
from utils.reading_files import ReadingFiles
from utils.... | [
"i.nimah@tue.nl"
] | i.nimah@tue.nl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.