Saravanan666/pypi-org huggingface dataset:
Package: atelier-ai
Atelier AIDocumentation:https://john-james-ai.github.io/atelier-aiSource Code:https://github.com/john-james-ai/atelier-aiPyPI:https://pypi.org/project/atelier-ai/Atelier AI: Studio for AI DesignersInstallationpipinstallatelier-aiDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellTestingpytestDocumentationThe documentation is automatically generated from the content of thedocs directoryand from the docstrings
of the public signatures of the source code. The documentation is updated and published as aGithub project pageautomatically as part each release.ReleasingTrigger theDraft release workflow(pressRun workflow). This will update the changelog & version and create a GitHub release which is inDraftstate.Find the draft release from theGitHub releasesand publish it. When
a release is published, it'll triggerreleaseworkflow which creates PyPI
release and deploys updated documentation.Pre-commitPre-commit hooks run all the auto-formatters (e.g.black,isort), linters (e.g.mypy,flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.You can install the hooks with (runs for each commit):pre-commitinstallOr if you want them to run only for each push:pre-commitinstall-tpre-pushOr if you want e.g. want to run all checks manually for all files:pre-commitrun--all-files
Package: atelier-toolbox
atelier-toolboxDescriptionTools for various automations 🧰.InstallationYou can install the Toolbox fromPyPI:python-mpipinstallatelier-toolboxThe package is supported on Python 3.10 and above.How to useUsage:toolbox[OPTIONS]COMMAND[ARGS]...╭─Options─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│--install-completionInstallcompletionforthecurrentshell.││--show-completionShowcompletionforthecurrentshell,tocopyitorcustomizetheinstallation.││--helpShowthismessageandexit.│╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯╭─Commands────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│businessBusinessCLITool││dwDownloadCLITool││hashHashingFilesCLITool││pdfPDFCLITool│╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯CHANGELOGPlease refer toCHANGELOG.mdLicenseMIT
Package: atelParser
atelParserscrape and parse content of ATels posted on The Astronomer's Telegram website, identify individual objects by name and coordinates.Documentation for atelParser is hosted byRead the Docs(laststable versionandlatest version). The code lives ongithub. Please report any issues you findhere.FeaturesReport the latest ATel countDownload all ATel as raw HTML pages. After a first download, can be run on a regular basis to download only new/missing ATels.Parse ATels to extract coordinates and transient source names to indexed MySQL database tables which can then be used in your own projects.
Package: ateltasdk
AteltaSDKOpen source is what we love the most. Existing mediapipe only helps us to detect and draw the pose. But just detecting poses and
drawing it is not necessarily the most important and implemented on every problem. Sometimes, we need to do a lot on top of it. Some classic
examples include:Counting the number of times a specific pose is detected. Examples include push ups and pull ups counter.Pose angle and distance calculationsPose matchingSpeed calculation etc...So in order to make stuff more flexible and more customizable, we introduce AteltaSDK. A free open source wrapper of mediapipe. Our main
goal is to provide extensibility for already existing features provided by mediapipe and build more on the top of it.Fun fact: Even our Atelta's core API services also use this sdk for all the backend computations.
Package: atenpdu
pductl - Control outlets of ATEN PE PDUsInstallationpipinstallatenpduExample configuration [~/.pductl]{"format":1,"pdus":{"pdu1":{"node":"pdu1","service":"snmp","username":"administrator","authkey":"AAAAAAAAAAAAAA","privkey":"BBBBBBBBBBBBBB"},"pdu2":{"authkey":"CCCCCCCCCCCCCC","privkey":"DDDDDDDDDDDDDD"},"pdu3":{"node":"192.168.21.19","service":"16161","username":"joe","authkey":"EEEEEEEEEEEEEE","privkey":"FFFFFFFFFFFFFF"},"pdu4":{"community":"private"},"pdu5":{}}}authkeyandprivkeyare required for SNMPv3. On absence, SNMPv2c gets used.communitydefaults toprivatefor SNMPv2c.nodedefaults to PDU entry's name.servicedefaults tosnmp, i.e. port 161.usernamedefaults toadministratorfor SNMPv3.Usagepductl[-p<PDU>]list
pductl[-p<PDU>]<on|off|reboot|status><OUTLET>[<OUTLET>...]UseALLto select all outlets.
Package: atentry
The@entrydecoratorTired of the traditional pythonif __name__ == '__main__':pattern? Try@entryinstead!@entryis designed to be a simple decorator for declaring main functions in python. In the backend, the same module name check is performed, but it keeps your code a little cleaner.UsageSimple example:fromatentryimportentry@entrydefmain():print("Hello, world!")Using a return value:fromatentryimportentry@entrydefmain()->int:print("Hello, world!")return128# Program exit codeInstallationLoading this library in your project is as simple as:# Using Poetrypoetryaddatentry# Using PiPpython3-mpipinstallatentry
Package: atenvironment
@environmentDecorator for convenient loading of environment variables.
@environment allows you to declare dependencies on environment variables so that it’s clear what needs to be set. Also, any error handling is moved away making the code clearer.Free software: MIT licenseDocumentation:https://atenvironment.readthedocs.io.Getting startedInstall @environment from pip:pip install atenvironmentUsing @environment is as simple as:from atenvironment import environment

@environment('API_KEY', 'TOKEN')
def check(a, b, c, key, token):
    # API_KEY is in key
    # TOKEN is in tokenThen call the function as:check(a, b, c)Environment variables are checked and provided to the function as trailing parameters in order of declaration. In case the token is not in environment anatenvironment.EnvironMissexception is raised.
You can also provide your own error handling function. In addition, some environment variables can be loaded directly into object variable in case instance property is to be initialized.See the docummentation for more details.History0.2.0 (2018-06-24)on error: optional function to be called if any of the environment tokens in value is not present in environmentin self: optional variable name in case instance property is to be initializedpackage slightly restructured0.1.0 (2018-06-12)First release on PyPI.
Package: aternossuser
Класс AuthКлассAuthиспользуется для авторизации в сервисе Aternos. Он имеет следующие методы:__init__(self, mail, password): конструктор класса, который инициализирует экземпляр класса с переданными параметрами email и пароля пользователя.login(self): метод, который отправляет POST-запрос на страницу авторизации Aternos с указанными email и паролем пользователя и возвращает токен сессии для использования в других методах.Класс ServerКлассServerпредоставляет методы для работы с сервером Minecraft на Aternos. Он имеет следующие методы:__init__(self, auth: Auth): конструктор класса, который принимает объект классаAuthи устанавливает связь между экземплярами классов.get_status(self): метод, который отправляет GET-запрос на страницу с информацией о сервере и возвращает его текущий статус (включен или выключен).start(self): метод, который отправляет GET-запрос на страницу для запуска сервера и возвращает идентификатор сервера.Класс FilesКлассFilesпредоставляет методы для работы с файлами на сервере Minecraft на Aternos. Он имеет следующие методы:__init__(self, auth: Auth, server: Server): конструктор класса, который принимает объекты классовAuthиServerи устанавливает связь между ними.path(self, path): метод, который отправляет GET-запрос на страницу для изменения текущей директории на указанную и возвращает полученный ответ.console(self, command): метод, который отправляет GET-запрос на страницу для выполнения команд в консоли сервера и возвращает полученный ответ.start(self): метод, который отправляет GET-запрос на страницу для запуска сервера и возвращает идентификатор сервера.
Package: atesa
A Python program for automating transition path sampling with aimless shooting, suitable for experts and novices alike.Full documentation availablehere.ATESA automates a particular Transition Path Sampling (TPS) workflow that uses the flexible-length aimless shooting algorithm ofMullenet al.2015. ATESA interacts directly with a batch system or job manager to dynamically submit, track, and interpret various simulation and analysis jobs based on one or more initial structures provided to it. The flexible-length implementation periodically checks simulations for commitment to user-defined reactant and product states in order to maximize the acceptance ratio and minimize wasted computational resources.ATESA implements automation for obtaining a suitable initial transition state, flexible-length aimless shooting, inertial likelihood maximization, committor analysis, umbrella sampling (and analysis with the Multistate Bennett Acceptance Ratio), and equilibrium path sampling. These components constitute a near-complete automation of the workflow between identifying the reaction of interest, and obtaining, validating, and analyzing the energy profile along an unbiased andbona fidereaction coordinate that describes it.At present, ATESA only supports simulations with Amber, and TORQUE/PBS or Slurm batch schedulers. If you are interested in using ATESA with another simulation engine or batch scheduler, please raise an "enhancement" issue describing your needs.CopyrightCopyright (c) 2019, Tucker BurginAcknowledgementsProject based on theComputational Molecular Science Python Cookiecutterversion 1.1.Special thanks to Samuel Ellis and the Molecular Sciences Software Institute (MolSSI).
Package: at-fetch
at_fetchpip install at_fetch
poetry add at_fetchexamplepoetry install
poetry run python -m example.start_timeusagefrom fetch.fetch import Fetch
import asyncio
import time


async def main():
    request = Fetch()
    start_time = 1533684900
    end_time = 1533687900
    symbol = "btcusdt"
    interval = "1m"
    start = time.time()
    # await asyncio.sleep(1)
    res = await request.get_all_klines_data(
        "http://47.243.179.153:8000/api/kline/spot", symbol, interval, start_time, end_time
    )
    end = time.time()
    exec_time = end - start
    print("exec_time", exec_time)
    # res已经是按照顺序的dataframe数据格式
    print(res)


asyncio.run(main())
Package: at-fetch-data
at_fetch_datapip install at_fetch_dataapiget_all_klines_data:url:strhttp://47.243.179.153:8000/api/kline/spotsymbol: strinterval: strstart_time: intend_time: intget_kline_count:url: strhttp://47.243.179.153:8000/api/kline/spot_countsymbol: strinterval: strstart_time: intend_time: intusagefrom fetch.fetch import Fetch
import asyncio
import time


async def main():
    request = Fetch()
    start_time = 1533684900
    end_time = 1533687900
    symbol = "btcusdt"
    interval = "1m"
    start = time.time()
    # await asyncio.sleep(1)
    res = await request.get_all_klines_data(
        "http://47.243.179.153:8000/api/kline/spot", symbol, interval, start_time, end_time
    )
    end = time.time()
    exec_time = end - start
    print("exec_time", exec_time)
    # res已经是按照顺序的dataframe数据格式
    print(res)


asyncio.run(main())
Package: atflagger
atflaggerA simple flagger for continuum UWL data. Flag persistent RFI first, then run this auto-flagger.InstallationInstalling requirespipandpython3(3.8 and up).Stable version:pip install atflaggerLatest version:pip install git+https://github.com/AlecThomson/atflaggerUsage❯ atflagger -h
usage: atflagger [-h] [-i] [-b BEAM] [-s SIGMA] [-n N_WINDOWS] [-w] [-r REPORT] [-c CORES] [-t THREADS_PER_WORKER] filenames [filenames ...]

atflagger - Automatic flagging of UWL data. This flagger divides each subband into a number of windows, and then uses sigma clipping to remove outliers. The number of windows is set by the 'n-windows' argument, and the number of sigma is set by the 'sigma' argument. Parallelism is handled by dask.distributed. The 'cores' argument sets the number of
Dask workers, and 'threads-per-worker' sets the number of threads. See https://docs.dask.org/en/stable/deploying-python.html#reference for more information.

positional arguments:
  filenames             Input SDHDF file(s)

optional arguments:
  -h, --help            show this help message and exit
  -i, --inplace         Update flags in-place (default: create new file)
  -b BEAM, --beam BEAM  Beam label
  -s SIGMA, --sigma SIGMA
                        Sigma clipping threshold
  -n N_WINDOWS, --n-windows N_WINDOWS
                        Number of windows to use in box filter
  -w, --use-weights     Use weights table instead of flag table
  -r REPORT, --report REPORT
                        Optionally save the Dask (html) report to a file
  -c CORES, --cores CORES
                        Number of workers to use (default: Dask automatic configuration)
  -t THREADS_PER_WORKER, --threads-per-worker THREADS_PER_WORKER
                        Number of threads per worker (default: Dask automatic configuration)
Package: atg
$ atg Mountain View
Their timezone is "America/Los_Angeles"
Their time: Sat Jul  4 07:13:34 2015
People there may be sleeping.
Convenient time slots:
    08:00 to 11:00 here i.e. 19:30 to 22:30 there
    20:30 to 22:30 here i.e. 08:00 to 10:00 thereFeaturesGet the timezone for a random address.Current time anywhere.Guesses about what people may be doing.Helps you schedule meetings by providing you spans of convenient times.InstallationThis is a Python package, which can be simply installed through pip:# $HOME/.local/bin should be in $PATH for this to work.$pipinstall--useratgand to install it globally, run:$sudopipinstallatgUsageGet all the information about the time atMountain View:$ atg Mountain View
Their timezone is "America/Los_Angeles"
Their time: Sat Jul  4 07:13:34 2015
People there may be sleeping.
Convenient time slots:
    08:00 to 11:00 here i.e. 19:30 to 22:30 there
    20:30 to 22:30 here i.e. 08:00 to 10:00 thereIf you want to avoid querying the timezone to Google’s maps api everytime, you
can directly use the timezone in further requests:$ atg America/Los_AngelesBy default,atgcalculates time slots based to avoid sleep periods. You can
use--dndto customize this. For example, to avoid disturbing at work/sleep:$ atg Mountain View --dnd work --dnd sleepYou can also specify who the time slots should be convenient to. By default it
will consider both. If you want the convenient timings for the remote location:$ atg Mountain View -c thereYou may also use the flag--convenient-forflag. If you don’t care about the
remote location’s convenience:$ atg Mountain View --convenient-for hereHelpYou can always refer to the command usage throughatg-h.usage: atg [-h] [--dnd {work,sleep,available}] [-c {here,there}]
           [-m MY_LOCATION] [-x {timezone,now,default,status,schedule}]
           remote [remote ...]

positional arguments:
  remote                the remote location

optional arguments:
  -h, --help            show this help message and exit
  --dnd {work,sleep,available}
                        the do not disturb activities (default: sleep)
  -c {here,there}, --convenient-for {here,there}
                        which side's convenience should be considered
                        (default: both)
  -m MY_LOCATION, --my-location MY_LOCATION
                        specify your own location (default from system time)
  -x {timezone,now,default,status,schedule}, --command {timezone,now,default,status,schedule}
                        the command for atg to executeDeveloping and Testingatguses thepytz,tzlocalandenum34(for backwards compatibility) as dependencies.To set things up for development, create and activate avirtualenvand run$ pip install -e .[dev,test]
$ python setup.py developTestsRun tests via:$ nosetestsBugsProbably lots. Please send us reports on the Githubissue tracker. Patches are welcome too.
Package: atgcN-count
atgcN_count1 IntroductionatgcN_countis a tool to stat the counts and percentage of each base in fasta file.2 Installationpip install atgcN_countThere will be a commandatgcN_countcreated under the same directory as yourpipcommand.3 Usageusage: atgcN_count[-h] [-i <file>] [-v] [-d <int>] [-N]

To stat the counts of each base in a fasta file.

optional arguments:
  -h, --help  show this help message and exit
  -i <file>   input fasta file
  -v          also output statistics for each sequence [False]
  -d <int>    decimals for output result [2]
  -N          do not take non-ATGC bases into account when caculate percentage
              [False]AuthorGuanliang MENGCitationCurrently I have no plan to publishatgcN_count.
Package: at-hackerspace
12:01 < tlevine> Hi! I'm visiting from http://sudoroom.org/ . Is anyone inside? I'm not quite convincedby https://at.hackerspace.pl/12:03 <@emeryth> tlevine: hi, the website really works, it's too early for hacking12:04 <@emeryth> try again later, around 6 pm12:07 < tlevine> okay thanks12:07 -!- Petros [~Icedove@ti0019a400-0165.bb.online.no] has quit [Ping timeout: 250 seconds]12:07 < tlevine> when i get in and understand how it works, i'll document it better so random peoplelike me actually believe it12:09 <@ar> tlevine: tl;dr: it's an opt-in system where you, if you're a member, claim a network deviceas their own and if the said device has a valid dhcp lease, you get listed as being at thehackerspace12:10 <@ar> tlevine: you can also claim a device and then set it as hiddenhttps://wiki.hackerspace.pl/projects:checkinatorRun like so for testing. ::./at-hackerspace --lease-file at/test/fixtures/leases --fake --claimable-prefix=Upstream* https://code.hackerspace.pl/tomek/at/* https://github.com/tdubrownik/atIssues: https://redmine.hackerspace.pl/projects/checkinator
Package: athena2pd
athena2pdathena2pd - Amazon Athena to Pandas DataframeAboutUseful tool to help simplify the access of databases stored in Amazon Athena by using SQL and pandas DataFrames.The end user simply needs to provide the query and the bucket where the results are stored, then this package will run the query and return a DataFrame with the data in it, ready to be used for whatever is desired.InstallationUse the package managerpipto install athena2pd.pipinstallathena2pdUsageBefore use, you will need an AWS key pair, and an IAM profile set up to access both Amazon Athena and S3.Using local .aws/ files is the safest way to connect, rather than providing the keys in the code. See the example files below:The.aws/credentialsfile is set up like this:[default]
aws_access_key_id = {access_key_id}
aws_secret_access_key = {secret_access_key}

...In addition, the.aws/configis set up similar to this:[default]
output = json
region = us-east-1

[profile athena-role]
role_arn = arn:aws:iam::{iam-id-number}:role/{role-name}
source_profile = default
region = us-east-1

...Once that is set up, in your python code, the athena2pd package can be used like so:fromathena2pdimportAthenaDFConnector# Initialize the AthenaDFConnector objectath=AthenaDFConnector(aws_profile_name='athena-role')# Example SQL querysql_query='''SELECT COUNT(*) AS CountFROM testcatalog.testdatabase.testtable'''# Example output locationoutput_loc='s3://bucket-name/sub/folder'# Query Athena and load into a pandas DataFramedf=ath.query(query_string=sql_query,s3_output_location=output_loc)ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: athena-mathlab
ATHENA is a Python package for reduction of high dimensional parameter spaces in the context of numerical analysis. It allows the use of several dimensionality reduction techniques such as Active Subspaces (AS), Kernel-based Active Subspaces (KAS), and Nonlinear Level-set Learning (NLL).It is particularly suited for the study of parametric PDEs, for sensitivity analysis, and for the approximation of engineering quantities of interest. It can handle both scalar and vectorial high dimensional functions, making it a useful tool also to reduce the burden of computational intensive optimization tasks.
Package: athenapp
This folder contains wrapper functions for the python extension of Athena/HARP.It uses Cython as the software to extend the existing C++ modulesTo install cython, execute:pip install CythonMore information can be found athttp://docs.cython.org/I found that it is hard to distribute cython project to pythonHere's the problems I encountered1. the extern keywords import header files counting from the 'setup.py' directory2. the pxd file uses relative import3. the pyx file uses absolute import4. pypi needs manylinux tagsee discuss at:https://stackoverflow.com/questions/50690526/how-to-publish-binary-python-wheels-for-linux-on-a-local-machinehttps://github.com/pypa/manylinuxhttps://github.com/pypa/python-manylinux-demoCheck wiki page on continuous integrationhttps://en.wikipedia.org/wiki/Continuous_integrationHow to distribution a cython packagehttps://stackoverflow.com/questions/47042483/how-to-build-and-distribute-a-python-cython-package-that-depends-on-third-party
Package: athena-sanity
Athena: Sanity Checking FrameworkAthena is a versatile sanity checking framework designed to simplify the process of creating and running validation procedures, known as Sanity-Check. These checks can be executed in any software environments with Python interpreters, especially in DCC (Digital Content Creation) software, or in standalone across all operating systems.Getting StartedTo quickly get started with Athena, follow these steps:PrerequisitesEnsure you have Python >3.8 installed. Athena has no external dependencies.InstallingYou can install Athena using pip:pipinstallathena-sanityOr download the latest releasehere.Usage ExampleYou can load a blueprint and run all it's processes, or query one single process to run:importathenaregister=athena.AtCore.AtSession().registerregister.loadBlueprintFromPythonImportPath('athena.examples.blueprint.exampleBlueprint')blueprint=register.blueprintByName('exampleBlueprint')# processor = blueprint.processorByName('exampleProcess')  # To get a single processor.forprocessorinblueprint.processors:result=processor.check()forcontainerinresult:print(container,container.status)forfeedbackincontainer:print('\t'+str(feedback))Alternatively, you can skip the blueprint and just run a process with a default configuration or use your own by passing extra arguments to theProcessor:importathenaprocessor=athena.AtCore.Processor('athena.examples.process.exampleProcess')result=processor.check()forcontainerinresult:print(container,container.status)forfeedbackincontainer:print('\t'+str(feedback))You can find examples on how to write a Process or BlueprinthereRunning the TestsFull support for unit test will come later.VersioningAthena follows the principles ofSemantic Versioning (SemVer). Check thetags on this repositoryfor available versions.AuthorsGregory Pijat-Author-GitHubSee the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GPL-3.0 License - see theLICENSEfile for details.MoreFor an enhanced experience, check out the available UI on Gumroad. (Availablesoon)