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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f0559a6949b29f1325ea7e4b0952a514e72b342 | 2a17e6a5d78849469b2094ec11f8a51e86475128 | /DIU_HS/settings.py | 36d64d8a3fb733268c23cd3ad16ffc365d0de70c | [] | no_license | maxhasan882/DIU_HS | fbe25b5d22dded5171b7bd9c31a75c16f03a7f8a | cbffe3b3799e46afe492064ecb45b617e8ff536b | refs/heads/master | 2020-07-29T07:54:07.332060 | 2019-09-20T09:12:00 | 2019-09-20T09:12:00 | 209,721,763 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,506 | py |
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '-qqcz^f-332ox2t)s(b$d&slmg^c+q@m!--w*7_%w_pckp(gdq'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ... | [
"rhmithu50@gmail.com"
] | rhmithu50@gmail.com |
d6a2692395d973722c538c781b8fecfa4e62647b | c53fcab99e84ccfe6d9f1455e7471892fbd6661e | /kubeface/commands/copy.py | 63edb408d96fc9594aa6ee83d89f860d51b393cf | [
"Apache-2.0"
] | permissive | proj4spes/kubeface | 3af558ae05f1fd89b2d93e81ce479094ef3f4b8f | 443d7432e6d2f8e4d20b6326e98fabeec7ad68b6 | refs/heads/master | 2021-04-03T02:53:10.284569 | 2017-06-22T19:40:30 | 2017-06-22T19:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,263 | py | '''
Copy files, including support for google storage buckets.
'''
import sys
import argparse
import logging
from .. import storage
from ..common import configure_logging
from .. import serialization
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("source")
parser.add_argument("destination"... | [
"timodonnell@gmail.com"
] | timodonnell@gmail.com |
4209e5499b98a104adc9693ae8356a5bc01c7ae4 | 30cf02eb3c15da89db2e6efd3d405e92d0c8df36 | /src/pyobo/sources/gwascentral_study.py | 0f00a9432c87ccdffe5a7ed6c2fc786e107b0af4 | [
"MIT"
] | permissive | shunsunsun/pyobo | f53e5e6a4bb0b3ea135312cd8a54c905a52bd754 | 407c8f15873eb84cb5351ccc6e6ae0e8e3add22a | refs/heads/master | 2023-04-04T01:13:16.456853 | 2021-04-05T15:57:33 | 2021-04-05T15:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,162 | py | # -*- coding: utf-8 -*-
"""Converter for GWAS Central."""
import logging
import tarfile
from typing import Iterable
from xml.etree import ElementTree
from pyobo.struct import Obo, Reference, Term, has_part
from pyobo.utils.path import ensure_path
logger = logging.getLogger(__name__)
VERSION = 'jan2021'
URL = f'htt... | [
"cthoyt@gmail.com"
] | cthoyt@gmail.com |
e9c5f30f1bc8ea3b6321a8daf805d87181566bb1 | e9ee565cfff9e6b2a1ea6f73368f4a8948274795 | /src/pybel/repository.py | 8fc43dbcd8c9585d14524792df384d3f7421bf00 | [
"MIT"
] | permissive | pybel/pybel | 7e79530b454e23ae48486a5c0e3207744b7fa139 | ed66f013a77f9cbc513892b0dad1025b8f68bb46 | refs/heads/master | 2022-08-26T18:41:25.724850 | 2022-02-11T12:22:35 | 2022-02-11T12:22:35 | 68,376,693 | 133 | 40 | MIT | 2022-02-11T12:11:24 | 2016-09-16T12:09:49 | Python | UTF-8 | Python | false | false | 18,905 | py | # -*- coding: utf-8 -*-
"""Utilities for BEL repositories."""
import json
import logging
import os
import sys
import time
from dataclasses import dataclass, field
from itertools import chain
from typing import Any, Iterable, Mapping, Optional, Set, TextIO, Tuple, Union
import click
import pandas as pd
from tqdm.auto... | [
"cthoyt@gmail.com"
] | cthoyt@gmail.com |
4a4aedbcae688967b5b85e60e73a727908c934a5 | 4fc016459e4c78680c61488c771eb6b7eb20d5fe | /Python-Algorithms-DataStructure/src/leet/104_MaximumDepthofBinaryTree.py | f6cf6d7dcb193f73f277665a5f23cbafd59f85b0 | [] | no_license | coremedy/Python-Algorithms-DataStructure | 7c318de68fd9694377a0a4369d8dbeb49e1e17aa | 3873502679a5def6af4be03028542f07d059d1a9 | refs/heads/master | 2021-01-25T07:34:17.714241 | 2015-11-05T10:17:40 | 2015-11-05T10:17:40 | 27,949,498 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 600 | py | '''
Created on 2015-08-02
'''
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
# @param {TreeNode} root
# @return {integer}
def maxDepth(self, root):
if r... | [
"coremedy@hotmail.com"
] | coremedy@hotmail.com |
7526e1a07f83c8b237e6f892e95f0b2f235bb4b0 | 8fb5319079f3d9a5524a4fa44dc9fdeb4e578a33 | /Contours/counting_coins.py | 3d0b8461f126be4dabeaf660096bdf9d2180144c | [] | no_license | KhairulIzwan/Python-OpenCV-Basics | 1dc414a07d25b2800f3a6f4eb7edf375e891b92b | 2bcf3536c9d5225188dce7c081600459a7b1ebb0 | refs/heads/main | 2023-04-26T17:37:10.838035 | 2021-05-23T03:11:36 | 2021-05-23T03:11:36 | 369,949,180 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,261 | py | #!/usr/bin/env python
import numpy as np
import argparse
import cv2
# use argparse to handle parsing our command line arguments
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", required = True,
help = "Path to the image")
args = vars(ap.parse_args())
image = cv2.imread(args["image"])
gray = cv2.cvtC... | [
"wansnap@gmail.com"
] | wansnap@gmail.com |
d04a3cc08125307c425fc4a3bbdbde890ec4fcda | b5aa43c8db450c3bcacc8f28897eab684a8032a1 | /data/games/missiles/states/level_fail.py | 1968f989a08e959a762da5f55ffd79a9dd9aa27b | [] | no_license | iminurnamez/Python_Arcade_Collab | 29a74cf2a6264969de9bae3c4a6ed23d6282e793 | 67702414ed30addd1bf46339bb458df34ed88f2a | refs/heads/master | 2021-04-15T07:32:18.573004 | 2018-05-13T14:29:19 | 2018-05-13T14:29:19 | 126,644,972 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,748 | py | import pygame as pg
from data.components.state_machine import _State
from data.core.tools import scaled_mouse_pos
from data.core import constants as prog_constants
from data.components.labels import Label, ButtonGroup
from data.components.special_buttons import NeonButton
from .. import constants
class LevelFail(_S... | [
"easinerf@gmail.com"
] | easinerf@gmail.com |
8ded148e045cac0a80cad6edcc563d60c127de9e | 07996c7f93e7b200146cd314520100cf99d003bd | /raw data/40_tos_with_paragraph/code/crawlParagraph/venv/bin/pip | 78b57aad8638f50daca262ddf547c190564af8a6 | [] | no_license | tjuyanghw/data_policy_analyzer | 31ae683128ca5241fa8f0cb67e2f1132820c2d02 | 010a44ff024bd6d97b21f409f6c62f969e1fdc55 | refs/heads/master | 2022-07-02T19:23:14.141170 | 2020-05-13T16:24:11 | 2020-05-13T16:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 412 | #!/Users/xiaoyue/scrapyenv/maliciousLibrarySpider/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[... | [
"xiaoyue10131748@gmail.com"
] | xiaoyue10131748@gmail.com | |
b29a1e598f2e2fc26af73f214978b0998c04b461 | 8c917dc4810e2dddf7d3902146280a67412c65ea | /v_7/NISS/common_shamil_v3/hr_violation_punishment/__openerp__.py | 719dad2e987819e3bcda88edba479c93f4c3fcff | [] | no_license | musabahmed/baba | d0906e03c1bbd222d3950f521533f3874434b993 | 0b997095c260d58b026440967fea3a202bef7efb | refs/heads/master | 2021-10-09T02:37:32.458269 | 2018-12-20T06:00:00 | 2018-12-20T06:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,110 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# NCTR, Nile Center for Technology Research
# Copyright (C) 2013-2014 NCTR (<http://www.nctr.sd>).
#
##############################################################################
{
'name': 'Employee Viol... | [
"bakry@exp-sa.com"
] | bakry@exp-sa.com |
26726fa6fa874f79a109c4fc897e9f4671bd5ca7 | 439386f9097632d44d31d1f599df76ec2820d072 | /性能项目/统一大厅常规checklist/1601/DFQP/src/uilib/exchange_page.py | 100b9e01ac952280dbe97665969e45d263c46165 | [] | no_license | YiFeng0755/testcase | 33693f0940a6497aa40e2e51a0535c9eb6c12b29 | edc19480c3e94cbcbf004aa9d20099ec6d1b9304 | refs/heads/master | 2020-04-28T04:34:28.232022 | 2019-03-11T11:13:25 | 2019-03-11T11:13:25 | 146,287,761 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 171 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
#Author: MindyZhang
'''
兑换奖品场景
'''
from appiumcenter.element import Element
class Exchange_Page(Element):
pass | [
"YoungLiu@boyaa.com"
] | YoungLiu@boyaa.com |
a5a75d90679c6ca3fd506ea8dfbafd949dc61360 | d488f052805a87b5c4b124ca93494bc9b78620f7 | /google-cloud-sdk/lib/googlecloudsdk/core/updater/release_notes.py | 977fe1c29e08b001c9d41029efce76a4f5bf998e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | PacktPublishing/DevOps-Fundamentals | 5ce1fc938db66b420691aa8106ecfb3f9ceb1ace | 60597e831e08325c7e51e8557591917f7c417275 | refs/heads/master | 2023-02-02T04:48:15.346907 | 2023-01-30T08:33:35 | 2023-01-30T08:33:35 | 131,293,311 | 13 | 19 | null | null | null | null | UTF-8 | Python | false | false | 7,835 | py | # Copyright 2015 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 ag... | [
"saneetk@packtpub.com"
] | saneetk@packtpub.com |
5ae862e9d518c2f20efcded062ee983747e72c04 | 4778bb52672e5bfd3bc227fd46bd3e2262146788 | /check_pickle_data.py | 77936b0793afdc053427dfe6f921049916de9d4f | [] | no_license | vyshor/NTU_timetable_generator | cf5d2914a52d41ca1087259fafe215d3298cfd3d | e7223fd98da718232af85e960bddc9e88ee02e5d | refs/heads/master | 2021-06-02T09:12:44.419674 | 2021-05-20T14:25:04 | 2021-05-20T14:25:04 | 135,579,641 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 245 | py | import pandas as pd
import pickle
import os.path
if os.path.isfile('database.p'):
with open('database.p', 'rb') as f:
store = pickle.load(f)
print(store.keys())
print([x for x in store.keys() if 'CZ' in x])
print(store['HE9091']) | [
"vyshornehc@gmail.com"
] | vyshornehc@gmail.com |
9d2088838424734104abac49d03bc31bad104416 | ca48bab2e2ffca8bb351050791f3b94bccc886b9 | /final report/interpreter2.py | 95afe2a50ddc908c1b87ab7b75229f75451ed525 | [] | no_license | haaksmash/QUI | ff394205bd3c3c089d23c0de66bcc4de6bc4e65b | f1cc2b3e999bebc7811598bde0f3ffddba216e65 | refs/heads/master | 2020-04-06T03:35:15.499196 | 2011-12-10T09:21:55 | 2011-12-10T09:21:55 | 2,872,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 231 | py | $ python -i FileModel.py
>>> f = FileModel()
>>> f.size = "really big"
Traceback (most recent call last):
...
...
fields.ValidationError: Could not convert to int: really big
>>> f.size = 100
>>> f.size
100
>>> | [
"haak.erling@gmail.com"
] | haak.erling@gmail.com |
21c63146676fd30217432916e59f7094633339a4 | 1a9852fe468f18e1ac3042c09286ccda000a4135 | /Specialist Certificate in Data Analytics Essentials/DataCamp/05-Working_with_Dates_and_Times/e23_march_29_throughout_a_decade.py | f8a0f897b1922372263e9afbb7bb4c04be5da9a8 | [] | no_license | sarmabhamidipati/UCD | 452b2f1e166c1079ec06d78e473730e141f706b2 | 101ca3152207e2fe67cca118923896551d5fee1c | refs/heads/master | 2023-08-14T15:41:24.312859 | 2021-09-22T17:33:01 | 2021-09-22T17:33:01 | 386,592,878 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 739 | py | """
For example, in the United Kingdom, as of the time this lesson was written, Daylight Saving begins on the last Sunday
in March. Let's look at the UTC offset for March 29, at midnight, for the years 2000 to 2010.
Using tz, set the timezone for dt to be 'Europe/London'.
Within the for loop:
Use the .repl... | [
"b_vvs@yahoo.com"
] | b_vvs@yahoo.com |
fa469309fe18cbe3e77032ace895be4cfa02963f | aa7049506e929693941436f93e22b13ff3122650 | /clubs/migrations/0002_club_club_picture.py | 95e50125132ee8e4eda71cd2d4fd2b4b1f9cfa77 | [] | no_license | austinbrovick/bellevue_college_hackathon | 24aa5f1ef64c4a4b85dd50e1f6dd628be15f3817 | 2ad9fa6c5ea79e8a34d55df8e21838aeb8fd044f | refs/heads/master | 2021-05-31T16:08:32.770057 | 2016-05-21T16:54:46 | 2016-05-21T16:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 508 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-05-20 07:24
from __future__ import unicode_literals
import clubs.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('clubs', '0001_initial'),
]
operations = [
migrations.Add... | [
"austinbrovick@gmail.com"
] | austinbrovick@gmail.com |
9475e978727f421d6640b6c19aa2463bef419be8 | e9e717e8dd8d05ccf39170492721559076312a50 | /{{ cookiecutter.repo_name }}/src/transform.py | 37973295657a02ee98c67018a41f22b4433f8016 | [
"MIT"
] | permissive | alexkyllo/workbench-py | bf9ca182eb86ddfb828887ee459a63212373c79d | c0f56450a416fda6905b2f8ee087d414bcc0dd95 | refs/heads/master | 2022-12-08T12:02:01.038914 | 2020-09-04T05:28:33 | 2020-09-04T05:28:33 | 291,903,232 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,407 | py | """transform.py
fit a transformer on test data to transform
test and training data.
"""
import os
import logging
import dotenv
import click
import joblib
from sklearn import preprocessing, impute, pipeline, compose
@click.command()
@click.argument("input_file", type=click.Path(exists=True))
@click.argument("output_fil... | [
"alex.kyllo@gmail.com"
] | alex.kyllo@gmail.com |
4240df00eb5010e26f95c087f229324170c9f756 | 18a6b272d4c55b24d9c179ae1e58959674e53afe | /tf_rl/examples/Sutton_RL_Intro/ch4_DP/value_iteration.py | 60e7e8461ec89060fd9007c1bb8e4dffbb0be478 | [
"MIT"
] | permissive | Rowing0914/TF2_RL | 6cce916f409b3d4ef2a5a40a0611908f20d08b2c | c1b7f9b376cbecf01deb17f76f8e761035ed336a | refs/heads/master | 2022-12-10T09:58:57.456415 | 2021-05-23T02:43:21 | 2021-05-23T02:43:21 | 233,476,950 | 9 | 1 | MIT | 2022-12-08T07:02:42 | 2020-01-12T23:53:48 | Python | UTF-8 | Python | false | false | 854 | py | # Following the algo in section 4.4 Value Iteration
from policy_evaluation import Policy_Evaluation
import sys
import numpy as np
if "../" not in sys.path:
sys.path.append("../")
from utils.envs.grid_world import GridworldEnv
def Value_Iteration(env, policy, state_value, gamma, theta):
state_value = Policy... | [
"kosakaboat@gmail.com"
] | kosakaboat@gmail.com |
ae317d3819b06f5de71f3da6f88fc4df21141864 | b593247a2bf162819eea6820b6a25c7a659d2f76 | /Unit 07 Lists and Functions/01 Lists and Functions/1 List Recap/4-Removing elements from lists.py | 8f667b9e1e80ddb0e19190278409ab25d8eb16c0 | [] | no_license | Angelpacman/codecademy-py3 | d4d727857a8894fec5dd3d78c00f3f25f31979dc | 729d232a8732e53bdf0131246b043354ed933614 | refs/heads/master | 2020-03-28T02:50:31.431167 | 2019-01-26T01:07:01 | 2019-01-26T01:07:01 | 147,601,355 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 272 | py | n = [1, 3, 5]
# Removes 1 from the list,
# NOT the item at index 1
n.remove(1)
# Another possible solution, will remove the item at the given index:
del(n[0])
# Another possible solution will remove the item at index from the list and return it to you:
n.pop(0)
print (n)
| [
"angelr4a1@gmail.com"
] | angelr4a1@gmail.com |
6cf0154e33520dc042d50a3f03c9ef013abaeca8 | 1e5c6f4b08d9470fce248cf39e6dccce40e90a41 | /codes/11/vpython_mouse.py | 1dfa5be57b729a6fc2531903cb36ec3f2576e212 | [] | no_license | misaiya99/scipybook2 | 1529cfb7f800df2ef7ce024a86281af16e343a37 | 734ba177b4705cc25da695d42a8cbada7cd22bd9 | refs/heads/master | 2020-03-10T21:26:23.595494 | 2017-08-25T09:48:07 | 2017-08-25T09:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 748 | py | # -*- coding: utf-8 -*-
from visual import *
text = label(pos=(0, -2, 0))
sphere(pos=(0,2,0))
box(pos = (2, 0, 0))
ray = arrow(pos=(0,0,0), color=(1,0,0))
while True:
rate(30)
texts = []
for attrname in ["pos", "pick", "pickpos", "camera", "ray"]:
texts.append("%s=%s" % (attrname, getat... | [
"qytang326@gmail.com"
] | qytang326@gmail.com |
4bcd800c07e4277b3973998a8b7011e197ab5888 | f09dc121f213f2881df3572288b7ee5b39246d73 | /aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/UpdateTableThemeRequest.py | 4d6f11d6dc5e74a7089425fa39c49b429212d945 | [
"Apache-2.0"
] | permissive | hetw/aliyun-openapi-python-sdk | 2f31378ad6be0896fb8090423f607e9c7d3ae774 | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | refs/heads/master | 2023-01-19T22:42:36.214770 | 2020-12-04T10:55:14 | 2020-12-04T10:55:14 | 318,689,093 | 1 | 0 | NOASSERTION | 2020-12-05T03:03:03 | 2020-12-05T03:03:03 | null | UTF-8 | Python | false | false | 1,746 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
4d53d7f73ebb9720864f89da0c2327cfa136e2c2 | 54ddb3f38cd09ac25213a7eb8743376fe778fee8 | /topic_05_data_structure/practice/zip_1_common.py | 4236c882354be343b387f643ccd4d9be6d9b4296 | [] | no_license | ryndovaira/leveluppythonlevel1_300321 | dbfd4ee41485870097ee490f652751776ccbd7ab | 0877226e6fdb8945531775c42193a90ddb9c8a8b | refs/heads/master | 2023-06-06T07:44:15.157913 | 2021-06-18T11:53:35 | 2021-06-18T11:53:35 | 376,595,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,648 | py | """
Функция zip_common.
Принимает 3 аргумента: список, строку и кортеж.
Возвращает список (list) с тройками значений из каждого аргумента.
ВНИМАНИЕ: для строки один элемент = один символ
(Порядок проверки именно такой:)
Если вместо list передано что-то другое, то возвращать строку 'First arg must be list!'.
Если вм... | [
"ryndovaira@gmail.com"
] | ryndovaira@gmail.com |
ada60d2e8fc354bdf8b960331d4a2c3dd3495c84 | ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1 | /res/packages/scripts/scripts/client/gui/shared/actions/__init__.py | dd15a0c04bdd65ad5d78e61ce0b7c7d736212659 | [] | no_license | webiumsk/WOT-0.9.20.0 | de3d7441c5d442f085c47a89fa58a83f1cd783f2 | 811cb4e1bca271372a1d837a268b6e0e915368bc | refs/heads/master | 2021-01-20T22:11:45.505844 | 2017-08-29T20:11:38 | 2017-08-29T20:11:38 | 101,803,045 | 0 | 1 | null | null | null | null | WINDOWS-1250 | Python | false | false | 9,956 | py | # 2017.08.29 21:49:32 Střední Evropa (letní čas)
# Embedded file name: scripts/client/gui/shared/actions/__init__.py
import BigWorld
from adisp import process
from debug_utils import LOG_DEBUG, LOG_ERROR
from gui.Scaleform.Waiting import Waiting
from gui.Scaleform.framework import ViewTypes
from gui.app_loader import g... | [
"info@webium.sk"
] | info@webium.sk |
6856e89aa1d898a889e5af7dae23b5576017b49c | 292cec77b5003a2f80360d0aee77556d12d990f7 | /typings/filetype/types/video.pyi | 9b61193428fe1cf6d3aee36815c69fc32f0d96e0 | [
"Apache-2.0"
] | permissive | yubozhao/BentoML | 194a6ec804cc1c6dbe7930c49948b6707cbc3c5f | d4bb5cbb90f9a8ad162a417103433b9c33b39c84 | refs/heads/master | 2022-12-17T00:18:55.555897 | 2022-12-06T00:11:39 | 2022-12-06T00:11:39 | 178,978,385 | 3 | 0 | Apache-2.0 | 2020-12-01T18:17:15 | 2019-04-02T01:53:53 | Python | UTF-8 | Python | false | false | 2,296 | pyi | """
This type stub file was generated by pyright.
"""
from .base import Type
from .isobmff import IsoBmff
class Mp4(IsoBmff):
"""
Implements the MP4 video type matcher.
"""
MIME = ...
EXTENSION = ...
def __init__(self) -> None:
...
def match(self, buf): # -> bool:
...
... | [
"noreply@github.com"
] | yubozhao.noreply@github.com |
9b750390731edd5a1a683067240907563877df45 | 7a66ff970580297ba50b0d4bdd0406352071c05a | /Pyscience/3. numpy.py | 5662327a3911c27438e44e19446518f84358e67d | [] | no_license | zero-big/Python-Basic | 1ab3da9d09983d937b410ca9ec1741424ebaa3ae | 5cd2eaa822aedb46a79283a6007b900a3c9665c8 | refs/heads/master | 2023-08-03T13:10:22.556732 | 2021-09-24T11:35:50 | 2021-09-24T11:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,391 | py | import numpy as np
# 1. 배열 만들기 : array
b = np.array([2, 4, 6, 8])
print(b) # [2 4 6 8]
# ndim : 랭크를 반환
print(b.ndim) # 1
# size : 배열에 있는 값의 총 개수 반환
print(b.size) # 4
# shape : 각 랭크에 있는 값의 개수 반환
print(b.shape) # (4,)
a = np.arange(10)
print(a) # [0 1 2 3 4 5 6 7 8 9]
print(a.ndim) # 1
print(a.shape) ... | [
"bosl95@naver.com"
] | bosl95@naver.com |
60da30781917abab3957aa8014520618378468ed | 9905901a2beae3ff4885fbc29842b3c34546ffd7 | /nitro-python/nssrc/com/citrix/netscaler/nitro/resource/config/responder/responderpolicy.py | c615cd853ff5b01cace69af2e386a58b6b117f46 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"Python-2.0"
] | permissive | culbertm/NSttyPython | f354ebb3dbf445884dbddb474b34eb9246261c19 | ff9f6aedae3fb8495342cd0fc4247c819cf47397 | refs/heads/master | 2020-04-22T17:07:39.654614 | 2019-02-13T19:07:23 | 2019-02-13T19:07:23 | 170,530,223 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,054 | py | #
# Copyright (c) 2008-2016 Citrix Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | [
"mdculbert@marathonpetroleum.com"
] | mdculbert@marathonpetroleum.com |
4bc2b97cfdf5ecd84e54794669f4b1629022175a | d3efc82dfa61fb82e47c82d52c838b38b076084c | /utils/insertOrder.py | 85952c6096e1e1cff45f6714581d1c7d9b599c2b | [] | 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,208 | py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import sys
sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api")
from xtp_test_case import *
sys.path.append("/home/yhl2/workspace/xtp_test/service")
from QueryStkPriceQty import *
import time
a = []
i = 0
def insertOrder(order_client_id):
case_goal = {
'case... | [
"418033945@qq.com"
] | 418033945@qq.com |
9f80c09591aba84706bbcb6441e4cdc592592d31 | a425842a51deab915fc4319b3226cef3f49e53ea | /build/extriPACK/industrial_calibration/rgbd_depth_correction/catkin_generated/pkg.installspace.context.pc.py | 52826087801e42a5ebac29a053ae0e8b3d52ccb0 | [] | no_license | Sinchiguano/Part-Localization-For-Robotic-Arm | 1458204e52f34354cbd0e8e1bff1dfaf6caefe1c | ebc1ed19da171ff4b5a52a3a031ae3049b0b9eb8 | refs/heads/master | 2021-10-08T19:49:53.455680 | 2018-12-16T20:03:04 | 2018-12-16T20:03:04 | 155,774,219 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,245 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/usr/include;/usr/local/include;/usr/include/eigen3".split(';') if "/usr/include;/usr/local/include;/usr/include/eigen3" != "" else []
PROJECT_CATKIN_DEPENDS = "cv_bridge;geometry_msgs;industrial_extri... | [
"cesarsinchiguano@hotmail.es"
] | cesarsinchiguano@hotmail.es |
1ec1082c420c57632e1d8fbdbff3c24e3f426d14 | ae7ba9c83692cfcb39e95483d84610715930fe9e | /yubinbai/pcuva-problems/UVa 11262 - Weird Fence/EdmondsKarp.py | a3cd3aa934f2d8f5f06832cbe4c94dceea41b641 | [] | no_license | xenron/sandbox-github-clone | 364721769ea0784fb82827b07196eaa32190126b | 5eccdd8631f8bad78eb88bb89144972dbabc109c | refs/heads/master | 2022-05-01T21:18:43.101664 | 2016-09-12T12:38:32 | 2016-09-12T12:38:32 | 65,951,766 | 5 | 7 | null | null | null | null | UTF-8 | Python | false | false | 1,846 | py | '''
Created on 2013-6-24
@author: Yubin Bai
'''
from _collections import deque
INF = 1 << 32
def edmondsKarp(graph, s, t):
def augmentPath(v, minEdge):
if (v == s): # managed to get back to source
f[0] = minEdge # minEdge of the path
return
elif (v in p): # augment if ... | [
"xenron@outlook.com"
] | xenron@outlook.com |
2b0ced7fa82699bf40379314a33e83ddcdf35160 | 7e9c0243c48bbf0ddca9779ef03fc13bb9ac0496 | /candle.py | ef7ed0eabce07b078b04bab06a40c9c69cbbb75e | [] | no_license | suchismitarout/tt | c47f1f59659d2678392e2f0c3aaee8cfaa147ff4 | 54a5b625a82dab854b679050d67e340e74d71edd | refs/heads/master | 2020-09-16T20:25:34.146741 | 2019-11-25T06:52:07 | 2019-11-25T06:52:07 | 223,880,569 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 399 | py | def birthdayCakeCandles(ar):
max_ele = ar[0]
count = 0
for i in range(len(ar)):
if ar[i] > max_ele:
max_ele = ar[i]
for j in ar:
if j == max_ele:
count +=1
# for j in ar:
# if j == max_ele:
# count +=1
return cou... | [
"suchismitarout47@gmail.com"
] | suchismitarout47@gmail.com |
b6e1772e50d34d8983fa946e90fc6fe835b3c834 | 7bdaa27c14549db8ecd13d055cfbd43bbfd69d9a | /book_rest_api/book_rest_api/urls.py | 9bc7c2b763cded18056ef8acfb50445b2ee24dcd | [] | no_license | Ksieciu/Book-Rest-API | 860158266e55a36a57f9cd0d0f7c99233dc53a4c | 9fb5e13c86e6fb5c07fb84dded78dd906986600a | refs/heads/main | 2023-02-17T20:12:02.356460 | 2021-01-04T10:42:14 | 2021-01-04T10:42:14 | 306,314,481 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 894 | py | """book_rest_api 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... | [
"30780278+Ksieciu@users.noreply.github.com"
] | 30780278+Ksieciu@users.noreply.github.com |
36c872660985e40574ed8cd4d854c3dbefe2099d | d001abba19711d678f2ba09dfbd5c84357be6bb0 | /src/contest/codeforces/339div2/B/main.py | 9cbb98053c0a27ee12cd1b6a0d3180ed2d02074c | [] | no_license | cormoran/CompetitiveProgramming | 89f8b3ceda97985d32b8cd91056b49abeb243e6f | fa0e479ab299f53984fa7541d088c10c447fb6e4 | refs/heads/master | 2020-04-17T19:59:49.724498 | 2020-03-28T15:46:26 | 2020-03-28T15:46:26 | 65,995,023 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 121 | py | #!/usr/bin/env python3
n = int(input())
a = list(map(int,input().split()))
ans = 1
for i in a:
ans *= i
print(ans)
| [
"cormoran707@gmail.com"
] | cormoran707@gmail.com |
3630fd00235c8d64e6fa8c41cb6b0031acc8d051 | 996967405d3ee07e011ee0f0404d03b6d04d3492 | /dataloader/get_coco/select_image.py | e4e45d53306e8d53996618fd3de1138d855286eb | [] | no_license | wyyy04/MyRepository | 797936fc757a2eee4793d5b1b47ebf8b57216ab8 | 91f1a7ff969e91d9649b96796c5827c9910a8183 | refs/heads/main | 2023-02-22T09:56:21.926013 | 2021-01-27T15:34:00 | 2021-01-27T15:34:00 | 315,524,193 | 0 | 0 | null | 2020-11-24T07:30:05 | 2020-11-24T05:05:28 | null | UTF-8 | Python | false | false | 504 | py | from readtxt import loadDataset
import os
import shutil
#从COCO训练集中选取motivations_clean中训练和测试使用的所有图片
rdir='D:\download\\train2014'#源目录
odir='D:\data'#目标目录
data = loadDataset()
data = data[:,0]
print(data)
for im_name in data:
print(im_name) #文件名
r = os.path.join(rdir,im_name)
o = os.path.join(odir,im_name... | [
"you@example.com"
] | you@example.com |
5418cdc24aab8459761ed1b04e45bfb5f5f36b94 | 327befeb9bbb8aee75c24c5ef78d859f35428ebd | /src/python/grpcio/grpc/framework/crust/_calls.py | bff940d74710da3a6be3a2c099cf8e661f51f910 | [
"BSD-3-Clause"
] | permissive | CharaD7/grpc | 33b64f8eabf09014b1bc739b77809aed7a058633 | 062ad488881839d2637b7a191ade5b87346b4597 | refs/heads/master | 2023-07-08T19:36:00.065815 | 2016-01-04T17:28:15 | 2016-01-04T17:28:15 | 49,012,756 | 1 | 0 | BSD-3-Clause | 2023-07-06T01:32:59 | 2016-01-04T17:39:11 | C | UTF-8 | Python | false | false | 8,621 | py | # Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the f... | [
"nathaniel@google.com"
] | nathaniel@google.com |
99322f6227003e759ed09c79ea1c5a528744cc15 | d54e1b89dbd0ec5baa6a018464a419e718c1beac | /Python from others/字典/wk_05_字符串的定义.py | 3baed27ffc0bce82ef9cf4051ead9b8ab46134e4 | [] | no_license | cjx1996/vscode_Pythoncode | eda438279b7318e6cb73211e26107c7e1587fdfb | f269ebf7ed80091b22334c48839af2a205a15549 | refs/heads/master | 2021-01-03T19:16:18.103858 | 2020-05-07T13:51:31 | 2020-05-07T13:51:31 | 240,205,057 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 53 | py | string = "hello world"
for c in string:
print(c) | [
"1121287904@qq.com"
] | 1121287904@qq.com |
716119ca0680e969a5c9b15d2f93c196e377873b | 7b4e9342d42be2b55af5dc23a8abedd672d68e99 | /MobileApps/libs/flows/web/jweb/eventing_plugin.py | 83d4c6d1bad5eef4658ff26f41ebc08452999a87 | [] | no_license | Amal548/QAMA | af5bb335c92a90b461f1ee9a3870435d83d46802 | b5230c51d3bc7bb04b3448d1a1fe5a076d8898d5 | refs/heads/master | 2023-07-12T09:17:04.624677 | 2021-08-06T08:01:11 | 2021-08-06T08:01:11 | 389,595,655 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,065 | py | from MobileApps.libs.flows.web.jweb.jweb_flow import JwebFlow
import json
class EventingPlugin(JwebFlow):
flow_name = "eventing_plugin"
########################################################################################################################
# ... | [
"amal.muthiah@hp.com"
] | amal.muthiah@hp.com |
5effb4f8168c2ae2b22c3d5bdf47fbc2371234a7 | 08c7f146d82da572731f6ad0fd7d96bd4553f3d8 | /backend/wispy_bread_26347/settings.py | 440dca6d8ada9cc66236256b5fe96e07ed38d97b | [] | no_license | crowdbotics-apps/wispy-bread-26347 | 9c7b081b280e709f6eb5dccd3d38e7be306c18a8 | 04532cb6c4ac227bd104c2210e9997cdc5ff530d | refs/heads/master | 2023-05-01T09:20:01.995863 | 2021-05-07T19:06:03 | 2021-05-07T19:06:03 | 365,329,281 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,117 | py | """
Django settings for wispy_bread_26347 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/
"""
im... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
9902ebd2e00cc805ec5bdc9703e6ca797ea372dc | 41ede4fd3bfba1bff0166bca7aee80dcf21434c6 | /suvari/gtk2chain/reverses/xcb-util/actions.py | 25adb86a956a71e443321f8a2ef6661d3e2d6833 | [] | no_license | pisilinux/playground | a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c | e4e12fff8a847ba210befc8db7e2af8556c3adf7 | refs/heads/master | 2022-08-12T23:03:27.609506 | 2022-08-11T18:28:19 | 2022-08-11T18:28:19 | 8,429,459 | 16 | 22 | null | 2022-08-11T18:28:20 | 2013-02-26T09:37:11 | Python | UTF-8 | Python | false | false | 572 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
... | [
"suvarice@gmail.com"
] | suvarice@gmail.com |
878a8d6f13a4d962da19b20180204a0a90f19306 | 74c368b2511fd62cb4f71db64bd728d0354d7191 | /refinenet/datasets.py | 6ea166c7a35a6e2ea5c30236b9881e9fa3bc3e65 | [] | no_license | nocotan/RefineNet | 318e8867eca263127e573323f0225934adcf77b8 | 05e5a465807016b913f1f2d58a14c0fdad72beed | refs/heads/master | 2021-04-03T06:07:40.295234 | 2018-03-20T14:48:44 | 2018-03-20T14:48:44 | 124,654,926 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,754 | py | # -*- coding: utf-8 -*-
import os
import random
import cv2
import numpy as np
import PIL.Image
from chainer.dataset import dataset_mixin
class ImageDataset(dataset_mixin.DatasetMixin):
def __init__(self, data_dir, data_list, crop_size=(300, 300)):
self.data_dir = data_dir
self.data_list = os.path... | [
"noconoco.lib@gmail.com"
] | noconoco.lib@gmail.com |
9935830816782ca4bbe14f5537a51ca72ff16bc6 | b109001ec3ca8aa4b2cfc4d4520d8644c58ad5e0 | /navigation/Mappers.py | e6b134df0a24b3ea97c7ed69c07d70c972f65cf3 | [] | no_license | Chandanpanda/navigation-benchmark | b3e25e3672150413299a3d2566ad601156317acf | d83431d6648ac1147f53056ed32ce2caae4f702d | refs/heads/master | 2021-10-24T04:42:56.436909 | 2019-01-31T12:43:48 | 2019-01-31T12:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,626 | py | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from math import ceil,floor
import math
from .Reprojection import getMapSizeInCells, project2dPClIntoWorldMap, ReprojectLocal2Global
def DepthToLocal3D(depth, fx, fy, cx, cy):
r"""Projects depth map to 3d point cloud
with or... | [
"ducha.aiki@gmail.com"
] | ducha.aiki@gmail.com |
d399b2d3a8ff12446dacbf96a4e46f7b8f5d2e92 | 52555a17cdb6058565696585c978c9012b0bfad7 | /examples/synthetic/park2_4/park2_4_mf.py | b8d64549b8c4f770d2f4fd70d7fcabdc1ba4bee4 | [
"MIT"
] | permissive | kirthevasank/dragonfly | 8685d6aff272bd262d9b47c455fc1f1dc77a42aa | 8e09d5ba602d14922455bf09bdd4ca0fa09ef3ee | refs/heads/master | 2020-05-02T00:38:35.252889 | 2019-05-17T03:40:23 | 2019-05-17T03:40:23 | 177,675,339 | 3 | 0 | MIT | 2019-05-06T04:07:41 | 2019-03-25T22:39:37 | Python | UTF-8 | Python | false | false | 489 | py | """
Parkd function with multi-fidelity.
-- kandasamy@cs.cmu.edu
"""
# pylint: disable=invalid-name
from park2_4 import park2_4_z
# Write a function like this called 'obj'.
def park2_4_mf(z, x):
""" Computes the Parkd function. """
return park2_4_z(z[0], x)
def objective(z, x):
""" Objective. """
return ... | [
"kandasamy@cs.cmu.edu"
] | kandasamy@cs.cmu.edu |
50b6850399802b4c26d8204b660c997e56c67b3b | b4e4cd7eae81f27b006fc28f79631db3e894572f | /Budgetsystem/Budgetsystem/urls (2021_07_03 17_35_37 UTC).py | fa7ccfa6a1aed7eb645c59bc59ef56cb1e81632c | [] | no_license | mariachacko93/recipe-budget-bill | effe369c7a873b7e59e4e22cacb7e247fb44bfa7 | 6ad231febe9f3c837536067a9ddd096a2ae6a2bf | refs/heads/master | 2023-06-18T06:41:02.536377 | 2021-07-14T05:54:39 | 2021-07-14T05:54:39 | 385,829,500 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 828 | py | """Budgetsystem 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')... | [
"you@example.com"
] | you@example.com |
1a2a244f5a7ffd2c4a3c4534e593dc75e9823e55 | 49b827bb587d50c5092837749a7d5b88c024e854 | /experiments/ACOSlite/HDF5_to_GeoJSON.py | 722867db0ee2e86786f2b64806e22f0365deda70 | [] | no_license | SpaceAppsXploration/oco-2-data-network | 7d836bf77cf79a5aac1cd22b02c75af316432b56 | 7d1fd709c7c219c83b7ea9f8075f7df46b460f23 | refs/heads/master | 2020-12-11T05:43:45.979066 | 2015-07-18T08:56:29 | 2015-07-18T08:56:29 | 34,137,221 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,793 | py | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 16 15:23:47 2015
@author: jacopo
"""
import json
from pprint import pprint
import h5py
#
# TO DOs
#
# 1. Add the reference to Sensors ontology
# ACOS LITE file in the same directory
f = h5py.File('ACOSv3.4r02_L3_20100101_000000_20130515_000000.h5', libver='earliest')
... | [
"tunedconsulting@gmail.com"
] | tunedconsulting@gmail.com |
ff20f97e522dad036e7df019b8c4e0a5caae626a | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_unguents.py | 87d4634aa61496578132ed4c4606ab4ff28ddf79 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 245 | py |
from xai.brain.wordbase.nouns._unguent import _UNGUENT
#calss header
class _UNGUENTS(_UNGUENT, ):
def __init__(self,):
_UNGUENT.__init__(self)
self.name = "UNGUENTS"
self.specie = 'nouns'
self.basic = "unguent"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
58b2baef07663c5e82c8e96e9e9e199a40108943 | af685f9625dc3fc1892171df396ed46155caa092 | /WORC/resources/fastr_tools/worc/bin/FeatureConverter_tool.py | 84635983ccc0a62c9a1aa63c19be4a548ed16b53 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MStarmans91/WORC | b66d7de70e2f3acab5100a3431855216b31bd7b1 | f267b3d05c8193939aa4f43e47c6e24f9307864e | refs/heads/master | 2023-08-17T14:02:29.566811 | 2023-08-15T08:58:42 | 2023-08-15T08:58:42 | 92,295,542 | 65 | 20 | NOASSERTION | 2023-08-15T08:58:44 | 2017-05-24T13:31:31 | Python | UTF-8 | Python | false | false | 2,404 | py | #!/usr/bin/env python
# Copyright 2017-2020 Biomedical Imaging Group Rotterdam, Departments of
# Medical Informatics and Radiology, Erasmus MC, Rotterdam, The Netherlands
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obt... | [
"m.starmans@erasmusmc.nl"
] | m.starmans@erasmusmc.nl |
90f4696555e174ef011d383417a37633f1b0867b | 54d2887e3c910f68366bd0aab3c692d54245e22a | /abc/abc_042_125/abc089/a.py | 0311aa625dd7cd2c28dad38a37460155d16513a9 | [] | no_license | Kevinrobot34/atcoder | 7aec367fd2c6b589e9d583dae7b3c7520ce9fa12 | 482ea508f098f81e4f19522fe518dd22c781aca9 | refs/heads/master | 2022-07-10T23:44:45.290022 | 2022-06-29T11:30:26 | 2022-06-29T11:30:26 | 158,081,477 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 32 | py | n = int(input())
print(n // 3)
| [
"kevinrobot34@yahoo.co.jp"
] | kevinrobot34@yahoo.co.jp |
4b68733a5da1facd4daa9d36b3eafb06d1b7bea2 | 79a484e91a8df432a0ded93806a1e8237df7c253 | /umibukela/migrations/0020_auto_20170124_1443.py | 03d19703ba05730c59fd74bd2588eed73576e207 | [
"MIT"
] | permissive | OpenUpSA/umibukela | 7ba14397ad543154d3a32ebfd84e89aa07f7011e | 34c1a29a429b88c2f574e9120cfe93ba524633da | refs/heads/master | 2023-07-26T19:45:12.531887 | 2023-07-10T15:53:07 | 2023-07-10T15:53:07 | 47,106,932 | 0 | 0 | MIT | 2023-02-02T01:36:59 | 2015-11-30T09:03:27 | Python | UTF-8 | Python | false | false | 618 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('umibukela', '0019_auto_20170124_1252'),
]
operations = [
migrations.AlterField(
model_name='cycleresultset',
... | [
"jbothma@gmail.com"
] | jbothma@gmail.com |
d44ba106ea8aff1d8cf7dd57c7ddf30bbbeb3023 | aebacedc43afabf8ce54bb25f4cbe040441dcba4 | /appscripts/appscripts-acer-120311/prefcns13.py | 18829a38e63f5364d6b331c5b7b1cc4b9e340e4e | [] | no_license | swanandgore/rappertk | 84e968447597494645ac0c9868358fc6a194197a | d1a5d5e0d096dfc23237e29bfd983183ca1e2fbd | refs/heads/master | 2020-05-17T07:59:43.613762 | 2014-08-20T12:13:56 | 2014-08-20T12:13:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,302 | py |
import os, shutil, re
import geometry
from xray import cif2mtz, uniqueify, sfall, mtz2hkl, cns_generate, cns_anneal, sgCCP4toCNS, fft, omitmap, mapman
from procrun import proc_run_exitOnError as execCmd
from xcheck import XrayScorer, XrayRanker
from data import sgtable
from evalCAtrace import comparePhiPsiOmegaChi
fro... | [
"swanand@ebi-001.ebi.ac.uk"
] | swanand@ebi-001.ebi.ac.uk |
2087f66359a6383aadf0b06ec31295815bc2ae13 | 2c8ed67a9e54b98a9b432f5a66287e4523497d65 | /python/hsreplay/elements.py | 26ca5f8871e7e77da22c26d41bcde04d629b64d6 | [
"MIT",
"Python-2.0",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | EvilNuff/HSReplay | 79915a87df182d3af3c4a7ed8fb3f9e84135e106 | 26fd02cbfbff7f5a6fec0573d227d3e1aff417bd | refs/heads/master | 2021-01-12T08:00:48.065962 | 2016-10-14T22:03:48 | 2016-10-14T22:03:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,857 | py | from dateutil.parser import parse as parse_timestamp
from hearthstone.hslog import packets
from .utils import ElementTree
def node_for_tagname(tag):
for k, v in globals().items():
if k.endswith("Node") and v.tagname == tag:
return v
raise ValueError("No matching node for tag %r" % (tag))
class Node(object):
... | [
"jerome@leclan.ch"
] | jerome@leclan.ch |
d21050a17e15ff92bccfbce4604ba90af3d3d95f | 56818903f60b5e7b88645f88badc92bfa5d2c65f | /automlcli/settings.py | 05d100770da7b6b2f4c87b22a2dd400e38345549 | [
"MIT"
] | permissive | altescy/automlcli | 23e82ad957ac8cbeb43d734741dd8dfb9b24b0ff | ec57ac57df5d9d9f8a7ef79bb7a96a86801f32f4 | refs/heads/main | 2023-04-29T03:57:06.181052 | 2021-05-23T12:19:34 | 2021-05-23T12:19:34 | 341,651,976 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 286 | py | from pathlib import Path
# colt settings
DEFAULT_COLT_SETTING = {
"typekey": "type",
}
# automlcli directory settings
AUTOMLCLI_ROOT = Path.home() / ".automlcli"
# plugin settings
LOCAL_PLUGINS_FILENAME = ".automlcli_plugins"
GLOBAL_PLUGINS_FILENAME = AUTOMLCLI_ROOT / "plugins"
| [
"altescy@fastmail.com"
] | altescy@fastmail.com |
0f904e64473e0a25754c0b977e1599a61fcaaa7b | 660e35c822423685aea19d038daa8356722dc744 | /account_statement_ofx/tests/__init__.py | eef3074bc7837bf7d59e074cce70d4916358feba | [] | no_license | saifkazi/tryton_modules | a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb | 94bd3a4e3fd86556725cdff33b314274dcb20afd | refs/heads/main | 2023-05-05T12:20:02.059236 | 2021-05-19T10:46:37 | 2021-05-19T10:46:37 | 368,768,310 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 348 | py | # This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
try:
from trytond.modules.account_statement_ofx.tests.test_account_statement_ofx import suite # noqa: E501
except ImportError:
from .test_account_statement_ofx import... | [
"saif.kazi76@gmail.com"
] | saif.kazi76@gmail.com |
fd8ac21a8d9b8432a25e4625bc8ff3e90e64da60 | 64cad428fb95a4815f83a90ee44144e1b4b44766 | /env/bin/django-admin.py | 3a80150dc43fbf285f554927972b5e4eddee0a13 | [] | no_license | virginiah894/Api | 5ddcd0eca325d2967d9bbb634ff5bc89d68f6e24 | 96392c7c20d0e25dc2b751a44a3cd379531fafc4 | refs/heads/master | 2022-11-11T10:14:41.153391 | 2020-07-04T14:40:58 | 2020-07-04T14:40:58 | 277,127,644 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 174 | py | #!/home/access/Documents/perry projects/Django-APIs/env/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| [
"virgyperry@gmail.com"
] | virgyperry@gmail.com |
3a7cafd0b8495001f094ed73028cc04915094f23 | b96f7c01df9417aaf4408e794b1edcc501921c6f | /pirates/coderedemption/CodeRedemptionUD.py | ebf302c6eaa53f6a706c9ea2ff6aa52f277ff69f | [] | no_license | Puggyblue999/PiratesOfTheCarribeanOnline | 492b5feec3dace921026ab1ec64603c208869a62 | 5c7eff12c3821d337404be0face368a5a899fff1 | refs/heads/master | 2021-01-22T15:10:54.858772 | 2015-06-25T20:30:11 | 2015-06-25T20:30:11 | 38,146,060 | 4 | 4 | null | 2015-07-01T18:58:11 | 2015-06-27T04:01:44 | Python | UTF-8 | Python | false | false | 126 | py | from direct.distributed.DistributedObjectUD import DistributedObjectUD
class CodeRedemptionUD(DistributedObjectUD):
pass
| [
"bryanmuschter@hotmail.com"
] | bryanmuschter@hotmail.com |
062d01992b4ff6403439725111428e675235023b | ca12492b8fe66e34d7152a5118a573175b0a176f | /backend/wallet/migrations/0001_initial.py | 06c04d1d09b8fdac41184f9f6cca8bc684953e59 | [] | no_license | crowdbotics-apps/asile-mobile-22968 | 3d02c0de123ba1b13d79a098ea7eb543658d5f8f | c5005ad17c262f87bdd8eefb89145ee75fdca168 | refs/heads/master | 2023-01-24T17:16:53.239439 | 2020-11-25T08:42:33 | 2020-11-25T08:42:33 | 315,842,223 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,944 | py | # Generated by Django 2.2.17 on 2020-11-25 05:57
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('task_profile', '0001_initial'),
('task', '0001_initial'),
]
operations = [
mig... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
86aad0348b322a2f956b6383ab4d9264b7a71afd | 0ebec1e899789ae2597c01bae7ca2c3382c4266d | /session5/a_customising_plots.py | 0a6ea8df7506befcbf9f9e859b1a2d01d340e160 | [
"Apache-2.0"
] | permissive | TugdualSarazin/MACT20.21_Digital_tools_Big_Data_part_1 | 02fda6b401bcdad2a240de00960ff0dbc61fc94d | b43b9f50ec42bb413c2c3a090cf11f9886676c58 | refs/heads/main | 2023-01-13T20:51:44.000981 | 2020-11-09T12:25:11 | 2020-11-09T12:25:11 | 313,076,622 | 0 | 0 | Apache-2.0 | 2020-11-15T16:44:29 | 2020-11-15T16:44:28 | null | UTF-8 | Python | false | false | 2,890 | py | # encoding: utf-8
##################################################
# This script shows uses the pandas and matplotlib libraries to produce different kind of plots
# It also combines data from two sources and create multiple plots
# Find extra documentation about data frame here:
# https://pandas.pydata.org/pandas-do... | [
"diegopajarito@gmail.com"
] | diegopajarito@gmail.com |
8c6977a6a88267049f29f0ab21620a01356f8d36 | 39cb67781018e23428312610ded87c5d384bb690 | /swinger.py | 23a441d49c82499b30ed56afe259a80e11ef8692 | [] | no_license | yi75798/Swinger | afd8e528cc1bcce3a4db83ce54def54372619717 | b158c4f358fbebe655627969231cf1f0276cf708 | refs/heads/master | 2022-02-25T14:10:25.104740 | 2019-10-25T07:24:12 | 2019-10-25T07:24:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,314 | py | # -*- coding: utf-8 -*-
import nltk, json, pickle
import itertools
from random import shuffle
from nltk.collocations import BigramCollocationFinder
from nltk.metrics import BigramAssocMeasures
from nltk.probability import FreqDist, ConditionalFreqDist
import sklearn
from nltk.classify.scikitlearn import SklearnClassif... | [
"davidtnfsh@gmail.com"
] | davidtnfsh@gmail.com |
90f01e806124c7ca87d8fa588c9283d06b53bfcb | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2485/60623/234199.py | d1fc22fa3226c63bdda6a1c2a234b5d3b02955ce | [] | 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 | 935 | py | # 给定一个单词数组,按排序顺序(计数的递增顺序)一起打印所有字符相同组的计数。
# 例如,如果给定的数组是{“ cat”,“ dog”,“ tac”,“ god”,“ act”},则分组的字谜是“(dog,god)(cat,tac,act)”。因此输出为2 3
size=int(input())
a=0
while a<size:
b=input()#也没有用
strList=input().split()
i=0
while i<len(strList):
l=list(strList[i])
#列表的sort是针对自己,而字典的sort则是返回一个排好序的,但本身并没有排好序
l.sort()
s=""... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
69464c3b9cc44fc360e52b78b6397ca102998b16 | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-sblp/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=43/sched.py | 96e86f88d4ec9f87aad6a16a3dbd922eb335bcd5 | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 529 | py | -S 1 -X RUN -Q 0 -L 2 132 400
-S 0 -X RUN -Q 0 -L 2 104 300
-S 0 -X RUN -Q 0 -L 2 93 300
-S 0 -X RUN -Q 0 -L 2 56 300
-S 2 -X RUN -Q 1 -L 1 50 400
-S 2 -X RUN -Q 1 -L 1 46 300
-S 2 -X RUN -Q 1 -L 1 45 150
-S 2 -X RUN -Q 1 -L 1 42 125
-S 3 -X RUN -Q 2 -L 1 35 175
-S 3 -X RUN -Q 2 -L... | [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
ea531889bf01ff9b71405fc6ad2e84ec1a764813 | ba8f5d23d9878a25b30a32cf16e8833f93b25853 | /source_py2/python_toolbox/nifty_collections/emitting_weak_key_default_dict.py | 46c4c7701214a78895301bc8c7a7931a9b878581 | [
"MIT"
] | permissive | nastako/python_toolbox | af520cbec1468c8e0aae0b3b1c467ca5623af45b | 9713fd728608818630ee409ac6a6fdaf863af31b | refs/heads/master | 2020-12-11T09:07:19.681161 | 2015-01-16T21:26:37 | 2015-01-16T21:26:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,427 | py | # Copyright 2009-2015 Ram Rachum.
# This program is distributed under the MIT license.
'''
Defines the `EmittingWeakKeyDefaultDict` class.
See its documentation for more details.
'''
from .weak_key_default_dict import WeakKeyDefaultDict
class EmittingWeakKeyDefaultDict(WeakKeyDefaultDict):
'''
A key that r... | [
"ram@rachum.com"
] | ram@rachum.com |
f6204b97311c0a68ac6fb78da25a8bf916595d58 | 69e318f2b60175108bc74ee669bfe16287a71cb6 | /plugins/modules/fortios_system_dns.py | db4b40e5be9e400dcaf07963bd254f700f9a60db | [] | no_license | chillancezen/ansible-galaxy-fortios-collection | 5268a5fd97fb4594772349b8d89cb818ec54b3bd | 66a331cd4493d1b0f49798d5c2cd6ef5aeba84d3 | refs/heads/master | 2022-04-09T19:20:59.073193 | 2020-03-26T07:17:09 | 2020-03-26T07:17:09 | 250,185,374 | 0 | 0 | null | 2020-03-26T07:06:16 | 2020-03-26T07:06:16 | null | UTF-8 | Python | false | false | 11,555 | py | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019 Fortinet, Inc.
#
# 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 Lic... | [
"fshen01@fortinet.com"
] | fshen01@fortinet.com |
150c5fd8c3bd60bd78428844d15da7c125771b39 | 3937f340aafed20f7b3bb9e36a62d0dfe6ca985d | /CrispyProject/WebApp/forms.py | 02e71ff1a3beb904dbd38af4006ac6e1f687b0b3 | [] | no_license | sunnywralph/Django7AM | 8f6f7e52847882d35ee7f7c4c263c5e90c79b6da | ffef6c6e5ab5231416ca743ebae299622eab9791 | refs/heads/master | 2022-04-25T15:04:45.733504 | 2020-05-05T14:53:57 | 2020-05-05T14:53:57 | 261,496,619 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 192 | py | from django import forms
from WebApp.models import Person
# Fields with Validation
class EmpForm(forms.ModelForm):
class Meta:
model = Person
fields = '__all__'
| [
"sunnywralph@gmail.com"
] | sunnywralph@gmail.com |
4335e43e879c0ef68bff953743aa51e096e7bc6b | abfa70e1da5b4ba8e465cdc046fa36e81386744a | /base_ml/10.5.Iris_RandomForest_Enum.py | cb324f72bde8cb4ca167d5b6c13a703a16f9b8bc | [] | no_license | superman666ai/crazy_project | f850819ff2287e345b67500111733bafa5629d1f | 99dcba0fe246ecaf3f556f747d44731a04231921 | refs/heads/master | 2020-05-15T09:32:56.523875 | 2019-05-16T00:57:23 | 2019-05-16T00:57:23 | 182,179,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,796 | py | #!/usr/bin/python
# -*- coding:utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
import matplotlib as mpl
from sklearn.ensemble import RandomForestClassifier
def iris_type(s):
it = {'Iris-setosa': 0, 'Iris-versicolor': 1, 'Iris-virginica': 2}
return it[s]
# 'sepal length', 'sepal width', 'petal l... | [
"keepingoner@163.com"
] | keepingoner@163.com |
9dd940b5933f26f0c5f47d581160b7ba22f31fb6 | bea2e5924a62b76a767b3eb915abb3f95a225926 | /tensorflow_privacy/privacy/dp_query/dp_query.py | 480241019dde4b557a7fb073ff3ecc44002afc1b | [
"Apache-2.0",
"MIT"
] | permissive | tensorflow/privacy | 741ddc106e9b73384a1356bf915dc8f7f97ce768 | c92610e37aa340932ed2d963813e0890035a22bc | refs/heads/master | 2023-09-03T20:42:21.040653 | 2023-08-30T19:53:38 | 2023-08-30T19:54:08 | 162,747,292 | 1,881 | 493 | Apache-2.0 | 2023-09-14T19:55:15 | 2018-12-21T18:46:46 | Python | UTF-8 | Python | false | false | 12,074 | py | # Copyright 2020, The TensorFlow Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0e5cd2b71cfca2920b63884ab1b03dedd57aecaa | 11763b1150a3a05db89c13dcd6152f8fcca87eaa | /designs/linear/homomorphic/latticebased/qtpiepublickey3.py | 19c3c2cc331daaa31305c3217bbc670ba8c7c944 | [] | no_license | acad2/crypto | 343c32fa25aaec73e169290579fc3d02c4b226f6 | cb283df4101fcd618a0478a0018273f00d0734ae | refs/heads/master | 2021-08-19T06:36:26.068033 | 2017-11-25T00:41:03 | 2017-11-25T00:41:03 | 113,048,326 | 2 | 0 | null | 2017-12-04T13:49:02 | 2017-12-04T13:49:01 | null | UTF-8 | Python | false | false | 2,559 | py | raise NotImplementedError("q needs to be randomized")
from math import log
from crypto.utilities import random_integer, modular_inverse, big_prime, modular_subtraction
N = 90539821999601667010016498433538092350601848065509335050382778168697877622963864208930434463149476126948597274673237394102007067278620641565896411... | [
"python_pride@protonmail.com"
] | python_pride@protonmail.com |
c731e200e23ca2544520bae18655637937d939d8 | 325fde42058b2b82f8a4020048ff910cfdf737d7 | /src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py | 4fb31d3652c09b18a8730846a6ade439f9280d2f | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | ebencarek/azure-cli-extensions | 46b0d18fe536fe5884b00d7ffa30f54c7d6887d1 | 42491b284e38f8853712a5af01836f83b04a1aa8 | refs/heads/master | 2023-04-12T00:28:44.828652 | 2021-03-30T22:34:13 | 2021-03-30T22:34:13 | 261,621,934 | 2 | 5 | MIT | 2020-10-09T18:21:52 | 2020-05-06T01:25:58 | Python | UTF-8 | Python | false | false | 5,262 | 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"
] | ebencarek.noreply@github.com |
346257657882bc451e07c22b1ab4eab2cfa406a0 | a1f014188a5567b701efbf5f296f88a572304689 | /python_code/飞机大战/全屏和调整窗口大小,图像变换/py_查看系统分辨率.py | 31b238c74e8003ecdc86b11b19ae5064b2bdea21 | [] | no_license | YL-python/yl_python_code | 6cbecf96fd37cc74e108939d6898a92b3539ec2a | d286c73b6d109cd996c7fd79d67d90c47afb31d3 | refs/heads/master | 2022-11-17T07:42:54.021558 | 2020-01-07T08:43:08 | 2020-01-07T08:43:08 | 219,503,414 | 0 | 1 | null | 2022-10-21T19:00:35 | 2019-11-04T13:04:35 | Python | UTF-8 | Python | false | false | 59 | py | import pygame
pygame.init()
pygame.display.list_modes()
| [
"2336739721@qq.com"
] | 2336739721@qq.com |
eeaf201358b733d340ba20b8541a19ccc863938e | 8e7279bc3de368e85129b8e59f12cbdbd8621da1 | /myenv/bin/gifmaker.py | b0dd02f4131ba154bff4296b4730f87a960d0ce0 | [] | no_license | banziha104/dstagram2 | 34f5dca6deb9c19c03fa523d6e4b1c97f60e14d4 | 12dbecb4a727fe67faffc1b2208bd4b5152a8672 | refs/heads/master | 2021-07-09T23:51:17.262219 | 2017-10-10T11:18:45 | 2017-10-10T11:18:45 | 105,170,644 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 684 | py | #!/Users/iyeongjun/Downloads/dstagram_2nd/myenv/bin/python3.6
#
# The Python Imaging Library
# $Id$
#
# convert sequence format to GIF animation
#
# history:
# 97-01-03 fl created
#
# Copyright (c) Secret Labs AB 1997. All rights reserved.
# Copyright (c) Fredrik Lundh 1997.
#
# See the README file for infor... | [
"they6687@naver.com"
] | they6687@naver.com |
d9c94007b05b243ba95ace0dae93928d09561f45 | bf0800eee5a43f600ab3ebd99d3486846d9f4834 | /blog/views.py | aa024c57c30b7e613d9d778655bff923cef2a3e5 | [] | no_license | wonsik1012/my-first-blog | 6de17de4bd13a9d36650ad2070b07190461dbd3e | e0124e41b8dabf20e23af5d969e55a2238841dba | refs/heads/master | 2020-07-03T10:07:38.321239 | 2019-08-13T11:48:21 | 2019-08-13T11:48:21 | 201,874,737 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,924 | py | from django.shortcuts import render
from django.utils import timezone
from .models import Post
from django.shortcuts import render, redirect, render_to_response
from django.http import HttpResponse
from django.template.loader import get_template
from django.template.context import RequestContext
import folium
from IPyt... | [
"you@example.com"
] | you@example.com |
64f4aecdc4ba0856009744c04d0a8cef73e58ae7 | 77db6591c5884204d6016bfa89b33691bac38813 | /load.py | b2a9c8a3983643329620f4d7f7cd949b5ccd27f0 | [] | no_license | jbukoski/iltf-signal-webmap-suite | 4fc0aafa977e911a1071872f7adbaf2e7d0da37c | b8374e9cfcc80501a8f632721a7cb9b76e668f6b | refs/heads/master | 2021-03-27T11:20:37.174667 | 2020-12-31T18:03:20 | 2020-12-31T18:03:20 | 79,853,039 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 370 | py | import os
from django.contrib.gis.utils import LayerMapping
from . import models
*_shp = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data', '', '*.shp'))
def run(verbose=True):
*_lm = LayerMapping(
models.*, *_shp, *_mapping,
transform=False, encoding='iso-8859-1'
... | [
"jacob.bukoski@yale.edu"
] | jacob.bukoski@yale.edu |
7e9e19a672cc628c6de3bc8e5c6bc27e7e767af9 | e0ecbc6352c442370e90238ae7dd71f4fb78cfa9 | /visual_question_answer/model.py | 76ddc06e1dbeaa8d56d4f2b52510d2d2034316d4 | [] | no_license | xiaogang00/Deep-learning-on-Tensorflow | 22a13b4f9f4db5934b710fdd887d9e88d22ef72d | 7f9cd740bf330ae2fc7ae77636ded068e2aa405c | refs/heads/master | 2021-01-17T14:34:14.490989 | 2017-10-27T03:48:14 | 2017-10-27T03:48:14 | 84,092,564 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,652 | py | import math
import os
import tensorflow as tf
import numpy as np
from base_model import *
from utils.nn import *
from episodic_memory import *
class QuestionAnswerer(BaseModel):
def build(self):
""" Build the model. """
self.build_cnn()
self.build_rnn()
def build_cnn(self):
""... | [
"872310734@qq.com"
] | 872310734@qq.com |
29e16f0faaa4866bc0815c2235ece255f754032e | d5eb2fe5d49b581562ae2bc660d08ca80a03d331 | /PythonSandbox/src/misc/num_digits_in_integer.py | 6757434647672cd9e95d213417d05eed2cbab5ac | [] | no_license | mcxu/code-sandbox | fd5aa2e593057901d281a0e74db8957777b06cf3 | a785231582bda8578f79982e2dcddd2f2ab559b4 | refs/heads/master | 2023-07-10T02:07:24.180947 | 2023-07-08T03:31:48 | 2023-07-08T03:31:48 | 130,493,607 | 4 | 2 | null | 2023-01-15T22:53:29 | 2018-04-21T16:49:40 | Python | UTF-8 | Python | false | false | 130 | py | '''
Given an integer n, return a map showing the counts of each single digit in n.
Condition: Do not convert n into string.
'''
| [
"michaelxu79@gmail.com"
] | michaelxu79@gmail.com |
5ea5fe910e1ef86b506005a39e879e50f77d83f4 | d532b85841b459c61d88d380e88dd08d29836d43 | /solutions/473_matchsticks_to_square.py | 99245aad8635cdcb9f58acde68ea9d0399c61f3b | [
"MIT"
] | permissive | YiqunPeng/leetcode_pro | ad942468df5506de9dc48a4019933f658e2a3121 | 4a508a982b125a3a90ea893ae70863df7c99cc70 | refs/heads/master | 2022-05-15T09:32:02.699180 | 2022-05-14T16:32:17 | 2022-05-14T16:32:17 | 182,453,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 614 | py | class Solution:
def makesquare(self, matchsticks: List[int]) -> bool:
l = sum(matchsticks)
if l % 4 != 0:
return False
size = l // 4
matchsticks.sort()
return self._dfs(matchsticks, len(matchsticks)-1, [size] * 4)
def _dfs(self, ms, pos, sizes):
i... | [
"ypeng1@andrew.cmu.edu"
] | ypeng1@andrew.cmu.edu |
85f970aac1289aa71773cf2f9f5fee61ae7a289f | a939e018333a9ecd26ddc618f99835b7eb381686 | /mapred_parser/user_merger/.svn/text-base/reducer.py.svn-base | c71b89a519663ca1e57f7a5f17e75be85bb0ab96 | [] | no_license | cash2one/crawl_youtube | bff5ba254001c2f31f770e55a4aca39bc54e45ee | 0dc40186a1d89da2b00f29d4f4edfdc5470eb4fc | refs/heads/master | 2021-01-16T22:30:17.800282 | 2016-02-18T11:50:09 | 2016-02-18T11:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,709 | #!/usr/bin/python
# coding=utf-8
import os
import sys
import time
import base64
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/../')
from le_crawler.proto.video.ttypes import OriginalUser
from le_crawler.common.utils import str2mediavideo, thrift2str
user_merge_field = set(['user_name', 'url', 'port... | [
"zjc0516@126.com"
] | zjc0516@126.com | |
3f2cee0071989d5dddcf5e06d71d0c53ccf74a79 | 19ddab74600f71700a6b693281d0180d5271f295 | /leetcode/119_杨辉三角2.py | 5ca9f3c4a447aa5bf40bb8293558abdaa26cfa73 | [] | no_license | zhulf0804/Coding.Python | 4d55a430da1a8077c81feba65c13ac654aaf094a | 46ab03e23d15ebd5434ef4dd5ae99130000b00a5 | refs/heads/master | 2022-09-14T18:40:59.880941 | 2022-08-20T08:25:51 | 2022-08-20T08:25:51 | 213,113,482 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 452 | py | from typing import List
class Solution:
def getRow(self, rowIndex: int) -> List[int]:
if rowIndex == 0:
return [1]
if rowIndex == 1:
return [1, 1]
pre = [1, 1]
for i in range(2, rowIndex+1):
cur = [1] * (i + 1)
for j in range(1, i):
... | [
"zhulf0804@gmail.com"
] | zhulf0804@gmail.com |
48c1e248c0c54b9df4c45b1abc82c3c75f4870a9 | ae65873c3584cef7139066b224daad04410af6d2 | /MySQL.py | a042fc4c7860d159e362459d73edbfefca29ad33 | [] | no_license | rajatkashyap/Python | 2240c7472d07803c460c7a55d570e20694b694f9 | f74c85c65b0e209a5f7ab25b653d42835222faaf | refs/heads/master | 2022-06-25T19:20:52.847498 | 2022-06-08T14:40:45 | 2022-06-08T14:40:45 | 145,714,257 | 0 | 0 | null | 2022-04-25T00:18:37 | 2018-08-22T13:39:14 | Python | UTF-8 | Python | false | false | 324 | py | from mysql.connector import (connection)
cnx = connection.MySQLConnection(user='root', password='rajat',host='127.0.0.1',database='db')
cursor = cnx.cursor()
query=("select * from jobs")
cursor.execute(query)
for (city_id,city_name,country_id,x) in cursor:
print city_id,city_name,country_id
cnx.close... | [
"rajatkashyap@Rajats-MBP.T-mobile.com"
] | rajatkashyap@Rajats-MBP.T-mobile.com |
b2d051a597b6cfb783aa64205d665a477b8ac166 | ee561aa019a80f621007f82bdb21fe6ed8b6278f | /devel/turtlebot3-melodic-devel/turtlebot3_example/cmake/turtlebot3_example-genmsg-context.py | 09017c533fb2e6caa64d1dea49cebe24fae06a11 | [] | no_license | allanwhledu/agv_edu_prj | 4fb5fbf14cf0a14edd57ee9bd87903dc25d4d4f2 | 643a8a96ca7027529332f25208350de78c07e33d | refs/heads/master | 2020-09-23T23:32:54.430035 | 2019-12-04T07:47:55 | 2019-12-04T07:47:55 | 225,613,426 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,300 | py | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/sjtuwhl/ROBOTLAB_WS/devel/share/turtlebot3_example/msg/Turtlebot3Action.msg;/home/sjtuwhl/ROBOTLAB_WS/devel/share/turtlebot3_example/msg/Turtlebot3ActionGoal.msg;/home/sjtuwhl/ROBOTLAB_WS/devel/share/turtlebot3_example/msg/Turtlebot3ActionResult... | [
"bitwanghaili@gmail.com"
] | bitwanghaili@gmail.com |
040a421fd08c22b88661d55b4267176f9cdbbae8 | 161d43b73438c4423949f4d4898e44f015691a0e | /GaussianProcess/__init__.py | 41d152d0ef74cf3acec2895b134b155ca3abafde | [] | no_license | apetri/CFHTLens_analysis | a44f754114a6a6129088f0771cc558baed987462 | b19343b43b54870f7950bcd9ea76bbe829448c44 | refs/heads/master | 2020-05-21T22:06:24.551906 | 2017-12-14T16:17:08 | 2017-12-14T16:17:08 | 16,521,933 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 47 | py | from .interpolation import *
__version__="0.1" | [
"apetri@phys.columbia.edu"
] | apetri@phys.columbia.edu |
9427dd2eb8619763631b53850f3d848d5866e9e7 | eacff46eda2c6b509449979a16002b96d4645d8e | /Collections-a-installer/community-general-2.4.0/plugins/modules/monitoring/airbrake_deployment.py | 3e7938bfba10ac8e1d2080f7ed8ae71ed9589628 | [
"MIT",
"GPL-3.0-only",
"GPL-3.0-or-later"
] | permissive | d-amien-b/simple-getwordpress | 5e6d4d15d5f87124ab591e46b63fec552998fdc3 | da90d515a0aa837b633d50db4d91d22b031c04a2 | refs/heads/master | 2023-04-08T22:13:37.347545 | 2021-04-06T09:25:51 | 2021-04-06T09:25:51 | 351,698,069 | 0 | 0 | MIT | 2021-03-31T16:16:45 | 2021-03-26T07:30:00 | HTML | UTF-8 | Python | false | false | 6,696 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2013 Bruce Pennypacker <bruce@pennypacker.org>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
module: airb... | [
"test@burdo.fr"
] | test@burdo.fr |
e23d8667131d425957a2d499281cc4a48a30ab3c | 3ea7233cca492f36130e6e2da253409e90c97526 | /netneurotools/freesurfer.py | 0b73400b3235e911137fbdea37eb01f861ed03fb | [
"BSD-3-Clause"
] | permissive | giuliabaracc/netneurotools | b26aa43ec9a34bb2ce3da43a734c955edd375327 | 8532cc136261b6b70e40a63070a968a9b2519c3a | refs/heads/master | 2020-12-20T10:14:57.141250 | 2020-01-24T16:21:54 | 2020-01-24T16:21:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,795 | py | # -*- coding: utf-8 -*-
"""
Functions for working with FreeSurfer data and parcellations
"""
import os
import os.path as op
import warnings
from nibabel.freesurfer import read_annot, read_geometry
import numpy as np
from scipy.ndimage.measurements import _stats, labeled_comprehension
from scipy.spatial.distance impor... | [
"rossmarkello@gmail.com"
] | rossmarkello@gmail.com |
6b4427adecbd6d4a38872c33dcbca2e3d68aeb29 | e8ae11e5017507da59e2e92d423b6a1994490de4 | /env/lib/python2.7/site-packages/azure/batch/models/pool_delete_options.py | d959c796b779edb07a5117788f554dc19bb6cab6 | [] | no_license | teopeurt/ansible-ubuntu-server | 613d00cea28bc6531acf4a39aeeb9cd0baa2a391 | b5b6127d2ee9723c5088443efe2ffb8ae30cfea7 | refs/heads/master | 2021-06-28T12:49:50.935753 | 2017-07-31T17:34:33 | 2017-07-31T17:34:33 | 98,912,808 | 0 | 1 | null | 2020-07-24T00:05:31 | 2017-07-31T17:32:56 | Makefile | UTF-8 | Python | false | false | 3,192 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors. 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 co... | [
"me@teopeurt.com"
] | me@teopeurt.com |
202131d751e30e0b6464079f63e290c45a89c07a | 6cdff1cccb229bd98c7b7fce0ad3df32e4f04557 | /tests/conftest.py | 4eb8621c176f7ad405450bd91027044cc1498eb9 | [] | no_license | MITLibraries/workflow | fb8cbdf809702318c8d7c64307da90c0acda28cc | 63a17c3021e2bc0e0b13d22246ce3f13295349ca | refs/heads/main | 2023-03-04T10:38:12.270942 | 2021-07-08T18:06:16 | 2021-07-08T18:06:16 | 211,862,997 | 2 | 1 | null | 2023-02-08T01:14:43 | 2019-09-30T13:12:20 | Python | UTF-8 | Python | false | false | 3,108 | py | from collections import namedtuple
import json
from unittest import mock
import boto3
from moto import mock_ecs, mock_ec2
from moto.ec2.utils import generate_instance_identity_document
import pytest
from manager.cluster import Cluster
@pytest.fixture(autouse=True)
def aws_credentials(monkeypatch):
monkeypatch.s... | [
"mgraves@mit.edu"
] | mgraves@mit.edu |
e16189f36956843b3dfa3909dccea36da75ad30e | 5de4aed3d9a9230404150d4c3c553ea05ac4e088 | /afm/logger.py | c872f1d55b593e4a85f55bd2fb43d16e0e878e5a | [] | no_license | UfSoft/afm | db4df3189095aa916b3a3f770d5366bb3e0a9b74 | 2e85c65389a10f7bed032956b0c603bbb2af2dac | refs/heads/master | 2021-01-19T13:25:08.121356 | 2009-10-29T15:24:49 | 2009-10-29T15:24:49 | 26,618,925 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,483 | py | # -*- coding: utf-8 -*-
# vim: sw=4 ts=4 fenc=utf-8 et
# ==============================================================================
# Copyright © 2009 UfSoft.org - Pedro Algarvio <ufs@ufsoft.org>
#
# License: BSD - Please view the LICENSE file for additional information.
# ==========================================... | [
"ufs@ufsoft.org"
] | ufs@ufsoft.org |
05c686e57349070729fed3e90271c155029b76cb | 25ad906181ae94f3423a5330b06112faaf1d0059 | /python网络数据采集/my_爬虫_进阶_之路/scrapy框架/my_spiders/curl转python/test.py | 1063f2c551f1e27ed86e7b64a5c2a17899e79e4f | [] | no_license | liuhe3647/python | 5ee0aff3f2bbff864fdb86db0371d0a07745dc26 | 4368cab542f4d2b1ecc845ff996e8898a9aaaca6 | refs/heads/master | 2022-04-18T15:56:45.263684 | 2020-04-18T03:43:18 | 2020-04-18T03:43:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,293 | py | # coding:utf-8
'''
@author = super_fazai
@File : test.py
@connect : superonesfazai@gmail.com
'''
from __future__ import unicode_literals
from ftfy import fix_text
from random import randint
from urllib.parse import (
urlparse,
parse_qsl,
urlencode,)
from fzutils.ip_pools import (
fz_ip_pool,
i... | [
"superonesfazai@gmail.com"
] | superonesfazai@gmail.com |
bb6c3b64422418aee867dca1dbec924a6ffc67c5 | 2b42b40ae2e84b438146003bf231532973f1081d | /spec/mgm4455603.3.spec | 4b1c58937e8cd790c55d073e3e63567e8ee9b14f | [] | 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,310 | spec | {
"id": "mgm4455603.3",
"metadata": {
"mgm4455603.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 |
7bf9961f9abe963c51fc315c0be7e3c57d39a529 | 1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b | /2023/longest_nice_substring.py | a832858e6eafd4d321f1afb296fd2304b2ca0cb5 | [] | no_license | eronekogin/leetcode | ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c | edb870f83f0c4568cce0cacec04ee70cf6b545bf | refs/heads/master | 2023-08-16T10:35:57.164176 | 2023-08-14T11:25:33 | 2023-08-14T11:25:33 | 163,679,450 | 0 | 0 | null | 2021-09-09T12:04:44 | 2018-12-31T15:33:06 | Python | UTF-8 | Python | false | false | 449 | py | """
https://leetcode.com/problems/longest-nice-substring/
"""
class Solution:
def longestNiceSubstring(self, s: str) -> str:
if not s:
return ''
ss = set(s)
for i, c in enumerate(s):
if c.swapcase() not in ss:
left = self.longestNiceSubstring(s[:i])... | [
"mengyu.jiang@gmail.com"
] | mengyu.jiang@gmail.com |
1607a3e3331e20d9281ee04b374c3d4ea110cb01 | c2849586a8f376cf96fcbdc1c7e5bce6522398ca | /ch21/ex21-15.pybench2.py | a110d546ad7c35d5e88ae11bbd6ee12cc27e3857 | [] | no_license | freebz/Learning-Python | 0559d7691517b4acb0228d1cc76de3e93915fb27 | 7f577edb6249f4bbcac4f590908b385192dbf308 | refs/heads/master | 2020-09-23T01:48:24.009383 | 2019-12-02T12:26:40 | 2019-12-02T12:26:40 | 225,371,155 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,214 | py | # pybench2.py
...
def runner(stmts, pythons=None, tracemd=False):
for (number, repeat, setup, stmt) in stmts:
if not pythons:
...
best = min(timeit.repeat(
setup=setup, stmt=stmt, number=number, repeat=repeat))
else:
setup = setup.replace('\t', ' ... | [
"freebz@hananet.net"
] | freebz@hananet.net |
000fe5fe6d7a41642db55280e7a0463e118c759e | 80301f1cffc5afce13256e2ecab6323c5df00194 | /en.fc/py/E0001.py | fe101d453fb481e13f8ba0eeffa341ab4c59e54f | [] | no_license | ZhenjianYang/SoraVoiceScripts | c1ddf7c1bbcb933243754f9669bd6b75777c87b9 | 94a948090aba0f63b10b2c69dc845dc99c822fc4 | refs/heads/master | 2023-04-18T04:54:44.306652 | 2023-04-06T11:15:17 | 2023-04-06T11:15:17 | 103,167,541 | 43 | 11 | null | 2021-03-06T08:52:54 | 2017-09-11T17:36:55 | Python | UTF-8 | Python | false | false | 28,509 | py | from ED6ScenarioHelper import *
def main():
SetCodePage("ms932")
CreateScenaFile(
FileName = 'E0001 ._SN',
MapName = 'event',
Location = 'E0001.x',
MapIndex = 1,
MapDefaultBGM = "ed60010",
Flags ... | [
"zj.yang@qq.com"
] | zj.yang@qq.com |
e3a20c33463c6737ce0a9c7ef85e374de481845f | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /wsCshmu5zkN5BfeAC_11.py | 16ee4c11004690dd94154fad7dd29ce965bcbb66 | [] | 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 | 739 | py | """
Create a function that takes a number `n` and checks if each digit is
divisible by the digit on its left. Return a boolean array depending on the
condition checks.
### Examples
divisible_by_left(73312) ➞ [False, False, True, False, True]
# no element left to 7 = False
# 3/7 = False
# 3/3 = True... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
7586f2806ece479ea1e2d474b53558d8c88144b2 | fdc3d2daf484e8b500368987930d85b833d43fd6 | /sandbox/python/spectrogram3.py | 07bb5de54e8d25c13ce1d5af9224dc0a0bb27ecc | [] | no_license | luiarthur/signal_processing | 9d61b368603b965ab526b9226a1114022e08463b | f6f00ce57b94bfa020ac494fcb4e83549d05c902 | refs/heads/master | 2021-01-01T19:47:45.076460 | 2017-08-12T15:50:18 | 2017-08-12T15:50:18 | 98,684,524 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,513 | py | import os
import numpy as np
from scipy.io import wavfile
from scipy import signal
import matplotlib.pyplot as plt
from notes import pitch, piano_freq, freq_dict, bin_spec
HOME = os.path.expanduser('~')
### Read a wavfile
(fs, x) = wavfile.read(HOME+"/wav/embraceableYou.wav")
if x.ndim > 1: x = x[:,1]
w_size = 409... | [
"luiarthur@gmail.com"
] | luiarthur@gmail.com |
4b9c499c4cf735c4bbb7e381d11f44e4a1d22ac8 | ad13583673551857615498b9605d9dcab63bb2c3 | /output/instances/nistData/atomic/byte/Schema+Instance/NISTXML-SV-IV-atomic-byte-maxExclusive-5-3.py | f378841d6d0ec8179638494024c1501e673c1b5e | [
"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 | 259 | py | from output.models.nist_data.atomic.byte.schema_instance.nistschema_sv_iv_atomic_byte_max_exclusive_5_xsd.nistschema_sv_iv_atomic_byte_max_exclusive_5 import NistschemaSvIvAtomicByteMaxExclusive5
obj = NistschemaSvIvAtomicByteMaxExclusive5(
value=-73
)
| [
"tsoulloftas@gmail.com"
] | tsoulloftas@gmail.com |
47a112ee16196e739b06cf29dc87bb9fe6694f87 | 18508cea9458b2879017b44e6f18520cd8cf4f6c | /UCMDBPython/src/eview_resources.py | ec0e87b018aafd0657874aaf533d7204eb5a8157 | [] | no_license | kvt11/dd-git | 7d4935962e06d835ad0023c4abb185876a5a9e77 | 49aafa7081b861c5f6d0e1753b425e78948116d0 | refs/heads/master | 2022-11-23T19:03:19.763423 | 2016-04-04T14:54:18 | 2016-04-04T14:54:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 52,215 | py | #
# Host Resource Discovery by Eview
#
# Created on Sep 20, 2010
#
# @author: kchhina
#
# CP8 - Intial version
# CP9 - Added Dasd storage discovery for CP9 March 31,2011 podom
# CP9 - Added FORMAT=SHORT and MAX=* to commands for defects to force the output of the commands podom
# CP10 - Changed script to support L... | [
"bluesteelkc@gmail.com"
] | bluesteelkc@gmail.com |
90a26d93ea05d64db95e9ed53c7fe2fcd4b30d8a | 56591823019e0ac1d857f97a1b8c85e9d85a8385 | /Scopuli/Interfaces/WEB/Jinja/Filters.py | d2702eaf522afa636d5c239edcaee4604161951d | [
"Apache-2.0"
] | permissive | MaxOnNet/scopuli-core-web | 3c19e312ec5688034295ac86a7a56fe2b2cf7915 | 66a2c31b36d7fc05be36ba5d5b141644459b4aba | refs/heads/master | 2020-03-23T19:49:56.383093 | 2018-08-30T13:44:31 | 2018-08-30T13:44:31 | 142,004,596 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,911 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright [2018] Tatarnikov Viktor [viktor@tatarnikov.org]
#
# 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/licen... | [
"viktor@tatarnikov.org"
] | viktor@tatarnikov.org |
8903d69cc21adc5ab2090880649a80026486b7cd | 8015f1c62a2cb4efd21aa8938336913bf8117868 | /bamap/ba0977.pngMap.py | 1cd8f233a130576370bea74bec2c2353600f8e4f | [] | no_license | GamerNoTitle/Beepers-and-OLED | 675b5e3c179df0f0e27b42bf594c43860d03b9af | afe1340e5394ae96bda5f9022a8a66824368091e | refs/heads/master | 2020-04-20T00:09:47.122471 | 2019-04-29T04:59:35 | 2019-04-29T04:59:35 | 168,515,579 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 8,468 | py | ba0977.pngMap = [
'11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100',
'11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100',
'1111111111111111111111111111111111111... | [
"bili33@87ouo.top"
] | bili33@87ouo.top |
ee1291fd0e95c7b23cc8c9d9423999e621f6112c | e1eaed6dde62fc54eb317d28dbd18e0740e3e8f3 | /official/vision/beta/evaluation/segmentation_metrics.py | ae1131dd227009686ac52ccbdfb66c8051ba2da9 | [
"Apache-2.0"
] | permissive | nlpming/models | cf5008d2e66d2b66b6d61423e214f2f9f9fbe472 | 3cbf0748529d787dd09fa3ed031e557f0ddfa268 | refs/heads/master | 2021-12-03T03:29:16.042489 | 2021-11-23T14:09:10 | 2021-11-23T14:09:10 | 206,007,973 | 0 | 0 | Apache-2.0 | 2019-09-03T06:47:46 | 2019-09-03T06:47:46 | null | UTF-8 | Python | false | false | 9,914 | py | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a3d679949562466f4ce55d64546316cf11b470e1 | 1b5404b8099de74d4e39e0a41b1d04c61defa8d4 | /Лабиринт/dump/labyrinth_find_solution.py | 6284287ae0344286006f098090bcd1a1b2c5c773 | [] | no_license | ipeterov/random-stuff | 5d07bdcfdcb145d06ed89095f2ad34b70ff0f0bd | dbb38d42331f636919fd149b23783e02ee2c9afb | refs/heads/master | 2023-05-14T00:41:51.122251 | 2023-05-04T12:10:26 | 2023-05-04T12:10:26 | 206,028,412 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,776 | py | import pickle
def refactored_labyrinth(labyrinth):
# 0 - верх, 1 право, 2 - лево, 3 - низ
refactored_labyrinth = []
for y in range(len(labyrinth)):
refactored_labyrinth.append([])
for x in range(len(labyrinth[0])):
refactored_labyrinth[y].append([0,0,0,0])
for y in range(len... | [
"ipeterov1@gmail.com"
] | ipeterov1@gmail.com |
73db1141a062dab86543dba3571ab8faea784fdc | 4a5562bf8a7967c9c5d76265d89c366165bff9f8 | /template_python/setup.py | a4bf90beaf8b2625aaf3603393c5c536b60eec9a | [] | no_license | lokendert/me132_students | 640f935bd6e5c5d65329a161731afad4068a72e0 | 8e1075c4b61bef5c8f4d322cb168e2f942e1fad6 | refs/heads/master | 2020-03-31T03:40:46.680398 | 2011-02-04T20:13:29 | 2011-02-04T20:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 520 | py | from setuptools import setup, find_packages
setup(
name='me132_template',
author="The ME132 TAs",
author_email="me132-tas@caltech.edu",
url='www.its.caltech.edu/~me132',
description="A minimal Player client",
version="0.1",
package_dir={'':'src'},
packages=find_packages(),
... | [
"andrea@cds.caltech.edu"
] | andrea@cds.caltech.edu |
bf3f86be25ab7a8ffe01b3fea5ec5bc1ae6b5c2b | a4a63eedacd544872fbfa33fc58d7cf1558829b7 | /backend/event/api/v1/urls.py | 046246934dbd8d54f00c2d7d0a6bb4781e87498b | [] | no_license | crowdbotics-apps/revil-18107 | 3d9bd52855e33debaa60f4f5c801629fb1aa60da | 2671f3410b43cd8ed2ccc51780a80366fb594684 | refs/heads/master | 2022-10-17T09:34:39.097853 | 2020-06-15T00:05:02 | 2020-06-15T00:05:02 | 272,301,823 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 854 | py | from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .viewsets import (
VendorViewSet,
LocationViewSet,
FavoritesViewSet,
VendorDetailViewSet,
CategoryViewSet,
FaqViewSet,
PresenterViewSet,
ScheduleViewSet,
MyScheduleViewSet,
SponsorViewSet,... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
5896418942efd005a46d1c7d2e74df68364411c9 | 9ede3bec6dc9cd58f91ba3ee2b3f4b7eb3b6c889 | /lintreview/repo.py | aa745a9b199595da98ab54ef33439fa29c5edb40 | [
"MIT"
] | permissive | LyleH/lint_review_1 | d0816e68ee74c507357471b1183348b2c8d59af2 | a36945446745a9e8d8c1f1955e084add6563647b | refs/heads/master | 2021-01-19T11:43:42.780988 | 2016-09-22T05:28:23 | 2016-09-22T05:28:23 | 68,887,536 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,101 | py | import lintreview.github as github
import lintreview.git as git
import logging
log = logging.getLogger(__name__)
class GithubRepository(object):
"""Abstracting wrapper for the
various interactions we have with github.
This will make swapping in other hosting systems
a tiny bit easier in the future.
... | [
"lyle.henkeman01@gmail.com"
] | lyle.henkeman01@gmail.com |
2ad8fb86568b9db89c98af5b07780a905127da55 | 0675dad295526480242c9da48310a1c958423e72 | /dmrg_j2j2/build_lattice.py | 0d410148abf8f05a76145d0c57c8cbc956ac5397 | [] | no_license | GiggleLiu/numeric_master | 627e054ab7404b1bbf8b8eec65f05346b35640a3 | 47b9eaf1eeaceacf5ff43f2226620e5c37064095 | refs/heads/master | 2021-08-24T11:31:37.107583 | 2017-11-21T06:26:38 | 2017-11-21T06:26:38 | 111,409,702 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,766 | py | #!/usr/bin/env python
test_str = '''
<LATTICES>
<GRAPH name = "heisenberg" dimension="1" vertices="6" edges="5">
<VERTEX id="1" type="0"><COORDINATE>0</COORDINATE></VERTEX>
<VERTEX id="2" type="1"><COORDINATE>2</COORDINATE></VERTEX>
<VERTEX id="3" type="1"><COORDINATE>3</COORDINATE></VERTEX>
<VERTEX id="4" typ... | [
"cacate0129@gmail.com"
] | cacate0129@gmail.com |
0a594efa5004b79150ace703b60d768090d1e120 | 1dacbf90eeb384455ab84a8cf63d16e2c9680a90 | /lib/python2.7/site-packages/odps/tunnel/checksum.py | 8e8fc3c8d359101a5792eac47318794d0db3a82b | [
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | wangyum/Anaconda | ac7229b21815dd92b0bd1c8b7ec4e85c013b8994 | 2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6 | refs/heads/master | 2022-10-21T15:14:23.464126 | 2022-10-05T12:10:31 | 2022-10-05T12:10:31 | 76,526,728 | 11 | 10 | Apache-2.0 | 2022-10-05T12:10:32 | 2016-12-15T05:26:12 | Python | UTF-8 | Python | false | false | 1,918 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 1999-2017 Alibaba Group Holding Ltd.
#
# 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/LICENS... | [
"noreply@github.com"
] | wangyum.noreply@github.com |
faf3c8dfa5ff66ccb5061a5361f46ea8660794fb | 6eb56f2e3f14f2373be07fe95b1c6fedf1e2d49f | /alien_invasion/settings.py | 88e78bcdae2ac7d01be37c4e59510f618f2782a2 | [
"Apache-2.0"
] | permissive | chaofan-zheng/python_leanring_code | fe22b0370cadebf7456477269aff4a35cef0eb41 | 0af44ff39b9ded2c1d2cc96c6d356d21170ac04d | refs/heads/main | 2023-02-28T07:56:46.457552 | 2021-02-10T15:08:33 | 2021-02-10T15:08:33 | 323,584,115 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 553 | py | """存储雷霆战机的所有类"""
class Settings():
def __init__(self):
self.screen_width = 1200
self.screen_height = 800
self.bg_color = (0, 0, 0)
self.speed_factor = 1.5
self.bullet_speed_factor = 5
self.bullet_width = 5
self.bullet_height = 15
self.bullet_color = ... | [
"417355570@qq.com"
] | 417355570@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.