Saravanan666/pypi-org huggingface dataset:
Package: pyconfreader
============pyconfreader============Overview========A library for reading config files written in Python. Since Pythonconfig files are not sandboxed, you should only read config files thatyou trust.By controlling the globals, locals, and builtins that are passed in totthe config file, you can 'pre-populate' the config file with values,and you can control (to a very limited extent) what Python featuresare available to the config file.Two interfaces are provided:* A low-level interface for that takes strings.* A high-level interfaces that supports nested configuration files.In addition, there is a simple function to convert dicts tonamedtuples.Typical usage=============Low-level interface-------------------High-level interface--------------------to_namedtuple-------------Change log==========0.5 2016-11-03 Eric V. Smith----------------------------* No code changes.* Mark wheel as universal (issue #3).0.4 2016-11-02 Eric V. Smith----------------------------* No code changes.w* Always require setuptools (issue #2).* Remove code to modify the RPM name for bdist_rpm (issue #1).0.3 2016-08-22 Eric V. Smith----------------------------* Fixed fl_validator.  Switched to a single namespace, instead ofusing globals and locals (This is because at module level, they'rethe same).  Switch to a dict-based interface, instead of alwaysusing namedtuples.  Added to_namedtuple.0.2 2016-08-21 Eric V. Smith----------------------------* Added fl_validator.0.1 2016-08-20 Eric V. Smith----------------------------* Initial release.
Package: pyconfs
PyConfsUnified handling of configuration files in PythonInstalling PyConfsPyConfs is available atPyPI. You can install it using Pip:$ python -m pip install pyconfsUsing PyConfsAPyConfs Configurationis a dictionary-like object that unifies several different configuration file formats, including INI, JSON, TOML, and YAML.Read a configuration from file:from pyconfs import Configuration
cfg = Configuration.from_file("sample.json")Access entries in a configuration:package_name = cfg.name
first_name = cfg.author.firstnameInstalling From SourceYou can always download thelatest version of PyConfs from GitHub. PyConfs usesFlitas a setup tool.To install PyConfs from the downloaded source, run Flit:$ python -m flit install --deps productionIf you want to change and play with the PyConfs source code, you should install it in editable mode:$ python -m flit install --symlink
Package: pycongress
PyCongressPython client forCongress.gov's API.SetupSign up for an API Key from Congress.Govprior to using the library.Store your key as an environment variable namedCONGRESS_API_KEYand it will automatically be passed through the client for authentication.You may also manually declare your key:congress=Congress(api_key="Insert key here")Misc.pycongresscurrently only supports thebill,member, andcongressendpoints. Support for more endpoints is planned in the future.This project was inspired bypropublica-congress.The Congress.Gov API is currently in beta. Visit the Library of CongressblogorGitHub pagefor more information.LicenseMIT
Package: pycon-gui
pycon-guiPython console 'GUIs'Python toolset for creating GUI-like experience interfaces in console environment.Uses beautiful Rich library (https://github.com/Textualize/rich) under the hood.Contains:Easy to use "arrow-navigatable" menu for creating simple, navigatable CLI-GUIs.It can create submenus recursively form Python dictionaries.import with:from pycon_gui.menu import ArrowMenu
Package: pyconify
pyconifyPython wrapper for theIconifyAPI.Iconify is a versatile icon framework that includes 100+ icon sets with more
than 100,000 icons from FontAwesome, Material Design Icons, DashIcons, Feather
Icons, EmojiOne, Noto Emoji and many other open source icon sets.Search for icons at:https://icon-sets.iconify.designInstallationpipinstallpyconify# orcondainstall-cconda-forgepyconifyUsageimportpyconify# Info on available collectionscollections=pyconify.collections()# Info on specific collection(s)details=pyconify.collection("fa","fa-brands")# Search for iconshits=pyconify.search("python")# Get icon datadata=pyconify.icon_data("fa-brands","python")# Get SVGsvg=pyconify.svg("fa-brands","python")# Get path to SVG on disk# will either return cached version, or write to temp filefile_name=pyconify.svg_path("fa-brands","python")# Get CSScss=pyconify.css("fa-brands","python")# Keywordspyconify.keywords('home')# API versionpyconify.iconify_version()See details for each of these results in theIconify API documentation.cacheWhile the first fetch of any given SVG will require internet access,
pyconfiy caches svgs for faster retrieval and offline use. To
see or clear cache directory:importpyconify# reveal location of cache# will be ~/.cache/pyconify on linux and macos# will be %LOCALAPPDATA%\pyconify on windows# falls back to ~/.pyconify if none of the above are availablepyconify.get_cache_directory()# remove the cache directory (and all its contents)pyconify.clear_cache()If you'd like to precache a number of svgs, the current recommendation
is to use thesvg()function:importpyconifyimportpyconifyICONS_TO_STORE={"mdi:bell","mdi:bell-off","mdi:bell-outline"}forkeyinICONS_TO_STORE:pyconify.svg(key)Later calls tosvg()will use the cached values.To specify a custom cache directory, set thePYCONIFY_CACHEenvironment
variable to your desired directory.
To disable caching altogether, set thePYCONIFY_CACHEenvironment variable tofalseor0.freedesktop themespyconifyincludes a convenience function to generate a directory of SVG files
in thefreedesktop icon theme specificationIt takes a mapping of names from theicon naming specto iconify keys (e.g."prefix:icon"). Icons will be placed in the
appropriate freedesktop subdirectory based on the icon name. Unknown icons will be placed
in theothersubdirectory.frompyconifyimportfreedesktop_themefrompyconify.apiimportsvgicons={"edit-copy":"ic:sharp-content-copy","edit-delete":{"key":"ic:sharp-delete","color":"red"},"weather-overcast":"ic:sharp-cloud","weather-clear":"ic:sharp-wb-sunny","bell":"bi:bell",}folder=freedesktop_theme("mytheme",icons,base_directory="~/Desktop/icons",)would create~/Desktop/icons/
├── mytheme
│   ├── actions
│   │   ├── edit-copy.svg
│   │   └── edit-delete.svg
│   ├── status
│   │   ├── weather-clear.svg
│   │   └── weather-overcast.svg
│   └── other
│       └── bell.svg
└── index.theme
Package: pyconindia
PyCon IndiaPyCon India is the largest gathering of Pythonistas in India for the Python programming language. The 13th edition of PyCon India will be taking place online from 17th September to 20th September 2021. With this unique scenario at hand, we plan to make this year's conference bigger, better, and more accessible to Pythonistas all across the world who can watch, participate and share their views right from the comfort of their homes.Install :pip install pyconindia>>>importpyconindia>>>pyconindia.year2021>>>pyconindia.location'Anywhere on Earth'>>>pyconindia.cfp'Submit your proposal: https://in.pycon.org/cfp/2021/proposals/'
Package: pyconizer
pyramid_iconizer README==================A small lib to create legend icons from WMS. It supports creation of image files. It also supports creationof SVG but in a very first development state in the moment only.0.1.4-  now the methods of pyconizer accept encoding parameter. It can be used if the XML which is returned by theSLD service of the WMS does not contain a encoding in the header.0.1.3-  Fix SLD parsing for special comparision filter0.1.2-  Fix manifest.in0.1.1-  Add templates for svg construction to package0.1----  Initial version
Package: pyconju
PyConjuA python package for merging multiple files into a single file. File types supported include: .xlsx, .xls, and .csv.PDFsupport coming soon!Installation on Windows1. Create a Project foldermkdir project-folder
cd project-folder2. Create a virtual environmentpython -m venv venv3. Activate the virtual environment./venv/Scripts/activate4. Install package from PyPipip install pyconju5. Usage / ExamplesExample 1frompyconju.xlsximportExcelx# Initialize objectmerger=Excelxpath="path/to/files/to/merge"fileList=["file1.xlsx","file2.xlsx","file3.xlsx"]merger.merge_xlsx(fileList,path)Out of the box you may encounter this error:ImportError: Pandas requires version '2.0.1' or newer of 'xlrd' (version '1.2.0' currently installed).Don't panic, Uninstall the current version ofxlrd:(.venv) $ pip uninstall xlrd

   Found existing installation: xlrd 1.2.0
   Uninstalling xlrd-1.2.0:


   Proceed (Y/n)? y
   Successfully uninstalled xlrd-1.2.0Installxlrdversion2.0.1:(.venv) $ pip install xlrd==2.0.1Try the merging process again; it will work🤩Example 2frompyconju.xlsimportExcel# Initialize objectmerger=Excelpath="path/to/files/to/merge"fileList=["file1.xls","file2.xls","file3.xls"]merger.merge_xls(fileList,path)Example 3frompyconju.csvimportCsv# Initialize objectmerger=Csvpath="path/to/files/to/merge"fileList=["file1.xlsx","file2.xlsx","file3.xlsx"]merger.merge_csv(fileList,path)ContributingYou are welcome to contribute to the repo as you likeAuthors and acknowledgmentAgee AondoEmail:ageeaondo45@gmail.comWebsite:https://linktr.ee/dyageeLicenseSee LICENSE file
Package: pyconl
pycohttps://pyco.nlCiviel Technisch ontwerpen in Python.Jara van Veldhoven 2020-2023.InstallatieDe pyco bibliotheek is afhankelijk van onderstaande externe bibliotheken:numpy (https://numpy.org)pandas (https://pandas.pydata.org/)matplotlib (https://matplotlib.org/)IPython (https://ipython.org/)Je kan de pyco.nl bibliotheek installeren vanuit PyPi metpip.pip install pyconlDocumentenpyco handleiding.
Package: pyconman
PyconmanPyconman is a useful package for managing JSON configurations in Python-based applications. The package provides a system for managing different configurations for different environments, making it easier to handle secure and critical configurations.Environment-specific configurations:Pyconman allows you to manage different configurations for different environments (e.g., development, staging, production), making it easier to handle environment-specific configurations.Simpler configuration management:Pyconman provides a simple and convenient way to manage and access configurations in your Python code, without having to write custom code for handling different configurations.Security:Pyconman helps you manage secure and critical configurations by allowing you to store sensitive information (e.g., API keys, passwords) in a separate configuration file that is not checked into source control.Easy to use:Pyconman is easy to use and requires minimal setup, making it a great choice for developers who want a simple and reliable way to manage configurations in their Python applications.InstallationPyconman requiresPythonto run.Once installed, you can create a Python virtual environment by running the command in your project directory. This will create a virtual environment and activate it.python3-mvenv.venv&&source.venv/bin/activateTo use pyconman, you can install it using pip by running the command.$pipinstallpyconmanUsageNext, create a folder calledconfigsin yourproject root directory, and create a file calleddefault.jsonin it. This file will contain the default configuration properties for your application. If you want to use a different environment, you can pass that environment's name in theENVvariable to override the specific properties for that environment. Please look in the example folder for further information.Here are two sample JSON configurations that you can use with the Pyconman package:default.json:{"database":{"host":"localhost","port":5432,"username":"dbuser","password":"dbpassword","database_name":"mydb"},"api_key":"1234567890","log_level":"debug"}production.json:{"database":{"host":"prod-db-host","username":"prod-db-user","password":"prod-db-password","props":{"timeout":10000,"trans":100}}}To load the configuration in your application, you can use theConfigLoaderclass provided by pyconman. Here's an example of how you can use ittest.py:frompyconmanimportConfigLoader# Load the configuration in the application scope.config=ConfigLoader.get_config()prop_1=config.get("prop_1")# Access nested JSON propertiesprop_n=config["prop_1"]["prop_2"]["prop_n"]LicenseApache 2.0
Package: pyconnectify
PyConnectifyTelecommunication and file management applicationInstall Apppip install pyconnectifyConfig and Import Functionfrom pyconnectify.Calc.Math import ConversionChar
IntToBin
IntToHex
CharToASCII
CharToHex
BinStrToDecimal
HexToInt
IntToByte


from pyconnectify.Calc.Math import ConversionString
StrToHex
StrToBytes
StrToASCII
StrToBin
Package: pyConnectome
Diffusion MRI connectome.Home-page:https://github.com/neurospin/pyconnectomeAuthor: pyConnectome developers
Author-email:antoine.grigis@cea.frLicense: CeCILL-B
Description: pyConnectomePython wrappers around different softwares to compute structural (complete or reduced) connectomes.Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: X11 Applications :: Qt
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Utilities
Provides-Extra: obsolete
Provides-Extra: standalone
Package: pyConnectomist
Using Connectomist in Python.Home-page:https://github.com/neurospin/pyconnectomistAuthor: pyConnectomist developers
Author-email:antoine.grigis@cea.frLicense: CeCILL-B
Description: pyConnectomistPython wrappers for Connectomist: wrap the Connectomist software and simplify scripting calls. Each preprocessing, tractography and labeling step (i.e. one Connectomist tab) can be run through the use of a dedicated function of the package.pyConnectomist, developed by the NeuroSpin software platform, is a wrapping of the Connectomist software developped by theUNIRS team <http://i2bm.cea.fr/drf/i2bm/Pages/NeuroSpin/UNIRS/Presentation.aspx>. It is meant to be run as part of a research collaboration or a charged service. For more information about its terms of use, please contact Cyril Poupon and Vincent Frouin.Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: X11 Applications :: Qt
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Utilities
Provides-Extra: standalone
Package: pycon-ng2019
pipelining-pycon-talkThis repo contains the source code of the demos of the talk onEnd to End Workflowspresented at Pycon Nigeria 2019
View thePowerpoint presentationInstallationInstallation can be done fromTest PyPipipinstall--index-urlhttps://test.pypi.org/simple/pycon-ng2019DevelopmentInstall Development dependencies. Update the settings in themanage.pyfile todjango.settings.common# install Dev dependenciespipinstall-rdev-requirements.txtStart Serverpythonmanage.pyrunserverUsageFor cli demoimportpyconpycon.demo()Django AppAddpycontoinstalled_appsAddpath('', include('pycon.urls'))to urls filePycon-NG page should be available inhttp://localhost:8000/pycon
Package: pyconnman
A library for managing network connectivity using Python, ConnMan and DBus.InstallationInstall the python library by running:pip install pyconnmanDocumentationDocumentation is hosted athttps://pythonhosted.org/pyconnmanProject resourcesSource codeIssue trackerDownload development snapshotChangelogv0.2.0Adds Python3 supportv0.1.0Initial release supporting ConnMan v1.24 dbus API with following interfaces:ConnManager (net.connman.Manager)ConnService (net.connman.Service)ConnTechnology (net.connman.Technology)Services:SimpleWifiAgent (net.connman.Agent)
Package: pyconometrics
PyconometricsA small and simple Python library equipped with tools for finance and econometrics.InstallationTo install the library using pip:pip install pyconometricsTo use, simply import the library:import pyconometrics as pnDocumentationThe library contains various tools for data retrieval, anaylsis, and prediction.Data:The data module focuses on data collection and manipulation.pn.data.history()     #Retrieves the High, Low, Open, Close, Volume, Adj Close for a security
pn.data.center()      #Centers the data around the mean
pn.data.normalize()   #Normalizes the dataMoving Average:The moving average (ma) module focuses on creating moving averages.pn.ma.sma()       #Creates a simple moving average across a period
pn.ma.ema()       #Creates an exponential moving average across a period
pn.ma.macd()      #Creates the MACD line
pn.ma.bollinger() #Creates bollinger bandsMetric:The metric module contains tools to help with data anylsis.pn.metric.volatility()    #Returns the historical volatility across a periodModel:The model module contains tools for creating models to help forecast and examine correlation.reg = pn.model.LinearRegression()   #The linear regression class contains methods for analysis of the linear fit between a set of observations and features.
reg.fit()                           #Fits the data
reg.predict()                       #Creates a prediction based on a defined fit
reg.error()                         #Returns the Mean Squared Error for the prediction
reg.m                               #Returns the slope m for the prediction
reg.c                               #Returns the y-intercept c for the predictionFinal NotesThis project is very much still in development. Econometrics and finance are topics that are endlessly interesting as well as computer science and programming. There is always more to be added, learned, and improved upon. I'm excited to see where this project goes.
Package: pyconsensus
pyconsensus is a standalone Python implementation of Augur’s consensus mechanism.  For details, please see theAugur whitepaper.InstallationThe easiest way to install pyconsensus is to use pip:$ pip install pyconsensusUsageTo use pyconsensus, import the Oracle class:frompyconsensusimportOracle# Example report matrix:#   - each row represents a reporter#   - each column represents an event in a prediction marketmy_reports=[[0.2,0.7,1,1],[0.3,0.5,1,1],[0.1,0.7,1,1],[0.5,0.7,2,1],[0.1,0.2,2,2],[0.1,0.2,2,2]]reputation=[1,2,10,9,4,2]my_event_bounds=[{"scaled":True,"min":0.1,"max":0.5},{"scaled":True,"min":0.2,"max":0.7},{"scaled":False,"min":1,"max":2},{"scaled":False,"min":1,"max":2},]oracle=Oracle(reports=my_reports,reputation=reputation,event_bounds=my_event_bounds)oracle.consensus()TestsUnit tests are in the test/ directory.pyconsensus is used in conjunction with theAugur Simulatorto carry out randomized numerical (Monte Carlo) consensus tests.  See theSimulatorrepository for details.
Package: pyconsign
ConsignGenerator-based Coroutines, Easy to use, Using the yield syntaxconsign 是基于 generator 的协程框架，易于使用，使用 yield 语法|||consign 可以使函数得以以协程的方式运行，以更低的代码侵入性，获得更高的效率快速开始python>=3.7：consign 几乎没有需要安装的依赖
反之会需要安装contextvars，仅此而已你可以通过pip快速安装:pipinstallpyconsign或者通过git开箱即用pythonsetup.pyinstall更多信息请查看consign's documentation简单例子初探特性>>>fromconsignimportcoroutine,asleep,CoroutineWorker>>>importthreading>>>@coroutine...defmy_test(name:str):...print(f"{name}start in{threading.currentThread()}")...result=yieldasleep(3)...print(f"{name}end in{threading.currentThread()}result is{result}")...returnname...>>>test_task1,test_task2=my_test("task1"),my_test("task2")>>>test_task1{'task_state':<TaskState.NoStart:'NoStart'>,'value':<TaskResult.NoGet:'NoGet'>,'work_area':<'DEFAULT_WORK_AREA'Workat0x25940db46a0andin<_MainThread(MainThread,started31352)>>,'order':{'consignor_func':<functionmy_testat0x000002593EEF2EA0>,'create_area':<'DEFAULT_WORK_AREA'Workat0x25940db46a0andin<_MainThread(MainThread,started31352)>>,'create_callback':None,'complete_callback':None}}>>>CoroutineWorker().loop_work(forever=False)task1startin<_MainThread(MainThread,started24332)>task2startin<_MainThread(MainThread,started24332)>task1endin<_MainThread(MainThread,started24332)>resultisNonetask2endin<_MainThread(MainThread,started24332)>resultisNone>>>test_task1{'task_state':<TaskState.TaskDone:'TaskDone'>,'value':'task1','work_area':<'DEFAULT_WORK_AREA'Workat0x23fbe9f46d8andin<_MainThread(MainThread,started24332)>>,'order':{'consignor_func':<functionmy_testat0x0000023FBCB42EA0>,'create_area':<'DEFAULT_WORK_AREA'Workat0x23fbe9f46d8andin<_MainThread(MainThread,started24332)>>,'create_callback':None,'complete_callback':None}}更多还在路上...LicenseThis project is licensed under the MIT License. 享受开源
Package: pyConsol
Welcome to pyConsolpyConsol is a nonlinear implicit finite difference solver for one-dimensional consolidation of compressible soil with secondary compression. pyConsol is the Python version of the Javascript package iConsol.js published by Brandenberg (2017).InstallationpipinstallpyConsolDocumentationhttps://pyconsol.readthedocs.io/en/latest/Source Codehttps://github.com/sjbrandenberg/pyConsol
Package: py-console
Welcome to py-consoleI've always liked the ease with which we can log colorfull warning, errors and messages using JavaScript in a webbrowser console.
This package allows you to do just that. Check out more informationhere.Installationpip install py-consoleUsageMain features:printing lines with colored text and/or text backgroundsprinting lines of which parts have colored text or text backgroundsDemofrompy_consoleimportconsole,bgColor,textColor# Specify console settings# Show time in console.log, console.warn etc by default?console.setShowTimeDefault(True)# Custom format for showing time (default H:M:S)# Here we've added milisecondsconsole.setTimeFormat(timeFormat='%H:%M:%S.%f')# normal loggingconsole.log("log")console.warn("warn",severe=False)console.error("error",severe=False)console.success("success",severe=False)console.info("info",severe=False)print(" ")# Change time format backconsole.setTimeFormat(timeFormat='%H:%M:%S')# all of these colors also have the 'severe' optionconsole.log("log severe",severe=True)console.warn("warn severe",severe=True)console.error("error severe",severe=True)console.success("success severe",severe=True)console.info("info severe",severe=True)print(" ")# Specifying showTime ignores the defaultsconsole.warn('Not showing time',showTime=False)print(" ")# Logging with highlighted textconsole.log(f"Normal log with default{console.highlight('highlighted')}part")console.log(f"Normal log with a{console.highlight('FAIL',bgColor=bgColor.RED)}"f"and a{console.highlight('SUCCESS',bgColor=bgColor.GREEN)}part")console.log(f"Severe log with a{console.highlight('FAIL',bgColor=bgColor.RED,textColor=textColor.BLACK)}"f"and a{console.highlight('SUCCESS',bgColor=bgColor.GREEN,textColor=textColor.BLACK)}part",severe=True)console.log(f"Normal log with{console.highlight('highlighted red',bgColor=bgColor.RED)}part")console.info(f"normal info with{console.highlight('highlighted red text',textColor=textColor.RED)}part")console.warn(f"Normal warn with{console.highlight('only red text',textColor=textColor.RED,bgColor='')}part")console.error(f"Error text with custom{console.highlight('black-yellow',textColor=textColor.YELLOW,bgColor=bgColor.BLACK)}highlights")Output:ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT