Gramex features are broken into:
Run gramex features
on any Gramex app to list the features used.
Here’s an example:
$ gramex features
type feature count
0 MS CaptureHandler 2
1 MS ComicHandler 1
2 MS FileHandler 67
...
18 KWARG Access Control 53
19 KWARG Security 12
...
27 SVC Microservice 2
28 SVC Import 0
...
41 ERR-MS handlerutil.CustomHandler 1
42 ERR-MS handlerutil.SetupHandler 1
The columns are:
type
: The type of feature. One of MS
(microservice), KWARG
(configuration), SVC
(service).
ERR-MS
indicates a custom or missing microservicefeature
: The name of the featurecount
: The number of times the feature is usedYou can render the output in different formats:
--format=table
prints a table (default)--format=csv
prints a CSV file--format=json
prints a JSON filePass multiple folders, e.g. gramex features /project1/ /project2/
, to sum features used across folders.
alert
: Alert
app
: Apps
email
: Email
handlers
: Microservice
import
: Import
log
: Logging
schedule
: Schedule
sms
: SMS
storelocations
: Store locations
test
: Deprecated
url
: Microservice
variables
: Variables
watch
: Watch
BaseHandler
: Deprecated
BaseWebSocketHandler
: Deprecated
CaptureHandler
: CaptureHandler
Comic
: ComicHandler
ComicHandler
: ComicHandler
Command
: ProcessHandler
DBAuth
: AuthHandlers
Data
: FormHandler
DataHandler
: Deprecated
DirectoryHandler
: FileHandler
DriveHandler
: DriveHandler
EmailAuth
: AuthHandlers
Facebook
: SocialHandlers
FacebookAuth
: AuthHandlers
FacebookGraphHandler
: SocialHandlers
File
: FileHandler
FileHandler
: FileHandler
Filter
: FilterHandler
FilterHandler
: FilterHandler
FormHandler
: FormHandler
Function
: FunctionHandler
FunctionHandler
: FunctionHandler
GoogleAuth
: AuthHandlers
IntegratedAuth
: AuthHandlers
JSON
: JSONHandler
JSONHandler
: JSONHandler
LDAPAuth
: AuthHandlers
LogoutHandler
: AuthHandlers
ML
: MLHandler
MLHandler
: MLHandler
MLPredictor
: MLPredictor
Message
: MessageHandler
MessageHandler
: MessageHandler
ModelHandler
: Deprecated
OAuth2
: AuthHandlers
OpenAPI
: OpenAPIHandler
OpenAPIHandler
: OpenAPIHandler
PPTXHandler
: PPTXHandler
ProcessHandler
: ProcessHandler
Proxy
: ProxyHandler
ProxyHandler
: ProxyHandler
QueryHandler
: Deprecated
SAMLAuth
: AuthHandlers
SAMLAuth2
: AuthHandlers
SMSAuth
: AuthHandlers
Screenshot
: CaptureHandler
SetupFailedHandler
: Deprecated
SimpleAuth
: AuthHandlers
Slide
: PPTXHandler
Storage
: DriveHandler
Twitter
: SocialHandlers
TwitterAuth
: AuthHandlers
TwitterRESTHandler
: SocialHandlers
Upload
: Deprecated
UploadHandler
: Deprecated
WebSocketHandler
: WebSocketHandler
Websocket
: WebSocketHandler
auth
: Access Control
cors
: Security
error
: Error handling
headers
: Headers
log
: Logging
methods
: Methods
ratelimit
: Rate limiting
redirect
: Redirection
set_xsrf
: Security
transform
: Transform
xsrf_cookies
: Security