blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 283 | content_id stringlengths 40 40 | detected_licenses listlengths 0 41 | license_type stringclasses 2
values | repo_name stringlengths 7 96 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 58
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 12.7k 662M ⌀ | star_events_count int64 0 35.5k | fork_events_count int64 0 20.6k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 43
values | src_encoding stringclasses 9
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 5.88M | extension stringclasses 30
values | content stringlengths 7 5.88M | authors listlengths 1 1 | author stringlengths 0 73 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0c7402354a7cb6102aa6435284b924201a99110 | 6b41558f2c07b86da06c69dbf06363a43f08b644 | /python-gui/venv/lib/python3.7/site-packages/nidaqmx/_task_modules/channels/di_channel.py | 9c664c03946a3ba63e5b5793548a9ba507b291df | [] | no_license | Sammyalhashe/Charter-cp | 5222ed249e50d3b5eeb468d90bc9dc34cb5eccd4 | 1652d7b25c986d0a4c1f08bc68252132ed3566d0 | refs/heads/master | 2023-03-14T13:00:08.591094 | 2019-10-26T04:21:37 | 2019-10-26T04:21:37 | 174,767,319 | 0 | 0 | null | 2023-02-28T10:40:37 | 2019-03-10T02:05:10 | Python | UTF-8 | Python | false | false | 29,368 | py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import ctypes
import numpy
from nidaqmx._lib import lib_importer, ctypes_byte_str, c_bool32
from nidaqmx.errors import (
check_for_error, is_string_buffer_... | [
"sammy.alhashemi@mail.utoronto.ca"
] | sammy.alhashemi@mail.utoronto.ca |
ac7200650548a96aa75c494dea0cd0ff98b1f957 | cab7ef4e4e7cac671f141f5f798ff10182bb91a3 | /test/cli_test.py | 9750307a6679441a631a7cdfc2ac1aa11eef8935 | [] | no_license | beesperester/python-scriptable-houdini | be547299232fa47f111727201fc3b66ea4785564 | 34183bff5cb79b18d4f680341a31ea8796cd4a1d | refs/heads/master | 2022-12-08T08:20:18.014984 | 2020-08-30T19:52:57 | 2020-08-30T19:52:57 | 291,506,374 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 238 | py | import unittest
# pydini
from pydini.cli import cli
class TestCliMethods(unittest.TestCase):
def test_cli(self):
self.assertTrue(cli("file /Users/bernhardesperester/git/python-scriptable-houdini/examples/example"))
| [
"bernhard@esperester.de"
] | bernhard@esperester.de |
c0c3bb2377ffb17d151d44f8e2220410d3ca089f | 99ddc4733f832dcabb4dad5e190b927ce9e0e629 | /result_data/publications_links.py | 364d0b517876d8d438320ea4718829a468a12791 | [] | no_license | Casyfill/scrapingMID | 41f760a560a4cd368784f66c6771d9fec426a2c6 | 433bcca3c9e4f6effb1851983f1b39c4ca1a2eb4 | refs/heads/master | 2021-01-20T10:46:06.816792 | 2015-06-17T15:17:56 | 2015-06-17T15:17:56 | 37,602,638 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,948 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
## Philipp Kats (c) June 2015
## scraping MID : Публикации
import requests, scraperwiki #, json, urllib, time,random
from datetime import datetime
import lxml.html
def scrapePageSMI(link, earl):
'''
scraping page from MID: answers to SMI;
'''
unique_keys =... | [
"casyfill@gmail.com"
] | casyfill@gmail.com |
2025408b6f084f06b7e9dcbdda87b99ee50c67b9 | 69f0297c53559373a003d57a11182adcd33ed9da | /podcast_publisher/settings.py | 1b06fa6ad51cce6cda5b08db13263c4bbf38fb41 | [] | no_license | dstuck/podcast_publisher_site | a309afebba083c226fdcd3d117d5ef777322c89e | 5715939fbde4eca0b8f013216eee2168122024ef | refs/heads/master | 2020-03-28T09:53:23.079135 | 2018-10-30T18:07:47 | 2018-10-30T18:07:47 | 148,067,161 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,311 | py | """
Django settings for podcast_publisher project on Heroku. For more info, see:
https://github.com/heroku/heroku-django-template
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/re... | [
"dstuck@evidation.com"
] | dstuck@evidation.com |
fa01652f7626b82391e281ce015ba9461201d5fc | e28978d62cd1db2ef1c4e8f45a1fa58ceba81714 | /upload_cardapio/migrations/0004_auto_20161110_0014.py | a616820b15e1662364b272434fcf37bfa8a6eb6a | [] | no_license | robertocsp/bipy3 | 749af8e83172bf9afca2724a95660c7869202ce6 | 6ae18c3bdbebdbe6ffe04ffe9d521f1aa54871e0 | refs/heads/master | 2020-04-09T13:30:55.799384 | 2017-03-22T13:17:00 | 2017-03-22T13:17:00 | 62,016,005 | 0 | 0 | null | 2016-10-20T13:20:19 | 2016-06-27T01:10:24 | JavaScript | UTF-8 | Python | false | false | 573 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-11-11 00:22
from __future__ import unicode_literals
from django.db import migrations
import django.db.models.deletion
import utils.bigint
class Migration(migrations.Migration):
dependencies = [
('loja', '0008_bigint_20161110_0004'),
]
... | [
"gustavo.guly@gmail.com"
] | gustavo.guly@gmail.com |
b0ae5f1d300dc3728c0512ca7c21046ffc3f7b45 | 01f2390a52c36fd455f5364aada53aae19da976b | /recipe/migrations/0005_auto_20191018_2127.py | 202f61ebad6126d288009508b07d5ed20aa02365 | [] | no_license | BenDowswell/Recipe-Site | f682f3c74bc4908d15033ac63ca7dc24c92df070 | 9b0237cae4a022bfdeb75ebd116a41869361635e | refs/heads/master | 2020-09-12T06:37:14.883096 | 2019-12-15T21:32:02 | 2019-12-15T21:32:02 | 222,343,220 | 0 | 0 | null | 2019-12-15T21:32:04 | 2019-11-18T02:01:07 | Python | UTF-8 | Python | false | false | 629 | py | # Generated by Django 2.2.6 on 2019-10-18 21:27
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('recipe', '0004_auto_20191018_2034'),
]
operations = [
migrations.RenameField(
model_name='recipe',
old_name='picture_item',
... | [
"ben.dowswel2011@gmail.com"
] | ben.dowswel2011@gmail.com |
2f726caa6f3515f9be1e179dca3ea162e3e55a7b | 0f4fe3cc2b31d868e9869090d3b5f7f9e42a93c9 | /text_syllable/__init__.py | 10e4a4fd372ae9a2e7ec3dd35df3c85403c1b01a | [] | no_license | Fakhraddin/tf2-speech-recognition-ctc | 8f196d00e5080e0b29da1b3257110c3dab7ab40f | 746b3a2144391e40aecb388b089f7f8cfe394b7c | refs/heads/master | 2022-11-09T09:23:20.050414 | 2020-06-20T11:48:56 | 2020-06-20T11:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 459 | py | # coding: utf-8
import pickle
# loading
with open('./text_syllable/syllable_tokenizer.pickle', 'rb') as handle:
tokenizer = pickle.load(handle)
# Mappings from symbol to numeric ID and vice versa:
tokens = list(tokenizer.index_word.values())
PAD = '<p>'
BLANK = '_'
tokens = [PAD] + tokens
# blank token (for CT... | [
"lyrzzang@gmail.com"
] | lyrzzang@gmail.com |
f189cffb60f3fded40f02e86a1807b620bcc37db | a5c416002e1b14413871b7a9bf7056df6d46ee50 | /polls/views.py | 45d20d779a3b0fc3725dce793ee8746d1e07713b | [] | no_license | WellingtonIdeao/polls-app | 4d650cfc0cd315a320f208a045c84de58ac35940 | ed7186c92d820bac2c4f53a4089f2357f4212a13 | refs/heads/master | 2023-05-02T22:42:48.015176 | 2021-05-14T17:38:26 | 2021-05-14T17:38:26 | 357,293,149 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,080 | py | from django.shortcuts import render, get_object_or_404
from django.template import loader
from django.http import Http404, HttpResponse, HttpResponseRedirect
from .models import Question, Choice
from django.urls import reverse
from django.views import generic
from django.utils import timezone
# Create your views here.
... | [
"wellington.ideao@gmail.com"
] | wellington.ideao@gmail.com |
e04fe4f7498c5c51cd3c377088ad64ffb269d9d6 | 239b4c68aebe3263912e3805532cc16398392129 | /code/kaggle/model.py | dfc8e9f9cafa1eaad71a12058fd53535d9522aa2 | [] | no_license | khushjammu/deeplearning_coursera_notes | 3b3ec28cd54676ebbc7284187f8b64f28e24e065 | 89821143479881fd7a9f11bbd5ace83ad9ae8404 | refs/heads/master | 2020-08-07T23:10:22.209026 | 2019-10-08T10:54:16 | 2019-10-08T10:54:16 | 213,617,464 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,158 | py | # This Python 3 environment comes with many helpful analytics libraries installed
# It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python
# For example, here's several helpful packages to load in
print("Importing modules")
import numpy as np # linear algebra
import pandas as pd # da... | [
"khushjammu@users.noreply.github.com"
] | khushjammu@users.noreply.github.com |
85d8e9a08bf8805856e91789fb535c04c1e4863d | d264dc04f643dbe22ef123c25d68d4c58547d732 | /pyAnVIL/anvil/transformers/fhir/specimen.py | 298cddb47f9a871cffb24c44bd4478f32cbc6bca | [
"Apache-2.0"
] | permissive | dionboles-asym/client-apis | 5c3c975d12cc7cc01d95b76500bdb53880c8eae7 | f000428f6dfd9a43ee6d379d761f0143228b4b5c | refs/heads/master | 2023-06-13T05:21:46.547032 | 2021-06-03T14:55:34 | 2021-06-03T14:55:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,621 | py | """Represent fhir entity."""
from anvil.transformers.fhir import CANONICAL, join, make_identifier
# specimen_type QUESTION: https://www.hl7.org/fhir/v2/0487/index.html
# specimen_type = {
# constants.SPECIMEN.COMPOSITION.BLOOD: {
# "system": "http://terminology.hl7.org/CodeSystem/v2-0487",
# "code"... | [
"walsbr@ohsu.edu"
] | walsbr@ohsu.edu |
a40cb0bc5ac853e7a833dfa294f2bc552fd53cac | cc7dc8289acefc86af0c34cc91b2e2b3236105a4 | /Lab1 3/Pyramid/my_venv/hello_jax/setup.py | 1deca7888a25aac1914c7e9d19170efd856204fe | [] | no_license | patrykcejlowski/ORW | db32a2c9deb89571ee1bf4dd830c4662edf2c469 | 502476b5b98c88d96f7faf6745de1714992222f9 | refs/heads/master | 2021-01-10T05:25:22.500268 | 2016-01-26T22:29:29 | 2016-01-26T22:29:29 | 50,334,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,061 | py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [
'pyramid',
'pyramid_chameleon',
'pyramid_d... | [
"patrykcejlowski@gmail.com"
] | patrykcejlowski@gmail.com |
86bd70e1a02f04d78b2b80ea47b7f1e989034403 | 52b5773617a1b972a905de4d692540d26ff74926 | /.history/binaryTree2_20200617161517.py | f3a4b120336aedbc1fa778594b3da68fe9568879 | [] | 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 | 1,018 | py | # Create a node and assign a value to the node
# A tree node contains data then pointer to left child and pointer to right child
class Node:
def __init__(self,data):
# designate one node as root
self.data = data
# then the two others as child nodes
self.left = None
self.... | [
"mary.jereh@gmail.com"
] | mary.jereh@gmail.com |
e2dfe0688b587d1f971e90638686bd4c2a492dc5 | 98e81c74a6317587defef53f1a3fa23a747eda60 | /scripts/context.py | 84a2d216a0820ead0ca88b3f1d6b5e3d2b3da5c6 | [] | no_license | djiamnot/touchandflurry | 029aa81748a79b08f8b171974cbfae1fd4cf915d | 0d3ab55de1e20ec290815952cfb928eb9b8b22e9 | refs/heads/master | 2021-01-01T18:18:22.305909 | 2015-04-12T04:41:46 | 2015-04-12T04:41:46 | 30,054,015 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 455 | py | #!/usr/bin/env python
from bge import logic
cont = logic.getCurrentController()
scene = logic.getCurrentScene()
def updateContext():
global cont, obj, scene
cont = logic.getCurrentController()
obj = cont.owner
scene = logic.getCurrentScene()
def isSensorPositive():
from bge import logic
co... | [
"djiamnot@gmail.com"
] | djiamnot@gmail.com |
006c90cf7df9ec40ff716c95f1414cc597574d4a | e9689e5ba11f19acec215fcdd89a931e0a8a81d4 | /erp/productlist/migrations/0031_auto_20170912_0013.py | 4c5197ce958c73b9c14fcb62b5cdcad112426e2e | [] | no_license | PythonAlan/foshan | 75d670954b3f18d239dcbddd3ed47243778aaeb9 | 256cfddd1ec47d723dd10c1a0aff0cb82bfcef2c | refs/heads/master | 2021-08-27T22:30:46.799845 | 2017-12-10T15:46:12 | 2017-12-10T15:46:12 | 113,762,115 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 614 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-09-11 16:13
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('productlist', '0030_auto_20170911_2301'),
]
operations = [
migrations.Remov... | [
"371725153@qq.com"
] | 371725153@qq.com |
8a52c13095581ba0eee722b2e42eeb95fa47e209 | 41f7085fffd12bb53222fdba00d033a43b9d7081 | /products/admin.py | 0f57b3b447ba98103af25b0208b0a22595fdd971 | [] | no_license | arifgafizov/online_store | b852e1bd32149268bbed9159f1037561a3d7e9a0 | 25c32f0ae65469e904509772d414a79a743ae31b | refs/heads/master | 2023-08-01T06:28:47.302377 | 2021-09-18T18:30:28 | 2021-09-18T18:30:28 | 345,300,892 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 185 | py | from django.contrib import admin
from .models import Product
@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
list_display = ['id', 'title', 'price', 'is_deleted']
| [
"agafizov@gmail.com"
] | agafizov@gmail.com |
fe2be4bf5bc9911ba5caca98dd735e0bff98f479 | 642526009a434c2a6e04fe0293279a151b216d0a | /dkube/sdk/internal/dkube_client/models/job_model_parameters_priority.py | 7316475303e09acb141fd218235d1971be7f1c38 | [] | no_license | mak-454/dkube-sdk | d4b8e7f7b1d8c0b0f64b10940ae42ab9d62f4654 | d2ba78a0abbda589efc0dbd957d9a8f6fd227464 | refs/heads/master | 2022-12-26T03:17:55.627379 | 2020-05-09T17:29:08 | 2020-05-09T17:29:08 | 262,622,772 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,278 | py | # coding: utf-8
"""
Dkube api server
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.2.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
impor... | [
"ahmed.khan@oneconvergence.com"
] | ahmed.khan@oneconvergence.com |
27c6ca0d1487a5959863346286be54c89d36b592 | d6705f1df05264162fb4aeb7b5c9f9abcccde81d | /proxy/database/database.py | 7917a7925aac3abcfe5f3a2bdba77b91cb239db2 | [] | no_license | edilsonlonC/proxy-files | dd8dd66c27f3c28b4d341229e41dfeffbef9ca81 | 7e6eed96c3fc482d0c4acaf028805e5ac034734a | refs/heads/master | 2023-01-03T13:23:06.950785 | 2020-10-23T16:16:41 | 2020-10-23T16:16:41 | 296,515,818 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 249 | py | import pymongo
import os
import pprint
host = os.getenv("HOST")
port = os.getenv("DB_PORT")
db_name = os.getenv("DB_NAME")
print(host, port)
def database():
client = pymongo.MongoClient(host, int(port))
db = client[db_name]
return db
| [
"eddylson.londonio@gmail.com"
] | eddylson.londonio@gmail.com |
30c03984f4b854f1828500ebe4191db575ad42f4 | 1cd001212ffb898fbfc477f3e95532ed5d082a9c | /Models/Keras-Regressor/Backend/db.py | 74d3bac97c1d880be06fd6688a0fb41f8e063fe2 | [] | no_license | MyrionSC/P10 | 2a58b83e76a11ccd1184f44df1885e6928e229b6 | c35b543b7598378d194d5fad1e4d56def55e1929 | refs/heads/master | 2023-01-29T07:16:03.442838 | 2019-06-17T19:47:08 | 2019-06-17T19:47:08 | 168,322,410 | 0 | 0 | null | 2023-01-07T03:13:21 | 2019-01-30T10:14:44 | Python | UTF-8 | Python | false | false | 4,322 | py | import psycopg2
from Utils.LocalSettings import *
from psycopg2.extras import RealDictCursor
import pandas as pd
chosen_model = 'no_time'
def dijkstra_qry(model=chosen_model):
if model == 'baseline':
return '\'SELECT rou.segmentkey as id, startpoint as source, endpoint as target, segmentgeom as the_geom,... | [
"jensen.rasmusmoller@gmail.com"
] | jensen.rasmusmoller@gmail.com |
fcd2e851ea6d8eeb9e832b74271abedd72940a01 | 4a56b82190cab7f1a17a4d26a34411664aded52c | /models/engine/file_storage.py | d0ce43d08bb433cef70cac9b8a2170c424a2ca51 | [] | no_license | ellio-hub/AirBnB_clone_v2 | e2e4e4dfd9bd4851da73fbdece606a1c34e9a477 | e3e81657a7065ba7c0b86d24fe2f5d0ca1268743 | refs/heads/main | 2023-06-05T05:01:45.838792 | 2021-06-29T12:51:57 | 2021-06-29T12:51:57 | 380,213,566 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,159 | py | #!/usr/bin/python3
"""
This module defines a clas
"""
import json
from models.amenity import Amenity
from models.base_model import BaseModel
from models.city import City
from models.place import Place
from models.review import Review
from models.state import State
from models.user import User
class FileStorage:
"... | [
"mansourali1919@gmail.com"
] | mansourali1919@gmail.com |
6f5d6cda358dffbfad45bdcc5ef078c2959773d5 | 13fa9da327fc5b947e1cd3a70ca1602d64edb0a6 | /products/migrations/0002_offer.py | 79398b5de48ba36df96b807b33c155a181464c7a | [] | no_license | tcb1978/PythonShop | 091f5029ea8724fe93202b53ce8783fb4cc47066 | dfefd1ee10b73d12d736e75c15fba9224d3a177a | refs/heads/main | 2023-02-27T05:26:21.536266 | 2021-01-27T00:23:41 | 2021-01-27T00:23:41 | 333,252,969 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 632 | py | # Generated by Django 2.1 on 2021-01-26 22:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Offer',
fields=[
('id', mod... | [
"mattheweldredge@gmail.com"
] | mattheweldredge@gmail.com |
abd5c3783b0a47c2050a38e68c7662ced936c64f | ddcd717ca21f99edc1af5b1f4b6a010bf8cd3089 | /hopper_speech/src/battery_status_monitor.py | 56f6ef2e4a29b2c4d6399cf05b6d36a9b013123e | [
"MIT"
] | permissive | CreedyNZ/Hopper_ROS | d73b5d38758a8a8c96430799c3f528d04bc1d558 | 1e6354109f034a7d1d41a5b39ddcb632cfee64b2 | refs/heads/master | 2020-07-18T09:25:25.732740 | 2020-04-06T23:25:16 | 2020-04-06T23:25:16 | 206,221,833 | 0 | 0 | MIT | 2020-04-06T18:11:07 | 2019-09-04T03:20:00 | Python | UTF-8 | Python | false | false | 3,548 | py | #!/usr/bin/env python
from __future__ import division
import rospy
from std_msgs.msg import String
from hopper_msgs.msg import ServoTelemetry, HexapodTelemetry
from sensor_msgs.msg import BatteryState
def mean(numbers):
return sum(numbers) / max(len(numbers), 1)
SERVO_COUNT = 18
MAX_VOLTAGE = 12.5
MIN_VOLTAGE ... | [
"davidmichaelweis@gmail.com"
] | davidmichaelweis@gmail.com |
02a8f2e75063833247b447af0b17a2c764c757b3 | b8a794656624700970c50cb0e408f2ae045887d6 | /trening.py | 75057d6eeab348814536ae28e1fde9d18fb3b543 | [] | no_license | spirytus100/scripts | 4ec53dd1848d7fd9471299d7faaf1ad33d0c1c52 | 7c702b4cb20325d8dc37c8ea09e24649d3d726a9 | refs/heads/main | 2023-08-28T09:11:09.847176 | 2021-11-07T12:46:42 | 2021-11-07T12:46:42 | 425,500,626 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,828 | py | import sqlite3
import datetime
from sys import argv
connection = sqlite3.connect("trening.db", detect_types=sqlite3.PARSE_DECLTYPES | sqlite3.PARSE_COLNAMES)
def create_table(connection):
connection.execute("""CREATE TABLE IF NOT EXISTS training (
exercise TEXT NOT NULL,
weight REAL NOT NULL,
serie... | [
"noreply@github.com"
] | noreply@github.com |
bb82e32c7f67226f4394524e08ad8b3a40d034b6 | 8573070bdc8ddcabbf9bfd2dc307a6f0e37efb32 | /youtube_to_mp3.py | 778888f3b53af0c54c9132302eb301e977d49a67 | [] | no_license | Zavitit/download-from-youtube | e2ba5073eabfa5a42e6b7654fd849f234ded37f7 | cbcb6c8410333cb7a5ab33f6eb57876382755b62 | refs/heads/main | 2023-01-20T03:08:25.501011 | 2020-11-21T16:03:16 | 2020-11-21T16:03:16 | 314,844,060 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,715 | py | from __future__ import unicode_literals
import os
from concurrent.futures import ThreadPoolExecutor, wait
from typing import List, Tuple
from pytube import YouTube
from youtube_search import YoutubeSearch
# requires:
# youtube_search - https://github.com/joetats/youtube_search
# ffmpeg - https://ff... | [
"alon1234550@gmail.com"
] | alon1234550@gmail.com |
0909f463fdd4d1dada60f93d51a54ea4268747dd | c2705d1a1b0d9ee2c456f55408d4f71d9309eaff | /Aula 2 - Python + Django/Python/test.py | d3945915b9414dd0705efadc7eb57c490e9fbf4b | [] | no_license | DinoSaulo/PTA---CITi | b8bd13efa0d95bdae53df1399870eb69671c790e | caffcbef31256de3430ce21b9373f4c16e7674f9 | refs/heads/master | 2022-10-22T00:56:56.340971 | 2018-11-27T10:05:57 | 2018-11-27T10:05:57 | 155,753,775 | 0 | 1 | null | 2022-10-01T13:19:46 | 2018-11-01T17:48:05 | Python | UTF-8 | Python | false | false | 233 | py | #Dicionario
contexto = {
'register': {
'nome' : 'Marco',
'idade' : 21,
'qualidade' : 'Bonito',
}
}
if not('register' in contexto) :
print('ta aqui')
print('to aqui')
print(contexto['register'])
| [
"sab2@cin.ufpe.br"
] | sab2@cin.ufpe.br |
236d6ec62f07daa740b25140002a2ac47a6cc0a0 | 4bf5321f59a646b9c99163d94c37759e3a977af2 | /pOCCI/pOCCI_parse.py | bcf2b9a8b9460a6d06084412cee38a577f3284eb | [
"MIT"
] | permissive | CESNET/pOCCI | 00935160d9b9ae7fdd5954e2b3659eb305324d4e | 5354e20a5702dcc08d8a87a9690b4204a8388765 | refs/heads/master | 2023-08-24T19:45:30.754853 | 2017-03-27T14:52:58 | 2017-03-27T15:10:23 | 38,253,794 | 6 | 6 | null | 2016-09-08T10:13:39 | 2015-06-29T15:04:00 | Python | UTF-8 | Python | false | false | 3,304 | py | #!/usr/bin/python
import getopt
import os
import re
import sys
import version
import occi
import render
inputmime = 'text/plain'
outputmime = 'text/plain'
messagetype = 'categories'
messagetypes = ['categories', 'entities', 'resource']
def usage(name=__file__):
print '%s [OPTIONS]\n\
\n\
OPTIONS:\n\
-h, --... | [
"valtri@civ.zcu.cz"
] | valtri@civ.zcu.cz |
55376f7f22d73064faf467bc0d0b8ebf66d86e28 | aff5b675f60a8cfffc92ca285c6393eab3956b8e | /scan_values/src/velocityjackalv2.py | 0425b630c4cbb5b491d205f81ad21753cdd8bf0c | [] | no_license | marianbrunet/jackaltest2 | e913e8ff69767669ede2c23c81ab4913c494a450 | 4548c4fa11c11f5aa8cbbda235e018e05a0911dd | refs/heads/master | 2022-07-12T12:41:26.675391 | 2019-03-27T17:14:17 | 2019-03-27T17:14:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,318 | py | #! /usr/bin/env python
import rospy
from std_msgs.msg import String
from geometry_msgs.msg import Twist
import numpy as np
vel_msg = Twist()
angular_speed = 0.017
dist = 0.0
def veloc():
pub = rospy.Publisher('cmd_vel', Twist, queue_size=10)
rospy.init_node('velocity', anonymous=True)
rate = rospy.Rate(10) #... | [
"mnbrunet@outlook.com"
] | mnbrunet@outlook.com |
eb20fab054dd74e416756cfd66c75d8607d1ca97 | 99fcce231428992e00101aaa6f8dddce197b77e9 | /test_cities2.py | af0387b052fd5763e05a662cdfea1811c93a017a | [] | no_license | harshuop/Python-Crash-Course | bba995f52c17afb4030935917a62b76772b357c5 | 8606889297b5d76630fe241cdb507fb9dcdf01a3 | refs/heads/master | 2023-02-15T06:12:44.196297 | 2021-01-10T19:07:45 | 2021-01-10T19:07:45 | 297,055,905 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 300 | py | import unittest
from city_functions2 import CityCountry
class TestingFile(unittest.TestCase):
"""Testing method CityCountry"""
def test_city_country(self):
output = CityCountry('santiago', 'chile', 5000000)
self.assertEqual(output, 'Santiago Chile 5000000')
unittest.main()
| [
"harshwardhanxyx@gmail.com"
] | harshwardhanxyx@gmail.com |
be4cae57c6d7553aad6194966e21bce7945d3b4a | 6e932aa6ec9424ae0238c559112fdd0214c52be6 | /ffawp/ch03/7_pandas_excel_column_by_index.py | 46091c546d93d0be59c779e56143d2e0a2105ffe | [] | no_license | LingChenBill/python_first_introduce | d1c780dcd3653ef4cda39cc4a0c631a99071f088 | 32ff4a16fe10505fcb49e4762fc573f5f1c62167 | refs/heads/master | 2020-07-29T13:03:15.447728 | 2020-06-09T13:39:07 | 2020-06-09T13:39:07 | 209,813,590 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 827 | py | # Date:2020/5/25
# Author:Lingchen
# Mark: 利用pandas来筛选特定的列
# python3 7_pandas_excel_column_by_index.py data/sales_2013.xlsx data/output/7_output_pandas.xlsx
import pandas as pd
import sys
input_file = sys.argv[1]
output_file = sys.argv[2]
data_frame = pd.read_excel(input_file, sheet_name='january_2013', index_c... | [
"lingchen1316@163.com"
] | lingchen1316@163.com |
4efb7b1a1df0c96c04f9fc0c9fa1efe156108503 | fb02ed09ae0a33ed3319f43497bc95fb2159ca96 | /everestsalsa/wsgi.py | e8013dbc4e7cbfc50915e4f002dd57d2afe5eb81 | [] | no_license | nabinst/Salsa | d9c1bcc30e4c38c522170b72e64428d9586f9079 | 2f98086551decb2b227cb4eebb70ef78f99a4b04 | refs/heads/master | 2022-03-05T14:20:23.692993 | 2022-03-01T02:00:38 | 2022-03-01T02:00:38 | 64,690,714 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 401 | py | """
WSGI config for everestsalsa 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('DJANGO_... | [
"nabinst@hotmail.com"
] | nabinst@hotmail.com |
6a247076930cb842958c949ef8482b55f7dcb4c0 | 61c4298f78233e5b4d351e1e4d3b9161938dc5c3 | /wasurvey/settings.py | 3fca0dc9f2e994bb5c4e0fdcd40088c3202da3c0 | [] | no_license | thenocturnalanimal/wasurvey | 735b894b957ab3b2b9b8ac84e12711cfa9e2930e | 99710890877f4b62640ecf0b9dc29cb58e2ebcfc | refs/heads/master | 2022-06-10T17:10:23.852222 | 2020-05-04T19:40:25 | 2020-05-04T19:40:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,325 | py | """
Django settings for wasurvey project.
Generated by 'django-admin startproject' using Django 2.2.6.
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/
"""
import os
... | [
"noreply@github.com"
] | noreply@github.com |
ae6a32413cd11a7b2c1641750e2e0ab5eaf0098f | 4519b4b24f3907da1dde513f72d432fd9b4391f4 | /crds/jwst/specs/niriss_amplifier.spec | 6ccec0f5c173fcc470d0acdec4afa258d7e69b7b | [
"BSD-2-Clause"
] | permissive | spacetelescope/crds | 0bd712b7c7c6864c274987e7ba94a051e19d1e48 | 08da10721c0e979877dc9579b4092c79f4ceee27 | refs/heads/master | 2023-07-23T17:07:33.889579 | 2023-06-29T20:04:56 | 2023-06-29T20:04:56 | 52,045,957 | 9 | 29 | NOASSERTION | 2023-09-14T17:42:28 | 2016-02-18T23:15:38 | Python | UTF-8 | Python | false | false | 512 | spec | {
'derived_from' : 'cloning tool 0.03b (2012-09-11)',
'file_ext' : '.fits',
'filekind' : 'AMPLIFIER',
'filetype' : 'DETECTOR PARAMETERS',
'instrument' : 'NIRISS',
'mapping' : 'REFERENCE',
'name' : 'jwst_niriss_amplifier_0000.rmap',
'observatory' : 'JWST',
'parkey' : (('META.INSTRUMEN... | [
"jmiller@stsci.edu@stsci.edu"
] | jmiller@stsci.edu@stsci.edu |
3d9b2d060a77f242efcf80aa17c7928b76186008 | 518bf342bc4138982af3e2724e75f1d9ca3ba56c | /solutions/2245. Maximum Trailing Zeros in a Cornered Path/2245.py | 9c763ab4b9a81598a2bd4acdb95e98b4aed48aa7 | [
"MIT"
] | permissive | walkccc/LeetCode | dae85af7cc689882a84ee5011f0a13a19ad97f18 | a27be41c174565d365cbfe785f0633f634a01b2a | refs/heads/main | 2023-08-28T01:32:43.384999 | 2023-08-20T19:00:45 | 2023-08-20T19:00:45 | 172,231,974 | 692 | 302 | MIT | 2023-08-13T14:48:42 | 2019-02-23T15:46:23 | C++ | UTF-8 | Python | false | false | 2,034 | py | class Solution:
def maxTrailingZeros(self, grid: List[List[int]]) -> int:
m = len(grid)
n = len(grid[0])
# leftPrefix2[i][j] := # of 2 in grid[i][0..j]
# leftPrefix5[i][j] := # of 5 in grid[i][0..j]
# topPrefix2[i][j] := # of 2 in grid[0..i][j]
# topPrefix5[i][j] := # of 5 in grid[0..i][j]
... | [
"me@pengyuc.com"
] | me@pengyuc.com |
de522fbcbbe893b765777b70e77fe2fa58804235 | b7ddff46be5bdf550480116d539c2508290502e9 | /htrader.py | e2e269e4550dda62f7504ea3402b1230245c8e77 | [] | no_license | wnwjq462/HTrader | b047b07a10374ad7a2258483814002c5c2868422 | 76093642389efa88cf86f0fe2ce130bbbf4e54e3 | refs/heads/main | 2023-05-04T01:53:40.536070 | 2021-05-28T09:33:37 | 2021-05-28T09:33:37 | 314,489,621 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,147 | py | import sys
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5 import uic
from Kiwoom import *
import webbrowser
import sqlite3
import pandas as pd
from datetime import datetime
#미리 만들어 놓은 UI 불러오기
form_class = uic.loadUiType("htrader.ui")[0]
#키움 API와 연결하고 대부분의 기능이 구현되어 있는 Main Class
clas... | [
"noreply@github.com"
] | noreply@github.com |
2afd2348c69da55b22391852b71fcdcdb92ff5d2 | d1d3d14453c46d569a5933d776741d4627aabd18 | /newbookstore/books/migrations/0002_auto_20181115_0356.py | 3b17e1afbc7f7b38ef1d9f9a5cb55f519f9d27f3 | [] | no_license | lyzhao0924/rookie | aeb081eb12e4342dc30e47df751223631a1153f3 | 4d6a05410a5d6cff6315a1d74dfaf9af9eb11d8a | refs/heads/master | 2020-04-05T14:50:46.850640 | 2018-11-19T12:47:52 | 2018-11-19T12:47:52 | 156,943,269 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 616 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-11-15 03:56
from __future__ import unicode_literals
import django.core.files.storage
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('books', '0001_initial'),
]
operations ... | [
"lyzhao0924@163.com"
] | lyzhao0924@163.com |
bdc2e232268a35467bac43014ff0c2018975b6c5 | f4e1dcf694b3f0fc6005de0c543c1ae2dbedfe0b | /m14/ClassesObjectsExercise3.py | ad7c759aa1208500b387329287ca3ab14ee6d748 | [] | no_license | madhulika9293/cspp1-practice | 237f700dd5aa3e359fce25586dc4d852f8176741 | b66f3c47afa9020f9e38507f3ce2fce70e0dd30e | refs/heads/master | 2020-03-24T23:03:12.806306 | 2018-08-23T12:05:07 | 2018-08-23T12:05:07 | 143,115,986 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 622 | py | class Weird(object):
def __init__(self, x, y):
self.y = y
self.x = x
def getX(self):
return x
def getY(self):
return y
class Wild(object):
def __init__(self, x, y):
self.y = y
self.x = x
def getX(self):
return self.x
def getY(self):
... | [
"ramyamdhulika9293@msitprogram.net"
] | ramyamdhulika9293@msitprogram.net |
c1b386c649e599b7f3262762f787efd48cc491df | feff14c6b38485e0ac77e04701b020acc2ca91b4 | /App_Login/migrations/0001_initial.py | 69e691e07dc49d21cc6de529745c612481cf4e3f | [] | no_license | afiksourav/MyBlogDjango | 0531555566fdb3d319fc44a648de8e6a42188a52 | 5eec20033e9de012e1ab0ef0ee5808357ced562a | refs/heads/master | 2022-11-13T05:04:21.975383 | 2020-07-13T21:24:53 | 2020-07-13T21:24:53 | 279,412,226 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 793 | py | # Generated by Django 3.0.6 on 2020-06-19 21:26
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | [
"you@example.com"
] | you@example.com |
6cba1dc85d9dbadc3e1d85216be9187b154f073e | bf9a4dc9200e5afe6a1abbf0f70d441dd13c97f7 | /examples/imagenet_in_memory.py | a26bc7ea2d4b4b7eb7f5fcdf865da3330f90324f | [
"MIT"
] | permissive | ryan-beisner/ais-etl | c077b9aaa7f07c193e77d7e11f32945ae7425ae3 | ea57d8221f9ca678878cb900ba8aefc6d6b798a1 | refs/heads/master | 2023-01-30T04:44:31.202243 | 2020-12-09T20:44:20 | 2020-12-09T20:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,875 | py | import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
from client.ais_tar2tf import AisDataset
from client.ais_tar2tf.ops import Decode, Convert, Resize
EPOCHS = 5
BATCH_SIZE = 20
# ADJUST AisDataset PARAMETERS BELOW
BUCKET_NAME = "tar-bucket"
PROXY_URL = "http://localhost:8080"
... | [
"tknopik@nvidia.com"
] | tknopik@nvidia.com |
153c74e65dbe07eeb98cd70036cd1011e073448a | 49bce9657b65f2be61d6ab73917ad91b325895a1 | /Urgent Care + Pharmacies/scrapeUrgentCare.py | 5c904c05cae2c0748f5279793d17e66a352ce8b2 | [] | no_license | katerabinowitz/DC-Health | 346f838a5ef006723a6dd10183e5d6ceb98d01dc | 655daa9fe4f6618f2b1ce106c621c8923891f186 | refs/heads/master | 2021-01-19T07:02:45.732075 | 2017-05-04T00:11:23 | 2017-05-04T00:11:23 | 65,040,265 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 414 | py | from bs4 import BeautifulSoup
import urllib
import pandas as pd
r = urllib.urlopen('https://www.urgentcarelocations.com/dc/washington-dc-urgent-care').read()
soup = BeautifulSoup(r)
section = soup.find('div', {"class": "generic-block"})
uc=[]
ucList= section.find_next('ul')
for li in ucList.findAll('li'):
liT=li.get... | [
"cathryn.rabinowitz@gmail.com"
] | cathryn.rabinowitz@gmail.com |
a3db7d66f12a60aa667ed776e6d8767506ad9942 | 4a9c4259285aa2f4f99f414771655baa120eec18 | /2 Computer Vision/Lesson 6.16 Mean Average Precision/map.py | 8f4c9ed3303a9555bcfc209f1786ce25ec4aaef2 | [] | no_license | jack239/Udacity_Car_ND_2 | 587d106a8d787e6c803ad73bc380b58ff55f6299 | 227aee67ee6d7cfd514baca4cb02f8be736b7868 | refs/heads/main | 2023-08-27T22:03:32.635773 | 2021-10-20T09:59:15 | 2021-10-20T09:59:15 | 399,463,117 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,131 | py | import copy
import json
from collections import Counter
import matplotlib.pyplot as plt
import numpy as np
from utils import calculate_iou, check_results
def have_isec(box, boxes, min_iou = 0.5):
for box2 in boxes:
if calculate_iou(box, box2) > min_iou:
return True
return False
def get_p... | [
"demenkov@arrival.com"
] | demenkov@arrival.com |
803e3fcb9518c166f1d01bf6522f2ec837d65a28 | 1723a49e6260df85363be4a5d55d91a88d559e23 | /book_app/urls.py | 02be9930dc0b94af033c382f721e25c8306a340d | [] | no_license | morganjohnson101/favorite_book_project | 48d8108f678ae0816a6785632ac6d321fcce7b46 | e7a2596c9012fd93724d5eb4d8025863a0520590 | refs/heads/main | 2023-06-24T11:05:13.024607 | 2021-07-27T01:44:42 | 2021-07-27T01:44:42 | 389,783,245 | 0 | 0 | null | 2021-07-27T01:44:43 | 2021-07-26T22:23:22 | Python | UTF-8 | Python | false | false | 543 | py | from django.urls import path
from . import views
urlpatterns = [
path("", views.index),
path("register", views.register),
path("login", views.login),
path("books", views.show_all),
path("books/create", views.create_book),
path("books/<int:book_id>", views.show_one),
path("books/<int:book_i... | [
"morganjohnson@Morgans-MacBook-Pro.local"
] | morganjohnson@Morgans-MacBook-Pro.local |
55d220b76ba94ddf696701f73a8dab1d67e4b10e | 60664b143123a8109008e66a4e343776f66fa5bc | /mendel/deployer/remote_jar.py | 4f30789ba832e17d92767e6106c993aa0be58a7b | [
"MIT"
] | permissive | pseegers/mendel | e6396f323274eb25b2a893693dd57bc9a66e4b45 | c6c600b8ebfa7419b2618f905375365ad69b5d2b | refs/heads/master | 2022-03-05T03:53:16.888074 | 2019-10-15T12:44:24 | 2019-10-15T12:44:24 | 103,977,221 | 0 | 0 | null | 2017-09-18T18:38:03 | 2017-09-18T18:38:03 | null | UTF-8 | Python | false | false | 4,087 | py | """
Deploy a jar housed remotely (Nexus)
"""
import datetime
import requests
from mendel.config.service_config import ServiceConfig
from mendel.util.colors import blue
from mendel.util.colors import green
from .base import Deployer
from .mixins.nexus import NexusMixin
from .mixins.rollback import SymlinkRollbackMixin... | [
"noreply@github.com"
] | noreply@github.com |
1a4f91e25643cf5f7f898e8b1de1399dd21f61a6 | d2dff59e6f42ad60e84edd40e4fd940bf1e0127f | /trypython/basic/func_/func01.py | 58b9a552ef0b6fcb0f88667f73b1bfcdad0416b0 | [
"MIT"
] | permissive | devlights/try-python | fb4b49b70872c782da6cffc6ed9625f577fc9530 | 8f0e9997012c7ef5a4f71c15c98ea2832424136d | refs/heads/master | 2022-11-20T16:21:11.001413 | 2022-11-09T02:41:49 | 2022-11-09T02:41:49 | 78,821,417 | 6 | 1 | MIT | 2022-02-15T07:31:48 | 2017-01-13T06:19:46 | Python | UTF-8 | Python | false | false | 2,237 | py | # coding: utf-8
"""
関数についてのサンプルです。
"""
from trypython.common.commoncls import SampleBase
from trypython.common.commonfunc import pr
class Sample(SampleBase):
def exec(self):
# ------------------------------------------------------------
# オプション引数
# ----------------------------------------... | [
"gsf.zero1@devlights.onmicrosoft.com"
] | gsf.zero1@devlights.onmicrosoft.com |
2afa179259c8c63875807be60b33ef0d0407efed | 060ce17de7b5cdbd5f7064d1fceb4ded17a23649 | /fn_service_now/tests/test_fn_snow_helper_update_datatable.py | 2645906bac55fabfa0c971c1d99bc22a1fb17114 | [
"MIT"
] | permissive | ibmresilient/resilient-community-apps | 74bbd770062a22801cef585d4415c29cbb4d34e2 | 6878c78b94eeca407998a41ce8db2cc00f2b6758 | refs/heads/main | 2023-06-26T20:47:15.059297 | 2023-06-23T16:33:58 | 2023-06-23T16:33:58 | 101,410,006 | 81 | 107 | MIT | 2023-03-29T20:40:31 | 2017-08-25T14:07:33 | Python | UTF-8 | Python | false | false | 2,152 | py | # -*- coding: utf-8 -*-
"""Tests using pytest_resilient_circuits"""
from __future__ import print_function
import pytest
from resilient_circuits.util import get_config_data, get_function_definition
from resilient_circuits import SubmitTestFunction, FunctionResult
from sn_test_helper import *
from copy import deepcopy
i... | [
"travis@example.org"
] | travis@example.org |
d178aa4a4bfb63b5d642528bbb59985076333526 | baefeca76d1f9bb196006fa9992b6b519471399c | /solution/services/Developers.py | 9dadfb5061427f623bdc8ebafbd3ed48a800abb2 | [] | no_license | Vitormdias/desafioTegra | 466019e20c02ae792aa8fcc9b784a0dd59b348a1 | c7f9abf16739aa32b49e3cc4dadd2f0364c7ea15 | refs/heads/master | 2020-06-10T13:58:30.558879 | 2016-12-10T19:51:42 | 2016-12-10T19:51:42 | 75,953,055 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 201 | py | from models.Developer import Developer
developers = []
def addDev(name , function):
developer = Developer(name , function)
developers.append(developer)
print (developer.presentation())
| [
"vitormd97@gmail.com"
] | vitormd97@gmail.com |
f5ff61e50412d0abb1f135f65c73fb95e5e78da9 | 53784d3746eccb6d8fca540be9087a12f3713d1c | /res/packages/scripts/scripts/client/gui/Scaleform/daapi/settings/config.py | 8a6642812356f374e997896fadbb8454d2fedcfb | [] | no_license | webiumsk/WOT-0.9.17.1-CT | 736666d53cbd0da6745b970e90a8bac6ea80813d | d7c3cf340ae40318933e7205bf9a17c7e53bac52 | refs/heads/master | 2021-01-09T06:00:33.898009 | 2017-02-03T21:40:17 | 2017-02-03T21:40:17 | 80,870,824 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 2,559 | py | # 2017.02.03 21:48:57 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/gui/Scaleform/daapi/settings/config.py
from constants import HAS_DEV_RESOURCES, ARENA_GUI_TYPE
_COMMON_RELEASE_PACKAGES = ('gui.Scaleform.daapi.view.common',)
_COMMON_DEBUG_PACKAGES = ('gui.development.ui.GUIEditor',)
_LOBBY_RELEASE_P... | [
"info@webium.sk"
] | info@webium.sk |
bc77fd9603573442425b481cbc4eb758b7875f70 | f9db5af8998a1ce6becc191d5a133d4ba30b115b | /function/ex2.py | 340974f81985c12ac7063254ef369370ad80a64a | [] | no_license | nembangallen/Practice-Python | 0cd886264f74a2e234aea9d27ccb635370896ffd | e63ea5d269aed4eff81dd724a2819a4a7d1aecc7 | refs/heads/master | 2021-05-20T22:18:30.178237 | 2020-05-06T04:02:49 | 2020-05-06T04:02:49 | 252,435,719 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 238 | py | # WAP which make a new list contain square of each list's element
def doubling(li):
newList = []
for i in range(0,len(li)):
result = li[i]*li[i]
newList.append(result)
return newList
print(doubling([1,2,3,4])) | [
"nembangallen@gmail.com"
] | nembangallen@gmail.com |
ccd6cee56a87d05ba6eae7b4e5626c70dbec7285 | 1968e96138a6a7849730170acb83ba570785cce6 | /field_class.py | c4e203550165688f45ac3211c1e780493c877122 | [] | no_license | margonjo/PYQT-starters | 8255a33cd14e45da5d6ee250996248ffcf74a1e5 | 2d7d9a197539551da9ac240b3577f9b51ddb06d3 | refs/heads/master | 2020-04-30T21:30:48.247676 | 2015-08-25T13:19:56 | 2015-08-25T13:19:56 | 41,358,492 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,627 | py | from potato_class import *
from wheat_class import *
from cow_class import *
from sheep_class import *
import random
class Field:
"""Simulate a field that can contain animals and crops"""
def __init__(self,max_animals,max_crops):
self._crops = []
self._animals = []
self._m... | [
"40756@student.longroad.ac.uk"
] | 40756@student.longroad.ac.uk |
77814a795ea3813e81d93c90531970828da38a14 | 3ef8ee2104e5c549178c66dfbf49a9bc3f85d8af | /krogon/k8s/k8s_kubectl.py | 63372e8667bd259d2a462dd0e1fd65eb741a7ac3 | [
"MIT"
] | permissive | enamrik/krogon | a84fa7da9b54213cb83a433e4deee23400826896 | a41a10ed346b7198509929ed9ba1e9fcf778dc78 | refs/heads/master | 2023-05-27T09:56:14.781023 | 2020-03-18T05:34:08 | 2020-03-19T10:50:24 | 167,399,046 | 1 | 0 | MIT | 2023-05-22T22:30:57 | 2019-01-24T16:26:12 | Python | UTF-8 | Python | false | false | 452 | py | from krogon.k8s.template_context import TemplateContext
class K8sKubectl:
def __init__(self, command: str):
self.command = command
def map_context(self, context: TemplateContext):
cluster_name = context.get_state('cluster_name')
if cluster_name is not None:
context.kubectl... | [
"kirmanie.ravariere@nbcuni.com"
] | kirmanie.ravariere@nbcuni.com |
8252f1e7da2718c437d1f0ec4a2477c72156d66a | c1ec27123bec4da6678c133010bf041246bc0860 | /user/migrations/0002_auto_20200509_1722.py | 968043f4ab7a8869b088c819e6b3eb7cd5ef7f10 | [] | no_license | nisargptl/eTARKARIPASAL | 7118689390cdfd6191e88a7ddb35061a8696914b | 785631db9244b7d715983c2fcb2c61dc35f13424 | refs/heads/master | 2023-08-25T08:41:03.870188 | 2021-10-07T13:08:35 | 2021-10-07T13:08:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 346 | py | # Generated by Django 3.0.5 on 2020-05-09 11:37
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('user', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='job',
old_name='userlink',
new_name... | [
"nirjalpaudel54312@gmail.com"
] | nirjalpaudel54312@gmail.com |
b6026b9683f2dae7ce827f723a2abf7fde6259fc | d12a2c3351e8573ac8ace81603e1d94959526913 | /pynlp/wrapper.py | 3c837f9581718279f421e8382fd4d19bc3726966 | [
"MIT"
] | permissive | Agnon1573/pynlp | fbddc1b818058c0f57acf5f593cbc5d0a752bdb7 | eec3cd2aba69804866a67040bb717671ef12fda1 | refs/heads/master | 2021-04-06T07:07:50.915053 | 2018-02-20T20:05:47 | 2018-02-20T20:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,986 | py | from . import protobuf
class Document:
def __init__(self, proto_doc):
self._doc = proto_doc
def __str__(self):
return self._doc.text
def __len__(self):
return self._doc.sentence[-1].token[-1].tokenEndIndex
def __repr__(self):
return '<{}: [sentences: {}, tokens: {}]... | [
"sina@thelogically.co.uk"
] | sina@thelogically.co.uk |
10b6ecfda3a11b6ad25590d0715b1afe2cacdbc5 | eb07468e74dd9b0961dd3792b5891d3c1497397c | /train_contrastive_moco.py | 3413d76ba59069136b962c6d5125d9a1471ac074 | [] | no_license | dewenzeng/CL-TCI | 32696aee5ae173c2b9d8ac146f8541198e7a3f73 | 2649745b6c4402ba97ba903ec3d2d602668cefce | refs/heads/main | 2023-07-25T01:56:49.903085 | 2021-09-05T20:36:57 | 2021-09-05T20:36:57 | 403,154,551 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,030 | py | import os
from datetime import datetime
from utils import *
import torch.backends.cudnn as cudnn
from torch.autograd import Variable
from network.unet2d import UNet2D_contrastive
from network.deeplabv3plus import deeplabv3_resnet50_contrast
from dataset.bch import BCH
from myconfig import get_config
from lr_scheduler i... | [
"dzeng2@nd.edu"
] | dzeng2@nd.edu |
3171978f93b3168bab215f986e9f986ff29097f8 | 457fe4851c4bba44d8667bb6dfb8fd07dfd71f8c | /rideshare.py | 2dd782b60a82ec8e5f4b0955c7bb358c0c7afa0a | [] | no_license | j0d0nn/rideshare | 0063eb28bffbb03b04b8c40220d7fab00c54cd12 | 2daec1f54560e22e5716165239165467e77f4a18 | refs/heads/master | 2020-12-24T13:45:08.328410 | 2013-09-16T00:38:46 | 2013-09-16T00:38:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,102 | py | import webapp2
from apps.home import HomePage
from apps.needaride import NeedARidePage
from apps.givearide import GiveARidePage
from apps.orgselection import OrgSelectionPage
from apps.removedriver import RemoveDriverPage
from apps.finddriver import FindDriverAjax
from apps.savedriver import SaveDriverAjax
from apps.... | [
"jodonnell@tripadvisor.com"
] | jodonnell@tripadvisor.com |
6d4b2e4a0bcd107e940a784d4f8a9dc27e8799b9 | 8ae0bd8fc5ceceacd839b941c6327c12f31f46b5 | /rhea/system/_reset.py | 011efb899f21b83303633ffec293f92054cce856 | [
"MIT"
] | permissive | gbin/rhea | 9406ef72985b80ea44ad2a3a699b2842f8d45157 | 7bf8a9b5446fe6777bd15535bb29eb62196287a5 | refs/heads/master | 2020-05-25T11:28:12.059208 | 2015-12-11T19:45:14 | 2015-12-11T19:45:14 | 47,847,156 | 0 | 0 | null | 2015-12-11T19:38:06 | 2015-12-11T19:38:06 | null | UTF-8 | Python | false | false | 777 | py |
import myhdl
from myhdl import delay
class Reset(myhdl.ResetSignal):
def __init__(self, val, active, async):
myhdl.ResetSignal.__init__(self, val, active, async)
def pulse(self, delays=10):
if isinstance(delays, int):
self.next = self.active
yield delay(delays)
... | [
"chris.felton@gmail.com"
] | chris.felton@gmail.com |
14d4fc889928f8aa49f5e23e4588fb20c4de6a12 | a70f382e2719c6a6755f5b7f9b8beed59bc07be7 | /models/bert_deletion.py | c310f5783af7077e9d6c31b1e112976f66abccd8 | [] | no_license | horsedongmin/UMS-ResSel | 9a5b109223743125187a52d177e8ce4a1254a65d | 635e37f5340faf5a37f3b1510a9402be18348c66 | refs/heads/master | 2022-12-12T17:30:20.610294 | 2020-09-15T01:02:00 | 2020-09-15T01:02:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,409 | py | import torch
import torch.nn as nn
import pickle
class BertDeletion(nn.Module):
def __init__(self, hparams, pretrained_model):
super(BertDeletion, self).__init__()
self.hparams = hparams
self._model = pretrained_model
self._classification = nn.Sequential(
nn.Dropout(p=1 - self.hparams.dropou... | [
"taesunwhang@wisenut.co.kr"
] | taesunwhang@wisenut.co.kr |
17da5ea3d2bb9e4127e42dc12e6b4dabb388ec23 | 45a49476f7ddadf411ad8b71fa43299ddbbd87ec | /day5-morning/01-lm.py | 4e759c1a33106d938b146cb2a7a6642605895166 | [] | no_license | NEVEC2149/qbb2019-answers | 5bf8fec10437f4f398fb3137409dccd80f7a659f | e52126efb90b5b3f400d3aa1856d2aa24d99e27e | refs/heads/master | 2020-07-11T08:28:48.554356 | 2020-05-10T20:54:56 | 2020-05-10T20:54:56 | 204,489,730 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 559 | py | #!/usr/bin/env python3
import sys
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import statsmodels.api as sm
import scipy
#FBtr0302347
df = pd.read_csv( sys.argv[1], index_col = "t_name" )
col_names = df.columns.values.tolist()
goi = pd.DataFrame( df.loc[sys.argv[2]].iloc[1:] )
goi.columns ... | [
"waynefu@jhmi.edu"
] | waynefu@jhmi.edu |
88649eb358b60e371e1a0612153225a457aab025 | ee8756f9beff74584b4a6df9c2c31b4acab1c3bf | /_GTW/_OMP/_PAP/Person_has_VAT_IDN.py | 785a801b87be85fe1cba2ba10bbff630fec07c80 | [
"BSD-3-Clause"
] | permissive | JPilarr/tapyr | 5d13da8138f677c744ab357fe04e4e67b1e21d55 | 4235fba6dce169fe747cce4d17d88dcf4a3f9f1d | refs/heads/master | 2022-11-13T09:59:01.541995 | 2020-06-29T12:35:55 | 2020-06-30T09:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,279 | py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Mag. Christian Tanzer All rights reserved
# Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at
# #*** <License> ************************************************************#
# This module is part of the package GTW.OMP.PAP.
#
# This module is licensed under the term... | [
"tanzer@swing.co.at"
] | tanzer@swing.co.at |
1a91d1d502e4e80141f2117aaeaf409ddefed976 | 8c582c6899780bfb739d7d8ad4f35b41357b8f8f | /env/bin/pip3 | cf5a028cf40c305be14859a3ce7da794f6451fd7 | [] | no_license | upriverbasil/BLAST | 086078363716d106299fefb5a2373caf49534b71 | 4208803478c8821160653a4a38f3f892f9fecba1 | refs/heads/main | 2023-01-07T18:27:37.130484 | 2020-10-28T17:27:34 | 2020-10-28T17:27:34 | 307,136,586 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 230 | #!/home/saad/Desktop/BLAST/env/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pip import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"daasdaham@gmail.com"
] | daasdaham@gmail.com | |
a9ec19d40ea9ccc343b5b229f1628c72a763202c | 1650587cce73b06dcc35837140c67734866f8c32 | /tests/system/varnishbeat.py | 8ad46df90584f17405a77b0f5a816de46526df21 | [
"BSD-2-Clause"
] | permissive | phenomenes/varnishbeat | 70b0c8ad3ab0c886491d0bf63b760657d1577463 | c881804d317842bdb44a6de0c106725dd4748c9f | refs/heads/master | 2021-01-17T01:00:31.399713 | 2017-01-31T15:41:49 | 2017-01-31T15:41:49 | 57,590,542 | 10 | 3 | null | 2016-12-05T12:10:14 | 2016-05-01T08:22:30 | Go | UTF-8 | Python | false | false | 334 | py | import sys
sys.path.append('../../vendor/github.com/elastic/beats/libbeat/tests/system')
from beat.beat import TestCase
class BaseTest(TestCase):
@classmethod
def setUpClass(self):
self.beat_name = "varnishbeat"
self.build_path = "../../build/system-tests/"
self.beat_path = "../../varn... | [
"phenomenes@gmail.com"
] | phenomenes@gmail.com |
392588f75f659c4faaea4d66e33cf5e011382a1a | 7c3b77af326723f353f5626f113111ba42ce45bd | /test_flask/sessions/my_global.py | 4d0838ae94cf7a6a91ee149009328007ed79aebd | [] | no_license | ianhzhang/learning | 143ed501d90ef20ef99a934bae066d8063b4f794 | 42d9c4da6da1b34844ee94379576feb6337d3271 | refs/heads/master | 2023-01-08T02:58:21.209957 | 2021-03-11T01:44:56 | 2021-03-11T01:44:56 | 144,384,263 | 1 | 0 | null | 2023-01-07T13:24:15 | 2018-08-11T12:41:38 | Go | UTF-8 | Python | false | false | 420 | py | from flask import Flask, session, jsonify, request
from flask_cors import CORS
# global variable
app = Flask(__name__)
CORS(app)
cnt = 0
@app.route('/', methods=["GET"])
def index():
global cnt
cnt = cnt +1
return jsonify({"rslt": cnt})
@app.route('/drop', methods=["GET"])
def drop():
session.pop('c... | [
"izhang@extremenetworks.com"
] | izhang@extremenetworks.com |
7e31ac3da4e303ae64897cf072b6f527f6c5b105 | 7990331178e62ec1a982fb84e7a06c024a30f28f | /Regex and Parsing/Detect Floating Point Number.py | 27d8a0c4619ecfa11090065d39544b180746d4be | [] | no_license | phoenixx1/HackerRank-Python | bc6e17eb87f968d9d3f25d30e6dc8bbbf9fe1088 | f7ae39e5ecc7aa8cf2b53928b567be37af1329c9 | refs/heads/master | 2021-01-06T00:38:37.308567 | 2020-05-22T16:28:53 | 2020-05-22T16:28:53 | 241,179,541 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 134 | py | #author @Nishant
import re
n = int(input())
for i in range(0,n):
k = input()
print (bool(re.match('^[+-]?\d*?\.{1}\d+$',k))) | [
"xphoenix1010@gmail.com"
] | xphoenix1010@gmail.com |
7fbeea65a915ec3d7fbab247809ecbc40dc0a9b8 | 4d6884ee460208b055fd957500280892a5e8d434 | /openspace/apps/profiles/admin.py | 337208164c23c8413f303d562fdb6f1fd7e22019 | [] | no_license | Turbulence-org/openspace-wilderness | 5ee3c9d2cb84006c8df3feb5e7f60b5e0d2e34cd | ff55b066ef05d75d0333b44e84a5e8977206330b | refs/heads/master | 2020-12-24T10:15:36.729594 | 2014-12-03T05:24:36 | 2014-12-03T05:24:36 | 40,108,884 | 1 | 0 | null | 2015-08-03T06:35:21 | 2015-08-03T06:35:21 | null | UTF-8 | Python | false | false | 1,017 | py | from django.contrib import admin
from apps.profiles.models import *
class CommentInline(admin.TabularInline):
model = Comment
extra = 1
class PostInline(admin.TabularInline):
model = Post
extra = 0
class ProfileAdmin(admin.ModelAdmin):
fieldsets = [
('Personal Information', {'fields': ['f... | [
"andrewtlyman@gmail.com"
] | andrewtlyman@gmail.com |
725c2d313653b6a9d63ddc9fb74ac922331984cf | 2942c012289af83c956538ff8304874ea1696104 | /Lesson_4/task_1.py | 9fc0327946ee0515189ea96927d5ac32b7a3eca1 | [] | no_license | AndreyKrivochenko/Python_basic | a6e152acf3f737c96b9f505530adcc9bed48ecd9 | e119a085eb74e972f63e6310f82c8f758d001f05 | refs/heads/master | 2023-01-20T14:13:44.594405 | 2020-11-19T09:54:02 | 2020-11-19T09:54:02 | 308,070,295 | 0 | 0 | null | 2020-11-19T09:54:03 | 2020-10-28T16:04:00 | Python | UTF-8 | Python | false | false | 228 | py | from sys import argv
def calc_salary(*args):
result = int(args[0]) * int(args[1])
if len(args) > 2:
result += int(args[2])
return result
param = argv[1:]
if len(param) > 1:
print(calc_salary(*param))
| [
"krivochenko_andrey@mail.ru"
] | krivochenko_andrey@mail.ru |
e9101a3d6dec48121d70106cd22a02580dab9818 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/329/usersdata/278/91305/submittedfiles/dec2bin.py | 595fc5831851ef370d1fdd817a1809e93e8e5f6c | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 273 | py | # -*- coding: utf-8 -*-
p = int(input("Digite um inteiro: "))
q = int(input("Digite um inteiro maior que o anterior: "))
i=10
x=0
while (p>0):
p=p//10
i=i*10
while (q>0):
q=q%i
if p==q:
print("S")
break
x+=1
if x>0:
print("N")
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
f78cf3aa3a31fe7c829aafdb3531253cf24b4678 | 61036367482076a08a40421d3ba7bd6927b7fc51 | /src/neural_lm_eval.py | bca76bc48204f40cfa571417b2e62a19f12fe048 | [] | no_license | antoine-hochart/language_models | 900c176341709779be858e917f3db032e2d20919 | ba0252f9780802ac7854e5fa43e5e1e1329f0cbd | refs/heads/main | 2023-02-07T12:08:47.608048 | 2020-12-30T15:08:42 | 2020-12-30T15:08:42 | 325,579,559 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,886 | py | import os
import torch
from time import time
from utils.data import get_corpus, preprocess_text, list2str
from utils.eval import perplexity_loss
from utils.nn import encode_text, decode_text, Textset
from models.nn import RNNLM
######################################################################
# parameters
MIN_... | [
"antoine.hochart@gmail.com"
] | antoine.hochart@gmail.com |
a6b36d3c91288ef7abec4035eff6d36f80262027 | 225a76477f1db049764cd796ebab2c27ae291e30 | /blog/models.py | 58bad25123edd31dc26f08e1586f459978f755b6 | [] | no_license | lubakach/myfirstblog | 3c4e36a9dfbf77b57e4bdfadbba2bcd1067543ae | e111f3fffe0994e1cf2985cf0f9b71fa8b786220 | refs/heads/master | 2022-06-02T06:06:28.346017 | 2020-05-05T13:14:32 | 2020-05-05T13:14:32 | 259,961,381 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 409 | py | from django.conf import settings
from django.db import models
from django.utils import timezone
class Post(models.Model):
author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
title = models.CharField(max_length=200)
text = models.TextField()
created_date = models.DateTimeFiel... | [
"you@example.com"
] | you@example.com |
2c186f4b552116c2a244339463695d82c846d67d | 3233da7c24e82818e7e4e2fe4cc1546467adc4ce | /problem_setup.py | 926315b218ccccb991dc33ddb0c3347828171a44 | [] | no_license | lue/dust-in-the-wind | 981578829d9ce4a5606a4ffd416c5edf007031c6 | 83a76919d08603d021d44abac2102d787cea955d | refs/heads/master | 2020-03-22T05:41:15.995852 | 2018-10-08T18:58:53 | 2018-10-08T18:58:53 | 139,583,484 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,761 | py | #
# Import NumPy for array handling
#
import numpy as np
#
# Import plotting libraries (start Python with ipython --matplotlib)
#
#from mpl_toolkits.mplot3d import axes3d
#from matplotlib import pyplot as plt
#
# Some natural constants
#
au = 1.49598e13 # Astronomical Unit [cm]
pc = 3.08572e18 # Parsec... | [
"kaurov@ias.edu"
] | kaurov@ias.edu |
7a4341fef7c0ae285d755ed3115bdb7c9082c53e | 48d7e39f7f683b1ae895ff7a04668cdd1e2e98b3 | /scripts/test_crop3.py | 342bd1ac3a0c99e31e4f0f27052550c9f81da35b | [] | no_license | CesarAsturias/Computer_Vision | 371d78feaad76fa3ff0eae31b67f27c4d421eeca | 697c3b06b91f774d2c97c25cc0fc4198c49b27cc | refs/heads/master | 2020-04-12T08:41:26.265850 | 2016-08-01T19:59:51 | 2016-08-01T19:59:51 | 42,715,968 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,275 | py | from CVImage import CVImage
from Matcher import Matcher
import numpy as np
from VisualOdometry import VisualOdometry
import matplotlib.pyplot as plt
# from mpl_toolkits.mplot3d import axes3d
def correlate_roi(match, img, size, start):
# This function correlates two images using Matcher and CVImage
# @param ma... | [
"supergonsi@gmail.com"
] | supergonsi@gmail.com |
76ca19495012c1c92570c4b7765287f60587744f | ffe73c48a765dd8c36bd4f34288833be8bca31c6 | /game.py | 286bac0957c3e7b36bbcff97ef17959799d7c16e | [] | no_license | abdulhannan456/MY-FIRST-GAME | 0f3145539f29ebb1d111e5a126ce40c09fcb9d96 | acca4d63fe4fe24b263e695ceaed0050e510a21b | refs/heads/main | 2023-03-29T10:48:47.344985 | 2021-04-03T09:18:21 | 2021-04-03T09:18:21 | 354,246,497 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,361 | py | import random
import pygame
from pygame import mixer
# initializing
pygame.init()
pygame.display.set_caption("Shoot em' Up")
screen = pygame.display.set_mode((1024, 600))
pygame.display.set_icon(pygame.image.load("icon.png"))
backgroundimg = pygame.image.load("space-2.png")
titleimg = pygame.image.load("title.... | [
"noreply@github.com"
] | noreply@github.com |
47698845ec9c99153f1e3f0033757c42a8453169 | 047002844168598dfefe1800a78a1e0ea56ea207 | /SwitchTracer/cores/domains/resoluters.py | fcdbbc4f375f81774797025c1afd076293c640e7 | [
"MIT"
] | permissive | IzayoiRin/VirtualVeyonST | 9d65808fb6299cecf046ceed78227c7fa5b0ebe5 | d0c4035dba81d02135ad54f4c5a5d463e95f7925 | refs/heads/master | 2023-02-04T05:38:36.270463 | 2020-12-26T09:23:24 | 2020-12-26T09:23:24 | 324,520,968 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,492 | py | """ There are code for Resoluter"""
import time
from multiprocessing import Process
from celery.result import AsyncResult
import SwitchTracer as st
from SwitchTracer.cores.compents.recorders import Recorder
from SwitchTracer.cores.compents.registers import Register
from SwitchTracer.universal.exceptions import Setting... | [
"1204149237@qq.com"
] | 1204149237@qq.com |
33deef250b7120b3804dca5d4413e22e3a73e529 | e5d4345bf084bd8ffc0797d14bbca6032202c9e5 | /iautomate/iautomate.py | 85945ee46241beaf63ab5bb2fb545a2e77e7cc7b | [
"MIT"
] | permissive | iranianpep/iautomate | 0a318402de6801ce35d541ddf7a2392766e08eca | c187aedaf8f71c63e06a2112fbcf65f60217c5bc | refs/heads/master | 2020-03-26T15:24:25.605974 | 2018-08-19T16:12:23 | 2018-08-19T16:12:23 | 145,041,148 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,033 | py | import json
import os
from collections import OrderedDict
from . import global_variables
from .resources import abstract_resource
from .resources import execution_resource
from .resources import file_resource
from .resources import package_resource
from .resources import service_resource
from .resources import director... | [
"iranianpep@gmail.com"
] | iranianpep@gmail.com |
5eadbb4fb195658e0d5d2b2b7ed5c86f9a216ecc | 7f2c5c38bd2c1a445a1e67c71dc5a51abb188bfb | /kbase-extension/jupyter_config.py | 621c5ee560a55d66b4c69a93b2035f57981a2433 | [
"MIT"
] | permissive | kbaseIncubator/narrative-jupyterlab | fc7b17701dc7af589c3500f00cf8f50447a0fe4e | 94a4b4a6bbb583f65ce50c8f8343083aceafff05 | refs/heads/master | 2023-01-07T02:22:57.379427 | 2019-06-28T21:46:49 | 2019-06-28T21:46:49 | 175,266,215 | 2 | 3 | MIT | 2023-01-04T01:11:18 | 2019-03-12T17:40:36 | Python | UTF-8 | Python | false | false | 20,464 | py | # Configuration file for ipython.
c = get_config()
#------------------------------------------------------------------------------
# InteractiveShellApp configuration
#------------------------------------------------------------------------------
# A Mixin for applications that start InteractiveShell instances.
#
# ... | [
"wjriehl@lbl.gov"
] | wjriehl@lbl.gov |
d7ec10bcc780cba7ce3249a981f31b03edcf0c08 | 6466ea21e16ecb8e1c6ce6d3fcdb60b7b89861c6 | /Code/app/libraries/createFile.py | c5ca8294dc60eef2f739072ae2a5eb283041cc0f | [
"MIT"
] | permissive | liamLatour/DaphnieMaton | 1dfcce208dee460bdd15d3909d2790710bdcd6e4 | 01d149b58437ba100098107f0b9d2f8b72d9557a | refs/heads/master | 2023-07-20T20:57:55.087888 | 2022-07-13T08:06:06 | 2022-07-13T08:06:06 | 154,168,996 | 1 | 0 | MIT | 2023-07-06T21:32:42 | 2018-10-22T15:33:28 | C | UTF-8 | Python | false | false | 4,595 | py | import numpy as np
def generateFile(waypoints, photos, ratio, loop, action):
waypoints = list(np.rint(np.multiply(waypoints, ratio)).tolist())
top = "#include <AccelStepper.h>\n \
#include <"+str(action)+">\n \
#define LED_PIN 13\n \
#define LOOP "+str(loop).replace("F", "f")+"\n \
AccelStepp... | [
"38808200+liamLatour@users.noreply.github.com"
] | 38808200+liamLatour@users.noreply.github.com |
d7dfbc252d4cbabc72aa1e5528be6515ff4948f4 | 52ffcef145cda7d343f195964ef33cfec34b2c66 | /butterballs_animated/butterballs_animated.pyde | caa1a4d0d4a0e57811fe6b4c60655f6d3a4ac3d3 | [
"MIT"
] | permissive | cclauss/generative_art | 626960162e468605039f281774a2d48eecf7e86e | fc179177badd8b54b4faefd6f36f3d974ff0ca65 | refs/heads/master | 2020-04-06T18:31:40.298910 | 2018-11-15T01:12:30 | 2018-11-15T01:12:30 | 157,701,393 | 0 | 0 | MIT | 2018-11-15T11:36:52 | 2018-11-15T11:36:52 | null | UTF-8 | Python | false | false | 10,066 | pyde | ##########################################################################
# Aaron Penne
# https://github.com/aaronpenne
##########################################################################
import datetime
import string
import sys
from random import shuffle, seed
import helper
import bug_palette
##############... | [
"aaronpenne@users.noreply.github.com"
] | aaronpenne@users.noreply.github.com |
4f44550a4c07a6e54e20dc24371f5ba545147a4d | a48ad7fb3dc743204ac7ae2df3313ebd33d64558 | /transform.py | 2efaa14a44d61f9b6b5102b4d38f24b2c971cbe3 | [] | no_license | sravyasridivakarla/ECS192 | be39564b668da67a58976ec7f25b4e1163f77929 | db8f361be9d6393c4f5c8bbdc6b51f7da8c93b35 | refs/heads/master | 2020-04-28T08:26:45.742537 | 2019-03-13T05:39:10 | 2019-03-13T05:39:10 | 175,126,651 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,352 | py | import csv
import os
# function to build category dictionary with id as key
def build_id_dictionary_transform(category_filename):
dictionary = {}
with open(category_filename) as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',')
line_count = 0
for row in csv_reader:
... | [
"sravyad@gmail.com"
] | sravyad@gmail.com |
d44c4416c934a7ecd2668193f5d1576fa89ad7e0 | 904bfdb54d70ba3f5d6a2aea55a81b2453568448 | /pe47.py | 42fb6be303040ae6107d8b85ae014c45c65bf5af | [] | no_license | tapan1911/project_euler | 01dc87d28915dae26bd474301ab1709f4a3d1ce2 | 7770b62acafcbe5d0ceea3a7526bfa0c71b6a031 | refs/heads/master | 2020-04-02T01:08:52.013910 | 2013-06-26T13:35:03 | 2013-06-26T13:35:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 710 | py | import time
start = time.time()
a=[]
a.append(0)
a.append(0)
for i in range(2,100000):
a.append(1)
b=[]
for i in range(2,100000):
if(a[i]==1):
b.append(i)
j=2
while 1:
temp=j*i
if(temp>99999):
break
a[temp]=0
j+=1
count=[]
for i in range(0,200000):
count.append(0)
for x in b:
j=1
while 1:
te... | [
"tapan1911@gmail.com"
] | tapan1911@gmail.com |
abb2742c5fb76454cf88e58811ec3e5d1512c143 | e219e84633a17c2000575604c754f099e230c52e | /scrapyd_dash/migrations/0001_initial.py | 4aa64ff7e527c750e1cef96c992ba14add43e871 | [
"MIT"
] | permissive | Dainius-P/scrapyd-dash | a99234ade04a1324ae3b85e198716ef96602e7d7 | f769551070c919ba41616928309460a93e1b120a | refs/heads/master | 2022-04-26T16:22:01.062628 | 2019-08-26T08:36:38 | 2019-08-26T08:36:38 | 193,942,401 | 8 | 1 | MIT | 2022-04-22T22:08:53 | 2019-06-26T16:37:12 | CSS | UTF-8 | Python | false | false | 5,877 | py | # Generated by Django 2.2.2 on 2019-08-21 07:41
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='ScrapydP... | [
"preimantasd@gmail.com"
] | preimantasd@gmail.com |
522e7c30860e3bd7ee521bede2a09b7acdf5101c | 27b86f422246a78704e0e84983b2630533a47db6 | /tests/test_09_cython_acceleration/test_903_acc_matrix44.py | 4ac34138cc30e532696762180ccc43733e00e6c1 | [
"MIT"
] | permissive | mozman/ezdxf | 7512decd600896960660f0f580cab815bf0d7a51 | ba6ab0264dcb6833173042a37b1b5ae878d75113 | refs/heads/master | 2023-09-01T11:55:13.462105 | 2023-08-15T11:50:05 | 2023-08-15T12:00:04 | 79,697,117 | 750 | 194 | MIT | 2023-09-14T09:40:41 | 2017-01-22T05:55:55 | Python | UTF-8 | Python | false | false | 2,052 | py | # Copyright (c) 2020-2023, Manfred Moitzi
# License: MIT License
# Test only basic features of Cython implementation,
# Full testing and compatibility check with Python implementation
# is located in test suite 605.
import pytest
import numpy as np
matrix44 = pytest.importorskip("ezdxf.acc.matrix44")
Matrix44: matri... | [
"me@mozman.at"
] | me@mozman.at |
44628d8275b2cc974d401f3e93a56524d8305463 | 6534ef2fc28a8767019ac14b08e2cf93818a13a7 | /deploy/macosx/setup.py | 104bee5060ac7e286404ebdd3e72424110c60bec | [
"BSD-3-Clause"
] | permissive | zedxxx/mapmbtiles | 8bee63019072dc402c3a0aa6515d35517af32aff | 05ca5c093579d80ae87f1a3fe21c922c0755b962 | refs/heads/master | 2021-01-21T08:37:50.686309 | 2014-02-28T11:41:28 | 2014-02-28T11:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 922 | py | import py2app
from setuptools import setup
# Build the .app file
setup(
options=dict(
py2app=dict(
iconfile='resources/mapmbtiles.icns',
packages='wx',
excludes='osgeo,PIL,numpy',
#site_packages=True,
#semi_standalone=True,
resources=[... | [
"mj10777@googlemail.com"
] | mj10777@googlemail.com |
982cf380119747dfd4ab555ba1709527d99e676c | f8666599b83d34c861651861cc7db5b3c434fc87 | /plotly/validators/barpolar/_selectedpoints.py | 42c6675b37aa8c90da3726019e97afc754168a53 | [
"MIT"
] | permissive | mode/plotly.py | 8b66806e88c9f1820d478bab726f0bea81884432 | c5a9ac386a40df2816e6c13264dadf14299401e4 | refs/heads/master | 2022-08-26T00:07:35.376636 | 2018-09-26T19:08:54 | 2018-09-26T19:19:31 | 60,372,968 | 1 | 1 | MIT | 2019-11-13T23:03:22 | 2016-06-03T19:34:55 | Python | UTF-8 | Python | false | false | 475 | py | import _plotly_utils.basevalidators
class SelectedpointsValidator(_plotly_utils.basevalidators.AnyValidator):
def __init__(
self, plotly_name='selectedpoints', parent_name='barpolar', **kwargs
):
super(SelectedpointsValidator, self).__init__(
plotly_name=plotly_name,
p... | [
"noreply@github.com"
] | noreply@github.com |
2b1c1d5d8b54d1b2012c886dad1cf76539818866 | dc4bfd8a002320ac8ed3767957bbc4db96230216 | /example/config.py | 4433e8a0113f8e75a28d1f334bd15f997c6d76fc | [
"MIT"
] | permissive | antikytheraton/nbChatbot | 5aee172432a20ca8936a0c6612c214934d48bd32 | 54776fc5e4e26950fb58ccd0a2fe98a7084df850 | refs/heads/master | 2022-12-09T15:11:37.764848 | 2020-04-16T18:09:15 | 2020-04-16T18:09:15 | 93,900,722 | 4 | 0 | MIT | 2022-12-07T23:58:00 | 2017-06-09T22:16:50 | Python | UTF-8 | Python | false | false | 169 | py | CONFIG = {
'FACEBOOK_TOKEN': 'EAAbYZAtdQxxxxxxxxxxxxxxxxxxxxxNg4WSc9Flu56XQLRRBjgZDZD',
'VERIFY_TOKEN': 'verify_nbchatbot',
'SERVER_URL': 'heroku app url'
}
| [
"binauralvoice@gmail.com"
] | binauralvoice@gmail.com |
eb8f81b3d78e13fdba5aa3f29afb1cfcc88fa8c4 | 6c643313e24fc48b23e40b5d6a7ba8a959986914 | /1untitled.py | e7c9ef90d0caf217b8dcb7456f83fe00033f2d81 | [] | no_license | 771369226/pythonProject6 | 9bb0d5298f74249fc7a4b1f261bcec02078b6151 | e3854538e66ede7f92a50eb9ba306cbe7db31b94 | refs/heads/master | 2023-02-25T10:57:33.639063 | 2021-01-22T05:51:10 | 2021-01-22T05:51:10 | 330,664,537 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,832 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '1untitled.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, Qt... | [
"76720928+771369226@users.noreply.github.com"
] | 76720928+771369226@users.noreply.github.com |
560bb849b69c91f3c14003570cd8329a0d6f25ca | 4993718f1b5f9b3aa110f147e6f59207d4a6ca83 | /readMetadata.py | f7ea1f7e3081a6cfc058a8f68748638fad081afd | [] | no_license | pawlowska/terastitcher_files_coversions | acd9d7aa3bb9c31a05743ac0efc929172ff37cb5 | 45d525fbbdba25fa18b55a842ff720dbe65ef729 | refs/heads/master | 2020-06-09T16:25:41.477356 | 2020-01-14T12:23:52 | 2020-01-14T12:23:52 | 76,028,154 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,499 | py | # -*- coding: utf-8 -*-
#this file is imported in file_prep.py
import json, os
import prepFunctions
def zrobListeStringowMM2(dataDir, nazwaPliku):
f = open(os.path.join(dataDir, nazwaPliku))
t = f.read()
ind=t.find("[")
t=t[ind:]
jObject = json.loads(t)
listaStringow = []
listaXow = ... | [
"github@greenelephant.pl"
] | github@greenelephant.pl |
c129ee002f6d78f0d81c4c2a136f877bca34f397 | eae8d7821f73233ef52f916b2d22b392fa056086 | /python_one_learn/day17/common/list_helper.py | 023e71741dd20da48f838f91b6887d1ee442f3a1 | [] | no_license | Wuskysong/python01_- | cad75d90dab945cc85719dcb1bb138ce81b813e5 | 4cef60bc5812524f7331e0f97f68c41db7082db7 | refs/heads/master | 2020-06-21T23:59:20.121964 | 2019-07-18T12:54:40 | 2019-07-18T12:54:40 | 197,584,017 | 1 | 0 | null | 2019-07-18T12:44:26 | 2019-07-18T12:37:03 | Python | UTF-8 | Python | false | false | 1,533 | py | """
列表助手模块
"""
class ListHelper:
"""
列表助手类
"""
@staticmethod
def find_all(list_target, func_condition):
"""
通用的查找某个条件的所有元素方法
:param list_target: 需要查找的列表
:param func_condition: 需要查找的条件,函数类型
函数名(参数) --> bool
:return: 需要查找的元素,生成器类型.... | [
"865997553@qq.com"
] | 865997553@qq.com |
ff39390c1993eeb799e4391a558fcdcffaad448a | f1172ebeb8c483a29bdc58b7b0200b8f9af5fc5f | /binlin/data/ud.py | 948e77a1d20b01ef0bcab2e81cbdb8ba46eb42c1 | [
"Apache-2.0"
] | permissive | UKPLab/inlg2019-revisiting-binlin | 04d8f2634cd97fe67a576209ff0abc7d8d7f1024 | 250196403ee4050cac78c547add90087ea04243f | refs/heads/master | 2022-12-15T03:32:57.442069 | 2019-09-30T14:17:32 | 2019-09-30T14:17:32 | 206,311,230 | 1 | 0 | Apache-2.0 | 2022-12-08T06:39:23 | 2019-09-04T12:13:28 | Python | UTF-8 | Python | false | false | 3,112 | py | import logging
from typing import Dict
import numpy as np
from binlin.utils.graph import dg_from_tokens
from binlin.data.readers import read_conll_data_file
from binlin.data.convert_fmt import raw_data_to_tokens
logger = logging.getLogger('main')
class UdDataClass(object):
"""
A class dealing with UD data ... | [
"puzikov@ukp.informatik.tu-darmstadt.de"
] | puzikov@ukp.informatik.tu-darmstadt.de |
121d1bd4b0a6e1fa40e296f02607b88357d839ec | beb36a0adb8fcd6ce3f3366ebe685ce015825e62 | /lar/settings.py | 03230a75539cc13941fc7e6e1a59e2a1e2d7f709 | [] | no_license | gabvrel/restApi | ecdacab533f95fd58fa7bd071703c51966b25d00 | 0c0ff287c06f47675c335fee4fdab2434ce89c23 | refs/heads/main | 2023-02-04T16:57:00.802015 | 2020-12-15T23:31:00 | 2020-12-15T23:31:00 | 321,792,153 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,243 | py | """
Django settings for lar 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 imp... | [
"gabvrel@gmail.com"
] | gabvrel@gmail.com |
bd43332315ab5985aafd64ba86b8a9a155bc90e6 | db40d41314fdcb28866e842e5f84578d451ba786 | /test/not-automated/blobrace.py | 2a8490a039f09995fae255759d1c43c79c63a371 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | jthelin/azure-storage-fuse | 1022612aceb492bf16d75ad60d6822f7b131ea23 | 0b128b4a0f1e64b8ce65c4d78c1a42d36dd6f0d1 | refs/heads/master | 2023-04-08T16:11:55.626646 | 2022-11-10T08:11:11 | 2022-11-10T08:11:11 | 177,686,771 | 0 | 0 | null | 2019-03-26T00:39:09 | 2019-03-26T00:39:08 | null | UTF-8 | Python | false | false | 645 | py | import os
import sys
import time
from multiprocessing import Pool
def noop():
time.sleep(0.1)
return None
def read_blob(paths):
fh = open(path, 'r')
fh.seek(0)
data = fh.readline()
return len(data)
WORKERS=100
def test_blob(path):
pool = Pool(processes=WORKERS)
tasks = [ pool.apply_a... | [
""
] | |
568b15e55d720eb96dac71d6cc2b0e31277d5936 | e0ad21b94f92a978d61f84262923d497dfb4d174 | /oaf/bin/easy_install-2.7 | 61dd1e80c08f29c156e6f0e6dabefa7f8065f365 | [] | no_license | doanle84/Canterbury-Bankstown_DA | 113065bb4952a792da99dcada96ac020d1cd73b9 | 0f20257af897d96dce26bd2ba58e7fd94eae6951 | refs/heads/master | 2022-07-25T22:07:37.352268 | 2017-06-23T03:12:31 | 2017-06-23T03:12:31 | 94,496,752 | 0 | 0 | null | 2022-07-06T19:40:21 | 2017-06-16T02:24:12 | Python | UTF-8 | Python | false | false | 280 | 7 | #!/Users/doanle/scrappers/Canterbury-Bankstown_DA/oaf/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"doanle@DOANs-MacBook-Pro.local"
] | doanle@DOANs-MacBook-Pro.local |
ab157daf92240cf7c2b4b4c67e7bf99a480b44a4 | 305e7b0d6251eb5ac765726972d9180fa502329d | /src/ofxstatement/tests/test_lbbamazon.py | a397cd9816fa03fcede51ba1df29dfe0e2a2ca8d | [] | no_license | bubbas/ofxstatement | 099683525c6deec9f03fbbbe79910983be1af271 | 75ad922445dbdb34abc3588e852675a343026528 | refs/heads/master | 2021-01-18T18:10:07.806348 | 2013-12-08T11:51:10 | 2013-12-08T11:51:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,187 | py | import doctest
from ofxstatement.plugins.lbbamazon import LbbAmazonCsvStatementParser
def doctest_LbbAmazonCsvStatementParser():
"""Test LbbAmazonCsvStatementParser
Open sample csv to parse
>>> import os
>>> csvfile = os.path.join(os.path.dirname(__file__),
... ... | [
"seca2@freenet.de"
] | seca2@freenet.de |
d84883d411e4ad65d46ac21140b7a520f85b9369 | 53784d3746eccb6d8fca540be9087a12f3713d1c | /res/packages/scripts/scripts/client/gui/Scaleform/framework/entities/abstract/VoiceChatManagerMeta.py | b2d3fa4227d019e0454b3829a8fe98a670b3d8cd | [] | no_license | webiumsk/WOT-0.9.17.1-CT | 736666d53cbd0da6745b970e90a8bac6ea80813d | d7c3cf340ae40318933e7205bf9a17c7e53bac52 | refs/heads/master | 2021-01-09T06:00:33.898009 | 2017-02-03T21:40:17 | 2017-02-03T21:40:17 | 80,870,824 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 1,201 | py | # 2017.02.03 21:51:16 Střední Evropa (běžný čas)
# Embedded file name: scripts/client/gui/Scaleform/framework/entities/abstract/VoiceChatManagerMeta.py
from gui.Scaleform.framework.entities.BaseDAAPIModule import BaseDAAPIModule
class VoiceChatManagerMeta(BaseDAAPIModule):
"""
DO NOT MODIFY!
Generated with... | [
"info@webium.sk"
] | info@webium.sk |
8603eea5415e29fa060b2b86baa092c7a6dd988f | 79e81c60f0fd3d4f99801b4c886ce9f16ac1f42e | /apps/tasks/migrations/0002_auto_20200602_0243.py | d0b85d6859e6e1cd7129867ecdfa1f1d737ae9fc | [] | no_license | Machele-codez/todo | c077f1069ee33773a37f98840f551a7aec559d58 | 007715594d0fb0135b8be684c748b5c009b3ff45 | refs/heads/ajaxifying | 2023-02-26T01:43:38.820811 | 2021-05-07T16:14:15 | 2021-05-07T16:14:15 | 253,924,311 | 0 | 0 | null | 2023-02-14T13:56:44 | 2020-04-07T22:16:17 | JavaScript | UTF-8 | Python | false | false | 328 | py | # Generated by Django 2.2.7 on 2020-06-02 02:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('tasks', '0001_initial'),
]
operations = [
migrations.RemoveConstraint(
model_name='task',
name='unique_user_task',
)... | [
"smithbeblack@gmail.com"
] | smithbeblack@gmail.com |
197f9a0ceb0d7fe664ef26f910397dd944f3067a | 91d1a6968b90d9d461e9a2ece12b465486e3ccc2 | /networkmanager_write_1/site_create.py | 366c0d1e0841bb4326b60b68e3fdd04fd303e662 | [] | no_license | lxtxl/aws_cli | c31fc994c9a4296d6bac851e680d5adbf7e93481 | aaf35df1b7509abf5601d3f09ff1fece482facda | refs/heads/master | 2023-02-06T09:00:33.088379 | 2020-12-27T13:38:45 | 2020-12-27T13:38:45 | 318,686,394 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,169 | py | #!/usr/bin/python
# -*- codding: utf-8 -*-
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import write_one_parameter
# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/networkmanager/create-site.html
if __name__ == '... | [
"hcseo77@gmail.com"
] | hcseo77@gmail.com |
eda75e2bdf65cfb42977e5bd3c62d695c0253d2c | 29b3cc61da10cde5125bfd53443f2ce0e17902c2 | /lesson4_class_fibo.py | 8b82895473f3ca66fc3099448f2be234eb885927 | [] | no_license | YuriLv/homework | ca5bca499437fe144fc801de7d9911e76f0822e0 | 7c92f5497fd1401e1d5e320de134b833727c7f48 | refs/heads/master | 2020-04-25T21:51:55.131910 | 2019-03-22T10:06:13 | 2019-03-22T10:06:13 | 173,092,934 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,811 | py | # '''x = [1, 2, 3]
# y = x
# print (x) # [1, 2, 3]
# y += [3, 2, 1]
# print (x) # [1, 2, 3, 3, 2, 1]
#
# print(y)
#
# print("-------------------------")
#
# x = [1, 2, 3]
# y = x
# print (x) # [1, 2, 3]
# y = y + [3, 2, 1]
# print ("x=", x) # [1, 2, 3, 3, 2, 1]
#
# print(... | [
"yuri.trade17@gmail.com"
] | yuri.trade17@gmail.com |
934f197f63186c00c0aa67e347098d67e76e8f11 | 4c0bbd1b8c821fd096435aa06f8bb08bedb917e9 | /pbt.py | 1f2bf330d096effe1e4642bb8e69a93239b0f06d | [] | no_license | sparticlesteve/heptrkx-gnn-tracking | ec301a6984af217956302ec90781153b8255ff2a | 85d257f6fed79d0f6f0f25e2ba10ac8d3487c39f | refs/heads/master | 2021-06-20T12:17:55.124924 | 2019-09-05T05:31:55 | 2020-04-19T20:45:51 | 167,315,319 | 6 | 10 | null | 2021-01-14T00:57:45 | 2019-01-24T06:27:41 | Jupyter Notebook | UTF-8 | Python | false | false | 3,245 | py | import os
import argparse
import time
from crayai import hpo
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('config', nargs='?', default='configs/agnn_pbt.yaml')
parser.add_argument('--nodes', type=int, default=16,
help='Number of nodes to run optimizatio... | [
"sparticlesteve@gmail.com"
] | sparticlesteve@gmail.com |
2af5b432ac298bebe3343f9ee18ae79e5f368b3e | 8c2c6d5c9ff1f36d73275ef90d35a622b9fce4d7 | /aliens.py | 296b9758824adc23c661414de5f9fdbd905ea432 | [] | no_license | Dushyanttara/Competitive-Programing | cf90611de94643a347449d68d51751a86bf7d528 | 6caa35b0d58792d9f6dcdb071feb40dc9e0bd9bf | refs/heads/master | 2022-12-21T19:37:36.121470 | 2020-09-17T05:31:01 | 2020-09-17T05:31:01 | 296,226,118 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,319 | py | """#Dushyant Tara(19-06-2020): This program will help you understand dictionary as a data strucutre
alien_0 = {'color': 'green',
'points': 5}
#print(alien_0['color'])
#print(alien_0['points'])
#new_points = alien_0['points']
#print("You just earned " + str(new_points) + " points.")
#Adding new... | [
"noreply@github.com"
] | noreply@github.com |
38c410730d901ad85541edf2a62f42ccffc4bb48 | cbc8aa592c4569541f6871664b2a34b7d8c44ff3 | /hide_text.py | 5e5e4d4571fdaff6eb941f015f1844811338e18e | [] | no_license | premnetha9/Steganography | 1f231b78fe4d768495ed94f71ca70c6ab5106ebc | adc536903a39bb6912b83fddb6ad63d1ac37df43 | refs/heads/main | 2023-04-02T17:55:31.009380 | 2021-04-12T11:51:38 | 2021-04-12T11:51:38 | 356,925,385 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,757 | py | from PIL import Image
def encrypt(image_path, text_path):
# check if image is already a bitmap
if image_path[-4:] != '.bmp':
img = Image.open(image_path)
image_path = image_path[:-4] + '.bmp'
img.save(image_path)
with open(image_path[:-4] + '.bmp', 'rb') as bmp_file:
bmp ... | [
"noreply@github.com"
] | noreply@github.com |
a69f66bef3361f7d39e7ffefadee31214bd809e1 | 3a8fd98b56e6f7188963b6fb04838f29ef8eab58 | /5.seq2seq模型的实现/decoder/__init__.py | bcffe23b8f7751c894db068a41756f12356a5cd2 | [] | no_license | sunshinewhy/Pytorch_Learning_Notes | a5d6790ec67a1824271250710caf2fe2f0267d2b | 3cf67a01fce023952514863f5ed072d984746aa3 | refs/heads/master | 2023-08-30T09:37:51.813355 | 2021-10-28T06:28:52 | 2021-10-28T06:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 160 | py | # -*- coding: utf-8 -*-
# date: 2021/10/25
# Project: Pytorch学习
# File Name: __init__.py.py
# Description:
# Author: Anefuer_kpl
# Email: 374774222@qq.com
| [
"374774222@qq.com"
] | 374774222@qq.com |
6610629d54b2c5ac59da26cba068dd2d1f43a0f7 | 485c7e76b32df2255b70534f93f1865f556ddb7f | /worksheet/migrations/0002_todo_reminder.py | 58d7b84938c72608be6d7b7d189760d7d0a743cb | [] | no_license | srrobin/personal-book | ec0c07b95d0e24946950238a8aa2b5ac41eabfa2 | 82add4f2de22f88ba9b822ba4e0ecc727554111f | refs/heads/master | 2022-11-30T07:37:06.978056 | 2019-09-10T05:38:02 | 2019-09-10T05:38:02 | 207,211,267 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 371 | py | # Generated by Django 2.2.3 on 2019-07-23 17:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('worksheet', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='todo',
name='reminder',
f... | [
"you@domain.com"
] | you@domain.com |
2692296396f33700f74d1e69204a5124a8b12e1e | 2dea008817e368a4ef97fc514e7c7ede62a529c3 | /app/libs/models.py | c5cb96e16c2384553d8ba0df9913322a528368ed | [] | no_license | ChuckWoodraska/IP-Query | 4fbf50ea21d693b1cc2df320b4640bb9e5e6b08c | 4dd2796cca946218c0d720f722c74157472a9e56 | refs/heads/master | 2022-12-10T07:03:57.561732 | 2019-06-17T00:07:15 | 2019-06-17T00:07:15 | 192,244,817 | 0 | 0 | null | 2022-12-08T05:47:27 | 2019-06-16T23:05:55 | Python | UTF-8 | Python | false | false | 3,935 | py | from typing import Callable
from app.database import db
class BaseModel(db.Model):
__abstract__ = True
@staticmethod
def create(new_entry, commit=True):
try:
db.session.add(new_entry)
if commit:
db.session.commit()
return new_entry.id
ex... | [
"chuck.woodraska@gmail.com"
] | chuck.woodraska@gmail.com |
bf706e030428e195da2f4dd5bd22ce03fdae05e3 | c9429024ec31ada460686dca1977678c20bd312c | /library/imdb/parser/http/__init__.py | ade424fd6b9ae135b70bec3267e46da5c19e9bce | [] | no_license | FrozenCow/CouchPotato | 1bd43146f19354572f49b524fa36f012c35ddd77 | d5e6669bbee5792c127d2e6a0998fb6de6da62bc | refs/heads/master | 2021-01-18T08:30:06.000754 | 2010-11-02T22:16:28 | 2010-11-02T22:16:28 | 1,046,437 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 34,163 | py | """
parser.http package (imdb package).
This package provides the IMDbHTTPAccessSystem class used to access
IMDb's data through the web interface.
the imdb.IMDb function will return an instance of this class when
called with the 'accessSystem' argument set to "http" or "web"
or "html" (this is the default).
Copyright... | [
"ruud@crashdummy.nl"
] | ruud@crashdummy.nl |
da80f0b87d1b6ddfae31337351eca0f9c9c2d213 | 1e50f1643376039ca988d909e79f528e01fa1371 | /leetcode/editor/cn/1137.第-n-个泰波那契数.py | a777ba13f377e8e91336da1a7cfec2c1d4ed6ce6 | [] | no_license | mahatmaWM/leetcode | 482a249e56e2121f4896e34c58d9fa44d6d0034b | 4f41dad6a38d3cac1c32bc1f157e20aa14eab9be | refs/heads/master | 2022-09-04T17:53:54.832210 | 2022-08-06T07:29:46 | 2022-08-06T07:29:46 | 224,415,259 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,390 | py | #
# @lc app=leetcode.cn id=1137 lang=python3
#
# [1137] 第 N 个泰波那契数
#
# https://leetcode-cn.com/problems/n-th-tribonacci-number/description/
#
# algorithms
# Easy (52.68%)
# Likes: 39
# Dislikes: 0
# Total Accepted: 15.2K
# Total Submissions: 28.8K
# Testcase Example: '4'
#
# 泰波那契序列 Tn 定义如下:
#
# T0 = 0, T1 = 1, T... | [
"chrismwang@tencent.com"
] | chrismwang@tencent.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.