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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd23f81f0523a7ea828de9f8aa5f5cc5ce00d2d7 | c9952dcac5658940508ddc139344a7243a591c87 | /tests/lab18/test_ch018_t01_why_use_classes.py | 89a74ccf8952816be596452943f8010beaf6bc90 | [] | no_license | wongcyrus/ite3101_introduction_to_programming | 5da1c15212528423b3df91997327fe148abef4de | 7cd76d0861d5355db5a6e2e171735bee2e78f829 | refs/heads/master | 2023-08-31T17:27:06.193049 | 2023-08-21T08:30:26 | 2023-08-21T08:30:26 | 136,574,036 | 3 | 2 | null | 2023-08-21T08:30:28 | 2018-06-08T06:06:49 | Python | UTF-8 | Python | false | false | 1,037 | py | import unittest
from tests.unit_test_helper import is_answer
class TestOutput(unittest.TestCase):
def setUp(self):
if is_answer:
from lab.lab18.ch018_t01_why_use_classes_ans import Fruit
else:
from lab.lab18.ch018_t01_why_use_classes import Fruit
self.fruit = Fru... | [
"cywong@vtc.edu.hk"
] | cywong@vtc.edu.hk |
537dd076c49ad2ccafc435e3f66ed76126ba6de6 | b1ddcf4bac9ca603a7a2333912eb29da8bf2cb7b | /modelViewset/api/views.py | 7a9e893c1dd960e695c5c68e31de55adba80160d | [] | no_license | sankethalake/django_practice | e9477ae0beee4923cd6758cc6d37517ea5979610 | 9877304f0c6415ae8979e5cc13a49559155fdd9d | refs/heads/main | 2023-07-07T07:07:35.598657 | 2021-08-14T06:26:23 | 2021-08-14T06:26:23 | 389,917,128 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 243 | py | from .models import Student
from .serializers import StudentSerializer
from rest_framework import viewsets
class StudentModelViewset(viewsets.ModelViewSet):
queryset = Student.objects.all()
serializer_class = StudentSerializer
| [
"sankethalake@gmail.com"
] | sankethalake@gmail.com |
cc47947af7cebae7fdc2b5543d4508a2c820c757 | cf74a48db45d0fa8c9ae58931a9368672d07fa19 | /utils/zgrep.py | b587690671719faa84d712598846558189a92885 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | razikallayi/NewsBlur | fdb7549d73dfd6765e2cf2e4007f1b9cfb39002f | a266d9f585400c506fa9727796a5dddba0e69ffb | refs/heads/master | 2021-01-18T08:12:02.738442 | 2015-05-27T00:58:45 | 2015-05-27T00:58:45 | 36,501,810 | 1 | 0 | null | 2015-05-29T12:01:58 | 2015-05-29T12:01:56 | null | UTF-8 | Python | false | false | 3,581 | py | #!/usr/bin/env python
import os
import time
import select
import subprocess
import sys
from optparse import OptionParser
from requests.exceptions import ConnectionError
sys.path.insert(0, '/srv/newsblur')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
import fabfile
NEWSBLUR_USERNAME = 'sclay'
IGNORE_HOSTS = [
... | [
"samuel@ofbrooklyn.com"
] | samuel@ofbrooklyn.com |
e2328cbb036a2a53d77b6c6cc430606a33cc18a4 | c9a4e88111d05cf9db399eba3ae83ddb3b0ad2da | /myapp/models.py | 801590a2819433ea0630630a9b407a91b5cbd1d0 | [] | no_license | Django-TOPS/07JanPython | 7861d9a515e9da951b14f8caa5b1bb0578d99557 | b101e7b2b457250153aedb6a95354e10824ecec5 | refs/heads/master | 2023-04-12T17:08:44.644228 | 2021-05-20T03:30:10 | 2021-05-20T03:30:10 | 369,140,333 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 574 | py | from django.db import models
# Create your models here.
class signup(models.Model):
firstname=models.CharField(max_length=20)
lastname=models.CharField(max_length=20)
username=models.EmailField()
password=models.CharField(max_length=20)
city=models.CharField(max_length=20)
state=models.CharFie... | [
"sanketiosonline@gmail.com"
] | sanketiosonline@gmail.com |
a2895c375cdca0634a6d85a52cc1838a3c58292c | 092f2dd962c9c393904fd9886a726c611f8aa811 | /palletsprojects_tutorial/tests/test_blog.py | dc6550b7ef96d8db0bc0fc4e69758814b26112df | [] | no_license | iAnafem/flask_tutorial_projects | b5d2b4f7e2eb68ed54de3938d9006889c9fe76fb | c0f77fe4056b8f7c4ab16bb9cbc75f4fe90d4bde | refs/heads/master | 2022-12-13T07:13:56.415457 | 2019-08-28T20:14:35 | 2019-08-28T20:16:11 | 200,421,166 | 0 | 0 | null | 2022-12-08T06:00:55 | 2019-08-03T21:09:25 | Python | UTF-8 | Python | false | false | 2,609 | py | import pytest
from flaskr.db import get_db
def test_index(client, auth):
response = client.get('/')
assert b'Log In' in response.data
assert b'Register' in response.data
auth.login()
response = client.get('/')
assert b'Log Out' in response.data
assert b'test title' in response.data
as... | [
"DPronkin@mostro.ru"
] | DPronkin@mostro.ru |
d7f6722540037a29c7c6722f0fca5d042b7c0552 | 45d6b7739ef7e61779d778b16e2d2cb9b92a08c0 | /test/run_in_parallel-200PU-grow/SUB-Analyzer-44.py | 153296b77ea28b2b6bcea87c4d79a9a5af001630 | [] | no_license | isobelojalvo/phase2L1TauAnalyzer | 40b545baec97bf287a8d8ab26bea70546bf9f6f8 | 98ef6d31a523698ba0de48763cadee1d5b2ce695 | refs/heads/master | 2021-01-22T08:38:17.965156 | 2019-07-25T17:25:51 | 2019-07-25T17:25:51 | 92,623,686 | 0 | 1 | null | 2019-07-23T19:43:55 | 2017-05-27T20:56:25 | Python | UTF-8 | Python | false | false | 6,667 | py | # Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: step2 --python_filename=rerun_step2_L1_onMCL1_FEVTHLTDEBUG.py --no_exec -s L1 --datatier GEN-SIM-DIGI-RAW -n 1 --era Phase2_timing --eventc... | [
"ojalvo@wisc.edu"
] | ojalvo@wisc.edu |
2a12294b3386cab34c9fd7340aa33088ecd84771 | 6345da7e3b648c5e0a2a4ed77a35a1a25066308d | /petit_lisp/test_petit.py | 7e892bde3ad6861f9701633bed4af7e613a569d6 | [] | no_license | aroberge/splore | 1550a5348162c110baceb877a2fd3045db78fbf5 | 34d97a19897bae48d9aed5f759589bf9bed1b7ef | refs/heads/master | 2021-10-11T06:05:45.253376 | 2021-10-10T19:23:48 | 2021-10-10T19:23:48 | 28,837,513 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 8,491 | py | ''' usage: python test_petit.py [v?]
optional argument: v? where ? is a number will use the petit_lisp.py version
located in v?/petit_lisp.py otherwise the default (final)
version will be used.
'''
import mock
import unittest
if __name__ == '__main__':
import sys
impor... | [
"andre.roberge@gmail.com"
] | andre.roberge@gmail.com |
4069cf696c9532eef3b0edf6220845339f5f76ec | 786027545626c24486753351d6e19093b261cd7d | /ghidra9.2.1_pyi/ghidra/app/util/bin/format/dwarf4/next/DWARFRegisterMappingsManager.pyi | ba1a1bbc88343e1b810e395de5dbfa5da91fb33f | [
"MIT"
] | permissive | kohnakagawa/ghidra_scripts | 51cede1874ef2b1fed901b802316449b4bf25661 | 5afed1234a7266c0624ec445133280993077c376 | refs/heads/main | 2023-03-25T08:25:16.842142 | 2021-03-18T13:31:40 | 2021-03-18T13:31:40 | 338,577,905 | 14 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,592 | pyi | import generic.jar
import ghidra.app.util.bin.format.dwarf4.next
import ghidra.program.model.lang
import java.lang
import org.jdom
class DWARFRegisterMappingsManager(object):
"""
Factory class to instantiate and cache DWARFRegisterMappings objects.
"""
def __init__(self): ...
def equals(s... | [
"tsunekou1019@gmail.com"
] | tsunekou1019@gmail.com |
2e1ce2b1f525c0e9d47d6fbdb67c819a692334fb | 245b92f4140f30e26313bfb3b2e47ed1871a5b83 | /airflow/providers/google_vendor/googleads/v12/services/services/customer_feed_service/transports/base.py | 023d30df6c5c442ea4db3635f9ad24a98bee2a10 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | ephraimbuddy/airflow | 238d6170a0e4f76456f00423124a260527960710 | 3193857376bc2c8cd2eb133017be1e8cbcaa8405 | refs/heads/main | 2023-05-29T05:37:44.992278 | 2023-05-13T19:49:43 | 2023-05-13T19:49:43 | 245,751,695 | 2 | 1 | Apache-2.0 | 2021-05-20T08:10:14 | 2020-03-08T04:28:27 | null | UTF-8 | Python | false | false | 5,984 | py | # -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"noreply@github.com"
] | ephraimbuddy.noreply@github.com |
d2be3ec81f8f049e8a70a3c02bca4c7f5d207554 | 96e38b89fa057fa0c1cf34e498b4624041dfc6e2 | /BOJ/String/Python/4583.py | a995a37188226e83d4452414ace1a0952986cac9 | [] | no_license | malkoG/polyglot-cp | 66059246b01766da3c359dbd16f04348d3c7ecd2 | 584763144afe40d73e72dd55f90ee1206029ca8f | refs/heads/master | 2021-11-24T13:33:49.625237 | 2019-10-06T07:42:49 | 2019-10-06T07:42:49 | 176,255,722 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 409 | py | mirror=dict()
mirror['b'] = 'd'
mirror['d'] = 'b'
mirror['q'] = 'p'
mirror['p'] = 'q'
for ch in 'iovwx':
mirror[ch] = ch
while True:
s=input()
if s =="#":
break
result = ''
flag = True
for ch in s:
try:
s += mirror[ch]
except:
flag = False
... | [
"rijgndqw012@gmail.com"
] | rijgndqw012@gmail.com |
f71ec4146bf3702e19f5c68b3fd31bc7127c802f | ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31 | /flask-smorest-master/flask_smorest/spec/__init__.py | f64833894a322e17deab1be0723b1895c67e7fb5 | [
"MIT"
] | permissive | babiato/flaskapp1 | 84de2d0b26a54f5820d3bbe97926782ad41e005c | 530beb9e3b8516e0e93960b99521c23a523ef546 | refs/heads/master | 2023-02-26T16:36:49.760632 | 2021-02-04T09:08:40 | 2021-02-04T09:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,624 | py | """API specification using OpenAPI"""
import json
import http
import flask
from flask import current_app
import click
import apispec
from apispec.ext.marshmallow import MarshmallowPlugin
from flask_smorest.exceptions import MissingAPIParameterError
from flask_smorest.utils import prepare_response
from .plugins import... | [
"jinxufang@tencent.com"
] | jinxufang@tencent.com |
e3d149b7b7cf48fd12d2013aefb000ecade6610f | 5d32d0e65aa3bfa677fd1b8c92569e07e9b82af1 | /Section 5 - Programming Logic/Guess game v3 - multiple if.py | 1136fb613ad7c5b24b6249a57be9343f93a90ebf | [
"CC0-1.0"
] | permissive | pdst-lccs/lccs-python | b74ef2a02ac8ad2637f713fff5559f4e56c9827d | 95cb7ece05716521e9951d7a40de8fb20a88021f | refs/heads/master | 2023-05-28T00:46:57.313972 | 2023-05-22T10:16:43 | 2023-05-22T10:16:43 | 240,501,524 | 21 | 18 | null | null | null | null | UTF-8 | Python | false | false | 687 | py | # Event: LCCS Python Fundamental Skills Workshop
# Date: May 2018
# Author: Joe English, PDST
# eMail: computerscience@pdst.ie
# Name: Guessing Game v3
# Purpose: A program to demonstrate the multiple if statement
import random
number = random.randint(1, 10)
# The next line can be commented out later ...
p... | [
"noreply@github.com"
] | pdst-lccs.noreply@github.com |
85c8a05dbc3ccd700e56696411f9f0987cab48a8 | 8e8ea9e41032398fa8b1c54d73475a54aa11d293 | /page/quarter/quarter_statistic/quarter_statistic.py | 3df8bda70c25e22d603ec3c1cedd4f084dcf02b2 | [] | no_license | xmaimiao/wmPC_quarter | 6b69812b42039101d89076923c329d8e5952308b | 255666ccb5d2cac38b6975c0ae1ab055caabe41f | refs/heads/master | 2023-03-28T02:41:21.347163 | 2021-03-29T07:12:44 | 2021-03-29T07:12:44 | 352,538,443 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,686 | py | from common.contants import quarter_statistic_dir
from page.base.basepage import BasePage
from page.quarter.quarter_statistic.quarter_statistic_detail import Quarter_Statistic_Detail
class Quarter_Statistic(BasePage):
def wait_sleep(self,sleeps):
self.sleep(sleeps)
return self
def simple_sea... | [
"765120214@qq.com"
] | 765120214@qq.com |
1f6ecc9a87a9cf8415c9d78c3fb3778a97bf9c3f | 255e7b37e9ce28bbafba5a3bcb046de97589f21c | /leetcode_everyday/pastqing_491.py | d6d078bb2db9b5627bf0299def84a620217e9fd1 | [] | no_license | dog2humen/ForTheCoffee | 697d2dc8366921aa18da2fa3311390061bab4b6f | 2f940aa9dd6ce35588de18db08bf35a2d04a54f4 | refs/heads/master | 2023-04-15T09:53:54.711659 | 2021-04-28T13:49:13 | 2021-04-28T13:49:13 | 276,009,709 | 2 | 2 | null | 2020-07-01T08:29:33 | 2020-06-30T05:50:01 | Python | UTF-8 | Python | false | false | 849 | py | # coding:utf8
from typing import List
class Solution:
def findSubsequences(self, nums: List[int]) -> List[List[int]]:
return self.findSubsequences_v1(nums)
def findSubsequences_v1(self, nums: List[int]) -> List[List[int]]:
res = []
self.helper(nums, 0, [], res)
return res
... | [
"116676671@qq.com"
] | 116676671@qq.com |
921f2814602574d17fbd234becf4865925f0b64f | 488e0934b8cd97e202ae05368c855a57b299bfd1 | /Django/advanced/test_Blog/test_bookblog/book_app/migrations/0004_auto_20190408_1955.py | b4880c98ea624c5db12cdd69a946c614d2cc847a | [] | no_license | didemertens/udemy_webdev | 4d96a5e7abeec1848ecedb97f0c440cd50eb27ac | 306215571be8e4dcb939e79b18ff6b302b75c952 | refs/heads/master | 2020-04-25T00:24:45.654136 | 2019-04-13T16:00:47 | 2019-04-13T16:00:47 | 172,377,429 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 363 | py | # Generated by Django 2.1.7 on 2019-04-08 19:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('book_app', '0003_blog_intro'),
]
operations = [
migrations.AlterField(
model_name='blog',
name='intro',
... | [
"d.g.j.mertens@gmail.com"
] | d.g.j.mertens@gmail.com |
f5c263ff57f2af9eca8b0cb37427ffd481a5c178 | 2a54e8d6ed124c64abb9e075cc5524bb859ba0fa | /.history/2-Python-Basics-part2/4-ternary-operator_20200413230611.py | 18fc81dee16c1d156f9fe477dc7652c5da62075c | [] | no_license | CaptainStorm21/Python-Foundation | 01b5fbaf7a913506518cf22e0339dd948e65cea1 | a385adeda74f43dd7fb2d99d326b0be23db25024 | refs/heads/master | 2021-05-23T01:29:18.885239 | 2020-04-23T19:18:06 | 2020-04-23T19:18:06 | 253,171,611 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 38 | py | # conditonal expressions
condition_if | [
"tikana4@yahoo.com"
] | tikana4@yahoo.com |
6a7cc2d596827c9bde48ed3927efac4efb6ee38c | 1ffbdfff2c9632fa8ecd6288578e1d02f740ee23 | /2020_/07/LeetCodeBitManipulation/03E_1356. Sort Integers by The Number of 1 Bits.py | dc2f4d00cc3f90c25830cf14864e295c482b40d1 | [] | no_license | taesookim0412/Python-Algorithms | c167c130adbe04100d42506c86402e729f95266c | c6272bbcab442ef32f327f877a53ee6e66d9fb00 | refs/heads/main | 2023-05-01T09:40:44.957618 | 2021-05-12T10:52:30 | 2021-05-12T10:52:30 | 366,682,846 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 780 | py | import collections
import numpy as np
from typing import List
#Runtime: 72 ms, faster than 68.71% of Python3 online submissions for Sort Integers by The Number of 1 Bits.
#Memory Usage: 13.8 MB, less than 86.25% of Python3 online submissions for Sort Integers by The Number of 1 Bits.
class Solution:
def sortByBits... | [
"taesoo.kim0412@gmail.com"
] | taesoo.kim0412@gmail.com |
faa0ab004c18bd45116e831d5433c6c545aaedb2 | 2f418a0f2fcca40f84ec0863b31ff974b574350c | /scripts/addons_extern/nodes_io/attributes.py | 5763cb541cfaa72d6cdbe4733176fefca15e8fb1 | [] | no_license | JT-a/blenderpython279 | 57a81b55564218f3b1417c2ffa97f5161897ec79 | 04846c82f794c22f87d677d9eb8cec1d05c48cda | refs/heads/master | 2021-06-25T06:58:07.670613 | 2017-09-11T11:14:36 | 2017-09-11T11:14:36 | 103,723,697 | 4 | 2 | null | 2017-09-16T04:09:31 | 2017-09-16T04:09:31 | null | UTF-8 | Python | false | false | 3,621 | py | #!/usr/bin/python3
# --------------------------------------------------
# ATTRIBUTES
# --------------------------------------------------
defaults = [
"bl_idname",
# "type", # read-only
"name",
"label",
# "parent",
"select",
"location",
# "dimensions", # read-only
"width",
"... | [
"meta.androcto1@gmail.com"
] | meta.androcto1@gmail.com |
9da6da5fba9daedf9b2e92c80aa332916e18eeae | 659653ebdff3d70e0c04cd0292e489dc537b4112 | /setup.py | 709ece69ddc3e6068b1178071932256215b94e81 | [] | no_license | vangheem/clouddrive | 48de3dd21f66c4ea207e6cbfefff630825349bb3 | 1b0e74dd4e9cd3dc838a3c13866ccef8a3920b63 | refs/heads/master | 2021-01-10T02:11:52.997944 | 2016-09-20T02:30:51 | 2016-09-20T02:30:51 | 48,830,570 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 863 | py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
from setuptools import find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name='clouddrive',
version='0.1.dev0',
description='',
long_description='',
classifiers=[
... | [
"vangheem@gmail.com"
] | vangheem@gmail.com |
0f907498ef454193d80fa1dbac7f4ef357cb0485 | f9308d5a8efe2dbb48e9cc87cd06405b60a9dc7b | /samples/python/apidocs/ee_featurecollection_aggregate_total_var.py | 6f681ac3fa4a89f5f1bdf70d9c5cf99b8aef7c56 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | google/earthengine-community | 4e054b421f66f03507d58668084aee981062fc24 | ce931040c518860f8788b4888c0acfdebd2952fc | refs/heads/master | 2023-09-01T14:47:54.812703 | 2023-08-31T23:01:00 | 2023-08-31T23:01:39 | 200,732,820 | 428 | 552 | Apache-2.0 | 2023-09-13T21:46:51 | 2019-08-05T21:42:11 | Jupyter Notebook | UTF-8 | Python | false | false | 1,021 | py | # Copyright 2023 The Google Earth Engine Community 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
d6447c5e8113bc3dfba69e31df59d4e3c714b954 | 5257652fc34ec87fe45d390ba49b15b238860104 | /single_cell_atacseq_preprocessing/pseudorep_peaks_supported_by_30percent_of_bioreps_in_same_region/get_number_of_samples_that_support_each_regional_peak.py | 47f15d19a533484f6a223eea9579cbdf122b1557 | [] | no_license | thekingofall/alzheimers_parkinsons | cd247fa2520c989e8dd853ed22b58a9bff564391 | 4ceae6ea3eb4c58919ff41aed8803855bca240c8 | refs/heads/master | 2022-11-30T22:36:37.201334 | 2020-08-12T01:23:55 | 2020-08-12T01:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,190 | py | #using IDR optimal peaks from the pseudoreplicate set, calculate the number of biological replicates (based on biorep IDR optimal peak sets) that support each peak
import argparse
import pybedtools
import gzip
def parse_args():
parser=argparse.ArgumentParser(description="using IDR optimal peaks from the pseudore... | [
"annashcherbina@gmail.com"
] | annashcherbina@gmail.com |
6793a7e2ed84de8b67e05f62dbff2c37d60be349 | 6c0beed4cd8719bf48982a853183121cea35cadf | /thread_syn_scanr_final.py | a312b10f43247c3ca188d52d82f490d1d797ed92 | [] | no_license | vicky288/pythonScripts | c90406dd2addc7a72275be0526daae7eba7d8c29 | 2b31c726b5924314b31a37f3a4eb86c132816859 | refs/heads/master | 2021-04-30T16:35:30.739238 | 2017-02-09T00:06:16 | 2017-02-09T00:06:16 | 80,077,402 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,356 | py | #!/usr/bin/env python
import threading
import Queue
import time
from scapy.all import *
class WorkerThread(threading.Thread) :
def __init__(self, queue, tid) :
threading.Thread.__init__(self)
self.queue = queue
self.tid = tid
print "Worker %d Reporting for Service Sir!" %self.tid
def run(self) :
total_p... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
3822dc71dbe9d74b56a67f934b2b21851a2d04bd | 19da1a56f137a08772c347cf974be54e9c23c053 | /lib/adafruit_boardtest/boardtest_voltage_monitor.py | bcdd23695e093d6d8bed54eddee6c02a1518167c | [] | no_license | mk53202/mk53202-timeclock-pyportal | d94f45a9d186190a4bc6130077baa6743a816ef3 | 230a858d429f8197c00cab3e67dcfd3b295ffbe0 | refs/heads/master | 2021-02-04T05:38:25.533292 | 2020-02-27T22:45:56 | 2020-02-27T22:45:56 | 243,626,362 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,216 | py | # The MIT License (MIT)
#
# Copyright (c) 2018 Shawn Hymel for Adafruit Industries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation th... | [
"mkoster@stack41.com"
] | mkoster@stack41.com |
a0322b2f81ed8ef731da2cc2a758f162c0d92b65 | 9b36652dafb58888b7a584806ee69a33fcb609d5 | /objutils/pickleif.py | fd210c74a9e0aa035425e908bbf6ad39a83c3423 | [] | no_license | pySART/objutils | db33e4576cf68111cb4debbafec06a0204844938 | 5ba4631b2245caae80d4dbe0053db0f2706ba53f | refs/heads/master | 2020-06-29T03:35:24.485977 | 2016-11-21T14:21:56 | 2016-11-21T14:21:56 | 74,451,500 | 5 | 2 | null | 2016-11-22T08:36:10 | 2016-11-22T08:36:10 | null | UTF-8 | Python | false | false | 1,385 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "0.1.0"
__copyright__ = """
pyObjUtils - Object file library for Python.
(C) 2010-2013 by Christoph Schueler <github.com/Christoph2,
cpu12.gems@googlemail.com>
All Rights Reserved
This program is free so... | [
"cpu12.gems@googlemail.com"
] | cpu12.gems@googlemail.com |
f9e1d014f00ad100e068a2d024c3d380291478c1 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /HBKAGJZ62JkCTgYX3_21.py | 715e80114cfa7428c4cd12fde12de966ea9febf6 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 123 | py |
def last(a, n):
if n == 0:
return []
elif n > len(a):
return "invalid"
elif n <= len(a):
return a[-n:]
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
34c69a2e6e5163f82c16f2066cc150e2915edd2e | 13a416a2694d1f6aa1a68cd47610236bf61cafbc | /CodePractice/Turtle/circleturtle.py | a465b8fe30527faaecef0725052e7c92e49ae8e1 | [] | no_license | Highjune/Python | c637f7d0f9e5d1ac9d6ad87b4e54833b8ff4ae11 | 1be43816d22f5f3b8679cf0cd3939e9d9f54497a | refs/heads/master | 2022-11-24T01:20:54.470172 | 2020-07-27T18:01:47 | 2020-07-27T18:01:47 | 263,271,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 170 | py | import turtle as t
t.shape("turtle")
num = int(input('num : '))
go = int((num-1)/2)
for i in range(1,num):
for j in range(1,i):
t.forward(1)
t.right(90)
| [
"highjune37@gmail.com"
] | highjune37@gmail.com |
f546e9e52b380e7d078d7a83b9522f48799bf1fb | 6e172edee44d5985d19327cf61865d861395d595 | /2020/11/y2020_d11_p01.py | 14c61f5a7ba331bb0fdd890b3ea3476e58d1cce5 | [] | no_license | rHermes/adventofcode | bbac479ec1c84c55484effa2cd94889d621b3718 | 4cbe7a952678c5f09438702562b7f6f673a1cf83 | refs/heads/master | 2023-01-14T07:05:35.769426 | 2023-01-01T09:53:11 | 2023-01-01T10:13:29 | 225,170,580 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,699 | py | import fileinput
import itertools as it
# Let's build a jump table
def jumptbl(M, ROWS, COLS, x, y):
arounds = []
for dy, dx in [(-1,-1), (-1, 0), (-1, 1), (0,-1), (0, 1), (1,-1), (1,0), (1,1)]:
zx = x + dx
zy = y + dy
idx = zy*COLS + zx
if 0 <= zx < COLS and 0 <= zy < ROWS and ... | [
"teodor@spaeren.no"
] | teodor@spaeren.no |
8eabc5915442c74698de459405acdb8a6cb90fa6 | 18b3ad3b0e1f7f10969738251e1201d01dfbc6bf | /backup_files/practice/rect.py | 00e007de1004f6dc31ae22f14c65ace2161a43fa | [] | no_license | sahthi/backup2 | 11d509b980e731c73733b1399a8143780779e75a | 16bed38f0867fd7c766c2a008c8d43b0660f0cb0 | refs/heads/master | 2020-03-21T12:39:56.890129 | 2018-07-09T08:12:46 | 2018-07-09T08:12:46 | 138,565,151 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | #!/usr/bin/python
class rectangle:
def __init__(self,length,breadth):
self.length=length
self.breadth=breadth
def area(self):
return self.breadth*self.length
a=input("enter the length of rectangle:")
b=input("enter the breadth of rectangle:")
obj=rectangle(a,b)
print("area of rectan... | [
"siddamsetty.sahithi@votarytech.com"
] | siddamsetty.sahithi@votarytech.com |
cfbd6b9b962886737f7fde0c1dd2f399f97d3ffe | d721258b53f0f44b1010cb8e8efac8e2a5c96c26 | /adventure/models.py | babb8aa7915cc58b6585820f8664bb9817390484 | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | kdechant/eamon | a6662285f51a6cad5797bb9be92ca709ae36921c | 080a43aa80c3a1605c402e68616545a8e9c7975c | refs/heads/master | 2023-05-24T08:20:18.551604 | 2022-08-14T10:27:01 | 2023-04-08T07:31:45 | 49,559,304 | 28 | 7 | MIT | 2023-03-14T21:09:55 | 2016-01-13T08:07:28 | TypeScript | UTF-8 | Python | false | false | 22,320 | py | from django.db import models
from taggit.managers import TaggableManager
ARTIFACT_TYPES = (
(0, 'Gold'),
(1, 'Treasure'),
(2, 'Weapon'),
(3, 'Magic Weapon'),
(4, 'Container'),
(5, 'Light Source'),
(6, 'Drinkable'),
(7, 'Readable'),
(8, 'Door/Gate'),
(9, 'Edible'),
(10, 'Boun... | [
"keith.dechant@gmail.com"
] | keith.dechant@gmail.com |
70252ccd8d751ddb991b9baf48cccda96d0787ae | 00758be070825c33d9178c8a50d1a59ee2c3c790 | /ppci/format/pefile/pefile.py | 9828d6c93963c5f9a97d85c328a03344460d59d7 | [
"BSD-2-Clause"
] | permissive | jsdelivrbot/ppci-mirror | d2a87f21a735a9495ad1130959b599ab317a62f6 | 67195d628275e2332ceaf44c9e13fc58d0877157 | refs/heads/master | 2020-04-10T06:23:38.964744 | 2018-12-07T17:05:05 | 2018-12-07T17:05:05 | 160,853,011 | 0 | 0 | BSD-2-Clause | 2018-12-07T17:07:00 | 2018-12-07T17:07:00 | null | UTF-8 | Python | false | false | 312 | py | from .headers import DosHeader, CoffHeader, PeOptionalHeader64
from .headers import ImageSectionHeader, PeHeader, DataDirectoryHeader
from .headers import ImportDirectoryTable
class PeFile:
""" Pe (exe) file """
def __init__(self):
self.pe_header = PeHeader()
class ExeFile(PeFile):
pass
| [
"windel@windel.nl"
] | windel@windel.nl |
79dc973cef96d3e5eef6f7cd3552f8a91bf78cb4 | b71f656374293c5f1238fcb449aa4dde78632861 | /eudplib/utils/blockstru.py | c3e9a5159a3ca9e5b4b729aab409a5ff123314d1 | [
"MIT"
] | permissive | tobeinged/eudplib | ce1cdc15f7ec6af857b4b64b5c826b3dd95d3e48 | 066c0faa200dc19e70cdb6979daf8f008b8ae957 | refs/heads/master | 2023-05-04T08:49:01.180147 | 2019-03-18T14:30:29 | 2019-03-18T14:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,549 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Copyright (c) 2014 trgk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mo... | [
"phu54321@naver.com"
] | phu54321@naver.com |
a4056e610f35a5a1bfbe93990398a2a61a725fde | b7620d0f1a90390224c8ab71774b9c906ab3e8e9 | /aliyun-python-sdk-imm/aliyunsdkimm/request/v20200930/CreateFigureClusteringTaskRequest.py | cfa9780027b8c39cc94abaae16dbba18b98bda90 | [
"Apache-2.0"
] | permissive | YaoYinYing/aliyun-openapi-python-sdk | e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f | e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627 | refs/heads/master | 2022-10-17T16:39:04.515562 | 2022-10-10T15:18:34 | 2022-10-10T15:18:34 | 117,057,304 | 0 | 0 | null | 2018-01-11T06:03:02 | 2018-01-11T06:03:01 | null | UTF-8 | Python | false | false | 2,476 | 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 |
7d99e26a6d7d4b0a7f916ad07f46105c644061c7 | ac2f43c8e0d9649a7f063c59b3dffdfed9fd7ed7 | /tests2/common/base_slaac_test.py | 459b17fe8aebffa9efbf641b36e553aada1068c0 | [] | no_license | facebook/openbmc | bef10604ced226288600f55248b7f1be9945aea4 | 32777c66a8410d767eae15baabf71c61a0bef13c | refs/heads/helium | 2023-08-17T03:13:54.729494 | 2023-08-16T23:24:18 | 2023-08-16T23:24:18 | 31,917,712 | 684 | 331 | null | 2023-07-25T21:19:08 | 2015-03-09T19:18:35 | C | UTF-8 | Python | false | false | 2,578 | py | #!/usr/bin/env python3
#
# Copyright 2018-present Facebook. All Rights Reserved.
#
# This program file 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; version 2 of the License.
#
# This program is distributed ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9d5eed9ac51e2c80d2bf186b88f4046d7c5f5a3a | 080c13cd91a073457bd9eddc2a3d13fc2e0e56ae | /MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/lib/io/file_io_test.py | e4767806896723cb6003db317ab58e1c9a241678 | [
"Apache-2.0"
] | permissive | Portfolio-Projects42/UsefulResourceRepo2.0 | 1dccc8961a09347f124d3ed7c27c6d73b9806189 | 75b1e23c757845b5f1894ebe53551a1cf759c6a3 | refs/heads/master | 2023-08-04T12:23:48.862451 | 2021-09-15T12:51:35 | 2021-09-15T12:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,674 | py | # This Python file uses the following encoding: utf-8
# Copyright 2015 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.o... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
44b3c3e17a72f62f7418db2902479cb858d1cca6 | c275fc8e52e852a82c240d363fc80d818c938549 | /fastreid/modeling/backbones/resnest.py | 54d052d0d66e2081c3a4416c82bce401e9447f8b | [] | no_license | JinkaiZheng/fast-reid_20200430 | 67c968698e6a1c837e7c1c49f0078afae96152a3 | 6832d28e8ddc9b743d2de2a1a089175b8dd4bfd4 | refs/heads/master | 2022-06-29T09:02:50.443834 | 2020-05-12T12:09:26 | 2020-05-12T12:09:26 | 262,527,154 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 17,224 | py | # encoding: utf-8
# based on:
# https://github.com/zhanghang1989/ResNeSt/blob/master/resnest/torch/resnest.py
"""ResNeSt models"""
import logging
import math
import torch
from torch import nn
from .build import BACKBONE_REGISTRY
from ...layers import SplAtConv2d, IBN, Non_local
_url_format = 'https://hangzh.s3.amaz... | [
"sherlockliao01@gmail.com"
] | sherlockliao01@gmail.com |
6b6b8ed46de995cb4125b9f3eae5ad6f987cb563 | 1ff9adfdb9d559e6f81ed9470467bab25e93b5ab | /src/ta_lib/_vendor/tigerml/core/reports/lib.py | e68184e54ad7fe935d6209b79f71931a46f2af5f | [] | no_license | Seemant-tiger/housing-price-prediction | a39dbefcb11bc460edeeee92e6becf77d35ff3a8 | be5d8cca769c7e267cfee1932eb82b70c2855bc1 | refs/heads/main | 2023-06-24T00:25:49.776720 | 2021-07-18T16:44:28 | 2021-07-18T16:44:28 | 387,222,852 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 594 | py | def create_report(
contents, name="", path="", format=".html", split_sheets=True, tiger_template=False
):
if format == ".xlsx":
from .excel import create_excel_report
create_excel_report(contents, name=name, path=path, split_sheets=split_sheets)
elif format == ".pptx":
from .ppt.lib... | [
"seemantsingh1199@gmail.com"
] | seemantsingh1199@gmail.com |
23e3ad4e01e0f76661ea461347891416a38d216c | a71a756203a07ccaece6db440410493b3b7ff77f | /helios/plugins/builtin/rpc_websocket_proxy_through_ipc_socket/plugin.py | f25a485fbaf58be719639402aa3e72f7562385ca | [
"MIT"
] | permissive | Helios-Protocol/py-helios-node | 73735dc24cd4c816d55649ed2f5df822efabfdce | 691b378938f0a36bf8774dc1ee4e4370b6cf7c63 | refs/heads/master | 2021-08-19T23:05:18.841604 | 2020-01-18T19:38:33 | 2020-01-18T19:38:33 | 134,452,574 | 21 | 10 | MIT | 2019-06-09T04:43:14 | 2018-05-22T17:39:10 | Python | UTF-8 | Python | false | false | 1,344 | py | from argparse import (
ArgumentParser,
_SubParsersAction,
)
from helios.extensibility import (
BaseIsolatedPlugin,
)
from .websocket_proxy_server import Proxy as rpc_websocket_proxy
###
# This one is not used anymore because it is synchronous. There is a new asynchronous one in the json_rpc folder
# This... | [
"admin@hyperevo.com"
] | admin@hyperevo.com |
9d0ceb0a983d177fb194fa88a84647305cb10f4a | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /PE8XQipGLS5bhpLZ5_12.py | 135603cb370bc577f19f614c4e375ea0e5b17c54 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 98 | py |
def check_equals(lst1, lst2):
if lst1[:] == lst2[:]:
return True
else:
return False
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
e661fdec78b7319ffe2fcad7ed550a0469bf8d6d | 564d6a4d305a8ac6a7e01c761831fb2081c02d0f | /sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py | f2a6c07097ef93c19db4a57b35f48ccad53b3847 | [
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later",
"MIT"
] | permissive | paultaiton/azure-sdk-for-python | 69af4d889bac8012b38f5b7e8108707be679b472 | d435a1a25fd6097454b7fdfbbdefd53e05029160 | refs/heads/master | 2023-01-30T16:15:10.647335 | 2020-11-14T01:09:50 | 2020-11-14T01:09:50 | 283,343,691 | 0 | 0 | MIT | 2020-07-28T22:43:43 | 2020-07-28T22:43:43 | null | UTF-8 | Python | false | false | 59,447 | 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"
] | paultaiton.noreply@github.com |
6d4d1d60f2c789f78d8d5f3257764908e635553d | 809f263b77b525549cd945c39c4c9cf2b8e6a167 | /pqcrypto/sign/sphincs_shake256_192s_simple.py | 6a45aa9c023c21f67bb3b6b83ca198236bb3e8f7 | [
"BSD-3-Clause"
] | permissive | Kayuii/pqcrypto | bdf5014b7590dfe363baedbf47171f4b4cb25349 | dd8c56fd876a397caef06a00d35537a4f9c1db28 | refs/heads/master | 2022-12-14T00:34:36.632689 | 2020-09-08T10:40:26 | 2020-09-08T10:40:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 447 | py | from .._sign.sphincs_shake256_192s_simple import ffi as __ffi, lib as __lib
from .common import _sign_generate_keypair_factory, _sign_sign_factory, _sign_verify_factory
PUBLIC_KEY_SIZE = __lib.CRYPTO_PUBLICKEYBYTES
SECRET_KEY_SIZE = __lib.CRYPTO_SECRETKEYBYTES
SIGNATURE_SIZE = __lib.CRYPTO_BYTES
generate_keypair = _s... | [
"inbox@philonas.net"
] | inbox@philonas.net |
685c3b447efa9302c1e3ac674770c6ad63a86f80 | 86fc644c327a8d6ea66fd045d94c7733c22df48c | /scripts/managed_cpe_services/customer/triple_cpe_site/triple_cpe_site_services/cpe_primary/ospfs/router_ospf/redistribute/redistribute_on_ospf/redistribute_on_ospf.py | 37bcca908584bc95632c842448489e92bbae1610 | [] | no_license | lucabrasi83/anutacpedeployment | bfe703657fbcf0375c92bcbe7560051817f1a526 | 96de3a4fd4adbbc0d443620f0c53f397823a1cad | refs/heads/master | 2021-09-24T16:44:05.305313 | 2018-10-12T02:41:18 | 2018-10-12T02:41:18 | 95,190,459 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,026 | py | #
# This computer program is the confidential information and proprietary trade
# secret of Anuta Networks, Inc. Possessions and use of this program must
# conform strictly to the license agreement between the user and
# Anuta Networks, Inc., and receipt or possession does not convey any rights
# to divulge, reproduce,... | [
"sebastien.pouplin@tatacommunications.com"
] | sebastien.pouplin@tatacommunications.com |
e43680be54a96bf074498a59db3df72db549e964 | eb59f8212f40bd7c316e1ef3be03bf7da3dde65f | /annotated2_0/scr_uli.py | be140b857a325143f149a0a5aefd35636edbe6d3 | [] | no_license | shtkn/frameDataParser | 764cc3197051966717990f7ca3eb2f02639cf438 | 690d44d4bf188a14c4e5ebebd95bdc75b827f5e5 | refs/heads/master | 2021-07-05T00:52:53.316670 | 2020-10-03T18:16:52 | 2020-10-03T18:16:52 | 187,556,058 | 0 | 0 | null | 2019-11-25T05:36:06 | 2019-05-20T02:40:24 | Python | UTF-8 | Python | false | false | 280,392 | py | @Subroutine
def PreInit():
Unknown12019('756c6900000000000000000000000000')
Unknown12050(1)
@Subroutine
def MatchInit():
DashFAccel(1000)
DashFMaxVelocity(32000)
JumpYVelocity(31500)
SuperJumpYVelocity(38000)
DoubleJumpCount(2)
Unknown12038(23000)
Unknown12034(33)
SuperFreezeDur... | [
"shtkn001@gmail.com"
] | shtkn001@gmail.com |
13afaec093ca5dbb37ccc72918e13c91b3555344 | 2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8 | /pardus/tags/2011/util/shell/command-not-found/actions.py | fd6ae5ea60b235f2996161b9d5463089b352de0a | [] | no_license | aligulle1/kuller | bda0d59ce8400aa3c7ba9c7e19589f27313492f7 | 7f98de19be27d7a517fe19a37c814748f7e18ba6 | refs/heads/master | 2021-01-20T02:22:09.451356 | 2013-07-23T17:57:58 | 2013-07-23T17:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 647 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2008-2010 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def install():
pisitools.dobin("src/... | [
"yusuf.aydemir@istanbul.com"
] | yusuf.aydemir@istanbul.com |
57f0473df75e076251d0ff6afe0e60431dd1b124 | 5259532bb41382bc05c7f311fdee65c67f67990e | /Tools/SampleTool/UI_SampleMainForm.py | 233a453909cfe5c2f121227d1c0c5bfe19a1f080 | [] | no_license | csjy309450/MLTools_PyQt4 | 57905cc78284d87349eda511fc78c43f3527bbeb | d1af57c279fd12428cda303d22e7a732db3ff257 | refs/heads/master | 2021-04-29T10:36:54.792400 | 2018-02-28T17:03:08 | 2018-02-28T17:03:08 | 77,835,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,513 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'SampleToolWidget.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
import CopyForm as cf
try:
_fromUtf8 = QtCore.QString.fromUtf8
except Attribut... | [
"="
] | = |
9226629a592d1cbce6243737ba9838ff68a1135b | 98404910e43b88108e658d111e9196839b7aca77 | /tests/test_layers.py | f49e07677ec682f645022d76bc04813595d924fa | [
"Apache-2.0"
] | permissive | mbencherif/kraken | b45ff5c32ab7d76301f613d738a1281adb05b2ce | ffb35d101166e35fad7930d468138e216e48991a | refs/heads/master | 2023-07-30T12:42:33.823848 | 2021-09-29T14:37:18 | 2021-09-29T14:37:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,368 | py | # -*- coding: utf-8 -*-
import unittest
from nose.tools import raises
import torch
from kraken.lib import layers
class TestLayers(unittest.TestCase):
"""
Testing custom layer implementations.
"""
def setUp(self):
torch.set_grad_enabled(False)
def test_maxpool(self):
"""
... | [
"mittagessen@l.unchti.me"
] | mittagessen@l.unchti.me |
d615b3f87e95f821b1ad96c4a961165d3dcfb242 | 1924da60fa3298e386acc6dac9bd390784a9b5bb | /test18.py | 2eaca7b55757608822e1ea3f6eebcce199ba5a68 | [] | no_license | yukitomo/NLP100DrillExercises | c8a177b56f798cef225ace540e965809a1fc1fbc | ea2ceb366de1fa1f27d084e3b9328cc6f34ac1dd | refs/heads/master | 2020-06-01T02:55:11.423238 | 2015-06-10T15:39:03 | 2015-06-10T15:39:03 | 37,205,750 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 425 | py | #!/usr/bin/python
#-*-coding:utf-8-*-
#(18) 仙台市の住所らしき表現にマッチする正規表現を各自で設計し,抽出せよ.
#python test18.py tweet.txt
import sys
import re
pattern = re.compile(u'(仙台市)([^\s\w\d ]{1,20}[\d0-9〇一-九十上下東西]+)*')
for line in sys.stdin:
line = line.decode("utf-8")
match=pattern.search(line)
if match:
print match.group(0).encode... | [
"over.the.tr0ouble@gmail.com"
] | over.the.tr0ouble@gmail.com |
742a110bb63077d24dc9f3b001ade6455c465a66 | 0b85fbdd58eab30cf2ed5676a9c331c1ab6152f6 | /cdp_viz/handlers/services/dl.py | a59f386a88dc13816e7f7bb9a1accba49a601a15 | [] | no_license | pymonger/cdp-viz-pyramid | 82ddac3552a0da9c1a831959ff28fdb3b21c126f | 32c5f3d6f1d63c1e7e6131876da9a19ab3d25e93 | refs/heads/master | 2020-03-28T23:46:17.564043 | 2013-02-06T17:48:29 | 2013-02-06T17:48:29 | 149,307,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,392 | py | import logging, simplejson, pprint, re, os, sys
from urllib2 import urlopen
from urllib import urlencode
from datetime import datetime
from string import Template
from Levenshtein import ratio, median
from pyramid.httpexceptions import HTTPFound
from pyramid_handlers import action
from beaker.cache import CacheManage... | [
"pymonger@gmail.com"
] | pymonger@gmail.com |
5c970dffe7023ba46848e3b65f0ad476cbb2b53e | 29145db13229d311269f317bf2819af6cba7d356 | /april circuits/shifts.py | bb24c3d034ba66dfbb7a8eba41e99923e3127ea4 | [] | no_license | rocket3989/hackerEarth2019 | 802d1ca6fd03e80657cbe07a3f123e087679af4d | 42c0a7005e52c3762496220136cc5c1ee93571bb | refs/heads/master | 2021-07-05T01:32:42.203964 | 2020-12-22T03:40:20 | 2020-12-22T03:40:20 | 211,607,143 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 252 | py | for tc in range(int(input())):
N, M, c = input().split()
N = int(N)
M = int(M)
N = bin(N)[2:].zfill(16)
if c == 'L':
print(int(N[M:] + N[:M], 2))
else:
print(int(N[16 - M:] + N[:16 - M], 2))
| [
"rocket3989@gmail.com"
] | rocket3989@gmail.com |
37918bdb0d4e31428108d8434477b8686f64c19d | f75609812d20d46a9f94ee0cfdb91c321d26b63d | /flask/flask_fundamentals/Number_Game/server.py | 6830ce31939d2a6ef2ce63d2e02eb346853fbccf | [] | no_license | IanAranha/Python2021 | eff47a20451f61b144b17f48321a7b06308aadca | d9769b8b387b77753b77f6efe3a9a270a1f158d3 | refs/heads/main | 2023-04-02T08:20:24.382913 | 2021-04-10T22:27:10 | 2021-04-10T22:27:10 | 345,918,060 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 865 | py | from flask import Flask, redirect, render_template, session, request
import random
app = Flask(__name__)
app.secret_key = "0004ThisIsASecretKey"
@app.route("/")
def index():
if "random_number" not in session:
session["random_number"] = random.randrange(0, 101)
return render_template("index.html")
@app.route("... | [
"ianorama@gmail.com"
] | ianorama@gmail.com |
243c193623591d29bb3fa6344bb1b2d31f4adb6f | 2753757e2d13f5dd0d1faf1264031d476e162975 | /others/assignment/temp.py | ae6d46f2f1fb03391ed5c73d858f9a215d0d38a0 | [] | no_license | florije1988/Suggestions | c8846dd089eab816051ecc1fc43a7fcc07580194 | 23718968acc16fa243c248a6ac3d4715c53daaa1 | refs/heads/master | 2020-05-20T07:01:54.292081 | 2014-08-11T07:52:02 | 2014-08-11T07:52:02 | 21,298,258 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,279 | py | # -*- coding: utf-8 -*-
__author__ = 'florije'
import time
def reverse_str(str_arg):
if len(str_arg) == 1:
return str_arg
else:
return str_arg[-1] + reverse_str(str_arg[:-1])
if __name__ == '__main__':
# s_arg = input('list:')
# print s_arg
# print type(s_arg)
# for i in ran... | [
"florije1988@gmail.com"
] | florije1988@gmail.com |
7f44ed7c492048c7a2268982590b8ef20b58f77e | 75dcb56e318688499bdab789262839e7f58bd4f6 | /_algorithms_challenges/practicepython/python-exercises-master/07-list-comprehension/exercise.py | 894ad5cd07e85383178aea3f7a25e85196b75242 | [] | no_license | syurskyi/Algorithms_and_Data_Structure | 9a1f358577e51e89c862d0f93f373b7f20ddd261 | 929dde1723fb2f54870c8a9badc80fc23e8400d3 | refs/heads/master | 2023-02-22T17:55:55.453535 | 2022-12-23T03:15:00 | 2022-12-23T03:15:00 | 226,243,987 | 4 | 1 | null | 2023-02-07T21:01:45 | 2019-12-06T04:14:10 | Jupyter Notebook | UTF-8 | Python | false | false | 270 | py | # /#! /urs/bin/env python
if __name__ == '__main__':
all = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
odd = [number for number in all if number % 2 == 1]
even = [number for number in all if number % 2 == 0]
print("All: " + str(all) + '\nOdd: ' + str(odd))
| [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
da32f7c5d77290af8959d8e13d7d608b43117cd9 | 8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b | /enthought/traits/ui/value_tree.py | 04dc87e1db7556f3b15b867fb608ebd7c44d0b38 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | enthought/etsproxy | 5660cf562c810db2ceb6b592b6c12274bce96d73 | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | refs/heads/master | 2023-03-27T04:51:29.297305 | 2020-12-02T09:05:18 | 2020-12-02T09:05:18 | 1,632,969 | 3 | 1 | NOASSERTION | 2020-12-02T09:05:20 | 2011-04-18T22:29:56 | Python | UTF-8 | Python | false | false | 49 | py | # proxy module
from traitsui.value_tree import *
| [
"ischnell@enthought.com"
] | ischnell@enthought.com |
b5fc5c27bf55103c13421385e42b252a54f84749 | 0c1d6b8dff8bedfffa8703015949b6ca6cc83f86 | /lib/worklists/operator/CT/v4.0/business/GPON_2+1/QoS_DSCP/script.py | 8027050e03e5cef79e0d59b75c244127b0de19af | [] | no_license | samwei8/TR069 | 6b87252bd53f23c37186c9433ce4d79507b8c7dd | 7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c | refs/heads/master | 2021-06-21T11:07:47.345271 | 2017-08-08T07:14:55 | 2017-08-08T07:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,812 | py | #coding:utf-8
# -----------------------------rpc --------------------------
import os
import sys
#debug
DEBUG_UNIT = False
if (DEBUG_UNIT):
g_prj_dir = os.path.dirname(__file__)
parent1 = os.path.dirname(g_prj_dir)
parent2 = os.path.dirname(parent1)
parent3 = os.path.dirname(parent2)
parent4 = os... | [
"zhaojunhhu@gmail.com"
] | zhaojunhhu@gmail.com |
06e91545546c5d5f9f8c5ae573bbd5682f098d9e | e7b7cc34f77c71e61aa0fa05bcc62f54fc2fc0e1 | /Array/test_q056_merge_intervals.py | 144e68cff13f68e05cc835a31a46718e9c0dfad5 | [] | no_license | sevenhe716/LeetCode | 41d2ef18f5cb317858c9b69d00bcccb743cbdf48 | 4a1747b6497305f3821612d9c358a6795b1690da | refs/heads/master | 2020-03-16T16:12:27.461172 | 2019-04-22T13:27:54 | 2019-04-22T13:27:54 | 130,221,784 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py | import unittest
from Array.q056_merge_intervals import Solution
from common import Interval
class TestMergeIntervals(unittest.TestCase):
"""Test q056_merge_intervals.py"""
def test_merge_intervals(self):
s = Solution()
self.assertEqual([[1, 6], [8, 10], [15, 18]], s.merge([Interval(1, 3), In... | [
"429134862@qq.com"
] | 429134862@qq.com |
2b9e1a91205de5663111b9f61c7cc6a51b919853 | 53faa0ef3496997412eb5e697bc85eb09a28f8c9 | /supervised_learning/0x06-keras/5-main.py | 4c36d29b9b95d170647282429ea17053b98b29ca | [] | no_license | oran2527/holbertonschool-machine_learning | aaec2ffe762b959573f98a5f4e002272a5d643a3 | 8761eb876046ad3c0c3f85d98dbdca4007d93cd1 | refs/heads/master | 2023-08-14T00:37:31.163130 | 2021-09-20T13:34:33 | 2021-09-20T13:34:33 | 330,999,053 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,440 | py | #!/usr/bin/env python3
"""
Main file
"""
# Force Seed - fix for Keras
SEED = 0
import os
os.environ['PYTHONHASHSEED'] = str(SEED)
import random
random.seed(SEED)
import numpy as np
np.random.seed(SEED)
import tensorflow as tf
tf.set_random_seed(SEED)
import tensorflow.keras as K
session_conf = tf.ConfigProto(intra_op... | [
"orlago250183@gmail.com"
] | orlago250183@gmail.com |
a2d10d6ff44f902b929f0b62b703589f1f7756f7 | 19d43b8c175bb5304393cf9c259eacb7110dd4fc | /objectModel/Python/cdm/resolvedmodel/resolved_attribute.py | 77b50937eb6d60885c0362dca92be9f242d7eb5e | [
"CC-BY-4.0",
"MIT"
] | permissive | bissont/CDM | 3fd814566ea1bf9d19e300cd5b438b384ce4bcba | 0cffb140e0b41e526be072b547cae91a03c4cd6f | refs/heads/master | 2020-12-29T12:55:23.822187 | 2020-02-05T02:19:27 | 2020-02-05T02:19:27 | 238,614,156 | 1 | 0 | null | 2020-02-06T05:21:51 | 2020-02-06T05:21:50 | null | UTF-8 | Python | false | false | 5,092 | py | # ----------------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
# All rights reserved.
# ----------------------------------------------------------------------
from typing import Any, cast, Optional, Union, TYPE_CHECKING
from cdm.resolvedmodel.resolved_trait_set import... | [
"nebanfic@microsoft.com"
] | nebanfic@microsoft.com |
990db47ec28843c8eb2d8542de7e375dbb43c859 | 9c37742bdd09ccfb02da09be79e20b7333694d9b | /pyswagger/tests/v1_2/test_app.py | d65c18e48ea45b37e6f89ececb380e1a155dc7f9 | [
"MIT"
] | permissive | simudream/pyswagger | 72eea9a24140d3dfbb4f6a4537e10a9b07c4d09f | 1dcf7ab291d9535dfdb705e0cb0e2c6f2b0fb474 | refs/heads/master | 2020-12-11T05:32:38.335378 | 2015-01-22T11:39:10 | 2015-01-22T11:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,178 | py | from pyswagger import SwaggerApp, errs
from ..utils import get_test_data_folder
from pyswagger.spec.v2_0.objects import (
Schema,
Operation,
)
import unittest
import httpretty
import os
import six
class HTTPGetterTestCase(unittest.TestCase):
""" test HTTPGetter """
@httpretty.activate
def test_ht... | [
"missionaryliao@gmail.com"
] | missionaryliao@gmail.com |
4403e503e127c23cb397fe72eb4aca8267bc9fc4 | a2d36e471988e0fae32e9a9d559204ebb065ab7f | /huaweicloud-sdk-cloudrtc/huaweicloudsdkcloudrtc/v2/model/update_url_auth_request.py | 8044913f81326b931d750d21e5b323e8a54d90bf | [
"Apache-2.0"
] | permissive | zhouxy666/huaweicloud-sdk-python-v3 | 4d878a90b8e003875fc803a61414788e5e4c2c34 | cc6f10a53205be4cb111d3ecfef8135ea804fa15 | refs/heads/master | 2023-09-02T07:41:12.605394 | 2021-11-12T03:20:11 | 2021-11-12T03:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,802 | py | # coding: utf-8
import re
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class UpdateUrlAuthRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The k... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
e1b8a2a3c79e07c69c40d3e8faf146679ada1d3f | c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c | /cases/synthetic/sieve-big-3235.py | b14f9bb2d964539516ff9bba1aaebca7d5ad3f67 | [] | no_license | Virtlink/ccbench-chocopy | c3f7f6af6349aff6503196f727ef89f210a1eac8 | c7efae43bf32696ee2b2ee781bdfe4f7730dec3f | refs/heads/main | 2023-04-07T15:07:12.464038 | 2022-02-03T15:42:39 | 2022-02-03T15:42:39 | 451,969,776 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 31,737 | py | # A resizable list of integers
class Vector(object):
items: [int] = None
size: int = 0
def __init__(self:"Vector"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector") -> int:
return len(self.items)
# Increases capacity of vector by one element
def incr... | [
"647530+Virtlink@users.noreply.github.com"
] | 647530+Virtlink@users.noreply.github.com |
a448c9227d0b822d8e2f908cfc10bd93e53162b2 | eacfc1c0b2acd991ec2cc7021664d8e79c9e58f6 | /ccpnmr2.4/python/memops/gui/DataEntry.py | e60cff844461888a85150c46163e540f8db69eb0 | [] | no_license | edbrooksbank/ccpnmr2.4 | cfecb0896dcf8978d796e6327f7e05a3f233a921 | f279ca9bb2d972b1ce075dad5fcc16e6f4a9496c | refs/heads/master | 2021-06-30T22:29:44.043951 | 2019-03-20T15:01:09 | 2019-03-20T15:01:09 | 176,757,815 | 0 | 1 | null | 2020-07-24T14:40:26 | 2019-03-20T14:59:23 | HTML | UTF-8 | Python | false | false | 5,930 | py |
"""
======================COPYRIGHT/LICENSE START==========================
DataEntry.py: <write function here>
Copyright (C) 2005 Wayne Boucher, Rasmus Fogh, Tim Stevens and Wim Vranken (University of Cambridge and EBI/MSD)
=======================================================================
This library is fr... | [
"ejb66@le.ac.uk"
] | ejb66@le.ac.uk |
3fde9b355dbfa3a54a9aa52d7be9cb574bc0ad08 | 8ac8c254db733ac5c021582daeb49931f8ab1d92 | /src/glomerulus/search/pws_clone/__init__.py | 7e0bed2c769525c1989a012cb60860426e4325a3 | [] | no_license | kaglowka/glomerulus | c5d0490427f724a733b001b200fb31cfab57f117 | 6f18f9961b2c17725555c5b53d9408228169be00 | refs/heads/master | 2022-12-10T01:40:12.374036 | 2018-01-22T22:14:37 | 2018-01-22T22:14:37 | 117,331,213 | 0 | 0 | null | 2022-12-07T23:45:30 | 2018-01-13T09:30:57 | Jupyter Notebook | UTF-8 | Python | false | false | 50 | py | from .google import Google
from .bing import Bing
| [
"krz.glowka@gmail.com"
] | krz.glowka@gmail.com |
26badfb0c04bfb46b37abe64726a3d5fcd24a87b | a0134ad7265d7460e7ca9127686a850e7e826da5 | /models/test/chainer/ctc/test_hierarchical_ctc.py | 6acb356d8f73a700f3e2254af919d20d8b8891ad | [] | no_license | carolinebear/pytorch_end2end_speech_recognition | 09ce03fb878353db1e25f599a62537655650a19c | b6b60a338d65bb369d0034f423feb09db10db8b7 | refs/heads/master | 2020-03-19T05:56:51.396599 | 2018-06-01T09:35:49 | 2018-06-01T09:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,830 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""Test hierarchical CTC models (chainer)."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
import time
import unittest
sys.path.append('../../../../')
from models.chainer.ctc.hierarchical_ctc im... | [
"hiro.mhbc@gmail.com"
] | hiro.mhbc@gmail.com |
a605dfcfc2f4d00faa17e9fbac69fb61a709b560 | b35469b3a3ef3ecb8da35a178ba0994bae2989b3 | /kubevirt/models/v1_pci_host_device.py | 65d45e6884a716731c600aef51e52b927476c143 | [
"Apache-2.0"
] | permissive | CHsixnine/client-python | 4802d76bbe3761a1311038665d931349298bcd81 | 315335602923dacbc3b73b23339002d69a5a41cc | refs/heads/master | 2023-03-20T22:45:25.578704 | 2021-03-17T07:34:18 | 2021-03-17T07:34:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,120 | py | # coding: utf-8
"""
KubeVirt API
This is KubeVirt API an add-on for Kubernetes.
OpenAPI spec version: 1.0.0
Contact: kubevirt-dev@googlegroups.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class V1PciHos... | [
"travis@travis-ci.org"
] | travis@travis-ci.org |
374fb7f9548ddb214ed23c9f91baa6f51c6ecd9a | eb722922339781fa6bd9937e69383fcd06256738 | /day1/kapua-python-client/swagger_client/models/user_query.py | f40b1b68ccf746a9a9f1ae2d1ffd2154a5689df1 | [
"MIT"
] | permissive | mrsrinivas/diec | 6a0c5da26ff23170b71217bfbc810bb98a897a83 | ae9a5203b506d5cc18cb381666351bf9ce6b9b6c | refs/heads/master | 2021-01-05T05:41:19.394898 | 2020-01-15T06:24:33 | 2020-01-15T06:24:33 | 240,901,175 | 1 | 0 | MIT | 2020-02-16T13:59:53 | 2020-02-16T13:59:52 | null | UTF-8 | Python | false | false | 6,757 | py | # coding: utf-8
"""
Eclipse Kapua REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
i... | [
"noreply@github.com"
] | mrsrinivas.noreply@github.com |
a65ad9748193a80ca6ea3a3b9948f43ba7938fbe | 60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24 | /IronPythonStubs/release/stubs.min/System/ComponentModel/__init___parts/DataObjectAttribute.py | fa31cc9ac8a0bb5e911aa72b7329df96aa63c06d | [
"MIT"
] | permissive | shnlmn/Rhino-Grasshopper-Scripts | a9411098c5d1bbc55feb782def565d535b27b709 | 0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823 | refs/heads/master | 2020-04-10T18:59:43.518140 | 2020-04-08T02:49:07 | 2020-04-08T02:49:07 | 161,219,695 | 11 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,065 | py | class DataObjectAttribute(Attribute,_Attribute):
"""
Identifies a type as an object suitable for binding to an System.Web.UI.WebControls.ObjectDataSource object. This class cannot be inherited.
DataObjectAttribute()
DataObjectAttribute(isDataObject: bool)
"""
def Equals(self,obj):
"""
Equals(self: DataOb... | [
"magnetscoil@gmail.com"
] | magnetscoil@gmail.com |
c88a4d8e2cc001c7b88a803278245d24cd0071ad | 834e36fb8e87b129eb1d67d058132c32a430229a | /rest_framework/lib/orm/peewee.py | 9ba14b497de2490da6db604cd9c15cbdba049227 | [] | no_license | sjl421/tornado-rest-framework | bea06fa8278e4831fcd38abfb6c8aa69e4e1e436 | c61d11020d5e680b8d1c01469d764517484665bd | refs/heads/master | 2020-03-18T21:09:53.524478 | 2018-05-11T04:57:57 | 2018-05-11T04:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 168,492 | py | # -*- coding: utf-8 -*-
import re
import time
import uuid
import weakref
import calendar
import datetime
import decimal
import hashlib
import itertools
import logging
import operator
import threading
from copy import deepcopy
from functools import wraps
from inspect import isclass
from collections import Callable
from ... | [
"caowenbin@xuetangx.com"
] | caowenbin@xuetangx.com |
609021985877b887a2b29d318d6e4ee09ffbc4df | 95b9fc9e1a109ee8612583221269aa5eb4f7de4a | /mysitea/settings.py | b82bd4078e0e56e73872ed0b18115c84b22b545c | [] | no_license | Choi0427/mysitea | d3af19cf8cca3e28b13e8c6f8ec9ec1331ad9636 | bda03507ba3f0a5f22ea061811ac13b0afe6bfa4 | refs/heads/master | 2023-01-28T12:57:21.857301 | 2020-12-07T13:04:28 | 2020-12-07T13:04:28 | 319,324,689 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,065 | py | """
Django settings for mysitea project.
Generated by 'django-admin startproject' using Django 3.1.4.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib... | [
"you@example.com"
] | you@example.com |
960c42bb96022428399d3f6c90afa9aafe47ae6a | 09e8c92187ff8d7a726727041e2dd80850dcce3d | /leetcode/965_univalued_binary_tree.py | e0da41251305a9165e61a661dbd73b04870d0e67 | [] | no_license | kakru/puzzles | 6dd72bd0585f526e75d026f3ba2446b0c14f60e0 | b91bdf0e68605f7e517446f8a00b1e0f1897c24d | refs/heads/master | 2020-04-09T09:47:31.341475 | 2019-05-03T21:24:41 | 2019-05-03T21:24:41 | 160,246,660 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 970 | py | #!/usr/bin/env python3
# Definition for a binary tree node.
class TreeNode(object):
def __init__(self, x, left=None, right=None):
self.val = x
self.left = left
self.right = right
class Solution(object):
def isUnivalTree(self, root):
"""
:type root: TreeNode
:rty... | [
"karol@kruzelecki.com"
] | karol@kruzelecki.com |
cc1b9a672163c2594baee1485636929c3ba41bf0 | 3955c3f367a3a60f8602dcb4609faec9898438bb | /graylog/apis/systemshutdown_api.py | 255334f55b57fe4bd65f0fe6abe937ca07111116 | [
"Apache-2.0"
] | permissive | MinhKMA/graylog.py | e89c34defa5422d59d0a501355058f5eb2dfe68c | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | refs/heads/master | 2021-05-06T21:03:06.946509 | 2016-09-23T04:31:13 | 2016-09-23T04:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,316 | py | # coding: utf-8
"""
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.1.1+01d50e5
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you m... | [
"on99@users.noreply.github.com"
] | on99@users.noreply.github.com |
77cfd36b65d609b44e3fa1b960fbfb54748bfadd | e9172452ed3777653ec7a4c7ef6d2269a2309a4c | /pandasRollingStats.py | 30244426f797b5c72c4db22f9f4bba209db9fc6a | [] | no_license | aiporre/QuinoaMarketForecast | ec7163ea52e7c63c34448c302d4539b96270a3dd | b76bf5380b930859392a7c6c46eade2464a94143 | refs/heads/master | 2021-09-24T09:20:13.704502 | 2016-10-03T06:51:14 | 2016-10-03T06:51:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,524 | py |
import pandas as pd
import quandl
import matplotlib.pyplot as plt
from matplotlib import style
style.use('fivethirtyeight')
def get_zinc_price():
api_key = open('data/myApiKey.txt', 'r').read()
gold = quandl.get('ODA/PZINC_USD', authtoken=api_key)
pd.DataFrame(gold).to_pickle('data/zinc.pickle')
def ge... | [
"ariel.iporre.rivas@gmail.com"
] | ariel.iporre.rivas@gmail.com |
039b5a5d6166730f71fa8dbae29bca022fb667b1 | a3cc7286d4a319cb76f3a44a593c4a18e5ddc104 | /lib/surface/logging/metrics/delete.py | 0fce2d106ce17d119936f16b3a3b14351d2e6cd1 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | jordanistan/Google-Cloud-SDK | f2c6bb7abc2f33b9dfaec5de792aa1be91154099 | 42b9d7914c36a30d1e4b84ae2925df7edeca9962 | refs/heads/master | 2023-09-01T01:24:53.495537 | 2023-08-22T01:12:23 | 2023-08-22T01:12:23 | 127,072,491 | 0 | 1 | NOASSERTION | 2023-08-22T01:12:24 | 2018-03-28T02:31:19 | Python | UTF-8 | Python | false | false | 1,918 | 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... | [
"jordan.robison@gmail.com"
] | jordan.robison@gmail.com |
70e4497255159185bbd2c4946a1eb958f6f1520f | 4178f2916d2da72cbb45454fbed941dcfe8f6460 | /POM_test/TestCase/Detail_Profile/TC_005.py | a8f7d88a1374eb3444ef223474fdf03a291f71c2 | [] | no_license | maxcrup007/Selenium_Webdriver_Python | 15196cb04ba5cafdc5b776c26d167f0b48fb0e14 | 6be7f0b9f53df1ba592957029e8a4d22e409d1c4 | refs/heads/main | 2023-03-24T21:04:31.976451 | 2021-03-22T09:16:04 | 2021-03-22T09:16:04 | 349,379,454 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,008 | py |
# ทดสอบการเข้าใช้งานของ "ข้อมูลส่วนตัว"
import time
import unittest
import sys
from selenium import webdriver
from selenium.webdriver import ActionChains
from POM_test.login import *
from POM_test.profilePage import *
from POM_test.scrollbar import *
import os
sys.path.append(os.path.join(os.path.dirname(__file__... | [
"36732487+maxcrup007@users.noreply.github.com"
] | 36732487+maxcrup007@users.noreply.github.com |
2a1e29bb5786850365a0cf5fca0e7f577085fec3 | 36e593943be060ca5ea74a3d45923aba422ad2c9 | /ThinkBayes/code/dungeons.py | 0df9ed07edd9dfe1089ba8c63d598987c192d448 | [] | no_license | xjr7670/book_practice | a73f79437262bb5e3b299933b7b1f7f662a157b5 | 5a562d76830faf78feec81bc11190b71eae3a799 | refs/heads/master | 2023-08-28T19:08:52.329127 | 2023-08-24T09:06:00 | 2023-08-24T09:06:00 | 101,477,574 | 3 | 1 | null | 2021-06-10T18:38:54 | 2017-08-26T09:56:02 | Python | UTF-8 | Python | false | false | 2,831 | py | """This file contains code for use with "Think Bayes",
by Allen B. Downey, available from greenteapress.com
Copyright 2012 Allen B. Downey
License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html
"""
import random
import thinkbayes
import thinkplot
FORMATS = ['pdf', 'eps', 'png']
class Die(thinkbayes.Pmf):
"""... | [
"xjr30226@126.com"
] | xjr30226@126.com |
9cdb76e81612b5b87a3078f6f2c985f285dbbe6e | be7a79f3c590f0923f1e793c6a36cfebd9ca4d01 | /brocolli/converter/onnx_layers/concat_func.py | 32b54e65699b614aff8c4d4dff1d7f195fd89e83 | [
"MIT"
] | permissive | inisis/brocolli | f255d44dc9148fd2b3bc82f6a21e429a579399b4 | 46a3d8c5e19e481746a9c8a85c5e9a71a49b846c | refs/heads/master | 2023-07-22T09:37:19.480983 | 2023-07-17T14:25:35 | 2023-07-17T14:25:35 | 168,733,444 | 326 | 72 | MIT | 2023-06-04T17:03:43 | 2019-02-01T17:17:22 | Python | UTF-8 | Python | false | false | 905 | py | from loguru import logger
from onnx import helper
from onnx import TensorProto as tp
from .base_layer import BaseLayer
class ConcatFunc(BaseLayer):
def __init__(self, source_node, module=None, auto_gen=True):
super(ConcatFunc, self).__init__(source_node, module, auto_gen)
def get_concat_attr(self):... | [
"desmond.yao@buaa.edu.cn"
] | desmond.yao@buaa.edu.cn |
ef02ad50203e98899613e15fe68a62ebf283e4ce | fed6c6bdb6276d195bc565e527c3f19369d22b74 | /selection_bias/bias_check/multi_pole_fit.py | 4baa664a7c606616ae4c495cdcb11ac8dcdde1f8 | [] | no_license | hekunlie/astrophy-research | edbe12d8dde83e0896e982f08b463fdcd3279bab | 7b2b7ada7e7421585e8993192f6111282c9cbb38 | refs/heads/master | 2021-11-15T05:08:51.271669 | 2021-11-13T08:53:33 | 2021-11-13T08:53:33 | 85,927,798 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,795 | py | import os
my_home = os.popen("echo $MYWORK_DIR").readlines()[0][:-1]
from sys import path, argv
path.append('%s/work/mylib/' % my_home)
import numpy
from mpi4py import MPI
import h5py
from plot_tool import Image_Plot
from Fourier_Quad import Fourier_Quad
import component_fit
comm = MPI.COMM_WORLD
rank = comm.Get_rank... | [
"hekun_lee@sjtu.edu.cn"
] | hekun_lee@sjtu.edu.cn |
a0a83028a3a6053fbf17d8665c12eeb4ad4e51ef | c47340ae6bcac6002961cc2c6d2fecb353c1e502 | /test/test_passwords_object.py | f302c422a7a0449e34de00837f7cdeffa116807f | [
"MIT"
] | permissive | rafaeldelrey/controlm_py | 6d9f56b8b6e72750f329d85b932ace6c41002cbd | ed1eb648d1d23e587321227217cbfcc5065535ab | refs/heads/main | 2023-04-23T09:01:32.024725 | 2021-05-19T00:25:53 | 2021-05-19T00:25:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 911 | py | # coding: utf-8
"""
Control-M Services
Provides access to BMC Control-M Services # noqa: E501
OpenAPI spec version: 9.20.115
Contact: customer_support@bmc.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import con... | [
"dcompane@gmail.com"
] | dcompane@gmail.com |
5231b1176e669d8aa95fff862a57be460421e78e | ae2695f60480aa9dbe2acf68309d7918b67c6954 | /alembic/versions/aca6937e73_committee_summary_te.py | d71879fcec60efa04167e13acbb5c7c1a6ddbb46 | [
"MIT"
] | permissive | mgax/mptracker | 0853dd11a7b15bce8d535eb86f65c1e37596a4e6 | e8d3c489aed36c70f81e89626f02e735e5890435 | refs/heads/master | 2023-02-22T03:53:26.481927 | 2020-08-19T09:25:58 | 2020-08-19T09:25:58 | 11,983,896 | 4 | 6 | MIT | 2023-02-02T07:16:26 | 2013-08-08T18:52:45 | Python | UTF-8 | Python | false | false | 278 | py | revision = 'aca6937e73'
down_revision = '58f2cb9046f'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('committee_summary',
sa.Column('text', sa.Text(), nullable=True))
def downgrade():
op.drop_column('committee_summary', 'text')
| [
"alex@grep.ro"
] | alex@grep.ro |
10eb3ff34e111d759aa4124b34648aabc0a84e52 | 5febc7f6386fbe18e8788041c0f8f6be4aabe2af | /lenstronomy/LensModel/Profiles/shapelet_pot_polar.py | 3b22b7118cdf8bb86a63a8d3173136ac9a95197c | [
"MIT"
] | permissive | guoxiaowhu/lenstronomy | 2b3aa10d6c72061edfd179d773948a40d9c2014a | dcdfc61ce5351ac94565228c822f1c94392c1ad6 | refs/heads/master | 2020-04-05T08:10:34.836586 | 2018-11-06T18:34:52 | 2018-11-06T18:34:52 | 156,704,299 | 1 | 0 | MIT | 2018-11-08T12:33:00 | 2018-11-08T12:33:00 | null | UTF-8 | Python | false | false | 9,446 | py | __author__ = 'sibirrer'
# description of the polar shapelets in potential space
import numpy as np
import scipy.special
import math
import lenstronomy.Util.param_util as param_util
class PolarShapelets(object):
"""
this class contains the function and the derivatives of the Singular Isothermal Sphere
"... | [
"simon.birrer@pyhs.ethz.ch"
] | simon.birrer@pyhs.ethz.ch |
f510be9f877cf397ceb2bf6817365f456d8d5106 | 6490638f15a2dfbe0cec9725186f9784d57c92f0 | /SCOS/__init__.py | a6e179ad6b3b0a273223cde1aa960d4a7e93d834 | [
"MIT"
] | permissive | khawatkom/SpacePyLibrary | af9c490ef796b9d37a13298c41df1fb5bf6b3cee | c94415e9d85519f345fc56938198ac2537c0c6d0 | refs/heads/master | 2020-05-14T21:52:39.388979 | 2019-04-17T17:06:04 | 2019-04-17T17:06:04 | 181,970,668 | 1 | 0 | null | 2019-04-17T21:26:44 | 2019-04-17T21:26:44 | null | UTF-8 | Python | false | false | 1,145 | py | #******************************************************************************
# (C) 2018, Stefan Korner, Austria *
# *
# The Space Python Library is free software; you can redistribute it and/or *
... | [
"korner-hajek@gmx.at"
] | korner-hajek@gmx.at |
e4ce7e967120ec413c360cfb38e9419d4965a57c | 5abf069ff84cb7ea465069c258c144460649da35 | /desktop/toolkit/qscintilla2/actions.py | 813c39c4e18bf77a3179ae66180e0b5080e6f9a0 | [] | no_license | poyraz76/Packages-Systemd | 7628cf6f6a8808f8766735551956e3dd8da9a2a9 | a515ea0275dc0d8ec38fb6eaacc85904dde9f286 | refs/heads/master | 2021-01-09T05:51:48.542336 | 2017-02-04T10:25:22 | 2017-02-04T10:25:22 | 80,849,530 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,161 | 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
from pi... | [
"ergunsalman@hotmail.com"
] | ergunsalman@hotmail.com |
a46e60ebdf24c5dc1a7a082a563e503deea9c428 | 9977e4a5cb94760b380bd0de0faab9c04a3d94db | /examples/plot_simulation2d.py | 84f7ae9dcd7f6be0d65082772180cb538387b9ec | [] | no_license | vishalbelsare/mtw | 82e76826f1382b9602eadad835a9b6355923505c | e15e918774bb5b1e020c5b87572004a552eb571e | refs/heads/master | 2022-11-28T18:57:55.045921 | 2019-08-07T21:55:16 | 2019-08-07T21:55:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,779 | py | """
====================
MTW synthetic images
====================
This example generates 3 synthetic sparse images (as regression coefficients)
which are fed to random gaussian matrices X. Increasing the Wasserstein
hyperparameter increases consistency across regression coefficients.
"""
import numpy as np
import ma... | [
"hicham.janati@inria.fr"
] | hicham.janati@inria.fr |
8e75b88201a1a9c29a76c8dbb9c96749e65847cc | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/response/AlipayOpenAppOpenidBatchqueryResponse.py | 852a2cc617b5cca9294234c0928fbc32c01da61e | [
"Apache-2.0"
] | permissive | alipay/alipay-sdk-python-all | 8bd20882852ffeb70a6e929038bf88ff1d1eff1c | 1fad300587c9e7e099747305ba9077d4cd7afde9 | refs/heads/master | 2023-08-27T21:35:01.778771 | 2023-08-23T07:12:26 | 2023-08-23T07:12:26 | 133,338,689 | 247 | 70 | Apache-2.0 | 2023-04-25T04:54:02 | 2018-05-14T09:40:54 | Python | UTF-8 | Python | false | false | 1,574 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.OpenIdValue import OpenIdValue
class AlipayOpenAppOpenidBatchqueryResponse(AlipayResponse):
def __init__(self):
super(AlipayOpenAppOpenidBatchqueryRespon... | [
"jishupei.jsp@alibaba-inc.com"
] | jishupei.jsp@alibaba-inc.com |
457511baa39c93fcb58cbf7a167deb248fbf97f0 | 8deef5778d0104682d9e1c25d5ef8fc9a2e63feb | /PyInstaller/hooks/hook-h5py.py | 449c848a3ec3624f6dc9d192bc3d65a5ea3ac1ff | [
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Weeeendi/Picture2Text | a2715a9c0f2d4749eab4768dea16f9720567557e | 1919d99327b4360291b111fc8c122fffdce7ccc5 | refs/heads/master | 2022-07-03T06:30:55.664995 | 2022-06-03T13:01:35 | 2022-06-03T13:01:35 | 195,062,567 | 0 | 3 | MIT | 2022-06-03T13:01:36 | 2019-07-03T13:47:27 | Python | UTF-8 | Python | false | false | 535 | py | #-----------------------------------------------------------------------------
# Copyright (c) 2013-2018, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this s... | [
"wendi1078771091@gmail.com"
] | wendi1078771091@gmail.com |
b16e2e9a66be9969b417d12be51b37b00ed3b38c | 6cc50a15672155f7d66e88830ad1baec6a061077 | /processing/legacy/icetop_llhratio/python/globals.py | 515a24a58ef19c6d8f525f718693f26293ddc978 | [
"MIT"
] | permissive | jrbourbeau/cr-composition | 16b29c672b2d1c8d75c1c45e35fe6bb60b53ffe2 | e9efb4b713492aaf544b5dd8bb67280d4f108056 | refs/heads/master | 2020-06-24T21:48:21.784277 | 2018-11-01T21:30:56 | 2018-11-01T21:30:56 | 74,618,907 | 0 | 1 | MIT | 2018-08-23T21:01:03 | 2016-11-23T22:31:01 | Jupyter Notebook | UTF-8 | Python | false | false | 3,420 | py |
# -*- coding: utf-8 -*-
#
## copyright (C) 2018
# The Icecube Collaboration
#
# $Id$
#
# @version $Revision$
# @date $LastChangedDate$
# @author Hershal Pandya <hershal@udel.edu> Last changed by: $LastChangedBy$
#
import numpy as np
logEnergyBins = np.linspace(3,8,26)
logEnergyBins=np.array([logEnergyBins[i] for i... | [
"jrbourbeau@gmail.com"
] | jrbourbeau@gmail.com |
058fc6c307680b8132797732d1c2935f208e2cff | 71e43068e82c91acbb3849169d1723f1375ac27f | /test/test_login_params.py | c5ace7940a02f5cf97942e6a18680162679dbcb8 | [
"MIT"
] | permissive | talon-one/talon_one.py | aa08a1dbddd8ea324846ae022e43d441c57028f6 | 917dffb010e3d3e2f841be9cccba5bba1ea6c5c3 | refs/heads/master | 2023-05-11T18:50:00.041890 | 2023-05-03T20:17:39 | 2023-05-03T20:17:39 | 79,575,913 | 1 | 7 | MIT | 2023-05-03T15:10:14 | 2017-01-20T16:29:46 | Python | UTF-8 | Python | false | false | 2,115 | py | # coding: utf-8
"""
Talon.One API
Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-... | [
"noreply@github.com"
] | talon-one.noreply@github.com |
1a310d12e5d6aca3b58eccea94976393c70dcc33 | 836d5f7190f6b4503e758c87c71598f18fdfce14 | /2-Veri-Tipleri-ve-Değişkenler/Float-Veri-Tipi.py | e16df4bfbc907194105af1f6be9ca54d54325f37 | [] | no_license | S-Oktay-Bicici/PYTHON-PROGRAMMING | cf452723fd3e7e8ec2aadc7980208d747c502e9a | 22e864f89544249d6309d6f4570a4104bf47346b | refs/heads/main | 2021-11-30T00:19:21.158084 | 2021-11-16T15:44:29 | 2021-11-16T15:44:29 | 316,716,147 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 461 | py | a = 3.5
print(a)
print(type(a))
b = 2.1
print(b)
print(type(b))
d = 3
print(d)
print(type(d))
z = 3.0
print(z)
print(type(z))
t = 10/5
print(t)
print(type(t))
# // işlemi ile float çıkacak sonucu integer hale getiriyoruz
t = 10//5
print(t)
print(type(t))
#işlem gören sayılardan biri float ise sonuç da float olur
... | [
"noreply@github.com"
] | S-Oktay-Bicici.noreply@github.com |
7b0597275393a4e60df88ff6dabff13ca0bfa6f1 | 61bc53ec90d92aece91753ec5ec9d25e0879a1e2 | /content/pythia/pythia/legacy/top_down_bottom_up/unittests.py | d1f24d7a35974cc3ea42778088b753406f23a637 | [
"BSD-3-Clause"
] | permissive | aluka1994/textvqa | 08a16c9b21ea9c5eca05f5d4d1763c190d2d7275 | 694cb2be08def519ba73be78e34664afa2c607b5 | refs/heads/master | 2021-05-26T23:44:21.973827 | 2020-04-08T22:05:58 | 2020-04-08T22:05:58 | 254,190,630 | 0 | 0 | MIT | 2020-04-08T20:14:11 | 2020-04-08T20:14:10 | null | UTF-8 | Python | false | false | 4,467 | py | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
import unittest
import numpy as np
import torch
from torch.autograd import Variable
from global_variables.global_varia... | [
"anandkumar@instance-1.us-central1-a.c.andromanit.internal"
] | anandkumar@instance-1.us-central1-a.c.andromanit.internal |
c50c0e9005ec170abfa46abc1f26c3c35a8a774c | a99a44aee5cfc5e080f6d83d2bcc1c3d273a3426 | /htdocs/plotting/auto/scripts/p98.py | fce3feefb062bd6cee36902c4ba30cf7d0d5e9f0 | [
"MIT"
] | permissive | ragesah/iem | 1513929c8bc7f254048271d61b4c4cf27a5731d7 | 8ed970d426bddeaa3e7ded593665d22f0f9f6e87 | refs/heads/main | 2023-08-20T20:01:15.480833 | 2021-10-12T15:44:52 | 2021-10-12T15:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,728 | py | """Day of month frequency."""
import calendar
import numpy as np
from pandas.io.sql import read_sql
from pyiem import network
from pyiem.plot import figure_axes
from pyiem.util import get_autoplot_context, get_dbconn
from pyiem.exceptions import NoDataFound
PDICT = {
"precip": "Daily Precipitation",
"snow": "... | [
"akrherz@iastate.edu"
] | akrherz@iastate.edu |
ed65d8cabf8d7f04c1951349663419deb2979c50 | 0d9b5c2842721c2246d4b58890511d154fa6df1b | /myadmin/migrations/0018_auto_20180311_1219.py | b7424714cb179baa93c9eeaf22cf4097a6e17e01 | [] | no_license | bhavingandha9/senseshop | 862c13056cd4f53b265d040fc05337e6e46841e9 | b2982399bc8223c5eeeb25ce9e1edbd4449d6e93 | refs/heads/master | 2021-04-30T08:10:23.039521 | 2018-06-06T16:21:53 | 2018-06-06T16:21:53 | 121,368,692 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 462 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2018-03-11 06:49
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myadmin', '0017_auto_20180311_1212'),
]
operations = [
migrations.AlterField... | [
"="
] | = |
7b2ae6979df18c1e5d9c6f4544cb5b8e95eb7e4a | 6d50225574554cf651b7693f22115f6e0a2f3c58 | /upyutils/SD_AM.py | 59562cc33a81736240fbd8568190cf173f43efb0 | [
"MIT"
] | permissive | tovam/upydev | abc8f9af5667821bb4644bafcead5f847a4114a1 | 0f9b73cb55750c291d2d016a3fd29d2feb71b8fc | refs/heads/master | 2022-10-03T12:43:38.699244 | 2020-06-07T12:58:19 | 2020-06-07T12:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,434 | py | #!/usr/bin/env python
# @Author: carlosgilgonzalez
# @Date: 2019-07-05T20:19:56+01:00
# @Last modified by: carlosgilgonzalez
# @Last modified time: 2019-07-10T00:55:01+01:00
from machine import SPI, Pin
import sdcard
import os
import time
# sd detect pin (15)
sd_detect = Pin(15, Pin.IN, pull=None)
sd_detect.value... | [
"carlosgilglez@gmail.com"
] | carlosgilglez@gmail.com |
a89274a540eccad2f64b0f01e06449ec329ce901 | 66052f5ba08ddac0a56ee140af17cf78b1ff1174 | /PLURALSIGHT_BEGINNERS/lib/python3.9/site-packages/anyio/_core/_compat.py | 8a0cfd088eadb36ec9786f05ab4ea9ab959ecd8e | [] | no_license | enriquefariasrdz/Python | 34704ceed001bbe8a23471eebefbe536b00031a5 | b9191f7ad87b709a1b83c5cb3797a866b56aaa0d | refs/heads/master | 2022-12-26T03:06:26.481456 | 2022-04-20T14:09:57 | 2022-04-20T14:09:57 | 27,020,899 | 1 | 1 | null | 2022-12-18T21:02:43 | 2014-11-23T03:33:52 | Python | UTF-8 | Python | false | false | 5,668 | py | from abc import ABCMeta, abstractmethod
from contextlib import AbstractContextManager
from types import TracebackType
from typing import (
TYPE_CHECKING, Any, AsyncContextManager, Callable, ContextManager, Generator, Generic,
Iterable, List, Optional, Tuple, Type, TypeVar, Union, overload)
from warnings import ... | [
"enriquefariasrdz@gmail.com"
] | enriquefariasrdz@gmail.com |
2483ff0fde5338d50146941302debdfaf00f2b29 | 27aaadf435779c29012233cb1dacf27bd9dd0d0f | /adp-20210720/alibabacloud_adp20210720/client.py | 0742f891433504b77026d9a6761b748bb785d24a | [
"Apache-2.0"
] | permissive | aliyun/alibabacloud-python-sdk | afadedb09db5ba6c2bc6b046732b2a6dc215f004 | e02f34e07a7f05e898a492c212598a348d903739 | refs/heads/master | 2023-08-22T20:26:44.695288 | 2023-08-22T12:27:39 | 2023-08-22T12:27:39 | 288,972,087 | 43 | 29 | null | 2022-09-26T09:21:19 | 2020-08-20T10:08:11 | Python | UTF-8 | Python | false | false | 309,365 | py | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from typing import Dict
from Tea.core import TeaCore
from alibabacloud_tea_openapi.client import Client as OpenApiClient
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_tea_util.client import Client as UtilCl... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
d99f160d8ad572b13e39fa68ab9d1c9ebaeb17c3 | 493c7d9678a0724736fb9dd7c69580a94099d2b4 | /apps/organization/models.py | 81669bc929ff0415215ac5e9aca33cf0d6ca3b2d | [] | no_license | cuixiaozhao/MxOnline | e253c8c5f5fa81747d8e1ca064ce032e9bd42566 | c96ae16cea9ad966df36e9fcacc902c2303e765c | refs/heads/master | 2020-03-29T18:47:11.158275 | 2018-10-22T14:06:50 | 2018-10-22T14:06:50 | 150,231,387 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,442 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from datetime import datetime
from django.db import models
# Create your models here.
class CityDict(models.Model):
name = models.CharField(max_length=20, verbose_name=u"城市")
desc = models.CharField(max_length=200, verbose_name=u"描述")
add_ti... | [
"19930911cXS"
] | 19930911cXS |
68231ea1fdfc7c7ce7e6f4d578d950648ba1ba6d | c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c | /cases/synthetic/coverage-big-4579.py | 8c13f6cc0c32208121d23fd4704cad007abaacf3 | [] | no_license | Virtlink/ccbench-chocopy | c3f7f6af6349aff6503196f727ef89f210a1eac8 | c7efae43bf32696ee2b2ee781bdfe4f7730dec3f | refs/heads/main | 2023-04-07T15:07:12.464038 | 2022-02-03T15:42:39 | 2022-02-03T15:42:39 | 451,969,776 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,347 | py | count:int = 0
count2:int = 0
count3:int = 0
count4:int = 0
count5:int = 0
def foo(s: str) -> int:
return len(s)
def foo2(s: str, s2: str) -> int:
return len(s)
def foo3(s: str, s2: str, s3: str) -> int:
return len(s)
def foo4(s: str, s2: str, s3: str, s4: str) -> int:
return len(s)
def foo5(s: str,... | [
"647530+Virtlink@users.noreply.github.com"
] | 647530+Virtlink@users.noreply.github.com |
ef3f10ffb9fb82da880e30592f7c192f58c36a89 | 2fc65c833223d282bd9867729ad3ed054c0832c2 | /timetable/Section/router.py | 308f412c58640aa5d05ae79329afb640054f1a26 | [] | no_license | libbyandhelen/DB_timetable | 72b744ec332e5c1c3e242df1df6b4373493472ba | 17936821b7064bed2ebb51289e5a9b0e131929d1 | refs/heads/master | 2020-09-21T20:43:55.008545 | 2019-12-12T01:18:48 | 2019-12-12T01:18:48 | 224,921,739 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,304 | py | from Section.views import get_selected_sections_by_user, create_select_section, delete_select_section, \
create_select_section_by_section_id
from base.error import Error
from base.response import error_response
def router_selectsection(request):
"""
/api/usersections
GET: get_selected_sections_by_user... | [
"libbyandhelen@163.com"
] | libbyandhelen@163.com |
4fc695ac70d158a6cba3bae5ba199844e1cd2fc5 | 80dbb004883779f51733f5382040f940507e9180 | /youtube/urls.py | 5ade2eef4a72366cff05f9902e55dac1992d6caf | [] | no_license | Shayan-9248/youtube_search | 94824398f498022fb53aa5ca7f08ba6008f70396 | e07d9a2aa0dac0d76675db028c3584583151b31d | refs/heads/master | 2023-03-26T06:07:55.303627 | 2021-03-24T15:21:19 | 2021-03-24T15:21:19 | 350,349,734 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 131 | py | from django.urls import path
from . import views
app_name = 'youtube'
urlpatterns = [
path('', views.index, name='index'),
] | [
"shayan.aimoradii@gmail.com"
] | shayan.aimoradii@gmail.com |
7e7469802b3c5b924e652ee98673659d9cfede94 | 6a5477e9bfae8110b2203182ad1db0517d09b2f2 | /Realestate4/Tagent4/models.py | 132aff2e669b0c6bb3868eae0e56314f45160235 | [] | no_license | Jagadishbommareddy/multiadress | b90f46ef80b50ddae8d8499e3e8c2d56d10796a9 | a8fa8f5fe2803f66bd7e5a8668e82b589df846b5 | refs/heads/master | 2021-01-23T10:04:07.921653 | 2017-09-06T12:16:31 | 2017-09-06T12:16:31 | 102,604,529 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,237 | py | from django.core.urlresolvers import reverse
from django.db import models
from .validations import *
class Agent(models.Model):
agent_id= models.AutoField(primary_key=True)
first_name= models.CharField(max_length=20,validators=[validate_first_name])
last_name= models.CharField(max_length=20,validators... | [
"noreply@github.com"
] | Jagadishbommareddy.noreply@github.com |
2f217ccdcd79a8d5bb7e6c3d2f7d2ab5c1838d56 | 742f15ee3880306a946df7efee0020e42684b109 | /out/string/python-flask/openapi_server/models/variable_collection.py | 9cfe8be729a4ce32a9dd09c941f50f540d31840e | [] | no_license | potiuk/airflow-api-clients | d0196f80caf6e6f4ecfa6b7c9657f241218168ad | 325ba127f1e9aa808091916d348102844e0aa6c5 | refs/heads/master | 2022-09-14T00:40:28.592508 | 2020-05-31T10:05:42 | 2020-05-31T10:15:55 | 268,128,082 | 0 | 0 | null | 2020-05-30T17:28:04 | 2020-05-30T17:28:03 | null | UTF-8 | Python | false | false | 1,941 | py | # coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from openapi_server.models.base_model_ import Model
from openapi_server.models.variable_collection_item import VariableCollectionItem
from openapi_server import util
f... | [
"kamil.bregula@polidea.com"
] | kamil.bregula@polidea.com |
2dc861a7f683325aeac69c4dacf18f63fa19f428 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Examples/Infovis/Python/streaming_statistics_pyqt.py | 6f778bc6de891077741ee6e337ac42522a554388 | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,739 | py | #!/usr/bin/env python
from __future__ import print_function
from vtk import *
import os.path
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()
data_dir = VTK_DATA_ROOT + "/Data/Infovis/SQLite/"
if not os.path.exists(da... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
bde2d17546e4aff0de68b15ffb0c5f017dea7c68 | e6dab5aa1754ff13755a1f74a28a201681ab7e1c | /.parts/lib/django-1.3/django/conf/locale/zh_CN/formats.py | 00fa8f4a3fd541170626603a495a7c857d6c9a15 | [] | no_license | ronkagan/Euler_1 | 67679203a9510147320f7c6513eefd391630703e | 022633cc298475c4f3fd0c6e2bde4f4728713995 | refs/heads/master | 2021-01-06T20:45:52.901025 | 2014-09-06T22:34:16 | 2014-09-06T22:34:16 | 23,744,842 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 101 | py | /home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/django/conf/locale/zh_CN/formats.py | [
"ron.y.kagan@gmail.com"
] | ron.y.kagan@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.