Saravanan666/pypi-org huggingface dataset:
Package: awaredatetime
awaredatetimeModule providing a timezone awaredatetime.datetimecompatible object.Supports CPython 2.6 - 3.5 and PyPy.FeaturesDrop-in replacement fordatetime.datetimeSimple implementation that leverages the built-indatetimemodule as much as possibleExcellent test coverageMotivationdatetime.datetimeobjects aren’t aware by default.New projects should always use timezone awaredatetime.datetimeobjects, but the Python standard library doesn’t make that easy.AwareDatetimeis here to help!You may also have existing code that needs to become timezone aware and migrating code to become timezone aware is tricky.UsingAwareDatetimewill help you track what code has been migrated to support timezone.awaredatetime.AwareDatetimeA drop-in replacement fordatetime.datetimethat always provide timezone aware objects.Example Usage>>>fromawaredatetimeimportAwareDatetime>>>AwareDatetime(2016,1,1)AwareDatetime(2016,1,1,0,0,tzinfo=<UTC>)>>>importdatetime>>>AwareDatetime.from_datetime(datetime.datetime(2016,1,1))AwareDatetime(2016,1,1,0,0,tzinfo=<UTC>)>>>awaredatetime.AwareTimeNot implemented since times with a timezone don’t make sense.e.g. What’s the expected behavior for coverting24:00:00+00:00to positive UTC offset?DependenciesThe only dependency ispytz. We recommend that you use the latest version ofpytz, but this package will not force that upon you.Migrating Existing CodeSimilar workdatetime_tz- Another timezone aware drop-in replacement for thedatetimemodule, but overrides more datetime behaviorarrow- An API-compatible re-write of thedatetimemoduleContributingGuidelinesDo not change the CHANGELOG file or__version__inawaredatetime/__init__.py. This is the responsibility of the repo and package owners.Before adding a dependency, open anissueto discuss why the dependency is needed.Follow theGoogle Python Style Guide.StepsSetup the development environmentpipinstall-U-rrequirements.dev.txtMake your changesAdd unittests for your changesRun tests, which will also check the coding stylecoveragerun--source=awaredatetimesetup.pytest_devOnce tests pass, ensure that your changes have proper test coveragecoveragehtml&&lshtmlcov/index.htmlOpen aPRChangelog0.0.2 (2016-06-20)Change how package versioning is determined0.0.1 (2016-06-20)Initial commitAwareDatetime is compatible with all known datetime.datetime methods and constants
Package: awblib
AWB-LibImplementation of a bunch of Automatic White-Balancing (AWBE algorithms), using JAX. Comparisons and experiments can be found indocsfolder.Implemented AlgorithmsGray World (GW), based on gray world assumption. Seeawblib.gw.Colour Histogram Stretching (CHS). Seeawblib.chs.Average Equalization and Threshold (AAET). Seeawblib.aaet.Histogram Matching (AWB-HM), based on histogram matching. Seeawblib.hm.Dynamic Histogram Matching (AWB-DHM), based on histogram matching and channel selection. Seeawblib.dhm.AWB-DHMT. Gollanapalli, V. R. Peddigari and P. S. Madineni, "Auto white balance using dynamic histogram matching for AMOLED panels," 2017 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), Bengaluru, India, 2017, pp. 41-46, doi: 10.1109/ICCE-ASIA.2017.8307848.Explanations about our implementation ishere.AWB-HMChengqiang Huang, Qi Zhang, Hui Wang, and Songlin Feng, "A Low Power and Low Complexity Automatic White Balance Algorithm for AMOLED Driving Using Histogram Matching," J. Display Technol. 11, 53-59 (2015)Explanations about our implementation ishere. This implementation largely reproduced the results.Example ResultsSeedocsfor more.NotesActually no paper has mentioned that if they are invariant to colour space or they depend on a  specific colour space. As far as I know, most non-ML image processing algorithms require linear RGB; this processing is not done in this module yet.LicenseApache-2.0
Package: awc
awcari-web comments ( awc ) API wrapperwhatthis libarary is a wrapper forhttps://server.ari-web.xyz/API
to help you manage, query and edit content using itawc wraps pypika for sql queries and insql.helpersyou can access
some pre-made SQL queries, i suggest you use pypika for all ( or at least
most ) sql queries, reason being that manually writing them is
fairly insecure, especially with concat and f-stringsexamplessee theexamplesfolderinstallationpython3-mpipinstall--userawcor ( in the cloned repo dir )python3-mpipinstall-e.-eis for editable, you can also leave it out if you
wont be editing the libraryintroawcis a synchronous library wrappinghttps://server.ari-web.xyz/API, that includes
wrappers for all known endpoints ( seehttps://server.ari-web.xyz/git) and an interface
to use custom endpoints usingAwc.{request, get, post}APIsprovided packages :awc-- base interface for the API ( required forawc.Awcinterface so other helpers could use it )awc.api-- wrappers for general APIs ( signatures are(awc: awc.Awc, ...) -> typing.Any)awc.const-- includes required constants for the library and you to use* note :iprefers to a SHA256 hash of an IP, not an actual IPawc.exc-- custom exceptionsawc.sql-- SQL database definitions, wrappers around pypikaawc.sql.helpers-- SQL API helpers, pre-made SQL queriesawc.util-- utilitiesawc.wrn-- custom warningsit all starts from creating an instance ofawc.Awcobject, which is basically
a wrapper aroundfurl.furl( a parsed instance url ) andrequests.Session( to make requests to API endpoints ), you instantiate it like this :api:awc.Awc=awc.Awc("https://some-instance.org/","optional api key",rate_limit_wait)rate_limit_waitis how many seconds should the requester wait if its rate limited ( default value is5)example :# will sleep 2 seconds if it gets rate limitedapi:awc.Awc=awc.Awc("https://google.com/","HIHIUHIyhu9f839uf9hiuh(U()I*)989hIOUjhfew",2)after that you are free to use the interface, make requests using the provided requester functions,
get API urls (api["some-api-endpoint"]=>https://google.com/some-api-endpoint) and use the
provided library functions, wrappers and abstractionsalso, a note : not all library functions will work if you dont have an API key,awc.Awc.require_keydecorator is used on all functions that require an API key to work, on no api key it will raiseawc.exc.NoAPIKeyErrorwith called function name being the error message
Package: aw-cli
aw-cliGuarda anime dal terminale e molto altro!Gli anime vengono presi daAnimeWorldAnteprimahttps://user-images.githubusercontent.com/90156014/210212814-e73ba7af-ce12-43ad-95ff-dcd85b39a45c.mp4IndiceInstallazioneDisinstallazioneUtilizzoCreditiDisclaimerInstallazioneLo script funziona sia conMPVche conVLC.Se si utilizza Windows e MPV, occorrerà scaricare inoltre "mpv-2.dll" (scaricabile da questolink) e aggiungerlo al path.È possibile installare aw-cli da pip:python3 -m pip install aw-cli --upgradeO se si preferisce da sorgente (potrebbe essere più aggiornato):python3 -m pip install git+https://github.com/fexh10/aw-cli.gitDisinstallazionepython3 -m pip uninstall aw-cliUtilizzousage: aw-cli [-h] [-a] [-c] [-d] [-i] [-l [{a,s,d}]] [-o] [-p] [-s] [-v]

Guarda anime dal terminale e molto altro!

options:
  -h, --help            show this help message and exit
  -a, --configurazione  avvia il menu di configurazione
  -c, --cronologia      continua a guardare un anime dalla cronologia
  -d, --download        scarica gli episodi che preferisci
  -i, --info            visualizza le informazioni e la trama di un anime
  -l [{a,s,d}], --lista [{a,s,d}]
                        lista degli ultimi anime usciti su AnimeWorld. a = all, s = sub, d = dub
  -o, --offline         apri gli episodi scaricati precedentemente direttamente dal terminale
  -p, --privato         guarda un episodio senza che si aggiorni la cronologia o AniList
  -s, --syncplay        usa syncplay per guardare un anime insieme ai tuoi amici
  -v, --versione        stampa la versione del programmaCreditiProgetto ispirato aani-cli.Un ringraziamento speciale aaxtratper l'aiuto nella realizzazione del progetto.
Package: aw-client
aw-clientClient library for ActivityWatch in Python.Please seethe documentationfor usage, and take a look atexamples/.DocumentationAPI ReferenceHow to installInstall from pip:pip install aw-clientInstall the latest version directly from github without cloning:pip install git+https://github.com/ActivityWatch/aw-client.gitTo install from a cloned version:clone repo:git clone https://github.com/ActivityWatch/aw-client.gitcd into the directory:cd aw-clientrunpoetry install(will create a virtualenv, if none activated)If you don't want to use poetry you can also usepip install ., but that might not get the exact version of the dependencies (due to not reading thepoetry.lockfile).UsageFor the CLI:$ aw-client --help
Usage: aw-client [OPTIONS] COMMAND [ARGS]...

  CLI utility for aw-client to aid in interacting with the ActivityWatch
  server

Options:
  --host TEXT     Address of host
  --port INTEGER  Port to use
  -v, --verbose   Verbosity
  --testing       Set to use testing ports by default
  --help          Show this message and exit.

Commands:
  buckets    List all buckets
  canonical  Query 'canonical events' for a single host (filtered,...
  events     Query events from bucket with ID `bucket_id`
  heartbeat  Send a heartbeat to bucket with ID `bucket_id` with JSON `data`
  query      Run a query in file at `path` on the server
  report     Generate an activity reportDebuggingRun python withLOG_LEVEL=debugto get additional debugging outputIf invalid events have been queued for submission, you may need to delete the file-based queues generated by this libraryTo use the development version of this library useaw-client = {path = "../aw-client" }inpyproject.tomlExamplesTheexamples/directory contains a couple of example scripts, including:time_spent_today.py- fetches all non-afk events and sums their duration to get the total active time for the day.working_hours.py- computes hours worked per day (matching a "work" category rule), and exports matching events to a JSON file (for auditing).load_dataframe.py- loads events from a host using a categorizing & AFK-filtering query, put result in a pandas dataframe, and export as CSV.merge_buckets.py- merges two buckets with non-intersecting events by moving all events from one into the other.redact_sensitive.py- redact sensitive events.
Package: awconnection
# AutonoWar Connection
An interface between Python and AutonoWar
<br>
<br>
Documentation (AutonoWar v0.1.3, abrconnection v0.1.0): <br><br>Coordinate system is left-handed, with x being east, y being upwards, and z being north.RobotConnection(): class which handles connection to the game. Should be instantiated at beginning of script, and methodconnect()should be called immediately after.disconnect()ends connection.RobotConnection.set_tire_torque(tire_name, torque): sets torque of tiretire_nametotorque. Current tire names are “BackLeft”, “BackRight”, “FrontLeft”, and “FrontRight.”RobotConnection.set_tire_steering(tire_name, bering): sets tiretire_nametobering. All angles/berings are clockwise off of vertical (unity’s coordinate system is left-handed).RobotConnection.sensors: Dictionary/Hashtable containing information about the state of the robot.Vectors are stored as dictionaries with keys“x”,“y”, and“z”.sensors[“gps”]: Sensor containing position information of the robot.sensors[“gps”][“position”]: Vector containing current position of robot relative to starting point.sensors[“gyroscope”]: Sensor containing rotation information of the robot:sensors[“gyroscope”][“right”]: Unit vector pointing right RELATIVE to the robot. For example, if the robot was facing in the default direction, its right vector would be <1, 0, 0> because its right direction is east. If the robot turned 90 degees counterclockwise, its right vector would be <0, 0, 1>. If the robot was facing a bering of 45 degrees and was climbing a 20 degree grade, its right vector would be <cos(45), sin(20), sin(45)> / sqrt(cos(45)^2 + sin(20)^2 + sin(45)^2).sensors[“gyroscope”][“up”]: Unit vector pointing up RELATIVE to the robot. Same idea as before.sensors[“gyroscope”][“forward”]: Unit vector pointing up RELATIVE to the robot. Same idea as before.sensors[“lidar”][“distanceArray”]: Array containing distance to any object at 1 degree increments.state_dict[“lidar”][“distanceArray”][0]would describe how many meters of clearance the robot has in front of itself,state_dict[“lidar”][“distanceArray”][90]would describe its clearance to the right, and so on. If the robot has more than 100 meters of clearance in a particular direction, the value will capped at 100. In future updates, lidar upgrades might include an increase in range or density for in-game currency. Vertical FOV will be coming soon.sensors[“radar”][“pings”]: array of vectors representing opponent locationssensors[“altimeter”][“altitude”]: distance to ground in world space (i.e. NOT normal to robot)
Package: aw-core
aw-coreCore library for ActivityWatch.Modulesaw_core, contains basic datatypes and utilities, such as theEventclass, helpers for configuration and logging, as well as schemas for buckets, events, and exports.aw_datastore, contains the datastore classes used by aw-server-python.aw_transform, all event-transforms used in queries.aw_query, the query-language used by ActivityWatch.LoggingRun python withLOG_LEVEL=debugto use change the log level across all AW componentsHow to installTo install the latest git version directly from github without cloning, runpip install git+https://github.com/ActivityWatch/aw-core.gitTo install from a cloned version, cd into the directory and runpoetry installto install inside an virtualenv. If you want to install it
system-wide it can be installed withpip install ., but that has the issue
that it might not get the exact version of the dependencies due to not reading
the poetry.lock file.
Package: awd
awda window director;awd directsewmh-compatible x windows managers to layout windows;awd is not a window manager; so there is no need to replace the current window
manager;installpip install awdusageto run awd in command line:awd [options]it is recommended to bind awd command to a keyboard shortcut; consult your
window manager documentation for how to do this; alternatively, usexbindkeys;examplecascade:awd --cascadehorizontal tile:awd --horizontalvertical tile:awd --verticaltroubleshootenable debug modeenable debug mode for additional logs:awd --debughide desktop iconssome file managers manage the desktop by adding a window containing icons; this
can be disabled with any of these commands:dconf write /org/gnome/desktop/background/show-desktop-icons false

gsettings set org.gnome.background show-desktop-icons falseexclude windows by namesif there are windows that awd doesnt handle properly, they can be excluded:awd --exclude {name}awd will ignore windows whose names containname;--excludecan be used multiple times;licenseCopyright (C) 2016-2018 Cyker WayThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.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 General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/.
Package: awemecommit
awemecommitcommit message 辅助工具Usage:$awemecommit[OPTIONS]COMMAND[ARGS]...Options:--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.Commands:commit: 用规范的 message 提交 commitowncommit: 查看目前分支上所有新增的 commit, 但不包含 merge 来的awemecommit commit用规范的 message 提交 commitUsage:$awemecommitcommit[OPTIONS]Options:-g, --gits: 多仓创建 commit  [default: False]-c, --clipboard: 将 commit message 复制到剪切板  [default: False]-p, --push: 创建 commit 后直接push  [default: False]--help: Show this message and exit.awemecommit owncommit查看目前分支上所有新增的 commit, 但不包含 merge 来的Usage:$awemecommitowncommit[OPTIONS]Options:-b, --branch TEXT: 作比较的分支  [default: develop]--help: Show this message and exit.
Package: awesom
AwesomSelf-organizing map framework for Pythonimportmatplotlib.pyplotaspltfromawesomimportdatasetsfromawesomimportplotasaspfromawesom.somimportIncrementalMapX,y=datasets.norm_circle(5,500,1,radius=4)som=IncrementalMap((7,7,X.shape[1]),100,0.04,4)som.fit(X)fig,ax=plt.subplots(1,1)asp.data_2d(ax,X,y)asp.wire(ax,som)
Package: awesome-check-link
awesome-check-linkCheck if links in md file and more particularly in awesome-list are down or not.InstallYou can installawesome-check-linkeither via pip (PyPI) or from source.python3-mpipinstallawesome-check-linkOr manually:git clone https://github.com/remiflavien1/awesome-check-link
cd awesome-check-link
python3 setup.py installTo upgradeaclinks:python3-mpipinstall--upgradeawesome-check-linkUsageCLI$python3-maclinks--helpAwesomeCheckLinksUsage:aclinks[--verbose--exit--down]-fFILEaclinks(-h|--help|--version)Options:-f--fileMarkdownfiletoscan.-e--exitStopandraiseerrorifasiteisdown.-d--downShowonlydownlinksandtheirlinenumber.-v--verboseVerbosemode.Printmoretostdout.-h--helpShowthishelp.--versionShowversion.Example of output for theAwesome-anti-forensic$gitclonehttps://github.com/remiflavien1/awesome-anti-forensic
$cdawesome-anti-forensic
$aclinks-vd-fREADME.md# only display down linksAtline24:https://www.paterva.com/web7/buy/maltego-clients/casefile.php:MovedPermanently(301)Atline61:https://www.bishopfox.com/resources/tools/other-free-tools/mafia/:MovedPermanently(301)Atline64:https://www.paterva.com/web7/buy/maltego-clients/maltego-ce.php:MovedPermanently(301)With exit mode (--exit flag), exit the program if one link is down. Can be integrated in a CI/CD workflow.LicenseMIT
Package: awesome-codename
Awesome CodenameAwesome Codename GeneratorFree software: AGPL v3 licenseDocumentation:https://awesome-codename.readthedocs.org.Python versions: 2.7, 3.4+FeaturesGenerates awesome codenames :)QuickstartYou can use thegenerate_codename()function and pick your favorite:>>> from awesome_codename import generate_codename
>>> generate_codename()
'abnormal keeper'
>>> generate_codename()
'altruistic supermodel'
>>> generate_codename()
'recovered image'Or runawesome-codenamefrom the command line:$ awesome-codename 3
square thermometer
best shaker
countywide fusionCreditsAll credits go toSecureDropproject for curating the list of adjectives and nouns.This package was created withCookiecutterand therolando/cookiecutter-pypackageproject template.History1.0.0 (2017-02-08)First release on PyPI.
Package: awesomedict
INTRODUCTIONA magic dictionary which never raises KeyError but creates non-existent
items as they are requested. By default newly created items in this way are
an empty instance ofAwesomeDict, but that can be set withset_defaults.
The instances also have afiltermethod which can filter based on
a regular expression matched against the key or value. A default regex for
filter can be set withset_filter.INSTALLATIONpip install awesomedictEXAMPLE USAGEfromawesomedictimportAwesomeDictimportjson# create a default ordermdorder=AwesomeDict().set_defaults({'^price$':0,'_address$':'No such street, PO 000'}).set_defaults({'^items$':[]},do_copy=True)mdorder['items']mdorder['price']mdorder['shipping_address']mdorder['billing_address']md=AwesomeDict().set_defaults({'^[0-9]+$':mdorder},do_copy=True).set_filter('^!')md['customers']['foo'][1]['price']=15md['customers']['foo'][1]['items'].append('notebook')md['customers']['foo'][1]['shipping_address']='FOO street'md['customers']['foo'][1]['billing_address']='FOO office'md['customers']['foo'][1]['!notes']='important notes'md['customers']['foo'][2]# use all defaultsmd['customers']['!important customer'][1]['price']=25# use default addressmd['customers']['!important customer'][1]['items'].append('pen')print(json.dumps(md,default=lambdao:o.data,indent=2))print('\n-----important only:-----\n')print(json.dumps(md.filter(),default=lambdao:o.data,indent=2))print('\n-----items only:-----\n')print(json.dumps(md.filter('^items$'),default=lambdao:o.data,indent=2))$ python demo.py
{
  "customers": {
    "foo": {
      "1": {
        "items": [
          "notebook"
        ],
        "price": 15,
        "shipping_address": "FOO street",
        "billing_address": "FOO office",
        "!notes": "important notes"
      },
      "2": {
        "items": [],
        "price": 0,
        "shipping_address": "No such street, PO 000",
        "billing_address": "No such street, PO 000"
      }
    },
    "!important customer": {
      "1": {
        "items": [
          "pen"
        ],
        "price": 25,
        "shipping_address": "No such street, PO 000",
        "billing_address": "No such street, PO 000"
      }
    }
  }
}

-----important only:-----

{
  "customers": {
    "foo": {
      "1": {
        "!notes": "important notes"
      }
    },
    "!important customer": {
      "1": {
        "items": [
          "pen"
        ],
        "price": 25,
        "shipping_address": "No such street, PO 000",
        "billing_address": "No such street, PO 000"
      }
    }
  }
}

-----items only:-----

{
  "customers": {
    "foo": {
      "1": {
        "items": [
          "notebook"
        ]
      },
      "2": {
        "items": []
      }
    },
    "!important customer": {
      "1": {
        "items": [
          "pen"
        ]
      }
    }
  }
}
Package: awesomediff
cs207-FinalProjectHarvard CS207 Final Project: Automatic DifferentiationGroup #: 7Members: Wanxi Yang, Gabriel Pestre, Claire Yang, Erin YangWelcome to theawesomediffrepository. Please visit thedocumentationpage for information about how to install and use theawesomediffautomatic differentiation library and data science toolkit.
Package: awesomediff-test
cs207-FinalProjectHarvard CS207 Final Project: Automatic DifferentiationGroup #: 7Members: Wanxi Yang, Gabriel Pestre, Claire Yang, Erin YangInstallationFor a detailed explanation of how to install the package, check out the documentation.The package will be available on PyPI.You can either install the package in your local environment or in a virtual environment.If you have a Python3 environment withnumpyinstalled ready to go, theawesomediffpackage can be installed using the following code:pip install awesomediffRight now, the package is not available on PyPI yet, so install using methods below:Clone the project's git repository to your machine:git clone https://github.com/awesomediff/cs207-FinalProject.gitIf you want to install the package in a virtual environment, set up the virtual environment in the cloned directory using:pip3 install virtualenv
virtualenv -p python3 venv
source venv/bin/activateThen install the dependencies:pip3 install -r requirements.txt