Saravanan666/pypi-org huggingface dataset:
Package: albumr
albumrImgur album downloader.Installationpip install albumrUsageusage: albumr [<options>] [--] <album>...

Imgur album downloader

positional arguments:
  <album>               an album hash or URL

optional arguments:
  -h, --help            show this help message and exit
  -n, --numbers, --no-numbers
                        prepend numbers to filenames; default: False
  -t, --titles, --no-titles
                        append album titles to directory names; default: False
  -v, --version         show program's version number and exitExamplesFrom album URL:albumr http://imgur.com/a/adkETFrom album hash, with numbers in filenames and album title in directory name:albumr -nt adkETLicenseMIT License
Package: album-server
album-serverCitationAlbrecht, J.P.*, Schmidt, D.*, and Harrington, K., 2021. Album: a
framework for scientific data processing with software solutions of
heterogeneous tools. arXiv preprint arXiv:2110.00601.https://arxiv.org/abs/2110.00601DevelopersKyle Harrington, Max Delbrueck Center for Molecular Medicine in the
Helmholtz AssociationJan Philipp Albrecht, Max Delbrueck Center for Molecular Medicine in
the Helmholtz AssociationDeborah Schmidt, Max Delbrueck Center for Molecular Medicine in
the Helmholtz Association
Package: album-socket
album-socketCitationAlbrecht, J.P.*, Schmidt, D.*, and Harrington, K., 2021. Album: a
framework for scientific data processing with software solutions of
heterogeneous tools. arXiv preprint arXiv:2110.00601.https://arxiv.org/abs/2110.00601DevelopersKyle Harrington, Max Delbrueck Center for Molecular Medicine in the
Helmholtz AssociationJan Philipp Albrecht, Max Delbrueck Center for Molecular Medicine in
the Helmholtz AssociationDeborah Schmidt, Max Delbrueck Center for Molecular Medicine in
the Helmholtz Association
Package: albumsplit
albumsplitalbumsplit is a tool to split up full-length album mp3s into individual tracks.First, you need the mp3 file, and a tracks file, listing the temporal offset of each track, followed by its title, ie:00:00 first track
01:33 second track (where first track was a minute 33 seconds long
… etcYou can use my other tool, trackcalc, to calculate out these offsets.then you can split up the mp3 file like this:albumsplit “Album Name.mp3” tracks.txthere is a vim macro I use to reformat tracks:$Bd$0Pa 0j
Package: albus
This Python data mapper library was created thinking on simplicity learning
and using it. As opposed to other ORM options, this one will not be as powerful
and flexible in terms of queries. That is the trade-off to make it simpler to
learn and use.UsageDefining models is done using property descriptors as you would for SQLAlchemy
and Django. Querying them is completely different in regards to how we avoid
overriding Python operators or using dynamic keyword arguments.fromalbus.modelimportModelfromalbusimportfieldclassBook(Model):author=field.StringField()title=field.StringField()year=field.IntegerField()query=Book.new_query()query.filter_equals('author','John Doe')query.filter_greater('year',2000)results=query.select()forcurrentinresults:print('Found:',current.title)
Package: alcali
AlcaliWhat's Alcali?Alcali is a web based tool for monitoring and administratingSaltstackSalt.FeaturesGet notified in real time when a job is created, updated or has returned.Store your jobs results by leveraging themaster_job_storesetting with database master returner.Check your minions conformity to their highstate orany state.Keep track of custom state at a glance.Use custom auth module to login into both Alcali and the Salt-api using JWT.LDAPandGoogle OAuth2authentication.Try it!If you just want to have a look, just clone therepositoryand usedocker-compose:git clone https://github.com/latenighttales/alcali.git
cd alcali
docker compose up --scale minion=2Once you see minions waiting to be approved by the master, you're good to go:...
minion_1  | [ERROR   ] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
minion_1  | [INFO    ] Waiting 10 seconds before retry.
...Just connect onhttp://127.0.0.1:8000, login with:username: admin
password: passwordand follow thewalkthrough.InstallationThe easiest way to install it is to use the saltformula.Make sure to check theinstallationdocs first!ScreenshotsDashboardMinion DetailsJob DetailsMorehere.LicenseMITImage: Jean-Philippe WMFr, derivative work : User:Benoit RochonCC BY-SA 4.0ContributingIf you'd like to contribute, check thecontributedocumentation on how to install a dev environment and submit PR!And if you like this project, consider donating:via GitHub Sponsors, orChangelog[3006.3.0] devint: bugfix and deps updatefeat: i18n (#353)3003.1.0- 2021-04-23int: updated deps (#317)fix: py36 compatible (#306)fix: non-standard-minion-response (#281)int: offline version (#225)3000.1.0- 2020-04-26use salt 3000updated deps (#185)fix: UI errors (#187)fix: users are able to reset their pw (#184)fix: responsive layout (#178)2019.2.4- 2020-02-14fix: password update (#164)update deps 20200207 (#155)fix: Less restrictive minion_id regex and error mgmt (#140)2019.2.3- 2019-12-10feat: Google OAuth2 (#130)updated deps (#111)feat: Group jobs by jid (#106)int: error mgmt (#105)fix: favicon and boolrepr (#102)fix: removed useless icon files, fixed boolean repr (#100)fix: state render,Layout removed adminfeat: predefined jobs (#98)fix: Boolean repr (#97)feat: LDAP auth backend (#84)fix: async run, updated deps (#82)feat: fold/unfold allfeat: display current version in gui and cli dynamically (#76)fix: timezone, success bool for custom modules (#75)async link: resolve #69 (#74)feat: schedule disable/enable (#72)fix: schedules, keys, updated vuetify (#71)int: updated docs, added contribute section, screenshots (#62)2019.2.2- 2019-09-21use slim docker imageAdded rest authAdded pillar overrideUpdated deps2019.2.1- 2019-09-21Frontend refactor
Package: alchemical-storage
alchemical-storagealchemical-storageis a library intended to bridge CRUD operations with SQLAlchemy query constructsInstallpip install alchemical-storageBasic Usagealchemical-storageassumes that you have set up a session (or scoped_session) for your database. This is assumed to have been imported assessionin the following example. The table for the defined model is also assumed to be in the database.Set up the model."""package/models.py"""fromsqlalchemyimportormclassModel(orm.DeclarativeBase):"""Model class"""__tablename__='models'attr:orm.Mapped[int]=orm.mapped_column(primary_key=True)attr2:orm.Mapped[int]attr3:orm.Mapped[str]Set up the storage schema. The Meta class in the schema should set load_instance toTrue."""package/schema.py"""frommarshmallow_sqlalchemyimportSQLAlchemyAutoSchemafrompackageimportModelclassModelSchema(SQLAlchemyAutoSchema):"""Model storage schema"""classMeta:model=Modelload_instance=TrueCreate a DatabaseStorage instance. Set theprimary_keykeyword argument (defaults to 'slug') to the primary key of the model."""___main___.py"""frompackageimportmodelsfrompackage.schemaimportModelSchemastorage=DatabaseStorage(session,models.Model,ModelSchema,primary_key="attr",)Use the DatabaseStorage instance.# __main__.py continued...storage.get(1)# Gets a record from the databasestorage.put(2,{'attr2':1,'attr3':'test'})# Puts a record to the databasestorage.patch(1,{'attr2':42})# Update a record in the databasestorage.delete(1)# Delete a record from the databasestorage.index()# Get an index of records from the databaseCommit changes to the database.session.commit()LicenseMIT License. See LICENSE file for more details.
Package: alchemist.audit
Alchemist auditing provides a facility for auditing changes to an
object to a relational database. It automatically captures and records
events for object added, modified, deleted.  in addition if the
respective packages are present it also records worklow events (
ore.workflow ) and versioning ( alchemist.versioning ).All events record time, action, active user, in addition modification
events capture field change descriptions, to allow for listing
attributes changed.Auditing can be done on either a per table or0.3.4 - December 23rd, 2008packaging fixes ( template not included in package data )0.3.2 - December 17th, 2008update package metadata / classifiersdon’t require active user for auditing functionalityautomation api for adapter registration and recorder generation ( provideRecorder )0.3.0 - June 1st, 2008First public release
Package: alchemist_lib
Alchemist_libDescriptionAlchemist_lib is an automatic trading library for cryptocurrencies that allow to personalize the portfolio based on a specific strategy.FeaturesEasy to use: The interface is similar tozipline, a popular backtesting software for stocks.Portfolio personalization: You can choose the weight of every element on the portfolio.Most common technical analysis indicators already integrated.Execute orders on the most famous exchanges.Possibility to visualize the asset allocation and the portfolio value charts for every strategy thanks toalchemist-view.Fully documented and hosted onreadthedocs.Supported ExchangesThe following exchanges are available to trade on:PoloniexBittrexRequirementsPython3MysqlInstallationSee theinstalling documentation.Code exampleStrategy description:Hold a portfolio equally composed by Ethereum and BitcoinCash.from alchemist_lib.portfolio import LongsOnlyPortfolio
from alchemist_lib.broker import PoloniexBroker
from alchemist_lib.tradingsystem import TradingSystem
import alchemist_lib.exchange as exch
import pandas as pd


def set_weights(df):
    df["weight"] = 0.5 #Because there are just two assets.
    return df

def select_universe(session):
    poloniex_assets = exch.get_assets(session = session, exchange_name = "poloniex")

    my_universe = []
    for asset in poloniex_assets:
        if asset.ticker == "ETH" or asset.ticker == "BCH":
            my_universe.append(asset)
    return my_universe

def handle_data(session, universe):
    #The value of alpha is useless in this case.
    df = pd.DataFrame(data = {"asset" : universe, "alpha" : 0}, columns = ["asset", "alpha"]).set_index("asset")
    return df


algo = TradingSystem(name = "BuyAndHold",
                     portfolio = LongsOnlyPortfolio(capital = 0.02),
                     set_weights = set_weights,
                     select_universe = select_universe,
                     handle_data = handle_data,
                     broker = PoloniexBroker(api_key = "APIKEY",
                                             secret_key = "SECRETKEY"),
                     paper_trading = True)
algo.run(delay = "15M", frequency = 1)ScreenshotBasic conceptsAlchemist_lib works with three methods:set_weightsselect_universehandle_dataset_weightsis used to set the weight that an asset has respect the others within the portfolio.
The sum of every weight must be close to 1. Must returns a pandas dataframe with two columns: “asset” and “alpha”, where “asset” is the index.select_universefilters the assets saved on the database and returns just the ones the strategy will take into consideration.handle_datais the most importat one because it manages the trading logic. Must returns a pandas dataframe with two columns: “asset” and “alpha”, where “asset” is the index.You can find other examples in theexamplesdirectory.Reporting bugsAbug trackeris provided by Github.
Package: alchemistry-flamel
FlamelThe aim of the project is to develop acommand line interface (CLI) toalchemlyb, the well-tested and
actively developed library for alchemical free energy calculations. It is
supposed tobecome the successorof the now unsupportedalchemical-analysisscript.InstallationThe package containingflamelis calledalchemistry-flamel. The
latest release can be installed withpipor alternatively, install
from source. Both methods are explained below.pipflamelis available from the Python Package index (PyPi) under the
namealchemistry-flameland can be installed withpipinstallalchemistry-flamelThe installed package makes theflamelscript available.From sourcesClone theflamelrepositoryhttps://github.com/alchemistry/flameland install withpipgitclonegit@github.com:alchemistry/flamel.git
pipinstallflamel/UninstallingIf you want to removeflamelafter having it installed withpip,
runpipuninstallalchemistry-flamelto deleteflameland its associated files.UsageThe analysis can be invoked with the following commandflamel-aGROMACS-ddhdl_data-f10-g-i50-jresult.csv-mTI,BAR,MBAR-ndE-oout_data-pdhdl-qxvg-r3-s50-t298-v-wRunflamel -hto see the full description of the options.OutputThis script is a wrapper around theABFEworkflow inalchemlyb.
The script will generate the output from ABFE workflow, includingO_MBAR.pdf,dF_t.pdf,dF_state.pdf,dF_t.pdf,dhdl_TI.pdf.The script will also generate theresult.csvandresult.p, which is a
pandas DataFrame summarising the results. ::TI  TI_Error    BAR  BAR_Error   MBAR  MBAR_Error
States 0 -- 1  0.962     0.007  0.956      0.007  0.964       0.006
       1 -- 2  0.567     0.006  0.558      0.006  0.558       0.004
       2 -- 3  0.264     0.005  0.258      0.005  0.254       0.004
       3 -- 4  0.035     0.004  0.035      0.004  0.030       0.003
Stages fep     1.828     0.014  1.806      0.016  1.807       0.014
       TOTAL   1.828     0.014  1.806      0.011  1.807       0.014NameIn the tradition to associate free energy estimations with alchemistry it's
named afterNicolas FlamelCopyrightCopyright (c) 2022, theAUTHORS.Acknowledgements@harlor startedflamelas a replacement for the originalalchemical-analyis.pyscript.Project template based on theComputational Molecular Science Python
Cookiecutterversion 1.1.
Package: alchemist.traversal
Traversal of objects by foreign keys for relational applicationsChanges0.4.0 - December 17th, 2008switch to buildout based testing environmentfix, only set parent on domain container if we have an instancefix, if parent not specified, don’t set constraint0.3.1 - June 1st, 2008fix an initialization exception during sqlalchemy introspection of variables,
inspection of managed container properties on a class/ie no instance is passed,
returns a container without query modifiers.
Package: alchemist.ui
0.4.2 - December 23rd, 2008fix packaging issue with binary egg0.4.1 - December 17th, 2008fix, unique validator short circuits on form field validation and invariantsremoved browser menu registrationsdisallow field fields as container columnsredo unique validation in the presence of property/column aliasesserver side sort, batching, paging json container views ( extjs / yui compatible )traversable viewlet
Package: alchemize
Alchemize is designed to be a simple serialization and deserialization
library for Python. The primary use-case for Alchemize is to allow for
users to quickly build ReST clients using simple model mappings to
transform data from Python objects to a serializable form and vice-versa.The power of Alchemize is that you can use it to augment existing
model structures from other libraries. For example, you can use Alchemize
to easily serialize your ORM models.InstallationAlchemize is available on PyPIpipinstallalchemizeDocumentation:ReadTheDocsTravis CI:Coverage:
Package: alchemlyb
alchemlybmakes alchemical free energy calculations easier to do
by leveraging the full power and flexibility of the PyData stack. It
includes:Parsers for extracting raw data from output files of common
molecular dynamics engines such asGROMACS,AMBER,NAMDandother simulation codes.Subsamplers for obtaining uncorrelated samples from timeseries data
(including extracting independent, equilibrated samples[Chodera2016]as implemented in thepymbarpackage).Estimators for obtaining free energies directly from this data, using
best-practices approaches for multistate Bennett acceptance ratio (MBAR)[Shirts2008]and BAR (frompymbar) and thermodynamic integration (TI).InstallationInstallviapipfromPyPi (alchemlyb)pip install alchemlybor as acondapackage from theconda-forge (alchemlyb)channelconda install -c conda-forge alchemlybUpdatewithpippip install --update alchemlybor withcondarunconda update -c conda-forge alchemlybto get the latest released version.Getting involvedContributions of all kinds are very welcome.If you have questions or want to discuss alchemlyb please post in thealchemlyb Discussions.If you have bug reports or feature requests then please get in touch with us through theIssue Tracker.We also welcome code contributions: have a look at ourDeveloper Guide. Open an issue with the proposed fix or change in theIssue Trackerand submit a pull request against thealchemistry/alchemlybGitHub repository.References[Shirts2008]Shirts, M.R., and Chodera, J.D. (2008). Statistically optimal
analysis of samples from multiple equilibrium states. The Journal of Chemical
Physics 129, 124105.[Chodera2016]Chodera, J.D. (2016). A Simple Method for Automated
Equilibration Detection in Molecular Simulations. Journal of Chemical Theory
and Computation 12, 1799–1805.
Package: alchemtest
alchemtestis a collection of test datasets for alchemical free energy calculations.
The datasets come from a variety of software packages, primarily molecular
dynamics engines, and are used as the test set foralchemlyb.
The package is standalone, however, and can be used for any purpose.Datasets are released under anopen licensethat conforms to theOpen Definition 2.1that allows free use, re-use, redistribution,
modification, separation, for any purpose and without a charge.
Package: alchemy
Experiments logging & visualizationProjectmanifest. Part ofCatalyst Ecosystem:Alchemy- Experiments logging & visualizationCatalyst- Accelerated Deep Learning Research and DevelopmentReaction- Convenient Deep Learning models servingInstallationCommon installation:pipinstall-UalchemyPrevious namealchemy-catalystGetting startedGotoAlchemyand get your personal token.Run followingexample.py:importrandomfromalchemyimportLogger# insert your personal token heretoken="..."project="default"forgidinrange(1):group=f"group_{gid}"foreidinrange(2):experiment=f"experiment_{eid}"logger=Logger(token=token,experiment=experiment,group=group,project=project,)formidinrange(4):metric=f"metric_{mid}"# let's sample some random datan=300x=random.randint(-10,10)foriinrange(n):logger.log_scalar(metric,x)x+=random.randint(-1,1)logger.close()Now you should see your metrics onAlchemy.Catalyst.EcosystemGotoAlchemyand get your personal token.Log your Catalyst experiment withAlchemyLogger:fromcatalyst.dlimportSupervisedRunner,AlchemyLoggerrunner=SupervisedRunner()runner.train(model=model,criterion=criterion,optimizer=optimizer,loaders=loaders,logdir=logdir,num_epochs=num_epochs,verbose=True,callbacks={"logger":AlchemyLogger(token="...",# your Alchemy tokenproject="your_project_name",experiment="your_experiment_name",group="your_experiment_group_name",)})Now you should see your metrics onAlchemy.ExamplesFor mode detailed tutorials, please followCatalyst examples.
Package: alchemyapi_python
# alchemyapi_python #A sdk for AlchemyAPI using Python## AlchemyAPI ##AlchemyAPI offers artificial intelligence as a service. We teach computers to learn how to read and see, and apply our technology to text analysis and image recognition through a cloud-based API. Our customers use AlchemyAPI to transform their unstructured content such as blog posts, news articles, social media posts and images into much more useful structured data.AlchemyAPI is a tech startup located in downtown Denver, Colorado. As the world’s most popular text analysis service, AlchemyAPI serves over 3.5 billion monthly API requests to over 35,000 developers. To enable our services, we use artificial intelligence, machine learning, neural networks, natural language processing and massive-scale web crawling. Our technology powers use cases in a variety of industry verticals, including social media monitoring, business intelligence, content recommendations, financial trading and targeted advertising.More information at:http://www.alchemyapi.com## API Key ##To use AlchemyAPI, you’ll need to obtain an API key and attach that key to all requests. If you do not already have a key, please visit:http://www.alchemyapi.com/api/register.html## Requirements ##The Python SDK requires that you install the [Requests Python module](http://docs.python-requests.org/en/latest/user/install/#install).
Package: alchemy-catalyst
Experiments logging & visualizationPart ofCatalyst Ecosystem. Projectmanifest.InstallationCommon installation:pipinstall-Ualchemy-catalystGetting startedGotoAlchemyand get your personal token.Run followingexample.py:importrandomfromalchemyimportLogger# insert your personal token heretoken="..."project="default"forgidinrange(1):group=f"group_{gid}"foreidinrange(2):experiment=f"experiment_{eid}"logger=Logger(token=token,experiment=experiment,group=group,project=project,)formidinrange(4):metric=f"metric_{mid}"# let's sample some random datan=300x=random.randint(-10,10)foriinrange(n):logger.log_scalar(metric,x)x+=random.randint(-1,1)logger.close()Now you should see your metrics onAlchemy.Catalyst.EcosystemGotoAlchemyand get your personal token.Log your Catalyst experiment withAlchemyRunner:fromcatalyst.dlimportSupervisedAlchemyRunnerrunner=SupervisedAlchemyRunner()runner.train(model=model,criterion=criterion,optimizer=optimizer,loaders=loaders,logdir=logdir,num_epochs=num_epochs,verbose=True,monitoring_params={"token":"...",# insert your personal token here"project":"default","experiment":"your_experiment_name","group":"your_experiment_group_name",})Now you should see your metrics onAlchemy.ExamplesFor mode detailed tutorials, please followCatalyst examples.
Package: alchemy-config
Alchemy ConfigTheaconfiglibrary provides simpleyamlconfiguration inpythonwith environment-based overrides.InstallationTo install, simply usepippipinstallalchemy-configQuick Startconfig.yamlfoo:1bar:baz:"bat"main.pyimportaconfigif__name__=="__main__":config=aconfig.Config.from_yaml("config.yaml")print(config.foo)print(config.bar.baz)exportBAR_BAZ="buz"python3main.pyCorner-case BehaviorYou CAN set builtin method names as attributes on theconfig. However, you should only access/delete them via dictionary access methods.For example:importaconfigcfg={"update":True}config=aconfig.Config(cfg)# DO NOT DO THIS:config.update# DO THIS INSTEAD:config["update"]This is because there is no way in Python to tell whether you want the method or the attribute"update"when "getting" it from the object.