Saravanan666/pypi-org huggingface dataset:
Package: f8c
Provides a conventional cli entrypoint as a thin wrapper aroundflake8_codesso that
I can install it withpipx. That’s it.If you work in projects that use any flake8 plugins that provide new error
codes, you will need to install f8c in the local venv to introspect them.Actually, you should probably just use flake8_codes as indicated in its README
and not use f8c at all.Installationpip3 install f8cUsage$f8cw6pycodestyle          | W601     | .has_key() is deprecated, use 'in'
pycodestyle          | W602     | deprecated form of raising exception
pycodestyle          | W603     | '<>' is deprecated, use '!='
pycodestyle          | W604     | backticks are deprecated, use 'repr()'
pycodestyle          | W605     | invalid escape sequence '\%s'
pycodestyle          | W606     | 'async' and 'await' are reserved keywords starting with Python 3.7
Package: fa2l
ForceAtlas2 is a continuous graph layout algorithm for handy network visualization.This implementation is based on thispaper.Warning:Some features (especiallyPrevent Overlapping) are not completely implemented. I’m waiting for your pull-requests.Example of social graph rendered with force atlas 2 layout:InstallingSupports Python 3.3+Install from pip:pipinstallfa2lTo build and install run from source:pythonsetup.pyinstallUsageimportnetworkxasnxfromfa2limportforce_atlas2_layoutimportmatplotlib.pyplotaspltG=nx.erdos_renyi_graph(100,0.15,directed=False)positions=force_atlas2_layout(G,iterations=1000,pos_list=None,node_masses=None,outbound_attraction_distribution=False,lin_log_mode=False,prevent_overlapping=False,edge_weight_influence=1.0,jitter_tolerance=1.0,barnes_hut_optimize=True,barnes_hut_theta=0.5,scaling_ratio=2.0,strong_gravity_mode=False,multithread=False,gravity=1.0)nx.draw_networkx(G,positions,cmap=plt.get_cmap('jet'),node_size=50,with_labels=False)plt.show()FeaturesForce Atlas 2 features these settings:Approximate Repulsion: Barnes Hut optimization: n² complexity to n.ln(n).Gravity: Attracts nodes to the center. Prevents islands from drifting away.Dissuade Hubs: Distributes attraction along outbound edges. Hubs attract less and thus are pushed to the borders.LinLog mode: Switch ForceAtlas model from lin-lin to lin-log. Makes clusters more tight.Prevent Overlap. WARNING! Does not work very well.Tolerance: How much swinging you allow. Above 1 discouraged. Lower gives less speed and more precision.Edge Weight Influence: How much influence you give to the edges weight. 0 is “no influence” and 1 is “normal”.DocumentationYou will find all the documentation in the source codeCopyrightCopyright Eugene Bosiakov. Licensed under the GNU GPLv3.This files are based on the java files included in Gephi (Copyright 2011 Gephi Consortium).Also thanks to Max Shinn.
Package: fa2rs
ForceAtlas2 Python bindings from RustPython 3 bindings for Rustforceatlas2crate: fast force-based graph spacialization layout, with optional multithread and SIMD.Note: Cross-compiling with PyO3 is hard, so the distributed binary only works for GNU/Linux with latest versions of glibc (typically not Debian). Any help with cross-compilation or static glibc linking is welcome. :)Exampleimport fa2rs

edges = [(0,1), (1,2), (2,0), (2,3)]
layout = fa2rs.Layout.from_graph(edges, fa2rs.Settings(ka=0.1, kg=0.1, kr=0.1), nb_nodes=4)

for i in range(100):
    layout.iteration()

print(layout.points)You may need to tweak the settings to fit your data. The most important parameter is the ratio betweenkaandkr. If the ratio has too low or high values, the graph will collapse or explode (resulting in zero or infinite values).ka: attraction coefficient (all neighbor nodes attract each other)kg: gravity coefficient (all nodes are attracted to the origin) (can be set to0)kr: repulsion coefficient (all nodes repulse each other)chunk_size: decrease to use more threads, increase to use fewer threads. Tune it to minimize both thread management time and unparallelized time. Set toNoneto disable parallelization.Build & installBuild:sh build_wheel.shInstall:pip3 install target/wheel/dist/fa2rs-0.2.1-py3-none-any.whl --upgradeMore information about optimizations onthe Rust repository.LayoutandSettingsare aliases forLayout32andSettings32. The32and64versions refer to the size of the floats. 64-bit floats are more precise, but when SIMD is available, the layout is approximately twice slower than with 32-bit floats.SIMD is only available onx86andx86_64withavx2feature. (check withgrep avx2 /proc/cpuinfo)LicenseGNU AGPL v3, CopyLeft 2020-2021 Pascal EngélibertThe ForceAtlas2 paper was released under CC BY, Copyright 2014 Jacomy et al.This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License along with this program. If not, seehttps://www.gnu.org/licenses/.
Package: faa
A Python wrapper for the Federal Aviation Administration’s API.Usage>>> from faa import FAA>>> # Find all current delays in the US.
... FAA().delays()
{'lots': {'and': {'lots': 'of delay data'}}}>>> # Search for the status of a specific airport.
... FAA().status('SFO')
{'data': {'specific to': 'SFO'}}>>> # Get back a list of all ground delays.
... FAA().ground_delays()
[{'ground': 'delay'}, {'ground': 'delay'}, ...]>>> # Get back a list of all ground stops.
... FAA().ground_stops()
[{'ground': 'stop'}, {'ground': 'stop'}, ...]>>> # Get back a list of all arrival and depature delays.
... FAA().delay_list()
[{'arrival': 'delay'}, {'departure': 'delay'}, ...]CopyrightCopyright (c) 2011 Code for America Laboratories.See LICENSE for details.
Package: faa-aircraft-registry
faa-aircraft-registryThis Python package formats the multiple CSV files provided from theFAA Aircraft Registryand reformats them into a single list of Python dictionaries allowing for easier use for programmatic usage.Data InformationThe downloaded data is read from multiple comma-delimited files contained within one zipped file. The expected structure is:ReleasableAircraft.zipACFTREF.txt: aircraft reference file by make/model/series sequenceardata.pdf: documentation for file content and configurationDEALER.txt: aircraft dealer applicant fileDEREG.txt: deregistered aircraft fileDOCINDEX.txt: aircraft document index fileENGINE.txt: engine reference fileMASTER.txt: aircraft registration master fileInstallationpip install faa_aircraft_registryExample Usageimportioimportzipfileimportrequestsfromfaa_aircraft_registryimportreadregistry_zipped_file='ReleasableAircraft.zip'withzipfile.ZipFile(registry_zipped_file)asz:registrations=read(z)
Package: faabrickmap-data
# Faabrick-Map-data** How to import a csv file **Use comma as separator in the csv fils<!> delete all comma kin the file beforethe order of fields should be : name, logo, activity, siren, address, postcode, city, website, mail, phonedelete the name of columns, you should only have data1 - put the csv file to the server root
2 -python manage.py import_csv [file name]3 - You’ll be able to readthe line for wich it didn’t find the lat and lng
Package: faadelays
FAA Airport StatusThis is a simple Python package used to retrieve data from the FAA's NAS Status API.ClassesThe following classes are available and in some cases dynamically generated when retrieving data:ClassInformation ProvidedMethodsArriveDepartDelayAirport, Status, Minimum delay, Maximum delay, Trend, Reason, Update timeGroundDelayAirport, Status, Average delay, Maximum delay, Start time, End time, Reason, Update time, URL to the advisory, Departure scope (if applicable), Included Facilities (if applicable), Included flights (if applicable)GroundStopAirport, Status, End Time, Reason, Update time, URL to advisory, Included facilities (if applicable), Included flights (if applicable), Probabibility of extensionClosureAirport, Status, Begin Time, End Time, Update time, NOTAM textAirportConfigAirport, Time the data was created, Arrival runway config, Departure runway config, Arrival rate, Source time stampAirportCode (provide when creating, IATA format),Name,Longitude,Latitude, Bool of if airport is deicing (see note), Bool of any delays, Count of delays, GroundDelay object, GroundStop object, Depart Delay object (ArriveDepartDelay), Arrive Delay object (ArriveDepartDelay), Closure object, Airport configUpdateItems initalicsare not updated until delay data is presentNote: Information about airport deicing is untestedMethods Availableget_airport_delays(airport_code, session)requires the code for the airport to get delays for in IATA format (i.e. ATL for Atlanta) and an asyncio HTTP session (such as aiohttp.ClientSession) and returns an Airport objectSupport
Package: faag
Faag-CLIFastAPI/Flask project generator with the best folder structure.(Fast/Flask Architecture App Generator)
Flask / FastAPI app generator with a maintainable architecture and sample codes for the best practices.
Currently, supports generation of FastAPI apps only. Flask support is coming soon. Currently, inpre-release. Feel
free
to raise suggestions and issues. This package is made withTyper.Installationpoetryaddfaag-clipipinstallfaag-cliUsageCurrently we support generation of apps only. Adding support for other features like adding models, routes, etc. is
coming soon.To generate a FastAPI/Flask appFaag generate will automatically generate a FastAPI by default. You can also specify the type of app you want to
generate with the--typeflag. Default app will be generated with 'sample_app' as the name. You can also specify the
name of the app with the--nameflag.Usage:faaggenerate--helpFastAPI/Flaskprojectgeneratorwiththebestfolderstructure.GenerateanewFastAPI/Flaskproject╭─Options───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│--type-tTEXTTypeofthatshouldbegenerated.Defaulttypeisfast_api.ValidOptionsare:[fast_api,flask][default:fast_api|│--name-nTEXTNameoftheapp[default:sampel_app]|│--install-completionInstallcompletionforthecurrentshell.|│--show-completionShowcompletionforthecurrentshell,tocopyitorcustomizetheinstallation.|│--helpShowthismessageandexit.|╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Helpfaag--helpGenerate a FastAPI appfaaggenerateGenerate a FastAPI/Flask App with custom app namefaag--namemyapp
faag-nmyappSetup for developmentVirtual environment setup with PoetryCreate a fork of the repositoryClone the repository to your local machinegit clone git@github.com:<username>/PyNotion.gitInstall poetry withpip install poetryorpip3 install poetryNavigate to the root of the project and runpoetry installSetup Pre-commit hooksInstall pre-commit hookspre-commit installMigrate pre-commit configspre-commit migrate-configIn case of error rungit config --global --unset-all core.hooksPathorgit config --unset-all core.hooksPathContribution GuidelinesThank your for taking your valuable time to contribute to Faag-CLI.
Pull requests are welcome. For major changes, please open an issue
first to discuss what you would like to change.
Package: faag-cli
Faag-CLIFastAPI/Flask project generator with the best folder structure.(Fast/Flask Architecture App Generator)
Flask / FastAPI app generator with a maintainable architecture and sample codes for the best practices.
Currently, supports generation of FastAPI apps only. Flask support is coming soon. Currently, inpre-release. Feel
free
to raise suggestions and issues. This package is made withTyper.Installationpoetryaddfaag-clipipinstallfaag-cliUsageCurrently, we support generation of apps only. Adding support for other features like adding models, routes, etc. is
coming soon.To generate a FastAPI/Flask appfaag generatewill automatically generate a Fast App by default. You can also specify the type of app you want to
generate with the--typeflag. Default app will be generated with 'sample_app' as the name. You can also specify the
name of the app with the--nameflag.Usage:faag[OPTIONS]COMMAND[ARGS]...FastAPI/Flaskprojectgeneratorwiththebestfolderstructure.GenerateanewappusingFaagCLI.╭─Options───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│--version-vPrintstheversionofFaagCLI│
│--install-completionInstallcompletionforthecurrentshell.│
│--show-completionShowcompletionforthecurrentshell,tocopyitorcustomizetheinstallation.│
│--helpShowthismessageandexit.│
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

╭─Commands──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
││
│generateFastAPI/Flaskprojectgeneratorwiththebestfolderstructure.GenerateanewappusingFaagCLI│
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Helpfaag--helpGenerate a FastAPI appfaaggenerateGenerate a FastAPI/Flask App with custom app namefaaggenerate--typefast--namefast_app
faaggenerate-tflask-nflask_appView options for generating a FastAPI/Flask appfaaggenerate--helpSetup for developmentVirtual environment setup with PoetryCreate a fork of the repositoryClone the repository to your local machinegit clone git@github.com:<username>/PyNotion.gitInstall poetry withpip install poetryorpip3 install poetryNavigate to the root of the project and runpoetry installSetup Pre-commit hooksInstall pre-commit hookspre-commit installMigrate pre-commit configspre-commit migrate-configIn case of error rungit config --global --unset-all core.hooksPathorgit config --unset-all core.hooksPathContribution GuidelinesThank your for taking your valuable time to contribute to Faag-CLI.
Pull requests are welcome. For major changes, please open an issue
first to discuss what you would like to change.
Package: faamtools
faamtools========Read and process instrumental aircraft observations collected byUK's Facility for Airborne Atmospheric Measurements (FAAM)* core processed data* AVAPS dropsonde data* 2DS and CDP cloud probesLicense=======``faamtools`` is licensed under the terms of the MIT license. See the file"LICENSE" for information on the history of this software, terms & conditionsfor usage, and a DISCLAIMER OF ALL WARRANTIES.All trademarks referenced herein are property of their respective holders.Copyright (c) 2016--, Denis Sergeev, University of East Anglia
Package: fa-api
API расписания Финансового университета при Правительстве Российской ФедерацииПростая библиотека для получения расписания с ruz.fa.ru. Также может быть использована для работы с ruz.hse.ruУстановкаpip3 install fa_apiПримерыПример работы с группамиfromfa_apiimportFaAPI#Создаем объект расписанияfa=FaAPI()#Ищем группу ПИ19-5group=fa.search_group("ПИ19-5")#Получаем инфо о расписании группы ПИ19-5 на сегодняtimetable=fa.timetable_group(group[0]["id"])#Ищем группу ПИ19-3group=fa.search_group("ПИ19-3")#Получаем инфо о расписании группы ПИ19-3 с 01.10.2020 по 06.10.2020timetable=fa.timetable_group(group[0]["id"],"2020.10.01","2020.10.06")#Выводим list с расписаниемprint(timetable)Пример работы с преподавателямиfromfa_apiimportFaAPI#Создаем объект расписанияfa=FaAPI()#Получаем информацию о преподавателеteacher=fa.search_teacher("Милованов")#Получаем расписание преподавателя за сентябрьtimetable=fa.timetable_teacher(teacher[0]["id"],"2020.09.01","2020.09.30")#Выводим list с расписаниемprint(timetable)
Package: faare
Fully Agnostic Atomic Render EnvironmentFAARE is a pure-Python package for automated rendering of VASP structures on headless
servers. Note that FAARE is designed for Linux Debian/Ubuntu and is not intended
to work on other operating systems.InstallationInstalling BlenderFAARE is designed to operate with Blender LTS 3.6 and assumes Blender is installed
in the /opt folder. Below, a brief set of instructions are provided to install
Blender.sudoaptinstall-ylibxrender-devlibxxf86vm-devlibxfixes-devlibxi-devlibxkbcommon-devlibsm-devsudomkdir/optcd/opt
sudowgethttps://ftp.halifax.rwth-aachen.de/blender/release/Blender3.6/blender-3.6.7-linux-x64.tar.xz
sudotar-xvfblender-3.6.7-linux-x64.tar.xz
sudormblender-3.6.7-linux-x64.tar.xzBefore proceeding to use Blender, make sure that CUDA support is enabled and that
the correct GPUs are selected. If you use Blender on a remote server, you need
to open the BlenderPyPiFirst, make sure the required dependencies are installedsudoaptinstallpython3-venvNext, create a virtual environment (compliant with PEP668) and activate it.python3-mvenv~/.venvsource~/.venv/bin/activateFinally, installfaarein your virtual environment. The installation script
will automatically download all dependencies.pipinstallfaareTesting your installationUpdating your installationAssuming you are logged into your Python virtual environment, runpipinstallfaare--upgradeManualSee:https://faare-inorganic-materials-chemistry-6980722ff50f253a4f45dd9bd22.pages.tue.nl/
Package: faasmctl
Faasm CTLfaasmctlis a command line script to deploy, manage, and interact with a
runningFaasmcluster.InstallTo installfaasmctlyou need a workingpip(virtual-)environment. Then:pipinstallfaasmctl==0.29.0Usagefaasmctlaggregates tasks related to deploying, managing, and interacting
with running Faasm clusters. You can list all the available tasks with a
short description using:faasmctl-lFurther ReadingFor any further reading, check thedocsdirectory.
Package: faas-sdk-python
FAAS-SDK для тестирования и локальной отладки Python функцийFAAS-SDK позволяет локально тестировать функцииPlatform V Functionsбез необходимости писать HTTP сервер и логику обработки запросов.SDK для Python устанавливается как обычный пакет.ПререквизитыPython 3.8.x;pip 19.3.x;Установка и использованиеПерейдите в директорию проекта с функцией в CLI. Если вы только начинаете локальную разработку, вы можете:Экспортировать функцию из Functions и распаковать архив в произвольную локальную директорию.Начать работу с чистого проекта - для этого создайте в произвольной локальной директории файлhandlers/handler.pyсодержаший:defhandler(request):return"Hello from Python function"Функция должна принимать один параметер(request)-  FlaskRequestobject.Установите SDK:pipinstallfaas-sdk-pythonЗапустите функцию следующей командой:faas-sdk-python--targethandler--sourcehandlers/handler.pyОтправьте запрос используяcurl, браузер или другие инструменты:curllocalhost:8080# Hello from Python functionКонфигурация {uniqueId="konfiguratsiya5"}Запуск SDK конфигурируется с помощью флагов командной строки или переменных среды:ФлагПеременная средыЗначение по умолчаниюОписание--hostHOST0.0.0.0Хост, на котором будет работать слушатель запросов--portPORT8080Порт, на котором будет работать слушатель запросов--targetTARGET(отсутствует)Имя функции, которая будет вызываться в ответ на запросы. Обязательный параметр--sourceSOURCE./handler.pyПуть к файлу, содержащему функцию--dry-runDRY_RUNfalseФлаг, позволяющий тестировать сборку функции без запуска сервераЕсли один и тот же парметр задан и через флаги, и через переменную среды, то значение переменной среды будет игнорироваться.Unit-тестированиеВы можете добавить unit-тесты в тестируемую локально функцию так же, как и в любой Python проект.Например, для тестированияhello, worldпримера:Создайте в директорииhandlersфайл handler_test.py` со следующим содержанием:fromunittest.mockimportMockimporthandlerdeftest_hello():request=Mock(data=Mock(decode=Mock(return_value="")),method="GET")asserthandler.hello(request)=="Hello from Python function"Перейдите в директорию проекта в CLI и запустите тест командойpytest. Результаты теста будут отображены в терминале.
Package: faastm
FaaS-based STMThis is a small library that attempts to do STM to update stored
state in an object-storage system.It also interacts with the Slack API.The whole thing works by saving external effects until the
STM commit passes; at that point, the external effects are
committed also.UsageThis can be installed in a Fn-style serverless function like this:import logging

from slacker import Text, BaseDispatch, handle, debounce

LOG = logging.getLogger(__name__)


def handler(ctx, data=None):
    LOG.debug("got request: %s", data)
    try:
        response = handle(ctx, data, bot_class=MyBot)
        LOG.debug("returning %s %s", response.status_code, response.response_data)
        return response
    except Exception as e:
        LOG.exception("something went wrong: %s", e)


class MyBot(BaseDispatch):
    @debounce(30, text=lambda t: t.ts)
    def on_message(self, srv=None, sender=None, channel=None, receivers=None, text=None):
        if text.match("hello") is not None:
            srv.broadcast(channel=channel,
                          text=Text("hello, world!"))
Package: fab
A fabulous, lightweight wrapper around Phabricator’s API, Conduit, to handle
authentication and other annoying things.Usageimportphabricatorphab=phabricator.Phabricator('https://...','Username',token='api-token')phab.request('user.whoami')LicenseCopyright 2014, 2018, 2020-2021 Kunal Mehta, under the LGPL v3 or later. See COPYING for more
details.
Package: faba
fabaA simple cli parser inspire by cobraBasic Example:#!/bin/env python3importfabafromtypingimportListdefhello(cmd:faba.Command,args:List[str]):print('hello',','.join(args))helloCmd=faba.Command(use='hello [flags]',short='hello to everyone',run=hello,)if__name__=='__main__':helloCmd.execute()More Detail:https://io.lin.moe/n/prjs/faba.html
Package: fabada
FABADA is a novel non-parametric noise reduction technique which arise from the point of view of Bayesian inference that iteratively evaluates possible smoothed models of the data, obtaining an estimation of the underlying signal that is statistically compatible with the noisy measurements. Iterations stop based on the evidence $E$ and the $\chi^2$ statistic of the last smooth model, and we compute the expected value of the signal as a weighted average of the smooth models.
You can find the entire paper describing the new procces in (introduce link to arxiv).
Package: fab-addon-audit
Will add audit views to F.A.B’s security menu. Enables audit for insert, update and delete operations
on any ModelView you choose.Install it:pip install fab-addon-auditUse it:On you application add the following key toconfig.pyADDON_MANAGERS = [‘fab_addon_audit.manager.AuditAddOnManager’]On your application change your views.py file to import:from fab_addon_audit.views import AuditedModelViewThen subclass the ModelView’s you want to audit from AuditedModelView:class ContactModelView(AuditedModelView):
    datamodel = SQLAInterface(Contact)
Package: fab-addon-autodoc
Autodoc AddOn for Flask-AppBuilderDescriptionThis is an autodoc addon for F.A.B which is a famous Flask Web Application Framework.
This AddOn bring a autodoc feature to generate the API documents by the decorator @doc(‘endpoint name’, groups=’’)
Meanwhile it could support for the blueprint API auto generation.Install it:pip installDevelop and Test….fixing a bug for views import python3 compatebilityMake it Public:python setup.py sdist upload -r pypi