Saravanan666/pypi-org huggingface dataset:
Package: action-updater
Action UpdaterThe actions updater will make it easy to update actions:🥑 updated syntax and commands🥑 versions of actions, either for releases or commits🥑 preview, write to new file, or write in place!🥑 run as a GitHub action workflow for annual checks!You can see the⭐️ Documentation ⭐️for complete details!⭐️ Quick Start ⭐️InstallationThe module is available in pypi asaction-updater,
and to install we first recommend some kind of virtual environment:$python-mvenvenv
$sourceenv/bin/activateAnd then install from pypi using pip:$pipinstallaction-updaterUsageFor all commands below, the actions updater can accept a directory with yaml files,
or a single yaml file that matches the GitHub actions schema.View updaters available (and descriptions)$action-updaterlist-updatersYou should likely detect (to preview) before you write the changes to file.# Run all updaters$action-updaterdetect.github/workfows/main.yaml# Only detect for the setoutput updater$action-updaterdetect-usetoutput.github/workfows/main.yamlAnd finally, write updates to file!$action-updaterupdate.github/workfows/main.yaml🎨 Screenshots 🎨If a file has updates, it will print to the terminal the updated file for preview.And after you runupdate(described below) you will see all green!Running across many files:And that's it! The action comes with severalupdatersthat will look
for particular aspects to lint or update. If you have a request for a new updated, pleaseopen an issue.Feature IdeasThis could be fairly easy to extend to allow for more "linting" style actions to reflect preferences in style, e.g:$action-updaterlint.github/workflows/main.yamlIf this sounds interesting to you, pleaseopen an issueto discuss further!
We currently do some basic linting, as the yaml loading library has preferences for saving with respect to spacing, etc.😁️ Contributors 😁️We use theall-contributorstool to generate a contributors graphic below.Vanessasaurus💻Mike Henry💻LicenseThis code is licensed under the MPL 2.0LICENSE.
Package: actipy
actipyA Python package to process accelerometer data.Axivity3 (.cwa), Actigraph (.gt3x), and GENEActiv (.bin) files are supported,
as well as custom CSV files.Axivity3 is the activity tracker watch used in the large-scaleUK-Biobank accelerometer study.Getting startedPrerequisitePython 3.8 or greater$python--version# or python3 --versionJava 8 (1.8.0) or greater$java-versionInstall$pipinstallactipyUsageProcess an Axivity3 (.cwa) file:importactipydata,info=actipy.read_device("sample.cwa.gz",lowpass_hz=20,calibrate_gravity=True,detect_nonwear=True,resample_hz=50)Output:data [pandas.DataFrame]x         y         z  temperaturetime2014-05-07 13:29:50.430 -0.513936  0.070043  1.671264    20.0000002014-05-07 13:29:50.440 -0.233910 -0.586894  0.081946    20.0000002014-05-07 13:29:50.450 -0.080303 -0.951132 -0.810433    20.0000002014-05-07 13:29:50.460 -0.067221 -0.976200 -0.864934    20.0000002014-05-07 13:29:50.470 -0.109617 -0.857322 -0.508587    20.000000...                           ...       ...       ...          ...info [dict]Filename                 : data/sample.cwa.gzFilesize(MB)             : 69.4Device                   : AxivityDeviceID                 : 13110ReadErrors               : 0SampleRate               : 100.0ReadOK                   : 1StartTime                : 2014-05-07 13:29:50EndTime                  : 2014-05-13 09:50:33NumTicks                 : 51391800WearTime(days)           : 5.847725231481482NumInterrupts            : 1ResampleRate             : 100.0NumTicksAfterResample    : 25262174LowpassOK                : 1LowpassCutoff(Hz)        : 20.0CalibErrorBefore(mg)     : 82.95806873592024CalibErrorAfter(mg)      : 4.434966371604519CalibOK                  : 1NonwearTime(days)        : 0.0NumNonwearEpisodes       : 0...If you have a CSV file that you want to process, you can also use the data processing routines fromactipy.processing:importactipy.processingasPdata,info_lowpass=P.lowpass(data,100,20)data,info_calib=P.calibrate_gravity(data)data,info_nonwear=P.detect_nonwear(data)data,info_resample=P.resample(data,sample_rate)See thedocumentationfor more.LicenseSeeLICENSE.md.
Package: activate
Use ACTiVATED crack on Steam gameThis script should be used only for fair purposes like making your own
backup copies of games you own on your account. It not supposed to be
used for piracy.InstallInstall theactivatepackage using your favourive method, e. g.pipsi.Copy latest ACTiVATED crack.so-files to~/.local/share/activate/x86/libsteam_api.soand~/.local/share/activate/x86_64/libsteam_api.so.UseGo to game directory and enteractivate. The script may ask for
AppID if it can’t find it. That’s it.cd ~/Games/SuperSteamGame
activateIt will replace libsteam_api.so files with ACTiVATED crack (of right
architecture), detect a version of Steam interfaces and fill
activated.ini files with right interfaces section.To specify a custom username instead of “Cracked”, place it to~/.config/activate:{
  "username": "ZeDoCaixao"
}
Package: activate-virtualenv
activate-virtualenvactivate-virtualenvis a Python project that offers a context manager that allows users to easily activate a virtual
environments programatically. A virtual environment is an isolated Python environment that allows users to manage and
install packages separately from their system Python installation. This project provides a simple and convenient way to
activate and (automatically) deactivate a virtual environment and start working within it.InstallationTo install theactivate-virtualenvpackage, you can usepip:pipinstallactivate-virtualenvOr rye:ryeinstallactivate-virtualenvOr anything else that downloads packages fromPyPI.UsageTo use theactivate_virtualenvcontext manager, you'll need to import it into your Python script. Here's how to get
started:Import theactivate_virtualenvcontext manager:fromactivate_virtualenvimportactivate_virtualenvCreate an instance ofactivate_virtualenvby providing the path to your target virtual environment:# Replace 'path_to_your_venv' with the actual path to your virtual environment.withactivate_virtualenv('path_to_your_venv'):# Your code here# The virtual environment is active within this block.# The original environment is automatically restored when exiting the 'with' block.ExampleHere's an example of how you can useactivate_virtualenv:fromactivate_virtualenvimportactivate_virtualenv# Specify the path to your virtual environmentvenv_path='/path/to/your/virtualenv'# Activate the virtual environment temporarilywithactivate_virtualenv(venv_path):# Your code that requires the virtual environmentfromsubscriptimportfunction# Your dependencies in the specified virtual environment will be used here.function()# Once you exit the 'with' block, you are back to your original environment.# You can now use the modules and dependencies from your original environment.How It WorksTheactivate_virtualenvcontext manager temporarily modifies environment variables and Python'ssysmodule to
activate the specified virtual environment. When you enter thewithblock, it runs the virtual environment activation
scriptactivate_this.pyfound in thebindirectory of the specified virtual environment. This sets up the
environment to use the
virtual environment's Python interpreter and dependencies. When you exit thewithblock, it restores the original
environment settings by manually undoing the changes made ny the activation script.Important NotesThis script is intended for use in Python 3 environments.Ensure that the virtual environment path you provide is valid. It should be the path to the virtual environment's
root directory.Make sure that the virtual environment contains the standardactivate_this.pyscript in thebindirectory. This
script is required to activate the virtual environment. If you are using poetry, rye or virtualenv to manage your
virtual environments, this script should be present by default.LicenseThis project is licensed under the MIT License. For more information, please refer to theLICENSEfile.Issues and ContributionsIf you encounter any issues or have suggestions for improvements, please feel free
toopen an issueor submit a pull request on
theGitHub repository.
Package: activation
activationsactivation function for machine learning. This package only computes the sigmoid activation function on an scalar or a numpy arrayFree software: MIT licenseDocumentation:https://activation.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-03-10)First release on PyPI.
Package: active911-python
Active911 Python BindingsInstallvia pippip install active911-pythonManual InstallationDownload release and install by:python setup.py installSetup / InitializeImport Packageimport active_911Initialize classclient = active_911.Active911Client(access_token='Enter Access Token Here')Environment Variable SupportIf access_token is not passed you can setACTIVE911_ACCESS_TOKENas the environment variable.Available Methods:get_agency()This function will return the authorized agency and is considered the root of the API.get_device_info(device_id=None)This function will return detailed device information.get_device_alerts(device_id=None, alert_days=None, alert_minutes=None)This function will return agency alerts by device.
Number of alerts can be set by alert_days(default:10 Max:30) or alert_minutes, alert_minutes supersedes alert_days if set.get_alerts(alert_days=None, alert_minutes=None)Returns agency alerts.
Number of alerts can be set by alert_days(default:10 Max:30) or alert_minutes, alert_minutes supersedes alert_days if set.get_alert_detail(alert_id=None)Returns alert detail by alert_id.get_locations(locations_page=None, locations_per_page=None)Returns all map data locations.get_location_detail(location_id)Returns location point detailget_resource_detail(resource_id)Returns location point resource detailImportant Notes:Full OAUTH scope is required for proper functionality.read_agency	Allows read-only access to this agency's information (Name, Address etc).read_alert	Allows read-only access to all alerts in the agency.read_response	Allows read-only access to responses to all alerts in the agency.0read_device	Allows read-only access to all device information in the agency.read_mapdata	Allows read-only access to all locations and resources in the agency.write_mapdata	Allows creation of locations and resources for the agency.TODOS:Add POST request support for mapping locations.Support locations_coordinate_window
Package: activecampaign
Simple and Pythonic ActiveCampaign API clientFree software: BSD licenseFeaturesView & sync a contactAdd a contact tagRemove a contact tagBasic usageInitialize the client with your custom ActiveCampaign host name and API key:from activecampaign.client import ActiveCampaignClient
client = ActiveCampaignClient(ACTIVECAMPAIGN_HOST, ACTIVECAMPAIGN_KEY)Sync contact information:client.contacts.sync(
    email=customer_data['email'],
    first_name=customer_data['first_name'],
    last_name=customer_data['last_name'],
    orgname=custmoer_data['orgname'],
    phone=customer_data['phone'],
)Add and remove tags:client.contacts.tag_add("new-tag", email=customer_data['email'])
client.contacts.tag_remove("old-tag", email=customer_data['email'])History0.2.0 (2019-07-09)Dropped support for Python 2.70.1.0 (2016-02-22)First release on PyPI.
Package: active-campaign-python
## InstallationYou can installactive-campaign-pythonfrom pypipip install active-campaign-python## Example Usage<pre>
from activecampaign import ActiveCampaign# url provided to you by ActiveCampaign
base_url = ‘<your url>’
# api key provided to you by ActiveCampaign
api_key = ‘<your api_key>’ac = ActiveCampaign(base_url,  api_key)
print(ac.api(‘account/view’))</pre>Each of the endpoint subclasses have comments at the bottom## PrerequisitesA valid ActiveCampaignhostedaccount (trial or paid).
Package: activeconfigparser
ActiveConfigParserThe ActiveConfigParser package provides extended
handling of .ini files beyond whatConfigParserprovides
by adding an active syntax to embed operations with options.For example, astandard.inifile is generally formatted like this:[Section 1]Foo:BarBaz:Bif[Section 2]Foo:Bar2Bif:BazThese files are used to organize sets of key - value pairs called
“options” within groups called “sections”. In the example above
there are two sections, “Section 1” and “Section 2”. Each of them
contains two options where Section 1 has the keys ‘Foo’ and ‘Baz’
which are assigned the values ‘Bar’ and ‘Bif’, respectively. For
more details on .ini files please see the documentation for
ConfigParser.Internally, these handlers methods defined according to a naming
convention likehandler_<operation>().ActiveConfigParser only provides one pre-defined operation: use which is
formatted asuse TARGET:whereparam1is the TARGET (there is no value
field for this one). The TARGET paramter takes thename of a target sectionthat will be loaded in at this point. This works in the same way a#includewould work in C++ and serves to insert the contents or processing
of the target section into this location.Theuseoperation is useful for .ini files for complex systems by allowing
developers to create a common section and then have specializations where
they can customize options for a given project. For example:[COMMON]Key C1:Value C1Key C2:Value C2Key C3:Value C3[Data 1]Key D1:Value D1use COMMONKey D2:Value D2In this example, processing sectionData 1via ActiveConfigParser
will result in the following options:Key D1: Value D1,Key C1: Value C1,Key C2: Value C2,Key C2: Value C2,Key D2: Value D2.An alternative way of looking at this is it’s like having a .ini file that
is effectively the following where theuseoperations are replaced with the
results of a Depth-First expansion of the linked sections:[COMMON]Key C1:Value C1Key C2:Value C2Key C3:Value C3[Data 1]Key D1:Value D1Key C1:Value C1Key C2:Value C2Key C3:Value C3Key D2:Value D2Linked ProjectsSetProgramOptions- depends on ActiveConfigParserRTD,GitHubExamplesHere we show some example usages of ActiveConfigParser.
Additional examples can be found in theexamples/directory
of the repository.Example 1[SECTION-A]key-A1:value-A1key-A2:value-A2key-A3:value-A3[SECTION-B]use SECTION-Akey-B1:value-B1In this example, the entryuse SECTION-Athat is inside[SECTION-B]instructs the core
parser to recurse into[SECTION-A]and process it before moving on with the rest of the
entries in[SECTION-B].  In this example the following code could be used to parseSECTION-B.ActiveConfigParser.activeconfigparserdata['SECTION-B']would return the following
result:>>>fromactiveconfigparserimportActiveConfigParser>>>cpe=ActiveConfigParser(filename='config.ini')>>>cpe.activeconfigparserdata['SECTION-B']{'key-A1':'value-A1','key-A2':'value-A2','key-A3':'value-A3','key-B1':'value-B1',}UpdatesSee theCHANGELOGfor information on changes.
Package: active_directory
******************************Python Active Directory Module******************************What is it?===========Active Directory (AD) is Microsoft's answer to LDAP, the industry-standarddirectory service holding information about users, computers andother resources in a tree structure, arranged by departments orgeographical location, and optimized for searching.The Python Active Directory module is a lightweight wrapper on top of thepywin32 extensions, and hides some of the plumbing needed to get Python totalk to the AD API. It's pure Python and should work with any version ofPython from 2.2 onwards (generators) and any recent version of pywin32.Where do I get it?==================http://timgolden.me.uk/python/active_directory.htmlHow do I install it?====================When all's said and done, it's just a module. But for thosewho like setup programs:python setup.py installPrerequisites=============If you're running a recent Python (2.2+) on a recent Windows (2k, 2k3, XP)and you have Mark Hammond's pywin32 extensions installed, you're probablyup-and-running already. Otherwise...Windows-------If you're running Win9x / NT4 you'll need to get AD supportfrom Microsoft. Microsoft URLs change quite often, so I suggest youdo this:http://www.google.com/search?q=site%3Amicrosoft.com+active+directory+downloadsPython------http://www.python.org/ (just in case you didn't know)pywin32 (was win32all)----------------------http://pywin32.sf.netHow do I use it?================There are examples at: http://timgolden.me.uk/python/ad_cookbook.htmlbut as a quick taster, try this, to list all users' display names:import active_directoryfor person in active_directory.search (objectCategory='Person'):print person.displayNameWhat License is it released under?==================================(c) Tim Golden <mail@timgolden.me.uk> 2004-2007Licensed under the (GPL-compatible) MIT License:http://www.opensource.org/licenses/mit-license.php
Package: activefires-pp
[![Build status](https://github.com/adybbroe/activefires-pp/workflows/CI/badge.svg?branch=main)](https://github.com/adybbroe/activefires-pp/workflows/CI/badge.svg?branch=main)
[![Coverage Status](https://coveralls.io/repos/github/adybbroe/activefires-pp/badge.svg)](https://coveralls.io/github/adybbroe/activefires-pp)Post-processing (including regional filtering) of Satellite Active Fires and notify end-users
Supports reading and processing VIIRS Active Fires EDR. There is support for filtering out fire
detections using three different levels:National filtering, where all detections outside boarders as given by a shapefile are left outFiltering to exclude fire detections inside a set of polygons (meant to
define populated areas and local industries known to be heat sources that
can turn up as detections) from a shapefileRegional filtering, where detections are localisized in regions and output
messages are treated accordingly.
Package: activejson
ActivejsonA convenient library to deal with large json dataA convenient library to deal with large json data. The purpose of this package is help to deal with complex json-like data, converting them into a more manageable data structure.InstallationOS X & Linux:From PYPI$pip3installactivejsonfrom the source$gitclonehttps://github.com/dany2691/activejson.git
$cdactivejson
$python3setup.pyinstallUsage exampleYou can flat a complex dict the next way:complex_json={'cat':{'grass':'feline','mud':'you never know','horse':'my joke'},'dolphin':[{'tiger':[{'bird':'blue jay'},{'fish':'dolphin'}]},{'cat2':'feline'},{'dog2':'canine'}],'dog':'canine'}fromactivejsonimportflatten_jsonflatten_complex_json=flatten_json(complex_json)print(flatten_complex_json)The result could be the next:{'cat_grass':'feline','cat_horse':'my joke','cat_mud':'you never know','dog':'canine','dolphin_0_tiger_0_bird':'blue jay','dolphin_0_tiger_1_fish':'dolphin','dolphin_1_cat2':'feline','dolphin_2_dog2':'canine'}On the other hand, is possible to convert that dict into an object with dynamic attributes:fromactivejsonimportFrozenJSONfrozen_complex_json=FrozenJSON(complex_json)print(frozen_complex_json.cat.grass)print(frozen_complex_json.cat.mud)print(frozen_b.dolphin[2].dog2)The result could be the next:'feline''you never know''canine'To retrieve the underlying json, is possible to use the json property:frozen_complex_json.json{'cat_grass':'feline','cat_horse':'my joke','cat_mud':'you never know','dog':'canine','dolphin_0_tiger_0_bird':'blue jay','dolphin_0_tiger_1_fish':'dolphin','dolphin_1_cat2':'feline','dolphin_2_dog2':'canine'}Development setupThis project usesPoetryfor dependecy resolution. It's a kind of mix between
pip and virtualenv. Follow the next instructions to setup the development enviroment.$pipinstallpoetry$gitclonehttps://github.com/dany2691/activejson.git
$cdactivejson
$poetryinstallTo run the test-suite, inside the pybundler directory:$poetryrunpytesttest/-vvMetaDaniel Omar Vergara Pérez –@__danvergara __–daniel.omar.vergara@gmail.com--github.com/danvergaraValery Briz -@valerybriz--github.com/valerybrizContributingFork it (https://github.com/BentoBox-Project/activejson)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: activelearner
Active LearnerA Python package which will do Active Learning process to determine whether to use Text Classification or Topic Modeling. For Usage of this package, you need to consist of a dataset which has folders to represent the classes for Text Classification, and contain text files in each class folders.UsageExampleFollowing query will allow to find thresholds for the classes available in the dataset. In whichdirectoryis the directory of your dataset, andfileis the name of the file needed to find similarity.from activelearner import similarity
from activelearner import threshold

threshold = threshold(directory)
similarity = similarity(file, directory,threshold)
Package: active-learning
ExampleSample code inAL_Notebook.ipynbnotebookInstallpip install active_learningORpython setup.py sdistpython setup.py installEnvironment SetupMake sure thatcondais
installed.Run the following command in the root directory to build the conda
environment "trews":conda env create -f environment.ymlRunsource activate trewsbefore executing the Jupyter
notebook."trews" has a package nb_conda which allows you to specify the
conda env you want as a Jupyter kernel.You must have "trews"
activated for the Jupyter notebook server to manage conda
environmentsObjectiveProvide justification for custom sepsis definition generated from
soliciting rich feedback from physicians.Create an AL implementation that incorporates rich feedback from
physicians to improve the TREWS tool.Long-term goal: Create a library of active learning tools for any
CDSS we design for new clinical problems.Code OrganizationGeneral functions should be written in .py files under folder
'python_scripts'Experiments should load these python files into iPython notebooks
for visualization/output neatness and reproducibility.Large experimental datasets should be stored locally and tracked
using plaintext files or logs.Datasets used for testing implementation should be kept under
repository 'dev_data'
Package: activeledgersdk
# Python-sdk for ActiveledgerPython sdk for python developers who wish use activeledger.## Getting StartedFor detailed documentation please visithttps://activeledgersdk.readthedocs.io/en/latest/### PrerequisitesCurrently only python 3.5+ version is suported### InstallingSimply download the sdk with the following command:` pip installactiveLedger-sdk`## DeploymentAdd additional notes about how to deploy this on a live system## Built With[cryptography](https://github.com/pyca/cryptography) - Used for key generation## LicenseThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
Package: activelog
ActiveLogA simple logging utility for Python.UsageDescription of Constructors's ArgumentnameDescriptionshift_freqfrequency of log file rotation. [sec]shift_sizefile size of log file rotation. [byte]levelLogging severity threshold. Default values is logger.DEBUGinitWhether to clear log files. [True / False]datetime_formatDate and time format. Default value is '%Y-%m-%d %H:%M:%S.%f'.shift_period_suffixThe log file suffix format for rotation. Default is '_%Y-%m-%d'.Simple ExamplefromactivelogimportLogger# Create a Logger that prints to STDOUTlog=Logger(Logger.STDOUT)log.debug("Created Logger")log.info("Program finished")# Create a Logger that prints to Log Filelog=Logger('log file path')log.warn("This is WARN message")log.error("This is ERROR message")Log File Shift Example# Switch log file dailylog=Logger('log file path',shift_freq=60*60*24)# Switch log file weeklylog=Logger('log file path',shift_freq=60*60*24*7)# Switch log file every 10MBlog=Logger('log file path',shift_size=100000000)Output Example[2020-01-01 07:11:09.887267 #sample.py line:4] INFO  -- : Program Start!!
[2020-01-01 07:11:23.535936 #sample.py line:9] ERROR -- : Program End...Installation$pipinstallactivelogContributingBug reports and pull requests are welcome on GitHub athttps://github.com/AjxLab/ActiveLog.