code stringlengths 114 1.05M | path stringlengths 3 312 | quality_prob float64 0.5 0.99 | learning_prob float64 0.2 1 | filename stringlengths 3 168 | kind stringclasses 1
value |
|---|---|---|---|---|---|
import numpy as np
import scipy.signal as signal
import matplotlib.pyplot as plt
def Gamma2VSWR( Gamma ):
"""
Reflection coefficient to Voltage Standing Wave Ratio conversion
Gamma is the reflection coefficient.
"""
return np.divide(1+abs(Gamma), 1-abs(Gamma))
def pow2normdb( mag ):
"""
Co... | /rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/utility.py | 0.776369 | 0.838151 | utility.py | pypi |
from scipy.stats import norm
import numpy as np
import scipy.constants as const
import rftool.utility as util
def Q( x ):
"""
The Q-function. (just a translation for readability).
"""
return norm.sf(x)
def errorProbabilityBpsk( EbN0 ):
"""
Probability of error in AWGN as a function of Eb/N0 fo... | /rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/communications.py | 0.680985 | 0.737584 | communications.py | pypi |
import scipy.signal as signal
import scipy.optimize as optimize
import scipy.integrate as integrate
import scipy.special as special
import scipy.ndimage as ndimage
import numpy as np
import numpy.polynomial.polynomial as poly
from mpl_toolkits.mplot3d import axes3d # 3D plot
import matplotlib.pyplot as plt
from p... | /rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/radar.py | 0.755005 | 0.581957 | radar.py | pypi |
import numpy as np
import scipy.optimize as optimize
def chamberImpedance( x ):
"""
Dimension calculations for an open TEM cell.
S. M. Satav et al., Do-it-Yourself Fabrication of an Open TEM Cell for EMC Pre-compliance, Indian Institute of Technology-Bombay, 2008
Taking in a parameter vector for the di... | /rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/temcell.py | 0.594787 | 0.703588 | temcell.py | pypi |
try:
from typing import Any, Dict, List, Optional, Protocol, Union
except ImportError:
from typing import Dict, List, Optional, Union
from typing_extensions import Protocol
class Layer(Protocol):
"""This Protocol describes a simple information container for nerwork layers.
Args:
name: ... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/domain.py | 0.934275 | 0.632446 | domain.py | pypi |
from typing import Sequence, Union
import graphviz
import numpy as np
from rfa_toolbox.graphs import EnrichedNetworkNode
def node_id(node: EnrichedNetworkNode) -> str:
"""Provide a unique string for each node based on its name and object id.
This makes the node-id human readable while also easy to process s... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/vizualize.py | 0.942639 | 0.588475 | vizualize.py | pypi |
from typing import Callable, List
from rfa_toolbox.graphs import EnrichedNetworkNode, LayerDefinition
def conv_batch_norm_relu(
predecessor: EnrichedNetworkNode, idx: str, strides: int = 1
) -> EnrichedNetworkNode:
return EnrichedNetworkNode(
name=f"{idx}-Conv3x3-BatchNorm-ReLU",
layer_info=L... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/architectures/resnet.py | 0.879289 | 0.539954 | resnet.py | pypi |
from typing import Optional
from rfa_toolbox.graphs import EnrichedNetworkNode, LayerDefinition
def conv_batch_norm_relu(
predecessor: EnrichedNetworkNode, idx: int, filters: Optional[int] = None
) -> EnrichedNetworkNode:
return EnrichedNetworkNode(
name=f"{idx}-Conv3x3-BatchNorm-ReLU",
layer... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/architectures/vgg.py | 0.899193 | 0.563198 | vgg.py | pypi |
from typing import List, Sequence, Tuple, Union
import numpy as np
from rfa_toolbox.graphs import EnrichedNetworkNode
def obtain_all_nodes(output_node: EnrichedNetworkNode) -> List[EnrichedNetworkNode]:
"""Fetch all nodes from a single node of the compute graph.
Args:
output_node: output... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/utils/graph_utils.py | 0.960091 | 0.771198 | graph_utils.py | pypi |
import warnings
from typing import Callable, Dict, List, Optional, Tuple, Union
import torch
from attr import attrib, attrs
from graphviz import Digraph as GraphVizDigraph
from rfa_toolbox.encodings.pytorch.domain import LayerInfoHandler, NodeSubstitutor
from rfa_toolbox.encodings.pytorch.layer_handlers import (
... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/encodings/pytorch/intermediate_graph.py | 0.91722 | 0.406509 | intermediate_graph.py | pypi |
from rfa_toolbox.graphs import EnrichedNetworkNode, LayerDefinition
try:
from typing import Protocol
except ImportError:
from typing_extensions import Protocol
import torch
class LayerInfoHandler(Protocol):
"""Creates a LayerDefinition from the model and a resolvable string."""
def can_handle(self,... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/encodings/pytorch/domain.py | 0.922018 | 0.601535 | domain.py | pypi |
from rfa_toolbox.graphs import LayerDefinition
try:
from typing import Any, Dict, Protocol
except ImportError:
from typing_extensions import Protocol
from attr import attrs
class LayerInfoHandler(Protocol):
"""Creates a LayerDefinition from the model and a resolvable string."""
def can_handle(self,... | /rfa_toolbox-1.7.0-py3-none-any.whl/rfa_toolbox/encodings/tensorflow_keras/layer_handlers.py | 0.946001 | 0.482734 | layer_handlers.py | pypi |
.. _getstarted:
Get started
============
The R-factor scripts can be used to:
1. Compute the erosivity :math:`EI_{30}` values for a number of stations and
years.
2. Use the computed :math:`EI_{30}` values to compute an R-value.
From 10' rain data to EI for a single station/year
---------------------------------... | /rfactor-0.1.2.tar.gz/rfactor-0.1.2/docs/get-started.rst | 0.924747 | 0.809991 | get-started.rst | pypi |
from abc import ABC, abstractmethod
from typing import Dict, Counter, Iterable, Tuple, Optional, cast, Union
from dataclasses import dataclass, field
from rfb_mc.types import Params, RfBmcTask, RfBmcResult, BmcResult, BmcTask
from threading import Lock
@dataclass
class StoreData:
# general and problem specific pa... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/store.py | 0.910107 | 0.35056 | store.py | pypi |
from ast import literal_eval
from typing import Dict, Tuple, TypedDict, Any, Literal, Counter, Optional
from rfb_mc.restrictive_formula_module import get_restrictive_formula_module
from rfb_mc.store import StoreData
from rfb_mc.types import RfBmcTask, RfBmcResult, Params, BmcTask, BmcResult
def v1_encode_rf_bmc_task... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/serialization.py | 0.844377 | 0.368463 | serialization.py | pypi |
from abc import ABC, abstractmethod
from typing import TypeVar, Generic, Dict, Any, Type
from rfb_mc.restrictive_formula_module import register_restrictive_formula_module
from rfb_mc.restrictive_formula_module_implementation import RestrictiveFormulaModuleImplementation, \
RestrictiveFormulaInstance
from rfb_mc.typ... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/runner.py | 0.873997 | 0.29537 | runner.py | pypi |
from abc import ABC, abstractmethod
from typing import Generic, TypeVar, Hashable, Any, Dict, Type
from rfb_mc.types import Params
RestrictiveFormulaParams = TypeVar("RestrictiveFormulaParams", bound=Hashable)
# parameter that determines all formula generation related values
RestrictiveFormulaProperties = TypeVar("Re... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/restrictive_formula_module.py | 0.922141 | 0.451629 | restrictive_formula_module.py | pypi |
import z3
from typing import List, NamedTuple, Dict, Optional
CloneExpressionOutput = NamedTuple("CloneExpressionOutput", [
("clones", List[z3.BoolRef]), ("var_map", Dict[z3.ExprRef, List[z3.ExprRef]])
])
def serialize_expression(expression: z3.ExprRef) -> str:
s = z3.Solver()
s.add(expression)
retur... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/helper/z3_helper.py | 0.917441 | 0.48182 | z3_helper.py | pypi |
from dataclasses import dataclass
from fractions import Fraction
from functools import lru_cache
from math import log2, ceil, floor, prod
from typing import Tuple, Optional, List, Union
from rfb_mc.component.eamp.eamp_edge_scheduler import EampEdgeScheduler
from rfb_mc.component.eamp.eamp_edge_scheduler_base import Ea... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/eamp/eamp_edge_scheduler_sp.py | 0.773815 | 0.326164 | eamp_edge_scheduler_sp.py | pypi |
from abc import abstractmethod
from fractions import Fraction
from math import sqrt, prod, ceil, floor
from typing import Tuple, Optional, Union, Generic, TypeVar, List, Counter
from rfb_mc.component.eamp.eamp_rfm import EampParams, EampRfm
from rfb_mc.component.eamp.types import ProbabilisticInterval
from rfb_mc.compo... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/eamp/eamp_edge_scheduler_base.py | 0.934073 | 0.505432 | eamp_edge_scheduler_base.py | pypi |
import random
from enum import Enum, unique
from math import prod, log2, ceil
from typing import NamedTuple, Tuple, Any, List
from rfb_mc.restrictive_formula_module import RestrictiveFormulaModule
from rfb_mc.types import Params
@unique
class EampTransformMethod(Enum):
SORTED_ROLLING_WINDOW = "SRW"
EampParams =... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/eamp/eamp_rfm.py | 0.73077 | 0.373504 | eamp_rfm.py | pypi |
import z3
from math import log2, ceil
from typing import Type, List, Tuple
from rfb_mc.component.eamp.eamp_rfm import EampInstanceParams, EampRfm, EampTransformMethod
from rfb_mc.component.runner_z3 import RfmiGenerationArgsZ3
from rfb_mc.restrictive_formula_module_implementation import RestrictiveFormulaModuleImplemen... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/eamp/eamp_rfmi_z3.py | 0.719384 | 0.452173 | eamp_rfmi_z3.py | pypi |
from fractions import Fraction
from functools import lru_cache
from math import sqrt, prod, log2, ceil, floor, log
from typing import Tuple, Optional, List, Union
from rfb_mc.component.eamp.eamp_edge_scheduler_base import EampEdgeSchedulerBase
from rfb_mc.component.eamp.primes import get_lowest_prime_above_or_equal_pow... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/eamp/eamp_edge_scheduler.py | 0.904653 | 0.385172 | eamp_edge_scheduler.py | pypi |
from decimal import Decimal
from collections import Counter
from concurrent.futures import ThreadPoolExecutor
from typing import Optional, Iterable, Tuple, TypedDict, Literal, Any
import uuid
from rfb_mc.serialization import SerializedV1StoreData, v1_encode_rf_bmc_task_result, decode_store_data, \
v1_encode_store_d... | /rfb_mc-0.0.23.tar.gz/rfb_mc-0.0.23/rfb_mc/component/aws/dynamodb_store.py | 0.84759 | 0.220867 | dynamodb_store.py | pypi |
# Deprecation Warning
<span style="color:red; font-size:4em;">This version of the project has been deprecated.</span> <br/>
<span style="color:green; font-size:4em;">Please use <a href="https://github.com/iluxonchik/rfc-bibtex/">rfc-bibtex</a> instead.</span>
The package has **changed name on PyPi** from `rfc-bibtex`... | /rfc-bibtex-0.3.2.tar.gz/rfc-bibtex-0.3.2/README.md | 0.426322 | 0.916147 | README.md | pypi |
from unidecode import unidecode
from num2words import num2words
from .homoclave import Homoclave
from .verification_digit import VerificationDigit
import re
class RFC_PM:
_REGEX_DATE_FORMAT = re.compile(r'^\d{4}-\d{2}-\d{2}$')
_ROMAN_NUMBER_REGEX = "^M{0,3}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$"
... | /rfc_generator-0.0.13-py3-none-any.whl/rfc_generator/src/rfc_pm.py | 0.501953 | 0.281572 | rfc_pm.py | pypi |
from unidecode import unidecode
class Homoclave:
_FULL_NAME_MAPPING = {
" ": "00",
"0": "00",
"1": "01",
"2": "02",
"3": "03",
"4": "04",
"5": "05",
"6": "06",
"7": "07",
"8": "08",
"9": "09",
"&": "10",
"A": "... | /rfc_generator-0.0.13-py3-none-any.whl/rfc_generator/src/homoclave.py | 0.416915 | 0.451508 | homoclave.py | pypi |
from typing import Callable, Dict, List
from .methods import REGISTERED_METHODS
class ValidatorUi:
def status(self, message: str) -> None:
pass
def skip(self, subject: str, message: str) -> None:
pass
def success(self, subject: str, message: str) -> None:
pass
def error(sel... | /rfc-http-validate-0.3.3.tar.gz/rfc-http-validate-0.3.3/rfc_http_validate/validate.py | 0.538983 | 0.234319 | validate.py | pypi |
typemap = {
# Compatible Fields
"accept": "list",
"accept-encoding": "list",
"accept-language": "list",
"accept-patch": "list",
"accept-post": "list",
"accept-ranges": "list",
"access-control-allow-credentials": "item",
"access-control-allow-headers": "list",
"access-control-all... | /rfc-http-validate-0.3.3.tar.gz/rfc-http-validate-0.3.3/rfc_http_validate/retrofit.py | 0.450601 | 0.277999 | retrofit.py | pypi |
from __future__ import absolute_import
from six.moves import range
import collections
"""
def py_zeros(dim, pytype):
assert len(dim) == 2
return [[pytype for y in range(dim[1])]
for x in range(dim[0])]
"""
try:
from editdist import distance as strdist
except ImportError:
def strdist(a, b... | /rfc-xmldiff-0.6.0.tar.gz/rfc-xmldiff-0.6.0/xmldiff/zzs.py | 0.596198 | 0.339923 | zzs.py | pypi |
import configparser
import functools
import logging
import os
import re
import shutil
import tarfile
import time
from datetime import datetime, timedelta
import click
import requests
from peewee import IntegrityError
from rfcpy.helpers.config import Config
from rfcpy.models import Data, DataIndex, create_tables, db
... | /rfc.py-2020.10.1-py3-none-any.whl/rfcpy/helpers/utils.py | 0.618204 | 0.25759 | utils.py | pypi |
# RFC BibTex
A command line tool that creates `BibTex` entries for IETF `RFC`s and `Internet Drafts`.
It can read the list of `RFC`s and `Internet Drafts` to parse from various sources:
* directly from `.tex` files
* directly from `.aux` files
* from a text file (one ID per line)
* from command-line arguments
Duplic... | /rfcbibtex-0.3.2.tar.gz/rfcbibtex-0.3.2/README.md | 0.426322 | 0.826817 | README.md | pypi |
# Python RFCC - Data understanding, clustering and outlier detection for regression and classification tasks
Random forests are invariant and robust estimators that can fit complex interactions between input data of different types and binary, categorical, or continuous outcome variables, including those with multiple... | /rfcc-1.0.1.tar.gz/rfcc-1.0.1/README.md | 0.644784 | 0.989419 | README.md | pypi |
# rfcontrolpy
rfcontrolpy is a Python library and port of the node.js [rfcontrolpy](https://github.com/rrooggiieerr/rfcontrolpy)
module for parsing and constructing 433mhz On-Off Keying (OOK) signals for various devices,
switches and weather stations.
It works together with the [RFControl](https://github.com/rrooggii... | /rfcontrolpy-0.0.5.tar.gz/rfcontrolpy-0.0.5/README.md | 0.413596 | 0.964921 | README.md | pypi |
import glob
import logging
from os.path import basename, dirname, isfile, join
import rfcontrol.protocols
from rfcontrol.protocols import *
logger = logging.getLogger(__name__)
protocols = [
getattr(rfcontrol.protocols, basename(f)[:-3])
for f in glob.glob(join(dirname(__file__), "protocols/*.py"))
if is... | /rfcontrolpy-0.0.5.tar.gz/rfcontrolpy-0.0.5/rfcontrol/controller.py | 0.477798 | 0.285182 | controller.py | pypi |
import logging
from rfcontrol.helpers import binary2pulses, pulses2binary
from rfcontrol.protocols import RFControlProtocolTypes
logger = logging.getLogger(__name__)
# Mapping for decoding.
pulses2binary_mapping = [
["00", "0"], # binary 0
["01", "1"], # binary 1
["02", ""], # footer
]
# Mapping for ... | /rfcontrolpy-0.0.5.tar.gz/rfcontrolpy-0.0.5/rfcontrol/protocols/switch10.py | 0.581303 | 0.309728 | switch10.py | pypi |
import logging
from rfcontrol.helpers import binary2pulses, pulses2binary
from rfcontrol.protocols import RFControlProtocolTypes
logger = logging.getLogger(__name__)
# Mapping for decoding.
pulses2binary_mapping = [
["02", ""], # Header
["0001", "0"], # Binary 0
["0100", "1"], # Binary 1
["0000", ... | /rfcontrolpy-0.0.5.tar.gz/rfcontrolpy-0.0.5/rfcontrol/protocols/dimmer1.py | 0.601125 | 0.248968 | dimmer1.py | pypi |
import logging
from rfcontrol.helpers import binary2pulses, pulses2binary
from rfcontrol.protocols import RFControlProtocolTypes
logger = logging.getLogger(__name__)
# Mapping for decoding.
pulses2binary_mapping = [
["0101", "1"], # Binary 1
["1010", "2"], # Binary tri-state
["0110", "0"], # Bbinary 0... | /rfcontrolpy-0.0.5.tar.gz/rfcontrolpy-0.0.5/rfcontrol/protocols/switch8.py | 0.626581 | 0.342242 | switch8.py | pypi |
from __future__ import annotations
import gi
gi.require_version("Gtk", "4.0")
gi.require_version("Soup", "2.4")
from gi.repository import Gio, GLib, Gtk, Soup
from typing import (
Callable,
Optional,
Final,
Any,
Dict,
Union,
)
import logging
import os
import platform
from threading import Thr... | /rfi-downloader-0.1.0.tar.gz/rfi-downloader-0.1.0/rfi_downloader/utils/__init__.py | 0.783243 | 0.162912 | __init__.py | pypi |
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gio
from enum import auto, IntEnum, unique
import logging
from pathlib import PurePath
from typing import Final, Dict, Any, Optional
from abc import ABC, abstractmethod
logger = logging.getLogger(__name__)
@unique
class FileStatus(In... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/file.py | 0.819605 | 0.186021 | file.py | pypi |
from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Any, Sequence, Dict, Optional, NamedTuple, Type
import importlib.resources
import yaml
from munch import Munch
from .operation import Operation
from .engine import Engine
class Preference(ABC):
@abstractmethod
def __i... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/preferences.py | 0.935013 | 0.295803 | preferences.py | pypi |
from __future__ import annotations
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib
from ..engine import Engine, EngineThread
from ..files.regular_file import RegularFile
from ..file import FileStatus
from ..utils.decorators import exported_filetype, with_pango_docs
import logging
from... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/engines/temporary_file_engine.py | 0.502441 | 0.173218 | temporary_file_engine.py | pypi |
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ..engine_advanced_settings import EngineAdvancedSettings
from ..engine import Engine
from ..utils import PATTERN_PLACEHOLDER_TEXT
class DirectoryWatchdogEngineAdvancedSettings(EngineAdvancedSettings):
def __init__(self, engine: Engine... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/engines/directory_watchdog_engine_advanced_settings.py | 0.425725 | 0.161982 | directory_watchdog_engine_advanced_settings.py | pypi |
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ..engine_advanced_settings import EngineAdvancedSettings
from ..engine import Engine
from ..utils import PATTERN_PLACEHOLDER_TEXT
class AWSS3BucketEngineAdvancedSettings(EngineAdvancedSettings):
def __init__(self, engine: Engine):
... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/engines/aws_s3_bucket_engine_advanced_settings.py | 0.432183 | 0.165931 | aws_s3_bucket_engine_advanced_settings.py | pypi |
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ..engine_advanced_settings import EngineAdvancedSettings
from ..engine import Engine
from ..utils import PATTERN_PLACEHOLDER_TEXT
class FileWatchdogEngineAdvancedSettings(EngineAdvancedSettings):
def __init__(self, engine: Engine):
... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/engines/file_watchdog_engine_advanced_settings.py | 0.436022 | 0.182134 | file_watchdog_engine_advanced_settings.py | pypi |
from threading import current_thread
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ..operation import Operation
from ..files.directory import Directory
from ..utils import ExitableThread, get_random_string
from ..utils.decorators import supported_filetypes, with_pango_docs
from ..utils... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/operations/directory_compressor.py | 0.609408 | 0.175079 | directory_compressor.py | pypi |
from __future__ import annotations
from rfi_file_monitor.utils import ExitableThread
from gi.repository import Gio
from ..engine_advanced_settings import EngineAdvancedSettings
from ..engine import Engine
from ..utils.exceptions import SkippedOperation
from ..file import File, FileStatus
from ..files.regular_file imp... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/utils/decorators.py | 0.784897 | 0.164215 | decorators.py | pypi |
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from pathlib import Path
from typing import Final, Any, List, final, Optional
from munch import Munch, munchify
import logging
logger = logging.getLogger(__name__)
class WidgetParams:
"""
Inheriting from this class
"""
# pyli... | /rfi-file-monitor-0.2.12.tar.gz/rfi-file-monitor-0.2.12/rfi_file_monitor/utils/widgetparams.py | 0.75274 | 0.157655 | widgetparams.py | pypi |
# RFInder
**Insallation instructions**
```
pip install rfinder
```
To create a local repository, type:
```
git clone https://github.com/Fil8/RFInder
```
***
**Requisites**
For a successfull installation make sure to have installed the following packages.
- RFInder makes use of the most common `python` packages ... | /rfinder-1.0.5.tar.gz/rfinder-1.0.5/README.md | 0.410993 | 0.958069 | README.md | pypi |
# pytype: skip-file
from __future__ import absolute_import
import struct
import sys
from builtins import chr
from builtins import object
from typing import List
class OutputStream(object):
"""For internal use only; no backwards-compatibility guarantees.
A pure Python implementation of stream.OutputStream."""
... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/coders/slow_stream.py | 0.701509 | 0.404272 | slow_stream.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import itertools
from array import array
from apache_beam.coders import typecoders
from apache_beam.coders.coder_impl import StreamCoderImpl
from apache_beam.coders.coders import BooleanCoder
from apache_beam.coders.coders import BytesCoder
from apache_beam... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/coders/row_coder.py | 0.782413 | 0.221983 | row_coder.py | pypi |
# pytype: skip-file
"""Common utility class to help SDK harness to execute an SDF. """
from __future__ import absolute_import
from __future__ import division
import logging
import threading
from builtins import object
from typing import TYPE_CHECKING
from typing import Any
from typing import NamedTuple
from typing ... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/sdf_utils.py | 0.89481 | 0.216943 | sdf_utils.py | pypi |
# pytype: skip-file
# mypy: disallow-untyped-defs
from __future__ import absolute_import
from builtins import object
from typing import TYPE_CHECKING
from typing import Any
from typing import Dict
from typing import FrozenSet
from typing import Generic
from typing import Iterable
from typing import Mapping
from typin... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/pipeline_context.py | 0.804905 | 0.244459 | pipeline_context.py | pypi |
# This module is experimental. No backwards-compatibility guarantees.
# pytype: skip-file
from __future__ import absolute_import
from builtins import object
from typing import Optional
from apache_beam.runners import common
from apache_beam.utils import counters
class StateSampler(object):
def __init__(self, s... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/worker/statesampler_slow.py | 0.854232 | 0.305309 | statesampler_slow.py | pypi |
"""A module for caching state reads/writes in Beam applications."""
# pytype: skip-file
# mypy: disallow-untyped-defs
from __future__ import absolute_import
import collections
import logging
import threading
from typing import TYPE_CHECKING
from typing import Any
from typing import Callable
from typing import Generi... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/worker/statecache.py | 0.867485 | 0.267289 | statecache.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import collections
from apache_beam import coders
from apache_beam.runners import common
# This module is experimental. No backwards-compatibility guarantees.
def build_worker_instruction(*args):
"""Create an object representing a ParallelInstruction pr... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/worker/operation_specs.py | 0.864882 | 0.288032 | operation_specs.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import collections
import logging
import queue
import threading
import traceback
from builtins import object
from builtins import range
from apache_beam.coders import observable
from apache_beam.io import iobase
from apache_beam.runners.worker import opcount... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/worker/sideinputs.py | 0.731251 | 0.183447 | sideinputs.py | pypi |
# This module is experimental. No backwards-compatibility guarantees.
# pytype: skip-file
from __future__ import absolute_import
import contextlib
import threading
from typing import TYPE_CHECKING
from typing import Dict
from typing import NamedTuple
from typing import Optional
from typing import Union
from apache... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/worker/statesampler.py | 0.901518 | 0.245062 | statesampler.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import logging
import threading
import time
import apache_beam as beam
from apache_beam.runners.interactive import interactive_environment as ie
from apache_beam.runners.interactive.caching import streaming_cache
from apache_beam.runners.runner import Pipeli... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/background_caching_job.py | 0.712532 | 0.219923 | background_caching_job.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import logging
import apache_beam as beam
from apache_beam import runners
from apache_beam.pipeline import PipelineVisitor
from apache_beam.runners.direct import direct_runner
from apache_... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/interactive_runner.py | 0.648355 | 0.210787 | interactive_runner.py | pypi |
from typing import Iterator
from typing import Optional
import apache_beam as beam # type: ignore
class UserPipelineTracker:
"""Tracks user pipelines from derived pipelines.
This data structure is similar to a disjoint set data structure. A derived
pipeline can only have one parent user pipeline. A user pipe... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/user_pipeline_tracker.py | 0.942069 | 0.539954 | user_pipeline_tracker.py | pypi |
from __future__ import absolute_import
import hashlib
import json
import logging
import pandas as pd
from apache_beam.portability.api.beam_runner_api_pb2 import TestStreamPayload
from apache_beam.testing.test_stream import WindowedValueHolder
def to_element_list(
reader, # type: Generator[Union[TestStreamPayl... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/utils.py | 0.642657 | 0.195921 | utils.py | pypi |
from __future__ import absolute_import
import apache_beam as beam
from apache_beam.pipeline import PipelineVisitor
from apache_beam.runners.interactive import interactive_environment as ie
from apache_beam.testing.test_stream import TestStream
class PipelineFragment(object):
"""A fragment of a pipeline definition.... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/pipeline_fragment.py | 0.897173 | 0.399285 | pipeline_fragment.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import apache_beam as beam
from apache_beam.runners.interactive.utils import as_json
from apache_beam.runners.interactive.utils import obfuscate
class InteractiveEnvironmentInspector(object):
"""Inspector that converts information of the current interacti... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/messaging/interactive_environment_inspector.py | 0.797439 | 0.506897 | interactive_environment_inspector.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import abc
import os
import subprocess
from typing import TYPE_CHECKING
from typing import Optional
from typing import Type
from future.utils import with_metaclass
from apache_beam.utils.... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/display/pipeline_graph_renderer.py | 0.840455 | 0.203747 | pipeline_graph_renderer.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import re
from apache_beam.runners.interactive.display import pipeline_graph
def nice_str(o):
s = repr(o)
s = s.replace('"', "'")
s = s.replace('\\', '|')
s = re.sub(r'[^\x20-\x7... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/display/interactive_pipeline_graph.py | 0.810479 | 0.295116 | interactive_pipeline_graph.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
import logging
import threading
from typing import DefaultDict
from typing import Dict
from typing import Iterator
from typing import List
from typing import Tuple
from t... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/interactive/display/pipeline_graph.py | 0.891528 | 0.212559 | pipeline_graph.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import numbers
import sys
from collections import defaultdict
from future.utils import iteritems
from apache_beam.metrics.cells import DistributionData
from apache_beam.metrics.cells import DistributionResult
from apache_beam.... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/dataflow/dataflow_metrics.py | 0.676727 | 0.287906 | dataflow_metrics.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import time
import apache_beam as beam
from apache_beam.metrics import Metrics
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.options.pipeline_options import SetupOptions
from apache_beam.opti... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/dataflow/dataflow_exercise_streaming_metrics_pipeline.py | 0.747432 | 0.151247 | dataflow_exercise_streaming_metrics_pipeline.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import time
from hamcrest.library.number.ordering_comparison import greater_than
import apache_beam as beam
from apache_beam.metrics import Metrics
from apache_beam.testing.metric_result_matchers import DistributionMatcher
from apache_beam.testing.metric_re... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline.py | 0.489259 | 0.287557 | dataflow_exercise_metrics_pipeline.py | pypi |
# All constants are for internal use only; no backwards-compatibility
# guarantees.
# pytype: skip-file
from __future__ import absolute_import
# Standard file names used for staging files.
from builtins import object
# Referenced by Dataflow legacy worker.
from apache_beam.runners.internal.names import PICKLED_MAIN... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/dataflow/internal/names.py | 0.567697 | 0.157882 | names.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import logging
from builtins import object
from typing import TYPE_CHECKING
from typing import Optional
from apache_beam import pvalue
from apache_beam.io import iobase
from apache_beam.transforms import ptransform
from apache_beam.transforms.display import ... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/dataflow/native_io/iobase.py | 0.932292 | 0.33425 | iobase.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import threading
from builtins import object
from typing import TYPE_CHECKING
from typing import Dict
from typing import Iterable
from typing import List
from typing import Set
from typing import Tuple
from apache_beam import pipeline
from apache_beam import... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/watermark_manager.py | 0.759315 | 0.451992 | watermark_manager.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import threading
from builtins import object
from collections import defaultdict
from apache_beam.metrics.cells import CounterAggregator
from apache_beam.metrics.cells import DistributionAggregator
from apache_beam.metrics.cells import GaugeAggregator
from a... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/direct_metrics.py | 0.802091 | 0.230075 | direct_metrics.py | pypi |
"""Support for user state in the BundleBasedDirectRunner."""
# pytype: skip-file
from __future__ import absolute_import
import copy
import itertools
from apache_beam.transforms import userstate
from apache_beam.transforms.trigger import _ListStateTag
from apache_beam.transforms.trigger import _ReadModifyWriteStateT... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/direct_userstate.py | 0.712932 | 0.219024 | direct_userstate.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import collections
import threading
from builtins import object
from typing import TYPE_CHECKING
from typing import Any
from typing import DefaultDict
from typing import Dict
from typing import Iterable
from typing import List
from typing import Optional
from... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/evaluation_context.py | 0.883015 | 0.429728 | evaluation_context.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import collections
import itertools
import logging
import sys
import threading
import traceback
from builtins import object
from builtins import range
from typing import TYPE_CHECKING
from typing import Any
from typing import Dict
from typing import FrozenSet... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/executor.py | 0.719384 | 0.161651 | executor.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import collections
import itertools
import typing
import apache_beam as beam
from apache_beam import typehints
from apache_beam.internal.util import ArgumentPlaceholder
from apache_beam.transforms.combiners import _CurriedFn
from apache_beam.utils.windowed_... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/direct/helper_transforms.py | 0.779616 | 0.28284 | helper_transforms.py | pypi |
# pytype: skip-file
"""Starts a service for running portable beam pipelines.
The basic usage is simply
python -m apache_beam.runners.portability.local_job_service_main
Many other options are also supported, such as starting in the background or
passing in a lockfile to ensure that only one copy of the service ... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/portability/local_job_service_main.py | 0.494141 | 0.178436 | local_job_service_main.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
import logging
import os
import re
import sys
import urllib
from apache_beam.options import pipeline_options
from apache_beam.runners.portability import flink_uber_jar_job_server
from apache_beam.runners.portability impo... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/portability/flink_runner.py | 0.548674 | 0.161883 | flink_runner.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
import itertools
import logging
import os
import tempfile
import time
import urllib
import zipfile
import requests
from apache_beam.options import pipeline_options
from apache_beam.portability.api import beam_job_api_pb... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/portability/spark_uber_jar_job_server.py | 0.705684 | 0.1873 | spark_uber_jar_job_server.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
import traceback
from apache_beam import pipeline as beam_pipeline
from apache_beam.portability import python_urns
from apache_beam.portability.api import beam_expansion_api_pb2
from apache_beam.portability.api import be... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/runners/portability/expansion_service.py | 0.489015 | 0.180143 | expansion_service.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
from past.builtins import unicode
import apache_beam as beam
import apache_beam.transforms.window as window
from apache_beam.examples.wordcount_with_metrics import WordExtractingDoFn
from apache_beam.options.pipeline_options i... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/streaming_wordcount.py | 0.717111 | 0.201754 | streaming_wordcount.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import re
from past.builtins import unicode
import apache_beam as beam
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
from apache... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/wordcount.py | 0.804943 | 0.250317 | wordcount.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import re
import subprocess
import grpc
from past.builtins import unicode
import apache_beam as beam
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options impo... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/wordcount_xlang.py | 0.784979 | 0.19619 | wordcount_xlang.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import json
import logging
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.transforms.sql import SqlTransform
def run(output_topic, pipeline_args):
pipeline_options = PipelineOptions(
pip... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/sql_taxi.py | 0.723212 | 0.237278 | sql_taxi.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import apache_beam as beam
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
# pylint doesn't understand our pipeline syntax:
# pyli... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/custom_ptransform.py | 0.857306 | 0.403626 | custom_ptransform.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import json
import logging
from builtins import object
import apache_beam as beam
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/coders.py | 0.738575 | 0.308906 | coders.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
import argparse
import logging
import re
import sys
from typing import Iterable
from typing import Optional
from typing import Text
import uuid
from builtins import object
import apache_beam as beam
from apache_beam.io i... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/datastore_wordcount.py | 0.778018 | 0.246386 | datastore_wordcount.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import re
from builtins import next
import apache_beam as beam
from apache_beam.io import ReadFromText
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.opt... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/mergecontacts.py | 0.572603 | 0.188772 | mergecontacts.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
from builtins import range
from random import randrange
import apache_beam as beam
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.options.pipeline_option... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/bigquery_side_input.py | 0.666388 | 0.187504 | bigquery_side_input.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import apache_beam as beam
def count_tornadoes(input_data):
"""Workflow computing the number of tornadoes for each month that had one.
Args:
input_data: a PCollection of dictionaries representing table rows. Each
... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/cookbook/bigquery_tornadoes.py | 0.791055 | 0.457924 | bigquery_tornadoes.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import argparse
import logging
import sys
import apache_beam as beam
import apache_beam.transforms.window as window
from apache_beam.io.flink.flink_streaming_impulse_source import FlinkStreamingImpulseSource
from apache_beam.options.pipeline_options import P... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/flink/flink_streaming_impulse.py | 0.542136 | 0.286348 | flink_streaming_impulse.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
import logging
import typing
import apache_beam as beam
from apache_beam.io.kafka import ReadFromKafka
from apache_beam.io.kafka import WriteToKafka
from apache_beam.options.pipeline_options import PipelineOptions
def run(bootstrap_servers, topic, pipeline... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/kafkataxi/kafka_taxi.py | 0.640523 | 0.176778 | kafka_taxi.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def pardo_dofn(test=None):
# [START pardo_dofn]
import apache_beam as beam
class SplitWords(beam.DoFn):
def __init__(self, delimiter=','):
self.delimiter = delimiter
def process(self, text):
... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/pardo.py | 0.651909 | 0.293556 | pardo.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def map_simple(test=None):
# [START map_simple]
import apache_beam as beam
with beam.Pipeline() as pipeline:
plants = (
pipeline
| 'Gardening plants' >> beam.Create([
' 🍓Strawbe... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/map.py | 0.595257 | 0.256035 | map.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def partition_function(test=None):
# pylint: disable=line-too-long, expression-not-assigned
# [START partition_function]
import apache_beam as beam
durations = ['annual', 'biennial', 'perennial']
def by_dura... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/partition.py | 0.682785 | 0.442697 | partition.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def withtimestamps_event_time(test=None):
# [START withtimestamps_event_time]
import apache_beam as beam
class GetTimestamp(beam.DoFn):
def process(self, plant, timestamp=beam.DoFn.TimestampParam):
yiel... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/withtimestamps.py | 0.61555 | 0.39636 | withtimestamps.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def filter_function(test=None):
# [START filter_function]
import apache_beam as beam
def is_perennial(plant):
return plant['duration'] == 'perennial'
with beam.Pipeline() as pipeline:
perennials = (
... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/filter.py | 0.60743 | 0.300021 | filter.py | pypi |
# pytype: skip-file
from __future__ import absolute_import
from __future__ import print_function
def flatmap_simple(test=None):
# [START flatmap_simple]
import apache_beam as beam
with beam.Pipeline() as pipeline:
plants = (
pipeline
| 'Gardening plants' >> beam.Create([
'🍓St... | /rflow-apache-beam-2.28.0.tar.gz/rflow-apache-beam-2.28.0/apache_beam/examples/snippets/transforms/elementwise/flatmap.py | 0.656328 | 0.388879 | flatmap.py | pypi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.