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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
759560479a1e4b13d2472efb035ca54585168fde | c57da088ba85fe9a1d73707797fffb237268717a | /dashboard/apps/hub/migrations/0028_auto__del_field_election_office__del_field_election_district__del_uniq.py | e08654c61dab12540d0b3fc74e12d2e2c68416c6 | [
"MIT"
] | permissive | GPHemsley/dashboard | f8cf4163597e8a49dae347a9581448f23b459e0e | 892d68566ac6fafe88b7546d8509619eb8fd6676 | refs/heads/master | 2020-03-27T23:04:20.433348 | 2018-09-04T10:47:26 | 2018-09-04T10:47:26 | 147,287,666 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,375 | py | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'Election', fields ['end_date', 'office', 'state', 'race_type', 'organization', 'dis... | [
"zstumgoren@gmail.com"
] | zstumgoren@gmail.com |
54013c36a6e35a180dd0e6b285b2cdbc207b7a6f | 385ed58325dd0cc75bdb9fd3e61c5e005f7a4f28 | /source/tuyoo/src/poker/entity/game/rooms/arena_match_ctrl/matchtest.py | 3b8daba5fcd923b40d85e49d509432c699b9ddc2 | [] | no_license | csirui/hall37 | 17dfa4e4f1f8bf719d0c11ac7738fa4c14fd06db | 5c4eb4b2bf57bbbee4731470c830d8d81915d603 | refs/heads/master | 2021-09-04T03:55:12.460035 | 2018-01-15T15:12:30 | 2018-01-15T15:12:30 | 117,560,615 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 16,493 | py | # -*- coding:utf-8 -*-
'''
Created on 2015年11月12日
@author: zhaojiangang
'''
import functools
import json
import random
import stackless
import freetime.util.log as ftlog
from freetime.core.reactor import mainloop, exitmainloop
from freetime.core.tasklet import FTTasklet
from freetime.core.timer import FTTimer
from p... | [
"cg@ibenxi.com"
] | cg@ibenxi.com |
42978d300d56543c398e6469c90adbfa4d47ff5a | f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41 | /test/test_concern_note_item.py | 3ae83d0718e0ff47eb10f831512cec5acdaef178 | [] | no_license | CalPolyResDev/StarRezAPI | 012fb8351159f96a81352d6c7bfa36cd2d7df13c | b184e1863c37ff4fcf7a05509ad8ea8ba825b367 | refs/heads/master | 2021-01-25T10:29:37.966602 | 2018-03-15T01:01:35 | 2018-03-15T01:01:35 | 123,355,501 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,044 | py | # coding: utf-8
"""
StarRez API
This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501
OpenAPI spec version: 1.0.0
Contact: resdev@calpoly.edu
Generated by: https... | [
"fedorareis@gmail.com"
] | fedorareis@gmail.com |
da347efc1930fc80f8c88dd1a13954deab7eb7d5 | 24a1da610a57d9558a7261ed9ca92b20d8689634 | /June/47Day/Minimize_Maximum_Pair_Sum_in_Array_1184ms_28.1mb.py | c6b4f7b84036880c38b3df894c4b1ef2e971f389 | [] | no_license | JadeKim042386/LeetCode | b5b70a8100a19d705150f276ee8e0dc11c5038b2 | 77234a14dc97bd0e023842cd57698b37d1460511 | refs/heads/master | 2023-06-09T20:16:36.352246 | 2021-07-06T09:25:15 | 2021-07-06T09:25:15 | 349,680,046 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 311 | py | class Solution:
def minPairSum(self, nums: List[int]) -> int:
arr = sorted(nums)
left, right = 0, len(nums) - 1
answer = 0
while left < right:
answer = max(answer, arr[left] + arr[right])
left += 1
right -= 1
return answer | [
"jk042386@gmail.com"
] | jk042386@gmail.com |
81573f4ec7c06d15ffa891286bf87762b14b1195 | 3af363719a8084b855077acd0bf6a0efc9e6762b | /backend/config/urls.py | 3ded0e7452ab67729732e3f886522a3f4633f919 | [] | no_license | salmanAndroidDev/social-network | 09dc4372985bb8b4219a239e39339a2aaccd4320 | 74ca8f1f9668c91c15e7acaa19dad3ed29e139ab | refs/heads/main | 2023-08-15T19:14:25.675409 | 2021-10-22T06:20:17 | 2021-10-22T06:20:17 | 419,827,526 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 431 | py | from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
urlpatterns = [
path('admin/', admin.site.urls),
path('account/', include('accounts.urls')),
path('social-hub/', include('social_hub.urls')),
]
if settings.DEB... | [
"salmanAndB@outlook.com"
] | salmanAndB@outlook.com |
13571023a12659a5938638520f75131cd1938acb | d3efc82dfa61fb82e47c82d52c838b38b076084c | /Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS_SHOffer/YCHF_KCBYCHF_OMS_SHOffer_022.py | 51389f6b199d9455f00d1d325ba682212d48fed0 | [] | no_license | nantongzyg/xtp_test | 58ce9f328f62a3ea5904e6ed907a169ef2df9258 | ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f | refs/heads/master | 2022-11-30T08:57:45.345460 | 2020-07-30T01:43:30 | 2020-07-30T01:43:30 | 280,388,441 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,541 | py | #!/usr/bin/python
# -*- encoding: utf-8 -*-
import sys
sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api")
from xtp_test_case import *
sys.path.append("/home/yhl2/workspace/xtp_test//service")
from ServiceConfig import *
from ARmainservice import *
from QueryStkPriceQty import *
from log import *
sys.path.append... | [
"418033945@qq.com"
] | 418033945@qq.com |
10d13a48f0545019c2703815d3a0d486f92e71e1 | d7e0b198c216fc877ec94c4279d837bfbc6bccfc | /tree/Yu/501.py | 65ba4a06cf23c9e665c8fc8565b553cb9c9cde2e | [
"MIT"
] | permissive | choiking/LeetCode | dcdb467e25ad6455156a9e2620dd98fabdf9c28b | 08a7ad6af2449e4268fce86823cbf667bbed2ae8 | refs/heads/master | 2021-07-11T15:46:01.841530 | 2017-10-12T23:34:45 | 2017-10-12T23:34:45 | 107,908,853 | 1 | 0 | null | 2017-10-22T22:48:30 | 2017-10-22T22:48:30 | null | UTF-8 | Python | false | false | 1,059 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: Yu Zhou
# 501. Find Mode in Binary Search Tree
# ****************
# Descrption:
# Given a binary search tree (BST) with duplicates, find all the mode(s)
# (the most frequently occurred element) in the given BST.
# ****************
class Solution(object):
def fin... | [
"junior147147@yahoo.com"
] | junior147147@yahoo.com |
e26abadd67fc101afc766003b46c485bed810476 | 7c241ed033efebdcd4f58fa5ae83db95f21a5614 | /backend/psychhubb_19465/settings.py | 5ac4c92d4b5e68d24447a144592a4aea70a3e8ac | [] | no_license | crowdbotics-apps/psychhubb-19465 | 97ac3ce690f8759e877e8f407fb2fd03d47b5ab3 | d89db26d2a246a85e7f75c4a2bb7fb3a6533d5e4 | refs/heads/master | 2022-12-09T10:06:46.302480 | 2020-08-09T11:47:12 | 2020-08-09T11:47:12 | 286,226,321 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,901 | py | """
Django settings for psychhubb_19465 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/
"""
impo... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
b9b586b21db02c671897a5893716ba96fcfe3712 | 5c280ec1f6f4160c53435d35fec4b46cff1c1485 | /web/forms.py | 2ef70d408d133ed056c297b3482e40568fe7d688 | [
"Apache-2.0"
] | permissive | cheekybastard/namebot | f255f34a10fc5d0ac7e504a432f669190fcbf846 | ea17b31e28461b5e54409f549cb9e1315ab8072a | refs/heads/master | 2020-07-10T08:16:57.038301 | 2014-01-04T00:14:54 | 2014-01-04T00:14:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 460 | py | from wtforms import Form, BooleanField, TextField, PasswordField, validators
class NameGeneratorForm(Form):
field1 = TextField('Field 1', [validators.Length(min=4, max=25)])
field2 = TextField('Field 2', [validators.Length(min=4, max=25)])
field3 = TextField('Field 3', [validators.Length(min=4, max=25)])
... | [
"dxdstudio@gmail.com"
] | dxdstudio@gmail.com |
a3a539ffb8cc47ba73a9ebaafc40f8dafc87b37c | 9e1ca5fe3f86b28d945ea3c06ea7715fc0946f1f | /add_derived_columns.py | 52aa033f3d2241e85302d7c13e92e4d8a141220c | [] | no_license | colinmorris/crawl-coroner | e2962447c697cffebcaa0bc4b8530b1ba30b16b0 | 026f9941ed5ae6df108cd1223c1e65e2b0b18f08 | refs/heads/master | 2021-01-11T18:42:00.951101 | 2017-02-11T18:07:33 | 2017-02-11T18:07:33 | 79,603,714 | 11 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,020 | py | import pandas as pd
STORE_FNAME = 'morgue.h5'
# This is probably expensive. But then it only really needs to be run once.
if __name__ == '__main__':
store = pd.HDFStore(STORE_FNAME)
# other derived columns of interest:
# - player experience/skill
games = store['games']
# Original species: ... | [
"colin.morris2@gmail.com"
] | colin.morris2@gmail.com |
ed076510c5dccaf3e164c2bf539cacf6638734a0 | a4454d895d7b045c7aa9df499523203d04ecb69d | /venv/bin/django-admin.py | 7614153c4dd740b5adb0efee63e5b8a6340b4f92 | [] | no_license | amjedsaleel/Institute-Management | b94a7a06ddb5052572de9734f9b28fbdf8872b02 | 787b0c65bb99ecd24196ff23a41c20181968fe4b | refs/heads/main | 2023-03-01T09:32:05.406385 | 2021-02-13T11:22:45 | 2021-02-13T11:22:45 | 321,311,580 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 701 | py | #!/home/amjed/PycharmProjects/institute_management/venv/bin/python
# When the django-admin.py deprecation ends, remove this script.
import warnings
from django.core import management
try:
from django.utils.deprecation import RemovedInDjango40Warning
except ImportError:
raise ImportError(
'django-admin... | [
"amjedsaleel@gmail.com"
] | amjedsaleel@gmail.com |
e7c2b5bb9470f929d344f0160bccbe9ebd10c750 | c2ee51902020596e08aacd4462ab44715432c8f8 | /pyapprox/tests/test_variables.py | 90292c09b8ebf22f21ed3bef0eca25b1833cd5cc | [
"MIT"
] | permissive | ConnectedSystems/pyapprox | bb1462aa8ee54258ee559d734f7bffb744e09c78 | 4f405654c707cba83d211f327c0f0fdbc95efa29 | refs/heads/master | 2021-09-13T09:49:59.048327 | 2021-08-29T03:38:43 | 2021-08-29T03:38:43 | 252,080,343 | 0 | 0 | MIT | 2020-04-01T05:26:29 | 2020-04-01T05:26:29 | null | UTF-8 | Python | false | false | 13,206 | py | import unittest
import numpy as np
from scipy import stats
from warnings import warn
from pyapprox.variables import get_distribution_info, \
define_iid_random_variables, IndependentMultivariateRandomVariable, \
float_rv_discrete, variables_equivalent, get_pdf
from pyapprox.utilities import lists_of_arrays_equa... | [
"29109026+jdjakem@users.noreply.github.com"
] | 29109026+jdjakem@users.noreply.github.com |
a4adcc05a06ecdd2f1d812c69b56ef2e896127a2 | 78d3d78ebded691dd6a92f357c7cc75004ff2184 | /weak_localization/L15_W0p012_highres/socconductance.py | 4f04c6efd310b95559b213cd2e45e8b022be66e3 | [] | no_license | rafaelha/paper_zbcp | 0b5bb9500d997ab99cea9959998e3651be75483b | db2096eb0cb2d7bb801b4e513320adc9cef7a0d9 | refs/heads/master | 2023-02-25T01:41:24.728767 | 2019-09-06T17:24:16 | 2019-09-06T17:24:16 | 199,933,622 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,744 | py | import matplotlib as mpl
#mpl.use('Agg')
import matplotlib.pyplot as plt
import kwant as kw
import numpy as np
import tinyarray
from numpy import kron
import time
import scipy.sparse as sp
from scipy.sparse.linalg import eigsh
from numpy.random import rand
import pickle
import datetime as dt
import sys
import os
s0 = ... | [
"rafaelhaenel@phas.ubc.ca"
] | rafaelhaenel@phas.ubc.ca |
6efa223635fb295398bf192b057721cde7c8084f | 364ebf23f0a6fba0c9e9fd5dfce6f657dc9bad32 | /estelcon_web/urls.py | 5aade7198cc85801026bde553332e1d4470e5fad | [] | no_license | hirunatan/estelcon_web | bed55f8b82ca268d314c761923b50a4bf9857876 | 13e69c90fd6fa2f4b1efab259d94788f3b6ce00e | refs/heads/master | 2021-01-20T11:30:33.367564 | 2018-11-06T20:07:49 | 2018-11-06T20:07:49 | 23,476,370 | 1 | 2 | null | 2015-10-02T20:50:35 | 2014-08-29T20:08:42 | HTML | UTF-8 | Python | false | false | 1,113 | py | from __future__ import absolute_import, print_function, unicode_literals
from cms.sitemaps import CMSSitemap
from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
from django.contrib.sitemaps.views import sitemap
from... | [
"andres.moya@kaleidos.net"
] | andres.moya@kaleidos.net |
169ad0e7002fd35871d0ea40d975ce59b2119dab | 18a6b272d4c55b24d9c179ae1e58959674e53afe | /tf_rl/examples/NerveNet/environments/asset_generator.py | 2f0bdc000944dee0fe98136097ccebe41b778caf | [
"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 | 1,939 | py | # -----------------------------------------------------------------------------
# @brief:
# generate the xml files for each different sub-tasks of one master task
# @author:
# Tingwu Wang, Aug. 30th, 2017
# -----------------------------------------------------------------------------
import argparse
im... | [
"kosakaboat@gmail.com"
] | kosakaboat@gmail.com |
e13a436074fd79fa40edf5d9d28341b1d5a8ff27 | 7d4964998493d333900c4be9d78ecbf8fd334127 | /devportfolio/wsgi.py | a9a8c5f341c35b93937e664b961decb5be4d2122 | [
"MIT"
] | permissive | nickmwangemi/devport | 56fd7556895469127d2b86cdf8a9b1e7d4346ed0 | 25b6c0ac97ada74cadf99ebcbae922d1aa0174fe | refs/heads/main | 2023-04-17T07:57:25.644870 | 2021-04-30T15:55:52 | 2021-04-30T15:55:52 | 362,522,911 | 0 | 1 | null | 2021-04-30T07:59:27 | 2021-04-28T15:41:19 | Python | UTF-8 | Python | false | false | 405 | py | """
WSGI config for devportfolio project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_... | [
"nickmwangemi@gmail.com"
] | nickmwangemi@gmail.com |
9a1ec3173aa9c9f1d1931ee671f3d6db686a96b7 | 5c9d96d8184f50afddc0704ab4d4eb8ebe8d132b | /REGAN_kitchen_companion.py | aa881f09b877d8df5b625fc1d4359c657e0bbb4b | [] | no_license | Tanyaregan/practices | 2248da1007577341a6b8c29d17b3369b04115cdd | d981941ce877753b87575542b3adf55879fb66f2 | refs/heads/master | 2021-05-23T05:30:40.405654 | 2018-05-08T20:23:31 | 2018-05-08T20:23:31 | 95,040,760 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,563 | py | def kitchen_companion():
"""Displays and edits a list of ingredients."""
import random
print 'Welcome to Kitchen Companion!'
ingredient_list = []
ingredients = open('ingredients.txt', 'r+')
for i in ingredients:
ingredient_list.append(i.rstrip())
while True:
print ''
... | [
"vagrant@vagrant.vm"
] | vagrant@vagrant.vm |
6f45903d3d8e38b6362d3e59d9804f18ee8c267c | 30150c7f6ed7a10ac50eee3f40101bc3165ebf9e | /src/minigame/DistributedTravelGame.py | 3134c91bb5e1a710933a3c4d3d34ad0e63f93dca | [] | no_license | toontown-restoration-project/toontown | c2ad0d552cb9d5d3232ae6941e28f00c11ca3aa8 | 9bef6d9f823b2c12a176b33518eaa51ddbe3fd2f | refs/heads/master | 2022-12-23T19:46:16.697036 | 2020-10-02T20:17:09 | 2020-10-02T20:17:09 | 300,672,330 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 59,249 | py | """DistributedMinigameTemplate module: contains the DistributedMinigameTemplate class"""
from toontown.toonbase.ToontownModules import *
from toontown.toonbase.ToonBaseGlobal import *
from toontown.toonbase.ToontownGlobals import GlobalDialogColor
from .DistributedMinigame import *
from direct.fsm import ClassicFSM, S... | [
"brianlach72@gmail.com"
] | brianlach72@gmail.com |
be174d5d2aac5c1d6e5238f958f929ec9c085eab | f5a2f74783fc6c48a75e415f08493f33a5937e3b | /cloudbio/package/conda.py | 9caa900e5ce4c1e3a7f098bbd869001cd31519f6 | [
"MIT"
] | permissive | espritfollet/cloudbiolinux | 8feccd8ca20a1e7cbb70aedbe373e2e522400be8 | c7c41c2634d044c60abae2c2264ff7e9b6885485 | refs/heads/master | 2021-05-05T20:11:52.955336 | 2017-12-23T10:58:27 | 2017-12-23T10:58:27 | 115,296,610 | 0 | 0 | MIT | 2019-03-23T05:30:44 | 2017-12-25T01:34:43 | Python | UTF-8 | Python | false | false | 7,262 | py | """Install packages via the Conda package manager: http://conda.pydata.org/
"""
import collections
import json
import os
import yaml
from cloudbio.custom import shared
from cloudbio.fabutils import quiet
from cloudbio.flavor.config import get_config_file
from cloudbio.package.shared import _yaml_to_packages
def insta... | [
"chapmanb@50mail.com"
] | chapmanb@50mail.com |
8d09a372c57d6ed538800dbba426352b62552920 | e972a3db507312c58a7637a706464257e557725d | /controltowerlib/controltowerlib.py | c2548f58e5d10faa332916f7d3d2352c2e349569 | [
"MIT"
] | permissive | schubergphilis/controltowerlib | 5ddc6a9b6e02f19e914e636c71fee70031f40c09 | c92c0a50d7d6cb568a8e5660df4256a2976b5a4e | refs/heads/master | 2023-04-08T04:14:07.970825 | 2021-04-26T13:10:19 | 2021-04-26T13:10:19 | 328,966,855 | 5 | 0 | MIT | 2021-04-01T10:46:31 | 2021-01-12T11:34:30 | Python | UTF-8 | Python | false | false | 48,353 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# File: controltowerlib.py
#
# Copyright 2020 Costas Tyfoxylos
#
# 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... | [
"costas.tyf@gmail.com"
] | costas.tyf@gmail.com |
049b2793c4f8775370e60d6bba96c8a4b0ea6e27 | dfd0797c88aec7b02866d3c559cb1bc64ce87b44 | /Chapter 11 - Testing Code/survey.py | e81028f4b1415ccfd157f4a15c6bb19fcccb5a81 | [] | no_license | 8BitJustin/2020-Python-Crash-Course | d97f9b79c7a1e1c88c9bc2b035b0e98b2ef23025 | 1f078d7fa62e2b07f8d6c01f85e60baed8293779 | refs/heads/master | 2020-12-20T00:19:44.173143 | 2020-06-14T18:42:08 | 2020-06-14T18:42:08 | 235,893,110 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 677 | py | class AnonymousSurvey():
"""Collect anonymous answers to a survey question."""
def __init__(self, question):
"""Store question and prepare to store responses."""
self.question = question
self.responses = []
def show_question(self):
"""Show the survey question."""
pr... | [
"j.olson.digital@gmail.com"
] | j.olson.digital@gmail.com |
9cb761ebc2d0cb43448126d9150ef9c8f0545248 | 478aa8e979226404fcba2a9aa1cc9c05b7b9b33b | /cars/views.py | feb184e0a125ee455f5b919ce6e6a79d0eb278d8 | [] | no_license | avramenkomy/module_E5 | 5054728c08df028e0f32642c92f6393c31a3d900 | 4bfaacfd4fb94cd2ba59eff5c0dfca1b846bc56a | refs/heads/master | 2023-03-18T15:50:09.901002 | 2021-03-09T11:03:42 | 2021-03-09T11:03:42 | 345,962,318 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,941 | py | from django.http import HttpResponse
from django.shortcuts import render
from cars.models import Car
from django.template import loader
from django.views.generic.detail import DetailView
from cars.forms import CarFilterForm, CarFullFilter
from django.db.models import Q
# Create your views here.
def index(request):
... | [
"avramenkomy@yandex.ru"
] | avramenkomy@yandex.ru |
2f2e1030c13ce06b0ed7d9df9dc967b10e484184 | 42878cf22469c5adc3d92c9f5eb670b00001956d | /src/synamic/core/services/pre_processor/pre_processor_service.py | 119feec16e16f160b43344bfdb8f18d94db0b763 | [
"MIT"
] | permissive | SabujXi/Synamic | 4fb34f1b2c05df22e98f9b001b948c2a52248693 | c9c06ecf874be82dbb2cba890cb483300809de98 | refs/heads/master | 2021-05-16T00:27:50.197163 | 2020-08-10T18:20:59 | 2020-08-10T18:20:59 | 107,001,678 | 7 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,661 | py | """
author: "Md. Sabuj Sarker"
copyright: "Copyright 2017-2018, The Synamic Project"
credits: ["Md. Sabuj Sarker"]
license: "MIT"
maintainer: "Md. Sabuj Sarker"
email: "md.sabuj.sarker@gmail.com"
status: "Development"
"""
from synamic.core.standalones.functions.decorators import n... | [
"md.sabuj.sarker@gmail.com"
] | md.sabuj.sarker@gmail.com |
cde238fc9cdfd455c5a2a4901a72c3558c5c5567 | ccbfc7818c0b75929a1dfae41dc061d5e0b78519 | /aliyun-openapi-python-sdk-master/aliyun-python-sdk-domain/aliyunsdkdomain/request/v20180129/SaveSingleTaskForCancelingTransferOutRequest.py | 197a0ac4844e7d6ab5af56f639c3e4831f07be01 | [
"Apache-2.0"
] | permissive | P79N6A/dysms_python | 44b634ffb2856b81d5f79f65889bfd5232a9b546 | f44877b35817e103eed469a637813efffa1be3e4 | refs/heads/master | 2020-04-28T15:25:00.368913 | 2019-03-13T07:52:34 | 2019-03-13T07:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,489 | 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... | [
"1478458905@qq.com"
] | 1478458905@qq.com |
7547ee2982aa5a0f157c0e903540e4774050ac79 | 48df8f9a545b86caf0e52fbaa9f74d71c34285de | /oneshot/getstd.py | 1031bc3b11cb673aaf832f53853292edb9826731 | [] | no_license | Python3pkg/OneShot | 7954408376163279713396a6bfe06669b7c69eea | 26d8ad99a5bb8f925d358e9601005062f651ad4e | refs/heads/master | 2021-01-21T17:38:33.119792 | 2017-05-21T17:23:55 | 2017-05-21T17:23:55 | 91,974,963 | 0 | 0 | null | 2017-05-21T17:23:53 | 2017-05-21T17:23:53 | null | UTF-8 | Python | false | false | 1,450 | py | import os as _os
_on_rtd = _os.environ.get('READTHEDOCS', None) == 'True'
if not _on_rtd:
import numpy as _np
# Get std dev (spot size) {{{
def getstd(res, h, xval):
"""
.. deprecated:: 0.0.0
I'm not really sure what this function does, but it's not referenced anywhere else.
"""
stddevsq = _... | [
"joelfred@slac.stanford.edu"
] | joelfred@slac.stanford.edu |
463090bb5b1d514884c43abfa3250022348fc00d | ad13583673551857615498b9605d9dcab63bb2c3 | /output/models/sun_data/mgroup/annotation/annotation00101m/annotation00101m4_xsd/__init__.py | c8a16b879136466c5d8c529de13e7558dae74f94 | [
"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 | 179 | py | from output.models.sun_data.mgroup.annotation.annotation00101m.annotation00101m4_xsd.annotation00101m4 import (
Root,
TheType,
)
__all__ = [
"Root",
"TheType",
]
| [
"tsoulloftas@gmail.com"
] | tsoulloftas@gmail.com |
95ad39c94360fcaceaef117c1a0f6f4658e6f408 | 7dc05dc9ba548cc97ebe96ed1f0dab8dfe8d8b81 | /tags/release-0.3.1/pida/services/python.py | 02d9e7df50ca75f178eb63503cecf85459db4c9d | [
"MIT"
] | permissive | BackupTheBerlios/pida-svn | b68da6689fa482a42f5dee93e2bcffb167a83b83 | 739147ed21a23cab23c2bba98f1c54108f8c2516 | refs/heads/master | 2020-05-31T17:28:47.927074 | 2006-05-18T21:42:32 | 2006-05-18T21:42:32 | 40,817,392 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,262 | py | # -*- coding: utf-8 -*-
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
#Copyright (c) 2005 Ali Afshar aafshar@gmail.com
#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 restr... | [
"aafshar@ef0b12da-61f9-0310-ba38-b2629ec279a7"
] | aafshar@ef0b12da-61f9-0310-ba38-b2629ec279a7 |
5f62ae2b41203e02f3bd6369cd5bf77f010b43ab | 5ba34cad2a933adfed6b5df5b1229e48038596d4 | /common/utils.py | e1e50b301d87bce558520bd4db37ed53dcafe48a | [
"MIT"
] | permissive | Firmicety/fomalhaut-panel | bececa59cd42edd8793440a652d206b250591cb9 | 3e662db65a7ca654f75a19e38cb0931be21f92e9 | refs/heads/master | 2020-06-06T07:52:27.211654 | 2019-06-20T11:38:39 | 2019-06-20T11:38:39 | 192,683,216 | 0 | 0 | MIT | 2019-06-19T07:39:07 | 2019-06-19T07:39:07 | null | UTF-8 | Python | false | false | 4,540 | py | # !/usr/bin/env python
# -*- coding: utf-8 -*-
# created by restran on 2016/1/2
from __future__ import unicode_literals
import logging
import json
import sys
from django.http import HttpResponse
import six
from six import binary_type, text_type
import time
import itertools
logger = logging.getLogger(__name__)
# Use... | [
"grestran@gmail.com"
] | grestran@gmail.com |
70854803177cbf6f526b08576fc9c7321e535049 | b10ee2d670cab2141cdee16dd99c9425cfeb24e1 | /oci_image.py | c25866a0a69c5b38e894eae5f67c13d823b48f5a | [] | no_license | VariableDeclared/resource-oci-image | c90ece9157c74cafc9ab2eaae74d327baa761432 | e583429139d874bbcab8330c13f3fde30912abdf | refs/heads/master | 2021-05-24T10:37:16.744676 | 2020-02-05T16:18:56 | 2020-02-05T16:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,893 | py | from pathlib import Path
import yaml
from ops.framework import Object
from ops.model import BlockedStatus, ModelError
class OCIImageResource(Object):
def __init__(self, charm, resource_name):
super().__init__(charm, resource_name)
self.resource_name = resource_name
def fetch(self):
r... | [
"johnsca@gmail.com"
] | johnsca@gmail.com |
d483a1ed0b3c259251024bcf7ffd220b7ec4e08f | c81745ea7c36fa03cd818b3986f605a6da036658 | /u_app/models.py | 1d2d6231ad49b573d94313e42613910c8668c6d9 | [] | no_license | mpresto/user_mgmt_site | 3f77fbbe4fa3fec4724e7ba8916eed9fd1d18aae | 063ed174f0af46fff3a7c5f7631f1587dc152511 | refs/heads/master | 2022-04-11T18:15:29.603694 | 2020-03-29T04:10:32 | 2020-03-29T04:10:32 | 237,847,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,345 | py | from django.db import models
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager
from django.db import connection
import sqlite3
# Create your models here.
class MyUser(AbstractBaseUser):
email = models.EmailField(max_length=254, unique=True)
password = models.CharField(max_length=50)
... | [
"monty.preston5@gmail.com"
] | monty.preston5@gmail.com |
c3a6193d0572e0c981b8de79b098cda9d7eb1a93 | 09c595368ed7617381edb8ea87f56d5596ab4bdb | /Medium/103. Binary Tree Zigzag Level Order Traversal.py | bfdd1a6f73b158b43b2c1359cb6fcec8d8390eba | [] | no_license | h74zhou/leetcode | 38d989135b968b6947c36df7be288cb11ead3f0c | a5efedb34271160a7a776a7ce9bfff29f47b2389 | refs/heads/master | 2023-03-10T19:24:46.786706 | 2021-02-23T02:25:27 | 2021-02-23T02:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 959 | py | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution(object):
def zigzagLevelOrder(self, root):
"""
:type root: TreeNode
:rtype: L... | [
"iamherunzhou@gmail.com"
] | iamherunzhou@gmail.com |
e25c1f9014a8ca9635d1989cfee9bc1ea967069c | 78eb766321c7ed3236fb87bb6ac8547c99d0d1a4 | /oneYou2/home/migrations/0007_sitesettings_header.py | 770b350040d29f6fff38be8d6bdb226d71ae63f1 | [] | no_license | danmorley/nhs-example | 9d7be76116ed962248e1f7e287355a6870534f5d | ae4b5f395d3518ee17ef89348ed756c817e0c08c | refs/heads/master | 2022-12-13T02:13:18.484448 | 2019-02-28T11:05:31 | 2019-02-28T11:05:31 | 203,353,840 | 1 | 0 | null | 2022-12-07T04:29:46 | 2019-08-20T10:30:15 | Python | UTF-8 | Python | false | false | 612 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-02-13 11:34
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('pages', '0011_header'),
('home', '0006_sitesettings... | [
"andrewkenyon123@gmail.com"
] | andrewkenyon123@gmail.com |
b82f5cd0680f4b8d37be75d4084b93fdaaf2da86 | 0485a490f466bd1d02eaae96d277888781208c0e | /tests/single_instruction_translation_validation/mcsema/memory-variants/subq_r64_m64/Output/test-z3.py | 3786808e7a8d2a62a625335f4ec19aaf8a638f2c | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | Mthandazo42/validating-binary-decompilation | c0e2d54cd79e609bfa35802975bddfa52e646fad | c0fcd6f099e38195dcbbac9e8c13a825865c5cb5 | refs/heads/master | 2022-11-11T13:18:13.033044 | 2020-06-25T05:49:01 | 2020-06-25T05:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 23,694 | py | #############################################
######## Auto Generated Proof Scripts #######
#############################################
import z3
import sys
status=True
test_name="UnK"
if(len(sys.argv) > 1):
test_name = sys.argv[1]
def solve(msg, lvar, xvar, s):
global status
s.set("timeout", 60000)
res =... | [
"sdasgup3@illinois.edu"
] | sdasgup3@illinois.edu |
c008da7634db24b7e928afe0d27575e8bf211931 | ad3339db839a9353ae445b7069c7f2d2c805fadc | /tribune/urls.py | 3dbd1848986508a951390659bd2309263a06e032 | [] | no_license | felkiriinya/Moringa-Tribune | 1a89ad0ab01618284eb8e4fb55587f60cb197fa1 | 5c936fac04b265e9a1ea98e3c2c296a7a1ef75e8 | refs/heads/master | 2023-01-13T19:45:02.966996 | 2020-11-24T17:24:55 | 2020-11-24T17:24:55 | 312,059,822 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,141 | py | """tribune URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-ba... | [
"felkiriinya@gmail.com"
] | felkiriinya@gmail.com |
f8460aaf86927b5c5035f75d913a717aa778cda9 | 52b5773617a1b972a905de4d692540d26ff74926 | /.history/counting_20200622225609.py | 00a400697539fd255487c113aa925cea6350e1ca | [] | no_license | MaryanneNjeri/pythonModules | 56f54bf098ae58ea069bf33f11ae94fa8eedcabc | f4e56b1e4dda2349267af634a46f6b9df6686020 | refs/heads/master | 2022-12-16T02:59:19.896129 | 2020-09-11T12:05:22 | 2020-09-11T12:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 395 | py | def counting(str):
str = str.split('-')
hour1 = int(convertTo24(str[0]).split(':')[0])
print('hour1',hour1)
hour2 = int(convertTo24(str[1]).split(':'))
def convertTo24(hour):
newHour = ''
if 'am' in hour and hour[:2] == '12':
newHour = '24'
newHour += hour[2:5]
print(hour)
... | [
"mary.jereh@gmail.com"
] | mary.jereh@gmail.com |
82f26b32b81eeb6214dd9fb7788ba27f86cba0d3 | b2ba78fb1e53f92efdc3b6e0be50c81e5dd036ed | /algos/mbl_trpo/defaults.py | ef455095211017613a659a721b6b9e08ca3ca5f2 | [
"MIT"
] | permissive | ShuoZ9379/Integration_SIL_and_MBL | 2dcfae10cb5929c4121a3a8bfceebae8c0b6ba08 | d7df6501a665d65eb791f7fd9b8e85fd660e6320 | refs/heads/master | 2020-07-23T20:04:17.304302 | 2019-09-23T18:58:57 | 2019-09-23T18:58:57 | 207,690,584 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,039 | py | from baselines.common.models import mlp, cnn_small
def atari():
return dict(
network = cnn_small(),
timesteps_per_batch=512,
max_kl=0.001,
cg_iters=10,
cg_damping=1e-3,
gamma=0.98,
lam=1.0,
vf_iters=3,
vf_stepsize=1e-4,
entcoeff=0.00,... | [
"zhangshuo19930709@gmail.com"
] | zhangshuo19930709@gmail.com |
383e6330f03c52d4c051dbaae812f110ffd8383b | 7aac370bbd217d716ba53f0efd70047879bb1444 | /homeassistant/components/somfy_mylink/config_flow.py | 79fbf028b16a525c660d1986847854e8614a00c8 | [
"Apache-2.0"
] | permissive | OverloadUT/home-assistant | c6bd63edb7c087eaf81ff507fdeb3e1420062d3a | 7ccfaed7361604aa83cc55f059015327b544b5a7 | refs/heads/dev | 2023-02-23T01:04:13.441125 | 2021-10-25T16:26:03 | 2021-10-25T16:26:03 | 78,159,098 | 5 | 1 | Apache-2.0 | 2023-02-22T06:18:15 | 2017-01-06T00:21:06 | Python | UTF-8 | Python | false | false | 6,841 | py | """Config flow for Somfy MyLink integration."""
import asyncio
from copy import deepcopy
import logging
from somfy_mylink_synergy import SomfyMyLinkSynergy
import voluptuous as vol
from homeassistant import config_entries, core, exceptions
from homeassistant.components.dhcp import HOSTNAME, IP_ADDRESS, MAC_ADDRESS
fr... | [
"noreply@github.com"
] | OverloadUT.noreply@github.com |
9e4ef2699511b1cda5dab70de5f4507eac7db2cb | 1c29948305793ced5835a5345903c6110a078bd2 | /examples/app/app/middleware.py | 6415e78ef30c1971be3b14c88310612d74a34735 | [
"MIT"
] | permissive | cmanallen/flask-compose | 84b7dbd5c68dce04de335afe03a522835847b82e | 560760e39ac32e888f0a4d84154a1bd26a2a3033 | refs/heads/master | 2020-03-30T15:09:03.387185 | 2018-10-27T20:27:42 | 2018-10-27T20:27:42 | 151,350,365 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 264 | py | from flask import jsonify, make_response
def render_response(fn):
"""Response renderer middleware."""
def decorator(*args, **kwargs):
response, code = fn(*args, **kwargs)
return make_response(jsonify(response), code)
return decorator
| [
"cmanallen90@gmail.com"
] | cmanallen90@gmail.com |
6958c46d143159426cf3e7865f78b0c9a69c09d1 | fc2fb2118ea02867d559bf8027e54e3c6b652cfd | /devItems/spring-2020/source-all/574_tfidf_traintest_p2_code_regression.py | a4d4d0c335155d8002b2ada302bdfe3e138c306f | [] | no_license | pdhung3012/SoftwareStoryPointsPrediction | 2431ad599e0fba37617cfd467de1f4f1afed56cc | 520990663cb42adcac315b75cd4eb1150c3fc86c | refs/heads/master | 2023-08-29T15:16:30.413766 | 2021-09-18T17:12:20 | 2021-09-18T17:12:20 | 254,596,878 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,117 | py | # -*- coding: utf-8 -*-
"""
Created on Fri Mar 1 18:19:24 2019
@author: hungphd
"""
# import modules
import numpy as np
import pandas as pd
from sklearn.linear_model import LogisticRegression
from sklearn.svm import LinearSVR
from sklearn.tree import DecisionTreeRegressor
from sklearn.ensemble import GradientBoosti... | [
"pdhung3012@gmail.com"
] | pdhung3012@gmail.com |
695b5a756c2e0b025a91c5b0a72fc68c9b6b7b6a | a2d36e471988e0fae32e9a9d559204ebb065ab7f | /huaweicloud-sdk-antiddos/huaweicloudsdkantiddos/v1/model/show_d_dos_status_request.py | 62c9d00ea8af66a317f15806c1652a4f6f9548d0 | [
"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 | 3,667 | py | # coding: utf-8
import re
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class ShowDDosStatusRequest:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The ... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
d3f88b3096c9915223d4fa391e07bfc402c947fc | 8cc12b26221e7fa7060adb01989bd048134b3957 | /test_15450/urls.py | 764913f5d830c8bf2b431a1463080620205845e1 | [] | no_license | crowdbotics-apps/test-15450 | 842436977a2796648280b0ff2d53d0f1d100ae7b | 06c21efb558ed2f6ea3185943b1b7d84cb7d512d | refs/heads/master | 2022-02-22T02:54:29.345958 | 2020-04-04T23:57:33 | 2020-04-04T23:57:33 | 253,121,799 | 0 | 0 | null | 2022-02-10T13:56:45 | 2020-04-04T23:57:12 | Python | UTF-8 | Python | false | false | 1,890 | py | """test_15450 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-ba... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
83d7efe8ec51a03b89fc7457db7b1e9a0126db06 | c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce | /flask/flaskenv/Lib/site-packages/tensorflow_estimator/python/estimator/head/multi_head.py | 2826514b2b5d57d3feeb26964d7a3ac7fc016c82 | [] | no_license | AhsonAslam/webapi | 54cf7466aac4685da1105f9fb84c686e38f92121 | 1b2bfa4614e7afdc57c9210b0674506ea70b20b5 | refs/heads/master | 2020-07-27T06:05:36.057953 | 2019-09-17T06:35:33 | 2019-09-17T06:35:33 | 208,895,450 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | version https://git-lfs.github.com/spec/v1
oid sha256:0a250ae00433eead90a7bb128c31387543770c56715cc722483690c2c4b13f76
size 21311
| [
"github@cuba12345"
] | github@cuba12345 |
cf9c6c5035bcfd72c591b6a33dc2330d6f9960cc | 16c5a7c5f45a6faa5f66f71e043ce8999cb85d80 | /app/honor/student/games/word_flash_card.py | 1a917f3e75ac0c64386f4aeb152d453f54bd576f | [] | no_license | vectorhuztt/test_android_copy | ca497301b27f49b2aa18870cfb0fd8b4640973e5 | f70ab6b1bc2f69d40299760f91870b61e012992e | refs/heads/master | 2021-04-03T19:26:48.009105 | 2020-06-05T01:29:51 | 2020-06-05T01:29:51 | 248,389,861 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 15,841 | py | # @Author : Vector
# @Email : vectorztt@163.com
# @Time : 2019/8/1 11:35
# -----------------------------------------
import random
import re
import string
import time
from selenium.webdriver.common.by import By
from app.honor.student.games.all_game_common_element import GameCommonEle
from conf.decorator import ... | [
"vectorztt@163.com"
] | vectorztt@163.com |
2a314614273fd1f98a7a750f330a866ac7116ab5 | 4751a9daca11558dd0780f2e8b9477a484ebc7f4 | /src/qibo/tests/cirq_utils.py | c6ec7923450f40c20ffd28e6c9d73826c5a7d561 | [
"Apache-2.0"
] | permissive | drheli/qibo | f6875ed39883fe7bfa0b8939abb042fe636c5de7 | b99568aee9f978a5a82e92860c8d17e3358af7b9 | refs/heads/master | 2023-04-17T20:40:44.324689 | 2021-04-29T16:29:40 | 2021-04-29T16:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,388 | py | import re
import cirq
import numpy as np
_QIBO_TO_CIRQ = {"CNOT": "CNOT", "RY": "Ry", "TOFFOLI": "TOFFOLI"}
def assert_gates_equivalent(qibo_gate, cirq_gate):
"""Asserts that qibo gate is equivalent to cirq gate.
Checks that:
* Gate type agrees.
* Target and control qubits agree.
* Pa... | [
"35475381+stavros11@users.noreply.github.com"
] | 35475381+stavros11@users.noreply.github.com |
74f1ce2400caeb1017978bc9cd7e592929ffa333 | 464850ba426263b17084fc71363ca14b8278b15e | /queue.py | 09c1d0d38a0d5d2c0a155264f7415f957a7588b0 | [] | no_license | eng-arvind/python | 8442c30ec10f979f913b354458b4f910539d8728 | 249f5f35f245a3f1742b10310de37ca6c6023af2 | refs/heads/master | 2020-12-23T06:40:16.911269 | 2020-02-02T18:42:01 | 2020-02-02T18:42:01 | 237,069,973 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 430 | py | from queue import Queue
def reversequeue(queue):
Stack = []
while (not queue.empty()):
Stack.append(queue.queue[0])
queue.get()
while (len(Stack) != 0):
queue.put(Stack[-1])
Stack.pop()
q=Queue()
q.put('5')
q.put('6')
q.put('7')
q.put('8')
q.put('9'... | [
"noreply@github.com"
] | eng-arvind.noreply@github.com |
ec79280c4e8b367009e17e371a77a8f3c6e29ec7 | 73bb9d0d50b96b3d7ee48e2d97b1d8128a5f2b1e | /backjoon/15/11054.py | ef1c7f92b461227fc42eda080384ef49f02a5cde | [] | no_license | Hoon94/Algorithm | a0ef211d72a2b78e08249501d197875065392084 | 6f6969214bbb6bacd165313b6d8c0feb1caa8963 | refs/heads/master | 2023-05-11T13:12:11.585285 | 2023-05-08T14:38:47 | 2023-05-08T14:38:47 | 244,936,260 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 492 | py | n = int(input())
a = list(map(int, input().split()))
dpp = [0 for _ in range(n)]
dpm = [0 for _ in range(n)]
dpb = [0 for _ in range(n)]
for i in range(n):
for j in range(i):
if a[i] > a[j] and dpp[i] < dpp[j]:
dpp[i] = dpp[j]
dpp[i] += 1
for i in range(n - 1, -1, -1):
for j in range(n... | [
"dleognsdl1@naver.com"
] | dleognsdl1@naver.com |
a7dac03b28d59fbdba3a9c969905a7c20ffc2d7c | 23d8c1b24ce4eb9fe7ee7f790c58d411c5b6f185 | /.lint.py.tcf.py | fb97800befcfff47a7b69b560c9e7425329ea899 | [
"Apache-2.0"
] | permissive | d-scott-phillips/tcf | aca30a6faad3778a8eef28409dcc6cf88c702a05 | 4d5f06b25799f18c103d4e4e8b222652956ebc49 | refs/heads/master | 2020-05-14T09:56:20.700897 | 2019-04-16T15:47:32 | 2019-04-16T15:47:32 | 181,752,941 | 0 | 0 | Apache-2.0 | 2019-04-16T19:24:08 | 2019-04-16T19:24:08 | null | UTF-8 | Python | false | false | 2,783 | py | #! /usr/bin/python3
"""
Implement TCF specificy lints
"""
import re
lint_py_check_per_line_name = "misc Python checks"
def lint_py_check_per_line_filter(_repo, cf):
"""
Run multiple line-by-line checks
"""
if not cf or cf.binary or cf.deleted:
return False
with open(cf.name, 'r') as f:
... | [
"inaky.perez-gonzalez@intel.com"
] | inaky.perez-gonzalez@intel.com |
2badb5dc4737dd2ff29fa4c88e0c38d4282f9abe | f1766b34f25348b49303ca55a99aaf87f42d78ab | /backend/home/migrations/0002_load_initial_data.py | 723269172a48c32a19c73fb69e921379e67a086f | [] | no_license | crowdbotics-apps/test-25996 | 907a79dfad8a679b84df78679777a6037257ef51 | 2e05c8580a9aefc5ccec4d45c3fdf7406e92da3f | refs/heads/master | 2023-04-18T04:31:43.233315 | 2021-04-28T12:20:13 | 2021-04-28T12:20:13 | 362,441,985 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,270 | py | from django.db import migrations
def create_customtext(apps, schema_editor):
CustomText = apps.get_model("home", "CustomText")
customtext_title = "test"
CustomText.objects.create(title=customtext_title)
def create_homepage(apps, schema_editor):
HomePage = apps.get_model("home", "HomePage")
home... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
b46eb3393d73726f9d7c429be423e933ee3bd82c | 866e5f850aed11ef49daab845fbafc2e4b2a585f | /vk.py | 2a8d101b46e93eae73160e0374aa59710325e357 | [] | no_license | SeregaFreeman/vk-robot | 4031bde2b8ee10a8dec5bdcdadf58ceb100547e4 | 3d27ea5e8d84c25e84a9e7ee07afe7f03f7dd801 | refs/heads/master | 2021-06-01T06:21:07.453525 | 2016-07-29T22:29:30 | 2016-07-29T22:29:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,627 | py | import vk_api
from random import randint, choice
def main():
""" Пример отправки Jsony Stathomy рандомное сообщенько и возврата id друзей профиля"""
login = input('Введи логин: ')
password = input('Введи пароль: ')
vk_session = vk_api.VkApi(login, password, api_version='5.53')
try:
vk_se... | [
"19941510metalhead@gmail.com"
] | 19941510metalhead@gmail.com |
ce58a280272597d54408ad8dd15c1be2287bd149 | 240c95e46d5cdb547f4500f00960dd96705cac34 | /functionalTools.py | 16c95a123d1533a81323304dd25b7767d16e0f2d | [] | no_license | CaMeLCa5e/dailysummer2015 | a23fda58c27fe42a7512b4150420827eb292305c | 378d386702db0814bd79e83de37de8ba442f9c7b | refs/heads/master | 2021-01-10T18:12:08.298279 | 2015-08-19T21:48:41 | 2015-08-19T21:48:41 | 36,266,476 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | def f(x): return x % 3 == 0 or x % 5 == 0
print filter(f, range(2, 25))
def cube(x): return x*x*x
print map(cube, range(1, 11))
seq = range(8)
def add(x, y): return x+y
print map(add, seq, seq) | [
"JM273606@gmail.com"
] | JM273606@gmail.com |
4b78f4a718bcee6036bc3f1536277611e5f3b666 | 3f28b697f570ded0502de70c706200005ab62525 | /env/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py | fb91c51dff1b1e891267ee3c52dd63a6ed9ae448 | [
"MIT"
] | permissive | Ram-Aditya/Healthcare-Data-Analytics | 5387e41ad8e56af474e10fa2d1c9d8a2847c5ead | d1a15d2cc067410f82a9ded25f7a782ef56b4729 | refs/heads/master | 2022-12-09T12:49:59.027010 | 2019-11-23T20:10:55 | 2019-11-23T20:10:55 | 223,639,339 | 0 | 1 | MIT | 2022-11-22T00:37:48 | 2019-11-23T19:06:20 | Jupyter Notebook | UTF-8 | Python | false | false | 15,580 | py | """
Utilities for fast persistence of big data, with optional compression.
"""
# Author: Gael Varoquaux <gael dot varoquaux at normalesup dot org>
# Copyright (c) 2009 Gael Varoquaux
# License: BSD Style, 3 clauses.
import pickle
import traceback
import sys
import os
import zlib
import warnings
from ._compat import ... | [
"ramaditya.danbrown@gmail.com"
] | ramaditya.danbrown@gmail.com |
4f03c3470bbba0f7c758d20b10865ae84540daca | 5a9d8c64c6478f3816b63f59f1cdaca73c0848eb | /pythonNet/ex11_re/regex.py | e958d05f261053f72450c4cb97517e4327dd014a | [] | no_license | wangredfei/nt_py | f68134977e6d1e05cf17cec727644509f084c462 | fedf03c0d52565f588e9b342d1c51df0b6dc2681 | refs/heads/master | 2020-04-08T07:55:08.302589 | 2018-11-23T09:53:48 | 2018-11-23T09:53:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 451 | py | import re
s = '2008年发生了很多大事,08奥运,512地震'
s2 = "zhang:1994 li:1993"
'''
pattern = r'(\w)+:(\d+)'
# [('g', '1994'), ('i', '1993')]
pattern = r'(\w+)+:(\d+)'
# [('zhang', '1994'), ('li', '1993')]
l = re.findall(pattern,s2)
print(l)
'''
pattern = r'\d+'
regex = re.compile(pattern)
l = regex.findall(s,0,19)
print(l)
l = re... | [
"289498360@qq.com"
] | 289498360@qq.com |
f98515e8184c3727c5d871f06b0705370ea3bfc8 | ce074998469af446e33d0fab7adb01320ccc77ed | /dst_procedures/Execute command writing output to local Admin Share.py | e8d4822c286ecd38edd7c220027f7a2e6937af2e | [] | no_license | parahaoer/detection_rules | 1341063568b0ccfa180da129a29aeec0a62e679e | c9f3408eccbcb4b61d1d441af31839872f9bb26c | refs/heads/master | 2023-02-09T13:54:40.254874 | 2020-12-28T09:25:31 | 2020-12-28T09:25:31 | 265,990,044 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 410 | py | {"query": {"constant_score": {"filter": {"bool": {"must": [{"bool": {"must": [{"match_phrase": {"event_id": "5140"}}, {"match_phrase": {"share_name": "Admin$"}}]}}, {"bool": {"must_not": [{"bool": {"must": [{"wildcard": {"user_name.keyword": "*$"}}]}}]}}]}}}}}
tactic = "Lateral Movement"
technique = "Windows Admin Shar... | [
"33771109+parahaoer@users.noreply.github.com"
] | 33771109+parahaoer@users.noreply.github.com |
2223b95c0de46b2364e258f55bd107d6d44603c1 | f9529fb21c8c3bcd65d392b018b4885141c17376 | /moneymap/core.py | 7e5be0fd7e02a3b3924e0c95ed610eafce16fecc | [
"MIT"
] | permissive | kobiluria/MoneyMap | 3a71cd0a271f610ce16d0fb6c0e6dcfd9e432e3a | 78f329775df8695dbc15c8f04b5890b625663bf3 | refs/heads/master | 2021-01-10T19:58:03.726726 | 2014-04-14T17:35:55 | 2014-04-14T17:35:55 | 18,042,079 | 1 | 1 | null | 2014-03-28T06:04:44 | 2014-03-23T19:51:34 | null | UTF-8 | Python | false | false | 67 | py | from flask.ext.mongoengine import MongoEngine
db = MongoEngine()
| [
"paulywalsh@gmail.com"
] | paulywalsh@gmail.com |
9b83b8e8c296e4803184fccdac2033c1537c7f51 | 077c91b9d5cb1a6a724da47067483c622ce64be6 | /nox_mesh_4_loop_repro_w_3_retries/interreplay_91_l.2/replay_config.py | c00a845bedd714e8a3156ea7c049b6468c541d45 | [] | no_license | Spencerx/experiments | 0edd16398725f6fd9365ddbb1b773942e4878369 | aaa98b0f67b0d0c0c826b8a1565916bf97ae3179 | refs/heads/master | 2020-04-03T10:11:40.671606 | 2014-06-11T23:55:11 | 2014-06-11T23:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 765 | py |
from config.experiment_config_lib import ControllerConfig
from sts.topology import *
from sts.control_flow import Replayer
from sts.simulation_state import SimulationConfig
simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./nox_core -v -i ptcp:6635 routing', address='127.0.0.1', po... | [
"cs@cs.berkeley.edu"
] | cs@cs.berkeley.edu |
2f551310aef9f44360448ad6ae031ec388a40da1 | 242733887bf50ffc91b2e305dfbea268fdfebae0 | /Regex/parseBytes.py | bdb567c5b6494ff4034cf86aff518e00bfb34981 | [] | no_license | aryabiju37/Python-mini-Proects | c2e4f59bf309b3d7e7696dfe92fb6ff63790114a | a84e03702665cf2e06a16637cfe24a6697163894 | refs/heads/master | 2023-07-25T18:56:54.649800 | 2021-08-27T06:49:32 | 2021-08-27T06:49:32 | 400,420,845 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 272 | py | import re
def parse_bytes(inputStream):
byteStream = re.compile(r'[0-1]{4,}')
match = byteStream.findall(inputStream)
return match
print(parse_bytes("11010101 101 323"))
print(parse_bytes("my data is: 10101010 11100010"))
print(parse_bytes("asdsa"))
| [
"riyabee123@gmail.com"
] | riyabee123@gmail.com |
1c17c87fa534798f87e424fc1c749678ab1f35ab | 17d23f404a20c34a406dd086b0a89f956c4ecac0 | /Django-Tutorials/accounts/migrations/0008_auto_20190305_0920.py | aedc1d26206c204d22e2425f605c4b62f37425b5 | [] | no_license | apabhishek178/ieltsonline | 69df682862d96bc04b318262e962e22a0919fe88 | 42061efa8293c948342a670f0a62c90d3b31ebff | refs/heads/master | 2020-04-26T09:19:55.712217 | 2019-03-20T13:36:31 | 2019-03-20T13:36:31 | 173,451,873 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 477 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2019-03-05 03:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0007_userprofile_organisation'),
]
operations = [
migrations.Al... | [
"apabhishek178@gmail.com"
] | apabhishek178@gmail.com |
dde041f8735a4a188e6da4d287558879d50e5e3a | 5730110af5e4f0abe538ed7825ddd62c79bc3704 | /pacu/pacu/core/svc/vstim/stimulus/position_tuple.py | a16384e53fbb82b460e1b846638146f31903f41b | [] | no_license | jzeitoun/pacu-v2 | bdbb81def96a2d87171ca20b89c878b2f66975e7 | 0ccb254a658263b4fe8c80ea623f860cb7dc1428 | refs/heads/master | 2021-06-03T18:50:50.890399 | 2020-04-27T16:31:59 | 2020-04-27T16:31:59 | 110,889,657 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 377 | py | from pacu.util.spec.list import FloatListSpec
from pacu.core.svc.impl.pacu_attr import PacuAttr
from pacu.core.svc.impl.ember_attr import EmberAttr
class PositionTuple(PacuAttr, FloatListSpec):
component = 'x-svc-comp-input-array'
description = EmberAttr('2 floats in deg')
placeholder = EmberAttr('')
t... | [
"jzeitoun@uci.edu"
] | jzeitoun@uci.edu |
675d92022d928d36636dbf7fb19c6956b8fcde33 | 6039142144cb221f04e29e2c7359dc5bed7bb830 | /atividade06/model/__init__.py | abc61a6a013de4d5b185c09456ed6bbd7e291e45 | [
"Apache-2.0"
] | permissive | Yuri-Santiago/yuri-mateus-poo-python-ifce-p7 | f5f245345c38b1e08a1ce6d142204b30868023d0 | edbf0e945e01430eb14dff3c0c7806582430d1c2 | refs/heads/master | 2023-06-12T18:48:08.950423 | 2021-07-09T17:04:17 | 2021-07-09T17:04:17 | 349,737,223 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,437 | py | from atividade06.model.cliente import Cliente
from atividade06.model.produto import Produto
from atividade06.model.notafiscal import NotaFiscal
from atividade06.model.itemnotafiscal import ItemNotaFiscal
# banco de dados
# Clientes
cliente1 = Cliente(1, "Yuri Mateus", 100, '200.100.345-34', 'pessoa fisica')
cliente2 ... | [
"yurimateussantiago@gmail.com"
] | yurimateussantiago@gmail.com |
dd97a9756058e4c5df2ac0b5327245d868e532b0 | fe856f232f21ee5f1b45d4c7c19d062b3b3261bc | /pyfr/solvers/navstokes/elements.py | 5c6de3d59176f9693955284cf792aadd3e4a498a | [
"CC-BY-4.0",
"BSD-3-Clause"
] | permissive | bartwozniak/PyFR | 5589c36e7dc0dcac9a7aed7c69c8964bda2c55d8 | d99120c1db245c7a2a35c72dae51ea72c49efef5 | refs/heads/master | 2021-01-20T16:03:21.409981 | 2013-12-05T18:08:48 | 2013-12-05T18:08:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 800 | py | # -*- coding: utf-8 -*-
from pyfr.solvers.baseadvecdiff import BaseAdvectionDiffusionElements
from pyfr.solvers.euler.elements import BaseFluidElements
class NavierStokesElements(BaseFluidElements, BaseAdvectionDiffusionElements):
def set_backend(self, backend, nscalupts):
super(NavierStokesElements, sel... | [
"freddie@witherden.org"
] | freddie@witherden.org |
6c2149f2e2e124af3166ea13c3d9579008857761 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /120_design_patterns/003_factories/examples/factory/Factory/autos/jeepsahara.py | 2deb7ee4bf417e533292c263531291cac3658182 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 227 | py | from .abs_auto import AbsAuto
class JeepSahara(AbsAuto):
def __init__(self, name):
self._name = name
def start(self):
print('%s running ruggedly.' % self.name)
def stop(self):
print('%s shutting down.' % self.name) | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
6a9ea93a8f6c1c2225a44921839604c2585cc1a9 | e2afe7e135d4cf68fb88cbccf59a782c986fb171 | /getTwits.py | fac1fd1a4f85c8576b00c655b35f4bfee464c1f3 | [] | no_license | BUEC500C1/video-AIRICLEE | b09368ef9543c5f1599f80e5f21e7a0556a1c552 | f2a4ac0d8ce000673c1fe5e163eb841b56bab0c9 | refs/heads/master | 2020-12-29T09:30:30.298871 | 2020-02-25T01:29:33 | 2020-02-25T01:29:33 | 238,556,328 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,069 | py | import tweepy #https://github.com/tweepy/tweepy
import os
from PIL import Image, ImageFont, ImageDraw
import twitterAPIKey
def getTwitsFeed():
#Twitter API credentials
consumer_key = twitterAPIKey.consumer_key
consumer_secret = twitterAPIKey.consumer_secret
access_key = twitterAPIKey.access_key
access_secret ... | [
"noreply@github.com"
] | BUEC500C1.noreply@github.com |
cf52fd255745206eefa21f318a7747bf99f10b47 | 63f9a0d150cbef75f4e6e8246dc7ecac3f3b6d09 | /rllib/agents/a3c/a2c.py | 0a71a359c014b6d352bd73ae29c0b0ff8ea4351d | [
"Apache-2.0",
"MIT"
] | permissive | ray-project/maze-raylit | 79f0a5af9fe4bdc13a2d5b3919da867ed5439aab | a03cd14a50d87d58effea1d749391af530d7609c | refs/heads/master | 2023-01-23T04:23:35.178501 | 2020-12-04T22:34:14 | 2020-12-04T22:34:14 | 318,274,659 | 5 | 0 | Apache-2.0 | 2020-12-04T22:34:15 | 2020-12-03T17:47:58 | Python | UTF-8 | Python | false | false | 2,487 | py | import math
from ray.rllib.agents.a3c.a3c import DEFAULT_CONFIG as A3C_CONFIG, \
validate_config, get_policy_class
from ray.rllib.agents.a3c.a3c_tf_policy import A3CTFPolicy
from ray.rllib.agents.trainer_template import build_trainer
from ray.rllib.execution.metric_ops import StandardMetricsReporting
from ray.rlli... | [
"noreply@github.com"
] | ray-project.noreply@github.com |
7472d35af0f5726c029f1b53e6644e87d50bde12 | 9c47c55873e88d747bccb397c4b8197f42317c99 | /main.py | 8e86847052413cc452bb67b2ca961a4967c68a4a | [] | no_license | balubankudi/LinkedIn-Course | 29eefc7a86df3be5dc1d1b2953b9e1ef6077a158 | 26907301529db251d048f3b5ae129ab445c8bf6e | refs/heads/master | 2022-11-18T08:38:15.960284 | 2020-06-23T17:45:37 | 2020-06-23T17:45:37 | 274,471,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,049 | py |
x = 100
y = 42
if x == 5:
print("do five stuff")
elif x == 6:
print("do six stuff")
else:
print("do something else")
# Copyright 2009-2017 BHG http://bw.org/
words = ['one', 'two', 'three', 'four', 'five']
n = 0
while(n < 5):
print(words[n])
n += 1
# Copyright 2009-2017 BHG http://bw.org/
w... | [
"replituser@example.com"
] | replituser@example.com |
5377cede56b1c31c3c6e1d05f57ca234f77bbbf7 | 56afef87e593f4a09da95ebeceb3b04940d7069f | /Unified/stagor.py | 7efc149dc8a90ff89ef4b2494eeeff03c2cc2a03 | [] | no_license | lucacopa/WmAgentScripts | 8bf3d3377a84be6172eb2b13214d8e7b2596d130 | c6884f005574506c27b4a09099d987e70734c7e5 | refs/heads/master | 2021-01-18T07:21:55.940980 | 2015-07-13T19:16:48 | 2015-07-13T19:16:48 | 12,436,871 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,659 | py | #!/usr/bin/env python
from assignSession import *
from utils import checkTransferStatus, checkTransferApproval, approveSubscription, getWorkflowByInput
import sys
import itertools
import pprint
from htmlor import htmlor
def stagor(url,specific =None):
done_by_wf_id = {}
done_by_input = {}
completion_by_inp... | [
"vlimant@cern.ch"
] | vlimant@cern.ch |
28519e7591dcb13b25682c4d4c25774be9b499d1 | 52b5773617a1b972a905de4d692540d26ff74926 | /.history/largestTime_20200903122443.py | 84a256da28e4d575cd155ab30b135a196baa028c | [] | no_license | MaryanneNjeri/pythonModules | 56f54bf098ae58ea069bf33f11ae94fa8eedcabc | f4e56b1e4dda2349267af634a46f6b9df6686020 | refs/heads/master | 2022-12-16T02:59:19.896129 | 2020-09-11T12:05:22 | 2020-09-11T12:05:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 667 | py | from itertools import permutations
def Time(A):
# getting the different permutations
# get the one that falls between 0000 and 2359
# then place the semi colon in the proper place
# otherwise return an empty string
A = [str(i) for i in A]
perm = permutations(A)
time = ""
newArray =... | [
"mary.jereh@gmail.com"
] | mary.jereh@gmail.com |
19f811ca33bd32efecc9c62adc05120fc3c75251 | 4ae3b27a1d782ae43bc786c841cafb3ace212d55 | /Test_Slen/PythonSelFramework/tests/emu_nvdia.py | 873ce775dcbd7be2d18d25684ee30b9ab8eb2b11 | [] | no_license | bopopescu/Py_projects | c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32 | a2fe4f198e3ca4026cf2e3e429ac09707d5a19de | refs/heads/master | 2022-09-29T20:50:57.354678 | 2020-04-28T05:23:14 | 2020-04-28T05:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,875 | py | < form
autocomplete = "false"
class ="modules-login-components-SignIn-components-Form-___style__sign-up-form___2z3Ug" >
< div class ="core-forms-components-___input__input-wrapper___17k2k" > < div class ="ui textfield invalid
">
<label for="email">Email Address</label><input autocomplete="true
" id="
email
"... | [
"sunusd@yahoo.com"
] | sunusd@yahoo.com |
d697f737208e9caf8f79d0bba9cceecc106bba98 | 40c927ea44653c645c9540e68a8f5b439990fddd | /Chap 10/10.6.5 Exercise.py | afd2bc4c30edcf594d0113cb259cefb66ad026a9 | [] | no_license | simrit1/asimo | 211ff255434637ac6ad396e8ff5ed5cee6ea971d | 12564ab591129ebbb0c2daaa3c538cc6d39aee39 | refs/heads/master | 2022-02-25T07:53:05.034587 | 2019-09-22T15:34:11 | 2019-09-22T15:34:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,405 | py | # Exercise 10.6.5
import turtle
turtle.setup(400,500)
wn = turtle.Screen()
wn.title("Tess becomes a traffic light!")
wn.bgcolor("lightgreen")
green = turtle.Turtle() # Create 3 turtles correspond with 3 traffic lights
orange = turtle.Turtle()
red = turtle.Turtle()
def draw_housing():
""" Draw a nice h... | [
"noreply@github.com"
] | simrit1.noreply@github.com |
d7200a1a5608907a5c84351d0b3f64523cdfda5a | 7b4bc42501e220d84a61a0e31da4609c6fec0939 | /lifelib/libraries/basiclife/BasicTerm_ME/Projection/__init__.py | 21991aa525a8f303b27cdccfc1dd97c3f2308998 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | odddkidout/lifelib | 14ec2ccce5b2e6b8ba2b3118300b1560b976712e | b787f43ddfd1d0eeac7e39f124ea49369c2445de | refs/heads/master | 2023-07-06T14:14:04.324826 | 2021-08-07T11:55:27 | 2021-08-07T11:55:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,637 | py | """The main Space in the :mod:`~basiclife.BasicTerm_M` model.
:mod:`~basiclife.BasicTerm_M.Projection` is the only Space defined
in the :mod:`~basiclife.BasicTerm_M` model, and it contains
all the logic and data used in the model.
.. rubric:: Parameters and References
(In all the sample code below,
the global variab... | [
"fumito.ham@gmail.com"
] | fumito.ham@gmail.com |
27d0ef92e9aba96fde4dacfa572ed41d33a84647 | aba00d6272765b71397cd3eba105fc79b3a346e0 | /Digisig/digsigvenv/lib/python3.6/site-packages/ufl/objects.py | f34c47c6d4cba9fedb8e0c36d0e65630f1ee7ba7 | [] | no_license | JosteinGj/School | a2c7cc090571b867637003fe6c647898ba9d8d24 | 3b5f29846e443b97f042241237dbda3208b20831 | refs/heads/master | 2023-05-02T11:07:29.517669 | 2021-04-26T09:04:57 | 2021-04-26T09:04:57 | 295,340,194 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,694 | py | # -*- coding: utf-8 -*-
"Utility objects for pretty syntax in user code."
# Copyright (C) 2008-2016 Martin Sandve Alnæs
#
# This file is part of UFL.
#
# UFL is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundat... | [
"jostein.gj@gmail.com"
] | jostein.gj@gmail.com |
8e838aceaeca95e269ad225ea7c65c28c335810c | e3030bb29b8c713daf360953e27b7752c6f9daa2 | /bubble_sort_test.py | 9c31b843dcadcdfa4fb66c1413e45d0460c932f7 | [] | no_license | vicvv/python_scripts | 4941316c92ec0bc7ebf6d7011071a2a727606de8 | ebe2858f2164085f75bdb1e832f894aa4ee5e729 | refs/heads/master | 2022-11-13T13:40:27.440346 | 2022-10-09T02:21:30 | 2022-10-09T02:21:30 | 217,444,576 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 298 | py | list = [3,1,9,2,9]
print ("Original list: " , list)
changed = True
while changed:
print("New Loop!")
changed = False
for i in range(0,len(list) - 1):
print(list)
if list[i] > list[i+1]:
(list[i+1], list[i]) = (list[i], list[i+1])
changed = True
| [
"xolosno270@gmail.com"
] | xolosno270@gmail.com |
cfc80e9ee07487642639f480fc81954aaf00149f | e9261678450fee1b9f05b6b03972c62c79c2bc2c | /tensorflow_compression/python/ops/round_ops_test.py | 6e9ad7ae3c8393047da725a7d9e23868e3053372 | [
"Apache-2.0"
] | permissive | tensorflow/compression | 46aa22462eded425ea66d9f006da924d330e142f | 80d962f8f8532d9a3dbdaf0a97e249b7be7c29f6 | refs/heads/master | 2023-08-21T01:11:34.129210 | 2023-08-11T15:54:52 | 2023-08-11T15:55:37 | 133,584,278 | 818 | 296 | Apache-2.0 | 2022-11-10T19:48:07 | 2018-05-15T23:32:19 | Python | UTF-8 | Python | false | false | 3,791 | py | # Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
6c587ba032a7af68306a1a2527df857e66313f3b | ddb1bb5b8ec5c07b750a305b6095aba553739a90 | /gym/data/demo.py | cd17e3f5d00c70296288634ef91fc80d1046ad5f | [] | no_license | geyang/decision-transformer | 7f41b3af8b6bd11125781c0cb458d26254d6de5a | 181d021040f5fee8241d8a642fe99aff24775fe9 | refs/heads/main | 2023-06-02T08:40:37.812378 | 2021-06-15T23:27:05 | 2021-06-15T23:27:05 | 377,266,002 | 0 | 0 | null | 2021-06-15T18:57:13 | 2021-06-15T18:57:12 | null | UTF-8 | Python | false | false | 37 | py | import dm_control
print(dm_control)
| [
"yangge1987@gmail.com"
] | yangge1987@gmail.com |
1dd995ecbf18a55f8656020e123f70bf4bbaca0e | 002ce67bd8b405ef097741165c16af3ef9c89b06 | /test1234_dev_3126/wsgi.py | 9db98b92f57c0333439ed44a259d3ec968dbcf55 | [] | no_license | crowdbotics-apps/test1234-dev-3126 | cd9bc5a3926546a92e9ab39de2726065b6854730 | 226847552ae1f8273977b005b395701a36dd3498 | refs/heads/master | 2023-03-30T00:23:04.619342 | 2020-04-20T04:40:19 | 2020-04-20T04:40:19 | 257,172,780 | 0 | 0 | null | 2021-04-09T18:25:46 | 2020-04-20T04:39:40 | Python | UTF-8 | Python | false | false | 411 | py | """
WSGI config for test1234_dev_3126 project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJ... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
764b96a217a92536ffe82d5123200c2afc5dfe5e | b853c16efafa74a9e1cb076008a17c9d85389fca | /HOME/笔记/guohao/6.py | 4f6d4ad03ced547e37db664de5c14298365081a8 | [] | no_license | Jason0221/backup | 14c48f1adb871b915d6f0ba49a26396e7cf0cd64 | dfd54cbcf7c27b0df6249104747e9a7ceffcb392 | refs/heads/master | 2020-06-03T13:14:39.751679 | 2017-05-15T08:50:38 | 2017-05-15T08:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 132 | py | #!/usr/bin/python
#coding=utf-8
'''
6. 编写一个空洞文件,大小为1K
'''
f = open('empty','w')
f.seek(1024,0)
f.write(' ')
| [
"jasonlearning@outlook.com"
] | jasonlearning@outlook.com |
01aa1c46ef883e8b40c3d3a86289407768ff42aa | 297497957c531d81ba286bc91253fbbb78b4d8be | /testing/web-platform/tests/webdriver/tests/classic/new_session/create_alwaysMatch.py | 4c4610966a6447eda19413197a76f56166971d38 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | Python | false | false | 468 | py |
import pytest
from .conftest import product, flatten
from tests.support.asserts import assert_success
from tests.classic.new_session.support.create import valid_data
@pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
def test_valid(new_session, add_browser_capabilities, key, val... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
65a09fdbf361363f147f0d6bb1e6b93b054e8390 | 559e336386e02c0e5ebc7316424c3b4a41380d99 | /fullstack/statistics/distro_evaluation_iso.py | e36f45cff0a3455c400f50e31fb62509daeaf52b | [] | no_license | maranemil/howto | edf1e294544ef6980894dcd345d73160d8aa9620 | f6270ed0affcdbd899dd8a2ff9b0b98625e63a5a | refs/heads/master | 2023-09-05T03:02:18.526914 | 2023-09-04T11:27:52 | 2023-09-04T11:27:52 | 22,177,757 | 48 | 26 | null | 2022-10-17T19:43:31 | 2014-07-23T21:04:50 | Python | UTF-8 | Python | false | false | 4,269 | py |
# https://www.onlinegdb.com/online_python_compiler
# https://ideone.com/
# https://www.tutorialspoint.com/execute_python_online.php - support numpy pandas matplotlib math
# https://repl.it/repls/DimLoathsomeTwintext - support numpy pandas matplotlib math sklearn
import numpy as np
import pandas as pd
import ... | [
"maran.emil@gmail.com"
] | maran.emil@gmail.com |
1d8083b55d082f72f892cff1f599d23d9b04c0e4 | f41309da5e0d26b24d974a009fa309a02fcaa20c | /aws_s3_policies/aws_s3_bucket_name_dns_compliance.py | 81c0bbb2ecb50dcda200b7d0ea8a5f0124f5eab4 | [
"Apache-2.0"
] | permissive | georgeSkoumas/panther-analysis | 2e1e87f83c6533cb6d62ecb62e3f61b2ff4b5ed4 | 30b21c270504bf7c84f99207c9c6c2f6110843ae | refs/heads/master | 2022-09-14T13:22:31.786275 | 2020-05-26T16:18:58 | 2020-05-26T16:18:58 | 267,569,230 | 1 | 0 | Apache-2.0 | 2020-05-28T11:15:05 | 2020-05-28T11:15:04 | null | UTF-8 | Python | false | false | 61 | py | def policy(resource):
return '.' not in resource['Name']
| [
"noreply@github.com"
] | georgeSkoumas.noreply@github.com |
3f81577375d63aefb453286aabffd215d6e539a2 | 688df3b704d072fc05f5d23a432f30037e864d35 | /sorting/quick_sort.py | 793378ba8787b7ad85a239a51eb46683ffb51e4d | [] | no_license | mfuentesg/problem-solving | 87d459cc532b81ec0882bd88b4fd0d4d62357824 | ffb91831a303ce8670c04580a10dcc4b7dd35dcb | refs/heads/master | 2023-03-19T00:20:27.245732 | 2021-03-07T19:23:43 | 2021-03-07T19:23:43 | 315,674,743 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 687 | py | def quick_sort(items):
def swap(i, j):
if i == j:
return
temp = items[i]
items[i] = items[j]
items[j] = temp
def partition(left, right):
pivot = items[right]
pointer = left - 1
for i in range(left, right):
if items[i] < pivot:
... | [
"marceloe.fuentes@gmail.com"
] | marceloe.fuentes@gmail.com |
b3ef8f8b0b2b71c3623b3d8b0ba12a381961635c | f7d47249f7e74bec51eacaa05f381674b92e3611 | /interview/19_多线程threading.Thread.py | 729ee1370c66c0b35d3a2915947de85fc312ba42 | [] | no_license | jinlijiang123/crawler | f96764bc5e7ae6f254e397189c4228336889a0d1 | cd3f16d04cc7c83b78d5a78afa7a57951399d490 | refs/heads/master | 2020-06-15T19:44:48.892953 | 2019-03-26T04:35:29 | 2019-03-26T04:35:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 771 | py | # -*- coding: utf-8-*-
import random
import time,threading
def thread_run(urls):
print "Current %s is running..."%threading.current_thread().name
for url in urls:
print '%s......%s'%(threading.current_thread().name,url)
time.sleep(random.random())
print "Current %s ends..."%threadi... | [
"648672371@qq.com"
] | 648672371@qq.com |
def004f06e653303926927e3b105f622f2d9984f | 9ca9cad46f2358717394f39e2cfac2af4a2f5aca | /Week04/01_basics/01_basics_LGY.py | f3d3afb393caffb65ae5b7cb0cc3a3bf563069da | [] | no_license | Artinto/Python_and_AI_Study | ddfd165d1598914e99a125c3019a740a7791f6f6 | 953ff3780287825afe9ed5f9b45017359707d07a | refs/heads/main | 2023-05-05T15:42:25.963855 | 2021-05-24T12:24:31 | 2021-05-24T12:24:31 | 325,218,591 | 1 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,924 | py | #01_basics.py
import numpy as np # 행렬계산을 용이하게 해주는 라이브러리
import matplotlib.pyplot as plt # 시각적으로 볼 수 있도록 그래프를 만들어주는 라이브러리
x_data = [1.0, 2.0, 3.0] # 학습시킬 문제 x data
y_data = [2.0, 4.0, 6.0] # 학습시킬 답안 y data
# 함수실행시 실행되는 함수
# linear regression
# y_pred_val = forward(x_val) // line 실행시 x_val이 통과하는 forward함수
de... | [
"noreply@github.com"
] | Artinto.noreply@github.com |
9f11a8a4e2e6119aaf6a992994dea49a32aebe0d | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_myspace.py | 5aa68abf70dd96af4471607b3e717ee92bc74843 | [
"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 | 392 | py |
#calss header
class _MYSPACE():
def __init__(self,):
self.name = "MYSPACE"
self.definitions = [u'a social media website used especially for sharing music, music videos, and information about musical artists ']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie =... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
1df2a55cfa73babf59f39d8d79273ee2f586ee42 | 20e3010608e40a6ec5ea56f69d122a62182e4bdb | /1 - Python-2/10 - unit tests/test_prime_numbers.py | 846a190019cc7098811faedf3ee6b8c99fe68923 | [] | no_license | LarisaOvchinnikova/Python | ee65eac221cd03563d60110118175692564c5b2d | 9cc86a260828662995dec59a6d69528f96d37e79 | refs/heads/master | 2021-08-22T21:41:02.351589 | 2021-05-25T18:37:09 | 2021-05-25T18:37:09 | 253,842,826 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 249 | py | from prime_numbers import is_prime, fibonacci
def test_is_prime():
assert is_prime(2) == True
assert is_prime(3) == True
assert is_prime(-1) == False
assert is_prime(4) == False
def test_fibonacci():
assert fibonacci(1) == 1
| [
"larisaplantation@gmail.com"
] | larisaplantation@gmail.com |
c7480f1b1bec354bb6248ee2a68df0ae9e94dbc2 | 462c56e7454c97e0541588b9be66a4e216ea20fd | /453.minimum-moves-to-equal-array-elements.py | 2e6d96729301360e54f20d7f08acd741bd43ac3d | [] | no_license | LouisYLWang/leetcode_python | d5ac6289e33c5d027f248aa3e7dd66291354941c | 2ecaeed38178819480388b5742bc2ea12009ae16 | refs/heads/master | 2020-05-27T08:38:48.532000 | 2019-12-28T07:08:57 | 2019-12-28T07:08:57 | 188,549,256 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 274 | py | #
# @lc app=leetcode id=453 lang=python
#
# [453] Minimum Moves to Equal Array Elements
#
class Solution:
def minMoves(self, nums):
minvalue = min(nums)
sum_ = sum(nums)
n = len(nums)
return sum_ - minvalue * n
| [
"louis.yl.wang@outlook.com"
] | louis.yl.wang@outlook.com |
492edc1fcfc189426a503a19e709f3bc7b819d30 | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/pg_1245-042/sdB_pg_1245-042_lc.py | 91ce244322e683ec2e15ee1d01e0cc7f5bb72ef9 | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 345 | py | from gPhoton.gAperture import gAperture
def main():
gAperture(band="NUV", skypos=[192.058083,-4.513167], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_1245-042/sdB_pg_1245-042_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3)
if __name_... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
3b06e98026136575d9506393d4ebba3fb1fec542 | c1e46fb0a7d8d86fc52dfb54016e17d22f81c2b4 | /eterea_quickLocators/scripts/scale_selected_locators.py | 0bb1ed925f68f58a2d567fb23c92ac9f4ee4cd19 | [] | no_license | Tilapiatsu/modo-tila_customconfig | 130ac84397f87048c87cd670f152df74eefd6b26 | 749d02fcb4d05ec0dbe6895e3d415751f181592e | refs/heads/master | 2021-01-17T12:38:20.269540 | 2018-10-22T08:37:32 | 2018-10-22T08:37:32 | 59,156,743 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,947 | py | #python
# scale_selected_locators.py
#
# Version 1.2 - By Cristobal Vila, 2013 - With the help of other members from Luxology Forums :-)
# Special thanks to MonkeybrotherJR
#
# To scale all channels in a selected Locators,
# no matter the kind of Locators and if there are some channels greyed
#
# www.etereaestudios.co... | [
"tilapiatsu@hotmail.fr"
] | tilapiatsu@hotmail.fr |
a5c615b39fbe692f7ddbc540eb34891cbe602283 | ad20495c8df427211dba51c93c507365f9fce319 | /init_topics.py | 3f60ed5eadea3515bdf1c8b64457c332722eb00d | [
"LicenseRef-scancode-public-domain"
] | permissive | tilejet/tilejet-server | 779398257c65138c906f3989c63e029dfe45587e | 7bd0caa18cde98a8fd80aeea6e06bbe8aa2fa1be | refs/heads/master | 2021-01-10T02:41:23.553939 | 2015-12-06T07:18:56 | 2015-12-06T07:19:59 | 43,448,267 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 734 | py | from django.conf import settings
from geowatchdjango.utils import provision_geowatch_client
verbose = True
enabled = settings.GEOWATCH_ENABLED
if not enabled:
print "GeoWatch not enabled via settings"
topic_requests = settings.TILEJET_GEOWATCH_TOPIC_REQUESTS
topic_logs = settings.TILEJET_GEOWATCH_TOPIC_LOGS
to... | [
"pjdufour.dev@gmail.com"
] | pjdufour.dev@gmail.com |
0e828d914306ac83778d23de820a991cf5e6c1a2 | d257a3c9c96b919d7ba8ffe4b674437aea76afc7 | /zips/script.vistatv-installer/extractor.py | 7eedae1c68e2b89e9861ab34f4674f6ac0de2fe4 | [] | no_license | biglad/eptvinstall | 457053791684127c91bb847262d91cd76e9e0a12 | 4eaa522a7d9edc068e7824576147be190897fb09 | refs/heads/master | 2022-05-06T05:00:23.291801 | 2022-04-14T23:17:11 | 2022-04-14T23:17:11 | 230,219,713 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,274 | py |
import xbmcgui
import utils
import os
import xbmc
KODIV = float(xbmc.getInfoLabel("System.BuildVersion")[:4])
if KODIV > 17:
import zfile as zipfile #FTG mod for Kodi 18
else:
import zipfile
def extract(packedfile, unpackpath, dname, dp = None):
if not dname:
dname = "CerebroTV"... | [
"biglad@mgawow.co.uk"
] | biglad@mgawow.co.uk |
5d2c11912d326b2c3506e24f1f9f563969a58800 | d3239c2e5652378b17932553f80be1dbcbbdfdbf | /python/week14/p_00.py | eff8eaff11bcd268f2727c5834064ef89fe0e157 | [] | no_license | jorge-alvarado-revata/code_educa | 673a8b10817c24b3fc2c5792d216837c15a701aa | 241e1e3f43586e486b73cee8f385ab74dd99caf1 | refs/heads/main | 2022-12-25T21:37:36.988225 | 2020-10-13T18:59:38 | 2020-10-13T18:59:38 | 303,801,120 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | py | class Foo:
def __init__(self, name):
self._name = name
def get_name(self):
return self._name
def __str__(self):
return 'object Foo: {}'.format(self._name)
a = Foo('myfoo')
print(a)
print(a.get_name())
| [
"serviciosplusapp@gmail.com"
] | serviciosplusapp@gmail.com |
44183f2c6594b09ae874bf3617411f1646150c47 | 3bc8823224b335c4bffe10db525e109a44d1000a | /backend/manage.py | b5e28faeb76b7beace9e0f99570e872daa1a9833 | [] | no_license | crowdbotics-apps/msm-mobile-231109-d-15521 | 55068537db8f5e2e47c139a49eaabbad1dd5ca07 | b5c8274463bbad7e68e1bb7bf5d274c5a9fdf5c1 | refs/heads/master | 2023-01-14T05:02:35.599404 | 2020-11-23T09:52:34 | 2020-11-23T09:52:34 | 315,269,472 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 645 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'msm_mobile_231109_d_15521.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
a7dc79a7ddb9579d57776b334612349c8cf06707 | 5537eec7f43098d216d2b550678c8d10b2a26f09 | /venv/tower/lib/python2.7/site-packages/azure/mgmt/logic/models/run_workflow_parameters.py | c0fe65944511e5100dc38f57793055e7c3a88f22 | [] | no_license | wipro-sdx/Automation | f0ae1512b8d9d491d7bacec94c8906d06d696407 | a8c46217d0fbe51a71597b5db87cbe98ed19297a | refs/heads/master | 2021-07-08T11:09:05.314435 | 2018-05-02T07:18:54 | 2018-05-02T07:18:54 | 131,812,982 | 0 | 1 | null | 2020-07-23T23:22:33 | 2018-05-02T07:15:28 | Python | UTF-8 | Python | false | false | 1,043 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# C... | [
"admin@example.com"
] | admin@example.com |
85b27e1850e9ab3f662cc6e402360ba7f1a4fbbf | c2f85286d1e21fb803c35f6d996abc850b993e53 | /mystorage/views.py | bac4b48fe57ef1003f3a3b1a4254cadca2c86c66 | [] | no_license | devdw98/likelion_drf | dfeec1bf5ee153918807f99040c8c33240c4344c | 6d0171961bc93f4edd7998b7351034e0a936079d | refs/heads/master | 2020-07-29T20:38:29.041098 | 2019-10-27T07:22:53 | 2019-10-27T07:22:53 | 209,951,594 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,785 | py | from rest_framework import viewsets
from .models import Essay, Album, Files
from .serializers import EssaySerializer, AlbumSerializer, FilesSerializer
from rest_framework.filters import SearchFilter # 검색
from rest_framework.parsers import MultiPartParser,FormParser
from rest_framework.response import Response
from res... | [
"devdw98@gmail.com"
] | devdw98@gmail.com |
667ac49be64cde87e2044c48985e2d91cfce26bd | b9f0399cf7ea0a66fb76900f0c2ceac2d4859d34 | /venv/lib/python3.6/site-packages/pygments/lexers/csound.py | 2c9b1e97286cc2dd434d7e45ffb236c1d353fc40 | [] | no_license | huangtaosdt/QA-website-zsb | eea0fcd6a2415cf5c61f01f6692d39a544ed900a | 518470a3b37d6561797a38de42fe0c81d27c6ceb | refs/heads/master | 2021-09-20T15:19:44.559747 | 2018-08-11T03:53:17 | 2018-08-11T03:53:17 | 100,498,996 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 12,540 | py | # -*- coding: utf-8 -*-
"""
pygments.lexers.csound
~~~~~~~~~~~~~~~~~~~~~~
Lexers for CSound languages.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
from pygments.lexer import RegexLexer, bygroups, default, include, using... | [
"huangtaosdt@163.com"
] | huangtaosdt@163.com |
c7dcf5d5e7428481fbe074379f43dd32bb6f556c | bd02769c3f8cbd250c0c488c580852b28bda2ff4 | /venv/Lib/site-packages/instruments/tests/test_thorlabs/test_thorlabs_lcc25.py | 1865b5f51c9e0c1dcc19af63b7187aeb37a1620f | [] | no_license | LiamDroog/DG645-Interface | 01ef09083b3e08de186ddef00cd0cc3a774e468b | 5f81ea76797893f807bb2a8b4a967de1f8effba0 | refs/heads/master | 2023-06-30T01:39:42.142594 | 2021-08-04T15:05:01 | 2021-08-04T15:05:01 | 387,855,182 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 9,417 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module containing tests for the Thorlabs LCC25
"""
# IMPORTS ####################################################################
from __future__ import absolute_import
import pytest
import quantities as pq
import instruments as ik
from instruments.tests import expe... | [
"droog@ualberta.ca"
] | droog@ualberta.ca |
76798c14c341150c22b20258d37b3a778b75999d | 88023c9a62994e91291c67088156a2894cc26e9e | /corral/run/alert.py | 158db6152901180cc09d4f126540afa3dd86c8dc | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | toros-astro/corral | 41e9d0224d734c4268bf5161d472b3c0375842f0 | 75474b38ff366330d33644461a902d07374a5bbc | refs/heads/master | 2023-06-10T15:56:12.264725 | 2018-09-03T17:59:41 | 2018-09-03T17:59:41 | 44,282,921 | 6 | 5 | BSD-3-Clause | 2023-03-24T12:03:17 | 2015-10-14T23:56:40 | Python | UTF-8 | Python | false | false | 7,350 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2016-2017, Cabral, Juan; Sanchez, Bruno & Berois, Martín
# 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 sourc... | [
"jbc.develop@gmail.com"
] | jbc.develop@gmail.com |
0066ff8bc3fd0ad05dd8a0a3ad12977be023ba21 | a447f89a13573328dc09ebc267a436220cf0b521 | /tests/fixtures/common/models/hl7_v3/ne2008/multicacheschemas/coct_mt110000_uv04.py | f3c8ed144287df0b710a7f9531482412c96ddf37 | [
"MIT"
] | permissive | ansFourtyTwo/xsdata | 8260e6dda8cf6e963ddf782b6a22a5dfc9192514 | 525be01d12e4d8abd792969adedcfafcee3fcf9b | refs/heads/master | 2022-11-13T13:25:18.370403 | 2020-07-11T17:54:53 | 2020-07-12T17:31:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,616 | py | from enum import Enum
from dataclasses import dataclass, field
from typing import List, Optional, Union
from tests.fixtures.common.models.hl7_v3.ne2008.coreschemas.datatypes_base import (
AdExplicit,
Bl,
Ce,
Cs,
Ii,
IvlTsExplicit,
Mo,
OnExplicit,
PnExplicit,
St,
TelExplicit,
... | [
"tsoulloftas@gmail.com"
] | tsoulloftas@gmail.com |
9880d0bf8f032a96170410d474dea6707d70f473 | 15102eb2c657a296eb00821dc378225b79fbc17e | /Homework/venv/Lib/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/cache.py | 0fdcffdef8a23b2e8997bf89d25ee3f7bc7c5fe9 | [] | no_license | yuju13488/pyworkspace | 746446b3573fa6241d979b205e964e7d52af009b | 0c77836185237450ee446542e6ff3856c7cd7de1 | refs/heads/master | 2020-08-02T03:56:55.577735 | 2019-10-04T05:50:56 | 2019-10-04T05:50:56 | 211,226,300 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,690 | py | """Cache Management
"""
import errno
import hashlib
import logging
import os
from pip._vendor.packaging.utils import canonicalize_name
from pip._internal.download import path_to_url
from pip._internal.models.link import Link
from pip._internal.utils.compat import expanduser
from pip._internal.utils.temp_dir import T... | [
"shiyoo123@hotmail.com"
] | shiyoo123@hotmail.com |
9bf8399b0d96619d46fa8d08f62c9db0def0eaee | f842b77b50015456f1396b71e527180d48a2eadc | /demo/libdemo/write_names.py | 860bf2382a5dc182f36c923677e879b906d1374a | [] | no_license | srikanthpragada/PYTHON_16_JUNE_2020 | 75e4d2b42607e31e26d6a5df3ea0065df941c750 | 50c2d0c355eef94ed93c4e124796fe3add7a60d9 | refs/heads/master | 2022-11-24T12:42:28.594097 | 2020-07-29T02:28:21 | 2020-07-29T02:28:21 | 273,117,380 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 177 | py | with open("names.txt", "wt") as f:
while True:
name = input("Enter name [end to stop] : ")
if name == 'end':
break
f.write(name + "\n")
| [
"srikanthpragada@gmail.com"
] | srikanthpragada@gmail.com |
21675dfebc1da3e403944ba6c29730499d64b6c6 | d9dbeafdcbe65f1121acb6f3d2ea789c33dc9edf | /data_structures/binary_tree.py | f1744e98626cbacd893c6a2a5cdc96cc357f4f4f | [] | no_license | Ethic41/LearningAlgorithms | 2227547064f0027a265e62a48d12923013cf2511 | 614fcf534344e643cda4867c0e45be507ebe46b8 | refs/heads/master | 2022-11-28T11:57:56.899894 | 2022-11-24T12:28:14 | 2022-11-24T12:28:14 | 192,438,021 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,833 | py | # Author: Dahir Muhammad Dahir
# Date: 04-July-2019 10:14 PM
# About: Binary Tree is a non-linear, finite,
# connected, undirected graph with vertex
# or node of degree !> 3, data structure.
# this is my first implementation of a
# binary tree, note that due to it's varying
# nature, this is not the only possible imple... | [
"dahirmuhammad3@gmail.com"
] | dahirmuhammad3@gmail.com |
ac6d39306311581386b425c673286cf0df918c6c | eb9f655206c43c12b497c667ba56a0d358b6bc3a | /python/testData/intentions/addMissingVarargsInGoogleDocString.py | 4ac878d317527059d445618173bfd0bbe605f9c5 | [
"Apache-2.0"
] | permissive | JetBrains/intellij-community | 2ed226e200ecc17c037dcddd4a006de56cd43941 | 05dbd4575d01a213f3f4d69aa4968473f2536142 | refs/heads/master | 2023-09-03T17:06:37.560889 | 2023-09-03T11:51:00 | 2023-09-03T12:12:27 | 2,489,216 | 16,288 | 6,635 | Apache-2.0 | 2023-09-12T07:41:58 | 2011-09-30T13:33:05 | null | UTF-8 | Python | false | false | 72 | py | def <caret>f(x, *args, **kwargs):
"""
Args:
x: foo
""" | [
"mikhail.golubev@jetbrains.com"
] | mikhail.golubev@jetbrains.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.