Saravanan666/pypi-org huggingface dataset:
Package: pyformex
pyFormex is a Python framework to create, transform, manipulate and render
geometrical models of 3D structures by sequences of mathematical
operations. Unlike traditional CAD systems, pyFormex uses a powerful
Python based scripting language as the basic user input method, making
it very well suited for automated and repeated (parametric) design
procedures. It provides a wide range of operations on surface meshes,
like STL type triangulated surfaces, and FEA meshes or CFD grids.
There is also support for NURBS curves and surfaces.pyFormex is often used to create 3D models from medical scan images,
or as a pre- and post-processor for FEA programs.
But it can just as well be used to create some nice 3D renderings.
The fully open Python scripting allows you to do just about anything,
including interfacing with many other softwares and extending the program
to suit your own needs. You are only limited by your own imagination.In pyFormex, the topology of the elements can be created separately
from the final geometrical form. Often, topology is created first and
then mapped onto some real geometry. Through the scripting language,
the user can define any sequence of transformations, built from provided
or user defined functions. Since the model is stored as a script,
building parametric models is a natural thing.While pyFormex is always under development, its scripting language has
become fairly stable. Its OpenGL GUI environment allows for displaying,
manipulating and exporting the generated structures.
Package: pyformex-arraytools
pyFormex Array ToolsThis package contains a collection of numerical utilities and array tools
from thepyFormex project.
During two decades of pyFormex development, some tools were created that may
be interesting for a wider community. So we decided to publish these tools
separately to make them easier to install for those not needing the whole
pyFormex framework.RequirementsWhile these functions were historically developed for pyFormex,
the only requirement to use this package is NumPy.
It can be used outside of pyFormex without changes.Available modulesarraytools: A wide collection of numerical utilities and array tools.
Most of the include funsctions are related to processing arrays.
Some are similar to existing NumPy functions, others offer some extended
functionality. Still others give array solutions to unique problems.
See thedocumentation.varray: Defines the Varray class: a variable width 2D integer array.
Varray provides an efficient way to store large 2D tables of integer
values when the rows of the table may have different length.documentationVersionThe first two components of the pyFormex Tools version are always the same as
the corresponding pyFormex release version. A third component may be added
to tag subsequent versions of this package.LicensepyFormex is licensed under theGNU General Public License v3or later (GPLv3+) and so are these tools.
Package: pyformex-tools
pyFormex ToolsThis package contains some versatile tools that were taken from thepyFormex project.
During two decades of pyFormex development, some tools were created that may
be interesting for a wider community. So we decided to publish these tools
separately to make them easier to install for those not needing the whole
pyFormex framework.Available modulespath: Defines a class Path that allows objected oriented handling of
file system paths in the style of Python's pathlib, but more
convenient to use because our Path derives from str and can thus
be used everywhere a normal str is accepted.
See also thedocumentation.VersionThe first two components of the pyFormex Tools version are always the same as
the corresponding pyFormex release version. A third component may be added
to tag subsequent versions of this package.LicensepyFormex is licensed under the GNU General Public License v3 or later (GPLv3+)
and so are these tools.
Package: pyformlang
pyformlangA python library to manipulate formal grammar. In general, it can be used to better understand algorithms in a formal way.If you use Pyformlang in your project, please cite our paper:@InProceedings{pyformlang,
author="Romero, Julien",
title="Pyformlang: An Educational Library for Formal Language Manipulation",
booktitle="SIGCSE",
year="2021"
doi = {https://doi.org/10.1145/3408877.3432464}
}Installationpip3installpyformlangSourcesMost algorithms come from Introduction toAutomata Theory, Languages, and Computation(2nd edition) by John E. Hopcroft, Rajeev Motwani and Jeferey D. Ullman.Indexed grammars come from the original paperIndex Grammars - An Extension of Context-free grammarsby Alfred V. Aho.On the implementation of Hopcroft minimization algorithm:Implementation of Hopcroft's Algorithm, Hang ZhouIntersection CFG/Regexanda better written versionUsagePlease refer to the official documentation:pyformlang.readthedocs.io.
Package: pyfort
fortv0.0.5AboutCommand line application created in python with json and sqlite to easy store password. The stored data will be encrypted so only the person with master key will be able to access it.The data will be stored at the execution location. So if you execute the program within USB drive path, the data will be stored in the drive. You can take your data anywhere with this.Note : The data will be stored at the execution path, so keep in mind where you execute/call program from.InstallationFrom PyPIpip install pyfortFor Linuxsudo pip3 install pyfortFrom github# Clone project
git clone https://github.com/a-tharva/fort && cd fort

# Installation
python3 setup.py install

# Installation Linux
sudo python3 setup.py install

# Run setup
fortUsagefort
[Login / Signup / Erase / Ctrl+C] 

  Login:      Already created account  
  Signup:     Create new account 
  Erase:      Delete account!!!

Login:
[display / get / help / insert / logout / replace]

  display:    display whole database 
  get:        get selected password and decrypt it 
  help:       print help context
  insert:     insert into database 
  logout:     logout of current acount
  replace:    replace element from tableDevelopmentStill working on this project.Next version will store everything in sqlite database instead of storing user details in json file.Copy Key option will be added to store key seperate as user want.Password / username / website name rename feature will be added in next versionContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request.
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/Feature)Commit your Changes (git commit -m 'Add some Feature')Push to the Branch (git push origin feature/Feature)Open a Pull RequestLicenseDistributed under the MIT License.LicenseChange Log0.0.1 (15/12/2021)First Release0.0.2 (27/12/2021)Format changesPrinting table in sql table format0.0.3 (17/1/2022)Fixed and modified how encryption key is generated0.0.5 (28/1/2022)UI updatev0.0.4 final
Package: pyfortified-dateutil
pyfortified-dateutilImportant NoteWork In ProgressBadgesInstallpipinstallpyfortified-dateutilFunctionsimportpyfortified_dateutilimportdatetimeasdtmonth_first_date,month_last_date=pyfortified_dateutil.dates_month_first_last(dt.date(2016,12,20))print(month_first_date)print(month_last_date)datetime.date(2016,12,1)datetime.date(2016,12,31)importpyfortified_dateutilimportdatetimeasdtstart_dt=dt.date(2015,12,20)end_dt=dt.date(2016,1,6)fordtinpyfortified_dateutil.date_range(start_dt,end_dt):pprint(dt.strftime("%Y-%m-%d"))'2015-12-20''2015-12-21''2015-12-22''2015-12-23''2015-12-24''2015-12-25''2015-12-26''2015-12-27''2015-12-28''2015-12-29''2015-12-30''2015-12-31''2016-01-01''2016-01-02''2016-01-03''2016-01-04''2016-01-05''2016-01-06'importpyfortified_dateutilimportdatetimeasdtstart_dt=dt.date(2016,12,20)end_dt=dt.date(2018,1,11))fordtinpyfortified_dateutil.dates_months_list(start_dt,end_dt):print(dt)'2016-12''2017-01''2017-02''2017-03''2017-04''2017-05''2017-06''2017-07''2017-08''2017-09''2017-10''2017-11''2017-12'
Package: pyfortiztp
pyfortiztpPython API client library for Fortinet'sFortiZTP.The FortiZTP Cloud API provides:Retrieve provisioning status of FortiGates, FortiAPs, and FortiSwitch.Provision or un-provision devices to the cloud or on-premise targets.InstallationTo install runpip install pyfortiztp.Alternatively, you can clone the repo and runpython setup.py install.Quick StartTo begin, import pyfortiztp and instantiate the API.We need to provide our API credentials to our FortiCloud account.Optionally, its possible to set the following settings:client_idwhich defaults tofortiztp.forticloud_hostwhich defaults tohttps://customerapiauth.fortinet.comfortiztp_hostwhich defaults tohttps://fortiztp.forticloud.comCodefortiztp = pyfortiztp.api(
    userid = "<your forticloud userid>",
    password = "<your forticloud password>"
)ExamplesRetrieve a single device.Codedevice = fortiztp.devices.all(deviceSN="FGT60FTK1234ABCD")
print(device)Output{
    "deviceSN": "FGT60FTK1234ABCD",
    "deviceType": "FortiGate",
    "provisionStatus": "unprovisioned",
    "provisionTarget": null,
    "region": "global,europe,JP,US",
    "externalControllerSn": null,
    "externalControllerIp": null,
    "platform": null
}Provision one or more devices to FortiManager.deviceSNis a list of serial numbers. In this example, we only test with a single serial number.Codeupdate = fortiztp.devices.update(
    deviceSN = ["FGT60FTK1234ABCD"],
    deviceType = "FortiGate",
    provisionStatus = "provisioned",
    provisionTarget = "FortiManager",
    externalControllerIp = "<external IP of your fortimanager>",
    externalControllerSn = "<serial number of your fortimanager>"
)
print(update)Output204Note:The FortiZTP API returns the HTTP response "204 No Content" on success.Unprovision one or more devices from FortiManager.deviceSNis a list of serial numbers. In this example, we only test with a single serial number.Codeupdate = fortiztp.devices.update(
    deviceSN = ["FGT60FTK1234ABCD"],
    deviceType = "FortiGate",
    provisionStatus = "unprovisioned",
    provisionTarget = "FortiManager",
    externalControllerIp = "<external IP of your fortimanager>",
    externalControllerSn = "<serial number of your fortimanager>"
)
print(update)Output204Error messages.Error messages are provided as is, from the FortiZTP API.Codeupdate = fortiztp.devices.update(
    deviceSN = ["FGT60FTK1234ABCD", "testSN"],
    deviceType = "FortiGate",
    provisionStatus = "provisioned",
    provisionTarget = "FortiManager"
)
print(update)Output{
    "error": "invalid_request",
    "error_description": "Device testSN doesn't exist in this account"
}
Package: py-fortress
py-fortress READMEFortress Role-Based Access ControlDocument ContentsLinks to Install and Setup DocsAbout py-fortress and Role-Based Access ControlLinks to Install and Setup DocsLocated under thedocfolder and include:LinkDescription1.README-BUILDINGTo build the package from source2.README-QUICKSTARTBeginners start here3.README-LDAP-DOCKERRun LDAP in Docker4.README-INSTALLInstall with PyPI Package5.README-TESTINGRun the tests from source6.README-APIAPI Usage Guide7.README-CLICLI for RBAC Admin and Review8.README-CLI-AUTHCLI for RBAC System Testing9.README-UPGRADE-PYTHONpython-ldap dependencies10.TROUBLESHOOTING-GUIDECommon errorsAbout py-fortress and Role-Based Access ControlAbout py-fortressWhy PY-Fortress?Security access control APIs for the Python3 platform.Requires anLDAPserver to store the policy data. Support for aFilebackend in the works.Published to PyPI aspy-fortress.Compliant withANSI INCITS 359RBAC0, a.k.a "Core RBAC".Sponsored bySYMASReleased underApache License 2.0.Links to the API ModulesThe following modules have inline code docs describing the API signatures, required attributes and usages.LinkDescription1.accesscreate session, check access, add, drop active roles2.adminadd, update, delete, assign, deassign entities3.reviewread and search entities and their relationshipsRelated ProjectWe're related to theApache FortressJava implementation and share:Data Format:Apache Fortress LDAP schemaException Ids:org.apache.directory.fortress.core.SecurityExceptionMethod names and signatures:Interface AccessMgrInterface AdminMgrInterface ReviewMgrManagement interfaces. Entries created by one can be processed by the other, and can be managed using Apache Fortress' Web and Rest interfaces:Apache Fortress WebApache Fortress RestThe Apache Fortress Core has capabilities that py-fortress doesn't, like Hierarchical Roles (RBAC1), Static Separation of Duties (RBAC2) and Dynamic Separation of Duties (RBAC3).About Role-Based Access ControlMany-to-many relationship between Users, Roles and Permissions. Selective Role activation into Sessions. API to
add, update, delete and search entity data; perform access control decisions during runtime.Link toANSI INCITS 359 SpecificationMore RBAC infoIntro to RBACThe Seven Steps of Role Engineering
Package: py-fortune
pyfortuneFortune Musicをスクレイピングして情報を取得するためのライブラリInstallRequirePackagepython3 (>=3.2)install command$ python3 setup.py installor$ pip install .PyPIには登録していないしする予定もないUsageクイックスタート>>> from pyfortune.session import Session
>>> s = Session()
>>> s.status()
'logout'
>>> s.login('username', 'password')
'username'
>>> s.status()
'login'
Package: pyfoscam
foscam-python-lib=================Foscam Python Library for H.264 IP Cameras (FI9821W/P/HD816W/P)TODO----1. Package setup.py and upload to pypi.2. Support more camera models.Getting Started---------------### Simple example:Here is a simple example to move camera lens up and stop after 1s.```pythonfrom foscam import FoscamCamerafrom time import sleepmycam = FoscamCamera('192.168.0.110', 88, 'admin', 'foscam')mycam.ptz_move_up()sleep(1)mycam.ptz_stop_run()```### Asynchronous feature:This example uses the asynchronous feature provided by ``FoscamCamera``.Normally, a command is sent synchronously, waiting for results and blocking the main thread.By initializing ``FoscamCamera`` with `daemon=True` (defaults to False), commands are sent asynchronously.```pythonmycam = FoscamCamera('192.168.0.110', 88, 'admin', 'foscam', daemon=True)mycam.get_ip_info()mycam.get_port_info()mycam.refresh_wifi_list()```### Send command with callback:This example illustrates the use of a callback function when the command completes.```pythonfrom foscam import FoscamCamera, FOSCAM_SUCCESSdef print_ipinfo(returncode, params):if returncode != FOSCAM_SUCCESS:print 'Failed to get IPInfo!'returnprint 'IP: %s, Mask: %s' % (params['ip'], params['mask'])mycam = FoscamCamera('192.168.0.110', 88, 'admin', 'foscam', daemon=False)mycam.get_ip_info(print_ipinfo)```
Package: py-fossology
py-fossologyPython wrapper around FOSSology's REST API.Works with FOSSology version 3.5.0Example usagefromfossologyimportFossologyfossology=Fossology(server='http://localhost:8085/repo/',auth={'username':'fossy','password':'fossy','token_scope':'write','token_expire':'2019-09-07'})# Get the root folderroot_folder=fossology.folder(folder_id=1)# Upload a file to the root folderupload=fossology.new_upload(target_folder=root_folder,fileInput='/tmp/sample.tar')# Schedule a scan on this new uploadjob=upload.schedule_agents(agents='''{"analysis": {"bucket": true,"copyright_email_author": true,"ecc": true,"keyword": true,"mime": true,"monk": true,"nomos": true,"package": true},"decider": {"nomos_monk": true,"bulk_reused": true,"new_scanner": true},"reuse": {"reuse_upload": 0,"reuse_group": 0,"reuse_main": true,"reuse_enhanced": true}}''')# Generate a reportreport=upload.request_report_generation(reportFormat='unifiedreport')# Download the reportreport.download()DocumentationTBDInstallationUse the following command to installpip install py-fossology
Package: pyfotmob
PyFotMob ⚽PyFotMobis a python module to streamline your interaction with the FotMob API. Access real-time football information for your applications. From analysis tools to news feeds and betting algorithms, PyFotMob offers a seamless interface for fixture details, live scores, player stats, and team info. Elevate your Python projects with accurate football data using PyFotMob ⚽.Table of Contents 📝Project DescriptionFeaturesInstallationUsageContributionsLicenseProject Description 📦PyFotMobis a Python module that simplifies access to football data through the FotMob API. It's a valuable tool for developers and football enthusiasts, offering real-time information for various applications. Whether you're building analysis tools, news feeds, or betting algorithms, PyFotMob provides access to fixture details, live scores, player stats, and team info. It eliminates the need for web scraping and complex API calls, allowing you to focus on enhancing your Python projects with accurate football data.Whether you're in sports betting, data science, or sports app development, PyFotMob is your reliable companion. Elevate your Python projects with the latest football insights.Features 🍕List the main features and functionalities ofPyFotMob.Access live football information from the FotMob API.Retrieve match dates, times, venues, and lineups.Monitor ongoing match scores in real-time.Access detailed player statistics for analysis.Get comprehensive team data and standings.Easily integrate with Python projects.Abstracts complexity in API interactions.Ensures up-to-date and accurate football data.Installation 📥Install PyFotMob via pip :pipinstallpyfotmobUsage 🤖Get info about team by its id:frompyfotmobimportTeamteam=Team(8634)print(team.get())Contributions 🧑‍💻I welcome contributions toPyFotMob! Whether you're a developer, data enthusiast, or football fanatic, you can help improve this project. Here's how you can contribute:Fork the Repository,Start by forking this repository to your GitHub account. This will create a copy of the project that you can freely experiment with.Clone the Repository,Clone the forked repository to your local machine using the following command:gitclonehttps://github.com/Yoo-Joo/PyFotMob.gitCreate a Branch,Before making any changes, create a new branch for your contributions using a descriptive name:gitcheckout-bfeature/your-feature-nameMake Changes,Implement your changes or add new features. Ensure your code follows the project's coding guidelines.Test,Run tests and ensure that your changes do not break existing functionality.Commit,Commit your changes with clear and concise commit messages:gitcommit-m"Add feature X"Push,Push your changes to your forked repository:gitpushoriginfeature/your-feature-nameOpen a Pull Request,Go to the original PyFotMob repository on GitHub and open a pull request. Describe your changes, why they're valuable, and any other relevant information.Collaborate,Engage in discussions, address review comments, and work with maintainers to refine and merge your contribution.I appreciate your interest in improving PyFotMob and look forward to your contributions!License ⚖️MIT© Youssef Ermili
Package: pyfpa
pyfpaThis project provides essential Financial, Planning & Analysis functions in Python.  It allows collecting data from Excel sheets and combining them into a multidimensional dataframe for easy slicing and dicing large amounts of data. The goal is to make an easier introduction into Python for analysts in corporate FP&A, accounting, investment banking, hedge fund and private equity.pyfpaleverages python's speed and power to address the challenges FP&A such as being able to keep all the versions of your data in one place, handling large data and data structures that are getting to big for excel (including consolidation and variance analysis), and not worrying about Excel link stability.The this project will allow you to:Collect data from Excel files to build your own high dimensional data cubeCombine periodic reports to search for trendsGather snapshots of data at different times to track changesMap custom budget or actual reports to capture data and dimensionsCreate a Golden Source repository for financial, operational, sales or any kind of dataSource and version control to keep track of which files are the basis for dataEasy slicing and dicing of data based on dimensions you defineChanging table data into record data for pivot tablesDimension management to accomodate changesConsolidation based on dimesionsVariance analysisHTML interactive graphsPasting or saving back into ExcelProviding a basis to use all of Python's data science toolsPython, and especially Pandas, can be daunting for uses in FP&A, but does provide advantages:Can handle and store large data and associated calculationsFaster calculationData will not mysteriously change due to linksNo incorrect linksAPI connections to almost every database and softwareAccess to a greater amount of data science tools (statistical, AI)Access to high-end charting and visualization toolsAnd all forfree
Package: pyfpds
# pyfpds
pyfpds is a basic python wrapper for accessing federal contracting data in the Federal Procurement Data System (FPDS). The only programmatic access to this data is via an ATOM feed that limits each request to 10 records. This can be quite frustrating if you want more than 10 records! This library will grab up to any number of records requested (the default being 100) and compile them into one data structure. Subsequently, the performance is not exemplary, as much of the processing time is spent in http transport. However, if you have the time, it makes life a bit easier :). The default order of records returned is bySIGNED_DATEin descending order (in other words, the most recently signed contract actions come first).This project was created to assist with ETL tasks that are part of the [Mirage project](https://github.com/18F/mirage). If you have features, open an issue, or consider contributing to the project yourself (see CONTRIBUTING).### Requirements
This project supports python 2.7+. To install the dependencies, use pip:` pip install-rrequirements.txt `### Some helpful links:
* [FPDS ATOM feed FAQ](http://beta.fpdsng.com/wiki/index.php/ATOM_Feed_FAQ)
* [FPDS ATOM feed query fields and example usage](https://www.fpds.gov/wiki/index.php/Atom_Feed_Usage)
* [FPDS search](https://www.fpds.gov/fpdsng_cms/index.php/en/)
* [Full documentation for pyfpds](https://pyfpds.readthedocs.org)
Package: py-fpff
py-fpffLibrary for working with FPFF.Getting StartedInstallpip install py-fpffSample Codefrom py_fpff import FPFF, SectionType

with open('./input.fpff') as f:
    fpff = FPFF(f)
    fpff.append(SectionType.ASCII, 'Hello, world!')
    fpff.export('./exported')Testingpython -m unittestBuilding Documentation# Install Sphinx and ReadTheDocs theme
pip install Sphinx sphinx_rtd_theme

cd ./docs
make html
Package: pyfpgrowth
FP-GrowthA Python implementation of the Frequent Pattern Growth algorithm.Free software: ISC licenseDocumentation:https://fp-growth.readthedocs.org.Getting StartedYou can install the package with pip:pip install pyfpgrowthThen, to use it in a project, inport it and use the find_frequent_patterns and generate_association_rules functions:import pyfpgrowthIt is assumed that your transactions are a sequence of sequences representing items in baskets. The item IDs are integers:transactions = [[1, 2, 5],
                [2, 4],
                [2, 3],
                [1, 2, 4],
                [1, 3],
                [2, 3],
                [1, 3],
                [1, 2, 3, 5],
                [1, 2, 3]]Use find_frequent_patterns to find patterns in baskets that occur over the support threshold:patterns = pyfpgrowth.find_frequent_patterns(transactions, 2)Use generate_association_rules to find patterns that are associated with another with a certain minimum probability:rules = pyfpgrowth.generate_association_rules(patterns, 0.7)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History1.0 (2016-04-25)First release on PyPI.