Saravanan666/pypi-org huggingface dataset:
Package: py-epg
py-epgpy-epgis an easy to use, modular, multi-process EPG grabber written in Python.📺 Scrapes various TV Program websites and saves programs in XMLTV format.🧩 Simply extendEpgScraperto grab EPG from your favorite TV site (requires basic Python skills).🤖 The framework provides the rest:Beautiful Soup- easily search & extract data from html elementsmulti-processingconfig managementloggingbuild & write XMLTV (with auto-generated fields, eg 'stop')proxy server supportauto http/s retriesrandom fake user_agents🚀 Save time by fetching channels in parallel (caution: use proxy server(s) to avoid getting blacklisted)!🧑🏻‍💻 Your contributions are welcome! Feel free to create a PR with your tv-site scraper and/or framework improvements.UsageInstall package:$pip3installpy_epgCreate configuration: py_epg.xmlAdd all your channels (seesample config).Make sure there is a corresponding site scraper implementation inpy_epg/scrapersfor each channels ('site' attribute).Run:$python3-mpy_epg-c</path/to/your/py_epg.xml>-p..or see all supported flags:$python3-mpy_epg-h
usage:py_epg[-h][-p[PROGRESS_BAR]][-q[QUIET]]-cCONFIG
...DevelopmentYour contributions are welcome! Setup your dev environment as described below.VSCodeis a great free IDE for python projects. Once you are ready with your cool tv site scraper or framework feature, feel free to open a Pull Request here.Install poetry:curl-sSLhttps://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py|python-Clone repository & install dependencies:gitclonehttps://github.com/szab100/py-epg.git&&cdpy-epgConfigure py_epg.xmlAdd all your channels (see the sample config xml). Make sure you have a scraper implementation in py_epg/scrapers/ for each channels ('site' attribute).Run:poetryinstall
poetryrunepg-cpy_epg.xmlLicenseCopyright 2021. Released under the MIT license.
Package: pyepgdb
pyepgdb 1.2.0.Python 3 library for parsing epgdb (v2) files produced byTvheadend.http://ikn.org.uk/pyepgdbLicenseDistributed under the terms of theBSD 3-Clause license.InstallationBuild dependencies:SetuptoolsBashRunmake,make install.  The usualDESTDIR, etc. arguments tomakeare
supported.DocumentationBuild dependencies:Sphinx(>= 1.8)Runmake doc, and open the filedoc/_build/html/index.html.DependenciesPython 3 (>= 3.4)TestRunmake testormake coverage.
Package: pyepggrab
pyepggrabExtension / replacement of the originalXMLTV.All grabbers are written following the XMLTV specifications and compatible
with all XMLTV tools (tv_find_grabbers,tv_validate_*).Grabbers found here can be used together with the grabbers found in the
original XMLTV project, and any software uses the original XMLTV project
can use these grabbers without any modification.To avoid name conflicts, pyepggrab grabbers use the prefixtv_grab_pyepg_.InstallationIf the functionality oftv_find_grabbersis required the one in the
originalXMLTVproject can be used until we provide an alternative.
(On theRoadmap)From packagepyepggrab is available on PyPi:https://pypi.org/project/pyepggrab/Install it with your preferred package manager.For example, withpippip install pyepggrabor withpipxpipx install pyepggrabFrom sourceTo install from source, create a wheel package (this requireshatch):hatch buildand install it with your preferred package manager.For example, withpippip install dist/pyepggrab-*.whlor withpipxpipx install dist/pyepggrab-*.whlAvailable grabbers:CountryGuide sourceGrabberHUport.huhu_porthuStandard XMLTV parametersAll grabbers--capabilities: capabilities of the grabber (below)--description: short description of the grabber--help: list of all parameters that the grabber supports--version: display the version of the grabberBaseline capability--quiet: no logging output (supported by every grabber)--output: save the output to a file (default is STDOUT)--days: Download the specified number of days--offset: Download from the specified offset (0 = today)--config-file: use the specified config fileManualconfig capability--configure: run an interactive configuration sessionPyepggrab specific parametersAll grabbers--pyepggrabver: display the version of pyepggrab-q,--quiet: alias for the baseline parameter-l,--loglevel: logging level: FATAL, ERROR, WARNING, INFO, DEBUG-v,--verbose: alias for--loglevel INFO-d,--debug: alias for--loglevel DEBUGGrabber specific parametersDocumented in each grabber's README.RoadmapIn no particular orderUpload a package to PyPiWrite an example grabber to demonstrate the usage of pyepggrab (seeexampledirectory)Write tools to make it standalone (tv_find_grabbers,tv_validate_*)
Package: pyepgnotify
pyepgnotifyReads EPG data from VDR, checks against a list of desired program titles, subtitles, or descriptions, and sends found programs via mail or it to stdout.Usageusage: pyegnotify [-h] [--config file] [--stdout] [--cache-file file] 
                  [--epg-dst-file file]

Parses EPG data from VDR, checks against search config and sends mail. Already
sent programs are stored in a cache to avoid multiple notifications on same
program.

optional arguments:
  -h, --help           show this help message and exit
  --config file        Config file. If not given ~/epgnotify.yml is used.
  --stdout             Additionally print result to stdout
  --cache-file file    Optionally, cache file location, default
                       epgnotfiy.cache.yaml in home directory is used
  --epg-dst-file file  Store received EPG data to a file
Package: pyephem
This distribution is a stub
that doesn’t install any Python packages,
but does listephemas an install requirement
in case any old projects depend on thispyephempackage name.
New projects are encouraged to directly require the main package,
which can be found at:https://pypi.org/project/ephem/This package’s version 9.99 is merely a placeholder value.
This package does not pin any particular PyEphem version,
but simply installs the latest version of the library.
Switch your project to depending onephemdirectly
if you want to be able to pin a specific version.
Package: pyephem-sunpath
pyephem_sunpathCalculate sunpath using pyephemFree software: GNU Lesser Public License v3Documentation:https://pyephem-sunpath.readthedocs.io.Repository:https://github.com/santoshphilip/pyephem_sunpathIntroductionPyephem_sunpathis built uponpyepheman astronomical computation package. From thepyephemwebsite we have:“PyEphemprovides basic astronomical computations for the Python programming language. Given a date and location on the Earth’s surface, it can compute the positions of the Sun and Moon, of the planets and their moons, and of any asteroids, comets, or earth satellites whose orbital elements the user can provide. Additional functions are provided to compute the angular separation between two objects in the sky, to determine the constellation in which an object lies, and to find the times at which an object rises, transits, and sets on a particular day.”Pyephem_sunpath uses the a small part of pyephem to calculate the sun position and sun path for any location on earth. The big advantage of using pyephem, is that we will get a high degree of accuracy in the calculations.Featuressunpos()calculates sun position (in altitude and azimuth) using local time and timezonesunpos_radianceandsunpos_radiancexyzalso calculate the sun position. The arguments and results are designed for users of theRadiance Software.function details are in the module documentation and docstringsUsageFind the sun position in New Delhi at 1pm:from pyephem_sunpath.sunpath import sunpos
from datetime import datetime

thetime = datetime(2018, 5, 23, 13)
lat = 28.6
lon = 77.2
tz = 5.5

alt, azm = sunpos(thetime, lat, lon, tz, dst=False)
print(alt, azm)

>> 77.5362391561 232.336370505CreditsPyephem_sunpath is built uponpyepheman awesome astronomical packageThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.1 (2018-05-29)2018-05-28removed click from setup.py0.2.0 (2018-05-28)2018-05-28cleaned up codecomprehensive docstringsupdated README.rstadded copyright noticesupdated contributing authors0.1.1 (2018-05-26)Working release on PyPI.0.1.0 (2018-05-05)First release on PyPI.
Package: pyepic
pyepicPyEpic is a simple Python SDK for the EPIC API code. It is designed to allow users to integrate with EPIC for the submission and management of HPC jobs. It can be used directly or an an example of how to make use of theepiccorepackage.Getting startedPyEpic can be installed from PyPi.pip install pyepicDocumentation is available onread the docs.
Package: py-epic
Still in early development.PyEpicAn asynchronous, object-oriented API wrapper for the Epic/Fortnite HTTP services, written in Python.Key FeaturesUse of theasyncioframework to handle many IO-bound tasks concurrently.Automatic, configurable rate limit handling and caching.Optimised for speed and memory.InstallingPython 3.10 or higher is required. For project dependencies, seerequirements.txt.It is recommended to install the library within a virtual environment instead of the global Python installation.# Windowspy-mpipinstallpy-epic#Linux/MacOSpython3-mpipinstallpy-epicBasic Exampleimportasyncioimportpyepicasyncdefmain():asyncwithpyepic.HTTPClient()asclient:auth_code=input(f'Enter authorization code from{client.user_auth_path}here: ')asyncwithclient.create_auth_session(auth_code)asauth_session:account=awaitauth_session.account()print(f'Logged in as:{account}')asyncio.run(main())NotesPyEpic does not currently support Epic Games' XMPP services. This includes real-time in-game events such as party invites or whispers.DisclaimersThe APIs that PyEpic interacts with are not officially documented, nor are they intended to be used outside the official clients. As a result, the package could experience major breaking changes (or stop working!) at any moment.
Package: pyepicollect
# PyEpiCollect## Read EpiCollect 5 data from pythonpython code: Rodrigo E. Principe (fitoprincipe82 at gmail)EpiCollect expert: Pablo Masera (pablomasera83 at gmail)### Install> pip install pyepicollect### UseSee example in binder.
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/fitoprincipe/pyepicollect/master)### Unit Test1. Make a virtual environment: (seehttps://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv)
> virtualenv env –python=python3Make sure to name the environmentenvso it’s ignored by git. Do not do:
> virtualenv venv –python=python32. install requirments
> pip install -r requirements.txt3. run test
> python -m pytest -v
Package: pyepics
Python Interface to the Epics Channel Access protocol of the
Epics control system.   PyEpics provides 3 layers of access to
Channel Access (CA):1. a light wrapping of the CA C library calls, using ctypes. This
provides a procedural CA library in which the user is expected
to manage Channel IDs. It is mostly provided as a foundation
upon which higher-level access is built.
2. PV() (Process Variable) objects, which represent the basic object
in CA, allowing one to keep a persistent connection to a remote
Process Variable.
3. A simple set of functions caget(), caput() and so on to mimic
the CA command-line tools and give the simplest access to CA.In addition, the library includes convenience classes to define
Devices – collections of PVs that might represent an Epics Record
or physical device (say, a camera, amplifier, or power supply), and
to help write GUIs for CA.
Package: pyepics-asyncio
pyepics-asyncioSimpleasync/awaitwrapper forPyEpics.OverviewThere are two main types:PvMonitor- subscribed to PV updates,getreturns last received value.Pv- connected but not subscribed, eachgetrequests PV value over network.UsageConnect to PVfrompyepics_asyncioimportPvpv=awaitPv.connect("pvname")Write value to PVawaitpv.put(3.1415)Read value from PVprint(awaitpv.get())Monitor PV value updateswithpv.monitor()asmon:asyncforvalueinmon:print(value)TestingTo run tests you need to have dummy IOC running (located iniocdir):Set appropriateEPICS_BASEpath inconfigure/RELEASE.Build withmake.Go toiocBoot/iocTest/and run scriptst.cmdand don't stop it.In separate shell runpoetry run pytest --verbose.
Package: pyEpilepsy
This repository provides code for epilepsy seizure forecasting.
The documentation of the pyEpilepsy module is available at:documentation.InstallationTo install the package, the simplest way is to use pip to get the latest release:$ pip install pyepilepsyWork to be doneThis repo only covers metrics for seizure forecasting for now. I plan to add some other features such as:common databases data parsing to mne formatchb-mit…data labellisationfor binary classification (preictalvsinterictal)for regression (time before seizure)…ContributionAny contribution is welcomed. If you want to collaborate on this repo, feel free to reach me by private message.
Package: pyepisodate
A python wrapper for theEpisoDate
APIInstallpip install pyepisodateUsageCreate an objectfrompyepisodateimportpyepisodateepisodate=pyepisodate()Methodsepisodate.popular()#returns an array of 20 most popular showsepisodate.search('toh')# returns an array of showsshow=episodate.show('the-owl-house')# creates a show objectDisplay show infoshow.name# The Owl Houseshow.description# The Owl House follows Luz...show.start_date# 2020-01-10show.country# USshow.status# Runningshow.runtime# 30show.network# Disney Channelshow.genres# ['Comedy', 'Children', 'Fantasy']show.rating# 9.9032show.countdown# dict with next episodeshow.episodes# list with all episodes
Package: pyepix
Pyepixis a wrapper package for theePiXmathematical plotting library. TheePiXlibrary supports C++ programs for creating mathematically accurate plots for use in LaTeX documents.Pyepixprovides a Python wrapper to this library thus allowing integration with Python’s extensive
built-in library and extension packages. In addition,Pyepixfrees the user from needing to learn C++,
obtaining a C++ compiler, and fighting with the C++ language.
Package: pyepo
PyEPO(PyTorch-based End-to-End Predict-then-Optimize Tool) is a Python-based, open-source software that supports modeling and solving predict-then-optimize problems with the linear objective function. The core capability ofPyEPOis to build optimization models withGurobiPy,Pyomo, or any other solvers and algorithms, then embed the optimization model into an artificial neural network for the end-to-end training. For this purpose,PyEPOimplements various methods asPyTorchautograd modules.
Package: pyepoch
pyepochA simple python-based command-line utility to convert time or date stamps to epoch and back.Usagepyepochis installed as a command-line utility accessible asepochfrom the command-line.You can use it to convert time or date string formats to epoch timestamps (with milliseconds):-$ epoch '2018/1/1'
1514764800000or if you specify, in seconds:-$ epoch '2018/1/1' -s
1514764800You can specify a timestamp as exact and detailed as you want it to. Additionally you can always convert back the epoch timestamp to an iso formatted date string:-$ epoch 1514764800000
2018-01-01T00:00:00if your epoch input is in seconds you can add a-sflag, the tool can't determine this automatically.BugsFeel free to report issues, this 'utility' was build out of ease as I got frustrated with manual conversion of timestamps and strings the whole time.
Package: pyepoet
PyEPoet 0.1.3介绍刘慈欣电子诗人Python版安装(python-m)pipinstallpyepoet函数#生成一首诗，并输出到filegenpoem(verse=5,line=10,rhyme=None,file=sys.stdout)#生成一首诗，并返回一个字符串gpoem_string(verse=5,line=10,rhyme=None)速度押韵：约45000行/秒不押韵：约1100行/秒示例frompyepoetimport*genpoem()print()genpoem(rhyme="a")print()print(gpoem_string())更新历史版本0.1.3 (2021/3/13)修复导入输出问题版本0.1.2 (2021/2/11)初始版本
Package: pyepr
PyEPR providesPythonbindings for theENVISATProduct Reader C API
(EPR API) for reading satellite data fromENVISATESA(European Space Agency) mission.PyEPR, as well as theEPR APIfor C, supportsENVISATMERIS, AATSR
Level 1B and Level 2 and also ASAR data products. It provides access to
the data either on a geophysical (decoded, ready-to-use pixel samples)
or on a raw data layer. The raw data access makes it possible to read
any data field contained in a product file.
Package: pyepsalarm
pyepsalarmPython library to interface with EPS systems, operated by Homiris for instance.Example use:from pyepsalarm import EPS

token = "MYTOKEN"
username = "123456789"
password = "mypassword+"

eps = EPS(token, username, password)

eps.get_status()
eps.arm_night(silent=True)
eps.get_status()
eps.disarm()
Package: pyepsg
A simple interface tohttp://epsg.io/For example, we can request the details for the projected coordinate system
identified by EPSG code 21781, aka. “Swiss CH1903 / LV03”:>>> projection = pyepsg.get(21781)
>>> projection
<ProjectedCRS: 21781, CH1903 / LV03>
>>> projection.domain_of_validity()
[5.97, 10.49, 45.83, 47.81]
>>> projection.cartesian_cs.axes
[<Axis: east / metre>, <Axis: north / metre>]Projected and geodetic coordinate systems can also be converted to various
other forms:>>> print(projection.as_proj4()[:70] + '...')
+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 ...
>>> print(projection.as_wkt()[:70] + '...')
PROJCS["CH1903 / LV03",GEOGCS["CH1903",DATUM["CH1903",SPHEROID["Bessel...
Package: pyeq2
A large collection of Python equations that perform curve fitting on 2D and 3D data, output source code in several computing languages, and run a genetic algorithm for initial parameter estimation. Comes with cluster, parallel, IPython, GUI, NodeJS, and web-based graphical examples. Includes orthogonal distance and relative error regressions.Discussion group is athttps://groups.google.com/forum/#!forum/zunzun_dot_comFull source code with examples:https://bitbucket.org/zunzuncode/pyeq2
Package: pyeq3
A large collection of Python3 equations that perform curve fitting on 2D and 3D data, output source code in several computing languages, and run a genetic algorithm for initial parameter estimation. Comes with cluster, parallel, IPython, GUI, NodeJS, and web-based graphical examples. Includes orthogonal distance and relative error regressions.Discussion group:https://groups.google.com/g/findcurvesFull source code with examples:https://github.com/equations-project/pyeq3.
Package: pyeqeq
EQeqCharge equilibration method for crystal structures.Modified version, which allows specifying additional parameters:lambda(default: 1.2) The dielectric screening parameter. Corresponds to eps_eff = 1.67hI0(default: -2.0) The electron affinity of hydrogenchargePrecision(default: 3) Number of digits to use for point chargesmethod(default: "ewald", alternative: "nonperiodic") Method to compute the Coulombic interactionmR(default: 2) Number of "expansion" unit cells to consider in periodic calculation ("real space"). 2 => 5x5x5mK(default: 2) Number of "expansion" unit cells to consider in periodic calculation ("frequency space"). 2 => 5x5x5eta(default: 50) Ewald splitting parameterionizationdata(default:ionizationdata.dat) File with ionization potentials and electron affinities. Default data are
EA: experimental,T.Andersen et al., 1999IP: experimental,C.E.Moore, 1970chargecenters(default:chargecenters.dat) File with common oxidation states (lowered, if missing ionizationdata)InstallationpipinstallpyeqeqUsageCommand line interfaceTo run the HKUST-1 example:eqeqexamples/HKUST1/HKUST1.cif-oexamples/HKUST1/HKUST1_w_charge.cifPython interfacefrompyeqeqimportrun_on_cifrun_on_cif("examples/HKUST1/HKUST1.cif")SummaryThe source code in this program demonstrates the charge equilibration method described
in the accompanying paper. The purpose of the source code provided is to be
minimalistic and do "just the job" described. In practice, you may wish to add various
features to the source code to fit the particular needs of your project.Major highlights of program:Obtains charges for atoms in periodic systems without iterationCan use non-neutral charge centers for more accurate point chargesDesigned for speed (but without significant code optimizations)Features not implemented but that you may want to consider adding:Spherical cut-offs (for both real-space and reciprocal-space sums)An iterative loop that guesses the appropriate charge center (so the user does not have to guess)Ewald parameter auto-optimizationVarious code optimizationsAuthorsOriginal implementation by  Christopher E. Wilmer, Randall Q. Snurr (advisor), Hansung Kim (car output), Patrick Fuller (streaming functionality), Louis Knapp (json output).Updated by Daniele Ongari.
Package: pyEQL
A python interface for water chemistryDescriptionThe goal ofpyEQLis to provide a stable, intuitive, easy to learn python interface
for water chemistry that can be connected to a variety of different modeling enginesSpecifically,pyEQLdefines aSolutionclass to represent an aqueous
electrolyte solution. TheSolutionclass allows the user to manipulate solutions as
Python objects, providing methods to populate them with solutes, calculate
species-specific properties (such as activity and diffusion coefficients),
and retrieve bulk properties (such as density, conductivity, or volume).>>>frompyEQLimportSolution>>>s1=Solution({"Na+":"1 mol/L","Cl-":"1 mol/L"})>>>s1.density<Quantity(1.03710384,'kilogram / liter')>>>>s1.conductivity<Quantity(8.09523295,'siemens / meter')>>>>s1.osmotic_pressure.to('atm')<Quantity(46.7798197,'standard_atmosphere')>>>>s1.get_amount('Na+','ug/L')<Quantity(22989769.3,'microgram / liter')>pyEQLalso includes a number of other utilities to support water chemistry analysis,
including abuilt-in property databaseof diffusion coefficients, activity correction
parameters, and other data on a variety of common electrolytes.It is designed to be customizable and easy to integrate into projects
that require modeling of chemical thermodyanmics of aqueous solutions.
It aspires to provide a flexible, extensible framework for the user, with a
high level of transparency about data sources and calculation methods.Key FeaturesBuild accurate solution properties using a minimum of inputs. Just specify
the identity and quantity of a solute and pyEQL will do the rest."Graceful Decay" from more sophisticated, data-intensive modeling approaches
to simpler, less accurate ones depending on the amount of data supplied.Not limited to dilute solutions. pyEQL contains out of the box support for
the Pitzer Model and other methods for modeling concentrated solutions.Built indatabasecontaining hundreds of model
parameters and physicochemical properties for different ions.Units-aware calculations (by means of thepintlibrary)DocumentationDetailed documentation is available athttps://pyeql.readthedocs.io/DependenciesPython 3.9+. This project will attempt to adhere to NumPy'sNEP 29deprecation policy
for older version of Python.pint- for units-aware calculationspymatgen- periodic table and chemical formula informationphreeqpython- for PHREEQC-based speciation calculationsiapws- equations of state for watermonty- serialization and deserialization utilitiesmaggma- interface for accessing the property databasescipy- for certain nonlinear equation solverspyEQL is licensed under LGPL.This project has been set up using PyScaffold 4.5. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.