Saravanan666/pypi-org huggingface dataset:
Package: gerador-posts
Gerador de postsGerador de posts baseado em templates e dados armazenados em arquivos de dados (csv e yaml).Essa aplicação surgiu da necessidade de gerar textos a partir de um template, cujos dados deveriam ser coletados de um arquivo .csv e .yaml. Então, é isso que esse programa faz: ler dados de um arquivo .csv, outros dados de um arquivo .yaml e preenche um ou mais templates.Instalação(.venv)$pipinstallgerador-postsUsoCrie os arquivos de dados:Crie a pasta./dados;Dentro dessa pasta, crie dois arquivos de dados:links.csvevariaveis.yaml(os arquivos devem ter exatamente esses títulos).Escreva os templates:Crie a pasta./posts_templates;Dentro dessa pasta você pode criar quantos templates desejar, em qualquer formato de arquivo. (para inserir os dados no template use a sintaxe do Jinja2).Crie a pasta aonde os posts prontos serão armazenados:./posts_prontos;Execute o pacote:(.venv)$gerar-postsFeito! Seus posts estão prontos e armazenados na pasta./posts_prontos.ExemplosVocê pode encontrar alguns exemplos de uso desse pacote em:https://github.com/cecivieira/gerador-posts-exemplos.
Package: gerador-senhas
package_nameDescription.
O pacote gerador_senha é utilizado para:
- Gerar senhas de tamanhos variádos que podem ou não conter letras, números e caracteres especiais, de acordo com especificações prévias.
- Verificar se na senha gerada estão presentes os itens letra, números e caracteres especiais, especificados previamente.InstallationUse the package managerpipto install package_namepipinstallgerador_senhaUsagefromgerador_senhasimportconstrutor_senhaAuthorRafael Rodrigues MateusLicenseMIT
Package: geradorstr
String inteligente: feito para gerar uma sequência de linhas com partes fixas
e outras dinâmicas.
Ex: insert sql.Entre “” serão sempre fixos.
Os parâmetros dinâmicos vão aparecer na ordem que foram criados.
Saída no stdout.geradorstr “INSERT INTO PRODUTO VALUES (” parametros … N
ex: geradorstr “INSERT INTO PRODUTO VALUES (NULL, “ INT “,” PRODUTO “, “ PALAVRA “);” 8N: quantidade de linhas que serão geradas (OBRIGATORIO)
caso não for especificado o início e fim serão sequenciais== paramêtros ==-v –verson (versão do geradorstr)
-h –help (ajuda)INT                    # sequencial, comeca de um
INT{inicio:fim}        # randomico entre inicio e fimFLOAT                  # sequencial, comeca de um
FLOAT{inicio:fim}      # randomico entre inicio e fimNOME                   # nome de pessoa aleatorioPRODUTO                # nome de produto aleatorioPALAVRA                # palavra aleatoria
PALAVRA{n}             # n palavras aletorias sepadas por espaco== exemplos ==
$ geradorstr “tenho “ INT “ “ PALAVRA ‘ que valem ‘ INT{5:10} 5
$ geradorstr “INSER INT PRODUTOS VALUES (NULL, “ PRODUTO “, “ PALAVRA{2} “, “ FLOAT{100:200} “ )” 3
$ geradorstr altura ‘ + ‘ INT 10Como instalar:$ pip install geradorstr
Package: gerald
Gerald is a general purpose toolkit written in Python for cataloguing, managing
and deploying database schemas. Its major current use is to identify the
differences between various versions of a schema. A schema is a single logical
grouping of database objects usually made up of tables, views and stored code
objects (functions and procedures).You can use Gerald to determine the differences between your development and test
environments, or to integrate changes from a number of different developers into
your integration database.Gerald is designed to be used in an Agile environment, but is useful regardless
of your development methodology.Gerald is designed from the ground up to support as many popular relational
database systems as possible. Currently it will document and compare schemas
from databases implemented in MySQL, Oracle and PostgreSQL. Other databases
will be supported in future releases.
Package: gerampai
GERAMPAIGERAMPAI (grampy atau instagram-python) merupakan tools untuk mengekstrak feed user instagram menjadi CSV. GERAMPAI merupakan implementasi dari packageinstagram-private-api.Instalasipip install gerampaiPengunaanusage:gerampai[-h][--delayDELAY][--page-sizePAGE_SIZE][--max-retryMAX_RETRY]usernameContoh Pengunaan:user@host$gerampailalalalaliz_m--page-size25Output:______                                      _
  / ____/__  _________ _____ ___  ____  ____ _(_)
 / / __/ _ \/ ___/ __ `/ __ `__ \/ __ \/ __ `/ /
/ /_/ /  __/ /  / /_/ / / / / / / /_/ / /_/ / /
\____/\___/_/   \__,_/_/ /_/ /_/ .___/\__,_/_/
          Instagram Extractor /_/ Ver. 0.1.1

User Profile
Username           : @lalalalaliz_m
Full Name          : LALISA MANOBAN�
Bussines Account   : True
Bussiness Category : Creators & Celebrities
Private            : False
Verified           : False
Website            : https://youtu.be/je_R3gEtDbw
Total Post         : 432
Followers          : 37338
Following          : 138
Biography          : 리사�~ Hello BLINKS�❤ Fan account for @lalalalisa_m • lead rapper and main dancer� Always support @blackpinkofficial

Extracting 432 of 432 data (100.00%)
Save results to lalalalaliz_m.csv and lalalalaliz_m-profile.txtResultsAplikasi akan menghasilkan 2 file yaituusername-profile.txtuntuk data profile user danusername.csvuntuk daftar postingan user dalam format csv dengan koma (,) sebagai delimiter.
Untuk kolomtaken_atdancreated_timeadalah waktu dalam format UTC, sehingga perlu diubah secara manual jika menginginkan waktu lokal.LisensiReleased under MIT License
Package: geranslator
InstallationpipinstallgeranslatorConfiguration.geranslator-config.yamlIt's gonna be created for you. 😌geranslator:lang_dir:langlang_files_ext:jsonprovider:googleorigin_lang:entarget_langs:[fr,ar]lang_dir: Where your translation files live.lang_files_ext: Your translation files extension.provider: Provider you want to translate your file.origin_lang: The origin language you already have.target_langs: Languages you want your file to get translated to.supported extensions: json, yaml, yml, posupported providers: google, deeplUsageCLIgeranslatorSupported optionsoptionshortdescription--provider-pTo specify provider.--lang-dir-dTo specify translation files directory.--extension-eTo specify translation files format.--origin-lang-oTo specify the origin language.--target-langs-tTo specify target languages.geranslator--provider=deepl--origin-lang=en--target-langs=es,ptgeranslator-pdeepl-oen-tes,ptNoteKeep in mind that default values are on.geranslator-config.yamlIDEThis will use the configuration as defaultfromgeranslatorimportGeranslatorGeranslator().translate()You can customize it using the following methods. 😃fromgeranslatorimportGeranslatorgeranslator=Geranslator()geranslator.set_provider('google')geranslator.set_lang_dir('translation')geranslator.set_origin_lang('en')geranslator.set_target_lang(['ar','fr'])geranslator.set_lang_files_extension('json')geranslator.translate()You can chain them too 😮fromgeranslatorimportGeranslatorGeranslator().set_provider('google').set_lang_dir('translation').set_origin_lang('en').set_target_lang(['ar','fr']).set_lang_files_extension('json').translate()
Package: gerapy
GerapyDistributed Crawler Management Framework Based on Scrapy, Scrapyd, Scrapyd-Client, Scrapyd-API, Django and Vue.js.DocumentationDocumentation is available online athttps://docs.gerapy.com/andhttps://github.com/Gerapy/Docs.SupportGerapy is developed based on Python 3.x. Python 2.x may be supported later.UsageInstall Gerapy by pip:pip3installgerapyAfter the installation, you need to do these things below to run Gerapy server:If you have installed Gerapy successfully, you can use commandgerapy. If not, check the installation.First use this command to initialize the workspace:gerapyinitNow you will get a folder namedgerapy. Also you can specify the name of your workspace by this command:gerapy init <workspace>Thencdto this folder, and run this command to initialize the Database:cdgerapy
gerapymigrateNext you need to create a superuser by this command:gerapy createsuperuserThen you can runserver by this command:gerapyrunserverThen you can visithttp://localhost:8000to enjoy it. Also you can visthttp://localhost:8000/adminto get the admin management backend.If you want to run Gerapy in public, just run like this:gerapy runserver 0.0.0.0:8000Then it will run with public host and port 8000.In Gerapy, You can create a configurable project and then configure and generate code of Scrapy automatically. But this module is unstable, we're trying to refine it.Also you can drag your Scrapy Project toprojectsfolder. Then refresh web, it will appear in the Project Index Page and comes to un-configurable, but you can edit this project through the web page.As for deployment, you can move to Deploy Page. Firstly you need to build your project and add client in the Client Index Page, then you can deploy the project just by clicking button.After the deployment, you can manage the job in Monitor Page.DockerJust run this command:docker-compose upThen it will run at port 8000. You can use the temp admin account (username: admin, password: admin) to login. And please change the password later for safety.Command Usage:docker run -d -v <workspace>:/home/gerapy -p <public_port>:<container_port> germey/gerapyPlease specify your workspace to mount Gerapy workspace by-v <workspace>:/app/gerapyand specify server port by-p <public_port>:<container_port>.If you run Gerapy by Docker, you can visit Gerapy website such ashttp://localhost:8000and enjoy it, no need to do other initialzation things.TodoListAdd Visual Configuration of Spider with Previewing WebsiteAdd Scrapyd Auth ManagementAdd Gerapy Auth ManagementAdd Timed Task SchedulerAdd Visual Configuration of ScrapyAdd Intelligent Analysis of Web PageCommunicationIf you have any questions or ideas, you can sendIssuesorPull Requests, your suggestions are really import for us, thanks for your contirbution.
Package: gerapy-item-pipeline
Gerapy Item PipelineThis is a package for supporting Item Pipelines in Scrapy, also this
package is a module inGerapy.Installationpip3installgerapy-item-pipelineUsageThese are all kinds of the storage implemented.MongoDBMONGODB_CONNECTION_STRING='localhost'MONGODB_DATABASE_NAME='default'MONGODB_UPSERT=TrueMONGODB_COLLECTION_NAME_FIELD='mongodb_collection_name'MONGODB_COLLECTION_NAME_DEFAULT='default'MONGODB_ITEM_PRIMARY_KEY_FIELD='primary_key'MONGODB_ITEM_PRIMARY_KEY_DEFAULT='id'
Package: gerapy-prometheus-exporter
Gerapy Prometheus ExporterThis is a package for supporting Prometheus in Scrapy, also this
package is a module inGerapy.And the source code is modified fromhttps://github.com/rangertaha/scrapy-prometheus-exporter.Installationpip3installgerapy-prometheus-exporterUsageSet it to settings.py:EXTENSIONS={'gerapy_prometheus_exporter.extension.WebService':500,}By default the extension is enabled. To disable the extension you need to setPROMETHEUS_EXPORTER_ENABLEDto False.The web server will listen on a port specified inPROMETHEUS_EXPORTER_PORT(by default, it will try to listen on port 9410)The endpoint for accessing exported metrics is:http://0.0.0.0:9410/metricsSettingsThese are the settings that control the metrics exporter:PROMETHEUS_EXPORTER_ENABLEDDefault: TrueA boolean which specifies if the exporter will be enabled (provided its extension is also enabled).PROMETHEUS_EXPORTER_PORTDefault: [6080]The port to use for the web service. If set to None or 0, a dynamically assigned port is used.PROMETHEUS_EXPORTER_HOSTDefault: '0.0.0.0'The interface the web service should listen on.PROMETHEUS_EXPORTER_PATHDefault: 'metrics'The url path to access exported metrics Example:http://0.0.0.0:9410/metricsPROMETHEUS_EXPORTER_UPDATE_INTERVALDefault: 5This extensions periodically collects stats for exporting. The interval in seconds between metrics updates can be controlled with this setting.
Package: gerapy-rabbitmq
Gerapy RabbitMQThis is a package for supporting distribution in Scrapy using RabbitMQ, also this
package is a module inGerapy.InstallationYou can install with this command:pip3installgerapy-rabbitmqUsageRequired configuration:# Use RabbitMQ for queueSCHEDULER="gerapy_rabbitmq.scheduler.Scheduler"SCHEDULER_QUEUE_KEY='%(spider)s_requests'# RabbitMQ Connection Parameters, see https://pika.readthedocs.io/en/stable/modules/parameters.htmlRABBITMQ_CONNECTION_PARAMETERS={'host':'localhost'}# Use Redis for dupefilterDUPEFILTER_CLASS="gerapy_redis.dupefilter.RFPDupeFilter"SCHEDULER_DUPEFILTER_KEY='%(spider)s:dupefilter'Optional configuration:# RabbitMQ Queue ConfigurationSCHEDULER_QUEUE_DURABLE=TrueSCHEDULER_QUEUE_MAX_PRIORITY=100SCHEDULER_QUEUE_PRIORITY_OFFSET=30SCHEDULER_QUEUE_FORCE_FLUSH=TrueSCHEDULER_PERSIST=FalseSCHEDULER_IDLE_BEFORE_CLOSE=0SCHEDULER_FLUSH_ON_START=FalseSCHEDULER_PRE_ENQUEUE_ALL_START_REQUESTS=TrueMoreFor more detail, you can refer toexample.RabbitMQ Preview
Package: gerapy-team
GerapyDistributed Crawler Management Framework Based on Scrapy, Scrapyd, Scrapyd-Client, Scrapyd-API, Django and Vue.js.DocumentationDocumentation is available online athttps://docs.gerapy.com/andhttps://github.com/Gerapy/Docs.SupportGerapy is developed based on Python 3.x. Python 2.x may be supported later.UsageInstall Gerapy by pip:pip3installgerapyAfter the installation, you need to do these things below to run Gerapy server:If you have installed Gerapy successfully, you can use commandgerapy. If not, check the installation.First use this command to initialize the workspace:gerapyinitNow you will get a folder namedgerapy. Also you can specify the name of your workspace by this command:gerapy init <workspace>Thencdto this folder, and run this command to initialize the Database:cdgerapy
gerapymigrateNext you need to create a superuser by this command:gerapy createsuperuserThen you can runserver by this command:gerapyrunserverThen you can visithttp://localhost:8000to enjoy it. Also you can visthttp://localhost:8000/adminto get the admin management backend.If you want to run Gerapy in public, just run like this:gerapy runserver 0.0.0.0:8000Then it will run with public host and port 8000.In Gerapy, You can create a configurable project and then configure and generate code of Scrapy automatically. But this module is unstable, we're trying to refine it.Also you can drag your Scrapy Project toprojectsfolder. Then refresh web, it will appear in the Project Index Page and comes to un-configurable, but you can edit this project through the web page.As for deployment, you can move to Deploy Page. Firstly you need to build your project and add client in the Client Index Page, then you can deploy the project just by clicking button.After the deployment, you can manage the job in Monitor Page.DockerJust run this command:docker run -d -v ~/gerapy:/app/gerapy -p 8000:8000 germey/gerapyThen it will run at port 8000. You can use the temp admin account (username: admin, password: admin) to login. And please change the password later for safety.Command Usage:docker run -d -v <workspace>:/app/gerapy -p <public_port>:<container_port> germey/gerapyPlease specify your workspace to mount Gerapy workspace by-v <workspace>:/app/gerapyand specify server port by-p <public_port>:<container_port>.If you run Gerapy by Docker, you can visit Gerapy website such ashttp://localhost:8000and enjoy it, no need to do other initialzation things.TodoListAdd Visual Configuration of Spider with Previewing WebsiteAdd Scrapyd Auth ManagementAdd Gerapy Auth ManagementAdd Timed Task SchedulerAdd Visual Configuration of ScrapyAdd Intelligent Analysis of Web PageCommunicationIf you have any questions or ideas, you can sendIssuesorPull Requests, your suggestions are really import for us, thanks for your contirbution.
Package: gerardo
gerardogerardoprovides decorators to easily compute in parallel and store the
results in a PostgreSQL database.UsageSeeexamples/example.pyfor more details.fromgerardoimportpsql_mp_insert,psql_handler# Set a PostgreSQL handlerpghost=os.environ["PGHOST"]DSN={"host":pghost,"port":"","user":"","password":"","dbname":"example_db",}PSQL_TABLE="test_table"COLUMNS=[('x','INT'),('y','INT')]PH=psql_handler(DSN,PSQL_TABLE,COLUMNS)# Define a single-variable function.@psql_mp_insert(PH)deff(x):return(x[0]+x[1],x[0]*x[1])# Compute by forming a list of argumentslist_args=[(x,y)forxinrange(5)foryinrange(10)]f(list_args)Installationpip install gerardo --userHomepagehttps://github.com/kevinywlui/gerardo
Package: gerarPalavraa
gerarPalavragerarPalavra.DependÃªnciasPython 3.6ou posteriorComeÃ§ando o usoVocÃª vai precisar instalar o pacotegerarPalavra, para isso basta executar:pip install gerarPalavraFunÃ§Ã£ogerarLetra()- Gera uma palavra dissilabaguardar(palavra)- Armazena a palavra em um arquivo .txt
Package: gerber-renderer
Gerber RendererPython library for rendering RS274X gerber PCB files as svgs or pdfs.Table of contentsInstallationUsageExamplesInstallationThe easiest way to install pandas is to install it
            via pip fromPyPI.Officially Python 3.6 and above.Installing from PyPIpipinstallgerber-rendererDependenciesPackageMinimum supported versionsvgwrite1.4svglib1.0reportlab3.5UsageGerber Renderer is a Python library for rendering RS274X gerber PCB files as svgs or
        pdfs.Importingfrom gerber_renderer import GerberFunctionsInitializeboard = Gerber.Board(file=file_path, max_height=XXX, verbose=True)file:string representing the relative path to the root folder
            containing
            the gerber filesmax_height:integer representing the maximum height (in pixels) of
            the
            rendered svg (default=500px)verbose:outputs info about the current progress to the terminal
            (default=False)Render SVGboard.render(output=output_path)output:string representing the relative path to the root folder
            to save the svg files toRender PDFboard.render_pdf(output=output_path, layer='top_copper', color='white', scale_compensation=0.0, full_page=True, mirrored=True, offset=(0, 0))output:string representing the relative path to the root folder
            to save the svg files tolayer:string representing the layer to be rendered on the pdf
            (default='top_copper') [options: copper, mask, silk]color:string representing the color of the PDF (default='white') [white
            renders negative of layer for exposing]scale_compensation:float representing the percent change in size [+0.05
            = 5% bigger] (default=0.0) [needed for some printers]full_page:boolean, when True a full A4 sized PDF is rendered
            (default=False)mirrored:boolean, when True the output PDF will be mirrored
            (default=False)offset:tuple of floats (X,Y). The rendered PDF will be offset by (X,Y)
            pixels (default=(0,0))ExamplesRender SVGfrom gerber_renderer import Gerberboard = Gerber.Board('./tests/gerber.zip', verbose=True)board.render('./tests/output')OutputRender PDFfrom gerber_renderer import Gerberboard = Gerber.Board('./tests/gerber.zip', verbose=True)board.render_pdf('./tests/output', 'top_copper', 'white', full_page=True)OutputResult
Package: gerber-writer
PurposeA Python library for writing Gerber files.No need to read the 200 page Gerber format specification.API much simpler than the Gerber format specification - 8 pages vs 200.All common pad shapes built-in.User-defined pad special shapes100% compliance with the specification, rev 2022.02.Conservative, robust output files.Risky constructs that fail in some buggy implementations are not used.Include standardized meta information needed for fabrication, such as which pads are vias.Verify whether the input parameters comply with the Gerber spec.Stateless input (the gerber_writer takes care of the Gerber states).Example:fromgerber_writerimportDataLayer,Circle,RoundedRectangletrace_width=0.127via_pad=Circle(0.508,'ViaPad')IC17_toe=RoundedRectangle(1.257,2.286,0.254,'SMDPad,CuDef')toe_point=(0,2.54)via_point=(5.08,0)top=DataLayer('Copper,L1,Top,Signal')top.add_pad(IC17_toe,toe_point,angle=45)top.add_trace_line(toe_point,(2.54,0),trace_width,'Conductor')top.add_trace_line((2.54,0),via_point,trace_width,'Conductor')top.add_pad(via_pad,via_point)withopen('gerbers\gerber_writer_example_small.gbr','w')asoutfile:top.dump_gerber(outfile)InstallationThis package requires Python 3.10 or later, you can find ithere.Windows$ py -m pip install gerber_writerLinux$ python3 -m pip install gerber_writerRequirementsPython 3.10 or higherStandard library only.OS independent.LicenseApache 2.0 licenseContactkarel_tavernier@hotmail.com
Package: gerbil-api-wrapper
GerbilExperimentApiWrapperThis API wrapper is meant to automate the testing of QA results with a standardized process
usingGerbil for QA(see alsoPaperandGitHub repository).initializationTheGerbilobject is initialized with aGold standard dataset,
atest datasetor alternatively alive annotator, as well as the usedlanguage.As part of the initialization, the files are uploaded to the Gerbil service and an experiment
is started.
If upload of the experiment configuration fails or the received results page URL is not valid,
then an exception is thrown and the api wrapper isnotinitialized.Note:File names for the upload to the Gerbil API must not exceed 100 characters.ExamplesRunning an expeiment with a local test results file:fromgerbil_api_wrapper.gerbilimportGerbilwrapper=Gerbil(gold_standard_file="original_data/qald_9_plus_test_dbpedia.json",test_results_file="original_data/qald_9_plus_test_dbpedia-test.json",test_results_name="MyTestResults",gold_standard_name="MyGoldStandard",language="de")Running an experiment with a live annotator:fromgerbil_api_wrapper.gerbilimportGerbilwrapper=Gerbil(gold_standard_file="results_gold.json",live_annotator_name="QAnswer",live_annotator_url="http://qanswer-core1.univ-st-etienne.fr/api/gerbil",language="en")After successful initialization the results can be accessed with the following functions:get_results_url()returns the URL of the Gerilb website for the started experiment.get_results()returns a dict containing the JSON-LD data for the started experiment.
Package: gerbmerge
GerbMerge is a program that combines several Gerber(i.e., RS274-X) and Excellon files into a single setof files. This program is useful for combining multipleprinted circuit board layout files into a single job.To run the program, invoke the Python interpreter on thegerbmerge.py file. On Windows, if you installed GerbMerge inC:/Python23, for example, open a command window (DOS box)and type:C:/Python23/gerbmerge.batFor more details on installation or running GerbMerge, see theURL below.
Package: gerbonara
gerbonaraTools to handle Gerber and Excellon files in Python.This repository is a friendly fork ofphsilva's pcb-toolswithextensions from opiopanintegrated. We decided to fork pcb-tools since
we need it as a dependency forgerbolyzeand pcb-tools was sometimes very
behind on bug fixes.InstallationArch Linux:yay -S python-gerbonaraPython:pipx install gerbonaraDocumentation and ExamplesDocumentation can be found at:https://gerbolyze.gitlab.io/gerbonaraIssuesPlease file any bugs at our issue tracker:https://gitlab.com/gerbolyze/gerbonara/-/issuesMade with ❤️ and 🐍.