EFCrud
- API version: 1.0
- Package version: 1.0.2
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.7+
Installation & Usage
pip install
From Pypi:
pip install EFCrud
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/dprakash2101/EFCrudPython.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/dprakash2101/EFCrudPython.git)
Then import the package:
import EFCrud
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import EFCrud
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import time
import EFCrud
from EFCrud.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost:7217
# See configuration.py for a list of all supported configuration parameters.
configuration = EFCrud.Configuration(
host = "https://localhost:7217"
)
# Enter a context with an instance of the API client
with EFCrud.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = EFCrud.AuthApi(api_client)
userdto = EFCrud.Userdto() # Userdto | (optional)
try:
api_response = api_instance.api_auth_login_post(userdto=userdto)
print("The response of AuthApi->api_auth_login_post:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthApi->api_auth_login_post: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://localhost:7217
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthApi | api_auth_login_post | POST /api/Auth/login | |
| AuthApi | api_auth_register_post | POST /api/Auth/register | |
| EmployeesApi | api_employees_get | GET /api/Employees | |
| EmployeesApi | api_employees_id_delete | DELETE /api/Employees/{id} | |
| EmployeesApi | api_employees_id_get | GET /api/Employees/{id} | |
| EmployeesApi | api_employees_id_put | PUT /api/Employees/{id} | |
| EmployeesApi | api_employees_post | POST /api/Employees | |
| FeaturesApi | api_features_id_delete | DELETE /api/Features/{id} | |
| FeaturesApi | api_features_id_put | PUT /api/Features/{id} | |
| RolesApi | api_roles_add_employee_role_post | POST /api/Roles/Add-EmployeeRole | |
| RolesApi | api_roles_add_roles_post | POST /api/Roles/Add-roles | |
| RolesApi | api_roles_delete_emp_role_delete | DELETE /api/Roles/Delete-EmpRole | |
| RolesApi | api_roles_show_employee_roles_get | GET /api/Roles/Show-EmployeeRoles | |
| RolesApi | api_roles_show_roles_get | GET /api/Roles/Show-roles |
Documentation For Models
Documentation For Authorization
Authentication schemes defined for the API:
oauth2
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Author
Metadata
Release files for EFCrud 1.0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EFCrud-1.0.5.4.tar.gz | 25.7 kB | Without provenance | Details for EFCrud-1.0.5.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EFCrud-1.0.5.4-py3-none-any.whl | Python 3 | none | any | Details for EFCrud-1.0.5.4-py3-none-any.whl |
Total release size: 67.3 kB
Release files / EFCrud-1.0.5.4.tar.gz
| Download URL | EFCrud-1.0.5.4.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97ee901124c1b9c4d4e6cd940be1e4364e59bc2d456143ab88010130c3fe9013
|
|
BLAKE2b-256 checksum How to use checksums |
78baac0efb11f479642d239c0d848d8bf20ab4addac97c02c33fc7a036d6fcab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / EFCrud-1.0.5.4-py3-none-any.whl
| Download URL | EFCrud-1.0.5.4-py3-none-any.whl |
|---|---|
| Size | 41.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08eed7ce4e736a2b892e618794f05aa7f37c3579523faac6c8924ebb2f5271f2
|
|
BLAKE2b-256 checksum How to use checksums |
e9304e1d3a1a05d1e59bd5c86cf8a493ef367dda8ee938e408de2def2b125347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for EFCrud 1.0.5.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.