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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b6d26e422dc239232e501c8e5d125cea8c02a00 | 4954735ed976d889f28818ee03522f29bb23d9ec | /tests/validators/test_notations.py | 6b2bcfb1323aa95b4f9834fab1209886e95443ba | [
"MIT"
] | permissive | delocalizer/xmlschema | 703d552d749db5b5d6509bb10871b320c7a4e28a | c24169f05112f67a45493d390476307919cacd22 | refs/heads/master | 2022-10-12T09:29:03.282544 | 2020-06-08T12:03:19 | 2020-06-08T12:03:19 | 270,896,882 | 0 | 0 | MIT | 2020-06-09T03:47:54 | 2020-06-09T03:47:53 | null | UTF-8 | Python | false | false | 3,283 | py | #!/usr/bin/env python
#
# Copyright (c), 2016-2020, SISSA (International School for Advanced Studies).
# All rights reserved.
# This file is distributed under the terms of the MIT License.
# See the file 'LICENSE' in the root directory of the present
# distribution, or http://opensource.org/licenses/MIT.
#
# @author Da... | [
"brunato@sissa.it"
] | brunato@sissa.it |
76e5c02d1a7fafc84aefdf54710c33ef81e0dc11 | 91ef0bdf00d88530b9f8ef9add177949f207d3ec | /virtualbox/lib.py | cfdf55a48127773a6083fc52686a60714c7990e7 | [
"MIT"
] | permissive | vspeter/subcontractor_plugins | 4aae24275c087fa59beb1d43df65715df464facc | e14d08151d707a1ffcbdfb115f5103df4d041390 | refs/heads/master | 2020-03-16T22:29:19.301781 | 2018-05-11T13:16:42 | 2018-05-11T13:16:42 | 133,040,773 | 0 | 0 | null | 2018-05-11T13:06:44 | 2018-05-11T13:06:44 | null | UTF-8 | Python | false | false | 9,588 | py | import logging
import virtualbox
import time
import os
CLEAN_POWER_DOWN_COUNT = 20
CREATE_GROUP = ''
CREATE_GROUPS = []
CREATE_FLAGS = ''
CREATE_OS_TYPE_ID = 'Ubuntu_64'
BOOT_ORDER_MAP = { 'hdd': virtualbox.library.DeviceType.hard_disk, 'net': virtualbox.library.DeviceType.network, 'cd': virtualbox.library.DeviceTyp... | [
"pnhowe@gmail.com"
] | pnhowe@gmail.com |
e168ffd4dead14c9eaf5425e74680b07709fdc75 | 7b5c2eeae723cfda08a29d60845ba45c0eda54d7 | /demo/socketServer.py | e3b16611489527a9096bb55e06503dccebed4bae | [] | no_license | sankarmanoj/CTE-Python | 90b0cadd84442bf4678648536f29aadb66b86449 | 127f7fe3123c58975c1ed06e5e74fb0da4517b77 | refs/heads/master | 2020-01-27T09:58:42.168546 | 2016-11-11T13:38:06 | 2016-11-11T13:38:06 | 67,203,144 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 283 | py | from socket import *
from threading import *
def clientHandler(client):
while True:
print client.recv(1000)
server = socket()
server.bind(("",5432))
server.listen(5)
while True:
client,address = server.accept()
Thread(target=clientHandler,args=(client,)).start()
| [
"me@sankar-manoj.com"
] | me@sankar-manoj.com |
9cfc8944ff7d7fa416aae460e30747bd9bd1a113 | fc471bdf94510d96d0c40777af3a8d0e129b5e0c | /store/forms.py | 9528d93471397cd5004cbe077e30b1fd1925d174 | [] | no_license | dtekluva/pimekfoods | cd5fadf598acf3943bb73a93eb38f9aa27a075d3 | e3956d3d810459ef2c546d66d1bbf6165591d58b | refs/heads/master | 2021-09-06T22:41:38.170149 | 2018-02-12T19:40:08 | 2018-02-12T19:40:08 | 118,788,961 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,329 | py | from django import forms
from django.contrib.auth.models import User
from store.models import Customers
class CustomersForm(forms.ModelForm):
email = forms.EmailField(max_length=128,
help_text="Please enter the your email.")
class Meta:
# Provide an association between... | [
"31896598+dtekluva@users.noreply.github.com"
] | 31896598+dtekluva@users.noreply.github.com |
0b3313a6e4bc835241e33911e8e3d727792341d8 | 838c271cbb01f6e7c3e79661981df6fbb6e1bb8e | /fractals/mandelbrot.py | bc535296360ca5461eaab184cc76d02788ddbaf7 | [
"MIT"
] | permissive | anvetsu/anviz | 403486a78c6f36fabe6d8fe08a3b4ed427d6ac52 | aaa0aa0b854d734ea8851d9f29dc64a1f5413d51 | refs/heads/master | 2020-04-06T15:19:46.813647 | 2019-05-07T20:57:04 | 2019-05-07T20:57:04 | 157,574,403 | 3 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,937 | py | """
mandelbrot.py - Implement the Mandelbrot set in Python using matplotlib & numpy,
by reusing code from the Julia set.
"""
import matplotlib.pyplot as plt
import numpy as np
def mandelbrot_set(width, height, zoom=1, x_off=0, y_off=0, niter=256):
""" A mandelbrot set of geometry (width x height) ... | [
"anandpillai@letterboxes.org"
] | anandpillai@letterboxes.org |
d6639e4d03bed7fc872580146e9dfb6a986900b4 | b162de01d1ca9a8a2a720e877961a3c85c9a1c1c | /771.jewels-and-stones.python3.py | 03d36c3757040ca6a726c9e3f3692fe3e473df46 | [] | no_license | richnakasato/lc | 91d5ff40a1a3970856c76c1a53d7b21d88a3429c | f55a2decefcf075914ead4d9649d514209d17a34 | refs/heads/master | 2023-01-19T09:55:08.040324 | 2020-11-19T03:13:51 | 2020-11-19T03:13:51 | 114,937,686 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,045 | py | #
# [782] Jewels and Stones
#
# https://leetcode.com/problems/jewels-and-stones/description/
#
# algorithms
# Easy (82.02%)
# Total Accepted: 143.1K
# Total Submissions: 174.5K
# Testcase Example: '"aA"\n"aAAbbbb"'
#
# You're given strings J representing the types of stones that are jewels, and
# S representing the... | [
"richnakasato@hotmail.com"
] | richnakasato@hotmail.com |
5b300e65ca79be9aec666484fde67de6936dc9b7 | e2770f82b79913c2e024be7fe9d7e8c3c50c3fa0 | /noxfile.py | de4ba54398043f04e8d44eb152f2580ee1cafe84 | [
"MIT"
] | permissive | dfm/kepler.py | 227f5b735e68982c258d853f57c193f9a23a7e33 | 02d208dce36a4bcee8f7886e736cbecbbb45395e | refs/heads/main | 2023-07-22T12:30:48.039570 | 2022-08-03T17:49:51 | 2022-08-03T17:49:51 | 274,433,037 | 13 | 2 | MIT | 2022-09-23T00:06:48 | 2020-06-23T14:51:05 | Python | UTF-8 | Python | false | false | 244 | py | import nox
@nox.session
def tests(session):
session.install("-e", ".[test]")
session.run("pytest", "-v", "tests")
@nox.session
def lint(session):
session.install("pre-commit")
session.run("pre-commit", "run", "--all-files")
| [
"foreman.mackey@gmail.com"
] | foreman.mackey@gmail.com |
9bef170c4f8456ec6e86b6cf3f11a5f9155fab51 | 5e6d8b9989247801718dd1f10009f0f7f54c1eb4 | /sdk/python/pulumi_azure_native/apimanagement/v20210801/group.py | 5251400030c8a2f8b228013d3d8f0af3efdcc044 | [
"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 | 14,192 | 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 |
b4c78a5896631e1fdab65a791d6fe38c64c7176b | 627b050148e767be12cfc7dfa81b1c6368cf3104 | /BaekJoonOnlineJudge/CodePlus/600Graph/BFSPractice/baekjoon_16948.py | 14b64141162dad5e0fce91ee40db2215d84af8c8 | [] | no_license | imn00133/algorithm | 6ce5d10491bde853eb9e4d6a69bde3124723875c | 40d7bbe6e3cfe932122c32a9f730f951e948ef2d | refs/heads/master | 2022-08-13T20:26:06.200622 | 2022-07-31T08:54:26 | 2022-07-31T08:54:26 | 231,281,731 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,070 | py | # https://www.acmicpc.net/problem/16948
# Solved Date: 20.05.29.
import sys
import collections
read = sys.stdin.readline
DYX = ((-2, -1), (-2, 1), (0, 2), (2, 1), (2, -1), (0, -2))
def explorer(board, start, end):
queue = collections.deque()
queue.append(start)
board[start[0]][start[1]] = 0
while qu... | [
"imn00133@gmail.com"
] | imn00133@gmail.com |
60162c216b840b311d25f263cef6ffc9623ad887 | 005fb4efa2a9424d908a3e27fc62fb4be1f8125c | /docs/source/conf.py | ca5ddc296c96779b6489dd30c4094e06fdc3c37c | [
"MIT"
] | permissive | uberstig/gpytorch | aab7b5f6ece80d5d0a0e1a1eeaa3b2cd719b43bd | 29855535097f0e1df4660b6335a2069f5c798db5 | refs/heads/master | 2020-03-27T03:26:08.484057 | 2018-08-23T00:02:51 | 2018-08-23T00:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,739 | py | # -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup ------------------------------------------------------------... | [
"gpleiss@gmail.com"
] | gpleiss@gmail.com |
7bd9e94709fccaf63db4e8dde6902d1e6bf85734 | 0ac38e9eaa2fb90cf55bbd4ab94055e6a4416b3e | /lib/unit_tests/logging/test_metric.py | e4e93279b2808be757e128f9b6d703bff752725a | [
"Apache-2.0"
] | permissive | varnachandar/emotion2music | 6f5a42c8dd5542ad3ea919e366f906666cb4c299 | aa58c80d5ea81cfba7760b8f9b3151db9c61b6bc | refs/heads/master | 2020-04-27T15:12:44.795220 | 2019-03-07T23:59:11 | 2019-03-07T23:59:11 | 174,437,101 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 9,674 | py | # Copyright 2016 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.0
#
# Unless required by applicable law or a... | [
"varnachandar16@gmail.com"
] | varnachandar16@gmail.com |
7f7a6a7407ff0e5f57eef85bb33951497afe9247 | 30569618ec13465ee323f27797933ba85035711a | /test/test_body54.py | ffc5a2ffff9aea63983692f670119487414368a6 | [
"MIT"
] | permissive | ike709/tgs4-api-pyclient | c0fdd7e648fd4fb77f0caf3253a7e1daafc0477a | 97918cfe614cc4ef06ef2485efff163417a8cd44 | refs/heads/main | 2023-03-14T08:11:06.146596 | 2021-03-01T18:21:33 | 2021-03-01T18:21:33 | 336,353,718 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 812 | py | # coding: utf-8
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.model... | [
"sparebytes@protonmail.com"
] | sparebytes@protonmail.com |
0965b76d0b76f87a184d69262a29fb7215f13143 | 3bd48b4d0651909de302e015941e8b82ebf8faee | /bbDM/plotting/plotConfig.py | 68730b156019c117dd139f18dcd16eff3f2d65a3 | [] | no_license | ramankhurana/LimitsAndFitting | d3a5769aed1e44b2bf1a096147d0b295305f8b75 | 31ec2433827180b58a082db5ccf97fd33e631cde | refs/heads/master | 2020-03-11T09:01:23.020769 | 2018-05-19T00:02:16 | 2018-05-19T00:02:16 | 129,899,379 | 0 | 1 | null | 2018-05-10T09:44:04 | 2018-04-17T12:13:49 | Python | UTF-8 | Python | false | false | 158 | py | #!/usr/bin/env python
plotDir = 'bbDM2DLimitV1'
#plotDir = 'plotsLimitZpBarApprovalMonoHbb'
lumi = 35.9
from os import system
system('mkdir -p '+plotDir)
| [
"ramankhurana1986@gmail.com"
] | ramankhurana1986@gmail.com |
18ff6c6b3ebf838b871a8872a1bae88cce438f95 | 7b13e6acb2a1f26936462ed795ee4508b4088042 | /算法题目/算法题目/LeetCode7字符串找数字.py | 7b48ab5059e2dfd72223b0dfbf799976880ee0a4 | [] | no_license | guojia60180/algorithm | ed2b0fd63108f30cd596390e64ae659666d1c2c6 | ea81ff2722c7c350be5e1f0cd6d4290d366f2988 | refs/heads/master | 2020-04-19T08:25:55.110548 | 2019-05-13T13:29:39 | 2019-05-13T13:29:39 | 168,076,375 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 462 | py | #Author guo
#正则
import re
class Solution:
def atio(self,str):
str=str.strip()
str=re.findall('(^[\+\-0]*\d+)\D*',str)
try:
result=int(''.join(str))
MAX_INT=2**32
MIN_INT=-2**32
if result>MAX_INT>0:
return MAX_INT
el... | [
"44565715+guojia60180@users.noreply.github.com"
] | 44565715+guojia60180@users.noreply.github.com |
ea6a36fa396fb0e6659ef824f585f7056fad2e67 | db8f0b2db2fe8c9b5d2cc2e33f669028da7830a8 | /tuples_and_sets/count_symbols.py | eb7254f50f5730ada3cf28269626054c3f321912 | [] | no_license | yordan-marinov/advanced_python | 9694184eed31a9769fa1b552b087fb7b7736af84 | 63ad860f356978c13f208f18502a39a8f23cd18b | refs/heads/master | 2023-03-29T18:04:08.252558 | 2021-03-26T13:39:39 | 2021-03-26T13:39:39 | 309,930,564 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 952 | py | # from collections import defaultdict
#
#
# def count_symbols(text):
# symbols_count = defaultdict(int)
# for char in text:
# symbols_count[char] += 1
# return symbols_count
#
#
# def print_statement(collection: dict):
# for key, value in sorted(collection.items()):
# print(f"{key}: {val... | [
"jordanmarinov8@gmail.com"
] | jordanmarinov8@gmail.com |
fb3fcf951fcbaa6546f67062307ef739de545ff0 | facb8b9155a569b09ba66aefc22564a5bf9cd319 | /wp2/era5_scripts/02_preprocessing/concat82/782-tideGauge.py | ff10f13af471085f3ee22803735744e00ab3de17 | [] | no_license | moinabyssinia/modeling-global-storm-surges | 13e69faa8f45a1244a964c5de4e2a5a6c95b2128 | 6e385b2a5f0867df8ceabd155e17ba876779c1bd | refs/heads/master | 2023-06-09T00:40:39.319465 | 2021-06-25T21:00:44 | 2021-06-25T21:00:44 | 229,080,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,482 | py | # -*- coding: utf-8 -*-
"""
Created on Tue May 13 10:02:00 2020
---------------------------------------------------------
This script concatenates yearly predictor files
Browses the predictor folders for the chosen TG
Concatenates the yearly csvs for the chosen predictor
Saves the concatenated csv in a separate dire... | [
"michaelg.tadesse@gmail.com"
] | michaelg.tadesse@gmail.com |
f69314686809989f429c61d1bf14ee2b321c4f7b | c413fce92172f3503fd4790b68ad6bbddbf4c919 | /20170417/2_inheritence/08_inheritence.py | c1c6778cc820e63e889f63121bb820ca66eb7c7a | [] | no_license | JohnHaan/cloudtechpython | 9dbd80e71b7151e3ba1be416b798f086785a1f19 | 17b9b8224cdc29a4b51e592e86f8c9863309c5b1 | refs/heads/master | 2021-01-22T21:22:36.733331 | 2017-11-28T13:54:32 | 2017-11-28T13:54:32 | 85,414,710 | 0 | 1 | null | 2017-04-21T02:51:09 | 2017-03-18T16:15:17 | Python | UTF-8 | Python | false | false | 507 | py | # -*- coding:utf-8 -*-
### super() 실습 1
class Animal(object):
def __init__(self):
print("Animal __init__()")
class Tiger(Animal):
def __init__(self):
Animal.__init__(self)
print("Tiger __init__()")
class Lion(Animal):
def __init__(self):
Animal.__init__(self)
prin... | [
"yongiman@gmail.com"
] | yongiman@gmail.com |
aa1b685217028f39bbc6cd95cf2824c72b6e0d10 | 027babf57faf4dc272b4e6eb6ce0d9ae4f89b75b | /futurify/tests/examples/multiline.py | 0004b0d6dee38d34bb199a0c73d94ded59c6f699 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | storborg/futurify | 0af9d965f6ff1527c6d9887e2ef747a65f8e4371 | 00d612c4686d39a2960ef54b33b7fe2d7277d8cf | refs/heads/master | 2021-01-18T17:19:15.884271 | 2014-11-12T20:58:19 | 2014-11-12T20:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 183 | py |
from __future__ import (print_function,
division)
# Here's a comment.
from __future__ import absolute_import
import string
print(string.uppercase('what'))
| [
"scott@cartlogic.com"
] | scott@cartlogic.com |
7aed41e470d9309b7cd0c70725fc90f532a5f464 | c3477dc5c9c2886d3e7e0e33a3347ccde756c0b7 | /Breadth First Search/130. Surrounded Regions.py | e9a379fc5e942a10ef0d8daa4c9e6fb14bfaf6ca | [] | no_license | Nora-Wang/Leetcode_python3 | b8d7b93b61faea6aacd31a0c357c661571f6695c | b4ce775f366ae096d90d2302199a75023b2dcc17 | refs/heads/master | 2023-09-04T07:09:30.162702 | 2023-08-28T13:41:48 | 2023-08-28T13:41:48 | 204,764,804 | 6 | 3 | null | null | null | null | UTF-8 | Python | false | false | 4,503 | py | Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's in that surrounded region.
Example:
X X X X
X O O X
X X O X
X O X X
After running your function, the board should be:
X X X X
X X X X
X X X X
X O X X
Explanation:
Surro... | [
"noreply@github.com"
] | Nora-Wang.noreply@github.com |
8d5a4c16db16e807f43617adf078afa061754c99 | 1539f86f91ce0ee6150fba7363976d32cd37ece2 | /codes_auto/100159.check-permutation-lcci.py | c78645d53c693758a46383eca384f022fb5e3c79 | [] | no_license | zhpbo/LeetCode_By_Python | fdee0a8b7ea7ed1f61a99f0041e1c748e50f138c | 0017b9db891d36789116f7299d32510a373e68da | refs/heads/master | 2023-07-09T15:38:45.003002 | 2020-08-18T07:04:51 | 2020-08-18T07:04:51 | 281,598,190 | 0 | 0 | null | 2021-08-18T04:58:39 | 2020-07-22T06:47:05 | null | UTF-8 | Python | false | false | 211 | py | #
# @lc app=leetcode.cn id=100159 lang=python3
#
# [100159] check-permutation-lcci
#
class Solution:
def CheckPermutation(self, s1: str, s2: str) -> bool:
return sorted(s1)==sorted(s2)
# @lc code=end | [
"liuyang0001@outlook.com"
] | liuyang0001@outlook.com |
6c6d7615530ba550eead471898936c8ef041a9cb | c1bd12405d244c5924a4b069286cd9baf2c63895 | /azure-mgmt-network/azure/mgmt/network/v2018_01_01/network_management_client.py | 39849637157074ac873fbdc88ae50681b1b7b1b8 | [
"MIT"
] | permissive | lmazuel/azure-sdk-for-python | 972708ad5902778004680b142874582a284a8a7c | b40e0e36cc00a82b7f8ca2fa599b1928240c98b5 | refs/heads/master | 2022-08-16T02:32:14.070707 | 2018-03-29T17:16:15 | 2018-03-29T17:16:15 | 21,287,134 | 1 | 3 | MIT | 2019-10-25T15:56:00 | 2014-06-27T19:40:56 | Python | UTF-8 | Python | false | false | 21,640 | 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 ... | [
"noreply@github.com"
] | lmazuel.noreply@github.com |
12fb6832b6c90c171a36b13562411e13c6d9cfe6 | 0920b50773cfd231137d2383695a6730d0678628 | /cfd.py | e41f1af83d0141970515657988ed595983b2072e | [] | no_license | chyser/bin | 05b67cf299b0e427e253abc42ca015fcdec8e84c | b54f23c6c5f1f19e426ee06c9e9faf9f561ee9a9 | refs/heads/master | 2021-01-19T19:35:05.801722 | 2015-08-19T17:58:29 | 2015-08-19T17:58:29 | 17,319,228 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 993 | py | #!/usr/bin/env python
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
from __future__ import absolute_import
import pylib.osscripts as oss
from cf import *
#-------------------------------------------------------------------------------
def main(argv):
#... | [
"chris.hyser@oracle.com"
] | chris.hyser@oracle.com |
38886f7c80d998b36c85901e4c407cfc393cff4e | 22ff0921aee459abd0a3c15281de80ba6b4035bf | /March/day 11 decorator/task/hellbhushan.py | 6e32584df4c8c7c2ece212a17d610e179399e5d2 | [] | no_license | BhushanTayade88/Core-Python | b0516f234b866682931af95b723adb1269fb946a | f687e4029e3a3aaf751538604dfd06386084252b | refs/heads/master | 2023-08-03T02:09:38.536580 | 2021-10-05T17:25:20 | 2021-10-05T17:25:20 | 413,910,551 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 375 | py | def outer_func(func):
def inner_func(*b):
for i in b:
print("Hello")
func(i)
print("How are you")
return inner_func
@outer_func
def m1(a):
print(a)
@outer_func
def m2(b):
print(... | [
"tayadebhushan55@gmail.com"
] | tayadebhushan55@gmail.com |
97a482a1583e44ed68996a87b114c054b35cc227 | 4bde2d1e2282014f71b8cfec4440cb062db172cb | /side_projects/value_or_reference.py | d3b8155fa595ebed24f6709cc75cd9cf0ddce7d2 | [] | no_license | MrDeshaies/NOT-projecteuler.net | 6b107a515b1322fcd5f7d88e187ca2ea97edddcf | c6f0bd38d074b427345b4f5b41733bda38fbcdb4 | refs/heads/master | 2022-11-17T18:39:43.321814 | 2022-11-13T11:35:10 | 2022-11-13T11:35:10 | 201,793,983 | 0 | 0 | null | 2019-08-18T19:50:45 | 2019-08-11T17:20:18 | Python | UTF-8 | Python | false | false | 339 | py |
def changex(x):
x += 1
x = 3
x=1
changex(x)
print(x)
def changelist(x):
x.append(5)
x = [i ** 2 for i in x]
# for i in range(len(x)):
# x[i] *= 2
x = [1,2,3,4]
changelist(x)
print(x)
class Car:
pass
def changecar(x):
x.wheels *= 2
x = Car()
x.wheels = 2
print(x.wheels)
changecar... | [
"benoit.deshaies@gmail.com"
] | benoit.deshaies@gmail.com |
1e3fab0f4b5cbb7c9801762347956fffa4ba5ee9 | 2b42b40ae2e84b438146003bf231532973f1081d | /spec/mgm4456700.3.spec | 7d59b084c40eb92ca77e62f57a7a19ff14527ca5 | [] | no_license | MG-RAST/mtf | 0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a | e2ddb3b145068f22808ef43e2bbbbaeec7abccff | refs/heads/master | 2020-05-20T15:32:04.334532 | 2012-03-05T09:51:49 | 2012-03-05T09:51:49 | 3,625,755 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 14,296 | spec | {
"id": "mgm4456700.3",
"metadata": {
"mgm4456700.3.metadata.json": {
"format": "json",
"provider": "metagenomics.anl.gov"
}
},
"providers": {
"metagenomics.anl.gov": {
"files": {
"100.preprocess.info": {
... | [
"jared.wilkening@gmail.com"
] | jared.wilkening@gmail.com |
cf0e24b2acb51b16ce64762c84db8abc6a486acd | abba8b8b92125735ebff2f5f783870f80c27bd1f | /restful/hawkeye/monitor/migrations/0036_auto_20180226_1405.py | e9f6bea28b8f8c78348c35b7acb83dbe918f59b7 | [] | no_license | zsprn123/yunqu | 25a5463aaece2d3f8749c6ef588ad4fcb3651360 | af43f8b42129be5be82db2607c40480028057273 | refs/heads/master | 2022-12-22T04:37:59.989122 | 2018-08-30T07:59:41 | 2018-08-30T07:59:41 | 146,715,198 | 0 | 2 | null | 2022-12-08T00:45:43 | 2018-08-30T07:52:07 | Roff | UTF-8 | Python | false | false | 828 | py | # uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 2.7.5 (default, Jul 13 2018, 13:06:57)
# [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
# Embedded file name: ./monitor/migrations/0036_auto_20180226_1405.py
# Compiled at: 2018-08-23 19:33:14
# Size of source mod 2**32: 564 bytes
from django.d... | [
"you@example.com"
] | you@example.com |
61012a1359547bd0185579a18297a2726b9e08c3 | 708dd7f385e02dee1c34be4b9861274af0f03b84 | /ucclms/migrations/0002_auto_20210802_1943.py | f6658d37562b37401d62c651f57bc253fa3680e2 | [] | no_license | hamzaumar8/ucc-lms | ca7d34ea60e87ab395322a4b3bde121dc98a1320 | cd023a3e7548a18446a6f6cddeacef97d4428e68 | refs/heads/main | 2023-08-26T12:10:06.452724 | 2021-10-28T15:15:53 | 2021-10-28T15:15:53 | 414,651,085 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 644 | py | # Generated by Django 3.2 on 2021-08-02 19:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ucclms', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='book',
old_name='address',
... | [
"humar6078@gmail.com"
] | humar6078@gmail.com |
cb2f5661a8a71cabbf4cf22d2a5fafcafcd8f57c | de64b143a346585f51590bd674e8d13bbc672386 | /algorithm/2020/0320/youngwan.py | 5459408e9992a7e180548cb9e5e95240422dc559 | [] | no_license | ai-kmu/etc | 304ec20f59e4026025abdcbcae21863c80630dcb | 9c29941e19b7dd2a2037b110dd6e16690e9a0cc2 | refs/heads/master | 2023-08-21T16:30:31.149956 | 2023-08-21T16:26:19 | 2023-08-21T16:26:19 | 199,843,899 | 3 | 24 | null | 2023-05-31T09:56:59 | 2019-07-31T11:36:16 | Jupyter Notebook | UTF-8 | Python | false | false | 608 | py | def solution(priorities, location):
answer = 0
while(location != -1):
printing = True
now = priorities.pop(0)
for num in priorities:
if(now < num):
printing = False
priorities.append(now)
if(location == 0):
l... | [
"noreply@github.com"
] | ai-kmu.noreply@github.com |
fc54e2569e4746bbca260624dbf6cf5a1f4dd2fa | ec38185b855e63467599fb821f478a589e89972f | /qtrader/gateways/base_gateway.py | 1e8f31ff502cee4ef8751158bb718b75051cfdcb | [] | no_license | KK-Master/qtrader | 475aed8407732b1aa1861ee3f4eeab522ead738c | 906f79b19e78a3b3e649ff6ced01b9c172627cf7 | refs/heads/master | 2023-03-24T23:45:52.376633 | 2021-03-22T08:43:38 | 2021-03-22T08:43:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,066 | py | # -*- coding: utf-8 -*-
# @Time : 18/3/2021 1:24 PM
# @Author : Joseph Chen
# @Email : josephchenhk@gmail.com
# @FileName: base_gateway.py
# @Software: PyCharm
from abc import ABC
from typing import List
from qtrader.core.deal import Deal
from qtrader.core.order import Order
from qtrader.core.security import Sto... | [
"josephchenhk@gmail.com"
] | josephchenhk@gmail.com |
68db10b417411fbc5cb6fe5d124a9e6506bf3557 | e0980f704a573894350e285f66f4cf390837238e | /.history/streams/blocks_20201022115529.py | 14867218e10fd30e1360eb215e1db835d907db7a | [] | no_license | rucpata/WagtailWebsite | 28008474ec779d12ef43bceb61827168274a8b61 | 5aa44f51592f49c9a708fc5515ad877c6a29dfd9 | refs/heads/main | 2023-02-09T15:30:02.133415 | 2021-01-05T14:55:45 | 2021-01-05T14:55:45 | 303,961,094 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,754 | py | from wagtail.core import blocks
from wagtail.images.blocks import ImageChooserBlock
class TitleBlock(blocks.StructBlock):
text = blocks.CharBlock(
required = True,
elp_text='Tekst do wyświetlenia',
)
class Meta:
template = 'streams/title_block.html'
icon = 'edycja'
... | [
"rucinska.patrycja@gmail.com"
] | rucinska.patrycja@gmail.com |
e9aa828fb2b4eaf7b7ad1505409b462098fd8bfc | 1be2cbc9fd62cf77cc05a64807acf7d857b84eee | /tests/conftest.py | ce7dd1f9c2951aa6b01606579347a9a18feb36e7 | [] | no_license | ikamensh/blackopt | 4fdce2c0147b1a5a85024c9b59925d3d1a35b13f | a6ab24ce1be21a5ca9e26d0bb1f59bb50fd007a2 | refs/heads/master | 2023-01-23T12:55:42.087216 | 2020-12-05T19:18:30 | 2020-12-05T19:18:30 | 178,232,685 | 0 | 0 | null | 2020-10-18T20:57:29 | 2019-03-28T15:33:53 | Python | UTF-8 | Python | false | false | 983 | py | import os
import sys
import pytest
cur_dir = os.path.dirname(__file__)
blackopt_dir = os.path.join(cur_dir, "..")
sys.path.append(blackopt_dir)
from blackopt.config import set_rootdir, get_rootdir
from blackopt.examples.problems.tsp import TspSolution, TspProblem
from blackopt.examples.problems.bumpy import BumpySol... | [
"ikkamens@amazon.com"
] | ikkamens@amazon.com |
78bfc2e96fdb0ef3ed85828e0d63caa430ef25f8 | a9e60d0e5b3b5062a81da96be2d9c748a96ffca7 | /configurations/i21-config/scripts/utils/beamline.py | d1d13deb935bc83291cc14edafb8e77909b45ab5 | [] | no_license | openGDA/gda-diamond | 3736718596f47607335ada470d06148d7b57526e | bbb64dcfd581c30eddb210c647db5b5864b59166 | refs/heads/master | 2023-08-16T08:01:11.075927 | 2023-08-15T16:01:52 | 2023-08-15T16:01:52 | 121,757,699 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,148 | py | from gda.jython.commands.GeneralCommands import alias
from utils.BeamlineFunctions import BeamlineFunctionClass
from gda.configuration.properties import LocalProperties
print("-"*100)
print("create 'beamlinefunction' object and commands 'last_scan_file', 'get_title', 'set_title', 'get_visit', 'set_visit', 'set_directo... | [
"fajin.yuan@diamond.ac.uk"
] | fajin.yuan@diamond.ac.uk |
2fa37bac166f301d6eec8fac5e8809d2e31cd950 | c36c224604d8383f723c4f197ebad9227b27cee5 | /build.py | 169c46b50add83d97c5d66c6e221907296c1e2f4 | [] | no_license | mfitzp/iigby | ee74580201c535ff866ca5b32c5ef7adf1c0e622 | a14d89ff49677bfffe95738942bd448ab3d0d820 | refs/heads/master | 2023-06-19T22:54:41.278849 | 2021-07-20T20:02:44 | 2021-07-20T20:02:44 | 254,595,741 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,714 | py | import pandas as pd
import numpy as np
import os
from scipy import stats
import shutil
import pathlib
import jinja2
from jinja2 import Template
import geopandas
from matplotlib.colors import ListedColormap, Normalize
import datetime as dt
from matplotlib import pyplot as plt
from matplotlib.figure i... | [
"martin.fitzpatrick@gmail.com"
] | martin.fitzpatrick@gmail.com |
033e4689de2be6b7cc1a75c2398a8a1c85cf3e96 | 6b5f97d9e48848a25f398af8740989ecc28b35ce | /itp1/simple_calculator.py | a5a290a4b443c1ee6654ba53f272c6d528d73e0a | [] | no_license | hihumi/aojnote | 32452de87566868b37deb17ccf032c3fdf18138a | 9d2d4640e84e0f00242a27c4728d221ef8ed6dab | refs/heads/master | 2021-01-12T04:52:58.895438 | 2017-01-21T04:47:55 | 2017-01-21T04:47:55 | 77,806,924 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 420 | py | #!/usr/bin/env python3
def simple_calculator():
while True:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '*':
print(a * b)
elif op == '/':
... | [
"yui.maa5800@gmail.com"
] | yui.maa5800@gmail.com |
84fa837a2a29a818c147f4e0529b1e8523aa13f2 | 81407be1385564308db7193634a2bb050b4f822e | /the-python-standard-library-by-example/bz2/bz2_server.py | b46c1d20333c42dd47f6864d037f901b9e9f5701 | [
"MIT"
] | permissive | gottaegbert/penter | 6db4f7d82c143af1209b4259ba32145aba7d6bd3 | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | refs/heads/master | 2022-12-30T14:51:45.132819 | 2020-10-09T05:33:23 | 2020-10-09T05:33:23 | 305,266,398 | 0 | 0 | MIT | 2020-10-19T04:56:02 | 2020-10-19T04:53:05 | null | UTF-8 | Python | false | false | 3,410 | py | #!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2008 Doug Hellmann All rights reserved.
#
"""
"""
#__version__ = "$Id$"
#end_pymotw_header
import bz2
import logging
import SocketServer
import binascii
BLOCK_SIZE = 32
class Bz2RequestHandler(SocketServer.BaseRequestHandler):
logger = logging.getLogger(... | [
"350840291@qq.com"
] | 350840291@qq.com |
b0e2f7bc464466b0a52c8aa4e57bc7b8fd69bfa3 | 2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae | /python/python_28527.py | d5647b7ebce3ef88472553fd8220c92d50a66170 | [] | no_license | AK-1121/code_extraction | cc812b6832b112e3ffcc2bb7eb4237fd85c88c01 | 5297a4a3aab3bb37efa24a89636935da04a1f8b6 | refs/heads/master | 2020-05-23T08:04:11.789141 | 2015-10-22T19:19:40 | 2015-10-22T19:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 102 | py | # How can I pass context data to sylesheet 'src' and image 'src' attributes?
{% static cust_header %}
| [
"ubuntu@ip-172-31-7-228.us-west-2.compute.internal"
] | ubuntu@ip-172-31-7-228.us-west-2.compute.internal |
025e39e35b4e693395179a86f505c2bf6c7a422e | 9a486a87e028303a551fbd0d1e1b6b650387ea14 | /createPyLog/createPyLog.py | ea83737a093c9b6a6e7c7e68dbc072f3b3cc535d | [] | no_license | shanlihou/pythonFunc | 7b8e7064fddd4522e492c915c086cc6c5abc6eec | 646920256551ccd8335446dd4fe11aa4b9916f64 | refs/heads/master | 2022-08-24T20:33:12.287464 | 2022-07-21T12:00:10 | 2022-07-21T12:00:10 | 24,311,639 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,825 | py | #listdir.py
import os
import sys
import re
def countBrackets(strBrack):
count = 0
for i in strBrack:
if (i == '('):
count = count + 1
elif (i == ')'):
count = count - 1
return count
def AddLogByDef(fileName, tagName):
pattern = re.compile(r'^(\s*)def\s*(\w+)\(')
patSpace = re.compile(r'^(\s*)\S')
fil... | [
"shanlihou@gmail.com"
] | shanlihou@gmail.com |
dfef0aa4b804b7fef00c1384f408a3441b96e153 | b621781cbad54bdc049185f208db222013d66054 | /universalCode/sigmoid.py | 947c3e677a4d2eb0d92b123196bfaceb767cf56c | [] | no_license | laippmiles/ELM | 33a15038e4e24c63eb351c1a43d09992c23a762b | 6f0107ddfb69bd2ea633ed068932e21260b12466 | refs/heads/master | 2021-04-06T14:55:42.809893 | 2018-06-12T09:45:30 | 2018-06-12T09:45:30 | 124,390,890 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 95 | py | def sigmoid(inx):
#inx是一个数
from numpy import exp
return 1.0/(1 + exp(-inx)) | [
"laippmiles@gmail.com"
] | laippmiles@gmail.com |
cbaf66b8e37b054e0456fc3868f7699605c881e7 | 1b7947f81b2a82d3ff377c39e7228f1aaf743277 | /day5/selenium_demo/demo10.py | 0d8772f030b806c2d909dbf087bc2ef201e370db | [] | no_license | gaohj/python1902crawer | 92fbaeb8151bd8a71f3c87a1566f6dcded3ef745 | aa0dce86ba50db12fb0262a62ccc6a9ab60ad0c2 | refs/heads/master | 2020-08-14T20:08:47.775547 | 2019-10-25T06:55:21 | 2019-10-25T06:55:21 | 215,226,727 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 585 | py | from selenium import webdriver
import time
from selenium.webdriver.common.action_chains import ActionChains
#导入行为链
from selenium.webdriver.common.by import By
#chromedriver的绝对路径
driver_path = r'C:\chromedriver\chromedriver.exe'
#初始化一个driver对象
driver = webdriver.Chrome(executable_path=driver_path)
driver.get("https://w... | [
"gaohj@126.com"
] | gaohj@126.com |
5a676b07c0c39e5d6ca34a82ddcba8f4958b525c | b9a244e3b9ed9cef731058159275eea0f1663521 | /client/cgiserver.py | e68a35b380bd0ee5b65b22aaba888bebbf65fd1a | [] | no_license | ogaya/pine | d1db27d360e192e858288ed35efbda8816d0d27d | 57d6c4912a169f7c80b2f8214904fc10be10bb78 | refs/heads/master | 2016-08-05T16:47:11.518226 | 2015-03-08T14:49:25 | 2015-03-08T14:49:25 | 29,860,429 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 358 | py | import BaseHTTPServer,CGIHTTPServer
import sys
def run(server_class=BaseHTTPServer.HTTPServer, \
handler_class=CGIHTTPServer.CGIHTTPRequestHandler,port=80):
server_address = ('', int(port))
httpd = server_class(server_address, handler_class)
httpd.serve_forever()
if __name__ == '... | [
"you@example.com"
] | you@example.com |
17e309490e8e870c34bc39bef18e432d6abffa67 | de33921178f5401e691d17d36bd1ca36c9fc28d5 | /polyaxon/event_manager/events/permission.py | d7662dc4e870d06f993ac00df569d62717ed8770 | [
"MIT"
] | permissive | PankeshGupta/polyaxon | a7e082dcf7121cc2fbcef2771f595aaf4e7e49ff | b854f33334001424774853954bf39f3b1ad66a8e | refs/heads/master | 2020-03-19T01:08:19.762657 | 2018-05-28T09:18:46 | 2018-05-28T09:18:46 | 135,525,348 | 0 | 0 | null | 2018-05-31T03:12:36 | 2018-05-31T03:12:36 | null | UTF-8 | Python | false | false | 4,693 | py | from event_manager import event_actions, event_subjects
from event_manager.event import Attribute, Event
PERMISSION_PROJECT_DENIED = '{}.{}.{}'.format(event_subjects.PROJECT,
event_actions.DENIED,
event_subjects.PERMISSION)
PER... | [
"mouradmourafiq@gmail.com"
] | mouradmourafiq@gmail.com |
698e15dc49727601ca1e8ef57c824cb71231590d | 87d780c53ca2fc39f2a21572b53eeb9a381fee15 | /scratch/torch_exploration.py | b9f794d33d5318449d95e20aacf29f87adca1525 | [
"MIT"
] | permissive | nick-bowman/cs224w-project | 79d83ba46d9c4d402aeae69c6ece149a7746ae40 | 99edc43c8790575d7261ac99287370386e845182 | refs/heads/master | 2020-08-26T18:38:10.117792 | 2020-01-25T01:34:19 | 2020-01-25T01:34:19 | 217,106,336 | 2 | 0 | null | 2019-12-20T20:43:58 | 2019-10-23T16:42:19 | Python | UTF-8 | Python | false | false | 434 | py | import os
import torch
import numpy as np
from torch.utils.data import Dataset, DataLoader
import csv
import snap
# Ignore warnings
import warnings
warnings.filterwarnings("ignore")
from torch_geometric.datasets import Planetoid, TUDataset
from torch_geometric.data import DataLoader
dataset = Planetoid(root='/tmp/Co... | [
"google-dl-platform@googlegroups.com"
] | google-dl-platform@googlegroups.com |
52d5d8ba2550e355f12003849e26095a3cd6d7f7 | 204ee98574f86855974290d8d885f5ec6c28590d | /homepage/migrations/0003_auto_20200527_1556.py | 8feea64afeae9b3df644bf7e89eb82e8a7d63783 | [] | no_license | pmac1687/jordans-social-page | b4d771b7136e1cb9feafd925faf131fc3b13a2a0 | 0133fa222ad84521f4dfac066cf26dc210d70d06 | refs/heads/master | 2023-05-15T10:47:46.078464 | 2020-06-28T18:24:54 | 2020-06-28T18:24:54 | 267,641,014 | 0 | 0 | null | 2021-06-10T22:58:16 | 2020-05-28T16:32:54 | Python | UTF-8 | Python | false | false | 520 | py | # Generated by Django 2.1.5 on 2020-05-27 15:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('homepage', '0002_auto_20200527_0710'),
]
operations = [
migrations.RenameField(
model_name='addition',
old_name='ele... | [
"pmac1687@outlook.com"
] | pmac1687@outlook.com |
74eb8f85dc4a3db7a5882ad6ece5d4edc93a41b4 | 6fcfb638fa725b6d21083ec54e3609fc1b287d9e | /python/clips_pattern/pattern-master/examples/05-vector/01-document.py | 4b14905ae198affbc575ea4e59df3f6a23f97fb8 | [] | no_license | LiuFang816/SALSTM_py_data | 6db258e51858aeff14af38898fef715b46980ac1 | d494b3041069d377d6a7a9c296a14334f2fa5acc | refs/heads/master | 2022-12-25T06:39:52.222097 | 2019-12-12T08:49:07 | 2019-12-12T08:49:07 | 227,546,525 | 10 | 7 | null | 2022-12-19T02:53:01 | 2019-12-12T07:29:39 | Python | UTF-8 | Python | false | false | 3,205 | py | import os, sys; sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
import codecs
from pattern.vector import Document, PORTER, LEMMA
# A Document is a "bag-of-words" that splits a string into words and counts them.
# A list of words or dictionary of (word, count)-items can also be given.
# Words ... | [
"659338505@qq.com"
] | 659338505@qq.com |
f2edc775451ede637676796cbaff7e040ef237da | 3a41ccad0f041badacca3878de43f2403ebf1b1d | /appleinvaders2/main.py | f760a9258927b7f930b0a8f7170fd50360fc3668 | [
"MIT"
] | permissive | kantel/pygameprojects | 30ea7ef56f5f935f6e6a3eab88ef670c97bdfa80 | 2c51306aec0d4a848a2689b33ac49f1bd449fcc4 | refs/heads/master | 2023-09-03T22:25:10.796062 | 2023-08-14T18:18:56 | 2023-08-14T18:18:56 | 112,378,051 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,245 | py | # Apple Invaders Stage 2: Jumping
import pygame as pg
from settings import Settings
from sprites import Player, Block
import random
import os
class World:
def __init__ (self):
# Initialisiert die Spielewelt
pg.init()
pg.mixer.init()
self.screen = pg.display.set_mode((s.WIDTH, ... | [
"joerg@kantel.de"
] | joerg@kantel.de |
c01266e52fceecf2dac29bb47f7a3629447d5c92 | 128422d38922f6cacab679be3b45d2d40f5f8b55 | /DISTILBERT/utils.py | 180947aabf60a9d20f192d4783b308f4abf65c0d | [] | no_license | AlexandrePsq/NLP_models | 7cc78e57213042261a52d7a7f62d1d59e64d41c9 | 1989ef9fad03c1693fc253fb325fc22db3f7ac28 | refs/heads/master | 2023-03-09T00:17:58.074650 | 2023-02-27T15:15:02 | 2023-02-27T15:19:43 | 252,475,669 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 16,473 | py | import os
import wget
import time
import yaml
import glob
import torch
import random
import inspect
import datetime
import argparse
import numpy as np
import pandas as pd
from collections import defaultdict
from torch.utils.data import TensorDataset, random_split
from torch.utils.data import DataLoader, RandomSampler,... | [
"alexandre-pasquiou@orange.fr"
] | alexandre-pasquiou@orange.fr |
c986f2313a67f68c54de75f2d35e0d036de8eca4 | 07b37c5f7a21ea51dd9b2eb0eb276d6fabe37ebf | /scrapy/s_redis_dd_bloom/build/lib/s_redis/spiders/tieba.py | 147ab603c9c55bccb4cda1f7010667e4d0eae226 | [] | no_license | pol9111/dododo | bb230f4b71ee6cb5c4ab77e7c2ea8f7ca849f145 | eda202d63a6ac1bed6691f5d2e9d2500edd69478 | refs/heads/master | 2022-12-14T23:03:38.619260 | 2018-10-28T16:30:55 | 2018-10-28T16:30:55 | 134,064,541 | 1 | 0 | null | 2022-12-08T02:48:16 | 2018-05-19T13:30:22 | CSS | UTF-8 | Python | false | false | 1,760 | py | # -*- coding: utf-8 -*-
import scrapy
import re
from s_redis.items import SRedisItem
from scrapy_redis.spiders import RedisCrawlSpider
from scrapy.linkextractors import LinkExtractor
from scrapy.spiders import Rule, CrawlSpider
class TiebaSpider(CrawlSpider):
name = 'tieba'
allowed_domains = ['tieba.baidu.com... | [
"biscuit36@163.com"
] | biscuit36@163.com |
85f7d280d49550dfa79603baf1d75c11f56cca6c | 92c64a04594a7d753bc4f3364df37ec48186c411 | /example_usage/parse_addresses.py | bf5e553b9b210677015a0217c01b89678b5da7c5 | [
"MIT"
] | permissive | ChristopherHaydenTodd/ctodd-python-lib-location | 9721e4d2046075707814f12b709638cb0beccc2e | 64fad164115448018c79edb0d0aa114959c16291 | refs/heads/master | 2023-05-25T22:23:08.517093 | 2019-07-26T00:39:17 | 2019-07-26T00:39:17 | 198,870,857 | 0 | 0 | MIT | 2023-05-22T22:29:00 | 2019-07-25T17:01:48 | Python | UTF-8 | Python | false | false | 2,086 | py | #!/usr/bin/env python3.6
"""
Purpose:
Parse some set addresses
Steps:
- Parse Args
- Call libs to parse addresses
function call:
python3.6 parse_addresses \
[-h] \
--addresses ADDRESSES
example script call:
python3.6 example_usage/parse_... | [
"Christopher.Hayden.Todd@gmail.com"
] | Christopher.Hayden.Todd@gmail.com |
0d89946f839cdc30babc6db1fc7235c181467dad | 61288d25e57c3d9468920e1d9f23c61bfbe0461f | /communication_node_v1.py | dc610d942e12f06fe9f28d5117a3c974f0ce6765 | [] | no_license | ChuChuIgbokwe/Python-2.7-code | 8d92f393f33b10edd23bb8c598aee0b6b5a27a9c | a3ebaab52f8af813a95f8fc03ee725f2f071dd52 | refs/heads/master | 2021-01-09T05:21:24.730209 | 2017-02-02T18:45:07 | 2017-02-02T18:45:07 | 80,755,950 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,309 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#Created by Chukwunyere Igbokwe on November 08, 2016 by 10:53 AM
'''
Write a simple base "Communications Node" (CN) for a distributed communications system
running across multiple machines on a mixed (fast, slow, wired, WiFi, etc...) "local" network. In
its most basic for... | [
"chukwunyereigbokwe2015@u.northwestern.edu"
] | chukwunyereigbokwe2015@u.northwestern.edu |
3ed3165d1699ca546a7c1c6b66d8de7f414963c5 | e8332327d1d04e8ef54f279188af4e57a59ca985 | /setup.py | 68a89cd1aa9312debad3653acddeb7118fa5ffb0 | [] | no_license | TomDLT/savate | f90120e8dfda3c3bd838ee372bda4feb40fe51c8 | 6f42f5a7cb14d46a1fb5a6c0ca067a6b3c27433c | refs/heads/master | 2021-10-25T15:56:40.385525 | 2019-04-05T01:15:42 | 2019-04-05T01:15:42 | 109,427,847 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 546 | py | from setuptools import setup
descr = """This is a personal collection of tools to automatically
save stuff during work."""
setup(
name='savate',
version='0.1',
description=descr,
long_description=open('README.md').read(),
license='BSD (3-clause)',
download_url='https://github.com/to... | [
"tom.dupre-la-tour@m4x.org"
] | tom.dupre-la-tour@m4x.org |
522dc80be7c0a4215acdae79df0925c6f248a9ef | dbdbfe68185d31baee4769823b68d45b5312df37 | /generative/tests/compare_test/sketch_only/dataset_sketch.py | 817b94e02fb33344cc774f750f5a16dd37e828b5 | [
"MIT"
] | permissive | judithfan/pix2svg | 4993c3a4ca356489b556aac782ea4f566969d357 | f026a330c5cfd6a2d27b4e244cfa3f3e57682c19 | refs/heads/master | 2021-01-20T15:57:38.172370 | 2018-10-12T22:52:42 | 2018-10-12T22:52:42 | 90,801,787 | 3 | 1 | null | 2017-10-14T23:10:47 | 2017-05-09T23:47:28 | Jupyter Notebook | UTF-8 | Python | false | false | 7,383 | py | from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
import os
import copy
import cPickle
import random
import numpy as np
import pandas as pd
from PIL import Image
from collections import defaultdict
import torch
from torch.utils.data.dataset import Dataset
OB... | [
"me@mikewuis.me"
] | me@mikewuis.me |
1136f5ce7c8ef702bace9b269a1a2157ffa39722 | e08755f2ca3afa052950a0b19212527cbe3c1eef | /Figures/cfhtProject.py | bc19ddcce28e4ca59f577a2421b067f0471b5d26 | [] | no_license | apetri/Dissertation | 5a723e9ae4ea708882d714be2dd8d48e47f1e9e2 | 4e344ca48da72e198f805160bff7ca9252bb01b4 | refs/heads/master | 2020-05-31T00:11:46.817089 | 2017-05-04T16:17:50 | 2017-05-04T16:17:50 | 53,609,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,608 | py | from __future__ import division,print_function
import sys,os,argparse,ConfigParser
import ast
import logging
from lenstools import Ensemble
from lenstools.legacy.constraints import LikelihoodAnalysis
from lenstools.statistics.contours import ContourPlot
from lenstools.simulations import Design
import numpy as np
im... | [
"apetri@phys.columbia.edu"
] | apetri@phys.columbia.edu |
bf219366102b225f1821f393f8b75e30620ab719 | 9fb3ff9bb2c8948295ae13f11a2e256a74352d66 | /CrAutoFarm/workthreads/performanceTestThread.py | 4d50bef6b14bdcc02e885501cec9682a62f6d3c7 | [] | no_license | lyh3/automation | ec62b635412d1b507fbd7050f39cd1174962bb73 | 3711e78f0864df78820c93f6cca2aba7f5f45921 | refs/heads/master | 2021-01-01T09:01:52.469164 | 2020-07-07T06:39:06 | 2020-07-07T06:39:06 | 239,207,206 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,325 | py | import os, json
from buildingblocks.Decoraters import overrides
from workthreads.complianceCheckThread import ComplianceCheckThread
from workstates.crHealth.crTestState import CrTestState
from workstates.systemControlState.initialParamicoClientState import InitialParamicoClientState
from PowerControl.powerSwitcher impo... | [
"henry.li@intel.com"
] | henry.li@intel.com |
40ed07c3a49e57029203a0859a4d0dfe3c4071b5 | e460dc7afffb5651a4f9305e90a578b67cec61ff | /test_django_app_keno_1937/settings.py | 80b0e6cd55862851876f84cd91ef3fcf47807a3a | [] | no_license | crowdbotics-apps/test-django-app-keno-1937 | 937d2a99406b9af03301f96a0030f61fef5c4dd1 | f865c5c701544db4ee804759f83732e7b83123e0 | refs/heads/master | 2022-04-09T18:06:59.966051 | 2020-03-11T20:18:21 | 2020-03-11T20:18:21 | 246,671,440 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,573 | py | """
Django settings for test_django_app_keno_1937 project.
Generated by 'django-admin startproject' using Django 2.2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
00f2c8463132a963b4f66ef3c23461b51133b2b5 | 0e478f3d8b6c323c093455428c9094c45de13bac | /src/OTLMOW/OTLModel/Datatypes/KlPoEInjectorModelnaam.py | 98da36e5f9a596385e593028ef7c3b73b471ce6d | [
"MIT"
] | permissive | davidvlaminck/OTLMOW | c6eae90b2cab8a741271002cde454427ca8b75ba | 48f8c357c475da1d2a1bc7820556843d4b37838d | refs/heads/main | 2023-01-12T05:08:40.442734 | 2023-01-10T15:26:39 | 2023-01-10T15:26:39 | 432,681,113 | 3 | 1 | MIT | 2022-06-20T20:36:00 | 2021-11-28T10:28:24 | Python | UTF-8 | Python | false | false | 876 | py | # coding=utf-8
import random
from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField
# Generated with OTLEnumerationCreator. To modify: extend, do not edit
class KlPoEInjectorModelnaam(KeuzelijstField):
"""De modelnaam van de PoE-injector."""
naam = 'KlPoEInjectorModelnaam'
label = 'Power ov... | [
"david.vlaminck@mow.vlaanderen.be"
] | david.vlaminck@mow.vlaanderen.be |
6cf6c844047da9dec2195d61bc334834d4f45d1b | f445450ac693b466ca20b42f1ac82071d32dd991 | /generated_tempdir_2019_09_15_163300/generated_part001416.py | 1c65e8856f5bd9c8fd240943d67cf444c5aa5ffd | [] | no_license | Upabjojr/rubi_generated | 76e43cbafe70b4e1516fb761cabd9e5257691374 | cd35e9e51722b04fb159ada3d5811d62a423e429 | refs/heads/master | 2020-07-25T17:26:19.227918 | 2019-09-15T15:41:48 | 2019-09-15T15:41:48 | 208,357,412 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,296 | py | from sympy.abc import *
from matchpy.matching.many_to_one import CommutativeMatcher
from matchpy import *
from matchpy.utils import VariableWithCount
from collections import deque
from multiset import Multiset
from sympy.integrals.rubi.constraints import *
from sympy.integrals.rubi.utility_function import *
from sympy.... | [
"franz.bonazzi@gmail.com"
] | franz.bonazzi@gmail.com |
cefb4c3ed7c3b71398417c29eb27de7c1d0d7b12 | 1fd1292de7605b572c06a779697b81dbe69332ff | /lesson_6/server/add_user.py | 7765a28eafe6069e0884172e8462e814bd16e93a | [] | no_license | machukhinktato/Databases_and_PyQT | 86a0a3cc4088d81fec4f43c421d2a6ee202551ad | 74edb0b30acff9048ab0ffc80df3bb8550d44b3a | refs/heads/master | 2021-04-04T03:23:08.948038 | 2020-04-15T09:20:01 | 2020-04-15T09:20:01 | 248,420,988 | 0 | 0 | null | 2020-04-15T09:20:02 | 2020-03-19T05:47:12 | Python | UTF-8 | Python | false | false | 3,222 | py | import hashlib
import binascii
import sys
sys.path.append('../')
from PyQt5.QtWidgets import QDialog, QPushButton, QLineEdit, QApplication, QLabel, QMessageBox
from PyQt5.QtCore import QEvent
from PyQt5.QtCore import Qt
class RegisterUser(QDialog):
def __init__(self, database , server):
super().__init__()... | [
"tarabrinmv@gmail.com"
] | tarabrinmv@gmail.com |
6faafdb8afddbaca98f179f2867503678517e75d | 3387c5db854628ed78606202f5a6b61a283184a6 | /00 Базовый курс/Lesson0444_PrioritetOperatorov.py | 10fbf6d3d91e3a059d39484c747819bfa156ab69 | [] | no_license | nikita-chudnovskiy/ProjectPyton | 3991c34ec62c6b6434c029fab17ad5cab0b4247a | 756c5e8356227e4e4f6940178ec2959d1eaad604 | refs/heads/master | 2023-08-17T11:05:25.757003 | 2023-08-17T09:54:32 | 2023-08-17T09:54:32 | 221,441,845 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,429 | py | #Приоритет операторов в Python
n = False == False or True
print(n)
n = False == (False or True)
print(n)
print(False == False) or True
print(n)
'''В следующей таблице описан приоритет выполнения операторов в Python от наивысшего (выполняется в первую очередь) до наинизшего.'''
# Оператор Описание
# **... | [
"nikita.chudnovskiy@mail.ru"
] | nikita.chudnovskiy@mail.ru |
4eeabc732efbad4c71f48b2ae0a821983411a03a | 78dff18762572fd052e3783afd05f6b804b104d4 | /operations_api/apps/account/__init__.py | 05501b244aafd41a4a63c08552c21128b8a33078 | [] | no_license | kxiansen/Operation_platform | 03ed9d385aeca0c9fc98c5c9f25db10c48a1dba8 | e886b61b36bfa545419b75fb8c5f46ddd11fb7fc | refs/heads/master | 2022-12-14T09:09:17.382827 | 2019-08-05T08:30:42 | 2019-08-05T08:30:42 | 181,876,656 | 1 | 0 | null | 2022-12-08T00:48:08 | 2019-04-17T11:23:07 | Vue | UTF-8 | Python | false | false | 242 | py | from apps.account import user
from apps.account import role
def register_blueprint(app):
app.register_blueprint(user.blueprint, url_prefix='/account/users')
app.register_blueprint(role.blueprint, url_prefix='/account/roles')
| [
"you@example.com"
] | you@example.com |
ba91257f47e4cbec8544337c02a776b9280dd043 | aad164e4efe1d55cc189c35956bfd435b14a0f52 | /eve-8.21.494548/carbon/client/script/ui/util/color.py | f464bb70fd0d537874627cb127815c0b2aac2cec | [] | no_license | Pluckyduck/eve | 61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f | 9a277707ab1f162c6bd9618faf722c0be3ea93ad | refs/heads/master | 2020-12-28T23:35:29.992875 | 2013-05-06T14:24:33 | 2013-05-06T14:24:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,043 | py | #Embedded file name: c:/depot/games/branches/release/EVE-TRANQUILITY/carbon/client/script/ui/util/color.py
import util
class Color(object):
__guid__ = 'util.Color'
BLACK = (0.0, 0.0, 0.0, 1.0)
GREEN = (0.0, 0.5, 0.0, 1.0)
SILVER = (0.75, 0.75, 0.75, 1.0)
LIME = (0.0, 1.0, 0.0, 1.0)
GRAY = (0.5,... | [
"ferox2552@gmail.com"
] | ferox2552@gmail.com |
62e5cc679f8f34029dc61ea5f8ddc5d72c934ef2 | 4890bfcf6a53117b9a7eb8a164b056e1c57bf24d | /dpaste/tests/test_api.py | 30fa3d288cbd950e5d3b7efcbf12fcb29ae791fa | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | fakegit/dpaste | 5e5343d93ccae992e078b780d65b944e896be42b | 3fff043683268a9e28314c1c4fd91d8d24dc614e | refs/heads/master | 2023-03-01T10:51:27.538170 | 2021-12-27T16:05:29 | 2021-12-27T16:05:29 | 99,877,728 | 0 | 0 | MIT | 2021-12-27T22:22:00 | 2017-08-10T03:36:47 | Python | UTF-8 | Python | false | false | 9,469 | py | # -*- encoding: utf-8 -*-
from django.apps import apps
from django.test import TestCase
from django.test.client import Client
from django.urls import reverse
from ..models import Snippet
config = apps.get_app_config("dpaste")
class SnippetAPITestCase(TestCase):
def setUp(self):
self.api_url = reverse("... | [
"martin@mahner.org"
] | martin@mahner.org |
f5e47577d3a167bb55e7096989ccc6740ca05c29 | 4ac23b2633321df48a896180e6205dfc17ad5746 | /scratch10/ex13.py | 099cf3b57e8e63833514ba9f8c368c69426e261e | [] | no_license | lee-saint/lab-python | f051a544ed97956f9725bb6f4a080bdc65c7e1ad | a425c173c379dda0de21eec538195ded17d31697 | refs/heads/master | 2020-11-30T12:24:12.614119 | 2019-12-27T07:35:50 | 2019-12-27T07:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 639 | py | """
icrawler 패키지 사용해서 Google 이미지 검색 결과의 이미지 다운로드
> pip install icrawler
"""
from icrawler.builtin import GoogleImageCrawler
import os
if __name__ == '__main__':
# 이미지 저장 경로
save_dir = os.path.join('C:' + os.sep, 'dev', 'images')
# GoogleImageCrawler 객체 생성
google_crawler = GoogleImageCrawler(storage={'r... | [
"plutorian131@gmail.com"
] | plutorian131@gmail.com |
6f3e8b48e5146a0469f775c4516dc9e80cb265ca | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2325/60636/246007.py | 507f3b7a6852cb701b39c9b02a4511aba8b025c3 | [] | 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 | 547 | py | source=eval(input())
sources=[]
if(type(source)==int):
sources.append(source)
else:
for i in source:
sources.append(i)
all=[]
for i in sources:
if(not i in all):
all.append(i)
counts=[]
for i in all:
count=0
for x in sources:
if(x==i):
count=count+1
counts.app... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
5e11fff2b01f232ec749489438909210368ce4c0 | e00186e71a1f52b394315a0cbc27162254cfffb9 | /file_operations_write.py | 75f7a3de1aea248874d4302f8d75916fdbcf7d44 | [] | no_license | anilkumar0470/git_practice | cf132eb7970c40d0d032520d43e6d4a1aca90742 | 588e7f654f158e974f9893e5018d3367a0d88eeb | refs/heads/master | 2023-04-27T04:50:14.688534 | 2023-04-22T05:54:21 | 2023-04-22T05:54:21 | 100,364,712 | 0 | 1 | null | 2021-12-08T19:44:58 | 2017-08-15T10:02:33 | Python | UTF-8 | Python | false | false | 271 | py | fd=open("abc.txt","w")
c=True
while c == True:
str1 = raw_input("enter the string to write")
fd.write(str1)
fd.write("\n")
c=raw_input("enter do you want con press yes")
if c.lower() in ["yes","y"]:
c = True
else:
break
| [
"anilkumar.0466@gmail.com"
] | anilkumar.0466@gmail.com |
9d564ed51ea18dd413cd57fc8a52e7d4e6991f6b | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/eventgrid/azure-mgmt-eventgrid/generated_samples/domain_topics_create_or_update.py | 97f7320f19968bf014d586602808673221ac2255 | [
"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,670 | 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 |
4eaa7dd1024eed965e0b8fb1e3e2a521a586ef45 | 3fa2e9a8f8dd2dd3e3e9ffd3aee484841843d2fa | /test_assert_is_not.py | c9df9641749744e47f2090d8524293bedd084c8d | [] | no_license | Nispanu78/list-of-Selenium-tests | df192eb6106c5bb2fa04aaf8f31067ef77ef2969 | 64b2b373773fcd98e1d1f18e4a88ac593faab435 | refs/heads/main | 2023-01-24T08:48:24.941569 | 2020-12-04T12:02:35 | 2020-12-04T12:02:35 | 314,528,151 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 231 | py | import unittest
class TestAssertIsNot(unittest.TestCase):
def test_assert_is_not(self):
language="Python"
self.assertIsNot(language, "Python", "Value is a Match")
if __name__ == '__main__':
unittest.main() | [
"nicspanu@gmail.com"
] | nicspanu@gmail.com |
3cf84d1ebb260328785f36b464b3e991094bcc38 | d3efc82dfa61fb82e47c82d52c838b38b076084c | /crossmarketetf/crossmarket_redemption_HA/YW_CETFSS_SHSH_076.py | 7d78c6955d439083d12797f2c68927ff11a8c9e1 | [] | 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 | 2,561 | py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import sys
sys.path.append("/home/yhl2/workspace/xtp_test")
from crossmarketetf.cetfservice.cetf_main_service import *
from crossmarketetf.cetfservice.cetf_get_components_asset import *
from crossmarketetf.cetfservice.cetf_utils import *
from mysql.QueryOrderErrorMsg import q... | [
"418033945@qq.com"
] | 418033945@qq.com |
98ad940fd47de4544a9133c4fff942e6a016b460 | d9af28bb1f9eb67300f1dde7942f9b536cbcb1b8 | /495.py | 1289ad05d322f2030767f4d381dfb8b2c18ce490 | [] | no_license | khanjason/leetcode | c78d415fd5794ffb7d15f68b8e2dc89b367317ab | d2c0b41bdd181bee999922be820d6ce16312b7ae | refs/heads/master | 2021-12-26T17:28:32.706678 | 2021-09-09T13:56:09 | 2021-09-09T13:56:09 | 235,096,416 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 730 | py | class Solution:
def findPoisonedDuration(self, timeSeries: List[int], duration: int) -> int:
if timeSeries==[]:
return 0
t=0
timepoisoned=0
for i in range(0,len(timeSeries)):
if i==0:
t=timeSeries[i]
... | [
"noreply@github.com"
] | khanjason.noreply@github.com |
cf1c59171eb6356822e13be906614db278508dcf | ff81a9d7880f1b85a1dc19d5eba5ac72d7179c86 | /pychron/core/fits/fit.py | cace6e75e8a0803bd5c632785afb6ec1c0965280 | [
"Apache-2.0"
] | permissive | UManPychron/pychron | 2fb7e479a9f492423c0f458c70102c499e1062c4 | b84c9fd70072f9cbda30abe2c471e64fe3dd75d8 | refs/heads/develop | 2022-12-03T23:32:45.579326 | 2020-01-29T19:02:20 | 2020-01-29T19:02:20 | 36,100,637 | 0 | 0 | null | 2015-05-23T00:10:06 | 2015-05-23T00:10:05 | null | UTF-8 | Python | false | false | 2,945 | py | # ===============================================================================
# Copyright 2013 Jake Ross
#
# 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/licens... | [
"jirhiker@gmail.com"
] | jirhiker@gmail.com |
7576a2fafe1ffc8530f12237409c651864949542 | 55e9f3b00fc2e488597bab5225ed321c86efbd4b | /sdk/yapily/models/location.py | 03acf286afa0b46577f624a78fb9bc13db500ae4 | [
"MIT"
] | permissive | bs-yapily/yapily-sdk-python | ad9d04c28f3d744830734c3444c1cef8215206fd | 0bba45e351b674eb655425a51190f539c4e9896f | refs/heads/master | 2020-08-26T17:18:53.156429 | 2019-10-22T11:01:16 | 2019-10-22T11:01:16 | 217,085,936 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,284 | py | # coding: utf-8
"""
Yapily API
To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501
OpenAPI spec version: 0.0.155
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pp... | [
"systems@yapily.com"
] | systems@yapily.com |
bcc16cb8a7c03bf3c0e174d4df8d7646eb6c0436 | be29f191af9e2c81e07b863a313d7766c53677e0 | /9-List_Comprehensions.py | f629452a232f298b7a47c0d097998780e513c377 | [] | no_license | Gangadharbhuvan/HackerRank-Python-Solutions | c05ec4ace98b6081cbd504b7663d6d772f1ed9f2 | ee85c7f1d4f04c11cb1921defb4acc5117d410b6 | refs/heads/master | 2020-09-06T03:21:14.612569 | 2020-08-03T18:01:20 | 2020-08-03T18:01:20 | 220,303,973 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | if __name__ == '__main__':
x = int(input())
y = int(input())
z = int(input())
n = int(input())
ans = [[i, j, k] for i in range(x + 1) for j in range(y + 1) for k in range(z + 1) if i + j + k != n]
print(ans)
| [
"noreply@github.com"
] | Gangadharbhuvan.noreply@github.com |
9106f72f7d0259acde80e58c44c0095bb8d33e56 | b864b992187e2e1c5c8da6fdabeeab5040058fe9 | /Python Example/python 100 examples/075.py | bc9a6e51ebf00107b2853fb0fa56677cde0bc8c8 | [] | no_license | Mr-Phoebe/ProgramLanguage | 5384afeef20c8a12cd89cf3720beb0337bd38fc9 | 1588aea62e15304339efb73d55653be1b4e57156 | refs/heads/master | 2023-02-06T11:59:06.272680 | 2023-02-06T04:00:14 | 2023-02-06T04:00:14 | 65,252,634 | 52 | 37 | null | null | null | null | GB18030 | Python | false | false | 338 | py | # -*- coding: UTF-8 -*-
'''
【程序75】
题目:放松一下,算一道简单的题目。
1.程序分析:
2.程序源代码:
'''
if __name__ == '__main__':
for i in range(5):
n = 0
if i != 1: n += 1
if i == 3: n += 1
if i == 4: n += 1
if i != 4: n += 1
if n == 3: print 64 + i
| [
"whn289467822@outlook.com"
] | whn289467822@outlook.com |
286a350fcddacaa0d0147e5c93785f536ddd8009 | 61673ab9a42f7151de7337608c442fa6247f13bb | /scrapy/recursion/main.py | 34ae18cec6c3c537229348a2962da2648c65120f | [
"MIT"
] | permissive | furas/python-examples | 22d101670ecd667a29376d7c7d7d86f8ec71f6cf | 95cb53b664f312e0830f010c0c96be94d4a4db90 | refs/heads/master | 2022-08-23T23:55:08.313936 | 2022-08-01T14:48:33 | 2022-08-01T14:48:33 | 45,575,296 | 176 | 91 | MIT | 2021-02-17T23:33:37 | 2015-11-04T23:54:32 | Python | UTF-8 | Python | false | false | 1,885 | py | # author: Bartlomiej "furas" Burek (https://blog.furas.pl)
# date: 2022.03.10
# [python - Scrapy: How to efficiently follow nested links with similar css selectors? - Stack Overflow](https://stackoverflow.com/questions/71407737/scrapy-how-to-efficiently-follow-nested-links-with-similar-css-selectors/)
import scrapy
c... | [
"furas@tlen.pl"
] | furas@tlen.pl |
73ec0cb44b7e8c0d0c08fb012a37ca2222c285d0 | fb2cc597f319380d228fc15c4008760a82203687 | /var/spack/repos/builtin/packages/r-filelock/package.py | d1ec74ab963004f642b147f6a67ba4f191331327 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.1-only"
] | permissive | JayjeetAtGithub/spack | c41b5debcbe139abb2eab626210505b7f930d637 | 6c2df00443a2cd092446c7d84431ae37e64e4296 | refs/heads/develop | 2023-03-21T02:35:58.391230 | 2022-10-08T22:57:45 | 2022-10-08T22:57:45 | 205,764,532 | 0 | 0 | MIT | 2019-09-02T02:44:48 | 2019-09-02T02:44:47 | null | UTF-8 | Python | false | false | 689 | py | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class RFilelock(RPackage):
"""Portable File Locking.
Place an exclusive or shared l... | [
"noreply@github.com"
] | JayjeetAtGithub.noreply@github.com |
62ca5552459f752f84a75db5aa4da9d4712fb436 | 9d8acc20d2ee1d1957849dfb71c22e0dae2d8c5c | /baomoicrawl/venv/Lib/site-packages/scrapy/mail.py | 0e2167f686cce9740e6bbbc69311c9e84f1b1147 | [] | no_license | thuy4tbn99/TranTruongThuy_17021178_Nhom4_Crawler | b0fdedee2942a12d9f64dfed93f43802dc5ab340 | 87c8c07433466bbc43a24ea089f75baeb467c356 | refs/heads/master | 2022-11-27T21:36:33.917491 | 2020-08-10T23:24:42 | 2020-08-10T23:24:42 | 286,583,216 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,162 | py | """
Mail sending helpers
See documentation in docs/topics/email.rst
"""
import logging
from email import encoders as Encoders
from email.mime.base import MIMEBase
from email.mime.multipart import MIMEMultipart
from email.mime.nonmultipart import MIMENonMultipart
from email.mime.text import MIMEText
from ema... | [
"thuy4tbn99@gmail.com"
] | thuy4tbn99@gmail.com |
b14d29d1817ea073771d96bd7a865d37cb4702c0 | 7869143d5e8bd9612c56fcf73ccc650ed0a82838 | /blog_website/blog_website/apps/article/migrations/0001_initial.py | 84a593f38e60a60b23ae0e11707a1f6a5e596e45 | [] | no_license | baifengbai/blog_website | ed1af89af8c1713f1c2047e907d307e45754d90b | 375d474435176931efd5e9925f3054184eb98ac8 | refs/heads/master | 2020-09-16T06:06:18.570387 | 2019-11-22T09:53:32 | 2019-11-22T09:53:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,169 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2019-09-19 14:49
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Cre... | [
"ltfred@163.com"
] | ltfred@163.com |
a0745c6cdc6daa3051ce7c898eca1929a2d43e1e | 2e33b4d5723799e5a38554241b42f2cdcd02b327 | /src/python/etc/darknetprep.py | 696327028468eee00ad31f7ddf774e3a79396ffc | [] | no_license | phildue/cnn_object_detection | 0562016563734314041a7ab252f074f0dc5ee3bb | 03c4a516da909b692128b75c002118bacf9667aa | refs/heads/master | 2020-04-12T18:48:43.533838 | 2019-01-27T17:26:35 | 2019-01-27T17:26:35 | 162,691,055 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,860 | py | import random
import numpy as np
from utils.fileaccess.GateGenerator import GateGenerator
from utils.fileaccess.labelparser.YoloParser import DarknetParser
from utils.fileaccess.utils import create_dirs
from utils.image.Backend import crop, resize
from utils.image.Imageprocessing import show
from utils.labels.ImgLabe... | [
"phild@protonmail.com"
] | phild@protonmail.com |
757a610c3ab8f0c9149d87e7ced6cab34cd7885b | f3806d9fb54773908cd9704121a543b114470aca | /angr/procedures/definitions/win32_wdsbp.py | 98c4dc39b931e3e13c92169719ef19e2a389b772 | [
"BSD-2-Clause"
] | permissive | angr/angr | 8ae95fceca51b0a001de56477d984dd01193ac1d | 37e8ca1c3308ec601ad1d7c6bc8081ff38a7cffd | refs/heads/master | 2023-08-17T03:15:21.007865 | 2023-08-15T18:44:57 | 2023-08-15T18:44:57 | 40,328,394 | 7,184 | 1,306 | BSD-2-Clause | 2023-09-14T20:14:23 | 2015-08-06T21:46:55 | Python | UTF-8 | Python | false | false | 3,234 | py | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | [
"noreply@github.com"
] | angr.noreply@github.com |
c49ae6338e8473e2281ab505677c1b78a615b7d6 | e81ed73b3ce044ad7b7b2543f6e4a4e16270a7b5 | /tests/reduction_complex.py | b67d746a55cf3dc0413335776ea5d7e5811f577c | [
"Apache-2.0"
] | permissive | asener1/cunumeric | cda59751aa62a1520e205b5288b3b03caee2c9ac | 1270b3c9e1e03374934dd9b52ea828bd9b2cb662 | refs/heads/main | 2023-08-29T16:33:44.043713 | 2021-11-08T21:07:45 | 2021-11-08T21:07:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 934 | py | # Copyright 2021 NVIDIA Corporation
#
# 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... | [
"wonchanl@nvidia.com"
] | wonchanl@nvidia.com |
7ef8b900d2838e213d0c4e9493210997a8dca2e3 | 24b17157256a9c406ddbca64266682d7667d1448 | /hla/performance.py | a4270d8bce49b283f0ab1ecd2b9c517d9f75432f | [
"MIT"
] | permissive | kmayerb/hla3 | 760d118edb5a069beaebcaeaff6b4af8cd59f48f | 65d7ede2610c1c20a32e378376eaa312839285b9 | refs/heads/main | 2023-07-12T00:33:20.603595 | 2022-02-23T05:34:17 | 2022-02-23T05:34:17 | 387,904,822 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,665 | py |
if __name__ == "__main__":
import os
import re
import pandas as pd
import numpy as np
from hla.predict import weight_of_evidence
# allele_specific-predictions
# █████╗ ██╗ ██╗ ███████╗██╗ ███████╗ ███████╗██████╗ ███████╗ ██████╗██╗███████╗██╗ ██████╗
# ██╔══██╗██... | [
"kmayerb@gmail.com"
] | kmayerb@gmail.com |
5da797a3019226f291aa82a0a4f2c32949cec790 | 807a36dfc8efca23192c71ecbb38f5363dc7ca4c | /lib/pyasn1_modules/rfc3414.py | 281837966ade53bc5697278cceb4f2d348a0bede | [
"Apache-2.0"
] | permissive | uetopia/metagame | 385b6f11a6f40744f2fcc20934f53bb8e4a447f3 | 37e0136ab61a99a8cd25ef264c2d5f8f024e8f6f | refs/heads/master | 2023-03-10T17:17:46.269150 | 2023-02-26T15:16:15 | 2023-02-26T15:16:15 | 151,280,244 | 2 | 1 | Apache-2.0 | 2022-05-25T01:43:37 | 2018-10-02T15:43:42 | Python | UTF-8 | Python | false | false | 1,167 | py | #
# This file is part of pyasn1-modules software.
#
# Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
# SNMPv3 message syntax
#
# ASN.1 source from:
# http://www.ietf.org/rfc/rfc3414.txt
#
from pyasn1.type import constraint
from pyasn1.type import namedtype... | [
"ed@uetopia.com"
] | ed@uetopia.com |
9650b716e34acfb7ec448480f885c85882ca1252 | 537259790008b727c03c56ec55a6aaaeeeaf65a3 | /scrapers/movie4k_scraper.py | fc92e9fd23110d5eabcd7ea70ff60ef9f0c8b6b9 | [] | no_license | djbijo/salts | a5781ac9958b77c2acfacf4f73a5286e0b91d8e2 | 9eaa736701833eedf6796403da33d648aaf348f8 | refs/heads/master | 2020-12-11T03:26:15.843807 | 2015-04-09T18:35:45 | 2015-04-09T18:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,229 | py | """
SALTS XBMC Addon
Copyright (C) 2014 tknorris
This program 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, or
(at your option) any later version.
T... | [
"tknorris@gmail.com"
] | tknorris@gmail.com |
d91b8d3f14d5a5e254aabe5cc9dc873f1c0a945d | e278bf814fffdd1225ada7b9a0f1a31b8dfb5553 | /code/seeed_mcgasv2.py | eccdbc7aa8ce6c087019a0c59e495a7796091b09 | [] | no_license | dheera/aqi-monitor | 9cc027dbd184455ab64f9157b83261b23f1b6bf2 | 9f169d653df44c97cba4811fbb9376941c97e20a | refs/heads/master | 2023-07-08T17:16:50.193210 | 2023-06-09T15:57:31 | 2023-06-09T15:57:31 | 327,121,222 | 23 | 3 | null | 2023-06-09T15:57:32 | 2021-01-05T21:15:24 | Python | UTF-8 | Python | false | false | 2,910 | py | GM_RESOLUTION = 1023
GM_102B = 0x01
GM_302B = 0x03
GM_502B = 0x05
GM_702B = 0x07
CHANGE_I2C_ADDR = 0x55
WARMING_UP = 0xFE
WARMING_DOWN = 0xFF
class Gas(object):
def __init__(self, i2c, address = 0x08):
self.i2c = i2c
self.address = address
while not self.i2c.try_lock():
pass
... | [
"dheera@dheera.net"
] | dheera@dheera.net |
478a6c17d20e9833d4bdc68c180efe9a538003b0 | 621a865f772ccbab32471fb388e20b620ebba6b0 | /DataPack/data/scripts/quests/11_SecretMeetingWithKetraOrcs/__init__.py | fc7aa23830869550387d01b3523eff162be0baab | [] | no_license | BloodyDawn/Scions_of_Destiny | 5257de035cdb7fe5ef92bc991119b464cba6790c | e03ef8117b57a1188ba80a381faff6f2e97d6c41 | refs/heads/master | 2021-01-12T00:02:47.744333 | 2017-04-24T06:30:39 | 2017-04-24T06:30:39 | 78,662,280 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,397 | py | #made by Emperorc (adapted for L2JLisvus by roko91)
import sys
from net.sf.l2j.gameserver.model.quest import State
from net.sf.l2j.gameserver.model.quest import QuestState
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
qn = "11_SecretMeetingWithKetraOrcs"
#NPCs
Cadmon = 8296
Leon = 8256
Wa... | [
"psv71@yandex.ru"
] | psv71@yandex.ru |
ef896a7fbbebaec6d9baa91132722990f97b3931 | 88ed6ed99589f7fb8e49aeb6c15bf0d51fe14a01 | /021_merge-two-sorted-lists.py | 57faf20067741185bb77b99a8a62524d5ccda622 | [] | no_license | ryeLearnMore/LeetCode | 3e97becb06ca2cf4ec15c43f77447b6ac2a061c6 | 04ec1eb720474a87a2995938743f05e7ad5e66e3 | refs/heads/master | 2020-04-07T19:02:43.171691 | 2019-06-23T15:09:19 | 2019-06-23T15:09:19 | 158,634,176 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 865 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#@author: rye
#@time: 2019/3/14
# Definition for singly-linked list.
class ListNode(object):
def __init__(self, x):
self.val = x
self.next = None
class Solution(object):
def mergeTwoLists(self, l1, l2):
"""
:type l1: L... | [
"noreply@github.com"
] | ryeLearnMore.noreply@github.com |
17414fdad8533b0d57f82272f6e92bc443816638 | 83568c572c5ebd08fc9df768f18dc95b74be2149 | /__main__.py | 752a757725a05e61c452143d8e7f2a64b910bd11 | [] | no_license | sebbekarlsson/setup-py-example | d10bc2b494e68d0c3b30ce2b2ca5e04c0aead057 | fd471e5352bf42bc5b3e9c95894d7f4c96d05b0b | refs/heads/master | 2023-02-04T22:43:27.829901 | 2020-12-28T09:49:03 | 2020-12-28T09:49:03 | 324,972,241 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 71 | py | from myapp.hejsan.hejfunctions import calc_and_print
calc_and_print() | [
"sebbekarlsson97@gmail.com"
] | sebbekarlsson97@gmail.com |
649395baf1ec06440c9c72528dbe41234fd041cd | 24c5664b9d25533e1f18bae415f2dd3b29a910dc | /1 block/block10.py | 404c6c574c1b70793817e6ae29bb758eec445479 | [] | no_license | rayyan-khan/6-block-tanagram | 3208d0b2240252d8c0026d75b907eb340475a739 | b1e4d955a3ac0a2bf8a55ee0cca73a429f5e9e84 | refs/heads/master | 2022-03-10T16:36:44.844154 | 2018-12-20T14:35:14 | 2018-12-20T14:35:14 | 161,864,412 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,139 | py | import sys
import time
from tkinter import *
# working except output
#INPUTLIST = ['block.py', '4 4', '2x2', '2 2', '2 2', '2 2'] # temporary, will be replaced by sys.argv
#INPUTLIST = ['b.py', '2 4', '2 1', '2 3']
#INPUTLIST = ['b.py', '3 3', '1 1', '1 2', '2 3']
#INPUTLIST = ['b.py', '4 6', '1 1', '2 2', '1 3', '1... | [
"rayyan.khan258@gmail.com"
] | rayyan.khan258@gmail.com |
15072b2d21ed4356b01f7d1e0c3b9a1f9539f9a8 | 8ca19f1a31070738b376c0370c4bebf6b7efcb43 | /office365/sharepoint/sharing/principal.py | c5ceae2a4c706fa148445c9b55e00efe9e6995e3 | [
"MIT"
] | permissive | vgrem/Office365-REST-Python-Client | 2ef153d737c6ed5445ba1e446aeaec39c4ef4ed3 | cbd245d1af8d69e013c469cfc2a9851f51c91417 | refs/heads/master | 2023-09-02T14:20:40.109462 | 2023-08-31T19:14:05 | 2023-08-31T19:14:05 | 51,305,798 | 1,006 | 326 | MIT | 2023-08-28T05:38:02 | 2016-02-08T15:24:51 | Python | UTF-8 | Python | false | false | 597 | py | from office365.runtime.client_value import ClientValue
class Principal(ClientValue):
"""Principal class is a representation of an identity (user/group)."""
def __init__(self, directory_object_id=None, email=None, expiration=None):
"""
:param str directory_object_id:
:param str email: ... | [
"vvgrem@gmail.com"
] | vvgrem@gmail.com |
82189211ed87c27a4ed85f90ad4c6fe1b1a7720e | a2e10b9a73ccfb80fbb98d47532d4c6a6de49be7 | /utils/pkiutils/cryptography/hazmat/backends/openssl/ocsp.py | 66902fc1ad5cda9ffe3f93d3e8996e5d033d6e10 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | yuqi-test/ECProAutomation | 81a04b77c9226acd4f745bf59df3c741bd9d3605 | 9c08c5b3bd122809fbb5b44cd933f4240e42e4f7 | refs/heads/master | 2022-04-21T11:46:17.788667 | 2020-04-21T10:12:52 | 2020-04-21T10:12:52 | 257,553,619 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,258 | py | # This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from __future__ import absolute_import, division, print_function
import functools
from .... import utils, x509
from ....exceptions import... | [
"yuqi@infimind.com"
] | yuqi@infimind.com |
7a530778bb04e99a8f32265f130dc8ad5d17c23a | c5b9f0fabffb6b2d13c6e350c8187a922709ac60 | /devel/lib/python2.7/dist-packages/play_motion_msgs/srv/__init__.py | b280365229b0905f9881534c77926b0ea2c94da2 | [] | no_license | MohamedEhabHafez/Sorting_Aruco_Markers | cae079fdce4a14561f5e092051771d299b06e789 | 0f820921c9f42b39867565441ed6ea108663ef6c | refs/heads/master | 2020-12-09T02:43:00.731223 | 2020-01-15T17:31:29 | 2020-01-15T17:31:29 | 233,154,293 | 0 | 0 | null | 2020-10-13T18:46:44 | 2020-01-11T00:41:38 | Makefile | UTF-8 | Python | false | false | 122 | py | /home/mohamed/tiago_public_ws/devel/.private/play_motion_msgs/lib/python2.7/dist-packages/play_motion_msgs/srv/__init__.py | [
"mohamed@radiirobotics.com"
] | mohamed@radiirobotics.com |
e748acdd5496d3e655db4a3e317ed4895b5a27c3 | 87b83399f25785c3c2326296d41ac7a8a4059199 | /hyperparameter_hunter/importer.py | 9d325a3370d511c0b79a49d9c8c02b8768018675 | [
"MIT"
] | permissive | ssh-shashi/hyperparameter_hunter | b065a9af7e323bafce899e61789d9e2e2054f514 | 12fcbbd4ed71447f80e41f3538be824126b3e209 | refs/heads/master | 2023-03-17T07:37:49.354509 | 2018-08-27T03:53:47 | 2018-08-27T03:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,869 | py | """This module provides utilities to intercept certain external imports and load them using custom logic
Related
-------
:mod:`hyperparameter_hunter.__init__`
Executes the import hooks to ensure assets are properly imported prior to starting any real work
:mod:`hyperparameter_hunter.tracers`
Defines tracing me... | [
"hunter@mcgushion.com"
] | hunter@mcgushion.com |
b61c0dee7df367089ba65aaf669b639f2366ecff | 0b9a56d026f6b9c781dcc5a92f755398f2b9d717 | /icongen/main.py | 01f2c742419d34263b97c6b98e02cf4c94253305 | [] | no_license | kwarwp/ada | 0418a9c9c3f191c680c9193701e2d125f919ad9c | a9b8dd15e20863cc5faac3053449869fdcb6f7a6 | refs/heads/master | 2023-08-19T02:39:40.277185 | 2023-08-16T12:22:11 | 2023-08-16T12:22:11 | 128,694,664 | 0 | 1 | null | 2019-03-16T01:44:06 | 2018-04-09T00:47:03 | Python | UTF-8 | Python | false | false | 908 | py | # ada.icongen.main.py
# SPDX-License-Identifier: GPL-3.0-or-later
""" gerador de icone em svg a partir de uma frase.
.. codeauthor:: Carlo Oliveira <mail@local.tipo>
Changelog
---------
.. versionadded:: 23.08
Primeiro desenho.
"""
from browser import document, html, svg
class Icon:
def __init__(sel... | [
"38007182+kwarwp@users.noreply.github.com"
] | 38007182+kwarwp@users.noreply.github.com |
2d3e7e5ca10a4346b30349cc02b64c9aef9209bf | f620403443b2c0affaed53505c002f35dc68020c | /DCTM/LDAPerplexity.py | f8c92115f04859b832297a1bab76343139231fa7 | [] | no_license | ZhuJiahui/CTMTS | c552b3026deb47879f9aa5bde4b002cf6283858d | 9f8981f6e61900a68a38ae0392e01771beee9651 | refs/heads/master | 2021-01-12T10:18:27.579697 | 2016-12-14T02:23:29 | 2016-12-14T02:23:29 | 76,416,453 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,333 | py | # -*- coding: utf-8 -*-
'''
Created on 2014年7月28日
@author: ZhuJiahui506
'''
import os
import time
import numpy as np
from TextToolkit import quick_write_list_to_text
def lda_perplexity(read_directory1, read_directory2, read_directory3, write_filename):
file_number = sum([len(files) for root, dirs, files in ... | [
"zhujiahui@outlook.com"
] | zhujiahui@outlook.com |
02d998c148b77b17ddae959fb056509b4bee448c | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_321/ch88_2020_05_11_14_41_02_963385.py | c7eb40ac923f574ff67f359fd8bc01a08f1cdb1e | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 398 | py | class Retangulo:
def __init__ (self, Ponto1, Ponto2):
self.Ponto1 = p1
self.Ponto2 = p2
def calcula_perimetro(self):
dp = (((p1.x - p2.x)**2) + ((p1.y - p2.y)**2)) ** 0.5
perimetro = ((dp**2)*2)**0.5
return perimetro
def calcula_area(self):
base ... | [
"you@example.com"
] | you@example.com |
28b86f2ac339833970535beecd078990ed30171d | 75b3dcafa9806029594ba5bc19e76b72aae18fdd | /setup.py | fb3282cbc3adaeb7df2e289a747d8882b37e888b | [] | no_license | sebbekarlsson/gof_rand | 2fd0f1789a9f047918e7d44e2db08eb47f17ed8b | 3a1a0254aa9433262bae560bdb2d71a2d6d99204 | refs/heads/master | 2021-01-16T00:10:03.407568 | 2018-09-21T08:04:52 | 2018-09-21T08:04:52 | 99,962,645 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 209 | py | from setuptools import setup, find_packages
setup(
name='gol_rand',
version='1.0.1',
install_requires=[
'numpy',
'pillow',
'imageio'
],
packages=find_packages()
)
| [
"sebbekarlsson97@gmail.com"
] | sebbekarlsson97@gmail.com |
e66cfd45398d66d20ec76fffb335ca0de0a8a680 | 037c03a2096bd771d7fb2b98e257e70968a793a2 | /day03/work01.py | 52bb79dbaf832c650a45404f4cf04f6d10d4a86f | [] | no_license | yegeli/month1 | 45f83f7abb34d30d825936a28ef92e4748f16289 | f7bf9c88162b791e23eaa30f602e7cdbabdf8e99 | refs/heads/master | 2022-04-10T00:12:45.241522 | 2020-03-20T14:13:35 | 2020-03-20T14:13:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 473 | py | """
5. 已知(在终端中录入):位移、时间、初速度
计算:加速度
匀变速直线运动的速度与位移公式:
位移 = 初速度 × 时间 + 0.5 * 加速度 * 时间的平方
"""
distance = float(input("输入位移:"))
use_time = float(input("输入时间:"))
init_speed = float(input("输入速度:"))
accelerated = (distance - init_speed * use_time) / 0.5 * use_time ** 2
print("加速度为:" + str(round(accelerated,2)... | [
"1332812330@qq.com"
] | 1332812330@qq.com |
c1b08ef8cf0ad9557307f41a86377ffbe382e28c | be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1 | /Gauss_v45r8/Gen/DecFiles/options/11102403.py | 303578c9f16c8bfb60ca60a629482f0954ee6716 | [] | no_license | Sally27/backup_cmtuser_full | 34782102ed23c6335c48650a6eaa901137355d00 | 8924bebb935b96d438ce85b384cfc132d9af90f6 | refs/heads/master | 2020-05-21T09:27:04.370765 | 2018-12-12T14:41:07 | 2018-12-12T14:41:07 | 185,989,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 910 | py | # file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/11102403.py generated: Fri, 27 Mar 2015 15:47:58
#
# Event Type: 11102403
#
# ASCII decay Descriptor: {[[B0]nos -> pi+ pi- (pi0 -> gamma gamma)]cc, [[B0]os -> pi- pi+ (pi0 -> gamma gamma)]cc}
#
from Configurables import Generation
Generation().EventType =... | [
"slavomirastefkova@b2pcx39016.desy.de"
] | slavomirastefkova@b2pcx39016.desy.de |
84585da48e13f4966f4e2d0c03908baad004bb3b | c6759b857e55991fea3ef0b465dbcee53fa38714 | /utils/bin/cov_parse | dc433cfbfc0b2a9ab152b73330e0ba522813e8b7 | [
"Apache-2.0"
] | permissive | GreenWaves-Technologies/gap_sdk | 1b343bba97b7a5ce62a24162bd72eef5cc67e269 | 3fea306d52ee33f923f2423c5a75d9eb1c07e904 | refs/heads/master | 2023-09-01T14:38:34.270427 | 2023-08-10T09:04:44 | 2023-08-10T09:04:44 | 133,324,605 | 145 | 96 | Apache-2.0 | 2023-08-27T19:03:52 | 2018-05-14T07:50:29 | C | UTF-8 | Python | false | false | 4,039 | #!/usr/bin/env python3
import argparse
import re
parser = argparse.ArgumentParser(
description='Parse coverage'
)
parser.add_argument("--silent", dest="silent", action="store_true", help="Just dump coverage silently")
parser.add_argument("--input", dest="input", default=None, type=str, help="Coverage report")
pa... | [
"yao.zhang@greenwaves-technologies.com"
] | yao.zhang@greenwaves-technologies.com | |
32c27a4ff0a4b9ac48ae544f5473c3ee2dc402cd | afdcb60d13b7516930bc361c7ffa1c4bc4b3fddf | /QANet/qanet/modeling/fpn/__init__.py | 6a6094cdba162ea5547703e866f8a88859c0f835 | [
"MIT"
] | permissive | sll-ll/parsing-rcc | 7012c8f4b09c86b554b0c020d4a46329966a8e92 | 7a9a67120b706f0d386d3638f84e402ebdb05fc4 | refs/heads/main | 2023-05-24T02:07:33.892667 | 2021-06-07T13:20:15 | 2021-06-07T13:20:15 | 374,361,437 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 62 | py | from .FPN import *
from .PFPN import *
from .Xdeconv import *
| [
"you@example.com"
] | you@example.com |
ff03cd4b0ea9e65cc2810fc958b6d28c29e8d7b7 | 8b3d00f7c0029a4974a5df2072ea21649d2b8829 | /dev/unix/popen_base.py | 8f20c601ff3f48ad59acbcb0b55c8237e409790a | [
"MIT"
] | permissive | dasTholo/pysmartnode | 29dd521b5f5374456b4300ec19b1c4bdf45a5dca | 90b0ae05e307433c4a904017902ffadd13835cef | refs/heads/master | 2021-01-05T02:41:45.897597 | 2020-02-18T16:08:34 | 2020-02-18T16:08:34 | 240,849,533 | 0 | 0 | MIT | 2020-02-18T19:37:13 | 2020-02-16T07:23:49 | Python | UTF-8 | Python | false | false | 1,658 | py | # Author: Kevin Köck
# Copyright Kevin Köck 2019 Released under the MIT license
# Created on 2019-07-02
__updated__ = "2019-07-11"
__version__ = "0.3"
import os
import uasyncio as asyncio
from pysmartnode.utils.wrappers.timeit import timeitAsync
class Popen:
def __init__(self, command, expected_return=None, ex... | [
"kevinkk525@users.noreply.github.com"
] | kevinkk525@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.