Giter VIP home page Giter VIP logo

Comments (4)

ikiril01 avatar ikiril01 commented on August 29, 2024

I think it probably makes sense to rename the module to 'common_indicator_methods' or something of the like to clarify its purpose.

from python-cybox.

gtback avatar gtback commented on August 29, 2024

If there are specific things we need soon, we can build them out in api.py (or whatever we choose to rename it to). Otherwise I would recommend waiting for the full classes, which will provide this type of functionality via their constructors. The Observables/Observable/StatefulMeasure/DefinedObject classes will do similar things as well (at least, that's my vision for them), unless they get removed from the schema entirely.

from python-cybox.

bworrell avatar bworrell commented on August 29, 2024

Stateful_Measure is likely on its way out, but I think I'm on board with what you're saying. Renaming it might still be a good idea. There have been a couple comments regarding "api.py" and it not providing what was expected. That being said, what was actually expected was never clearly explained. Renaming it might help out with the confusion.

from python-cybox.

gtback avatar gtback commented on August 29, 2024

Since the "API" is really the entire project, the api.py file is misnamed. As we discussed, there is still value in having a file with a few simple functions (similar to the ones currently in api.py), that users can look at and understand without needing to look at any other code or the documentation. We talked about possible names for this "new" module, and narrowed it down to

  • basic.py
  • simple.py
  • helpers.py

which could be imported as cybox.basic, cybox.simple, or cybox.helpers, respectively.

Which one is everyone's favorite?

from python-cybox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.